/* KOKO NEKO v5 — a night on Florentin.
   One memorable moment (the night-sign hero); everything else stays quiet and lets the food speak. */

@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-hebrew-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2665,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-hebrew-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2665,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-hebrew-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2665,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-hebrew-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2665,U+FEFF,U+FFFD; }
@font-face { font-family: 'Zen Antique'; src: url('../fonts/ZenAntique-Koko.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #17252b;
  --ink-deep: #0f1b20;
  --coral: #f05d66;
  --coral-deep: #d9434f;
  --cream: #f4ecd9;
  --paper: #fbf7ee;
  --white: #ffffff;
  --gold: #f7b548;
  --zen: #eef0df;
  --moss: #526649;
  --moss-deep: #3d4d36;
  --line-dark: rgba(23, 37, 43, .16);
  --line-light: rgba(244, 236, 217, .18);

  --f-display: 'Fredoka', system-ui, sans-serif;
  --f-body: 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-jp: 'Zen Antique', 'Noto Sans JP Koko', serif;

  --wrap: min(1320px, calc(100% - 2 * var(--gutter)));
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --admin: var(--wp-admin--admin-bar--height, 0px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.en, bdi.en { direction: ltr; unicode-bidi: isolate; white-space: nowrap; font-weight: 600; }
[lang="ja"] { font-family: var(--f-jp); font-weight: 400; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: calc(var(--admin) + 8px); right: 8px; z-index: 200;
  padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: 0;
}
.kicker {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 18px;
  font-size: 15px; font-weight: 500;
}
.kicker [lang="ja"] { font-size: 20px; color: var(--coral); }
.link {
  display: inline-flex; gap: 10px; align-items: baseline;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) right bottom / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease-out), color .2s;
}
.link:hover { background-size: 0 2px; background-position: left bottom; color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--coral); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--coral-deep);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .2s, color .2s;
}
.btn span[aria-hidden] { transition: transform .25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--coral-deep); }
.btn:hover span[aria-hidden] { transform: translateX(-5px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--coral-deep); }
.btn-line { --bg: transparent; --fg: currentColor; border-color: currentColor; box-shadow: none; }
.btn-line:hover { box-shadow: none; background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-moss { --bg: var(--moss); --fg: var(--zen); box-shadow: 0 4px 0 var(--moss-deep); }
.btn-moss:hover { box-shadow: 0 6px 0 var(--moss-deep); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--coral-deep); }

/* ---------- Noren intro (first visit in a session) ---------- */
.noren-intro { display: none; }
.motion-on .noren-intro.is-playing {
  display: flex; position: fixed; inset: 0; z-index: 300; pointer-events: none;
}
.noren-half {
  flex: 1; display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 3px), rgba(0,0,0,.18) calc(25% - 3px) 25%),
    var(--coral);
  animation: norenOpen 1.05s .35s var(--ease-out) forwards;
  transform-origin: top center;
}
.noren-half img { width: 64px; filter: brightness(0) invert(1); opacity: .9; }
.noren-r { animation-name: norenOpenR; }
.noren-l { animation-name: norenOpenL; }
.noren-r img { margin-inline-start: auto; transform: translateX(32px); }
.noren-l img { margin-inline-end: auto; transform: translateX(-32px); }
@keyframes norenOpenR { 40% { transform: translateX(8%) skewX(-4deg); } to { transform: translateX(105%) skewX(-10deg); } }
@keyframes norenOpenL { 40% { transform: translateX(-8%) skewX(4deg); } to { transform: translateX(-105%) skewX(10deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: var(--admin); inset-inline: 0; z-index: 100;
  color: var(--cream);
  transition: background .35s, box-shadow .35s, transform .35s var(--ease-out);
}
.site-header.is-solid { background: rgba(15, 27, 32, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-light); }
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner {
  width: var(--wrap); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.brand { display: block; flex: none; }
.brand-word { width: clamp(150px, 14vw, 196px); transition: transform .3s var(--ease-spring); }
.brand:hover .brand-word { transform: rotate(-2deg) scale(1.04); }
.main-nav { display: flex; gap: clamp(14px, 2.2vw, 32px); margin-inline-start: auto; }
.main-nav a {
  position: relative; padding: 6px 0; text-decoration: none; font-weight: 500; font-size: 16px;
}
.main-nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; }
.progress span { display: block; height: 100%; background: var(--coral); transform-origin: right; transform: scaleX(0); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--coral); margin-inline-start: 4px; padding: 0; cursor: pointer;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .3s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: calc(var(--header-h) + var(--admin)) 0 0; z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px var(--gutter) 40px;
  background: var(--ink-deep); color: var(--cream); overflow: auto;
  animation: navIn .4s var(--ease-out);
}
@keyframes navIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.mobile-nav a:not(.btn) {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--f-display); font-weight: 500; font-size: 38px; line-height: 1.1; text-decoration: none;
}
.mobile-nav a .jp { font-size: 18px; color: var(--coral); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }
.mobile-nav-cat { width: 150px; margin-top: auto; align-self: flex-end; }

/* ---------- NOREN STRIPS (gallery) ---------- */
.noren-photos {
  position: relative; height: min(76svh, 760px); min-height: 440px;
  display: flex; gap: 8px; padding-top: 18px;
}
.np-rod {
  position: absolute; top: 0; left: -14px; right: -14px; height: 14px; border-radius: 7px; z-index: 3;
  background: linear-gradient(#7a5532, #4a3019); box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.np-rod::before, .np-rod::after { content: ''; position: absolute; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6d38b, #b07a28); }
.np-rod::before { left: -6px; } .np-rod::after { right: -6px; }
.np-glow {
  position: absolute; z-index: 0; left: 50%; top: 45%; width: 70%; height: 80%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(240, 70, 80, .55), transparent); filter: blur(30px);
  opacity: 0; pointer-events: none;
}
.np-strip {
  --sway: 0deg;
  position: relative; z-index: 1; flex: 1 1 0; min-width: 0; margin: 0;
  border-radius: 0 0 18px 18px; overflow: hidden; cursor: pointer;
  transform-origin: 50% 0; transform: rotate(var(--sway));
  transition: flex-grow .8s var(--ease-out), box-shadow .4s;
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  outline-offset: -4px;
}
.np-strip::before { /* the coral hem at the top of each strip */
  content: ''; position: absolute; z-index: 2; inset: 0 0 auto; height: 16px;
  background: var(--coral); box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}
.np-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.9) brightness(.82); }
.np-strip.is-neon { flex-grow: 1.55; background: #050505; }
.np-strip.is-neon img { filter: none; object-position: 50% 40%; }
.noren-photos:hover .np-strip, .noren-photos:focus-within .np-strip { flex-grow: .8; }
.noren-photos .np-strip:hover, .noren-photos .np-strip:focus-visible, .noren-photos .np-strip.is-open { flex-grow: 2.6; }
.np-strip:hover img, .np-strip:focus-visible img, .np-strip.is-open img { filter: saturate(1.05) brightness(1); transform: scale(1.04); }
.np-strip figcaption {
  position: absolute; z-index: 2; inset: auto 0 0; padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(10, 18, 22, .85), transparent);
  font-weight: 500; font-size: 16px; color: var(--white); white-space: nowrap;
  opacity: 0; translate: 0 10px; transition: opacity .4s .1s, translate .5s .1s var(--ease-out);
}
.np-strip figcaption span { display: block; font-size: 13px; color: var(--gold); }
.np-strip:hover figcaption, .np-strip:focus-visible figcaption, .np-strip.is-open figcaption { opacity: 1; translate: 0 0; }

/* Load: the rod slides in, the strips drop one by one, the neon switches on last. */
.motion-on .np-rod { animation: rodIn .7s var(--ease-out) both; }
.motion-on .np-strip { animation: stripDrop 1s calc(.35s + var(--s) * .1s) var(--ease-spring) both, breeze calc(5s + var(--s) * .6s) 1.6s ease-in-out infinite alternate; }
.motion-on .np-strip.is-neon img { animation: neonOn 1.6s 1.1s steps(1) both, neonHum 5s 2.8s ease-in-out infinite; }
.motion-on .np-glow { animation: glowOn 1.6s 1.1s steps(1) both, glowHum 5s 2.8s ease-in-out infinite; }
@keyframes rodIn { from { transform: scaleX(0); } }
@keyframes stripDrop { from { clip-path: inset(0 0 100% 0); transform: translateY(-30px) rotate(0); } to { clip-path: inset(0 0 0 0); } }
@keyframes breeze { from { transform: rotate(calc(var(--sway) - .5deg)); } to { transform: rotate(calc(var(--sway) + .5deg)); } }
@keyframes neonOn { 0% { opacity: .05; } 12% { opacity: 1; } 18% { opacity: .2; } 26% { opacity: 1; } 32% { opacity: .5; } 40%, 100% { opacity: 1; } }
@keyframes neonHum { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12) saturate(1.1); } }
@keyframes glowOn { 0% { opacity: 0; } 12% { opacity: .9; } 18% { opacity: .1; } 26% { opacity: .9; } 32% { opacity: .4; } 40%, 100% { opacity: .85; } }
@keyframes glowHum { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes catIn { from { opacity: 0; transform: translateY(40%) rotate(-8deg); } }
.motion-off .np-glow { opacity: .8; }

/* Lantern string across the street */
.lantern-line {
  position: absolute; top: calc(var(--header-h) + var(--admin) - 14px); inset-inline: 0; height: 110px;
  display: flex; justify-content: space-around; pointer-events: none; z-index: 1;
}
.lantern-line::before {
  content: ''; position: absolute; inset-inline: -2%; top: 0; height: 46px;
  border-bottom: 1.5px solid rgba(244, 236, 217, .25); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.lantern {
  position: relative; width: 22px; height: 30px; margin-top: calc(14px + (var(--i) - 3) * (var(--i) - 3) * -2px + 16px);
  transform-origin: 50% -12px;
  animation: sway calc(3.6s + var(--i) * .37s) ease-in-out infinite alternate;
}
.lantern::before { content: ''; position: absolute; left: 50%; top: -12px; height: 12px; border-left: 1.5px solid rgba(244,236,217,.4); }
.lantern i {
  position: absolute; inset: 0; border-radius: 45%;
  background:
    repeating-linear-gradient(to bottom, transparent 0 5px, rgba(0,0,0,.18) 5px 6px),
    radial-gradient(circle at 50% 45%, #ffd27a, var(--coral) 62%, var(--coral-deep));
  box-shadow: 0 0 18px 4px rgba(247, 181, 72, .4), 0 0 40px 8px rgba(240, 93, 102, .2);
  border-top: 3px solid #2b2b2b; border-bottom: 3px solid #2b2b2b;
  animation: flicker calc(2.4s + var(--i) * .5s) steps(1) infinite;
}
.lantern:nth-child(odd) i { background:
    repeating-linear-gradient(to bottom, transparent 0 5px, rgba(0,0,0,.14) 5px 6px),
    radial-gradient(circle at 50% 45%, #fff2c8, var(--gold) 65%, #d48b1f);
  box-shadow: 0 0 18px 4px rgba(247, 181, 72, .5); }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .82; } 49% { opacity: 1; } }


/* ---------- Cat actors (shared) ---------- */
.cat-actor {
  position: absolute; z-index: 4; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cat-actor img { width: 100%; transform-origin: 50% 100%; pointer-events: none; user-select: none; }
.cat-actor:focus-visible { outline-offset: -6px; border-radius: 24px; }
.cat-bubble {
  position: absolute; bottom: 92%; inset-inline-start: 50%; z-index: 2;
  min-width: max-content; max-width: 220px; padding: 10px 16px;
  background: var(--white); color: var(--ink); border-radius: 18px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 6px 0 rgba(0,0,0,.15);
  opacity: 0; transform: translate(50%, 10px) scale(.7); transform-origin: 50% 100%;
  transition: opacity .2s, transform .35s var(--ease-spring);
  pointer-events: none;
}
.cat-bubble::after {
  content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px;
  border: 8px solid transparent; border-top-color: var(--white);
}
.cat-bubble.is-on { opacity: 1; transform: translate(50%, 0) scale(1); }
.cat-burst { position: absolute; z-index: 5; width: 26px; pointer-events: none; animation: burst 1s var(--ease-out) forwards; }
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1.1); }
}

/* Idle moods: the cat never repeats one loop. JS picks a mood class at random intervals. */
.motion-on .cat-actor img { animation: breathe 3.8s ease-in-out infinite; }
.motion-on .cat-actor.mood-beckon img { animation: beckon 1.6s ease-in-out 2; }
.motion-on .cat-actor.mood-hop img { animation: hop .9s var(--ease-out) 2; }
.motion-on .cat-actor.mood-tilt img { animation: tilt 2.4s ease-in-out 1; }
.motion-on .cat-actor.mood-wiggle img { animation: wiggle .7s ease-in-out 2; }
.motion-on .cat-actor.mood-peek img { animation: peek 2.2s var(--ease-out) 1; }
.motion-on .cat-actor.mood-spin img { animation: spinHop 1.1s var(--ease-out) 1; }
.motion-on .cat-actor.is-poked img { animation: poke .55s var(--ease-spring) 1; }
.motion-on .cat-actor:hover img { animation: squish .5s var(--ease-spring) 1; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .985); } }
@keyframes beckon { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 60% { transform: rotate(3deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1); } 15% { transform: translateY(0) scale(1.06, .92); } 45% { transform: translateY(-9%) scale(.97, 1.04); } 75% { transform: translateY(0) scale(1.04, .96); } }
@keyframes tilt { 0%, 100% { transform: rotate(0); } 30%, 60% { transform: rotate(7deg) translateX(-2%); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@keyframes peek { 0% { transform: translateY(0); } 30% { transform: translateY(14%) scale(.98); } 55% { transform: translateY(14%) scale(.98); } 80% { transform: translateY(-3%); } 100% { transform: translateY(0); } }
@keyframes spinHop { 0% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-8%) rotateY(180deg); } 100% { transform: translateY(0) rotateY(360deg); } }
@keyframes poke { 0% { transform: scale(1); } 30% { transform: scale(1.12, .86); } 60% { transform: scale(.94, 1.08); } 100% { transform: scale(1); } }
@keyframes squish { 0% { transform: scale(1); } 40% { transform: scale(1.05, .95); } 100% { transform: scale(1); } }

/* Scroll entrance: cats rise from behind their baseline. */
.motion-on .cat-actor[data-enter] { clip-path: inset(-40% -40% 0 -40%); }
.motion-on .cat-actor[data-enter] > img { translate: 0 105%; transition: translate 1s var(--ease-spring); }
.motion-on .cat-actor[data-enter].is-in > img { translate: 0 0; }


