@font-face {
  font-family: 'Bowlby One SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bowlby-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bowlby One SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bowlby-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dmsans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dmsans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F3E6CC;
  --cream-deep: #EAD7B0;
  --paper: #FFF8EA;
  --ink: #1A120E;
  --orange: #F15A2A;
  --orange-hot: #FF6A35;
  --orange-deep: #C63D14;
  --plum: #6B3A6E;
  --plum-soft: #8B5A8E;
  --gold: #E8B84A;
  --border: 4px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(241,90,42,0.12) 0 120px, transparent 121px),
    radial-gradient(circle at 88% 8%, rgba(107,58,110,0.08) 0 90px, transparent 91px),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(26,18,14,0.035) 27px, rgba(26,18,14,0.035) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(26,18,14,0.035) 27px, rgba(26,18,14,0.035) 28px);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: 'Bowlby One SC', Impact, sans-serif;
  letter-spacing: 0.02em; text-decoration: none;
}
.brand img {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--cream);
}
.nav { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 0.85rem;
  border: 2px solid var(--ink); padding: 0.35rem 0.7rem;
  background: var(--cream); box-shadow: 2px 2px 0 var(--ink);
}
.nav a:hover { background: var(--orange); color: #fff; }
.ticker-pill {
  background: var(--orange); color: #fff; border: 3px solid var(--ink);
  padding: 0.25rem 0.7rem; font-weight: 800; font-size: 0.9rem;
  box-shadow: var(--shadow-sm); transform: rotate(-2deg);
}

/* hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem; align-items: center; padding: 2.5rem 0 1.5rem;
}
.hero-copy { position: relative; }
.eyebrow {
  display: inline-block; background: var(--ink); color: var(--cream);
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.75rem; padding: 0.35rem 0.7rem; margin-bottom: 1rem;
}
.mega-title {
  font-family: 'Bowlby One SC', Impact, sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 0.9; margin: 0 0 1rem; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.mega-title span {
  display: block;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(4px 4px 0 var(--ink));
}
.tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800; margin: 0 0 0.6rem; max-width: 28ch;
}
.narrative {
  font-size: 1.05rem; margin: 0 0 1.4rem; max-width: 36ch;
  font-style: italic; color: #3a2a22;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; text-decoration: none; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 0.95rem;
  border: var(--border); padding: 0.85rem 1.2rem;
  background: var(--orange); color: #fff; box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.btn:hover { background: var(--orange-hot); transform: rotate(0deg) translate(-1px,-1px); }
.btn-ghost {
  background: var(--paper); color: var(--ink); transform: rotate(1deg);
}
.btn-ghost:hover { background: var(--cream-deep); }
.copy-status { font-size: 0.85rem; font-weight: 700; min-height: 1.2em; color: var(--plum); }

/* mascot frame */
.mascot-stage { position: relative; justify-self: center; width: min(100%, 420px); }
.orbit {
  position: absolute; inset: -8%;
  border: 3px dashed var(--orange); border-radius: 50%;
  animation: spin 28s linear infinite; pointer-events: none;
}
.orbit::before, .orbit::after {
  content: ''; position: absolute; width: 14px; height: 14px;
  background: var(--plum); border: 2px solid var(--ink); border-radius: 50%;
}
.orbit::before { top: 8%; left: 48%; }
.orbit::after { bottom: 12%; right: 10%; background: var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }
.polaroid {
  position: relative; z-index: 2;
  background: var(--paper); border: var(--border);
  padding: 0.85rem 0.85rem 2.2rem; box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--ink); background: var(--cream); }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0.55rem;
  text-align: center; font-family: 'Bowlby One SC', Impact, sans-serif;
  font-size: 0.95rem; letter-spacing: 0.04em;
}
.ribbon {
  position: absolute; z-index: 3; top: -0.6rem; left: -0.8rem;
  background: var(--plum); color: #fff; border: 3px solid var(--ink);
  padding: 0.35rem 0.75rem; font-weight: 800; font-size: 0.8rem;
  transform: rotate(-8deg); box-shadow: var(--shadow-sm);
}

/* marquee */
.marquee {
  overflow: hidden; border-block: var(--border);
  background: var(--orange); color: #fff; margin: 1.5rem 0 0;
}
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  animation: scroll 22s linear infinite; padding: 0.7rem 0;
  font-family: 'Bowlby One SC', Impact, sans-serif;
  font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
