/* ============================================================
   catwifhat ($WIF) — styles.css
   Palette pulled straight from the hero photo:
   --blue   #2E5FD8  (the knitted hat)
   --cream  #EDE4DB  (the beige wall / page bg)
   --ginger #E08A3C  (the cat — accent / glow)
   --ink    #1A1814  (text)
   ============================================================ */

:root {
  --blue:   #2E5FD8;
  --blue-d: #2249ad;
  --cream:  #EDE4DB;
  --cream-d:#e2d6c9;
  --ginger: #E08A3C;
  --ink:    #1A1814;
  --white:  #fffaf4;

  --font-display: "Unbounded", "Trebuchet MS", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(26, 24, 20, 0.12);
  --shadow-lift: 0 18px 44px rgba(26, 24, 20, 0.18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* the [hidden] attribute must win over class display rules (e.g. .btn) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.section__wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 3rem);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}
.btn--blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(46, 95, 216, 0.45), 0 0 22px rgba(224, 138, 60, 0.35);
  background: var(--blue-d);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--ginger);
  color: var(--ginger);
  box-shadow: 0 10px 28px rgba(224, 138, 60, 0.3);
}

.btn--ginger {
  background: var(--ginger);
  color: var(--white);
}
.btn--ginger:hover {
  transform: translateY(-3px);
  background: #cf7a2d;
  box-shadow: 0 10px 28px rgba(224, 138, 60, 0.5), 0 0 22px rgba(46, 95, 216, 0.3);
}

/* ============================================================
   1. NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 228, 219, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-d);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem clamp(1.1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav__links a {
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--blue); }
.nav__cta { font-size: 0.95rem; padding: 0.6rem 1.3rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  /* Unbounded runs wide — smaller ceiling than a condensed serif would need */
  font-size: clamp(2.3rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 1rem;
  word-break: break-word;
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--ginger);
  margin-bottom: 2rem;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.hero__ticker {
  font-size: 0.95rem;
  opacity: 0.75;
}
.hero__ticker strong { color: var(--blue); }

/* Full-bleed wide banner */
.hero__banner {
  width: 100%;
  margin: 0 0 clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}
.hero__cat {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: pointer;
  animation: bob 4s ease-in-out infinite;
}

/* gentle float/bob */
@keyframes bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.005); }
}

/* easter-egg wobble (toggled by JS) */
.hero__cat.wobble { animation: wobble 0.55s ease; }
@keyframes wobble {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-8deg) scale(1.04); }
  40%  { transform: rotate(7deg)  scale(1.04); }
  60%  { transform: rotate(-5deg); }
  80%  { transform: rotate(3deg); }
  100% { transform: rotate(0); }
}

/* floating "meow" burst */
.meow-burst {
  position: fixed;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--blue);
  pointer-events: none;
  z-index: 100;
  animation: meowUp 0.9s ease-out forwards;
  text-shadow: 0 2px 0 var(--white);
}
@keyframes meowUp {
  0%   { transform: translate(-50%, 0) scale(0.6); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(-50%, -90px) scale(1.2) rotate(-6deg); opacity: 0; }
}

/* ============================================================
   3. MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.1rem, 4vw, 3rem);
  overflow: hidden;
}
.manifesto__inner { max-width: 860px; margin: 0 auto; }

/* opening line */
.manifesto__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 1.7rem;
  letter-spacing: -0.01em;
}
/* story beats — big, bold, high-contrast so they read as punchy statements */
.manifesto__line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.9vw, 1.95rem);
  line-height: 1.32;
  max-width: 760px;
  margin: 0 auto 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}
.manifesto__hl {
  color: var(--cream);
  font-weight: 800;
}
/* the turn — the pivot of the story */
.manifesto__pivot {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.18;
  margin: 1.9rem auto 0;
}
/* punchy three-beat */
.manifesto__beats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin: 1.5rem auto 0;
}
.manifesto__beats span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  letter-spacing: -0.01em;
}
.manifesto__beats span:nth-child(2) { color: var(--cream); }
/* signature punchline */
.manifesto__sig {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-top: 1.7rem;
}

