/* Hero: the cover come alive. Plate → live network canvas → conductor cut-out → scrim. */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: clip;
  display: flex; align-items: center; background: var(--night); isolation: isolate;
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__depth { position: absolute; inset: -24px; will-change: transform; }
.hero__plate, .hero__figure {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 50%;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.hero.is-live .hero__canvas { opacity: 1; }
.hero__mist {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%;
  background:
    radial-gradient(40% 60% at 30% 100%, rgba(59, 127, 224, .28), transparent 70%),
    radial-gradient(35% 50% at 75% 100%, rgba(59, 127, 224, .22), transparent 70%),
    radial-gradient(30% 45% at 55% 100%, rgba(170, 200, 255, .12), transparent 70%);
  filter: blur(18px); mix-blend-mode: screen; pointer-events: none;
  animation: mist 14s ease-in-out infinite alternate;
}
@keyframes mist { from { transform: translate3d(-4%, 0, 0) scale(1); opacity: .75; } to { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: 1; } }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 11, 24, .9) 0%, rgba(6, 11, 24, .62) 32%, rgba(6, 11, 24, 0) 58%),
    linear-gradient(0deg, rgba(6, 11, 24, .85) 0%, rgba(6, 11, 24, 0) 30%),
    linear-gradient(180deg, rgba(6, 11, 24, .55) 0%, rgba(6, 11, 24, 0) 18%);
}

.hero__copy { position: relative; z-index: 2; padding-top: calc(var(--head-h) + 28px); padding-bottom: 96px; }
.hero__copy > * { max-width: min(640px, 48vw); }
.hero__title { font-family: var(--f-title); font-weight: 600; color: var(--white); line-height: 1.02; display: flow-root; }
.hero__title-a { display: block; font-size: clamp(2.5rem, 4.6vw, 5.1rem); letter-spacing: .01em; text-shadow: 0 2px 30px rgba(6, 11, 24, .6); }
.hero__title-b { display: block; margin-top: .35em; font-size: clamp(1.4rem, 2.3vw, 2.5rem); color: var(--gold); letter-spacing: .14em; }
.hero__ln { display: inline-block; }
/* title line masks: padded and pulled back so descenders and tracking never clip */
.hero__mask { display: inline-block; overflow: clip; padding: .34em .15em .5em; margin: -.34em -.15em -.5em; vertical-align: top; }
.hero__title-a .hero__mask { display: block; width: max-content; max-width: none; margin: 0 -.15em -.84em; }
.hero__title-a .hero__mask:first-child { margin-top: -.34em; }
.hero__title-a .hero__mask:last-child { margin-bottom: -.5em; }
.hero__title-a .hero__ln { display: block; }
.hero__line {
  margin-top: 26px; padding-top: 22px; position: relative;
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.5vw, 1.45rem); color: var(--white); line-height: 1.4;
}
.hero__line::before {
  content: ''; position: absolute; left: 0; top: 0; width: min(340px, 70%); height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(226, 176, 98, 0)); transform-origin: left; transform: scaleX(var(--rule, 1));
}
.hero__line span { display: inline-block; }
.hero__lede { margin-top: 18px; font-size: 1.08rem; line-height: 1.65; color: var(--mist); }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .95rem; color: var(--white); opacity: .86; }
.hero__facts li { position: relative; padding-left: 16px; }
.hero__facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.hero__cue { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 64px; transform: translateX(-50%); z-index: 3; display: grid; place-items: center; }
.hero__cue-line { width: 1px; height: 52px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__cue-line::after { content: ''; position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--white); animation: cue 2.2s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes cue { to { transform: translateY(80px); } }

/* phones and portrait tablets: the scene is a tall band at the top that fades into night; the copy sits below it */
@media (max-width: 860px) {
  .hero { display: block; }
  .hero__stage { inset: auto; top: 36px; left: 0; right: 0; height: 60svh; overflow: clip; }
  .hero__plate, .hero__figure { object-position: 62% 50%; }
  .hero__copy > * { max-width: 100%; }
  .hero__copy { padding-top: calc(36px + 46svh); padding-bottom: 72px; }
  .hero__scrim {
    background:
      linear-gradient(0deg, var(--night) 0%, rgba(6, 11, 24, .85) 16%, rgba(6, 11, 24, 0) 46%),
      linear-gradient(180deg, var(--night) 0%, rgba(6, 11, 24, 0) 14%);
  }
  .hero::before { content: ''; position: absolute; inset: 0; background: var(--night); z-index: -2; }
}
@media (max-width: 600px) {
  .hero__title-a { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .hero__title-b { font-size: 1.12rem; letter-spacing: .1em; }
  .hero__lede { font-size: 1rem; }
  .hero__ctas { gap: 10px; margin-top: 24px; }
  .hero__ctas .btn { flex: 1 1 0; justify-content: center; padding: 0 12px; font-size: .95rem; }
  .hero__ctas .btn__arrow { display: none; }
  .hero__line { margin-top: 18px; padding-top: 16px; }
  .hero__facts { margin-top: 22px; }
  .hero__facts { gap: 6px 18px; font-size: .9rem; }
  .hero__cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero__cue-line::after, .hero__mist { animation: none; } .hero__canvas { transition: none; } }
