/* ==========================================================================
   三代目太三郎 京都本店 — "斜光と影の茶房"
   Plaster-grey walls, charcoal tables, solid-wood boards. One brand colour:
   --brand, the green of the official TASABURO crest (logo #475E37).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --plaster: #e7e4de;
  --plaster-2: #dcd8d0;
  --paper: #f3f1ec;
  --ink: #22231f;
  --ink-2: #45463f;
  --ink-3: #5c5c54;
  --brand: #475e37;
  --brand-deep: #36492a;
  --on-brand: #f6f5ee;
  --noren: #3c845a;
  --moss: #6f7d34;
  --wood: #d6ae80;
  --wood-deep: #b88a5a;
  --slate: #22231f;
  --on-slate: #ece8df;
  --line: rgba(34, 35, 31, 0.14);
  --line-strong: rgba(34, 35, 31, 0.32);
  --glass: rgba(243, 241, 236, 0.66);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow: 0 28px 60px -32px rgba(40, 36, 24, 0.45);
  --lit-shadow: rgba(34, 32, 22, 0.5);
  --light-tint: rgba(255, 246, 222, 0.5);
  --radius: 16px;
  --radius-lg: 26px;
  --gutter: clamp(18px, 4.4vw, 56px);
  --header-h: 64px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --font-brand: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --lh: 1.9;
  --tracking: 0.04em;
  color-scheme: light;
}
:root[data-lang="en"] {
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lh: 1.65;
  --tracking: 0;
}
:root[data-lang="ko"] {
  --font-display: "Noto Serif KR", "AppleMyungjo", serif;
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --lh: 1.8;
  --tracking: 0;
}
:root[data-lang="zh-tw"] {
  --font-display: "Noto Serif TC", "PingFang TC", "Songti TC", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --lh: 1.9;
  --tracking: 0.03em;
}
:root[data-lang="zh-cn"] {
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --lh: 1.9;
  --tracking: 0.03em;
}

/* Time-of-day UI (Kyoto time): late-afternoon warmth, evening charcoal. */
:root[data-daypart="dusk"] {
  --plaster: #e5dfd4;
  --plaster-2: #d9d1c4;
  --paper: #f2ede4;
  --light-tint: rgba(255, 214, 160, 0.42);
}
:root[data-daypart="night"] {
  --plaster: #22231f;
  --plaster-2: #2a2b26;
  --paper: #2f302a;
  --ink: #ece8df;
  --ink-2: #cfcabd;
  --ink-3: #b2ad9f;
  --brand: #b9cda2;
  --brand-deep: #cfddbd;
  --on-brand: #1b2216;
  --line: rgba(236, 232, 223, 0.14);
  --line-strong: rgba(236, 232, 223, 0.34);
  --glass: rgba(34, 35, 31, 0.62);
  --glass-border: rgba(255, 255, 255, 0.12);
  --lit-shadow: rgba(255, 236, 200, 0.4);
  --light-tint: rgba(255, 210, 150, 0.16);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
:root[data-motion="off"] {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 0.9rem + 0.18vw, 17px);
  line-height: var(--lh);
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
  overflow-x: clip;
}
/* Plaster texture (質感) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .19 0 0 0 0 .15 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main,
.site-footer {
  position: relative;
  z-index: 1;
}
:root[data-lang="ja"] :is(h1, h2, h3, .hero__lead, .section-lead) {
  word-break: auto-phrase;
}
:root[data-lang="ko"] body {
  word-break: keep-all;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.32;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
img,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
video {
  height: auto;
}
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: none;
}
.media-missing {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, var(--plaster-2), var(--paper));
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), background-color 0.3s, box-shadow 0.35s var(--ease), border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn--primary {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  box-shadow: 0 10px 24px -14px rgba(36, 52, 26, 0.8);
}
.btn--primary:hover {
  --btn-bg: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(36, 52, 26, 0.9);
}
.btn--ghost {
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  transform: translateY(-2px);
}
.btn--light {
  --btn-fg: #fff;
  --btn-bg: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}
.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.88rem;
}
.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1rem;
}
.btn .ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.7s var(--ease) forwards;
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(40);
    opacity: 0;
  }
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}
.icon-btn:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}
:root[data-daypart="night"] .text-link {
  color: var(--brand-deep);
}
.text-link:hover {
  text-decoration-thickness: 2px;
}

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--glass-border);
}

/* "Board" frame: every photo sits on a solid-wood board, like the tables. */
.board {
  position: relative;
  isolation: isolate;
}
.board::after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: -1;
  border-radius: inherit;
  background:
    repeating-linear-gradient(92deg, rgba(120, 80, 40, 0.07) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, var(--wood), var(--wood-deep));
  opacity: 0.9;
}
:root[data-daypart="night"] .board::after {
  opacity: 0.55;
}

