/* Prime Symmetry · FTC Team 36563 — home page sections (loads after core.css) */

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; text-align: center;
  padding: calc(var(--nav-h) + 24px) 20px 96px;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-robot { filter: saturate(.9) contrast(1.05); }
.hero-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 0% 55%, rgba(239, 171, 40, .22), transparent 60%),
    radial-gradient(70% 90% at 100% 55%, rgba(68, 108, 227, .32), transparent 60%),
    linear-gradient(180deg, rgba(21, 29, 59, .72) 0%, rgba(21, 29, 59, .55) 45%, rgba(21, 29, 59, .94) 100%);
}
.hero-splash { z-index: 2; background: #000; transition: opacity 1.3s ease; }
.hero.is-ready .hero-splash { opacity: 0; pointer-events: none; }
.hero.skip-intro .hero-splash, .hero.no-video .hero-splash { display: none; }
@media (max-aspect-ratio: 4/3) { .hero-splash { object-fit: contain; } }

/* the vertical seam through the middle of the screen */
.hero-seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(244, 244, 238, .55) 20%, rgba(244, 244, 238, .55) 80%, transparent);
  transform: translateX(-50%) scaleY(0); transform-origin: 50% 50%;
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .2s;
}
.hero.is-ready .hero-seam { transform: translateX(-50%) scaleY(1); }
/* the seam opens around the sub-text: a gap in the line (vars set by landing.js) plus two branches */
.hero.has-split .hero-seam {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--gap-t) - var(--gap-f)), transparent var(--gap-t), transparent var(--gap-b), #000 calc(var(--gap-b) + var(--gap-f)));
          mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--gap-t) - var(--gap-f)), transparent var(--gap-t), transparent var(--gap-b), #000 calc(var(--gap-b) + var(--gap-f)));
}
.hero-split { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.hero-split path { fill: none; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .7, .2, 1) 1.1s; }
.hero-split .sl { stroke: rgba(239, 171, 40, .75); }
.hero-split .sr { stroke: rgba(68, 108, 227, .9); }
.hero.is-branched .hero-split path { stroke-dashoffset: 0; }

.hero-copy { position: relative; z-index: 3; width: min(1100px, 100%); }
.hero .rise { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.hero.is-ready .rise { opacity: 1; transform: none; }

/* two-column rows split exactly on the seam: left half right-aligned, right half left-aligned */
.seam-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(14px, 1.8vw, 28px); align-items: baseline; margin: 0; }
.seam-row > :first-child { justify-self: end; }
.seam-row > :last-child { justify-self: start; }

