/* =========================================================
   MOG INU — born to mog.
   ========================================================= */

:root {
  --ink: #0b0b0a;
  --ink-2: #111110;
  --ink-3: #1c1c1a;
  --bone: #ede8df;
  --bone-2: #cfc8bb;
  --mute: rgba(237, 232, 223, 0.6);
  --faint: rgba(237, 232, 223, 0.34);
  --line: rgba(237, 232, 223, 0.14);

  --paper: #e9e4da;
  --paper-ink: #121110;
  --paper-mute: rgba(18, 17, 16, 0.58);
  --paper-line: rgba(18, 17, 16, 0.16);

  --shiba: #ee8a2a;
  --shiba-deep: #c4640f;

  --f-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 3.4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.65, 0.05, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pop: cubic-bezier(0.3, 1.6, 0.5, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.is-loading, html.lb-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--shiba); color: var(--ink); }
:focus-visible { outline: 2px solid var(--shiba); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 400;
  background: var(--bone); color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- type ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.kicker { display: inline-block; color: var(--mute); margin-bottom: 28px; }
.h-xl { font-size: clamp(64px, 10.5vw, 184px); margin: 0; }
.lede {
  max-width: 44ch;
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--mute);
  margin: 28px 0 0;
}

/* split + reveal */
.line { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; }
.js [data-reveal] .char {
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--l, 0) * 90ms + var(--i, 0) * 24ms);
}
.js [data-reveal].is-in .char { transform: none; }
.js .lede[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s;
}
.js .lede[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  --fg: var(--bone);
  --bd: var(--line);
  --fill: var(--bone);
  --fill-fg: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.35s var(--ease), border-color 0.35s, transform 0.5s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--fill);
  transform: translateY(102%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover { color: var(--fill-fg); border-color: var(--fill); }
.btn:hover::before { transform: none; }
.btn:disabled { opacity: 0.35; pointer-events: none; }
.btn--accent { --bg: var(--shiba); --fg: var(--ink); --bd: var(--shiba); }
.btn--icon { width: 48px; padding: 0; }
.btn--icon svg { width: 16px; height: 16px; fill: currentColor; }
.btn--glass {
  --bg: rgba(237, 232, 223, 0.08);
  --bd: rgba(237, 232, 223, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* contract address pill */
.ca {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(237, 232, 223, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease-out);
}
.ca:hover { border-color: var(--shiba); background: rgba(238, 138, 42, 0.06); }
.ca__label { color: var(--shiba); display: inline-flex; align-items: center; gap: 8px; }
.ca.is-live .ca__label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shiba);
  box-shadow: 0 0 0 0 rgba(238, 138, 42, 0.6);
  animation: live 1.6s ease-out infinite;
}
@keyframes live { to { box-shadow: 0 0 0 9px rgba(238, 138, 42, 0); } }
.ca__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.04em;
}
.ca__copy {
  flex: none;
  background: var(--bone);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  transition: background 0.3s;
}
.ca:hover .ca__copy { background: var(--shiba); }
.ca--glass {
  background: rgba(11, 11, 10, 0.4);
  border-color: rgba(237, 232, 223, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- overlays ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.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='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -.3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; }
  20% { background-position: -47px 31px; }
  40% { background-position: 63px -19px; }
  60% { background-position: -21px -58px; }
  80% { background-position: 39px 72px; }
  100% { background-position: 0 0; }
}

.flash { position: fixed; inset: 0; z-index: 240; pointer-events: none; opacity: 0; background: var(--bone); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 260;
  max-width: calc(100vw - 32px);
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, calc(100% + 48px));
  transition: transform 0.55s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.floater {
  position: fixed;
  z-index: 230;
  pointer-events: none;
  font-family: var(--f-display);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bone);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.floater--aura { color: var(--shiba); font-size: 40px; }
.floater--event, .floater--neg {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 999px;
  text-shadow: none;
}
.floater--event { background: var(--shiba); color: var(--ink); }
.floater--neg { background: var(--bone); color: var(--ink); }
.spark {
  position: fixed;
  z-index: 229;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--shiba);
  pointer-events: none;
}
.rain {
  position: fixed;
  top: 0;
  z-index: 228;
  pointer-events: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* custom cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; opacity: 0; }
