/* Matsumi Sushi — luxury dining system */

:root {
  --ink: #0b0c0a;
  --ink-soft: #141612;
  --pine: #1e3d2f;
  --pine-mid: #2a5240;
  --ivory: #ede6d9;
  --ivory-dim: rgba(237, 230, 217, 0.72);
  --ivory-faint: rgba(237, 230, 217, 0.45);
  --gold: #e59757;
  --gold-soft: rgba(229, 151, 87, 0.85);
  --line: rgba(237, 230, 217, 0.12);
  --veil: rgba(11, 12, 10, 0.55);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: clamp(2.25rem, 4vw, 3.5rem);
  --space-xl: clamp(4rem, 9vw, 7rem);
  --space-2xl: clamp(5.5rem, 12vw, 9.5rem);
  --page-gutter: clamp(1.35rem, 4.5vw, 2.75rem);
  --content-width: min(calc(100% - (2 * var(--page-gutter))), var(--max));
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(30, 61, 47, 0.35), transparent 55%),
    var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.98rem, 0.92rem + 0.25vw, 1.05rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main,
.site-header,
.site-footer {
  max-width: 100%;
  min-width: 0;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(229, 151, 87, 0.35);
  color: var(--ivory);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(11, 12, 10, 0.55) 0%, rgba(11, 12, 10, 0) 100%);
  transition:
    background 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(11, 12, 10, 0.78);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: rgba(237, 230, 217, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
  width: var(--content-width);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  min-width: 0;
}

.nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-width: 0;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.25rem;
}

.lang-switch__sep {
  width: 1px;
  height: 0.65rem;
  background: rgba(237, 230, 217, 0.22);
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ivory-faint);
  height: 100%;
  padding: 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.lang-switch__btn.is-active {
  color: var(--gold);
}

.lang-switch__btn:not(.is-active):hover,
.lang-switch__btn:not(.is-active):focus-visible {
  color: var(--ivory);
}

@media (max-width: 767px) {
  .lang-switch__btn {
    min-height: 40px;
    padding: 0 0.15rem;
  }
}

body[data-lang="zh"] {
  font-family: "Noto Sans SC", "Outfit", system-ui, sans-serif;
}

body[data-lang="zh"] h1,
body[data-lang="zh"] h2,
body[data-lang="zh"] h3,
body[data-lang="zh"] .hero__line,
body[data-lang="zh"] .brand__name,
body[data-lang="zh"] .course__num,
body[data-lang="zh"] .accordion__item summary {
  font-family: "Noto Sans SC", "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ivory);
  flex: 0 0 auto;
  max-width: min(48vw, 10.5rem);
  transition: opacity 0.3s var(--ease);
}

.brand:hover {
  opacity: 0.88;
  color: var(--ivory);
}

.brand__logo {
  display: block;
  width: auto;
  height: 2.05rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  align-items: center;
  justify-content: center;
}

.nav a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 230, 217, 0.78);
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}

.nav__label {
  display: inline-block;
}

.nav__label.is-hidden {
  display: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ivory);
}

.nav a.is-active {
  color: var(--ivory);
}

.nav a.is-active::after,
.nav a:hover::after,
.nav a:focus-visible::after {
  width: 1rem;
}

.nav__cta {
  display: none;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(229, 151, 87, 0.55);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.nav__cta:hover,
.nav__cta:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--ivory);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  background: rgba(11, 12, 10, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(237, 230, 217, 0.08);
  padding: 0.25rem 1rem 1.5rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 230, 217, 0.08);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--ivory-dim);
  transition: color 0.3s var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--ivory);
}

.mobile-nav a.is-active {
  color: var(--gold);
}

.mobile-nav__cta {
  margin-top: 0.75rem;
  justify-content: center;
  min-height: 2.75rem !important;
  border: 1px solid rgba(229, 151, 87, 0.55) !important;
  color: var(--gold) !important;
  letter-spacing: 0.12em;
}

