/* ==========================================================================
   Savor House — Thai Fusion Restaurant
   ========================================================================== */

:root {
  --ink: #14120f;
  --ink-2: #1c1914;
  --green: #1f2721;
  --green-2: #29322b;
  --cream: #f4eee4;
  --paper: #fbf8f2;
  --sand: #e8dccb;
  --gold: #cfa56b;
  --gold-2: #e4c898;
  --terra: #ad543e;
  --terra-2: #8f4130;
  --text: #2a2420;
  --muted: #6d6259;
  --on-dark: #f3ece1;
  --on-dark-muted: rgba(243, 236, 225, 0.72);
  --line-dark: rgba(207, 165, 107, 0.28);
  --line-light: rgba(42, 36, 32, 0.12);
  --danger: #b3261e;

  --serif: "Cormorant Garamond", "Noto Serif Thai", Georgia, "Times New Roman", serif;
  --sans: "Jost", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --track-lg: 0.24em;
  --track-md: 0.18em;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 92px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html:lang(th) {
  --serif: "Noto Serif Thai", "Cormorant Garamond", Georgia, serif;
  --sans: "IBM Plex Sans Thai", "Jost", system-ui, sans-serif;
  --track-lg: 0.04em;
  --track-md: 0.03em;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
[hidden] { display: none !important; }
main { overflow-x: clip; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.muted { opacity: 0.7; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-terra { color: var(--terra); }

.section-title {
  margin: 0.35em 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-light .section-title em { color: var(--terra); }

html:lang(th) .section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.35;
  font-weight: 500;
}
html:lang(th) .section-title em { font-style: normal; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 54px;
  padding: 0 2em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

html:lang(th) .btn { font-size: 0.9rem; }

.btn-primary { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-2); border-color: var(--terra-2); }

.btn-outline { border-color: var(--gold); color: var(--on-dark); }
.btn-outline:hover { background: var(--gold); color: var(--ink); }

.btn-sm { min-height: 44px; padding: 0 1.5em; font-size: 0.7rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--terra);
  border-bottom: 1px solid currentColor;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow-gold { color: var(--gold); }
.link-gold { color: var(--gold); border-bottom: 1px solid var(--line-dark); }
.link-gold:hover { border-color: var(--gold); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
}
/* Background lives on a pseudo-element so backdrop-filter doesn't trap the fixed mobile nav */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(20, 18, 15, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0;
  transition: opacity 0.4s;
}
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.is-scrolled .header-inner { height: 74px; }

.brand {
  display: grid;
  justify-items: center;
  flex-shrink: 0;
  line-height: 1;
  color: var(--on-dark);
}
.brand-mark { width: 36px; height: 24px; margin-bottom: 7px; color: var(--gold); stroke-width: 1.3; }
.brand-name {
  margin-right: -0.2em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand-tag {
  margin-top: 7px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.56rem;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--gold);
}
.is-scrolled .brand-mark { width: 30px; height: 20px; margin-bottom: 4px; }
.is-scrolled .brand-name { font-size: 1.3rem; }
.brand-mark, .brand-name { transition: all 0.4s var(--ease); }

.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--on-dark);
  transition: color 0.3s;
}
html:lang(th) .nav-link { font-family: var(--sans); font-size: 0.95rem; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--gold); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  background: none;
  border: 0;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.lang-btn .icon { width: 14px; height: 14px; transition: transform 0.3s; }
.lang-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
}
.lang-menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  background: none;
  border: 0;
  font-family: "IBM Plex Sans Thai", "Jost", sans-serif;
  font-size: 0.92rem;
  text-align: left;
  color: var(--on-dark);
  cursor: pointer;
}
.lang-menu button span { font-size: 0.7rem; letter-spacing: 0.14em; opacity: 0.6; }
.lang-menu button:hover { background: rgba(207, 165, 107, 0.1); }
.lang-menu button[aria-checked="true"] { color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: calc(var(--header-h) + 20px) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: center; gap: 14px; }
  .nav-link { font-size: 1.9rem; }
  html:lang(th) .nav-link { font-size: 1.35rem; }
  .nav-list li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .nav.is-open .nav-list li { opacity: 1; transform: none; }
  .nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.04s; }
  .nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.08s; }
  .nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.12s; }
  .nav.is-open .nav-list li:nth-child(5) { transition-delay: 0.16s; }
  .nav.is-open .nav-list li:nth-child(6) { transition-delay: 0.2s; }
  html.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  :root { --header-h: 76px; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 28px; height: 19px; margin-bottom: 5px; }
  .brand-tag { font-size: 0.5rem; margin-top: 5px; }
  .is-scrolled .header-inner { height: 64px; }
  .is-scrolled .brand-name { font-size: 1.1rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  animation: hero-zoom 16s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 18, 15, 0.94) 0%, rgba(20, 18, 15, 0.78) 34%, rgba(20, 18, 15, 0.12) 68%, rgba(20, 18, 15, 0.3) 100%),
    linear-gradient(0deg, rgba(20, 18, 15, 0.9) 0%, rgba(20, 18, 15, 0) 32%),
    linear-gradient(180deg, rgba(20, 18, 15, 0.75) 0%, rgba(20, 18, 15, 0) 24%);
}

