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

:root {
  --cream: #f7f3ea;
  --paper: #f4efe4;
  --lawn-deep: #1d3322;
  --harness: #6d3ed4;
  --harness-bright: #b794f6;
  --ink: #16140f;
  --muted: #66705f;
  --line: rgba(22, 20, 15, 0.08);
  --card: #fffdf8;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(1.1rem, 3.2vw, 2.2rem);
  --wrap: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.paw-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
}

.paw-stamp {
  position: absolute;
  width: var(--paw-size, 36px);
  height: var(--paw-size, 36px);
  margin: calc(var(--paw-size, 36px) / -2) 0 0 calc(var(--paw-size, 36px) / -2);
  color: var(--harness);
  opacity: 0;
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.4);
  animation: paw-press var(--paw-life, 1.3s) ease-out forwards;
}

.paw-stamp svg { width: 100%; height: 100%; display: block; }

@keyframes paw-press {
  0% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(0.4); }
  18% { opacity: 0.5; transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(calc(var(--rot) + 8deg)) scale(0.9); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(244, 239, 228, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.nav-logo,
.footer .nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.nav-titles strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-titles em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--harness);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lawn-deep);
}

.nav-links a:hover { color: var(--harness); }

.nav-end { display: flex; align-items: center; gap: 0.4rem; }

.nav-chip {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.nav-chip:hover { background: var(--harness); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  padding: 3.2rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.ticker-pill {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #efe4ff;
  color: var(--harness);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-title span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--harness);
}

.hero-lede {
  max-width: 32em;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--harness);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 28rem;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.hero-stats dd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(22, 20, 15, 0.12);
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--harness);
  margin-bottom: 0.7rem;
}

.section-head {
  max-width: 38em;
  margin-bottom: 1.8rem;
}

.proof h2,
.story h2,
.look h2,
.token h2,
.buy h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.proof p,
.story p,
.token-side p { color: var(--muted); }

.proof strong,
.story strong { color: var(--ink); }

/* Proof / social */
.proof { padding: 1rem 0 4.5rem; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.embed-card {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(22, 20, 15, 0.06);
}

.clip-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--harness);
  margin-bottom: 0.8rem;
}

.clip-bar a { color: var(--muted); text-decoration: none; }
.clip-bar a:hover { color: var(--harness); }

.social-card header { display: grid; margin-bottom: 0.45rem; }
.social-card header span { color: #666; font-size: 0.85rem; }
.social-card p { font-weight: 600; margin-bottom: 0.75rem; color: var(--ink); }
.social-card a { font-weight: 800; font-size: 0.85rem; color: var(--harness); }

.embed-frame { display: flex; justify-content: center; }

.embed-card:not(.is-embedded) .embed-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.embed-card { position: relative; }
.embed-card.is-embedded .social-card { display: none; }

twitter-widget {
  margin: 0 auto !important;
  max-width: 100% !important;
}

/* Instagram widget — always visible */
.ig-widget {
  border: 1px solid #efefef;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.9rem;
}

.ig-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.ig-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 40%;
  padding: 2px;
  background: conic-gradient(from 180deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34);
}

.ig-user strong {
  display: block;
  font-size: 0.92rem;
}

.ig-user span {
  display: block;
  color: #737373;
  font-size: 0.78rem;
}

.ig-follow {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: #0095f6;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.ig-bio {
  padding: 0 0.9rem 0.75rem;
  color: #262626 !important;
  font-size: 0.88rem;
}

.ig-feed {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: #fff;
}

.ig-feed img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ig-post {
  margin-top: 0.85rem;
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
  min-height: 540px;
}

.ig-frame {
  display: block;
  width: 100%;
  min-height: 540px;
  height: 720px;
  border: 0;
  background: #fff;
}

/* Story */
.story { padding: 0 0 4.5rem; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.story-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
}

.story-copy blockquote {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--harness);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
}

/* Memes */
.look {
  padding: 3.4rem 0 4.2rem;
  background: var(--ink);
  color: var(--cream);
}

.look .eyebrow { color: var(--harness-bright); }
.look h2 { color: var(--cream); }
.look-head { margin-bottom: 1.4rem; }

.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.tile {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a16;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.t-wide img { aspect-ratio: 16 / 10; }

.meme-grid .tile:first-child {
  grid-column: 1 / 3;
}

.meme-grid .tile:last-child {
  grid-column: 1 / -1;
}

/* Token */
.token { padding: 4.5rem 0; }

.token-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.token-side { min-width: 0; }
.token-chart { min-width: 0; display: flex; }

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.1rem 0 0.4rem;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  background: var(--ink);
  border-radius: 16px;
}

.ca-address {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--harness-bright);
}

.copy-toast {
  min-height: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--harness);
  opacity: 0;
}

.copy-toast.show { opacity: 1; }

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--harness);
  text-decoration: none;
  border-bottom: 1px solid var(--harness-bright);
}

.nomics {
  margin-top: 0.4rem;
  padding: 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 18px;
}

.nomics-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--harness-bright);
}

.nomics-head em { font-style: normal; color: #cbb48a; }

.nomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.nomics-grid li {
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(183, 148, 246, 0.16);
  border-radius: 12px;
}

.nomics-grid span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbb48a;
}

.nomics-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--harness-bright);
  margin: 0.12rem 0;
}

.nomics-grid small { color: #8f7a5e; font-size: 0.72rem; }

.nomics-note {
  margin-top: 0.75rem;
  font-size: 0.8rem !important;
  color: #cbb48a !important;
}

.chart-wrapper {
  min-height: 460px;
  width: 100%;
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
}

.chart-wrapper.is-tba {
  min-height: 280px;
  display: grid;
  place-items: center;
}

.chart-tba { text-align: center; color: var(--cream); padding: 2rem; }
.chart-tba img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.chart-tba span {
  display: block;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--harness-bright);
  font-size: 0.7rem;
}
.chart-tba strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--harness-bright);
}

.dexscreener-embed {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

/* Buy */
.buy { padding: 0 0 4.5rem; }

.buy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  color: var(--cream);
}

.buy-visual {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.buy-panel { padding: clamp(1.5rem, 4vw, 2.6rem); }
.buy .eyebrow { color: var(--harness-bright); }
.buy h2 { color: var(--cream); }

.buy-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1.4rem 0 1.5rem;
}

.buy-steps li {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(183, 148, 246, 0.18);
  border-radius: 14px;
}

.buy-steps b {
  font-family: var(--font-mono);
  color: var(--harness-bright);
  font-size: 0.68rem;
}

.buy-steps h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.15rem 0 0.25rem;
}

.buy-steps p { color: #cbb48a; font-size: 0.88rem; }
.buy .btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px currentColor; }

/* Footer */
.footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--lawn-deep);
}

.footer-links a:hover { color: var(--harness); }

.fineprint {
  color: var(--muted);
  font-size: 0.76rem;
  max-width: 46em;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .paw-layer { display: none; }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.8rem var(--pad) 1rem;
    background: rgba(244, 239, 228, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header { position: sticky; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-titles strong { font-size: 0.82rem; }

  .hero-grid,
  .social-grid,
  .story-grid,
  .token-grid,
  .buy-grid,
  .buy-steps {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .hero-portrait { aspect-ratio: 1; }

  .meme-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meme-grid .tile:first-child,
  .meme-grid .tile:last-child {
    grid-column: 1 / -1;
  }

  .ig-post,
  .ig-frame { min-height: 480px; height: 620px; }
}