/* ---------- Logo: official crest + lettering (public/brand, traced from the supplied logo) ---------- */
.wordmark {
  display: block;
  aspect-ratio: 1015 / 307;
  background-color: currentColor;
  -webkit-mask: url("/brand/tasaburo-wordmark.svg") center / contain no-repeat;
  mask: url("/brand/tasaburo-wordmark.svg") center / contain no-repeat;
}
.brand__crest,
.intro__crest,
.not-found__crest,
.site-footer__lockup__crest {
  display: block;
  height: auto;
}
.site-footer__lockup {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 112px;
  color: var(--brand);
}
.site-footer__lockup__crest {
  width: 100%;
}
.site-footer__lockup__word {
  width: 100%;
}

/* ---------- Intro: the shop's green noren sways once, then parts ---------- */
.intro {
  display: none;
}
.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: block;
}
.intro__noren {
  position: absolute;
  inset: 0;
  container-type: inline-size;
}
/* The dim shop interior behind the cloth: the slit reads as shadow, then fades as it parts. */
.intro__noren::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1c2117;
  transition: opacity 0.7s 0.1s var(--ease);
}
.intro.is-leaving .intro__noren::before {
  opacity: 0;
}
.intro__rod {
  position: absolute;
  z-index: 2;
  top: 0;
  left: -2%;
  right: -2%;
  height: 12px;
  background: linear-gradient(180deg, #5a422b, #2b1e12);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s var(--ease);
}
.intro__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  background-color: var(--noren);
  /* dyed cotton: soft folds, weave, and the shade under the rod */
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 14%, transparent 80%, rgba(0, 0, 0, 0.22)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0, rgba(255, 255, 255, 0.04) 6vw, rgba(0, 0, 0, 0.05) 12vw),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 3px);
  transform-origin: 50% 0;
  animation: noren-sway-l 1.3s 0.2s var(--ease) both;
  transition: transform 0.8s cubic-bezier(0.62, 0.04, 0.3, 1);
  will-change: transform;
}
.intro__panel--l {
  left: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.3);
}
.intro__panel--r {
  left: 50%;
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.3);
  animation-name: noren-sway-r;
}
/* Same full-width cloth in both halves, offset so the crest is continuous across the slit. */
.intro__cloth {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  width: 100cqw;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(18px, 3.4vh, 34px);
  padding-bottom: 4vh;
  color: #fff;
}
.intro__panel--r .intro__cloth {
  left: -50vw;
  left: -50cqw;
}
.intro__crest {
  width: clamp(150px, 36vmin, 300px);
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.94);
  animation: dye-in 0.9s 0.1s var(--ease) forwards;
}
.intro__word {
  width: clamp(140px, 28vmin, 250px);
  opacity: 0;
  animation: fade-in 0.6s 0.55s var(--ease) forwards;
}
.intro__skip {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: calc(24px + env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: opacity 0.3s var(--ease), background-color 0.3s;
}
.intro__skip:hover {
  background: rgba(0, 0, 0, 0.28);
}
.intro.is-leaving .intro__panel--l {
  animation: none;
  transform: translateX(-102%) rotate(-4deg);
}
.intro.is-leaving .intro__panel--r {
  animation: none;
  transform: translateX(102%) rotate(4deg);
}
.intro.is-leaving .intro__rod,
.intro.is-leaving .intro__skip {
  opacity: 0;
}
@keyframes noren-sway-l {
  0%,
  100% {
    transform: none;
  }
  38% {
    transform: rotate(0.45deg) skewX(-0.3deg);
  }
  72% {
    transform: rotate(-0.2deg);
  }
}
@keyframes noren-sway-r {
  0%,
  100% {
    transform: none;
  }
  38% {
    transform: rotate(-0.45deg) skewX(0.3deg);
  }
  72% {
    transform: rotate(0.2deg);
  }
}
@keyframes dye-in {
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  margin-right: auto;
}
.brand {
  color: var(--brand);
}
.brand__crest {
  flex: none;
  width: 42px;
}
.brand__word {
  width: 96px;
}
.brand__ja {
  display: none;
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.site-nav {
  display: none;
  gap: 4px;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-cta {
  display: none;
}
.lang-switch {
  position: relative;
}
.lang-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
}
.lang-switch summary::-webkit-details-marker {
  display: none;
}
.lang-switch summary svg {
  width: 18px;
  height: 18px;
}
.lang-switch__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.lang-switch__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.92rem;
}
.lang-switch__list a:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.lang-switch__list a[aria-current="page"] {
  background: var(--brand);
  color: var(--on-brand);
}
.lang-short {
  display: inline-grid;
  place-items: center;
  width: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.8;
}
.motion-toggle .icon-play {
  display: none;
}
:root[data-motion="off"] .motion-toggle .icon-play {
  display: block;
}
:root[data-motion="off"] .motion-toggle .icon-pause {
  display: none;
}

/* ---------- Status lamp (Kyoto time) ---------- */
.status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 40px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
}
.status__lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-3);
  flex: none;
}
.status[data-state="open"] .status__lamp {
  background: #5b8a2b;
  box-shadow: 0 0 0 0 rgba(91, 138, 43, 0.5);
  animation: lamp 2.4s infinite;
}
.status[data-state="soon"] .status__lamp {
  background: #c08a2a;
}
.status__text {
  font-weight: 700;
}
.status__sub {
  color: var(--ink-2);
}
@keyframes lamp {
  70% {
    box-shadow: 0 0 0 8px rgba(91, 138, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 138, 43, 0);
  }
}

