/* ==========================================================================
   Hero: slider, split, editorial, video, classic, and the page header
   ========================================================================== */

.plx {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.plx > [data-parallax] {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  bottom: -12%;
}

.plx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--ivory);
}

.btn--ghost.btn--on-dark {
  --btn-fill-fg: var(--gold-300);
  color: var(--ivory);
}

.pp-pause {
  display: block;
  width: 0.62rem;
  height: 0.85rem;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.pp-play {
  display: none;
}

.pp-play .icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.is-paused.slider-pause .pp-pause,
.hv-toggle[aria-pressed="true"] .pp-pause {
  display: none;
}

.is-paused.slider-pause .pp-play,
.hv-toggle[aria-pressed="true"] .pp-play {
  display: block;
}

@keyframes word-up {
  from {
    transform: translate3d(0, 115%, 0) rotate(4deg);
  }
  to {
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 1.6rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================== SLIDER */

.hero-slider {
  height: 100svh;
  min-height: 38rem;
  max-height: 78rem;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.7s var(--ease-io), visibility 0s 1.7s;
}

.slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.slide.is-leaving {
  visibility: visible;
}

.slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy-900);
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 60% 50%;
}

.slide.is-active .slide-media img,
.slide.is-leaving .slide-media img {
  animation: kenburns calc(var(--dur, 7500ms) + 2800ms) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-slider.is-paused .slide.is-active .slide-media img {
  animation-play-state: paused;
}

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(5, 14, 26, 0.86) 0%, rgba(5, 14, 26, 0.5) 42%, rgba(5, 14, 26, 0.08) 80%),
    linear-gradient(0deg, rgba(5, 14, 26, 0.78) 0%, rgba(5, 14, 26, 0) 42%),
    linear-gradient(180deg, rgba(5, 14, 26, 0.55) 0%, rgba(5, 14, 26, 0) 22%);
}

.slide-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--chrome-h) + 2rem);
  padding-bottom: 11rem;
}

.slide-title {
  max-width: 11.5em;
  font-size: clamp(2.9rem, 7.3vw, 8rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.slide .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.04em 0.16em;
  margin: -0.1em -0.04em -0.16em;
}

.slide .w-in {
  display: inline-block;
  transform: translate3d(0, 115%, 0) rotate(4deg);
  transform-origin: 0 100%;
}

.slide.is-active .w-in {
  animation: word-up 1.3s var(--ease) both;
  animation-delay: calc(0.55s + var(--i, 0) * 75ms);
}

.slide.is-leaving .w-in {
  transform: none;
}

.sl-fade {
  opacity: 0;
}

.slide.is-active .sl-fade {
  animation: fade-up 1.1s var(--ease) both;
  animation-delay: calc(0.5s + var(--k, 0) * 0.16s);
}

.slide.is-leaving .sl-fade {
  opacity: 1;
}

.slide .eyebrow {
  margin-bottom: 1.75rem;
}

.slide-text {
  max-width: 33rem;
  margin: 1.9rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  color: rgb(var(--on-rgb) / 0.84);
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 2.25rem;
}

.slider-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding-bottom: 2.25rem;
  pointer-events: none;
}

.slider-ui > * {
  pointer-events: auto;
}

.slider-ctrl {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.slider-count {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgb(var(--on-rgb) / 0.7);
}

.slider-count .cur {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ivory);
  font-weight: 300;
}

.slider-count .sep {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  transform: translateY(-0.3rem);
}

.slider-arrows {
  display: flex;
  gap: 0.6rem;
}

.slider-arrows .btn-round {
  width: 3.25rem;
  height: 3.25rem;
  border-color: rgb(var(--on-rgb) / 0.4);
  color: var(--ivory);
}

