/* =====================================================================
   GOMOJAK — styles
   Palette taken from the character: paper white, ink black, tongue pink.
   ===================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f7f5f0;
  --ink: #111111;
  --pink: #f28aa0;
  --pink-2: #ffd3dc;
  --green: #2fd36b;
  --yellow: #ffd43b;
  --blue: #9ad7ff;

  --f-display: "Bagel Fat One", "Arial Black", Impact, sans-serif;
  --f-body: "Patrick Hand", "Comic Sans MS", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  /* the classic "hand-drawn" uneven border radius */
  --sketch: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --sketch-2: 18px 225px 18px 255px / 255px 18px 225px 18px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.has-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.45;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--pink); color: var(--ink); }
.defs { position: absolute; }
.container { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* subtle notebook dots on the page */
main { background-image: radial-gradient(rgba(17,17,17,.07) 1.2px, transparent 1.3px); background-size: 26px 26px; }

/* ---------------------------------------------------------------- cursor */
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor, html.custom-cursor * { cursor: none !important; }
}
.cursor-trail { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; display: none; }
html.custom-cursor .cursor { display: block; }
.cursor__dot {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--ink); border-radius: 50%; will-change: transform;
}
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 3px solid var(--ink); border-radius: 50% 46% 52% 48%;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out),
              background-color .3s, border-color .3s;
  will-change: transform;
  filter: url(#boil);
}
.cursor__label { font-family: var(--f-display); font-size: 14px; letter-spacing: .02em; opacity: 0; transform: scale(.4); transition: .3s var(--ease-back); }
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--pink); }
.cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hover .cursor__dot { transform: scale(0) !important; }
.cursor.is-down .cursor__ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.cursor.on-dark .cursor__ring { border-color: #fff; }
.cursor.on-dark .cursor__dot { background: #fff; }
.cursor.on-dark.is-hover .cursor__ring { border-color: var(--ink); }

/* ---------------------------------------------------------------- loader */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  perspective: 1100px; overflow: hidden;
}
.loader__floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  transform: rotateX(72deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
          mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.loader__grid {
  position: absolute; inset: -100% 0 0 0;
  background-image:
    linear-gradient(var(--ink) 3px, transparent 3px),
    linear-gradient(90deg, var(--ink) 3px, transparent 3px);
  background-size: 90px 90px;
  opacity: .16;
  animation: gridMove 1.2s linear infinite;
}
@keyframes gridMove { to { transform: translateY(90px); } }

.loader__stage { position: relative; width: 210px; height: 210px; transform-style: preserve-3d; perspective: 900px; }
.coin {
  position: absolute; inset: 0; transform-style: preserve-3d;
  animation: coinSpin 2.4s cubic-bezier(.55,.05,.4,1) infinite, coinFloat 2.4s ease-in-out infinite;
}
@keyframes coinSpin {
  0% { transform: rotateY(0) rotateX(12deg); }
  100% { transform: rotateY(720deg) rotateX(12deg); }
}
@keyframes coinFloat { 0%, 100% { translate: 0 -10px; } 50% { translate: 0 12px; } }
.coin__face, .coin__layer {
  position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden;
}
.coin__face { background: #fff; border: 9px solid var(--ink); overflow: hidden; display: grid; place-items: center; }
.coin__face img { width: 112%; height: 112%; object-fit: cover; }
.coin__face--front { transform: translateZ(14px); }
.coin__face--back { transform: rotateY(180deg) translateZ(14px); }
.coin__face--back img { transform: scaleX(-1); }
.coin__layer { backface-visibility: visible; background: var(--ink); }
.coin__layer:nth-child(odd) { background: #2a2a2a; }
.coin-shadow {
  position: absolute; left: 15%; right: 15%; bottom: -70px; height: 26px; border-radius: 50%;
  background: radial-gradient(rgba(0,0,0,.35), transparent 70%);
  animation: shadowPulse 2.4s ease-in-out infinite;
}
@keyframes shadowPulse { 0%,100% { transform: scale(.75); opacity: .5; } 50% { transform: scale(1); opacity: .9; } }

.loader__word {
  position: relative; display: flex; gap: .02em; margin-top: 40px;
  font-family: var(--f-display); font-size: clamp(54px, 9vw, 120px); line-height: 1;
  perspective: 600px;
}
.loader__word span {
  display: inline-block; color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 1px 1px 0 var(--ink), 2px 2px 0 var(--ink), 3px 3px 0 var(--ink), 4px 4px 0 var(--ink),
               5px 5px 0 var(--ink), 6px 6px 0 var(--ink), 7px 7px 0 var(--ink), 8px 8px 0 var(--pink);
  transform-origin: 50% 80%;
  animation: letterFlip 1.8s var(--ease-out) infinite;
  animation-delay: calc(var(--i) * .09s);
}
@keyframes letterFlip {
  0%   { transform: rotateX(0) translateY(0); }
  18%  { transform: rotateX(-360deg) translateY(-26px); }
  30%, 100% { transform: rotateX(-360deg) translateY(0); }
}
.loader__bar {
  position: relative; width: min(420px, 78vw); height: 26px;
  border: 4px solid var(--ink); border-radius: var(--sketch); overflow: hidden; background: #fff;
}
.loader__fill {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: repeating-linear-gradient(-45deg, var(--pink) 0 14px, #ff9fb3 14px 28px);
  border-right: 4px solid var(--ink);
  animation: barStripes .6s linear infinite;
  background-size: 40px 40px;
}
@keyframes barStripes { to { background-position: 40px 0; } }
.loader__meta { width: min(420px, 78vw); display: flex; justify-content: space-between; font-size: 20px; }
.loader__pct { font-family: var(--f-display); }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transform: scaleY(0); z-index: 3; }
.loader__panel--top { top: 0; transform-origin: top; }
.loader__panel--bottom { bottom: 0; transform-origin: bottom; }

.loader.is-out .coin { animation: coinOut 1s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes coinOut {
  0% { transform: rotateY(0) rotateX(12deg) scale(1); }
  60% { transform: rotateY(540deg) rotateX(0) scale(1.4); opacity: 1; }
  100% { transform: rotateY(720deg) rotateX(0) scale(14) translateZ(200px); opacity: 0; }
}
.loader.is-out .loader__word span { animation: wordOut .7s var(--ease-out) forwards; animation-delay: calc(var(--i) * .04s); }
@keyframes wordOut { to { transform: translateY(120%) rotateX(90deg); opacity: 0; } }
.loader.is-out .loader__bar, .loader.is-out .loader__meta { transition: .4s; opacity: 0; transform: translateY(20px); }
.loader.is-out .loader__panel { animation: panelIn .55s cubic-bezier(.7,0,.3,1) .55s forwards; }
@keyframes panelIn { to { transform: scaleY(1); } }
.loader.is-gone { background: transparent; }
.loader.is-gone > *:not(.loader__panel) { display: none; }
.loader.is-gone .loader__panel { transform: scaleY(1); animation: panelOut .8s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes panelOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.loader.is-gone .loader__panel--top { transform-origin: top; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 18px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 3.5px solid var(--ink); border-radius: var(--sketch);
  box-shadow: 5px 6px 0 var(--ink);
  transform: translate(-50%, -160%);
  transition: transform .8s var(--ease-out);
}
body.is-ready .nav { transform: translate(-50%, 0); }
body.nav-hidden .nav { transform: translate(-50%, -160%); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 24px; }
.nav__logo img { border: 2.5px solid var(--ink); border-radius: 50%; transition: transform .6s var(--ease-back); }
.nav__logo:hover img { transform: rotate(-360deg) scale(1.15); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; text-decoration: none; font-size: 21px; padding: 4px 12px; border-radius: 30px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--ink);
  border-radius: 3px; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 42px; border: 3px solid var(--ink); border-radius: var(--sketch-2); background: var(--yellow); }
.nav__burger span { display: block; width: 20px; height: 3px; margin: 5px auto; background: var(--ink); border-radius: 3px; transition: .4s var(--ease-out); }
body.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--pink);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  clip-path: circle(0 at calc(100% - 50px) 44px); transition: clip-path .8s var(--ease-out);
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 44px); }
.mobile-menu a { font-family: var(--f-display); font-size: 44px; text-decoration: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-family: var(--f-display); font-size: 22px; letter-spacing: .01em; text-decoration: none;
  color: var(--ink); background: var(--bg);
  border: 3.5px solid var(--ink); border-radius: var(--sketch);
  box-shadow: 5px 6px 0 var(--ink);
  transition: box-shadow .25s var(--ease-out), background-color .25s, translate .25s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { box-shadow: 9px 10px 0 var(--ink); translate: -3px -3px; }
.btn:active { box-shadow: 1px 1px 0 var(--ink); translate: 3px 4px; }
.btn--pink { --bg: var(--pink); }
.btn--ghost { --bg: #fff; }
.btn--small { padding: 8px 18px; font-size: 18px; box-shadow: 3px 4px 0 var(--ink); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__inner {
  position: relative; width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px;
}
.hero__copy { min-width: 0; position: relative; z-index: 2; }
.hero__kicker { margin: 0 0 10px; }
.pill {
  display: inline-block; padding: 4px 14px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em;
  border: 2.5px solid var(--ink); border-radius: 40px; background: var(--green);
}
.hero__title {
  margin: 0; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(64px, 8.4vw, 150px); line-height: .9; letter-spacing: -.01em;
}
.split-word { display: inline-flex; }
.char {
  display: inline-block; transform-origin: 50% 100%;
  transform: translateY(110%) rotate(12deg) scale(.6); opacity: 0;
}
body.is-ready .char {
  animation: charIn 1s var(--ease-back) forwards; animation-delay: calc(.2s + var(--ci) * .06s);
}
@keyframes charIn { to { transform: none; opacity: 1; } }
.char.done { animation: none !important; opacity: 1; transform: none; }
.char.done.wiggle { animation: charWiggle .7s var(--ease-back) !important; }
@keyframes charWiggle {
  0% { transform: none; } 30% { transform: translateY(-18%) rotate(-8deg) scale(1.1); }
  60% { transform: translateY(4%) rotate(5deg); } 100% { transform: none; }
}
.char:nth-child(2n) { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.hero__sub { font-size: clamp(22px, 1.8vw, 30px); max-width: 30ch; margin: 18px 0 26px; }
mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); color: inherit; padding: 0 .1em; }

.ca {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 10px 8px 8px; border: 3px solid var(--ink); border-radius: var(--sketch-2); background: #fff;
  box-shadow: 4px 5px 0 var(--ink); transition: background-color .25s;
}
.ca:hover { background: var(--pink-2); }
.ca__label { font-family: var(--f-display); background: var(--ink); color: #fff; padding: 2px 10px; border-radius: 10px; }
.ca__value { font-family: var(--f-mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca__copy { font-family: var(--f-display); font-size: 16px; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }

.hero__jak { position: relative; width: 112%; margin-right: -6%; }
.jak-wrap { position: relative; transform-origin: 50% 90%; animation: jakBob 4.5s ease-in-out infinite; }
@keyframes jakBob { 0%,100% { rotate: -1.5deg; translate: 0 0; } 50% { rotate: 1.5deg; translate: 0 -10px; } }
.jak-img { width: 100%; height: auto; filter: url(#boil); }
.jak-eyes { position: absolute; inset: 0; width: 100%; height: 100%; filter: url(#boil); overflow: visible; }
.jak-eyes .eye { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-back); }
.hero__jak:hover .jak-eyes .eye { transform: scale(1.06); }
.speech {
  position: absolute; top: 2%; right: -2%; padding: 10px 18px; font-size: 24px; background: #fff;
  border: 3.5px solid var(--ink); border-radius: var(--sketch); box-shadow: 4px 5px 0 var(--ink);
  transform: scale(0) rotate(-10deg); transform-origin: 0% 100%;
  transition: transform .6s var(--ease-back);
}
.speech::after {
  content: ""; position: absolute; left: 18px; bottom: -16px; width: 22px; height: 22px; background: #fff;
  border-right: 3.5px solid var(--ink); border-bottom: 3.5px solid var(--ink); transform: rotate(45deg) skew(10deg, 10deg);
}
body.is-ready .speech { transform: scale(1) rotate(-4deg); transition-delay: 1.4s; }
.speech.pop { animation: speechPop .5s var(--ease-back); }
@keyframes speechPop { 0% { scale: 1; } 40% { scale: 1.18; } 100% { scale: 1; } }

.hero__doodles { position: absolute; inset: 0; pointer-events: none; }
.doodle { position: absolute; display: block; will-change: transform; filter: url(#boil); }
.doodle--star { width: 46px; height: 46px; background: var(--yellow); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.doodle--star::after { content: ""; }
.doodle--coin {
  width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--ink); background: var(--yellow);
  display: grid; place-items: center; font-family: var(--f-display); font-size: 26px; box-shadow: 4px 4px 0 var(--ink);
}
.doodle--squiggle { width: 120px; height: 30px; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M4 15 Q19 0 34 15 T64 15 T94 15 T116 12' fill='none' stroke='%23f28aa0' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain; }
.doodle--heart { width: 44px; height: 40px; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40'%3E%3Cpath d='M22 37 C5 25 2 16 6 9 C10 2 19 3 22 10 C25 3 34 2 38 9 C42 16 39 25 22 37Z' fill='%23f28aa0' stroke='%23111' stroke-width='3.5'/%3E%3C/svg%3E") no-repeat center/contain; }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; font-size: 18px;
}
.scroll-hint__dot { animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- reveal helpers */
.reveal-up { opacity: 0; transform: translateY(46px) rotate(1.5deg); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-up.in { opacity: 1; transform: none; }
.hero .reveal-up { transition-delay: calc(.6s + var(--d, 0s)); }
body:not(.is-ready) .hero .reveal-up { opacity: 0 !important; transform: translateY(46px) !important; }

/* ---------------------------------------------------------------- marquee */
.marquees { position: relative; height: 260px; overflow: hidden; margin: -20px 0; z-index: 3; }
.marquee {
  position: absolute; left: -5%; width: 110%; padding: 14px 0;
  border-block: 4px solid var(--ink); overflow: hidden; white-space: nowrap;
}
.marquee--a { top: 60px; background: var(--ink); color: #fff; transform: rotate(-3.5deg); z-index: 2; }
.marquee--b { top: 110px; background: var(--pink); transform: rotate(2.5deg); }
.marquee__track { display: inline-flex; align-items: center; gap: 34px; will-change: transform; font-family: var(--f-display); font-size: clamp(30px, 4vw, 54px); line-height: 1.1; }
.marquee__track i { font-style: normal; font-size: .7em; color: var(--yellow); }
.marquee--b .marquee__track i { color: var(--ink); }

/* ---------------------------------------------------------------- sections common */
section { position: relative; }
.eyebrow { font-family: var(--f-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.eyebrow--light { color: #fff; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 8vw, 130px); line-height: .92; margin: 0 0 40px; }
.h2--light { color: #fff; }
.hl { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }

/* ---------------------------------------------------------------- about */
.about { padding: 150px 0 140px; }
.about__grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 60px; align-items: start; }
.about__head { position: relative; }
.about__sticker { width: min(300px, 70%); margin-top: 10px; animation: stickerSpin 14s linear infinite; filter: url(#boil); }
@keyframes stickerSpin { to { rotate: 360deg; } }
.scrub-text { font-size: clamp(26px, 2.5vw, 42px); line-height: 1.3; margin: 0 0 30px; }
.scrub-text .w { color: rgba(17,17,17,.14); transition: color .25s; }
.scrub-text .w.on { color: var(--ink); }
.scrub-text .w.key.on { background: linear-gradient(transparent 60%, var(--pink) 60%); }
.about__tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-block; padding: 6px 18px; font-size: 22px; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--sketch-2); box-shadow: 3px 4px 0 var(--ink);
  transition: transform .4s var(--ease-back), background-color .3s;
}
.tag:nth-child(1):hover { background: var(--yellow); transform: rotate(-6deg) scale(1.08); }
.tag:nth-child(2):hover { background: var(--pink); transform: rotate(5deg) scale(1.08); }
.tag:nth-child(3):hover { background: var(--green); transform: rotate(-4deg) scale(1.08); }
.tag:nth-child(4):hover { background: var(--blue); transform: rotate(6deg) scale(1.08); }

/* ---------------------------------------------------------------- tokenomics */
.tokenomics { padding: 120px 0 160px; background: var(--paper-2); border-block: 4px solid var(--ink); }
.tok { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.tok__chart { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pie { width: min(380px, 80vw); overflow: visible; filter: url(#boil); }
.pie__seg { fill: none; stroke-width: 56; transform: rotate(-90deg); transform-origin: 150px 150px; transition: stroke-dashoffset 1.6s var(--ease-out); }
.pie-wrap-spin { animation: stickerSpin 30s linear infinite; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 22px; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend i { width: 22px; height: 22px; border: 3px solid var(--ink); border-radius: 6px; }
.legend b { font-family: var(--f-display); font-weight: 400; margin-left: 6px; }
.tok__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; perspective: 900px; }
.card {
  position: relative; padding: 26px 24px; background: #fff;
  border: 3.5px solid var(--ink); border-radius: var(--sketch); box-shadow: 6px 7px 0 var(--ink);
  transform-style: preserve-3d; will-change: transform;
}
.card--pink { background: var(--pink); }
.card--green { background: var(--green); }
.card--yellow { background: var(--yellow); }
.card__label { margin: 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.card__num { margin: 6px 0 4px; font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 50px); line-height: 1; transform: translateZ(40px); }
.card__num--word { font-size: clamp(26px, 2.6vw, 40px); }
.card__note { margin: 0; font-size: 20px; transform: translateZ(20px); }
.card .reveal-up, .card.reveal-up.in { transform-style: preserve-3d; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::after { opacity: 1; }

/* ---------------------------------------------------------------- how to buy */
.how { padding: 130px 0 120px; background: var(--ink); color: var(--ink); }
.how .h2--light .hl { -webkit-text-stroke: 0; }
.stack { display: grid; gap: 30px; padding-bottom: 20px; }
.step {
  position: sticky; top: calc(110px + var(--i) * 26px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 34px clamp(20px, 3.5vw, 46px); min-height: 220px;
  background: #fff; border: 4px solid var(--ink); border-radius: 34px 10px 30px 12px / 12px 30px 10px 34px;
  box-shadow: 0 -2px 0 var(--ink), 8px 10px 0 rgba(255,255,255,.12);
  transform-origin: 50% 0;
  will-change: transform;
}
.step--pink { background: var(--pink); }
.step--yellow { background: var(--yellow); }
.step--green { background: var(--green); }
.step__n {
  display: grid; place-items: center; width: clamp(70px, 8vw, 110px); aspect-ratio: 1;
  font-family: var(--f-display); font-size: clamp(40px, 5vw, 70px); background: var(--ink); color: #fff;
  border-radius: 48% 52% 45% 55%;
}
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 52px); margin: 0 0 6px; line-height: 1; }
.step p { margin: 0; font-size: clamp(19px, 1.4vw, 24px); max-width: 52ch; }
.step__emoji { font-size: clamp(50px, 6vw, 90px); animation: emojiBob 3s ease-in-out infinite; }
@keyframes emojiBob { 0%,100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-10px); } }

/* ---------------------------------------------------------------- roadmap (pinned horizontal) */
.roadmap { background: var(--paper); }
.roadmap__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.roadmap__header { position: relative; }
.roadmap__header .h2 { margin-bottom: 20px; }
.roadmap__progress { height: 14px; border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; background: #fff; max-width: 520px; }
.roadmap__progress span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); border-right: 3px solid var(--ink); }
.roadmap__track { display: flex; gap: 36px; padding: 30px var(--gutter) 30px max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); will-change: transform; width: max-content; }
.phase {
  flex: 0 0 auto; width: clamp(300px, 34vw, 470px);
  display: flex; flex-direction: column; background: #fff;
  border: 4px solid var(--ink); border-radius: var(--sketch); box-shadow: 8px 9px 0 var(--ink);
  overflow: hidden; transition: transform .5s var(--ease-back);
}
.phase:nth-child(odd) { rotate: -1.5deg; }
.phase:nth-child(even) { rotate: 1.5deg; translate: 0 26px; }
.phase:hover { transform: scale(1.03) rotate(-1deg); }
.phase__art { border-bottom: 4px solid var(--ink); background: #fff; aspect-ratio: 600 / 480; overflow: hidden; }
.phase__art img { width: 100%; height: 100%; object-fit: contain; filter: url(#boil); transition: transform .8s var(--ease-out); }
.phase:hover .phase__art img { transform: scale(1.06); }
.phase__body { padding: 20px 24px 26px; }
.phase--pink .phase__body { background: var(--pink-2); }
.phase--yellow .phase__body { background: #fff3c4; }
.phase--green .phase__body { background: #d6f7e2; }
.phase__tag { display: inline-block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; }
.phase h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); margin: 10px 0 8px; line-height: 1; }
.phase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.phase li { padding-left: 28px; position: relative; font-size: 20px; }
.phase li::before { content: "☺"; position: absolute; left: 0; top: -1px; }
.phase--end { justify-content: center; align-items: center; text-align: center; padding: 30px; background: var(--yellow); }
.phase--end p { font-family: var(--f-display); font-size: 46px; line-height: 1; margin: 0 0 16px; }
.phase--end img { animation: stickerSpin 10s linear infinite; }

/* ---------------------------------------------------------------- join */
.join { padding: 170px 0 200px; background: var(--pink); border-top: 4px solid var(--ink); overflow: hidden; }
.join__inner { position: relative; z-index: 2; text-align: center; }
.join__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(60px, 11vw, 190px); line-height: .9; margin: 0 0 24px; }
.join__title .line { display: block; overflow: hidden; padding: 0 .05em .06em; }
.join__title .line > span { display: inline-block; transform: translateY(105%) rotate(6deg); transition: transform 1.2s var(--ease-out); }
.join__title .line:nth-child(2) > span { transition-delay: .12s; }
.join__title.in .line > span { transform: none; }
.join__title .hl { color: #fff; }
.join__sub { font-size: clamp(22px, 1.8vw, 30px); margin: 0 0 40px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.social {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px;
  font-family: var(--f-display); font-size: 22px; text-decoration: none; background: #fff;
  border: 3.5px solid var(--ink); border-radius: var(--sketch); box-shadow: 5px 6px 0 var(--ink);
  transition: background-color .25s, box-shadow .25s;
}
.social svg { width: 28px; height: 28px; fill: var(--ink); }
.social:hover { background: var(--yellow); box-shadow: 9px 10px 0 var(--ink); }
.join__jak {
  position: absolute; z-index: 1; width: min(520px, 70vw); right: -60px; bottom: -40%;
  transform: rotate(-18deg); transition: transform 1s var(--ease-out);
  mix-blend-mode: multiply; opacity: .9;
}
.join__jak img { filter: url(#boil-strong); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink); color: #fff; padding: 40px 0 34px; overflow: hidden; }
.footer__big { display: flex; white-space: nowrap; font-family: var(--f-display); font-size: clamp(90px, 20vw, 340px); line-height: .85; }
.footer__big span { padding-right: .3em; color: transparent; -webkit-text-stroke: 2px #fff; animation: footerScroll 18s linear infinite; }
.footer__big span:hover { color: var(--pink); }
@keyframes footerScroll { to { transform: translateX(-100%); } }
.footer__row { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: start; margin-top: 30px; font-size: 18px; }
.footer__row p { margin: 0; }
.footer__disc { opacity: .6; font-size: 16px; }
.footer__mail { color: var(--pink); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 200; padding: 12px 24px;
  font-family: var(--f-display); font-size: 20px; background: var(--green);
  border: 3.5px solid var(--ink); border-radius: var(--sketch); box-shadow: 5px 6px 0 var(--ink);
  transform: translate(-50%, 160%) rotate(-4deg); transition: transform .6s var(--ease-back);
}
.toast.show { transform: translate(-50%, 0) rotate(-2deg); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .nav__links, .nav > .btn--small { display: none; }
  .nav__burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__jak { order: 1; width: min(440px, 86vw); margin: 0 auto; }
  .hero__title { font-size: min(17vw, 150px); }
  .ca { width: 100%; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .split-word { justify-content: center; }
  .about__grid, .tok { grid-template-columns: 1fr; }
  .about__sticker { position: absolute; right: 0; top: 0; width: 130px; }
  .step { grid-template-columns: auto 1fr; top: calc(90px + var(--i) * 18px); }
  .step__emoji { display: none; }
  .footer__row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* roadmap becomes a normal vertical list on phones */
  .roadmap { height: auto !important; }
  .roadmap__sticky { position: relative; height: auto; padding: 110px 0 80px; }
  .roadmap__track { flex-direction: column; width: auto; padding: 30px var(--gutter); transform: none !important; }
  .phase { width: 100%; }
  .phase:nth-child(even) { translate: 0; }
  .roadmap__progress { display: none; }
  .tok__cards { grid-template-columns: 1fr; }
  .marquees { height: 200px; }
  .marquee--a { top: 40px; } .marquee--b { top: 90px; }
  .join__jak { bottom: -10%; right: -40%; }
  .speech { font-size: 18px; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .jak-img, .jak-eyes, .doodle, .phase__art img, .pie, .about__sticker, .cursor__ring { filter: none !important; }
}
