:root {
  --parchment: #f5ead6;
  --umber: #2e2117;
  --dark-honey: #3d2c1e;
  --amber: #8b6b3e;
  --sienna: #c4713b;
  --gold: #d4a843;
  --cream: #f0d5a8;
  --paper: #f0e4d0;
  --sage: #8a9e8a;
  --ink: #4a3928;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --design-phrasing: "Interaction Notes:** Interactive elements IntersectionObserver triggers additions scroll-triggered reveals. IntersectionObserver: same spring-physics";
  --design-note-token: "Note";
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

button { font: inherit; }

.section-sheet {
  position: relative;
  min-height: 100vh;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 6vw, 7rem) clamp(4rem, 8vw, 7rem) clamp(5.5rem, 9vw, 9rem);
  overflow: hidden;
}

.torn-top {
  margin-top: -2.5rem;
  clip-path: polygon(0 2.5rem, 4% 1.4rem, 10% 2.8rem, 16% 1.1rem, 25% 2.2rem, 34% 0.9rem, 45% 2.6rem, 56% 1.3rem, 66% 2.5rem, 75% 1rem, 85% 2.7rem, 94% 1.4rem, 100% 2.2rem, 100% 100%, 0 100%);
  box-shadow: 0 -4px 16px rgba(61, 44, 30, 0.18);
}

.dark-sheet { background: var(--umber); color: var(--paper); }

h1, h2 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--dark-honey);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(212, 180, 131, 0.4);
}

.dark-sheet h1 { color: var(--paper); text-shadow: 2px 2px 0 rgba(196, 113, 59, 0.32); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.8rem); max-width: 980px; }
h2 { font-size: clamp(1.45rem, 2.7vw, 2.5rem); margin: 0.6rem 0 0.7rem; }
p { margin: 0; }

.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  transform: rotate(-1.5deg);
}

.sienna-text { color: var(--sienna); }

.bubble-nav {
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 80px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  pointer-events: none;
}

.nav-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: rgba(245, 234, 214, 0.75);
  box-shadow: 0 2px 0 rgba(61, 44, 30, 0.25);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 360ms var(--spring), background 240ms ease;
}

.nav-dot.is-active { transform: scale(1.8); background: var(--gold); }

.halftone {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: radial-gradient(circle, #3d2c1e 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
}

.halftone.dark { opacity: 0.08; background-image: radial-gradient(circle, #f5ead6 1px, transparent 1px); }

.hero {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--parchment);
}

.logo-bubbles {
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 0.8rem);
  max-width: 980px;
}

.letter-bubble {
  width: clamp(3.6rem, 9vw, 8.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: rgba(245, 234, 214, 0.72);
  color: var(--dark-honey);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 1;
  box-shadow: 8px 10px 0 rgba(212, 168, 67, 0.18), 0 14px 34px rgba(61, 44, 30, 0.13);
  transform: translateY(110vh) scale(0.65);
  animation: letterRise 900ms var(--spring) forwards, float 10s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 120ms), calc(1600ms + var(--i, 0) * 180ms);
}

.letter-bubble:nth-child(1) { --i: 0; }
.letter-bubble:nth-child(2) { --i: 1; }
.letter-bubble:nth-child(3) { --i: 2; }
.letter-bubble:nth-child(4) { --i: 3; }
.letter-bubble:nth-child(5) { --i: 4; }
.letter-bubble:nth-child(6) { --i: 5; }
.letter-bubble:nth-child(7) { --i: 6; }
.letter-bubble:nth-child(8) { --i: 7; }

.letter-bubble.shake, .question-bubble.shake, .opinion-card.shake { animation: shake 400ms ease-in-out; }

.hero-subtitle {
  z-index: 2;
  max-width: 660px;
  margin-top: 1.4rem;
  color: var(--amber);
  font-weight: 500;
}

.question-bubble {
  position: absolute;
  z-index: 1;
  max-width: 190px;
  padding: 1rem 1.15rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: rgba(240, 213, 168, 0.68);
  color: var(--dark-honey);
  font-family: "Fredoka", sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  box-shadow: 4px 5px 0 rgba(196, 113, 59, 0.13);
  opacity: 0;
  animation: bubbleAppear 700ms var(--spring) forwards, float 12s ease-in-out infinite;
  animation-delay: 1650ms, 2400ms;
}

.q1 { top: 15%; left: 12%; transform: rotate(-3deg); }
.q2 { top: 18%; right: 12%; transform: rotate(2deg); animation-delay: 1850ms, 2600ms; }
.q3 { bottom: 14%; left: 16%; transform: rotate(2.5deg); animation-delay: 2050ms, 2800ms; }
.q4 { bottom: 18%; right: 10%; transform: rotate(-2deg); animation-delay: 2250ms, 3000ms; }
.q5 { top: 47%; right: 6%; transform: rotate(3deg); animation-delay: 2450ms, 3200ms; }

.orb {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(245, 234, 214, 0.6);
  animation: float 15s ease-in-out infinite;
}
.orb-a { width: 270px; height: 270px; left: -70px; bottom: 8%; }
.orb-b { width: 170px; height: 170px; right: 18%; top: 7%; animation-duration: 11s; }
.orb-c { width: 95px; height: 95px; right: 4%; bottom: 28%; animation-duration: 8s; }

.stamp {
  position: absolute;
  z-index: 3;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 3px dashed var(--sienna);
  border-radius: 50%;
  color: var(--sienna);
  font-family: "Fredoka", sans-serif;
  font-size: 0.78rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(13deg);
}
.hero-stamp { left: 9%; top: 10%; }

.voices { background: var(--paper); }
.cards-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(2rem, 5vw, 4rem);
  max-width: 1150px;
}

