/* Liz Vampire Tattoo Academy — "The Machine". Black, chrome, one gold accent. */
:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --graph: #151517;
  --text: #edebe6;
  --mute: #a9a8ad;
  --dim: #85858b;
  --gold: #c8a25a;
  --gold-hi: #e6c88d;
  --gold-line: rgba(200, 162, 90, .55);
  --gold-soft: rgba(200, 162, 90, .14);
  --hair: rgba(237, 235, 230, .12);
  --hair-2: rgba(237, 235, 230, .2);
  --display: 'Karantina', 'Assistant', system-ui, sans-serif;
  --body: 'Assistant', 'Noto Sans Hebrew', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --pad: clamp(20px, 5.5vw, 88px);
  --wrap: 1280px;
  --nav-h: 72px;
  --bar-h: 40px;
  --sec: clamp(104px, 15svh, 176px);
  --rail: 168px;
  /* the curriculum text and numbers keep clear of the needle on the rail; the 3D machine (and the flow-mode pen
     image) is sized from the viewport height, so the gaps scale with it too */
  --rail-gap: max(56px, 6svh);
  --num-gap: max(50px, 6.2svh);
  --dock-h: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #0a0a0b; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; top: 8px; right: 8px; z-index: 200; background: var(--gold); color: #0a0a0b; padding: 10px 16px; font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- fixed layers ---------- */
#gl { position: fixed; inset: 0 0 auto 0; width: 100vw; height: 100lvh; z-index: 6; pointer-events: none; display: block; transition: opacity .45s ease; }
.lift { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(70vmax 50vmax at 50% 125%, rgba(200, 162, 90, .05), transparent 70%); }
/* the soft light behind the machine: a fixed-size gradient moved by transform (composited, never repainted) */
.lift::before { content: ''; position: absolute; left: 0; top: 0; width: 88vmax; height: 68vmax; margin: -34vmax 0 0 -44vmax; will-change: transform;
  background: radial-gradient(closest-side, rgba(255, 246, 228, .075), rgba(255, 246, 228, .03) 55%, transparent);
  transform: translate3d(var(--lx, 30vw), var(--ly, 45vh), 0); }
.grain { position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .065; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .9s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.still .grain, .reduced .grain { animation: none; }
main, .foot { position: relative; z-index: 1; }
.tip-glow { position: fixed; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; z-index: 7; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 236, 196, .9) 0, rgba(230, 200, 141, .45) 12%, rgba(200, 162, 90, .12) 34%, transparent 66%); }

/* ---------- preloader ---------- */
#preloader { position: fixed; inset: 0; z-index: 90; background: var(--bg); pointer-events: none; }
.pl-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.pl-draw { position: absolute; inset: 0; transform-origin: 100% 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, rgba(200,162,90,0) 0%, var(--gold) 14%, var(--gold) 86%, rgba(200,162,90,0) 100%); }
.pl-head { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-radius: 50%; transform: translateX(calc(var(--p, 0) * -100vw + 50%));
  background: #fff6df; box-shadow: 0 0 10px 3px rgba(230, 200, 141, .8), 0 0 40px 8px rgba(200, 162, 90, .35); }
.pl-meta { position: absolute; left: var(--pad); right: var(--pad); top: calc(50% + 18px); display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); letter-spacing: .3em; color: var(--dim); }

/* ---------- announcement bar ---------- */
.topbar { position: relative; z-index: 31; background: #070708; border-bottom: 1px solid rgba(200, 162, 90, .28); }
.topbar p { min-height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px var(--pad); text-align: center;
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.35; color: var(--gold-hi); }
.topbar .dot { flex: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); margin-bottom: calc(-1 * var(--nav-h)); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  overflow-x: clip; } /* in the page flow now: it must never widen the page (e.g. before the display font loads) */
.nav .brand { min-width: 0; }
.nav::before { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 11, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair); opacity: var(--navBg, 0); transition: opacity .3s; pointer-events: none; }
.nav > * { position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; padding: 6px 0; }
.brand-bat { width: 34px; height: auto; }
.brand-he { font-family: var(--display); font-weight: 700; font-size: 27px; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.brand-lat { font: 500 12px/1 var(--mono); letter-spacing: .3em; color: var(--dim); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); margin-inline-start: auto; position: relative; height: 100%; }
.nav-links a { font-size: 16px; font-weight: 600; text-decoration: none; color: var(--mute); padding: 8px 0; transition: color .25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-ind { position: absolute; bottom: 18px; left: 0; height: 1px; width: 100px; background: var(--gold); transform-origin: 0 0;
  transform: translate3d(var(--ix, 0), 0, 0) scaleX(var(--iw, 0)); transition: transform .45s cubic-bezier(.3, .7, .2, 1); box-shadow: 0 0 8px rgba(200, 162, 90, .6); }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 2px; text-decoration: none; cursor: pointer;
  font-size: 17px; font-weight: 700; letter-spacing: .01em; border: 1px solid transparent; text-align: center; line-height: 1.2;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.btn-gold { background: var(--gold); color: #0a0a0b; box-shadow: 0 10px 30px -12px rgba(200, 162, 90, .55); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(237, 235, 230, .32); color: var(--text); background: rgba(10, 10, 11, .4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15.5px; }
.btn-lg { min-height: 60px; padding: 0 40px; font-size: 18px; }

/* ---------- shared type ---------- */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--mute); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 12px rgba(200, 162, 90, .7); display: inline-block; }
h1, h2, .band p, .pull p, .total, .p-num, .mod-body h3, .sent-k, .year-num, .menu-links a { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(60px, 7.2vw, 120px); line-height: .9; }
.fig { font-size: 12.5px; letter-spacing: .28em; color: var(--dim); }
section { position: relative; }
.rv { will-change: transform, opacity; }

