/* =========================================================
   HERO OPTION 3 — Index2 split: copy left, video right
   ========================================================= */

.hero-v3 {
  --hero-v3-marquee-pad: clamp(1.15rem, 2.8vh, 1.75rem);
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--site-header-h, 8.5rem));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 46% 36% at 100% 0%, rgba(var(--navy-dark-rgb), 0.34), transparent 72%),
    radial-gradient(ellipse 50% 38% at 100% 100%, rgba(var(--navy-dark-rgb), 0.38), transparent 70%),
    radial-gradient(
      ellipse 78% 100% at 90% 50%,
      transparent 40%,
      rgba(var(--navy-rgb), 0.2) 62%,
      rgba(var(--navy-dark-rgb), 0.48) 100%
    ),
    radial-gradient(ellipse 50% 42% at 0% 100%, rgba(var(--sky-rgb), 0.14), transparent 52%),
    linear-gradient(
      155deg,
      var(--primary-dark) 0%,
      var(--primary) 46%,
      var(--primary-dark) 100%
    );
}

.hero-v3__split {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  min-height: 0;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  padding:
    clamp(1.5rem, 3.5vh, 2.5rem)
    clamp(1.5rem, 4vw, 3.75rem)
    var(--hero-v3-marquee-pad);
}

.hero-v3__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-v3__copy-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.95rem;
  width: 100%;
  height: auto;
}

.hero-v3__title {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: clamp(3.6rem, 8vw, 6.25rem);
  font-weight: var(--font-primary-weight, 400);
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-v3__official {
  margin: 0;
  max-width: 44rem;
  color: var(--text-on-dark-secondary);
  font-family: var(--font-primary);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: var(--font-primary-weight, 400);
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.hero-v3__lede {
  margin: 0.15rem 0 0;
  max-width: 38rem;
  color: var(--text-on-dark-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.hero-v3__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hero-v3__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
  max-width: 38rem;
  margin: 0.75rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-v3__proof-item {
  margin: 0;
  animation: heroProofIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-v3__proof-item:nth-child(1) { animation-delay: 0.12s; }
.hero-v3__proof-item:nth-child(2) { animation-delay: 0.24s; }
.hero-v3__proof-item:nth-child(3) { animation-delay: 0.36s; }

.hero-v3__proof dt {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: var(--font-primary-weight, 400);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-v3__proof dt.is-counting {
  --tick-h: 1em;
  display: inline-flex;
  align-items: center;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  box-sizing: content-box;
}

.hero-v3__proof dd {
  margin: 0.25rem 0 0;
  color: var(--text-on-dark-faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-v3__actions .btn--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-dark);
  border-color: transparent;
}

.hero-v3__actions .btn--secondary:hover {
  background: var(--white);
}

.hero-v3__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  margin-inline: 0;
  overflow: hidden;
  border-radius: var(--radius-xl, 1.75rem);
  background: transparent;
  transform: translateZ(0);
}

.hero-v3__poster,
.hero-v3__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  transform: none;
  transform-origin: center center;
  transition: opacity 0.45s var(--ease);
}

.hero-v3__poster {
  z-index: 0;
}

.hero-v3__media.is-playing .hero-v3__poster {
  opacity: 0;
  pointer-events: none;
}

.hero-v3__video {
  z-index: 1;
  pointer-events: none;
}

.hero-v3__drive {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center center;
  transform: none;
  transform-origin: center center;
}

.hero-v3__media.is-drive .hero-v3__drive {
  pointer-events: none;
}

.hero-v3__media.is-drive .hero-v3__fs-btn,
.hero-v3__media.is-drive .hero-v3__media-btn {
  display: none;
}

.hero-v3__media-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.55);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease);
}

.hero-v3__media-btn:hover {
  background: rgba(17, 24, 39, 0.72);
}

.hero-v3__fs-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.55);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease);
}
.hero-v3__fs-btn:hover {
  background: rgba(17, 24, 39, 0.78);
}
.hero-v3__fs-btn-icon {
  display: block;
}

.hero-v3__fs {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  margin: 0;
  padding: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}
