/* ==========================================================================
   FROG SENSEI — styles
   Palette taken from the hero artwork: olive fog, wet moss, straw, sakura.
   ========================================================================== */

:root {
  --ink: #16180f;
  --bg: #23261a;
  --bg-2: #2c2f21;
  --bg-3: #3a3d2b;
  --moss: #6f7f1e;
  --moss-light: #a8ba3c;
  --frog: #9ccf5a;
  --straw: #dcbc8c;
  --straw-dark: #a9824f;
  --sakura: #f2b8c6;
  --sakura-deep: #e0829f;
  --cream: #f3ead8;
  --muted: rgba(243, 234, 216, .58);
  --line: rgba(243, 234, 216, .12);

  --f-display: "Shippori Mincho B1", "Hiragino Mincho ProN", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.has-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--sakura); color: var(--ink); }

.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 14vw, 180px); position: relative; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--straw);
  margin: 0 0 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--frog); box-shadow: 0 0 0 0 rgba(156,207,90,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(156,207,90,0); } 100% { box-shadow: 0 0 0 0 rgba(156,207,90,0); } }

.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
}
.split--muted { color: var(--straw); font-style: italic; font-weight: 500; }
.section__head { margin-bottom: clamp(48px, 7vw, 96px); }
.section__head--center { text-align: center; }

/* ---------- split text ---------- */
.split { display: inline-block; }
.split .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ch > i {
  display: inline-block; font-style: inherit;
  transform: translate3d(0, 110%, 0) rotate(8deg);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i) * 32ms);
}
.split.in .ch > i { transform: none; }

/* word reveal (scroll scrubbed) */
[data-words] .w { opacity: .14; transition: opacity .3s linear, color .3s; }
[data-words] .w.on { opacity: 1; }

/* generic reveal */
[data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--frog);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 30px;
  border-radius: 999px;
  background: var(--bg-btn);
  color: var(--ink);
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition: box-shadow .5s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(156, 207, 90, .55);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sakura);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 16px 40px -12px rgba(242, 184, 198, .6); }
.btn svg { transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,234,216,.4); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn--small { height: 44px; padding: 0 22px; font-size: 14px; }

/* contract address pill */
.ca {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: 999px;
  background: rgba(22, 24, 15, .45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 13px;
  max-width: 100%;
  transition: border-color .4s, background .4s;
}
.ca:hover { border-color: var(--frog); background: rgba(22,24,15,.7); }
.ca__label { background: var(--straw); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-weight: 500; }
.ca__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca__icon { flex: none; opacity: .7; }
.ca--light { background: rgba(243,234,216,.06); }

/* ==========================================================================
   LOADER (3D)
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(120% 90% at 50% 40%, #3b3e2b 0%, #1b1d13 70%);
  display: grid; place-items: center;
  overflow: hidden;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.3s var(--ease-io);
}
.loader.is-out { clip-path: circle(0% at 50% 50%); }
.loader.is-gone { display: none; }

.loader__grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(168,186,60,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,186,60,.22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(68deg);
  transform-origin: 50% 0;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 60%, transparent);
  animation: gridMove 2.2s linear infinite;
}
@keyframes gridMove { to { background-position: 0 64px, 0 0; } }

.loader__stage { perspective: 1100px; width: 360px; height: 360px; display: grid; place-items: center; }
.loader__scene {
  position: relative; width: 200px; height: 200px;
  transform-style: preserve-3d;
  transform: rotateX(-14deg) rotateY(0deg);
  transition: transform 1.1s var(--ease-io);
}
.loader.is-exit .loader__scene { transform: rotateX(0) scale(2.4) translateZ(200px); }

.coin {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: coinSpin 3.2s var(--ease-io) infinite;
}
@keyframes coinSpin {
  0%   { transform: rotateY(0deg) translateY(0); }
  50%  { transform: rotateY(180deg) translateY(-14px); }
  100% { transform: rotateY(360deg) translateY(0); }
}
.coin__edge {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, #c79a5d, #8a6638);
  box-shadow: inset 0 0 0 6px rgba(0,0,0,.15);
}
.coin__face {
  position: absolute; inset: 0; border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 8px solid #e2c28f;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), inset 0 0 40px rgba(0,0,0,.35);
}
.coin__face--front { transform: translateZ(11px); }
.coin__face--front img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25) translateY(10%); }
.coin__face--front::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%);
  animation: shine 3.2s var(--ease-io) infinite;
}
@keyframes shine { 0%,20% { transform: translateX(-120%); } 60%,100% { transform: translateX(120%); } }
.coin__face--back {
  transform: rotateY(180deg) translateZ(11px);
  background: radial-gradient(circle at 40% 35%, #b9d57a, #5e7a1f);
  display: grid; place-content: center; text-align: center;
  color: var(--ink);
}
.coin__face--back span { font-family: var(--f-display); font-weight: 800; font-size: 96px; line-height: 1; }
.coin__face--back small { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; }

.loader__orbit {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-style: preserve-3d;
}
.loader__orbit--a { animation: orbitA 7s linear infinite; }
.loader__orbit--b { animation: orbitB 11s linear infinite; }
@keyframes orbitA { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbitB { from { transform: rotateX(62deg) rotateY(24deg) rotateZ(360deg); } to { transform: rotateX(62deg) rotateY(24deg) rotateZ(0); } }
.petal3d {
  position: absolute; left: -9px; top: -7px;
  width: 18px; height: 14px;
  transform-style: preserve-3d;
}
.petal3d::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, #fde3ea, var(--sakura) 50%, var(--sakura-deep));
  border-radius: 80% 0 80% 0;
  animation: petalFlip var(--dur, 2s) linear infinite;
}
.petal3d--dew::before { background: radial-gradient(circle at 35% 30%, #fff, rgba(200,230,170,.5) 60%, transparent 70%); border-radius: 50%; }
@keyframes petalFlip { to { transform: rotateX(360deg) rotateY(180deg); } }

.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.loader__kanji { font-family: var(--f-display); font-size: 22px; letter-spacing: .3em; color: var(--straw); text-transform: none; }
.loader__count { font-family: var(--f-display); color: var(--cream); font-size: clamp(56px, 10vw, 120px); line-height: .8; letter-spacing: -.03em; }
.loader__count b { font-weight: 800; font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(243,234,216,.08); }
.loader__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--moss-light), var(--sakura)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 640px) {
  .loader__label { display: none; }
  .loader__stage { transform: scale(.8); }
}

/* ==========================================================================
   CURSOR / FX / GRAIN / PROGRESS
   ========================================================================== */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

.cursor { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--frog); }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1.5px solid rgba(243, 234, 216, .6);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: var(--sakura); background: rgba(242,184,198,.12); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--straw); border-color: var(--straw); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .8; }

