/* ============================================================
   BEANS — $BEANS · the golden bean of BNB
   Weirdobase-school structure in a black/gold glossy identity:
   dark vault world, gold accents, handwritten annotations.
   ============================================================ */

:root {
  --gold: #F0B90B;
  --gold-soft: #F8D33A;
  --gold-deep: #B8860B;
  --ink: #0B0B0B;
  --coal: #141412;
  --card: #1B1A17;
  --line: #2E2B24;
  --cream: #F5EFDC;
  --dim: #A79E8B;
  --radius: 18px;
  --display: "Titan One", system-ui, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --body: "Inter", system-ui, sans-serif;
  --shadow-hard: 6px 6px 0 rgba(240,185,11,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: var(--ink); }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 1.5rem; }
.hand { font-family: var(--hand); }

/* ============ PRELOADER ============ */
.gate {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ink);
  display: grid; place-items: center; text-align: center;
  transition: translate .65s cubic-bezier(.65,.02,.35,1);
  overflow: hidden;
}
.gate.away { translate: 0 -102%; }
.gate.gone { display: none; }
.gate::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(240,185,11,.07) 1px, transparent 1.3px);
  background-size: 16px 16px;
}
.gate-bean { position: absolute; width: clamp(120px, 18vw, 220px); bottom: 0; left: 50%; translate: -50% 30%; filter: drop-shadow(0 0 30px rgba(240,185,11,.35)); }
.gate-loader { position: relative; z-index: 2; }
.gl-bar {
  width: min(540px, 78vw); height: 28px;
  background: var(--coal); border: 3px solid var(--gold); border-radius: 999px;
  padding: 4px; margin: 0 auto .8rem;
}
#gl-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft)); border-radius: 999px; transition: width .18s; }
.gate-loader .hand { font-size: 1.5rem; color: var(--gold); }

/* ============ NAV ============ */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; padding: 0 12px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1rem;
  width: min(1120px, 100%);
  background: rgba(20,20,18,.92);
  border: 1.5px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: .5rem .6rem .5rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: width .3s ease;
}
body.scrolled .nav { width: min(940px, 100%); border-color: rgba(240,185,11,.4); }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand span { font-family: var(--display); font-size: 1.1rem; color: var(--gold); letter-spacing: .02em; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  font-weight: 700; font-size: .82rem; color: var(--dim);
  text-transform: uppercase; letter-spacing: .06em; transition: color .15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-mcap { font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: var(--dim); background: var(--coal); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1em; white-space: nowrap; }
.nav-mcap b { color: var(--gold); }
.btn-x {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--coal); border-radius: 50%; font-size: 1rem; color: var(--cream);
  transition: background .15s, color .15s, transform .15s;
}
.btn-x:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn-buy {
  font-family: var(--display); font-size: .85rem; letter-spacing: .03em;
  background: var(--gold); color: var(--ink);
  padding: .75em 1.2em; border-radius: 999px; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% -20%, #23200f 0%, var(--ink) 55%);
  padding: 7.6rem 0 0;
  text-align: center;
  min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 1rem;
  z-index: 2;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.halftone {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(240,185,11,.06) 1px, transparent 1.3px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}
/* blended BNB diamond watermarks */
.diamond-bg {
  position: absolute;
  top: -6%; right: -8%;
  width: min(70vmin, 660px); aspect-ratio: 1;
  background: rgba(240,185,11,.07);
  -webkit-mask: url("images/bnb-icon.png") no-repeat center / contain;
          mask: url("images/bnb-icon.png") no-repeat center / contain;
  transform: rotate(12deg);
  animation: drift 14s ease-in-out infinite;
}
.diamond-bg.two {
  top: auto; right: auto; bottom: 14%; left: -10%;
  width: min(44vmin, 400px);
  background: rgba(240,185,11,.05);
  transform: rotate(-16deg);
  animation: drift 18s ease-in-out infinite reverse;
}
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }

.hero-inner { position: relative; z-index: 2; width: min(1180px,100%); margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--hand); font-size: 1.3rem;
  background: var(--gold); color: var(--ink);
  padding: .35em 1.1em; border-radius: 999px; rotate: -1.5deg;
}
.wordmark {
  font-family: var(--display);
  font-size: min(clamp(4rem, 16vw, 12rem), 24vh);
  line-height: .9;
  letter-spacing: -.015em;
  margin: 1rem 0 .8rem;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(240,185,11,.35);
}
.hero-sub { font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.3rem); color: var(--dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.btn-solid {
  font-family: var(--display); font-size: 1rem;
  background: var(--gold); color: var(--ink);
  padding: .95em 1.6em; border-radius: 999px;
  transition: transform .15s, filter .15s;
}
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  font-family: var(--display); font-size: 1rem;
  color: var(--gold); border: 3px solid var(--gold);
  padding: .8em 1.5em; border-radius: 999px;
  transition: all .15s;
}
.btn-ghost:hover { background: var(--gold); color: var(--ink); }

/* load-in rise */
.rise { opacity: 0; transform: translateY(34px); }
body.loaded .rise { animation: riseIn .8s cubic-bezier(.16,.84,.3,1) forwards; }
body.loaded .r1 { animation-delay: .05s; }
body.loaded .r2 { animation-delay: .16s; }
body.loaded .r3 { animation-delay: .3s; }
body.loaded .r4 { animation-delay: .44s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* floating BNB coins */
.coin {
  position: absolute; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)) drop-shadow(0 0 18px rgba(240,185,11,.25));
  animation: coinFloat 7s ease-in-out infinite;
}
.hero-stage .c1 { width: clamp(54px, 6vw, 90px); left: 12%; top: -8%; rotate: -14deg; animation-delay: .3s; }
.hero-stage .c2 { width: clamp(40px, 4.5vw, 66px); right: 16%; top: -22%; rotate: 12deg; animation-delay: 1.6s; }
.hero-stage .c3 { width: clamp(34px, 3.6vw, 54px); left: 26%; top: 46%; rotate: 8deg; animation-delay: 2.7s; }
.hero-stage .c4 { width: clamp(46px, 5vw, 76px); right: 24%; top: 52%; rotate: -8deg; animation-delay: 3.8s; }
.cta .cta-c1 { width: clamp(48px, 5vw, 80px); left: 18%; top: 18%; rotate: -12deg; }
.cta .cta-c2 { width: clamp(38px, 4vw, 62px); right: 16%; top: 40%; rotate: 10deg; animation-delay: 2s; }
@keyframes coinFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* hero stage: the bean */
.hero-stage { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-bean {
  width: clamp(190px, 21vw, 310px);
  margin-bottom: -8px;
  opacity: 0; transform: translateY(14%) scale(.94); transform-origin: bottom center;
  filter: drop-shadow(0 0 44px rgba(240,185,11,.35)) drop-shadow(0 18px 30px rgba(0,0,0,.6));
}
body.loaded .hero-bean { animation: beanUp .9s cubic-bezier(.18,1.1,.32,1) .6s forwards; }
@keyframes beanUp { to { opacity: 1; transform: translateY(0) scale(1); } }

.note {
  position: absolute; z-index: 7;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  color: var(--gold); rotate: -4deg;
}
.note svg { width: 44px; stroke: var(--gold); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.note-him { left: calc(50% + 15vw); top: 22%; }

.sticker {
  font-family: var(--display); font-size: clamp(.6rem, 1.1vw, .82rem);
  letter-spacing: .05em; white-space: nowrap;
  background: var(--gold); color: var(--ink);
  border-radius: 999px;
  padding: .6em 1.1em;
  box-shadow: 4px 4px 0 rgba(240,185,11,.25);
  display: inline-block;
}
.hero .st-left, .hero .st-right { position: absolute; z-index: 6; opacity: 0; }
.hero .st-left { left: clamp(.6rem, 10vw, 12rem); top: 8%; rotate: -7deg; }
.hero .st-right { right: clamp(.6rem, 9vw, 10rem); top: 34%; rotate: 5deg; }
body.loaded .st-left { animation: pop .6s cubic-bezier(.2,1.4,.4,1) 1.1s forwards, swayL 6.5s ease-in-out 2s infinite; }
body.loaded .st-right { animation: pop .6s cubic-bezier(.2,1.4,.4,1) 1.25s forwards, swayR 7.5s ease-in-out 2.3s infinite; }
@keyframes pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes swayL { 0%,100% { rotate: -7deg; } 50% { rotate: -3.5deg; } }
@keyframes swayR { 0%,100% { rotate: 5deg; } 50% { rotate: 8.5deg; } }

/* CA pill */
.ca-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--card); color: var(--cream);
  border: 1.5px solid var(--line);
  padding: .8rem 1.2rem; border-radius: 999px;
  transition: transform .15s, border-color .15s;
}
.ca-pill:hover { transform: translateY(-2px); border-color: var(--gold); }
.ca-tag { font-family: var(--display); font-size: .72rem; background: var(--gold); color: var(--ink); padding: .3em .7em; border-radius: 999px; }
.ca-value { font-weight: 700; font-size: .9rem; max-width: 290px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-hint { font-size: .68rem; color: var(--dim); }
.ca-strip { display: flex; justify-content: center; margin-top: 2.6rem; }

/* ============ TICKER ============ */
.marquee { overflow: hidden; padding: .8rem 0; }
.mq-gold { background: var(--gold); color: var(--ink); }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; padding-right: 2rem; animation: scroll 30s linear infinite; }
.mq { white-space: nowrap; }
.mq.hand { font-size: 1.5rem; }
.mq-gold .dot { color: rgba(11,11,11,.4); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ STORY ============ */
.story { background: var(--coal); padding: 6.5rem 0 3.5rem; }
.story-head { text-align: center; margin-bottom: 4rem; }
.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -.01em;
  color: var(--cream);
}
.h2.giant { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--gold); }
.story-head .sub { font-size: 1.4rem; color: var(--dim); margin-top: .5rem; rotate: -1deg; }