.mobile-nav__cta:hover {
  background: rgba(229, 151, 87, 0.12);
  color: var(--gold) !important;
}

/* Typography */

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

p {
  margin: 0 0 1.25rem;
  color: var(--ivory-dim);
  max-width: 38rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: #c9a77a;
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ivory);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ivory-faint);
  color: var(--ivory);
}

.btn--wide {
  width: 100%;
}

/* Media shells — atmospheric fallback until assets upload */

.media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(30, 61, 47, 0.45), rgba(11, 12, 10, 0.2) 40%, rgba(11, 12, 10, 0.85)),
    radial-gradient(circle at 30% 20%, rgba(229, 151, 87, 0.18), transparent 45%),
    var(--ink-soft);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.media img[src=""],
.media img:not([src]) {
  opacity: 0;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(70% 60% at 70% 40%, rgba(30, 61, 47, 0.5), transparent 60%),
    linear-gradient(180deg, #10120f 0%, #0b0c0a 100%);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
  opacity: 0.92;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
  filter: saturate(0.75) brightness(0.55);
}

.hero--video .hero__image--fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  transform: none;
}

.hero--video .hero__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(11, 12, 10, 0.92) 0%, rgba(11, 12, 10, 0.62) 48%, rgba(11, 12, 10, 0.45) 100%),
    linear-gradient(180deg, rgba(11, 12, 10, 0.4) 0%, rgba(11, 12, 10, 0.2) 35%, rgba(11, 12, 10, 0.92) 100%);
}

.hero--video .hero__content {
  z-index: 3;
}

.hero__media--still .hero__image--fallback {
  opacity: 0.85;
}

.media--light {
  background: #f4f2ee;
}

.media--light::after {
  opacity: 0.12;
}

.media--light img {
  object-fit: contain;
  padding: 0.75rem;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 10, 0.88) 0%, rgba(11, 12, 10, 0.45) 48%, rgba(11, 12, 10, 0.25) 100%),
    linear-gradient(180deg, rgba(11, 12, 10, 0.35) 0%, rgba(11, 12, 10, 0.15) 35%, rgba(11, 12, 10, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--content-width);
  margin-inline: auto;
  padding-bottom: 2rem;
  min-width: 0;
}

.hero__title {
  margin: 0 0 1.25rem;
}

.hero__brand {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.05em;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 8rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--ivory);
  word-break: break-word;
}

body[data-lang="zh"] .hero__brand {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.hero__line {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  max-width: 18ch;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ivory-dim);
}

.hero__lede {
  display: flex;
  flex-wrap: wrap;
  max-width: 30rem;
  font-size: 1.05rem;
}

/* BlurText (React Bits–style, vanilla) */
.blur-text {
  display: flex;
  flex-wrap: wrap;
}

.blur-text__seg {
  display: inline-block;
  will-change: transform, filter, opacity;
  filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, -2.5rem, 0);
}

.blur-text[data-blur-direction="bottom"] .blur-text__seg {
  transform: translate3d(0, 2.5rem, 0);
}

.blur-text.is-animating .blur-text__seg {
  animation: blurTextIn calc(var(--blur-step, 0.35s) * 2) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--blur-delay, 0ms);
}

.blur-text[data-blur-direction="bottom"].is-animating .blur-text__seg {
  animation-name: blurTextInBottom;
}

.blur-text.is-static .blur-text__seg {
  filter: none;
  opacity: 1;
  transform: none;
}