/* ---------- Heading reveal: a slanted light lays the shadow, then the text settles ---------- */
.js .lit {
  color: transparent;
  text-shadow: 0.08em 0.16em 0.22em var(--lit-shadow);
  transform: skewX(-7deg) translateX(-0.12em);
  transform-origin: left bottom;
  transition: color 1.1s var(--ease) 0.15s, text-shadow 1.3s var(--ease), transform 1.3s var(--ease);
}
.js .lit.is-lit {
  color: inherit;
  text-shadow: 0 0 0 transparent;
  transform: none;
}
:root[data-motion="off"] .lit {
  color: inherit !important;
  text-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- Layout ---------- */
.section {
  position: relative;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(84px, 11vw, 150px) var(--gutter);
}
.section-head {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-index {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}
:root[data-daypart="night"] .section-index {
  color: var(--brand-deep);
}
.section-index__kanji {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0;
}
.section-index::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section-title {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.1rem);
  letter-spacing: 0.02em;
}
:root[data-lang="en"] .section-title {
  font-variation-settings: "opsz" 120;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.section-lead {
  max-width: 640px;
  color: var(--ink-2);
  font-size: 1.02em;
}
.kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}
:root[data-daypart="night"] .kicker {
  color: var(--brand-deep);
}

/* ---------- Hero (mobile first: immersive video) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__window {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #1c1d1a;
}
.pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pane video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pane--b {
  display: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 16, 0.5) 0%, rgba(20, 20, 16, 0) 22%, rgba(20, 20, 16, 0) 38%, rgba(20, 20, 16, 0.78) 72%, rgba(20, 20, 16, 0.9) 100%);
}
.hero__light {
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, var(--light-tint) 47%, transparent 58%);
  mix-blend-mode: soft-light;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(8%);
  }
}
.hero__text {
  position: relative;
  padding: 0 var(--gutter) calc(30px + env(safe-area-inset-bottom));
  display: grid;
  gap: 16px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.92;
}
.hero__title {
  display: grid;
  gap: 10px;
  font-weight: 700;
}
.hero__brand {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + env(safe-area-inset-top) + 22px);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 6px;
  font-family: var(--font-brand);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__brand-small,
.hero__brand-v {
  writing-mode: vertical-rl;
}
.hero__brand-small {
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  padding-top: 6px;
}
.hero__brand-v {
  font-size: clamp(3.6rem, 2.6rem + 5vw, 5rem);
  letter-spacing: 0.12em;
}
.hero__latin {
  display: none;
  width: clamp(150px, 12vw, 196px);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 3.6vw, 4.4rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  --lit-shadow: rgba(0, 0, 0, 0.55);
  view-transition-name: hero-headline;
}
:root[data-lang="en"] .hero__headline {
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.01em;
  word-spacing: 0.1em;
  line-height: 1.04;
}
.hero__lead {
  max-width: 34em;
  font-size: 0.98rem;
  opacity: 0.94;
}
.hero .status {
  justify-self: start;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(20, 20, 16, 0.38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
}
.hero .status__sub {
  color: rgba(255, 255, 255, 0.82);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.hero__ctas .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero__scroll {
  display: none;
}
@media (max-width: 1023.98px) {
  /* brand hangs from the top-right of the video like a shop sign */
  .hero__text {
    position: static;
  }
}
@media (max-width: 1023.98px) and (max-height: 760px) {
  .hero__brand {
    display: none;
  }
}

/* ---------- Trust band (ticker) ---------- */
.trust {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--slate);
  color: var(--on-slate);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.trust__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.trust__track:hover,
.trust__track:focus-within {
  animation-play-state: paused;
}
.trust__list {
  display: flex;
  flex: none;
}
.trust__list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.trust__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9fae55, var(--moss));
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
:root[data-motion="off"] .trust {
  overflow-x: auto;
}
:root[data-motion="off"] .trust__track {
  animation: none;
}
:root[data-motion="off"] .trust__list[aria-hidden="true"] {
  display: none;
}

