:root {
  --bg: #171c16;
  --bg-soft: #20271e;
  --cream: #f4ebce;
  --cream-soft: #d7cfb6;
  --moss: #8d9a67;
  --peach: #d8a276;
  --ink: #1a1e18;
  --max: 930px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% -12%, rgba(208, 171, 116, .16), transparent 38%),
    radial-gradient(circle at 14% 48%, rgba(102, 122, 75, .12), transparent 30%),
    radial-gradient(circle at 86% 72%, rgba(184, 127, 86, .08), transparent 28%),
    linear-gradient(180deg, #171c16 0%, #141813 100%);
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  text-align: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.45) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255,255,255,.16) 0 1px, transparent 1.3px);
  background-size: 96px 96px, 137px 137px;
  background-position: 12px 18px, 58px 43px;
  mask-image: linear-gradient(to bottom, #000 0 70%, transparent 100%);
}

main { position: relative; z-index: 2; }
section { width: min(calc(100% - 34px), var(--max)); margin-inline: auto; }

.page-glow {
  position: fixed;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .08;
  pointer-events: none;
}
.glow-one { left: -14rem; top: 8rem; background: #d9b178; }
.glow-two { right: -14rem; bottom: 4rem; background: #7e9764; }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 0 54px;
}

.eyebrow,
.section-kicker {
  font-family: "Baloo 2", ui-rounded, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-weight: 700;
  font-size: .72rem;
  color: var(--moss);
}

h1, h2, .ticker {
  font-family: "Baloo 2", ui-rounded, system-ui, sans-serif;
  margin: 0;
}

h1 {
  margin-top: 8px;
  font-size: clamp(3.8rem, 11vw, 7.8rem);
  line-height: .85;
  letter-spacing: -.055em;
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.ticker {
  margin-top: 7px;
  color: var(--peach);
  font-size: clamp(1.2rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: .06em;
}

.mascot-wrap {
  position: relative;
  width: min(620px, 92vw);
  margin: 22px auto 8px;
  display: grid;
  place-items: center;
}



.mascot {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.32));
  animation: breathe 5.5s ease-in-out infinite;
}

.ground-shadow {
  position: absolute;
  z-index: 1;
  left: 19%;
  right: 19%;
  bottom: 7%;
  height: 8%;
  border-radius: 50%;
  background: rgba(0,0,0,.34);
  filter: blur(16px);
}

@keyframes breathe {
  0%, 100% { transform: translateY(0) rotate(-.25deg); }
  50% { transform: translateY(-6px) rotate(.25deg); }
}

.hero-copy {
  margin: 3px auto 18px;
  color: var(--cream-soft);
  font-size: clamp(1rem, 2.7vw, 1.18rem);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 11px;
  font-family: "Baloo 2", ui-rounded, system-ui, sans-serif;
  font-weight: 700;
}

.socials a {
  position: relative;
  color: var(--cream);
  text-decoration: none;
  padding: 3px 0;
  transition: transform .2s ease, color .2s ease;
}

.socials a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: var(--peach);
  transition: left .2s ease, right .2s ease;
}
.socials a:hover { color: #fff7df; transform: translateY(-2px); }
.socials a:hover::after { left: 0; right: 0; }
.socials span { color: #6f7a57; font-size: .72rem; }

.story,
.ca { padding: clamp(74px, 12vw, 140px) 0; }

.story::before {
  content: "☘  ·  ☾  ·  ☘";
  display: block;
  margin-bottom: 35px;
  font-size: 1rem;
  letter-spacing: .35em;
  color: #5d684c;
}

h2 {
  max-width: 760px;
  margin: 10px auto 25px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -.03em;
}

.story p {
  max-width: 690px;
  margin: 0 auto 17px;
  color: var(--cream-soft);
  font-size: clamp(1.03rem, 2.4vw, 1.2rem);
  line-height: 1.78;
}
.story .story-end {
  color: var(--cream);
  font-weight: 700;
}

.ca { padding-top: 84px; padding-bottom: 120px; }
.ca h2 { margin-bottom: 18px; }

.copy-ca {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 8px 12px;
  cursor: pointer;
}

#caText {
  max-width: min(78vw, 680px);
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(.84rem, 2.5vw, 1rem);
  color: var(--cream-soft);
}

.copy-label {
  font-family: "Baloo 2", ui-rounded, system-ui, sans-serif;
  color: var(--peach);
  font-weight: 700;
  transition: transform .2s ease;
}
.copy-ca:hover .copy-label { transform: translateY(-2px); }
.copy-ca:focus-visible { text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 6px; }

footer {
  position: relative;
  z-index: 2;
  padding: 0 20px 34px;
  color: #7c846d;
  font-family: "Baloo 2", ui-rounded, system-ui, sans-serif;
  font-size: .92rem;
}

@media (max-width: 620px) {
  .hero { min-height: auto; padding-top: 76px; padding-bottom: 70px; }
  h1 { font-size: clamp(3.25rem, 18vw, 5.3rem); }
  .mascot-wrap { width: min(500px, 106vw); margin-left: -3vw; margin-right: -3vw; }
  .socials { gap: 9px; }
  .story p { line-height: 1.68; }
  .ca { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
