/* =========================================================
   $GROYPER — styles
   Palette: deep pond + Elysium teal + frog green + lip salmon
   ========================================================= */

:root {
  --deep: #04201a;
  --deep-2: #072a23;
  --shadow: #010d0a;
  --surface: #0f3a42;
  --surface-2: #11404b;
  --teal: #6dafbd;
  --teal-strong: #3fa3bd;
  --frog: #6a8b1e;
  --frog-dark: #415614;
  --lime: #a8cf45;
  --lime-dark: #86ab2a;
  --salmon: #d9926e;
  --salmon-dark: #b5694a;
  --mustard: #e3b04b;
  --cream: #f4efe6;
  --cream-dim: #c9d3cc;
  --red: #e0443a;

  --font-display: "Bagel Fat One", ui-rounded, system-ui, sans-serif;
  --font-sans: "Rubik", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 2rem;
  --border: 3px;
  --offset: 5px 6px 0 var(--shadow);
  --gutter: clamp(1rem, 4vw, 2rem);
  --maxw: 72rem;

  --chevrons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='72'%3E%3Cg fill='none' stroke='%236dafbd' stroke-width='7' stroke-opacity='.07'%3E%3Cpath d='M0 54 60 14l60 40'/%3E%3Cpath d='M16 70 60 40l44 30'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1rem; }

::selection { background: var(--lime); color: var(--deep); }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--deep);
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- toon primitive ---------- */
.toon {
  border: var(--border) solid var(--teal);
  box-shadow: var(--offset);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: var(--border) solid var(--shadow);
  border-radius: 999px;
  box-shadow: var(--offset);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--shadow); }
.btn:active { transform: translate(4px, 5px); box-shadow: 1px 1px 0 var(--shadow); }
.btn-icon { width: 1.05em; height: 1.05em; flex: none; }
.btn-lg { padding: 1rem 2rem; font-size: 1.35rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: 1.05rem; box-shadow: 3px 4px 0 var(--shadow); }
.btn-sm:hover { box-shadow: 4px 5px 0 var(--shadow); }
.btn-lime { background: var(--lime); color: var(--deep); }
.btn-lime:hover { background: #b8dc5a; }
.btn-salmon { background: var(--salmon); color: var(--deep); }
.btn-salmon:hover { background: #e6a585; }
.btn-ghost { background: var(--surface-2); color: var(--cream); border-color: var(--teal); }
.btn-ghost:hover { background: var(--salmon-dark); border-color: var(--shadow); }
.btn.is-soon { opacity: .7; cursor: default; }
.btn.is-soon:hover { transform: none; box-shadow: var(--offset); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: var(--border) solid var(--teal);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--cream);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
.icon-btn:hover { transform: rotate(-12deg) scale(1.1); background: var(--salmon-dark); border-color: var(--salmon); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: .75rem;
  z-index: 50;
  padding-inline: 1rem;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  max-width: 64rem;
  margin-inline: auto;
  padding: .45rem .5rem .45rem 1rem;
  border-radius: 999px;
  background: rgb(4 32 26 / .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease;
}
.nav-logo img { width: 2rem; height: 2rem; border-radius: 50%; }
.nav-logo:hover { transform: rotate(-5deg); }
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: .98rem;
}
.nav-links a {
  display: block;
  padding: .5rem .8rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.nav-links a:hover { background: var(--salmon-dark); }
.nav-links a.hl { color: var(--lime); }
.nav-links a.hl:hover { color: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }

.menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: var(--border) solid var(--teal);
  border-radius: 999px;
  background: var(--surface-2);
  cursor: pointer;
  place-content: center;
  gap: 4px;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .75rem;
    border: var(--border) solid var(--teal);
    border-radius: 1.5rem;
    background: var(--deep);
    box-shadow: var(--offset);
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: .75rem 1rem; }
}
@media (max-width: 380px) {
  .nav-actions .icon-btn { display: none; }
  .nav-logo span { font-size: 1.35rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: -5rem;
  padding: 8rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(60rem 36rem at 75% 40%, rgb(63 163 189 / .22), transparent 60%),
    radial-gradient(40rem 30rem at 10% 90%, rgb(106 139 30 / .18), transparent 60%),
    var(--chevrons),
    var(--deep);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow {
  position: absolute;
  right: 6%;
  top: 22%;
  width: min(36rem, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(168 207 69 / .22), transparent);
  filter: blur(10px);
}
.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -2rem;
  width: var(--size, 12px);
  height: var(--size, 12px);
  border: 2px solid rgb(109 175 189 / .55);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgb(244 239 230 / .45), rgb(109 175 189 / .08) 60%);
  animation: bubble-rise var(--dur, 12s) linear var(--delay, 0s) infinite;
}
.bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: bubble-sway calc(var(--dur, 12s) / 4) ease-in-out infinite;
}
@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  8% { opacity: 1; }
  80% { opacity: .9; }
  100% { transform: translate3d(var(--sway, 20px), -110vh, 0); opacity: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 2rem;
}
.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding: .35rem 1rem .35rem .35rem;
  border: var(--border) solid var(--teal);
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: 3px 4px 0 var(--shadow);
  font-weight: 500;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .15s ease;
}
.chain-badge:hover { transform: rotate(-2deg); }
.chain-badge img { width: 1.75rem; height: 1.75rem; border-radius: 50%; }
.chain-badge strong { color: var(--teal); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.4vw, 6.6rem);
  line-height: .9;
  letter-spacing: .01em;
  color: var(--cream);
  text-shadow: 5px 6px 0 var(--shadow);
  white-space: nowrap;
  -webkit-text-stroke: 0;
}
.hero-title .dollar { color: var(--lime); margin-right: .02em; }
.hero-tagline {
  margin: 1rem 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  color: var(--salmon);
}
.hero-sub {
  max-width: 34rem;
  color: var(--cream-dim);
  font-size: 1.12rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 1.5rem;
}