/* Ticker band */
.ticker-wrap { position: relative; z-index: 4; height: 0; overflow-x: clip; overflow-y: visible; }
.ticker-wrap .ticker { position: absolute; inset-inline: -2%; top: 50%; translate: 0 -50%; margin: 0; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.ticker {
  position: relative; z-index: 3; overflow: hidden;
  background: var(--coral); color: var(--ink);
  transform: rotate(-1.2deg) scale(1.02); margin-bottom: -12px;
  border-block: 3px solid var(--ink);
}
.ticker-track {
  display: flex; align-items: center; gap: 28px; width: max-content; padding: 10px 0;
  font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1;
  animation: ticker 114s linear infinite;
}
.ticker-track [lang="ja"] { font-size: 20px; }
.ticker-track img { width: 24px; filter: brightness(0) invert(1); }
@keyframes ticker { to { transform: translateX(50%); } }
.ticker-track { padding-inline-start: 28px; } /* keeps both halves identical so the loop has no seam */

/* ---------- RAMEN ---------- */
.ramen {
  position: relative; background: var(--cream); border-top: 1px solid rgba(23,37,43,.08); padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
}
.ramen::before { /* washi fibre texture */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ramen-layout { position: relative; display: grid; grid-template-columns: minmax(260px, .36fr) 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ramen-guide { position: sticky; top: calc(var(--header-h) + var(--admin) + 24px); display: flex; flex-direction: column; align-items: flex-start; }
.ramen-guide .display { color: var(--ink); font-size: clamp(30px, 2.8vw, 44px); }
.ramen-cat { position: relative; width: min(100%, 260px); margin: 18px 0 8px -10px; align-self: flex-end; }
.guide-caption { min-height: 3.4em; font-size: 20px; line-height: 1.35; margin-bottom: 14px; }
.guide-caption strong { font-family: var(--f-display); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--coral); }
.bowls { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.bowl:first-child { grid-column: 1 / -1; }
.bowl-photo {
  position: relative; display: block; overflow: hidden; border-radius: 28px;
  background: var(--cream);
}
.bowl:first-child .bowl-photo { border-radius: 36px; }
.bowl-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .9s var(--ease-out); }
.bowl:hover .bowl-photo img, .bowl.is-current .bowl-photo img { transform: scale(1.05); }
.bowl-steam { position: absolute; top: 6%; left: 35%; width: 30%; height: 50%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.bowl:hover .bowl-steam, .bowl.is-current .bowl-steam { opacity: 1; }
.bowl-steam i {
  position: absolute; bottom: 0; width: 18%; height: 90%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.65), transparent);
  filter: blur(8px); animation: puff 3.4s ease-in infinite;
}
.bowl-steam i:nth-child(1) { left: 10%; }
.bowl-steam i:nth-child(2) { left: 42%; animation-delay: 1.1s; }
.bowl-steam i:nth-child(3) { left: 74%; animation-delay: 2.2s; }
@keyframes puff { 0% { transform: translateY(30%) scaleX(.6); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-40%) scaleX(1.3); opacity: 0; } }
.bowl-text { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 4px 0; }
.bowl-num { grid-row: span 2; font-size: 44px; line-height: 1; color: var(--coral); }
.bowl h3 { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.05; }
.bowl h3 small { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--coral-deep); margin-inline-start: 6px; }
.bowl p { margin-top: 6px; max-width: 46ch; color: #3c4a4f; }
.bowl.is-current .bowl-num { animation: none; text-shadow: 0 0 0 var(--coral); }
.photo-link { cursor: zoom-in; }

.gyoza {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  margin-top: clamp(80px, 10vw, 140px);
}
.gyoza-photo { display: block; overflow: hidden; border-radius: 50% 50% 36px 36px / 38% 38% 36px 36px; }
.gyoza-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease-out); }
.gyoza-photo:hover img { transform: scale(1.05) rotate(-1deg); }
.gyoza-copy { position: relative; }
.gyoza-jp { position: absolute; top: -.6em; inset-inline-end: 0; font-size: clamp(90px, 12vw, 180px); line-height: 1; color: rgba(240, 93, 102, .12); pointer-events: none; }
.gyoza-copy .display { font-size: clamp(30px, 3vw, 46px); margin-bottom: 18px; }
.gyoza-copy p { max-width: 38ch; font-size: 18px; margin-bottom: 18px; }

/* ---------- MENU ---------- */
.menu { background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.menu-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(20px, 4vw, 56px); margin-bottom: 36px; }
.menu-jp { writing-mode: vertical-rl; font-size: clamp(36px, 4vw, 56px); line-height: 1; color: var(--coral); letter-spacing: .1em; }
.menu-head .display { color: var(--white); }
.menu-head p { margin-top: 10px; font-size: 18px; color: rgba(244,236,217,.8); }
.menu-tabs {
  position: sticky; top: calc(var(--header-h) + var(--admin)); z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 0; margin-bottom: 28px; background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a {
  flex: none; padding: 8px 18px; border: 1.5px solid var(--line-light); border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 15px; transition: background .2s, color .2s, border-color .2s;
}
.menu-tabs a:hover, .menu-tabs a.is-active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.menu-boards { columns: 2 380px; column-gap: clamp(28px, 4vw, 64px); }
.board {
  break-inside: avoid; margin-bottom: clamp(32px, 4vw, 52px);
  scroll-margin-top: calc(var(--header-h) + var(--admin) + 80px);
}
.board-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--coral);
}
.board h3 { font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--white); }
.board-jp { font-size: 22px; color: var(--coral); }
.board-note { font-size: 14px; color: rgba(244,236,217,.7); margin-bottom: 6px; }
.board li { padding: 12px 0; border-bottom: 1px dashed var(--line-light); }
.item-row { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-weight: 600; font-size: 18px; }
.item-name small { font-weight: 400; font-size: 14px; color: rgba(244,236,217,.65); margin-inline-start: 4px; }
.item-dots { flex: 1; border-bottom: 2px dotted rgba(244,236,217,.25); transform: translateY(-5px); min-width: 20px; }
.item-price { font-weight: 600; font-size: 18px; line-height: 1; color: var(--gold); white-space: nowrap; }
.board li p { font-size: 15px; color: rgba(244,236,217,.72); margin-top: 3px; max-width: 52ch; }
.board li { transition: background .25s; }
.board li:hover { background: linear-gradient(to left, rgba(240,93,102,.12), transparent 70%); }
.menu-foot { margin-top: 12px; font-size: 14px; color: rgba(244,236,217,.7); }
.menu-foot a { color: var(--gold); }

/* ---------- STORY ---------- */
.story {
  position: relative; background: var(--paper);
  color: var(--ink); padding: clamp(110px, 12vw, 170px) 0 clamp(90px, 11vw, 150px);
}
.story::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.story .wrap { position: relative; }
.story-head { margin-bottom: clamp(36px, 5vw, 64px); }
.neon { color: var(--ink); }
@keyframes neonOn { 0% { opacity: .15; } 10% { opacity: 1; } 14% { opacity: .3; } 22% { opacity: 1; } 60% { opacity: .85; } 62% { opacity: 1; } }
.story-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.story-grid figure img { width: 100%; border-radius: 22px; }
.story-grid figcaption { margin-top: 10px; font-size: 14px; color: rgba(23,37,43,.62); }
.story-neon { grid-column: 1 / 8; }
.story-neon img { aspect-ratio: 16 / 10; object-fit: cover; }
.story-copy { grid-column: 8 / 13; padding-top: 12px; }
.story-copy h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; color: var(--ink); margin-bottom: 18px; }
.story-copy p { font-size: 18px; margin-bottom: 14px; max-width: 42ch; }
.story-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 10px; }
.story-copy .link { color: var(--coral-deep); }
.story-sign { grid-column: 2 / 6; margin-top: 10px; }
.story-sign img, .story-table img { aspect-ratio: 2 / 3; object-fit: cover; }
.story-table { grid-column: 7 / 11; margin-top: 70px; }
.story-cat { position: absolute; width: clamp(150px, 17vw, 250px); bottom: 2%; left: 0; }

/* ---------- PRESS ---------- */
.press { background: var(--coral); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.press .kicker [lang="ja"] { color: var(--white); }
.press-head { position: relative; display: flex; justify-content: space-between; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.press-head .display { color: var(--ink); }
.press-cat { position: relative; width: clamp(150px, 18vw, 260px); margin-bottom: -18px; }
.press-spread { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.press-second { margin-top: clamp(40px, 8vw, 120px); }
.press-item a { display: block; text-decoration: none; }
.press-img { overflow: hidden; border-radius: 24px; background: var(--ink); }
.press-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .9s var(--ease-out), opacity .4s; }
.press-item a:hover .press-img img { transform: scale(1.04); }
.press-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 8px; border-bottom: 2px solid var(--ink); }
.press-pub { font-weight: 600; font-size: 20px; }
.press-meta time { font-size: 15px; }
.press-item h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.08; margin: 14px 0 10px; }
.press-second h3 { font-size: clamp(22px, 1.9vw, 30px); }
.press-item q { quotes: '״' '״'; }
.press-item p { font-size: 17px; max-width: 46ch; margin-bottom: 14px; }
.press-by { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; }
.press-go { font-weight: 600; transition: transform .25s var(--ease-out); }
.press-item a:hover .press-go { transform: translateX(-6px); }

/* ---------- ZEN ---------- */
.zen { position: relative; background: var(--zen); color: var(--moss-deep); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.fusuma { position: absolute; inset: 0; display: none; pointer-events: none; z-index: 6; }
.motion-on .fusuma { display: flex; }
.fusuma span {
  flex: 1; background:
    linear-gradient(90deg, rgba(82,102,73,.25) 2px, transparent 2px) 0 0 / 33.33% 100%,
    linear-gradient(rgba(82,102,73,.25) 2px, transparent 2px) 0 0 / 100% 25%,
    #f7f5ea;
  border-inline: 6px solid #a58b63;
  transition: transform 1.4s var(--ease-out);
}
.zen.is-open .fusuma span:first-child { transform: translateX(110%); }
.zen.is-open .fusuma span:last-child { transform: translateX(-110%); }
.zen .kicker [lang="ja"] { color: var(--moss); }
.zen-intro { display: grid; grid-template-columns: 1fr minmax(220px, .5fr); align-items: end; gap: clamp(24px, 4vw, 60px); margin-bottom: clamp(28px, 4vw, 48px); }
.zen-title-block h2 { margin: 0 0 18px; line-height: 0; }
.zen-title-block h2 img { width: min(100%, 640px); }
.zen-tagline { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; color: var(--moss); margin-bottom: 12px; }
.zen-lede { font-size: 18px; max-width: 44ch; margin-bottom: 24px; color: #33402e; }
.zen-cat { position: relative; width: min(100%, 300px); justify-self: center; }
.zen-hero-photo a { display: block; overflow: hidden; border-radius: 40px; }
.zen-hero-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transform-origin: 50% 80%; }
.motion-on .zen-hero-photo a:hover img { animation: jiggle .8s ease-in-out 1; }
@keyframes jiggle { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.03, .97); } 40% { transform: scale(.985, 1.02); } 60% { transform: scale(1.01, .99); } 80% { transform: scale(.998, 1.004); } }
.zen-hero-photo figcaption { margin-top: 12px; font-weight: 500; }
.zen-moments {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(40px, 6vw, 80px); align-items: start;
}
.moment a { display: block; overflow: hidden; border-radius: 26px; }
.moment img { width: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.moment a:hover img { transform: scale(1.05); }
.moment figcaption { margin-top: 10px; font-size: 15px; }
.moment figcaption strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--moss); }
.moment img { aspect-ratio: 4 / 5; }
.m-a { grid-column: 1 / 4; }
.m-b { grid-column: 4 / 7; margin-top: 90px; }
.m-c { grid-column: 7 / 10; margin-top: 30px; }
.m-d { grid-column: 10 / 13; margin-top: 120px; }
.zen-end { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 7vw, 100px); padding-top: 40px; border-top: 2px solid rgba(82,102,73,.3); }
.zen-visit .display { font-size: clamp(30px, 3vw, 44px); color: var(--moss); margin-bottom: 14px; }
.zen-visit p { margin-bottom: 18px; }
.zen-visit .small { font-size: 14px; margin-top: 18px; max-width: 46ch; }
.zen-press-title { font-weight: 600; margin-bottom: 10px; }
.zen-press a {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; row-gap: 2px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(82,102,73,.3); text-decoration: none;
}
.zen-press a > span:first-child { font-weight: 600; }
.zen-press time { font-size: 14px; }
.zen-press strong { grid-column: 1 / 3; font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--moss-deep); }
.zen-press .go { grid-row: 1 / 3; grid-column: 3; align-self: center; font-size: 22px; transition: transform .25s var(--ease-out); }
.zen-press a:hover .go { transform: translateX(-6px); }

/* ---------- VISIT ---------- */
.visit { position: relative; background: var(--ink); color: var(--cream); padding: clamp(110px, 12vw, 170px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.lantern-line-low { top: 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.visit-copy .display { color: var(--white); margin-bottom: 18px; }
.visit-address { font-size: 22px; margin-bottom: 22px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.visit-phone { display: block; font-size: 18px; margin-bottom: 14px; text-decoration: none; }
.visit-phone bdi { font-weight: 600; color: var(--gold); margin-inline-start: 6px; }
.visit .link { color: var(--cream); }
.visit-map { position: relative; }
.map-frame { border-radius: 50% 50% 32px 32px / 34% 34% 32px 32px; overflow: hidden; border: 3px solid rgba(244,236,217,.3); aspect-ratio: 1 / 1; background: var(--ink-deep); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.visit-cat { width: clamp(150px, 16vw, 230px); bottom: -6%; left: -8%; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink-deep); color: var(--cream); padding: 56px 0 32px; }
.footer-word { width: min(100%, 980px); margin: 0 auto 36px; opacity: .95; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; font-size: 15px; border-top: 1px solid var(--line-light); padding-top: 20px; }
.footer-tools { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-tools a, .footer-tools button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.footer-tools button:disabled { cursor: default; opacity: .6; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--cream); background: var(--ink-deep); border-radius: 24px; }
dialog::backdrop { background: rgba(10, 18, 22, .86); backdrop-filter: blur(4px); }
.photo-dialog { width: min(1200px, 94vw); }
.pd-top, .pd-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; }
.pd-top p, .pd-top h2 { font-weight: 600; font-size: 18px; margin: 0; }
.pd-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 0 10px; }
.pd-image { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; }
.pd-credit { font-size: 14px; color: rgba(244,236,217,.75); }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-light); background: transparent; color: var(--cream); font-size: 22px; cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.credits-dialog { width: min(640px, 92vw); }
.credits-dialog > p, .credits-dialog ul { padding: 0 22px 14px; font-size: 15px; }
.credits-dialog ul { list-style: disc; padding-inline-start: 42px; }
.credits-dialog a { color: var(--gold); }
body.dialog-open { overflow: hidden; }

/* ---------- Reveal (only images and headings, once) ---------- */
.motion-on [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.motion-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 15px; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .main-nav, .header-order { display: none; }
  .menu-toggle { display: inline-flex; margin-inline-start: auto; }

  .lantern-line .lantern:nth-child(n+6) { display: none; }

  .ramen-layout { grid-template-columns: 1fr; }
  .ramen-guide { position: relative; top: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
  .ramen-guide .kicker, .ramen-guide .display { grid-column: 1 / -1; }
  .ramen-cat { grid-row: 3 / 5; grid-column: 2; width: 150px; margin: 48px 0 0; }
  .guide-caption { grid-column: 1; margin-top: 16px; }
  .ramen-guide .link { grid-column: 1; justify-self: start; }
  .bowls { grid-template-columns: 1fr; }
  .gyoza { grid-template-columns: 1fr; }

  .menu-head { grid-template-columns: auto 1fr; }
  .menu-head .btn { grid-column: 1 / -1; justify-self: start; }
  .menu-boards { columns: 1; }

  .story-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .story-neon, .story-copy { grid-column: 1 / -1; }
  .story-sign { grid-column: 1 / 4; margin-top: 0; }
  .story-table { grid-column: 4 / 7; margin-top: 50px; }
  .story-cat { position: relative; grid-column: 1 / -1; justify-self: start; width: 180px; bottom: auto; }

  .press-spread { grid-template-columns: 1fr; }
  .press-second { margin-top: 12px; }

  .zen-intro { grid-template-columns: 1fr; }
  .zen-cat { width: 220px; justify-self: start; grid-row: 1; }
  .zen-moments { grid-template-columns: 1fr 1fr; }
  .m-a, .m-b, .m-c, .m-d { grid-column: auto; margin-top: 0; }
  .m-b, .m-d { margin-top: 30px; }
  .zen-end { grid-template-columns: 1fr; }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { width: min(100%, 520px); justify-self: center; }
  .visit-cat { left: -4%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .display { font-size: clamp(28px, 8vw, 36px); }
  .btn { min-height: 50px; padding: 11px 20px; font-size: 15px; }
  .ticker-track { font-size: 18px; gap: 18px; padding-inline-start: 18px; }
  .bowl h3 { font-size: 28px; }
  .board h3 { font-size: 30px; }
  .item-name { font-size: 16px; }
  .press-head { flex-direction: column; align-items: flex-start; }
  .press-cat { align-self: flex-end; margin-top: -60px; width: 150px; }
  .zen-moments { gap: 14px; }
  .moment figcaption strong { font-size: 20px; }
  .zen-press strong { font-size: 21px; }
  .mobile-nav a:not(.btn) { font-size: 32px; }
}
@media (max-width: 360px) {
  .bowl-text { column-gap: 10px; }
  .bowl-num { font-size: 34px; }
}

/* ---------- Reduced motion ---------- */
.motion-off *, .motion-off *::before, .motion-off *::after {
  animation: none !important; transition-duration: .01ms !important;
}
.motion-off .steam, .motion-off .bowl-steam { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .steam, .bowl-steam { display: none; }
}

/* =====================================================================
   v6 sections: about, menu language, delivery, events, gallery, contact,
   farewell footer, careers page.
   ===================================================================== */

/* ---------- ABOUT ---------- */
.about { position: relative; background: var(--paper); color: var(--ink); padding: clamp(110px, 12vw, 170px) 0 clamp(90px, 10vw, 140px); }
.about::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.about .wrap { position: relative; }
.about-head { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(60px, 8vw, 110px); }
.about-lede { font-size: clamp(20px, 1.7vw, 26px); font-weight: 400; line-height: 1.5; max-width: 34ch; margin-top: 22px; }
.about-founders img { width: 100%; border-radius: 26px; aspect-ratio: 16 / 10; object-fit: cover; }
.about-founders figcaption { margin-top: 10px; font-size: 14px; color: rgba(23,37,43,.6); }

.chapters { display: grid; gap: clamp(56px, 7vw, 110px); }
.chapter { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .8fr); gap: clamp(20px, 3.5vw, 56px); align-items: center; }
.chapter:nth-child(even) { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; }
.chapter:nth-child(even) .chapter-photo { order: -1; }
.chapter:nth-child(even) .chapter-kanji { order: 3; }
.chapter-kanji { font-size: clamp(110px, 13vw, 210px); line-height: 1; color: var(--coral); opacity: .9; }
.chapter-text h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin-bottom: 14px; }
.chapter-text p { font-size: 18px; line-height: 1.7; max-width: 52ch; }
.chapter-photo { margin: 0; overflow: hidden; border-radius: 22px; }
.chapter-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.motion-on .chapter-photo[data-reveal] img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.motion-on .chapter-photo[data-reveal].is-in img { clip-path: inset(0 0 0 0); }

.ritual { margin-top: clamp(80px, 10vw, 140px); padding: clamp(40px, 6vw, 80px) 0; border-block: 2px solid var(--ink); }
.ritual-intro { text-align: center; font-size: 18px; margin-bottom: 28px; }
.ritual-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.ritual-word { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.ritual-jp { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.2; color: var(--coral); }
.ritual-say { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); }
.ritual-mean { font-size: 16px; color: rgba(23,37,43,.7); }

.name-origin { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(80px, 10vw, 140px); padding-inline-end: clamp(0px, 16vw, 260px); }
.name-jp { writing-mode: vertical-rl; font-family: var(--f-jp); font-size: clamp(64px, 8vw, 120px); line-height: 1; color: var(--ink); letter-spacing: .08em; }
.name-text h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
.name-text p { font-size: 18px; line-height: 1.7; max-width: 58ch; }
.name-promise { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(23,37,43,.15); font-weight: 500; }
.story-cat { position: absolute; width: clamp(150px, 15vw, 230px); left: 0; bottom: -20px; }

/* ---------- MENU language ---------- */
.menu .t-en { display: none; }
.menu.is-en .t-he { display: none; }
.menu.is-en .t-en { display: inline; }
.menu.is-en .board, .menu.is-en .menu-foot, .menu.is-en .menu-tabs { direction: ltr; text-align: left; }
.menu-head { grid-template-columns: auto 1fr auto; }
.menu-lang { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line-light); }
.menu-lang button { border: 0; background: transparent; color: var(--cream); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 500; transition: background .25s, color .25s; }
.menu-lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.motion-on .menu-boards.is-switching { opacity: 0; transform: translateY(8px); }
.menu-boards { transition: opacity .25s, transform .25s; }

