/* =========================================================
   KEBAB — Taste a Better Day
   Palette: soot / char / ash / brass / tallow / ember
   Type: Bodoni Moda (display) · Shippori Mincho B1 (JP display)
         Zen Kaku Gothic New (body) · DM Mono (labels, readouts)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  color-scheme: dark;
  --soot: #0c0907;
  --char: #17110d;
  --ash: #2b221c;
  --line: rgba(201, 164, 104, 0.22);
  --brass: #c9a468;
  --brass-2: #e3c690;
  --tallow: #efe5d3;
  --tallow-dim: rgba(239, 229, 211, 0.78);
  --smoke: #a39382;
  --ember: #e0702f;

  --f-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --aw: clamp(230px, 24vw, 410px);
  --grain: none;
}

html { background: var(--soot); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scrollbar-color: #5a4a36 var(--soot); scrollbar-width: thin; }
body {
  margin: 0;
  background: var(--soot);
  color: var(--tallow);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, dl, dd, ul, ol { margin: 0; }
::selection { background: var(--brass); color: var(--soot); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.6;
}
.jp { font-family: var(--f-mincho); }
.jp, .body, .doner-body, .chapter-body, .card p, .mi-desc, .hero-sub, .craft-note, .menu-note { word-break: auto-phrase; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--brass); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; flex: none; }

/* 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; }
html.is-loading.js { overflow: hidden; }

/* ---------- WebGL stage + grain ---------- */
/* 100lvh: the canvas keeps one size while a phone's address bar slides in and out */
#gl { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; }
main, .footer { position: relative; z-index: 1; }
/* film grain: moved with transform (compositor only), normal blending, never repainted */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.grain::before {
  content: ""; position: absolute; inset: -120px;
  background-image: var(--grain); background-size: 160px 160px;
  opacity: 0.32;
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-37px, 21px, 0); } 40% { transform: translate3d(52px, -44px, 0); }
  60% { transform: translate3d(-18px, 63px, 0); } 80% { transform: translate3d(71px, 9px, 0); } 100% { transform: translate3d(0, 0, 0); }
}
.glyph-warm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }

