/* ============================================
   MIA BUNNY — kawaii meadow scrapbook on TON
   Palette pulled directly from the GIFs:
     pink fur, blue eyes, green meadow, yellow daisies, plum outlines.
   Fonts: Bagel Fat One (matches the chunky outlined cartoon text in
   the assets like "Hi" and "Miss You") + Caveat (handwritten captions).
   No marquees in body — they don't fit a sticker-book mascot.
   Each section has its own purpose-built layout:
     banner = scalloped ribbon
     hero   = scattered craft table
     about  = comic strip with arrows
     manifesto = lined-paper love note
     tokenomics = charm bracelet
     join   = fanned movie tickets
     footer ribbon = tilted hand-drawn banner (the only ticker)
   ============================================ */

:root {
  /* mascot-driven palette */
  --pink: #ffb3cd; /* Mia fur */
  --pink-deep: #ff6f9c; /* cheeks / heart */
  --pink-soft: #ffe1ec; /* blush wash */
  --eye-blue: #5fc3ff; /* Mia's eye color (also doubles as TON nod) */
  --eye-blue-d: #2da3e8;
  --meadow: #b8e394; /* meadow green */
  --meadow-d: #7fc858;
  --daisy: #ffe27a; /* yellow flower centers */
  --cream: #fff7f0;
  --cloud: #ffffff;

  --ton-blue: #0098ea;

  --ink: #4a2868; /* deep plum, matches outlines on the GIF text */

  --shadow-sm: 0 4px 0 var(--ink);
  --shadow-md: 0 8px 0 var(--ink);
  --shadow-lg: 0 12px 0 var(--ink);
  --shadow-soft: 0 12px 28px rgba(74, 40, 104, 0.18);

  --border: 4px solid var(--ink);
  --border-thick: 6px solid var(--ink);
  --border-dash: 4px dashed var(--ink);

  --r-card: 24px;
  --r-pillow: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* scrapbook-paper bg: faint horizontal notebook lines + a left margin line */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(
      180deg,
      transparent 39px,
      rgba(74, 40, 104, 0.06) 40px,
      transparent 41px
    ),
    linear-gradient(
      90deg,
      transparent 78px,
      rgba(255, 111, 156, 0.22) 79px,
      rgba(255, 111, 156, 0.22) 80px,
      transparent 81px
    );
  background-size:
    100% 40px,
    100% 100%;
  background-repeat: repeat, no-repeat;
}

/* large fixed corner pressed-flowers (subtle, unmoving) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 4% 8%, var(--pink-soft) 0 80px, transparent 90px),
    radial-gradient(circle at 96% 12%, var(--meadow) 0 60px, transparent 72px),
    radial-gradient(circle at 6% 92%, var(--pink) 0 70px, transparent 84px),
    radial-gradient(circle at 94% 88%, var(--daisy) 0 55px, transparent 68px);
  opacity: 0.55;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   BANNER HEADER — scalloped ribbon
   Logo as a charm hanging from a string,
   nav links as tilted candy chips,
   chain badge as a heart sticker.
   ============================================ */
.banner {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav heart";
  align-items: center;
  padding: 8px 28px 14px;
  gap: 16px;
}
.logo-charm {
  grid-area: logo;
}
.chip-nav {
  grid-area: nav;
}
.ton-heart {
  grid-area: heart;
}
.banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--pink-deep) 0%, var(--pink) 100%);
  border-bottom: var(--border-thick);
  z-index: -1;
  /* scalloped bottom edge */
  -webkit-mask: radial-gradient(
      circle 12px at 12px 100%,
      transparent 12px,
      #000 13px
    )
    repeat-x;
  mask: radial-gradient(circle 12px at 12px 100%, transparent 12px, #000 13px)
    repeat-x;
  -webkit-mask-size: 24px 100%;
  mask-size: 24px 100%;
  -webkit-mask-position: 0 0;
}

/* logo charm — hangs below the banner on a string */
.logo-charm {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  text-decoration: none;
  z-index: 5;
}
.logo-string {
  width: 3px;
  height: 18px;
  background: var(--ink);
  margin-bottom: -4px;
}
.logo-charm img {
  width: 64px;
  height: 64px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--cloud);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  animation: bob 2.4s ease-in-out infinite;
}
.logo-name {
  position: absolute;
  bottom: -6px;
  font-size: 22px;
  color: var(--cloud);
  text-shadow: 2px 2px 0 var(--ink);
  background: var(--pink-deep);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 1px 12px;
  transform: rotate(-4deg);
}

