/* =============================================================================
   Totoya とと家 · menu site
   Built to match the printed menu by Funergy Group: cream washi paper, black
   brush titles, EB Garamond serif, maroon / navy / red brush-circle numbers,
   red-boxed toppings, gold seigaiha and a navy wave panel.
   One deliberate light theme, like the paper menu.
   ========================================================================== */

:root {
  color-scheme: light;

  --paper: #F7F0E4;
  --paper-2: #F1E6D3;
  --card: #FCF8F1;
  --ink: #1B1A19;
  --ink-2: #463F37;
  --ink-3: #776B5D;
  --line: #E8D8BC;
  --leader: #CDA962;

  --maroon: #7A1C1C;
  --navy: #14254A;
  --navy-2: #1C305C;
  --red: #BE2A2E;
  --red-2: #A11F24;
  --orange: #EE8F2C;
  --gold: #C49A45;
  --gold-soft: #E4CB93;
  --gold-navy: #DDBB6C;
  --brown: #9A6A2E;
  --pink: #DC9892;

  /* brand colours as text, and theme-dependent surfaces */
  --t-red: var(--red);
  --t-maroon: var(--maroon);
  --t-navy: var(--navy);
  --t-brown: var(--brown);
  --t-gold: var(--gold);
  --navy-ui: var(--navy);
  --navy-ui-hover: #0D1A36;
  --bar: rgba(247, 240, 228, .94);
  --panel: rgba(252, 248, 241, .7);
  --hover: rgba(241, 230, 211, .6);
  --card-hi: #FFFFFF;
  --num-gold: #B07A2E;
  --ok: #2C7A4B;
  --ink-art: none;        /* filter for black brush lettering */
  --dish-glow: none;      /* soft light behind dish photos */

  --topbar: 60px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --maxw: 1200px;
  --radius: 14px;

  --f-serif: "EB Garamond", "Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;

  --grain: 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .22  0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Cdefs%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='0' y='0' width='60' height='30'%3E%3Crect width='60' height='30' fill='%23000'/%3E%3Cg fill='%23000' stroke='%23fff' stroke-width='1.3'%3E%3Ccircle cx='0' cy='0' r='30'/%3E%3Ccircle cx='0' cy='0' r='24'/%3E%3Ccircle cx='0' cy='0' r='18'/%3E%3Ccircle cx='0' cy='0' r='12'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='60' cy='0' r='30'/%3E%3Ccircle cx='60' cy='0' r='24'/%3E%3Ccircle cx='60' cy='0' r='18'/%3E%3Ccircle cx='60' cy='0' r='12'/%3E%3Ccircle cx='60' cy='0' r='6'/%3E%3Ccircle cx='30' cy='15' r='30'/%3E%3Ccircle cx='30' cy='15' r='24'/%3E%3Ccircle cx='30' cy='15' r='18'/%3E%3Ccircle cx='30' cy='15' r='12'/%3E%3Ccircle cx='30' cy='15' r='6'/%3E%3Ccircle cx='0' cy='30' r='30'/%3E%3Ccircle cx='0' cy='30' r='24'/%3E%3Ccircle cx='0' cy='30' r='18'/%3E%3Ccircle cx='0' cy='30' r='12'/%3E%3Ccircle cx='0' cy='30' r='6'/%3E%3Ccircle cx='60' cy='30' r='30'/%3E%3Ccircle cx='60' cy='30' r='24'/%3E%3Ccircle cx='60' cy='30' r='18'/%3E%3Ccircle cx='60' cy='30' r='12'/%3E%3Ccircle cx='60' cy='30' r='6'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Crect width='60' height='30' mask='url(%23m)'/%3E%3C/svg%3E");
  --dust: url("../img/gold-dust.svg");
}

/* ---------- dark theme (chosen with the moon button; light is the default) ---------- */

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10141D;
  --paper-2: #1A2130;
  --card: #171D2A;
  --ink: #F2E9D9;
  --ink-2: #D2C7B4;
  --ink-3: #A39884;
  --line: #2B3447;
  --leader: #8C7443;
  --gold-soft: #6A5836;
  --pink: #C9837C;

  --t-red: #F2716A;
  --t-maroon: #EE9C8E;
  --t-navy: #AFC2F2;
  --t-brown: #D8AB6B;
  --t-gold: #DDB870;
  --navy-ui: #2E4C8C;
  --navy-ui-hover: #3A5CA3;
  --bar: rgba(16, 20, 29, .92);
  --panel: rgba(23, 29, 42, .82);
  --hover: rgba(255, 244, 225, .06);
  --card-hi: #222A3B;
  --num-gold: #DDA95C;
  --ok: #72CF95;
  --ink-art: invert(1) hue-rotate(180deg) sepia(.12) brightness(.96);
  --dish-glow: radial-gradient(closest-side, rgba(255, 238, 210, .16), rgba(255, 238, 210, .05) 60%, transparent);
  --grain: 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9  0 0 0 0 .86  0 0 0 0 .78  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* black brush lettering (logo, ネギトロ丼, 海鮮丼, "Welcome to") turns cream in the dark;
   the red stamp keeps its colour */
.topbar__brand img,
.hero__welcome,
.hero__logo img,
.menu-head__jp,
.soon__logo { filter: var(--ink-art); }

/* dish photos: a soft glow behind them in the dark so black nori and bowls stay visible */
.tier__photo,
.bowl__photo,
.topping,
.shower img,
.miso-item img,
.chazuke__buy img,
.price-list .thumb img { background: var(--dish-glow); }

/* watercolour drawings were cut from cream paper: in the dark they sit on small paper tiles */
:root[data-theme="dark"] :is(.order img, .eat img, .ingredients img, .chazuke__steps img, .chazuke__about img, .what__chef) {
  background: #F4EBDC;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 6px 18px rgba(0, 0, 0, .35);
}
:root[data-theme="dark"] .what__chef { padding: 10px; border-radius: 16px; }

/* moon / sun button */
.theme-toggle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { background: var(--hover); color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
/* English / 日本語 */
.lang-switch {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.lang-switch:hover { background: var(--hover); color: var(--ink); }
.lang-switch[lang="ja"] { font-family: var(--f-jp); font-size: .86rem; }

html.theme-anim body,
html.theme-anim .topbar,
html.theme-anim .card-frame,
html.theme-anim .panel { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar) + 14px);
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 1.125rem;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body [lang="ja"] { font-family: var(--f-jp); }
body [lang="en"] { font-family: var(--f-serif); }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.block { padding-block: clamp(48px, 7vw, 96px) 0; }
.red { color: var(--t-red); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  background: var(--navy-ui); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

/* ---------- shared type ---------- */

.h-serif {
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--ink);
}
.h-serif small { display: block; font-size: .72em; font-weight: 500; }
.h-serif--maroon { color: var(--t-maroon); }
.h-serif--navy { color: var(--t-navy); }
.h-serif--red { color: var(--t-red); }

.h-italic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.05;
  color: var(--t-red);
}
.h-italic--navy { color: var(--t-navy); }

.rule-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  margin: 8px 0 0;
  color: var(--t-brown);
  font-size: 1.15rem;
}
.rule-caption::before,
.rule-caption::after { content: ""; flex: 0 1 60px; min-width: 14px; height: 1.5px; background: currentColor; opacity: .6; }
.rule-caption--navy { color: var(--t-navy); font-style: italic; margin-top: 12px; }

.sub-brown { margin: 2px 0 10px; color: var(--t-brown); font-size: 1.1rem; }