/* media placeholders: DOM media shows unless WebGL takes over */
[data-gl] { position: relative; overflow: hidden; background: var(--char); }
[data-gl] > img, [data-gl] > video, [data-gl] > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gl-media [data-gl] { background: transparent; }
.gl-media [data-gl] > img, .gl-media [data-gl] > video, .gl-media [data-gl] > canvas, .gl-media [data-gl] > .shade { opacity: 0 !important; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.loaded .loader { display: none; }
.loader-shutter { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--soot); }
.loader-shutter.top { top: 0; }
.loader-shutter.bottom { bottom: 0; }
.loader-seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--brass); transform: scaleX(0); opacity: 0.8; }
.loader-inner { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; }
.loader-dial { display: grid; place-items: center; width: 132px; height: 132px; }
.loader-dial > * { grid-area: 1 / 1; }
.loader-ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.loader-ring circle { fill: none; stroke-width: 1; }
.loader-ring .track { stroke: var(--ash); }
.loader-ring .bar { stroke: var(--brass); stroke-dasharray: 339.29; stroke-dashoffset: 339.29; }
.loader-mark { width: 42px; height: 42px; color: var(--brass-2); animation: loaderTurn 2.4s linear infinite; }
@keyframes loaderTurn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.loader-count { color: var(--tallow); font-size: 12px; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.loader-msg { font-size: 13px; letter-spacing: 0.3em; color: var(--smoke); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(239, 229, 211, 0.5); border-radius: 50%;
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.35s, border-color 0.35s;
}
.cursor-dot { position: fixed; left: 0; top: 0; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--brass-2); }
.cursor-label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tallow); opacity: 0; transition: opacity 0.3s; }
.cursor.is-hover .cursor-ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(201, 164, 104, 0.12); border-color: var(--brass); }
.cursor.is-label .cursor-ring { width: 82px; height: 82px; margin: -41px 0 0 -41px; background: rgba(12, 9, 7, 0.4); border-color: var(--cursor-c, var(--brass)); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot { background: var(--cursor-c, var(--brass-2)); }
.cursor.is-down .cursor-ring { transform: scale(0.82); }
.cursor.is-hidden { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px;
  transition: transform 0.7s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(12, 9, 7, 0.82), rgba(12, 9, 7, 0)); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav > * { position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: 0.16em; }
.brand svg { width: 26px; height: 26px; color: var(--brass); }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a { position: relative; padding: 6px 0; color: var(--tallow-dim); transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav-links a:hover { color: var(--tallow); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.sound { display: flex; align-items: center; gap: 10px; padding: 8px 0; min-width: 118px; justify-content: flex-end; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; height: 3px; background: var(--brass); }
.sound.is-on .bars i { animation: eq 0.9s ease-in-out infinite; }
.sound.is-on .bars i:nth-child(2) { animation-delay: -0.3s; }
.sound.is-on .bars i:nth-child(3) { animation-delay: -0.6s; }
.sound.is-on .bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 51; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--ember)); transform-origin: left; transform: scaleX(0); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-arch {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: var(--aw); height: calc(var(--aw) * 1.38);
  transform: translate(-50%, -50%);
  border-radius: 999px 999px 0 0;
}
.hero-arch > .shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.hero-eyebrow {
  position: absolute; left: 50%; top: calc(50% - var(--aw) * 0.69 - 46px);
  transform: translateX(-50%); white-space: nowrap; color: var(--brass);
}
.hero-word {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 2;
  transform: translateY(-50%);
  display: flex; justify-content: center;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(88px, 21vw, 360px); line-height: 0.8; letter-spacing: -0.01em;
  color: var(--tallow); pointer-events: none;
  text-shadow: 0 0 60px rgba(12, 9, 7, 0.35);
}
.hw, .hw-in { display: inline-block; will-change: transform; }
.hero-side {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 13px; letter-spacing: 0.5em; color: var(--smoke);
}
.hero-foot { position: absolute; left: var(--gutter); bottom: clamp(26px, 6vh, 60px); max-width: 26em; display: grid; gap: 10px; z-index: 2; }
.hero-copy { font-size: clamp(22px, 2.1vw, 32px); font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; }
.hero-sub { font-size: 13px; color: var(--tallow-dim); line-height: 1.9; }
.scroll-badge { position: absolute; right: var(--gutter); bottom: clamp(20px, 5vh, 52px); width: 112px; height: 112px; display: grid; place-items: center; z-index: 2; }
.scroll-badge > * { grid-area: 1 / 1; }
.badge-rot { width: 100%; height: 100%; will-change: transform; }
.badge-text { width: 100%; height: 100%; overflow: visible; }
.badge-text text { font-family: var(--f-mono); font-size: 8.6px; fill: var(--tallow-dim); letter-spacing: 0.1em; }
.badge-mark { width: 26px; height: 26px; color: var(--brass); }
.hero-line {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%);
  text-align: center; display: grid; gap: 14px; z-index: 3; pointer-events: none;
}
.js .hero-line { opacity: 0; }
.hero-line .jp { font-size: clamp(30px, 4.6vw, 72px); font-weight: 600; letter-spacing: 0.12em; line-height: 1.3; text-wrap: balance; }
.hero-line .mono { color: var(--brass-2); }

/* ---------- Story ---------- */
.story { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.story-stage { position: absolute; inset: 0; }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-ui { position: absolute; inset: 0; pointer-events: none; }
.story-ui::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12, 9, 7, 0.88) 0%, rgba(12, 9, 7, 0.4) 36%, rgba(12, 9, 7, 0) 58%),
    linear-gradient(to right, rgba(12, 9, 7, 0.55), rgba(12, 9, 7, 0) 46%);
}
.story-top { position: absolute; left: var(--gutter); top: clamp(84px, 13vh, 124px); color: var(--brass); display: grid; gap: 4px; }
.story-top span { color: var(--tallow-dim); letter-spacing: 0.3em; font-family: var(--f-mincho); text-transform: none; font-size: 12px; }
.chapters { position: absolute; left: var(--gutter); bottom: clamp(30px, 7vh, 72px); width: min(520px, calc(100% - var(--gutter) * 2 - 120px)); min-height: 320px; }
.chapter { position: absolute; left: 0; bottom: 0; width: 100%; visibility: hidden; }
.chapter.is-active { visibility: visible; }
.chapter-num {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(96px, 12vw, 200px); line-height: 0.82; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px var(--brass); font-variant-numeric: lining-nums;
  margin-bottom: 10px;
}
.chapter-en { color: var(--brass-2); }
.chapter-title { font-weight: 600; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.35; letter-spacing: 0.1em; margin: 8px 0 12px; }
.chapter-body { color: var(--tallow-dim); max-width: 30em; font-size: 14.5px; }
.rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px;
}
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: rgba(239, 229, 211, 0.38); transition: color 0.5s; }
.rail li::after { content: ""; width: 46px; height: 1px; background: currentColor; transform: scaleX(0.35); transform-origin: right center; transition: transform 0.6s var(--ease), background-color 0.5s; }
.rail li.is-active { color: var(--tallow); }
.rail li.is-active::after { transform: scaleX(1); background: var(--brass); }
.hud { contain: layout; position: absolute; right: var(--gutter); top: clamp(84px, 13vh, 124px); display: grid; justify-items: end; gap: 4px; color: var(--tallow-dim); font-variant-numeric: tabular-nums; }
.hud b { font-weight: 500; color: var(--tallow); }