.hero-inner {
  position: relative;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 150px;
}
.hero-copy { max-width: 640px; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.hero-copy > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-title {
  margin: 0.4em 0 0.45em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.hero-title em { font-style: italic; color: var(--gold); }
html:lang(th) .hero-title { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.3; }
html:lang(th) .hero-title em { font-style: normal; }

.hero-lead {
  max-width: 31em;
  margin: 0 0 2.4em;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
}
html:lang(th) .hero-lead { font-family: var(--sans); font-size: 1.05rem; line-height: 1.8; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-aside {
  position: absolute;
  top: calc(var(--header-h) + 56px);
  right: var(--gutter);
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  line-height: 2.1;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--gold);
  animation: rise 1s 0.5s var(--ease) both;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  display: grid;
  justify-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--gold);
  transform: translateX(-50%);
}
.scroll-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}
.scroll-icon .icon { width: 18px; height: 18px; animation: bob 2.4s ease-in-out infinite; }
.scroll-cue:hover .scroll-icon { background: var(--gold); color: var(--ink); }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

@media (max-width: 900px) {
  .hero-aside { display: none; }
}
@media (max-width: 760px) {
  .hero { align-items: flex-start; }
  .hero-media img { object-position: 74% 100%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(20, 18, 15, 0.96) 0%, rgba(20, 18, 15, 0.86) 42%, rgba(20, 18, 15, 0.15) 72%, rgba(20, 18, 15, 0.55) 100%);
  }
  .hero-inner { padding-top: calc(var(--header-h) + 32px); padding-bottom: 46vh; }
  .hero-actions .btn { flex: 1 1 200px; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: clamp(84px, 11vw, 140px); }
.section-light { background: var(--cream); color: var(--text); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-green { background: var(--green); color: var(--on-dark); }

.section-head { margin-bottom: clamp(40px, 6vw, 68px); }
.section-head.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 80px;
  align-items: end;
}
.section-head.center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-intro p { max-width: 34em; margin: 0 0 1.4em; color: var(--muted); }
.section-dark .section-intro p, .section-green .section-intro p { color: var(--on-dark-muted); }
.section-sub { margin: 1em 0 0; color: var(--muted); }

.watermark {
  position: absolute;
  top: 60px;
  right: -80px;
  width: 420px;
  height: 280px;
  color: var(--terra);
  opacity: 0.06;
  stroke-width: 0.6;
  pointer-events: none;
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Signature dishes ---------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.dish-card {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line-light);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.9s var(--ease);
}
.dish-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -26px rgba(42, 36, 32, 0.45); }
.dish-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dish-card:hover .dish-media img { transform: scale(1.06); }
.dish-body { padding: 26px 28px 32px; }
.dish-name {
  margin: 0 0 0.6em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.4;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
}
html:lang(th) .dish-name { font-family: var(--serif); font-size: 1.15rem; }
.dish-body p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.promise {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-top: clamp(40px, 6vw, 68px);
}
.promise-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 40px 32px;
  border: 1px solid var(--line-light);
  border-right: 0;
}
.promise-quote p {
  position: relative;
  margin: 0;
  padding-inline: 34px;
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 2;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  text-align: center;
}
html:lang(th) .promise-quote p { font-size: 1rem; line-height: 1.8; }
.promise-quote p::before, .promise-quote p::after {
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--terra);
}
.promise-quote p::before { content: "\201C"; top: -4px; left: 0; }
.promise-quote p::after { content: "\201D"; bottom: -18px; right: 0; }