/* ---- 36563, centered on the 5 ---- */
.hero-num {
  --spread-scale: 1;
  position: relative; display: flex; justify-content: center; align-items: center; gap: .05em;
  font: 400 clamp(108px, min(24vw, 31vh), 300px)/.86 var(--display);
  user-select: none; -webkit-user-select: none;
  transition: transform .5s ease;
  text-shadow: 0 8px 50px rgba(0, 0, 0, .45);
}
.hero-num.spread { transform: scale(var(--spread-scale)); }
.hd { display: inline-block; position: relative; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity 1s ease, text-shadow .3s ease; }
.hd-g { color: var(--gold); }
.hd-b { color: var(--blue); }
button.hd-c {
  appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; background: none;
  font: inherit; line-height: inherit; color: var(--paper); cursor: pointer;
}
.hd-c::before, .hd-c::after { /* seam nodes above and below the 5 */
  content: ""; position: absolute; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper); transform: translateX(-50%); box-shadow: 0 0 14px rgba(244, 244, 238, .7);
}
.hd-c::before { top: -.12em; }
.hd-c::after { bottom: -.08em; }
.hd-c:hover, .hd-c:focus-visible { text-shadow: 0 0 30px rgba(244, 244, 238, .85), 0 0 70px rgba(68, 108, 227, .6); }
.hd-c:focus-visible { outline-offset: 8px; }
.hd.lit { text-shadow: 0 0 34px currentColor; transform: translateY(-6px); }
.hd-c.flash { text-shadow: 0 0 36px #fff, 0 0 90px var(--gold), 0 0 140px var(--blue); }
.hero.is-ready:not(.egg-on) .hd-c:not(:hover) { animation: glint 7s ease-in-out 5s infinite; }
@keyframes glint {
  0%, 84%, 100% { text-shadow: 0 8px 50px rgba(0, 0, 0, .45); }
  91% { text-shadow: 0 0 26px rgba(244, 244, 238, .95), 0 0 64px rgba(239, 171, 40, .55); }
}

/* digits fly in from both sides and lock onto the seam */
.hero:not(.is-ready) .hd-g[data-pair="a"] { transform: translateX(-34vw); opacity: 0; }
.hero:not(.is-ready) .hd-g[data-pair="b"] { transform: translateX(-20vw); opacity: 0; }
.hero:not(.is-ready) .hd-b[data-pair="b"] { transform: translateX(20vw); opacity: 0; }
.hero:not(.is-ready) .hd-b[data-pair="a"] { transform: translateX(34vw); opacity: 0; }
.hero:not(.is-ready) .hd-c { transform: translateY(-.45em); opacity: 0; }
.hero.intro .hd[data-pair="b"] { transition-delay: .12s; }
.hero.intro .hd-c { transition-delay: .3s; }

/* fold mechanics: plus signs open up between the digits; "23" blooms at the center */
.hop {
  display: inline-block; width: 0; opacity: 0; overflow: hidden; text-align: center;
  font-size: .5em; color: rgba(244, 244, 238, .7);
  transition: width .5s ease, opacity .4s ease;
}
.hero-num.spread > .hop { width: .9em; opacity: 1; }
.fold {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; font-size: .82em; opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.fold.show { opacity: 1; }
.fold.split .hop { width: .9em; opacity: 1; }
.fd { display: inline-block; transform: scale(.3); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s ease; }
.fold.show .fd { transform: none; opacity: 1; }
.fd-g { color: var(--gold); }
.fd-b { color: var(--blue); }
.eqs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.4);
  font-size: .6em; color: var(--paper); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1), text-shadow .45s ease;
}
.eqs.on { opacity: 1; transform: translate(-50%, -50%); text-shadow: 0 0 30px rgba(244, 244, 238, .85), 0 0 70px rgba(239, 171, 40, .5); }

/* ---- name + "WE | word" ---- */
.hero-name {
  margin-top: .12em;
  font: 400 clamp(40px, min(6.4vw, 8.2vh), 96px)/1 var(--display); letter-spacing: .09em; text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}
.hero-name .hn-l { color: var(--gold); }
.hero-name .hn-r { color: var(--blue); }
.hero .hn-l.rise { transform: translateX(-50px); }
.hero .hn-r.rise { transform: translateX(50px); }
.hero.is-ready .hn-l.rise, .hero.is-ready .hn-r.rise { transform: none; }

.hero-line {
  margin-top: .4em;
  font: 400 clamp(30px, min(4vw, 5.2vh), 56px)/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
}
.hl-we { color: var(--paper); }
.cycler { display: inline-block; color: var(--gold); transition: opacity .28s, transform .28s; }
.cycler[data-side="r"] { color: var(--blue); }
.cycler.out { opacity: 0; transform: translateY(-.3em); }