/* ---------- Döner ---------- */
.doner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: center;
  padding: clamp(110px, 16vh, 190px) var(--gutter) clamp(80px, 12vh, 140px);
}
.doner-text { display: grid; gap: 26px; max-width: 620px; }
.statement { font-weight: 500; font-size: clamp(24px, 2.45vw, 42px); line-height: 1.65; letter-spacing: 0.06em; word-break: auto-phrase; }
.statement .ch { display: inline; }
.doner-body { color: var(--tallow-dim); max-width: 34em; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 10px; }
.spec > div { contain: layout; padding: 18px 14px 0; border-left: 1px solid var(--line); display: grid; gap: 8px; }
.spec > div:first-child { border-left: 0; padding-left: 0; }
.spec dt { color: var(--smoke); }
.spec dd {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 3.4vw, 54px); line-height: 1; color: var(--tallow);
  font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.spec small { font-family: var(--f-body); font-style: normal; font-size: 12px; color: var(--brass); margin-left: 5px; letter-spacing: 0.1em; }
.doner-stage { position: relative; height: min(88vh, 860px); min-height: 440px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.doner-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; display: none; }
.no-gl .doner-fallback { display: block; }
.doner-tag { position: absolute; left: 0; top: 0; color: var(--brass); }
.doner-hud { contain: layout; position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--tallow-dim); }
.doner-count b { color: var(--tallow); font-weight: 500; font-variant-numeric: tabular-nums; }
.no-gl .doner-hud span:nth-child(-n+2), .no-gl .doner-count { display: none; }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: clamp(40px, 8vh, 100px) 0; overflow: hidden; }
.mq-row { white-space: nowrap; will-change: transform; }
.mq-track { display: inline-flex; align-items: center; will-change: transform; }
.mq-row.r1 span { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(64px, 10vw, 176px); line-height: 1.08; padding: 0 0.22em; color: var(--tallow); }
.mq-row.r2 span { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(40px, 6vw, 104px); line-height: 1.3; padding: 0 0.34em; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 104, 0.75); }
.spark { flex: none; width: clamp(16px, 2vw, 30px); aspect-ratio: 1; background: var(--brass); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }

/* ---------- Juicy ---------- */
.juicy {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(80px, 12vh, 150px) var(--gutter);
}
.juicy-copy { display: grid; gap: 22px; align-content: center; }
.juicy-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(84px, 11.5vw, 196px); line-height: 0.86; letter-spacing: -0.02em; }
.juicy-title em, .menu-title em, .finale-title em { font-style: italic; }
.juicy-title em { color: var(--brass-2); }
.lead { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: 0.1em; line-height: 1.5; }
.body { color: var(--tallow-dim); max-width: 30em; }
.sauce-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.sauce-pick button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; letter-spacing: 0.06em; color: var(--tallow-dim);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.sauce-pick button i { width: 13px; height: 13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.25); }
.sauce-pick button:hover { border-color: rgba(201, 164, 104, 0.6); color: var(--tallow); }
.sauce-pick button[aria-checked="true"] { border-color: var(--brass); background: rgba(201, 164, 104, 0.12); color: var(--tallow); }
.meter { contain: layout; border-top: 1px solid var(--line); padding-top: 16px; max-width: 440px; display: grid; gap: 10px; }
.meter-row { display: flex; justify-content: space-between; align-items: baseline; color: var(--smoke); }
.meter-num b { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 46px; line-height: 1; color: var(--tallow); font-variant-numeric: tabular-nums lining-nums; }
.meter-num small { font-family: var(--f-mono); font-size: 12px; margin-left: 6px; color: var(--brass); letter-spacing: 0.1em; }
.meter-bar { height: 2px; background: var(--ash); position: relative; overflow: hidden; }
.meter-bar span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brass), var(--ember)); transition: transform 0.5s var(--ease); }
.meter-verdict { font-size: 17px; font-weight: 500; letter-spacing: 0.08em; min-height: 1.6em; }
.btn-ghost { justify-self: start; padding: 10px 0; color: var(--tallow-dim); border-bottom: 1px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.btn-ghost:hover { color: var(--tallow); border-color: var(--brass); }

.plate { position: relative; width: 100%; aspect-ratio: 5 / 4; max-width: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }
.plate-media { position: absolute; inset: 0; border-radius: 3px; }
.plate-layers { position: absolute; inset: 0; border-radius: 3px; overflow: hidden; }
.plate-layers canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-corner { position: absolute; width: 18px; height: 18px; border-color: var(--brass); border-style: solid; border-width: 0; pointer-events: none; }
.plate-corner.tl { left: -10px; top: -10px; border-left-width: 1px; border-top-width: 1px; }
.plate-corner.tr { right: -10px; top: -10px; border-right-width: 1px; border-top-width: 1px; }
.plate-corner.bl { left: -10px; bottom: -10px; border-left-width: 1px; border-bottom-width: 1px; }
.plate-corner.br { right: -10px; bottom: -10px; border-right-width: 1px; border-bottom-width: 1px; }
.plate-hint { position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%); color: var(--smoke); white-space: nowrap; pointer-events: none; }