/* ---------- 1 · hero ---------- */
.hero { min-height: calc(100svh - var(--bar-h)); display: grid; grid-template-columns: minmax(0, min(690px, 54vw)) minmax(0, 1fr); grid-template-rows: 1fr auto auto;
  column-gap: 4vw; padding: calc(var(--nav-h) + 1svh) var(--pad) 0; }
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 2svh 0 3.5svh; }
.hero-stage { grid-column: 2; grid-row: 1; min-height: 320px; }
.hero h1 { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 2px; }
.h1a { font-size: clamp(80px, min(9.2vw, 15.5svh), 168px); line-height: .82; }
.h1b { font-size: clamp(36px, min(3.7vw, 6.4svh), 64px); line-height: .95; color: var(--gold-hi); }
.lede { font-size: clamp(18px, 1.35vw, 21px); font-weight: 400; color: #d5d4d0; max-width: 34em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.horizon { grid-column: 1 / -1; grid-row: 2; position: relative; height: 1px; margin-inline: calc(var(--pad) * -1); }
.hz-line { position: absolute; inset: 0; transform-origin: 100% 50%; transform: scaleX(var(--hz, 1));
  background: linear-gradient(90deg, rgba(200,162,90,0) 0%, var(--gold-line) 10%, var(--gold-line) 90%, rgba(200,162,90,0) 100%); }
.stats { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 0 22px; }
.stats li { display: flex; align-items: center; gap: 14px; padding: 18px 22px 4px; border-inline-start: 1px solid var(--hair); min-width: 0; }
.stats li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stats b { font: 500 34px/1 var(--mono); color: var(--gold-hi); letter-spacing: -.02em; }
.stats span { font-size: 16px; font-weight: 600; color: var(--mute); line-height: 1.25; }
.st-ico { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; }
.hx { opacity: var(--in, 1); transform: translateY(calc((1 - var(--in, 1)) * 26px)); }
.poster { display: none; }

/* ---------- 2 · gold band ---------- */
.band { padding: 30svh 0 var(--sec); border-block: 1px solid rgba(200, 162, 90, .28);
  background: linear-gradient(180deg, rgba(200, 162, 90, .07), rgba(200, 162, 90, 0) 38%), var(--bg); }
.band::before { content: ''; position: absolute; left: 0; right: 0; top: 18svh; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); opacity: .5; }
.band-in { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 28px; }
.band-a { font-size: clamp(56px, 7vw, 118px); line-height: .92; max-width: 13em; }
.band-b { font-size: clamp(36px, 4.1vw, 70px); line-height: .98; color: var(--gold-hi); max-width: 19em; }

/* ---------- 3 · tracks ---------- */
.tracks { padding: var(--sec) 0; }
.tracks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: center; padding: 40px; border: 1px solid var(--hair); overflow: hidden; }
.track-day { background: radial-gradient(120% 140% at 85% 0%, rgba(214, 170, 96, .2), rgba(214, 170, 96, 0) 60%), #121112; }
.track-night { background: radial-gradient(120% 140% at 85% 0%, rgba(80, 92, 130, .14), rgba(0, 0, 0, 0) 60%), #070708; border-color: var(--gold-line); box-shadow: inset 0 0 0 1px rgba(200, 162, 90, .12), 0 0 60px -20px rgba(200, 162, 90, .35); }
.track-copy { display: grid; gap: 10px; }
.track h3 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 4.4vw, 70px); line-height: .9; }
.track p:not(.track-fig) { color: #cfceca; font-size: 17.5px; }
.track-fig { font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.dial { width: 200px; height: 200px; overflow: visible; }
.dial-ring { fill: none; stroke: var(--gold-line); stroke-width: 1; }
.dial-ticks line { stroke: rgba(237, 235, 230, .28); stroke-width: 1; }
.dial-ticks line.maj { stroke: var(--gold-hi); stroke-width: 1.6; }
.dial-nums text { font: 500 16px var(--mono); fill: var(--dim); text-anchor: middle; dominant-baseline: central; }
.dial-nums text.in { fill: var(--gold-hi); }
.dial-arc { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: butt; opacity: .9; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--arc, 0)); filter: drop-shadow(0 0 6px rgba(200, 162, 90, .6)); }
.dial-hand { transform: rotate(var(--hand, 0deg)); }
.dial-hand line { stroke: var(--gold-hi); stroke-width: 2; stroke-linecap: round; }
.dial-hand circle { fill: var(--gold-hi); }
.track-night .dial-arc { stroke: var(--gold-hi); }

/* ---------- 4 · rotem ---------- */
.rotem { padding: var(--sec) 0 calc(var(--sec) * .8); border-top: 1px solid var(--hair); }
.rotem-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5vw; align-items: start; }
.rotem-id { display: flex; align-items: center; gap: 26px; }
.medallion { width: 112px; height: 112px; border-radius: 50%; padding: 4px; flex: none; position: relative;
  background: conic-gradient(from 200deg, #8c6b33, #f1d79c, #b98f47, #e8c98c, #8c6b33); box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 14px 40px -10px rgba(200, 162, 90, .45); }
.medallion img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); border: 2px solid #0a0a0b; }
.rotem h2 { font-size: clamp(76px, 8vw, 128px); }
.rotem-role { font-size: 18px; font-weight: 600; color: var(--gold-hi); margin-top: 6px; }
.handle { display: inline-block; margin-top: 6px; font: 500 15px var(--mono); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; }
.handle:hover { color: var(--gold-hi); }
.rotem-bio { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 10px; }
.rotem-bio p { font-size: 18.5px; color: #d5d4d0; }
.works-wrap { margin-top: clamp(56px, 9svh, 96px); }
.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.works figure { position: relative; padding: 6px; border: 1px solid var(--gold-line); background: #0c0c0d; }
.works figure::after { content: ''; position: absolute; inset: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 -60px 60px -40px rgba(0, 0, 0, .7); pointer-events: none; }
.works img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.9); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.works figure:hover img { transform: scale(1.04); }
.works figure { overflow: hidden; }
.works figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 12px; letter-spacing: .22em; color: var(--gold-hi); }

/* ---------- 5 · why (pinned exploded view) ---------- */
.why { border-top: 1px solid var(--hair); height: calc(100svh + var(--pin, 0px)); }
.why-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.why-head { position: absolute; right: var(--pad); top: calc(var(--nav-h) + 6svh); display: grid; gap: 14px; }
.why-head h2 { font-size: clamp(60px, 6.6vw, 112px); }
.why-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.why-lines path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.why-lines circle { fill: var(--bg); stroke: var(--gold-hi); stroke-width: 1.4; }
.why-points li { position: absolute; top: 0; right: 0; width: 300px; display: grid; gap: 6px; opacity: var(--o, 0); transform: translate3d(var(--x, 0), var(--y, 0), 0); will-change: transform, opacity; }
.wp-tag { font-size: 12.5px; letter-spacing: .14em; color: var(--gold); display: flex; gap: 8px; align-items: baseline; }
.wp-tag b { font-weight: 500; color: var(--gold-hi); }
.why-points p { font-size: 20px; line-height: 1.32; font-weight: 600; color: var(--text); text-wrap: pretty; }
.why-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .26em; color: var(--dim); }
.why-steps { display: flex; gap: 8px; }
.why-steps i { width: 24px; height: 2px; background: rgba(237, 235, 230, .2); transition: background .3s; }
.why-steps i.on { background: var(--gold); }
.why.tight .why-points p { font-size: 15px; line-height: 1.26; }
.why.tight .wp-tag { font-size: 11.5px; }