@keyframes blurTextIn {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: translate3d(0, -2.5rem, 0);
  }
  50% {
    filter: blur(5px);
    opacity: 0.5;
    transform: translate3d(0, 0.3rem, 0);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes blurTextInBottom {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0);
  }
  50% {
    filter: blur(5px);
    opacity: 0.5;
    transform: translate3d(0, -0.3rem, 0);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero__fade {
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-fade-delay, 0.2s);
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__fade {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .blur-text__seg {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero__scroll {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.hero__scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform-origin: top;
  animation: scrollPulse 2.4s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Sections */

.section {
  width: var(--content-width);
  margin-inline: auto;
  padding: var(--space-xl) 0;
}

.section__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  min-width: 0;
}

.section__grid > *,
.visit__grid > *,
.notes-faq__grid > *,
.pricing__grid > *,
.highlight-strip__grid > * {
  min-width: 0;
}

.craft__grid {
  grid-template-columns: 1fr;
}

.media--portrait {
  aspect-ratio: 3 / 4;
  min-height: clamp(14rem, 55vw, 22rem);
  width: 100%;
  max-width: 100%;
}

.detail-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.detail-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.detail-list__text {
  color: var(--ivory-dim);
}

/* Lane strip */

.lane-strip {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.6rem, 4vw, 2.85rem) 0;
  border-block: 1px solid var(--line);
  box-sizing: border-box;
}

.lane-strip__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: var(--content-width);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  box-sizing: border-box;
}

.lane-strip__item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.25rem;
  min-width: 0;
  padding: 0 0.35rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.lane-strip__item:last-child {
  border-right: 0;
}

.lane-strip__mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold);
  margin: 0 0 0.1rem;
}

.lane-strip__mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

.lane-strip__label {
  font-size: clamp(0.68rem, 2.4vw, 0.9rem);
  letter-spacing: 0.03em;
  color: var(--ivory);
  overflow-wrap: anywhere;
  min-width: 0;
  line-height: 1.25;
}

.lane-strip__value {
  font-size: clamp(0.58rem, 1.9vw, 0.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  overflow-wrap: anywhere;
  line-height: 1.3;
}

/* From the kitchen — featured + list */

.taste {
  max-width: 100%;
}

.taste__intro {
  margin-bottom: var(--space-lg);
  min-width: 0;
}

.taste__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  min-width: 0;
}

.media--taste {
  aspect-ratio: 4 / 5;
  min-height: clamp(14rem, 48vw, 26rem);
  width: 100%;
  max-width: 100%;
}

.taste-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  min-width: 0;
}

.taste-list__item {
  display: grid;
  grid-template-columns: minmax(3.5rem, 4.5rem) minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.taste-list__item:first-child {
  border-top: 1px solid var(--line);
}

.taste-list__thumb {
  width: 100%;
  max-width: 4.5rem;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  background: #f4f2ee;
}

.taste-list__copy {
  min-width: 0;
}

.taste-list__lane {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.taste-list__copy h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: none;
  overflow-wrap: anywhere;
}

.taste-list__copy p {
  margin: 0;
  font-size: clamp(0.88rem, 0.85rem + 0.2vw, 0.95rem);
  max-width: none;
  overflow-wrap: anywhere;
}

/* Legacy course rail (kept for other pages if needed) */

.omakase {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.omakase__intro {
  width: var(--content-width);
  margin: 0 auto var(--space-lg);
}

.course-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: var(--content-width);
  margin-inline: auto;
}

.course {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.media--course {
  aspect-ratio: 3 / 2;
  min-height: clamp(11rem, 40vw, 16rem);
  width: 100%;
}

.course__num {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.course__meta p {
  margin-bottom: 0;
}

/* Signature */

.signature__stage {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.media--signature {
  aspect-ratio: 4 / 5;
  min-height: 24rem;
}

.spec-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
}

.spec-list div {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.spec-list dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.spec-list dd {
  margin: 0;
  color: var(--ivory-dim);
}

.signature__motion {
  max-width: 52rem;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(30, 61, 47, 0.4), rgba(11, 12, 10, 0.9)),
    var(--ink-soft);
}

.signature__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 2;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--gold-soft);
  background: rgba(11, 12, 10, 0.72);
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.signature__motion-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

/* Counter */

.counter {
  width: 100%;
  max-width: none;
  padding: 0;
  position: relative;
  min-height: 80svh;
  display: grid;
  align-items: end;
}

.media--bleed {
  position: absolute;
  inset: 0;
  min-height: 80svh;
}

.media--bleed img {
  min-height: 80svh;
}

.counter__overlay {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (2 * var(--page-gutter))), 40rem);
  margin: 0 0 0 clamp(var(--page-gutter), 6vw, 5rem);
  padding: var(--space-xl) 0;
  background: linear-gradient(90deg, rgba(11, 12, 10, 0.88), rgba(11, 12, 10, 0.35) 80%, transparent);
}