/* contract box */
.ca {
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 34rem;
  padding: .45rem .45rem .45rem 1rem;
  border-radius: 999px;
  background: var(--deep-2);
  box-shadow: 3px 4px 0 var(--shadow);
}
.ca-label {
  flex: none;
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 1.1rem;
}
.ca-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: .92rem;
  color: var(--cream-dim);
}
.ca-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.ca-copy svg { width: 1rem; height: 1rem; }
.ca-copy:hover:not(:disabled) { background: var(--salmon-dark); border-color: var(--salmon); }
.ca-copy:disabled { opacity: .45; cursor: not-allowed; }
.ca-wide { max-width: 44rem; margin: 2.5rem auto 0; }

/* countdown */
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: 1.25rem;
}
.countdown[hidden] { display: none; }
.countdown-label { font-weight: 600; color: var(--teal); }
.countdown-units { display: flex; gap: .4rem; }
.countdown-units span {
  display: inline-flex;
  align-items: baseline;
  gap: .1rem;
  padding: .3rem .6rem;
  border: 2px solid var(--teal);
  border-radius: .8rem;
  background: var(--deep-2);
}
.countdown-units b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-units i { font-style: normal; font-size: .85rem; color: var(--cream-dim); }
.countdown.is-live .countdown-label {
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--deep);
}