html.has-cursor.cursor-on .cursor-dot, html.has-cursor.cursor-on .cursor-ring { opacity: 1; }
.cursor-dot {
  z-index: 301;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--bone);
  mix-blend-mode: difference;
  transition: opacity 0.3s;
}
.cursor-ring {
  z-index: 300;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237, 232, 223, 0.55);
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out),
    background 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor-ring span {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cursor-ring.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--bone); }
.cursor-ring.is-label {
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  background: var(--shiba);
  border-color: var(--shiba);
  mix-blend-mode: normal;
}
.cursor-ring.is-label span { opacity: 1; }
.cursor-ring.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cursor-ring.is-label.is-down { width: 78px; height: 78px; margin: -39px 0 0 -39px; }
.cursor-ring.is-text { opacity: 0 !important; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input[type="text"], html.has-cursor .matic__input { cursor: text !important; }

/* scroll rail */
.rail {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  mix-blend-mode: difference;
  pointer-events: none;
}
.rail .mono { font-size: 9px; writing-mode: vertical-rl; color: var(--bone); }
.rail__track { position: relative; width: 2px; height: 120px; overflow: hidden; background: rgba(237, 232, 223, 0.25); }
.rail__track i { position: absolute; inset: 0; background: var(--bone); transform-origin: top; transform: scaleY(0); }

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--pad) * 0.8) var(--pad);
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease);
}
.loader.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__row { display: flex; justify-content: space-between; gap: 16px; color: var(--mute); }
.loader__mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.loader__count {
  font-family: var(--f-display);
  font-size: clamp(96px, min(26vw, 52vh), 400px);
  line-height: 0.78;
  font-variant-numeric: tabular-nums;
}
.loader__enter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.6s, transform 0.8s var(--ease-out);
}
.loader.is-ready .loader__enter { opacity: 1; transform: none; pointer-events: auto; }
.loader__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 28px 16px;
  border-radius: 18px;
  background: var(--shiba);
  color: var(--ink);
  transition: transform 0.45s var(--ease-out), background 0.3s;
}
.loader__btn .display { font-size: clamp(30px, 3.2vw, 46px); line-height: 0.9; }
.loader__btn:hover { background: var(--bone); transform: translateY(-4px) rotate(-1.5deg); }
.loader__mute { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.loader__mute:hover { color: var(--bone); }
.loader__bar { height: 2px; margin-bottom: 14px; overflow: hidden; background: var(--line); }
.loader__bar i { display: block; height: 100%; background: var(--shiba); transform-origin: left; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, transform 0.6s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(11, 11, 10, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { font-family: var(--f-display); font-size: 24px; letter-spacing: 0.02em; }
.nav__logo span { color: var(--shiba); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; color: var(--mute); transition: color 0.3s; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--shiba);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__buy { height: 42px; }

.sound {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
  transition: color 0.3s, border-color 0.3s;
}
.sound:hover { color: var(--bone); border-color: var(--bone); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; transition: height 0.3s; }
.sound[aria-pressed="true"] { color: var(--shiba); border-color: rgba(238, 138, 42, 0.5); }
.sound[aria-pressed="true"] .sound__bars i { animation: eq 0.9s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -0.35s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -0.6s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* ---------- 001 hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 12px) var(--pad) 22px;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    44vmax circle at calc(50% + var(--px, 0) * 16%) calc(46% + var(--py, 0) * 12%),
    rgba(238, 138, 42, 0.17),
    transparent 62%
  );
}
.hero__meta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; color: var(--mute); }
.hero__meta span:nth-child(2) { text-align: center; }
.hero__meta span:last-child { text-align: right; }
.hero__stage { flex: 1; display: grid; place-items: center; padding: 4vh 0; }
.hero__title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05em;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(88px, 19.5vw, 380px);
  line-height: 0.8;
  white-space: nowrap;
  transform: translate3d(0, calc(var(--sy, 0) * -12vh), 0) scale(calc(1 - var(--sy, 0) * 0.06));
}
.hero__word {
  display: inline-flex;
  overflow: hidden;
  padding: 0.06em 0.01em 0.02em;
  transform: translate3d(calc(var(--px, 0) * (var(--w, 0) - 0.5) * -24px), 0, 0);
}
.js .hero__word .char {
  transform: translateY(112%);
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--w, 0) * 160ms + 100ms);
}
.js .hero.is-in .hero__word .char { transform: none; }

