:root {
  --ink: #140d0a;
  --ink-2: #22160f;
  --paper: #f4ead9;
  --paper-2: #eadcc4;
  --rust: #d4561c;
  --rust-2: #ef7a2e;
  --ember: #8f2e0e;
  --bamboo: #8fa65a;
  --muted: rgba(244, 234, 217, .62);
  --serif: "Fraunces", "Noto Serif JP", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --jp: "Noto Serif JP", serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-variation-settings: "SOFT" 50, "WONK" 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--rust-2); }
.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.label { display: inline-block; color: var(--rust-2); margin-bottom: 18px; }
::selection { background: var(--rust); color: var(--paper); }

/* ---------- grain / leaves / cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
#leaves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1.5px solid var(--rust-2); display: grid; place-items: center;
  transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s;
  mix-blend-mode: normal; opacity: 0;
}
.cursor span { font-size: 0; transition: font-size .25s; }
.cursor.is-hover { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--rust); border-color: var(--rust); }
.cursor.is-hover span { font-size: 26px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--rust);
  color: var(--ink); display: grid; place-items: center; align-content: center; gap: 18px;
}
.loader__kanji { font-family: var(--jp); font-weight: 900; font-size: clamp(64px, 14vw, 160px); line-height: 1; letter-spacing: .05em; }
.loader__count { font-weight: 800; font-size: clamp(40px, 7vw, 80px); line-height: 1; font-variant-numeric: tabular-nums; }
.loader__count small { font-family: var(--mono); font-size: 14px; margin-left: 6px; text-transform: uppercase; }
.loader__bar { width: min(280px, 60vw); height: 3px; background: rgba(20, 13, 10, .2); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.loader__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  transition: background .4s, padding .4s, transform .5s;
}
.nav.is-scrolled { background: rgba(20, 13, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nav__brand small { font-size: 11px; color: var(--rust-2); margin-left: 4px; vertical-align: middle; }
.nav__links { display: flex; gap: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.nav__links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--rust-2); transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.7, 0, .2, 1); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.x-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); transition: background .3s, color .3s;
}
.x-btn svg { width: 18px; height: 18px; fill: currentColor; }
.x-btn:hover { background: var(--rust); color: var(--paper); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 4px; border-radius: 999px; background: rgba(244, 234, 217, .08); border: 1px solid rgba(244, 234, 217, .18); }
.lang button { white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: background .3s, color .3s; }
.lang button[lang="ja"] { font-family: var(--jp); font-weight: 700; letter-spacing: .02em; }
.lang button:hover { color: var(--paper); }
.lang button.is-active { background: var(--rust); color: var(--paper); }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 480px) {
  .nav__brand { font-size: 18px; }
  .nav__brand small { display: none; }
  .lang button { padding: 8px 10px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 110px var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(212, 86, 28, .35), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(143, 46, 14, .35), transparent 70%),
    var(--ink);
}
.hero__kanji {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--jp); font-weight: 900;
  font-size: clamp(180px, 34vw, 520px); line-height: .9; color: transparent;
  -webkit-text-stroke: 1px rgba(244, 234, 217, .09); z-index: -1; user-select: none;
}
.hero__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); flex-wrap: wrap; }
.hero__title {
  grid-column: 1; align-self: center; display: flex; align-items: flex-start;
  font-weight: 900; line-height: .78; letter-spacing: -.06em;
  font-size: clamp(100px, 21vw, 380px);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  margin-left: -.04em;
}
.hero__dollar { font-size: .42em; color: var(--rust-2); margin-top: .12em; margin-right: .04em; font-style: italic; display: inline-block; }
.hero__word { display: inline-flex; overflow: hidden; padding: 0 .04em .06em 0; }
.hero__word .ch { display: inline-block; will-change: transform; }
.hero__word .ch:nth-child(2) { font-style: italic; color: var(--rust); }

.hero__portrait {
  grid-column: 2; grid-row: 2; align-self: center; position: relative;
  width: clamp(200px, 25vw, 400px); aspect-ratio: 1; margin-right: clamp(0px, 5vw, 80px);
}
.hero__portrait { perspective: 1000px; }
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.coin img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .8), 0 0 80px -10px rgba(242, 183, 18, .45);
  animation: coinFloat 6s ease-in-out infinite;
}
.coin__glare {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 48%, transparent 60%);
  background-size: 250% 250%; mix-blend-mode: overlay; animation: glare 5s ease-in-out infinite;
}
@keyframes coinFloat { 50% { translate: 0 -12px; } }
@keyframes glare { 0%, 60% { background-position: 120% 120%; } 100% { background-position: -40% -40%; } }
.hero__ring { position: absolute; inset: -22%; z-index: 1; pointer-events: none; animation: spin 28s linear infinite; }
.hero__ring text { font-family: var(--mono); font-size: 11.4px; letter-spacing: .18em; fill: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bottom {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; gap: 28px;
  border-top: 1px solid rgba(244, 234, 217, .15); padding-top: 22px;
}
.hero__lede { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; max-width: 34ch; font-weight: 400; }
.age { display: flex; gap: clamp(10px, 1.6vw, 22px); }
.age div { display: flex; flex-direction: column; }
.age b { font-size: clamp(26px, 3vw, 44px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.age small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.ca {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: var(--paper); color: var(--ink); white-space: nowrap;
  transition: background .3s, color .3s;
}
.ca__tag { background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 999px; font-size: 11px; }
.ca__val { font-size: 13px; font-weight: 600; }
.ca__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 0 rgba(212, 86, 28, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(212, 86, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 86, 28, 0); } }
.ca:hover { background: var(--rust-2); }

.scroll-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--rust-2), transparent); animation: drip 1.6s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 26px; padding-top: 96px; }
  .hero__title { grid-row: 2; justify-content: center; margin: 0; }
  .hero__portrait { grid-column: 1; grid-row: 3; justify-self: center; margin: 10px 0 10px; width: min(62vw, 300px); }
  .hero__bottom { grid-row: 4; grid-template-columns: 1fr; gap: 20px; }
  .ca { justify-self: start; }
}
@media (max-width: 480px) {
  .hero__meta span:last-child { display: none; }
  .age b { font-size: 24px; }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 3; background: var(--rust); color: var(--ink);
  transform: rotate(-2deg) scale(1.04); margin: 30px 0 0; padding: 14px 0; overflow: hidden;
  border-block: 2px solid var(--ink);
}
.marquee__track { display: flex; width: max-content; gap: 32px; animation: marquee 26s linear infinite; font-weight: 900; font-size: clamp(28px, 4vw, 54px); letter-spacing: -.02em; white-space: nowrap; }
.marquee__track span:nth-child(4n+1) { font-style: italic; }
.marquee .star { color: var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stand (pinned reveal) ---------- */
.stand { position: relative; height: 300vh; }
.stand__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.stand__media { position: absolute; inset: 0; clip-path: inset(30% 34% 30% 34% round 400px); will-change: clip-path; }
.stand__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.3); transform-origin: 50% 0%; filter: saturate(1.05) contrast(1.05); }
.stand__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 13, 10, .88) 0%, rgba(20, 13, 10, .55) 45%, rgba(20, 13, 10, .1) 80%); opacity: var(--shade, 0); }
.stand__caption { position: absolute; left: var(--gutter); bottom: 24px; color: var(--muted); opacity: var(--shade, 0); }
.stand__text {
  position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter); max-width: 1200px; justify-self: start;
  font-size: clamp(30px, 4.6vw, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em;
}
.stand__text .w { display: inline-block; opacity: .12; transition: none; }
@media (max-width: 760px) { .stand__media::after { background: linear-gradient(0deg, rgba(20, 13, 10, .9) 10%, rgba(20, 13, 10, .45) 70%, rgba(20, 13, 10, .2)); } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding: 120px var(--gutter); background: var(--paper); color: var(--ink);
}
.stat { padding: 0 clamp(16px, 3vw, 48px); border-left: 1px solid rgba(20, 13, 10, .18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(64px, 9vw, 150px); font-weight: 900; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.stat > span { font-family: var(--mono); font-size: 14px; color: var(--ember); margin-left: 6px; text-transform: uppercase; }
.stat p { margin-top: 18px; font-size: 18px; line-height: 1.4; max-width: 28ch; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; gap: 48px; padding: 80px var(--gutter); }
  .stat { border-left: 0; padding: 0; border-top: 1px solid rgba(20, 13, 10, .18); padding-top: 28px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- life (horizontal) ---------- */
.life { position: relative; background: var(--paper); color: var(--ink); }
.life__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 40px; }
.life__head { padding: 0 var(--gutter); margin-bottom: 30px; }
.life__head h2, .gallery__head h2 { font-size: clamp(44px, 7vw, 110px); font-weight: 900; line-height: .9; letter-spacing: -.04em; }
.life__head em { color: var(--rust); }
.life__track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.tl { flex: 0 0 auto; width: clamp(260px, 26vw, 380px); display: flex; flex-direction: column; position: relative; }
.tl--big { width: clamp(300px, 34vw, 500px); }
.tl__year { font-weight: 900; font-size: clamp(56px, 6vw, 96px); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: -.28em; position: relative; z-index: 2; padding-left: 8px; }
.tl--big .tl__year { -webkit-text-stroke: 0; color: var(--rust); }
.tl__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-2); }
.tl__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tl:hover .tl__img img { transform: scale(1.02); }
.tl h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; margin: 18px 0 8px; letter-spacing: -.02em; }
.tl p { font-size: 16px; line-height: 1.45; max-width: 36ch; color: rgba(20, 13, 10, .78); }
.tl--end { width: clamp(260px, 30vw, 440px); justify-content: center; }
.tl--end span { font-size: clamp(48px, 6vw, 96px); font-weight: 900; font-style: italic; line-height: .9; letter-spacing: -.04em; color: var(--rust); font-variation-settings: "SOFT" 100, "WONK" 1; }
.life__progress { margin: 34px var(--gutter) 0; height: 2px; background: rgba(20, 13, 10, .12); }
.life__progress i { display: block; height: 100%; width: 100%; background: var(--rust); transform: scaleX(0); transform-origin: left; }

