:root {
  --cream: #f6ebd3;
  --cream-deep: #e8d4ae;
  --mist: #fff6e6;
  --paper: #f3e2c0;
  --gold: #d4a017;
  --gold-bright: #f0c94a;
  --gold-soft: #e8c547;
  --gold-deep: #a67c12;
  --amber: #c48a1a;
  --ring: #8b6914;
  --chocolate: #3b2410;
  --ink: #2a1a0c;
  --brown: #5c3d1e;
  --shadow: rgba(58, 32, 8, 0.22);
  --display: "Bagel Fat One", "Fredoka", "Nunito", sans-serif;
  --jp: "Mochiy Pop One", "Bagel Fat One", sans-serif;
  --ui: "Fredoka", "Nunito", sans-serif;
  --body: "Nunito", "Fredoka", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

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

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(240, 201, 74, 0.28), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(196, 138, 26, 0.16), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(232, 197, 71, 0.22), transparent 55%),
    linear-gradient(180deg, #f8efd8 0%, #f3e2c0 42%, #ead4a8 100%);
}

.wash {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 46px,
      rgba(166, 124, 18, 0.03) 47px
    );
}

.mist {
  position: absolute;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  mix-blend-mode: multiply;
}

.mist-a {
  top: -8%;
  left: -10%;
  background: #f0c94a;
  animation: drift 22s ease-in-out infinite;
}

.mist-b {
  right: -12%;
  bottom: 8%;
  background: #c48a1a;
  animation: drift 28s ease-in-out infinite reverse;
}

.rays {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 210deg at 50% 20%, transparent 0 8%, rgba(255, 244, 210, 0.18) 10%, transparent 14%, transparent 100%);
  animation: rayspin 40s linear infinite;
}

.paw-field {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='16' ry='13' fill='%233b2410'/%3E%3Cellipse cx='50' cy='64' rx='8' ry='10' fill='%233b2410'/%3E%3Cellipse cx='66' cy='56' rx='8' ry='10' fill='%233b2410'/%3E%3Cellipse cx='84' cy='58' rx='8' ry='10' fill='%233b2410'/%3E%3Cellipse cx='96' cy='70' rx='8' ry='10' fill='%233b2410'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: pawdrift 50s linear infinite;
}

#goldDust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(58, 32, 8, 0.16) 100%);
}

.spot {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(240, 201, 74, 0.18), transparent 68%);
  transform: translate(-100vw, -100vh);
  transition: opacity 0.4s ease;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 22px 0;
}

.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 246, 230, 0.72);
  border: 1px solid rgba(166, 124, 18, 0.28);
  box-shadow: 0 10px 30px rgba(58, 32, 8, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.is-slim .nav-shell {
  padding: 6px 12px;
  box-shadow: 0 8px 20px rgba(58, 32, 8, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-coin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px #f0c94a, 0 6px 16px var(--shadow);
}

.brand-coin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  font-family: var(--ui);
  color: var(--gold-deep);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-family: var(--ui);
  font-weight: 600;
}

.nav-links a {
  position: relative;
  color: var(--brown);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glyph {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--chocolate);
  background: #fff6e6;
  border: 1px solid rgba(166, 124, 18, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.glyph img {
  width: 18px;
  height: 18px;
}

.glyph:hover {
  transform: translateY(-2px) rotate(-6deg);
  background: var(--gold-bright);
}

.buy-pill,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, #f4d56a 0%, #d4a017 55%, #b8860b 100%);
  box-shadow: 0 8px 18px rgba(166, 124, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(91, 58, 8, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.buy-pill img,
.btn img {
  width: 18px;
  height: 18px;
}

.buy-pill:hover,
.btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(166, 124, 18, 0.36);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff6e6;
  border: 1px solid rgba(166, 124, 18, 0.28);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--chocolate);
}

/* Layout */
main {
  position: relative;
  z-index: 2;
}

section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 22px 20px;
}

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

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-deep);
  background: rgba(240, 201, 74, 0.28);
  border: 1px solid rgba(166, 124, 18, 0.22);
}

.section-head h2,
.display {
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  background: linear-gradient(180deg, #fff3c4 0%, #f0c94a 28%, #c48a1a 70%, #7a5410 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #3b2410);
}

.section-lead {
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--brown);
}

/* Hero */
.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  align-items: center;
  padding-top: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.shrine {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(166, 124, 18, 0.38);
}

.orbit-a {
  width: 340px;
  height: 340px;
  animation: spin 18s linear infinite;
}

.orbit-b {
  width: 430px;
  height: 430px;
  animation: spin 26s linear infinite reverse;
}

