/* ==========================================================================
   YomogiCoin — visual system
   A warm Japanese-spring meme garden, not a generic crypto template.
   ========================================================================== */

:root {
  --bg: #f4ead4;
  --bg-deep: #efe3c8;
  --surface: #fffaf1;
  --surface-2: #fbf3e1;
  --green: #4f8a42;
  --green-dark: #244126;
  --sage: #8aa67a;
  --pink: #f0c4c8;
  --pink-deep: #e39aa4;
  --text: #2b2723;
  --muted: #6e675f;
  --gold: #c9a44a;
  --gold-soft: #e8d48a;
  --ivory: #fff8ea;
  --forest: #1c331f;
  --line: rgba(73, 58, 36, 0.12);
  --shadow: 0 18px 50px rgba(68, 48, 22, 0.12);
  --shadow-soft: 0 10px 30px rgba(68, 48, 22, 0.08);
  --radius: 28px;
  --header-h: 84px;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 196, 90, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 8%, rgba(240, 196, 200, 0.28), transparent 50%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
}

body.is-ready {
  animation: page-in 0.9s var(--ease) both;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol, dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--green-dark);
  color: var(--ivory);
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Paper grain + seigaiha hush */
.grain,
body::before {
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  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");
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='42' viewBox='0 0 72 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 21c6-8 12-8 18 0s12 8 18 0 12-8 18 0' fill='none' stroke='%234f8a42' stroke-width='1'/%3E%3C/svg%3E");
}

#ambient-canvas,
.burst-layer,
.cursor-leaf {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cursor-leaf {
  width: 28px;
  height: 28px;
  inset: auto;
  opacity: 0;
  z-index: 70;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 42c12-26 28-34 44-34-2 18-12 34-32 42-6 2-12-2-12-8z' fill='%234f8a42'/%3E%3Cpath d='M18 40c10-8 20-18 28-30' fill='none' stroke='%23244126' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(36, 65, 38, 0.2));
  transition: opacity 0.4s ease;
}

.cursor-leaf.is-on {
  opacity: 0.85;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 650 0.92rem/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-20deg);
}

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

.btn:hover::after {
  animation: shine 0.8s ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  min-height: 56px;
  padding: 14px 26px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(180deg, #5c9a4c 0%, var(--green) 55%, #3f7036 100%);
  color: #fffdf6;
  box-shadow: 0 10px 24px rgba(79, 138, 66, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(79, 138, 66, 0.36);
}

.btn-secondary {
  background: var(--surface);
  color: var(--green-dark);
  border-color: rgba(79, 138, 66, 0.35);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: rgba(255, 250, 241, 0.55);
  border-color: rgba(43, 39, 35, 0.12);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-light {
  background: var(--ivory);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.btn-on-dark {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(255, 248, 234, 0.35);
}

.btn-copy {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--green-dark);
  color: var(--ivory);
  flex-shrink: 0;
}

.btn-copy.is-copied {
  background: var(--green);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.logo-orb:focus-visible,
.paw-fab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(247, 238, 216, 0.96);
  box-shadow: 0 10px 30px rgba(68, 48, 22, 0.08);
}

.nav {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 45;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(201, 164, 74, 0.35);
}

.nav-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  z-index: 42;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--muted);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  z-index: 45;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-toggle-bars {
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle.is-open .nav-toggle-bars {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding: 24px 20px 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-paws,
.hero-sprigs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-paws span {
  position: absolute;
  font-size: 1.15rem;
  opacity: 0.22;
  animation: paw-fade 7s ease-in-out infinite;
}

.hero-paws span:nth-child(1) { left: 8%; top: 22%; animation-delay: 0s; }
.hero-paws span:nth-child(2) { right: 12%; top: 30%; animation-delay: -2s; }
.hero-paws span:nth-child(3) { left: 16%; bottom: 18%; animation-delay: -4s; }
.hero-paws span:nth-child(4) { right: 18%; bottom: 26%; animation-delay: -5.5s; }

.sprig {
  position: absolute;
  width: 120px;
  height: 160px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 160'%3E%3Cpath d='M60 150c2-30 18-52 40-70-28 4-48 22-52 50-2-28-18-50-40-70 28 4 48 24 52 54z' fill='%234f8a42' opacity='.22'/%3E%3Cpath d='M60 150c0-40 8-80 8-130' stroke='%23244126' stroke-width='2' fill='none' opacity='.25'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: floaty 8s ease-in-out infinite;
}

.sprig-left { left: -10px; bottom: 40px; transform: rotate(-18deg); }
.sprig-right { right: -10px; top: 90px; transform: rotate(22deg) scaleX(-1); animation-delay: -3s; }

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: blob-drift 16s ease-in-out infinite;
}

.blob-a {
  width: 340px;
  height: 340px;
  left: -60px;
  top: 10%;
  background: #cfe0b4;
}

.blob-b {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 18%;
  background: var(--pink);
  animation-delay: -5s;
}

.blob-c {
  width: 360px;
  height: 220px;
  left: 30%;
  bottom: 8%;
  background: var(--gold-soft);
  animation-delay: -9s;
}

.hero-side-jp {
  position: absolute;
  left: 28px;
  top: 18%;
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  color: rgba(36, 65, 38, 0.28);
}

.hero-inner {
  position: relative;
  width: min(980px, 100%);
  text-align: center;
}

.hero-mark {
  position: relative;
  width: min(250px, 58vw);
  margin: 0 auto 18px;
}

.logo-orb {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  animation: floaty 5.5s ease-in-out infinite;
}

.logo-orb img {
  width: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 22px 40px rgba(201, 164, 74, 0.32));
}

.logo-orb.is-bounce {
  animation: logo-pop 0.55s var(--ease);
}

.hero-glow {
  position: absolute;
  inset: 8% 8%;
  background: radial-gradient(circle, rgba(255, 236, 170, 0.7), transparent 68%);
  filter: blur(18px);
  z-index: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-soft);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(79, 138, 66, 0.14);
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 750;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--green-dark);
}