/* tilted candy chip nav links */
.chip-nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  font-size: 20px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  color: var(--ink);
  text-shadow: 1.5px 1.5px 0 var(--cloud);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.chip-1 {
  background: var(--cloud);
  transform: rotate(-3deg);
}
.chip-2 {
  background: var(--daisy);
  transform: rotate(2deg);
}
.chip-3 {
  background: var(--eye-blue);
  color: var(--cloud);
  text-shadow: 1.5px 1.5px 0 var(--ink);
  transform: rotate(-2deg);
}
.chip-4 {
  background: var(--meadow);
  transform: rotate(3deg);
}
.chip:hover {
  transform: rotate(0) scale(1.08);
  box-shadow: var(--shadow-md);
}

/* TON chain heart — sized up, prominent */
.ton-heart {
  position: relative;
  width: 110px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
  animation: bob 2.6s ease-in-out infinite;
  filter: drop-shadow(4px 0 0 var(--ink)) drop-shadow(-4px 0 0 var(--ink))
    drop-shadow(0 4px 0 var(--ink)) drop-shadow(0 -4px 0 var(--ink))
    drop-shadow(0 8px 0 var(--ink))
    drop-shadow(0 14px 16px rgba(74, 40, 104, 0.25));
}
.ton-heart-shape {
  position: absolute;
  inset: 0;
  background: var(--ton-blue);
  /* heart silhouette via polygon — scales with container */
  clip-path: polygon(
    50% 100%,
    6% 68%,
    0% 35%,
    6% 14%,
    22% 0%,
    38% 4%,
    50% 18%,
    62% 4%,
    78% 0%,
    94% 14%,
    100% 35%,
    94% 68%
  );
}
.ton-heart-text {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1;
  color: var(--cloud);
  padding-bottom: 14px;
}
.ton-gem {
  display: block;
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}
.ton-word {
  display: block;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-shadow: 2px 2px 0 var(--ink);
  margin-top: 2px;
}

/* "built on TON" ribbon — prominent banner above the wordmark */
.ton-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ton-blue);
  color: var(--cloud);
  padding: 10px 28px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  font-size: clamp(18px, 1.8vw, 26px);
  text-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  animation: bob 3s ease-in-out infinite 0.4s;
  white-space: nowrap;
}
.ton-ribbon-gem {
  font-size: 1.2em;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.ton-ribbon-text {
  text-transform: lowercase;
}

/* ============================================
   HERO — flow layout, chaos via per-element tilts
   ============================================ */
.hero {
  position: relative;
  padding: 60px 32px 80px;
  z-index: 1;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  text-align: center;
  position: relative;
  z-index: 4;
}

/* hero banner image — replaces the CSS wordmark */
.hero-banner-wrap {
  margin: 0;
  display: block;
  line-height: 0;
  width: 100%;
  text-align: center;
}
.hero-banner {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border: 5px solid var(--ink);
  border-radius: 16px;
  background: var(--cloud);
  box-shadow:
    0 12px 0 var(--ink),
    0 16px 28px rgba(74, 40, 104, 0.22);
  transform: rotate(-1.5deg);
  animation: bob 3.4s ease-in-out infinite;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ft-badge {
  display: inline-block;
  background: var(--pink-deep);
  color: var(--cloud);
  border: 4px solid var(--ink);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
  text-shadow: 2px 2px 0 var(--ink);
  animation: bob 3.2s ease-in-out infinite;
  white-space: nowrap;
}

.utya-inline {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
  vertical-align: -0.4em;
  background: var(--cloud);
}

/* hero body — 2 cols, copy left, polaroid stack right */
.hero-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* polaroid stack — relative + child absolutes for overlap */
.hero-polaroid-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.hero-polaroid {
  position: absolute;
  background: var(--cloud);
  padding: 12px 12px 10px;
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-lg), var(--shadow-soft);
}
.hero-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--cream);
  border-radius: 3px;
  display: block;
}
/* shuffle: each polaroid takes turns being front / middle / back over a 9s cycle */
.hp-1 {
  top: 4%;
  left: 0;
  width: 56%;
  animation: shuffle-1 5s ease-in-out infinite;
}
.hp-2 {
  top: 14%;
  right: 0;
  width: 70%;
  animation: shuffle-2 5s ease-in-out infinite;
}
.hp-3 {
  bottom: 0;
  left: 22%;
  width: 52%;
  animation: shuffle-3 5s ease-in-out infinite;
}