.beat {
  position: relative;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: 5.5rem;
}
.beat.rev .polaroid { order: 2; }
.polaroid {
  position: relative;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px;
  padding: .85rem .85rem 3rem;
  box-shadow: var(--shadow-hard);
  rotate: -2.5deg;
  max-width: 440px; margin: 0 auto;
  transition: rotate .25s, border-color .25s;
}
.beat.rev .polaroid { rotate: 2.5deg; }
.polaroid:hover { rotate: 0deg; border-color: rgba(240,185,11,.5); }
.polaroid img { border-radius: 8px; width: 100%; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: .55rem;
  text-align: center; font-size: 1.45rem; color: var(--dim);
}
.beat-copy .hand { font-size: 1.5rem; line-height: 1.45; color: var(--cream); margin-bottom: 1rem; max-width: 34ch; }
.big-hand { font-size: 1.95rem; color: var(--gold-soft) !important; }
.story-shout {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  background: var(--gold); color: var(--ink);
  box-shadow: 5px 5px 0 rgba(240,185,11,.25);
  padding: .22em .5em;
  rotate: -1.5deg;
  margin: .4rem 0 1.2rem;
}
.beat.rev .story-shout { rotate: 1.5deg; }
.arrow {
  position: absolute; z-index: 3;
  width: clamp(70px, 9vw, 120px);
  stroke: var(--gold); stroke-width: 5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .75;
}
.a1 { left: 34%; bottom: -3.2rem; rotate: 20deg; }
.a2 { right: 36%; bottom: -3.4rem; rotate: -14deg; }

/* ============ BEAN WALL ============ */
.beanwall {
  overflow: hidden;
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  background: var(--ink);
}
.beanwall-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.beanwall-track img { width: 250px; height: 250px; object-fit: cover; flex: none; opacity: .92; }