.counter .media--bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(11, 12, 10, 0.2), rgba(11, 12, 10, 0.78));
  pointer-events: none;
}

/* Reserve */

.reserve {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.reserve__panel {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.65rem, 4.5vw, 3rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(30, 61, 47, 0.22), rgba(11, 12, 10, 0.4)),
    var(--ink-soft);
}

.reserve-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.reserve-form__row {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  background: rgba(11, 12, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(237, 230, 217, 0.28);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--gold);
}

/* Footer — stacked centered template, Matsumi styling */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(3.25rem, 7vw, 5rem) 0 calc(clamp(1.75rem, 4vw, 2.5rem) + env(safe-area-inset-bottom, 0px));
  background: #090a08;
}

.site-footer__inner {
  width: var(--content-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  min-width: 0;
}

.site-footer__mark {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.35rem;
  border-radius: 50%;
  background: rgba(229, 151, 87, 0.1);
  border: 1px solid rgba(229, 151, 87, 0.28);
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-footer__mark:hover {
  background: rgba(229, 151, 87, 0.16);
  border-color: rgba(229, 151, 87, 0.5);
  color: inherit;
}

.site-footer__mark img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.site-footer__brand-copy {
  margin-bottom: 1.75rem;
  min-width: 0;
  max-width: 28rem;
}

.site-footer__brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--ivory);
}

.site-footer__brand-copy p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--ivory-dim);
  max-width: none;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  margin-bottom: 1.75rem;
}

.site-footer__nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.3s var(--ease);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--gold);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.site-footer__social-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  text-decoration: none;
  background: transparent;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.site-footer__social-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.site-footer__social-btn:hover,
.site-footer__social-btn:focus-visible {
  color: var(--gold);
  border-color: rgba(229, 151, 87, 0.55);
  background: rgba(229, 151, 87, 0.08);
}

.site-footer__meta {
  margin-bottom: 2rem;
  max-width: 32rem;
}

.site-footer__meta p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--ivory-dim);
  max-width: none;
}

.site-footer__meta p:last-child {
  margin-bottom: 0;
}

.site-footer__meta a {
  color: var(--ivory-dim);
  text-decoration: none;
}

.site-footer__meta a:hover,
.site-footer__meta a:focus-visible {
  color: var(--gold);
}

.site-footer__base {
  width: 100%;
  margin: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.site-footer__base p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ivory-faint);
  max-width: none;
  line-height: 1.55;
}

/* Reveal motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.12s;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__image {
    transform: none;
  }
}

/* Pricing */

.pricing__intro {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.pricing__grid {
  display: grid;
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
}

.price-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 61, 47, 0.18), rgba(11, 12, 10, 0.55));
  padding: clamp(1.5rem, 3.5vw, 2.15rem) clamp(1.25rem, 3vw, 1.85rem);
}

.price-card--featured {
  border-color: rgba(229, 151, 87, 0.45);
  background: linear-gradient(180deg, rgba(229, 151, 87, 0.12), rgba(11, 12, 10, 0.55));
}

.price-card__head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}

.price-card__head p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.price-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--ivory-dim);
  min-width: 0;
}

.price-card__list li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.price-card__list li > strong {
  flex-shrink: 0;
}

.price-card__list em {
  font-style: normal;
  color: var(--ivory-faint);
  font-size: 0.85em;
  margin-left: 0.35rem;
}

