/* ============================================================
   Jonze the ape — drawn like a kid's drawing book.
   plain white paper, crayon colors, handwriting. no animation.
   ============================================================ */

:root {
  --paper: #ffffff;
  --ink: #2b2b2b;
  --muted: #6f6f6f;

  --yellow: #f2b705;   /* crayon yellow */
  --banana: #fcd00b;   /* logo background yellow */
  --brown: #8a5a2b;    /* ape fur brown */
  --tan: #c08a4a;      /* light brown */
  --red: #e0533f;      /* crayon red */
  --blue: #3f7fc4;     /* crayon blue */
  --green: #4a9e5a;    /* crayon green */
  --orange: #ef9a3c;   /* crayon orange */
  --pink: #e868a8;     /* crayon pink */

  --hand: "Patrick Hand", "Comic Sans MS", "Segoe Print", cursive;
  --big: "Gochi Hand", "Comic Sans MS", "Segoe Print", cursive;
  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 2.5px solid var(--ink);
}
.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 22px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.brand-name { font-family: var(--big); font-size: 27px; color: var(--ink); line-height: 1; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--big);
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 8px;
  border: 2px solid transparent;
}
.nav-links a:hover { border-color: var(--ink); }
.nav-links a.active { border-color: var(--ink); background: #fff6c9; }

/* ============================================================
   HERO
   ============================================================ */
.hero { text-align: center; padding: 30px 0 6px; }
.hero-logo {
  width: 240px;
  max-width: 70vw;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(43, 43, 43, 0.16);
  transform: rotate(-1.6deg);
  display: block;
  margin: 4px auto 24px;
}
.eyebrow {
  font-family: var(--big);
  font-size: 17px;
  color: var(--muted);
}
.wordmark {
  font-family: var(--big);
  font-size: clamp(48px, 9vw, 84px);
  line-height: 1;
  margin: 8px 0 2px;
  letter-spacing: 1px;
}
.wordmark .w1 { color: var(--brown); }
.wordmark .w2 { color: var(--ink); }
.wordmark .w3 { color: var(--red); }
.scribble-underline { display: block; width: 260px; margin: 6px auto 12px; }
.hero-sub {
  max-width: 560px;
  margin: 4px auto 0;
  font-size: 19px;
  color: var(--muted);
}
.hero-sub em { font-style: normal; color: var(--red); }
.hero-cta { margin-top: 26px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--big);
  font-size: 20px;
  padding: 11px 24px;
  border-radius: 12px 6px 12px 6px / 6px 12px 6px 12px;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 rgba(43, 43, 43, 0.18);
  transform: rotate(-0.5deg);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-1px, -1px) rotate(-1.2deg); box-shadow: 7px 7px 0 rgba(43, 43, 43, 0.18); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-accent { background: var(--red); color: #fff; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 48px 0 8px; }
.section.alt { padding-top: 52px; }
.sec-head { text-align: center; margin-bottom: 26px; }
.sec-label { font-family: var(--big); font-size: 16px; color: var(--muted); }
.sec-title {
  font-family: var(--big);
  font-size: clamp(30px, 5vw, 40px);
  color: var(--ink);
  margin: 4px 0 2px;
}
.sec-title em { font-style: normal; color: var(--red); }
.sec-sub { max-width: 560px; margin: 6px auto 0; font-size: 17px; color: var(--muted); }
.sec-underline { display: block; width: 120px; margin: 8px auto 0; }

/* three things cards */
.things { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.thing {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  padding: 20px 18px 22px;
  box-shadow: 5px 5px 0 rgba(43, 43, 43, 0.13);
  text-align: center;
}
.thing:nth-child(1) { transform: rotate(-0.7deg); }
.thing:nth-child(2) { transform: rotate(0.6deg); }
.thing:nth-child(3) { transform: rotate(-0.4deg); }
.thing .tico { font-size: 34px; display: block; margin-bottom: 6px; }
.thing h3 { font-family: var(--big); font-size: 23px; color: var(--ink); margin-bottom: 6px; }
.thing p { font-size: 16px; color: var(--muted); }

/* about panel */
.about-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: center;
  background: #fffdf0;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 7px 7px 0 rgba(43, 43, 43, 0.14);
  padding: 28px 30px;
}
.about-panel img {
  width: 100%;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  border: 2.5px solid var(--ink);
  transform: rotate(1.4deg);
}
.about-panel h3 { font-family: var(--big); font-size: 28px; margin-bottom: 8px; }
.about-panel p { font-size: 17px; color: var(--muted); }
.about-panel p + p { margin-top: 10px; }
.about-panel em { font-style: normal; color: var(--red); }

/* NFT teaser band */
.teaser {
  text-align: center;
  padding: 34px 26px;
  background: #fff6c9;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 7px 7px 0 rgba(43, 43, 43, 0.14);
  transform: rotate(-0.3deg);
}
.teaser h3 { font-family: var(--big); font-size: 30px; margin-bottom: 6px; }
.teaser p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto 18px; }