/* ---------- Concept: bento ---------- */
.bento {
  display: grid;
  gap: 40px;
}
.bento__item {
  display: grid;
  gap: 22px;
  align-content: start;
}
.bento__media {
  border-radius: var(--radius-lg);
}
.bento__media > img,
.bento__media > video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.bento__item--b .bento__media > img {
  aspect-ratio: 4 / 3;
}
.bento__media {
  overflow: visible;
}
.bento__media img,
.bento__media video {
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.bento__item:hover .bento__media img,
.bento__item:hover .bento__media video {
  transform: scale(1.015);
}
.bento__body {
  display: grid;
  gap: 10px;
  padding-right: 12px;
}
.bento__body h3 {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem);
}
.bento__body p:last-child {
  color: var(--ink-2);
}

/* ---------- Seats: editorial photo mosaic + lightbox ---------- */
.seats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "table table"
    "window dessert"
    "note note";
  gap: 44px 20px;
}
.seat {
  display: grid;
  align-content: start;
  min-width: 0;
  margin: 0;
}
.seat--table {
  grid-area: table;
  --seat-ratio: 4 / 3;
}
.seat--window {
  grid-area: window;
  --seat-ratio: 3 / 4;
}
.seat--dessert {
  grid-area: dessert;
  --seat-ratio: 3 / 4;
}
.seat--kakigori {
  --seat-ratio: 5 / 4;
}
.seat--kettle,
.seat--knot {
  --seat-ratio: 1 / 1;
}
.seat__link {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.seat__link:focus-visible {
  outline-offset: 6px;
}
.seat__link img {
  display: block;
  width: 100%;
  aspect-ratio: var(--seat-ratio, 4 / 3);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.seat__link:hover img {
  transform: scale(1.015);
}
.seat__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(243, 241, 236, 0.86);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -8px rgba(20, 20, 16, 0.5);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.seat__zoom svg {
  width: 18px;
  height: 18px;
}
.seat__link:hover .seat__zoom,
.seat__link:focus-visible .seat__zoom {
  transform: scale(1.1);
  background: var(--paper);
}
.seat__cap {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding-right: 8px;
}
.seat__text {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.7;
}
.seats__note {
  grid-area: note;
  display: grid;
  gap: 10px;
  align-content: start;
  max-width: 520px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.seats__note p:not(.kicker) {
  color: var(--ink-2);
}
.seats__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
}
.seats__sub {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(64px, 9vw, 120px) 0 clamp(30px, 4vw, 48px);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  letter-spacing: 0.04em;
}
.seats__sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.seats__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 20px;
}
.seat--kakigori {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .seats__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas: none;
    column-gap: clamp(24px, 3vw, 44px);
    row-gap: 0;
    align-items: start;
  }
  .seat--table {
    grid-area: 1 / 1 / 3 / 9;
  }
  .seat--window {
    grid-area: 1 / 9 / 3 / 13;
  }
  .seats__note {
    grid-area: 3 / 1 / 4 / 6;
    align-self: center;
    margin-top: clamp(64px, 8vw, 112px);
  }
  .seat--dessert {
    grid-area: 3 / 6 / 4 / 13;
    margin-top: clamp(64px, 8vw, 112px);
    --seat-ratio: 16 / 11;
  }
  /* Table + window seat share one image row, so both photos end on the same line. */
  @supports (grid-template-rows: subgrid) {
    .seat--table,
    .seat--window {
      grid-template-rows: subgrid;
    }
    .seat--window .seat__link img {
      position: absolute;
      inset: 0;
      height: 100%;
      aspect-ratio: auto;
    }
  }
  .seats__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 44px);
    row-gap: 0;
    align-items: start;
  }
  .seat--kakigori {
    grid-column: auto;
    --seat-ratio: 1 / 1;
  }
  .seat--kettle {
    margin-top: clamp(40px, 5vw, 72px);
    --seat-ratio: 4 / 5;
  }
}
/* Photo viewer: a native <dialog>, so focus is trapped and Esc closes it. */
:root:has(.lightbox[open]) {
  overflow: hidden;
}
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 18, 15, 0.95);
  color: var(--on-slate);
}
.lightbox::backdrop {
  background: rgba(18, 18, 15, 0.95);
}
.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  animation: lightbox-in 0.35s var(--ease);
}
@keyframes lightbox-in {
  from {
    opacity: 0;
  }
}
:root[data-motion="off"] .lightbox[open] {
  animation: none;
}
.lightbox__stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  padding: 68px clamp(12px, 8vw, 130px) 8px;
  touch-action: pan-y;
}
.lightbox__img {
  max-width: min(100%, 1500px);
  max-height: calc(100dvh - 210px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.lightbox__cap {
  display: grid;
  gap: 4px;
  justify-items: center;
  max-width: 680px;
  min-height: 96px;
  padding: 12px 72px calc(22px + env(safe-area-inset-bottom));
  text-align: center;
}
.lightbox .kicker {
  color: #c4d6ae;
}
.lightbox__text {
  color: rgba(236, 232, 223, 0.84);
  font-size: 0.92rem;
  line-height: 1.7;
}
.lightbox__count {
  position: absolute;
  top: 28px;
  left: clamp(16px, 3vw, 36px);
  color: rgba(236, 232, 223, 0.72);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__btn svg {
  width: 22px;
  height: 22px;
}
.lightbox__btn--prev,
.lightbox__btn--next {
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom));
}
.lightbox__btn--prev {
  left: clamp(12px, 3vw, 36px);
}
.lightbox__btn--next {
  right: clamp(12px, 3vw, 36px);
}
.lightbox__close-form {
  position: absolute;
  top: 14px;
  right: clamp(12px, 3vw, 36px);
  margin: 0;
}
@media (min-width: 720px) {
  .lightbox__cap {
    min-height: 0;
    padding-inline: 24px;
  }
  .lightbox__btn--prev,
  .lightbox__btn--next {
    top: 50%;
    bottom: auto;
    margin-top: -24px;
  }
}

/* ---------- Menu: scroll story ---------- */
.story__stage {
  display: none;
}
.story__list {
  display: grid;
  gap: 56px;
  counter-reset: menu;
}
.menu-card {
  display: grid;
  gap: 22px;
}
.menu-card__media {
  border-radius: var(--radius-lg);
}
.menu-card__media > img,
.menu-card__media > video,
.menu-card__media > .media-missing {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.menu-card__body {
  display: grid;
  gap: 10px;
}
.menu-card__tag {
  justify-self: start;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.menu-card__name {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
}
.menu-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  font-feature-settings: "tnum";
}
:root[data-daypart="night"] .menu-card__price {
  color: var(--brand-deep);
}
.menu-card__price--note {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.menu-card__desc {
  color: var(--ink-2);
}
.menu-card__why {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: 0.94em;
}
.menu-card__why span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
}
:root[data-daypart="night"] .menu-card__why span {
  color: var(--brand-deep);
}
.menu__note {
  margin-top: 48px;
  color: var(--ink-3);
  font-size: 0.86rem;
}

/* ---------- Guide ---------- */
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 380px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 34px;
  scrollbar-width: thin;
}
.step {
  position: relative;
  scroll-snap-align: start;
  display: grid;
  gap: 12px;
  align-content: start;
}
.step__media {
  border-radius: var(--radius);
}
.step__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.step__num {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: -44px 0 0 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8d9c48, var(--moss) 55%, #4f5a22);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 10px 20px -10px rgba(40, 50, 10, 0.8);
}
.step__title {
  font-size: 1.35rem;
}
.step__body {
  color: var(--ink-2);
}
.guide__extras {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.note-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.6vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.note-card h3 {
  font-size: 1.3rem;
}
.note-card--tips {
  background:
    repeating-linear-gradient(92deg, rgba(120, 80, 40, 0.06) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, color-mix(in srgb, var(--wood) 38%, var(--paper)), var(--paper));
}
:root[data-daypart="night"] .note-card--tips {
  background: var(--paper);
}
.note-card dl {
  display: grid;
  gap: 14px;
}
.note-card dt {
  font-weight: 700;
}
.note-card dd {
  color: var(--ink-2);
}
.note-card ul {
  display: grid;
  gap: 10px;
}
.note-card li {
  position: relative;
  padding-left: 22px;
}
.note-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--moss);
}

