:root {
  --gold: #f5c400;
  --gold-bright: #ffd84d;
  --gold-deep: #e0a800;
  --cream: #fffdf7;
  --cream-soft: #fff6df;
  --milk: #fffaf0;
  --brown: #3b2415;
  --brown-soft: #5a3820;
  --brown-muted: #7a5538;
  --outline: #2a180e;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(59, 36, 21, 0.12);
  --radius: 28px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--brown);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(255, 216, 77, 0.35), transparent 55%),
    radial-gradient(900px 600px at 95% 15%, rgba(255, 180, 70, 0.22), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(245, 196, 0, 0.18), transparent 55%),
    linear-gradient(180deg, #fffef9 0%, #fff8e8 40%, #fff4d8 100%);
  overflow-x: hidden;
  line-height: 1.55;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

/* ---------- Atmosphere ---------- */

.bg-world {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.bg-glow-a {
  width: 420px;
  height: 420px;
  background: #ffd84d;
  top: -80px;
  left: -60px;
}

.bg-glow-b {
  width: 360px;
  height: 360px;
  background: #ffb347;
  right: -80px;
  top: 30%;
  animation-delay: -4s;
}

.bg-glow-c {
  width: 480px;
  height: 480px;
  background: #ffe27a;
  left: 30%;
  bottom: -160px;
  animation-delay: -7s;
}

#crumb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sparkle-layer {
  position: absolute;
  inset: 0;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--white);
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  opacity: 0;
  animation: sparkle-pop 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 240, 180, 0.9));
}

@keyframes glow-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.12);
  }
}

@keyframes sparkle-pop {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(0deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.2) rotate(20deg);
  }
  70% {
    opacity: 0.4;
    transform: scale(0.8) rotate(40deg);
  }
}

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.top.scrolled {
  background: rgba(255, 253, 247, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(59, 36, 21, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--outline);
  box-shadow: 3px 3px 0 var(--outline), 0 0 0 3px var(--gold-bright);
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  -webkit-text-stroke: 1.5px var(--outline);
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--outline);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 800;
  font-size: 0.98rem;
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--outline);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--outline);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--gold-bright);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2.5px solid var(--outline);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--outline);
  place-items: center;
  gap: 5px;
  flex-direction: column;
  padding: 0;
}

.burger span {
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brown);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 3px solid var(--outline);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 4px 4px 0 var(--outline);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, filter 0.22s ease;
  white-space: nowrap;
}

.btn img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 7px 0 var(--outline);
  filter: brightness(1.05);
}

.btn:active {
  transform: translate(1px, 2px);
  box-shadow: 2px 2px 0 var(--outline);
}

.btn-sm {
  min-height: 42px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
  box-shadow: 3px 3px 0 var(--outline);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--brown);
}