@keyframes shuffle-1 {
  /* hp-1 base rotation: -9deg.  middle → back → front */
  0%,
  33% {
    z-index: 2;
    transform: rotate(-9deg) scale(1) translateY(0);
  }
  34%,
  66% {
    z-index: 1;
    transform: rotate(-9deg) scale(0.9) translateY(8px);
  }
  67%,
  100% {
    z-index: 3;
    transform: rotate(-9deg) scale(1.08) translateY(-10px);
  }
}
@keyframes shuffle-2 {
  /* hp-2 base rotation: 5deg.   front → middle → back */
  0%,
  33% {
    z-index: 3;
    transform: rotate(5deg) scale(1.08) translateY(-10px);
  }
  34%,
  66% {
    z-index: 2;
    transform: rotate(5deg) scale(1) translateY(0);
  }
  67%,
  100% {
    z-index: 1;
    transform: rotate(5deg) scale(0.9) translateY(8px);
  }
}
@keyframes shuffle-3 {
  /* hp-3 base rotation: -4deg.  back → front → middle */
  0%,
  33% {
    z-index: 1;
    transform: rotate(-4deg) scale(0.9) translateY(8px);
  }
  34%,
  66% {
    z-index: 3;
    transform: rotate(-4deg) scale(1.08) translateY(-10px);
  }
  67%,
  100% {
    z-index: 2;
    transform: rotate(-4deg) scale(1) translateY(0);
  }
}
.hp-cap {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1;
}

/* taped tagline note */
.taped-note {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--cloud);
  border: var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
.taped-note p {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  color: var(--ink);
}
.taped-note p em {
  color: var(--pink-deep);
  font-style: normal;
}
.tape {
  position: absolute;
  width: 86px;
  height: 22px;
  opacity: 0.9;
  border: 2px solid var(--ink);
}
.tape-tl {
  top: -10px;
  left: 24px;
  transform: rotate(-12deg);
  background: var(--pink-deep);
}
.tape-br {
  bottom: -10px;
  right: 24px;
  transform: rotate(-8deg);
  background: var(--eye-blue);
}

/* CTA stamps — chunky tilted sticker buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.stamp {
  display: inline-block;
  padding: 16px 26px;
  border: 4px solid var(--ink);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  /* dotted outline inside, like a postage perforation */
  outline: 3px dotted var(--ink);
  outline-offset: -10px;
}
.stamp-inner {
  display: block;
  font-size: 22px;
  letter-spacing: 0.03em;
  line-height: 1.05;
}
.stamp-inner small {
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
}
.stamp:hover {
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: var(--shadow-lg);
}
.stamp-buy {
  background: var(--pink-deep);
  color: var(--cloud);
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-4deg);
  outline-color: var(--cloud);
}
.stamp-tg {
  background: var(--daisy);
  color: var(--ink);
  transform: rotate(3deg);
}

/* luggage tag — CA contract */
.luggage-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-3deg);
  animation: bob 3.5s ease-in-out infinite;
  align-self: flex-start;
}
.luggage-string {
  width: 3px;
  height: 28px;
  background: var(--ink);
}
.luggage-hole {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--ink);
  margin-bottom: -10px;
  position: relative;
  z-index: 2;
}
.luggage-body {
  background: var(--cloud);
  border: 3px solid var(--ink);
  border-radius: 12px 12px 14px 14px;
  padding: 22px 22px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  max-width: 320px;
}
.lt-label {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--pink-deep);
  line-height: 1;
}
.lt-value {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  word-break: break-all;
  text-align: center;
}
.lt-copy {
  background: var(--pink-deep);
  color: var(--cloud);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 16px;
  font-family: "Bagel Fat One", sans-serif;
  font-size: 14px;
  text-shadow: 1px 1px 0 var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.lt-copy:hover {
  background: var(--eye-blue);
}
.lt-copy.copied {
  background: var(--meadow);
  color: var(--ink);
  text-shadow: none;
}

/* sparkles */
.sparkle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
  filter: drop-shadow(2px 2px 0 var(--ink));
}
.s-1 {
  top: 4%;
  left: 38%;
  color: var(--pink-deep);
  font-size: 38px;
  animation-delay: 0s;
}
.s-2 {
  top: 28%;
  left: 48%;
  color: var(--eye-blue);
  font-size: 42px;
  animation-delay: 0.5s;
}
.s-3 {
  top: 38%;
  right: 42%;
  color: var(--daisy);
  font-size: 30px;
  animation-delay: 1s;
}
.s-4 {
  top: 62%;
  left: 44%;
  color: var(--pink-deep);
  font-size: 36px;
  animation-delay: 1.5s;
}
.s-5 {
  bottom: 30%;
  right: 36%;
  color: var(--meadow-d);
  font-size: 32px;
  animation-delay: 0.3s;
}
.s-6 {
  bottom: 8%;
  left: 56%;
  color: var(--pink-deep);
  font-size: 28px;
  animation-delay: 1.2s;
}
.s-7 {
  top: 70%;
  right: 30%;
  color: var(--eye-blue);
  font-size: 30px;
  animation-delay: 0.8s;
}

