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

:root {
  --magenta: #e91e8c;
  --magenta-hot: #ff4db8;
  --magenta-deep: #c2186a;
  --pond: #7ed957;
  --pond-deep: #4caf50;
  --blush: #fff0f7;
  --lilac: #f4ebff;
  --ink: #1a1024;
  --ink-soft: #34223f;
  --muted: #6b5a78;
  --paper: #fff8fc;
  --white: #ffffff;
  --line: 3px solid var(--ink);
  --glow: 6px 6px 0 var(--ink);
  --glow-pink: 6px 6px 0 var(--magenta);
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 68px;
  --radius: 0;
}

html {
  scroll-behavior: smooth;
}

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

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 12% 15%, rgba(255, 77, 184, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 70%, rgba(126, 217, 87, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(255, 180, 220, 0.18), transparent 60%);
}

/* ── Pond / lily pads ── */
.pond {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pad {
  position: absolute;
  width: 96px;
  height: 96px;
  background:
    radial-gradient(circle at 35% 35%, #9beb73 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, var(--pond) 0 46%, transparent 47%);
  clip-path: polygon(50% 0%, 90% 20%, 100% 55%, 78% 92%, 50% 100%, 22% 92%, 0% 55%, 10% 20%);
  opacity: 0.28;
  animation: pad-drift 14s ease-in-out infinite alternate;
}

.pad::after {
  content: "";
  position: absolute;
  inset: 38% 46% 0 46%;
  background: rgba(26, 16, 36, 0.18);
}

.pad-a { top: 18%; left: 6%; animation-delay: 0s; }
.pad-b { top: 62%; right: 8%; width: 120px; height: 120px; animation-delay: -4s; opacity: 0.22; }
.pad-c { bottom: 12%; left: 28%; width: 72px; height: 72px; animation-delay: -7s; opacity: 0.2; }

.ripple {
  position: absolute;
  border: 2px solid rgba(126, 217, 87, 0.45);
  width: 40px;
  height: 40px;
  opacity: 0;
  animation: ripple-expand 4.5s ease-out infinite;
}

.ripple-a { top: 28%; right: 18%; }
.ripple-b { bottom: 22%; left: 14%; animation-delay: 2.2s; }

@keyframes pad-drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(12px, -18px) rotate(8deg); }
}

@keyframes ripple-expand {
  0% { transform: scale(0.4); opacity: 0.55; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ── Floating hoppers ── */
.hoppers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hopper {
  position: absolute;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  border: none;
  animation: hopper-hop var(--dur, 8s) var(--ease-hop) var(--delay, 0s) infinite;
  filter: drop-shadow(2px 3px 0 rgba(26, 16, 36, 0.2));
}

.hopper-1 { left: 8%; bottom: -60px; }
.hopper-2 { left: 32%; bottom: -60px; animation-name: hopper-hop-alt; }
.hopper-3 { left: 58%; bottom: -60px; }
.hopper-4 { left: 82%; bottom: -60px; animation-name: hopper-hop-alt; }

@keyframes hopper-hop {
  0% { transform: translate(0, 0) rotate(0deg) scale(1, 1); opacity: 0; }
  8% { opacity: 1; }
  20% { transform: translate(20px, -28vh) rotate(-8deg) scale(1.05, 0.92); }
  40% { transform: translate(48px, -12vh) rotate(6deg) scale(0.96, 1.06); }
  60% { transform: translate(90px, -36vh) rotate(-10deg) scale(1.06, 0.9); }
  80% { transform: translate(130px, -18vh) rotate(4deg) scale(0.98, 1.04); opacity: 1; }
  100% { transform: translate(170px, -110vh) rotate(-4deg) scale(1, 1); opacity: 0; }
}

@keyframes hopper-hop-alt {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  25% { transform: translate(-30px, -22vh) rotate(10deg); }
  50% { transform: translate(-10px, -40vh) rotate(-6deg); }
  75% { transform: translate(-50px, -20vh) rotate(8deg); }
  100% { transform: translate(-20px, -110vh) rotate(-4deg); opacity: 0; }
}

/* ── Click pop / splash ── */
.ripetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
}

.ribbit-pop {
  position: fixed;
  translate: -50% -100%;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--magenta);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.25rem 0.5rem;
  animation: ribbit-up 0.85s var(--ease-out) forwards;
  text-transform: uppercase;
}

.hop-splash {
  position: fixed;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  border: 2px solid var(--pond-deep);
  background: rgba(126, 217, 87, 0.35);
  animation: splash-ring 0.65s var(--ease-out) forwards;
}

@keyframes ribbit-up {
  0% { opacity: 0; transform: translateY(8px) scale(0.8); }
  20% { opacity: 1; transform: translateY(0) scale(1.05); }
  100% { opacity: 0; transform: translateY(-42px) scale(1); }
}