/* ---------- Craft ---------- */
.craft { position: relative; height: 100vh; height: 100svh; min-height: 620px; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 48px); overflow: hidden; }
.craft-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; padding-inline: var(--gutter); }
.craft-head > div { display: grid; gap: 14px; }
.h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 54px); letter-spacing: 0.1em; line-height: 1.3; }
.craft-note { color: var(--tallow-dim); font-size: 14px; max-width: 26em; }
.craft-track { display: flex; gap: clamp(20px, 3vw, 52px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.card { flex: none; width: min(clamp(240px, 25vw, 400px), calc((100svh - 330px) * 0.75)); display: grid; gap: 12px; align-content: start; }
.card-media { aspect-ratio: 3 / 4; width: 100%; border-radius: 2px; }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.card-meta .kanji { font-size: 40px; font-weight: 700; line-height: 1.2; color: transparent; -webkit-text-stroke: 1px var(--brass); }
.card-meta .mono { color: var(--brass); }
.card h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; }
.card p { color: var(--tallow-dim); font-size: 13.5px; line-height: 1.85; }
.craft-progress { margin-inline: var(--gutter); height: 1px; background: var(--ash); position: relative; }
.craft-progress span { position: absolute; inset: 0; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* ---------- Menu ---------- */
.menu { position: relative; padding: clamp(110px, 16vh, 190px) var(--gutter) clamp(90px, 14vh, 160px); }
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.menu-head > div { display: grid; gap: 14px; }
.menu-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 9vw, 150px); line-height: 0.9; letter-spacing: -0.02em; }
.menu-note { color: var(--tallow-dim); font-size: 13.5px; }
.menu-list { list-style: none; padding: 0; margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--line); }
.menu-item {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 52px); align-items: center;
  padding: clamp(22px, 3.6vh, 38px) 0; border-bottom: 1px solid var(--line);
}
.menu-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201, 164, 104, 0.08), rgba(201, 164, 104, 0)); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); pointer-events: none; }
.menu-item:hover::before { transform: scaleY(1); }
.mi-thumb { display: none; }
.mi-name { display: grid; gap: 8px; }
.mi-en { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.9vw, 62px); line-height: 1; letter-spacing: -0.01em; transition: transform 0.7s var(--ease), color 0.4s; }
.menu-item:hover .mi-en { transform: translateX(16px); color: var(--brass-2); font-style: italic; }
.mi-jp { font-size: 13px; letter-spacing: 0.16em; color: var(--smoke); }
.mi-desc { color: var(--tallow-dim); font-size: 14px; max-width: 28em; }
.mi-price { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--tallow); }
.menu-float { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(220px, 19vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; pointer-events: none; opacity: 0; visibility: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.menu-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Finale ---------- */
.finale { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.finale-media { position: absolute; inset: 0; }
.finale-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 9, 7, 0.86) 0%, rgba(12, 9, 7, 0.45) 55%, rgba(12, 9, 7, 0.6) 100%), linear-gradient(to top, rgba(12, 9, 7, 0.9), rgba(12, 9, 7, 0) 40%); pointer-events: none; }
.finale-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(110px, 16vh, 170px) var(--gutter); }
.finale-copy { display: grid; gap: 22px; }
.finale-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(60px, 9.6vw, 168px); line-height: 0.92; letter-spacing: -0.02em; max-width: 9em; }
.finale-title em { color: var(--brass-2); }
.finale-lead { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: 0.12em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px;
  border-radius: 999px; background: var(--brass); color: var(--soot);
  font-size: 14px; font-weight: 500; letter-spacing: 0.12em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--brass-2); }