/* ============================================
   STAT STRIP (small flair, fits Mia's playful list-y voice)
   ============================================ */
.stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 40px 24px 70px;
}
.stat-pill {
  background: var(--cloud);
  border: var(--border);
  border-radius: var(--r-pillow);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s;
}
.stat-pill:nth-child(1) {
  transform: rotate(-3deg);
  background: var(--pink-deep);
  color: var(--cloud);
  text-shadow: 1.5px 1.5px 0 var(--ink);
}
.stat-pill:nth-child(2) {
  transform: rotate(2deg);
  background: var(--eye-blue);
  color: var(--cloud);
  text-shadow: 1.5px 1.5px 0 var(--ink);
}
.stat-pill:nth-child(3) {
  transform: rotate(-2deg);
  background: var(--meadow);
}
.stat-pill:nth-child(4) {
  transform: rotate(3deg);
  background: var(--daisy);
}
.stat-pill:hover {
  transform: rotate(0) scale(1.06);
  box-shadow: var(--shadow-lg);
}
.stat-emoji {
  font-size: 28px;
}
.stat-num {
  font-size: 26px;
}
.stat-label {
  font-size: 16px;
  letter-spacing: 0.04em;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-size: clamp(56px, 10vw, 120px);
  text-align: center;
  color: var(--cloud);
  -webkit-text-stroke: 3px var(--ink);
  text-stroke: 3px var(--ink);
  text-shadow:
    6px 6px 0 var(--pink-deep),
    12px 12px 0 var(--eye-blue);
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.section-sub {
  font-family: "Caveat", cursive;
  font-weight: 700;
  text-align: center;
  font-size: 28px;
  margin-bottom: 56px;
  color: var(--ink);
}

/* ============================================
   ABOUT — comic strip with arrows
   ============================================ */
.about {
  position: relative;
  padding: 90px 24px;
  z-index: 1;
}

.comic-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.panel {
  position: relative;
  width: clamp(240px, 26vw, 320px);
  background: var(--cloud);
  border: 5px solid var(--ink);
  border-radius: 12px;
  padding: 36px 22px 24px;
  text-align: center;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 3px var(--cloud),
    inset 0 0 0 5px var(--ink);
  transition: transform 0.2s;
}
.panel-1 {
  transform: rotate(-3deg);
  background: var(--cloud);
}
.panel-2 {
  transform: rotate(2deg);
  background: var(--pink-soft);
}
.panel-3 {
  transform: rotate(-2deg);
  background: var(--meadow);
}
.panel:hover {
  transform: rotate(0) translateY(-8px) scale(1.03);
}

.panel-num {
  position: absolute;
  top: -22px;
  left: -18px;
  width: 50px;
  height: 50px;
  background: var(--pink-deep);
  color: var(--cloud);
  border: 4px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-shadow: 2px 2px 0 var(--ink);
  box-shadow: var(--shadow-sm);
  transform: rotate(-12deg);
  z-index: 2;
}
.panel-2 .panel-num {
  background: var(--eye-blue);
}
.panel-3 .panel-num {
  background: var(--daisy);
  color: var(--ink);
  text-shadow: 1px 1px 0 var(--cloud);
}

.panel-tape {
  position: absolute;
  top: -12px;
  right: 26px;
  width: 80px;
  height: 22px;
  background: var(--eye-blue);
  border: 2px solid var(--ink);
  opacity: 0.85;
  transform: rotate(8deg);
}
.panel-2 .panel-tape {
  background: var(--daisy);
}
.panel-3 .panel-tape {
  background: var(--pink-deep);
}

.panel img {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  object-fit: cover;
  animation: bob 3s ease-in-out infinite;
  box-shadow: 0 5px 0 var(--ink);
}
.panel-2 img {
  animation-delay: 0.4s;
}
.panel-3 img {
  animation-delay: 0.8s;
}

.panel p {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
}

.panel-arrow {
  font-size: 56px;
  color: var(--pink-deep);
  filter: drop-shadow(3px 3px 0 var(--ink));
  animation: pulse 1.6s ease-in-out infinite;
}

/* ============================================
   MANIFESTO — lined-paper love note
   ============================================ */
.manifesto {
  position: relative;
  padding: 90px 24px 100px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.manifesto-card {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: var(--cream);
  border: 5px solid var(--ink);
  border-radius: 14px;
  padding: 48px 36px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-soft);
  transform: rotate(-1.5deg);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 38px,
    rgba(74, 40, 104, 0.1) 38px,
    rgba(74, 40, 104, 0.1) 39px
  );
}
.manifesto-stamp {
  display: inline-block;
  background: var(--pink-deep);
  color: var(--cloud);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 4px 18px;
  font-family: "Bagel Fat One", sans-serif;
  font-size: 16px;
  text-shadow: 1.5px 1.5px 0 var(--ink);
  letter-spacing: 0.06em;
  transform: rotate(-3deg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.manifesto-body {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 16px;
}
.manifesto-body em {
  color: var(--pink-deep);
  font-style: italic;
}
.manifesto-sign {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 30px;
  color: var(--pink-deep);
  text-align: right;
  padding-right: 34px;
}
.manifesto-sticker {
  position: absolute;
  bottom: -36px;
  right: -28px;
  width: 130px;
  height: 130px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--cloud);
  transform: rotate(12deg);
  box-shadow: var(--shadow-md);
  animation: float-bob 4s ease-in-out infinite;
}
.washi {
  position: absolute;
  width: 100px;
  height: 22px;
  border: 2px solid var(--ink);
  opacity: 0.9;
}
.washi-tl {
  top: -12px;
  left: 36px;
  transform: rotate(-12deg);
  background: var(--pink-deep);
}
.washi-tr {
  top: -12px;
  right: 36px;
  transform: rotate(8deg);
  background: var(--eye-blue);
}
.sm-1 {
  top: 8%;
  left: 8%;
  font-size: 38px;
  color: var(--pink-deep);
  animation-delay: 0s;
}
.sm-2 {
  top: 15%;
  right: 10%;
  font-size: 40px;
  color: var(--eye-blue);
  animation-delay: 0.7s;
}
.sm-3 {
  bottom: 12%;
  left: 14%;
  font-size: 34px;
  color: var(--daisy);
  animation-delay: 1.3s;
}

/* ============================================
   TOKENOMICS — charm bracelet
   3 hearts hanging from a horizontal ribbon rail
   ============================================ */
.tokenomics {
  position: relative;
  padding: 100px 24px 130px;
  z-index: 1;
}

.bracelet {
  position: relative;
  max-width: 1100px;
  margin: 60px auto 0;
}

.bracelet-rail {
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 14px;
  background: var(--pink-deep);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-1deg);
  z-index: 1;
}