.hero__face {
  position: relative;
  flex: none;
  width: 1.08em;
  height: 0.72em;
  border-radius: 0.36em;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -20px rgba(238, 138, 42, 0.35);
  transition: border-radius 0.6s var(--ease-out), box-shadow 0.4s;
}
.js .hero__face {
  opacity: 0;
  transform: scale(0.3) rotate(-10deg);
  transition: transform 1.4s var(--ease-out) 0.45s, opacity 0.5s 0.45s, border-radius 0.6s var(--ease-out), box-shadow 0.4s;
}
.js .hero.is-in .hero__face { opacity: 1; transform: none; }
.hero__face:hover { border-radius: 0.1em; box-shadow: 0 0 0 1px var(--shiba), 0 30px 90px -10px rgba(238, 138, 42, 0.5); }
.hero__face img {
  position: absolute;
  top: -8%; left: -8%;
  width: 116%; height: 116%;
  max-width: none;
  object-fit: cover;
  transform: translate3d(calc(var(--px, 0) * -3.5%), calc(var(--py, 0) * -3%), 0);
}
.hero__face-tag {
  position: absolute;
  left: 50%;
  bottom: 9%;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--bone);
  font-size: 10px;
  line-height: 1;
  transform: translateX(-50%);
  animation: nudge 2.4s var(--ease) infinite;
}
html.has-cursor .hero__face-tag { display: none; }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(-50%); } 80% { transform: translateX(-50%) translateY(-4px); } 90% { transform: translateX(-50%); } }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.js .hero__bottom { opacity: 0; transform: translateY(20px); transition: opacity 1s 0.9s, transform 1.2s var(--ease-out) 0.9s; }
.js .hero.is-in .hero__bottom { opacity: 1; transform: none; }
.hero__tag { margin: 0; font-size: clamp(48px, 6.6vw, 108px); line-height: 0.85; }
.hero__tag em { color: var(--shiba); }
.hero__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 0; }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hero__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--faint); }
.hero__foot b { color: var(--bone); font-weight: 500; }
.hero__scroll i { display: inline-block; font-style: normal; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

/* ---------- bands ---------- */
.bands {
  position: relative;
  height: clamp(190px, 22vw, 320px);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.band { position: absolute; left: -6%; width: 112%; padding: 12px 0; }
.band--a { z-index: 2; background: var(--shiba); color: var(--ink); transform: rotate(-3deg); }
.band--b { background: var(--bone); color: var(--ink); transform: rotate(2.4deg); }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__seg {
  display: flex;
  align-items: center;
  flex: none;
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.band__seg span { padding: 0 0.32em; }
.band__seg i { font-style: normal; font-size: 0.55em; }
.band__face {
  width: 0.92em;
  height: 0.92em;
  margin: 0 0.12em;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px currentColor;
}

/* ---------- 002 definition ---------- */
.define {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(96px, 12vw, 190px) var(--pad) clamp(90px, 11vw, 170px);
}
.define .kicker { color: var(--paper-mute); }
.define__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 140px);
  align-items: start;
}
.entry__head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 22px; }
.entry__word {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(140px, 18vw, 300px);
  line-height: 0.72;
  letter-spacing: -0.035em;
}
.entry--small .entry__word { font-size: clamp(88px, 9vw, 150px); }
.say {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  margin-bottom: 0.5em;
  padding: 0 16px 0 6px;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.say__icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-ink);
  color: var(--paper);
  font-size: 10px;
  transition: background 0.3s, color 0.3s;
}
.say:hover { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.say:hover .say__icon { background: var(--shiba); color: var(--ink); }
.say.is-speaking .say__icon { background: var(--shiba); color: var(--ink); animation: pulse 0.6s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.15); } }
.entry__pos {
  margin: 26px 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--paper-line);
  color: var(--paper-mute);
}
.entry__defs { list-style: none; margin: 0; padding: 0; counter-reset: d; display: grid; gap: 18px; }
.entry__defs li {
  counter-increment: d;
  display: grid;
  grid-template-columns: 44px 1fr;
  font-family: var(--f-serif);
  font-size: clamp(23px, 2.1vw, 34px);
  line-height: 1.15;
}
.entry__defs li::before {
  content: counter(d) ".";
  padding-top: 0.55em;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--paper-mute);
}
.entry__defs em { color: var(--shiba-deep); }
.entry__ex {
  margin: 28px 0 0 44px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(19px, 1.5vw, 24px);
  color: var(--paper-mute);
}
.chest {
  margin: 36px 0 0 44px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--paper-ink);
  color: var(--paper);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--pop);
}
.chest:hover { background: var(--shiba); color: var(--ink); transform: scale(1.04) rotate(-1deg); }
.define__side { display: grid; gap: clamp(40px, 5vw, 72px); }
.fig { margin: 0; }
.fig img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.05); }
.fig figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--paper-line); color: var(--paper-mute); }