.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-5%,3%)} 40%{transform:translate(3%,-6%)} 60%{transform:translate(-2%,5%)} 80%{transform:translate(6%,1%)} 100%{transform:translate(0,0)} }

.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 110; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--moss-light), var(--sakura)); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: transform .7s var(--ease), background .5s, padding .5s var(--ease);
}
.nav.is-scrolled { background: rgba(35, 38, 26, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.nav__logo img { transition: transform .8s var(--ease); }
.nav__logo:hover img { transform: rotate(-20deg) scale(1.1); }
.nav__links { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--sakura); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
.nav__burger i:first-child { top: 17px; } .nav__burger i:last-child { top: 25px; }
.menu-open .nav__burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease-io);
}
.menu a { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 11vw, 64px); line-height: 1.15; transform: translateY(30px); opacity: 0; transition: transform .8s var(--ease), opacity .8s; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu-open .menu a { transform: none; opacity: 1; }
.menu-open .menu a:nth-child(2) { transition-delay: .06s; } .menu-open .menu a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu a:nth-child(4) { transition-delay: .18s; } .menu-open .menu a:nth-child(5) { transition-delay: .24s; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav .btn--small { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(40px, 8vh, 90px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: -4%; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.18); transition: transform 2.6s var(--ease); }
.is-ready .hero__media img { transform: scale(1.04); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(27,29,19,.92) 0%, rgba(27,29,19,.55) 38%, rgba(27,29,19,0) 65%),
    linear-gradient(0deg, var(--bg) 0%, rgba(35,38,26,0) 35%);
}
.hero__vertical {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1.2;
  color: rgba(243,234,216,.85); text-shadow: 0 4px 30px rgba(0,0,0,.4);
  opacity: 0; transition: opacity 1.4s 1s;
}
.is-ready .hero__vertical { opacity: 1; }
.hero__content { position: relative; max-width: 720px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(76px, 15vw, 230px);
  line-height: .86; letter-spacing: -.045em;
  margin: 0 0 28px;
  text-shadow: 0 10px 60px rgba(0,0,0,.35);
}
.hero__title .line { display: block; }
.hero__title .line--indent { padding-left: .5em; color: var(--straw); font-style: italic; font-weight: 700; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 480px; color: rgba(243,234,216,.82); margin: 0 0 34px; }
.hero__lead em { color: var(--frog); font-style: normal; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
[data-hero-in] { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.is-ready [data-hero-in] { opacity: 1; transform: none; }
.is-ready [data-hero-in]:nth-of-type(1) { transition-delay: .5s; }
.is-ready .hero__lead { transition-delay: .7s; }
.is-ready .hero__cta { transition-delay: .85s; }
.is-ready .hero .ca { transition-delay: 1s; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 36px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 1px; height: 64px; background: linear-gradient(var(--cream), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--frog); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }

@media (max-width: 700px) {
  .hero { align-items: flex-end; }
  .hero__media { inset: -2% -2% 30% -2%; }
  .hero__media img { object-position: 55% 20%; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 34%, rgba(35,38,26,.82) 50%, rgba(35,38,26,0) 72%); }
  .hero__title { font-size: clamp(64px, 19vw, 96px); }
  .hero__vertical, .hero__scroll { display: none; }
  .hero__title .line--indent { padding-left: .3em; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--straw); color: var(--ink);
  padding: 22px 0; overflow: hidden;
  transform: rotate(-2deg) scale(1.04);
  margin-block: -10px;
  position: relative; z-index: 2;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
}
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 4vw, 52px); line-height: 1; white-space: nowrap; }
.marquee__track em { font-style: normal; color: var(--sakura-deep); font-size: 30px; }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro__text {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 64px); line-height: 1.14; letter-spacing: -.015em;
  margin: 0 0 clamp(60px, 8vw, 110px); max-width: 1100px;
}
.intro__text .hl { color: var(--sakura); font-style: italic; }
.intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; color: var(--frog); font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat:nth-child(2) { --d: 120ms; } .stat:nth-child(3) { --d: 240ms; }
@media (max-width: 700px) {
  .intro__stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
}