.orbit-c {
  width: 520px;
  height: 520px;
  opacity: 0.5;
  animation: spin 36s linear infinite;
}

.halo {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 201, 74, 0.55), transparent 68%);
  animation: pulse 3.4s ease-in-out infinite;
}

.coin-stage {
  position: relative;
  z-index: 2;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.coin-stage .hero-coin {
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-coin {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 10px rgba(240, 201, 74, 0.28),
    0 22px 48px rgba(58, 32, 8, 0.28);
}

.coin-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

.coin-sheen::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.42) 50%, transparent 65%);
  animation: sheen 4.8s ease-in-out infinite;
}

.pedestal {
  position: absolute;
  bottom: 46px;
  width: 220px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59, 36, 16, 0.28), transparent 70%);
  filter: blur(4px);
}

.floater {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff3c4, #d4a017 58%, #8b6914);
  box-shadow: inset 0 -6px 10px rgba(59, 36, 16, 0.25), 0 8px 16px var(--shadow);
}

.floater::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #3b2410 40%, transparent 42%);
  opacity: 0.35;
}

.f1 { width: 46px; height: 46px; top: 12%; left: 8%; animation: floaty 6s ease-in-out infinite; }
.f2 { width: 34px; height: 34px; top: 18%; right: 10%; animation: floaty 7s ease-in-out infinite reverse; }
.f3 { width: 28px; height: 28px; bottom: 18%; left: 16%; animation: floaty 5s ease-in-out infinite 0.6s; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--ui);
  font-weight: 700;
  color: var(--gold-deep);
}

.eyebrow img {
  width: 22px;
  height: 22px;
}

.display {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.word {
  display: block;
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #fff7d2 0%, #f0c94a 32%, #c48a1a 72%, #6e4a0d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #3b2410);
  animation: titlein 0.9s ease both;
}

.word-neko {
  animation-delay: 0.12s;
}

.word-chibi {
  position: relative;
}

.word-chibi::before,
.word-chibi::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 22px;
  height: 28px;
  background: linear-gradient(180deg, #f0c94a, #a67c12);
  border: 2px solid #3b2410;
  z-index: -1;
}

.word-chibi::before {
  left: 6px;
  border-radius: 70% 70% 30% 30%;
  transform: rotate(-18deg);
}

.word-chibi::after {
  left: 34px;
  border-radius: 70% 70% 30% 30%;
  transform: rotate(16deg);
}

.jp-badge {
  display: inline-block;
  margin: 14px 0 18px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--jp);
  letter-spacing: 0.18em;
  color: #fff4cf;
  background: linear-gradient(180deg, #5c3d1e, #3b2410);
  box-shadow: 0 8px 18px rgba(58, 32, 8, 0.18);
}

.lead {
  font-size: 1.16rem;
  line-height: 1.65;
  color: var(--brown);
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.btn {
  padding: 13px 18px;
}

.btn.ghost {
  background: rgba(255, 246, 230, 0.7);
  color: var(--chocolate);
}

.btn.ghost:hover {
  transform: translateY(-2px);
  background: #fff6e6;
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 246, 230, 0.7);
  border: 1px solid rgba(166, 124, 18, 0.24);
}

.ca-label {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ca-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  color: var(--chocolate);
}

.ca-copy {
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 700;
  background: #3b2410;
  color: #fff4cf;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 28px auto 0;
  font-family: var(--ui);
  font-weight: 600;
  color: var(--brown);
}

.scroll-hint i {
  width: 16px;
  height: 26px;
  border: 2px solid var(--gold-deep);
  border-radius: 10px;
  position: relative;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 99px;
  background: var(--gold-deep);
  animation: drip 1.4s ease-in-out infinite;
}

/* About */
.story-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lantern {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: 28px 28px 36px 36px;
  background:
    linear-gradient(180deg, rgba(255, 248, 226, 0.92), rgba(243, 226, 192, 0.88));
  border: 1px solid rgba(166, 124, 18, 0.26);
  box-shadow: 0 16px 36px rgba(58, 32, 8, 0.1);
  overflow: hidden;
}

.lantern::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #f0c94a, #a67c12, #f0c94a);
  background-size: 200% 100%;
  animation: sash 6s linear infinite;
}

.seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  font-family: var(--display);
  color: #fff4cf;
  background: radial-gradient(circle at 35% 30%, #f0c94a, #8b6914);
  box-shadow: inset 0 -4px 8px rgba(59, 36, 16, 0.25);
}