/* ---------- Voices / press ---------- */
.voices__grid {
  display: grid;
  gap: 28px;
}
.voices__noren {
  border-radius: var(--radius-lg);
}
.voices__noren img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.voices__sub {
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.reviews {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
.review {
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.review blockquote {
  margin: 0;
}
.review__meta {
  color: var(--ink-3);
  font-size: 0.85rem;
}
.review__toggle {
  justify-self: start;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.press {
  display: grid;
  gap: 16px;
}
.press-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 26px 26px 18px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.press-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.press-card__date {
  color: var(--ink-3);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.press-card__body {
  color: var(--ink-2);
  font-size: 0.94em;
}

/* ---------- Access ---------- */
.access__grid {
  display: grid;
  gap: 36px;
}
.access__map {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--plaster-2);
}
.access__map iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border: 0;
  border-radius: var(--radius-lg);
  filter: grayscale(0.45) contrast(1.04);
  background: transparent;
}
.access__map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  color: var(--ink-2);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(42, 42, 36, 0.05) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(42, 42, 36, 0.05) 47px 48px),
    var(--plaster-2);
}
.access__map-fallback svg {
  width: 30px;
  height: 30px;
  color: var(--brand);
}
.access__map-fallback span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.access__map-fallback small {
  font-size: 0.82rem;
  color: var(--ink-3);
}
.access__info {
  display: grid;
  gap: 22px;
  align-content: start;
}
.access__info .status {
  justify-self: start;
}
.facts {
  display: grid;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(84px, 7em) 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-2);
  padding-top: 2px;
}
.facts dd {
  display: grid;
  gap: 4px;
}
.facts__ja,
.facts__note {
  color: var(--ink-3);
  font-size: 0.88em;
}
.facts a {
  font-weight: 700;
  text-underline-offset: 0.25em;
}
.access__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.access__note {
  color: var(--ink-3);
  font-size: 0.88rem;
}
.access__photo {
  margin-top: 56px;
  border-radius: var(--radius-lg);
}
.access__photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- FAQ ---------- */
.faq__list {
  display: grid;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.04rem;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary i {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.4s var(--ease);
}
.faq__item[open] summary i {
  transform: rotate(180deg);
  background: var(--brand);
  color: var(--on-brand);
  border-color: transparent;
}
.faq__item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__answer {
  padding: 0 4px 22px;
  color: var(--ink-2);
  max-width: 48em;
}

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 92svh;
  overflow: hidden;
  color: #fff;
  background: #1a1b18;
  isolation: isolate;
}
.final__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.final__media video,
.final__media .media-missing {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 16, 0.2), rgba(20, 20, 16, 0.86) 75%);
}
.final__body {
  display: grid;
  gap: 18px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  width: 100%;
  margin: 0 auto;
  padding: 120px var(--gutter) clamp(64px, 9vw, 120px);
}
.final__title {
  max-width: 14em;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  line-height: 1.2;
  --lit-shadow: rgba(0, 0, 0, 0.6);
}
:root[data-lang="en"] .final__title {
  font-variation-settings: "opsz" 144;
  line-height: 1.06;
}
.final__lead {
  max-width: 36em;
  opacity: 0.92;
}
.final__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  gap: 22px;
  padding: 56px var(--gutter) calc(120px + env(safe-area-inset-bottom));
  background: var(--plaster-2);
  font-size: 0.9rem;
}
.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.site-footer__brand p {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.site-footer__info {
  display: grid;
  gap: 2px;
  color: var(--ink-2);
}
.site-footer__links,
.site-footer__langs {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}
.site-footer__langs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 0.25em;
}
.site-footer__langs a[aria-current="page"] {
  font-weight: 700;
  text-decoration: none;
}
.site-footer__updated,
.site-footer__rights {
  color: var(--ink-3);
  font-size: 0.82rem;
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  box-shadow: 0 18px 40px -18px rgba(20, 20, 16, 0.55);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.action-bar.is-visible {
  transform: none;
}
.action-bar__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--ink);
}
.action-bar__btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.action-bar__btn--primary {
  background: var(--brand);
  color: var(--on-brand);
}
.action-bar__btn .ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.7s var(--ease) forwards;
  pointer-events: none;
}