@media (max-width: 760px) {
  .life__pin { height: auto; padding: 90px 0 80px; }
  .life__track { flex-direction: column; width: auto; gap: 56px; }
  .tl, .tl--big, .tl--end { width: 100%; }
  .life__progress { display: none; }
}

/* ---------- record ---------- */
.record { position: relative; padding: 160px var(--gutter); overflow: hidden; background: var(--ink); }
.record__bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 70vw; font-weight: 900; line-height: .8; letter-spacing: -.08em; color: transparent;
  -webkit-text-stroke: 1px rgba(239, 122, 46, .12); pointer-events: none; user-select: none;
}
.record__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; max-width: 1400px; margin: 0 auto; }
.record__card { position: relative; perspective: 1200px; }
.record__card-inner { position: relative; border-radius: 14px; overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease-out; box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(244, 234, 217, .1); }
.record__card-inner img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.record__shine { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: overlay; pointer-events: none; }
.seal {
  position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; border-radius: 50%;
  background: var(--rust); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.seal svg { position: absolute; inset: 0; animation: spin 18s linear infinite reverse; }
.seal text { font-family: var(--mono); font-size: 12.4px; letter-spacing: .12em; fill: var(--ink); font-weight: 600; }
.seal b { font-size: 34px; font-weight: 900; font-style: italic; }
.record__copy h2 { font-size: clamp(40px, 5.4vw, 88px); font-weight: 900; line-height: .95; letter-spacing: -.035em; }
.record__copy h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.record__copy h2 .w > span { display: inline-block; }
.record__big { display: flex; gap: clamp(20px, 4vw, 56px); margin: 36px 0 30px; }
.record__big div { display: flex; align-items: baseline; gap: 10px; }
.record__big b { font-size: clamp(72px, 10vw, 160px); line-height: .85; font-weight: 900; color: var(--rust-2); letter-spacing: -.06em; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.record__big small { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: 12px; }
.record__copy p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 52ch; margin-bottom: 16px; }
.record__copy p strong { color: var(--paper); font-weight: 700; }
.record__copy blockquote { margin-top: 30px; padding: 22px 24px; border-left: 3px solid var(--rust); background: rgba(244, 234, 217, .05); font-size: 12px; line-height: 1.7; text-transform: none; letter-spacing: .02em; }
.record__copy cite { display: block; margin-top: 10px; color: var(--rust-2); font-style: normal; }
@media (max-width: 900px) {
  .record { padding: 110px var(--gutter); }
  .record__grid { grid-template-columns: 1fr; }
  .record__card { max-width: 440px; margin: 0 auto 30px; width: 100%; }
  .seal { width: 120px; height: 120px; right: -10px; bottom: -30px; }
  .seal text { font-size: 12.4px; }
  .seal b { font-size: 24px; }
}

/* ---------- gallery ---------- */
.gallery { background: var(--paper); color: var(--ink); padding: 140px var(--gutter) 60px; overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 70px; }
.gallery__head .label { order: 2; }
.gallery__head em { color: var(--rust); }
.gallery__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.gcol { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); will-change: transform; }
.gcol:nth-child(2) { margin-top: 120px; }
.gcol figure { position: relative; overflow: hidden; border-radius: 8px; background: var(--paper-2); aspect-ratio: 4 / 3; }
.gcol figure.tall { aspect-ratio: 3 / 4; }
.gcol img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: grayscale(.35) sepia(.15); }
.gcol figure:hover img { transform: scale(1.06); filter: none; }
.gcol figcaption {
  position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  transform: translateY(150%); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.gcol figure:hover figcaption { transform: none; }
@media (max-width: 760px) {
  .gallery { padding: 100px var(--gutter) 40px; }
  .gallery__cols { grid-template-columns: 1fr 1fr; }
  .gcol:nth-child(2) { margin-top: 60px; }
  .gcol:nth-child(3) { display: none; }
  .gcol figcaption { transform: none; font-size: 9px; }
}

/* ---------- manifesto ---------- */
.manifesto { background: var(--paper); color: var(--ink); padding: 120px var(--gutter) 180px; }
.manifesto__text { max-width: 1300px; font-size: clamp(32px, 5.2vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; }
.manifesto__text em { color: var(--rust); }
.manifesto__text .w { display: inline-block; opacity: .15; }

/* ---------- donate ---------- */
.donate { position: relative; background: var(--rust); color: var(--ink); padding: 60px var(--gutter) 150px; }
.donate__wave { position: absolute; top: -1px; left: 0; right: 0; height: 90px; transform: rotate(180deg); }
.donate__wave svg { width: 100%; height: 100%; fill: var(--paper); }
.donate__inner { position: relative; max-width: 1400px; margin: 0 auto; padding-top: 80px; }
.donate .label { color: var(--ink); }
.donate__title { font-size: clamp(42px, 7.4vw, 124px); font-weight: 900; line-height: .9; letter-spacing: -.045em; margin-bottom: 60px; }
.donate__title span { display: block; overflow: hidden; }
.donate__title em { color: var(--paper); }
.donate__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.donate__copy p { font-size: 19px; line-height: 1.55; margin-bottom: 18px; max-width: 54ch; }
.donate__btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 18px;
  background: var(--ink); color: var(--paper); padding: 20px 28px; border-radius: 999px;
  font-weight: 700; font-size: 18px; transition: background .3s, color .3s;
}
.donate__btn svg { width: 22px; height: 22px; transition: transform .4s; }
.donate__btn:hover { background: var(--paper); color: var(--ink); }
.donate__btn:hover svg { transform: rotate(45deg); }
.donate__cards { display: grid; gap: 14px; }
.dcard { display: flex; gap: 20px; align-items: center; padding: 24px; border: 2px solid var(--ink); border-radius: 14px; background: rgba(244, 234, 217, .12); }
.dcard b { font-family: var(--mono); font-size: 14px; background: var(--ink); color: var(--rust-2); padding: 8px 10px; border-radius: 8px; }
.dcard span { font-size: 19px; font-weight: 600; line-height: 1.3; }
@media (max-width: 860px) { .donate__grid { grid-template-columns: 1fr; } }

/* ---------- bamboo ledger (live donation tracker) ---------- */
.ledger { --gold: #f2b712; background: var(--paper); color: var(--ink); padding: 130px var(--gutter) 140px; position: relative; }
.ledger::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 26px); opacity: .9; }
.ledger__head { max-width: 1400px; margin: 0 auto 56px; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 20px 60px; align-items: end; }
.ledger__head .label { grid-column: 1 / -1; color: var(--ember); display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.led-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 0 rgba(212, 86, 28, .6); animation: pulse 1.8s infinite; }
.ledger__head h2 { font-size: clamp(44px, 7vw, 112px); font-weight: 900; line-height: .9; letter-spacing: -.04em; }
.ledger__head h2 em { color: var(--rust); }
.ledger__intro { font-size: 17px; line-height: 1.55; color: rgba(20, 13, 10, .75); }

