/* ============================================================
   SUPREMACY — public site v0.3
   Brand: the Spartan cut (void navy · neon pink · electric blue · gold)
   Wordmark/lockup = image crops from the deck. Text faces
   (Archivo + IBM Plex Mono) remain a proposal pending canon.
   v0.3: deck-scroll → website anatomy. Real nav/footer, marquee,
   Contestant X interlude, pinned "Craft" era timeline (Lenis).
   v0.6: Craft imagery — generated era plates (screen-blended into
   the void) on the pinned stage + neon SVG era glyphs in the stack.
   ============================================================ */

:root {
  --void:      #070912;
  --void-2:    #0B0E1A;
  --panel:     #10131F;
  --panel-2:   #141827;
  --line:      rgba(148, 165, 255, 0.14);
  --line-soft: rgba(148, 165, 255, 0.08);

  --pink:      #FF3355;
  --magenta:   #E0257E;
  --blue:      #2E6BFF;
  --blue-soft: #86A8FF;
  --gold:      #F0B43C;
  --gold-deep: #C88F1F;

  --text:      #EEF0FA;
  --text-dim:  rgba(230, 235, 255, 0.62);
  --text-dim2: rgba(230, 235, 255, 0.38);

  --grad-strip: linear-gradient(180deg, var(--pink), var(--blue));
  --grad-bar:   linear-gradient(90deg, var(--magenta), var(--blue));

  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-d1:     clamp(34px, 6vw, 84px);
  --t-title:  clamp(26px, 3.8vw, 50px);
  --t-lead:   clamp(17px, 1.9vw, 24px);
  --t-body:   clamp(15px, 1.45vw, 18px);
  --t-cap:    clamp(13px, 1.15vw, 15px);
  --t-eyebrow:clamp(11px, 1vw, 13px);
  --t-figure: clamp(40px, 6vw, 80px);

  --pad-x: clamp(20px, 6vw, 110px);
  --pad-y: clamp(72px, 10vw, 130px);
  --nav-h: 64px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
html, body { margin: 0; background: var(--void); }
body {
  font-family: var(--sans);
  color: var(--text);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--magenta); color: #fff; }

/* ---- Type atoms ---- */
.mono   { font-family: var(--mono); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--t-eyebrow); letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; color: var(--blue-soft);
}
.eyebrow .sq { width: 10px; height: 10px; background: linear-gradient(135deg, var(--blue) 50%, var(--pink) 50%); flex: 0 0 auto; }

h1, h2, h3, p { margin: 0; }

.title { font-weight: 750; font-size: var(--t-title); line-height: 1.06; letter-spacing: -0.025em; max-width: 24ch; }
.title .accent { color: var(--gold); }
.title .accent-pink { color: var(--pink); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--text-dim); max-width: 46ch; font-weight: 400; }
.body-copy { font-size: var(--t-body); color: var(--text-dim); max-width: 46ch; }
.cap { font-size: var(--t-cap); line-height: 1.55; color: var(--text-dim2); }