@keyframes splash-ring {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(2.8); opacity: 0; }
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container.narrow {
  width: min(720px, 92vw);
}

.accent {
  color: var(--magenta);
}

.ink {
  color: var(--ink);
}

.center {
  text-align: center;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 248, 252, 0.92);
  border-bottom: var(--line);
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  background: var(--paper);
  box-shadow: 0 6px 0 rgba(26, 16, 36, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 92vw);
  margin: 0 auto;
  height: 100%;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.nav-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--magenta);
  animation: frog-idle 2.4s var(--ease-hop) infinite;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.2s;
}

.nav-links a:hover {
  color: var(--magenta);
  transform: translateY(-2px);
}

.nav-socials {
  display: flex;
  gap: 0.4rem;
}

.nav-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink) !important;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-social:hover {
  background: var(--magenta) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 1rem !important;
  background: var(--magenta);
  color: var(--white) !important;
  font-weight: 700 !important;
  border: 2px solid var(--ink) !important;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--magenta-hot) !important;
  color: var(--white) !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  padding: 8px;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 1.5rem) 0 3.75rem;
  overflow: hidden;
  background: var(--blush);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-drift 32s var(--ease-out) infinite alternate;
  will-change: transform;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 0 100%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255, 248, 252, 0.94) 0%,
      rgba(255, 248, 252, 0.74) 34%,
      rgba(255, 248, 252, 0.22) 58%,
      rgba(255, 248, 252, 0.05) 100%
    ),
    linear-gradient(
      to top,
      rgba(255, 248, 252, 0.82) 0%,
      transparent 46%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin: 0 auto;
  max-width: 680px;
  margin-left: max(4vw, calc((100vw - 1100px) / 2));
  animation: rise-in 0.95s var(--ease-out) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.1rem, 10vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--ink);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.hop-title {
  display: inline-block;
  animation: title-hop 2.8s var(--ease-hop) infinite;
}

.hero-brand .accent {
  display: block;
  color: var(--magenta);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.hero-lede {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.frog-fab {
  position: absolute;
  right: max(4vw, calc((100vw - 1100px) / 2));
  bottom: 2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--magenta);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.frog-fab img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: none;
  background: transparent;
  animation: frog-idle 2.2s var(--ease-hop) infinite;
}

.frog-fab:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--magenta);
}

.frog-fab.pressed {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--magenta);
}

@keyframes title-hop {
  0%, 70%, 100% { transform: translateY(0); }
  78% { transform: translateY(-10px); }
  86% { transform: translateY(0); }
  92% { transform: translateY(-4px); }
}

@keyframes frog-idle {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  40% { transform: translateY(0) scale(1.04, 0.94); }
  55% { transform: translateY(-8px) scale(0.96, 1.06); }
  70% { transform: translateY(0) scale(1.02, 0.98); }
}

@keyframes do-hop {
  0% { transform: translateY(0) scale(1, 1); }
  25% { transform: translateY(2px) scale(1.1, 0.85); }
  55% { transform: translateY(-22px) scale(0.9, 1.12); }
  100% { transform: translateY(0) scale(1, 1); }
}

.do-hop {
  animation: do-hop 0.55s var(--ease-hop) !important;
}

.frog-wiggle {
  animation: frog-wiggle 0.4s var(--ease-hop);
}

@keyframes frog-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg) translateY(-2px); }
  75% { transform: rotate(2deg) translateY(-1px); }
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.07) translate(-1.2%, -0.8%); }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes band-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid var(--ink);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translate(-3px, -3px);
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--magenta-hot);
  color: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-ghost:hover {
  background: var(--pond);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--magenta);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--white);
  box-shadow: 9px 9px 0 var(--magenta);
}

