/*
 * Dong Que Quan München
 * Light editorial redesign inspired by the composition and pacing of Sakurhan.
 * The implementation keeps Dong Que Quan's own content, photography and actions.
 */

:root {
  --crimson: #6b2428;
  --crimson-hover: #4c171b;
  --crimson-light: rgba(107, 36, 40, 0.09);
  --crimson-glow: rgba(107, 36, 40, 0.16);
  --gold: #9a7742;
  --gold-hover: #6f5128;
  --gold-light: rgba(154, 119, 66, 0.1);
  --gold-line: rgba(27, 23, 20, 0.16);
  --gold-border: rgba(27, 23, 20, 0.26);
  --green: #476245;
  --green-light: rgba(71, 98, 69, 0.1);

  --bg-main: #fbf4e8;
  --bg-card: #fffaf0;
  --bg-subtle: #f3e9d8;
  --bg-accent: #efe0c8;
  --bg-dark: #11100e;

  --text-primary: #1b1714;
  --text-secondary: #514940;
  --text-muted: #71665c;
  --text-inverse: #fffaf0;

  --shadow-sm: 0 8px 24px rgba(42, 31, 20, 0.07);
  --shadow-md: 0 22px 58px -28px rgba(42, 31, 20, 0.32);
  --shadow-lg: 0 32px 82px -34px rgba(42, 31, 20, 0.38);
  --shadow-hover: 0 34px 86px -32px rgba(42, 31, 20, 0.42);

  --header-h: 78px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Purpose-led type roles: editorial display, calm reading, clear utility. */
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: Manrope, "Segoe UI", Arial, sans-serif;
  --type-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --type-supporting: 0.9375rem;
  --type-ui: 0.8125rem;
  --type-label: 0.75rem;
}

html { color-scheme: light; }

body {
  background:
    radial-gradient(circle at 14% 7%, rgba(107, 36, 40, 0.065), transparent 25rem),
    radial-gradient(circle at 88% 2%, rgba(155, 117, 54, 0.1), transparent 24rem),
    var(--bg-main);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.003em;
}

::selection {
  color: var(--text-inverse);
  background: var(--crimson);
}

::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb {
  background: #b8a98f;
  border-color: var(--bg-main);
}

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

h2 {
  max-width: 13ch;
  font-size: clamp(3.25rem, 5.8vw, 5.75rem);
  line-height: 0.94;
}

p { max-width: 72ch; }

.section {
  padding: clamp(6rem, 9vw, 9rem) max(1.25rem, calc((100vw - 1180px) / 2));
}

.button {
  min-height: 50px;
  border-radius: 8px;
  background: var(--crimson);
  box-shadow: none;
  text-transform: none;
}

.button:hover {
  background: var(--crimson-hover);
  box-shadow: var(--shadow-sm);
}

.button:active { transform: translateY(1px) scale(0.98); }

/* Header */
.site-header {
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  gap: clamp(1rem, 2vw, 2.25rem);
  padding: 0 clamp(1.25rem, 4.4vw, 4.5rem);
  color: var(--text-inverse);
  background: rgba(17, 16, 14, 0.34);
  border-bottom-color: rgba(255, 250, 240, 0.16);
  backdrop-filter: blur(12px) saturate(110%);
  box-shadow: none;
}

.brand {
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  color: var(--text-inverse);
}

