:root {
  --bg: #f5efe1;
  --bg-2: #ede4cf;
  --paper: #fbf6e8;
  --ink: #161311;
  --ink-2: #3a322a;
  --muted: #6b5f50;
  --bean: #f5c518;
  --bean-deep: #c89a13;
  --bean-shadow: rgba(245, 197, 24, 0.45);
  --red:      #c8102e;
  --red-deep: #8b0000;
  --jade:     #2b6e4f;
  --rust: #8b4a1f;
  --olive: #5c6b1d;
  --line: rgba(22, 19, 17, 0.12);
  --line-strong: rgba(22, 19, 17, 0.28);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-red: 4px 4px 0 var(--red);
  --r: 14px;
  --r-sm: 10px;
}

.cn,
.cn-han,
.cn-num,
.cn-stamp,
.cn-watermark,
.cn-pullquote { font-family: 'Noto Serif SC', 'ZCOOL QingKe HuangYou', serif; font-weight: 700; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 0.5px 0.5px, rgba(22, 19, 17, 0.08) 0.5px, transparent 0);
  background-size: 14px 14px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
code { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.accent { color: var(--bean); text-shadow: 3px 3px 0 var(--ink); }
.underline {
  display: inline-block;
  background-image: linear-gradient(transparent 62%, var(--bean) 62%, var(--bean) 88%, transparent 88%);
  background-repeat: no-repeat;
  padding: 0 2px;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; background: var(--ink); color: var(--bean);
  padding: 0.5rem 0.75rem; border-radius: 6px; z-index: 100;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 225, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--ink); }
.nav-inner {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.7rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-family: 'Bowlby One', system-ui, sans-serif;
  font-size: 1.3rem; letter-spacing: 0.02em; color: var(--ink);
}
.nav-links {
  display: flex; gap: 1.6rem; margin-left: 1.5rem;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em;
}
.nav-links a { color: var(--ink); padding: 0.35rem 0; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 8px; background: var(--bean); z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: auto; }
.hamburger { display: none; }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 0.2rem;
  padding: 0.6rem 0 1rem;
  border-top: 2px solid var(--ink);
}
.mobile-menu a { padding: 0.7rem 0; font-weight: 700; letter-spacing: 0.08em; }
.mobile-menu.open { display: flex; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink); color: var(--bean);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  overflow: hidden;
  font-family: 'Bowlby One', sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  padding: 0.6rem 0;
}
.marquee-track {
  display: inline-flex; gap: 2rem; white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}
.marquee-track span { display: inline-block; }
.marquee-track span.cn {
  font-family: 'Noto Serif SC', 'ZCOOL QingKe HuangYou', serif;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ribbon {
  background: var(--red); color: var(--bean);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.45rem 0;
}
.ribbon-track {
  display: inline-flex; gap: 1.2rem; white-space: nowrap;
  animation: ribbon-scroll 42s linear infinite;
  padding-left: 100%;
}
.ribbon-track .cn-han {
  color: var(--bean);
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0;
}
@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  border: 2px solid var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-lg { padding: 1rem 1.6rem; font-size: 0.95rem; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.75rem; box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--bean); color: var(--ink); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); background: #2a2622; }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); background: var(--bg-2); }