/* ============================================================
   NFT PAGE — blurred + coming soon
   ============================================================ */
.nft-soon {
  position: relative;
  min-height: calc(100vh - 63px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 22px;
}
.blur-bg {
  position: absolute;
  inset: -40px;
  background-image: url(logo.jpg);
  background-size: 300px auto;
  background-repeat: repeat;
  filter: blur(16px) saturate(0.95);
  transform: scale(1.15);
}
.coming-soon {
  position: relative;
  z-index: 2;
  text-align: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 10px 10px 0 rgba(43, 43, 43, 0.18);
  padding: 44px 54px;
  transform: rotate(-1deg);
}
.coming-soon .cs-eyebrow { font-family: var(--big); font-size: 16px; color: var(--muted); }
.coming-soon h1 {
  font-family: var(--big);
  font-size: clamp(44px, 9vw, 80px);
  line-height: 1;
  margin: 6px 0 4px;
  color: var(--red);
}
.coming-soon p { font-size: 18px; color: var(--muted); max-width: 420px; margin: 0 auto; }
.coming-soon .btn { margin-top: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { margin-top: 56px; border-top: 2.5px solid var(--ink); }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 28px 22px 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.footer-brand .brand-logo { width: 34px; height: 34px; }
.footer-name { font-family: var(--big); font-size: 26px; }
.footer-tag { color: var(--muted); font-size: 15px; margin-top: 6px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.fcol { display: flex; flex-direction: column; gap: 7px; }
.fcol h4 { font-family: var(--big); font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.fcol a, .fcol span { color: var(--muted); font-size: 15px; text-decoration: none; }
.fcol a:hover { color: var(--blue); }
.footer-bottom {
  max-width: 1040px;
  margin: 18px auto 0;
  padding: 14px 22px 24px;
  border-top: 1.5px dotted rgba(43, 43, 43, 0.35);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom span { color: var(--muted); font-size: 14px; }
.footer-bottom b { color: var(--ink); }

/* ============================================================
   PROSE (legal)
   ============================================================ */
.prose { max-width: 720px; margin: 30px auto; padding: 0 22px; }
.prose h1 { font-family: var(--big); font-size: 44px; margin-bottom: 8px; }
.prose h2 { font-family: var(--big); font-size: 26px; margin: 26px 0 8px; }
.prose p { font-size: 17px; color: var(--muted); margin-bottom: 12px; }
.prose p b { color: var(--ink); }
.prose ul { margin: 6px 0 12px 24px; }
.prose li { margin-bottom: 8px; font-size: 16px; color: var(--muted); }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
#cookie-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1000;
  border: 2.5px solid var(--ink);
  border-radius: 16px 8px 16px 8px / 8px 16px 8px 16px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(43, 43, 43, 0.2);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#cookie-consent.cc-hide { display: none; }
.cc-text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.cc-text b { color: var(--ink); font-family: var(--big); font-size: 18px; }
.cc-text a { color: var(--blue); }
.cc-actions { display: flex; gap: 10px; }
.cc-btn {
  font-family: var(--big);
  font-size: 16px;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid var(--ink);
}
.cc-accept { background: #fff6c9; color: var(--ink); }
.cc-reject { background: #fff; color: var(--muted); }

/* ============================================================
   STORY PAGE
   ============================================================ */
.story { max-width: 700px; margin: 34px auto 10px; padding: 0 22px; }
.story-hero { text-align: center; margin-bottom: 26px; }
.story-hero .cs-eyebrow { font-family: var(--big); font-size: 16px; color: var(--muted); }
.story-title {
  font-family: var(--big);
  font-size: clamp(42px, 8vw, 64px);
  line-height: 1;
  margin: 4px 0 2px;
  color: var(--ink);
}
.story-sub { font-family: var(--big); font-size: 19px; color: var(--muted); margin-top: 8px; }
.story p { font-size: 19px; line-height: 1.7; color: var(--ink); margin-bottom: 16px; }
.story .first { font-family: var(--big); font-size: 22px; }
.story em { font-style: normal; color: var(--red); }
.story .kick {
  font-family: var(--big);
  font-size: 22px;
  color: var(--brown);
  margin: 26px 0 10px;
}
.story .kick::before { content: "~ "; color: var(--muted); }
.story .doodle { display: block; width: 110px; margin: 30px auto; opacity: .95; }
.story .ending {
  margin-top: 34px;
  padding: 26px 28px;
  background: #fff6c9;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 7px 7px 0 rgba(43, 43, 43, 0.14);
  transform: rotate(-0.4deg);
}
.story .ending p { margin-bottom: 12px; }
.story .ending p:last-child { margin-bottom: 0; }
.story .ending-big {
  font-family: var(--big);
  font-size: 30px;
  color: var(--red);
  margin: 4px 0 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .things { grid-template-columns: 1fr; }
  .about-panel { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .nav-links a { font-size: 15px; padding: 5px 8px; }
  .hero-logo { width: 190px; }
}