/* ---------- DELIVERY ---------- */
.delivery { position: relative; background: var(--coral); color: var(--ink); padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.delivery .kicker [lang="ja"] { color: var(--ink); }
.delivery-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.delivery-head .display { margin-bottom: 14px; }
.delivery-head p:last-child { font-size: 19px; }
.delivery-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 2px solid var(--ink); max-width: 980px; }
.d-opt {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 26px 22px 24px;
  text-decoration: none; border-bottom: 2px solid var(--ink); border-inline-start: 2px solid var(--ink);
  transition: background .3s, color .3s;
}
.d-opt:first-child { border-inline-start: 0; }
.d-opt:hover, .d-opt:focus-visible { background: var(--ink); color: var(--cream); }
.d-num { font-size: 15px; color: var(--white); }
.d-opt:hover .d-num { color: var(--gold); }
.d-title { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.d-text { font-size: 16px; }
.d-go { font-weight: 600; margin-top: 10px; }
.delivery-home { margin-top: 26px; font-size: 16px; max-width: 60ch; }
.delivery-home a { font-weight: 600; }
.delivery-cat { position: absolute; width: clamp(150px, 16vw, 250px); left: max(var(--gutter), calc((100vw - 1320px) / 2)); bottom: -14px; }

/* ---------- EVENTS ---------- */
.events { background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; }
.events-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.events-photo { margin: 0; border-radius: 50% 50% 26px 26px / 34% 34% 26px 26px; overflow: hidden; }
.events-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.events .display { color: var(--white); margin-bottom: 18px; }
.events-lede { font-size: 19px; font-weight: 300; max-width: 46ch; margin-bottom: 24px; }
.events-list li { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; color: rgba(244,236,217,.8); }
.events-list strong { display: block; font-weight: 500; font-size: 20px; color: var(--white); margin-bottom: 2px; }
.events-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.events-note { margin-top: 14px; font-size: 14px; color: rgba(244,236,217,.65); }

/* ---------- GALLERY ---------- */
.gallery { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; }
.gallery-head { margin-bottom: clamp(28px, 4vw, 48px); }
.gallery-grid { columns: 4 220px; column-gap: 14px; margin-bottom: 28px; }
.g-item { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 18px; overflow: hidden; }
.g-item img { width: 100%; transition: transform .9s var(--ease-out); }
.g-item:nth-child(3n+1) img { aspect-ratio: 2 / 3; object-fit: cover; }
.g-item:nth-child(3n+2) img { aspect-ratio: 4 / 5; object-fit: cover; }
.g-item:nth-child(3n) img { aspect-ratio: 1 / 1; object-fit: cover; }
.g-item:hover img { transform: scale(1.05); }

/* ---------- CONTACT ---------- */
.hours { margin: 10px 0 14px; max-width: 360px; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 20px; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--gold); font-weight: 600; }
.visit-seat { font-size: 15px; color: rgba(244,236,217,.75); margin-bottom: 22px; }
.contact-lines { margin-top: 22px; max-width: 420px; }
.contact-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 16px; }
.contact-lines span { color: rgba(244,236,217,.65); }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--coral); }

/* ---------- FAREWELL FOOTER ---------- */
.site-footer { padding: clamp(70px, 9vw, 120px) 0 30px; }
.farewell { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.farewell-jp { font-family: var(--f-jp); font-size: clamp(28px, 4vw, 58px); line-height: 1.15; color: var(--coral); }
.farewell-he { margin-top: 10px; font-size: clamp(17px, 1.4vw, 21px); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.footer-cols h2 { font-size: 15px; font-weight: 500; color: var(--coral); margin-bottom: 10px; }
.footer-cols p { font-size: 16px; margin-bottom: 4px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--coral); }
.nav-jobs { opacity: .75; }

/* ---------- CAREERS PAGE ---------- */
.jobs-hero { background: var(--ink); color: var(--cream); padding: calc(var(--header-h) + var(--admin) + 60px) 0 clamp(80px, 10vw, 130px); min-height: 100svh; }
.jobs-grid { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.jobs-hero .display { color: var(--white); margin-bottom: 18px; }
.jobs-lede { font-size: 19px; font-weight: 300; max-width: 46ch; margin-bottom: 20px; }
.jobs-list li { padding: 12px 0; border-bottom: 1px solid var(--line-light); color: rgba(244,236,217,.8); }
.jobs-list strong { display: block; font-weight: 500; font-size: 20px; color: var(--white); }
.jobs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.jobs-note { margin-top: 14px; font-size: 14px; color: rgba(244,236,217,.65); max-width: 52ch; }
.jobs-photo { position: relative; margin: 0; }
.jobs-photo > img { width: 100%; border-radius: 26px; aspect-ratio: 4 / 5; object-fit: cover; }
.jobs-cat { width: 45%; left: -4%; bottom: -8%; }

@media (max-width: 900px) {
  .main-nav, .header-order { display: none; }
  .about-head, .events-grid, .jobs-grid { grid-template-columns: 1fr; }
  .chapter, .chapter:nth-child(even) { grid-template-columns: auto 1fr; }
  .chapter-photo, .chapter:nth-child(even) .chapter-photo { grid-column: 1 / -1; order: 0; }
  .chapter:nth-child(even) .chapter-kanji { order: 0; }
  .chapter-kanji { font-size: 84px; align-self: start; }
  .chapter-photo img { aspect-ratio: 4 / 3; }
  .ritual-pair { grid-template-columns: 1fr; }
  .name-origin { grid-template-columns: 1fr; padding-inline-end: 0; padding-bottom: 170px; }
  .name-jp { writing-mode: horizontal-tb; font-size: 56px; }
  .menu-head { grid-template-columns: auto 1fr; }
  .menu-lang { grid-column: 1 / -1; justify-self: start; }
  .d-opt { border-inline-start: 0; }
  .delivery { padding-bottom: 200px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 14px; }
  .jobs-photo { max-width: 420px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 14px; }
  .nav-jobs { display: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
bdi[lang="ja"] { white-space: nowrap; unicode-bidi: isolate; }

/* =====================================================================
   v7: cinematic hero, anatomy of a bowl, companion cat, plaques menu,
   magazine press, halftone edges, branches, farewell, KOKO ZEN page.
   ===================================================================== */

/* ---------- HERO: cinema ---------- */
.cine { position: relative; min-height: 100svh; overflow: hidden; background: var(--ink-deep); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; }
.cine-slides { position: absolute; inset: 0; }
.cine-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.cine-slide.is-active { opacity: 1; z-index: 1; }
.cine-slide img, .cine-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cine-slide img { object-position: 50% 45%; transform: scale(1.12); }
.motion-on .cine-slide.is-active img { animation: kenburns 9s linear both; }
.cine-slide:nth-child(odd).is-active img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate3d(-1%, 0, 0); } to { transform: scale(1.14) translate3d(1%, -1.5%, 0); } }
.cine-slide figcaption {
  position: absolute; z-index: 3; inset-inline-end: max(var(--gutter), calc((100vw - 1320px) / 2)); top: calc(var(--header-h) + var(--admin) + 110px);
  writing-mode: vertical-rl; font-weight: 500; font-size: 15px; letter-spacing: .08em; color: rgba(255,255,255,.85);
  display: flex; gap: 12px; align-items: center;
}
.cine-slide figcaption span { font-size: 20px; color: var(--gold); }
.cine-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to left, rgba(15, 27, 32, .9) 0%, rgba(15, 27, 32, .6) 32%, rgba(15, 27, 32, .05) 62%),
    linear-gradient(to top, rgba(15, 27, 32, .85) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(15, 27, 32, .6) 0%, transparent 22%);
}
.cine .lantern-line { z-index: 3; }
.cine-copy { position: relative; z-index: 4; padding-top: calc(var(--header-h) + var(--admin) + 120px); padding-bottom: clamp(90px, 12vh, 140px); }
.cine-copy > * { max-width: 560px; }
.hero-greet { font-size: 16px; color: rgba(244,236,217,.85); margin-bottom: 14px; }
.hero-greet [lang="ja"] { display: block; text-align: right; font-size: clamp(22px, 2vw, 30px); color: var(--coral); margin-bottom: 4px; letter-spacing: .06em; text-shadow: 0 0 18px rgba(240,93,102,.45); }
.hero-sign { margin: 0 0 18px; line-height: 0; }
.hero-sign img { width: clamp(200px, min(22vw, 30vh), 340px); filter: drop-shadow(0 0 26px rgba(240, 93, 102, .4)); }
.hero-line { font-family: var(--f-display); font-weight: 500; color: var(--white); font-size: clamp(40px, min(4.2vw, 7.5vh), 68px); line-height: 1.05; margin-bottom: 12px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.55; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-hours { margin-top: 20px; font-size: 15px; color: rgba(244,236,217,.82); }
.hero-hours a { color: var(--gold); }
.hero-hours .dot { display: inline-block; vertical-align: middle; margin-inline-end: 10px; width: 8px; height: 8px; border-radius: 50%; background: #7bd88f; box-shadow: 0 0 0 4px rgba(123, 216, 143, .18); }
.cine-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; gap: 14px; justify-content: flex-start; }
.cine-dots { display: flex; gap: 8px; }
.cine-dot { position: relative; width: 44px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.cine-dot::before { content: ''; position: absolute; inset: 10px 0; border-radius: 2px; background: rgba(255,255,255,.28); }
.cine-dot i { position: absolute; inset: 10px 0; border-radius: 2px; background: var(--cream); transform-origin: right; transform: scaleX(0); }
.cine-dot.is-done i { transform: scaleX(1); }
.cine-dot.is-active i { transform: scaleX(var(--prog, 0)); transition: transform .1s linear; }
.cine-pause { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(15,27,32,.4); cursor: pointer; display: grid; place-items: center; }
.cine-pause span { width: 10px; height: 12px; border-inline: 3px solid var(--cream); }
.cine-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-block: 7px solid transparent; border-inline-end: 11px solid var(--cream); margin-inline-start: 3px; }
.hero-cat { z-index: 5; width: clamp(230px, 24vw, 420px); left: max(8px, calc((100vw - 1320px) / 2 - 20px)); bottom: -26px; }
.hero-cat .cat-bubble { inset-inline-start: 62%; }
.hanko { position: absolute; z-index: 5; width: 118px; left: max(16px, calc((100vw - 1320px) / 2 + 240px)); top: calc(var(--header-h) + var(--admin) + 92px); }
.hanko-bg { fill: var(--coral); }
.hanko-text { direction: ltr; unicode-bidi: plaintext; font-family: var(--f-jp), var(--f-body); font-size: 15.5px; fill: var(--white); letter-spacing: 2px; }
.hanko-core { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-dasharray: 3 5; }
.hanko-kanji { font-family: var(--f-jp), serif; font-size: 50px; fill: var(--white); }
.motion-on .hanko { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
.motion-on .cine-copy > * { animation: rise .9s var(--ease-out) both; }
.motion-on .cine-copy > :nth-child(2) { animation-delay: .1s; }
.motion-on .cine-copy > :nth-child(3) { animation-delay: .2s; }
.motion-on .cine-copy > :nth-child(4) { animation-delay: .3s; }
.motion-on .cine-copy > :nth-child(5) { animation-delay: .4s; }
.motion-on .cine-copy > :nth-child(6) { animation-delay: .5s; }
.motion-on .hero-cat { animation: catIn 1.1s .8s var(--ease-spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes catIn { from { opacity: 0; transform: translateY(40%) rotate(-8deg); } }

/* ---------- Halftone edges between sections ---------- */
.edge {
  position: absolute; z-index: 1; inset: 0 0 auto; height: 64px; pointer-events: none;
  background-image: radial-gradient(circle, var(--edge) 0 42%, transparent 46%);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
}
.about, .anatomy, .ramen, .menu, .delivery, .events, .gallery, .press, .visit { position: relative; }

/* ---------- ANATOMY ---------- */
.anatomy { background: var(--ink); color: var(--cream); }
.motion-on .anatomy.is-pinned { height: 300svh; }
.anatomy-stage { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 40px; }
.anatomy-grid { display: grid; grid-template-columns: 1fr minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.anatomy .display { color: var(--white); margin-bottom: 12px; }
.anatomy-lede { font-size: 18px; font-weight: 300; margin-bottom: 18px; color: rgba(244,236,217,.8); }
.anatomy-list { list-style: none; padding: 0; margin: 0 0 26px; counter-reset: a; }
.anatomy-list li { position: relative; padding: 12px 0 12px; padding-inline-start: 34px; border-bottom: 1px solid var(--line-light); color: rgba(244,236,217,.62); transition: color .4s; }
.anatomy-list li::before { counter-increment: a; content: counter(a); position: absolute; inset-inline-start: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 12px; }
.anatomy-list li strong { display: block; font-weight: 500; font-size: 20px; color: inherit; }
.anatomy-list li.is-on { color: var(--cream); }
.anatomy-list li.is-on::before { background: var(--coral); border-color: var(--coral); color: var(--white); }
.anatomy-list li.is-on strong { color: var(--white); }
.anatomy-bowl { position: relative; margin: 0; border-radius: 50%; aspect-ratio: 1; overflow: visible; }
.anatomy-bowl img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 10px var(--ink), 0 0 0 12px rgba(244,236,217,.3), 0 40px 90px rgba(0,0,0,.5); }
.spot { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; z-index: 2; pointer-events: none; }
.spot i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(240,93,102,.35); transform: scale(0); transition: transform .5s var(--ease-spring); }
.spot b { position: absolute; top: 50%; inset-inline-start: 26px; translate: 0 -50%; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 600; font-size: 14px; opacity: 0; transition: opacity .35s .1s, translate .4s .1s var(--ease-out); }
.spot.is-on i { transform: scale(1); animation: pulse 2s 0.5s infinite; }
.spot.is-on b { opacity: 1; }
.spot.flip b { inset-inline-start: auto; inset-inline-end: 26px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(240,93,102,.35); } 50% { box-shadow: 0 0 0 12px rgba(240,93,102,.12); } }
.motion-off .spot i, .no-pin .spot i { transform: scale(1); }
.motion-off .spot b, .no-pin .spot b { opacity: 1; }
.motion-off .anatomy-list li, .no-pin .anatomy-list li { color: var(--cream); }

/* ---------- Ramen tone ---------- */
.ramen { background: var(--cream); }

/* ---------- MENU plaques ---------- */
.menu-tabs { gap: 10px; padding: 0 0 14px; border-bottom: 0; background: var(--ink); align-items: flex-start; position: sticky; }
.menu-tabs::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 3px; background: linear-gradient(#7a5532, #4a3019); }
.menu-tabs a {
  position: relative; margin-top: 18px; padding: 12px 14px 14px; border: 0; border-radius: 6px;
  background: linear-gradient(#3b2a1d, #2a1d13); color: var(--cream); font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 6px 14px rgba(0,0,0,.35);
  transform-origin: 50% -14px;
}
.menu-tabs a::before { content: ''; position: absolute; top: -14px; left: 50%; height: 14px; border-left: 1.5px solid rgba(244,236,217,.5); }
.menu-tabs a:hover { background: linear-gradient(#4a3524, #33241a); color: var(--white); }
.menu-tabs a.is-active { background: var(--coral); color: var(--white); }
.motion-on .menu-tabs a.is-active { animation: plaque 1.2s var(--ease-out) 1; }
@keyframes plaque { 0% { transform: rotate(0); } 20% { transform: rotate(5deg); } 45% { transform: rotate(-3deg); } 70% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }

/* ---------- PRESS: magazine ---------- */
.press { background: #f1e8d6; color: var(--ink); }
.press::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.press .wrap { position: relative; }
.mag-masthead { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: end; padding-bottom: 18px; border-bottom: 4px double var(--ink); margin-bottom: clamp(28px, 4vw, 48px); }
.mag-jp { writing-mode: vertical-rl; font-family: var(--f-jp); font-size: clamp(56px, 6vw, 92px); line-height: 1; color: var(--coral); }
.mag-kicker { font-size: 15px; font-weight: 500; margin-bottom: 6px; color: var(--coral-deep); }
.mag-title .display { color: var(--ink); }
.mag-issue { text-align: end; font-size: 14px; line-height: 1.5; }
.mag-spread { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 60px); }
.mag-spread a { display: block; text-decoration: none; }
.mag-photo { overflow: hidden; }
.mag-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.95) contrast(1.02); transition: transform .9s var(--ease-out); }
.mag-spread a:hover .mag-photo img { transform: scale(1.04); }
.mag-photo-sm img { aspect-ratio: 16 / 9; }
.mag-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 8px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.mag-pub { font-weight: 600; font-size: 17px; }
.mag-lead h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.1; margin: 14px 0 10px; }
.mag-lead p, .mag-second > a > p { font-size: 17px; line-height: 1.7; max-width: 52ch; margin-bottom: 12px; columns: 1; }
.mag-by { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; padding-top: 10px; border-top: 1px solid rgba(23,37,43,.2); }
.mag-go { font-weight: 600; transition: transform .25s var(--ease-out); }
.mag-spread a:hover .mag-go { transform: translateX(-6px); }
.mag-side { position: relative; border-inline-start: 1px solid var(--ink); padding-inline-start: clamp(20px, 3vw, 40px); padding-bottom: 180px; }
.mag-quote { margin: 18px 0; }
.mag-quote p { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; color: var(--coral-deep); }
.mag-second .mag-photo { margin: 14px 0; }
.press-cat { position: absolute; width: clamp(150px, 15vw, 230px); bottom: -10px; inset-inline-end: -10px; }

/* ---------- EVENTS on paper, GALLERY on ink ---------- */
.events { background: var(--paper); color: var(--ink); }
.events .display { color: var(--ink); }
.events-lede { color: #33424a; }
.events-list li { border-bottom-color: var(--line-dark); color: #3c4a4f; }
.events-list strong { color: var(--ink); }
.events-note { color: rgba(23,37,43,.78); }
.events .btn-line { color: var(--ink); }
.events .btn-line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gallery { background: var(--ink); color: var(--cream); }
.gallery .display { color: var(--white); }
.gallery .link { color: var(--cream); margin-top: 26px; }
.gallery .noren-photos { height: min(78svh, 720px); }
.np-cap {
  position: absolute; z-index: 2; inset: auto 0 0; padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(10, 18, 22, .85), transparent);
  font-weight: 500; font-size: 16px; color: var(--white); white-space: nowrap;
  opacity: 0; translate: 0 10px; transition: opacity .4s .1s, translate .5s .1s var(--ease-out);
}
.np-cap span { display: block; font-size: 13px; color: var(--gold); }
.np-strip:hover .np-cap, .np-strip:focus-visible .np-cap { opacity: 1; translate: 0 0; }
.noren-photos .np-strip { cursor: zoom-in; }

/* ---------- VISIT: branches ---------- */
.visit-head { margin-bottom: clamp(28px, 4vw, 48px); }
.visit-head .display { color: var(--white); margin-bottom: 8px; }
.visit-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
.branches { display: grid; gap: 14px; }
.branch { border: 1.5px solid var(--line-light); border-radius: 18px; padding: 18px 20px; transition: border-color .3s, background .3s; }
.branch.is-active { border-color: var(--coral); background: rgba(240,93,102,.07); }
.branch-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; border: 0; background: none; padding: 0; cursor: pointer; text-align: start; }
.branch-name { font-family: var(--f-display); font-weight: 500; font-size: 26px; color: var(--white); }
.branch-name em { font-style: normal; font-size: 13px; vertical-align: middle; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); margin-inline-start: 8px; }
.branch-address { color: rgba(244,236,217,.8); }
.branch-note { margin: 10px 0 6px; font-size: 15px; color: rgba(244,236,217,.75); }
.branch .hours { margin: 6px 0 14px; }
.branch .hours div { font-size: 17px; padding: 6px 0; }
.branch-soon { font-size: 14px; color: var(--gold); margin: 6px 0 14px; }
.visit .contact-lines { margin-top: 10px; }
.map-frame { aspect-ratio: 4 / 5; border-radius: 26px; }

/* ---------- FAREWELL ---------- */
.farewell { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(20px, 4vw, 60px); text-align: start; padding-bottom: 30px; border-bottom: 1px solid var(--line-light); }
.farewell-cat { position: relative; width: clamp(180px, 22vw, 340px); }
.farewell-jp { text-align: start; }
.farewell-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.motion-on .farewell-cat.is-in > img { animation: wave 1.2s ease-in-out 2; transform-origin: 50% 90%; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 60% { transform: rotate(4deg); } }

/* ---------- COMPANION CAT ---------- */
.companion { position: fixed; z-index: 90; left: 14px; bottom: 14px; display: flex; align-items: flex-end; gap: 8px; pointer-events: none; transition: opacity .4s, transform .5s var(--ease-spring); }
.companion.is-away { opacity: 0; transform: translateY(140%); }
.companion-cat { pointer-events: auto; width: 84px; height: 108px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.companion-cat img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease-spring), opacity .25s; }
.companion-cat:hover img { transform: translateY(-6px) rotate(-4deg); }
.companion-cat.is-swapping img { opacity: 0; transform: translateY(20px) scale(.9); }
.companion-say { pointer-events: none; margin-bottom: 70px; padding: 8px 14px; border-radius: 16px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 6px 0 rgba(0,0,0,.15); opacity: 0; transform: translateY(8px) scale(.9); transform-origin: left bottom; transition: opacity .25s, transform .35s var(--ease-spring); white-space: nowrap; }
.companion-say.is-on { opacity: 1; transform: none; }
.companion-menu { pointer-events: auto; position: absolute; left: 0; bottom: 116px; display: grid; gap: 6px; padding: 10px; border-radius: 18px; background: var(--ink-deep); box-shadow: 0 18px 40px rgba(0,0,0,.4); min-width: 190px; }
.companion-menu a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--cream); text-decoration: none; font-weight: 500; }
.companion-menu a:hover, .companion-menu a:focus-visible { background: var(--coral); color: var(--white); }