.brand-seal {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  color: currentColor;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.brand-copy small {
  color: rgba(255, 250, 240, 0.72);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.035em;
}

.desktop-nav a,
.menu-toggle { color: var(--text-inverse); }

.desktop-nav {
  justify-self: center;
  gap: clamp(1rem, 1.55vw, 1.75rem);
}

.desktop-nav a {
  font-size: var(--type-ui);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.desktop-nav a::after { background: #d0aa63; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: #e2c588; }

.header-actions {
  justify-self: end;
}

.header-reserve {
  min-height: 44px;
  padding-inline: 1.35rem;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  background: #c9a35f;
}

.header-reserve:hover {
  color: var(--text-primary);
  background: #ddbd7a;
}

.site-header.is-scrolled {
  height: 72px;
  color: var(--text-primary);
  background: rgba(251, 244, 232, 0.96);
  border-bottom-color: var(--gold-line);
  box-shadow: 0 10px 28px rgba(42, 31, 20, 0.08);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .desktop-nav a,
.site-header.is-scrolled .menu-toggle { color: var(--text-primary); }

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a:focus-visible { color: var(--crimson); }

.site-header.is-scrolled .brand-copy small { color: var(--crimson); }
.site-header.is-scrolled .header-reserve { color: var(--text-inverse); background: var(--crimson); }
.site-header.is-scrolled .header-reserve:hover { background: var(--crimson-hover); }

.mobile-nav {
  color: var(--text-primary);
  background: rgba(251, 244, 232, 0.985);
}

body.menu-open .site-header {
  color: var(--text-primary);
  background: rgba(251, 244, 232, 0.985);
  border-bottom-color: var(--gold-line);
}

body.menu-open .site-header .menu-toggle { color: var(--text-primary); }
body.menu-open .site-header .brand { color: var(--text-primary); }
body.menu-open .site-header .brand-copy small { color: var(--crimson); }

/* Full-bleed first viewport */
.hero {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: calc(var(--header-h) + 2.25rem) 1.25rem 3.25rem;
  color: var(--text-inverse);
  background: var(--bg-dark);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(44px, 8vw, 86px);
  background: linear-gradient(180deg, transparent, rgba(251, 244, 232, 0.96));
  pointer-events: none;
}

.hero-image {
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(ellipse 31% 58% at 50% 48%, rgba(107, 36, 40, 0.68), rgba(107, 36, 40, 0.2) 58%, transparent 76%),
    linear-gradient(180deg, rgba(17, 16, 14, 0.48), rgba(17, 16, 14, 0.16) 36%, rgba(17, 16, 14, 0.52)),
    linear-gradient(90deg, rgba(17, 16, 14, 0.48), transparent 28%, transparent 70%, rgba(107, 36, 40, 0.28));
}

.rice-fall {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.rice-grain {
  position: absolute;
  top: -12vh;
  left: var(--grain-x);
  width: var(--grain-size);
  height: var(--grain-height);
  border-radius: 100% 8% 100% 8%;
  background: linear-gradient(90deg, #9a7742, #f0d28c 52%, #b58b4d);
  box-shadow: 0 3px 9px rgba(17, 16, 14, 0.2);
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
  animation: rice-grain-fall var(--fall-duration) linear var(--fall-delay) infinite;
}

.rice-grain::after {
  content: "";
  position: absolute;
  inset: 46% 16% auto;
  height: 1px;
  background: rgba(255, 250, 240, 0.58);
}

.rice-fall.is-paused .rice-grain {
  animation-play-state: paused;
  will-change: auto;
}

@keyframes rice-grain-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -12vh, 0) rotate(var(--turn-start));
  }
  12% { opacity: var(--grain-opacity); }
  42% {
    transform: translate3d(var(--drift-mid), 43vh, 0) rotate(var(--turn-mid));
  }
  78% { opacity: var(--grain-opacity); }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-end), 116vh, 0) rotate(var(--turn-end));
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
  max-width: 980px;
  text-align: center;
}

.hero-seal {
  width: clamp(94px, 8.6vw, 132px);
  height: auto;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(17, 16, 14, 0.28);
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  color: rgba(255, 250, 240, 0.82);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-kicker span + span::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  margin: 0 0.65rem 0.22em 0;
  background: rgba(255, 250, 240, 0.48);
  vertical-align: middle;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: var(--text-inverse);
  font-size: clamp(4.35rem, 7vw, 5.75rem);
  font-weight: 600;
  line-height: 0.89;
  letter-spacing: -0.018em;
  text-shadow: 0 4px 28px rgba(17, 16, 14, 0.24);
}

.hero h1 span {
  display: block;
  color: inherit;
  font-size: inherit;
  font-style: normal;
  letter-spacing: inherit;
}

.hero h1 span:first-child {
  font-size: 0.96em;
  letter-spacing: -0.018em;
  text-transform: none;
}

.hero h1 span:last-child {
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 42ch;
  margin-bottom: 1.6rem;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.0625rem, 1.45vw, 1.1875rem);
  line-height: 1.62;
}

.hero-buttons {
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
}

.hero-buttons .button {
  min-width: 180px;
  border-radius: 8px;
  white-space: nowrap;
}