.btn-brown {
  background: linear-gradient(180deg, #5a3820, var(--brown));
  color: var(--cream);
}

.btn-brown img {
  filter: invert(1) brightness(1.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--brown);
  backdrop-filter: blur(8px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) 4rem;
  isolation: isolate;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.orbit-chip {
  position: absolute;
  width: clamp(48px, 8vw, 92px);
  height: clamp(32px, 5vw, 58px);
  border-radius: 50% 45% 50% 40%;
  background:
    radial-gradient(circle at 30% 30%, #ffe9a0, #f5c400 55%, #d49200 100%);
  border: 2.5px solid var(--outline);
  box-shadow: inset 0 -6px 10px rgba(59, 36, 21, 0.15), 3px 3px 0 rgba(59, 36, 21, 0.2);
  animation: chip-float 7s ease-in-out infinite;
  opacity: 0.9;
}

.orbit-chip::before {
  content: "";
  position: absolute;
  inset: 22% 18%;
  border-radius: inherit;
  border: 2px solid rgba(59, 36, 21, 0.18);
}

.chip-a {
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.chip-b {
  top: 22%;
  right: 10%;
  width: clamp(40px, 6vw, 70px);
  animation-delay: -2s;
  animation-duration: 8.5s;
}

.chip-c {
  bottom: 18%;
  left: 14%;
  animation-delay: -3.5s;
  transform: rotate(25deg);
}

.chip-d {
  bottom: 24%;
  right: 16%;
  animation-delay: -1.2s;
  animation-duration: 6.5s;
}

.glint {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: sparkle-pop 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px #fff6c8);
}

.g1 {
  top: 18%;
  left: 42%;
}

.g2 {
  top: 40%;
  right: 28%;
  animation-delay: 0.8s;
}

.g3 {
  bottom: 28%;
  left: 30%;
  animation-delay: 1.4s;
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-22px) rotate(10deg);
  }
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.logo-ring {
  position: relative;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--outline);
  background: var(--white);
  box-shadow:
    0 0 0 10px rgba(245, 196, 0, 0.35),
    8px 10px 0 var(--outline),
    var(--shadow);
  animation: logo-bob 5s ease-in-out infinite;
  z-index: 2;
}

.hero-video,
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  display: none;
}

.hero-video.is-ready {
  display: block;
}

.hero-video.is-ready + .hero-logo {
  display: none;
}

.ring-spin {
  position: absolute;
  width: min(420px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px dashed rgba(245, 196, 0, 0.7);
  animation: spin-slow 22s linear infinite;
  z-index: 1;
}

.ring-spin::before,
.ring-spin::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--outline);
}

.ring-spin::before {
  top: 8%;
  left: 48%;
}

.ring-spin::after {
  bottom: 12%;
  right: 10%;
  background: var(--gold-bright);
}

@keyframes logo-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hero-copy {
  max-width: 560px;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  border: 2.5px solid var(--outline);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 var(--outline);
  animation: pill-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pill-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-title {
  margin: 0;
  line-height: 0.95;
}

.title-chips {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 7.2rem);
  letter-spacing: 0.01em;
  color: var(--gold-bright);
  -webkit-text-stroke: 4px var(--outline);
  paint-order: stroke fill;
  text-shadow:
    5px 5px 0 var(--outline),
    0 0 30px rgba(245, 196, 0, 0.45);
  animation: title-wiggle 4.5s ease-in-out infinite;
}

@keyframes title-wiggle {
  0%,
  100% {
    transform: rotate(-1.5deg);
  }
  50% {
    transform: rotate(1.5deg);
  }
}

.hero-bio {
  margin: 1.1rem 0 1.5rem;
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  font-weight: 700;
  color: var(--brown-soft);
  max-width: 34ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 2.5px solid var(--outline);
  box-shadow: 3px 3px 0 rgba(59, 36, 21, 0.12);
  backdrop-filter: blur(8px);
}

.ca-label {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gold);
  border: 2px solid var(--outline);
  border-radius: 10px;
  padding: 0.15rem 0.55rem;
}

#ca-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2.5px solid var(--outline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--brown);
  animation: cue-fall 1.6s ease-in-out infinite;
}

@keyframes cue-fall {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.28);
  border: 2px solid var(--outline);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.01em;
  color: var(--brown);
}

.gold-word {
  color: var(--gold);
  -webkit-text-stroke: 2px var(--outline);
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--outline);
}

.lede {
  margin: 0 auto;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brown-muted);
  max-width: 52ch;
}

/* About */

.about {
  background:
    linear-gradient(180deg, transparent, rgba(255, 248, 220, 0.65) 20%, rgba(255, 244, 210, 0.8) 80%, transparent);
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.flavor-card {
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 3px solid var(--outline);
  box-shadow: 5px 5px 0 var(--outline);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation-delay: var(--d, 0s);
}

.flavor-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 8px 10px 0 var(--outline);
}

.flavor-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 0.85rem;
  animation: icon-bounce 3.5s ease-in-out infinite;
}

.flavor-card:nth-child(2) .flavor-icon {
  animation-delay: -1s;
}