/* staggered reveal for manifesto lines */
.manifesto .reveal.in { transition-delay: 0.05s; }
.manifesto__line.reveal.in { transition-delay: 0.12s; }
.manifesto__pivot.reveal.in { transition-delay: 0.22s; }
.manifesto__beats.reveal.in { transition-delay: 0.3s; }
.manifesto__sig.reveal.in { transition-delay: 0.4s; }

/* ============================================================
   4. ABOUT
   ============================================================ */
.about { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.about__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.about__cols p { font-size: 1.08rem; }
.about__cols p::first-letter { font-weight: 700; }

/* ============================================================
   4b. MEMES  ("the litter box" gallery + lightbox)
   ============================================================ */
.memes { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.memes__sub {
  margin: -0.8rem 0 2rem;
  font-size: 1.05rem;
  opacity: 0.75;
}
/* Masonry via CSS columns — preserves each meme's aspect ratio (no cropping) */
.meme-grid {
  column-count: 3;
  column-gap: 1.1rem;
}
.meme-item {
  break-inside: avoid;
  margin: 0 0 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.meme-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift), 0 0 26px rgba(224, 138, 60, 0.35);
  border-color: var(--ginger);
}
.meme-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}
.meme-item figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1rem 1rem;
  line-height: 1.2;
}

/* PFP maker — "wif the hat" generator */
.pfp { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--cream-d); }
.pfp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}
.pfp__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
#pfp-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
#pfp-canvas:active { cursor: grabbing; }
.pfp__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* mode tabs */
.pfp__tabs {
  display: flex;
  gap: 0.3rem;
  background: var(--cream);
  padding: 0.3rem;
  border-radius: 999px;
}
.pfp__tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pfp__tab.is-active { background: var(--blue); color: var(--white); }
/* cat picker */
.pfp__cats { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pfp__cat {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--white);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.pfp__cat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pfp__cat:hover { transform: translateY(-2px); }
.pfp__cat.is-active { border-color: var(--blue); }

/* color pickers (hat / fur / eyes) */
.pfp__colors {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pfp__colorrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.pfp__colors-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 42px;
}
.pfp__orig {
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}
.pfp__orig:hover { background: var(--cream-d); }
.pfp__swatches { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pfp__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.pfp__swatch:hover { transform: scale(1.12); }
.pfp__swatch.is-active { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
#pfp-hatcolor {
  width: 38px;
  height: 30px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.pfp__btn { width: 100%; text-align: center; }
.pfp__ctrl {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.pfp__ctrl input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  cursor: pointer;
}
.pfp__row { display: flex; gap: 0.8rem; }
.pfp__row .pfp__btn { flex: 1; }
.pfp__download[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.pfp__note { font-size: 0.82rem; opacity: 0.7; line-height: 1.5; }

/* Banner box — wide 3:1 banners stacked full width */
.banners { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--cream-d); }
.banner-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.banner-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.banner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift), 0 0 26px rgba(224, 138, 60, 0.35);
  border-color: var(--ginger);
}
.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}
.banner-item figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.1rem 1rem;
  line-height: 1.2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 5vw;
  background: rgba(26, 24, 20, 0.92);
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  border: 4px solid var(--white);
}
.lightbox__cap {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.1rem;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  background: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.lightbox__close:hover { transform: scale(1.08); background: var(--ginger); color: var(--white); }

/* ============================================================
   5. HOW TO BUY
   ============================================================ */
.how {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--cream-d);
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift), 0 0 26px rgba(224, 138, 60, 0.35);
  border-color: var(--ginger);
}
.card__icon { font-size: 2.2rem; display: block; margin-bottom: 0.6rem; }
.card__num {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--cream-d);
  line-height: 1;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.card p { font-size: 0.98rem; opacity: 0.85; }

/* ============================================================
   6. TOKENOMICS
   ============================================================ */