.hero-buttons .button:first-child {
  color: var(--text-primary);
  background: #c9a35f;
}
.hero-buttons .button:first-child:hover { background: #ddbd7a; }
.hero-buttons .button-ghost {
  color: var(--text-inverse);
  border-color: rgba(255, 250, 240, 0.52);
  background: rgba(17, 16, 14, 0.38);
  backdrop-filter: blur(9px);
}
.hero-buttons .button-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.hero-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.hero-facts span {
  padding: 0.58rem 0.85rem;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  color: rgba(255, 250, 240, 0.82);
  background: rgba(17, 16, 14, 0.46);
  backdrop-filter: blur(8px);
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

/* Editorial intro */
.about {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(3rem, 8vw, 7rem);
  background:
    linear-gradient(118deg, rgba(255, 250, 240, 0.84), rgba(239, 224, 200, 0.34)),
    var(--bg-main);
}

.about-image,
.about-image img { min-height: clamp(34rem, 54vw, 43rem); }

.about-image img {
  border-radius: var(--radius);
  object-position: 56% center;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: "";
  display: block;
  position: absolute;
  inset: 2.25rem -1.25rem -1.25rem 2.25rem;
  border-radius: var(--radius);
  background: var(--crimson);
}

.about-copy h2 { color: var(--text-primary); }
.about-copy > p { color: var(--text-secondary); }
.values li { border-bottom-color: var(--gold-line); }

/* Featured dishes */
.recommendations {
  color: var(--text-primary);
  background: var(--bg-card);
}

.recommendations .section-heading {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.dish-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, minmax(250px, 290px));
  gap: 1rem;
  max-width: 1180px;
}

.dish-card,
.dish-card:nth-child(1),
.dish-card:nth-child(2),
.dish-card:nth-child(3),
.dish-card:nth-child(4) {
  min-height: 250px;
  grid-column: auto;
  grid-row: auto;
  border-radius: var(--radius);
  box-shadow: none;
}

.dish-card:nth-child(1) { grid-row: 1 / 3; }
.dish-card:nth-child(4) { grid-column: 2 / 4; }
.dish-card:nth-child(1) img { object-position: 50% 48%; }
.dish-card:nth-child(2) img { object-position: 50% 47%; }
.dish-card:nth-child(3) img { object-position: 50% 50%; }
.dish-card:nth-child(4) img { object-position: 50% 52%; }

.dish-card::after {
  inset: 30% 0 0;
  background: linear-gradient(0deg, rgba(17, 16, 14, 0.88), rgba(17, 16, 14, 0.08) 76%, transparent);
}

/* One strong red interruption, as in the reference pacing */
.lunch-callout {
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--text-inverse);
  background: var(--crimson);
  border: 0;
}

.lunch-time,
.lunch-copy h2,
.lunch-copy p { color: var(--text-inverse); }
.lunch-time i { background: #d8b872; }
.lunch-callout .text-link {
  color: var(--text-inverse);
  border-bottom-color: #d8b872;
}
.lunch-callout .text-link:hover,
.lunch-callout .text-link:focus-visible {
  color: var(--text-inverse);
  border-bottom-color: var(--text-inverse);
}

/* Warm dining-journal room with a burgundy menu cover. */
.menu-section {
  position: relative;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 92% 4%, rgba(107, 36, 40, 0.14), transparent 29rem),
    radial-gradient(circle at 3% 36%, rgba(154, 119, 66, 0.18), transparent 32rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.7), rgba(239, 224, 200, 0.88)),
    var(--bg-accent);
  border-block: 1px solid rgba(107, 36, 40, 0.16);
}

.menu-intro {
  max-width: 1180px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.menu-intro h2 { color: var(--crimson); }
.menu-intro p {
  max-width: 61ch;
  color: var(--text-secondary);
}

.menu-book {
  padding: clamp(0.65rem, 1.1vw, 1rem);
  max-width: 1180px;
  color: var(--text-inverse);
  border: 1px solid rgba(107, 36, 40, 0.38);
  border-radius: 12px;
  background: var(--crimson);
  box-shadow: 0 30px 72px -34px rgba(42, 31, 20, 0.34);
}

.menu-book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 90px;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(255, 250, 240, 0.24);
  background: var(--crimson-hover);
  border-radius: 7px 7px 0 0;
}

.menu-book-head div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.menu-book-head span {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.02;
}

.menu-book-head small,
.menu-book-head p {
  color: rgba(255, 250, 240, 0.78);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.menu-book-head p {
  margin: 0;
  text-align: right;
}

.menu-page {
  position: relative;
  color: var(--text-primary);
  border-radius: 7px;
  background: var(--bg-card);
  box-shadow:
    inset 0 0 0 1px rgba(27, 23, 20, 0.08),
    0 20px 45px -28px rgba(0, 0, 0, 0.9);
}

.menu-toolbar {
  top: 72px;
  border-radius: 7px 7px 0 0;
  border-color: var(--gold-line);
  background: rgba(255, 250, 240, 0.95);
}

.menu-filters {
  padding-bottom: 0.45rem;
  scrollbar-color: rgba(107, 36, 40, 0.38) transparent;
}

.menu-filters::-webkit-scrollbar { height: 4px; }
.menu-filters::-webkit-scrollbar-track { background: transparent; }
.menu-filters::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 999px;
  background: rgba(107, 36, 40, 0.38);
}