/* ---------- Taxi card ---------- */
.taxi {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  padding: 26px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.taxi::backdrop {
  background: rgba(20, 20, 16, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.taxi__close-form {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}
.taxi__lead {
  color: var(--ink-2);
  font-size: 0.9rem;
  padding-right: 48px;
}
.taxi__title {
  margin: 4px 0 18px;
  font-size: 1.3rem;
}
.taxi__card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  color: #111;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  border: 2px solid var(--wood-deep);
  letter-spacing: 0.02em;
}
.taxi__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
}
.taxi__name {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
}
.taxi__addr {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}
.taxi__note {
  font-size: 1.05rem;
  line-height: 1.7;
}
.taxi__tel {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ---------- Language suggestion + toast ---------- */
.lang-suggest {
  position: fixed;
  left: 12px;
  right: 12px;
  top: calc(var(--header-h) + 12px + env(safe-area-inset-top));
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  color: var(--ink);
}
.lang-suggest[hidden] {
  display: none;
}
.lang-suggest p {
  flex: 1;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 70;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--plaster);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Scroll reveal (subtle) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
:root[data-motion="off"] .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- 404 ---------- */
.not-found__main {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 100svh;
  align-content: center;
  padding: 40px var(--gutter);
  text-align: center;
}
.not-found__crest {
  width: 96px;
}
.not-found__main a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

/* ==========================================================================
   Tablet ≥ 720px
   ========================================================================== */
@media (min-width: 720px) {
  .press {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide__extras {
    grid-template-columns: 1.2fr 1fr;
  }
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
  .bento__item--a {
    grid-column: 1 / -1;
  }
  .bento__item--a .bento__media > img {
    aspect-ratio: 16 / 10;
  }
  .lang-suggest {
    left: auto;
    right: var(--gutter);
    max-width: 440px;
  }
}

/* ==========================================================================
   Desktop ≥ 1024px — split hero with a two-pane window
   ========================================================================== */
@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
  }
  .site-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .brand__ja {
    display: inline;
  }
  .action-bar {
    display: none;
  }
  .site-footer {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
    padding-bottom: 56px;
  }
  .site-footer__updated,
  .site-footer__rights,
  .site-footer__langs {
    grid-column: 1 / -1;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 4vw, 72px);
    max-width: calc(1440px + var(--gutter) * 2);
    margin: 0 auto;
    padding: calc(var(--header-h) + 28px) var(--gutter) 64px;
    color: var(--ink);
  }
  .hero::after {
    display: none;
  }
  .hero__light {
    z-index: 0;
    mix-blend-mode: normal;
    background: linear-gradient(112deg, transparent 40%, var(--light-tint) 50%, transparent 62%);
    opacity: 0.8;
  }
  .hero__text {
    padding: 0;
    gap: 22px;
    z-index: 1;
  }
  .hero__title {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand latin"
      "brand headline";
    column-gap: clamp(22px, 2.6vw, 40px);
    row-gap: 18px;
    align-items: start;
  }
  .hero__brand {
    position: static;
    grid-area: brand;
    text-shadow: none;
    color: var(--ink);
  }
  .hero__brand-v {
    font-size: clamp(5rem, 3rem + 4.4vw, 8.2rem);
  }
  .hero__brand-small {
    font-size: 1.05rem;
  }
  .hero__latin {
    display: block;
    grid-area: latin;
    color: var(--brand);
    padding-top: 10px;
  }
  :root[data-daypart="night"] .hero__latin {
    color: var(--brand-deep);
  }
  .hero__headline {
    grid-area: headline;
    font-size: clamp(2.2rem, 1rem + 2.7vw, 4rem);
    --lit-shadow: var(--lit-shadow-root, rgba(34, 32, 22, 0.5));
  }
  .hero__eyebrow {
    color: var(--ink-2);
  }
  .hero__lead {
    color: var(--ink-2);
    opacity: 1;
    font-size: 1.02rem;
  }
  .hero .status {
    color: var(--ink);
    background: color-mix(in srgb, var(--paper) 70%, transparent);
    border-color: var(--line);
  }
  .hero .status__sub {
    color: var(--ink-2);
  }
  .hero__ctas .btn--ghost {
    color: var(--ink);
    border-color: var(--line-strong);
  }

  /* The window: dark frame + two panes, like the 3F windows over Shijo-dori. */
  .hero__window {
    position: relative;
    inset: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: min(80svh, 780px);
    padding: 12px;
    border-radius: 10px;
    background: #1d1e1b;
    box-shadow: 0 50px 90px -40px rgba(30, 28, 18, 0.6);
  }
  .hero__window::after {
    /* the wooden counter board under the window */
    content: "";
    position: absolute;
    left: -6%;
    right: -3%;
    bottom: -26px;
    height: 26px;
    border-radius: 4px;
    background:
      repeating-linear-gradient(92deg, rgba(120, 80, 40, 0.08) 0 2px, transparent 2px 11px),
      linear-gradient(180deg, var(--wood), var(--wood-deep));
    box-shadow: 0 24px 40px -18px rgba(40, 30, 10, 0.5);
  }
  .pane {
    position: relative;
    inset: auto;
    border-radius: 4px;
  }
  .pane--b {
    display: block;
  }
  .pane::after {
    /* glass reflection + slanted light */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, transparent 28%, transparent 60%, rgba(255, 244, 220, 0.14) 72%, transparent 84%);
  }
  .hero__window-shadow {
    position: absolute;
    inset: 12px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent calc(50% - 6px), rgba(0, 0, 0, 0.25) 50%, transparent calc(50% + 6px));
  }
  .hero__scroll {
    position: absolute;
    left: var(--gutter);
    bottom: 16px;
    display: grid;
    justify-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-decoration: none;
    color: var(--ink-3);
  }
  .hero__scroll::after {
    content: "";
    width: 1px;
    height: 34px;
    background: linear-gradient(var(--ink-3), transparent);
    animation: scroll-hint 2.4s var(--ease) infinite;
    transform-origin: top;
  }
  @keyframes scroll-hint {
    0% {
      transform: scaleY(0);
    }
    50% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
      opacity: 0;
    }
  }

  /* Bento: tall seat photo + two stacked stories */
  .bento {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    column-gap: clamp(32px, 4vw, 64px);
    row-gap: 56px;
  }
  .bento__item--a {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .bento__item--a .bento__media > img {
    aspect-ratio: 4 / 5;
  }
  .bento__item--b {
    margin-top: 12%;
  }
  .bento__item--c {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
  }
  .bento__item--c .bento__media > video {
    aspect-ratio: 9 / 14;
  }

  /* Menu: sticky photo stage + list */
  .story {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 88px);
    align-items: start;
  }
  .story__stage {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    display: block;
    height: min(calc(100svh - var(--header-h) - 64px), 760px);
    border-radius: var(--radius-lg);
  }
  .story__frame {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
    box-shadow: var(--shadow);
  }
  .story__frame.is-active {
    opacity: 1;
    transform: none;
  }
  .story__frame > img,
  .story__frame > video,
  .story__frame > .media-missing {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .story__list {
    gap: 0;
  }
  .menu-card {
    position: relative;
    min-height: 62svh;
    align-content: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
  }
  /* Text stays at full contrast; the active item is marked by a moss bar. */
  .menu-card::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    width: 3px;
    height: 64px;
    border-radius: 2px;
    background: var(--brand);
    transform: translateY(-50%) scaleY(0);
    transition: transform 0.5s var(--ease);
  }
  .menu-card:last-child {
    border-bottom: 0;
  }
  .menu-card.is-active::before {
    transform: translateY(-50%) scaleY(1);
  }
  .menu-card__media {
    display: none;
  }

  /* Guide: three columns with a connecting line drawn by scroll */
  .steps {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    gap: clamp(24px, 3vw, 44px);
    overflow: visible;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .step:nth-child(2) {
    margin-top: 48px;
  }
  .step:nth-child(3) {
    margin-top: 96px;
  }

  .access__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .access__map iframe {
    aspect-ratio: 4 / 4.2;
  }
  .access__photo img {
    aspect-ratio: 21 / 8;
  }

  .faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }
  .faq .section-head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .voices__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 48px;
  }
  .press {
    grid-template-columns: repeat(2, 1fr);
  }
  .lang-suggest {
    top: calc(var(--header-h) + 14px);
  }
  .toast {
    bottom: 32px;
  }
}