.datalabel { font-family: var(--mono); font-size: var(--t-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim2); }
.figure { font-family: var(--mono); font-weight: 300; font-size: var(--t-figure); line-height: 1; letter-spacing: -0.04em; color: var(--text); }
.figure small { font-size: 0.45em; }
.figure--pink { color: var(--pink); }
.figure--gold { color: var(--gold); }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 var(--pad-x);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-solid {
  background: rgba(7, 9, 18, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav .lockup { display: flex; align-items: center; }
.nav .lockup img { height: 26px; width: auto; display: block; }
.nav .links { display: flex; gap: 26px; }
.nav .links a { color: var(--text-dim); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s ease; }
.nav .links a:hover { color: var(--text); }
.contact-chip {
  color: var(--text); text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--pink); padding: 8px 18px; border-radius: 999px;
  transition: background 0.2s ease, box-shadow 0.2s ease; white-space: nowrap;
}
.contact-chip:hover { background: var(--pink); box-shadow: 0 0 24px rgba(255, 51, 85, 0.45); }

.invest-link {
  color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid rgba(240, 180, 60, 0.5); padding: 8px 18px; border-radius: 999px;
  background: rgba(240, 180, 60, 0.06);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.invest-link:hover { background: var(--gold); color: var(--void); box-shadow: 0 0 24px rgba(240, 180, 60, 0.45); }
@media (max-width: 1099px) { .nav .invest-link { display: none; } }

.burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 40px; height: 40px; padding: 0; cursor: pointer; position: relative; z-index: 70;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 65; background: rgba(7, 9, 18, 0.96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad-x);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a {
  color: var(--text); text-decoration: none; font-weight: 800;
  font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.02em; padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.menu a .n { font-family: var(--mono); font-size: 13px; font-weight: 300; color: var(--pink); margin-right: 14px; vertical-align: 14px; letter-spacing: 0; }
.menu .menu-foot { margin-top: 30px; }

@media (max-width: 899px) {
  .nav .links { display: none; }
  .nav .contact-chip { display: none; }
  .burger { display: block; }
}

/* ---- Sections ---- */
.sect { position: relative; padding: var(--pad-y) var(--pad-x); background: var(--void); overflow: hidden; }
.sect--raise { background: var(--void-2); }
.kicker { margin-bottom: clamp(28px, 4vw, 48px); }
.kicker .title { margin-top: 22px; }

.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.glow--magenta { background: radial-gradient(circle, rgba(224, 37, 126, 0.55), transparent 65%); }
.glow--blue    { background: radial-gradient(circle, rgba(46, 107, 255, 0.45), transparent 65%); }
.glow--gold    { background: radial-gradient(circle, rgba(240, 180, 60, 0.30), transparent 65%); }

.tick { position: absolute; width: 26px; height: 26px; border-color: rgba(240, 180, 60, 0.55); border-style: solid; border-width: 0; z-index: 3; }
.tick.tl { top: 22px; left: 22px; border-top-width: 1px; border-left-width: 1px; }
.tick.tr { top: 22px; right: 22px; border-top-width: 1px; border-right-width: 1px; }
.tick.bl { bottom: 22px; left: 22px; border-bottom-width: 1px; border-left-width: 1px; }
.tick.br { bottom: 22px; right: 22px; border-bottom-width: 1px; border-right-width: 1px; }

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
hr.rule-neon { border: 0; border-top: 2px solid var(--pink); width: 64px; margin: 0; box-shadow: 0 0 12px rgba(255, 51, 85, 0.6); }

/* ---- Hero ---- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 24px); }
.hero-art {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/keyart-producer.jpg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.55) 42%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.55) 42%, #000 78%);
  opacity: 0.8; will-change: transform;
}
@media (max-width: 899px) {
  .hero-art { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0.28) 65%, transparent); mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0.28) 65%, transparent); opacity: 0.5; }
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--void) 8%, rgba(7,9,18,0.72) 45%, transparent 75%); }
@media (max-width: 899px) { .hero::after { background: linear-gradient(180deg, rgba(7,9,18,0.35), var(--void) 82%); } }
.hero-inner { position: relative; z-index: 2; will-change: transform, opacity; }
.hero .wordmark { width: min(720px, 88%); height: auto; display: block; margin-top: clamp(18px, 3vw, 30px); filter: drop-shadow(0 0 28px rgba(255, 51, 85, 0.35)); }
.hero .tagline { margin-top: clamp(20px, 3vw, 34px); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; font-size: clamp(13px, 1.6vw, 19px); color: var(--gold); }
.hero .lead { margin-top: clamp(16px, 2.4vw, 26px); }
.hero-foot { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: baseline; margin-top: clamp(40px, 7vw, 80px); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim2); }
.hero-foot .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); margin-right: 10px; vertical-align: 1px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 1px; height: 56px; background: var(--line); overflow: hidden; z-index: 2; }
.scroll-cue::after { content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--magenta); animation: cue 2.2s cubic-bezier(0.65,0,0.35,1) infinite; }
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 110%; } }

/* ---- Investors page ---- */
.invest-hero { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 40px); background: var(--void-2); border-bottom: 1px solid var(--line); }

.gate {
  position: fixed; inset: 0; z-index: 100; background: var(--void);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background-image: radial-gradient(circle at 78% 20%, rgba(224, 37, 126, 0.16), transparent 55%), radial-gradient(circle at 15% 85%, rgba(46, 107, 255, 0.14), transparent 55%);
}
.gate-card {
  width: min(460px, 100%); text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(16, 19, 31, 0.85); padding: clamp(32px, 6vw, 52px) clamp(24px, 5vw, 44px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.gate-mark { height: 26px; width: auto; margin: 0 auto 26px; display: block; }
.gate-title { font-weight: 780; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; line-height: 1.15; margin-top: 18px; }
.gate-form { display: flex; gap: 10px; margin-top: 26px; }
.gate-form input {
  flex: 1; min-width: 0; background: var(--void); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); font-family: var(--mono); font-size: 14px; padding: 12px 18px; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gate-form input:focus { border-color: var(--pink); box-shadow: 0 0 20px rgba(255, 51, 85, 0.25); }
.gate-err { color: var(--pink); margin-top: 14px; }
.gate-back { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.gate-back:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 480px) { .gate-form { flex-direction: column; } }

/* ---- Marquee ---- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--void-2); padding: 14px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
.marquee span {
  font-weight: 800; font-size: clamp(14px, 1.8vw, 20px); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap; padding-right: 18px;
}
.marquee span b { color: var(--pink); font-weight: 800; padding: 0 18px 0 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Layout helpers ---- */
.cols { position: relative; z-index: 2; display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) { .cols-2 { grid-template-columns: 5fr 6fr; align-items: start; } }

/* by-the-numbers band */
.band { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.band > div { padding: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 28px); border-bottom: 1px solid var(--line); }
.band > div:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.band .datalabel { margin-top: 12px; }
@media (min-width: 900px) {
  .band--6 { grid-template-columns: repeat(3, 1fr); }
  .band--6 > div { border-right: 1px solid var(--line); }
  .band--6 > div:nth-child(3n) { border-right: 0; }
}
@media (min-width: 1200px) {
  .band--6 { grid-template-columns: repeat(6, 1fr); }
  .band--6 > div { border-bottom: 0; border-right: 1px solid var(--line); padding-top: clamp(20px, 2.6vw, 34px); }
  .band--6 > div:last-child { border-right: 0; }
  .band--6 { border-bottom: 1px solid var(--line); }
}

.statgrid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.statgrid > div { padding: clamp(18px, 2.6vw, 32px) clamp(14px, 2vw, 30px); border-bottom: 1px solid var(--line); }
.statgrid > div:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.statgrid .datalabel { margin-top: 12px; }
@media (min-width: 1100px) {
  .statgrid--row4 { grid-template-columns: repeat(4, 1fr); }
  .statgrid--row4 > div { border-right: 1px solid var(--line); }
  .statgrid--row4 > div:last-child { border-right: 0; }
}

.steps { position: relative; z-index: 2; display: grid; gap: clamp(20px, 2.6vw, 30px); }
.step { display: flex; gap: clamp(16px, 2.4vw, 26px); align-items: flex-start; }
.step .n { font-family: var(--mono); font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; color: var(--pink); letter-spacing: -0.02em; min-width: 2ch; padding-top: 2px; }
.step .h { font-weight: 700; font-size: clamp(17px, 1.9vw, 24px); letter-spacing: -0.01em; }
.step .d { margin-top: 6px; font-size: var(--t-cap); color: var(--text-dim); max-width: 52ch; }
@media (min-width: 900px) { .steps--2col { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px) clamp(36px, 5vw, 64px); } }

/* ---- Panels ---- */
.panel { position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 30px) clamp(22px, 2.8vw, 32px); overflow: hidden; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-strip); }
.panel .ph { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 12px; }
.panel .pt { font-weight: 700; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.01em; line-height: 1.25; }
.panel .cap { margin-top: 10px; }
.panel--gold { border-color: rgba(240, 180, 60, 0.5); background: rgba(240, 180, 60, 0.07); }
.panel--gold::before { background: var(--gold); }
.panel--gold .ph { color: var(--gold); }

.panelgrid { position: relative; z-index: 2; display: grid; gap: clamp(16px, 2vw, 26px); }
@media (min-width: 760px)  { .panelgrid--2 { grid-template-columns: 1fr 1fr; } .panelgrid--3 { grid-template-columns: 1fr 1fr; } .panelgrid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .panelgrid--3 { grid-template-columns: repeat(3, 1fr); } .panelgrid--4 { grid-template-columns: repeat(4, 1fr); } }

.chip { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--gold); color: var(--gold); background: rgba(240, 180, 60, 0.08); border-radius: 999px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--void);
  background: var(--pink); border-radius: 999px; padding: 14px 28px;
  box-shadow: 0 0 30px rgba(255, 51, 85, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(255, 51, 85, 0.55); }