.filter-button {
  border-radius: 8px;
  color: var(--text-secondary);
  background: var(--bg-subtle);
}
.filter-button:hover {
  color: var(--crimson);
  border-color: rgba(107, 36, 40, 0.3);
  background: var(--bg-card);
}
.filter-button.is-active {
  color: var(--text-inverse);
  border-color: var(--crimson);
  background: var(--crimson);
  box-shadow: none;
}

.menu-search input {
  border-radius: 8px;
  color: var(--text-primary);
  border-color: var(--gold-border);
  background: #fffdf8;
}
.menu-search input::placeholder { color: var(--text-muted); }
.menu-search input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px var(--crimson-light);
}

.menu-status {
  min-height: 0;
  padding: 0.85rem clamp(1.5rem, 4vw, 3.5rem);
  color: var(--crimson);
  border-bottom: 1px solid var(--gold-line);
  background: rgba(243, 233, 216, 0.42);
}

.menu-content {
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) 2.5rem;
}

.menu-group {
  display: block;
  padding: clamp(2.75rem, 4.5vw, 4rem) 0;
  border-color: var(--gold-line);
}

.menu-group-header {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.5rem 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(107, 36, 40, 0.24);
}

.menu-group h3 {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  color: var(--text-primary);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.96;
}
.menu-group-count,
.menu-price { color: var(--crimson); }
.menu-group-count {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  order: initial;
  white-space: nowrap;
}
.menu-group-subtitle,
.menu-meta { color: var(--text-muted); }
.menu-group-subtitle {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 65ch;
  margin: 0;
}

.menu-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 4vw, 4rem);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: stretch;
  align-items: stretch;
  gap: 1.25rem;
  min-height: 0;
  padding: 1.5rem 0;
}
.menu-item::after { display: block; background: var(--gold-line); }
.menu-item h4 { color: var(--text-primary); }
.menu-item-copy { min-width: 0; }
.menu-item-actions {
  display: flex;
  min-width: 6.25rem;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.menu-price {
  align-self: auto;
  font-size: 1.0625rem;
}
.menu-description {
  max-width: 66ch;
  margin: 0.55rem 0 0 3rem;
  color: var(--text-secondary);
  font-size: var(--type-supporting);
  line-height: 1.64;
}
.menu-meta { margin: 0.45rem 0 0 3rem; }
.filter-button,
.menu-add { font-size: var(--type-ui); }
.menu-group-count,
.menu-meta { font-size: var(--type-label); }
.menu-group-subtitle {
  font-size: var(--type-ui);
  line-height: 1.55;
  letter-spacing: 0.012em;
}
.menu-item h4 {
  font-size: 1.625rem;
  line-height: 1.16;
}
.menu-add {
  grid-column: auto;
  align-self: auto;
  justify-self: auto;
  margin-top: 0;
}
.menu-add {
  border-radius: 8px;
  color: var(--text-primary);
  border-color: var(--gold-border);
  background: transparent;
}
.menu-add:hover,
.menu-add.is-added {
  color: var(--text-inverse);
  border-color: var(--crimson);
  background: var(--crimson);
}

/* Long-form speciality story */
.specialties { background: var(--bg-main); }
.specialties-heading { max-width: 760px; }
.special-row { max-width: 1180px; }
.special-row-wide-media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.special-row-wide-media .special-media {
  height: auto;
  aspect-ratio: 5 / 4;
}
.special-media {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.special-row:nth-of-type(1) img { object-position: 50% 52%; }
.special-row:nth-of-type(2) img { object-position: 50% 48%; }
.special-row:nth-of-type(3) img { object-position: 50% 53%; }
.special-row:nth-of-type(4) img { object-position: 50% 53%; }
.special-copy > span { color: var(--crimson); }
.special-copy h3 {
  color: var(--text-primary);
  line-height: 0.94;
}
.special-copy p {
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.72;
}

/* Image mosaic */
.gallery { background: var(--bg-subtle); }
.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, minmax(240px, 290px));
  max-width: 1180px;
}
.gallery-item {
  border-radius: var(--radius);
  box-shadow: none;
}
.gallery-item:first-child { grid-column: 1; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
.gallery-item:nth-child(3),
.gallery-item:nth-child(4) { grid-column: auto; grid-row: 2; }
.gallery-item:nth-child(1) img { object-position: 50% 49%; }
.gallery-item:nth-child(2) img { object-position: 50% 52%; }
.gallery-item:nth-child(3) img { object-position: 50% 45%; }
.gallery-item:nth-child(4) img { object-position: 50% 52%; }

/* Practical information */
.hours {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  color: var(--text-primary);
  background: var(--bg-accent);
  border-color: var(--gold-line);
}
.hours h2,
.hours-times { color: var(--text-primary); }
.hours-title-wrap p { color: var(--crimson); }
.hours-note {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--crimson);
  border-radius: 8px;
  border-color: rgba(107, 36, 40, 0.34);
  background: rgba(255, 250, 240, 0.48);
}