/* ============ HERO ============ */
.hero { padding: 3rem 0 7rem; position: relative; overflow: visible; }
.cn-banner {
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  display: flex; flex-direction: column;
  gap: 0.45rem;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.cn-banner span {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--bean);
  font-family: 'Noto Serif SC', serif;
  font-weight: 900; font-size: 1.4rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg);
}
.cn-banner span:nth-child(2) { transform: rotate(2deg); background: var(--ink); color: var(--bean); }
.cn-banner span:nth-child(3) { transform: rotate(-2deg); background: var(--bean); color: var(--red); border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.cn-banner span:nth-child(4) { transform: rotate(3deg); }
.cn-banner-right {
  left: auto;
  right: 1.5rem;
  top: 5.5rem;
}
.cn-banner-right span:nth-child(1) { background: var(--ink); color: var(--bean); transform: rotate(4deg); }
.cn-banner-right span:nth-child(2) { background: var(--red); color: var(--bean); transform: rotate(-3deg); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.cn-banner-right span:nth-child(3) { background: var(--bean); color: var(--red); border-color: var(--red); box-shadow: 3px 3px 0 var(--red); transform: rotate(2deg); }
.hero .container { position: relative; z-index: 1; }
.btn-lucky { box-shadow: 4px 4px 0 var(--red); }
.btn-lucky:hover { box-shadow: 5px 5px 0 var(--red); }
.btn-lucky:active { box-shadow: 2px 2px 0 var(--red); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 3rem; align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.82rem; letter-spacing: 0.22em; font-weight: 500;
  color: var(--red);
  padding: 0; margin: 0 0 1rem;
  text-transform: uppercase;
}
.eyebrow .cn-han { color: var(--red); margin: 0 0.15em; }
.eyebrow-center { display: block; text-align: center; }
.eyebrow-on-dark { color: var(--bean); }
.eyebrow-on-dark .cn-han { color: var(--bean); }
.cn-han {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 1.05em;
  color: var(--red);
}
.cn-stamps {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.55rem;
  margin: 0.1rem 0 1.3rem;
}
.cn-stamp {
  display: inline-block;
  background: var(--red); color: var(--bean);
  font-family: 'Noto Serif SC', serif; font-weight: 900;
  font-size: 1.05rem; letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  transform: rotate(-2deg);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.cn-stamp-alt {
  background: var(--paper); color: var(--red);
  font-size: 0.88rem; letter-spacing: 0.08em;
  transform: rotate(1.5deg);
  margin-left: 1.2rem;
  box-shadow: 3px 3px 0 var(--red);
}
.hero-copy h1 {
  font-family: 'Bowlby One', system-ui, sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.92;
  color: var(--ink);
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 44ch; margin: 0 0 1.8rem; }
.lede em,
.about p em {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  background: rgba(245, 197, 24, 0.28);
  padding: 0 0.25em;
  border-radius: 3px;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

.ca-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  max-width: 520px;
}
.ca-label {
  display: block;
  font-family: 'Bowlby One', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--muted); margin-bottom: 0.5rem;
}
.ca-row { display: flex; gap: 0.5rem; align-items: center; }
.ca-row code {
  flex: 1; background: var(--bg); padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-size: 0.82rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.hero-art {
  position: relative; aspect-ratio: 1;
  display: grid; place-items: center;
  overflow: visible;
}
.hero-receipt {
  position: absolute;
  z-index: 4;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--red);
  padding: 4px;
  margin: 0;
  pointer-events: none;
  user-select: none;
}
.hero-receipt img { display: block; width: 100%; height: auto; }
.receipt-clip {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  position: relative;
}
.receipt-clip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center var(--zoom-y, 50%);
}
.hero-receipt .bean-mark {
  position: absolute;
  background: var(--bean);
  mix-blend-mode: multiply;
  opacity: 0.85;
  border-radius: 4px;
  pointer-events: none;
}
.hero-receipt-1 {
  top: -5%;
  right: -28%;
  width: 320px;
  transform: rotate(6deg);
}
.hero-receipt-1 .bean-mark {
  top: 41%;
  left: 56.5%;
  width: 12.5%;
  height: 35%;
  transform: rotate(-3deg) skewX(-6deg);
}
.hero-receipt-2 {
  bottom: -22%;
  left: 6%;
  width: 300px;
  transform: rotate(-5deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-receipt-2 .bean-mark {
  top: 24%;
  left: 56%;
  width: 12%;
  height: 13%;
  transform: rotate(-2deg) skewX(-5deg);
}
.hero-receipt-3 {
  top: -8%;
  right: 0%;
  width: 200px;
  transform: rotate(4deg);
  box-shadow: 4px 4px 0 var(--bean);
}
.hero-receipt-3 .bean-mark {
  top: 22%;
  left: 47%;
  width: 13%;
  height: 28%;
  transform: rotate(-1deg) skewX(-5deg);
}
.hero-receipt-4 {
  bottom: -12%;
  right: -4%;
  width: 230px;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 var(--red);
}
.hero-logo {
  position: relative; z-index: 2;
  width: 86%;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.hero-video {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}
.sticker {
  position: absolute; z-index: 3;
  background: var(--bean); color: var(--ink);
  font-family: 'Bowlby One', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.08em;
  padding: 0.55rem 0.9rem; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.sticker-1 { top: 4%; left: -2%; transform: rotate(-8deg); }
.sticker-2 { top: 38%; right: -4%; transform: rotate(7deg); background: var(--paper); }
.sticker-3 { bottom: 6%; left: 12%; transform: rotate(-4deg); background: var(--ink); color: var(--bean); }
.sticker-cn {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: var(--red);
  font-size: 1em;
  margin-right: 0.1em;
}
.sticker-3 .sticker-cn { color: var(--bean); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============ SECTIONS ============ */
.block { padding: 4rem 0; }
.section-title {
  font-family: 'Bowlby One', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1; margin: 0 0 1.2rem;
  letter-spacing: 0.005em;
}
.section-title-center { text-align: center; }
.block-lede { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 2rem; max-width: 55ch; }

.about {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.cn-watermark {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: var(--red);
  opacity: 0.06;
  position: absolute;
  font-size: clamp(14rem, 28vw, 28rem);
  line-height: 0.85;
  top: -2rem;
  right: -2rem;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.cn-watermark-closer {
  color: var(--bean);
  opacity: 0.08;
  top: auto;
  bottom: -4rem;
  right: -3rem;
}
.cn-watermark-buy {
  color: var(--red);
  opacity: 0.12;
  top: auto;
  bottom: -3rem;
  right: -2rem;
  font-size: clamp(16rem, 32vw, 32rem);
}
.buy { position: relative; overflow: hidden; }
.buy .container { position: relative; z-index: 1; }
.about .container { position: relative; z-index: 1; }
.closer { position: relative; overflow: hidden; }
.closer .container { position: relative; z-index: 1; }
.cn-pullquote {
  font-family: 'Noto Serif SC', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--red-deep);
  border-left: 4px solid var(--bean);
  padding: 0.4rem 0 0.4rem 1rem;
  margin: 1rem 0 0;
  max-width: 44ch;
}
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 3rem; align-items: start;
}
.about p { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink-2); max-width: 50ch; }
.facts {
  margin: 0;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
  box-shadow: 4px 4px 0 var(--red);
  display: grid; grid-template-columns: auto 1fr;
  row-gap: 0.7rem; column-gap: 1.2rem;
}
.facts > div { display: contents; }
.facts dt {
  font-family: 'Bowlby One', sans-serif;
  font-size: 0.74rem; letter-spacing: 0.16em;
  color: var(--muted); align-self: center;
}
.facts dd {
  margin: 0;
  font-weight: 700; color: var(--ink);
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 0.5rem;
}
.facts > div:last-child dd { border-bottom: 0; padding-bottom: 0; }

/* ============ FLOATING RECEIPTS (in body sections) ============ */
.floating-receipt {
  position: absolute;
  margin: 0;
  z-index: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 4px 4px 12px;
  box-shadow: 4px 4px 0 var(--red);
  pointer-events: none;
  user-select: none;
  opacity: 0.92;
}
.floating-receipt img {
  display: block;
  width: 100%;
  height: auto;
}
.floating-receipt-about {
  width: 220px;
  top: 6%;
  right: 28%;
  transform: rotate(5deg);
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0.95;
}
.about .container { position: relative; z-index: 1; }
.floating-receipt-buy {
  width: 230px;
  top: 5%;
  left: 22%;
  transform: rotate(-7deg);
  box-shadow: 4px 4px 0 var(--bean);
  opacity: 0.95;
}

/* ============ LORE WALL (BNB = BEANS RECEIPTS) ============ */
.lore-wall {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 5.5rem 0;
}
.lore-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.lore-tile {
  position: absolute;
  width: clamp(170px, 18vw, 260px);
  height: auto;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
  opacity: 0.7;
  filter: sepia(0.25) saturate(0.85) contrast(0.95);
}
.lore-tile-1  { top: -2%;  left: -2%;  transform: rotate(-7deg); width: clamp(190px, 20vw, 280px); }
.lore-tile-2  { top: 8%;   left: 22%;  transform: rotate(4deg);  width: clamp(160px, 14vw, 200px); }
.lore-tile-3  { top: 58%;  left: -3%;  transform: rotate(5deg);  width: clamp(190px, 19vw, 270px); }
.lore-tile-4  { bottom: -2%; left: 26%; transform: rotate(-4deg); width: clamp(180px, 17vw, 240px); }
.lore-tile-5  { top: 32%;  right: 1%;  transform: rotate(5deg);  width: clamp(170px, 16vw, 230px); }
.lore-tile-6  { bottom: 6%; right: 22%; transform: rotate(-5deg); width: clamp(160px, 14vw, 210px); }
.lore-tile-7  { top: 4%;   right: 22%; transform: rotate(-2deg); width: clamp(190px, 18vw, 250px); }
.lore-tile-8  { bottom: 38%; left: 14%; transform: rotate(6deg);  width: clamp(150px, 13vw, 190px); }
.lore-tile-9  { top: -3%;  right: 3%;  transform: rotate(3deg);  width: clamp(170px, 15vw, 220px); }
.lore-tile-10 { bottom: -3%; right: 2%; transform: rotate(-6deg); width: clamp(190px, 18vw, 260px); }
.lore-tile-portrait {
  width: clamp(90px, 9vw, 130px) !important;
  height: auto;
}
.lore-tile-11 { top: 12%; left: 38%; transform: rotate(-8deg); }
.lore-tile-13 { bottom: 12%; left: 44%; transform: rotate(5deg); }
.lore-tile-15 { top: 42%; left: 16%; transform: rotate(3deg); }
.lore-tile-16 { top: 18%; right: 42%; transform: rotate(-4deg); }

.lore-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.lore-content::before {
  content: '';
  position: absolute;
  inset: -3rem -2rem;
  background:
    radial-gradient(ellipse at center, rgba(245, 239, 225, 0.96) 0%, rgba(245, 239, 225, 0.85) 40%, rgba(245, 239, 225, 0.55) 65%, transparent 85%);
  z-index: -1;
}
.lore-lede {
  max-width: 56ch;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.lore-lede em {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  background: rgba(245, 197, 24, 0.25);
  padding: 0 0.25em;
  border-radius: 3px;
}

/* ============ WHY ============ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.why-card {
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--r);
  padding: 1.8rem 1.5rem;
  box-shadow: 4px 4px 0 var(--red);
  transition: transform .15s ease, box-shadow .15s ease;
}
.why-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); }
.why-num {
  display: inline-block;
  font-family: 'Bowlby One', sans-serif;
  font-size: 1.05rem;
  background: var(--ink); color: var(--bean);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  margin-bottom: 0.6rem;
}
.cn-num {
  font-family: 'Noto Serif SC', serif !important;
  font-weight: 900 !important;
  background: var(--red) !important;
  color: var(--bean) !important;
  border: 2px solid var(--ink);
  font-size: 1.4rem !important;
  width: 50px; height: 50px;
  display: inline-grid !important;
  place-items: center;
  padding: 0 !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-sm);
}
.why-tag {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.16em;
  color: var(--red); font-weight: 500;
  margin: 0.1rem 0 0.5rem;
  text-transform: uppercase;
}
.why-card h3 {
  font-family: 'Bowlby One', sans-serif;
  font-size: 1.35rem; margin: 0 0 0.6rem;
  letter-spacing: 0.02em;
}
.why-card p { margin: 0; color: var(--ink-2); }

/* ============ BUY (DEX) ============ */
.buy {
  background: var(--ink); color: var(--paper);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.buy .section-title { color: var(--red); }
.buy .underline {
  background-image: linear-gradient(transparent 62%, var(--bean) 62%, var(--bean) 88%, transparent 88%);
}
.buy .block-lede { color: rgba(251, 246, 232, 0.72); }
.dex-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.dex-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem; align-items: center;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--red); border-radius: var(--r);
  padding: 1.3rem 1.3rem;
  box-shadow: 4px 4px 0 var(--red);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.dex-card:hover {
  transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red);
  background: var(--bean);
}
.dex-logo {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: 'Bowlby One', sans-serif; font-size: 1.4rem;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.dex-logo-printr   { background: #ff5b3a; color: var(--paper); }
.dex-logo-pancake  { background: #1fc7d4; }
.dex-logo-uniswap  { background: #ff007a; color: var(--paper); }
.dex-info h3 {
  font-family: 'Bowlby One', sans-serif;
  font-size: 1.15rem; margin: 0 0 0.2rem;
  letter-spacing: 0.02em;
}
.dex-info p { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.dex-cta {
  font-family: 'Bowlby One', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.06em;
}

/* ============ VERIFY ============ */
.verify { background: var(--bg-2); border-bottom: 2px solid var(--ink); }
.verify-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
}
.verify-inner p { color: var(--ink-2); max-width: 48ch; margin: 0; font-size: 1.05rem; }
.verify-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.verify-grid a {
  display: block;
  font-family: 'Bowlby One', sans-serif;
  font-size: 1rem; letter-spacing: 0.04em;
  background: var(--paper); color: var(--ink);
  padding: 1.1rem 1.2rem; border-radius: var(--r-sm);
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--red);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.verify-grid a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--red); background: var(--red); color: var(--bean); border-color: var(--ink); }

/* ============ ARMY ============ */
.army {
  background: var(--bean);
  border-bottom: 2px solid var(--ink);
  position: relative; overflow: hidden;
}
.army::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(22, 19, 17, 0.1) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.army-inner { position: relative; z-index: 1; text-align: center; padding: 1rem 0; }
.army-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95; margin: 0 0 1rem;
  letter-spacing: 0.005em;
}
.army-title .accent { color: var(--paper); text-shadow: 4px 4px 0 var(--ink); }
.army-inner p { max-width: 48ch; margin: 0 auto 1.6rem; font-size: 1.1rem; color: var(--ink); }
.army-ctas { display: inline-flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }

/* ============ CLOSER ============ */
.closer {
  padding: 5rem 0 6rem;
  text-align: center;
  background: var(--ink); color: var(--paper);
}
.closer h2 {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95; margin: 0 0 0.8rem;
  letter-spacing: 0.005em;
}
.closer .accent { color: var(--bean); text-shadow: 4px 4px 0 var(--paper); }
.closer p { font-size: 1.15rem; color: rgba(251, 246, 232, 0.72); margin: 0 0 2rem; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  padding: 2.5rem 0;
  border-top: 2px solid var(--ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand    disclaimer copy"
    "socials  socials    socials";
  gap: 1.4rem 2rem;
  align-items: center;
}
.footer-brand { grid-area: brand; }
.footer .disclaimer { grid-area: disclaimer; }
.footer .copy { grid-area: copy; }
.footer-socials {
  grid-area: socials;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-strong);
}
.footer-soc {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 var(--red);
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
}
.footer-soc:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--red);
  background: var(--red); color: var(--bean);
}
.footer-soc svg { display: block; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.disclaimer {
  margin: 0; font-size: 0.78rem; color: var(--muted);
  max-width: 65ch; line-height: 1.55;
}
.copy {
  margin: 0; font-family: 'Bowlby One', sans-serif;
  font-size: 0.74rem; letter-spacing: 0.1em; color: var(--ink);
  text-align: right;
}

/* ============ RESPONSIVE ============ */

/* Ultrawide / large desktop (>=1440px): give the content more presence */
@media (min-width: 1440px) {
  .container { width: min(1280px, 88vw); }
  .hero-copy h1 { font-size: clamp(3.4rem, 7vw, 6rem); }
  .section-title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
  .army-title { font-size: clamp(2.8rem, 6vw, 5rem); }
  .closer h2 { font-size: clamp(3rem, 7.5vw, 6rem); }
}

/* Tighten desktop just before tablet kicks in (1180px max width target) */
@media (max-width: 1180px) and (min-width: 1025px) {
  .container { width: 95vw; }
  .hero-copy h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); }
  .lore-tile { width: clamp(150px, 16vw, 220px); }
}

/* Tablet (<=1024px): collapse multicolumn layouts, hamburger menu, hide
   decorative side banners and oversized polaroids */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--bean);
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }
  .hamburger span {
    display: block; width: 18px; height: 2px;
    background: currentColor; border-radius: 2px;
  }
  .nav-cta { margin-left: auto; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid .why-card:nth-child(3) { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
  .dex-grid { grid-template-columns: 1fr; }
  .verify-inner { grid-template-columns: 1fr; }
  .verify-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 400px; margin: 0 auto; }
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "socials"
      "disclaimer"
      "copy";
    text-align: center;
  }
  .copy { text-align: center; }
  .footer-brand { justify-self: center; }

  .lore-tile-2,
  .lore-tile-7,
  .lore-tile-8,
  .lore-tile-11,
  .lore-tile-15 { display: none; }
  .hero-receipt-3,
  .hero-receipt-4 { display: none; }
  .floating-receipt-about,
  .floating-receipt-buy { display: none; }
}

