@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(/assets/fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0D1530;
  --night-2: #131D3F;
  --rock: #232B45;
  --rock-2: #3A4362;
  --moon: #EEF1F8;
  --mist: #A9B2CC;
  --grit: #7FD4FF;
  --zoom: #A6FF00;
  --billy: #FFC83D;
  --nana: #FF6FC8;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --pad: clamp(20px, 5vw, 72px);
  --font: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--moon);
  font-family: var(--font);
  font-size: clamp(17px, 1.05vw + 12px, 20px);
  line-height: 1.55;
  font-weight: 350;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--zoom); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--moon); color: var(--night); padding: 10px 16px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 650 1rem/1 var(--font);
  text-decoration: none;
  padding: .8em 1.15em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.btn:active { transform: scale(.96); }
.btn-x { background: var(--moon); color: var(--night); }
.btn-x:hover { background: var(--zoom); transform: translateY(-2px) rotate(-1.5deg); }
.btn-ghost { border-color: rgba(238,241,248,.45); color: var(--moon); }
.btn-ghost:hover { border-color: var(--moon); transform: translateY(-2px); }
.btn-lg { font-size: 1.1rem; padding: .95em 1.35em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad);
  transition: background-color .3s, backdrop-filter .3s;
}
.nav.is-solid { background: rgba(13,21,48,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand img { border-radius: 50%; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--mist); transition: color .2s; }
.nav-links a:hover { color: var(--moon); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn-x span { display: none; }
  .nav .btn-x { padding: .7em; }
}

/* ---------- altimeter ---------- */
.alti {
  position: fixed; right: clamp(10px, 1.6vw, 26px); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.alti.is-on { opacity: 1; }
.alti-track { position: relative; width: 4px; height: 38vh; border-radius: 4px; background: rgba(238,241,248,.14); }
.alti-fill {
  position: absolute; inset: auto 0 0 0; height: 0%;
  border-radius: 4px;
  background: linear-gradient(to top, var(--zoom), var(--grit), var(--billy), var(--nana));
}
.alti-goat {
  position: absolute; left: 50%; bottom: 0; width: 30px; height: 30px; border-radius: 50%;
  transform: translate(-50%, 50%); box-shadow: 0 0 0 2px var(--night), 0 0 18px rgba(166,255,0,.5);
}
.alti-read { font-size: .78rem; color: var(--mist); font-variant-numeric: tabular-nums; writing-mode: vertical-rl; transform: rotate(180deg); }
.alti-read b { color: var(--moon); font-weight: 700; }
@media (max-width: 760px) { .alti { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.hero-scene { position: absolute; inset: 0; z-index: 0; background: #00040D; }
.hero-img {
  position: absolute; top: 0; left: 0;
  width: 100%; aspect-ratio: 1344 / 752; /* JS sizes it to cover */
  will-change: transform;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.glow {
  position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen; filter: blur(14px); opacity: .0;
}
.g1 { left: 26%; top: 62%; background: radial-gradient(circle, var(--zoom) 0 30%, transparent 70%); }
.g2 { left: 36.8%; top: 47%; background: radial-gradient(circle, var(--grit) 0 30%, transparent 70%); }
.g3 { left: 47.1%; top: 28.6%; background: radial-gradient(circle, var(--billy) 0 30%, transparent 70%); }
.g4 { left: 56.6%; top: 10.8%; background: radial-gradient(circle, var(--nana) 0 30%, transparent 70%); }
.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 14% 32%, rgba(13,21,48,.72), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--night));
}
.hero-copy {
  position: absolute; z-index: 3;
  left: var(--pad); top: clamp(86px, 11vh, 120px);
  max-width: min(36rem, 46vw);
}
.ticker { margin: 0 0 .6rem; font-weight: 500; color: var(--mist); font-size: 1.05rem; }
.ticker span { color: var(--zoom); font-weight: 800; }
.hero-title {
  margin: 0;
  font-weight: 800; font-stretch: 78%;
  font-size: clamp(5.2rem, 11vw, 10.5rem);
  line-height: .82; letter-spacing: -.035em;
  color: var(--moon);
  text-shadow: 0 6px 40px rgba(13,21,48,.6);
}
.hero-title .char { display: inline-block; will-change: transform; }
.hero-title .char:first-child {
  background: linear-gradient(180deg, var(--zoom) 0 25%, var(--grit) 25% 50%, var(--billy) 50% 75%, var(--nana) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  padding-right: .02em;
}
.hero-sub { margin: 1.1rem 0 0; font-size: clamp(1.25rem, 1.6vw + .6rem, 1.7rem); line-height: 1.25; font-weight: 500; max-width: 22em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(238,241,248,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--moon); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .hero-shade {
    background: linear-gradient(to bottom, rgba(13,21,48,0) 40%, rgba(13,21,48,.92) 62%, var(--night) 100%);
  }
  .hero-copy { top: auto; bottom: 74px; left: var(--pad); right: var(--pad); max-width: none; }
  .hero-title { font-size: clamp(5rem, 27vw, 8rem); }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .scroll-cue { display: none; }
}

/* ---------- section basics ---------- */
section { position: relative; }
.sec-title {
  margin: 0 0 .5em;
  font-weight: 800; font-stretch: 82%;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .92; letter-spacing: -.03em;
  max-width: 12em;
}

/* ---------- legend ---------- */
.legend { padding: clamp(80px, 12vw, 160px) var(--pad) clamp(60px, 8vw, 120px); }
.legend-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(24px, 4vw, 56px); }
.stage { position: sticky; top: 13vh; height: 74vh; border-radius: var(--radius-lg); overflow: hidden; background: var(--rock); align-self: start; }
.stage-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.stage-frame.is-on { opacity: 1; transform: scale(1); }
.stage-frame img { width: 100%; height: 100%; object-fit: cover; }
.stage-frame[data-ch="1"] img { object-position: 70% 40%; }
.stage-frame[data-ch="0"] img { object-position: 45% 70%; }

.stage-rock, .ch-fig-rock {
  display: grid; place-items: center; padding: 8%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(115deg, rgba(0,0,0,.12) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #4A5372, #262E49 70%);
}
.carving { display: flex; flex-direction: column; gap: .2em; text-align: center; font-weight: 800; font-stretch: 80%; font-size: clamp(2.2rem, 4.3vw, 4.4rem); line-height: .98; letter-spacing: -.02em; }
.carving span { color: #1E2540; text-shadow: 1px 1px 0 rgba(255,255,255,.22), -1px -1px 0 rgba(0,0,0,.55); }
.carving span:last-child { color: var(--billy); text-shadow: 0 0 28px rgba(255,200,61,.45), 1px 1px 0 rgba(0,0,0,.4); }

.stage-foes, .ch-fig-foes { display: grid; place-items: center; padding: 8%; background: radial-gradient(ellipse at 50% 120%, #4b1330, var(--night-2) 70%); }
.stage-foes ul, .ch-fig-foes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1em; width: 100%; }
.stage-foes li, .ch-fig-foes li { display: flex; flex-direction: column; border-left: 4px solid var(--nana); padding-left: .9em; }
.stage-foes b, .ch-fig-foes b { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; font-stretch: 85%; line-height: 1; }
.stage-foes span, .ch-fig-foes span { color: var(--mist); }

.chapters { list-style: none; margin: 0; padding: 0; }
.chapter { min-height: 74vh; padding: 6vh 0; display: flex; flex-direction: column; justify-content: center; max-width: 32rem; }
.chapter h3 { margin: 0 0 .5em; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 800; font-stretch: 85%; line-height: 1; letter-spacing: -.02em; }
.chapter p { margin: 0 0 1em; color: #D6DBEA; }
.ch-num { color: var(--mist) !important; font-weight: 600; margin-bottom: .4em !important; }
.chapter[data-ch="0"] .ch-num { color: var(--grit) !important; }
.chapter[data-ch="1"] .ch-num { color: var(--zoom) !important; }
.chapter[data-ch="2"] .ch-num { color: var(--billy) !important; }
.chapter[data-ch="3"] .ch-num { color: var(--nana) !important; }
.ch-fig { display: none; margin: 0 0 1.2em; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.ch-fig img { width: 100%; height: 100%; object-fit: cover; }
.chapter[data-ch="1"] .ch-fig img { object-position: 72% 30%; }
.legend-next { margin: clamp(30px, 5vw, 60px) 0 0; font-size: clamp(1.2rem, 1.4vw + .5rem, 1.6rem); font-weight: 500; max-width: 26em; color: var(--mist); }

@media (max-width: 900px) {
  .legend-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .chapter { min-height: 0; padding: 0 0 56px; }
  .ch-fig { display: grid; }
  .ch-fig .carving { font-size: clamp(1.7rem, 7vw, 2.6rem); }
  .ch-fig-foes b { font-size: 1.6rem; }
}

/* ---------- herd ---------- */
.herd { padding: clamp(80px, 10vw, 140px) var(--pad); background: linear-gradient(to bottom, var(--night), var(--night-2) 40%, var(--night)); }
.herd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 40px; }
.herd-head p { margin: 0 0 1.4em; color: var(--mist); max-width: 24em; }
.herd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(20px, 3vw, 40px); perspective: 1200px; }
.goat {
  --c: var(--moon);
  position: relative; appearance: none; text-align: left; color: inherit; font: inherit; cursor: pointer;
  background: var(--rock); border: 0; padding: 0; border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent);
}
.goat[data-id="grit"] { --c: var(--grit); }
.goat[data-id="zoom"] { --c: var(--zoom); }
.goat[data-id="billy"] { --c: var(--billy); }
.goat[data-id="nana"] { --c: var(--nana); }
.goat-pic { position: relative; aspect-ratio: 1; overflow: hidden; }
.goat-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.goat-info { padding: 18px 20px 22px; }
.goat-name { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; font-stretch: 82%; line-height: 1; color: var(--c); }
.goat-arch { margin: .45em 0 0; color: var(--mist); font-size: .95rem; line-height: 1.35; }
.goat.is-revealed:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: inset 0 0 0 2px var(--c), 0 24px 60px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.goat.is-revealed:hover .goat-pic img { transform: scale(1.16) rotate(1.5deg); }
.goat.is-locked { cursor: default; }
.goat.is-locked .goat-pic img { filter: saturate(.3); transform: scale(1.2); }
.lock {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 22%, transparent), transparent 65%);
}
.lock-q { font-size: clamp(4rem, 7vw, 6rem); font-weight: 800; line-height: 1; color: var(--c); text-shadow: 0 0 30px var(--c); }
.lock-t { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 1.05rem; }
.lock-d { color: var(--mist); font-size: .85rem; }
.goat.is-locked .goat-name { color: var(--mist); }
@media (max-width: 900px) { .herd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .goat-info { padding: 12px 14px 16px; } .goat-arch { font-size: .85rem; } }

/* dialog */
.goat-dialog {
  --c: var(--zoom);
  border: 0; padding: 0; background: transparent; color: var(--moon);
  width: min(880px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
}
.goat-dialog::backdrop { background: rgba(8,12,28,.78); backdrop-filter: blur(6px); }
.dlg-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; background: var(--rock); border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 2px var(--c); }
.dlg-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.dlg-body { padding: clamp(22px, 4vw, 44px); align-self: center; }
.dlg-body h3 { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; font-stretch: 80%; line-height: .9; color: var(--c); }
.dlg-arch { margin: .5em 0 1em; color: var(--mist); }
.dlg-quote { margin: 0 0 1em; font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.dlg-bio, .dlg-role { margin: 0 0 .8em; color: #D6DBEA; }
.dlg-role { color: var(--mist); font-size: .95rem; }
.dlg-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(13,21,48,.7); color: var(--moon); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dlg-close:hover { background: var(--c); color: var(--night); }
@media (max-width: 700px) { .dlg-inner { grid-template-columns: 1fr; } .dlg-img { max-height: 42svh; } }

/* ---------- dictionary ---------- */
.words { padding: clamp(80px, 10vw, 140px) var(--pad); }
.dict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); margin: clamp(20px, 3vw, 40px) 0 0; max-width: 1200px; }
.dict > div { display: grid; grid-template-columns: 11.5rem 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(238,241,248,.12); }
.dict dt { font-weight: 750; font-size: 1.25rem; line-height: 1.2; }
.dict dd { margin: 0; color: var(--mist); }
.dict > div:nth-child(4n+1) dt { color: var(--grit); }
.dict > div:nth-child(4n+2) dt { color: var(--zoom); }
.dict > div:nth-child(4n+3) dt { color: var(--billy); }
.dict > div:nth-child(4n+4) dt { color: var(--nana); }
@media (max-width: 900px) { .dict { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dict > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- ledges ---------- */
.ledges { padding: clamp(80px, 10vw, 140px) var(--pad); background: linear-gradient(to bottom, var(--night), #0A1026); overflow: hidden; }
.ledges-lead { color: var(--mist); max-width: 30em; margin: 0 0 clamp(36px, 5vw, 70px); }
.path { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: clamp(26px, 4vw, 48px); max-width: 920px; }
.path::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 3px; background: repeating-linear-gradient(to bottom, rgba(238,241,248,.35) 0 8px, transparent 8px 16px); }
.path li { position: relative; display: flex; gap: 22px; align-items: flex-start; }
.path li:nth-child(even) { margin-left: clamp(0px, 8vw, 120px); }
.path li:nth-child(even)::before { content: ""; position: absolute; left: calc(-1 * clamp(0px, 8vw, 120px) + 15px); top: 15px; width: clamp(0px, 8vw, 120px); height: 3px; background: repeating-linear-gradient(to right, rgba(238,241,248,.35) 0 8px, transparent 8px 16px); }
.pin { flex: none; width: 33px; height: 33px; border-radius: 50%; background: var(--rock); box-shadow: inset 0 0 0 3px var(--rock-2); position: relative; z-index: 1; }
.pin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--rock-2); }
.path b { display: block; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 85%; line-height: 1.05; }
.path p { margin: .3em 0 0; color: var(--mist); max-width: 28em; }
.path .summit b { color: var(--nana); }
.path .summit .pin { box-shadow: inset 0 0 0 3px var(--nana), 0 0 26px rgba(255,111,200,.5); }

/* ---------- join ---------- */
.join { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(80px, 10vw, 140px) var(--pad); }
.join-video { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 2px var(--zoom), 0 30px 90px -30px rgba(166,255,0,.45); }
.join-video video { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sound { position: absolute; left: 14px; bottom: 14px; font: 650 .95rem/1 var(--font); padding: .75em 1.05em; border-radius: 999px; border: 0; background: var(--zoom); color: var(--night); cursor: pointer; transition: transform .2s; }
.sound:hover { transform: scale(1.05); }
.join-copy p { color: #D6DBEA; max-width: 28em; margin: 0 0 1.6em; }
.ca { margin-top: 2.2rem; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(238,241,248,.05); box-shadow: inset 0 0 0 1px rgba(238,241,248,.12); max-width: 30em; }
.ca p { margin: 0; }
.ca-label { font-weight: 700; margin-bottom: .2em !important; }
.ca-val { color: var(--mist) !important; font-size: .95rem; }
.ca a { color: var(--zoom); }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { padding: 56px var(--pad) 64px; border-top: 1px solid rgba(238,241,248,.1); color: var(--mist); }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--moon); font-weight: 800; font-size: 1.5rem; margin-bottom: 18px; }
.foot-brand img { border-radius: 50%; }
.foot p { margin: 0 0 .8em; max-width: 46em; }
.foot a { color: var(--moon); }
.fine { font-size: .85rem; opacity: .8; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .glow { opacity: .8; }
}

/* ---------- launch: spinning coin + countdown ---------- */
.launch {
  --coin: min(68vw, 400px);
  --thick: calc(var(--coin) * .075);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(90px, 11vw, 160px) var(--pad);
  overflow: hidden;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(238,241,248,.8), transparent 60%),
    radial-gradient(1px 1px at 32% 72%, rgba(238,241,248,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 48% 30%, rgba(238,241,248,.6), transparent 60%),
    radial-gradient(1px 1px at 22% 88%, rgba(238,241,248,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 55%, rgba(238,241,248,.6), transparent 60%),
    radial-gradient(1px 1px at 41% 8%, rgba(238,241,248,.8), transparent 60%),
    radial-gradient(1px 1px at 88% 15%, rgba(238,241,248,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 94% 80%, rgba(238,241,248,.7), transparent 60%),
    radial-gradient(1px 1px at 70% 92%, rgba(238,241,248,.6), transparent 60%),
    linear-gradient(to bottom, var(--night), #070B1E 50%, var(--night));
}
.launch-coin { position: relative; display: grid; place-items: center; height: calc(var(--coin) * 1.45); }
.aura {
  position: absolute; width: calc(var(--coin) * 1.32); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--grit), var(--zoom), var(--billy), var(--nana), var(--grit));
  filter: blur(calc(var(--coin) * .09)); opacity: .75;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 52%, #000 62%, transparent 72%);
          mask: radial-gradient(circle, transparent 38%, #000 52%, #000 62%, transparent 72%);
  animation: aura-spin 14s linear infinite, aura-pulse 3.2s ease-in-out infinite;
}
.aura-2 { width: calc(var(--coin) * 1.7); opacity: .3; filter: blur(calc(var(--coin) * .14)); animation-duration: 22s, 4.6s; animation-direction: reverse, normal; }
@keyframes aura-spin { to { rotate: 360deg; } }
@keyframes aura-pulse { 0%, 100% { scale: .94; } 50% { scale: 1.06; } }
.coin-tilt { perspective: 1400px; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 -10px; } 50% { translate: 0 10px; } }
.coin {
  position: relative; width: var(--coin); aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: coin-spin 7s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes coin-spin {
  0% { transform: rotateX(10deg) rotateY(0deg); }
  50% { transform: rotateX(10deg) rotateY(180deg); }
  100% { transform: rotateX(10deg) rotateY(360deg); }
}
.coin-face {
  position: absolute; inset: 0; border-radius: 50%;
  background: url(/assets/img/coin-face.webp) center / cover no-repeat;
  backface-visibility: hidden;
}
.coin-front { transform: translateZ(calc(var(--thick) / 2)); }
.coin-back { transform: rotateY(180deg) translateZ(calc(var(--thick) / 2)); }
.coin-face::after { /* moving specular highlight */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 45%, transparent 58%);
  background-size: 260% 100%; animation: shine 7s cubic-bezier(.45,.05,.55,.95) infinite;
  mix-blend-mode: screen;
}
@keyframes shine { 0% { background-position: 120% 0; } 50% { background-position: -20% 0; } 100% { background-position: 120% 0; } }
.coin-edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin-edge i {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 calc(50% - 3px), #3A3F4A calc(50% - 3px), #1B1E25 50%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.coin-edge i:nth-child(odd) { background: radial-gradient(circle, transparent 0 calc(50% - 3px), #5A606C calc(50% - 3px), #23262E 50%); }
.coin-shadow {
  position: absolute; bottom: 2%; width: calc(var(--coin) * .7); height: calc(var(--coin) * .08); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(166,255,0,.25), transparent 70%); filter: blur(10px);
  animation: shadow 5s ease-in-out infinite;
}
@keyframes shadow { 0%, 100% { scale: .9; opacity: .6; } 50% { scale: 1.05; opacity: .9; } }

.launch-copy { max-width: 34rem; }
.launch-when { font-size: clamp(1.1rem, 1.2vw + .6rem, 1.35rem); color: #D6DBEA; margin: 0 0 1.6rem; }
.launch-when strong { color: var(--moon); font-weight: 700; }
.launch-local { color: var(--mist); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); margin: 0 0 1.4rem; }
.countdown > div {
  display: flex; flex-direction: column; align-items: center; padding: 16px 6px 12px;
  border-radius: 18px; background: rgba(238,241,248,.05); box-shadow: inset 0 0 0 1px rgba(238,241,248,.12);
}
.countdown b { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 800; font-stretch: 80%; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown > div:nth-child(1) b { color: var(--zoom); }
.countdown > div:nth-child(2) b { color: var(--grit); }
.countdown > div:nth-child(3) b { color: var(--billy); }
.countdown > div:nth-child(4) b { color: var(--nana); }
.countdown span { margin-top: 6px; color: var(--mist); font-size: .9rem; }
.launch-live { font-size: 1.3rem; font-weight: 700; color: var(--zoom); margin: 0 0 1.2rem; }
.launch-live a { color: inherit; }
.launch-note { color: var(--mist); font-size: .95rem; margin: 0 0 1.6rem; max-width: 30em; }
.launch-note a { color: var(--moon); }
@media (max-width: 900px) {
  .launch { grid-template-columns: 1fr; text-align: left; }
  .launch-coin { height: calc(var(--coin) * 1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .coin { transform: rotateX(10deg) rotateY(-18deg); }
}

/* ---------- telegram buttons ---------- */
.btn-tg { background: transparent; color: var(--moon); border-color: rgba(127,212,255,.55); }
.btn-tg:hover { background: var(--grit); border-color: var(--grit); color: var(--night); transform: translateY(-2px) rotate(1.5deg); }
.btn-icon { padding: .7em; }
.btn-icon svg { width: 1.15em; height: 1.15em; }
.nav .btn-tg { margin-left: 4px; }
.nav-links + .btn-tg { margin-left: 0; }
.launch-copy .btn + .btn, .join-copy .btn + .btn { margin-left: 10px; }
@media (max-width: 480px) {
  .launch-copy .btn, .join-copy .btn { width: 100%; justify-content: center; }
  .launch-copy .btn + .btn, .join-copy .btn + .btn { margin: 10px 0 0; }
}
.nav .btn-tg + .btn-x { margin-left: -14px; }
@media (max-width: 760px) { .nav .btn-tg { margin-left: auto; } }

.support-line { margin: 1.2rem 0 0; color: var(--mist); font-size: .95rem; max-width: 30em; }
.support-line a { color: var(--grit); }