.location {
  grid-template-columns: minmax(22rem, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  padding: 0;
  background: var(--bg-card);
}
.location-copy { padding: clamp(5rem, 8vw, 7rem) clamp(2rem, 6vw, 6rem); }
.location-copy h2 { color: var(--text-primary); }
.location-copy address { color: var(--text-secondary); }
.location-copy p span { color: var(--crimson); }
.location-copy p a { color: var(--text-primary); }
.map-wrap {
  min-height: 640px;
  border-radius: 0;
  box-shadow: none;
}

.reservation {
  grid-template-columns: minmax(0, 0.78fr) minmax(34rem, 1.22fr);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 0% 100%, rgba(107, 36, 40, 0.08), transparent 25rem),
    var(--bg-main);
  border-top-color: var(--gold-line);
}
.reservation h2 { color: var(--text-primary); }
.reservation-copy > p { color: var(--text-secondary); }
.reservation-form {
  border: 1px solid rgba(27, 23, 20, 0.1);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.form-field label { color: var(--text-primary); }
.form-field input,
.form-field textarea {
  border-radius: 8px;
  color: var(--text-primary);
  border-color: rgba(27, 23, 20, 0.26);
  background: #fffdf8;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #766b61; }

/* Utilities and footer */
.cart-launcher {
  border-radius: 8px;
  color: var(--text-inverse);
  background: var(--text-primary);
}
.cart-count {
  border-radius: 6px;
  color: var(--text-inverse);
  background: var(--crimson);
}

.site-footer {
  color: rgba(255, 250, 240, 0.72);
  background: var(--bg-dark);
  border-color: rgba(255, 250, 240, 0.14);
}
.footer-grid { border-color: rgba(255, 250, 240, 0.16); }
.footer-brand { color: var(--text-inverse); }
.footer-grid h2 { color: #d8b872; }
.footer-grid p,
.footer-grid a,
.footer-grid address { color: rgba(255, 250, 240, 0.72); }
.footer-social { border-color: rgba(255, 250, 240, 0.16); }
.footer-social a { color: var(--text-inverse); }
.footer-bottom {
  color: rgba(255, 250, 240, 0.62);
  font-size: var(--type-ui);
  line-height: 1.55;
}

.footer-credit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: rgba(255, 250, 240, 0.76);
  white-space: nowrap;
}

.footer-credit::before {
  content: "";
  width: 2rem;
  height: 1px;
  margin-right: 0.15rem;
  background: #d8b872;
  transform: translateY(-0.18rem);
}

.footer-credit strong {
  color: #e2c588;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}

/* ========================================================================== 
   MOTION SYSTEM
   A lacquer curtain opens the page, then imagery is uncovered as the story
   progresses. Content stays visible when JavaScript is unavailable.
   ========================================================================== */

.page-intro { display: none; }

.js:not(.page-ready) { overflow: hidden; }

.js .page-intro {
  position: fixed;
  z-index: 4000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text-inverse);
  background: var(--crimson);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.82s cubic-bezier(0.76, 0, 0.24, 1) 0.18s;
}

.js .page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 250, 240, 0.12), transparent 18rem),
    linear-gradient(110deg, transparent 35%, rgba(255, 250, 240, 0.06), transparent 64%);
  transform: translateX(-22%);
  animation: intro-light 1.1s var(--ease) both;
}

.page-intro-mark {
  position: relative;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  animation: intro-mark-in 0.58s var(--ease) both;
}