.slider-bars {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.slider-bars button {
  display: block;
  width: 100%;
  padding: 0.5rem 0 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  text-align: left;
}

.slider-bars .bar {
  display: block;
  height: 2px;
  background: rgb(var(--on-rgb) / 0.26);
  overflow: hidden;
}

.slider-bars .bar i {
  display: block;
  height: 100%;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
}

.slider-bars li.is-done .bar i {
  transform: scaleX(1);
}

.slider-bars li.is-current .bar i {
  animation: bar-fill var(--dur, 7500ms) linear forwards;
}

.hero-slider.is-paused .slider-bars li.is-current .bar i {
  animation-play-state: paused;
}

.slider-bars .lbl {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 0.4s;
}

.slider-bars .lbl-n {
  color: var(--gold-400);
}

.slider-bars li.is-current .lbl,
.slider-bars button:hover .lbl {
  opacity: 1;
}

.scroll-cue {
  position: absolute;
  left: calc(var(--gutter) / 2 - 0.5px);
  bottom: 2.25rem;
  z-index: 5;
  width: 1px;
  height: 4.5rem;
  background: rgb(var(--on-rgb) / 0.25);
  overflow: hidden;
  display: none;
}

.scroll-cue i {
  position: absolute;
  inset: 0;
  background: var(--gold-400);
  animation: scroll-cue 2.4s var(--ease-io) infinite;
}

@media (min-width: 1280px) {
  .scroll-cue {
    display: block;
  }
}

@media (max-width: 760px) {
  .hero-slider {
    min-height: 34rem;
  }

  .slide-body {
    padding-bottom: 8.5rem;
  }

  .slide-title {
    font-size: clamp(2.7rem, 12.4vw, 4.4rem);
  }

  .slide-text {
    font-size: 0.98rem;
    margin-top: 1.4rem;
  }

  .slide-actions {
    margin-top: 1.6rem;
  }

  .slider-ctrl {
    justify-content: space-between;
    margin-bottom: 1.1rem;
  }

  .slider-bars .lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .slider-bars {
    gap: 0.6rem;
  }

  .slider-ui {
    padding-bottom: 1.5rem;
  }

  .slider-arrows .btn-round {
    width: 2.85rem;
    height: 2.85rem;
  }

  .slide .eyebrow {
    margin-bottom: 1.25rem;
    font-size: 0.64rem;
  }

  .slide-shade {
    background:
      linear-gradient(0deg, rgba(5, 14, 26, 0.9) 0%, rgba(5, 14, 26, 0.55) 45%, rgba(5, 14, 26, 0.25) 100%),
      linear-gradient(180deg, rgba(5, 14, 26, 0.6) 0%, rgba(5, 14, 26, 0) 22%);
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  .hero-slider {
    height: auto;
    min-height: 100svh;
  }

  .slide-body {
    padding-bottom: 7rem;
  }

  .slide-title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
  }

  .slide-text {
    display: none;
  }
}

/* Without JS: the first slide is visible, with no animation delay. */
html:not(.js) .slide:first-child {
  opacity: 1;
  visibility: visible;
}

/* ============================================================== SPLIT */

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: 100svh;
  max-height: 80rem;
}

.hs-text {
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--chrome-h) + 3rem) clamp(2rem, 4vw, 5rem) 4rem max(var(--gutter), calc((100vw - 104rem) / 2));
  overflow: hidden;
}

.hs-text-in {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hs-title {
  font-size: clamp(2.8rem, 5.5vw, 6.4rem);
  font-weight: 300;
  line-height: 0.95;
}

.hs-lead {
  margin: 2rem 0 0;
  max-width: 28rem;
  font-size: 1.08rem;
  color: rgb(var(--on-rgb) / 0.8);
}

.hs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.5rem;
}

.hs-index {
  position: absolute;
  left: max(var(--gutter), calc((100vw - 104rem) / 2));
  bottom: 1.25rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 11rem);
  line-height: 0.8;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 184, 90, 0.35);
  pointer-events: none;
}

.hs-photo {
  position: relative;
  min-height: 34rem;
}

.hs-frame {
  position: absolute;
  inset: 0;
}

.hs-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: calc(var(--chrome-h) + 0.75rem) 2rem 2rem -1.75rem;
  border: 1px solid var(--gold-500);
  pointer-events: none;
}

.hs-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 14, 26, 0.5), rgba(5, 14, 26, 0) 25%);
}

.hs-seal {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 14%;
  width: 9.5rem;
  height: 9.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--gold-500);
  transform: translateX(-50%);
}

.hs-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin-slow 38s linear infinite;
}

.hs-ring text {
  fill: var(--gold-300);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hs-seal img {
  width: 3rem;
  height: auto;
}

.hs-caption {
  position: absolute;
  z-index: 3;
  right: 2.75rem;
  bottom: 3.1rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
  }

  .hs-text {
    padding: calc(var(--chrome-h) + 2.25rem) var(--gutter) 4.5rem;
  }

  .hs-index {
    display: none;
  }

  .hs-photo {
    min-height: 0;
    aspect-ratio: 4 / 4.4;
  }

  .hs-photo::before {
    inset: 1.25rem var(--gutter) 1.25rem var(--gutter);
  }

  .hs-seal {
    left: auto;
    right: var(--gutter);
    top: 0;
    bottom: auto;
    width: 7.5rem;
    height: 7.5rem;
    transform: translateY(-50%);
  }

  .hs-caption {
    right: auto;
    left: calc(var(--gutter) + 1.25rem);
    bottom: calc(1.25rem + 1.25rem);
  }
}

/* ========================================================= EDITORIAL */

