/* NumberOneHub — "rosie" era redesign: warm film grain, cherry red, chunky lowercase, script flourishes */
:root {
  --bg: #0a1126;
  --bg2: #121b3a;
  --ink: #eaf4fb;
  --muted: rgba(234, 244, 251, 0.68);
  --faint: rgba(234, 244, 251, 0.42);
  --line: rgba(234, 244, 251, 0.16);
  --accent: #87ceeb;
  --accent-d: #5aa9d0;
  --on-accent: #06142a;
  --honey: #ff9ec7;
  --blush: #ff9ec7;
  --card: rgba(234, 244, 251, 0.05);
  --paper: #e8f3fb;
  --paper-ink: #0d1730;
  --good: #5be49b;
  --bad: #ff6b8b;
  --glow-a: rgba(135, 206, 235, 0.30);
  --glow-b: rgba(80, 110, 255, 0.28);
  --glow-c: rgba(255, 159, 194, 0.13);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  color-scheme: dark;
}
:root[data-theme="paper"] {
  --bg: #e5f0fa;
  --bg2: #d3e6f4;
  --ink: #0d1730;
  --muted: rgba(13, 23, 48, 0.7);
  --faint: rgba(13, 23, 48, 0.46);
  --line: rgba(13, 23, 48, 0.16);
  --accent: #1d86b8;
  --accent-d: #136a94;
  --on-accent: #ffffff;
  --honey: #e0518f;
  --blush: #d6447f;
  --card: rgba(255, 255, 255, 0.55);
  --good: #14a65e;
  --bad: #d9385f;
  --glow-a: rgba(135, 206, 235, 0.7);
  --glow-b: rgba(120, 150, 255, 0.25);
  --glow-c: rgba(255, 159, 194, 0.4);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; transition: background 0.5s, color 0.5s; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(55vmax 45vmax at 85% 8%, var(--glow-a), transparent 60%),
  radial-gradient(60vmax 50vmax at 5% 95%, var(--glow-b), transparent 60%),
  radial-gradient(40vmax 40vmax at 50% 50%, var(--glow-c), transparent 70%); }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.11; mix-blend-mode: overlay; animation: grain 0.9s steps(6) infinite;
  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'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@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); } }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: linear-gradient(90deg, var(--accent), var(--honey)); transform-origin: left; transform: scaleX(0); }

/* ---------- layout ---------- */
.wrap { width: min(1220px, calc(100% - 44px)); margin: 0 auto; }
section { padding: 110px 0; position: relative; }
.kicker { font-family: var(--script); font-size: clamp(26px, 3.4vw, 40px); color: var(--blush); line-height: 1; display: block; margin-bottom: 6px; }
.h2 { font-family: var(--head); font-weight: 800; text-transform: lowercase; word-spacing: 0.1em; letter-spacing: -0.045em; line-height: 0.9; font-size: clamp(48px, 8vw, 104px); }
.h2 em { font-style: normal; color: var(--accent); }
.lede { color: var(--muted); font-size: 18px; max-width: 52ch; margin-top: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 52px; }