.page-intro-mark span {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.page-intro-mark small {
  color: rgba(255, 250, 240, 0.78);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-intro-line {
  position: absolute;
  bottom: 16%;
  width: min(14rem, 46vw);
  height: 1px;
  background: #d8b872;
  transform: scaleX(0);
  animation: intro-line 0.65s 0.12s var(--ease) both;
}

.js.page-ready .page-intro {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.js.page-ready .page-intro-mark {
  animation: intro-mark-out 0.32s var(--ease) both;
}

@keyframes intro-light {
  from { opacity: 0; transform: translateX(-22%); }
  to { opacity: 1; transform: translateX(22%); }
}

@keyframes intro-mark-in {
  from { opacity: 0; transform: translateY(1.3rem); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes intro-mark-out {
  to { opacity: 0; transform: translateY(-0.75rem); filter: blur(5px); }
}

@keyframes intro-line { to { transform: scaleX(1); } }

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: page-progress linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes page-progress { to { transform: scaleX(1); } }

/* Opening sequence */
.js .hero-image,
.js .hero-shade,
.js .hero-seal,
.js .hero-kicker,
.js .hero h1,
.js .hero h1 span,
.js .hero-lead,
.js .hero-buttons,
.js .hero-facts { animation: none; }

.js:not(.page-ready) .site-header,
.js:not(.page-ready) .hero-seal,
.js:not(.page-ready) .hero-kicker,
.js:not(.page-ready) .hero h1 span,
.js:not(.page-ready) .hero-lead,
.js:not(.page-ready) .hero-buttons,
.js:not(.page-ready) .hero-facts { opacity: 0; }

.js:not(.page-ready) .hero-image {
  filter: brightness(0.76) saturate(0.82);
  transform: scale(1.09);
}

.js.page-ready .site-header {
  animation: header-arrival 0.68s 0.58s var(--ease) both;
}

.js.page-ready .hero-image {
  animation: hero-camera-arrival 1.55s 0.15s var(--ease) both;
}

.js.page-ready .hero-shade {
  animation: hero-shade-arrival 1.1s 0.22s var(--ease) both;
}

.js.page-ready .hero-seal {
  animation: hero-seal-arrival 0.78s 0.32s var(--ease) both;
}

.js.page-ready .hero-kicker {
  animation: hero-detail-arrival 0.6s 0.4s var(--ease) both;
}

.js.page-ready .hero h1 span {
  animation: hero-word-arrival 0.78s 0.48s var(--ease) both;
}

.js.page-ready .hero h1 span:last-child { animation-delay: 0.58s; }

.js.page-ready .hero-lead {
  animation: hero-detail-arrival 0.64s 0.7s var(--ease) both;
}

.js.page-ready .hero-buttons {
  animation: hero-detail-arrival 0.64s 0.8s var(--ease) both;
}

.js.page-ready .hero-facts {
  animation: hero-info-arrival 0.72s 0.9s var(--ease) both;
}

@keyframes header-arrival {
  from { opacity: 0; transform: translateY(-1rem); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-camera-arrival {
  from { filter: brightness(0.76) saturate(0.82); transform: scale(1.09); }
  to { filter: brightness(1) saturate(1); transform: scale(1.02); }
}

@keyframes hero-shade-arrival {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

@keyframes hero-seal-arrival {
  from { opacity: 0; transform: translateY(-1rem) scale(0.82); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes hero-word-arrival {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes hero-detail-arrival {
  from { opacity: 0; transform: translateY(1.25rem); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes hero-info-arrival {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: none; }
}

/* Story reveals use different movement according to their layout role. */
.js .section-heading.reveal,
.js .about-copy.reveal,
.js .lunch-copy.reveal,
.js .menu-intro.reveal,
.js .specialties-heading.reveal,
.js .location-copy.reveal,
.js .reservation-copy.reveal,
.js .reservation-form.reveal {
  opacity: 0;
  clip-path: inset(0 0 22% 0);
  filter: blur(7px);
  transform: translateY(2.25rem);
  transition:
    opacity 0.72s var(--ease),
    clip-path 0.82s var(--ease),
    filter 0.72s var(--ease),
    transform 0.82s var(--ease);
}

.js .section-heading.reveal.is-visible,
.js .about-copy.reveal.is-visible,
.js .lunch-copy.reveal.is-visible,
.js .menu-intro.reveal.is-visible,
.js .specialties-heading.reveal.is-visible,
.js .location-copy.reveal.is-visible,
.js .reservation-copy.reveal.is-visible,
.js .reservation-form.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  transform: none;
}

.js .about-image.reveal,
.js .dish-card.reveal,
.js .gallery-item.reveal,
.js .map-wrap.reveal,
.js .menu-book.reveal {
  opacity: 0;
  clip-path: inset(9% 0 9% 0 round var(--radius));
  filter: saturate(0.68) brightness(0.9);
  transform: translateY(1.8rem) scale(0.985);
  transition:
    opacity 0.7s var(--ease),
    clip-path 0.92s var(--ease),
    filter 0.92s var(--ease),
    transform 0.92s var(--ease),
    box-shadow 0.45s var(--ease);
}

.js .about-image.reveal.is-visible,
.js .dish-card.reveal.is-visible,
.js .gallery-item.reveal.is-visible,
.js .map-wrap.reveal.is-visible,
.js .menu-book.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 round var(--radius));
  filter: saturate(1) brightness(1);
  transform: none;
}

.js .dish-card.reveal:nth-child(2),
.js .gallery-item.reveal:nth-child(2) { transition-delay: 70ms; }
.js .dish-card.reveal:nth-child(3),
.js .gallery-item.reveal:nth-child(3) { transition-delay: 140ms; }
.js .dish-card.reveal:nth-child(4),
.js .gallery-item.reveal:nth-child(4) { transition-delay: 210ms; }

.js .dish-card.reveal.is-visible:hover,
.js .gallery-item.reveal.is-visible:hover { transform: translateY(-5px); }

.js .lunch-time.reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateX(-2.5rem);
  transition: opacity 0.72s var(--ease), filter 0.72s var(--ease), transform 0.82s var(--ease);
}

.js .lunch-time.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.js .special-row.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateX(-2.5rem);
  transition: opacity 0.76s var(--ease), filter 0.76s var(--ease), transform 0.9s var(--ease);
}

.js .special-row-reverse.reveal { transform: translateX(2.5rem); }
.js .special-row.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.dish-card-copy,
.gallery-item span,
.special-copy { transition: transform 0.42s var(--ease), opacity 0.42s var(--ease); }
.dish-card:hover .dish-card-copy { transform: translateY(-0.35rem); }
.special-row:hover .special-copy { transform: translateX(0.35rem); }
.special-row-reverse:hover .special-copy { transform: translateX(-0.35rem); }

/* Tactile feedback */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -30% auto -30% -36%;
  width: 25%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
  transform: skewX(-18deg) translateX(0);
  transition: transform 0.55s var(--ease);
}

.button:hover::after { transform: skewX(-18deg) translateX(620%); }

.menu-add,
.filter-button,
.quantity-control button,
.cart-close,
.lightbox-close {
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.16s var(--ease);
}

.menu-add:active,
.filter-button:active,
.quantity-control button:active,
.cart-close:active,
.lightbox-close:active { transform: scale(0.95); }

.cart-count { transition: transform 0.25s var(--ease), background 0.25s var(--ease); }
.cart-launcher:hover .cart-count { transform: rotate(-7deg) scale(1.08); }

.mobile-nav:not([hidden]) > a,
.mobile-nav:not([hidden]) > button {
  animation: mobile-link-arrival 0.42s var(--ease) both;
}
.mobile-nav:not([hidden]) > :nth-child(2) { animation-delay: 40ms; }
.mobile-nav:not([hidden]) > :nth-child(3) { animation-delay: 80ms; }
.mobile-nav:not([hidden]) > :nth-child(4) { animation-delay: 120ms; }
.mobile-nav:not([hidden]) > :nth-child(5) { animation-delay: 160ms; }
.mobile-nav:not([hidden]) > :nth-child(6) { animation-delay: 200ms; }
.mobile-nav:not([hidden]) > :nth-child(7) { animation-delay: 240ms; }
.mobile-nav:not([hidden]) > :nth-child(8),
.mobile-nav:not([hidden]) > :nth-child(9) { animation-delay: 280ms; }

@keyframes mobile-link-arrival {
  from { opacity: 0; transform: translateX(-1.25rem); }
  to { opacity: 1; transform: none; }
}

.lightbox[open] { animation: dialog-backdrop-arrival 0.36s var(--ease) both; }
.lightbox[open] figure { animation: dialog-content-arrival 0.46s var(--ease) both; }

@keyframes dialog-backdrop-arrival {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialog-content-arrival {
  from { opacity: 0; transform: translateY(1rem) scale(0.975); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@media (max-width: 1180px) {
  .header-actions { display: none; }
  .site-header { grid-template-columns: 1fr auto; }

  .dish-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(3, minmax(240px, 280px));
  }
  .dish-card:nth-child(1) { grid-row: 1 / 3; }
  .dish-card:nth-child(4) { grid-column: 1 / 3; }
}

@media (min-width: 1051px) and (max-width: 1240px) {
  .site-header {
    grid-template-columns: minmax(200px, 0.75fr) auto;
    gap: 1.5rem;
  }
  .desktop-nav {
    display: flex;
    gap: clamp(0.7rem, 1vw, 1rem);
  }
  .desktop-nav a { font-size: 0.75rem; }
  .menu-toggle { display: none; }
  .header-actions { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 5.5rem 1.15rem; }

  .hero {
    padding-inline: 1.15rem;
  }

  .hero-content { width: min(100%, 760px); }
  .hero-facts { flex-wrap: wrap; }

  .about,
  .lunch-callout,
  .location,
  .reservation { grid-template-columns: 1fr; }

  .about { gap: 4rem; }
  .about-image,
  .about-image img { min-height: 0; aspect-ratio: 4 / 5; }

  .dish-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .dish-card,
  .dish-card:nth-child(1),
  .dish-card:nth-child(4) {
    min-height: 30rem;
    grid-column: auto;
    grid-row: auto;
  }

  .menu-section,
  .gallery { padding: 5.5rem 1.15rem; }
  .menu-toolbar { top: 64px; }
  .menu-page {
    background: var(--bg-card);
  }
  .menu-list { grid-template-columns: 1fr; }

  .special-row,
  .special-row-reverse,
  .special-row-wide-media { grid-template-columns: 1fr; }
  .special-row-reverse .special-media { order: 0; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item,
  .gallery-item:first-child,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    min-height: 25rem;
    grid-column: 1;
    grid-row: auto;
  }

  .hours { grid-template-columns: 1fr; }
  .hours-note { grid-column: auto; }
  .location-copy { padding: 5.5rem 1.15rem; }
  .map-wrap { min-height: 430px; }
  .reservation-copy { position: static; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .site-header { padding-inline: 1rem; }
  .brand { width: auto; }
  .brand-seal {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .brand-copy strong { font-size: 1.125rem; }
  .brand-copy small { font-size: var(--type-label); }
  .footer-credit { align-self: flex-start; }

  .hero {
    min-height: 100dvh;
    padding: calc(var(--header-h) + 1.25rem) 1.15rem 2.75rem;
  }
  .hero-image,
  .js:not(.page-ready) .hero-image,
  .js.page-ready .hero-image {
    object-position: center;
    transform: none;
    animation: none;
    filter: none;
  }
  .hero-shade {
    background:
      radial-gradient(ellipse 72% 54% at 50% 46%, rgba(107, 36, 40, 0.62), transparent 78%),
      linear-gradient(180deg, rgba(17, 16, 14, 0.58), rgba(17, 16, 14, 0.22) 40%, rgba(17, 16, 14, 0.72));
  }
  .hero-seal {
    width: 78px;
    margin-bottom: 0.55rem;
  }
  .hero-kicker {
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: var(--type-label);
  }
  .hero-kicker span + span::before {
    width: 0.75rem;
    margin-right: 0.35rem;
  }
  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 14.5vw, 4.4rem);
    line-height: 0.92;
  }
  .hero-lead {
    max-width: 30ch;
    margin-bottom: 1.15rem;
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-buttons {
    display: grid;
    width: min(100%, 380px);
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .hero-buttons .button {
    min-width: 0;
    min-height: 44px;
  }
  .hero-facts {
    display: grid;
    width: min(100%, 380px);
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  .hero-facts span {
    padding: 0.52rem 0.58rem;
    font-size: var(--type-label);
    line-height: 1.35;
    white-space: normal;
  }
  .hero-facts span:last-child {
    grid-column: 1 / -1;
  }

  .about-image::before { display: none; }
  .dish-card,
  .dish-card:nth-child(1),
  .dish-card:nth-child(4) { min-height: 27rem; }

  .menu-book {
    margin-inline: 0;
    padding: 0.45rem;
    border-radius: 8px;
  }
  .menu-book-head {
    min-height: 76px;
    padding: 1rem;
  }
  .menu-book-head p { display: none; }
  .menu-toolbar { border-radius: 6px 6px 0 0; }
  .menu-content { padding-inline: 1.15rem; }
  .menu-group-header {
    gap: 0.45rem 1rem;
    margin-bottom: 0.35rem;
    padding-bottom: 1.1rem;
  }
  .menu-group h3 { font-size: clamp(2.4rem, 12vw, 3.25rem); }
  .menu-group-count { font-size: var(--type-label); }
  .menu-item {
    gap: 0.8rem;
    padding-block: 1.35rem;
  }
  .menu-item-actions { min-width: 5.5rem; }
  .menu-item h4 { font-size: 1.45rem; }

  .special-copy h3 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .special-media { height: 78vw; }

  .gallery-item,
  .gallery-item:first-child,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) { min-height: 22rem; }

  .reservation-form { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html.js:not(.page-ready) { overflow: auto; }
  .js .page-intro { display: none; }
  .scroll-progress { display: none; }
  .rice-fall { display: none; }

  .js:not(.page-ready) .site-header,
  .js:not(.page-ready) .hero-seal,
  .js:not(.page-ready) .hero-kicker,
  .js:not(.page-ready) .hero h1 span,
  .js:not(.page-ready) .hero-lead,
  .js:not(.page-ready) .hero-buttons,
  .js:not(.page-ready) .hero-facts,
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
  }

  .hero-image,
  .hero-shade,
  .hero-content > *,
  .dish-card img,
  .gallery-item img,
  .special-media img,
  .mobile-nav:not([hidden]) > *,
  .lightbox[open],
  .lightbox[open] figure {
    animation: none;
    transition: none;
    filter: none;
    transform: none;
  }
}