section { padding: 3rem 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.section-head h2 {
  font-family: 'Bowlby One SC', Impact, sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0; line-height: 1;
  text-transform: uppercase;
}
.section-head p { margin: 0; max-width: 36ch; font-weight: 600; }

.about-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.25rem;
}
.card {
  background: var(--paper); border: var(--border); box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.35rem;
}
.card.orange { background: var(--orange); color: #fff; transform: rotate(-0.8deg); }
.card.plum { background: var(--plum); color: #fff; transform: rotate(0.8deg); }
.card h3 {
  font-family: 'Bowlby One SC', Impact, sans-serif;
  margin: 0 0 0.6rem; font-size: 1.25rem; text-transform: uppercase;
}
.card p { margin: 0; }

.traits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.trait {
  background: var(--paper); border: var(--border); padding: 1.2rem;
  box-shadow: var(--shadow-sm); min-height: 100%;
}
.trait:nth-child(1) { transform: rotate(-1.2deg); }
.trait:nth-child(2) { transform: rotate(1deg); border-color: var(--orange); outline: 3px solid var(--orange); outline-offset: -7px; }
.trait:nth-child(3) { transform: rotate(-0.5deg); }
.trait .num {
  display: inline-block; background: var(--orange); color: #fff;
  border: 2px solid var(--ink); font-weight: 800; padding: 0.15rem 0.5rem;
  margin-bottom: 0.7rem; font-size: 0.8rem;
}
.trait h3 {
  font-family: 'Bowlby One SC', Impact, sans-serif;
  margin: 0 0 0.5rem; font-size: 1.15rem; text-transform: uppercase; line-height: 1.1;
}
.trait p { margin: 0; font-size: 0.98rem; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.sticker {
  background: var(--paper); border: var(--border); padding: 0.7rem 0.7rem 1rem;
  box-shadow: var(--shadow-sm);
}
.sticker:nth-child(1) { transform: rotate(-2deg); }
.sticker:nth-child(2) { transform: rotate(1.5deg); }
.sticker:nth-child(3) { transform: rotate(-1deg); }
.sticker img { border: 3px solid var(--ink); width: 100%; aspect-ratio: 1; object-fit: cover; }
.sticker span {
  display: block; text-align: center; margin-top: 0.55rem;
  font-family: 'Bowlby One SC', Impact, sans-serif; font-size: 0.9rem;
}

.community.card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--cream-deep);
}
.community .note {
  display: inline-block; background: var(--paper); border: 2px dashed var(--plum);
  color: var(--plum); font-weight: 700; font-size: 0.85rem;
  padding: 0.35rem 0.7rem; margin-bottom: 0.8rem;
}

.token-landing {
  background: var(--paper); border: var(--border); box-shadow: var(--shadow);
  padding: 1.5rem; display: grid; gap: 1rem;
  grid-template-columns: auto 1fr; align-items: center;
}
.token-landing img {
  width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid var(--ink); background: var(--cream);
}
.token-landing h2 { margin: 0 0 0.35rem; font-family: 'Bowlby One SC', Impact, sans-serif; font-size: 1.6rem; text-transform: uppercase; }
.token-landing p { margin: 0; }
.prelaunch-box {
  grid-column: 1 / -1;
  background: var(--cream); border: 3px dashed var(--ink);
  padding: 0.9rem 1rem; font-weight: 700;
}
.prelaunch-box code {
  display: none; /* hide any CA display in prelaunch */
}

footer {
  border-top: var(--border); background: var(--paper);
  padding: 1.5rem 0 2.2rem; margin-top: 1rem;
}
footer p { margin: 0.35rem 0; font-size: 0.9rem; color: #4a3a32; max-width: 70ch; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: start; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .mascot-stage { order: -1; width: min(100%, 340px); }
  .about-grid, .traits, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .token-landing { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 1.25rem, 1120px); }
  .topbar { padding: 0.6rem 0.75rem; }
  .nav { display: none; }
  .mega-title { font-size: clamp(2.6rem, 16vw, 3.6rem); }
  .about-grid, .traits, .gallery-grid { grid-template-columns: 1fr; }
  .trait, .sticker, .polaroid, .card.orange, .card.plum { transform: none; }
  .btn { width: 100%; }
  .orbit { inset: -5%; }
  section { padding: 2.2rem 0; }
}
@media (max-width: 380px) {
  .mega-title { font-size: 2.35rem; }
  .brand span { font-size: 0.95rem; }
}