.charm {
  position: relative;
  display: inline-block;
  width: 30%;
  vertical-align: top;
  text-align: center;
  padding-top: 22px;
}
.bracelet {
  display: flex;
  justify-content: space-around;
  gap: 16px;
  padding-top: 14px;
}
.charm {
  width: auto;
  flex: 1 1 240px;
  max-width: 280px;
}

.charm-loop {
  position: relative;
  display: block;
  margin: 0 auto -2px;
  width: 26px;
  height: 26px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  z-index: 3;
}
.charm-string {
  display: block;
  width: 3px;
  height: 28px;
  background: var(--ink);
  margin: 0 auto -4px;
  z-index: 2;
}

/* heart-shaped charm using clip-path with drop-shadow filter for the border */
.charm-heart {
  position: relative;
  width: 240px;
  max-width: 100%;
  aspect-ratio: 1 / 1.05;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22% 14% 24%;
  text-align: center;
  filter: drop-shadow(4px 0 0 var(--ink)) drop-shadow(-4px 0 0 var(--ink))
    drop-shadow(0 4px 0 var(--ink)) drop-shadow(0 -4px 0 var(--ink))
    drop-shadow(0 12px 16px rgba(74, 40, 104, 0.18));
  clip-path: polygon(
    50% 100%,
    6% 68%,
    0% 35%,
    6% 14%,
    22% 0%,
    38% 4%,
    50% 18%,
    62% 4%,
    78% 0%,
    94% 14%,
    100% 35%,
    94% 68%
  );
  animation: charm-sway 4s ease-in-out infinite;
  transform-origin: top center;
}
.charm-1 .charm-heart {
  background: var(--pink);
  animation-delay: 0s;
}
.charm-2 .charm-heart {
  background: var(--eye-blue);
  color: var(--cloud);
  animation-delay: 0.5s;
}
.charm-3 .charm-heart {
  background: var(--meadow);
  animation-delay: 1s;
}