.btn--ghost { background: none; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--blue-soft); box-shadow: 0 0 24px rgba(46, 107, 255, 0.25); }

/* ---- Contestant X interlude ---- */
.xsect { position: relative; z-index: 2; display: grid; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .xsect { grid-template-columns: 5fr 6fr; min-height: 78vh; } }
.x-stage { position: relative; background: #04050C; display: flex; align-items: center; justify-content: center; padding: clamp(48px, 8vw, 90px) var(--pad-x); overflow: hidden; }
.x-stage .xnum {
  font-weight: 900; font-size: clamp(180px, 34vw, 460px); line-height: 0.8; letter-spacing: -0.06em;
  background: var(--grad-bar); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 60px rgba(224, 37, 126, 0.35));
  will-change: transform;
}
.x-stage .xlabel { position: absolute; top: 26px; left: var(--pad-x); }
.x-copy { background: var(--panel); padding: clamp(48px, 7vw, 90px) var(--pad-x); display: flex; flex-direction: column; justify-content: center; }
.x-copy .title { margin-top: 20px; }
.x-copy .body-copy { margin-top: 24px; }
.x-facts { margin-top: clamp(24px, 3vw, 36px); display: grid; gap: 12px; }
.x-facts .fact { display: flex; gap: 14px; align-items: baseline; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.x-facts .fact .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); min-width: 9ch; }
.x-facts .fact .v { font-size: var(--t-cap); color: var(--text-dim); }