.flavor-card:nth-child(3) .flavor-icon {
  animation-delay: -2s;
}

@keyframes icon-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.04);
  }
}

.flavor-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.flavor-card p {
  margin: 0;
  font-weight: 700;
  color: var(--brown-muted);
}

/* How to buy */

.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.buy-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 3px solid var(--outline);
  box-shadow: 4px 4px 0 var(--outline);
  transition: transform 0.28s ease;
  animation-delay: var(--d, 0s);
}

.buy-step:hover {
  transform: translateX(8px);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--gold);
  -webkit-text-stroke: 2px var(--outline);
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--outline);
  min-width: 2.4ch;
}

.buy-step h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.buy-step p {
  margin: 0;
  font-weight: 700;
  color: var(--brown-muted);
}

.buy-actions,
.chart-links,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Chart */

.chart .section-head {
  margin-bottom: 1.75rem;
}

.chart-shell {
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid var(--outline);
  box-shadow: 8px 8px 0 var(--outline), var(--shadow);
  background: var(--white);
  min-height: 560px;
  position: relative;
}

.chart-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(245, 196, 0, 0.25);
  z-index: 1;
}

.chart-shell iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
  background: #fff;
}

/* Join Us — banner only here */

.joinus {
  background:
    radial-gradient(700px 400px at 50% 20%, rgba(255, 216, 77, 0.35), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255, 248, 220, 0.7));
}

.banner-frame {
  position: relative;
  margin: 0 auto;
  width: min(920px, 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid var(--outline);
  box-shadow: 10px 10px 0 var(--outline), 0 25px 50px rgba(59, 36, 21, 0.15);
  background: var(--white);
  animation: banner-glow 4s ease-in-out infinite;
}

.banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shine-sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes banner-glow {
  0%,
  100% {
    box-shadow: 10px 10px 0 var(--outline), 0 25px 50px rgba(59, 36, 21, 0.15);
  }
  50% {
    box-shadow: 10px 10px 0 var(--outline), 0 25px 60px rgba(245, 196, 0, 0.35);
  }
}

@keyframes shine-sweep {
  0%,
  55% {
    transform: translateX(-120%);
  }
  80%,
  100% {
    transform: translateX(120%);
  }
}

/* Footer */

.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 3rem;
  border-top: 3px solid rgba(59, 36, 21, 0.12);
  background: rgba(255, 250, 235, 0.8);
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  font-weight: 800;
  color: var(--brown-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 0.6rem;
}

.footer-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--outline);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--outline);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.footer-links a img {
  width: 18px;
  height: 18px;
}

.footer-links a:hover {
  transform: translateY(-3px) scale(1.06);
  background: var(--gold-bright);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

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

/* Responsive */

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-bio {
    max-width: 40ch;
  }

  .hero-ctas,
  .ca-row {
    justify-content: center;
  }

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

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(255, 253, 247, 0.96);
    border-bottom: 3px solid var(--outline);
    box-shadow: 0 16px 30px rgba(59, 36, 21, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

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

  .nav a {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 1.05rem;
  }

  .nav a:hover {
    background: rgba(245, 196, 0, 0.2);
  }

  .nav a::after {
    display: none;
  }

  .burger {
    display: grid;
  }

  .top-actions .btn-sm {
    display: none;
  }

  .chart-shell iframe {
    height: 480px;
  }
}

@media (max-width: 560px) {
  .title-chips {
    -webkit-text-stroke: 3px var(--outline);
  }

  .btn {
    width: 100%;
  }

  .hero-ctas .btn,
  .buy-actions .btn,
  .chart-links .btn,
  .join-actions .btn {
    width: 100%;
  }

  .ca-row {
    flex-direction: column;
    align-items: stretch;
  }

  #ca-value {
    white-space: normal;
    word-break: break-all;
  }

  .footer-inner {
    flex-direction: column;
  }

  .orbit-chip {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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