.tokenomics { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift), 0 0 24px rgba(224, 138, 60, 0.3);
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--blue);
  margin-bottom: 0.3rem;
  line-height: 1.05;
}
.stat__label { font-size: 0.9rem; opacity: 0.75; }

/* ============================================================
   6b. TRADE  (Jupiter swap + DexScreener chart)
   ============================================================ */
.trade {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--cream-d);
}
.trade__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.6rem;
  align-items: stretch;
}
.trade__panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.trade__panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
/* Buy card — no card background; content vertically centered to match the chart */
.buy-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  justify-content: center;
}
.buy-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.buy-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 3px var(--cream-d);
  flex-shrink: 0;
}
.buy-card__heading .trade__panel-title { margin-bottom: 0.1rem; }
.buy-card__pair {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ginger);
}
.buy-card__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.3rem;
  padding: 0;
}
.buy-card__badges li {
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--cream);
  color: var(--blue);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--cream-d);
}

/* Buy buttons */
.buybox {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.buybox__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  text-align: center;
  padding: 0.95rem 1.4rem;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.buybox__btn-label { font-weight: 800; font-size: 1.12rem; }
.buybox__btn-sub { font-size: 0.78rem; font-weight: 600; opacity: 0.85; }
.buybox__btn--pump {
  background: linear-gradient(135deg, #3b6df0, var(--blue-d));
  color: var(--white);
  box-shadow: 0 10px 26px rgba(46, 95, 216, 0.4);
}
.buybox__btn--pump:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(46, 95, 216, 0.5), 0 0 24px rgba(224, 138, 60, 0.35);
}
.buybox__btn--jup {
  background: var(--ink);
  color: var(--cream);
}
.buybox__btn--jup:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(26, 24, 20, 0.3);
  filter: saturate(1.15);
}
/* DexScreener responsive iframe */
.trade__chart {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0e16;
}
.trade__chart iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.trade__note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.9rem;
}
.trade__note a { color: var(--blue); font-weight: 600; }

/* ============================================================
   7. CONTRACT BAR
   ============================================================ */
.contract { padding: 0 0 clamp(3rem, 7vw, 5rem); }
.contract__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem clamp(1rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
.contract__label {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
}
.contract__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
}
.contract__ca {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.72rem, 2.2vw, 0.98rem);
  word-break: break-all;
  color: var(--white);
}
.contract__copy { padding: 0.55rem 1.3rem; flex-shrink: 0; }

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
}
.footer__socials {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer__socials a {
  font-weight: 600;
  transition: color 0.15s ease;
}
.footer__socials a:hover { color: var(--ginger); }
.footer__disclaimer {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 820px;
  margin-bottom: 1.6rem;
}
.footer__credit {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.footer__credit strong { color: var(--cream); font-weight: 700; }
.footer__xcredit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--cream);
  transition: color 0.15s ease;
}
.footer__xcredit:hover { color: var(--ginger); }
.footer__xlogo {
  width: 0.95em;
  height: 0.95em;
  fill: currentColor;
  flex-shrink: 0;
}
.footer__copy { font-size: 0.85rem; opacity: 0.55; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  /* Hidden well below the viewport — must clear its own height + the 28px offset,
     or the top of the pill peeks up as a blue blob at the bottom-center. */
  transform: translateX(-50%) translateY(calc(100% + 40px));
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trade__grid { grid-template-columns: 1fr; }
  .meme-grid { column-count: 2; }
  .pfp__grid { grid-template-columns: 1fr; }

  .nav__burger { display: flex; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-d);
    padding: 0 clamp(1.1rem, 4vw, 3rem);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav__links.open {
    max-height: 320px;
    padding: 0.8rem clamp(1.1rem, 4vw, 3rem) 1.2rem;
    box-shadow: 0 16px 28px rgba(26, 24, 20, 0.14);
  }
  .nav__links a { padding: 0.6rem 0; width: 100%; }
}

@media (max-width: 520px) {
  .how__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .meme-grid { column-count: 1; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cat { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