/* ---------- MOBILE ACTION BAR ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; z-index: 95; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 6px; border-radius: 22px;
    background: rgba(15, 27, 32, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .4s var(--ease-out);
  }
  .action-bar.is-away { transform: translateY(150%); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; color: var(--cream); text-decoration: none; font-weight: 500; font-size: 14px; }
  .action-bar a span { font-size: 12px; color: var(--gold); }
  .action-bar .ab-main { background: var(--coral); color: var(--ink); }
  .action-bar .ab-main span { color: var(--ink); }
  /* On phones the action bar does the companion's job; the cat stays in each section instead of floating over text. */
  .companion { display: none !important; }
  body { padding-bottom: 80px; }
}

/* ---------- KOKO ZEN page ---------- */
.zen-page { background: var(--zen); color: var(--moss-deep); }
.zp-hero { position: relative; overflow: hidden; min-height: 100svh; padding: calc(var(--header-h) + var(--admin) + 50px) 0 70px; display: flex; align-items: center;
  background: radial-gradient(60% 60% at 30% 50%, rgba(255,255,255,.6), transparent 70%), var(--zen); }
.zp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; z-index: 2; }
.zp-copy .kicker [lang="ja"] { color: var(--moss); }
.zp-copy h1 { margin: 8px 0 14px; line-height: 0; }
.zp-copy h1 img { width: min(100%, 560px); }
.zp-tagline { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3vw, 46px); color: var(--moss); margin-bottom: 12px; }
.zp-lede { font-size: 18px; font-weight: 300; max-width: 44ch; color: #33402e; }
.zp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-line-moss { --bg: transparent; --fg: var(--moss-deep); border-color: var(--moss); box-shadow: none; }
.btn-line-moss:hover { background: var(--moss); color: var(--zen); box-shadow: none; }
.zp-hours { margin-top: 18px; font-size: 15px; }
.zp-hours .dot { display: inline-block; vertical-align: middle; margin-inline-end: 10px; width: 8px; height: 8px; border-radius: 50%; background: #6bbf7a; box-shadow: 0 0 0 4px rgba(107, 191, 122, .2); }
.zp-stage { position: relative; }
.zp-window { margin: 0; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 12px #f7f5ea, 0 0 0 14px rgba(82,102,73,.35), 0 40px 80px rgba(61,77,54,.25); }
.zp-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 80%; }
.motion-on .zp-window:hover img { animation: jiggle .8s ease-in-out 1; }
.zp-cat { width: 46%; left: -8%; bottom: -10%; }
.fusuma-load { z-index: 20; }
.motion-on .fusuma-load span { animation: fusumaL 1.4s .3s var(--ease-out) forwards; }
.motion-on .fusuma-load span:first-child { animation-name: fusumaR; }
@keyframes fusumaR { to { transform: translateX(110%); } }
@keyframes fusumaL { to { transform: translateX(-110%); } }
.petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petals img { position: absolute; top: -40px; left: calc(var(--i) * 8.5% + 2%); width: calc(14px + (var(--i) * 3px) % 12px); opacity: .55;
  filter: brightness(0) saturate(100%) invert(72%) sepia(23%) saturate(707%) hue-rotate(305deg) brightness(101%) contrast(93%); }
.motion-on .petals img { animation: petal calc(9s + var(--i) * .8s) calc(var(--i) * -1.3s) linear infinite; }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(40px, 55vh) rotate(180deg); } 100% { transform: translate(-20px, 110vh) rotate(360deg); } }
.motion-off .petals { display: none; }