.price-card__list strong {
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.pricing__note {
  margin-top: clamp(1.35rem, 3vw, 1.85rem);
  font-size: 0.85rem;
  color: var(--ivory-faint);
  max-width: none;
}

/* Visit / Location */

.visit__grid {
  display: grid;
  gap: var(--space-lg);
}

.visit__address {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--ivory);
  line-height: 1.35;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}

.visit__meta {
  display: grid;
  gap: 1.75rem;
}

.visit__meta h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hours-list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.visit__small {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--ivory-faint);
}

.visit__map {
  min-height: 18rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-soft);
}

.visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(16rem, 50vw, 22rem);
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* Notes + FAQ */

.notes-faq__grid {
  display: grid;
  gap: var(--space-xl);
}

.notes__layout {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  min-width: 0;
}

.notes__intro h2 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
}

.notes__body {
  min-width: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
}

.notes-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ivory-dim);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.notes-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.notes__cta {
  width: 100%;
  max-width: 40rem;
  margin: 0;
}

@media (min-width: 800px) {
  .notes__layout {
    grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 1.3fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }

  .notes__intro {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }

  .notes-list {
    max-width: none;
  }

  .notes__cta {
    max-width: none;
  }
}

.accordion__item {
  border-top: 1px solid var(--line);
}

.accordion__item:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion__item summary {
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__item summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.accordion__item[open] summary::after {
  content: "–";
}

.accordion__item p {
  margin: 0 0 1.15rem;
  max-width: 36rem;
}

.counter__overlay .btn {
  margin-top: 0.5rem;
}

/* Tablet+ */


@media (min-width: 768px) {
  .hero__scroll {
    display: flex;
  }

  .craft__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .signature__stage {
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .visit__meta {
    grid-template-columns: 1fr 1fr;
  }

  .reserve-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
  }

  .highlight-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: min(calc(100% - (2 * var(--page-gutter))), 78rem);
  }

  .menu-grid {
    gap: 0.5rem 2.5rem;
  }

  .price-card {
    min-height: 100%;
  }
}

@media (min-width: 900px) {
  .visit__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .notes-faq__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }

  .taste__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .nav__list {
    gap: 0.2rem;
  }

  .nav a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.65rem 0.9rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav__cta {
    display: inline-flex;
  }

  .header-tools {
    gap: 1.1rem;
    min-width: 11.5rem;
  }

  .brand {
    max-width: 11.5rem;
    min-width: 11.5rem;
  }

  .brand__logo {
    height: 2.15rem;
  }

  .hero {
    align-items: center;
    padding-bottom: 6rem;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .lane-strip__list {
    gap: 0.75rem;
  }

  .lane-strip__item {
    padding: 0 0.4rem;
  }

  .lane-strip__mark {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.15rem;
  }

  .lane-strip__mark svg {
    width: 1.65rem;
    height: 1.65rem;
  }

  .lane-strip__label {
    font-size: 0.92rem;
  }

  .lane-strip__value {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .course-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (min-width: 1200px) {
  .nav__list {
    gap: 0.35rem;
  }

  .nav a {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    padding: 0.65rem 1rem;
  }

  .brand,
  .header-tools {
    min-width: 12rem;
  }

  .brand {
    max-width: 12rem;
  }

  .brand__logo {
    height: 2.25rem;
  }
}

/* Page hero */
.page-hero {
  width: var(--content-width);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 3.75rem)) 0 clamp(1.75rem, 4vw, 2.75rem);
}

.page-hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  max-width: 16ch;
  line-height: 1.1;
}

.page-hero p {
  max-width: 36rem;
  margin-bottom: 0;
}

.page-hero__actions {
  margin-top: 1.5rem;
}

.contact-direct {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.contact-direct a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  color: var(--gold);
}

/* Menu cards */
.menu-grid {
  display: grid;
  gap: clamp(0.35rem, 1.5vw, 1rem);
}