/* ============ BEANOMICS ============ */
.beanomics { background: var(--ink); padding: 6.5rem 0 7rem; position: relative; overflow: hidden; }
.watermark {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--display); font-size: clamp(6rem, 22vw, 19rem);
  color: transparent; -webkit-text-stroke: 2px rgba(240,185,11,.08);
  white-space: nowrap; pointer-events: none; user-select: none;
  animation: wmDrift 26s ease-in-out infinite;
}
@keyframes wmDrift { 0%,100% { translate: -53% -50%; } 50% { translate: -47% -50%; } }
.beanomics .story-head { margin-bottom: 2rem; }
.tokcards {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.5rem;
  margin-top: 2.5rem;
}
.tok {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.6rem 1rem 1.5rem; text-align: center;
  transition: transform .18s, rotate .18s, border-color .18s;
}
.tok .k { display: block; font-size: 1.35rem; color: var(--dim); margin-bottom: .3rem; }
.tok b { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--gold); }
.tok.t1 { rotate: -2deg; } .tok.t2 { rotate: 1.6deg; }
.tok.t3 { rotate: -1.2deg; } .tok.t4 { rotate: 2.2deg; }
.tok:hover { rotate: 0deg; transform: translateY(-5px); border-color: rgba(240,185,11,.5); }
.fineprint { text-align: center; margin-top: 1.5rem; color: var(--dim); font-size: 1.2rem; position: relative; }

/* ============ HOW TO GET BEANS ============ */
.buy { background: var(--gold); color: var(--ink); padding: 6.5rem 0 7rem; position: relative; overflow: hidden; }
.buy .halftone {
  background-image: radial-gradient(circle, rgba(11,11,11,.08) 1px, transparent 1.3px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 55%);
          mask-image: linear-gradient(to top, #000 0%, transparent 55%);
}
.buy .h2 { color: var(--ink); }
.buy .sub { color: rgba(11,11,11,.6); }
.buy .story-head { margin-bottom: 2.2rem; }
.tabs { position: relative; display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tab {
  font-family: var(--display); font-size: .95rem;
  border: 3px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: .6em 1.3em;
  transition: all .16s;
}
.tab:hover { transform: translateY(-2px); }
.tab.on { background: var(--ink); color: var(--gold); rotate: -2deg; }
.tab-panels { position: relative; max-width: 900px; margin: 0 auto; }
.panel { display: none; }
.panel.on {
  display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: center;
  background: var(--ink); border-radius: 20px;
  box-shadow: 8px 8px 0 rgba(11,11,11,.3);
  padding: 1.6rem;
  animation: panelIn .35s cubic-bezier(.2,1.1,.3,1);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } }
.panel img { width: 100%; border-radius: 12px; }
.panel h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: .5rem; color: var(--gold); }
.panel .hand { font-size: 1.45rem; line-height: 1.45; color: var(--cream); }
.panel .hand b { color: var(--gold); }

/* ============ FILMSTRIP ============ */
.filmstrip {
  background: var(--coal);
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  padding: 2.2rem 0; overflow: hidden;
}
.strip-track { display: flex; gap: 1.7rem; width: max-content; padding-right: 1.7rem; animation: scroll 44s linear infinite; }
.filmstrip:hover .strip-track { animation-play-state: paused; }
.strip-track figure {
  width: 295px; flex: none;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  padding: .65rem .65rem .5rem;
  box-shadow: 5px 5px 0 rgba(240,185,11,.22);
  rotate: -1.6deg;
  cursor: zoom-in;
  transition: transform .18s, border-color .18s;
}
.strip-track figure:nth-child(even) { rotate: 1.6deg; }
.strip-track figure:hover { transform: translateY(-6px); border-color: rgba(240,185,11,.5); }
.strip-track img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.strip-track figcaption { text-align: center; font-size: 1.2rem; padding-top: .45rem; color: var(--dim); }