.hero-lead,
.section-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-banner {
  margin: 42px auto 0;
  width: min(860px, 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 74, 0.35);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-banner img {
  width: 100%;
  object-fit: cover;
}

.scroll-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint i {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--sage);
  border-radius: 12px;
  position: relative;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--green);
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

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

.section {
  position: relative;
  padding: 96px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

.story {
  background:
    linear-gradient(180deg, transparent, rgba(255, 250, 241, 0.7) 12%, rgba(255, 250, 241, 0.7) 88%, transparent);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.story-copy {
  padding: 8px 8px 8px 0;
}

.story-copy p + p {
  margin-top: 16px;
}

.story-copy strong {
  color: var(--green-dark);
}

.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-card,
.featured-photo,
.bento-item,
.meme-card img {
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.photo-card img,
.featured-photo img,
.bento-item img,
.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.8s var(--ease);
}

.photo-card:hover img,
.featured-photo:hover img,
.bento-item:hover img,
.meme-card:hover img {
  transform: scale(1.05);
}

.photo-card {
  position: relative;
}

.photo-card:nth-child(2) {
  margin-top: 36px;
}

.photo-card figcaption,
.featured-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--green), var(--gold-soft));
}

.timeline-year {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Meet Yomogi */
.yomogi-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.featured-photo {
  position: relative;
  min-height: 520px;
}

.featured-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.featured-photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.jp {
  font-family: var(--font-jp);
}

.fact-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.fact-wide {
  grid-column: 1 / -1;
}

.fact-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-value {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.moments {
  margin-top: 56px;
}

.moments-title {
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.bento-item {
  min-height: 0;
}

.bento-tall {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

/* Lineage */
.lineage {
  background: linear-gradient(180deg, transparent, rgba(142, 166, 122, 0.12), transparent);
}

.lineage-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}

.lineage-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

.lineage-node {
  position: relative;
  padding: 22px 16px 20px;
  text-align: center;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.lineage-node.is-now {
  border-color: rgba(79, 138, 66, 0.4);
  box-shadow: 0 16px 36px rgba(79, 138, 66, 0.14);
}

.lineage-icon,
.lineage-node img {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-deep);
  font-size: 1.4rem;
}

.lineage-node h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.lineage-node p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Token */
.token-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.95), rgba(255, 248, 234, 0.92));
  border: 1px solid rgba(201, 164, 74, 0.28);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.token-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.token-card-top img {
  width: 88px;
  border-radius: 50%;
}

.token-card-top h3 {
  font-size: 2rem;
}

.token-ticker {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.token-meta {
  display: grid;
  gap: 14px;
}

.token-meta > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.token-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.token-meta dd {
  margin: 0;
  font-weight: 600;
}

.token-ca dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.token-ca code {
  font-size: 1rem;
  word-break: break-all;
  background: var(--bg-deep);
  padding: 8px 12px;
  border-radius: 10px;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

.meme-card {
  padding: 16px;
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.meme-card img {
  height: 240px;
  margin-bottom: 12px;
}

.meme-card p:last-child {
  color: var(--muted);
}

.bubble {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 16px 16px 16px 4px;
  background: var(--pink);
  font-weight: 650;
  font-size: 0.85rem;
}

.community-cta {
  margin-top: 36px;
  text-align: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 138, 66, 0.1);
  color: var(--green-dark);
  font-size: 0.8rem;
  animation: floaty 6s ease-in-out infinite;
}

.badge:nth-child(2) { animation-delay: -2s; }
.badge:nth-child(3) { animation-delay: -4s; }

/* Buy */
.buy {
  padding: 0 20px 96px;
}

.buy-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 72px 28px;
  border-radius: 40px;
  text-align: center;
  color: var(--ivory);
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(232, 196, 90, 0.22), transparent 55%),
    linear-gradient(160deg, #355c33 0%, var(--forest) 60%, #142016 100%);
  box-shadow: var(--shadow);
}

.buy .section-lead {
  color: rgba(255, 248, 234, 0.78);
}

.buy .section-title {
  color: #fff8ea;
}

/* Footer */
.site-footer {
  padding: 48px 20px 36px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

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

.footer-brand img {
  width: 56px;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-brand span {
  display: block;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-weight: 650;
  color: var(--green-dark);
}

.disclaimer,
.footer-note {
  width: min(900px, calc(100% - 40px));
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.86rem;
}

.footer-note {
  margin-top: 10px;
  font-style: italic;
}

/* Paw FAB + whispers */
.paw-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

.paw-fab:hover {
  transform: translateY(-3px) rotate(-8deg);
}

body.menu-open .paw-fab {
  opacity: 0;
  pointer-events: none;
}

.hanko {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-left: 10px;
  border: 2px solid #c45b5b;
  border-radius: 50%;
  color: #c45b5b;
  font-family: var(--font-jp);
  font-size: 1.4rem;
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 3px rgba(196, 91, 91, 0.15);
  vertical-align: middle;
}

.whisper {
  position: fixed;
  z-index: 60;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--ivory);
  font-size: 0.75rem;
  pointer-events: none;
  transform: translate(-50%, -140%);
  animation: whisper-in 0.25s var(--ease);
}

.paw-burst {
  position: fixed;
  z-index: 55;
  font-size: 1rem;
  pointer-events: none;
  animation: paw-up 1.1s var(--ease) forwards;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.85s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
  animation-play-state: paused;
}

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

.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -16px) scale(1.08); }
}