.promise-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 28px;
  padding: 40px 44px;
  background: var(--green);
  color: var(--on-dark);
  transition: background 0.4s;
}
.promise-card:hover { background: var(--green-2); }
.promise-card .eyebrow { grid-column: 1; }
.promise-text { grid-column: 1; color: var(--on-dark-muted); max-width: 26em; }
.promise-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.promise-card:hover .promise-arrow { transform: translateX(6px); }

/* ---------- Chef / story ---------- */
.chef {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.chef-copy > p:not([class]) { max-width: 33em; color: var(--on-dark-muted); }
.chef-copy .section-title { margin-bottom: 0.7em; }
.chef-sign {
  margin: 0.45em 0 0;
  font-family: var(--script);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  transform: rotate(-4deg);
  transform-origin: left;
}
.chef-name {
  margin: 0.4em 0 0;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--gold);
}
.chef-role { margin: 0; font-size: 0.85rem; color: var(--on-dark-muted); }
.chef-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--gold); }
.stat-label { margin: 8px 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--on-dark-muted); }

.chef-media { position: relative; }
.chef-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-dark);
  pointer-events: none;
}
.chef-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Menu ---------- */
.menu-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 22px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.menu-tab {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.menu-tab-media {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--ink);
  outline: 1px solid transparent;
  outline-offset: 5px;
  transition: outline-color 0.3s;
}
.menu-tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.8);
  transition: transform 0.9s var(--ease), filter 0.5s;
}
.menu-tab:hover .menu-tab-media img, .menu-tab.is-active .menu-tab-media img { filter: none; transform: scale(1.05); }
.menu-tab.is-active .menu-tab-media { outline-color: var(--terra); }
.menu-tab-name {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  line-height: 1.2;
  transition: color 0.3s;
}
.menu-tab.is-active .menu-tab-name { color: var(--terra); }
.menu-tab-note { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--muted); }

.menu-panel { padding: clamp(28px, 5vw, 60px); background: var(--paper); }
.menu-panel:not([hidden]) { animation: fade-in 0.5s var(--ease); }
.menu-panel:focus-visible { outline-offset: -2px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 72px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-item-head { display: flex; align-items: baseline; gap: 12px; }
.menu-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.25;
}
html:lang(th) .menu-item h3 { font-size: 1.15rem; font-weight: 500; }
.menu-dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(42, 36, 32, 0.32); transform: translateY(-5px); }
.price { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.3rem; color: var(--terra); white-space: nowrap; }
.menu-item p { margin: 0.35em 0 0; font-size: 0.94rem; color: var(--muted); }
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 7px 2px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.6rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.3em;
  color: var(--terra);
  border: 1px solid rgba(173, 84, 62, 0.4);
}
html:lang(th) .tag { font-size: 0.7rem; letter-spacing: 0; }

.menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}
.menu-note { max-width: 44em; margin: 0; font-size: 0.86rem; color: var(--muted); }

/* ---------- Private dining ---------- */
.private { isolation: isolate; overflow: hidden; }
.private-bg { position: absolute; inset: 0; z-index: -1; }
.private-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.private-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(20, 18, 15, 0.55) 50%, var(--ink) 100%);
}

.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.room {
  padding: clamp(32px, 4vw, 48px) clamp(26px, 3vw, 40px);
  background: rgba(20, 18, 15, 0.88);
  transition: background 0.4s, opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.room:hover { background: rgba(35, 43, 37, 0.94); }
.room-num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.25rem; color: var(--gold); }
.room h3 { margin: 0.6em 0 0.15em; font-family: var(--serif); font-weight: 500; font-size: 1.95rem; line-height: 1.2; }
html:lang(th) .room h3 { font-size: 1.5rem; }
.room-cap {
  margin: 0 0 1.2em;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--gold);
}
.room p:last-child { margin: 0; color: var(--on-dark-muted); }