.menu-card {
  border-top: 1px solid var(--line);
  padding: clamp(1.35rem, 3vw, 1.85rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.menu-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  max-width: none;
}

.menu-card p {
  margin: 0;
  line-height: 1.7;
}

.menu-sample-note {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-size: 0.9rem;
  color: var(--ivory-faint);
}

.highlight-strip__grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.highlight-strip__grid .media {
  aspect-ratio: 4 / 3;
  min-height: 12rem;
}

.highlight-strip__note {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--ivory-dim);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  justify-content: flex-start;
  min-width: 0;
}

.section-cta .btn {
  min-width: 0;
  flex: 0 1 auto;
}

.omakase .section-cta,
.taste .section-cta {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin-top: 1.35rem;
  text-decoration: none;
  color: var(--ivory-dim);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__rating:hover {
  color: var(--gold);
}

.hero__rating-score {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
}

.hero__rating-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.reviews {
  width: 100%;
  max-width: none;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  padding-inline: 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.reviews__intro {
  width: var(--content-width);
  margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.reviews__intro .eyebrow {
  margin: 0;
}

.reviews__intro h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.reviews__desc {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  margin: 0;
  max-width: 36rem;
  color: var(--ivory-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.reviews__score-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1;
  color: var(--gold);
  font-weight: 500;
}

.reviews__stars,
.review-card__stars {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  line-height: 1;
}

.reviews__drag-hint {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  max-width: none;
}

.reviews__link {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 151, 87, 0.45);
  padding-bottom: 0.15rem;
}

.reviews__link:hover {
  color: var(--gold);
}

.reviews__marquee {
  --reviews-gap: 1rem;
  position: relative;
  width: 100%;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.reviews__marquee.is-dragging {
  cursor: grabbing;
}

.reviews__marquee-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.35rem 0;
}

.reviews__marquee-track {
  display: flex;
  width: max-content;
  gap: var(--reviews-gap);
  will-change: transform;
}

.reviews__marquee-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--reviews-gap);
}

.reviews__marquee-fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 8rem);
  display: none;
}

.reviews__marquee-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}

.reviews__marquee-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--ink), transparent);
}

.review-card {
  flex: 0 0 auto;
  width: min(78vw, 20rem);
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, rgba(30, 61, 47, 0.28), rgba(11, 12, 10, 0.55));
  text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.review-card:hover {
  border-color: rgba(229, 151, 87, 0.35);
  background: linear-gradient(180deg, rgba(30, 61, 47, 0.38), rgba(11, 12, 10, 0.6));
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(229, 151, 87, 0.14);
  border: 1px solid rgba(229, 151, 87, 0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.review-card__who {
  min-width: 0;
}

.review-card__who h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

.review-card__who p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--ivory-faint);
  max-width: none;
}

.review-card__stars {
  margin: 0.85rem 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.review-card__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ivory-dim);
  max-width: none;
}

body[data-lang="zh"] .review-card__text {
  font-style: normal;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .reviews__marquee-fade {
    display: block;
  }

  .review-card {
    width: 20rem;
    padding: 1.25rem 1.35rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__marquee-viewport {
    padding-inline: var(--page-gutter);
  }
}

.cta-band {
  width: var(--content-width);
}

.cta-band__inner {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 61, 47, 0.22), rgba(11, 12, 10, 0.4));
}

.cta-band__inner h2 {
  max-width: 18ch;
}

.cta-band__inner .btn {
  margin-top: 0.5rem;
}

/* Gallery */
.gallery-section {
  padding-top: clamp(1rem, 3vw, 1.75rem);
  padding-bottom: var(--space-xl);
  opacity: 1;
  transform: none;
  max-width: 100%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery__item {
  flex: 0 0 calc(50% - 0.25rem);
  width: calc(50% - 0.25rem);
  max-width: calc(50% - 0.25rem);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f4f2ee;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.35s var(--ease), outline-color 0.35s var(--ease);
}

.gallery__item:hover,
.gallery__item:focus-visible {
  transform: translateY(-2px);
  outline: 1px solid var(--gold-soft);
}

.gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  pointer-events: none;
}