/* ============ CTA ============ */
.cta { background: radial-gradient(100% 120% at 50% 120%, #2a230e 0%, var(--ink) 60%); text-align: center; padding: 5.5rem 0 6.5rem; position: relative; overflow: hidden; }
.cta-bean { width: clamp(120px, 13vw, 175px); margin: 0 auto 1.2rem; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(240,185,11,.35)); }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.cta-btns { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.cta-fine { margin-top: 1.4rem; font-size: 1.35rem; color: var(--dim); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); border-top: 1px solid var(--line); color: var(--dim); padding: 3.4rem 0 2rem; overflow: hidden; }
.footer-word {
  font-family: var(--display);
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: 1; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(240,185,11,.25);
  user-select: none; margin-bottom: 2.6rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand span { font-family: var(--display); font-size: 1.15rem; color: var(--gold); }
.footer-right { display: flex; align-items: center; gap: 1.2rem; }
.footer-x { width: 40px; height: 40px; display: grid; place-items: center; background: var(--coal); border-radius: 50%; color: var(--cream); transition: background .15s, color .15s; }
.footer-x:hover { background: var(--gold); color: var(--ink); }
.chain { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .85rem; color: var(--cream); transition: color .15s; }
.chain:hover { color: var(--gold); }
/* DexScreener owl — masked so it inherits the link colour (cream → gold on hover) */
.dex-icon {
  width: 22px; height: 22px; flex: none;
  background: currentColor;
  -webkit-mask: url("images/dexscreener.svg") no-repeat center / contain;
          mask: url("images/dexscreener.svg") no-repeat center / contain;
  transition: transform .15s;
}
.chain:hover .dex-icon { transform: translateY(-1px) scale(1.06); }
.disclaimer {
  width: min(1180px,100%); margin: 2.2rem auto 0; padding: 0 1.5rem;
  font-size: .74rem; line-height: 1.6; color: #6d675a;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,4,2,.94);
  display: grid; place-items: center;
  padding: 4vmin;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border: 3px solid var(--gold); border-radius: 14px;
  animation: lbIn .28s cubic-bezier(.2,1.2,.35,1);
}
@keyframes lbIn { from { scale: .86; opacity: 0; } }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-size: 1.2rem; font-weight: 900;
  display: grid; place-items: center;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; left: 50%; bottom: 2rem;
  transform: translate(-50%, calc(100% + 3rem));
  background: var(--gold); color: var(--ink);
  font-weight: 800; padding: .85rem 1.5rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
  z-index: 300;
}
.toast.show { transform: translate(-50%, 0); }

/* ============ REVEALS ============ */
.sr { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.9,.3,1.05); }
.sr.in { opacity: 1; transform: none; }
.polaroid.sr { transform: translateY(30px) rotate(-6deg); }
.beat.rev .polaroid.sr { transform: translateY(30px) rotate(6deg); }
.story-shout.sr { transform: translateY(20px) scale(.9); }
.tok.sr { transform: translateY(34px) scale(.93); }
.arrow.sr { transform: scale(.6); transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise, .hero-bean, .hero .st-left, .hero .st-right { opacity: 1 !important; transform: none !important; }
  .gate { display: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .nav-links, .nav-mcap { display: none; }
  .beat, .beat.rev { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 4rem; }
  .beat.rev .polaroid { order: 0; }
  .arrow { display: none; }
  .panel.on { grid-template-columns: 1fr; }
  .panel img { max-width: 420px; margin: 0 auto; }
  .note-him { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 6.4rem; min-height: 92svh; }
  .hero-bean { width: clamp(150px, 44vw, 220px); }
  .hero .st-left { top: 4%; }
  .hero .st-right { top: 28%; }
  .ca-value { max-width: 180px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .tokcards { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .strip-track figure { width: 240px; }
  .beanwall-track img { width: 180px; height: 180px; }
}
