/* =====================================================================
   INKFLATION · website styles
   Tri-colour system taken from the channel art:
     Cobalt  #2147FF  (the narrator's scarf, "INK" in the logo)  → primary
     Gold    #E8B83A  (his sweater, thumbnail hooks)              → highlight
     Red     #D9483B  (price arrows, warnings)                    → accent
   on warm paper (#FBF8F1) and ink (#14151A) neutrals.
   ===================================================================== */
:root {
  --cobalt: #2147ff;
  --cobalt-600: #1736d6;
  --cobalt-50: #e9edff;
  --gold: #e8b83a;
  --gold-600: #c99a1e;
  --gold-50: #fdf3d6;
  --red: #d9483b;
  --red-50: #fbe5e2;
  --ink: #14151a;
  --ink-2: #2a2c35;
  --ink-soft: #565a68;
  --paper: #fbf8f1;
  --cream: #f3e6cf;
  --line: #e6dfcf;
  --white: #fff;

  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-marker: 'Permanent Marker', 'Patrick Hand', cursive;
  --f-hand: 'Patrick Hand', 'Comic Sans MS', cursive;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(20, 21, 26, 0.06), 0 8px 24px rgba(20, 21, 26, 0.08);
  --shadow-lg: 0 2px 4px rgba(20, 21, 26, 0.06), 0 24px 60px rgba(20, 21, 26, 0.16);
  --ink-shadow: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- scroll progress + cursor glow ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cobalt) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6%);
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(33, 71, 255, 0.13), rgba(232, 184, 58, 0.08) 45%, transparent 70%);
  transform: translate(-50%, -50%); left: -500px; top: -500px; transition: opacity 0.3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- wordmark (letters inflate left → right, INK in cobalt) ---------- */
