@font-face { font-family: "Doto"; src: url("../fonts/doto-rond.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/intertight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #bcbcbc;
  --ink: #1a1302;
  --orange: #ff6a1f;
  --cream: #ffc46e;
  --cyan: #9be7f7;
  --yellow: #ffb84a;
  --lilac: #d99cf6;
  --olive: #7a5c0e;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dot: "Doto", ui-monospace, monospace;
  --pad: clamp(16px, 2.2vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.2;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-image: radial-gradient(rgba(26, 19, 2, .13) 1px, transparent 1.3px);
  background-size: 26px 26px;
}
img, video, canvas { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[data-scramble] { visibility: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { font-family: var(--dot); font-weight: 800; letter-spacing: .02em; line-height: .95; font-variation-settings: "ROND" 100; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 18px; left: 50%; transform: translate(-50%, -140%);
  display: flex; gap: 4px; align-items: center; opacity: 0;
  transition: transform .9s cubic-bezier(.2, .9, .2, 1), opacity .6s;
}
.nav.on { transform: translate(-50%, 0); opacity: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; letter-spacing: -.01em;
  transition: background-color .35s, color .35s, transform .25s;
}
.pill:hover { transform: translateY(-2px); }
.pill-logo { background: var(--ink); color: #fff; padding: 0 14px 0 10px; }
.pill-logo img { width: 18px; height: 12px; filter: brightness(0) invert(1); }
.pill-cta { background: var(--lilac); }
.pill.is-on { background: var(--orange); color: var(--ink); }
.nav[data-tone="cyan"] .pill.is-on { background: var(--cyan); }
.nav[data-tone="yellow"] .pill.is-on { background: var(--yellow); }

/* ---------- hero ---------- */
.hero { position: relative; height: 640vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(188,188,188,0) 0%, rgba(188,188,188,0) 42%, rgba(244,140,80,.55) 72%, var(--orange) 100%);
}
.cloud { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.cloud.drag { cursor: grabbing; }
.ci {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px; margin: -50px 0 0 -50px;
  border-radius: 50%; overflow: hidden; will-change: transform, opacity; transform: scale(0);
  background: #9a9a9a; pointer-events: none;
}
.ci img, .ci video { width: 100%; height: 100%; object-fit: cover; }
.ci.orb { background: none; overflow: visible; }
.ci.orb i { position: absolute; inset: 0; border-radius: 50%; }
.ci.avatar { box-shadow: 0 0 0 3px rgba(255,255,255,.75); background: #1340a0; }
.ci.avatar img { position: absolute; inset: 0; opacity: 0; }
.ci.avatar img.on { opacity: 1; }
.dt { position: absolute; left: 0; top: 0; width: 14px; height: 9px; margin: -4.5px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 .5px rgba(0,0,0,.08); will-change: transform; pointer-events: none; }

.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; display: flex; justify-content: space-between;
  color: var(--cream); font-size: clamp(22px, 3.3vw, 48px); pointer-events: none;
}
.hero-foot p { text-shadow: 0 0 1px rgba(122, 52, 0, .25); }
.hero-hint { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); font-size: 12px; letter-spacing: .02em; opacity: 0; color: var(--ink); pointer-events: none; transition: opacity .6s; }
.hero-hint.on { opacity: .55; }

/* ---------- stage (chapter composition) ---------- */
.stage { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.stage.live { visibility: visible; }
.st-circle { position: absolute; width: 0; height: 0; border-radius: 50%; overflow: hidden; background: #2a2a2a; will-change: transform, border-radius, width, height, left, top; transform-origin: 50% 50%; }
.st-circle img, .st-circle video { width: 100%; height: 100%; object-fit: cover; }
.st-main { box-shadow: 0 30px 80px -30px rgba(26,19,2,.45); }
.st-circle .st-backdrop { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) brightness(.6) saturate(1.2); opacity: 0; }
.st-main::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(26,19,2,.72) 0%, rgba(26,19,2,.35) 28%, rgba(26,19,2,0) 55%); opacity: var(--scrim, 0); }
.st-orb {
  position: absolute; border-radius: 50%; width: clamp(140px, 16vw, 240px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, #c43cff 0%, #d94aff 18%, #ff4fa0 42%, #ff6a1f 68%, rgba(255,106,31,.0) 71%);
  filter: blur(1px); will-change: transform;
}
.st-orb.orb-cyan { background: radial-gradient(circle, #ffffff 0%, #c8f4ff 25%, #7fe0f8 50%, rgba(127,224,248,0) 70%); }
.st-orb.orb-lilac { background: radial-gradient(circle, #fff 0%, #f1d0ff 22%, #c879f2 50%, rgba(200,121,242,0) 70%); }
.st-orb.orb-yellow { background: radial-gradient(circle, #fff6d8 0%, #ffd36b 30%, #ff8a1f 55%, rgba(255,106,31,0) 71%); }
.st-text { position: absolute; left: var(--pad); bottom: 26px; width: min(48vw, 760px); }
.st-kicker { font-size: 13px; margin-bottom: 12px; color: var(--ink); opacity: 0; }
.st-head { font-size: clamp(30px, 3.9vw, 56px); color: var(--cream); line-height: .98; text-shadow: 0 1px 0 rgba(122,52,0,.18); }
.st-para { position: absolute; left: 0; bottom: 0; font-size: clamp(20px, 2.2vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; opacity: 0; max-width: 34ch; }
.st-text.stacked .st-para { position: relative; margin-top: 22px; font-size: clamp(18px, 1.7vw, 26px); }
.st-para .w { display: inline-block; opacity: 0; transform: translateY(.25em); transition: opacity .5s, transform .5s; }
.st-para.on .w { opacity: 1; transform: none; }
.st-note { position: absolute; right: var(--pad); bottom: 26px; font-size: 12px; text-align: right; color: var(--cream); opacity: 0; max-width: 300px; }
.st-sound {
  position: absolute; z-index: 3; pointer-events: auto; border: 0; cursor: pointer; font: 700 13px var(--sans);
  background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 14px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.st-sound.on { opacity: 1; visibility: visible; }
.st-sound[aria-pressed="true"] { background: var(--orange); color: var(--ink); }

.chapters { position: relative; height: 1120vh; }
.chapter-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.chapter-sticky::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(188,188,188,0) 0%, rgba(188,188,188,0) 40%, rgba(244,140,80,.55) 72%, var(--orange) 100%);
}

/* ---------- lineup ---------- */
.lineup { position: relative; height: 290vh; margin-top: -40vh; z-index: 2; }
.lineup-pin { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.coin { position: absolute; left: 50%; top: 50%; width: min(615px, 70vmin); aspect-ratio: 1; transform: translate(-50%, -50%); }
.coin canvas { width: 100% !important; height: 100% !important; }
.names { position: absolute; top: 0; width: 27vw; font-size: clamp(17px, 2vw, 29px); letter-spacing: -.03em; line-height: 1; will-change: transform; }
.names li { margin-bottom: .22em; white-space: nowrap; }
.names-l { right: 69vw; text-align: right; }
.names-r { left: 69vw; text-align: left; }

/* ---------- schedule ---------- */
.schedule { position: relative; z-index: 3; margin-top: -45vh; }
.sched-cards { position: relative; }
.card { position: relative; will-change: transform; padding-bottom: 40px; min-height: 0; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); }
.c-cyan { --c: linear-gradient(180deg, var(--cyan) 0%, #b9dce4 55%, #c4cfd2 100%); }
.c-orange { --c: linear-gradient(180deg, var(--orange) 0%, #f0915c 55%, #d9b6a0 100%); }
.c-yellow { --c: linear-gradient(180deg, var(--yellow) 0%, #f2c27a 55%, #d8c7ab 100%); }
.c-lilac { --c: linear-gradient(180deg, var(--lilac) 0%, #d3b2e4 55%, #cbc0d2 100%); }
.c-olive { --c: linear-gradient(180deg, var(--olive) 0%, #9a8150 55%, #b9ad97 100%); }
.card-top { display: flex; justify-content: space-between; padding: 22px var(--pad) 0; font-size: clamp(20px, 2.2vw, 32px); }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--pad) 18px; height: 150px; }
.card-date { font-size: clamp(56px, 8.3vw, 120px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.card-day { font-size: clamp(44px, 7.6vw, 112px); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px var(--pad); padding: 0 var(--pad); }
.card:has(.slot:nth-child(4)) .slots { grid-template-columns: repeat(4, 1fr); }
.slot { position: relative; }
.slot-time { font-size: 12px; margin-bottom: 10px; }
.slot-box { border: 1.5px solid var(--ink); min-height: 190px; padding: 12px; display: flex; flex-direction: column; }
.slot-box h3 { font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.02em; line-height: 1.08; }
.slot-box p { font-size: 13px; font-weight: 600; margin-top: 6px; }
.slot-box .slot-place { margin-top: auto; padding-top: 14px; font-size: 12px; }
.slot-box .slot-place::before { content: "● "; font-size: 9px; vertical-align: 2px; }
.slot-btn { position: absolute; right: 12px; bottom: 10px; display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 6px 6px 12px; font-size: 12px; }
.slot-btn span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--ink); }
.c-olive, .c-olive .slot-box { color: var(--ink); }
.c-olive .card-head { color: #1a1302; }

/* ---------- partners ---------- */
.partners {
  position: relative; z-index: 2; padding: 120px 0 70px; overflow: hidden;
  background: linear-gradient(180deg, rgba(188,188,188,0) 0%, rgba(155,231,247,.9) 30%, rgba(155,231,247,.9) 60%, rgba(188,188,188,0) 100%);
}
.partners-title { font-size: clamp(26px, 2.8vw, 40px); padding: 0 var(--pad); margin-bottom: 40px; color: rgba(26,19,2,.75); }
.rings { display: grid; gap: 14px; }
.ring-row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.ring {
  flex: none; width: clamp(150px, 15vw, 214px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(26,19,2,.55); display: grid; place-items: center; text-align: center;
  font-size: 13px; font-weight: 600; line-height: 1.05; box-shadow: inset 0 0 0 12px rgba(255,255,255,.08), 0 0 0 7px rgba(26,19,2,.08);
}
.ring b { display: block; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.03em; }

/* ---------- packs ---------- */
.packs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 90px var(--pad) 110px; }
.pack { border-radius: 14px; padding: 18px; display: flex; flex-direction: column; min-height: 640px; will-change: transform; }
.p-olive { background: var(--olive); }
.p-orange { background: var(--orange); }
.p-yellow { background: var(--yellow); }
.pack .pack-num { font-size: clamp(220px, 24vw, 360px); line-height: .78; font-weight: 900; margin: 0 0 18px -.04em; color: var(--ink); letter-spacing: -.02em; }
.pack h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.02em; }
.pack > p { font-size: 14px; font-weight: 600; max-width: 38ch; }
.pack ul { margin-top: 14px; font-size: 13px; font-weight: 600; }
.pack li::before { content: "•  "; }
.pack-price { margin-top: auto !important; padding-top: 22px; font-size: 26px !important; font-weight: 700 !important; letter-spacing: -.03em; }
.pack-btn { margin-top: 14px; display: flex; justify-content: center; align-items: center; position: relative; height: 40px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; transition: transform .25s; }
.pack-btn span { position: absolute; right: 5px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.pack-btn-light { background: #fff; color: var(--ink); }
.pack-btn-light span { background: var(--ink); color: #fff; }
.pack-btn:hover { transform: translateY(-2px); }

/* ---------- footer ---------- */
.footer { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding: 70px var(--pad) 18px; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 70% at 50% 62%, #ffb84a 0%, #ffbf5c 35%, rgba(255,191,92,.55) 60%, rgba(188,188,188,0) 100%); }
#footCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: var(--pad); flex: 1; }
.foot-lead { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; max-width: 30ch; line-height: 1.12; }
.foot-label { font-size: 14px; margin: 70px 0 8px; }
.foot-col:not(:first-child) .foot-label { margin-top: 0; }
.foot-big { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.02em; }
.foot-small { margin-top: 26px; font-size: 11px; line-height: 1.3; }
.foot-link { display: block; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.025em; line-height: 1.25; transition: color .25s; }
.foot-link:hover, .foot-big:hover { color: #fff; }
.foot-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: var(--pad); font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.02em; margin-bottom: 18px; }
.foot-tiny { display: flex; justify-content: space-between; font-size: 11px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav { top: 8px; gap: 5px 3px; flex-wrap: wrap; justify-content: center; width: 98vw; }
  .nav::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .pill-logo, .pill-cta { order: 1; }
  .pill[data-sec] { order: 3; }
  .pill { height: 26px; padding: 0 8px; font-size: 11px; }
  .hero-foot { flex-direction: column; gap: 4px; font-size: 22px; bottom: 14px; }
  .st-text { width: auto; right: var(--pad); bottom: 22px; }
  .st-note { display: none; }
  .coin { width: 42vw; }
  .names { width: 25vw; font-size: 11px; line-height: 1.05; }
  .names li { white-space: normal; margin-bottom: .4em; }
  .names-l { right: 71vw; } .names-r { left: 71vw; }
  .card-head { height: 110px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
  .card-date { font-size: 50px; } .card-day { font-size: 40px; }
  .slots, .card:has(.slot:nth-child(4)) .slots { grid-template-columns: 1fr 1fr; gap: 16px; }
  .slot-box { min-height: 150px; }
  .slot-btn { position: static; margin-top: 10px; }
  .packs { grid-template-columns: 1fr; }
  .pack { min-height: 520px; }
  .foot-grid, .foot-row { grid-template-columns: 1fr; }
  .foot-label { margin-top: 28px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .st-para .w { transition: none; }
}