/* hero art */
.hero-art { position: relative; }
.hero-frog-wrap {
  position: relative;
  width: min(100%, 33rem);
  margin-inline: auto;
}
.hero-frog {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  animation: breathe 5s ease-in-out infinite;
  transform-origin: 50% 90%;
  -webkit-tap-highlight-color: transparent;
}
.hero-frog img { width: 100%; height: auto; filter: drop-shadow(8px 10px 0 rgb(1 13 10 / .55)); }
.hero-frog.wobble { animation: wobble .55s ease; }
.hero-frog:focus-visible { outline-offset: -6px; border-radius: 2rem; }
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-4px) scale(1.012, .992); }
}
@keyframes wobble {
  0% { transform: rotate(0); }
  20% { transform: rotate(-4deg) scale(1.03, .97); }
  45% { transform: rotate(3deg) scale(.98, 1.03); }
  70% { transform: rotate(-1.5deg); }
  100% { transform: rotate(0); }
}
.lilypad {
  position: absolute;
  z-index: 1;
  left: 4%;
  right: 0;
  bottom: -4%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #6f9327, #3b5011 72%);
  border: var(--border) solid var(--shadow);
  box-shadow: 0 8px 0 var(--shadow);
}
.lilypad::after {
  content: "";
  position: absolute;
  inset: -18% -10%;
  border: 2px solid rgb(109 175 189 / .5);
  border-radius: 50%;
  animation: ripple 3.6s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.25); opacity: 0; }
}
.lilypad::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  height: 52%;
  background: var(--deep);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translate(-50%, -100%);
  display: none;
}
.speech {
  position: absolute;
  z-index: 3;
  top: -1.5rem;
  left: -.5rem;
  padding: .55rem 1.1rem;
  border: var(--border) solid var(--shadow);
  border-radius: 1.25rem;
  background: var(--cream);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 4px 5px 0 var(--shadow);
  transform-origin: 80% 120%;
  opacity: 0;
  transform: scale(.6) rotate(-6deg);
  transition: opacity .2s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1);
  pointer-events: none;
}
.speech::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: -14px;
  width: 22px;
  height: 14px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 85% 100%);
  filter: drop-shadow(0 3px 0 var(--shadow));
}
.speech.show { opacity: 1; transform: scale(1) rotate(-4deg); }
.poke-hint {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: .9rem;
  color: var(--teal);
  opacity: .8;
}

@media (max-width: 860px) {
  .hero { padding: 7rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-art { order: -1; }
  .hero-copy { text-align: center; }
  .hero-title { font-size: clamp(3rem, 14.5vw, 6.5rem); }
  .poke-hint { margin-top: 1.25rem; }
  .hero-sub, .ca { margin-inline: auto; }
  .hero-ctas, .countdown { justify-content: center; }
  .hero-frog-wrap { width: min(78%, 22rem); }
  .speech { left: 0; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: var(--border) solid var(--teal);
  background: var(--surface-2);
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0 1.25rem;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  white-space: nowrap;
}
.marquee-list .tag {
  display: inline-block;
  padding: .25rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--deep);
  box-shadow: 3px 4px 0 var(--shadow);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section-tight { padding-top: 0; }
.section-surface {
  background: var(--chevrons), var(--surface);
  border-block: var(--border) solid rgb(109 175 189 / .35);
}
.section-head { margin-bottom: 2.75rem; }
.eyebrow {
  margin: 0 0 .6rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  line-height: 1;
  color: var(--cream);
  text-shadow: 4px 5px 0 var(--shadow);
}
.section-lede { margin: 1rem 0 0; color: var(--cream-dim); font-size: 1.15rem; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-copy .h2 { margin-bottom: 1.5rem; }
.about-copy p { color: var(--cream-dim); font-size: 1.12rem; }
.about-copy strong { color: var(--teal); }
.about-copy .btn { margin-top: .75rem; }

.file {
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.file-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--salmon);
  color: var(--deep);
  border-bottom: var(--border) solid var(--shadow);
}
.file-head img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: cover;
  object-position: 45% 8%;
  border-radius: 50%;
  border: var(--border) solid var(--shadow);
  background: var(--cream);
}
.file-kicker {
  margin: 0;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.file-title { margin: 0; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.05; }
.file-list { margin: 0; padding: .6rem 1.4rem 1.2rem; }
.file-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 2px dashed rgb(109 175 189 / .3);
}
.file-list div:last-child { border-bottom: 0; }
.file-list dt { color: var(--teal); font-weight: 600; }
.file-list dd { margin: 0; text-align: right; font-weight: 500; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .file { transform: none; }
}

/* ---------- feature cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.feature {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translate(-3px, -4px) rotate(-1deg); box-shadow: 8px 10px 0 var(--shadow); }
.feature-art {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  border: var(--border) solid var(--shadow);
  border-radius: 1.25rem;
  box-shadow: 3px 4px 0 var(--shadow);
}
.feature-art svg { width: 2.6rem; height: 2.6rem; }
.art-lime { background: var(--lime); }
.art-salmon { background: var(--salmon); }
.art-teal { background: var(--teal); }
.feature h3 { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.05; margin-bottom: .6rem; }
.feature p { color: var(--cream-dim); flex: 1; }
.feature-go { font-weight: 700; color: var(--lime); }

@media (max-width: 860px) {
  .cards-3 { grid-template-columns: 1fr; }
}

/* ---------- origins ---------- */
.lore {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.lore-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--deep);
}
.lore-card:nth-child(1) { --accent: var(--lime); }
.lore-card:nth-child(2) { --accent: var(--salmon); }
.lore-card:nth-child(3) { --accent: var(--teal); }
.lore-when {
  display: inline-block;
  margin: 0 0 .75rem;
  padding: .2rem .8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--deep);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lore-card h3 { font-family: var(--font-display); font-size: 2rem; line-height: 1.05; margin-bottom: .6rem; }