/* ---------- nav (kept glassy) ---------- */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 70; width: min(900px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: linear-gradient(140deg, rgba(234, 244, 251, 0.14), rgba(234, 244, 251, 0.04)); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px -20px rgba(0, 0, 0, 0.6); }
:root[data-theme="paper"] .nav { background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35)); }
.brand { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.05em; text-transform: lowercase; display: flex; align-items: center; gap: 0; white-space: nowrap; }
.brand b { color: var(--accent); }
.links { display: flex; }
.links a { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: all 0.3s var(--ease); }
.links a:hover { color: var(--ink); }
.links a.active { background: var(--accent); color: var(--on-accent); }
.nav-tools { display: flex; gap: 6px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(234, 244, 251, 0.1); transition: transform 0.3s var(--ease), background 0.3s; }
.icon-btn:hover { background: rgba(234, 244, 251, 0.2); transform: rotate(18deg) scale(1.06); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.sheet { position: fixed; top: 76px; left: 50%; transform: translate(-50%, -10px) scale(0.97); width: min(420px, calc(100% - 28px)); z-index: 69; padding: 12px; border-radius: 28px; opacity: 0; pointer-events: none; transition: all 0.35s var(--ease); background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.sheet.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.sheet a { display: block; padding: 14px 16px; border-radius: 16px; font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: lowercase; letter-spacing: -0.03em; }
.sheet a:hover { background: var(--card); color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 30px; border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s; will-change: transform; }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 36px -10px rgba(135, 206, 235, 0.85); }
.btn.primary:hover { background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 20px 46px -10px rgba(135, 206, 235, 1); }
.btn.ghost { border: 1.5px solid var(--line); background: var(--card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.ghost:hover { border-color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.pill b { color: var(--ink); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(84, 224, 154, 0.7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(84, 224, 154, 0); } }

/* ---------- hero ---------- */
.hero { min-height: 100vh; padding: 130px 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.hero h1 { font-family: var(--head); font-weight: 800; text-transform: lowercase; letter-spacing: -0.06em; line-height: 0.8; font-size: clamp(88px, 18vw, 268px); margin: 14px 0 0 -0.04em; }
.hero h1 .l1 { display: block; font-size: 0.5em; letter-spacing: -0.06em; color: var(--ink); line-height: 0.95; }
.hero h1 .l2 { display: block; color: var(--accent); text-shadow: 0 0 90px rgba(135, 206, 235, 0.45); }
.script-over { font-family: var(--script); color: var(--blush); font-size: clamp(34px, 5.4vw, 74px); line-height: 1; display: block; margin: -0.3em 0 0 0.9em; position: relative; transform: rotate(-4deg); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.hero .sub { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 44ch; margin-top: 26px; }
.hero .sub b { color: var(--ink); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.rules { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

.ticks { display: flex; gap: 0; margin-top: 36px; max-width: 520px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tick { flex: 1; padding: 16px 0 14px; text-align: left; border-right: 1px solid var(--line); padding-left: 18px; }
.tick:first-child { padding-left: 0; } .tick:last-child { border-right: 0; }
.tick .v { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.06em; line-height: 1; }
.tick .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }

.stage { position: relative; aspect-ratio: 4 / 5; width: min(100%, 440px); margin-left: auto; perspective: 1000px; }
.photo { position: absolute; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); transition: transform 0.3s ease-out; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, transparent 55%, rgba(10, 17, 38, 0.5)); mix-blend-mode: multiply; }
.p1 { inset: 0 8% 8% 0; border-radius: 999px 999px 28px 28px; z-index: 2; }
.p2 { width: 46%; aspect-ratio: 1; right: -4%; bottom: -2%; border-radius: 50%; z-index: 3; border: 6px solid var(--bg); }
.p2 img { object-position: 50% 20%; transform: scale(1.25); }
.badge { position: absolute; z-index: 4; left: -9%; top: 56%; width: 28%; aspect-ratio: 1; }
.badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--head); font-weight: 800; font-size: 11.2px; letter-spacing: 0.17em; text-transform: uppercase; fill: var(--ink); }
.badge .core { position: absolute; inset: 22%; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: clamp(16px, 2.4vw, 28px); color: var(--on-accent); box-shadow: 0 10px 30px -8px rgba(135, 206, 235, 0.9); }
@keyframes spin { to { transform: rotate(360deg); } }
.flower { position: absolute; z-index: 4; right: 2%; top: -3%; font-size: clamp(30px, 4vw, 54px); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4)); }
@keyframes float { 50% { transform: translateY(-12px) rotate(8deg); } }

/* ---------- marquee ---------- */
.marquee { background: var(--accent); color: var(--on-accent); transform: rotate(-1.8deg); margin: 20px -40px; padding: 18px 0; overflow: hidden; border-block: 3px solid #fff2; box-shadow: 0 30px 60px -30px rgba(135, 206, 235, 0.8); position: relative; z-index: 5; }
.marquee .track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marquee span { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(30px, 4.8vw, 62px); letter-spacing: -0.02em; text-transform: lowercase; white-space: nowrap; padding-right: 34px; }
.marquee span i { font-style: normal; color: var(--honey); padding-left: 34px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- how to vote ---------- */
.how-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.hrow { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; transition: padding 0.4s var(--ease); }
.hrow:last-child { border-bottom: 1px solid var(--line); }
.hrow .n { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 86px; line-height: 0.85; color: transparent; -webkit-text-stroke: 1.6px var(--accent); transition: color 0.4s; }
.hrow:hover .n { color: var(--accent); }
.hrow:hover { padding-left: 10px; }
.hrow h3 { font-family: var(--head); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; word-spacing: 0.08em; text-transform: lowercase; line-height: 1; margin-bottom: 8px; }
.hrow p { color: var(--muted); font-size: 16px; }
.hrow p b { color: var(--ink); }
.hrow.key h3::after { content: "important"; font-family: "Inter"; text-transform: uppercase; font-size: 10px; letter-spacing: 0.16em; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 5px 9px; border-radius: 99px; margin-left: 12px; vertical-align: middle; }
.polaroid { background: var(--paper); padding: 14px 14px 22px; border-radius: 6px; transform: rotate(2.2deg); box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.8); transition: transform 0.6s var(--ease); color: var(--paper-ink); }
.polaroid:hover { transform: rotate(0) scale(1.01); }
.polaroid video { width: 100%; max-height: 66vh; display: block; background: #000; object-fit: contain; border-radius: 3px; }
.polaroid .cap { font-family: var(--script); font-size: 34px; text-align: center; padding-top: 12px; line-height: 1; color: var(--accent-d); }
.tape { position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(190, 225, 245, 0.8); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.pw { position: relative; }

/* ---------- pulse ---------- */
.pulse { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pc { padding: 36px 30px 34px 0; border-right: 1px solid var(--line); }
.pc:not(:first-child) { padding-left: 30px; }
.pc:last-child { border-right: 0; }
.pc .k { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.pc .nm { font-family: var(--head); font-weight: 800; text-transform: lowercase; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; word-spacing: 0.08em; line-height: 1; margin: 18px 0 20px; min-height: 2em; }
.pc .big { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.pc .sub { color: var(--faint); font-size: 14px; margin-top: 8px; }
.up { color: var(--good); } .down { color: var(--bad); }

/* ---------- goals (records) ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.seg button { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.3s var(--ease); }
.seg button.on { background: var(--ink); color: var(--bg); }
.goals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.g { text-align: left; padding: 26px 24px 24px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s; position: relative; overflow: hidden; }
.g::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(135, 206, 235, 0.22), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.g:hover { transform: translateY(-6px); border-color: rgba(135, 206, 235, 0.7); }
.g:hover::before { opacity: 1; }
.disc { position: relative; width: 150px; height: 150px; }
.disc svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.disc .tr { stroke: var(--line); }
.disc .pr { stroke: url(#accentgrad); stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease); }
.disc img { position: absolute; inset: 15px; width: calc(100% - 30px); height: calc(100% - 30px); border-radius: 50%; object-fit: cover; transition: transform 1.2s var(--ease); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7); }
.g:hover .disc img { animation: spin 5s linear infinite; }
.disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.g .pct { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 56px; letter-spacing: -0.05em; line-height: 0.9; }
.g .pct small { font-size: 0.45em; opacity: 0.6; }
.g h3 { font-family: var(--head); font-weight: 800; text-transform: lowercase; letter-spacing: -0.03em; word-spacing: 0.08em; font-size: 24px; line-height: 1; margin-top: -4px; }
.g .meta { display: flex; justify-content: space-between; width: 100%; font-size: 13px; color: var(--muted); }
.g .meta b { color: var(--ink); }
.g.hit .pct { color: var(--good); }

/* ---------- chart ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.search { flex: 1; min-width: 220px; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.search svg { width: 17px; height: 17px; color: var(--faint); }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; }
.search input::placeholder { color: var(--faint); }
.rows .row { display: grid; grid-template-columns: 72px 1.5fr 1.1fr 1.3fr 96px; align-items: center; gap: 14px; padding: 20px 8px; border-top: 1px solid var(--line); position: relative; transition: all 0.4s var(--ease); }
.rows .row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(135, 206, 235, 0.16), transparent 70%); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.rows .row:hover { padding-left: 22px; }
.rows .row:hover::before { opacity: 1; }
.row.head { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding: 10px 8px !important; border-top: 0 !important; }
.row .rk { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 34px; letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.row .nm { font-family: var(--head); font-weight: 800; letter-spacing: -0.03em; word-spacing: 0.08em; font-size: clamp(20px, 2.3vw, 28px); text-transform: lowercase; display: flex; gap: 10px; align-items: center; min-width: 0; line-height: 1; }
.row .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .nm em { font: 700 10px/1 "Inter"; letter-spacing: 0.1em; padding: 4px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.row .tot { color: var(--muted); }
.bar { display: flex; align-items: center; gap: 12px; }
.bar i { display: block; height: 6px; width: 0; min-width: 3px; border-radius: 9px; background: linear-gradient(90deg, var(--accent), var(--honey)); transition: width 1.2s var(--ease); }
.bar span { font-weight: 700; min-width: 76px; }
.chg { justify-self: end; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 99px; background: var(--card); }
.chg.up { background: rgba(84, 224, 154, 0.14); } .chg.down { background: rgba(255, 107, 134, 0.14); }
.foot-note { border-top: 1px solid var(--line); padding: 16px 8px; font-size: 13px; color: var(--faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- calendar tickets ---------- */
.tickets { display: grid; gap: 18px; }
.ticket { display: grid; grid-template-columns: 170px 1fr auto; align-items: stretch; border-radius: 22px; background: var(--paper); color: var(--paper-ink); position: relative; transition: transform 0.5s var(--ease);
  -webkit-mask: radial-gradient(circle 13px at 170px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 170px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at 170px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 170px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket:hover { transform: translateY(-4px) rotate(-0.4deg); }
.ticket .d { background: var(--accent); color: var(--on-accent); padding: 26px 20px; display: grid; align-content: center; border-radius: 22px 0 0 22px; }
.ticket .d b { font-family: var(--head); font-weight: 800; font-size: 40px; letter-spacing: -0.06em; line-height: 0.9; text-transform: lowercase; }
.ticket .d small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; margin-top: 8px; }
.ticket .b { padding: 24px 28px; border-left: 2px dashed rgba(13, 23, 48, 0.25); }
.ticket h3 { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -0.025em; word-spacing: 0.06em; line-height: 1.1; }
.ticket p { color: rgba(13, 23, 48, 0.6); font-size: 14px; margin-top: 6px; }
.ticket .tag { align-self: center; margin-right: 24px; font-size: 11px; letter-spacing: 0.16em; font-weight: 700; padding: 8px 13px; border-radius: 99px; border: 1.5px solid var(--paper-ink); }
.ticket.done { opacity: 0.45; filter: saturate(0.4); }
.ticket.next { box-shadow: 0 0 0 3px var(--accent), 0 20px 50px -14px rgba(135, 206, 235, 0.7); }
.ticket.next::after { content: "next up"; position: absolute; top: 10px; right: 150px; font-family: var(--script); font-size: 26px; color: var(--accent); }

/* ---------- awards ---------- */
.tally { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.tally .big { font-family: var(--head); font-weight: 800; letter-spacing: -0.07em; line-height: 0.75; font-size: clamp(150px, 28vw, 400px); color: var(--accent); text-shadow: 0 0 100px rgba(135, 206, 235, 0.3); margin-left: -0.04em; }
.tally .big + .kicker { margin-top: 14px; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.cat { padding: 22px 20px 20px 0; border-bottom: 1px solid var(--line); }
.cat:nth-child(odd) { border-right: 1px solid var(--line); }
.cat:nth-child(even) { padding-left: 22px; }
.cat b { display: block; font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 54px; letter-spacing: -0.05em; line-height: 1; }
.cat span { font-size: 13px; color: var(--muted); }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 50px 6px 30px; scrollbar-width: none; margin-top: 10px; }
.carousel::-webkit-scrollbar { display: none; }
.hl { flex: 0 0 min(300px, 76vw); scroll-snap-align: start; background: var(--paper); color: var(--paper-ink); border-radius: 22px; padding: 26px; min-height: 240px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.7); transition: transform 0.5s var(--ease); }
.hl:nth-child(odd) { transform: rotate(-1.6deg); } .hl:nth-child(even) { transform: rotate(1.4deg) translateY(10px); }
.hl:hover { transform: rotate(0) translateY(-8px); }
.hl .v { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 54px; letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.hl .l { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; word-spacing: 0.05em; line-height: 1.1; }
.hl .nt { font-size: 14px; color: rgba(13, 23, 48, 0.62); margin-top: auto; }

/* ---------- footer ---------- */
footer { padding: 40px 0 0; overflow: hidden; }
.fline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--faint); font-size: 14px; padding-bottom: 8px; }
.mega { font-family: var(--head); font-weight: 800; text-transform: lowercase; letter-spacing: -0.06em; line-height: 0.74; font-size: clamp(120px, 31vw, 480px); text-align: center; color: var(--accent); opacity: 0.9; margin-bottom: -0.12em; white-space: nowrap; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(3, 7, 20, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal .card { position: relative; width: min(470px, 100%); padding: 34px; border-radius: 34px; background: linear-gradient(150deg, rgba(234, 244, 251, 0.14), rgba(234, 244, 251, 0.04)), var(--bg2); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 50px 100px -30px #000; transform: translateY(26px) scale(0.96); transition: transform 0.5s var(--ease); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--ink); }
:root[data-theme="paper"] .modal .card { background: var(--paper); color: var(--paper-ink); }
.modal.open .card { transform: none; }
.modal .close { position: absolute; top: 16px; right: 16px; }
.mdisc { position: relative; width: 190px; height: 190px; margin: 4px auto 6px; }
.mdisc svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.mdisc img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); border-radius: 50%; object-fit: cover; animation: spin 14s linear infinite; }
.mdisc .mp { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); font-family: var(--serif); font-weight: 900; font-size: 30px; background: var(--accent); color: var(--on-accent); padding: 4px 16px; border-radius: 99px; letter-spacing: -0.04em; }
.modal h3 { font-family: var(--head); font-weight: 800; text-transform: lowercase; letter-spacing: -0.05em; font-size: 34px; text-align: center; margin: 22px 0 8px; line-height: 1; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.kv div { padding: 14px 16px; border-radius: 18px; background: rgba(127, 127, 127, 0.12); }
.kv small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }
.kv b { font-size: 19px; letter-spacing: -0.03em; }
.eta { margin-top: 12px; padding: 16px; border-radius: 18px; background: rgba(135, 206, 235, 0.16); font-size: 15px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.hl.rv.in:nth-child(odd) { transform: rotate(-1.6deg); } .hl.rv.in:nth-child(even) { transform: rotate(1.4deg) translateY(10px); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .how-grid, .tally { grid-template-columns: 1fr; }
  .stage { margin: 40px auto 0; width: min(88%, 400px); }
  .links { display: none; } .menu-btn { display: grid; }
  .pulse { grid-template-columns: 1fr; }
  .pc, .pc:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pc:last-child { border-bottom: 0; }
  .rows .row { grid-template-columns: 44px 1fr auto auto; gap: 10px; padding: 18px 4px; }
  .row .tot, .row.head .tot { display: none; }
  .bar i { display: none; }
  .bar span { min-width: 0; font-size: 14px; }
  .ticket { grid-template-columns: 120px 1fr; -webkit-mask: none; mask: none; }
  .ticket .tag { display: none; }
  .ticket .d b { font-size: 30px; }
}
@media (max-width: 560px) {
  section { padding: 76px 0; }
  .hrow { grid-template-columns: 70px 1fr; } .hrow .n { font-size: 60px; }
  .hrow.key h3::after { display: block; margin: 8px 0 0; width: max-content; }
  .ticks { max-width: none; }
  .ticket { grid-template-columns: 1fr; }
  .ticket .d { border-radius: 22px 22px 0 0; flex-direction: row; padding: 16px 20px; display: flex; align-items: baseline; gap: 12px; }
  .ticket .b { border-left: 0; border-top: 2px dashed rgba(13, 23, 48, 0.25); }
  .marquee { margin-inline: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; }
}
