/*
 * Naniwa Seimen — international, video-first layer.
 * Load after style.css and experience.css. HTML, translations, fonts and
 * playback state are owned by the parent implementation, not this file.
 */

:root {
  --cream: #F2E9D8;
  --indigo: #2B211B;
  --accent: #A63428;
  --paper: var(--cream);
  --header-height: 92px;
  --hero-gutter: clamp(32px, 4.5vw, 80px);
  --hero-controls-space: 142px;
}

html[lang="en"] {
  --serif: Georgia, "NaniwaLatin", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html[lang="ko"] {
  --serif: "NaniwaKRSerif", "Noto Serif KR", Batang, serif;
  --sans: "NaniwaKRSans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

html[lang="zh-Hans" i] {
  --serif: "NaniwaSCSerif", "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "NaniwaSCSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-Hant" i] {
  --serif: "NaniwaTCSerif", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "NaniwaTCSans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

html[lang="ja"] {
  --serif: "NaniwaSerif", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "NaniwaSans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
}

html:not([lang="ja"]) body {
  letter-spacing: 0;
}

html[lang="en"] :is(h1, h2, h3) {
  font-feature-settings: normal;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

html[lang="ko"] :is(h1, h2, h3, p, dt) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html:is([lang="zh-Hans" i], [lang="zh-Hant" i]) :is(h1, h2, h3, p) {
  line-break: strict;
  word-break: normal;
}

/* A separate, almost opaque paper masthead — never laid over the film. */
.site-header,
body[data-night="true"] .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-height);
  gap: 20px;
  padding: 14px var(--hero-gutter);
  border-bottom: 1px solid var(--ink-line);
  color: var(--indigo);
  background: rgb(242 233 216 / 98%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header .brand-logo,
body[data-night="true"] .site-header .brand-logo {
  filter: invert(1);
  mix-blend-mode: multiply;
}

.brand > span {
  font-size: 14px;
  letter-spacing: .045em;
}

.brand small {
  font-size: 11px;
  letter-spacing: .1em;
}

.header-actions {
  flex-shrink: 0;
  gap: 8px;
}

.desktop-nav {
  gap: clamp(14px, 1.4vw, 24px);
}

.desktop-nav a,
.header-call {
  font-size: 14px;
  line-height: 1.4;
}

.header-call {
  min-height: 44px;
  gap: 9px;
  padding: 10px 13px;
}

.menu-toggle {
  min-width: 44px;
  min-height: 48px;
}

.menu-toggle small {
  font-size: 10px;
  letter-spacing: .06em;
}

.language-control {
  display: inline-flex;
  min-height: 44px;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--indigo);
  padding-left: 10px;
  color: var(--indigo);
  background: rgb(242 233 216 / 98%);
}

.language-symbol {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1;
}

.language-select {
  width: 118px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 8px 5px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--indigo);
  background: var(--cream);
  cursor: pointer;
  color-scheme: light;
}

.language-select option {
  color: var(--indigo);
  background: var(--cream);
}

.language-control:focus-within {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}

.navigation-languages {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

/* One cinematic frame. The static composition lets the screen fill .hero,
 * rather than allowing copy height to narrow or resize the video. */
.hero,
body[data-night="true"] .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0;
  width: 100%;
  height: auto;
  min-height: max(760px, 85vh);
  min-height: max(760px, 85svh);
  max-height: none;
  overflow: clip;
  padding: 26px var(--hero-gutter) 16px;
  color: var(--cream);
  background: var(--indigo);
  isolation: isolate;
}

.hero-composition {
  position: static;
  order: 1;
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.hero-screen {
  position: absolute;
  z-index: auto;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--indigo);
  transform: none;
  animation: none;
}

.hero .screen-panel,
.hero .screen-two,
html:not([data-motion="off"]) .hero .screen-panel {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  transform: none;
  animation: none;
}

.hero .screen-two video,
.hero #hero-video {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(.88);
  transform: none;
  animation: none;
}

.hero-video-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(43 33 27 / 95%) 0%, rgb(43 33 27 / 86%) 23%, rgb(43 33 27 / 65%) 43%, rgb(43 33 27 / 18%) 70%, rgb(43 33 27 / 5%) 100%),
    linear-gradient(180deg, rgb(43 33 27 / 24%) 0%, transparent 38%, transparent 62%, rgb(43 33 27 / 90%) 100%);
  pointer-events: none;
}