.btn-outline-ink {
  background: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-outline-ink:hover {
  background: var(--blush);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 0.92rem;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.82rem;
}

.btn-copy.copied {
  background: var(--pond);
  color: var(--ink);
}

/* ── Ticker ── */
.ticker {
  background: var(--ink);
  color: var(--pond);
  padding: 0.8rem 0;
  overflow: hidden;
  border-top: 3px solid var(--magenta);
  border-bottom: 3px solid var(--magenta);
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-sep {
  opacity: 0.7;
  color: var(--magenta-hot);
  animation: sep-hop 1.2s var(--ease-hop) infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes sep-hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ── Sections ── */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.9rem;
  border-left: 4px solid var(--pond);
  padding-left: 0.65rem;
}

.eyebrow.center {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--ink);
  text-transform: uppercase;
}

.section-text {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  max-width: 34rem;
}

.section-text strong {
  color: var(--ink);
  font-weight: 700;
}

.section-text em {
  font-style: normal;
  color: var(--white);
  background: var(--magenta);
  padding: 0.05em 0.35em;
  border: 2px solid var(--ink);
}

.section-sub {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.mono-note {
  margin-top: 1.5rem;
  color: var(--magenta) !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cursor-line {
  display: inline-flex;
  align-items: center;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  background: var(--pond);
  border: 1px solid var(--ink);
  animation: blink 1.1s step-end infinite;
}

.inline-link {
  color: var(--magenta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.inline-link:hover {
  color: var(--magenta-deep);
}

/* ── Story ── */
.story {
  background: transparent;
}

.story-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.story-copy .section-text.lead {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 600;
  max-width: none;
}

.lore-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}

.lore-portrait img {
  width: min(22rem, 78vw);
  display: block;
  border: 4px solid var(--ink);
  background: var(--white);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 10px 10px 0 var(--magenta);
  animation: frog-idle 2.8s var(--ease-hop) infinite;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

.lore-chip {
  position: absolute;
  bottom: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.1rem;
  background: var(--pond);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── ASCII band ── */
.ascii-band {
  background: var(--pond);
  overflow: hidden;
  padding: 0.95rem 0;
  position: relative;
  z-index: 1;
  border-top: var(--line);
  border-bottom: var(--line);
}

.ascii-band pre {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  width: max-content;
  animation: band-scroll 40s linear infinite;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── About / pillars ── */
.about {
  background: transparent;
}

.pillars {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  padding: 1.5rem 1.25rem;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 92% 100%, 0 100%);
}

.pillar:hover {
  transform: translate(-3px, -3px);
  background: var(--blush);
  box-shadow: 10px 10px 0 var(--magenta);
}

.pillar-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--pond);
  color: var(--ink);
  margin-bottom: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Gallery ── */
.gallery-section {
  background: linear-gradient(180deg, transparent, rgba(126, 217, 87, 0.1), transparent);
  border-top: var(--line);
}

.gallery {
  columns: 1;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery { columns: 2; }
}

@media (min-width: 960px) {
  .gallery { columns: 3; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--white);
  aspect-ratio: 1;
  box-shadow: 6px 6px 0 var(--magenta);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ── Launch / pools embed ── */
.launch {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 240, 247, 0.8) 50%, transparent 100%);
}

.pools-shell {
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--magenta);
}

.pools-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--blush);
  border-bottom: 3px solid var(--ink);
}

.pools-dots {
  display: flex;
  gap: 0.35rem;
}

.pools-dots span {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--ink);
}

.pools-dots span:nth-child(1) { background: #ff5f57; }
.pools-dots span:nth-child(2) { background: #febc2e; }
.pools-dots span:nth-child(3) { background: var(--pond); }

.pools-url {
  justify-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.35rem 1rem;
  background: var(--pond);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.pools-open {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s;
}

.pools-open:hover {
  color: var(--magenta);
}

.pools-frame {
  position: relative;
  background: #faf7ff;
  min-height: 640px;
}

.pools-embed {
  display: block;
  width: 100%;
  height: 720px;
  border: none;
  background: #faf7ff;
}

.pools-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background: var(--blush);
  color: var(--muted);
}

.pools-fallback.show {
  display: flex;
}

.pools-fallback-mark {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--magenta);
  background: var(--white);
  animation: frog-idle 2.2s var(--ease-hop) infinite;
}

.pools-fallback p {
  max-width: 22rem;
  font-size: 0.95rem;
}

/* ── Community / swamp ── */
.community {
  position: relative;
  overflow: hidden;
  border-top: var(--line);
  border-bottom: var(--line);
  background: #8fc96e;
  min-height: min(920px, 92vh);
  min-height: min(920px, 92dvh);
  height: auto;
  padding: 0;
}

.community-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #8fc96e;
}

.community-bg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: pond-drift 30s var(--ease-out) infinite alternate;
  will-change: transform;
}

.community-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 48% 42% at 50% 46%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(232, 250, 220, 0.08) 42%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 236, 245, 0.18) 0%,
      transparent 26%,
      transparent 70%,
      rgba(40, 70, 30, 0.16) 100%
    );
}

.community-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  min-height: min(920px, 92vh);
  min-height: min(920px, 92dvh);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(5.5rem, 14vh, 9rem) 0 3.5rem;
}

.community-shell {
  width: min(640px, 90vw);
  display: flex;
  justify-content: center;
}

.community-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.community .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.15rem;
  color: var(--ink);
  border-left: none;
  background: rgba(158, 230, 112, 0.92);
  padding: 0.4rem 0.9rem;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.community .section-title {
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 0.98;
  font-size: clamp(2.4rem, 7vw, 4rem);
  text-shadow:
    3px 3px 0 rgba(255, 255, 255, 0.92),
    -1px -1px 0 rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(255, 255, 255, 0.35);
}