/* Six nav links: never wrap a label; tighten the header between 1024 and 1279px */
.site-nav a,
.header-cta,
.brand__ja {
  white-space: nowrap;
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .site-header {
    gap: 12px;
  }
  .brand__ja {
    display: none;
  }
  .site-nav {
    gap: 0;
  }
  .site-nav a {
    padding: 0 9px;
    font-size: 0.84rem;
  }
  .site-nav a::after {
    left: 9px;
    right: 9px;
  }
  .header-tools {
    gap: 6px;
  }
}

/* Header colour over the mobile video hero */
@media (max-width: 1023.98px) {
  .site-header:not(.is-scrolled) {
    color: #fff;
  }
  .site-header:not(.is-scrolled) .lang-switch summary,
  .site-header:not(.is-scrolled) .icon-btn {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(20, 20, 16, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .site-header:not(.is-scrolled) .brand {
    color: #fff;
  }
}

/* Short landscape phones */
@media (max-width: 1023.98px) and (max-height: 560px) {
  .hero__brand {
    display: none;
  }
}

/* Very small screens (360px) */
@media (max-width: 380px) {
  .hero__ctas .btn {
    flex: 1 1 100%;
  }
  .brand__word {
    width: 84px;
  }
  .action-bar__btn {
    font-size: 0.82rem;
    gap: 6px;
  }
}

/* Motion off: stop everything decorative */
:root[data-motion="off"] *,
:root[data-motion="off"] *::before,
:root[data-motion="off"] *::after {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}
/* decorative hover lifts / zooms are movement too */
:root[data-motion="off"] .btn:hover,
:root[data-motion="off"] .press-card:hover,
:root[data-motion="off"] .bento__item:hover .bento__media img,
:root[data-motion="off"] .bento__item:hover .bento__media video {
  transform: none;
}
:root[data-motion="off"] .hero__light {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* fallback when JavaScript is unavailable (the inline script normally sets data-motion="off") */
  html:not(.js) *,
  html:not(.js) *::before,
  html:not(.js) *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Cross-document view transitions (language switch): headline glides. */
@view-transition {
  navigation: auto;
}
::view-transition-old(hero-headline),
::view-transition-new(hero-headline) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.24, 1);
}
:root[data-motion="off"]::view-transition-group(*),
:root[data-motion="off"]::view-transition-old(*),
:root[data-motion="off"]::view-transition-new(*) {
  animation: none;
}