.manifesto {
  margin: clamp(100px, 12vw, 200px) 0 0;
  font-family: var(--f-display);
  font-size: clamp(42px, 6.3vw, 112px);
  line-height: 0.94;
  text-transform: uppercase;
}
.manifesto em { font-style: normal; color: var(--shiba-deep); }
.w { opacity: 0.13; transition: opacity 0.35s, color 0.35s; }
.w.is-lit { opacity: 1; }
.w--accent.is-lit { color: var(--shiba-deep); }

/* ---------- 003 effect ---------- */
.effect { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.effect__media {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 20px) var(--pad) 32px;
}
.effect__frame {
  position: relative;
  width: 100%;
  max-width: min(44vw, 78svh);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-3);
}
.effect__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.effect__index {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 50;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.effect__index b { color: var(--shiba); font-weight: 500; }
.effect__steps { padding: 0 var(--pad); }
.effect__intro .h-xl { font-size: clamp(56px, 7.2vw, 132px); }
.effect__intro {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18vh 0 12vh;
}
.step {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
  opacity: 0.22;
  transition: opacity 0.6s;
}
.step.is-active { opacity: 1; }
.step__num {
  font-size: clamp(64px, 8vw, 132px);
  color: transparent;
  -webkit-text-stroke: 1px var(--shiba);
}
.step h3 { font-size: clamp(52px, 6.4vw, 116px); margin: 0.12em 0 0.3em; }
.step p { max-width: 38ch; margin: 0; font-size: clamp(17px, 1.3vw, 20px); color: var(--mute); }
.step__img { display: none; }

/* ---------- 004 archive ---------- */
.archive { position: relative; background: var(--ink); border-top: 1px solid var(--line); }
.archive__sticky { position: relative; overflow: hidden; padding: 96px 0 48px; }
.archive.is-pinned .archive__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4px) 0 28px;
}
.archive__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  margin-bottom: clamp(20px, 3.5vh, 44px);
}
.archive__head .kicker { margin-bottom: 16px; }
.archive__title { font-size: clamp(56px, 7.4vw, 136px); margin: 0; }
.archive__meta { display: grid; justify-items: end; gap: 6px; color: var(--mute); text-align: right; }
.archive__count { font-family: var(--f-display); font-size: clamp(36px, 3.4vw, 56px); letter-spacing: 0; color: var(--bone); }
.archive__count b { color: var(--shiba); font-weight: 400; }
.archive__viewport { position: relative; }
.archive__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 40px);
  width: max-content;
  padding: 0 var(--pad);
  will-change: transform;
}
.archive:not(.is-pinned) .archive__track {
  width: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.archive:not(.is-pinned) .archive__track::-webkit-scrollbar { display: none; }
.exhibit {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  scroll-snap-align: center;
}
.exhibit:nth-child(even) { margin-top: 5vh; }
.exhibit__img {
  position: relative;
  display: block;
  height: 50vh;
  height: 50svh;
  aspect-ratio: var(--ar, 1);
  max-width: 84vw;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-3);
}
.exhibit__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.9);
  transform: translate3d(var(--shift, 0px), 0, 0) scale(1.14);
  transition: filter 0.6s var(--ease);
}
.exhibit:hover .exhibit__img img, .exhibit:focus-visible .exhibit__img img { filter: none; }
@media (hover: none) { .exhibit__img img { filter: none; } }
.stamp {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  padding: 6px 12px 3px;
  border: 3px solid var(--shiba);
  color: var(--shiba);
  background: rgba(11, 11, 10, 0.45);
  font-size: 30px;
  opacity: 0;
  transform: rotate(-10deg) scale(1.9);
  transition: opacity 0.25s, transform 0.4s var(--pop);
}
.exhibit:hover .stamp, .exhibit:focus-visible .stamp { opacity: 1; transform: rotate(-10deg) scale(1); }
.exhibit__cap { display: flex; align-items: baseline; gap: 14px; }
.exhibit__cap .mono { color: var(--shiba); flex: none; }
.exhibit__cap .serif { font-size: clamp(19px, 1.5vw, 24px); color: var(--bone); line-height: 1.1; }
.archive__progress { height: 1px; margin: clamp(20px, 3.5vh, 40px) var(--pad) 0; overflow: hidden; background: var(--line); }
.archive__progress i { display: block; height: 100%; background: var(--shiba); transform-origin: left; transform: scaleX(0); }