.lore-card p:last-child { margin: 0; color: var(--cream-dim); }

@media (max-width: 860px) {
  .lore { grid-template-columns: 1fr; }
}

/* ---------- album ---------- */
.album {
  columns: 3 18rem;
  column-gap: 1.75rem;
}
.shot {
  display: block;
  margin: 0 0 1.75rem;
  border-radius: 1.5rem;
  background: var(--deep);
  overflow: hidden;
  break-inside: avoid;
  transition: transform .25s ease;
}
.shot:nth-child(odd) { transform: rotate(-1.2deg); }
.shot:nth-child(even) { transform: rotate(1.2deg); }
.shot:hover { transform: rotate(0) scale(1.02); }
.shot-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: var(--border) solid var(--teal);
  background: var(--deep-2);
  overflow: hidden;
  cursor: zoom-in;
}
.shot-photo img { width: 100%; height: auto; transition: transform .35s ease; }
.shot:hover .shot-photo img { transform: scale(1.03); }
.shot-photo:focus-visible { outline-offset: -6px; }
.shot figcaption {
  padding: 1rem 1.25rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}
.shot figcaption span { color: var(--teal); }

@media (max-width: 600px) {
  .album { columns: 1; }
  .shot:nth-child(n) { transform: none; }
}

/* lightbox */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.lightbox::backdrop {
  background: rgb(1 13 10 / .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  max-width: min(92vw, 70rem);
}
.lb-figure img {
  max-width: 100%;
  max-height: 78dvh;
  width: auto;
  height: auto;
  border: var(--border) solid var(--teal);
  border-radius: 1.25rem;
  box-shadow: var(--offset);
  background: var(--deep);
}
.lb-figure figcaption {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-align: center;
}
.lb-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: 0 0 .2rem;
  border: var(--border) solid var(--shadow);
  border-radius: 50%;
  background: var(--lime);
  color: var(--deep);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  box-shadow: 3px 4px 0 var(--shadow);
  cursor: pointer;
  transition: transform .15s ease;
}
.lb-btn:hover { transform: scale(1.08); }
.lb-close { position: absolute; top: 1rem; right: 1rem; background: var(--salmon); }

@media (max-width: 700px) {
  .lightbox[open] { flex-direction: column; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 4rem); }
  .lb-next { right: calc(50% - 4rem); }
  .lb-figure img { max-height: 70dvh; }
}

/* ---------- groyperify studio ---------- */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--surface);
}
.studio-preview {
  align-self: start;
  border: var(--border) solid var(--shadow);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--offset);
  background: var(--deep);
}
.studio-preview canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.studio-controls { display: flex; flex-direction: column; gap: 1.4rem; }
.studio-controls fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.studio-controls legend {
  margin-bottom: .65rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--deep-2);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--shadow);
  color: var(--deep);
  box-shadow: 2px 3px 0 var(--shadow);
}
.chip-upload { border-style: dashed; }
.chip-upload.active {
  background: var(--lime);
  border: 2px solid var(--shadow);
  color: var(--deep);
}
.chip-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.chip-upload:focus-within { outline: 3px solid var(--mustard); outline-offset: 3px; }
.text-input {
  width: 100%;
  max-width: 22rem;
  padding: .7rem 1rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--deep-2);
  color: var(--cream);
  font: 600 1.05rem var(--font-sans);
}
.text-input:focus { outline: 3px solid var(--mustard); outline-offset: 2px; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }

@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; }
}

/* ---------- tokenomics ---------- */
.tok-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* allocation chart card */
.alloc {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius);
  background: var(--deep);
  overflow: hidden;
}
.alloc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 1.6rem;
  border-bottom: var(--border) solid var(--teal);
  background: var(--surface-2);
}
.alloc-kicker {
  margin: 0;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
}
.alloc-title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05; }
.alloc-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem 1.6rem;
}
.donut-wrap { position: relative; width: 100%; max-width: 15rem; margin-inline: auto; }
.donut { display: block; width: 100%; height: auto; overflow: visible; }
.donut-ring { filter: drop-shadow(5px 6px 0 var(--shadow)); }
.donut-seg {
  stroke: var(--shadow);
  stroke-width: 3;
  stroke-linejoin: round;
  cursor: pointer;
  outline: none;
  transition: transform .2s ease, filter .2s ease;
}
.donut-seg.is-active { transform: translate(var(--dx, 0), var(--dy, 0)); filter: brightness(1.12); }
.donut-seg:focus-visible { stroke: var(--mustard); stroke-width: 4; }
.donut-label {
  font-family: var(--font-display);
  font-size: 22px;
  fill: var(--deep);
  pointer-events: none;
  transition: transform .2s ease;
}
.donut-label.is-active { transform: translate(var(--dx, 0), var(--dy, 0)); }
.donut-hub { fill: var(--deep-2); stroke: var(--shadow); stroke-width: 3; }

.chart-tip {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 8.5rem;
  padding: .55rem .8rem;
  border: 2px solid var(--shadow);
  border-radius: .9rem;
  background: var(--cream);
  color: var(--deep);
  box-shadow: 3px 4px 0 var(--shadow);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  white-space: nowrap;
}
.chart-tip[hidden] { display: none; }
.chart-tip-value { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.chart-tip-label { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; }
.chart-tip-label::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--key, currentColor);
}

.alloc-legend { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.alloc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .9rem;
  align-items: start;
  padding: .85rem 1rem;
  border: 2px solid rgb(109 175 189 / .3);
  border-radius: 1.1rem;
  background: var(--deep-2);
  cursor: default;
  transition: border-color .15s ease, transform .15s ease;
}
.alloc-item.is-active { border-color: var(--key); transform: translateX(4px); }
.alloc-swatch {
  grid-row: span 3;
  margin-top: .45rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--shadow);
  border-radius: .35rem;
  background: var(--key);
  box-shadow: 2px 2px 0 var(--shadow);
}
.alloc-pct {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--cream);
}
.alloc-name { grid-column: 2; margin: .3rem 0 0; font-weight: 700; font-size: 1.02rem; line-height: 1.25; color: var(--cream); }
.alloc-note { grid-column: 2; margin: .25rem 0 0; color: var(--cream-dim); font-size: .92rem; line-height: 1.45; }