.hero-v3__fs.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-v3__fs-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.hero-v3__fs-close {
  position: absolute;
  top: max(0.85rem, env(safe-area-inset-top, 0px));
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem 0.55rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.hero-v3__fs-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-v3__media-btn-icon {
  width: 0.65rem;
  height: 0.65rem;
  background:
    linear-gradient(var(--gold), var(--gold)) left / 35% 100% no-repeat,
    linear-gradient(var(--gold), var(--gold)) right / 35% 100% no-repeat;
}

.hero-v3__media-btn[aria-pressed="true"] .hero-v3__media-btn-icon {
  background: var(--gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero-v3__ticker {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
}

.hero-v3__ticker-track {
  display: flex;
  width: max-content;
  animation: proofMarquee 42s linear infinite;
  will-change: transform;
}

.hero-v3__ticker:hover .hero-v3__ticker-track {
  animation-play-state: paused;
}

.hero-v3__ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(1.15rem, 2.4vw, 2rem);
  padding-right: clamp(1.15rem, 2.4vw, 2rem);
}

.hero-v3__ticker-item {
  flex-shrink: 0;
  color: var(--text-on-dark-secondary);
  font-family: var(--font-ui, inherit);
  font-size: clamp(1.02rem, 1.65vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s var(--ease, ease);
}

a.hero-v3__ticker-item:hover,
a.hero-v3__ticker-item:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a.hero-v3__ticker-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-v3__ticker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

@keyframes proofMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroProofIn {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-v3 {
    min-height: calc(100svh - var(--site-header-h, 8.5rem));
  }

  .hero-v3__split {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 1.5rem 1.25rem var(--hero-v3-marquee-pad);
    gap: 1.15rem;
  }

  .hero-v3__copy {
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero-v3__copy-main {
    height: auto;
  }

  .hero-v3__official,
  .hero-v3__lede,
  .hero-v3__proof {
    max-width: none;
  }

  .hero-v3__proof {
    margin-top: 0.75rem;
  }

  .hero-v3__title {
    max-width: none;
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  .hero-v3__official {
    max-width: none;
    font-size: clamp(1.28rem, 4.6vw, 1.7rem);
  }

  .hero-v3__media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-v3__poster,
  .hero-v3__video {
    inset: 0;
    height: 100%;
    transform: none;
  }

  .hero-v3__media-btn {
    min-height: 2.65rem;
    padding: 0.55rem 1rem 0.55rem 0.8rem;
    font-size: 0.85rem;
  }

  .hero-v3__ticker {
    padding: 0.75rem 0;
  }

  .hero-v3__ticker-item {
    font-size: clamp(0.95rem, 2.8vw, 1.12rem);
  }
}

@media (max-width: 600px) {
  .hero-v3__split {
    padding: 1.35rem 1.15rem var(--hero-v3-marquee-pad);
  }

  .hero-v3__lede {
    font-size: 1.02rem;
  }

  .hero-v3__actions {
    width: 100%;
  }

  .hero-v3__actions .btn {
    flex: 1 1 auto;
  }
}

/* Home hero pages: white header; primary nav matches hero */
body.page-has-notice-bar .util-bar,
body.page-has-notice-bar .header-identity__util,
body:has(main > .hero-v3:first-child) .util-bar,
body:has(main > .hero-v3:first-child) .header-identity__util {
  background: transparent;
  border-bottom: 0;
}

body.page-has-notice-bar .header-identity,
body.page-has-notice-bar .brand-bar,
body:has(main > .hero-v3:first-child) .header-identity,
body:has(main > .hero-v3:first-child) .brand-bar {
  background: var(--white);
  color: var(--ink);
}

body.page-has-notice-bar .nav-bar,
body:has(main > .hero-v3:first-child) .nav-bar {
  background: var(--primary-dark);
}

.hero-v3__social {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-v3__social-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.social-links--hero {
  justify-content: flex-start;
}

.social-links--hero .social-links__item {
  width: 2.65rem;
  height: 2.65rem;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.social-links--hero .social-links__item:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.social-links--hero .social-links__item svg {
  width: 1.35rem;
  height: 1.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-v3__copy,
  .hero-v3__media,
  .hero-v3__poster,
  .hero-v3__video {
    transition: none;
  }

  .hero-v3__ticker-track {
    animation: none;
  }

  .hero-v3__proof-item {
    animation: none;
  }

  .hero-v3__poster,
  .hero-v3__video {
    transition: none;
  }

  .hero-v3__video {
    display: none;
  }

  .hero-v3__poster {
    transform: none;
    inset: 0;
    height: 100%;
  }
}