/* ---------- 6 · story ---------- */
.story { padding: var(--sec) 0; border-top: 1px solid var(--hair); overflow: hidden; }
.year { position: relative; margin: 2svh 0 4svh; text-align: center; line-height: .8; user-select: none; }
.year-num { display: inline-block; font-size: clamp(190px, 33vw, 560px); line-height: .8; color: transparent; -webkit-text-stroke: 1.4px rgba(200, 162, 90, .7); letter-spacing: .02em; padding-top: .06em; }
.year-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform-origin: 100% 50%; transform: scaleX(var(--yl, 0));
  background: linear-gradient(90deg, rgba(200,162,90,0), var(--gold) 12%, var(--gold-hi) 88%, rgba(230,200,141,.9)); box-shadow: 0 0 14px rgba(200, 162, 90, .5); }
.year-spark { position: absolute; top: 50%; right: 0; width: 22px; height: 22px; margin: -10px -11px 0 0; border-radius: 50%; transform: translateX(calc(var(--yl, 0) * -1 * var(--yw, 1000px)));
  background: radial-gradient(circle, rgba(255, 244, 220, 1), rgba(230, 200, 141, .5) 35%, transparent 70%); opacity: var(--ys, 0); }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.story-cols p { font-size: 19px; color: #d5d4d0; }
.pull { margin-top: clamp(56px, 9svh, 110px); padding-top: 34px; border-top: 1px solid var(--gold-line); position: relative; }
.pull::before { content: ''; position: absolute; top: -4px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 14px rgba(230, 200, 141, .8); }
.pull p { font-size: clamp(46px, 5.6vw, 92px); line-height: .95; max-width: 15em; }

/* ---------- 7 · studio ---------- */
.studio { padding: var(--sec) 0; border-top: 1px solid var(--hair); }
.studio-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 7svh, 72px); }
.studio-sub { font-size: clamp(19px, 1.5vw, 22px); color: #d5d4d0; max-width: 40em; }
.strip-track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad) 6px; scroll-padding-inline: var(--pad); cursor: grab; outline-offset: -2px; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.drag { cursor: grabbing; scroll-snap-type: none; }
.strip-track.drag img { pointer-events: none; }
.frame { position: relative; flex: 0 0 auto; width: min(44svh, 420px); padding: 7px; border: 1px solid var(--gold-line); background: #0c0c0d; scroll-snap-align: start; }
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.frame figcaption { position: absolute; top: 16px; left: 16px; font-size: 12px; letter-spacing: .2em; color: var(--gold-hi); background: rgba(10, 10, 11, .72); padding: 5px 8px; }
.strip-ctl { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.sc-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold-line); background: rgba(10, 10, 11, .6); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.sc-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; }
.sc-btn:hover { background: var(--gold-soft); border-color: var(--gold); }
.sc-btn:disabled { opacity: .35; cursor: default; }
.sc-pos { font-size: 14px; letter-spacing: .14em; color: var(--dim); min-width: 72px; text-align: center; }
.sc-pos b { color: var(--gold-hi); font-weight: 500; }
.sc-bar { flex: 1; height: 1px; background: var(--hair-2); position: relative; max-width: 420px; }
.sc-bar i { position: absolute; top: -1px; right: 0; height: 3px; width: 20%; background: var(--gold); transform: translateX(calc(var(--sp, 0) * -400%)); transition: transform .35s; }

/* ---------- 8 · curriculum ---------- */
.curriculum { background-color: var(--graph); padding: var(--sec) 0 0;
  background-image: linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; box-shadow: 0 -1px 0 rgba(200, 162, 90, .25); }