.led-card {
  max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(22px, 3vw, 48px); border-radius: 36px; background: #fbf5ea; border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
}
.gauge-wrap { display: grid; gap: 18px; align-content: start; }
.gauge { position: relative; aspect-ratio: 1; width: 100%; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge-ticks line { stroke: var(--ink); stroke-width: 1.5; opacity: .3; }
.gauge-ticks line.big { stroke-width: 2.5; opacity: .6; }
.gauge circle { fill: none; stroke-width: 20; }
.g-track { stroke: rgba(20, 13, 10, .08); }
.g-in { stroke: var(--rust-2); opacity: .32; stroke-dasharray: 0 100; stroke-linecap: round; }
.g-set { stroke: url(#gaugeGrad); stroke-dasharray: 0 100; stroke-linecap: round; filter: drop-shadow(0 4px 10px rgba(212, 86, 28, .35)); }
.gauge-coin { position: absolute; inset: 19%; width: 62%; height: 62%; border-radius: 50%; object-fit: cover; box-shadow: 0 24px 40px -18px rgba(20, 13, 10, .6); animation: coinFloat 6s ease-in-out infinite; }
.gauge-pct {
  position: absolute; right: 2%; bottom: 6%; background: var(--ink); color: var(--gold); font-family: var(--mono); font-size: 15px;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5);
}
.gauge-goal { display: grid; gap: 2px; padding: 16px 20px; border-radius: 20px; background: var(--ink); color: var(--paper); }
.gauge-goal span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.gauge-goal b { font-weight: 900; font-size: 24px; letter-spacing: -.01em; }
.gauge-goal small { font-family: var(--mono); font-size: 12px; opacity: .8; }

.res-data { display: grid; gap: 24px; align-content: start; min-width: 0; }
.res-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: var(--rust); color: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #9dff7a; animation: ping 2s infinite; }
.live.is-idle i { background: var(--paper-2); animation: none; }
.live.is-error i { background: #ff7a7a; animation: none; }
.live.is-pre { background: var(--ink); }
.live.is-pre i { background: var(--gold); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.res-charity { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; border-bottom: 1.5px solid currentColor; }
.res-charity:hover { color: var(--rust); }

.res-main { position: relative; }
.odo-row { display: flex; align-items: flex-start; gap: .04em; font-weight: 900; font-size: clamp(60px, 9vw, 150px); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.odo-cur { font-style: italic; font-weight: 700; font-size: .55em; margin-top: .1em; color: var(--rust); }
.odo { display: flex; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo-d { position: relative; display: inline-block; height: 1em; overflow: hidden; width: .66em; text-align: center; transition: width .5s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.odo-d.lead { width: 0; opacity: 0; }
.odo-s { display: flex; flex-direction: column; will-change: transform; transition: none; }
.odo-s span { height: 1em; line-height: 1; }
.odo-c { display: inline-block; width: .26em; transition: width .5s, opacity .5s; }
.odo-c.lead { width: 0; opacity: 0; }
.res-sub { max-width: 560px; margin-top: 10px; font-size: 16px; color: rgba(20, 13, 10, .75); }
.res-sub a { font-weight: 700; color: var(--ember); border-bottom: 1px solid currentColor; }
.res-pop { position: absolute; left: 0; top: 0; padding: 8px 14px; border-radius: 99px; background: var(--rust); color: var(--paper); font-weight: 800; pointer-events: none; }

.res-pending {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 34px);
  border-radius: 28px; background: var(--ink); color: var(--paper);
}
.res-pending::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: radial-gradient(50% 80% at 100% 0%, rgba(242, 183, 18, .45), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(212, 86, 28, .55), transparent 70%);
}
.rp-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; }
.rp-live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; background: var(--gold); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.rp-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: ping 1.6s infinite; }
.rp-note { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.rp-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
.rp-sol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; min-width: 0; }
.rp-sol b { font-weight: 900; font-size: clamp(52px, 6.2vw, 100px); line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.rp-sol span { font-family: var(--mono); font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: .1em; color: var(--gold); }
.rp-usd { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
.rp-usd span, .rp-usd b { font-style: italic; color: var(--rust-2); }
.rp-usd span { font-size: clamp(28px, 2.8vw, 44px); }
.rp-usd b { font-weight: 600; font-size: clamp(38px, 4vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.rp-usd small { flex-basis: 100%; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.rp-foot { font-size: 14px; opacity: .78; max-width: 62ch; line-height: 1.5; }
.res-pending.is-empty .rp-live i { animation: none; opacity: .4; }

.res-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.res-stats div { padding: 14px 16px; border-radius: 18px; background: rgba(212, 86, 28, .08); border: 1px solid rgba(212, 86, 28, .18); }
.res-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.res-stats dd { margin: 4px 0 0; font-weight: 800; font-size: 20px; }

.trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trail li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; border: 1.5px solid rgba(20, 13, 10, .14); background: #fff9ef; }
.t-step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--mono); font-weight: 600; font-size: 13px; }
.trail li:last-child .t-step { background: var(--rust); color: var(--paper); }
.t-body { display: grid; min-width: 0; }
.t-body b { font-weight: 800; font-size: 15px; }
.t-body small { font-size: 13px; opacity: .7; }
.t-amt { font-family: var(--mono); font-weight: 600; font-size: 14px; white-space: nowrap; }
.t-link { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 99px; background: rgba(20, 13, 10, .08); white-space: nowrap; }
.t-link:hover { background: var(--ink); color: var(--paper); }
.t-link.off { opacity: .35; pointer-events: none; }
.lock { font-size: 13px; padding: 10px 14px; border-radius: 14px; background: rgba(242, 183, 18, .18); }
.res-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-family: var(--mono); font-size: 12px; opacity: .8; }
.res-meta span:first-child { text-transform: uppercase; letter-spacing: .1em; }
.res-meta a { font-weight: 600; }

@media (max-width: 960px) {
  .ledger__head { grid-template-columns: 1fr; }
  .led-card { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--ink); border-radius: 26px; }
  .gauge-wrap { max-width: 380px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .ledger { padding: 90px var(--gutter) 100px; }
  .res-stats { grid-template-columns: 1fr 1fr; }
  .res-stats div:last-child { grid-column: 1 / -1; }
  .trail li { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .trail .t-link { grid-column: 2 / -1; justify-self: start; }
}
html[lang="ja"] .ledger__head h2 { font-family: var(--jp); font-size: clamp(38px, 5.6vw, 88px); line-height: 1.15; letter-spacing: 0; }
html[lang="ja"] .ledger__intro, html[lang="ja"] .rp-foot, html[lang="ja"] .res-sub, html[lang="ja"] .t-body { font-family: var(--jp); line-height: 1.7; }
html[lang="ja"] .gauge-goal b { font-family: var(--jp); }

/* ---------- footer ---------- */
.foot { background: var(--ink); padding: 40px var(--gutter) 40px; overflow: hidden; }
.foot__big {
  font-size: 27vw; font-weight: 900; line-height: .8; letter-spacing: -.07em; text-align: center;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  background: linear-gradient(180deg, var(--rust-2), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 20px 0 30px;
}
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid rgba(244, 234, 217, .15); border-bottom: 1px solid rgba(244, 234, 217, .15); }
.ca--small { padding: 6px 14px 6px 6px; }
.foot__legal, .foot__credits { margin-top: 22px; font-size: 13px; line-height: 1.6; color: rgba(244, 234, 217, .5); max-width: 90ch; }
.foot__credits { font-size: 11px; font-family: var(--mono); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--paper); color: var(--ink); padding: 14px 20px; border-radius: 999px;
  transition: transform .5s cubic-bezier(.2, .9, .2, 1.2); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Japanese ---------- */
html[lang="ja"] body { line-break: strict; }
html[lang="ja"] .hero__lede,
html[lang="ja"] .stat p,
html[lang="ja"] .tl p,
html[lang="ja"] .record__copy p,
html[lang="ja"] .donate__copy p,
html[lang="ja"] .dcard span,
html[lang="ja"] .foot__legal { font-family: var(--jp); font-weight: 400; letter-spacing: .02em; line-height: 1.75; }
html[lang="ja"] .hero__lede { font-size: clamp(15px, 1.3vw, 18px); max-width: 30em; }
html[lang="ja"] .stand__text { font-family: var(--jp); font-weight: 700; font-size: clamp(24px, 3.3vw, 52px); line-height: 1.45; letter-spacing: .02em; max-width: 1100px; }
html[lang="ja"] .life__head h2,
html[lang="ja"] .gallery__head h2 { font-family: var(--jp); font-size: clamp(38px, 5.6vw, 88px); line-height: 1.15; letter-spacing: 0; }
html[lang="ja"] .tl h3 { font-family: var(--jp); font-weight: 700; letter-spacing: 0; }
html[lang="ja"] .tl--end span { font-family: var(--jp); font-style: normal; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.15; letter-spacing: 0; }
html[lang="ja"] .record__copy h2 { font-family: var(--jp); font-size: clamp(32px, 3.8vw, 62px); line-height: 1.3; letter-spacing: 0; }
html[lang="ja"] .manifesto__text { font-family: var(--jp); font-size: clamp(26px, 3.6vw, 58px); line-height: 1.45; letter-spacing: .01em; }
html[lang="ja"] .donate__title { font-family: var(--jp); font-size: clamp(34px, 5.4vw, 92px); line-height: 1.2; letter-spacing: 0; }
html[lang="ja"] em { font-style: normal; }
html[lang="ja"] .stat > span,
html[lang="ja"] .age small,
html[lang="ja"] .record__big small,
html[lang="ja"] .mono { font-family: var(--mono), var(--jp); }
html[lang="ja"] .gcol figcaption { font-family: var(--jp); letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  .grain, .hero__ring, .seal svg, .marquee__track, .ca__dot, .coin img, .coin__glare { animation: none; }
}