/* brush circles: the shape is the maroon "1" circle traced from the menu */
.circle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-bottom: 3px;
  color: #FFF8EE;
  font: italic 700 2rem/1 var(--f-serif);
  background: var(--c, var(--maroon));
  -webkit-mask: url("../img/type/circle-1.svg") center / contain no-repeat;
  mask: url("../img/type/circle-1.svg") center / contain no-repeat;
}
.circle--maroon { --c: var(--maroon); }
.circle--navy { --c: var(--navy-ui); }
.circle--red { --c: var(--red); }
.h-italic .circle { width: 50px; height: 50px; font-size: 1.75rem; }

.stamp {
  display: inline-block;
  padding: 2px 8px;
  border: 1.5px solid var(--red);
  border-radius: 3px;
  color: var(--t-red);
  font: 700 .8rem/1.5 var(--f-jp);
  font-style: normal;
  letter-spacing: .06em;
  vertical-align: middle;
}

/* prices look like the menu: "$18" full size, ".90" smaller on the baseline */
.price {
  margin: 0;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.price .cur { font-size: .82em; margin-right: .04em; }
.price .c { font-size: .58em; letter-spacing: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1.08rem/1 var(--f-serif);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn[target="_blank"]::after { content: "↗"; font-size: .85em; }
.btn--red { background: var(--red); color: #FFF8EE; }
.btn--red:hover { background: var(--red-2); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--navy { background: var(--navy-ui); color: #FFF8EE; }
.btn--navy:hover { background: var(--navy-ui-hover); }
.btn[href^="tel:"]::before { content: "☎"; font-size: .9em; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 1rem; }

/* red boxed words, like "+ Tobiko" on the menu */
.box {
  display: inline-block;
  padding: 3px 10px 2px;
  border: 1.5px solid var(--red);
  border-radius: 3px;
  background: var(--card);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.card-frame {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
}
.card-frame--gold { border-color: var(--gold); outline: 1px solid rgba(196, 154, 69, .55); outline-offset: -8px; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bar);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--maxw);
  height: var(--topbar);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.topbar__brand { flex: none; display: block; line-height: 0; }
.topbar__brand img { width: auto; height: 38px; }
.topbar__nav { flex: 1; min-width: 0; }
.chips {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 20px 8px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 26px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 26px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.chips a:hover { background: var(--paper-2); color: var(--ink); }
.chips a[aria-current] { background: var(--navy-ui); color: #FFF8EE; }
.topbar__order {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #FFF8EE;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
}
.topbar__order::after { content: "↗"; font-size: .85em; }

/* phones: logo, language, theme and Order on top; the section links get their own row */
@media (max-width: 699px) {
  :root { --topbar: 98px; }
  .topbar__inner { flex-wrap: wrap; height: auto; gap: 0 8px; padding-top: 8px; }
  .topbar__brand { margin-right: auto; }
  .topbar__brand img { height: 36px; }
  .topbar__nav { order: 3; flex: 1 0 100%; margin-inline: calc(var(--gutter) * -1); }
  .chips {
    padding: 6px var(--gutter) 8px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .chips a { padding: 7px 12px; font-size: .98rem; }
  .theme-toggle, .lang-switch { height: 38px; min-width: 38px; }
  .theme-toggle { width: 38px; }
  .topbar__order { min-height: 38px; padding: 7px 14px; }
}

/* ---------- hero: welcome + scroll-scrubbed ikura shower ---------- */

.hero { position: relative; }
.hero__track { position: relative; }
.js-scrub .hero__track { height: 250vh; }

.hero__stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100svh - var(--topbar));
  min-height: 540px;
}
.js-scrub .hero__stage { position: sticky; top: var(--topbar); }

.hero__media { position: relative; overflow: hidden; background: #2A1C12; }
.hero__poster,
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__canvas { opacity: 0; transition: opacity .4s ease; }
.hero__canvas.is-ready { opacity: 1; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: 0; transition: opacity .5s ease; }
.hero__video.is-ready { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(22, 12, 6, .72));
  pointer-events: none;
}

.hero__captions {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  bottom: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 2.6em;
}
.hero__captions li {
  position: absolute;
  inset: auto 0 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.hero__captions li.is-on { opacity: 1; transform: none; }
.hero__captions span {
  display: inline-block;
  color: #FFF8EE;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}
.hero__captions b { display: block; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #FFB25A; }
.hero__captions em { font-style: normal; color: #FFD9A0; margin-left: .3em; }

.hero__meter { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 248, 238, .18); }
.hero__meter span { display: block; height: 100%; width: 100%; background: var(--gold-soft); transform-origin: 0 50%; transform: scaleX(0); }

.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px var(--gutter) 20px;
  overflow: hidden;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 260px;
  height: 170px;
  background: var(--gold);
  opacity: .35;
  -webkit-mask: var(--wave) 0 0 / 40px 20px repeat, radial-gradient(260px 170px at 0 0, #000 30%, transparent 75%);
  -webkit-mask-composite: source-in;
  mask: var(--wave) 0 0 / 40px 20px repeat, radial-gradient(260px 170px at 0 0, #000 30%, transparent 75%);
  mask-composite: intersect;
  pointer-events: none;
}
.hero__panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 240px;
  background: var(--dust) top right / contain no-repeat;
  pointer-events: none;
}
.hero__panel > * { position: relative; z-index: 1; }

.hero__lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(14px, 3vw, 30px); }
.hero__welcome { width: clamp(150px, 40vw, 340px); }
.hero__logo { line-height: 0; }
.hero__logo img { width: auto; height: clamp(112px, 26vw, 240px); }
.hero__tag {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.15;
}
.hero__lede { margin: 0; max-width: 36em; color: var(--ink-2); font-size: 1.08rem; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.hero__cue {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--t-brown);
  font-style: italic;
  font-size: 1rem;
}
.js-scrub .hero__cue { display: flex; }
.hero__cue::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 3px; } }

@media (min-width: 900px) {
  .hero__stage { grid-template-rows: none; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .hero__panel { padding: 40px clamp(32px, 5vw, 80px); gap: 16px; }
  .hero__captions { bottom: 40px; }
}
@media (max-width: 899px) {
  .hero__lede { font-size: 1rem; }
  .btn { min-height: 46px; padding: 9px 20px; }
}

/* ---------- shop bar ---------- */

.shopbar { background: var(--card); border-block: 1px solid var(--line); }
.shopbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 18px; }
.shopbar__title { flex: 0 0 auto; font: 700 1.4rem/1.1 var(--f-serif); color: var(--ink); }
.shopbar__kicker { display: block; margin-bottom: 3px; font-size: .62rem; font-weight: 500; letter-spacing: .16em; color: var(--ink-3); }
.shopbar__where { font-style: italic; color: var(--ink-3); }
.shop-switch {
  display: grid;
  flex: 1 1 320px;
  max-width: 440px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: 12px;
}
.shop-switch:empty { display: none; }
.shop-switch button {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 6px 4px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font: 600 1.08rem/1.1 var(--f-serif);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.shop-switch button:hover { color: var(--ink); background: var(--hover); }
.shop-switch button[aria-checked="true"] { background: var(--navy-ui); color: #FFF8EE; }
.shop-switch small { font: 500 .66rem/1 var(--f-jp); letter-spacing: .1em; opacity: .75; }
.shopbar__info { flex: 1 1 320px; display: grid; gap: 3px; font-size: 1.02rem; }
.shopbar__info p { margin: 0; }
.shopbar__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px !important; }
.shopbar__reserve { font-weight: 700; color: var(--t-red); }
.phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }

.status { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 1.02rem; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--red); }
.status.is-open { color: var(--ok); }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(44, 122, 75, .5); animation: pulse 2.6s ease-out infinite; }
.status.is-closed { color: var(--t-red); }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 8px rgba(44, 122, 75, 0); } }

/* ---------- panels (How to Order / How to Eat / What is Negitoro) ---------- */

.panel {
  position: relative;
  padding: clamp(20px, 3.4vw, 40px);
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 22px;
}
.panel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

.order { list-style: none; margin: 0; padding: 0; display: grid; }
.order li + li { border-top: 1.5px dashed var(--line); }
.order a {
  display: grid;
  grid-template-columns: 92px 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  transition: background-color .2s ease;
}
.order a:hover { background: var(--hover); }
.order img { width: 92px; height: 76px; object-fit: contain; }
.order__num { color: var(--num-gold); font-weight: 500; font-size: 2.6rem; line-height: 1; text-align: center; }
.order__text { font-size: 1.2rem; line-height: 1.25; }
.order__text small { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
@media (min-width: 900px) {
  .order { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .order li + li { border-top: 0; border-left: 1.5px dashed var(--line); }
  .order a { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; padding: 8px 18px; height: 100%; align-items: start; }
  .order img { grid-column: 1 / -1; justify-self: center; width: 150px; height: 118px; margin-bottom: 6px; }
  .order__num { font-size: 3rem; }
  .order__text { align-self: center; }
}
.shop-note { margin: 18px 0 0; color: var(--ink-3); font-size: 1rem; }
.shop-note strong { color: var(--ink); }

/* ---------- menu headers (brush lettering traced from the menu) ---------- */

.menu-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; }
.menu-head__jp { width: auto; height: clamp(48px, 9vw, 78px); }
.menu-head__en { font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; padding-bottom: 4px; }

.basic { margin-top: 16px; }
.basic__label {
  display: inline-block;
  padding: 2px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-weight: 500;
  font-size: 1.02rem;
}
.basic__list { margin: 8px 0 0; font-size: 1.1rem; color: var(--ink-2); max-width: 44em; }

/* ---------- negitoro sequence: one bowl per screen, scroll to step up ---------- */

.seq { margin-top: 18px; }
.seq__stage { position: relative; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.seq__ring { display: none; }
.seq__nav { display: none; }

/* default (no scrubbing): a simple grid of the four bowls */
.seq__tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tier { display: flex; flex-direction: column; gap: 10px; }
.tier__photo { margin: 0; }
.tier__photo img { display: block; width: 100%; }
.tier__info { display: grid; gap: 10px; justify-items: start; }
.tier__count { font-weight: 600; font-size: .82rem; letter-spacing: .18em; color: var(--t-gold); }
.tier__title { display: flex; align-items: flex-end; gap: 16px; }
.tier__type { width: auto; height: 96px; }
.type-text { display: inline-block; height: auto !important; font: 700 3.4rem/1 var(--f-jp); color: var(--orange); }
.bowl .type-text { font-size: 2.8rem; color: var(--t-red); }
.tier__type--wide { height: 150px; }
.tier__meaning { margin: 0; font-style: italic; color: var(--ink-3); font-size: 1.05rem; }
.tier .price { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.tier__adds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 1.12rem; }
.tier__badge { height: 64px; width: auto; }

.js-seq .seq__track { height: calc(var(--n, 4) * 78svh); }
.js-seq .seq__stage {
  position: sticky;
  top: var(--topbar);
  height: calc(100svh - var(--topbar));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  grid-template-areas: "mode" "note" "photo" "info" "nav";
  gap: 8px;
  padding-block: 8px 12px;
}
.js-seq .seq__tiers,
.js-seq .tier { display: contents; }
.js-seq .tier__photo {
  grid-area: photo;
  align-self: stretch;
  justify-self: center;
  width: 100%;
  min-height: 0;
  opacity: var(--o, 0);
  transform: translateY(calc(var(--d, 0) * -18px)) scale(calc(.9 + .1 * var(--o, 0)));
  transform-origin: 50% 100%;
  will-change: opacity, transform;
  pointer-events: none;
}
.js-seq .tier__photo img { width: calc(var(--s, 1) * min(100%, 600px)); height: auto; max-height: 100%; object-fit: contain; }
.js-seq .tier__info {
  grid-area: info;
  align-self: end;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.js-seq .tier.is-active .tier__info { opacity: 1; transform: none; pointer-events: auto; }
.js-seq .seq__ring {
  display: block;
  grid-area: photo;
  align-self: center;
  justify-self: center;
  width: min(84%, calc(100svh - var(--topbar) - 320px));
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--gold-soft);
  box-shadow: 0 0 0 10px rgba(228, 203, 147, .18);
  opacity: .8;
}
.js-seq .seq__nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.seq__nav button {
  appearance: none;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 4px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font: 600 .95rem/1.1 var(--f-serif);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.seq__nav img { width: 52px; height: 40px; object-fit: contain; }
.seq__nav .n-name { font-size: .95rem; }
.seq__nav .n-price { font-weight: 500; color: var(--ink-3); font-size: .85rem; }
.seq__nav button[aria-current="true"] { border-color: var(--t-red); background: var(--card-hi); }
.seq__nav button[aria-current="true"] .n-price { color: var(--t-red); }

/* ---------- Dine in / Takeout: radio buttons, so it works without JavaScript ---------- */

.seq__mode { display: flex; justify-content: center; margin-bottom: 14px; pointer-events: none; }
.seq__mode:empty, .togo-note:empty { display: none !important; }
.mode {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1.5px solid var(--gold-soft);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 8px 22px rgba(60, 38, 14, .14);
  pointer-events: auto;
}
.mode__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mode__opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .35s ease;
}
.mode__opt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mode__input:checked + .mode__opt { color: #FFF8EE; }
.mode__input:focus-visible + .mode__opt { outline: 2.5px solid var(--orange); outline-offset: 2px; }
.mode__thumb {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--navy-ui);
  transition: translate .5s cubic-bezier(.3, 1.35, .5, 1), background-color .4s ease;
}
.mode:has(#mode-togo:checked) .mode__thumb { translate: 100% 0; background-color: var(--red); }

.togo-note {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  max-width: 40em;
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 1.04rem;
  text-align: center;
}
#negitoro:has(#mode-togo:checked) .togo-note { display: flex; animation: togo-note .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes togo-note { from { opacity: 0; translate: 0 -8px; } }

/* the bowl and its takeout box share one spot; switching lifts the bowl away and sets the box down */
.tier__photo { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.tier__photo > img {
  grid-area: 1 / 1;
  transition:
    opacity .45s ease calc(var(--i, 0) * 90ms),
    translate .75s cubic-bezier(.2, .9, .25, 1) calc(var(--i, 0) * 90ms),
    scale .75s cubic-bezier(.2, .9, .25, 1) calc(var(--i, 0) * 90ms),
    rotate .75s cubic-bezier(.2, .9, .25, 1) calc(var(--i, 0) * 90ms);
}
.tier__togo { opacity: 0; translate: 0 16%; scale: .86; rotate: -5deg; }
#negitoro:has(#mode-togo:checked) .tier__dine { opacity: 0; translate: 0 -12%; scale: .9; }
#negitoro:has(#mode-togo:checked) .tier__togo { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
.js-seq .tier__photo > img { transition-delay: 0s; }
.n-thumb { display: grid; }
.n-thumb img { grid-area: 1 / 1; transition: opacity .35s ease; }
.n-togo { opacity: 0; }
#negitoro:has(#mode-togo:checked) .n-dine { opacity: 0; }
#negitoro:has(#mode-togo:checked) .n-togo { opacity: 1; }

.js-seq .seq__mode { grid-area: mode; margin: 0; }
.js-seq .togo-note { grid-area: note; margin: 0; }
@media (min-width: 900px) {
  .js-seq .seq__mode { justify-content: flex-start; padding-top: 18px; }
  .js-seq .togo-note { justify-content: flex-start; text-align: left; padding-top: 14px; }
}

/* compact info on phones */
@media (max-width: 899px) {
  .js-seq .tier__type { height: 62px; }
  .js-seq .tier__type--wide { height: 92px; }
  .js-seq .tier .price { font-size: 2.2rem; }
  .js-seq .tier__info { gap: 6px; }
  .js-seq .tier__info { position: relative; align-self: start; width: 100%; }
  .js-seq .tier__badge { position: absolute; top: 0; right: 0; height: 48px; }
  .js-seq .tier__adds { font-size: 1rem; }
  .js-seq .tier__count { display: none; }
}
@media (min-width: 900px) {
  .js-seq .seq__stage {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "photo mode" "photo note" "photo info" "nav nav";
    column-gap: 40px;
  }
  .js-seq .tier__info { align-self: center; }
  .js-seq .seq__ring { width: min(84%, calc(100svh - var(--topbar) - 190px)); }
  .js-seq .tier__type { height: 132px; }
  .js-seq .tier__type--wide { height: 196px; }
  .js-seq .tier .price { font-size: 3.6rem; }
  .js-seq .tier__badge { height: 84px; }
  .js-seq .tier__adds { font-size: 1.25rem; }
  .js-seq .seq__nav { max-width: 720px; justify-self: center; width: 100%; }
  .seq__nav img { width: 64px; height: 48px; }
}

/* still layout: phones, reduced motion, and viewers that don't scroll the window.
   Every bowl is visible without any scroll tracking. */
html:not(.js-scrub) .hero__stage { height: auto; min-height: 0; }
html:not(.js-scrub) .hero__media { height: auto; aspect-ratio: 4 / 5; max-height: 620px; }
@media (min-width: 900px) { html:not(.js-scrub) .hero__media { max-height: 760px; } }

html:not(.js-seq) .tier {
  position: relative;
  padding: 14px;
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
}
html:not(.js-seq) .tier__count { display: none; }
html:not(.js-seq) .tier__badge { position: absolute; top: 8px; left: 8px; height: 52px; }
html:not(.js-seq) .tier__title { flex-wrap: wrap; align-items: center; gap: 4px 12px; }
html:not(.js-seq) .tier__type--wide { height: 118px; }
@media (max-width: 899px) {
  html:not(.js-seq) .seq__tiers { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html:not(.js-seq) .tier { display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 1fr); align-items: center; gap: 12px; }
  html:not(.js-seq) .tier__info { gap: 8px; }
  html:not(.js-seq) .tier__title { flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  html:not(.js-seq) .tier__type { height: 58px; }
  html:not(.js-seq) .tier__type--wide { height: 84px; }
  html:not(.js-seq) .tier .price { font-size: 2rem; }
  html:not(.js-seq) .tier__meaning { font-size: .95rem; }
  html:not(.js-seq) .tier__adds { gap: 6px; font-size: .98rem; }
  html:not(.js-seq) .tier__badge { height: 40px; top: 6px; left: 6px; }
  /* Tokujo, the most popular bowl, gets the big card, as on the printed menu */
  html:not(.js-seq) .tier--top {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 16px 18px;
    border-color: var(--gold);
    box-shadow: 0 0 0 5px rgba(228, 203, 147, .28);
  }
  html:not(.js-seq) .tier--top .tier__photo { width: min(100%, 440px); justify-self: center; }
  html:not(.js-seq) .tier--top .tier__type--wide { height: 112px; }
  html:not(.js-seq) .tier--top .price { font-size: 2.6rem; }
  html:not(.js-seq) .tier--top .tier__adds { font-size: 1.05rem; }
  html:not(.js-seq) .tier--top .tier__badge { height: 58px; top: 10px; left: 10px; }
}

/* ---------- ① toppings ---------- */

#toppings { padding-top: clamp(36px, 5vw, 64px); }
.toppings { display: grid; gap: 16px; margin-top: 18px; }
.toppings__simple { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.topping { display: grid; justify-items: center; gap: 8px; padding: 16px 12px; text-align: center; }
.topping h4 { font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.topping img { width: auto; max-width: 100%; height: 110px; object-fit: contain; }
.topping .price { font-size: 1.7rem; }
.toppings__simple .topping + .topping { border-left: 1.5px dashed var(--line); }

.shower {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title title" "photo price";
  align-items: center;
  gap: 8px 16px;
  padding: 22px 22px 20px;
  background: var(--card);
  border: 2px solid var(--pink);
  border-radius: 6px;
  outline: 1px solid var(--pink);
  outline-offset: -9px;
}
.shower__title { grid-area: title; text-align: center; }
.shower__title h4 { color: var(--t-red); font-weight: 600; font-size: 1.7rem; letter-spacing: .02em; line-height: 1.1; }
.shower__title p { margin: 2px 0 0; color: var(--t-red); font-size: 1.1rem; }
.shower img { grid-area: photo; width: 100%; max-height: 150px; object-fit: contain; }
.shower__buy { grid-area: price; text-align: center; }
.shower__buy .price { font-size: 2rem; }
.shower__buy p { margin: 6px 0 0; font-size: 1.02rem; line-height: 1.3; color: var(--ink-2); }
@media (min-width: 900px) {
  .toppings { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
}

/* ---------- 海鮮丼 sashimi bowls ---------- */

.kaisen { display: grid; gap: 16px; margin-top: 22px; }
.bowl {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.bowl__photo { margin: 0; }
.bowl__photo img { display: block; width: 100%; }
.bowl__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bowl__type { width: auto; height: 78px; }
.bowl .price { font-size: 2rem; }
.bowl__meaning { margin: 4px 0 0; font-style: italic; color: var(--ink-3); font-size: 1rem; }
.contents { margin: 8px 0 0; font-size: 1.06rem; line-height: 1.45; color: var(--ink-2); }
.contents .star { color: var(--t-red); font-weight: 600; }

.bowl--featured { grid-template-columns: minmax(0, 1fr); }
.bowl--featured .bowl__type { height: 104px; }
.bowl--featured img.bowl__type { width: min(100%, 420px); height: auto; } /* 福寿 Fukuju lettering is wide */
.bowl__name {
  position: relative;
  display: inline-block;
  color: var(--t-red);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  z-index: 0;
}
.bowl__name::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6%;
  right: -12%;
  top: 52%;
  height: 46%;
  background: linear-gradient(100deg, rgba(228, 203, 147, 0) 0%, rgba(228, 203, 147, .9) 8%, rgba(214, 186, 120, .85) 70%, rgba(228, 203, 147, 0) 100%);
  border-radius: 40% 60% 50% 40% / 60% 40% 60% 40%;
  transform: rotate(-2deg);
}
@media (min-width: 700px) {
  .kaisen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bowl { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 16px; }
  .bowl--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center; }
}

/* ---------- navy panel ---------- */

.navy {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 96px);
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--navy);
  color: #F6EFE2;
}
.navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #7F98C8;
  opacity: .16;
  -webkit-mask: var(--wave) 0 0 / 56px 28px repeat, linear-gradient(to top, #000 10%, transparent 75%);
  -webkit-mask-composite: source-in;
  mask: var(--wave) 0 0 / 56px 28px repeat, linear-gradient(to top, #000 10%, transparent 75%);
  mask-composite: intersect;
}
.navy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 12%, var(--gold-navy) 0 2.5px, transparent 3px),
    radial-gradient(circle at 92% 22%, var(--gold-navy) 0 3px, transparent 3.5px),
    radial-gradient(circle at 64% 8%, var(--gold-navy) 0 2px, transparent 2.5px),
    radial-gradient(circle at 30% 30%, var(--gold-navy) 0 1.5px, transparent 2px),
    radial-gradient(circle at 80% 60%, var(--gold-navy) 0 2px, transparent 2.5px);
  opacity: .8;
  pointer-events: none;
}
.navy > .wrap { position: relative; z-index: 1; }
.navy__grid { display: grid; gap: 28px; }
.navy-bowl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 14px; text-align: center; }
.navy-bowl h3 { color: var(--gold-navy); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.1; }
.navy-bowl .jp { display: block; margin-top: 4px; color: var(--gold-navy); font: 700 1.2rem/1.2 var(--f-jp); letter-spacing: .06em; }
.navy-bowl .price { margin-top: 10px; color: #fff; font-size: clamp(2.2rem, 5vw, 2.8rem); }
.navy-bowl p { margin: 10px 0 0; color: #EDE5D6; font-size: 1.08rem; line-height: 1.4; }
.navy-bowl img { width: 100%; }
@media (min-width: 900px) {
  .navy__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .navy-bowl { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .navy-bowl__photo { order: -1; }
}

/* ---------- ② miso ---------- */

.miso { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 20px; }
.miso-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; }
.miso-item img { width: 84px; height: 84px; object-fit: contain; }
.miso-item h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.miso-item .price { margin-top: 4px; font-size: 1.6rem; }
.miso-item .note { display: block; font-size: .85rem; color: var(--ink-3); }
.miso-item .regular { display: inline-block; margin-top: 4px; padding: 1px 8px; border: 1px solid var(--ink-3); border-radius: 4px; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 520px) {
  .miso { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  .miso { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .miso-item { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .miso-item img { width: 120px; height: 110px; }
}

/* ---------- ③ chazuke ---------- */

.chazuke { display: grid; gap: 20px; margin-top: 18px; align-items: center; }
.chazuke__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chazuke__steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; }
.chazuke__steps li + li::before { content: "›"; position: absolute; left: -9px; top: 26px; color: var(--ink-3); font-size: 1.6rem; line-height: 1; }
.chazuke__steps img { width: 72px; height: 62px; object-fit: contain; }
.chazuke__steps b { color: var(--t-red); font-weight: 600; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.chazuke__steps span { font-size: .9rem; line-height: 1.25; color: var(--ink-2); }
.chazuke__buy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.chazuke__buy img { width: 180px; }
.chazuke__buy .price { color: var(--t-red); font-size: 2.6rem; }
.chazuke__buy p { margin: 6px 0 0; font-size: 1.08rem; }
@media (min-width: 900px) {
  .chazuke { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .chazuke__steps img { width: 96px; height: 82px; }
  .chazuke__steps li + li::before { top: 34px; }
  .chazuke__buy img { width: 220px; }
}
.chazuke__about { display: grid; gap: 16px; align-items: center; margin-top: 26px; padding: 22px 24px; }
.chazuke__about h3 { font-size: clamp(1.6rem, 3.6vw, 2rem); }
.chazuke__about p:last-child { margin: 0; color: var(--ink-2); }
.chazuke__about img { width: 180px; justify-self: center; }
@media (min-width: 760px) { .chazuke__about { grid-template-columns: minmax(0, 1fr) 200px; } }

/* ---------- other toppings / drinks ---------- */

.lists { display: grid; gap: 20px; }
@media (min-width: 900px) { .lists { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.list-card { padding: clamp(18px, 3vw, 30px); background: var(--panel); border: 1.5px solid var(--line); border-radius: 22px; }
.ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.1rem);
  text-align: center;
  line-height: 1.1;
}
.ornament::before,
.ornament::after { content: ""; height: 1.5px; background: var(--gold); }
.list-card .ornament + * { position: relative; margin-top: 30px; }
.ornament + *::before {
  content: "◆";
  position: absolute;
  top: -22px;
  left: 50%;
  translate: -50% 0;
  color: var(--t-gold);
  font-size: .7rem;
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 1.15rem; }
.price-list .name { font-weight: 600; }
.price-list .name .regular { display: table; margin: 3px 0 0; font-weight: 400; }
.price-list .lead { flex: 1; min-width: 14px; border-bottom: 2px dotted var(--leader); transform: translateY(-4px); }
.price-list .portion { color: var(--ink-3); font-size: .95rem; white-space: nowrap; }
.price-list li.has-thumb { align-items: center; }
.price-list .thumb { flex: none; display: grid; place-items: center; width: 58px; height: 46px; }
.price-list .thumb img { max-width: 58px; max-height: 46px; width: auto; height: auto; }
.price-list li.has-thumb .lead { transform: translateY(6px); }
.price-list .amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list .regular { margin-left: 8px; padding: 1px 8px; border: 1px solid var(--ink-3); border-radius: 5px; font-size: .8rem; color: var(--ink-2); white-space: nowrap; }

/* ---------- how to eat ---------- */

.eat { list-style: none; margin: 0; padding: 0; }
.eat li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 96px; align-items: center; gap: 14px; padding: 12px 0; }
.eat li + li { border-top: 1.5px dashed var(--line); }
.eat__num { color: var(--t-navy); font-weight: 500; font-size: 3rem; line-height: 1; text-align: center; }
.eat p { margin: 0; font-size: 1.14rem; line-height: 1.4; }
.eat img { width: 96px; height: 80px; object-fit: contain; }
.eat__tip { margin: 14px 0 0; font-style: italic; color: var(--ink-3); }
@media (min-width: 900px) {
  .eat li { grid-template-columns: 64px minmax(0, 1fr) 170px; gap: 22px; }
  .eat__num { font-size: 3.6rem; }
  .eat p { font-size: 1.28rem; }
  .eat img { width: 170px; height: 120px; }
}

/* ---------- what is negitoro ---------- */

.panel--what { display: grid; gap: 24px; }
.what__text > p { margin: 0 0 12px; font-size: 1.14rem; color: var(--ink-2); max-width: 38em; }
.ingredients { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ingredients li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .9rem; line-height: 1.2; }
.ingredients img { width: 100%; max-width: 110px; height: 70px; object-fit: contain; }
.what__media { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.photo-tile { position: relative; margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; background: #2A1C12; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile figcaption { position: absolute; left: 12px; bottom: 10px; color: #FFF8EE; font-style: italic; font-weight: 600; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.what__chef { width: 100%; }
@media (min-width: 900px) {
  .panel--what { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- coming soon ---------- */

.soon { display: grid; justify-items: center; gap: 8px; padding: clamp(28px, 5vw, 52px) clamp(18px, 4vw, 48px); text-align: center; overflow: hidden; }
.soon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 160px;
  background: var(--gold);
  opacity: .3;
  -webkit-mask: var(--wave) 0 0 / 40px 20px repeat, radial-gradient(240px 160px at 100% 0, #000 20%, transparent 75%);
  -webkit-mask-composite: source-in;
  mask: var(--wave) 0 0 / 40px 20px repeat, radial-gradient(240px 160px at 100% 0, #000 20%, transparent 75%);
  mask-composite: intersect;
}
.soon__logo { width: 140px; position: relative; }
.soon__title { position: relative; color: var(--t-navy); font-weight: 600; font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1; }
.soon__title span { display: block; margin-top: 8px; color: var(--t-brown); font-size: .52em; letter-spacing: .03em; text-transform: uppercase; }
.soon__lede { margin: 6px 0 0; font-size: 1.2rem; max-width: 22em; }
.soon__grid { display: grid; gap: 22px; width: 100%; margin-top: 18px; padding-top: 22px; border-top: 1.5px solid var(--gold-soft); }
.soon-item h3 { color: var(--t-navy); font-weight: 600; font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; }
.soon-item .tag { display: block; color: var(--t-brown); font-weight: 600; letter-spacing: .06em; }
.soon-item img { height: 22px; width: auto; margin: 10px auto 6px; display: block; }
.soon-item p { margin: 0 auto; max-width: 18em; color: var(--ink-2); }
.soon__foot { margin: 16px 0 0; font-size: 1.15rem; }
@media (min-width: 700px) {
  .soon__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .soon__grid > * + * { border-left: 1.5px solid var(--ink-3); }
}

/* ---------- visit ---------- */

.visit { padding-bottom: clamp(56px, 8vw, 104px); }
.visit__inner { display: grid; gap: 24px; }
.visit__photo { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; background: #3a2616; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.visit__lede { margin: 10px 0 0; color: var(--ink-2); max-width: 40em; }
.shops { display: grid; gap: 14px; margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.shop { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.shop.is-current { border-color: var(--t-navy); box-shadow: inset 0 0 0 1px var(--t-navy); }
.shop__jp { margin: 0; font: 500 .8rem/1.2 var(--f-jp); letter-spacing: .14em; color: var(--ink-3); }
.shop h3 { font-weight: 700; font-size: 1.7rem; line-height: 1.05; }
.shop__blurb { margin: 2px 0 0; font-style: italic; color: var(--ink-3); font-size: 1rem; }
.shop dl { display: grid; gap: 8px; margin: 0; }
.shop dl div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; }
.shop dt { padding-top: .3em; font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.shop dd { margin: 0; font-size: 1.04rem; line-height: 1.4; }
.shop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.linkish { appearance: none; padding: 8px 2px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 1rem; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; cursor: pointer; }
.shop__current { font-style: italic; font-size: .98rem; color: var(--ink-3); }
@media (min-width: 1000px) {
  .visit__inner { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); align-items: start; }
  .visit__photo { aspect-ratio: 3 / 5; position: sticky; top: calc(var(--topbar) + 20px); }
}

/* ---------- footer ---------- */

.footer { position: relative; overflow: hidden; padding-block: 52px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--navy); color: #F6EFE2; }
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #7F98C8;
  opacity: .14;
  -webkit-mask: var(--wave) 0 0 / 48px 24px repeat, linear-gradient(to bottom, #000, transparent 80%);
  -webkit-mask-composite: source-in;
  mask: var(--wave) 0 0 / 48px 24px repeat, linear-gradient(to bottom, #000, transparent 80%);
  mask-composite: intersect;
}
.footer__inner { position: relative; display: grid; gap: 26px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: end; } }
.footer__logo {
  display: block;
  width: 132px;
  aspect-ratio: 492 / 540;
  /* cream line art on its own navy, so the wave pattern behind never shows through the letters */
  background: url("../img/type/logo-mark-navy.webp") left center / contain no-repeat;
}
.footer__tag { margin: 10px 0 0; color: var(--gold-navy); font-size: 1.1rem; }
.footer__meta { display: grid; gap: 10px; }
.footer__meta p { margin: 0; }
.footer a { color: #F6EFE2; text-decoration-color: var(--gold-navy); }
.footer__advisory { max-width: 62ch; font-size: .95rem; color: #C7CFDF; }
.footer__fine { font-size: .88rem; color: #C7CFDF; }

/* ---------- opening: the noren curtain parts (first visit in a session, set up in <head>) ---------- */

.intro { display: none; }
html.opening .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  cursor: pointer;
  animation: intro-done 0s linear 2.05s forwards; /* gone even if the page's script never runs */
}
@keyframes intro-done { to { visibility: hidden; pointer-events: none; } }
html.intro-skip .intro { animation: intro-skip .35s ease forwards; }
@keyframes intro-skip { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro__half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  overflow: hidden;
  background: var(--navy);
  animation: .95s cubic-bezier(.77, 0, .18, 1) 1.05s both;
}
.intro__half--l { left: 0; animation-name: intro-part-l; box-shadow: inset -1px 0 0 rgba(212, 175, 106, .45); }
.intro__half--r { right: 0; animation-name: intro-part-r; }
.intro__half::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #7F98C8;
  opacity: .18;
  -webkit-mask: var(--wave) 0 0 / 56px 28px repeat, linear-gradient(to top, #000 5%, transparent 60%);
  -webkit-mask-composite: source-in;
  mask: var(--wave) 0 0 / 56px 28px repeat, linear-gradient(to top, #000 5%, transparent 60%);
  mask-composite: intersect;
}
.intro__half--r::before { -webkit-mask-position: -28px 0, 0 0; mask-position: -28px 0, 0 0; }
@keyframes intro-part-l { to { transform: translateX(-101%); } }
@keyframes intro-part-r { to { transform: translateX(101%); } }
.intro { --logo-w: min(46vw, 220px); }
.intro__logo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: var(--logo-w);
  aspect-ratio: 492 / 540;
  margin: calc(var(--logo-w) * -540 / 492 / 2) 0 0 calc(var(--logo-w) / -2);
  background: url("../img/type/logo-mark-navy.webp") center / contain no-repeat;
  animation: intro-logo 1.35s cubic-bezier(.2, .7, .2, 1) .05s both;
}
@keyframes intro-logo {
  0% { opacity: 0; transform: scale(.9); filter: blur(8px); }
  38% { opacity: 1; transform: none; filter: blur(0); }
  72% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-16px) scale(1.03); }
}
.intro__line {
  position: absolute;
  left: 50%;
  top: calc(46% + var(--logo-w) * 540 / 492 / 2 + 20px);
  width: min(40vw, 200px);
  height: 2px;
  margin-left: calc(min(40vw, 200px) / -2);
  background: linear-gradient(to right, transparent, #D9B878 20%, #D9B878 80%, transparent);
  transform-origin: 50% 50%;
  animation: intro-line 1.35s cubic-bezier(.6, 0, .2, 1) .2s both;
}
@keyframes intro-line {
  0% { transform: scaleX(0); opacity: 1; }
  45% { transform: scaleX(1); opacity: 1; }
  75% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1.2); opacity: 0; }
}

/* ---------- entrance: the welcome is written in, the logo stamps, the rest rises ---------- */

html.enter { --intro: 0s; }
html.opening { --intro: 1.15s; }
html.enter .topbar { animation: enter-down .75s cubic-bezier(.2, .8, .2, 1) calc(var(--intro) + .05s) both; }
html.enter .hero__media { animation: enter-media 1.5s cubic-bezier(.2, .8, .2, 1) var(--intro) both; }
html.enter .hero__welcome { animation: enter-brush 1.05s cubic-bezier(.65, 0, .25, 1) calc(var(--intro) + .15s) both; }
html.enter .hero__logo { animation: enter-stamp .75s cubic-bezier(.2, 1.35, .35, 1) calc(var(--intro) + .6s) both; }
html.enter .hero__tag { animation: enter-up .8s cubic-bezier(.2, .8, .2, 1) calc(var(--intro) + .85s) both; }
html.enter .hero__lede { animation: enter-up .8s cubic-bezier(.2, .8, .2, 1) calc(var(--intro) + .95s) both; }
html.enter .hero__actions > * { animation: enter-up .7s cubic-bezier(.2, .8, .2, 1) calc(var(--intro) + 1.05s) both; }
html.enter .hero__actions > :nth-child(2) { animation-delay: calc(var(--intro) + 1.13s); }
html.enter .hero__actions > :nth-child(3) { animation-delay: calc(var(--intro) + 1.21s); }
html.enter .hero__cue { animation: enter-fade .8s ease calc(var(--intro) + 1.45s) both; }
html.enter .hero__panel::after { animation: enter-dust 2s ease-out calc(var(--intro) + .3s) both; }
html.enter .shopbar { animation: enter-fade .8s ease calc(var(--intro) + 1.1s) both; }
@media (hover: none), (pointer: coarse), (max-width: 899px) {
  html.enter .hero__media { animation-name: enter-fade; animation-duration: .9s; }
  html.enter .hero__panel::after { animation: none; }
}
@keyframes enter-down { from { transform: translateY(-100%); } }
@keyframes enter-media { from { opacity: 0; transform: scale(1.08); filter: blur(12px); } }
@keyframes enter-brush { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes enter-stamp { from { opacity: 0; transform: scale(1.3); } }
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes enter-fade { from { opacity: 0; } }
@keyframes enter-dust { from { opacity: 0; transform: translate(-12px, 10px) scale(.96); } }

/* ---------- while scrolling (browsers with scroll-driven animations; the rest see still photos) ---------- */

@supports (animation-timeline: view()) {
  /* desktop only: on phones these run on every scroll frame and make scrolling feel heavy */
  @media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) and (min-width: 900px) {
    /* dish photos grow in from below and settle back as they leave the top */
    :is(.bowl__photo, .navy-bowl__photo, .miso-item, .topping, .shower, .chazuke__buy) > img,
    html:not(.js-seq) .tier__photo {
      animation: dish-scroll linear both;
      animation-timeline: view();
    }
    @keyframes dish-scroll {
      entry 0% { transform: translateY(10%) scale(.88); }
      entry 90% { transform: none; }
      exit 10% { transform: none; opacity: 1; }
      exit 100% { transform: translateY(-6%) scale(.94); opacity: .35; }
    }
    /* on phones the pour eases back as you scroll into the menu */
    html:not(.js-scrub) :is(.hero__poster, .hero__canvas.is-ready) {
      animation: hero-leave linear both;
      animation-timeline: view();
      animation-range: exit;
    }
    @keyframes hero-leave { to { transform: scale(1.12); filter: brightness(.7); } }
    /* the navy panel's waves drift as it passes */
    .navy::before, .footer::before {
      animation: wave-drift linear both;
      animation-timeline: view();
    }
    @keyframes wave-drift {
      from { -webkit-mask-position: 0 0, 0 0; mask-position: 0 0, 0 0; }
      to { -webkit-mask-position: 168px 0, 0 0; mask-position: 168px 0, 0 0; }
    }
    /* a gold thread along the bottom of the top bar shows how far down the menu you are */
    .topbar::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: linear-gradient(to right, var(--gold), var(--t-red));
      transform-origin: 0 50%;
      animation: read-progress linear both;
      animation-timeline: scroll(root block);
    }
    @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* ---------- hover: mouse and trackpad only (phones scroll as usual), never with reduced motion ----------
   Uses the separate translate / rotate / scale properties, so it adds to the scroll and
   entrance animations (which use transform) instead of fighting them. */

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* dish cards lean toward the cursor, with a soft light across them (--dx/--dy come from app.js) */
  .kaisen, html:not(.js-seq) .seq__tiers, .toppings { perspective: 1400px; }
  .tilt {
    rotate: var(--ax, 0) var(--ay, 1) 0 var(--ta, 0deg);
    transition: rotate .7s cubic-bezier(.2, .9, .3, 1.25), translate .6s cubic-bezier(.2, .9, .3, 1.25), box-shadow .5s ease;
  }
  .tilt.is-tilting {
    translate: 0 -6px;
    box-shadow: 0 22px 44px -22px rgba(60, 38, 14, .5), 0 0 0 1px var(--gold-soft);
    transition-duration: .15s, .5s, .5s;
    transition-timing-function: ease-out, cubic-bezier(.2, .9, .3, 1.25), ease;
  }
  :root[data-theme="dark"] .tilt.is-tilting { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--gold-soft); }
  .tilt::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 250, 238, .5), rgba(255, 250, 238, 0) 46%);
    mix-blend-mode: soft-light;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
  }
  :root[data-theme="dark"] .tilt::after { mix-blend-mode: screen; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 236, 200, .14), rgba(255, 236, 200, 0) 46%); }
  .tilt.is-tilting::after { opacity: 1; }
  /* the photo floats a little further than the card, for depth */
  .bowl__photo, html:not(.js-seq) .tier__photo, .shower > img {
    transition: translate .7s cubic-bezier(.2, .9, .3, 1.25), scale .7s cubic-bezier(.2, .9, .3, 1.25);
  }
  .tilt.is-tilting :is(.bowl__photo, .tier__photo),
  .tilt.is-tilting.shower > img {
    translate: calc(var(--dx, 0) * 12px) calc(var(--dy, 0) * 9px - 6px);
    scale: 1.06;
  }
  .bowl__type, .tier__type, .tier__badge { transition: scale .5s cubic-bezier(.2, 1.4, .4, 1), rotate .5s cubic-bezier(.2, 1.4, .4, 1); }
  .tilt.is-tilting :is(.bowl__type, .tier__type) { scale: 1.07; rotate: -3deg; }
  .tilt.is-tilting .tier__badge { scale: 1.1; rotate: 6deg; }

  /* salmon, rainbow and maguro bowls on the navy panel rise out of it */
  .navy-bowl__photo { transition: translate .6s cubic-bezier(.2, .9, .3, 1.25), scale .6s cubic-bezier(.2, .9, .3, 1.25), filter .6s ease; }
  .navy-bowl:hover .navy-bowl__photo { translate: 0 -10px; scale: 1.06; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .45)); }
  .navy-bowl h3 { transition: color .4s ease; }
  .navy-bowl:hover h3 { color: #F3D9A2; }

  /* small dishes: a little lift and turn */
  :is(.topping, .miso-item, .price-list .thumb) img { transition: translate .5s cubic-bezier(.2, 1.4, .4, 1), rotate .5s cubic-bezier(.2, 1.4, .4, 1), scale .5s cubic-bezier(.2, 1.4, .4, 1); }
  .topping:hover img { translate: 0 -8px; rotate: -5deg; scale: 1.08; }
  .miso-item:hover img { rotate: 10deg; scale: 1.12; }
  .price-list li:hover .thumb img { scale: 1.18; rotate: -6deg; }

  /* price lists: the row lights up and the leader dots turn gold */
  .price-list li { margin-inline: -10px; padding-inline: 10px; border-radius: 8px; transition: background-color .25s ease; }
  .price-list li:hover { background: var(--hover); }
  .price-list .name, .price-list .amt { transition: translate .35s cubic-bezier(.2, 1.4, .4, 1), color .25s ease; }
  .price-list .lead { transition: border-color .25s ease; }
  .price-list li:hover .name { translate: 4px 0; }
  .price-list li:hover .amt { color: var(--t-red); }
  .price-list li:hover .lead { border-color: var(--gold); }

  /* the step illustrations hop */
  @keyframes hop {
    0% { translate: 0 0; rotate: 0deg; }
    30% { translate: 0 -9px; rotate: -5deg; }
    60% { translate: 0 1px; rotate: 2deg; }
    80% { translate: 0 -2px; rotate: 0deg; }
    100% { translate: 0 0; rotate: 0deg; }
  }
  .order a:hover img,
  .chazuke__steps li:hover img,
  .eat li:hover img,
  .ingredients li:hover img { animation: hop .7s cubic-bezier(.3, .7, .4, 1); }
  .order__num { transition: scale .45s cubic-bezier(.2, 1.4, .4, 1), rotate .45s cubic-bezier(.2, 1.4, .4, 1), color .3s ease; }
  .order a:hover .order__num { scale: 1.15; rotate: -8deg; color: var(--t-red); }
  .eat__num { transition: scale .45s cubic-bezier(.2, 1.4, .4, 1); }
  .eat li:hover .eat__num { scale: 1.12; }

  /* photos in frames slowly lean in */
  .photo-tile img, .visit__photo img { transition: scale 1.4s cubic-bezier(.2, .8, .2, 1); }
  .photo-tile:hover img, .visit__photo:hover img { scale: 1.07; }

  /* shop and coming-soon cards lift; the fish swims */
  .shop, .soon-item, .list-card { transition: translate .5s cubic-bezier(.2, 1.3, .4, 1), box-shadow .5s ease; }
  .shop:hover, .list-card:hover { translate: 0 -4px; box-shadow: 0 18px 36px -22px rgba(60, 38, 14, .45); }
  :root[data-theme="dark"] :is(.shop, .list-card):hover { box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
  @keyframes swim { 0%, 100% { translate: 0 0; rotate: 0deg; } 25% { translate: 6px -2px; rotate: -6deg; } 75% { translate: -6px 2px; rotate: 6deg; } }
  .soon-item:hover img { animation: swim 1.4s ease-in-out infinite; }

  /* buttons lift and catch a sheen of light */
  .btn {
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%);
    background-size: 260% 100%;
    background-position: 130% 0;
    background-repeat: no-repeat;
    transition: transform .2s ease, translate .35s cubic-bezier(.2, 1.4, .4, 1), box-shadow .35s ease, background-color .2s ease, color .2s ease;
  }
  @keyframes sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }
  .btn:hover { translate: 0 -2px; box-shadow: 0 10px 20px -10px rgba(40, 20, 10, .5); animation: sheen .8s ease-out; }
  .topbar__order { transition: translate .35s cubic-bezier(.2, 1.4, .4, 1), box-shadow .35s ease; }
  .topbar__order:hover { translate: 0 -1px; box-shadow: 0 8px 16px -8px rgba(40, 20, 10, .5); }

  /* bowl sequence thumbnails */
  .seq__nav button { transition: border-color .2s ease, background-color .2s ease, translate .4s cubic-bezier(.2, 1.4, .4, 1); }
  .seq__nav button:hover { translate: 0 -3px; border-color: var(--gold); }
  .n-thumb { transition: scale .4s cubic-bezier(.2, 1.4, .4, 1), rotate .4s cubic-bezier(.2, 1.4, .4, 1); }
  .seq__nav button:hover .n-thumb { scale: 1.14; rotate: -5deg; }

  /* logo in the top bar gives a little bow */
  .topbar__brand img { transition: rotate .5s cubic-bezier(.2, 1.4, .4, 1); }
  .topbar__brand:hover img { rotate: -4deg; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
}

/* ---------- 日本語 (ja.html) ----------
   Latin letters and prices stay in EB Garamond; kana and kanji come from Shippori Mincho.
   Japanese has no italics, so slanted headings stay upright instead of being faked. */

html[lang="ja"] {
  --f-serif: "EB Garamond", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-synthesis-style: none;
  line-break: strict;
}
html[lang="ja"] body { font-size: 1.0625rem; line-height: 1.75; }
/* short and narrow text breaks between phrases (Chrome, Edge); long paragraphs break anywhere, as in print */
html[lang="ja"] :is(h1, h2, h3, h4, .btn, .chips a, .order__text, .hero__captions, .tier__adds, .rule-caption, .sub-brown,
  .ingredients li, .chazuke__steps span, .chazuke__buy p, .contents, .navy-bowl p, .basic__list, .eat p, .price-list .name,
  .soon-item p, .shop dd, .shop__blurb, .shopbar__info p, .photo-tile figcaption, .eat__tip) {
  word-break: auto-phrase;
}
html[lang="ja"] :is(h1, h2, h3, h4) { font-feature-settings: "palt"; letter-spacing: .04em; line-height: 1.3; }
html[lang="ja"] .h-serif { font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 700; }
html[lang="ja"] .h-serif small { font-size: .6em; font-weight: 600; letter-spacing: .08em; margin-bottom: .25em; }
html[lang="ja"] .h-italic { font-size: clamp(1.45rem, 3.4vw, 2.1rem); }
html[lang="ja"] .h-italic .circle { font-style: italic; }
html[lang="ja"] .menu-head__en { font-size: clamp(1.05rem, 2.4vw, 1.35rem); letter-spacing: .12em; }
html[lang="ja"] .rule-caption { font-size: 1.02rem; letter-spacing: .06em; }
html[lang="ja"] .chips a { padding-inline: 8px; font-size: .9rem; letter-spacing: 0; }
html[lang="ja"] .topbar__order { font-size: .92rem; }
html[lang="ja"] .btn { letter-spacing: .06em; }
html[lang="ja"] .hero__tag { letter-spacing: .14em; }
html[lang="ja"] .hero__lede { line-height: 1.85; }
html[lang="ja"] .hero__captions b { letter-spacing: .08em; }
html[lang="ja"] .tier__meaning,
html[lang="ja"] .bowl__meaning { font-size: .95rem; letter-spacing: .3em; }
html[lang="ja"] .bowl__name { letter-spacing: .3em; }
html[lang="ja"] .tier__adds { font-size: 1.02rem; }
html[lang="ja"] .contents { font-size: 1rem; line-height: 1.7; }
html[lang="ja"] .basic__list { font-size: 1rem; line-height: 1.8; }
html[lang="ja"] .shower__title h4 { font-size: 1.45rem; letter-spacing: .06em; }
html[lang="ja"] .navy-bowl h3 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); letter-spacing: .08em; }
html[lang="ja"] .navy-bowl .alt { display: block; margin-top: 6px; font: italic 600 1.1rem/1.2 var(--f-serif); letter-spacing: .02em; color: var(--gold-navy); }
html[lang="ja"] .navy-bowl p,
html[lang="ja"] .miso-item h3 { font-size: 1rem; line-height: 1.6; }
html[lang="ja"] .chazuke__steps b { letter-spacing: .14em; }
html[lang="ja"] .eat p,
html[lang="ja"] .what__text p,
html[lang="ja"] .chazuke__about p,
html[lang="ja"] .visit__lede { line-height: 1.9; }
html[lang="ja"] .soon-item h3 { font-size: 1.3rem; }
html[lang="ja"] .soon__title span { letter-spacing: .12em; }
html[lang="ja"] .price-list .name { letter-spacing: .02em; }
html[lang="ja"] .shop dt { letter-spacing: .2em; font-size: .78rem; }
html[lang="ja"] .shop h3 { letter-spacing: .08em; }
html[lang="ja"] .shop__jp { font-family: var(--f-serif); font-size: .9rem; letter-spacing: .06em; }
html[lang="ja"] .shopbar__title { font-size: 1.3rem; letter-spacing: .06em; }
html[lang="ja"] .shopbar__kicker { font-family: var(--f-serif); font-size: .72rem; letter-spacing: .08em; }
html[lang="ja"] .footer__advisory { line-height: 1.7; }

/* おすすめ / 一番人気: a red hanko stamp in place of the English brush badges */
.tier__badge--text {
  display: inline-grid;
  place-items: center;
  height: auto;
  padding: .32em .7em .38em;
  border: 2px solid var(--t-red);
  border-radius: 8px;
  color: var(--t-red);
  font: 800 1.05rem/1 var(--f-jp);
  letter-spacing: .14em;
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px color-mix(in srgb, var(--t-red) 55%, transparent);
}

/* ---------- phones: keep scrolling light ---------- */
@media (hover: none), (pointer: coarse) {
  .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
}
/* entrances on phones: a quick fade, no movement (set by app.js; content shows without it) */
.fade-in { opacity: 0; transition: opacity .5s ease; }
.fade-in.is-in { opacity: 1; }