/* stat tiles */
.tokenomics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.token-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.3rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--deep);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.token-tile::after {
  content: "";
  position: absolute;
  right: -2.2rem;
  bottom: -2.2rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: .08;
}
.token-tile:hover { transform: translate(-2px, -3px) rotate(-.8deg); box-shadow: 7px 9px 0 var(--shadow); }
.token-tile:nth-child(4n + 1) { --accent: var(--lime); }
.token-tile:nth-child(4n + 2) { --accent: var(--salmon); }
.token-tile:nth-child(4n + 3) { --accent: var(--teal); }
.token-tile:nth-child(4n + 4) { --accent: var(--mustard); }
.token-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.token-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--shadow);
  border-radius: .8rem;
  background: var(--accent);
  color: var(--deep);
  box-shadow: 2px 3px 0 var(--shadow);
}
.token-icon svg { width: 1.4rem; height: 1.4rem; }
.token-label {
  margin: 0;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.token-value {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  line-height: 1;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.token-note { margin: 0; color: var(--cream-dim); font-size: .95rem; line-height: 1.45; }

@media (max-width: 1060px) {
  .tok-layout { grid-template-columns: 1fr; }
  .tokenomics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tokenomics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .alloc-body { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.4rem 1.1rem; }
  .donut-wrap { max-width: 14rem; }
  .alloc-head { padding: 1rem 1.1rem; }
  .tokenomics { gap: 1rem; }
  .token-tile { padding: 1.1rem 1rem; }
  .token-top { flex-direction: column; align-items: flex-start; gap: .55rem; }
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.4rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--surface);
}
.step-n {
  position: absolute;
  top: -1.4rem;
  left: 1.2rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: var(--border) solid var(--shadow);
  border-radius: 50%;
  background: var(--lime);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.5rem;
  box-shadow: 3px 4px 0 var(--shadow);
}
.step:nth-child(2) .step-n { background: var(--salmon); }
.step:nth-child(3) .step-n { background: var(--teal); }
.step:nth-child(4) .step-n { background: var(--mustard); }
.step h3 { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; margin-bottom: .6rem; }
.step p { color: var(--cream-dim); font-size: 1rem; flex: 1; }
.step-link { font-weight: 700; color: var(--lime); text-decoration: none; }
.step-link:hover { text-decoration: underline; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- join ---------- */
.join { padding-top: 0; }
.join-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem) 0;
  border-radius: var(--radius);
  background:
    radial-gradient(30rem 20rem at 85% 100%, rgb(168 207 69 / .3), transparent 60%),
    var(--chevrons),
    linear-gradient(135deg, var(--surface-2), #1c4f64);
  overflow: hidden;
}
.join-copy { align-self: center; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.join-copy .h2 { margin-bottom: 1rem; }
.join-copy p { color: var(--cream-dim); font-size: 1.15rem; max-width: 28rem; }
.join-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.join-frog {
  width: 100%;
  max-width: 24rem;
  justify-self: end;
  margin-bottom: -2.5rem;
  transform: scaleX(-1);
  filter: drop-shadow(-6px 8px 0 rgb(1 13 10 / .45));
}

@media (max-width: 760px) {
  .join-inner { grid-template-columns: 1fr; text-align: center; }
  .join-btns .btn { white-space: normal; }
}
@media (max-width: 400px) {
  .join-inner { padding-inline: 1rem; }
  .join-btns .btn { font-size: 1.02rem; padding-inline: 1rem; gap: .4rem; }
  .join-copy { padding-bottom: 0; }
  .join-copy p { margin-inline: auto; }
  .join-btns { justify-content: center; }
  .join-frog { justify-self: center; max-width: 16rem; }
}

/* ---------- footer ---------- */
.footer {
  padding: 3rem 0 2.5rem;
  border-top: var(--border) solid rgb(109 175 189 / .35);
  background: var(--deep);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer-logo { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; text-decoration: none; }
.footer-brand p { margin: .35rem 0 0; color: var(--teal); }
.footer-links { display: flex; gap: .6rem; }
.disclaimer, .copyright {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .88rem;
  color: rgb(201 211 204 / .7);
}
.disclaimer { max-width: 52rem; padding-top: 1.5rem; border-top: 2px dashed rgb(109 175 189 / .2); }

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 80;
  padding: .7rem 1.3rem;
  border: var(--border) solid var(--shadow);
  border-radius: 999px;
  background: var(--lime);
  color: var(--deep);
  font-weight: 700;
  box-shadow: var(--offset);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 2rem));
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), opacity .2s ease, visibility .3s;
  pointer-events: none;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .6s ease, translate .6s ease;
}
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee { overflow-x: auto; }
  .bubbles { display: none; }
  .js .reveal { opacity: 1; translate: none; }
}