/* ==========================================================================
   THE WAY — horizontal
   ========================================================================== */
.way { position: relative; height: 420vh; background: var(--bg-2); }
.way__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); }
.way__head { width: 100%; }
.way__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.teach {
  position: relative; flex: none;
  width: clamp(280px, 30vw, 420px); height: clamp(360px, 52vh, 500px);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: linear-gradient(160deg, rgba(243,234,216,.08), rgba(243,234,216,.02));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  transition: border-color .5s, transform .8s var(--ease);
}
.teach:hover { border-color: rgba(242,184,198,.5); transform: translateY(-8px); }
.teach__num { position: absolute; top: 18px; right: 26px; font-family: var(--f-display); font-weight: 800; font-size: 150px; line-height: 1; color: rgba(168,186,60,.2); transition: color .6s, transform 1s var(--ease); }
.teach:hover .teach__num { color: rgba(242,184,198,.45); transform: rotate(-6deg) scale(1.06); }
.teach h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; margin: 0 0 14px; }
.teach p { margin: 0 0 22px; color: var(--muted); }
.teach__tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--straw); }
.teach--image { padding: 0; }
.teach--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.teach--image:hover img { transform: scale(1.08); }
.teach--image .teach__tag { position: relative; margin: 24px; background: var(--straw); color: var(--ink); padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.teach--accent { background: var(--sakura); color: var(--ink); border-color: transparent; }
.teach--accent p { color: rgba(22,24,15,.7); }
.teach--accent .teach__num { color: rgba(22,24,15,.14); }
.teach--accent .teach__tag { color: var(--ink); }
.way__bar { position: relative; margin-inline: var(--gutter); height: 2px; background: var(--line); }
.way__bar i { position: absolute; inset: 0; background: var(--frog); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   TOKENOMICS
   ========================================================================== */
.tk { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.tk__chart { position: relative; max-width: 500px; width: 100%; aspect-ratio: 1; margin-inline: auto; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 22; }
.donut__bg { stroke: rgba(243,234,216,.06); }
.donut__seg { stroke: var(--c); stroke-linecap: butt; transition: stroke-dashoffset 1.8s var(--ease), stroke-width .5s var(--ease); }
.donut__seg:hover { stroke-width: 30; }
.tk__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tk__center b { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: 1; }
.tk__center span { font-family: var(--f-mono); letter-spacing: .16em; color: var(--straw); font-size: 13px; }
.tk__list { list-style: none; margin: 0; padding: 0; }
.tk__list li:not(.tk__facts) {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 18px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.8vw, 24px); font-weight: 600;
}
.tk__list li:nth-child(2) { --d: 100ms; } .tk__list li:nth-child(3) { --d: 200ms; } .tk__list li:nth-child(4) { --d: 300ms; }
.tk__list i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.tk__list b { font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); font-weight: 800; }
.tk__facts { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 30px; }
.chip { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(243,234,216,.04); }
@media (max-width: 900px) { .tk { grid-template-columns: 1fr; } }

/* ==========================================================================
   HOW TO BUY
   ========================================================================== */
.buy { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; }
.step {
  position: relative;
  padding: 34px 28px 36px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.step::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(242,184,198,.16), transparent 50%); opacity: 0; transition: opacity .4s; }