/* Mid-tablet portrait (<=860px): drop Why to single column, ease text */
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .why-card:nth-child(3) { grid-column: auto; max-width: none; margin: 0; }
  .hero-copy h1 { font-size: clamp(2.8rem, 9vw, 4.6rem); }
  .section-title { font-size: clamp(2rem, 6.5vw, 3rem); }
}

@media (max-width: 720px) {
  .nav-cta { display: none; }
  .marquee { font-size: 0.85rem; padding: 0.45rem 0; letter-spacing: 0.03em; }
  .marquee-track { gap: 1.2rem; }
  .ribbon { font-size: 0.66rem; padding: 0.35rem 0; letter-spacing: 0.14em; }
  .ribbon-track { gap: 0.8rem; }

  .container { width: min(1180px, 94vw); }

  .hero { padding: 2rem 0 5rem; }
  .hero-grid { gap: 1.6rem; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4rem); line-height: 0.92; margin-bottom: 0.9rem; }
  .lede { font-size: 1rem; margin-bottom: 1.4rem; }
  .eyebrow { font-size: 0.74rem; letter-spacing: 0.18em; margin-bottom: 0.8rem; }
  .cn-stamps { gap: 0.45rem; margin-bottom: 1.1rem; }
  .cn-stamp { font-size: 0.85rem; padding: 0.35rem 0.7rem; letter-spacing: 0.05em; }
  .cn-stamp-alt { font-size: 0.74rem; margin-left: 0.6rem; }
  .hero-ctas { flex-direction: column; gap: 0.6rem; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .ca-row { flex-direction: column; align-items: stretch; }
  .ca-row code { white-space: normal; word-break: break-all; font-size: 0.78rem; }
  .ca-row .btn-sm { width: 100%; }

  .sticker { font-size: 0.7rem; padding: 0.45rem 0.7rem; }
  .sticker-1 { top: -2%; left: 2%; }
  .sticker-2 { right: 0; }

  .block { padding: 3rem 0; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .block-lede { font-size: 1rem; }

  .about-grid { gap: 1.8rem; }
  .facts { padding: 1rem 1.1rem; }
  .facts dt { font-size: 0.7rem; letter-spacing: 0.13em; }
  .cn-pullquote { font-size: 0.95rem; max-width: none; }
  .cn-watermark { font-size: clamp(8rem, 30vw, 14rem); }

  .why-grid { gap: 0.9rem; }
  .why-card { padding: 1.4rem 1.2rem; }
  .why-card h3 { font-size: 1.15rem; }
  .why-num.cn-num { width: 44px; height: 44px; font-size: 1.2rem !important; }
  .why-tag { font-size: 0.62rem; }

  .dex-card { padding: 1rem; gap: 0.8rem; }
  .dex-logo { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 10px; }
  .dex-info h3 { font-size: 1.05rem; }
  .dex-info p { font-size: 0.82rem; }
  .dex-cta { font-size: 0.78rem; }
  .cn-watermark-buy { font-size: clamp(10rem, 36vw, 18rem); }

  .verify-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .verify-grid a { padding: 0.95rem 1rem; font-size: 0.92rem; }

  .army { padding: 3rem 0; }
  .army-title { font-size: clamp(2.2rem, 11vw, 3.4rem); margin-bottom: 0.8rem; }
  .army-inner p { font-size: 0.98rem; margin-bottom: 1.2rem; }
  .army-ctas { flex-direction: column; gap: 0.6rem; width: 100%; align-items: stretch; }
  .army-ctas .btn { width: 100%; justify-content: center; }

  .closer { padding: 3.5rem 0 4rem; }
  .closer h2 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .closer p { font-size: 1rem; }

  .footer .disclaimer { font-size: 0.74rem; max-width: none; }
  .footer .copy { font-size: 0.7rem; }

  .lore-wall { padding: 3rem 0; }
  .lore-tile { width: 140px !important; opacity: 0.45; }
  .lore-tile-1,
  .lore-tile-3,
  .lore-tile-4,
  .lore-tile-5,
  .lore-tile-6,
  .lore-tile-9,
  .lore-tile-10 { display: none; }
  .lore-content::before { inset: -1.5rem -1rem; }
  .lore-lede { font-size: 0.95rem; }

  .cn-banner,
  .cn-banner-right { display: none; }
  .hero-receipt { display: none; }
}

/* Compact mobile (<=480px): tighten section padding + watermarks */
@media (max-width: 480px) {
  .block { padding: 2.4rem 0; }
  .hero { padding: 1.6rem 0 4rem; }
  .lore-wall { padding: 2.4rem 0; }
  .army { padding: 2.4rem 0; }
  .closer { padding: 2.8rem 0 3.2rem; }
  .cn-watermark { font-size: clamp(7rem, 36vw, 12rem); opacity: 0.05; }
  .cn-watermark-buy { font-size: clamp(8rem, 42vw, 14rem); opacity: 0.1; }
  .army-title { font-size: clamp(2rem, 12vw, 3rem); }
  .closer h2 { font-size: clamp(2.2rem, 13vw, 3.4rem); }
  .section-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .lore-content::before { inset: -1rem -0.5rem; }
  .hero-copy h1 { font-size: clamp(2.4rem, 12.5vw, 3.6rem); }
  .verify-grid a { font-size: 0.86rem; padding: 0.85rem 0.9rem; }
  .dex-card { padding: 0.85rem; }
  .dex-logo { width: 42px; height: 42px; font-size: 1.05rem; }
  .footer-soc { font-size: 0.72rem; padding: 0.45rem 0.75rem; }
}

/* Small phone (<=390px): smallest devices, most aggressive scaling */
@media (max-width: 390px) {
  .marquee, .ribbon { font-size: 0.6rem; }
  .hero-copy h1 { font-size: clamp(2.1rem, 13vw, 3rem); }
  .cn-stamp { font-size: 0.76rem; padding: 0.3rem 0.6rem; }
  .cn-stamp-alt { font-size: 0.66rem; }
  .nav-cta { display: none; }
  .brand-name { font-size: 1.1rem; }
  .brand-logo { width: 34px; height: 34px; }
  .why-num.cn-num { width: 40px; height: 40px; font-size: 1.05rem !important; }
  .container { width: 96vw; }
}

/* Landscape short heights (phones held sideways): keep hero readable */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 1rem 0 1.5rem; }
  .hero-art { max-width: 280px; }
  .cn-banner, .cn-banner-right { display: none; }
}