.community .section-title .accent {
  color: var(--magenta);
  text-shadow:
    3px 3px 0 rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.45);
}

.community .section-sub {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.55;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.community .buy-cta {
  width: 100%;
  margin-bottom: 0;
  gap: 0.7rem;
}

.community .btn {
  min-width: 9.5rem;
}

.community .btn-ink {
  background: var(--ink);
  color: var(--white);
}

.community .btn-outline-ink {
  background: rgba(255, 255, 255, 0.88);
}

.community .tri-stats {
  width: 100%;
  margin-top: 2rem;
  gap: 0.7rem;
}

.community .tri-card {
  padding: 0.95rem 0.55rem;
  background: rgba(255, 255, 255, 0.78);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(26, 16, 36, 0.85);
  backdrop-filter: blur(3px);
}

.community .tri-card strong {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
}

@keyframes pond-drift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.2%, -0.8%); }
}

.buy-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tri-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.tri-card {
  padding: 1.1rem 0.75rem;
  border: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
  box-shadow: 5px 5px 0 var(--ink);
}

.tri-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--ink);
  text-transform: uppercase;
}

.tri-card span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 16, 36, 0.6);
  font-weight: 700;
}

@media (max-width: 640px) {
  .community,
  .community-inner {
    min-height: min(780px, 88vh);
    min-height: min(780px, 88dvh);
  }

  .community-inner {
    align-items: flex-start;
    padding: clamp(4.5rem, 12vh, 7rem) 0 2.75rem;
  }

  .community-shell {
    width: min(100%, 92vw);
  }

  .community .section-title {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  .community .buy-cta .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .community .tri-stats {
    grid-template-columns: 1fr;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
  }

  .community-bg {
    object-position: center 42%;
  }
}

/* ── Token ── */
.token {
  background: transparent;
}

.loot {
  display: grid;
  justify-items: center;
  gap: 1.8rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.loot__coin {
  width: min(100%, 1100px);
}

.loot__coin img {
  display: block;
  width: min(100%, 240px);
  margin-inline: auto;
  background: var(--white);
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--pond);
  animation: frog-idle 2.6s var(--ease-hop) infinite;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

.loot__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
}

.loot__stats div {
  border: 3px solid var(--ink);
  background: var(--white);
  padding: 1.2rem 0.5rem 1.3rem;
  text-align: center;
  min-height: 110px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  container-type: inline-size;
  min-width: 0;
}

.loot__stats div:hover {
  transform: translate(-3px, -3px);
  background: var(--blush);
  box-shadow: 8px 8px 0 var(--magenta);
}

.loot__stats span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
}

.loot__stats strong {
  display: block;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 9.5cqi, 1.15rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
}

.token-ca {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.token-ca code {
  flex: 1;
  min-width: 0;
  word-break: break-all;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--magenta);
  color: var(--magenta);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  justify-content: center;
  align-items: center;
}

.center-actions {
  justify-content: center;
}

.copy-toast {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--magenta);
  min-height: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: uppercase;
}

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

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 0 2rem;
  border-top: 4px solid var(--pond);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 3px solid var(--pond);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--magenta);
  animation: frog-idle 2.8s var(--ease-hop) infinite;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--pond);
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  font-size: 0.72rem;
  max-width: 520px;
  line-height: 1.65;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-hop);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .loot__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pools-embed {
    height: 560px;
  }

  .pools-frame {
    min-height: 480px;
  }

  .frog-fab {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.35rem;
    gap: 1rem;
    border-bottom: var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-veil {
    background:
      linear-gradient(
        to top,
        rgba(255, 248, 252, 0.94) 0%,
        rgba(255, 248, 252, 0.68) 42%,
        rgba(255, 248, 252, 0.28) 100%
      );
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-banner {
    object-position: center 35%;
  }

  .story-copy {
    text-align: center;
  }

  .story-copy .section-text {
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow.center,
  .story-copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .pools-chrome {
    grid-template-columns: 1fr auto;
  }

  .pools-dots {
    display: none;
  }

  .pools-url {
    justify-self: start;
  }

  .hopper {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  .hero-brand {
    font-size: 2.75rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }

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

  .token-ca {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .token-ca .btn-copy {
    justify-content: center;
  }

  .tri-stats {
    grid-template-columns: 1fr;
  }

  .pools-embed {
    height: 480px;
  }

  .frog-fab span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora,
  .pad,
  .ripple,
  .hopper,
  .hero-banner,
  .community-bg,
  .ticker-track,
  .ticker-sep,
  .ascii-band pre,
  .cursor,
  .hop-title,
  .nav-mark,
  .lore-portrait img,
  .loot__coin img,
  .frog-fab img,
  .footer-logo,
  .pools-fallback-mark {
    animation: none;
  }

  .cursor {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hoppers,
  .pond {
    display: none;
  }
}