.hero-steam {
  position: absolute;
  z-index: 2;
  inset: -3%;
  background:
    linear-gradient(108deg, transparent 30%, rgb(242 233 216 / 3%) 45%, transparent 57%),
    linear-gradient(82deg, transparent 54%, rgb(242 233 216 / 2%) 69%, transparent 78%);
  pointer-events: none;
  transform: none;
  animation: none;
}

.hero-exposure {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  background: linear-gradient(105deg, transparent 24%, rgb(242 233 216 / 18%) 48%, transparent 74%);
  pointer-events: none;
  animation: none;
}

.hero-overline {
  position: relative;
  z-index: 2;
  order: 0;
  min-height: 34px;
  align-items: flex-start;
  gap: 20px;
  border-top: 0;
  padding-top: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .035em;
}

.hero-overline > span:last-child {
  max-width: 42%;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .09em;
  text-align: right;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(56%, 760px);
  padding: 35px 0 34px;
  color: var(--cream);
}

.hero-copy .eyebrow {
  max-width: 42ch;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .055em;
}

.hero h1 {
  width: min(50vw, 720px);
  max-width: 100%;
  margin: 0 0 0 -.025em;
  font-size: clamp(55px, 6.1vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  text-wrap: balance;
  color: var(--cream);
  text-shadow: 0 2px 20px rgb(43 33 27 / 16%);
}

.hero h1 > span,
html:not([data-motion="off"]) .hero h1 > span {
  display: block;
  white-space: normal;
  animation: none;
}

.hero h1 .hero-last {
  margin-top: 0;
}

html[lang="ja"] .hero h1 {
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1.24;
  letter-spacing: -.065em;
  line-break: strict;
}

html[lang="ko"] .hero h1,
html:is([lang="zh-Hans" i], [lang="zh-Hant" i]) .hero h1 {
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

/* The concrete travel note takes precedence over duplicated poetic copy.
 * The full source description stays in the DOM; the story remains readable. */
.hero .hero-description {
  display: none;
}

.hero-travel-note {
  max-width: 36ch;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  text-wrap: pretty;
}

.hero-cta-group,
body[data-entry="map"] .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin-top: 26px;
}

.hero-cta-group .button,
.hero-cta-group .hero-directions {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 54px;
  gap: 15px;
  padding: 13px 22px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero-cta-group .button-reserve {
  padding-right: 42px;
}

.hero-directions {
  border-color: var(--cream);
  color: var(--cream);
  background: rgb(43 33 27 / 76%);
}

.hero-copy > .text-link {
  min-height: 44px;
  margin-top: 14px;
  gap: 18px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}

.hero-copy .circle-arrow {
  width: 44px;
  height: 44px;
  font-size: 19px;
}

.hero-shot-tabs {
  position: relative;
  z-index: 5;
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  border-block: 1px solid rgb(242 233 216 / 55%);
  color: var(--cream);
  background: rgb(43 33 27 / 90%);
}

.hero-shot-tabs button {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 12px 22px;
  border: 0;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-wrap: pretty;
}

.hero-shot-tabs button + button {
  border-left: 1px solid rgb(242 233 216 / 35%);
}

.hero-shot-tabs button > span {
  flex-shrink: 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.hero-shot-tabs button[aria-pressed="true"] {
  color: var(--indigo);
  background: var(--cream);
}

.hero-shot-tabs button[aria-pressed="true"]::after {
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero .video-toggle {
  position: absolute;
  z-index: 6;
  right: var(--hero-gutter);
  bottom: var(--hero-controls-space);
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgb(242 233 216 / 72%);
  padding: 9px 13px;
  color: var(--cream);
  background: rgb(43 33 27 / 92%);
  font-size: 14px;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#video-state-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  font-size: 12px;
}

.hero-baseline,
body[data-entry="map"] .hero-baseline {
  position: relative;
  z-index: 5;
  order: 3;
  min-height: 56px;
  gap: 20px;
  margin: 0;
  border: 0;
  padding: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.business-status {
  gap: 6px 9px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
}

.scroll-cue {
  gap: 16px;
  font-size: 12px;
  letter-spacing: .05em;
}

/* Map arrivals see the status before the title without relocating the film. */
body[data-entry="map"] .hero-baseline {
  order: -1;
  align-items: flex-start;
  min-height: 52px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgb(242 233 216 / 35%);
}

body[data-entry="map"] .hero-overline {
  padding-top: 12px;
}

body[data-entry="map"] .hero {
  --hero-controls-space: 88px;
}

/* Every new control has a visible, high-contrast keyboard state. */
.hero :is(a, button):focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--indigo);
}

.hero-shot-tabs button[aria-pressed="true"]:focus-visible {
  outline-color: var(--indigo);
  outline-offset: -5px;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-directions:hover,
  body[data-night="true"] .hero-directions:hover {
    border-color: var(--cream);
    color: var(--indigo);
    background: var(--cream);
  }

  .hero-shot-tabs button:not([aria-pressed="true"]):hover,
  .hero .video-toggle:hover {
    text-decoration: underline;
    text-underline-offset: .25em;
    background: var(--indigo);
  }
}

/* More generous, horizontal editorial reading in every translated language. */
html:not([lang="ja"]) .section-heading {
  align-items: flex-end;
  gap: 36px;
}

html:not([lang="ja"]) .section-heading > div {
  flex: 1 1 58%;
}

html:not([lang="ja"]) .section-heading h2 {
  max-width: 19ch;
  font-size: clamp(40px, 4.3vw, 64px);
  line-height: 1.16;
}

html:not([lang="ja"]) .heading-description {
  flex: 0 1 32%;
  max-width: 36ch;
  margin-right: 0;
}

html:not([lang="ja"]) :is(.day-copy, .guide-title, .space-copy, .faq-heading, .access-information) h2 {
  max-width: 20ch;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.2;
}

html:not([lang="ja"]) .reservation-section h2 {
  max-width: 20ch;
  font-size: clamp(58px, 7.3vw, 112px);
  line-height: 1.1;
}

html:not([lang="ja"]) :is(.price-vertical, .craft-pour figcaption, .access-photo > span, .screen-panel figcaption) {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0;
}

html:not([lang="ja"]) .price-vertical {
  position: static;
  display: block;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 14px;
  line-height: 1.5;
}

html:not([lang="ja"]) .price-paper {
  padding: 30px 24px;
}

html:not([lang="ja"]) .craft-pour {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html:not([lang="ja"]) .access-photo > span {
  max-width: calc(100% - 48px);
  padding: 12px 16px;
  font-size: 18px;
  line-height: 1.5;
}

html:not([lang="ja"]) .day-night-scenes figcaption {
  flex-wrap: wrap;
  gap: 8px 16px;
}

html:not([lang="ja"]) .day-night-scenes figcaption > span {
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.2;
}

html:not([lang="ja"]) .dish-frame figcaption {
  flex-wrap: wrap;
}

html:not([lang="ja"]) .dish-caption {
  flex-basis: 100%;
  margin: 0 0 0 40px;
  white-space: normal;
}

:is(.heading-description, .dish-frame figcaption p, .dish-more, .price-intro > p:not(.eyebrow), .price-paper dt,
.day-copy > p:not(.eyebrow), .day-night-scenes figcaption p, .craft-main figcaption p,
.story-scenes article > p:not(.eyebrow), .theater-heading > p, .guide-title > p:last-child,
.guide-list p, .space-copy > p:not(.eyebrow), .faq-heading > p:not(.eyebrow),
.faq-list details > p, .store-details > div, .reservation-section > p:not(.eyebrow)) {
  font-size: 15px;
  line-height: 1.85;
}

:is(.photo-note, .price-paper > p, .hours-note, .space-caption span, .craft-bento figcaption small,
.craft-note small, .day-night-scenes figcaption small, .dish-caption, .film-caption small,
.store-name > small, .store-details dd small, .film-dialog > p) {
  font-size: 12px;
  line-height: 1.7;
}

:is(.text-link, .button, .reservation-directions, .space-labels > span, .store-details dt,
.film-caption, .scroll-controls, .navigation-bottom, .menu-phone small,
.reservation-phone > small, .motion-shortcut) {
  font-size: 14px;
}

.store-details > div {
  grid-template-columns: minmax(72px, .27fr) minmax(0, 1fr);
}

.navigation-dialog nav a {
  overflow-wrap: anywhere;
}

.navigation-dialog nav a :is(small, span) {
  flex-shrink: 0;
}

/* A native dialog, with a Japanese address that does not inherit Latin/KR fonts. */
.address-card-open {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  background: var(--cream);
  text-align: left;
  line-height: 1.5;
}

.address-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: 86vh;
  max-height: 86svh;
  margin: auto;
  padding: 28px;
  border: 1px solid var(--indigo);
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--indigo);
  background: var(--cream);
}

.address-dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.address-dialog-top h2 {
  flex: 1;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.address-dialog > p {
  font-size: 15px;
  line-height: 1.8;
}

.japanese-address,
html:not([lang="ja"]) .japanese-address {
  margin: 22px 0;
  border: 1px solid var(--indigo);
  padding: 22px;
  font-family: "NaniwaSerif", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: var(--indigo);
  background: var(--cream);
  letter-spacing: .015em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  font-synthesis: weight;
}

.japanese-address p {
  font-size: 17px;
  line-height: 1.85;
}

.japanese-address p + p {
  margin-top: 18px;
}

.japanese-address p:first-child {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.address-dialog .address-help {
  font-size: 14px;
}

@media (max-width: 1249px) {
  .desktop-nav {
    display: none;
  }
}

@media (max-width: 1100px) {
  .brand > span {
    display: none;
  }

  .hero-copy {
    width: 60%;
  }

  .hero h1 {
    width: 50vw;
  }

  .hero-travel-note {
    max-width: 31ch;
  }
}

@media (min-width: 760px) and (max-width: 950px) {
  :root {
    --hero-gutter: 32px;
  }

  .hero-copy {
    width: 68%;
  }

  .hero h1 {
    width: 55vw;
    font-size: 55px;
  }

  html[lang="ja"] .hero h1,
  html[lang="ko"] .hero h1,
  html:is([lang="zh-Hans" i], [lang="zh-Hant" i]) .hero h1 {
    font-size: 48px;
  }

  .hero-shot-tabs button {
    gap: 8px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .hero-overline > span:last-child {
    max-width: 34%;
  }
}

@media (max-width: 759px) {
  :root {
    --header-height: 80px;
    --hero-gutter: 22px;
    --hero-controls-space: 154px;
  }

  body {
    font-size: 15px;
    line-height: 1.85;
  }

  .site-header,
  body[data-night="true"] .site-header {
    min-height: 80px;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand,
  .brand-logo {
    min-height: 44px;
  }

  .brand-logo {
    width: 40px;
    height: 44px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-control {
    padding: 0;
    gap: 0;
  }

  .language-symbol {
    display: none;
  }

  .language-select {
    width: 108px;
    padding-inline: 7px 2px;
  }

  .header-call {
    display: inline-flex;
    min-height: 44px;
    max-width: 134px;
    gap: 5px;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
  }

  .header-call span {
    flex-shrink: 0;
    font-size: 17px;
  }

  .menu-toggle {
    width: 44px;
    min-height: 44px;
  }

  .hero,
  body[data-night="true"] .hero {
    min-height: max(650px, 80vh);
    min-height: max(650px, 80svh);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    padding: 20px var(--hero-gutter) 12px;
  }

  .hero-composition {
    display: flex;
    min-height: 476px;
    align-items: stretch;
  }

  .hero-screen,
  .hero .screen-two {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .hero #hero-video {
    object-position: 50% 52%;
    filter: saturate(.9);
  }

  .hero-video-shade {
    background:
      linear-gradient(90deg, rgb(43 33 27 / 85%) 0%, rgb(43 33 27 / 62%) 39%, rgb(43 33 27 / 14%) 83%),
      linear-gradient(180deg, rgb(43 33 27 / 69%) 0%, rgb(43 33 27 / 28%) 32%, transparent 50%, rgb(43 33 27 / 16%) 62%, rgb(43 33 27 / 94%) 100%);
  }

  .hero-overline {
    min-height: 28px;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .hero-overline > span:last-child {
    display: none;
  }

  .hero-copy {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 14px;
  }

  .hero-copy .eyebrow {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: .01em;
  }

  .hero h1,
  html[lang="en"] .hero h1 {
    width: 100%;
    max-width: 100%;
    margin-left: -.025em;
    font-size: clamp(42px, 11vw, 56px);
    line-height: 1.05;
    letter-spacing: -.035em;
  }

  html[lang="ja"] .hero h1 {
    font-size: clamp(38px, 10.8vw, 43px);
    line-height: 1.23;
    letter-spacing: -.065em;
  }

  html[lang="ko"] .hero h1,
  html:is([lang="zh-Hans" i], [lang="zh-Hant" i]) .hero h1 {
    font-size: clamp(40px, 10.5vw, 48px);
    line-height: 1.2;
    letter-spacing: -.04em;
  }

  .hero-travel-note {
    max-width: min(31ch, 90%);
    margin-top: 16px;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-cta-group,
  body[data-entry="map"] .hero-cta-group {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-top: auto;
  }

  .hero-cta-group .button,
  .hero-cta-group .hero-directions {
    flex: 1 1 0;
    min-height: 52px;
    gap: 6px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-cta-group .button-reserve {
    padding-right: 29px;
  }

  .hero-cta-group .button > span {
    flex-shrink: 0;
    font-size: 18px;
  }

  .hero-copy > .text-link {
    min-height: 44px;
    margin-top: 5px;
    gap: 14px;
    font-size: 14px;
  }

  .hero-copy .circle-arrow {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .hero-shot-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-shot-tabs button {
    min-height: 56px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 10px 9px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-shot-tabs button > span {
    font-size: 12px;
    line-height: 1;
  }

  .hero-shot-tabs button[aria-pressed="true"]::after {
    right: 9px;
    bottom: 5px;
    left: 9px;
  }

  .hero .video-toggle {
    right: var(--hero-gutter);
    top: auto;
    bottom: calc(var(--hero-controls-space) + 154px);
    max-width: 48%;
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero-baseline,
  body[data-entry="map"] .hero-baseline {
    align-items: flex-start;
    min-height: 68px;
    gap: 8px;
    font-size: 14px;
  }

  .business-status {
    width: 100%;
    gap: 5px 7px;
    padding-top: 3px;
    font-size: 14px;
    line-height: 1.5;
  }

  .business-status > span:last-child {
    flex-basis: 100%;
    margin-left: 14px;
  }

  .hero-baseline .scroll-cue {
    display: none;
  }

  body[data-entry="map"] .hero-baseline {
    min-height: 76px;
    padding-bottom: 9px;
  }

  body[data-entry="map"] .hero-overline {
    padding-top: 13px;
  }

  /* The picture no longer pins above and obscures the reading on a phone.
   * Crossfading remains available, while each story paragraph flows normally. */
  .scroll-story,
  html:not([data-motion="off"]) .scroll-story {
    gap: 26px;
  }

  .story-visual,
  html:not([data-motion="off"]) .story-visual {
    position: relative;
    z-index: 0;
    top: auto;
    height: min(105vw, 480px);
    max-height: none;
    background: var(--indigo);
  }

  html:not([data-motion="off"]) .story-visual {
    display: block;
  }

  .story-photo-label {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 12px;
    font-size: 12px;
  }

  .story-scenes article,
  html:not([data-motion="off"]) .story-scenes article,
  html:not([data-motion="off"]) .story-scenes article:first-child {
    min-height: 0;
    max-width: 100%;
    justify-content: flex-start;
    border-top: 1px solid var(--ink-line);
    padding: 25px 0 30px;
    scroll-margin-top: calc(var(--header-height) + 20px);
  }

  .story-scenes h3 {
    font-size: 30px;
    line-height: 1.4;
  }

  html:not([lang="ja"]) .section-heading h2,
  html:not([lang="ja"]) :is(.day-copy, .guide-title, .space-copy, .faq-heading, .access-information) h2 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.2;
  }

  html:not([lang="ja"]) .reservation-section h2 {
    max-width: 100%;
    font-size: clamp(42px, 11vw, 58px);
    line-height: 1.12;
  }

  html:not([lang="ja"]) .heading-description {
    max-width: 100%;
    margin-top: 23px;
  }

  :is(.heading-description, .dish-frame figcaption p, .dish-more, .price-intro > p:not(.eyebrow), .price-paper dt,
  .day-copy > p:not(.eyebrow), .day-night-scenes figcaption p, .craft-main figcaption p,
  .story-scenes article > p:not(.eyebrow), .theater-heading > p, .guide-title > p:last-child,
  .guide-list p, .space-copy > p:not(.eyebrow), .faq-heading > p:not(.eyebrow),
  .faq-list details > p, .store-details > div, .reservation-section > p:not(.eyebrow)) {
    font-size: 14px;
    line-height: 1.85;
  }

  .price-paper dl dt {
    min-width: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .price-paper dl dd {
    min-width: 68px;
    font-size: 21px;
  }

  .price-paper dd span {
    font-size: 12px;
  }

  .day-night-scenes figcaption {
    flex-wrap: wrap;
    gap: 8px;
  }

  .day-night-scenes figcaption > span {
    font-size: 28px;
  }

  .faq-list summary {
    min-height: 74px;
    font-size: 18px;
    line-height: 1.6;
  }

  .faq-list details > p {
    max-width: 100%;
    padding-right: 0;
  }

  .store-details > div {
    grid-template-columns: minmax(64px, .27fr) minmax(0, 1fr);
    gap: 12px;
  }

  .store-details dt {
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .mobile-action-bar > a {
    min-height: 56px;
    gap: 8px;
    font-size: 14px;
  }

  .mobile-action-bar small {
    font-size: 12px;
  }

  .navigation-dialog {
    padding-inline: 24px;
  }

  .navigation-dialog nav a {
    min-height: 64px;
    gap: 10px;
    font-size: 22px;
    line-height: 1.5;
  }

  .address-dialog {
    padding: 22px;
  }

  .japanese-address {
    padding: 18px;
  }

  .japanese-address p {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .site-header,
  body[data-night="true"] .site-header {
    gap: 8px;
    padding-inline: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .brand-logo {
    width: 34px;
    height: 42px;
  }

  .header-seal {
    left: 28px;
    width: 12px;
  }

  .language-select {
    width: 100px;
    padding-left: 5px;
  }

  .header-call {
    max-width: 90px;
    padding-inline: 7px;
    gap: 3px;
  }
}

@media (max-width: 359px) {
  :root {
    --hero-gutter: 16px;
  }

  .hero-copy .eyebrow {
    font-size: 14px;
  }

  .hero-cta-group .button,
  .hero-cta-group .hero-directions {
    font-size: 14px;
    padding-left: 9px;
  }

  html:is([lang="zh-Hans" i], [lang="zh-Hant" i]) .hero-shot-tabs button {
    font-size: 13px;
    padding-inline: 7px;
  }

  /* Longer native English labels keep their full text at a usable size. */
  html[lang="en"] .hero-shot-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[lang="en"] .hero-shot-tabs button:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgb(242 233 216 / 35%);
    border-left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 44px;
  }

  .address-dialog {
    padding: 18px;
  }

  .japanese-address,
  html:not([lang="ja"]) .japanese-address {
    padding: 15px;
  }
}

/* Motion is a short entry lift and a single exposure on a requested shot change.
 * There is no perpetual exposure, film-panel intro, or control-covering effect. */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) body:not(.intro-active) .hero h1 > span {
    animation: international-title-lift 420ms cubic-bezier(.22, 1, .36, 1) both;
  }

  html:not([data-motion="off"]) body:not(.intro-active) .hero h1 > span:nth-child(2) {
    animation-delay: 55ms;
  }

  html:not([data-motion="off"]) body:not(.intro-active) .hero h1 > span:nth-child(3) {
    animation-delay: 110ms;
  }

  html:not([data-motion="off"]) .hero-steam {
    animation: international-steam-drift 32s ease-in-out infinite alternate;
  }

  html:not([data-motion="off"]) body.hero-switching .hero-exposure {
    animation: international-exposure-wipe 560ms ease-out both;
  }
}

@keyframes international-title-lift {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

@keyframes international-steam-drift {
  from { transform: translate3d(-1%, 1%, 0); }
  to { transform: translate3d(1%, -1%, 0); }
}

@keyframes international-exposure-wipe {
  0% { opacity: 0; transform: translateX(-16%); }
  28% { opacity: .85; }
  100% { opacity: 0; transform: translateX(16%); }
}

html[data-motion="off"],
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html[data-motion="off"] .hero h1 > span,
html[data-motion="off"] .hero-steam,
html[data-motion="off"] .hero-exposure {
  transform: none !important;
}

html[data-motion="off"] .hero-exposure {
  opacity: 0 !important;
}

html[data-motion="off"] .story-visual {
  position: relative;
  top: auto;
  height: auto;
  max-height: none;
}

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

  .hero h1 > span,
  .hero-steam,
  .hero-exposure {
    transform: none !important;
  }

  .hero-exposure {
    opacity: 0 !important;
  }
}

@media print {
  .site-header {
    position: relative;
  }

  .hero,
  body[data-night="true"] .hero {
    display: block;
    min-height: 0;
    padding-block: 24px;
    overflow: visible;
  }

  .hero-screen,
  .hero-shot-tabs {
    display: none;
  }

  .hero-copy,
  .hero h1 {
    width: 100%;
    max-width: 100%;
    color: var(--indigo);
    text-shadow: none;
  }

  .hero-baseline,
  body[data-entry="map"] .hero-baseline {
    color: var(--indigo);
  }
}