.zp-sweets { padding: clamp(80px, 10vw, 140px) 0; background: #f7f5ea; }
.zp-head { margin-bottom: clamp(30px, 4vw, 56px); }
.zp-head .display { color: var(--moss); }
.stack { display: grid; gap: 0; }
.layer {
  position: sticky; top: calc(var(--header-h) + var(--admin) + 20px + var(--n) * 22px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(18px, 2.4vw, 30px); margin-bottom: 40px; border-radius: 30px;
  background: var(--zen); box-shadow: 0 -10px 30px rgba(61,77,54,.12), 0 1px 0 rgba(255,255,255,.6) inset;
}
.layer:nth-child(even) { background: #e6ead2; }
.layer-photo { display: block; overflow: hidden; border-radius: 22px; }
.layer-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease-out); }
.layer-photo:hover img { transform: scale(1.04); }
.layer-num { font-size: 52px; line-height: 1; color: var(--moss); }
.layer h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); color: var(--moss-deep); margin: 8px 0; }
.layer p { font-size: 18px; max-width: 40ch; }
.zp-more { margin-top: 10px; font-size: 16px; }
.zp-garden { padding: clamp(80px, 10vw, 140px) 0; background: var(--moss-deep); color: var(--zen); }
.zp-garden-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.zp-garden-photo { margin: 0; border-radius: 50% 50% 26px 26px / 34% 34% 26px 26px; overflow: hidden; }
.zp-garden-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.zp-garden .display { color: var(--white); margin-bottom: 16px; }
.zp-garden .kicker [lang="ja"] { color: #b9cf9c; }
.zp-garden p { font-size: 18px; max-width: 44ch; }
.zp-family { margin-top: 18px; }
.zp-family a { color: #f4c6c9; font-weight: 600; }
.zp-press { padding: clamp(70px, 9vw, 120px) 0; background: var(--zen); }
.zp-press .display { color: var(--moss); margin-bottom: 20px; }
.zp-press-list a { display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(82,102,73,.3); text-decoration: none; }
.zp-press-list strong { grid-column: 1 / 3; font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); color: var(--moss-deep); }
.zp-press-list .go { grid-row: 1 / 3; grid-column: 3; font-size: 22px; transition: transform .25s var(--ease-out); }
.zp-press-list a:hover .go { transform: translateX(-6px); }
.zp-visit { padding: clamp(70px, 9vw, 120px) 0; background: #f7f5ea; }
.zp-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.zp-visit .display { color: var(--moss); margin-bottom: 14px; }
.zp-visit .hours div { border-bottom-color: rgba(82,102,73,.3); }
.zp-visit .hours dd { color: var(--moss); }
.zp-seat { margin: 6px 0 4px; }
.map-frame-zen { aspect-ratio: 4 / 3; border-color: rgba(82,102,73,.35); }
.map-frame-zen iframe { filter: saturate(.6) sepia(.15); }
.zen-page ~ .site-footer .farewell-jp { color: #b9cf9c; }
.zen-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- responsive for v7 ---------- */
@media (max-width: 900px) {
  .cine { min-height: 100svh; }
  .cine-shade { background: linear-gradient(to top, rgba(15, 27, 32, .95) 0%, rgba(15, 27, 32, .78) 42%, rgba(15,27,32,.15) 70%), linear-gradient(to bottom, rgba(15, 27, 32, .6), transparent 22%); }
  .cine-copy { padding-top: 46svh; padding-bottom: 92px; }
  .hero-sign img { width: 190px; }
  .hero-line { font-size: clamp(34px, 10vw, 46px); }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero-cat { width: 150px; left: auto; right: 6px; top: calc(var(--header-h) + var(--admin) + 70px); bottom: auto; }
  .hanko { width: 84px; left: 14px; top: calc(var(--header-h) + var(--admin) + 80px); }
  .cine-slide figcaption { display: none; }
  .cine-controls { bottom: 18px; }
  .anatomy-grid { grid-template-columns: 1fr; }
  .anatomy-bowl { order: -1; width: min(86vw, 420px); justify-self: center; }
  .anatomy-stage { padding-top: calc(var(--header-h) + 16px); }
  .motion-on .anatomy.is-pinned { height: auto; }
  .anatomy-stage { position: relative; }
  .mag-masthead { grid-template-columns: auto 1fr; }
  .mag-issue { grid-column: 1 / -1; text-align: start; }
  .mag-spread { grid-template-columns: 1fr; }
  .mag-side { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--ink); padding-top: 10px; }
  .gallery .noren-photos { height: 62svh; }
  .gallery .np-strip:nth-of-type(n+6) { display: none; }
  .farewell { grid-template-columns: 1fr; }
  .farewell-cat { width: 170px; }
  .visit-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 1; }
  .zp-hero-grid, .zp-garden-grid, .zp-visit-grid { grid-template-columns: 1fr; }
  .zp-stage { width: min(86vw, 440px); justify-self: center; margin-top: 20px; }
  .layer { grid-template-columns: 1fr; position: relative; top: auto; }
}
@media (max-width: 560px) {
  .branch-name { font-size: 22px; }
  .mag-jp { font-size: 48px; }
}

/* Contrast (WCAG AA): darker coral for small Japanese labels on light backgrounds. */
.about .kicker [lang="ja"], .ramen .kicker [lang="ja"], .events .kicker [lang="ja"],
.zp-sweets .kicker [lang="ja"], .zp-press .kicker [lang="ja"], .zp-visit .kicker [lang="ja"] { color: #b82e39; }

/* ---------- Hero v7.1: one centred composition — the cat sits on the sign ---------- */
.cine-shade {
  background:
    radial-gradient(ellipse 70% 75% at 50% 58%, rgba(15, 27, 32, .78) 0%, rgba(15, 27, 32, .5) 45%, rgba(15, 27, 32, .15) 80%),
    linear-gradient(to top, rgba(15, 27, 32, .85) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(15, 27, 32, .6) 0%, transparent 22%);
}
.cine-copy {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: calc(var(--header-h) + var(--admin) + clamp(28px, 6vh, 70px));
  padding-bottom: clamp(84px, 11vh, 120px);
}
.cine-copy > * { max-width: 720px; }
.hero-lockup { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-greet { margin: 0 0 6px; font-size: 15px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; }
.hero-greet [lang="ja"] { display: inline; margin: 0; text-align: center; font-size: clamp(20px, 1.8vw, 26px); }
.hero-stage { position: relative; line-height: 0; }
.hero-cat.cat-actor { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: clamp(170px, min(17vw, 30vh), 290px); margin: 0 auto; z-index: 2; }
.hero-cat .cat-bubble { inset-inline-start: auto; inset-inline-end: 78%; bottom: 74%; }
.hanko { position: absolute; z-index: 3; width: clamp(74px, 7vw, 108px); left: auto; top: 6%; right: auto; inset-inline-start: 86%; }
.hero-sign { position: relative; z-index: 3; margin: -14px 0 14px; }
.hero-sign img { width: clamp(280px, min(42vw, 62vh), 600px); height: auto; }
.hero-line { margin-bottom: 8px; }
.hero-sub { max-width: 46ch; margin-inline: auto; }
.hero-actions { justify-content: center; margin-top: 20px; }
.hero-hours { margin-top: 16px; }
.motion-on .hero-cat { animation: catIn 1.1s .25s var(--ease-spring) both; }
.motion-on .cine-copy > .hero-lockup { animation: none; }
.motion-on .hero-sign, .motion-on .hero-greet { animation: rise .9s var(--ease-out) both; }
.motion-on .hero-sign { animation-delay: .1s; }
.cine-controls { justify-content: center; }
@media (max-height: 760px) and (min-width: 901px) { .hero-sub { display: none; } }
@media (max-width: 900px) {
  .cine-copy { padding-top: calc(var(--header-h) + var(--admin) + 36px); padding-bottom: 96px; }
  .hero-greet span { display: none; }
  .hero-cat.cat-actor { width: clamp(150px, 40vw, 200px); }
  .hanko { width: 70px; inset-inline-start: 82%; }
  .hero-sign { margin-top: -10px; }
  .hero-sign img { width: min(88vw, 380px); }
  .hero-actions { width: 100%; }
}

/* =====================================================================
   v8 — the middle of the page, rebuilt: light cream, centred headings,
   the topic is the big title and the playful line sits under it.
   ===================================================================== */
:root { --cream-2: #fbf7ee; --card: #fffdf8; --ink-70: rgba(23,37,43,.72); --line-ink: rgba(23,37,43,.12); --coral-text: #b82e39; }

/* Every cat gets a white sticker outline so it never melts into the background. */
.cat-actor img, .companion-cat img, .farewell-cat img {
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 18px rgba(15,27,32,.22));
}

.sec { position: relative; padding: clamp(84px, 10vw, 140px) 0; color: var(--ink); }
.sec-cream { background: var(--cream); }
.sec-paper { background: var(--cream-2); }
.sec-ink { background: var(--ink); color: var(--cream); }
.sec + .sec { border-top: 1px solid var(--line-ink); }
.sec-ink + .sec, .sec + .sec-ink { border-top: 0; }

.sec-head { position: relative; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-jp { font-family: var(--f-jp); font-size: 22px; letter-spacing: .18em; color: var(--coral-text); margin: 0 0 10px; line-height: 1.2; }
.sec-ink .sec-jp { color: var(--coral); }
.sec-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.01em; color: var(--ink); margin: 0; text-wrap: balance; }
.sec-ink .sec-title { color: var(--white); }
.sec-sub { margin: 14px auto 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-70); max-width: 52ch; text-wrap: balance; }
.sec-ink .sec-sub { color: rgba(244,236,217,.78); }
.sec-head-cat .head-cat { position: absolute; width: clamp(120px, 11vw, 170px); top: 50%; translate: 0 -50%; inset-inline-end: calc(100% + clamp(10px, 4vw, 70px)); }
.sec-center { text-align: center; margin-top: 30px; }
.sec-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-ink-line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ink-line:hover { background: var(--ink); color: var(--cream); }
.sec .link { color: var(--ink); }
.sec-ink .link { color: var(--cream); }

/* Story */
.story-open { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.story-founders { margin: 0; }
.story-founders img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 26px; }
.story-founders figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-70); }
.story-lede { position: relative; }
.story-lede p { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.4; color: var(--ink); }
.story-lede .story-cat { position: relative; display: block; width: clamp(120px, 11vw, 160px); margin-top: 22px; margin-inline-start: auto; }
.story-chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(56px, 7vw, 96px); }
.chapter-card { background: var(--card); border: 1px solid var(--line-ink); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.chapter-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter-body { padding: 22px 24px 26px; }
.chapter-k { font-family: var(--f-jp); font-size: 30px; line-height: 1; color: var(--coral-text); margin: 0 0 10px; }
.chapter-body h3 { font-family: var(--f-display); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.chapter-body p { font-size: 16px; line-height: 1.6; color: var(--ink-70); }
.story-ritual { text-align: center; padding: clamp(36px, 5vw, 60px) 0; border-block: 1px solid var(--line-ink); margin-bottom: clamp(56px, 7vw, 96px); }
.ritual-intro { font-size: 17px; color: var(--ink-70); margin-bottom: 24px; }
.ritual-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); }
.ritual-row > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.r-jp { font-family: var(--f-jp); font-size: clamp(26px, 3vw, 44px); color: var(--coral-text); line-height: 1.2; }
.r-say { font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.r-mean { font-size: 15px; color: var(--ink-70); }
.story-name { max-width: 760px; margin: 0 auto; text-align: center; }
.name-big { font-family: var(--f-jp); font-size: clamp(56px, 8vw, 110px); line-height: 1; color: var(--coral); margin: 0 0 14px; letter-spacing: .06em; }
.story-name h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 12px; }
.story-name p { font-size: 17px; line-height: 1.7; color: var(--ink-70); margin-bottom: 14px; }
.story-name .name-promise { color: var(--ink); font-weight: 500; }

/* Our ramen */
.ramen-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.ramen-card { background: var(--card); border: 1px solid var(--line-ink); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.ramen-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(23,37,43,.12); }
.ramen-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease-out); }
.ramen-card:hover img { transform: scale(1.04); }
.ramen-card .photo-link { overflow: hidden; display: block; }
.ramen-card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ramen-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 28px; margin: 0; display: flex; align-items: center; gap: 10px; }
.ramen-card .tag { font-family: var(--f-body); font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgba(240,93,102,.12); color: var(--coral-text); }
.ramen-card p { font-size: 16px; color: var(--ink-70); line-height: 1.55; }
.ramen-card .price { margin-top: auto; font-family: var(--f-display); font-weight: 500; font-size: 22px; color: var(--ink); }
.ramen-more { text-align: center; margin: 28px 0 clamp(56px, 7vw, 90px); font-size: 17px; color: var(--ink-70); }
.ramen-more a { color: var(--coral-text); font-weight: 600; text-decoration: none; }
.craft { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-ink); margin: 0 0 clamp(56px, 7vw, 90px); padding: 0; list-style: none; }
.craft li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 20px; }
.craft li + li { border-inline-start: 1px solid var(--line-ink); }
.craft-k { font-family: var(--f-jp); font-size: 34px; line-height: 1; color: var(--coral-text); margin-bottom: 6px; }
.craft strong { font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.craft span:last-child { font-size: 15px; color: var(--ink-70); }
.gyoza-v8 { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.gyoza-v8 img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 26px; }
.gyoza-v8 .sec-jp { text-align: start; }
.gyoza-v8 h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3vw, 44px); margin: 0 0 12px; }
.gyoza-v8 p { font-size: 17px; line-height: 1.65; color: var(--ink-70); margin-bottom: 18px; }

/* Menu on cream */
.menu-light { background: var(--cream); color: var(--ink); }
.menu-light .menu-lang { margin-top: 22px; border-color: var(--line-ink); background: var(--card); }
.menu-light .menu-lang button { color: var(--ink); }
.menu-light .menu-lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.menu-light .menu-tabs { background: var(--cream); justify-content: center; padding: 12px 0 14px; margin-bottom: 26px; top: calc(var(--header-h) + var(--admin)); border-bottom: 1px solid var(--line-ink); }
.menu-light .menu-tabs::before { display: none; }
.menu-light .menu-tabs a { background: var(--card); color: var(--ink); border: 1px solid var(--line-ink); border-radius: 999px; padding: 8px 18px; box-shadow: none; transform: none; }
.menu-light .menu-tabs a::before { display: none; }
.menu-light .menu-tabs a:hover { background: var(--cream-2); color: var(--ink); }
.menu-light .menu-tabs a.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); animation: none; }
.menu-light .menu-boards { columns: 2 380px; column-gap: clamp(20px, 3vw, 36px); }
.menu-light .board { background: var(--card); border: 1px solid var(--line-ink); border-radius: 24px; padding: 24px 26px 14px; margin-bottom: clamp(20px, 3vw, 36px); box-shadow: none; color: var(--ink); }
.menu-light .board::before, .menu-light .board::after { display: none; }
.menu-light .board-head { border-bottom: 1px solid var(--line-ink); }
.menu-light .board h3 { color: var(--ink); font-size: 26px; }
.menu-light .board-jp { color: var(--coral-text); }
.menu-light .board-note, .menu-light .board li p { color: var(--ink-70); }
.menu-light .board li { border-bottom: 1px dashed var(--line-ink); }
.menu-light .board li:last-child { border-bottom: 0; }
.menu-light .board li:hover { background: none; }
.menu-light .item-name small { color: var(--ink-70); }
.menu-light .item-dots { border-bottom-color: rgba(23,37,43,.2); }
.menu-light .item-price { color: var(--coral-text); }
.menu-light .menu-foot { color: var(--ink-70); text-align: center; }
.menu-light .menu-foot a { color: var(--coral-text); }

/* Delivery */
.d-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.d-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line-ink); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.d-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(23,37,43,.12); border-color: var(--ink); }
.d-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); margin-bottom: 14px; }
.d-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.d-kind { font-size: 14px; color: var(--ink-70); }
.d-name { font-family: var(--f-display); font-weight: 600; font-size: 30px; line-height: 1.1; }
.d-text { font-size: 16px; color: var(--ink-70); line-height: 1.5; margin-bottom: 14px; }
.d-cta { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--coral); color: var(--ink); font-weight: 600; }
.d-home { text-align: center; margin-top: 28px; font-size: 16px; color: var(--ink-70); }
.d-home a { color: var(--coral-text); font-weight: 600; }

/* Events */
.events-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.events-img { margin: 0; }
.events-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; }
.events-lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; margin-bottom: 24px; }
.events-grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; margin: 0; list-style: none; }
.events-grid4 li { background: var(--card); border: 1px solid var(--line-ink); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.events-grid4 strong { font-family: var(--f-display); font-weight: 500; font-size: 19px; }
.events-grid4 span { font-size: 15px; color: var(--ink-70); line-height: 1.5; }
.events-v8 .events-note { margin-top: 14px; font-size: 14px; color: var(--ink-70); }

/* Gallery stays dark — one deliberate night band */
.sec-ink.gallery { padding: clamp(84px, 10vw, 140px) 0; }

/* Press */
.press-cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(16px, 2vw, 28px); }
.press-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line-ink); border-radius: 26px; overflow: hidden; color: var(--ink); text-decoration: none; padding-bottom: 26px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.press-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(23,37,43,.12); }
.press-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.press-card > span { padding-inline: 26px; }
.press-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-70); }
.press-pub { font-weight: 700; color: var(--ink); }
.press-h { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
.press-p { font-size: 16px; color: var(--ink-70); line-height: 1.55; }
.press-go { font-weight: 600; color: var(--coral-text); margin-top: 6px; }

/* KOKO ZEN: opens with the place itself */
.zen-v8 { position: relative; background: var(--zen); color: var(--moss-deep); padding: clamp(84px, 10vw, 140px) 0; overflow: hidden; }
.zen-v8-grid { width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.zen-v8-place { margin: 0; position: relative; }
.zen-v8-place img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 26px 26px; box-shadow: 0 0 0 10px #f7f5ea, 0 0 0 11px rgba(82,102,73,.35), 0 40px 80px rgba(61,77,54,.22); }
.zen-v8-place figcaption { margin-top: 18px; font-size: 13px; color: rgba(61,77,54,.75); text-align: center; }
.zen-v8-copy .sec-jp { color: var(--moss); text-align: start; }
.zen-v8-copy h2 { margin: 0 0 16px; line-height: 0; }
.zen-v8-copy h2 img { width: min(100%, 520px); height: auto; }
.zen-v8-tag { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); color: var(--moss-deep); margin-bottom: 12px; }
.zen-v8-lede { font-size: 18px; line-height: 1.65; color: rgba(61,77,54,.85); max-width: 44ch; margin-bottom: 22px; }
.zen-v8-facts { display: grid; grid-template-columns: auto 1fr; gap: 0; max-width: 420px; margin: 0; border-top: 1px solid rgba(61,77,54,.2); }
.zen-v8-facts div { display: contents; }
.zen-v8-facts dt, .zen-v8-facts dd { padding: 12px 0; border-bottom: 1px solid rgba(61,77,54,.2); margin: 0; }
.zen-v8-facts dt { font-weight: 600; padding-inline-end: 28px; }
.zen-v8-strip { position: relative; width: min(1320px, 100% - 2 * var(--gutter)); margin: clamp(56px, 7vw, 90px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.zen-v8-strip .photo-link { display: block; position: relative; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; }
.zen-v8-strip .photo-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease-out); }
.zen-v8-strip .photo-link:hover img { transform: scale(1.04); }
.zen-v8-strip .photo-link span { position: absolute; inset: auto 0 0; padding: 30px 18px 14px; font-weight: 600; background: linear-gradient(to top, rgba(31,40,27,.75), transparent); }
.zen-v8-cat { position: absolute; width: clamp(110px, 10vw, 150px); inset-inline-end: -10px; top: -90px; z-index: 2; }

/* Visit on cream */
.visit-v8 .visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.visit-v8 .branch { background: var(--card); border: 1px solid var(--line-ink); }
.visit-v8 .branch.is-active { border-color: var(--coral); background: #fff6f3; }
.visit-v8 .branch-name { color: var(--ink); }
.visit-v8 .branch-address, .visit-v8 .branch-note { color: var(--ink-70); }
.visit-v8 .branch-soon { color: var(--coral-text); }
.visit-v8 .hours div { border-bottom-color: var(--line-ink); }
.visit-v8 .hours dd { color: var(--coral-text); }
.visit-v8 .contact-lines span { color: var(--ink-70); }
.visit-v8 .contact-lines a { color: var(--ink); }
.visit-v8 .visit-map, .visit-v8 .map-frame { height: 100%; }
.visit-v8 .map-frame { aspect-ratio: auto; width: 100%; min-height: 420px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-ink); background: var(--cream-2); }
.visit-v8 .map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.75); }