.private-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 48px; }
.private-call { color: var(--on-dark-muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 22vw, 280px);
  grid-template-areas:
    "a a b c"
    "d e b f";
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
  border: 0;
  cursor: zoom-in;
}
.gallery-item:nth-child(1) { grid-area: a; }
.gallery-item:nth-child(2) { grid-area: b; }
.gallery-item:nth-child(3) { grid-area: c; }
.gallery-item:nth-child(4) { grid-area: d; }
.gallery-item:nth-child(5) { grid-area: e; }
.gallery-item:nth-child(6) { grid-area: f; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.4s; }
.gallery-item:hover img { transform: scale(1.06); opacity: 0.82; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(228, 200, 152, 0.7);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(10, 9, 7, 0.94); }
.lightbox[open] { animation: fade-in 0.35s var(--ease); }
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 64px 76px;
}
.lightbox-figure img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox-figure figcaption { margin-top: 16px; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--on-dark-muted); text-align: center; }
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(20, 18, 15, 0.6);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lightbox-btn .icon { width: 20px; height: 20px; }
.lightbox-btn:hover { background: var(--gold); color: var(--ink); }
.lightbox-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }
html.lb-open { overflow: hidden; }

/* ---------- Reservation ---------- */
.reserve-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.reserve-copy > p:not([class]) { max-width: 30em; margin: 1.4em 0 0; color: var(--on-dark-muted); }
.reserve-info { display: grid; gap: 22px; margin: 40px 0 0; padding: 30px 0 0; list-style: none; border-top: 1px solid var(--line-dark); }
.reserve-info li { display: flex; gap: 16px; align-items: flex-start; }
.reserve-info .icon { width: 22px; height: 22px; margin-top: 4px; color: var(--gold); }
.reserve-info li > span { display: grid; }
.reserve-info a:hover { color: var(--gold); }
.contact-label {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--gold);
}
html:lang(th) .contact-label { font-size: 0.8rem; }

.reserve-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--cream);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--muted);
}
html:lang(th) .field label { font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6259' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(109, 98, 89, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(173, 84, 62, 0.16);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field.is-invalid label { color: var(--danger); }

.reserve-form .btn-block { grid-column: 1 / -1; margin-top: 6px; }
.form-note { grid-column: 1 / -1; margin: -6px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 0.92rem; text-align: center; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="success"] { padding: 14px 16px; color: var(--green); background: rgba(31, 39, 33, 0.07); border-left: 2px solid var(--terra); text-align: left; }

/* ---------- Footer / contact ---------- */
.site-footer {
  padding-top: clamp(84px, 10vw, 128px);
  background: var(--ink);
  color: var(--on-dark);
}
.contact-head { margin-bottom: clamp(44px, 6vw, 64px); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-dark);
}
.contact-col p { margin: 14px 0 20px; color: var(--on-dark-muted); }
.contact-col a:not(.btn):not(.link-arrow):hover { color: var(--gold); }
.contact-col .contact-label { display: flex; align-items: center; gap: 10px; margin: 0; }
.contact-col .contact-label .icon { width: 18px; height: 18px; }
.contact-brand .brand { justify-items: start; }
.contact-brand .brand-name { margin-right: 0; }
.contact-brand p { max-width: 22em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 0.84rem;
  color: var(--on-dark-muted);
}
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s; }
.to-top .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.to-top:hover { color: var(--gold); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .section-head.split, .chef, .reserve-inner { grid-template-columns: 1fr; }
  .section-head.split { align-items: start; }
  .chef-media { max-width: 520px; }
  .rooms { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr; }
  .promise-quote { border-right: 1px solid var(--line-light); border-bottom: 0; }
  .menu-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .dish-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .dish-grid::-webkit-scrollbar { display: none; }
  .dish-card { scroll-snap-align: start; }
  .dish-card:hover { transform: none; }

  .menu-tab-note { display: none; }
  .menu-tab-name { margin-top: 10px; font-size: 0.95rem; }
  .menu-tab-media { aspect-ratio: 1; outline-offset: 3px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 42vw;
    grid-template-areas:
      "a a"
      "b c"
      "b d"
      "e f";
    gap: 8px;
  }
  .chef-media::before { inset: 14px -10px -14px 14px; }
  .lightbox-figure { padding: 72px 16px 96px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

@media (max-width: 560px) {
  .reserve-form { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .promise-quote p { padding-inline: 26px; font-size: 0.78rem; }
  .promise-card { padding: 32px 26px; }
  .chef-stats { gap: 12px; }
  .stat-label { font-size: 0.78rem; }
  .chef-sign { font-size: 3.2rem; }
  .menu-dots { display: none; }
  .menu-item-head { justify-content: space-between; gap: 16px; }
  .menu-item h3 { font-size: 1.3rem; }
  .tag { margin-left: 4px; }
  .watermark { width: 260px; height: 170px; right: -70px; top: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