.hero-editorial {
  background: var(--paper);
  color: var(--ink);
  overflow: visible;
  overflow-x: clip;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.he-mast {
  height: calc(var(--chrome-h) + 3.5rem);
  background: var(--navy-900);
}

.he-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 28%);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.he-main {
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

.he-kicker > span:not(.he-rule) {
  white-space: nowrap;
}

.he-kicker {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 clamp(1.5rem, 3vw, 3rem);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.he-rule {
  width: 4rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.he-title {
  font-size: clamp(3.1rem, 9.2vw, 10.5rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.he-title em {
  color: var(--gold-600);
}

.he-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.he-text {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
}

.he-fig {
  position: relative;
  margin: calc(-1 * (var(--chrome-h) + 1rem)) 0 0;
  aspect-ratio: 3 / 4.2;
  z-index: 2;
  background: var(--navy-800);
  box-shadow: 0 40px 80px -40px rgba(5, 14, 26, 0.55);
}

.he-vert {
  position: absolute;
  right: -2.25rem;
  bottom: 0;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .he-grid {
    grid-template-columns: 1fr;
  }

  .he-fig {
    margin-top: 0;
    aspect-ratio: 4 / 3.6;
  }

  .he-vert {
    display: none;
  }

  .he-mast {
    height: calc(var(--chrome-h) + 1rem);
  }
}

/* =============================================================== VIDEO */

.hero-video {
  display: grid;
  place-items: center;
  height: 100svh;
  min-height: 38rem;
  max-height: 78rem;
  text-align: center;
}

.hv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(5, 14, 26, 0.4), rgba(5, 14, 26, 0.78) 80%),
    linear-gradient(180deg, rgba(5, 14, 26, 0.55), rgba(5, 14, 26, 0) 25%);
}

.hv-frame {
  position: absolute;
  inset: calc(var(--chrome-h) + 0.25rem) 1.75rem 1.75rem;
  border: 1px solid rgb(var(--on-rgb) / 0.3);
  pointer-events: none;
}

.hv-frame::before,
.hv-frame::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--gold-400);
}

.hv-frame::before {
  left: -1px;
  top: -1px;
  border-right: 0;
  border-bottom: 0;
}

.hv-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.hv-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 62rem;
  padding: calc(var(--chrome-h) + 1rem) var(--gutter) 5rem;
}

.hv-body .eyebrow {
  justify-content: center;
}

.hv-title {
  font-size: clamp(2.9rem, 7.4vw, 8rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
}

.hv-text {
  max-width: 32rem;
  margin: 1.75rem 0 0;
  font-size: 1.1rem;
  color: rgb(var(--on-rgb) / 0.84);
}

.hv-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.25rem;
}

.hv-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hv-toggle-ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(var(--on-rgb) / 0.45);
  border-radius: 50%;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.hv-toggle:hover .hv-toggle-ico {
  background: var(--ivory);
  color: var(--navy-900);
}

.hv-facts {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  display: flex;
  justify-content: center;
  gap: 2.75rem;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(var(--on-rgb) / 0.78);
}

.hv-facts li + li {
  position: relative;
}

.hv-facts li + li::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 50%;
  width: 0.28rem;
  height: 0.28rem;
  margin-top: -0.14rem;
  background: var(--gold-400);
  transform: rotate(45deg);
}

@media (max-width: 760px) {
  .hv-facts {
    display: none;
  }

  .hv-frame {
    inset: calc(var(--chrome-h) - 0.5rem) 0.75rem 0.75rem;
  }

  .hv-body {
    padding-bottom: 2rem;
  }

  .hv-title {
    font-size: clamp(2.7rem, 12.5vw, 4.6rem);
  }
}

/* ========================================================== CLASSIC */

.hero-classic {
  display: flex;
  align-items: center;
  min-height: min(100svh, 62rem);
  padding: calc(var(--chrome-h) + 3rem) 0 4.5rem;
}

.hc-bg {
  position: absolute;
  inset: 0;
}

.hc-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(5, 14, 26, 0.92) 0%, rgba(5, 14, 26, 0.74) 45%, rgba(5, 14, 26, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 14, 26, 0.5), rgba(5, 14, 26, 0) 25%);
}

.hc-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.hc-title {
  font-size: clamp(2.7rem, 5.6vw, 6rem);
  font-weight: 300;
  line-height: 0.97;
}

.hc-text {
  max-width: 32rem;
  margin: 1.75rem 0 0;
  font-size: 1.1rem;
  color: rgb(var(--on-rgb) / 0.82);
}

.hc-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.25rem;
  list-style: none;
  font-weight: 600;
}

.hc-points li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hc-points .icon {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0.2rem;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  color: var(--gold-400);
}

.hc-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}

.hc-card::before {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px solid rgba(169, 133, 54, 0.45);
  pointer-events: none;
}

.hc-card-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.hc-card-title {
  margin-bottom: 1.75rem;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  color: var(--navy-900);
}

.hc-card .form {
  gap: 1.25rem;
  position: relative;
}

.hc-card .form-row {
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .hc-grid {
    grid-template-columns: 1fr;
  }

  .hero-classic {
    min-height: 0;
    padding-bottom: 3.5rem;
  }
}

/* =========================================================== PAGE HEADER */

.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--chrome-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3rem, 6vw, 5.5rem);
  background: var(--navy-900);
  color: var(--ivory);
}

.ph-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.page-head.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(5, 14, 26, 0.9), rgba(5, 14, 26, 0.45));
}

.page-head-in {
  position: relative;
  z-index: 2;
}

.crumbs--head {
  margin-bottom: clamp(1.75rem, 4vw, 3.5rem);
  color: rgb(var(--on-rgb) / 0.8);
}

.ph-title {
  max-width: 16em;
  font-size: clamp(2.8rem, 6.3vw, 6.6rem);
  font-weight: 300;
  line-height: 0.96;
}

.ph-text {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: 1.12rem;
  color: rgb(var(--on-rgb) / 0.78);
}