.btn-line { background: transparent; color: var(--tallow); border: 1px solid rgba(239, 229, 211, 0.4); }
.btn-line:hover { background: rgba(239, 229, 211, 0.08); border-color: var(--tallow); }
.vertical { writing-mode: vertical-rl; font-weight: 700; font-size: clamp(48px, 6.4vw, 110px); letter-spacing: 0.14em; line-height: 1.25; color: var(--tallow); }

/* ---------- Footer ---------- */
.footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 36px 48px; padding: 64px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--soot); }
.f-logo { font-family: var(--f-display); font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: 0.08em; }
.f-tag { color: var(--brass); margin-top: 12px; }
.f-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.f-info dt { color: var(--smoke); margin-bottom: 6px; }
.f-info dd { font-size: 14px; }
.f-info a { border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.f-info a:hover { border-color: var(--brass); }
.f-copy { grid-column: 1 / -1; color: var(--smoke); }

/* split text */
.ch { display: inline-block; }
.split .ch { display: inline-block; }
.split .w { display: inline-block; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .doner, .juicy { grid-template-columns: minmax(0, 1fr); }
  .doner-stage { height: min(120vw, 640px); min-height: 400px; }
  .plate { aspect-ratio: 4 / 5; max-height: 76svh; margin-bottom: 30px; }
  .f-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --aw: min(62vw, 42svh); }
  .nav-links { display: none; }
  .hero-side { display: none; }
  .hero-word { font-size: 22vw; }
  .hero-eyebrow { top: calc(50% - var(--aw) * 0.69 - 36px); font-size: 10px; }
  .scroll-badge { width: 84px; height: 84px; }
  .hero-foot { max-width: calc(100% - 84px - var(--gutter) * 2 - 12px); }
  .hero-copy { font-size: 20px; letter-spacing: 0.1em; }
  .hero-sub { font-size: 12px; }
  .chapters { width: calc(100% - var(--gutter) * 2); min-height: 280px; bottom: clamp(24px, 5vh, 48px); }
  .chapter-num { font-size: 92px; }
  .chapter-title { font-size: 26px; }
  .chapter-body { font-size: 13.5px; }
  .rail { top: auto; bottom: auto; right: auto; left: var(--gutter); top: clamp(128px, 19vh, 170px); transform: none; flex-direction: row; gap: 6px; }
  .rail li { gap: 0; }
  .rail li span { display: none; }
  .rail li::after { width: 38px; transform: scaleX(0.53); transform-origin: left center; }
  .rail li.is-active::after { transform: scaleX(1); }
  .hud { top: clamp(84px, 13vh, 124px); }
  .story-top { display: none; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec > div:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); }
  .menu-item { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "thumb name" "thumb desc" "thumb price"; gap: 8px 16px; align-items: start; }
  .mi-thumb { display: block; grid-area: thumb; width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
  .mi-name { grid-area: name; }
  .mi-desc { grid-area: desc; font-size: 13px; }
  .mi-price { grid-area: price; font-size: 22px; }
  .menu-item:hover .mi-en { transform: none; }
  .finale-inner { grid-template-columns: minmax(0, 1fr); }
  .vertical { position: absolute; right: var(--gutter); top: clamp(90px, 14vh, 130px); font-size: 44px; opacity: 0.9; }
  .finale-copy { padding-top: 180px; }
  .f-info { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) {
  .menu-float { display: none; }
  .menu-item { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "thumb name" "thumb desc" "thumb price"; gap: 8px 16px; align-items: start; }
  .mi-thumb { display: block; grid-area: thumb; width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
  .mi-name { grid-area: name; }
  .mi-desc { grid-area: desc; }
  .mi-price { grid-area: price; }
}
@media (prefers-reduced-motion: reduce) {
  .grain::before { animation: none; }
  .loader-mark { animation: none; }
  .sound.is-on .bars i { animation: none; height: 8px; }
}