/* ---------- 005 lab ---------- */
.lab { background: var(--ink-2); padding: clamp(96px, 12vw, 180px) var(--pad); border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 60px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .kicker { grid-column: 1 / -1; }
.section-head .lede { margin: 0 0 0.6em; }
.lab__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.scanner__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0e0e0d;
}
.scanner__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scanner__drop {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 45%, rgba(238, 138, 42, 0.09), transparent 62%);
  transition: opacity 0.4s, background 0.3s;
}
.scanner__drop .display { font-size: clamp(44px, 4.8vw, 76px); }
.scanner__drop .mono { color: var(--mute); }
.scanner__plus {
  width: 66px; height: 66px;
  display: grid; place-items: center;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 28px;
  transition: transform 0.55s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.scanner__stage:hover .scanner__plus, .scanner__stage.is-drag .scanner__plus {
  transform: rotate(90deg);
  background: var(--shiba);
  border-color: var(--shiba);
  color: var(--ink);
}
.scanner__stage.is-drag { border-color: var(--shiba); }
.scanner.has-subject .scanner__drop { opacity: 0; }
.scanner.is-scanning .scanner__drop { pointer-events: none; }
.scanner__line {
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 3;
  height: 2px;
  background: var(--shiba);
  box-shadow: 0 0 24px 5px rgba(238, 138, 42, 0.55);
  opacity: 0;
}
.scanner.is-scanning .scanner__line { opacity: 1; animation: scan 1.1s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes scan { from { top: 2%; } to { top: 98%; } }
.corner { position: absolute; z-index: 3; width: 26px; height: 26px; border: 2px solid var(--bone); pointer-events: none; transition: border-color 0.3s; }
.corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.scanner.is-scanning .corner, .scanner.is-done .corner { border-color: var(--shiba); }
.scanner__hud {
  position: absolute;
  left: 50px; right: 50px; bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 11, 10, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s;
}
.scanner.has-subject .scanner__hud { opacity: 1; }
#scanPct { color: var(--shiba); }
.scanner__controls { display: grid; gap: 10px; margin-top: 14px; }
.field {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s;
}
.field:focus { border-color: var(--shiba); }
.field::placeholder { color: var(--faint); }
.scanner__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scanner__btns .btn { width: 100%; }

.readout {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
}
.readout__head, .readout__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.readout__head { padding-top: 0; color: var(--faint); }
.readout__head span:last-child { color: var(--shiba); }
.readout__row > span { color: var(--mute); font-size: 15px; }
.readout__row b {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.readout__row .you { color: var(--bone); }
.readout__row .him { color: var(--shiba); }
.readout__row.is-set { animation: rowIn 0.5s var(--ease-out); }
@keyframes rowIn { from { background: rgba(238, 138, 42, 0.12); } to { background: transparent; } }
.readout__verdict { display: grid; gap: 12px; padding: 30px 0 6px; }
.readout__verdict .mono { color: var(--faint); }
.readout__verdict strong { font-size: clamp(64px, 7.6vw, 132px); line-height: 0.82; transform-origin: left center; }
.readout__verdict strong.is-stamp { color: var(--shiba); animation: stamp 0.6s var(--pop); }
@keyframes stamp { from { transform: scale(1.7) rotate(-5deg); opacity: 0; } to { transform: none; opacity: 1; } }
.readout__verdict .serif { font-size: clamp(22px, 1.8vw, 28px); color: var(--mute); }
.readout__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- 006 matic ---------- */
.matic { background: var(--paper); color: var(--paper-ink); padding: clamp(96px, 12vw, 180px) var(--pad); }
.matic .kicker, .matic .lede { color: var(--paper-mute); }
.matic__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.matic__form { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--paper-ink); }
.matic__input {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--paper-ink);
  font-family: var(--f-display);
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1;
  text-transform: uppercase;
}
.matic__input::placeholder { color: rgba(18, 17, 16, 0.24); }
.matic .btn--accent { --bg: var(--paper-ink); --fg: var(--paper); --bd: var(--paper-ink); --fill: var(--shiba); --fill-fg: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  color: var(--paper-ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.matic__result {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  margin-top: 40px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 8px;
  background: var(--paper-ink);
  color: var(--bone);
}
.matic__vs { display: block; color: var(--faint); }
.matic__name {
  position: relative;
  display: inline-block;
  max-width: calc(100% - 150px);
  margin-top: 14px;
  font-size: clamp(46px, 5.6vw, 96px);
  overflow-wrap: anywhere;
}
.matic__name::after {
  content: "";
  position: absolute;
  left: -2%;
  top: 48%;
  width: 0;
  height: 0.085em;
  background: var(--shiba);
  transform: rotate(-2.5deg);
}
.matic__result.is-on .matic__name::after { width: 104%; transition: width 0.45s var(--ease-out) 0.2s; }
.matic__stamp {
  position: absolute;
  top: 26px; right: 26px;
  padding: 6px 12px 3px;
  border: 3px solid var(--shiba);
  color: var(--shiba);
  font-size: clamp(28px, 2.8vw, 44px);
  opacity: 0;
  transform: rotate(8deg);
}
.matic__result.is-on .matic__stamp { animation: stampIn 0.5s var(--pop) 0.5s both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(8deg) scale(2.3); } to { opacity: 1; transform: rotate(8deg) scale(1); } }
.matic__reason { margin: 18px 0 0; font-size: clamp(22px, 2vw, 30px); color: var(--bone-2); }
.matic__result.is-on .matic__reason { animation: fadeUp 0.6s var(--ease-out) 0.65s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.matic__log { list-style: none; margin: 30px 0 0; padding: 0; }
.matic__log li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--paper-line);
}
.matic__log li.is-new { animation: logIn 0.6s var(--ease-out); }
@keyframes logIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.matic__log b { font-family: var(--f-display); font-weight: 400; font-size: 22px; text-transform: uppercase; overflow-wrap: anywhere; }
.matic__log span { font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.2; color: var(--paper-mute); }
.matic__log em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shiba-deep);
  white-space: nowrap;
}