@media (max-width: 900px) {
  .sec-head-cat { padding-top: 0; }
  .sec-head-cat .head-cat { position: relative; inset: auto; translate: none; display: block; width: 120px; margin: 0 auto 12px; order: -1; }
  .sec-head-cat { display: flex; flex-direction: column; align-items: center; }
  .sec-head-cat .head-cat { order: -1; }
  .story-open, .gyoza-v8, .events-split, .zen-v8-grid, .visit-v8 .visit-grid, .press-cards { grid-template-columns: 1fr; }
  .story-chapters, .ramen-cards { grid-template-columns: 1fr; }
  .ritual-row { grid-template-columns: 1fr; gap: 28px; }
  .craft { grid-template-columns: 1fr; }
  .craft li + li { border-inline-start: 0; border-top: 1px solid var(--line-ink); }
  .events-grid4 { grid-template-columns: 1fr; }
  .events-img img { aspect-ratio: 4 / 3; }
  .zen-v8-place { width: min(100%, 420px); justify-self: center; }
  .zen-v8-strip { grid-template-columns: 1fr 1fr; }
  .zen-v8-strip .photo-link:first-child { grid-column: 1 / -1; }
  .zen-v8-cat { display: none; }
  .menu-light .menu-tabs { justify-content: flex-start; }
  .menu-light .menu-boards { columns: 1; }
  .story-lede .story-cat { margin-inline: auto; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .sec-head-cat .head-cat { width: 110px; inset-inline-end: calc(100% + 4px); }
}

/* Header: logo · centred nav · order button, on one balanced grid */
@media (min-width: 901px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .header-inner .brand { justify-self: start; }
  .header-inner .main-nav { justify-self: center; margin: 0; }
  .header-inner .header-order { justify-self: end; }
}
/* The ZEN wordmark is an LTR image inside an RTL column: align it with the text (right). */
.zen-v8-copy h2 { text-align: right; }
.zen-v8-copy h2 img { display: inline-block; }

/* Farewell v8: one centred moment — the cat waves above a soft lantern glow */
.farewell { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 5vw, 64px); }
.farewell::before { content: ''; position: absolute; z-index: 0; top: 0; left: 50%; width: min(620px, 90vw); aspect-ratio: 1; translate: -50% -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,93,102,.28), rgba(247,181,72,.08) 60%, transparent); pointer-events: none; }
.zen-page ~ .site-footer .farewell::before { background: radial-gradient(closest-side, rgba(185,207,156,.25), transparent); }
.farewell > * { position: relative; z-index: 1; }
.farewell-cat { width: clamp(170px, 16vw, 250px); margin: 0 auto 10px; }
.farewell-text { display: flex; flex-direction: column; align-items: center; }
.farewell-jp, .zen-page ~ .site-footer .farewell-jp { text-align: center; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: .08em; }
.farewell-he { margin-top: 10px; color: rgba(244,236,217,.85); }
.farewell-actions { justify-content: center; margin-top: 26px; }
.farewell-text::after { content: ''; display: block; width: 64px; height: 2px; margin-top: 34px; background: var(--coral); border-radius: 2px; opacity: .7; }
@media (max-width: 900px) { .farewell-cat { width: 160px; } .farewell-actions .btn { flex: 1 1 140px; } }
.farewell-he { text-wrap: balance; max-width: 36ch; }

/* Delivery cards: centred */
.d-card { align-items: center; text-align: center; }
.d-ico { margin-inline: auto; }
.d-cta { align-self: center; }

/* ---------- Accessibility menu ---------- */
.a11y-btn {
  position: fixed; z-index: 98; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  background: var(--ink); border: 2px solid var(--cream); box-shadow: 0 0 0 3px var(--coral), 0 10px 24px rgba(15,27,32,.3);
  transition: transform .25s var(--ease-spring);
}
.a11y-btn:hover { transform: scale(1.06); }
.a11y-btn svg { width: 30px; height: 30px; fill: none; stroke: var(--cream); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: var(--cream); stroke: none; }
.a11y-panel {
  position: fixed; z-index: 96; right: 16px; bottom: 84px; width: min(340px, calc(100vw - 32px)); max-height: calc(100svh - 120px); overflow: auto;
  background: var(--cream); color: var(--ink); border-radius: 24px; padding: 18px 18px 14px;
  box-shadow: 0 24px 60px rgba(15,27,32,.35); border: 1px solid var(--line-ink);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h2 { font-family: var(--f-display); font-weight: 500; font-size: 24px; margin: 0; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-ink); background: var(--card); color: var(--ink); font-size: 22px; cursor: pointer; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--card); border: 1px solid var(--line-ink); border-radius: 16px; padding: 6px; margin-bottom: 10px; }
.a11y-size button { min-width: 64px; min-height: 44px; border-radius: 12px; border: 0; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 17px; cursor: pointer; }
.a11y-size-val { font-weight: 600; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 78px; padding: 10px 8px; border-radius: 16px; border: 1px solid var(--line-ink); background: var(--card); color: var(--ink); font: 500 14px/1.2 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.a11y-grid button:hover { border-color: var(--ink); }
.a11y-grid button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.a11y-ico { font-size: 20px; line-height: 1; color: var(--coral-text); }
.a11y-grid button[aria-pressed="true"] .a11y-ico { color: var(--coral); }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 14px; }
.a11y-reset { border: 0; background: none; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; padding: 8px 0; }
.a11y-foot a { color: var(--coral-text); font-weight: 600; }
@media (max-width: 760px) {
  .a11y-btn { bottom: 90px; right: auto; left: 12px; width: 48px; height: 48px; }
  .a11y-panel { bottom: 150px; right: 12px; left: 12px; width: auto; }
}

/* Modes */
html.a11y-zoomed body { zoom: var(--a11y-zoom, 1); }
html.a11y-contrast { --f-c: contrast(1.35); --ink-70: #17252b; }
html.a11y-gray { --f-g: grayscale(1); }
html.a11y-contrast, html.a11y-gray { filter: var(--f-c,) var(--f-g,); }
html.a11y-contrast .sec-sub, html.a11y-contrast .hero-sub, html.a11y-contrast .hero-greet { color: inherit; }
html.a11y-contrast .cine-shade { background: rgba(10,18,22,.72); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid var(--coral); outline-offset: 2px; }
html.a11y-font body, html.a11y-font body *:not([lang="ja"]):not(svg *) { font-family: Arial, 'Helvetica Neue', sans-serif !important; letter-spacing: .01em !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M4 2l26 15-11 3-6 11z' fill='%23111' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important; }

/* ---------- Privacy popup (Amendment 13) ---------- */
.consent {
  position: fixed; z-index: 97; left: 50%; bottom: 20px; translate: -50% 20px; opacity: 0;
  width: min(640px, calc(100vw - 24px)); display: grid; grid-template-columns: auto 1fr auto; gap: 14px 16px; align-items: center;
  background: var(--cream); color: var(--ink); border-radius: 22px; padding: 14px 18px; border: 1px solid var(--line-ink);
  box-shadow: 0 24px 60px rgba(15,27,32,.35); transition: opacity .35s, translate .35s var(--ease-out);
}
.consent.is-in { opacity: 1; translate: -50% 0; }
.consent[hidden] { display: none; }
.consent img { width: 48px; height: auto; }
.consent h2 { font-family: var(--f-display); font-weight: 500; font-size: 18px; margin: 0 0 2px; }
.consent p { font-size: 14px; line-height: 1.5; color: var(--ink-70); margin: 0; }
.consent a { color: var(--coral-text); font-weight: 600; }
.consent-actions { display: flex; flex-direction: column; gap: 8px; }
.consent-open { border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; opacity: .8; }
@media (max-width: 760px) {
  .consent { grid-template-columns: auto 1fr; bottom: 150px; }
  .consent-actions { grid-column: 1 / -1; flex-direction: row; }
  .consent-actions .btn { flex: 1; }
}

/* Map placeholder until the visitor agrees */
.map-frame { position: relative; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: var(--cream-2); color: var(--ink); }
.map-consent p { max-width: 32ch; font-size: 15px; color: var(--ink-70); }
.map-frame.is-loaded .map-consent { display: none; }

/* Legal pages */
.legal-page .sec { padding-top: calc(var(--header-h) + var(--admin) + 70px); }
.legal-body { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line-ink); border-radius: 26px; padding: clamp(24px, 4vw, 48px); }
.legal-body h2 { font-family: var(--f-display); font-weight: 500; font-size: 26px; margin: 28px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: var(--f-display); font-weight: 500; font-size: 20px; margin: 18px 0 8px; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal-body ul { padding-inline-start: 22px; margin: 0 0 12px; list-style: disc; }
.legal-body a { color: var(--coral-text); font-weight: 600; }
.legal-date { margin-top: 24px; font-size: 14px !important; color: var(--ink-70) !important; }

/* Press list */
.press-list { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-ink); }
.press-list li { border-bottom: 1px solid var(--line-ink); }
.press-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 4px; color: var(--ink); text-decoration: none; transition: background .2s; }
.press-list a:hover { background: rgba(240,93,102,.06); }
.pl-meta { grid-column: 1; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-70); }
.pl-pub { font-weight: 700; color: var(--ink); }
.pl-tag { padding: 2px 8px; border-radius: 999px; background: rgba(240,93,102,.12); color: var(--coral-text); font-weight: 600; }
.pl-h { grid-column: 1; font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.35; }
.pl-go { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--coral-text); font-weight: 700; }
@media (max-width: 900px) { .press-list { grid-template-columns: 1fr; } }