.wordmark { font-family: var(--f-marker); display: inline-flex; align-items: baseline; line-height: 1; letter-spacing: 0.5px; }
.wordmark span { display: inline-block; }
.wordmark .ink { color: var(--cobalt); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--cobalt); color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { background: var(--cobalt-600); box-shadow: 6px 6px 0 var(--ink); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:hover { background: var(--gold-50); box-shadow: 6px 6px 0 var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-gold:hover { background: #f2c654; }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-light:hover { background: var(--white); color: var(--cobalt); }
.btn-sm { padding: 10px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { padding: 18px 26px; font-size: 17px; }
.btn.full { width: 100%; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px max(20px, calc((100% - var(--wrap)) / 2));
  background: rgba(251, 248, 241, 0.78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, padding 0.3s;
}
.nav.scrolled { border-color: var(--line); padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { border-radius: 50%; border: 2px solid var(--ink); background: var(--white); }
.logo .wordmark { font-size: 18px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { bottom: 15px; }
.nav.open .burger span:first-child { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 110px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white);
  font-weight: 700; font-size: 14px; box-shadow: 3px 3px 0 var(--ink);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(217, 72, 59, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(217, 72, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 72, 59, 0); } }
.hero-title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 8.4vw, 118px); line-height: 0.92; letter-spacing: 0.5px; margin: 0 0 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 6px; }
.hero-title .split { display: inline-block; }
.hero-title .char { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); }
.hero-title.in .char { transform: none; }
.hero-title .marker {
  position: relative; display: inline-block; font-family: var(--f-marker); text-transform: none;
  color: var(--cobalt); font-size: 0.86em; transform: rotate(-3deg) translateY(110%);
  transition: transform 1s var(--ease) 0.45s;
}
.hero-title.in .marker { transform: rotate(-3deg); }
.underline { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 26px; overflow: visible; }
.underline path { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1s var(--ease) 1.1s; }
.hero-title.in .underline path { stroke-dashoffset: 0; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 34ch; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.platforms a {
  display: inline-block; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); transition: border-color 0.2s, color 0.2s;
}
.platforms a b { color: var(--ink); margin-right: 4px; }
.platforms a:hover { border-color: var(--cobalt); color: var(--cobalt); }

.hero-art { position: relative; height: clamp(440px, 46vw, 600px); }
.blob { position: absolute; border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; animation: morph 14s ease-in-out infinite; }
.blob-cobalt { inset: 8% 6% 10% 12%; background: var(--cobalt); box-shadow: inset -20px -30px 0 rgba(0, 0, 0, 0.08); }
.blob-gold { width: 34%; aspect-ratio: 1; right: 0; top: 4%; background: var(--gold); border: 3px solid var(--ink); animation-duration: 18s; animation-direction: reverse; }
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; }
  50% { border-radius: 56% 44% 40% 60% / 58% 52% 48% 42%; }
}
.hero-narrator { position: absolute; left: 50%; bottom: -2%; height: 104%; width: auto; transform: translateX(-52%); filter: drop-shadow(10px 14px 0 rgba(20, 21, 26, 0.18)); }
.float { position: absolute; width: auto; filter: drop-shadow(4px 6px 0 rgba(20, 21, 26, 0.15)); }
.float.bob, .hero-narrator.bob { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.p-chart { width: 34%; left: -6%; top: 6%; animation-delay: -1s !important; }
.p-card { width: 34%; right: -4%; bottom: 14%; animation-delay: -2.5s !important; }
.p-piggy { width: 28%; left: -2%; bottom: 2%; animation-delay: -4s !important; }
.p-coin { width: 11%; }
.p-coin.c1 { right: 16%; top: 2%; animation-delay: -0.5s !important; }
.p-coin.c2 { left: 30%; top: -2%; width: 8%; animation-delay: -3s !important; }
.p-coin.c3 { right: 2%; top: 46%; width: 9%; animation-delay: -5s !important; }
.note { position: absolute; margin: 0; font-family: var(--f-hand); font-size: 22px; background: var(--white); border: 2px solid var(--ink); padding: 4px 12px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.note.n1 { right: 6%; top: 30%; transform: rotate(4deg); }
.note.n2 { left: 4%; top: 42%; transform: rotate(-6deg); color: var(--red); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px; border: 2px solid var(--ink); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 6px; height: 10px; border-radius: 3px; background: var(--cobalt); transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; border-block: 3px solid var(--ink); transform: rotate(-1.2deg); margin: -24px -10px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; gap: 26px; padding: 16px 0; animation: marquee 32s linear infinite; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: 1px; }
.marquee-track i { font-style: normal; }
.marquee-track i:nth-of-type(3n + 1) { color: var(--gold); }
.marquee-track i:nth-of-type(3n + 2) { color: #6f8bff; }
.marquee-track i:nth-of-type(3n) { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section-ink { background: var(--ink); color: var(--white); }
.section-cream { background: var(--cream); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 54px; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: 0.5px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--cobalt); }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow.gold { color: var(--gold); }
.eyebrow.red { color: var(--red); }
.eyebrow .ep-no { color: var(--ink-soft); letter-spacing: 1px; }
.lede { color: var(--ink-soft); font-size: 18px; margin: 18px auto 0; max-width: 60ch; }
.section-ink .lede { color: #b9bccb; }
.hl-gold, .hl-cobalt, .hl-red { position: relative; white-space: nowrap; }
.hl-gold { color: var(--gold); }
.hl-cobalt { color: var(--cobalt); }
.hl-red { color: var(--red); }

/* ---------- episode ---------- */
.episode { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: start; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  border: 3px solid var(--ink); box-shadow: var(--ink-shadow); background: var(--ink); cursor: pointer;
}
.player-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.player:hover .player-thumb { transform: scale(1.04); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--ink);
  background: var(--red); color: var(--white); transform: translate(-50%, -50%); box-shadow: 4px 4px 0 var(--ink);
  display: grid; place-items: center; transition: transform 0.3s var(--ease);
}
.play svg { width: 40px; height: 40px; fill: currentColor; margin-left: 5px; }
.player:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 3px solid var(--white); opacity: 0; animation: ring 2.2s infinite; }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }
.badge { position: absolute; right: 14px; bottom: 14px; background: rgba(20, 21, 26, 0.85); color: var(--white); padding: 4px 10px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.episode-side { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.episode-summary { margin: 0 0 18px; color: var(--ink-soft); }
.mini-head { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 10px; }
.chapters { list-style: none; margin: 0 0 22px; padding: 0; max-height: 300px; overflow: auto; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button {
  width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; background: none; border: 0;
  padding: 10px 6px; border-radius: 8px; color: var(--ink); transition: background 0.2s, padding 0.2s;
}
.chapters button:hover { background: var(--cobalt-50); padding-left: 12px; }
.chapters time { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--cobalt); min-width: 46px; }

/* ---------- shorts ---------- */
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: center; gap: clamp(24px, 4vw, 56px); }
.short { display: flex; flex-direction: column; gap: 16px; }
.phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000;
  border: 10px solid #26272e; box-shadow: 0 0 0 2px #3a3c45, 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s var(--ease);
}
.short:hover .phone { transform: translateY(-10px) rotate(-1deg); }
.short:nth-child(2):hover .phone { transform: translateY(-10px) rotate(1deg); }
.phone img, .phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone video { opacity: 0; transition: opacity 0.4s; }
.short.playing .phone video { opacity: 1; }
.phone .tag { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.phone .hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, 0.6); padding: 5px 10px; border-radius: 999px; transition: opacity 0.3s; }
.short.playing .hint { opacity: 0; }
.short h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.short-links { display: flex; gap: 8px; flex-wrap: wrap; }
.short-links a { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.35); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.short-links a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- tools ---------- */
.tools { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--ink-shadow); padding: clamp(18px, 3vw, 34px); }
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--ink-soft); transition: background 0.25s, color 0.25s; }
.tab.active { background: var(--ink); color: var(--white); }
.tool { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; }
.tool[hidden] { display: none; }
.tool-controls { display: flex; flex-direction: column; gap: 22px; }
.tool-controls label { display: block; font-weight: 600; font-size: 15px; }
.tool-controls output { font-weight: 800; color: var(--cobalt); }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin-top: 12px; border-radius: 8px; background: linear-gradient(90deg, var(--cobalt) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); cursor: grab; transition: transform 0.15s; }
input[type='range']::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
input[type='range']::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); }
.tool-result { position: relative; z-index: 1; }
.duel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.duel-card { border: 2px solid var(--ink); border-radius: var(--r); padding: 16px 18px; transition: transform 0.4s var(--ease); }
.duel-card.cobalt { background: var(--cobalt-50); }
.duel-card.gold { background: var(--gold-50); }
.duel-card.win { transform: scale(1.04); box-shadow: 4px 4px 0 var(--ink); }
.duel-card.win .who::after { content: ' 👑'; }
.who { margin: 0; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
.big { margin: 2px 0; font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.duel-card.cobalt .big { color: var(--cobalt); }
.duel-card.gold .big { color: var(--gold-600); }
.small { margin: 0; font-size: 14px; color: var(--ink-soft); }
.vs { font-family: var(--f-marker); font-size: 26px; color: var(--red); }
.chart { width: 100%; height: 220px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); }
.chart .grid line { stroke: var(--line); }
.chart .early { fill: none; stroke: var(--cobalt); stroke-width: 4; stroke-linejoin: round; }
.chart .late { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linejoin: round; }
.chart .area-early { fill: rgba(33, 71, 255, 0.1); }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart text { font: 600 12px var(--f-body); fill: var(--ink-soft); }
.verdict { margin: 18px 0 6px; font-family: var(--f-hand); font-size: 24px; line-height: 1.25; }
.verdict b { color: var(--red); }
.fine { margin: 0; font-size: 13px; color: var(--ink-soft); }
.tool-mascot { position: absolute; left: 10px; bottom: -34px; width: 150px; pointer-events: none; z-index: 2; opacity: 0.95; }
.bars { display: flex; flex-direction: column; gap: 22px; }
.bar-label { margin: 0 0 8px; font-weight: 700; }
.bar { height: 28px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 0.9s var(--ease); }
.bar .red { background: repeating-linear-gradient(45deg, var(--red) 0 12px, #e5675b 12px 24px); }
.bar .cobalt { background: repeating-linear-gradient(45deg, var(--cobalt) 0 12px, #4a68ff 12px 24px); }
.bar-val { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }
.bar-val b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- topics ---------- */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1000px; }
.topic {
  position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 22px 20px 24px;
  transform-style: preserve-3d; transition: transform 0.2s ease-out, box-shadow 0.3s; box-shadow: 0 0 0 var(--ink);
}
.topic:hover { box-shadow: 6px 6px 0 var(--ink); }
.topic .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 28px; border: 2px solid var(--ink); margin-bottom: 14px; }
.topic h3 { margin: 0 0 6px; font-size: 18px; }
.topic p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.topic .num { position: absolute; right: 16px; top: 14px; font-family: var(--f-display); font-size: 22px; color: var(--line); }
.ic.cobalt { background: var(--cobalt-50); }
.ic.gold { background: var(--gold-50); }
.ic.red { background: var(--red-50); }

/* ---------- roadmap ---------- */
.roadmap-wrap { max-width: 860px; }
.roadmap { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.roadmap::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(var(--cobalt), var(--gold), var(--red)); transform-origin: top; transform: scaleY(var(--grow, 0)); transition: transform 1.4s var(--ease); }
.roadmap li { position: relative; padding: 0 0 26px 22px; }
.roadmap li::before { content: ''; position: absolute; left: -31px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.roadmap li:first-child::before { background: var(--gold); }
.roadmap .when { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.roadmap h3 { margin: 4px 0 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; }
.roadmap .soon { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; background: var(--gold-50); color: var(--gold-600); vertical-align: middle; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 50px; align-items: center; }
.about-art img { width: 100%; max-width: 360px; margin-inline: auto; filter: drop-shadow(10px 14px 0 rgba(0, 0, 0, 0.35)); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle { background: var(--ink-2); border: 1px solid #3a3d49; border-radius: var(--r); padding: 22px; transition: border-color 0.3s, transform 0.3s var(--ease); }
.principle:hover { border-color: var(--gold); transform: translateY(-4px); }
.principle .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 22px; margin-bottom: 12px; }
.principle .ic.cobalt { background: rgba(33, 71, 255, 0.25); }
.principle .ic.gold { background: rgba(232, 184, 58, 0.22); }
.principle .ic.red { background: rgba(217, 72, 59, 0.25); }
.principle h3 { margin: 0 0 6px; font-size: 18px; }
.principle p { margin: 0; color: #b9bccb; font-size: 15px; }

/* ---------- join ---------- */
.join { padding: clamp(80px, 9vw, 120px) 0; background: var(--cobalt); color: var(--white); position: relative; overflow: hidden; }
.join::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.join-inner { position: relative; text-align: center; max-width: 760px; }
.join h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6vw, 76px); line-height: 1; margin: 0 0 14px; }
.join p { margin: 0 auto 28px; max-width: 46ch; color: #dfe5ff; font-size: 18px; }
.signup { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; background: var(--white); padding: 8px; border-radius: 999px; border: 3px solid var(--ink); box-shadow: var(--ink-shadow); }
.signup input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.toast { min-height: 24px; margin: 16px 0 0 !important; font-weight: 600; color: var(--gold) !important; }
.join-platforms { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.join-coin { position: absolute; width: 90px; animation: bob 5s ease-in-out infinite; }
.join-coin.j1 { left: -40px; top: -20px; }
.join-coin.j2 { right: -30px; bottom: -10px; width: 70px; animation-delay: -2s; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b9bccb; padding: 60px 0 40px; }
.footer-inner { display: grid; gap: 22px; }
.footer .logo .wordmark { color: var(--white); font-size: 22px; }
.footer .wordmark .ink { color: #7d95ff; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; color: var(--white); }
.footer nav a:hover { color: var(--gold); }
.disclaimer { margin: 0; font-size: 14px; max-width: 80ch; }
.copy { margin: 0; font-size: 13px; border-top: 1px solid #2f3240; padding-top: 18px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 480px; max-width: 560px; margin-inline: auto; width: 100%; }
  .episode { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; }
  .tool-mascot { display: none; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-art img { max-width: 260px; }
}
@media (max-width: 820px) {
  .nav { gap: 12px; }
  .nav-links {
    position: fixed; inset: 64px 12px auto; flex-direction: column; gap: 4px; padding: 14px;
    background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--ink-shadow);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links a { padding: 12px 10px; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav .btn-sm { margin-left: auto; }
  .burger { display: block; }
  .shorts { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo .wordmark { display: none; }
  .hero { padding-top: 32px; }
  .hero-art { height: 400px; }
  .note { font-size: 17px; }
  .btn-lg { width: 100%; }
  .duel { grid-template-columns: 1fr; }
  .vs { text-align: center; }
  .topics { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .signup { flex-direction: column; border-radius: 22px; }
  .signup input { padding: 12px 14px; }
  .tool-mascot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