/* ---------- 007 aura ---------- */
.aura { background: var(--ink); padding: clamp(96px, 12vw, 180px) var(--pad); overflow: hidden; }
.aura__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.aura__stats { display: flex; gap: 48px; margin-top: 40px; }
.stat { display: grid; gap: 8px; }
.stat .mono { color: var(--faint); }
.stat b { font-size: clamp(60px, 6.4vw, 112px); line-height: 0.85; font-variant-numeric: tabular-nums; }
#auraCombo { color: var(--shiba); display: inline-block; }
.aura__rank { margin-top: 34px; }
.aura__rank-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; color: var(--mute); }
.aura__rank-row b { color: var(--bone); font-weight: 500; }
.aura__bar { height: 6px; overflow: hidden; border-radius: 6px; background: var(--line); }
.aura__bar i { display: block; height: 100%; background: var(--shiba); transform-origin: left; transform: scaleX(0); transition: transform 0.35s var(--ease-out); }
.ladder { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 28px 0 0; padding: 0; }
.ladder li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--faint); transition: color 0.3s; }
.ladder li.is-done { color: var(--mute); }
.ladder li.is-done span:first-child::before { content: "✓ "; color: var(--shiba); }
.ladder li.is-current { color: var(--bone); }
.ladder li.is-current span:first-child::before { content: "● "; color: var(--shiba); }
.aura__reset { margin-top: 26px; color: var(--faint); text-decoration: underline; text-underline-offset: 4px; transition: color 0.3s; }
.aura__reset:hover { color: var(--bone); }
.aura__stage {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1;
}
.aura__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--mute); animation: spin 26s linear infinite; }
.aura__ring text { font-family: var(--f-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.18em; fill: currentColor; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.aura__face {
  --heat: 0;
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  box-shadow:
    0 0 0 calc(1px + var(--heat) * 10px) rgba(238, 138, 42, calc(0.15 + var(--heat) * 0.35)),
    0 40px 120px -20px rgba(238, 138, 42, calc(0.3 + var(--heat) * 0.4));
  transition: box-shadow 0.25s;
}
.aura__face img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 40%; transform: scale(1.06); pointer-events: none; }

/* ---------- 008 finale ---------- */
.finale {
  --hp: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60vmax circle at 50% 62%, rgba(238, 138, 42, calc(0.07 + var(--hp) * 0.4)), transparent 60%),
    var(--ink);
}
.finale__inner { display: flex; flex-direction: column; align-items: center; padding: 120px var(--pad); text-align: center; }
.finale__title {
  margin: 0 0 54px;
  font-size: clamp(88px, 15vw, 270px);
  letter-spacing: calc(var(--hp) * 0.08em);
}
.hold {
  position: relative;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.hold:hover { transform: scale(1.05); }
.hold svg {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  max-width: none;
  transform: rotate(-90deg);
  overflow: visible;
}
.hold__track { fill: none; stroke: var(--line); stroke-width: 2; }
.hold__fill { fill: none; stroke: var(--shiba); stroke-width: 3; stroke-linecap: round; }
.hold__label { font-size: 30px; }
.finale.is-holding .hold { transform: scale(0.9); background: var(--shiba); }
.finale__hint { margin: 40px 0 0; color: var(--faint); }
.finale__reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  visibility: hidden;
  clip-path: circle(0% at 50% 62%);
  transition: clip-path 1.3s var(--ease), visibility 0s 1.3s;
  background: var(--ink);
}
.finale.is-done .finale__reveal { visibility: visible; clip-path: circle(150% at 50% 62%); transition: clip-path 1.3s var(--ease), visibility 0s; }
.finale__reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.18);
  transition: transform 2.6s var(--ease-out);
}
.finale.is-done .finale__reveal img { transform: none; }
.finale__reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 10, 0.9) 0%, rgba(11, 11, 10, 0.3) 30%, transparent 50%);
}
.finale__cta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: 0 var(--pad) clamp(28px, 5vh, 56px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s 0.7s, transform 1s var(--ease-out) 0.7s;
}
.finale.is-done .finale__cta { opacity: 1; transform: none; }
.finale__cta-main { display: grid; gap: 18px; }
.finale__cta-main .serif { margin: 0; font-size: clamp(32px, 3.4vw, 54px); line-height: 1; }
.finale__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.finale__cta-side { display: grid; justify-items: end; gap: 14px; min-width: 0; max-width: 100%; }
.finale__again { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.finale__again:hover { color: var(--bone); }

/* ---------- footer ---------- */
.footer { overflow: hidden; background: var(--shiba); color: var(--ink); padding: clamp(56px, 7vw, 100px) var(--pad) 28px; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__top .serif { margin: 0; font-size: clamp(44px, 5.4vw, 92px); line-height: 0.9; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer .btn { --fg: var(--ink); --bd: rgba(11, 11, 10, 0.3); --fill: var(--ink); --fill-fg: var(--shiba); }
.footer__giant {
  display: flex;
  justify-content: space-between;
  margin: clamp(72px, 10vw, 150px) 0 clamp(16px, 2vw, 26px);
  font-family: var(--f-display);
  font-size: clamp(96px, 24vw, 470px);
  line-height: 0.78;
  user-select: none;
  -webkit-user-select: none;
}
.footer__giant span { display: inline-block; transform-origin: 50% 100%; transition: color 0.3s; will-change: transform; }
.footer__giant span.is-hot { color: var(--bone); }
.footer__giant .gap { width: 0.2em; }
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 11, 10, 0.25);
}
.footer__bottom > :last-child { text-align: right; }
.footer__egg { color: var(--ink); opacity: 0.6; transition: opacity 0.3s; }
.footer__egg:hover { opacity: 1; }
.disclaimer { max-width: 86ch; margin: 18px 0 0; font-size: 12px; line-height: 1.6; opacity: 0.7; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 20px var(--pad) 24px;
  background: rgba(11, 11, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: var(--shiba); }
.lightbox__bar button { color: var(--bone); padding: 10px 0; }
.lightbox__fig { min-height: 0; margin: 0; padding: 16px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.lightbox__fig img { width: auto; max-width: 100%; max-height: calc(100svh - 180px); object-fit: contain; border-radius: 4px; }
.lightbox__fig figcaption { font-size: clamp(24px, 2.4vw, 38px); text-align: center; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  transform: translateY(-50%);
  transition: background 0.3s, color 0.3s;
}
.lightbox__nav:hover { background: var(--bone); color: var(--ink); }
.lightbox__nav--prev { left: var(--pad); }
.lightbox__nav--next { right: var(--pad); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .define__grid, .lab__grid, .matic__grid, .aura__grid { grid-template-columns: minmax(0, 1fr); }
  .define__side { grid-template-columns: 1fr 1fr; align-items: end; }
  .readout { position: relative; top: auto; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { margin-top: 24px; }
  .aura__stage { max-width: 520px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .rail { display: none; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .effect { grid-template-columns: 1fr; }
  .effect__media { display: none; }
  .effect__intro { min-height: 0; padding: 96px 0 24px; }
  .step { min-height: 0; padding: 56px 0; opacity: 1; }
  .step__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 28px; border-radius: 4px; }
  .archive__head { flex-direction: column; align-items: flex-start; }
  .archive__meta { justify-items: start; text-align: left; }
  .archive__hint { display: none; }
  .exhibit:nth-child(even) { margin-top: 0; }
  .exhibit__img { height: auto; width: 80vw; max-width: 80vw; }
  .exhibit[style*="16/9"] .exhibit__img, .exhibit[style*="4/3"] .exhibit__img, .exhibit[style*="3/2"] .exhibit__img { width: 86vw; max-width: 86vw; }
  .lightbox__fig { padding: 12px 0 80px; }
  .lightbox__nav { top: auto; bottom: 22px; transform: none; }
}

@media (max-width: 720px) {
  .nav .sound > span:last-child { display: none; }
  .nav .sound { padding: 0 13px; }
  .nav__buy { padding: 0 16px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta span:nth-child(2) { display: none; }
  .hero__stage { padding: 3vh 0; }
  .hero__title { flex-direction: column; gap: 0.04em; font-size: clamp(76px, 31vw, 200px); }
  .hero__face { width: min(86vw, 2em); height: 0.92em; border-radius: 0.2em; }
  .hero__cta { width: 100%; align-items: stretch; }
  .hero__btns { justify-content: flex-start; }
  .hero__btns .btn--accent { flex: 1; }
  .ca { justify-content: space-between; }
  .hero__foot > span:last-child { text-align: right; }
  .define__side { grid-template-columns: 1fr; }
  .entry__defs li { grid-template-columns: 32px 1fr; }
  .entry__ex, .chest { margin-left: 32px; }
  .scanner__hud { left: 46px; right: 46px; }
  .matic__name { max-width: 100%; margin-top: 64px; }
  .matic__stamp { top: 54px; }
  .matic__log li { grid-template-columns: 1fr auto; }
  .matic__log span { grid-column: 1 / -1; grid-row: 2; }
  .finale__reveal img { object-fit: contain; object-position: 50% 28%; }
  .finale__cta { flex-direction: column; align-items: stretch; }
  .finale__cta-side { justify-items: stretch; }
  .finale__again { justify-self: center; }
  .footer__bottom { grid-template-columns: 1fr; text-align: left; }
  .footer__bottom > :last-child { text-align: left; }
  .footer__egg { justify-self: start; }
}

@media (max-width: 560px) {
  .scanner__btns { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .aura__stats { gap: 28px; }
  .readout__head, .readout__row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .readout__row > span { font-size: 13px; }
  .readout__row b { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .grain { animation: none; }
}