.opinion-card {
  grid-column: span 3;
  min-height: 270px;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-left: 4px solid var(--sienna);
  border-radius: 34px;
  background: var(--parchment);
  box-shadow: 9px 12px 0 rgba(139, 107, 62, 0.16), 0 18px 38px rgba(61, 44, 30, 0.12);
  transform: rotate(var(--card-rotate, 0deg));
  transition: transform 300ms var(--spring), box-shadow 300ms ease;
}

.opinion-card:nth-child(2) { border-left-color: var(--gold); margin-top: 36px; }
.opinion-card:nth-child(3) { border-left-color: var(--sage); margin-top: -10px; }
.opinion-card:nth-child(4) { border-left-color: var(--sienna); margin-top: 28px; }
.wide-card { grid-column: 2 / span 4; min-height: 230px; }
.rotate-left { --card-rotate: -2deg; }
.rotate-right { --card-rotate: 2.5deg; }
.rotate-soft { --card-rotate: 1deg; }
.rotate-back { --card-rotate: -1.5deg; }
.opinion-card:hover { transform: translateY(-5px) rotate(var(--card-rotate)); box-shadow: 12px 16px 0 rgba(139, 107, 62, 0.18), 0 24px 45px rgba(61, 44, 30, 0.16); }

.tag {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  color: var(--parchment);
  font-family: "Fredoka", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.tag.sage { background: var(--sage); }
.tag.sienna { background: var(--sienna); }
.tag.gold { background: var(--gold); color: var(--dark-honey); }

.reveal { opacity: 0; transform: scale(0.8) rotate(5deg); }
.reveal.in-view { opacity: 1; transition: opacity 650ms ease, transform 850ms var(--spring); transform: scale(1) rotate(var(--card-rotate, 0deg)); }
.spectrum-chain.reveal, .cloud-wrap.reveal { transform: scale(0.94); }
.spectrum-chain.reveal.in-view, .cloud-wrap.reveal.in-view { transform: scale(1); }

.spectrum { min-height: 70vh; }
.spectrum-chain {
  position: relative;
  height: 240px;
  margin-top: 3rem;
}
.wobble-lines { position: absolute; inset: 18px 0 0; width: 100%; height: 180px; }
.draw-path {
  fill: none;
  stroke: rgba(212, 168, 67, 0.65);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.in-view .draw-path { animation: drawLine 1.7s var(--soft) forwards; }
.value-bubble {
  position: absolute;
  width: clamp(92px, 12vw, 145px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--gold);
  color: var(--parchment);
  font-family: "Fredoka", sans-serif;
  font-size: 0.85rem;
  box-shadow: 6px 8px 0 rgba(245, 234, 214, 0.1);
  animation: float 9s ease-in-out infinite;
}
.b1 { left: 1%; top: 48px; background: var(--sienna); }
.b2 { left: 18%; top: 5px; background: #b9833d; animation-delay: -1s; }
.b3 { left: 35%; top: 56px; background: var(--gold); color: var(--dark-honey); animation-delay: -2s; }
.b4 { left: 52%; top: 18px; background: #b3a463; animation-delay: -3s; }
.b5 { left: 69%; top: 60px; background: var(--sage); animation-delay: -4s; }
.b6 { right: 1%; top: 30px; background: #6f8b78; animation-delay: -5s; }

.debate { background: var(--parchment); min-height: 120vh; }
.cloud-wrap {
  position: relative;
  height: 680px;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}
.cloud-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cloud-lines path { fill: none; stroke: rgba(212, 168, 67, 0.4); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 12 18; }
.speech {
  position: absolute;
  width: min(360px, 42vw);
  padding: 1.35rem 1.6rem;
  border: 3px solid var(--gold);
  border-radius: 34px;
  background: var(--paper);
  color: var(--dark-honey);
  font-weight: 500;
  box-shadow: 7px 9px 0 rgba(196, 113, 59, 0.13);
  animation: pulse 6s ease-in-out infinite;
}
.speech::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 32px;
  height: 32px;
  background: inherit;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  transform: rotate(45deg);
}
.speech-left::after { left: 38px; }
.speech-right::after { right: 38px; }
.s-a { left: 4%; top: 38px; transform: rotate(-2deg); }
.s-b { right: 7%; top: 86px; transform: rotate(2deg); animation-delay: -1s; }
.s-c { left: 0; top: 270px; transform: rotate(1.5deg); animation-delay: -2s; }
.s-d { right: 0; top: 260px; transform: rotate(-1deg); animation-delay: -3s; }
.s-e { left: 14%; bottom: 34px; transform: rotate(-1.6deg); animation-delay: -4s; }
.s-f { right: 16%; bottom: 56px; transform: rotate(2.4deg); animation-delay: -5s; }

.zine {
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.zine-seal {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(78vw, 620px);
  min-height: 260px;
  padding: 2rem;
  border: 5px dashed var(--gold);
  border-radius: 50%;
  color: var(--paper);
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  font-weight: 700;
  line-height: 0.95;
  transform: rotate(-2deg);
  text-shadow: 3px 3px 0 rgba(196, 113, 59, 0.55);
}
.zine p { z-index: 2; max-width: 720px; color: var(--paper); margin-top: 1.8rem; }
.corner-stamp { top: 16%; left: 12%; border-color: var(--gold); color: var(--gold); transform: rotate(-14deg); }
.corner-stamp.second { left: auto; right: 10%; top: 22%; transform: rotate(12deg); }
.keep-bubble {
  position: absolute;
  bottom: 7%;
  right: 16%;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(245, 234, 214, 0.14);
  color: var(--paper);
  font-style: italic;
  animation: driftAway 12s ease-in-out infinite;
}

@keyframes letterRise { to { transform: translateY(0) scale(1); } }
@keyframes bubbleAppear { to { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 0 -20px; scale: 1.05; } }
@keyframes shake { 0%, 100% { transform: translateX(0) rotate(var(--card-rotate, 0deg)); } 25% { transform: translateX(-3px) rotate(-1deg); } 75% { transform: translateX(3px) rotate(1deg); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { scale: 1; } 50% { scale: 1.02; } }
@keyframes driftAway { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-46px) rotate(-2deg); } }

@media (max-width: 820px) {
  .section-sheet { padding-left: 4.4rem; padding-right: 1rem; }
  .cards-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinion-card, .wide-card { grid-column: span 2; }
  .question-bubble { position: relative; inset: auto; margin: 0.45rem; display: inline-block; }
  .hero { align-content: center; }
  .value-bubble { width: 84px; font-size: 0.72rem; }
  .cloud-wrap { height: auto; display: grid; gap: 1rem; }
  .cloud-lines { display: none; }
  .speech { position: relative; inset: auto; width: auto; }
  .corner-stamp { display: none; }
}
