/* ==========================================================================
   STANDOUT 2027 — Homepage
   Depends on standout.css for tokens and shared components.
   ========================================================================== */
/* ---------- HERO ---------- */
/* flex-start + margin-top:auto on the inner block, NOT justify-content:
   flex-end. Both bottom-align the content when there is room, but flex-end
   overflows upward once the content is taller than the viewport — which is
   what pushed the wordmark underneath the nav. An auto margin collapses to
   zero instead, so the padding-top always holds. */
.hero{
  position:relative;min-height:100svh;display:flex;flex-direction:column;
  justify-content:flex-start;overflow:hidden;
  padding-top:calc(var(--nav-h) + var(--nav-gap));
  padding-bottom:clamp(1.5rem,3vw,2.5rem);
}

/* Layer 1 — the gradient field itself. This is now the hero's background,
   not flat onyx: a deep-forest bloom behind the S on the right, a whisper
   of gold top-left, settling into onyx at the base so the section hands
   off cleanly to the ticker below. */
.hero__media{position:absolute;inset:0;z-index:0;isolation:isolate;background:var(--onyx);}
.hero__bg{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 88% 82% at 78% 34%, rgba(63,122,56,.80), transparent 66%),
    radial-gradient(ellipse 55% 45% at 92% 10%, rgba(159,232,112,.26), transparent 60%),
    radial-gradient(ellipse 65% 60% at 4% 2%, rgba(198,161,91,.17), transparent 58%),
    linear-gradient(160deg,#1A3A1F 0%,#123016 26%,#0C1A0E 52%,#0A0A0A 78%,#080808 100%);
}

/* Layer 2 — the particle plate. Rendered on pure black and screen-blended,
   so the black drops out entirely and only the S composites over the
   gradient. Because black contributes nothing under `screen`, the plate can
   be slid freely without ever revealing an edge — which is how the S gets
   levelled with the headline via --s-shift (set by standout.js). */
.hero__video{
  position:absolute;left:0;width:100%;height:auto;aspect-ratio:16/9;
  top:50%;
  transform:translateY(calc(-50% + var(--s-shift,0px)));
  object-fit:contain;
  mix-blend-mode:screen;
  will-change:transform;
}

/* Layer 3 — legibility scrim, weighted left where the headline sits so the
   S on the right keeps its full brightness. */
.hero__media::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(10,10,10,.80) 0%,rgba(10,10,10,.52) 32%,rgba(10,10,10,.10) 58%,transparent 74%),
    linear-gradient(180deg,rgba(10,10,10,.62) 0%,transparent 22%,transparent 58%,rgba(10,10,10,.92) 88%,var(--onyx) 100%);
}
@media(max-width:960px){
  /* single column: pull the plate wide and re-centre the S behind the type */
  .hero__video{width:200%;left:-91%;opacity:.72;}
  .hero__media::after{
    background:
      linear-gradient(180deg,rgba(10,10,10,.55) 0%,rgba(10,10,10,.18) 26%,rgba(10,10,10,.72) 62%,var(--onyx) 100%);
  }
}
.hero__inner{position:relative;z-index:2;width:100%;max-width:var(--maxw);margin-inline:auto;margin-top:auto;padding-inline:var(--gut);}
.hero__kicker{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.4rem;margin-bottom:clamp(1.2rem,2.4vw,2rem);}
.hero__pill{
  display:inline-flex;align-items:center;gap:.55rem;font-family:var(--ui);font-size:.66rem;
  font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--d-70);
  border:1px solid var(--d-22);border-radius:100px;padding:.5rem .95rem;
  background:rgba(10,10,10,.4);backdrop-filter:blur(10px);
}
.hero__pill b{color:var(--green);font-weight:600;}
.hero__pulse{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(159,232,112,.7);animation:pulse 2.2s infinite;}
@keyframes pulse{70%{box-shadow:0 0 0 9px rgba(159,232,112,0);}100%{box-shadow:0 0 0 0 rgba(159,232,112,0);}}

.hero__type{line-height:.8;margin-bottom:clamp(1.4rem,3vw,2.4rem);}
.hero__line{display:block;overflow:hidden;}
/* Sized against the longest line ("STANDOUT,", ~3.35em in Bebas) rather
   than --fs-mega. The old size was tuned for a 5-character word; these
   lines are nearly twice as wide and would have run under the S. */
.hero__line i{
  display:block;font-style:normal;font-family:var(--display);
  font-size:clamp(2.6rem,13vw,14.5rem);text-transform:uppercase;letter-spacing:-.005em;
}
@media(max-width:960px){
  /* single column below this width, so the type can reclaim the full bleed */
  .hero__line i{font-size:clamp(2.6rem,22vw,11rem);}
}
.hero__line--out i{color:transparent;-webkit-text-stroke:1.6px rgba(255,255,255,.62);}
.hero__line--yr{display:flex;align-items:flex-end;gap:clamp(.6rem,1.6vw,1.6rem);}
.hero__line--yr i:last-child{
  font-family:var(--ui);font-weight:600;font-size:clamp(.7rem,1.05vw,1rem);
  letter-spacing:.24em;color:var(--d-55);transform:none;padding-bottom:clamp(.6rem,1.6vw,1.9rem);
  -webkit-text-stroke:0;
}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:end;}
@media(max-width:960px){.hero__grid{grid-template-columns:1fr;}}
.hero__blurb{max-width:44ch;color:var(--d-70);font-size:clamp(.98rem,1.25vw,1.2rem);line-height:1.6;}
.hero__ctas{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:clamp(1.2rem,2.4vw,1.9rem);}