/* ---- The Craft: pinned era timeline ----
   overflow must stay visible here: .sect's overflow:hidden on this
   ancestor would break position:sticky (the v0.3/v0.4 blank-scroll bug). */
.craft { position: relative; padding: 0; overflow: visible; }
.craft-pin { position: relative; }
/* Opaque void background is load-bearing: the sticky stage is a stacking
   context, so the era plates' mix-blend-mode:screen blends against THIS
   surface — screen(black, void) = void, sinking the plates seamlessly. */
.craft-stage { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) var(--pad-x) 40px; overflow: hidden; background: var(--void); }
.craft-cards { position: relative; z-index: 2; min-height: clamp(300px, 46vh, 460px); }
.era {
  position: absolute; inset: 0; opacity: 0; transform: translateY(30px);
  transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
}
.era.is-active { opacity: 1; transform: none; pointer-events: auto; }
.era .years { font-family: var(--mono); font-weight: 300; font-size: clamp(34px, 5.4vw, 72px); letter-spacing: -0.03em; background: var(--grad-bar); -webkit-background-clip: text; background-clip: text; color: transparent; }
.era .ename { font-weight: 800; font-size: clamp(30px, 5vw, 64px); letter-spacing: -0.025em; margin-top: 10px; }
.era .edef { margin-top: 18px; max-width: 52ch; color: var(--text-dim); font-size: var(--t-lead); line-height: 1.5; }
.era .ekey { margin-top: 14px; }
.era--turn .ename { background: linear-gradient(90deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Era plates — generated key-art imagery crossfading with the active era (v0.6).
   mix-blend-mode:screen sinks the plates' black grounds into the void, so the
   neon reads as part of the page, not a pasted rectangle. NOTE: no z-index on
   .craft-visual — a stacking context here would isolate the blend from the page
   backdrop (the pasted-rectangle bug); DOM order keeps it under the cards. */
.craft-visual { position: absolute; inset: 0; pointer-events: none; }
.craft-visual .vis {
  position: absolute; top: 50%; right: clamp(24px, 6vw, 110px);
  width: clamp(280px, 34vw, 540px); height: auto;
  transform: translateY(-50%) scale(0.94); opacity: 0;
  transition: opacity 0.55s ease, transform 0.8s ease;
  mix-blend-mode: screen;
  will-change: opacity;
}
.craft-visual .vis.is-active { opacity: 1; transform: translateY(-50%) scale(1); }
.era-ic--turn { --na1: #F0B43C; --na2: #FF3355; --na3: #FFD98A; }
@media (max-width: 1279px) {
  .craft-visual .vis { right: 3vw; width: clamp(240px, 30vw, 380px); }
  .craft-visual .vis.is-active { opacity: 0.55; }
}

.craft-rail { position: relative; z-index: 2; margin-top: clamp(24px, 4vh, 44px); }
.craft-rail .rail-track { height: 2px; background: var(--line-soft); position: relative; }
.craft-rail .rail-fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--grad-bar); }
.craft-rail .rail-labels { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim2); }
.craft-rail .rail-labels span.on { color: var(--text); }