.ch-glyph {
  font-size: 28px;
  margin-bottom: 4px;
  filter: drop-shadow(1.5px 1.5px 0 var(--ink));
  color: var(--cloud);
}
.charm-3 .ch-glyph {
  color: var(--ink);
}
.ch-label {
  font-size: 17px;
  letter-spacing: 0.04em;
  text-shadow: 1.5px 1.5px 0 var(--ink);
}
.charm-3 .ch-label {
  color: var(--ink);
  text-shadow: 1px 1px 0 var(--cream);
}
.ch-value {
  font-size: 50px;
  color: var(--cloud);
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
  margin: 2px 0;
  line-height: 1;
}
.charm-2 .ch-value {
  color: var(--daisy);
}
.charm-3 .ch-value {
  color: var(--cloud);
}
.ch-note {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  max-width: 70%;
}
.charm-1 .ch-note {
  color: var(--ink);
}
.charm-2 .ch-note {
  color: var(--cloud);
}
.charm-3 .ch-note {
  color: var(--ink);
}

/* ============================================
   JOIN — fanned ticket stubs
   ============================================ */
.join {
  position: relative;
  padding: 100px 24px 120px;
  text-align: center;
  z-index: 1;
}

.join-sub {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.4;
}

.ticket-fan {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.ticket {
  position: relative;
  display: flex;
  align-items: stretch;
  width: clamp(280px, 28vw, 360px);
  border: 4px solid var(--ink);
  border-radius: 14px;
  background: var(--cloud);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.ticket-1 {
  transform: rotate(-6deg) translateY(8px);
  background: var(--pink-deep);
  color: var(--cloud);
}
.ticket-2 {
  transform: rotate(2deg) translateY(-8px);
  background: var(--eye-blue);
  color: var(--cloud);
  z-index: 2;
}
.ticket-3 {
  transform: rotate(-3deg) translateY(12px);
  background: var(--daisy);
  color: var(--ink);
}
.ticket:hover {
  transform: rotate(0) translateY(-12px) scale(1.04);
  box-shadow: 0 18px 0 var(--ink);
  z-index: 5;
}

.ticket-main {
  flex: 1;
  padding: 22px 22px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 3px dashed var(--ink);
  position: relative;
}
/* notch cutouts at the perforation */
.ticket-main::before,
.ticket-main::after {
  content: "";
  position: absolute;
  right: -16px;
  width: 28px;
  height: 28px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.ticket-1 .ticket-main::before,
.ticket-1 .ticket-main::after {
  background: var(--pink);
}
.ticket-2 .ticket-main::before,
.ticket-2 .ticket-main::after {
  background: var(--pink-soft);
}
.ticket-3 .ticket-main::before,
.ticket-3 .ticket-main::after {
  background: var(--meadow);
}
.ticket-main::before {
  top: -16px;
}
.ticket-main::after {
  bottom: -16px;
}

.ticket-num {
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.ticket-action {
  font-size: 28px;
  text-shadow: 2px 2px 0 var(--ink);
  line-height: 1.05;
}
.ticket-3 .ticket-action {
  text-shadow: 1.5px 1.5px 0 var(--cream);
}
.ticket-flavor {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 22px;
  margin-top: 4px;
}

.ticket-stub {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  gap: 8px;
}
.ticket-stub > span:first-child {
  font-size: 36px;
  filter: drop-shadow(2px 2px 0 var(--ink));
}
.ticket-stub-label {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ft-badge-alt {
  position: relative;
  background: var(--meadow);
  color: var(--ink);
  text-shadow: 1.5px 1.5px 0 var(--cloud);
  transform: rotate(3deg);
  display: inline-block;
  border: 4px solid var(--ink);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-md);
  animation: bob 3.2s ease-in-out infinite;
  white-space: nowrap;
}

.sj-1 {
  top: 14%;
  left: 8%;
  color: var(--pink-deep);
  font-size: 42px;
  animation-delay: 0.2s;
}
.sj-2 {
  top: 22%;
  right: 12%;
  color: var(--eye-blue);
  font-size: 38px;
  animation-delay: 0.8s;
}
.sj-3 {
  bottom: 18%;
  left: 16%;
  color: var(--daisy);
  font-size: 40px;
  animation-delay: 1.4s;
}

/* ============================================
   FOOTER RIBBON — single hand-drawn banner
   (the only "ticker" element; earned because it doubles
    as a disclaimer and a visual flourish)
   ============================================ */
.footer-ribbon {
  position: relative;
  background: var(--pink-deep);
  color: var(--cloud);
  padding: 18px 24px;
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-1deg);
  margin: 0 -2vw;
  box-shadow: var(--shadow-md);
}
.footer-ribbon-text {
  display: inline-block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ton-blue);
  color: var(--cloud);
  text-align: center;
  padding: 36px 24px;
  font-family: "Bagel Fat One", sans-serif;
  font-size: 14px;
  text-shadow: 2px 2px 0 var(--ink);
  border-top: var(--border-thick);
  position: relative;
  z-index: 2;
  margin-top: 32px;
}
footer span {
  color: var(--daisy);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes float-bob {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--r, 0deg));
  }
}
@keyframes wobble {
  0%,
  100% {
    transform: rotate(var(--r, 0deg));
  }
  25% {
    transform: rotate(calc(var(--r, 0deg) - 1deg)) scale(1.01);
  }
  75% {
    transform: rotate(calc(var(--r, 0deg) + 1deg)) scale(1.01);
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}
@keyframes charm-sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE
   1100px = collapse hero/about multi-col into single col
   760px  = mobile: 2-row banner, shrink hero/wordmark, simplify everything
   400px  = tiny phones: more aggressive shrinks
   ============================================ */
@media (max-width: 1100px) {
  .hero {
    padding: 50px 20px 70px;
  }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .hero-polaroid-stack {
    max-width: 360px;
  }
  .luggage-tag {
    align-self: center;
  }
  .taped-note {
    text-align: left;
  }

  .comic-strip {
    gap: 20px;
    flex-direction: column;
  }
  .panel {
    width: min(360px, 100%);
  }
  .panel-arrow {
    transform: rotate(90deg);
    font-size: 44px;
  }
}

@media (max-width: 760px) {
  /* BANNER — 2 rows: logo + heart on top, chips full-width below */
  .banner {
    min-height: auto;
    padding: 10px 14px 14px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "logo .   heart"
      "nav  nav nav";
    gap: 8px 10px;
  }
  .chip-nav {
    justify-content: center;
    gap: 6px;
  }
  .chip {
    font-size: 14px;
    padding: 4px 12px;
    border-width: 2px;
    box-shadow: 0 3px 0 var(--ink);
  }

  .logo-charm {
    margin-top: 0;
  }
  .logo-charm img {
    width: 50px;
    height: 50px;
    border-width: 3px;
  }
  .logo-string {
    height: 12px;
  }
  .logo-name {
    font-size: 16px;
    padding: 1px 10px;
    bottom: -6px;
    border-width: 2px;
  }

  .ton-heart {
    width: 70px;
    height: 64px;
  }
  .ton-gem {
    font-size: 18px;
  }
  .ton-word {
    font-size: 14px;
  }

  /* HERO */
  .hero {
    padding: 40px 16px 60px;
  }
  .hero-headline {
    gap: 12px;
    margin-bottom: 36px;
  }
  .wordmark {
    font-size: clamp(80px, 26vw, 160px);
    -webkit-text-stroke-width: 3px;
    text-stroke-width: 3px;
  }
  .wm-letter {
    text-shadow:
      4px 4px 0 var(--pink-deep),
      8px 8px 0 var(--eye-blue);
  }
  .wm-l2 {
    text-shadow:
      4px 4px 0 var(--eye-blue),
      8px 8px 0 var(--pink-deep);
  }
  .wm-l3 {
    text-shadow:
      4px 4px 0 var(--meadow-d),
      8px 8px 0 var(--pink-deep);
  }
  .ton-ribbon {
    font-size: 16px;
    padding: 8px 20px;
    gap: 8px;
  }
  .ft-badge {
    font-size: 14px;
    padding: 6px 16px;
  }

  .taped-note {
    padding: 20px 22px;
  }
  .taped-note p {
    font-size: 18px;
  }
  .stamp {
    padding: 14px 22px;
    outline-offset: -8px;
  }
  .stamp-inner {
    font-size: 18px;
  }
  .stamp-inner small {
    font-size: 11px;
  }
  .luggage-body {
    padding: 20px 18px 12px;
  }
  .lt-value {
    font-size: 16px;
  }

  /* SECTION TITLES */
  .section-title {
    font-size: 56px;
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
    text-shadow:
      4px 4px 0 var(--pink-deep),
      8px 8px 0 var(--eye-blue);
  }
  .section-sub {
    font-size: 22px;
    margin-bottom: 40px;
  }

  /* STATS */
  .stats {
    gap: 12px;
    padding: 24px 16px 50px;
  }
  .stat-pill {
    padding: 10px 16px;
  }
  .stat-emoji {
    font-size: 22px;
  }
  .stat-num {
    font-size: 22px;
  }
  .stat-label {
    font-size: 14px;
  }

  /* SECTION PADDINGS */
  .about,
  .tokenomics,
  .join,
  .manifesto {
    padding: 60px 16px;
  }

  /* COMIC */
  .panel p {
    font-size: 20px;
  }
  .panel-num {
    width: 42px;
    height: 42px;
    font-size: 20px;
    left: -12px;
    top: -16px;
  }

  /* MANIFESTO */
  .manifesto-card {
    padding: 36px 22px 32px;
  }
  .manifesto-body {
    font-size: 20px;
  }
  .manifesto-sign {
    font-size: 24px;
    padding-right: 12px;
  }
  .manifesto-sticker {
    width: 90px;
    height: 90px;
    right: -10px;
    bottom: -28px;
  }

  /* TOKENOMICS */
  .tokenomics {
    padding: 80px 16px 100px;
  }
  .bracelet {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-top: 0;
  }
  .bracelet-rail {
    display: none;
  }
  .charm {
    width: 100%;
    max-width: 240px;
  }
  .charm-heart {
    width: 220px;
    padding: 22% 16% 24%;
  }
  .ch-value {
    font-size: 44px;
  }
  .ch-label {
    font-size: 16px;
  }
  .ch-note {
    font-size: 14px;
    max-width: 80%;
  }

  /* TICKETS */
  .ticket-fan {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .ticket {
    width: 100%;
    max-width: 340px;
  }
  .ticket-1,
  .ticket-2,
  .ticket-3 {
    transform: rotate(-1deg) translateY(0);
  }
  .ticket-2 {
    transform: rotate(1deg);
  }
  .ticket-action {
    font-size: 24px;
  }
  .ticket-stub {
    width: 76px;
  }
  .ticket-stub > span:first-child {
    font-size: 30px;
  }

  /* FOOTER */
  .footer-ribbon {
    font-size: 18px;
    padding: 14px 16px;
    margin: 0;
  }
}

@media (max-width: 400px) {
  .banner {
    padding: 8px 10px 12px;
    gap: 6px 8px;
  }
  .chip {
    font-size: 12px;
    padding: 3px 9px;
  }
  .logo-charm img {
    width: 44px;
    height: 44px;
  }
  .logo-name {
    font-size: 14px;
    padding: 0 8px;
  }
  .ton-heart {
    width: 60px;
    height: 54px;
  }
  .ton-gem {
    font-size: 15px;
  }
  .ton-word {
    font-size: 12px;
  }

  .hero {
    padding: 32px 12px 50px;
  }
  .wordmark {
    font-size: clamp(70px, 30vw, 110px);
  }
  .ton-ribbon {
    font-size: 14px;
    padding: 6px 16px;
  }
  .ft-badge {
    font-size: 12px;
    padding: 5px 14px;
  }

  .section-title {
    font-size: 44px;
    text-shadow:
      3px 3px 0 var(--pink-deep),
      6px 6px 0 var(--eye-blue);
  }
  .section-sub {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .stats {
    padding: 16px 12px 36px;
    gap: 8px;
  }
  .stat-pill {
    padding: 8px 12px;
  }

  .panel {
    padding: 30px 18px 22px;
  }
  .panel p {
    font-size: 18px;
  }
  .panel img {
    width: 110px;
    height: 110px;
  }

  .charm-heart {
    width: 200px;
    padding: 24% 18% 26%;
  }
  .ch-value {
    font-size: 36px;
  }
  .ch-label {
    font-size: 14px;
  }
  .ch-note {
    font-size: 12px;
  }

  .ticket-action {
    font-size: 20px;
  }
  .ticket-stub {
    width: 64px;
  }
  .ticket-stub > span:first-child {
    font-size: 24px;
  }
  .ticket-stub-label {
    font-size: 13px;
  }
}