.lantern h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.lantern p {
  color: var(--brown);
  line-height: 1.65;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.fact {
  padding: 16px 14px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 246, 230, 0.7);
  border: 1px solid rgba(166, 124, 18, 0.2);
}

.fact span {
  display: block;
  font-family: var(--ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.fact strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

/* How to buy */
.path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.path::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), var(--gold-deep), var(--gold-soft), transparent);
  opacity: 0.45;
}

.step {
  position: relative;
}

.step-coin {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.8rem;
  color: #3b2410;
  background:
    radial-gradient(circle at 32% 28%, #fff3c4, #d4a017 60%, #8b6914);
  box-shadow: 0 10px 20px var(--shadow), inset 0 2px 0 rgba(255, 255, 255, 0.5);
  animation: floaty 5s ease-in-out infinite;
}

.step-card {
  padding: 22px 18px;
  min-height: 250px;
  border-radius: 26px;
  background: rgba(255, 246, 230, 0.76);
  border: 1px solid rgba(166, 124, 18, 0.24);
  box-shadow: 0 14px 30px rgba(58, 32, 8, 0.08);
}

.step-logo {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  object-fit: contain;
  border-radius: 10px;
}

.step-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--brown);
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--ui);
  font-weight: 700;
  color: var(--gold-deep);
  border-bottom: 2px solid var(--gold-soft);
}

/* Chart */
.chart-frame {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, #f4d56a, #c48a1a 40%, #8b6914);
  box-shadow: 0 22px 50px rgba(58, 32, 8, 0.18);
}

.frame-ear {
  position: absolute;
  top: -18px;
  width: 36px;
  height: 42px;
  background: linear-gradient(180deg, #f0c94a, #a67c12);
  border: 3px solid #3b2410;
}

.frame-ear.left {
  left: 46px;
  border-radius: 70% 70% 28% 28%;
  transform: rotate(-16deg);
}

.frame-ear.right {
  right: 46px;
  border-radius: 70% 70% 28% 28%;
  transform: rotate(16deg);
}

.chart-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 700;
  background: rgba(255, 246, 230, 0.88);
}

.mini img {
  width: 16px;
  height: 16px;
}

.chart-well {
  overflow: hidden;
  border-radius: 24px;
  background: #0d1117;
  min-height: 620px;
}

.chart-well iframe {
  width: 100%;
  height: 620px;
  border: 0;
}

/* Join */
.tapestry {
  position: relative;
  margin: 0 auto 28px;
  max-width: 980px;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f4d56a, #a67c12);
  box-shadow: 0 24px 48px rgba(58, 32, 8, 0.2);
}

.tapestry img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.tapestry::before,
.tapestry::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b2410;
  box-shadow: 0 0 0 4px #f0c94a;
}

.tapestry::before { left: 28px; }
.tapestry::after { right: 28px; }

.join-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.join-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 700;
  background: rgba(255, 246, 230, 0.8);
  border: 1px solid rgba(166, 124, 18, 0.24);
  box-shadow: 0 10px 22px rgba(58, 32, 8, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.join-chip img {
  width: 20px;
  height: 20px;
}

.join-chip:hover {
  transform: translateY(-3px);
  background: #fff6e6;
}

/* Footer */
.foot {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 50px auto 0;
  padding: 28px 22px 40px;
  text-align: center;
  color: var(--brown);
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.foot-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.foot-brand strong {
  display: block;
  font-family: var(--display);
}

.fine {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s ease forwards;
  animation-play-state: paused;
}

.reveal.in {
  animation-play-state: running;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }

/* Motion */
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 20px) scale(1.08); }
}

@keyframes rayspin {
  to { transform: rotate(360deg); }
}

@keyframes pawdrift {
  to { background-position: 180px 180px; }
}

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

@keyframes spinsoft {
  0% { transform: rotate(0deg); }
  40% { transform: rotate(8deg); }
  70% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes sheen {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

@keyframes titlein {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes drip {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@keyframes sash {
  to { background-position: 200% 0; }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .story-row,
  .facts,
  .path {
    grid-template-columns: 1fr 1fr;
  }

  .path::before {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 84px;
    left: 22px;
    right: 22px;
    flex-direction: column;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 246, 230, 0.96);
    border: 1px solid rgba(166, 124, 18, 0.24);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-actions .buy-pill span {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero-grid,
  .story-row,
  .facts,
  .path {
    grid-template-columns: 1fr;
  }

  .shrine {
    min-height: 420px;
  }

  .orbit-c,
  .orbit-b {
    display: none;
  }

  .word-chibi::before,
  .word-chibi::after {
    display: none;
  }

  .chart-well,
  .chart-well iframe {
    min-height: 460px;
    height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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