.step:hover::after { opacity: 1; }
.step:nth-child(2) { --d: 100ms; } .step:nth-child(3) { --d: 200ms; } .step:nth-child(4) { --d: 300ms; }
.step__n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--frog); color: var(--ink); font-family: var(--f-mono); font-weight: 500; margin-bottom: 70px; transform: translateZ(40px); }
.step h3 { font-family: var(--f-display); font-size: 26px; font-weight: 800; margin: 0 0 10px; transform: translateZ(30px); }
.step p { margin: 0; color: var(--muted); font-size: 16px; transform: translateZ(20px); }
.buy__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step__n { margin-bottom: 36px; } }

/* ==========================================================================
   ROADMAP
   ========================================================================== */
.rm { position: relative; display: grid; gap: clamp(80px, 12vw, 160px); }
.rm__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; height: 100%; transform: translateX(-50%); overflow: visible; }
.rm__line path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.rm__line-bg { stroke: var(--line); }
.rm__line-fg { stroke: var(--frog); stroke-dasharray: 1000; stroke-dashoffset: 1000; }

.phase { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.phase::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--frog);
  transition: background .6s, box-shadow .6s, transform .8s var(--ease);
  transform: scale(.6);
}
.phase.in::before { background: var(--frog); box-shadow: 0 0 0 8px rgba(156,207,90,.15), 0 0 30px var(--frog); transform: scale(1); }
.phase--right .phase__img { order: 2; }
.phase__img {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  clip-path: inset(18% 18% 18% 18% round var(--radius));
  transition: clip-path 1.6s var(--ease);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.phase.in .phase__img { clip-path: inset(0 0 0 0 round var(--radius)); }
.phase__img img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; transform: scale(1.25); transition: scale 1.6s var(--ease); }
.phase.in .phase__img img { scale: .84; }
.phase__body { position: relative; opacity: 0; transform: translateY(50px); transition: opacity 1.2s .2s var(--ease), transform 1.4s .2s var(--ease); }
.phase.in .phase__body { opacity: 1; transform: none; }
.phase__k { position: absolute; top: -60px; right: 0; font-family: var(--f-display); font-weight: 800; font-size: 120px; line-height: 1; color: rgba(243,234,216,.05); pointer-events: none; }
.phase__n { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--straw); margin: 0 0 10px; }
.phase h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 1; margin: 0 0 24px; }
.phase ul { list-style: none; margin: 0 0 26px; padding: 0; }
.phase li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); color: rgba(243,234,216,.8); }
.phase li::before { content: "✿"; position: absolute; left: 0; color: var(--sakura); font-size: 14px; top: 14px; }
.phase__status { display: inline-block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.phase__status.is-done { background: var(--frog); color: var(--ink); border-color: transparent; }
.phase__status.is-live { border-color: var(--sakura); color: var(--sakura); }
.phase__status.is-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sakura); margin-right: 8px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 800px) {
  .rm__line { left: 9px; }
  .phase { grid-template-columns: 1fr; padding-left: 36px; gap: 28px; }
  .phase::before { left: 9px; top: 0; }
  .phase--right .phase__img { order: 0; }
  .phase__k { font-size: 80px; top: -30px; }
}

/* ==========================================================================
   DOJO
   ========================================================================== */
.dojo { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-block: 140px; text-align: center; }
.dojo__bg { position: absolute; inset: -20% 0; will-change: transform; }
.dojo__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.9); }
.dojo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(27,29,19,.55), rgba(27,29,19,.92)), linear-gradient(var(--bg), transparent 20%, transparent 80%, var(--bg)); }
.dojo__inner { position: relative; z-index: 2; }
.dojo__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 11vw, 170px); line-height: .92; letter-spacing: -.03em; margin: 0 0 24px; }
.dojo__lead { max-width: 520px; margin: 0 auto 48px; color: rgba(243,234,216,.8); font-size: 19px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.social {
  display: inline-flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 28px 0 22px; border-radius: 999px;
  background: rgba(22,24,15,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(243,234,216,.2);
  font-weight: 700;
  transition: background .5s var(--ease), color .5s, border-color .5s;
}
.social svg { width: 22px; height: 22px; }
.social:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; padding: 40px 0 36px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__big { text-align: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(90px, 22vw, 340px); line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(243,234,216,.16); user-select: none; margin-bottom: 30px; }
.footer__big span { display: inline-block; }
.footer__row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; font-size: 14px; color: var(--muted); }
.footer__row p { margin: 0; }
.footer__legal { max-width: 560px; justify-self: center; text-align: center; }
.footer__top { color: var(--cream); font-weight: 600; display: inline-block; }
@media (max-width: 800px) { .footer__row { grid-template-columns: 1fr; text-align: center; } .footer__top { justify-self: center; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 950;
  transform: translate(-50%, calc(100% + 60px));
  background: var(--frog); color: var(--ink);
  padding: 14px 24px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.5);
  transition: transform .7s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .way { height: auto; }
  .way__sticky { position: relative; height: auto; padding-block: 100px; }
  .way__track { width: auto; overflow-x: auto; }
}