.cd__label{font-family:var(--ui);font-size:var(--fs-label);letter-spacing:.2em;text-transform:uppercase;color:var(--d-40);margin-bottom:.85rem;display:flex;align-items:center;gap:.6rem;}
.cd__cells{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;}
.cd__cell{
  background:rgba(255,255,255,.05);border:1px solid var(--d-12);border-radius:14px;
  padding:clamp(.75rem,1.4vw,1.1rem) .4rem;text-align:center;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.cd__num{font-family:var(--display);font-size:clamp(1.6rem,2.9vw,2.5rem);line-height:.9;color:var(--green);font-variant-numeric:tabular-nums;letter-spacing:.03em;}
.cd__unit{font-family:var(--ui);font-size:.56rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--d-40);margin-top:.5rem;}

.hero__foot{
  position:relative;z-index:2;width:100%;max-width:var(--maxw);margin-inline:auto;
  padding:clamp(1.4rem,2.6vw,2.2rem) var(--gut) 0;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.scroll-cue{display:flex;align-items:center;gap:.65rem;font-family:var(--ui);font-size:var(--fs-label);letter-spacing:.2em;text-transform:uppercase;color:var(--d-40);}
.scroll-cue i{display:block;width:1px;height:34px;background:linear-gradient(180deg,var(--green),transparent);animation:drop 1.9s var(--ease) infinite;}
@keyframes drop{0%{transform:scaleY(0);transform-origin:top;}45%{transform:scaleY(1);transform-origin:top;}55%{transform:scaleY(1);transform-origin:bottom;}100%{transform:scaleY(0);transform-origin:bottom;}}
.hero__credit{font-family:var(--ui);font-size:var(--fs-label);letter-spacing:.16em;text-transform:uppercase;color:var(--d-40);text-align:right;}

/* ---------- LINEUP / ANNOUNCE ---------- */
.announce{
  border:1px dashed var(--d-22);border-radius:var(--radius-lg);
  padding:clamp(2rem,5vw,4.5rem) clamp(1.25rem,3vw,3rem);text-align:center;
  background:radial-gradient(ellipse 70% 100% at 50% 0%,rgba(159,232,112,.09),transparent 70%);
}
.announce__big{font-family:var(--display);font-size:clamp(2rem,6.5vw,5rem);text-transform:uppercase;line-height:.92;}
.announce__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:.6rem;margin-top:clamp(1.6rem,3vw,2.6rem);}
@media(max-width:900px){.announce__grid{grid-template-columns:repeat(3,1fr);}}
.announce__slot{
  aspect-ratio:1;border-radius:14px;border:1px solid var(--d-12);background:var(--d-04);
  display:grid;place-items:center;font-family:var(--display);font-size:1.5rem;color:var(--d-22);
}

/* ---------- MEDIA STRIP ---------- */
.strip{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(.7rem,1.3vw,1.2rem);}
@media(max-width:800px){.strip{grid-template-columns:1fr;}}
.strip__item{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;background:var(--onyx-card);border:1px solid var(--d-12);}
.strip__item video,.strip__item img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease);}
.strip__item:hover video,.strip__item:hover img{transform:scale(1.05);}
.strip__cap{position:absolute;left:0;right:0;bottom:0;padding:1.1rem;background:linear-gradient(0deg,rgba(10,10,10,.9),transparent);}
.strip__cap h4{font-family:var(--ui);font-weight:600;font-size:1rem;letter-spacing:-.02em;}
.strip__cap p{font-family:var(--ui);font-size:var(--fs-label);letter-spacing:.16em;text-transform:uppercase;color:var(--green);margin-top:.35rem;}

/* ==========================================================================
   MOBILE HERO — centred composition
   Below 760px the split layout collapses, so the whole hero block centres:
   pills, wordmark, blurb, CTAs and the countdown all share one axis.
   ========================================================================== */
@media(max-width:760px){
  .hero{text-align:center;}
  .hero__kicker{justify-content:center;}
  .hero__type{text-align:center;}
  .hero__line--yr{flex-direction:column;align-items:center;gap:.5rem;}
  .hero__line--yr i:last-child{padding-bottom:0;}
  .hero__grid{grid-template-columns:minmax(0,1fr);justify-items:center;}
  .hero__blurb{margin-inline:auto;}
  .hero__ctas{justify-content:center;width:100%;}
  .hero__ctas .btn{flex:1 1 260px;justify-content:center;}
  .cd{width:100%;max-width:420px;margin-inline:auto;}
  .cd__label{justify-content:center;}
  .hero__foot{justify-content:center;text-align:center;}
  .hero__credit{text-align:center;width:100%;}
  .scroll-cue{justify-content:center;}
}