/* stacked fallback: mobile, reduced motion, or no JS */
.craft-stack { display: none; position: relative; z-index: 2; padding: var(--pad-y) var(--pad-x); }
.craft-stack .era-row { position: relative; border-top: 1px solid var(--line); padding: clamp(20px, 3vw, 30px) 96px clamp(20px, 3vw, 30px) 0; }
.era-ic {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 74px; height: 74px; opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(255, 51, 85, 0.45)) drop-shadow(0 0 18px rgba(46, 107, 255, 0.25));
}
.era-ic--turn { filter: drop-shadow(0 0 6px rgba(240, 180, 60, 0.45)) drop-shadow(0 0 18px rgba(255, 51, 85, 0.25)); }
@media (max-width: 480px) {
  .craft-stack .era-row { padding-right: 70px; }
  .era-ic { width: 56px; height: 56px; }
}
.craft-stack .years { font-family: var(--mono); font-weight: 300; font-size: clamp(22px, 3vw, 34px); background: var(--grad-bar); -webkit-background-clip: text; background-clip: text; color: transparent; }
.craft-stack .ename { font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); margin-top: 6px; }
.craft-stack .edef { color: var(--text-dim); font-size: var(--t-cap); margin-top: 8px; max-width: 60ch; }
@media (max-width: 899px) {
  .craft-pin { display: none; }
  .craft-stack { display: block; }
}

/* ---- Budget bars ---- */
.btable { position: relative; z-index: 2; display: grid; gap: 0; border-top: 1px solid var(--line); }
.brow { display: grid; grid-template-columns: minmax(120px, 2fr) 3fr auto; gap: clamp(12px, 2.4vw, 40px); align-items: center; padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1px solid var(--line); }
.brow .lab { font-weight: 700; font-size: clamp(15px, 1.7vw, 22px); letter-spacing: -0.01em; }
.brow .sub { font-size: 12px; color: var(--text-dim2); margin-top: 4px; font-weight: 400; }
.bar-track { height: 8px; border-radius: 4px; background: rgba(148, 165, 255, 0.10); position: relative; overflow: hidden; }
.bar-track .bar { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--grad-bar); transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1); }
.brow .num { font-family: var(--mono); font-size: clamp(14px, 1.6vw, 19px); white-space: nowrap; text-align: right; }
.brow .num .pct { color: var(--text-dim2); font-size: 0.8em; margin-left: 10px; }
@media (max-width: 600px) { .brow { grid-template-columns: 1fr auto; } .brow .bar-track { display: none; } }

/* ---- Team ---- */
.teamgrid { position: relative; z-index: 2; display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .teamgrid { grid-template-columns: repeat(4, 1fr); } }
.member .mono-tile { aspect-ratio: 4 / 5; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.member .mono-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-bar); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.member:hover .mono-tile::after { transform: scaleX(1); }
.member .init { font-family: var(--mono); font-weight: 300; font-size: clamp(38px, 4.6vw, 58px); letter-spacing: 0.04em; background: var(--grad-bar); -webkit-background-clip: text; background-clip: text; color: transparent; }
.member .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); }
.member .name { font-weight: 700; font-size: clamp(17px, 1.9vw, 24px); margin-top: 16px; letter-spacing: -0.01em; }
.member .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 7px; }
.member .cap { margin-top: 10px; }

/* ---- Close ---- */
.close-sect { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; }
.close-art { position: absolute; inset: 0; z-index: 0; background: url("assets/keyart-vocalist.jpg") right center / contain no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 5%, rgba(0,0,0,0.5) 45%, #000 75%); mask-image: linear-gradient(90deg, transparent 5%, rgba(0,0,0,0.5) 45%, #000 75%); opacity: 0.55; }
@media (max-width: 899px) { .close-art { opacity: 0.25; background-size: cover; } }
.close-sect > * { position: relative; z-index: 2; }
.close-sect h2 { font-weight: 780; font-size: var(--t-d1); line-height: 1.0; letter-spacing: -0.03em; max-width: 18ch; }
.close-sect h2 .accent-pink { color: var(--pink); }
.contact-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-top: clamp(28px, 4vw, 44px); align-items: flex-end; }
.contact-row .who { font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); margin-top: 8px; }
.contact-row a { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid var(--line); transition: color 0.2s ease, border-color 0.2s ease; }
.contact-row a:hover { color: var(--gold); border-color: var(--gold); }

/* ---- Footer ---- */
.site-foot { position: relative; background: var(--void-2); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) var(--pad-x) 28px; }
.foot-grid { display: grid; gap: clamp(32px, 5vw, 60px); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand img { width: min(300px, 70%); height: auto; display: block; }
.foot-brand .cap { margin-top: 16px; max-width: 34ch; }
.foot-col .fh { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text-dim); text-decoration: none; padding: 6px 0; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--text); }
.foot-bar { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim2); }

/* ---- Reveal motion ---- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); transition-delay: var(--rv-d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .bar-track .bar { transition: none; }
  .scroll-cue { display: none; }
  .member .mono-tile::after { transition: none; }
  .marquee-track { animation: none; }
  .craft-pin { display: none; }
  .craft-stack { display: block; }
  .era { transition: none; }
}