@keyframes shine {
  to { transform: translateX(420%) skewX(-20deg); }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  60% { opacity: 0.2; transform: translateX(-50%) translateY(10px); }
}

@keyframes logo-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.12) rotate(-7deg); }
  70% { transform: scale(0.96) rotate(3deg); }
  100% { transform: scale(1); }
}

@keyframes whisper-in {
  from { opacity: 0; transform: translate(-50%, -110%); }
  to { opacity: 1; transform: translate(-50%, -140%); }
}

@keyframes paw-up {
  to {
    transform: translateY(-90px) scale(1.2);
    opacity: 0;
  }
}

@keyframes paw-fade {
  0%, 100% { opacity: 0.08; transform: translateY(0) rotate(-8deg); }
  50% { opacity: 0.28; transform: translateY(-8px) rotate(8deg); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .story-grid,
  .yomogi-layout,
  .lineage-track,
  .community-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .lineage-track::before {
    display: none;
  }

  .lineage-node:last-child,
  .fact-wide,
  .bento-wide {
    grid-column: 1 / -1;
  }

  .hero-side-jp {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-panel {
    position: fixed;
    inset: 0;
    padding: 108px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    background: rgba(246, 236, 214, 0.96);
    backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }

  .nav-panel.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 6px;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(24px);
  }

  .nav-panel.is-open .nav-links li {
    animation: rise 0.5s var(--ease) forwards;
  }

  .nav-panel.is-open .nav-links li:nth-child(1) { animation-delay: 0.05s; }
  .nav-panel.is-open .nav-links li:nth-child(2) { animation-delay: 0.1s; }
  .nav-panel.is-open .nav-links li:nth-child(3) { animation-delay: 0.15s; }
  .nav-panel.is-open .nav-links li:nth-child(4) { animation-delay: 0.2s; }
  .nav-panel.is-open .nav-links li:nth-child(5) { animation-delay: 0.25s; }
  .nav-panel.is-open .nav-links li:nth-child(6) { animation-delay: 0.3s; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1.6rem;
    font-family: var(--font-display);
    color: var(--text);
  }

  .nav-cta {
    width: 100%;
  }

  body.menu-open {
    overflow: hidden;
  }

  .story-grid,
  .yomogi-layout,
  .lineage-track,
  .community-grid,
  .timeline,
  .fact-board,
  .bento {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-auto-rows: 220px;
  }

  .bento-tall,
  .bento-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-card:nth-child(2) {
    margin-top: 0;
  }

  .featured-photo {
    min-height: 420px;
  }

  .story-photos {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions,
  .token-actions {
    flex-direction: column;
  }

  .btn-lg,
  .hero-actions .btn,
  .token-actions .btn {
    width: 100%;
  }

  .token-meta > div,
  .token-ca dd {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

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

  .hero {
    padding-top: 8px;
  }

  .hero-sprigs {
    display: none;
  }

  .hanko {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    margin-left: 6px;
  }

  .token-card {
    padding: 22px 18px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .story-photos {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .nav-links li {
    opacity: 1;
    transform: none;
  }

  .logo-orb,
  .badge {
    animation: none;
  }
}