.hero-sub { margin: 34px auto 0; max-width: 40em; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.55; color: var(--muted); }
.hero-sub strong { color: var(--paper); font-weight: 600; }
/* two equal buttons mirrored across the seam: same size, mirrored chamfers, arrows pointing outward */
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(14px, 1.8vw, 28px); margin-top: 38px; }
.hero-cta .ps-btn { width: min(100%, 320px); justify-content: space-between; white-space: nowrap; }
.hero-cta .cta-l { justify-self: end; }
.hero-cta .cta-r { justify-self: start; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.hero-cta .cta-l:hover .arrow { transform: translateX(-4px); }
button.ps-btn { border: 0; cursor: pointer; }

.sound-btn {
  position: absolute; right: clamp(14px, 3vw, 36px); bottom: 28px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid rgba(244, 244, 238, .3); border-radius: 999px;
  background: rgba(16, 22, 46, .55); color: var(--paper); backdrop-filter: blur(6px);
  font: 700 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.sound-btn:hover { background: var(--blue); border-color: var(--blue); }
.sound-btn svg { width: 16px; height: 16px; fill: currentColor; }
.hero.no-video .sound-btn { display: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 700 10px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.scroll-cue i { width: 2px; height: 34px; background: linear-gradient(var(--gold), var(--blue)); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- the number band ---------- */
.number { padding: clamp(64px, 8vw, 110px) 0; text-align: center; }
.number .display.h2 { font-size: clamp(50px, 6.4vw, 92px); margin-top: 16px; }
.number-lede { margin: 8px 0 0; font: 400 clamp(26px, 2.8vw, 38px)/1.1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.number-cheese { max-width: 34em; margin: 26px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.number-cheese em { font-style: normal; color: var(--gold); white-space: nowrap; }

/* 36563 read forwards (gold) then backwards (blue): each digit glows in and out, overlapping the next */
.palin { display: flex; flex-direction: column; align-items: center; margin: 22px 0 6px; }
.palin-num { position: relative; display: inline-flex; font: 400 clamp(40px, 5vw, 68px)/.9 var(--display); letter-spacing: .04em; }
.pd { display: inline-block; padding: 0 .07em; color: rgba(244, 244, 238, .4); transition: color .5s ease-in-out, text-shadow .5s ease-in-out; }
.pd.lit-f { color: var(--gold); text-shadow: 0 0 24px rgba(239, 171, 40, .35); }
.pd.lit-b { color: #7d9bf0; text-shadow: 0 0 24px rgba(68, 108, 227, .45); }
.pd-c.lit-f, .pd-c.lit-b { color: var(--paper); text-shadow: 0 0 24px rgba(244, 244, 238, .35); }
.palin-seam { position: absolute; left: 50%; top: -10%; bottom: -10%; width: 2px; transform: translateX(-50%); opacity: 0; transition: opacity .5s ease-in-out;
  background: linear-gradient(180deg, transparent, rgba(244, 244, 238, .6) 30%, rgba(244, 244, 238, .6) 70%, transparent); }
.palin.at-mid .palin-seam { opacity: 1; }
.palin-dir { margin-top: 10px; font: 400 22px/1 var(--display); color: var(--gold); opacity: 0; transition: opacity .6s ease-in-out; }
.palin.rev .palin-dir { color: #7d9bf0; }
.palin.sweeping .palin-dir { opacity: 1; }
.palin.still .pd { color: var(--paper); }
.palin.still .palin-dir { display: none; }

/* Indivisible. ● Perfectly balanced. — phrases and dot share a centered row, labels share the row below */
.number-motto {
  display: grid; grid-template-columns: 1fr auto 1fr; column-gap: clamp(16px, 3vw, 34px); row-gap: 8px;
  align-items: center; max-width: 900px; margin: 14px auto 0;
}
.number-motto b { grid-row: 1; font: 400 clamp(30px, 3.6vw, 50px)/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-wrap: balance; }
.number-motto small { grid-row: 2; align-self: start; font: 700 11px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.number-motto .nm-l { grid-column: 1; text-align: right; }
.number-motto .nm-r { grid-column: 3; text-align: left; }
.number-motto b.nm-l { color: var(--gold); }
.number-motto b.nm-r { color: #7d9bf0; }
.nm-dot { grid-row: 1; grid-column: 2; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px var(--ink), 0 0 18px rgba(244, 244, 238, .25); }

/* ---------- simulator ---------- */
.sim {
  position: relative; padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(68, 108, 227, .22), transparent 70%),
    radial-gradient(50% 60% at 10% 80%, rgba(239, 171, 40, .1), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--navy) 55%, var(--ink));
  overflow: hidden;
}
.sim::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(244, 244, 238, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 244, 238, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
.sim-head { position: relative; text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sim-head .display { font-size: clamp(48px, 6.6vw, 96px); margin-top: 18px; }
.sim-head .display span { color: var(--gold); }
.sim-name { margin: 16px 0 0; font: 700 13px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--blue); }
.sim-head p.lede { margin: 18px auto 0; max-width: 38em; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.sim-head p.lede strong { color: var(--paper); }

.sim-stage { position: relative; display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }

.beats { list-style: none; margin: 0; padding: 0; counter-reset: beat; }
.beat {
  --p: 0;
  position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 10px;
  padding: 8px 12px; cursor: pointer; border-left: 2px solid var(--line);
  transition: background .25s, border-color .25s;
}
.beat::before { counter-increment: beat; content: counter(beat, decimal-leading-zero); font: 700 11px/1 var(--body); letter-spacing: .1em; color: var(--muted); }
.beat b { font: 400 25px/1.05 var(--display); letter-spacing: .05em; text-transform: uppercase; font-weight: 400; color: rgba(244, 244, 238, .5); transition: color .25s; }
.beat small { grid-column: 2; font-size: 12.5px; line-height: 1.3; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s, opacity .35s; }
.beat::after { /* progress within the active beat */
  content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: calc(var(--p) * 100%);
  background: linear-gradient(var(--gold), var(--blue));
}
.beat:hover b { color: var(--paper); }
.beat.active { background: linear-gradient(90deg, rgba(239, 171, 40, .14), transparent); }
.beat.active b { color: var(--gold); }
.beat.active small { max-height: 3em; opacity: 1; margin-top: 3px; }
.beat.active::before { color: var(--gold); }

.device {
  position: relative; padding: 10px; background: linear-gradient(160deg, #26355f, #0d1330);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.device-bar {
  display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 10px 14px;
  font: 700 10px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.device-bar .live { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); }
.device-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.device video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; cursor: pointer; }
.device-word {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; pointer-events: none;
  padding: 6px 14px 4px; background: rgba(16, 22, 46, .82); backdrop-filter: blur(4px);
  font: 400 clamp(24px, 2.8vw, 36px)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--gold);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: opacity .25s;
}

.proof { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 60px); }
.proof div { padding: 18px 20px; border-top: 2px solid var(--line); }
.proof div:nth-child(1) { border-top-color: var(--gold); }
.proof div:nth-child(3) { border-top-color: var(--blue); }
.proof b { display: block; font: 400 26px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.proof span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.sim-cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Hive Shot Lab: the simulator section's mirror image ---------- */
.hsl {
  background:
    radial-gradient(60% 70% at 15% 30%, rgba(239, 171, 40, .16), transparent 70%),
    radial-gradient(50% 60% at 90% 80%, rgba(68, 108, 227, .14), transparent 70%),
    linear-gradient(180deg, var(--ink), var(--ink-2) 55%, var(--ink));
}
.hsl .sim-head .display span { color: var(--blue); }
.hsl .sim-name { color: var(--gold); }
.sim-stage.flip { grid-template-columns: 1fr minmax(240px, 300px); }
.flip .beat { border-left: 0; border-right: 2px solid var(--line); }
.flip .beat::after { left: auto; right: -2px; background: linear-gradient(var(--blue), var(--gold)); }
.flip .beat.active { background: linear-gradient(270deg, rgba(68, 108, 227, .16), transparent); }
.flip .beat.active b, .flip .beat.active::before { color: #8fa8f5; }
.hsl .device-word { color: #8fa8f5; }

.hsl-lab { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.hsl-arcs { margin: 0; padding: 18px 18px 12px; background: linear-gradient(160deg, rgba(38, 53, 95, .55), rgba(13, 19, 48, .7)); clip-path: var(--chamfer); }
.hsl-arcs svg { width: 100%; height: auto; overflow: visible; }
.hsl-arcs figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.hsl-arcs figcaption span { color: var(--gold); }
.hsl-arcs .grid { stroke: rgba(244, 244, 238, .07); stroke-width: .3; }
.hsl-arcs .floor { stroke: rgba(244, 244, 238, .45); stroke-width: .6; }
.hsl-arcs .turret { fill: var(--gold); filter: drop-shadow(0 0 2px var(--gold)); }
.hsl-arcs .cell { stroke: #ff4fd8; stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 2px #ff4fd8); }
.hsl-arcs .flight path { fill: none; stroke-width: .9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; stroke: #8fa8f5; opacity: .9; }
.hsl-arcs .flight.r-in path { stroke: #3ee07a; }
.hsl-arcs .flight.r-high path, .hsl-arcs .flight.r-low path { stroke: var(--gold); }
.hsl-arcs .ball { fill: #f6e33a; opacity: 0; filter: drop-shadow(0 0 1.5px #f6e33a); }
.hsl-arcs .flash { font: 400 9px/1 var(--display); letter-spacing: .04em; fill: #3ee07a; opacity: 0; }
.hsl-arcs .flash.r-high, .hsl-arcs .flash.r-low { fill: var(--gold); }
.hsl-arcs .flash.on { animation: hsl-pop 1.1s ease-out both; transform-box: fill-box; transform-origin: left bottom; }
@keyframes hsl-pop { 0% { opacity: 0; transform: scale(.4); } 15% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; } }

.hsl-stats { display: grid; gap: 14px; }
.hsl-stats div { padding: 14px 0 14px 20px; border-left: 3px solid var(--line); }
.hsl-stats div:nth-child(1) { border-left-color: var(--gold); }
.hsl-stats div:nth-child(2) { border-left-color: var(--paper); }
.hsl-stats div:nth-child(3) { border-left-color: var(--blue); }
.hsl-stats b { display: block; font: 400 clamp(44px, 5vw, 64px)/.95 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hsl-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---------- pillars ---------- */
.pillars { padding: clamp(80px, 10vw, 140px) 0; }
.pillars-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.pillars-head .display { font-size: clamp(48px, 6vw, 84px); margin-top: 18px; }
.pillars-head .display em { font-style: normal; color: var(--gold); }
.pillars-head .display b { font-weight: 400; color: var(--blue); }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  --accent: var(--gold);
  position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 30px 28px 26px;
  text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(170deg, #1d2a57, #121a38);
  clip-path: var(--chamfer);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.pillar:nth-child(2) { --accent: var(--paper); }
.pillar:nth-child(3) { --accent: var(--blue); }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold) 0 50%, var(--blue) 50% 100%); }
.pillar:hover { transform: translateY(-6px); }
.pillar-art {
  position: absolute; right: -40px; bottom: -40px; z-index: -1; width: 260px; height: 260px;
  color: var(--accent); opacity: .13; transition: opacity .35s, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.pillar:hover .pillar-art { opacity: .3; transform: rotate(-12deg) scale(1.06); }
.pillar-num { font: 700 12px/1 var(--body); letter-spacing: .26em; color: var(--accent); }
.pillar h3 { margin: 14px 0 0; font: 400 52px/.95 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.pillar p { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.pillar .go { margin-top: auto; padding-top: 22px; font: 400 22px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pillar .go::after { content: " \2192"; display: inline-block; transition: transform .25s; }
.pillar:hover .go::after { transform: translateX(6px); }

/* ---------- season strip ---------- */
.season { position: relative; padding: clamp(56px, 7vw, 90px) 0; overflow: hidden; background: var(--navy); }
.season::before, .season::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50%; opacity: .14; }
.season::before { left: 0; background: linear-gradient(115deg, var(--gold), transparent 60%); }
.season::after { right: 0; background: linear-gradient(245deg, var(--blue), transparent 60%); }
.season-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.season .display { font-size: clamp(54px, 7vw, 104px); margin-top: 14px; }
.season .display span { color: var(--gold); }
.season p { margin: 14px 0 0; color: var(--muted); max-width: 30em; }
.season-links { display: grid; gap: 10px; }
.season-links a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 22px;
  background: rgba(16, 22, 46, .55); text-decoration: none; clip-path: var(--chamfer);
  font: 400 26px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, color .25s, padding .25s;
}
.season-links a span { font: 400 14px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.season-links a:hover { background: var(--gold); color: var(--ink); padding-left: 30px; }
.season-links a:hover span { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sim-stage { grid-template-columns: 1fr; }
  .beats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; order: 2; }
  .beat { flex: 0 0 auto; grid-template-columns: auto; border-left: 0; border-bottom: 2px solid var(--line); padding: 8px 12px; }
  .beat::before, .beat small { display: none; }
  .beat::after { left: 0; top: auto; bottom: -2px; width: calc(var(--p) * 100%); height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue)); }
  .beat b { font-size: 21px; }
  .proof, .pillar-grid { grid-template-columns: 1fr; }
  .sim-stage.flip, .hsl-lab { grid-template-columns: 1fr; }
  .flip .beat { border-right: 0; }
  .flip .beat::after { right: auto; left: 0; }
  .pillar { min-height: 0; }
  .season-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .hero-num { --spread-scale: .82; }
}

@media (max-width: 760px) {
  .hero-cta { grid-template-columns: 1fr; row-gap: 12px; }
  .hero-cta .cta-l, .hero-cta .cta-r { justify-self: center; }
}

@media (max-width: 640px) {
  .hero-num { --spread-scale: .7; }
  .hero-name { letter-spacing: .05em; }
  .scroll-cue { display: none; }
  .sound-btn { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; }
}