@media (min-width: 480px) {
  .gallery {
    gap: 0.6rem;
  }

  .gallery__item {
    flex-basis: calc(33.333% - 0.4rem);
    width: calc(33.333% - 0.4rem);
    max-width: calc(33.333% - 0.4rem);
  }
}

@media (min-width: 768px) {
  .gallery {
    gap: 0.85rem;
  }

  .gallery__item {
    flex-basis: calc(33.333% - 0.57rem);
    width: calc(33.333% - 0.57rem);
    max-width: calc(33.333% - 0.57rem);
  }

  .gallery__img {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .gallery {
    gap: 1rem;
  }

  .gallery__item {
    flex-basis: calc(25% - 0.75rem);
    width: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
  }
}

body[data-page="gallery"] .page-hero {
  padding-bottom: 1.25rem;
}

@media (max-width: 767px) {
  body[data-page="gallery"] .page-hero {
    padding-top: calc(var(--header-h) + 2.25rem);
    padding-bottom: 1rem;
  }

  body[data-page="gallery"] .page-hero h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem);
    max-width: 14ch;
    margin-bottom: 0.55rem;
  }

  body[data-page="gallery"] .page-hero p {
    font-size: 0.92rem;
    margin-bottom: 0;
  }

  body[data-page="gallery"] .gallery-section {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
  }

  body[data-page="gallery"] .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  body[data-page="gallery"] .gallery__item {
    flex: 0 0 calc(50% - 0.2rem);
    width: calc(50% - 0.2rem);
    max-width: calc(50% - 0.2rem);
  }

  body[data-page="gallery"] .gallery__img {
    aspect-ratio: 1 / 1;
  }

  body[data-page="gallery"] .cta-band {
    padding-top: 0.5rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(5, 6, 5, 0.92);
  padding: 4rem 1rem 2rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 56rem);
  max-height: 80vh;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #f4f2ee;
}

.lightbox__figure figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--ivory-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: rgba(11, 12, 10, 0.7);
  color: var(--ivory);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  padding: 0.65rem 1rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.4rem 0.75rem;
}

.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }

.mobile-nav a.is-active {
  color: var(--gold);
}

.contact .reserve,
.notes-faq .reserve {
  padding: 0;
  width: 100%;
  max-width: none;
}

.notes-faq .reserve__panel {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none !important;
  }
}