.curriculum::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 24svh; pointer-events: none; background: linear-gradient(var(--bg), rgba(10, 10, 11, 0)); }
.cu-head { position: relative; display: grid; gap: 18px; justify-items: start; padding-bottom: 12svh; padding-inline-start: calc(var(--pad) + var(--rail) + var(--rail-gap)); }
.cu-head h2 { max-width: 10em; }
.cu-sub { font-size: clamp(19px, 1.5vw, 22px); color: var(--mute); }
.tl { position: relative; }
.mod { position: relative; min-height: 31svh; padding-inline-start: calc(var(--rail) + var(--rail-gap)); padding-bottom: 32px; }
.mod .tick { position: absolute; right: calc(var(--rail) - 11px); top: 18px; width: 22px; height: 1px; background: rgba(237, 235, 230, .25); }
.mod .tick::after { content: ''; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--graph); border: 1px solid rgba(237, 235, 230, .3); transition: background-color .3s, border-color .3s; }
.mod-num { position: absolute; right: 0; top: 8px; width: calc(var(--rail) - var(--num-gap)); text-align: left; font-size: 15px; letter-spacing: .14em; color: var(--dim); transition: color .3s; }
.mod-body { max-width: 640px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 22px; row-gap: 10px; }
.mod-body h3 { color: #77766f; transition: color .45s ease; }
.mod-body h3 { font-size: clamp(50px, 4.8vw, 78px); line-height: .9; }
.mod-h { font-size: 16px; font-weight: 700; color: var(--gold); letter-spacing: .03em; }
.mod-h b { font: 500 21px/1 var(--mono); }
.mod-body p { grid-column: 1 / -1; font-size: 18px; color: #908f94; max-width: 540px; transition: color .45s ease; }
.mod.done .mod-body h3 { color: #a8a7a2; }
.mod.done .mod-body p { color: #a3a2a6; }
.mod.on .mod-body h3 { color: var(--text); }
.mod.on .mod-body p { color: #d3d2ce; }
.mod.done .tick, .mod.on .tick { background: var(--gold); }
.mod.done .tick::after, .mod.on .tick::after { background: var(--gold); border-color: var(--gold-hi); }
.mod.on .mod-num { color: var(--gold-hi); }
.tl-end { position: relative; padding: 10svh 0 30svh; padding-inline-start: calc(var(--rail) + var(--rail-gap)); }
.splat { position: absolute; right: var(--rail); top: calc(10svh + .45em); width: 120px; height: 120px; transform: translate(50%, -50%) scale(var(--sp, 0)); font-size: clamp(70px, 7vw, 120px); }
.splat svg { width: 100%; height: 100%; overflow: visible; }
.splat .blob { fill: var(--gold); }
.total { display: flex; align-items: baseline; gap: 24px; font-size: clamp(70px, 7vw, 120px); line-height: .9; }
.total-k { font-family: var(--body); font-size: 20px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.total-v { color: var(--gold-hi); }
.rail-fixed { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none; visibility: hidden; }
.rail-fixed i { position: absolute; left: -1.5px; top: 0; width: 3px; height: 100px; transform-origin: 50% 0; }
.rail-ink { background: linear-gradient(var(--gold), #d9b56f); box-shadow: 0 0 14px rgba(200, 162, 90, .45); }
.rail-track { left: 0 !important; width: 1px !important; background: repeating-linear-gradient(rgba(237, 235, 230, .22) 0 6px, transparent 6px 14px); }
/* flow mode: a sticky needle + ink on the rail (positioned from JS once per layout, then left to the browser) */
.rail-flow { display: none; }
.flow .rail-fixed { display: none; }
.flow .rail-flow { display: block; position: absolute; z-index: 3; width: 0; pointer-events: none; }
.flow .curriculum { overflow-x: clip; }
.rail-flow::before { content: ''; position: absolute; left: -.5px; top: 0; bottom: 0; width: 1px; background: repeating-linear-gradient(rgba(237, 235, 230, .22) 0 6px, transparent 6px 14px); }
.rf-clip { position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; clip-path: inset(0 -24px); }
.rf-pin { position: sticky; top: var(--tip, 60svh); height: 0; }
.rf-ink { position: absolute; left: 0; bottom: 0; width: 3px; height: 400svh; background: linear-gradient(var(--gold), #d9b56f); box-shadow: 0 0 14px rgba(200, 162, 90, .45); }
.rf-pen { position: absolute; display: block; max-width: none; height: auto; }
.rf-spark { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle, rgba(255, 240, 210, .95), rgba(200, 162, 90, .4) 40%, transparent 70%); }
.rail-flow.drawing .rf-spark { opacity: 1; }
.rail-flow.drawing .rf-pen { animation: rf-buzz .05s steps(2, jump-none) infinite alternate; }
@keyframes rf-buzz { from { transform: translateY(0); } to { transform: translateY(-1px); } }
.no-gl .rf-clip, .no-gl .rf-head, .reduced .rf-clip, .reduced .rf-head { display: none; }
.no-gl .rail-flow::after, .reduced .rail-flow::after { content: ''; position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; background: var(--gold); }
/* flow mode: the canvas sits inside the section on screen */
#gl.in-host { position: absolute; left: 0; width: 100%; z-index: 6; }
.flow .hero, .flow .final { position: relative; }
.flow .hero { overflow: clip; }
.flow .hero > .tip-glow { position: absolute; }
.flow .lift::before { display: none; }
.rail-spark { left: -9px !important; width: 18px !important; height: 18px !important; border-radius: 50%; background: radial-gradient(circle, rgba(255, 240, 210, .95), rgba(200, 162, 90, .4) 40%, transparent 70%); }

/* hours HUD */
.hud { position: fixed; left: var(--pad); bottom: 34px; z-index: 8; pointer-events: none; display: grid; gap: 8px; opacity: 0; transition: opacity .35s ease; justify-items: end; }
.hud.on { opacity: 1; }
.hud-k { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.hud-n { font-family: var(--mono); font-weight: 500; line-height: 1; }
.hud-n b { font-weight: 500; font-size: 56px; color: var(--text); font-variant-numeric: tabular-nums; }
.hud-n i { font-style: normal; font-size: 18px; color: var(--dim); margin-left: 6px; }
.hud-bar { width: 180px; height: 2px; background: rgba(237, 235, 230, .14); position: relative; }
.hud-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: 0 0; transform: scaleX(var(--c, 0)); background: var(--gold); }

/* ---------- 9 · after the course ---------- */
.spots { padding-bottom: var(--sec); background: var(--bg); }
.spots-pin { height: calc(100svh + var(--pin, 0px)); }
.spots-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background-color: var(--graph);
  background-image: linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; }
.spots-stage.dark { background: var(--bg); }
.spots-head { position: absolute; right: var(--pad); top: calc(var(--nav-h) + 5svh); display: grid; gap: 16px; max-width: min(980px, 64vw); opacity: var(--sh, 0); transform: translateY(calc((1 - var(--sh, 0)) * 24px)); }
.spots-head h2 { font-size: clamp(56px, 5.8vw, 100px); }
.spots-sub { font-size: clamp(19px, 1.5vw, 22px); color: #d5d4d0; max-width: 34em; }
.seat-tag { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 4px; text-align: center; pointer-events: none;
  transform: translate3d(var(--x, -999px), var(--y, 0), 0) translate(-50%, -100%); opacity: var(--o, 0); }
.st-a { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.st-line { width: 1px; height: 48px; margin-top: 8px; background: linear-gradient(var(--gold), rgba(200, 162, 90, 0)); }
.seat-tag.below { transform: translate3d(var(--x, -999px), var(--y, 0), 0) translate(-50%, 0); }
.seat-tag.below .st-line { order: -1; margin: 0 0 8px; height: 40px; background: linear-gradient(rgba(200, 162, 90, 0), var(--gold)); }
.spots-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: calc(var(--sec) * .7); }
.card { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--hair); background: #0e0e10; display: grid; gap: 14px; align-content: start; }
.card-gold { border-color: var(--gold-line); background: linear-gradient(160deg, rgba(200, 162, 90, .13), rgba(14, 14, 16, 1) 55%); }
.card-k { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 3.8vw, 64px); line-height: .92; }
.card p { font-size: 18px; color: #d0cfcb; }
.card-tags { font-size: 16px !important; color: var(--gold-hi) !important; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--hair); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 17px; color: #dad9d5; }
.ticks li::before { content: ''; position: absolute; right: 0; top: .55em; width: 14px; height: 7px; border: solid var(--gold); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.spots-end { display: grid; justify-items: center; gap: 28px; text-align: center; margin-top: clamp(64px, 10svh, 110px); }
.spots-line { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 5vw, 84px); line-height: .95; }

/* ---------- 10 · pricing ---------- */
.pricing { padding: var(--sec) 0; border-top: 1px solid var(--hair); }
.pr-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; align-items: center; }
.pr-copy { display: grid; gap: 22px; justify-items: start; }
.pr-p { font-size: clamp(19px, 1.5vw, 22px); color: #d5d4d0; }
.notice { display: flex; gap: 12px; align-items: baseline; padding: 16px 20px; border: 1px solid var(--gold-line); background: var(--gold-soft); color: var(--gold-hi); font-weight: 600; font-size: 17px; }
.notice .dot { transform: translateY(-2px); }
.kit-stage { position: relative; min-height: 64svh; }
.kit-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 6svh, 72px); align-items: stretch; }
.price { position: relative; padding: clamp(30px, 3vw, 44px); border: 1px solid var(--hair); background: #0e0e10; display: flex; flex-direction: column; gap: 14px; }
.price-early { border-color: var(--gold); background: linear-gradient(165deg, rgba(200, 162, 90, .16), rgba(14, 14, 16, 1) 50%); box-shadow: 0 0 0 1px rgba(200, 162, 90, .25), 0 30px 80px -40px rgba(200, 162, 90, .5); }
.p-badge { align-self: flex-start; font-size: 14px; font-weight: 700; color: #0a0a0b; background: var(--gold); padding: 6px 12px; letter-spacing: .02em; }
.p-tag { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
.price-early .p-tag { color: var(--gold); }
.p-num { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; font-size: clamp(64px, 5.6vw, 96px); line-height: .9; }
.price-early .p-now { color: var(--gold-hi); }
.p-was { font-family: var(--mono); font-weight: 400; font-size: 20px; color: var(--dim); text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.p-note { font-size: 16px; color: var(--mute); }
.price .ticks { padding: 18px 0 8px; border-top: 1px solid var(--hair); margin-top: 4px; flex: 1; align-content: start; }
.price .btn { width: 100%; }
.p-foot { text-align: center; }

/* ---------- 11 · apply ---------- */
.apply { padding: var(--sec) 0; border-top: 1px solid var(--hair); background: linear-gradient(180deg, #0c0c0e, var(--bg) 40%); }
.ap-wrap { max-width: calc(880px + var(--pad) * 2); }
.ap-head { display: grid; gap: 14px; margin-bottom: 48px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.f { display: grid; gap: 9px; border: 0; margin: 0; padding: 0; min-width: 0; align-content: start; }
.f-wide { grid-column: 1 / -1; }
.f > label, .f legend { font-size: 16px; font-weight: 700; color: #dedcd7; padding: 0; }
.f input:not([type=radio]):not([type=checkbox]), .f select, .f textarea {
  width: 100%; background: #111113; border: 1px solid rgba(237, 235, 230, .18); border-radius: 2px; padding: 15px 16px; font-size: 17px; outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s; }
.f textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.f input::placeholder, .f textarea::placeholder { color: #8a8a90; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 162, 90, .18); background-color: #141416; }
.f input[dir=ltr] { text-align: right; }
.f.bad input, .f.bad select, .f.bad textarea { border-color: #e0806c; }
.err { min-height: 0; font-size: 16px; color: #f0a08f; font-weight: 600; }
.err:empty { display: none; }
.f-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.f-row .err:empty { display: block; }
.count { font-size: 13px; color: var(--dim); letter-spacing: .02em; margin-inline-start: auto; }
.sel { position: relative; }
.sel::after { content: ''; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--gold); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); pointer-events: none; }
.sel select { appearance: none; -webkit-appearance: none; padding-left: 44px; cursor: pointer; }
.f option { background: #151517; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 26px; border: 1px solid rgba(237, 235, 230, .2); cursor: pointer; font-size: 17px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-box { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gold-line); position: relative; flex: none; transition: border-color .2s; }
.c-box::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold-hi); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 0 10px rgba(230, 200, 141, .7); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice input:checked + .c-box { border-color: var(--gold-hi); }
.choice input:checked + .c-box::after { transform: scale(1); }
.choice input:focus-visible + .c-box { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.choice-check { align-items: flex-start; border: 0; padding: 0; min-height: 0; font-weight: 400; font-size: 16.5px; color: #d0cfcb; line-height: 1.5; }
.choice-check .c-box { border-radius: 3px; margin-top: 2px; }
.choice-check .c-box::after { inset: 3px 5px 6px 5px; border-radius: 0; background: none; border: solid var(--gold-hi); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); box-shadow: none; }
.choice-check input:checked + .c-box { background: var(--gold-soft); }
.choice-check input:checked + .c-box::after { transform: rotate(45deg) scale(1); }
.reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.3, .7, .2, 1), opacity .4s; opacity: 0; }
.reveal.open { grid-template-rows: 1fr; opacity: 1; }
.reveal-in { overflow: hidden; min-height: 0; }
.reveal textarea { margin-top: 14px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.submit-row { display: grid; justify-items: start; gap: 16px; padding-top: 8px; }
.btn-submit { min-width: 260px; position: relative; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.bs-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(10, 10, 11, .3); border-top-color: #0a0a0b; animation: spin .8s linear infinite; }
.btn-submit[disabled] .bs-spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-fail { font-size: 16px; color: #f0a08f; font-weight: 600; }
.form-fail a { color: var(--gold-hi); font-family: var(--mono); }
.sent { border: 1px solid var(--gold-line); padding: clamp(36px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; background: linear-gradient(160deg, rgba(200, 162, 90, .12), rgba(14, 14, 16, 1) 60%); outline: none; }
.sent-k { font-size: clamp(48px, 5vw, 76px); line-height: .95; color: var(--gold-hi); }
.signature { width: min(520px, 100%); height: auto; aspect-ratio: 520 / 90; overflow: visible; display: block; }
.sig-reveal { fill: none; stroke: #fff; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--sig, 0)); }
.sig-ink { fill: var(--gold); }
.sig-sent { --sig: 0; transition: --sig 1s; }

/* ---------- 12 · FAQ ---------- */
.faq { padding: var(--sec) 0; border-top: 1px solid var(--hair); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5vw; align-items: start; }
.faq-head { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 40px); }
.acc { border-top: 1px solid var(--hair-2); }
.acc-row { border-bottom: 1px solid var(--hair-2); }
.acc-row h3 { font-size: inherit; font-weight: inherit; }
.acc button { width: 100%; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 12px; padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: right; }
.q-n { font-size: 13px; letter-spacing: .14em; color: var(--dim); }
.q-t { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; color: var(--text); transition: color .2s; }
.acc button:hover .q-t, .acc button[aria-expanded=true] .q-t { color: var(--gold-hi); }
.q-x { position: relative; width: 22px; height: 22px; transition: transform .45s cubic-bezier(.3, .7, .2, 1); }
.q-x::before, .q-x::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; margin-top: -.8px; background: var(--gold-hi); }
.q-x::after { transform: rotate(90deg); }
.acc button[aria-expanded=true] .q-x { transform: rotate(135deg); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.3, .7, .2, 1); }
.acc-p.open { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; min-height: 0; }
.acc-in p { padding: 0 56px 28px 40px; font-size: 18px; color: #d0cfcb; }

/* ---------- 13 · final CTA ---------- */
.final { padding: calc(var(--sec) * 1.5) 0 calc(var(--sec) * .9); border-top: 1px solid var(--hair); text-align: center;
  background: radial-gradient(60% 70% at 50% 100%, rgba(200, 162, 90, .1), transparent 70%); }
.final-in { display: grid; justify-items: center; gap: 24px; }
.final h2 { font-size: clamp(64px, 8.6vw, 148px); max-width: 9em; }
.final-sub { font-size: clamp(19px, 1.6vw, 23px); color: #d5d4d0; }
.final-ctas { justify-content: center; margin-top: 10px; }
.sig-final { margin-bottom: 18px; width: min(560px, 92%); }

/* ---------- 14 · contact ---------- */
.contact { padding: var(--sec) 0; border-top: 1px solid var(--hair); }
.ct-head { display: grid; gap: 14px; margin-bottom: clamp(44px, 7svh, 72px); }
.ct-sub { font-size: clamp(19px, 1.5vw, 22px); color: #d5d4d0; }
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--gold-line); }
.ct-block { display: grid; gap: 8px; align-content: start; padding: 34px 32px 34px 0; border-inline-start: 1px solid var(--hair); padding-inline-start: 32px; }
.ct-block:first-child { border-inline-start: 0; padding-inline-start: 0; }
.ct-k { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.ct-v { font-size: clamp(22px, 2vw, 28px); font-weight: 700; text-decoration: none; justify-self: start; }
a.ct-v[dir=ltr] { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.ct-ig { font-size: clamp(17px, 1.5vw, 22px) !important; word-break: break-all; }
.ct-s { font-size: 16px; color: var(--mute); }
.ct-link { text-decoration: none; justify-self: start; border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; color: var(--text); }
a.ct-v:hover, .ct-link:hover { color: var(--gold-hi); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--gold-line); padding: 54px 0 calc(48px + var(--dock-h)); background: #070708; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 18px; }
.foot-brand img { width: 68px; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; }
.foot-list { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: flex-end; font-size: 16px; color: var(--mute); }
.foot-list a { text-decoration: none; color: var(--text); }
.foot-list a[dir=ltr] { font-family: var(--mono); font-size: 15px; }
.foot-list a:hover { color: var(--gold-hi); }
.foot-c { grid-column: 1 / -1; font-size: 15px; color: var(--dim); padding-top: 24px; border-top: 1px solid var(--hair); }

/* ---------- phone dock ---------- */
.dock { display: none; }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 80; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s; }
.menu-panel { position: absolute; inset: 0; background: #070708; display: flex; flex-direction: column; padding: 18px var(--pad) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); overflow-y: auto; }
.menu.open .menu-backdrop { opacity: 1; }
.menu.open .menu-panel { clip-path: inset(0 0 0 0); }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.menu-close { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--hair-2); min-height: 44px; padding: 0 16px; font-size: 16px; font-weight: 700; cursor: pointer; }
.menu-close i { font-style: normal; font-size: 22px; line-height: 1; color: var(--gold-hi); }
.menu-links { display: grid; margin: auto 0; padding: 4svh 0; }
.menu-links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(48px, 13vw, 72px); line-height: 1.05; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--hair);
  opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1), color .2s; }
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(2) { transition-delay: .04s; } .menu.open .menu-links a:nth-child(3) { transition-delay: .08s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: .12s; } .menu.open .menu-links a:nth-child(5) { transition-delay: .16s; } .menu.open .menu-links a:nth-child(6) { transition-delay: .2s; }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--gold-hi); }
.ml-n { font: 500 13px var(--mono); color: var(--gold); letter-spacing: .14em; }
.menu-foot { display: grid; gap: 16px; }
.menu-foot .btn { width: 100%; }
.menu-tel { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--gold-line); text-decoration: none; font: 500 22px var(--mono); }
.mt-k { font: 700 14px var(--body); letter-spacing: .14em; color: var(--gold); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- no WebGL / reduced motion ---------- */
.no-gl #gl { display: none; }
.no-gl .poster { display: block; grid-column: 2; grid-row: 1; align-self: end; width: auto; max-height: 62svh; object-fit: contain; }
.no-gl .why-points li { position: static; opacity: 1; transform: none; width: auto; }
.no-gl .why-points { position: absolute; right: var(--pad); left: var(--pad); bottom: 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.no-gl .why-lines, .no-gl .why-foot, .no-gl .kit-stage { display: none; }
.no-gl .mod-body h3, .reduced .mod-body h3 { color: var(--text); }
.no-gl .mod-body p, .reduced .mod-body p { color: #d3d2ce; }
.no-gl .splat, .reduced .splat { --sp: 1; }
.no-gl .spots-head, .reduced .spots-head { --sh: 1; }
.no-gl .spots-stage { height: auto; min-height: 60svh; background: var(--bg); }
.reduced .spots-stage { background: var(--bg); }
.no-gl .seat-tag { display: none; }
.no-gl .year-line, .reduced .year-line { --yl: 1; }

/* ---------- tablet / small desktop: compact nav ---------- */
.nav-cta { white-space: nowrap; flex: none; }
@media (max-width: 1360px) {
  .brand-lat { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 1099px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: auto; min-height: 44px; padding: 0 14px; background: rgba(10, 10, 11, .5); border: 1px solid var(--hair-2); cursor: pointer; font-size: 15px; font-weight: 700; }
  .mb-lines { display: grid; gap: 5px; width: 20px; }
  .mb-lines i { height: 1.6px; background: var(--gold-hi); display: block; }
  .mb-lines i:last-child { width: 70%; }
  /* hours: a slim strip that docks under the nav, so module text scrolls under it like under the nav */
  .hud { left: 0; right: 0; top: var(--nav-h); bottom: auto; height: 44px; padding: 0 var(--pad); display: flex; align-items: center; gap: 14px;
    background: rgba(10, 10, 11, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair);
    transform: translateY(-8px); transition: opacity .35s ease, transform .35s ease; }
  .hud.on { transform: none; }
  .hud-k { font-size: 13px; }
  .hud-n b { font-size: 22px; }
  .hud-n i { font-size: 13px; }
  .hud-bar { flex: 1; width: auto; }
}

/* ---------- stacked tier (tablets portrait and below) ---------- */
@media (max-width: 999px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; padding-top: calc(var(--nav-h) + 6px); column-gap: 0; }
  .hero-stage { grid-column: 1; grid-row: 1; min-height: 0; height: 38svh; }
  .horizon { grid-row: 2; }
  .hero-copy { grid-column: 1; grid-row: 3; padding: 30px 0 34px; }
  .stats { grid-row: 4; }
  .tracks-grid { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-head { left: var(--pad); }
  .why-points li { width: auto; max-width: 64vw; gap: 4px; }
  .why-foot > span:first-child { display: none; }
  .spots-head { left: var(--pad); max-width: none; }
  .pr-grid { grid-template-columns: 1fr; gap: 22px; justify-items: start; }
  .pr-copy { display: contents; }
  .pr-copy .notice { order: 2; }
  .kit-stage { order: 1; min-height: 0; width: min(100%, 620px); justify-self: center; aspect-ratio: 5 / 4; margin-block: 6px 4px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .no-gl .poster { grid-column: 1; grid-row: 1; justify-self: center; max-height: 38svh; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 60px; --bar-h: 52px; --pad: 20px; --rail: 30px; --rail-gap: 30px; --sec: 96px; }
  body { font-size: 17px; }
  .brand-he { font-size: 23px; }
  .brand-bat { width: 30px; }
  .btn { min-height: 54px; padding: 0 22px; font-size: 17px; }
  .btn-lg { min-height: 58px; width: 100%; }
  h2 { font-size: clamp(54px, 15.5vw, 74px); }
  .kicker { font-size: 14px; gap: 10px; letter-spacing: .03em; }
  .fig { font-size: 12px; letter-spacing: .2em; }
  .topbar p { font-size: 16px; padding: 9px 16px; letter-spacing: 0; line-height: 1.32; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; padding-top: calc(var(--nav-h) + 6px); column-gap: 0; }
  .hero-stage { grid-column: 1; grid-row: 1; min-height: 0; height: 36svh; }
  .horizon { grid-row: 2; }
  .hero-copy { grid-column: 1; grid-row: 3; padding: 26px 0 30px; gap: 18px; }
  .h1a { font-size: clamp(60px, 18.4vw, 80px); }
  .h1b { font-size: clamp(31px, 8.6vw, 40px); }
  .hero h1 { gap: 10px; }
  .lede { font-size: 17px; }
  .ctas { width: 100%; flex-direction: column; gap: 10px; }
  .ctas .btn { width: 100%; }
  .stats { grid-row: 4; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--hair); padding-bottom: 30px; }
  .stats li { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 12px 14px; border-inline-start: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .stats li:nth-child(4), .stats li:nth-child(5) { grid-column: span 3; flex-direction: row; align-items: center; }
  .stats li:first-child, .stats li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .stats b { font-size: 28px; }
  .stats span { font-size: 15px; }
  .st-ico { width: 28px; height: 28px; }

  .band { padding-top: 24svh; }
  .band::before { top: 12svh; }
  .band-a { font-size: clamp(46px, 13vw, 60px); }
  .band-b { font-size: clamp(30px, 8.6vw, 40px); }

  .tracks-grid { grid-template-columns: 1fr; gap: 16px; }
  .track { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px 30px; justify-items: start; }
  .dial { width: 168px; height: 168px; }
  .track p:not(.track-fig) { font-size: 17px; }

  .rotem-grid { grid-template-columns: 1fr; gap: 30px; }
  .rotem-id { gap: 20px; }
  .medallion { width: 96px; height: 96px; }
  .medallion img { width: 88px; height: 88px; }
  .rotem h2 { font-size: 74px; }
  .rotem-role { font-size: 17px; }
  .rotem-bio { grid-template-columns: 1fr; gap: 18px; }
  .rotem-bio p { font-size: 17px; }
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; scroll-padding-inline: var(--pad); padding-bottom: 4px; }
  .works::-webkit-scrollbar { display: none; }
  .works li { flex: 0 0 64%; scroll-snap-align: start; }

  .why-head { right: var(--pad); left: var(--pad); top: calc(var(--nav-h) + 3svh); gap: 8px; }
  .why-head h2 { font-size: clamp(50px, 14vw, 66px); }
  .why-points li { width: auto; max-width: 62vw; gap: 3px; }
  .why-points p { font-size: 16.5px; line-height: 1.32; }
  .wp-tag { font-size: 12px; letter-spacing: .1em; }
  .why-foot { bottom: calc(var(--dock-h) + var(--sab, env(safe-area-inset-bottom, 0px)) + 16px); } /* --sab: the inset frozen at measure time (main.js) */
  .why-foot > span:first-child { display: none; }

  .year-num { font-size: 46vw; -webkit-text-stroke-width: 1.1px; }
  .story-cols { grid-template-columns: 1fr; gap: 20px; }
  .story-cols p { font-size: 17px; }
  .pull p { font-size: clamp(38px, 11vw, 52px); }

  .frame { width: 78vw; padding: 6px; }
  .strip-track { gap: 12px; }
  .strip-ctl { gap: 12px; }
  .sc-btn { width: 48px; height: 48px; }

  .cu-head { padding-inline-start: calc(var(--pad) + var(--rail) + var(--rail-gap)); padding-bottom: 7svh; }
  .cu-head h2 { font-size: clamp(50px, 14vw, 66px); }
  .mod { min-height: 0; padding: 0 0 64px 0; padding-inline-start: calc(var(--rail) + var(--rail-gap)); }
  .mod .tick { right: calc(var(--rail) - 11px); top: 6px; }
  .mod-num { position: static; display: block; width: auto; text-align: right; margin-bottom: 10px; font-size: 13px; }
  .mod-body { column-gap: 14px; row-gap: 8px; }
  .mod-body h3 { font-size: 46px; }
  .mod-body p { font-size: 17px; }
  .tl-end { padding: 6svh 0 26svh; padding-inline-start: calc(var(--rail) + var(--rail-gap)); }
  .splat { width: 84px; height: 84px; top: calc(6svh + .45em); font-size: 60px; }
  .total { font-size: 60px; gap: 14px; flex-wrap: wrap; }
  .total-k { font-size: 16px; }

  .spots-head { right: var(--pad); left: var(--pad); top: calc(var(--nav-h) + 3svh); gap: 10px; }
  .spots-sub { font-size: 17px; }
  .st-a { font-size: 13.5px; }
  .st-line { height: 30px; }
  .spots-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 64px; }
  .card h3 { font-size: 46px; }
  .card p { font-size: 17px; }
  .spots-line { font-size: 46px; }

  .pr-grid { gap: 18px; }
  .kit-stage { width: 100%; aspect-ratio: 1 / 0.9; margin-block: 4px 2px; }
  .prices { grid-template-columns: 1fr; gap: 16px; }
  .p-num { font-size: 68px; gap: 14px; }
  .notice { font-size: 16px; padding: 14px 16px; }

  .form { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .choice { min-height: 52px; padding: 0 18px 0 22px; }
  .btn-submit { width: 100%; min-width: 0; }
  .ap-head { margin-bottom: 34px; }

  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .acc button { grid-template-columns: 36px 1fr 24px; padding: 22px 0; gap: 10px; }
  .q-t { font-size: 19px; }
  .acc-in p { padding: 0 46px 24px 8px; font-size: 17px; }

  .final h2 { font-size: clamp(54px, 15vw, 74px); }
  .final-ctas { width: 100%; }

  .ct-grid { grid-template-columns: 1fr; }
  .ct-block, .ct-block:first-child { border-inline-start: 0; padding: 26px 0; border-bottom: 1px solid var(--hair); padding-inline-start: 0; }

  .foot-grid { grid-template-columns: 1fr; }
  .foot-list { justify-content: flex-start; flex-direction: column; gap: 8px; }

  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; gap: 10px; align-items: center;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 8, 9, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--gold-line); transform: translateY(110%); transition: transform .45s cubic-bezier(.3, .7, .2, 1); }
  .dock.on { transform: none; }
  .dock-apply { flex: 1; min-height: 50px; }
  .dock-call { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 14px; border: 1px solid var(--gold-line); text-decoration: none; font: 500 15px var(--mono); }
  .dock-call svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-hi); stroke-width: 1.5; }
  :root { --dock-h: 76px; }

  .no-gl .poster { grid-column: 1; grid-row: 1; justify-self: center; max-height: 36svh; }
  .no-gl .why-points { grid-template-columns: 1fr; bottom: 50px; gap: 14px; }
}
@media (hover: none) and (pointer: coarse) {
  .grain { mix-blend-mode: normal; opacity: .03; }
  .nav::before { background: rgba(10, 10, 11, .95); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hud { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 10, 11, .97); }
  .dock { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 8, 9, .97); }
}
@media (max-width: 380px) {
  .brand-he { font-size: 21px; }
  .mb-label { display: none; }
  .dock-call span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .btn, .menu-panel, .menu-links a, .acc-p, .reveal, .q-x { transition: none !important; }
}