/* Follow us — slim rail on the left edge (desktop only) */
.social-rail { position: fixed; z-index: 90; left: 0; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 6px; background: var(--ink); border: 1px solid rgba(244,236,217,.18); border-inline-end: 0; border-radius: 0 18px 18px 0; box-shadow: 0 12px 30px rgba(15,27,32,.25); }
.sr-label { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--coral); padding: 4px 0 8px; }
.social-rail a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--cream); text-decoration: none; transition: background .2s, color .2s; }
.social-rail a:hover, .social-rail a:focus-visible { background: var(--coral); color: var(--ink); }
.social-rail svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-rail .sr-zen { color: #b9cf9c; }
.social-rail a span { position: absolute; left: calc(100% + 10px); top: 50%; translate: -6px -50%; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.social-rail a:hover span, .social-rail a:focus-visible span { opacity: 1; translate: 0 -50%; }
@media (max-width: 900px) { .social-rail { display: none; } }
.credit { opacity: .75; margin-inline-start: 10px; }
.credit a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { color: var(--coral); }

/* KOKO ZEN in the mobile menu, in its own matcha green */
.mobile-nav a.nav-zen { color: #b9cf9c; }
.mobile-nav a.nav-zen .jp { color: #b9cf9c; opacity: .85; }
.mobile-nav a.nav-zen span:first-child { font-family: var(--f-display); font-weight: 500; letter-spacing: .02em; }
.mobile-nav a.nav-zen span:first-child::after { content: ''; display: inline-block; vertical-align: middle; width: 9px; height: 9px; border-radius: 50%; background: #8fae6b; margin-inline-start: 12px; box-shadow: 0 0 0 4px rgba(143,174,107,.22); }

/* ---------- Mobile: everything centred, logo in the middle, menu button on the right ---------- */
@media (max-width: 900px) {
  .header-inner { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; }
  .header-inner .menu-toggle { grid-column: 1; grid-row: 1; margin: 0; justify-self: start; }
  .header-inner .brand { grid-column: 2; grid-row: 1; justify-self: center; }

  .mobile-nav { align-items: stretch; text-align: center; }
  .mobile-nav a:not(.btn) { flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
  .mobile-nav .btn { align-self: center; }
  .mobile-nav-cat { align-self: center; }
  .mobile-nav a.nav-zen span:first-child::after { display: none; }

  .story-lede, .chapter-body, .gyoza-v8 > div, .events-body, .zen-v8-copy, .ramen-card-body, .story-name, .legal-page .sec-head { text-align: center; }
  .story-lede .story-cat { margin-inline: auto; }
  .gyoza-v8 .sec-jp, .zen-v8-copy .sec-jp { text-align: center; }
  .zen-v8-copy h2 { text-align: center; }
  .zen-v8-lede { margin-inline: auto; }
  .zen-v8-facts { margin-inline: auto; }
  .zen-v8-facts dt, .zen-v8-facts dd { text-align: center; }
  .sec-actions, .events-actions { justify-content: center; }
  .ramen-card h3 { justify-content: center; }
  .events-grid4 li { align-items: center; text-align: center; }
  .press-card { text-align: center; }
  .press-meta { justify-content: center; gap: 12px; }
  .press-list a { grid-template-columns: 1fr; text-align: center; }
  .pl-meta { justify-content: center; }
  .pl-go { display: none; }
  .branch, .branch-tab { text-align: center; align-items: center; }
  .branch .hours, .visit-v8 .hours { margin-inline: auto; }
  .branch .btn { margin-inline: auto; }
  .contact-lines { margin-inline: auto; }
  .contact-lines li { flex-direction: column; align-items: center; gap: 0; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-tools { justify-content: center; flex-wrap: wrap; }
  .credit { display: block; margin: 6px 0 0; }
  .d-home, .ramen-more, .menu-foot { text-align: center; }
  .menu-light .board-head { justify-content: space-between; }
}

/* Mobile KOKO ZEN: logo first, then the garden photo, then the details */
@media (max-width: 900px) {
  .zen-v8-grid { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .zen-v8-copy { display: contents; }
  .zen-v8-copy > * { order: 4; width: 100%; }
  .zen-v8-copy > .sec-jp { order: 1; }
  .zen-v8-copy > h2 { order: 2; margin-bottom: 24px; }
  .zen-v8-place { order: 3; margin-bottom: 28px; }
  .zen-v8-copy > .sec-actions { width: auto; }
}

/* ---------- KOKO ZEN page: its own world (matcha, moss, washi) ---------- */
.site-header.is-zen.is-solid { background: rgba(47, 60, 41, .92); }
.site-header.is-zen .header-order { background: var(--moss); color: var(--zen); box-shadow: 0 4px 0 var(--moss-deep); }
.zen-page .sec { background: var(--zen); color: var(--moss-deep); }
.zen-page .sec-paper { background: #f6f5ea; }
.zen-page .sec + .sec { border-top-color: rgba(61,77,54,.14); }
.zen-page .sec-jp { color: var(--moss); }
.zen-page .sec-title { color: var(--moss-deep); }
.zen-page .sec-sub { color: rgba(61,77,54,.8); }

.zx-story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.zx-story-text p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.75; margin-bottom: 16px; }
.zx-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.zx-people li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fbfaf2; border: 1px solid rgba(61,77,54,.14); border-radius: 20px; padding: 16px 18px; }
.zx-people li span:first-child { grid-row: 1 / 3; font-family: var(--f-jp); font-size: 26px; color: var(--moss); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(82,102,73,.1); }
.zx-people strong { font-family: var(--f-display); font-weight: 500; font-size: 20px; }
.zx-people li span:last-child { font-size: 15px; color: rgba(61,77,54,.8); }

.zx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: zx; }
.zx-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 30px 22px 28px; background: #fbfaf2; border: 1px solid rgba(61,77,54,.14); border-radius: 999px 999px 26px 26px; }
.zx-steps li::before { counter-increment: zx; content: counter(zx); position: absolute; top: 14px; inset-inline-start: 18px; font-size: 13px; font-weight: 700; color: rgba(61,77,54,.5); }
.zx-k { font-family: var(--f-jp); font-size: 40px; line-height: 1.1; color: #b23a3a; margin-top: 10px; }
.zx-steps li:nth-child(n+3) .zx-k { color: var(--moss); }
.zx-steps strong { font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.zx-steps li span:last-child { font-size: 15px; line-height: 1.6; color: rgba(61,77,54,.85); }

.zx-ema-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; max-width: 980px; }
.zx-ema-grid .sec-jp, .zx-ema-grid .sec-title { text-align: start; }
.zx-ema-text { margin-top: 14px; font-size: 18px; line-height: 1.75; max-width: 48ch; }
.zx-ema-plaque { position: relative; width: clamp(170px, 18vw, 230px); aspect-ratio: 1.25; clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%); background: linear-gradient(160deg, #e8c99a, #c99a62); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #5a3a1c; box-shadow: inset 0 0 0 6px rgba(90,58,28,.12); transform: rotate(-4deg); }
.zx-ema-plaque span { font-family: var(--f-jp); font-size: 34px; margin-top: 14%; }
.zx-ema-plaque i { font-style: normal; font-family: var(--f-display); font-size: 17px; }
.zx-ema-plaque::before { content: ''; position: absolute; top: 12%; width: 8px; height: 8px; border-radius: 50%; background: #5a3a1c; }
.motion-on .zx-ema-plaque { animation: emaSway 4s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes emaSway { from { transform: rotate(-4deg); } to { transform: rotate(3deg); } }

.zx-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.zx-col { background: #fbfaf2; border: 1px solid rgba(61,77,54,.14); border-radius: 22px; padding: 22px 22px 24px; }
.zx-col h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 0 0 8px; color: var(--moss-deep); }
.zx-col p { font-size: 15.5px; line-height: 1.65; color: rgba(61,77,54,.85); }
.zx-order { justify-content: center; }

@media (max-width: 900px) {
  .zx-story-grid, .zx-ema-grid { grid-template-columns: 1fr; text-align: center; }
  .zx-ema-grid .sec-jp, .zx-ema-grid .sec-title { text-align: center; }
  .zx-ema-plaque { margin: 0 auto; }
  .zx-ema-text { margin-inline: auto; }
  .zx-steps, .zx-menu-grid { grid-template-columns: 1fr 1fr; }
  .zx-col { text-align: center; }
}
@media (max-width: 560px) { .zx-steps, .zx-menu-grid { grid-template-columns: 1fr; } }
/* ZEN page: section heads centred like the rest of the site */
.zp-head, .zp-press > .wrap > .kicker, .zp-press h2 { text-align: center; }
.zp-head { margin-inline: auto; max-width: 760px; }
.zp-head .kicker, .zp-press .kicker { justify-content: center; }
.zen-page ~ .site-footer .footer-word { max-width: 560px; margin-inline: auto; display: block; }

/* =====================================================================
   v9 — upgrades: washi paper, stamped section seals, story scenes,
   ramen selector, event lead form
   ===================================================================== */
:root { --washi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sec-cream, .sec-paper, .zen-page .sec, .zen-v8 { background-image: var(--washi); background-repeat: repeat; }

/* Seal stamp on every section head */
.sec-jp { display: inline-block; padding: 7px 12px 6px; border: 2px solid currentColor; border-radius: 8px; letter-spacing: .14em; line-height: 1.15; transform: rotate(-3deg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.motion-on .sec-head .sec-jp { opacity: 0; transform: rotate(-12deg) scale(1.9); }
.motion-on .sec-head.is-stamped .sec-jp { opacity: 1; transform: rotate(-3deg) scale(1); transition: transform .45s cubic-bezier(.2,1.6,.4,1), opacity .2s; }
.motion-on .sec-head .sec-title, .motion-on .sec-head .sec-sub { opacity: 0; translate: 0 18px; }
.motion-on .sec-head.is-stamped .sec-title, .motion-on .sec-head.is-stamped .sec-sub { opacity: 1; translate: 0 0; transition: opacity .7s .15s, translate .8s .15s var(--ease-out); }
.motion-on .sec-head.is-stamped .sec-sub { transition-delay: .28s; }
.sec-ink .sec-jp { box-shadow: none; }
.gyoza-v8 .sec-jp, .zen-v8-copy .sec-jp, .zx-ema-grid .sec-jp { transform: rotate(-3deg); }

/* Story as scenes */
.story-scenes { display: grid; gap: clamp(40px, 7vw, 120px); margin-bottom: clamp(60px, 8vw, 110px); }
.scene { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; min-height: min(86svh, 820px); }
.scene-flip .scene-photo { order: 2; }
.scene-bg { position: absolute; z-index: 0; top: 50%; translate: 0 -50%; inset-inline-end: -2%; font-family: var(--f-jp); font-size: clamp(220px, 34vw, 520px); line-height: 1; color: var(--coral); opacity: .07; pointer-events: none; user-select: none; }
.scene-flip .scene-bg { inset-inline-end: auto; inset-inline-start: -2%; }
.scene-photo { position: relative; z-index: 1; margin: 0; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 70px rgba(23,37,43,.18); }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; }
.scene-text { position: relative; z-index: 1; max-width: 520px; }
.scene-num { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink-70); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.scene-num span { font-family: var(--f-jp); font-size: 20px; color: var(--coral-text); }
.scene-text h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 4vw, 58px); line-height: 1.05; margin: 0 0 18px; display: flex; align-items: baseline; gap: 16px; }
.scene-k { font-family: var(--f-jp); color: var(--coral-text); font-size: .9em; }
.scene-text p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.8; color: var(--ink-70); }
.motion-on .scene .scene-photo { clip-path: inset(18% 18% 18% 18% round 999px 999px 28px 28px); transition: clip-path 1.3s var(--ease-out); }
.motion-on .scene.is-stamped .scene-photo { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }
.motion-on .scene .scene-photo img { transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.motion-on .scene.is-stamped .scene-photo img { transform: scale(1); }
.motion-on .scene .scene-text { opacity: 0; translate: 0 30px; transition: opacity .9s .3s, translate 1s .3s var(--ease-out); }
.motion-on .scene.is-stamped .scene-text { opacity: 1; translate: 0 0; }
.motion-on .scene .scene-bg { opacity: 0; transition: opacity 1.4s .2s; }
.motion-on .scene.is-stamped .scene-bg { opacity: .07; }

/* Ramen selector */
.ramen-stage { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rs-photos { position: relative; aspect-ratio: 4 / 3; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 70px rgba(23,37,43,.18); background: #e9dfcb; }
.rs-photo { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.rs-photo.is-on { opacity: 1; transform: scale(1); z-index: 1; }
.rs-photo img { width: 100%; height: 100%; object-fit: cover; }
.rs-steam { position: absolute; z-index: 2; left: 50%; top: 4%; width: 40%; height: 40%; translate: -50% 0; pointer-events: none; }
.rs-steam i { position: absolute; bottom: 0; width: 34%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); filter: blur(10px); opacity: 0; }
.rs-steam i:nth-child(1) { left: 0; } .rs-steam i:nth-child(2) { left: 33%; } .rs-steam i:nth-child(3) { left: 66%; }
.motion-on .rs-steam i { animation: rsSteam 4.5s ease-in infinite; }
.motion-on .rs-steam i:nth-child(2) { animation-delay: 1.5s; } .motion-on .rs-steam i:nth-child(3) { animation-delay: 3s; }
@keyframes rsSteam { 0% { opacity: 0; transform: translateY(40%) scaleX(.7); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateY(-50%) scaleX(1.3); } }
.rs-list { display: flex; flex-direction: column; gap: 10px; }
.rs-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 16px; align-items: center; text-align: start; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--line-ink); background: var(--card); color: var(--ink); cursor: pointer; font: inherit; transition: background .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.rs-item:hover { border-color: var(--ink); }
.rs-item.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateX(-6px); box-shadow: 0 18px 40px rgba(23,37,43,.2); }
.rs-jp { grid-row: 1 / 3; font-family: var(--f-jp); font-size: 22px; writing-mode: vertical-rl; color: var(--coral-text); letter-spacing: .1em; }
.rs-item.is-on .rs-jp { color: var(--coral); }
.rs-name { font-family: var(--f-display); font-weight: 500; font-size: 26px; display: flex; align-items: center; gap: 10px; }
.rs-name .tag { font-family: var(--f-body); font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgba(240,93,102,.14); color: var(--coral-text); }
.rs-item.is-on .rs-name .tag { background: var(--coral); color: var(--ink); }
.rs-desc { font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.rs-item.is-on .rs-desc { color: rgba(244,236,217,.82); }

/* Events: the image gets a framed, lantern-lit treatment */
.events-img { position: relative; }
.events-img::after { content: ''; position: absolute; inset: 14px; border: 1.5px solid rgba(244,236,217,.55); border-radius: 18px; pointer-events: none; }

/* Lead form dialog */
.lead-dialog { width: min(720px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--cream) var(--washi); color: var(--ink); box-shadow: 0 40px 100px rgba(15,27,32,.45); overflow: auto; }
.lead-dialog::backdrop { background: rgba(15,27,32,.6); backdrop-filter: blur(4px); }
.lead-form, .lead-done { padding: clamp(22px, 4vw, 40px); }
.lead-head { position: relative; text-align: center; margin-bottom: 22px; }
.lead-head h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 6px; }
.lead-head p { color: var(--ink-70); font-size: 16px; }
.lead-close.icon-btn { position: absolute; top: -6px; inset-inline-end: -6px; border-color: var(--line-ink); color: var(--ink); background: var(--card); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lf { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.lf-wide { grid-column: 1 / -1; }
.lf input, .lf select, .lf textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid rgba(23,37,43,.18); background: var(--card); color: var(--ink); font: 400 16px/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s; }
.lf input[dir="ltr"] { text-align: right; }
.lf textarea { resize: vertical; }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240,93,102,.3); }
.lf.is-bad input, .lf.is-bad select { border-color: var(--coral-text); }
.lf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.lf-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.lf-check.is-bad span { color: var(--coral-text); }
.lf-check a { color: var(--coral-text); font-weight: 600; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-error { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(184,46,57,.1); color: var(--coral-text); font-weight: 600; font-size: 15px; }
.lead-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.lead-actions .btn { min-width: 200px; }
.lead-actions .btn.is-busy { opacity: .6; pointer-events: none; }
.lead-wa { color: var(--ink); font-weight: 600; }
.lead-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lead-done[hidden] { display: none; }
.lead-done img { width: 140px; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
.lead-done-jp { font-family: var(--f-jp); font-size: 26px; color: var(--coral-text); letter-spacing: .08em; }
.lead-done h2 { font-family: var(--f-display); font-weight: 500; font-size: 36px; margin: 0; }
.lead-done p { color: var(--ink-70); margin-bottom: 14px; }
.lead-form[hidden] { display: none; }

/* ZEN page: the seals turn moss, scenes in green */
.zen-page .sec-jp { color: var(--moss); }
.motion-on .zx-steps li { opacity: 0; translate: 0 26px; }
.motion-on .zx-steps li.is-stamped { opacity: 1; translate: 0 0; transition: opacity .8s, translate .9s var(--ease-out); }
.motion-on .zx-steps li:nth-child(2).is-stamped { transition-delay: .12s; }
.motion-on .zx-steps li:nth-child(3).is-stamped { transition-delay: .24s; }
.motion-on .zx-steps li:nth-child(4).is-stamped { transition-delay: .36s; }
.zx-steps li { transition: transform .4s var(--ease-out), box-shadow .4s; }
.zx-steps li:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(61,77,54,.15); }

@media (max-width: 900px) {
  .scene, .ramen-stage { grid-template-columns: 1fr; min-height: 0; }
  .scene-flip .scene-photo { order: 0; }
  .scene-photo { width: min(82vw, 420px); justify-self: center; }
  .scene-text { text-align: center; margin-inline: auto; }
  .scene-num, .scene-text h3 { justify-content: center; }
  .scene-bg { font-size: 70vw; inset-inline-end: 50%; translate: 50% -50%; }
  .scene-flip .scene-bg { inset-inline-start: auto; }
  .rs-item { text-align: start; }
  .rs-item.is-on { transform: none; }
  .lead-grid { grid-template-columns: 1fr; }
}

/* ---------- Centre everything that reads as a block (desktop too) ---------- */
.zp-copy, .zp-head, .layer-text, .zp-garden-copy, .zp-visit-grid > div:first-child, .zx-story-text, .zx-ema-grid > div,
.story-lede, .scene-text, .gyoza-v8 > div, .events-body, .zen-v8-copy, .branch, .branch-tab { text-align: center; }
.zp-copy .kicker, .zp-garden-copy .kicker, .zp-visit .kicker, .zp-head .kicker { justify-content: center; }
.zp-copy h1, .zen-v8-copy h2 { text-align: center; }
.zp-copy h1 img, .zen-v8-copy h2 img { margin-inline: auto; }
.zp-lede, .zen-v8-lede, .zx-ema-text, .scene-text p, .events-lede { margin-inline: auto; }
.zp-actions, .sec-actions, .zp-visit .zp-actions { justify-content: center; }
.zp-hours, .zp-seat { justify-content: center; }
.zp-visit .hours, .zen-v8-facts, .branch .hours { margin-inline: auto; }
.zx-ema-grid .sec-jp, .zx-ema-grid .sec-title, .gyoza-v8 .sec-jp, .zen-v8-copy .sec-jp { text-align: center; }
.scene-num, .scene-text h3 { justify-content: center; }
.story-lede .story-cat { margin-inline: auto; }
.events-grid4 li { align-items: center; text-align: center; }
.branch-tab { align-items: center; }
.branch .btn { margin-inline: auto; }
.contact-lines { margin-inline: auto; }
.layer-text { align-items: center; display: flex; flex-direction: column; }
.zp-family { justify-content: center; }

/* Hero v10: the original logo from the approved PDF, nothing competing with it */
.hero-logo { margin: 6px 0 22px; line-height: 0; }
.hero-logo img { height: clamp(240px, 40vh, 420px); width: auto; max-width: 100%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.motion-on .hero-logo { animation: logoIn 1.1s .15s var(--ease-out) both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero-logo img { height: auto; width: min(48vw, 210px); } .hero-logo { margin-bottom: 18px; } }

/* Hero: the logo sits in the vertical middle of the screen */
.cine { justify-content: center; }
.cine-copy { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: calc(var(--header-h) + var(--admin) + 24px); padding-bottom: 96px; }
@media (max-width: 900px) { .cine-copy { padding-top: calc(var(--header-h) + var(--admin) + 20px); padding-bottom: 110px; } }

/* ---------- Branches: three equal cards under the hero ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.loc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 30px 26px 28px; background: var(--card); border: 1px solid var(--line-ink); border-top: 6px solid var(--coral); border-radius: 26px; transition: transform .35s var(--ease-out), box-shadow .35s; }
.loc:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(23,37,43,.12); }
.loc-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(240,93,102,.12); color: var(--coral-text); font-size: 13px; font-weight: 600; }
.loc-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; margin: 4px 0 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.loc-name .en { font-weight: 600; letter-spacing: .03em; color: var(--coral-text); font-size: .7em; }
.loc-addr { font-size: 16px; color: var(--ink-70); }
.loc-hours { width: 100%; max-width: 260px; margin: 8px auto 6px; }
.loc-hours div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line-ink); font-size: 16px; }
.loc-hours dt { font-weight: 500; }
.loc-hours dd { margin: 0; font-weight: 600; color: var(--coral-text); }
.loc-note { font-size: 15px; line-height: 1.6; color: var(--ink-70); max-width: 32ch; margin: 8px auto 6px; }
.loc-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* KOKO ZEN card: same build, matcha touches */
.loc-zen { background: #f4f5e8; border-top-color: var(--moss); }
.loc-zen .loc-tag { background: rgba(82,102,73,.14); color: var(--moss-deep); }
.loc-zen .loc-name .en { color: var(--moss); }
.loc-zen .loc-hours dd { color: var(--moss); }
.loc-zen .loc-hours div { border-bottom-color: rgba(61,77,54,.2); }
/* Coming soon */
.loc-soon { border-top-color: var(--gold); }
.loc-soon .loc-tag { background: var(--gold); color: var(--ink); }
.loc-contact { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.loc-contact li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.loc-contact span { color: var(--ink-70); }
.loc-contact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.loc-contact a:hover { color: var(--coral-text); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .loc-contact { flex-direction: column; align-items: center; gap: 8px; } }
.site-header.is-paper { background: rgba(15, 27, 32, .94); }
.loc-name span { font-size: .62em; color: var(--ink-70); font-weight: 400; }

/* ---------- KOKO ZEN: photo-led garden & food galleries ---------- */
.zx-intro { padding-bottom: clamp(30px, 4vw, 50px); }
.zx-intro .sec-head { margin-bottom: 0; }
.zx-gallery { background: #f6f5ea var(--washi); padding: 0 0 clamp(70px, 9vw, 120px); }
.zg-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 22vw, 320px); gap: clamp(10px, 1.4vw, 18px); grid-auto-flow: dense; }
.zg-item, .zf-item { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #e3e6d2; box-shadow: 0 18px 40px rgba(61,77,54,.14); }
.zg-tall { grid-row: span 2; }
.zg-item img, .zf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.zg-item:hover img, .zf-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.zg-cap { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 34px 16px 16px; color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 18px; background: linear-gradient(to top, rgba(26,33,22,.7), transparent); opacity: .95; transition: padding .4s var(--ease-out); }
.zg-cap span { font-family: var(--f-jp); font-size: 22px; color: #d9e7c4; }
.zg-item:hover .zg-cap, .zf-item:hover .zg-cap { padding-bottom: 22px; }
.zf-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 18vw, 270px); gap: clamp(10px, 1.4vw, 18px); grid-auto-flow: dense; }
.zf-wide { grid-column: span 2; grid-row: span 2; }
.zf-tall { grid-row: span 2; }
.zx-food .sec-actions { margin-top: 30px; }
.motion-on .zg-item, .motion-on .zf-item { opacity: 0; translate: 0 30px; transition: opacity .8s, translate .9s var(--ease-out); }
.motion-on .zg-item.is-in, .motion-on .zf-item.is-in { opacity: 1; translate: 0 0; }
@media (max-width: 900px) {
  .zg-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .zf-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .zf-wide { grid-column: span 2; grid-row: span 1; }
  .zg-cap { font-size: 15px; padding: 26px 10px 10px; }
}
.zf-w2 { grid-column: span 2; } @media (max-width: 900px) { .zf-w2 { grid-column: span 1; } .zf-tall { grid-row: span 1; } }
.main-nav a.nav-zen-d { color: #b9cf9c; font-weight: 600; letter-spacing: .02em; } .main-nav a.nav-zen-d::after { background: #8fae6b; }
/* Tzahala card: same coral as Florentin (no gold) */
.loc-soon { border-top-color: var(--coral); }
.loc-soon .loc-tag { background: rgba(240,93,102,.12); color: var(--coral-text); }
/* Footer: three equal, centred columns */
.footer-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; max-width: 1000px; margin-inline: auto; }
.footer-cols > div { display: flex; flex-direction: column; align-items: center; }
.footer-cols h2 { margin-bottom: 14px; }
.footer-cols p { margin-bottom: 8px; line-height: 1.5; }

/* =====================================================================
   KOKO ZEN page v3 — place-led hero, signature dish, film-strip garden
   ===================================================================== */
.zx2 { background: #f3f3e7 var(--washi); color: var(--moss-deep); }
.btn-cream { --bg: #f4ecd9; --fg: var(--moss-deep); box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.btn-line-cream { --bg: transparent; --fg: #f4ecd9; border-color: rgba(244,236,217,.8); box-shadow: none; }
.btn-line-cream:hover { background: #f4ecd9; color: var(--moss-deep); }

.zh { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #f4ecd9; text-align: center; }
.zh-bg { position: absolute; inset: 0; }
.zh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.motion-on .zh-bg img { animation: zhZoom 18s ease-out both; }
@keyframes zhZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.zh-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(28,38,24,.72), rgba(28,38,24,.35) 70%), linear-gradient(to bottom, rgba(28,38,24,.55), transparent 30%, transparent 70%, rgba(28,38,24,.7)); }
.zh .petals { z-index: 2; }
.zh-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--header-h) + var(--admin)); }
.zh-jp { font-family: var(--f-jp); font-size: 20px; letter-spacing: .4em; color: #d9e7c4; margin-bottom: 18px; }
.zh h1 { margin: 0 0 18px; line-height: 0; }
.zh h1 img { width: min(82vw, 720px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.zh-tag { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); margin-bottom: 28px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.zh-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.zh-hours { margin-top: 22px; font-size: 15px; color: rgba(244,236,217,.9); }
.zh-hours .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9fd28a; margin-inline-end: 8px; box-shadow: 0 0 0 4px rgba(159,210,138,.25); }
.zh-down { position: absolute; z-index: 3; bottom: 28px; left: 50%; translate: -50% 0; width: 30px; height: 48px; border: 2px solid rgba(244,236,217,.7); border-radius: 20px; }
.zh-down span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #f4ecd9; }
.motion-on .zh-down span { animation: zhDot 1.8s ease-in-out infinite; }
@keyframes zhDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.zs-k { font-family: var(--f-jp); font-size: 22px; letter-spacing: .2em; color: var(--moss); margin-bottom: 10px; }
.zs { padding: clamp(80px, 10vw, 140px) 0; background: var(--moss-deep); color: #f4ecd9; }
.zs-grid { width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.zs-photo { display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.zs-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.zs-photo:hover img { transform: scale(1.05); }
.zs-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.zs .zs-k { color: #b9cf9c; }
.zs-copy h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
.zs-copy p { font-size: 18px; line-height: 1.7; color: rgba(244,236,217,.85); max-width: 34ch; }
.zs-cat.cat-actor { position: relative; width: clamp(150px, 14vw, 210px); margin-top: 26px; }

.zg2 { padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 6vw, 80px); }
.zg2-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.zg2-head h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); margin: 0; color: var(--moss-deep); }
.zg2-head p:not(.zs-k) { margin-top: 10px; font-size: 18px; color: rgba(61,77,54,.8); }
.zg2-strip { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2)); padding: 6px max(var(--gutter), calc((100vw - 1320px) / 2)) 24px; scrollbar-width: none; outline: none; }
.zg2-strip::-webkit-scrollbar { display: none; }
.zg2-item { position: relative; flex: 0 0 auto; width: clamp(240px, 26vw, 380px); aspect-ratio: 2 / 3; border-radius: 24px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 22px 48px rgba(61,77,54,.2); }
.zg2-item:nth-child(even) { margin-top: 40px; }
.zg2-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.zg2-item:hover img { transform: scale(1.06); }
.zg2-cap { position: absolute; inset: auto 0 0; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 40px 14px 18px; color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 18px; background: linear-gradient(to top, rgba(22,30,18,.75), transparent); }
.zg2-cap span { font-family: var(--f-jp); font-size: 22px; color: #d9e7c4; }
.zg2-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.zg2-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--moss); background: transparent; color: var(--moss-deep); font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.zg2-btn:hover { background: var(--moss); color: #f4ecd9; }

.zf2 { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.zf2-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: repeat(2, clamp(220px, 22vw, 320px)); gap: clamp(12px, 1.6vw, 20px); }
.zf2-item { position: relative; display: block; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 48px rgba(61,77,54,.16); }
.zf2-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.zf2-item:hover img { transform: scale(1.06); }
.zf2-a { grid-row: 1 / 3; }
.zf2-b { grid-column: 2 / 4; }
.zx-order { display: flex; justify-content: center; margin-top: 34px; }

.zv { padding: 0 0 clamp(80px, 10vw, 130px); }
.zv-card { max-width: 720px; margin: 0 auto; text-align: center; background: #fbfaf2; border: 1px solid rgba(61,77,54,.15); border-top: 6px solid var(--moss); border-radius: 30px; padding: clamp(32px, 5vw, 56px); box-shadow: 0 30px 60px rgba(61,77,54,.12); }
.zv-card h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); margin: 0 0 22px; color: var(--moss-deep); }
.zv-facts { max-width: 440px; margin: 0 auto 26px; }
.zv-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(61,77,54,.25); font-size: 17px; }
.zv-facts dt { font-weight: 600; } .zv-facts dd { margin: 0; color: var(--moss); }
.zv-press { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(61,77,54,.15); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; font-size: 15px; }
.zv-press p { width: 100%; color: rgba(61,77,54,.7); font-size: 13px; letter-spacing: .06em; }
.zv-press a { font-weight: 700; color: var(--moss-deep); text-decoration: none; border-bottom: 2px solid rgba(82,102,73,.3); }
.zv-press a:hover { border-color: var(--moss); }

@media (max-width: 900px) {
  .zs-grid { grid-template-columns: 1fr; }
  .zg2-item { width: 68vw; }
  .zg2-item:nth-child(even) { margin-top: 0; }
  .zf2-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 46vw; }
  .zf2-a { grid-row: span 2; } .zf2-b { grid-column: auto; }
  .zh h1 img { width: 86vw; }
}
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 900px) {
  .zf2-item .zg2-cap { font-size: 14px; padding: 28px 8px 10px; }
  .zg2-cap { font-size: 15px; }
  .zh-copy { padding-bottom: 80px; }
  .a11y-btn { bottom: 96px; }
}
@media (max-width: 900px) { .hero-logo img { width: min(36vw, 150px); } }
/* Hero without logo: lighter veil so the film shows */
.cine-shade { background: linear-gradient(to top, rgba(15,27,32,.6) 0%, rgba(15,27,32,.1) 35%, transparent 60%), linear-gradient(to bottom, rgba(15,27,32,.4) 0%, transparent 20%); }
.cine-copy { justify-content: flex-end; padding-bottom: clamp(90px, 12vh, 130px); }
@media (max-width: 900px) { .cine-shade { background: linear-gradient(to top, rgba(15,27,32,.65) 0%, rgba(15,27,32,.1) 40%, transparent 65%), linear-gradient(to bottom, rgba(15,27,32,.4), transparent 18%); } }
.d-static:hover { transform: none; box-shadow: none; border-color: var(--line-ink); } .d-static .d-text { margin-bottom: 0; }
/* Events: catering copy */
.events-grid4 { grid-template-columns: repeat(3, 1fr); }
.ev-menu { margin-top: 18px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-ink); border-top: 5px solid var(--coral); text-align: center; }
.ev-menu h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 0 0 10px; }
.ev-menu p { font-size: 16px; line-height: 1.7; color: var(--ink-70); margin-bottom: 6px; }
.ev-close { margin-top: 18px; text-align: center; font-family: var(--f-display); font-weight: 500; font-size: 20px; color: var(--coral-text); }
.delivery-v8 { padding-top: clamp(50px, 6vw, 80px); }
@media (max-width: 900px) { .events-grid4 { grid-template-columns: 1fr; } }

/* v11.5 — spicy marker */
.rs-name .tag + .tag { margin-inline-start: -2px; }
.rs-name .tag-hot { background: transparent; border: 1.5px solid var(--coral-text); padding: 2px 9px; }
.rs-name .tag-hot::before { content: "🌶"; font-size: 11px; margin-inline-end: 4px; }
.rs-item.is-on .rs-name .tag-hot { background: transparent; color: var(--coral); border-color: var(--coral); }

/* v11.6 — no per-photo captions; dialog title kept for screen readers only */
#photo-dialog-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* v11.7 — menu size/volume on its own line */
.menu .item-name .t-he small, .menu .item-name .t-en small { display: block; margin-inline-start: 0; margin-top: 2px; }

/* v11.7 — jobs page on paper, like the rest of the site */
.jobs-hero { background: var(--cream-2); color: var(--ink); }
.jobs-hero .display { color: var(--ink); }
.jobs-hero .kicker [lang="ja"] { color: var(--coral-text); }
.jobs-list li { border-bottom-color: var(--line-ink); color: var(--ink-70); }
.jobs-list strong { color: var(--ink); }
.jobs-note { color: var(--ink-70); }
.jobs-hero .btn-line { color: var(--ink); }
.jobs-hero .btn-line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* v11.8 — a11y panel always reachable: above the consent banner, never zoomed off-screen */
.a11y-panel { z-index: 99; }
html.a11y-zoomed .a11y-panel, html.a11y-zoomed .a11y-btn { zoom: calc(1 / var(--a11y-zoom, 1)); }
@media (max-width: 760px) { .a11y-panel { max-height: calc(100svh - 170px); } }
.a11y-foot { flex-wrap: wrap; gap: 10px; }
.a11y-foot .a11y-reset { order: -1; flex: 1 1 100%; min-height: 48px; border-radius: 999px; border: 0; background: var(--coral); color: var(--ink); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--coral-deep); }
.a11y-foot .a11y-reset:hover { filter: brightness(1.05); }

/* v12 — KOKO events gallery strip */
.events-img { display: block; border-radius: 26px; overflow: hidden; }
.ev-gal { margin-top: clamp(40px, 6vw, 72px); }
.ev-strip { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2)); padding: 6px max(var(--gutter), calc((100vw - 1320px) / 2)) 22px; scrollbar-width: none; outline: none; }
.ev-strip::-webkit-scrollbar { display: none; }
.ev-strip:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
.ev-item { position: relative; flex: 0 0 auto; height: clamp(300px, 34vw, 440px); aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 18px 40px rgba(23,37,43,.16); background: var(--card); }
.ev-item.is-wide { aspect-ratio: 3 / 2; }
.ev-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ev-item:hover img { transform: scale(1.05); }
.film-nav { display: flex; justify-content: center; gap: 12px; margin-top: 6px; }
.film-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--coral-text); background: transparent; color: var(--coral-text); font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.film-btn:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
@media (max-width: 760px) { .ev-item { height: 62vw; max-height: 380px; } }

/* v12 — contact page */
.contact-page .sec { padding-top: calc(var(--header-h) + var(--admin) + 70px); background: var(--cream-2); }
.contact-head { text-align: center; }
.ct-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(28px, 4vw, 48px); }
.ct-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border-radius: 26px; background: var(--card); border: 1px solid var(--line-ink); border-top: 5px solid var(--coral); box-shadow: 0 18px 40px rgba(23,37,43,.07); }
.ct-card h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); margin: 0; }
.ct-card > p:not(.ct-k) { color: var(--ink-70); font-size: 16px; line-height: 1.6; }
.ct-k { position: absolute; top: 18px; left: 22px; font-family: var(--f-jp); font-size: 26px; color: rgba(184,46,57,.22); }
.ct-big { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); color: var(--coral-text); text-decoration: none; letter-spacing: .02em; }
.ct-big:hover { text-decoration: underline; text-underline-offset: 6px; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.ct-card .btn-line { color: var(--ink); }
.ct-card .btn-line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ct-main { background: var(--ink); color: var(--cream); border-color: var(--ink); border-top-color: var(--coral); }
.ct-main > p:not(.ct-k) { color: rgba(244,236,217,.78); }
.ct-main .ct-big { color: var(--coral); }
.ct-main .ct-k { color: rgba(240,93,102,.35); }
.ct-main .btn-line { color: var(--cream); }
.ct-main .btn-line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ct-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(14px, 1.8vw, 24px); }
.ct-place { padding: 22px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-ink); display: flex; flex-direction: column; gap: 4px; }
.ct-place h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-place p { color: var(--ink-70); font-size: 15px; }
.ct-place .ct-hours { color: var(--ink); font-weight: 500; }
.ct-place .link { margin-top: 8px; color: var(--coral-text); font-weight: 600; text-decoration: none; }
.ct-place .link:hover { text-decoration: underline; }
.ct-badge { font-family: var(--f-body); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--coral); color: var(--ink); }
.ct-place.is-zen { border-top: 5px solid #8fae6d; }
.ct-place.is-zen .link { color: #4c6b37; }
.ct-social { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: clamp(28px, 4vw, 44px); }
.ct-social p { font-weight: 600; }
.ct-social a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 500; }
.ct-social a:hover { background: var(--ink); color: var(--cream); }
.ct-social a.is-zen { border-color: #4c6b37; color: #4c6b37; }
.ct-social a.is-zen:hover { background: #4c6b37; color: #f4ecd9; }
.ct-cat { display: block; position: relative; width: clamp(150px, 16vw, 210px); margin: clamp(24px, 3vw, 40px) auto 0; }
.ct-cat img { width: 100%; height: auto; }
@media (max-width: 1024px) { .ct-grid { grid-template-columns: 1fr 1fr; } .ct-main { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .ct-grid, .ct-places { grid-template-columns: 1fr; }
  .ct-card, .ct-place { text-align: center; align-items: center; }
  .ct-actions { justify-content: center; }
  .ct-place h3 { justify-content: center; }
}
.ct-place .link { align-self: flex-start; width: auto; }
.contact-page .sec { padding-bottom: clamp(70px, 8vw, 110px); }
@media (max-width: 760px) { .ct-place .link { align-self: center; } }