/* Small phones */
@media (max-width: 479px) {
  :root {
    --header-h: 4rem;
    --page-gutter: 1.35rem;
    --space-xl: clamp(3.75rem, 12vw, 4.75rem);
    --space-2xl: clamp(4.75rem, 14vw, 6rem);
  }

  .header-tools {
    gap: 0.55rem;
  }

  .brand {
    max-width: min(52vw, 9.5rem);
  }

  .brand__logo {
    height: 1.85rem;
  }

  .site-header__inner,
  .section,
  .page-hero,
  .hero__content,
  .site-footer__inner,
  .cta-band,
  .course-rail {
    width: var(--content-width);
  }

  .section-cta {
    width: 100%;
  }

  .price-card {
    padding: 1.45rem 1.2rem;
  }

  .menu-card {
    padding: 1.35rem 0 1.6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions,
  .visit__actions,
  .section-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .visit__actions .btn,
  .section-cta .btn,
  .cta-band__inner .btn {
    width: 100%;
    min-width: 0;
  }

  .notes__layout {
    grid-template-columns: 1fr;
  }

  .notes__intro {
    position: static;
  }

  .notes__intro h2 {
    max-width: none;
  }

  .notes-list li {
    padding: 0.95rem 0 0.95rem 1.15rem;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    max-width: 14ch;
  }

  .hero__brand {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }

  .hero__line {
    max-width: none;
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }

  .taste-list__item {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .taste-list__copy h3 {
    font-size: 1.1rem;
  }

  .taste-list__copy p {
    font-size: 0.86rem;
  }

  .media--taste {
    min-height: 14rem;
    aspect-ratio: 1 / 1;
  }

  .price-card__list li,
  .hours-list li {
    font-size: 0.88rem;
  }

  .hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .highlight-strip__grid {
    grid-template-columns: 1fr;
  }

  .highlight-strip__grid .media {
    min-height: 10rem;
  }

  .lightbox {
    padding: 3.5rem 0.5rem 1.25rem;
  }

  .lightbox__nav--prev { left: 0.25rem; }
  .lightbox__nav--next { right: 0.25rem; }

  .lightbox__close {
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.5rem 0.7rem;
  }

  .visit__map {
    min-height: 14rem;
  }

}

/* Phones & small tablets */
@media (max-width: 767px) {
  .site-footer {
    padding: 2.75rem 0 1.5rem;
  }

  .site-footer__mark {
    width: 4.75rem;
    height: 4.75rem;
    margin-bottom: 1.1rem;
  }

  .site-footer__mark img {
    width: 2rem;
    height: 2rem;
  }

  .site-footer__brand-copy {
    margin-bottom: 1.4rem;
  }

  .site-footer__nav {
    gap: 0.7rem 1.15rem;
    margin-bottom: 1.4rem;
  }

  .site-footer__social {
    margin-bottom: 1.4rem;
  }

  .site-footer__meta {
    margin-bottom: 1.6rem;
    font-size: 0.88rem;
  }

  .site-footer__base p {
    font-size: 0.72rem;
  }

  .taste-list__item {
    grid-template-columns: minmax(3.25rem, 3.75rem) minmax(0, 1fr);
    gap: 0.85rem;
  }

  .reserve__panel {
    padding: 1.5rem 1.25rem;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 1rem; /* iOS zoom prevention */
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: calc(var(--header-h) + 1.5rem) 0 3.25rem;
  }

  .hero__lede {
    font-size: 0.98rem;
    max-width: none;
  }

  .hero__content {
    width: var(--content-width);
  }

  .section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 2.25rem);
    padding-bottom: 2rem;
  }

  .notes-list li {
    padding: 0.95rem 0 0.95rem 1.15rem;
  }

  .cta-band__inner {
    padding: 1.65rem 1.25rem;
  }

  .cta-band__inner h2,
  .taste__intro h2 {
    max-width: none;
  }

  .page-hero h1,
  .page-hero p,
  .accordion__item summary,
  .site-footer__brand-copy strong,
  .site-footer__meta p,
  .visit__address,
  .taste-list__copy h3,
  .taste-list__copy p,
  .lane-strip__label,
  .lane-strip__value,
  .review__quote,
  .review__meta {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .reserve-form__row {
    grid-template-columns: 1fr;
  }

  .visit__actions {
    flex-direction: column;
  }

  .visit__actions .btn {
    width: 100%;
  }

  .mobile-nav {
    max-height: min(70svh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

}

/* Compact landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 1rem) 0 2rem;
  }

  .hero__scroll {
    display: none;
  }

  .media--portrait,
  .media--taste {
    min-height: 12rem;
  }

}

/* Mid tablets: avoid cramped side-by-side stacks */
@media (min-width: 768px) and (max-width: 899px) {
  .craft__grid,
  .signature__stage {
    grid-template-columns: 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .highlight-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight-strip__grid .media:last-child {
    grid-column: 1 / -1;
    max-width: 28rem;
    justify-self: center;
    width: 100%;
  }

  .visit__meta {
    grid-template-columns: 1fr;
  }

  .media--taste {
    max-width: 28rem;
    margin-inline: auto;
  }
}

@media (max-width: 479px) {
  .lane-strip__list {
    width: var(--content-width);
    gap: 0.25rem;
  }

  .lane-strip__item {
    padding: 0 0.2rem;
  }

  .lane-strip__mark {
    width: 1.5rem;
    height: 1.5rem;
  }

  .lane-strip__mark svg {
    width: 1.15rem;
    height: 1.15rem;
  }
}
