/* ==========================================================================
   Beyond The Plate by Chef Asanka — point-and-click house
   ========================================================================== */

:root {
  --bg: #070605;
  --gold: #c9a25e;
  --gold-light: #e6c98c;
  --gold-deep: #9b7a42;
  --cream: #f2e8d6;
  --cream-dim: rgba(242, 232, 214, 0.78);
  --cream-faint: rgba(242, 232, 214, 0.14);
  --line: rgba(201, 162, 94, 0.34);
  --danger: #e08a74;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --topbar-h: 72px;
}

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

[hidden] { display: none !important; }

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

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

.eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-lg { padding: 16px 28px; }
.btn-block { width: 100%; }
.btn-gold {
  color: #17120b;
  background: linear-gradient(135deg, #f1dca6 0%, #d3ae6a 48%, #a8803f 100%);
  box-shadow: 0 12px 30px -14px rgba(214, 176, 108, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover { box-shadow: 0 16px 36px -12px rgba(214, 176, 108, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55); transform: translateY(-1px); }
.btn-ghost {
  color: var(--cream);
  border-color: rgba(230, 201, 140, 0.55);
  background: rgba(8, 7, 6, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(8, 7, 6, 0.55); }

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  background: radial-gradient(ellipse at 50% 40%, #15110c 0%, var(--bg) 70%);
  transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.is-ready #loader { opacity: 0; visibility: hidden; }
.loader-logo { width: min(280px, 62vw); height: auto; margin-bottom: 30px; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}
.loader-bar { width: 160px; height: 1px; background: rgba(230, 201, 140, 0.18); overflow: hidden; }
.loader-bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, transparent, var(--gold-light)); transition: width 0.8s var(--ease); }

/* ---------- Top bar (a solid band so the menu always reads clearly) ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--topbar-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 1.2s var(--ease) 0.6s, transform 1.2s var(--ease) 0.6s;
}
/* no hard edge: the bar is a black fade that melts into the scene below */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% + 56px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 4, 3, 0.94) 0%, rgba(5, 4, 3, 0.78) 45%, rgba(5, 4, 3, 0.36) 72%, rgba(5, 4, 3, 0) 100%);
}
.is-ready .topbar { opacity: 1; transform: none; }
.topbar .nav a,
.topbar /* time of day: morning / midday / evening light */
.time-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--cream);
  font: 500 11px var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
  cursor: pointer;
  transition: color 0.3s ease;
}
.time-toggle svg { width: 19px; height: 19px; color: var(--gold-light); filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.6)); }
.time-toggle:hover { color: var(--gold-light); }
.time-clock {
  padding-left: 9px;
  border-left: 1px solid rgba(230, 201, 140, 0.35);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}
.topbar-right { position: relative; }
.time-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  min-width: 200px;
  padding: 10px;
  background: rgba(10, 9, 7, 0.96);
  border: 1px solid rgba(201, 162, 94, 0.35);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.8);
}
.time-menu-title { margin: 2px 8px 8px; font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream-dim); }
.time-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  background: none;
  color: var(--cream);
  font: 400 15px var(--serif);
  text-align: left;
  cursor: pointer;
}
.time-menu button small { display: block; font: 400 10px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); }
.time-menu button:hover,
.time-menu button:focus-visible { background: rgba(201, 162, 94, 0.12); outline: none; }
.time-menu button[aria-checked="true"] { color: var(--gold-light); box-shadow: inset 2px 0 0 var(--gold); }
.time-ic svg { display: block; width: 18px; height: 18px; color: var(--gold-light); }
.scene-ghost { transition: opacity 1.6s ease; }
.scene-ghost.is-fading { opacity: 0; }

.map-toggle { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75); }

.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.24em;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--gold-light); }
.nav a[aria-current="page"] { color: var(--gold-light); }
.nav a[aria-current="page"]::after,
.nav a:hover::after { transform: scaleX(1); }

.brand { display: block; }
.brand img { display: block; height: 46px; width: auto; transition: transform 0.4s var(--ease), filter 0.4s; }
.brand:hover img { transform: scale(1.05); filter: brightness(1.12); }

.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.map-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
}
.map-toggle:hover { color: var(--gold-light); }
.map-toggle-icon { display: grid; gap: 5px; width: 18px; }
.map-toggle-icon i { display: block; height: 1px; background: currentColor; transition: transform 0.35s var(--ease); }
.map-open .map-toggle-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.map-open .map-toggle-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Stage & scenes ---------- */
#stage { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}
.scene.is-active { opacity: 1; visibility: visible; }

.scene-pan {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.scene.is-dragging .scene-pan { cursor: grabbing; }
.scene-zoom { position: relative; will-change: transform; }
.scene-drift { position: absolute; inset: 0; transform-origin: 50% 50%; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}
.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
}

/* readability veils: fixed to the screen, but beneath the labels so they stay crisp */
.scene-veil {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.5) 100%);
}
/* rooms: a soft black fade behind the text, like the herb garden's dark wall */
.scene.is-room .scene-veil {
  background:
    linear-gradient(to right, rgba(5, 4, 3, 0.96) 0%, rgba(5, 4, 3, 0.88) 26%, rgba(5, 4, 3, 0.55) 40%, rgba(5, 4, 3, 0) 60%),
    linear-gradient(to top, rgba(5, 4, 3, 0.7) 0%, rgba(5, 4, 3, 0) 38%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.45) 100%);
}
.scene.is-room.caption-top .scene-veil {
  background:
    radial-gradient(ellipse 66% 80% at 0% 0%, rgba(5, 4, 3, 0.97) 0%, rgba(5, 4, 3, 0.85) 45%, rgba(5, 4, 3, 0) 100%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.45) 100%);
}
.scene-entrance .scene-veil {
  background:
    linear-gradient(to right, rgba(5, 4, 3, 0.95) 0%, rgba(5, 4, 3, 0.8) 26%, rgba(5, 4, 3, 0.35) 40%, rgba(5, 4, 3, 0) 50%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}
.scene-hall .scene-veil {
  background:
    linear-gradient(to top, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.9) 24%, rgba(5, 4, 3, 0.6) 40%, rgba(5, 4, 3, 0) 58%),
    radial-gradient(ellipse 50% 45% at 0% 78%, rgba(5, 4, 3, 0.7) 0%, rgba(5, 4, 3, 0) 100%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

/* ---------- Clickable areas, markers & labels ---------- */
.layer-areas,
.layer-hotspots { position: absolute; inset: 0; pointer-events: none; }
.layer-hotspots { z-index: 2; }

.area {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: transparent;
  cursor: zoom-in;
  pointer-events: auto;
  transition: box-shadow 0.6s var(--ease), background 0.6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .area:hover {
    box-shadow: 0 0 260px 9999px rgba(4, 3, 2, 0.14);
    background: radial-gradient(ellipse at center, rgba(255, 214, 150, 0.05), transparent 70%);
  }
}

/* glowing marker */
.hs {
  --dot: 16px;
  position: absolute;
  width: var(--dot);
  height: var(--dot);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.scene.is-shown .hs { opacity: 1; transition-delay: calc(var(--i) * 90ms + 150ms); }
.hs-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6df 0%, #ecd08e 45%, #b98f45 100%);
  box-shadow: 0 0 0 4px rgba(230, 201, 140, 0.2), 0 0 24px 6px rgba(255, 206, 130, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.hs-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 214, 150, 0.85);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.55); opacity: 0.95; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}
.hs:hover .hs-dot,
.hs.is-hover .hs-dot,
.hs.is-active .hs-dot { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(230, 201, 140, 0.3), 0 0 34px 10px rgba(255, 206, 130, 0.65); }

/* always-visible label beside each marker */
.hs-tag {
  position: absolute;
  display: grid;
  gap: 3px;
  padding: 8px 13px 9px;
  border: 0;
  border-radius: 2px;
  background: rgba(7, 6, 4, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.7s var(--ease), background 0.3s, box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.scene.is-shown .hs-tag { opacity: 1; transition-delay: calc(var(--i) * 90ms + 280ms); }
.hs-tag.side-right { transform: translate(18px, -50%); }
.hs-tag.side-left { transform: translate(calc(-100% - 18px), -50%); text-align: right; }
.hs-tag.side-top { transform: translate(calc(-50% + var(--nx, 0px)), calc(-100% - 18px)); text-align: center; }
.hs-tag.side-bottom { transform: translate(calc(-50% + var(--nx, 0px)), 18px); text-align: center; }
.layer-hotspots .hs-tag.is-placed { transform: translate(calc(-50% + var(--nx, 0px)), -50%); text-align: center; }
.hs-tag-title { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.15; color: var(--cream); transition: color 0.3s; }
.hs-tag-hint { font-size: 11.5px; font-weight: 400; letter-spacing: 0.02em; color: rgba(242, 232, 214, 0.78); }
.hs-tag:hover,
.hs-tag.is-hover { background: rgba(7, 6, 4, 0.86); }
.hs-tag:hover .hs-tag-title,
.hs-tag.is-hover .hs-tag-title,
.hs-tag.is-active .hs-tag-title { color: var(--gold-light); }
.hs-tag.is-active { background: rgba(7, 6, 4, 0.88); box-shadow: inset 0 0 0 1px rgba(230, 201, 140, 0.55); }
.hs.is-off,
.hs-tag.is-off { opacity: 0 !important; pointer-events: none; }

/* the hall's room names: large type on a soft dark glow, no box */
.hs-tag.hs-zone {
  gap: 6px;
  padding: 20px 30px;
  padding: 26px 40px;
  background: radial-gradient(ellipse at center, rgba(4, 3, 2, 0.86) 0%, rgba(4, 3, 2, 0.68) 42%, rgba(4, 3, 2, 0) 74%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hs-tag.hs-zone:hover,
.hs-tag.hs-zone.is-hover { background: radial-gradient(ellipse at center, rgba(4, 3, 2, 0.9) 0%, rgba(4, 3, 2, 0.72) 42%, rgba(4, 3, 2, 0) 74%); }
.hs-zone .hs-tag-title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 2px 24px rgba(0, 0, 0, 0.9); }
.hs-zone .hs-tag-hint { font-size: 13.5px; color: var(--cream); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 1px 14px rgba(0, 0, 0, 0.9); }

/* booking points read as calls to action */
.hs-tag.hs-cta {
  padding: 10px 16px;
  background: linear-gradient(135deg, #f1dca6 0%, #d3ae6a 50%, #a8803f 100%);
  box-shadow: 0 12px 28px -12px rgba(214, 176, 108, 0.8);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hs-tag.hs-cta .hs-tag-title { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #17120b; }
.hs-tag.hs-cta:hover { background: linear-gradient(135deg, #f6e4b4 0%, #dcb876 50%, #b38b48 100%); }

/* the front door: engraved call to action above the marker */
.hs-tag.hs-door { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: translate(-50%, calc(-100% - 16px)); }
.hs-tag.hs-door .hs-tag-title { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-light); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }

/* ---------- Captions (front door & hall) ---------- */
.scene-caption {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: clamp(28px, 8vh, 88px);
  width: min(500px, calc(100vw - 2 * var(--gutter)));
  pointer-events: none;
}
.scene-caption .btn { pointer-events: auto; }
.scene-caption > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.scene.is-shown .scene-caption > * { opacity: 1; transform: none; }
.scene.is-shown .scene-caption > :nth-child(2) { transition-delay: 0.08s; }
.scene.is-shown .scene-caption > :nth-child(3) { transition-delay: 0.16s; }
.scene.is-shown .scene-caption > :nth-child(4) { transition-delay: 0.24s; }
.scene.is-shown .scene-caption > :nth-child(5) { transition-delay: 0.32s; }

.caption-title {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 2px 30px rgba(0, 0, 0, 0.8);
}
.caption-tagline { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 24px); color: var(--gold-light); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 1px 18px rgba(0, 0, 0, 0.8); }
.scene-caption .eyebrow { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 1px 14px rgba(0, 0, 0, 0.8); }
.scene-hall .scene-caption { bottom: calc(clamp(118px, 16vh, 170px) + 52px); }

/* hero (front door) */
.scene-caption.hero {
  top: 50%;
  bottom: auto;
  transform: translateY(-44%);
  width: min(560px, 40vw);
}
.hero-heading { margin: 0; font-weight: 400; }
.hero-title {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 4.6vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f3dfae 0%, #d2ab64 55%, #a77e3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-by {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-by::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.hero-tags { margin: 26px 0 0; font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; line-height: 2; color: var(--cream); }
.hero-tags i { font-style: normal; color: var(--gold); padding: 0 0.4em; }
.hero-lede { margin: 14px 0 0; max-width: 400px; font-size: 15.5px; line-height: 1.7; color: var(--cream); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 1px 16px rgba(0, 0, 0, 0.8); }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Room text (laid on the image over the fade) ---------- */
.room-caption {
  bottom: clamp(28px, 7vh, 72px);
  width: min(440px, 34vw);
  max-height: calc(100% - var(--topbar-h) - 150px);
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  scrollbar-width: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 1px 18px rgba(0, 0, 0, 0.8);
}
.room-caption::-webkit-scrollbar { display: none; }
@media (min-width: 861px) {
  body:not(.has-back) .room-caption { max-height: calc(100% - var(--topbar-h) - clamp(28px, 7vh, 72px) - 30px); } /* no back button above it */
}
.caption-top .room-caption { top: calc(var(--topbar-h) + 72px); bottom: auto; }
.room-caption > * { opacity: 1; transform: none; }
.scene .room-caption { opacity: 0; transition: opacity 0.9s var(--ease); }
.scene.is-shown .room-caption { opacity: 1; }

.caption-view { animation: view-in 0.6s var(--ease) both; }
@keyframes view-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.room-caption .caption-title { font-size: clamp(44px, 4.6vw, 72px); margin: 12px 0 10px; }
.room-caption .caption-tagline { margin: 0 0 16px; font-size: clamp(20px, 1.7vw, 25px); }
.caption-text { margin: 0; max-width: 420px; font-size: 15.5px; line-height: 1.7; color: var(--cream); }
.caption-note { margin: 14px 0 0; max-width: 420px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.5; color: rgba(242, 232, 214, 0.62); }
.caption-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* details of a chosen point */
.caption-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px -4px;
  padding: 6px 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.caption-back svg { width: 15px; height: 15px; }
.caption-back:hover { color: var(--gold-light); }
.eyebrow.is-latin { font-family: var(--serif); font-style: italic; font-size: 18px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; }
.room-caption .detail-title { font-size: clamp(36px, 3.4vw, 52px); line-height: 1.02; letter-spacing: 0.03em; text-transform: none; }
.detail-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: var(--cream); }
.detail-body h4 { margin: 18px 0 6px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-light); }
.detail-note { font-family: var(--serif); font-style: italic; font-size: 15.5px !important; color: var(--cream-dim) !important; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { position: relative; padding: 4px 0 4px 20px; font-size: 14.5px; line-height: 1.6; color: var(--cream); }
.detail-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
/* a room's own shortcuts, e.g. the four menus */
.caption-picks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 4px 0 22px; padding: 0; }
.caption-picks button {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 11px 0 12px;
  border: 0;
  border-top: 1px solid rgba(201, 162, 94, 0.32);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.caption-picks .pick-title { font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--cream); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9); transition: color 0.3s var(--ease); }
.caption-picks .pick-meta { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.caption-picks button:hover .pick-title,
.caption-picks button:focus-visible .pick-title { color: var(--gold-light); }
.detail-menu { list-style: none; counter-reset: course; margin: 6px 0 14px; padding: 0; }
.detail-menu li {
  counter-increment: course;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  padding: 11px 0;
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.3;
  color: var(--cream);
  border-top: 1px solid rgba(242, 232, 214, 0.14);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}
.detail-menu li:first-child { border-top: 0; }
.detail-menu li::before {
  content: counter(course, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.detail-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.detail-steps li { counter-increment: step; position: relative; padding: 9px 0 11px 46px; border-top: 1px solid rgba(242, 232, 214, 0.16); }
.detail-steps li:first-child { border-top: 0; }
.detail-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-light);
}
.detail-steps strong { display: block; font-weight: 500; color: var(--cream); font-size: 15px; }
.detail-steps span { display: block; font-size: 14px; line-height: 1.6; color: var(--cream-dim); }
.detail-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(242, 232, 214, 0.16); }
.detail-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.detail-step svg { width: 14px; height: 14px; flex: none; }
.detail-step.is-next { margin-left: auto; }
.detail-step.is-next svg { transform: rotate(180deg); }
.detail-step:hover { color: var(--gold-light); }

/* ---------- Room strip (hall) & room map ---------- */
.room-strip {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease) 0.35s, transform 1s var(--ease) 0.35s;
}
.scene.is-shown .room-strip { opacity: 1; transform: none; }

.room-card {
  position: relative;
  display: block;
  height: clamp(118px, 16vh, 170px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 94, 0.3);
  background: #0c0a08;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s;
}
.room-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 162, 94, 0.18);
  pointer-events: none;
}
.room-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.04);
  transition: opacity 0.5s, transform 1.2s var(--ease);
}
.room-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 5, 4, 0.98) 8%, rgba(6, 5, 4, 0.75) 45%, rgba(6, 5, 4, 0.3) 80%);
}
.room-card-text {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 16px;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.room-card svg { width: 22px; height: 22px; margin-bottom: 4px; fill: none; stroke: var(--gold-light); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.room-card strong { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.room-card small { font-size: 11px; color: var(--cream-dim); letter-spacing: 0.04em; }
.room-card:hover,
.room-card:focus-visible { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9); }
.room-card:hover .room-card-img,
.room-card:focus-visible .room-card-img { opacity: 0.95; transform: scale(1.1); }

.map {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: calc(var(--topbar-h) + 20px) var(--gutter) 40px;
  overflow-y: auto;
  background: rgba(5, 4, 3, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.map.is-open { opacity: 1; }
.map-inner { width: min(980px, 100%); text-align: center; }
.map-title { margin: 10px 0 28px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); }
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.map .room-card { height: 150px; }

/* ---------- Back button & hints ---------- */
.back-btn {
  position: fixed;
  z-index: 20;
  top: calc(var(--topbar-h) + 16px);
  left: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(230, 201, 140, 0.4);
  background: rgba(10, 9, 7, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, opacity 0.4s;
}
.back-btn svg { width: 16px; height: 16px; }
.back-btn:hover { border-color: var(--gold-light); background: rgba(10, 9, 7, 0.9); }
.is-transitioning .back-btn { opacity: 0.4; pointer-events: none; }

.pan-hint {
  position: fixed;
  z-index: 20;
  left: 50%;
  top: calc(var(--topbar-h) + 62px);
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(10, 9, 7, 0.75);
  border: 1px solid rgba(230, 201, 140, 0.25);
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.pan-hint span { color: var(--gold-light); padding: 0 6px; }
.pan-hint.show { opacity: 1; transform: translate(-50%, 0); }

#flash {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(255, 233, 190, 0.95) 0%, rgba(255, 196, 120, 0.55) 35%, rgba(40, 20, 5, 0) 75%);
  mix-blend-mode: screen;
}

/* ---------- Booking dialog ---------- */
dialog#booking {
  width: min(700px, 94vw);
  max-width: none;
  max-height: min(92vh, 960px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
dialog#booking::backdrop { background: rgba(4, 3, 2, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
dialog#booking[open] { animation: rise 0.6s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.booking-card {
  position: relative;
  max-height: min(92vh, 960px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 46px 46px 36px;
  background: #0f0d0b;
  border: 1px solid var(--line);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9);
}
.booking-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 162, 94, 0.16); pointer-events: none; }
.booking-card h2 { margin: 10px 0 10px; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; }
.booking-intro { margin: 0 0 26px; max-width: 520px; font-size: 15px; line-height: 1.65; color: var(--cream-dim); }
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--cream-dim);
}
.dialog-close:hover { background: rgba(242, 232, 214, 0.08); color: var(--cream); }
.dialog-close svg { width: 22px; height: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.exp-choices { margin: 0 0 22px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.exp-choices legend,
.field > span {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0.02em; color: var(--cream-dim); opacity: 0.8; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: block;
  height: 100%;
  padding: 13px 8px 11px;
  text-align: center;
  border: 1px solid rgba(242, 232, 214, 0.18);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.choice strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.1; }
.choice small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--cream-dim); }
.choice:hover span { border-color: var(--gold); }
.choice input:checked + span { background: linear-gradient(135deg, #f1dca6, #c69f5c); border-color: transparent; color: #17120b; }
.choice input:checked + span small { color: rgba(23, 18, 11, 0.75); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.exp-choices.invalid .choice span { border-color: var(--danger); }
.menu-pick { grid-template-columns: repeat(4, 1fr); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 16px; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 232, 214, 0.18);
  border-radius: 1px;
  color-scheme: dark;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 94, 0.18); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(242, 232, 214, 0.35); }
.field.invalid input,
.field.invalid textarea { border-color: var(--danger); }
.form-error { margin: 0 0 14px; font-size: 14px; color: var(--danger); }
.form-error a { color: var(--gold-light); }
.form-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--cream-dim); }
button[type="submit"][disabled] { opacity: 0.6; cursor: progress; }

.booking-success { padding: 34px 8px 18px; text-align: center; }
.success-mark { width: 72px; height: auto; }
.booking-success h2 { font-size: 46px; }
.booking-success p { max-width: 460px; margin: 0 auto 26px; font-size: 16px; line-height: 1.65; color: var(--cream-dim); }
.booking-success a { color: var(--gold-light); }

.noscript { position: fixed; inset: 0; display: grid; place-content: center; padding: 24px; text-align: center; font-family: Georgia, serif; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .room-card small { display: none; }
  .room-strip { gap: 10px; }
  .nav { gap: 18px; }
  .nav a { letter-spacing: 0.18em; }
}

/* ---------- The menu room: menu covers laid on the table ---------- */
.menu-covers {
  position: absolute;
  z-index: 3;
  left: calc(var(--gutter) + min(440px, 34vw) + var(--gutter));
  right: var(--gutter);
  top: calc(var(--topbar-h) + 40px);
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  perspective: 1400px;
  pointer-events: none;
}
.menu-cover {
  --tilt: -3deg;
  position: relative;
  width: clamp(190px, 17vw, 280px);
  aspect-ratio: 1 / 1.42;
  padding: 0;
  border: 0;
  border-radius: 3px 6px 6px 3px;
  color: #e6c98c;
  background-color: #14110d;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0, rgba(255, 255, 255, 0.06) 7px, rgba(0, 0, 0, 0.25) 11px, transparent 14px),
    radial-gradient(ellipse 120% 90% at 35% 20%, rgba(255, 235, 190, 0.1), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  box-shadow:
    0 1px 0 rgba(255, 230, 180, 0.12) inset,
    0 30px 40px -18px rgba(0, 0, 0, 0.9),
    0 60px 80px -30px rgba(0, 0, 0, 0.75);
  transform: rotateX(16deg) rotateZ(var(--tilt));
  transform-origin: 0 50%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
  cursor: pointer;
  pointer-events: auto;
  animation: cover-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(0.35s + var(--i) * 0.14s);
}
.menu-cover:nth-child(2n) { --tilt: 2.5deg; }
.menu-cover.tone-olive { background-color: #1b2118; }
.menu-cover.tone-bordeaux { background-color: #2a1214; }
@keyframes cover-in {
  from { opacity: 0; transform: translateY(40px) rotateX(30deg) rotateZ(var(--tilt)); }
}
.menu-cover:hover,
.menu-cover:focus-visible {
  transform: translateY(-14px) rotateX(4deg) rotateZ(0deg);
  box-shadow: 0 1px 0 rgba(255, 230, 180, 0.14) inset, 0 50px 60px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(230, 201, 140, 0.25);
}
.menu-cover:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; }
.menu-cover.is-opening { transform: translateY(-14px) rotateY(-68deg); transition-duration: 0.5s; }
.menu-cover.is-active { box-shadow: 0 0 0 1px var(--gold-light), 0 50px 60px -24px rgba(0, 0, 0, 0.95); }
.cover-inner {
  position: absolute;
  inset: 12px 12px 12px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid rgba(214, 176, 108, 0.55);
  outline: 1px dashed rgba(214, 176, 108, 0.22);
  outline-offset: 4px;
  text-align: center;
}
.cover-mark { width: 34%; height: auto; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)); }
.cover-house { font-size: 8px; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(230, 201, 140, 0.8); }
.cover-rule { width: 36px; height: 1px; margin: 4px 0; background: linear-gradient(90deg, transparent, #d6b06c, transparent); }
.cover-title {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f6e2b0 0%, #c9a25e 55%, #f1d79d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}
.cover-line { font-family: var(--serif); font-style: italic; font-size: 13px; color: rgba(242, 232, 214, 0.72); }
.cover-open {
  position: absolute;
  bottom: 14px;
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(230, 201, 140, 0.55);
  transition: color 0.3s ease;
}
.menu-cover:hover .cover-open { color: var(--gold-light); }

/* ---------- The Chef page: his story over the softly blurred kitchen ---------- */
.scene-chef .scene-veil { background: radial-gradient(120% 90% at 70% 40%, rgba(7, 6, 5, 0.15), rgba(7, 6, 5, 0.6)); }
.chef-about {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 94, 0.4) transparent;
  /* text melts away under the top bar as it scrolls up */
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--topbar-h) - 10px), #000 calc(var(--topbar-h) + 40px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--topbar-h) - 10px), #000 calc(var(--topbar-h) + 40px));
  padding: 0 var(--gutter);
  /* the kitchen shows through at the top, then the page settles into near-black */
  background: linear-gradient(to bottom, rgba(7, 6, 5, 0.25) 0, rgba(7, 6, 5, 0.1) 40vh, rgba(7, 6, 5, 0.82) 105vh, rgba(7, 6, 5, 0.93) 160vh) local;
}
.chef-about > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.1s); }
.reveal.is-in { opacity: 1; transform: none; }

.about-intro {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  padding: calc(var(--topbar-h) + 40px) 0 40px;
}
.about-title { margin: 14px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6vw, 96px); line-height: 0.95; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6); }
.about-tagline { margin: 0 0 22px; max-width: 520px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--gold-light); }
.about-lead { margin: 0; max-width: 540px; font-size: 16px; line-height: 1.8; color: var(--cream); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.about-portrait { display: flex; justify-content: center; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  margin-bottom: clamp(70px, 10vh, 120px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-facts div { padding: 22px 20px; text-align: center; }
.about-facts div + div { border-left: 1px solid var(--line); }
.about-facts dt { font: 500 10px var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.about-facts dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 23px); color: var(--cream); }

.about-sec { padding: clamp(56px, 9vh, 100px) 0; }
.about-sec + .about-sec { border-top: 1px solid rgba(201, 162, 94, 0.16); }
.about-h { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.08; color: var(--cream); }
.about-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 5vh, 56px); }
.about-sec-head > .eyebrow, .about-sec-head > .about-h { grid-column: 1; }
.about-sec-head > .about-text { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.about-text, .about-cols p { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--cream-dim); }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 90px); }
.about-cols { display: grid; gap: 22px; }
.about-cols p:first-child::first-letter { float: left; margin: 6px 10px 0 0; font-family: var(--serif); font-size: 64px; line-height: 0.8; color: var(--gold-light); }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.pillars li { padding-top: 22px; border-top: 1px solid var(--gold); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.pillars h3, .career-item h3 { margin: 10px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--cream); }
.pillars p, .career-item p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--cream-dim); }

.career { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.career-item { padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 36px) clamp(30px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
.career-item:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.career-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(201, 162, 94, 0.5); border-radius: 50%; color: var(--gold-light); }
.career-icon svg { width: 22px; height: 22px; }
.career-places { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.career-places li { display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--gold); }
.place-name { font-family: var(--serif); font-size: 19px; color: var(--cream); }
.place-note { font-size: 12px; letter-spacing: 0.08em; color: var(--gold-light); }
.career-stars { margin-left: 8px; font-size: 13px; letter-spacing: 0.15em; color: #d9343f; } /* Michelin red */

.about-expertise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.expertise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 3vw, 48px); }
.expertise li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid rgba(201, 162, 94, 0.22); font-family: var(--serif); font-size: 21px; color: var(--cream); }
.expertise li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 7px; height: 7px; border: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg); }

.gallery-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 3vw, 48px); margin-top: clamp(36px, 5vh, 56px); }
.about-closing { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-bottom: clamp(90px, 14vh, 150px); }
.about-quote { margin: 0; max-width: 860px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.4; color: var(--cream); }
.about-quote::before { content: "“"; display: block; height: 0.5em; font-size: 2.2em; line-height: 1; color: var(--gold); }
.about-mark { width: 44px; height: auto; opacity: 0.85; }
body[data-scene="chef"].about-scrolled .back-btn { opacity: 0; pointer-events: none; }

/* framed photographs */
.gallery-frame {
  --h: min(46vh, 420px);
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-frame.is-portrait { --h: min(62vh, 600px); }
.gallery-frame:hover { transform: translateY(-6px); }
.gallery-frame:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 8px; }
.frame-mat {
  display: block;
  padding: clamp(12px, 1.6vw, 22px);
  background: #f2ece0;
  border: clamp(10px, 1vw, 14px) solid transparent;
  border-image: linear-gradient(135deg, #f6dfa4 0%, #b8893f 22%, #f1d593 45%, #8a6428 70%, #e3bf78 100%) 1;
  box-shadow:
    inset 0 0 0 1px rgba(90, 64, 28, 0.35),
    inset 0 2px 8px rgba(0, 0, 0, 0.25),
    0 30px 50px -18px rgba(0, 0, 0, 0.85),
    0 8px 18px rgba(0, 0, 0, 0.45);
}
.frame-mat img { display: block; height: var(--h); width: auto; max-width: 100%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.35); }
.frame-plate {
  padding: 6px 16px 7px;
  background: linear-gradient(180deg, #e8c987, #a87c37);
  color: #2a1e0f;
  font: 500 10px var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: calc(var(--topbar-h) + 10px) var(--gutter) 30px;
  background: rgba(5, 4, 3, 0.92);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox figure { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - var(--topbar-h) - 110px); object-fit: contain; border: 1px solid rgba(201, 162, 94, 0.4); }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--cream); }
.lightbox-close { position: absolute; top: calc(var(--topbar-h) + 10px); right: var(--gutter); width: 44px; height: 44px; border: 1px solid rgba(201, 162, 94, 0.5); background: rgba(10, 9, 7, 0.7); color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox-step { width: 48px; height: 48px; border: 1px solid rgba(201, 162, 94, 0.5); background: rgba(10, 9, 7, 0.7); color: var(--gold-light); font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-step.is-prev { grid-column: 1; }
.lightbox-step.is-next { grid-column: 3; }

/* ---------- Dinner party menus: chooser + slide-up menu card ---------- */
.menu-choices { display: grid; gap: 14px; margin: 6px 0 20px; }
.menu-choice-style { margin: 0 0 6px !important; font-size: 10.5px !important; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream-dim) !important; }
.menu-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title arrow" "meta arrow";
  align-items: center;
  gap: 2px 14px;
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1px solid rgba(201, 162, 94, 0.38);
  background: rgba(8, 7, 5, 0.55);
  color: var(--cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.menu-choice-title { grid-area: title; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.menu-choice-meta { grid-area: meta; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.menu-choice svg { grid-area: arrow; width: 16px; height: 16px; color: var(--gold); transition: transform 0.3s var(--ease); }
.menu-choice:hover,
.menu-choice:focus-visible { border-color: var(--gold); background: rgba(201, 162, 94, 0.1); }
.menu-choice:hover svg { transform: translateX(3px); }
.menu-choice.is-active { border-color: var(--gold-light); background: linear-gradient(135deg, rgba(241, 220, 166, 0.16), rgba(198, 159, 92, 0.08)); }
.menu-choice.is-active svg { transform: rotate(-90deg); }

.menu-sheet {
  position: fixed;
  z-index: 26;
  top: calc(var(--topbar-h) + 10px);
  /* the room text is the first quarter of the screen; the menu opens in the third */
  left: 50vw;
  bottom: 20px;
  width: min(470px, calc(50vw - var(--gutter)));
  pointer-events: none;
}
.menu-paper {
  position: relative;
  height: 100%;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
    #f3eee4;
  color: #1d1a16;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.25);
  outline: 1px solid rgba(29, 26, 22, 0.55);
  outline-offset: -12px;
  transform: translateY(calc(100% + 60px));
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
  pointer-events: auto;
}
.menu-sheet.is-open .menu-paper { transform: none; opacity: 1; }
.menu-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 40px 42px 34px; transition: opacity 0.22s ease, transform 0.22s ease; }
.menu-sheet.is-turning .menu-scroll { opacity: 0; transform: translateY(14px); }
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 26, 22, 0.08);
  color: #1d1a16;
  cursor: pointer;
}
.menu-close:hover { background: rgba(29, 26, 22, 0.16); }
.menu-close svg { width: 14px; height: 14px; }

.menu-head { text-align: center; padding-bottom: 18px; border-bottom: 1px solid rgba(29, 26, 22, 0.35); }
.menu-logo { width: 150px; height: auto; filter: brightness(0); opacity: 0.86; }
.menu-titles { text-align: center; padding: 20px 0 6px; }
.menu-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: 0.16em; text-transform: uppercase; }
.menu-sub { margin: 4px 0 8px; font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.08em; color: #4a443d; }
.menu-leaf { display: block; width: 34px; height: 14px; margin: 0 auto; color: #1d1a16; }
.menu-courses { list-style: none; margin: 10px 0 0; padding: 0; text-align: center; }
.menu-course { padding: 18px 8% 16px; border-top: 1px solid rgba(29, 26, 22, 0.22); }
.menu-course:first-child { border-top: 0; }
.course-fr { margin: 0; font-family: var(--serif); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; }
.course-en { margin: 1px 0 8px; font-family: var(--serif); font-style: italic; font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; color: #4a443d; }
.course-dish { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; }
.course-desc { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; color: #3a352f; }
.course-wine-label { margin: 10px 0 1px; font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: #6f665c; }
.course-wine { margin: 0; font-family: var(--serif); font-style: italic; font-size: 14.5px; color: #3a352f; }
.menu-tagline { margin: 12px 0 0; font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: #4a443d; }
.menu-section { padding: 18px 0 6px; border-top: 1px solid rgba(29, 26, 22, 0.22); text-align: center; }
.menu-titles + .menu-section { border-top: 0; }
.section-fr { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: 0.22em; text-transform: uppercase; }
.section-en { margin: 2px 0 14px; font-family: var(--serif); font-style: italic; font-size: 15px; color: #4a443d; }
.menu-dishes { list-style: none; margin: 0; padding: 0 2%; }
.menu-dishes li { padding: 0 0 13px; }
.dish-name { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; }
.dish-desc { margin: 1px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.4; color: #3a352f; }
/* the full carte (family style): a wide, two-column menu like the printed one */
.menu-sheet.is-wide {
  left: calc(var(--gutter) + min(440px, 34vw) + var(--gutter) * 0.5);
  right: var(--gutter);
  width: auto;
}
.menu-sheet.is-wide .menu-paper { max-width: 940px; margin: 0 auto; }
.menu-sheet.is-wide .menu-scroll { padding: 40px 56px 34px; }
.menu-sheet.is-wide .menu-section { padding-top: 22px; border-top: 0; }
.menu-sheet.is-wide .section-fr { display: flex; align-items: center; gap: 22px; }
.menu-sheet.is-wide .section-fr::before,
.menu-sheet.is-wide .section-fr::after { content: ""; flex: 1; height: 1px; background: rgba(29, 26, 22, 0.4); }
.menu-sheet.is-wide .menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; } /* left and right columns, as in the print */
.menu-sheet.is-wide .menu-dishes { padding: 0; text-align: left; }
.menu-sheet.is-wide .menu-dishes li { padding-bottom: 11px; }
.menu-sheet.is-wide .dish-name { font-size: 16.5px; }
.menu-sheet.is-wide .dish-desc { font-size: 14.5px; }
@media (max-width: 1100px) {
  .menu-sheet.is-wide .menu-cols { grid-template-columns: 1fr; }
}
/* build-your-own plated menu: tappable dishes and a tray with the chosen courses */
.menu-intro { max-width: 540px; margin: 14px auto 0; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.45; color: #3a352f; }
.menu-suggest { margin: 14px 0 0; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #6f665c; }
.suggest-btn { margin: 6px 4px 0; padding: 7px 14px; border: 1px solid rgba(29, 26, 22, 0.4); background: none; color: #1d1a16; font: 500 10px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.suggest-btn:hover,
.suggest-btn.is-active { background: #1d1a16; color: #f3e6c8; }
.dish-pick {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  width: calc(100% + 16px);
  margin: 0 -8px;
  padding: 7px 8px;
  border: 1px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.dish-pick .dish-name,
.dish-pick .dish-desc { display: block; }
.dish-check { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1px solid rgba(29, 26, 22, 0.45); border-radius: 50%; color: transparent; transition: background 0.2s ease, color 0.2s ease; }
.dish-check svg { width: 12px; height: 12px; }
.dish-pick:hover { background: rgba(29, 26, 22, 0.05); }
.dish-pick.is-picked { background: rgba(198, 159, 92, 0.16); border-color: rgba(138, 109, 59, 0.45); }
.dish-pick.is-picked .dish-check { background: #1d1a16; border-color: #1d1a16; color: #f3e6c8; }
.dish-pick:disabled { opacity: 0.4; cursor: default; }
.dish-pick:disabled:hover { background: none; }
.menu-sheet.is-wide .menu-dishes li:has(.dish-pick) { padding-bottom: 4px; }
.menu-tray {
  position: sticky;
  bottom: -34px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px -56px -34px;
  padding: 14px 56px 16px;
  background: #ece5d8;
  border-top: 1px solid rgba(29, 26, 22, 0.3);
  box-shadow: 0 -14px 26px -18px rgba(0, 0, 0, 0.45);
}
.tray-count { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.tray-list { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 3px 0 0; padding: 0; list-style-position: inside; font-family: var(--serif); font-style: italic; font-size: 14px; color: #3a352f; }
.tray-list li::marker { font-style: normal; color: #8a6d3b; }
.tray-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.tray-clear { border: 0; background: none; color: #6f665c; font: 500 10px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: underline; cursor: pointer; }
.menu-tray .btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
/* catering carte (corporate): the printed menu's columns, with tickable dishes and stations */
.catalog-cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); text-align: left; }
.catalog-col { padding: 0 20px; }
.catalog-col:first-child { padding-left: 0; }
.catalog-col:last-child { padding-right: 0; }
.catalog-col + .catalog-col { border-left: 1px solid rgba(138, 109, 59, 0.35); }
.catalog-group { margin-bottom: 12px; }
.catalog-group.is-cont { padding-top: 22px; } /* lines up with the titled column beside it */
.catalog-group + .catalog-group { padding-top: 12px; border-top: 1px solid rgba(138, 109, 59, 0.3); }
.station { position: relative; margin: 0 -10px; padding: 10px; transition: background 0.2s ease; }
.station.is-picked { background: rgba(198, 159, 92, 0.16); }
.station-pick { position: absolute; inset: 0; width: 100%; padding: 10px; border: 0; background: none; cursor: pointer; display: flex; justify-content: flex-end; align-items: flex-start; }
.station-pick:hover { background: rgba(29, 26, 22, 0.04); }
.station-pick.is-picked .dish-check { background: #1d1a16; border-color: #1d1a16; color: #f3e6c8; }
.station .group-title { padding-right: 26px; }
.station .menu-dishes li { padding-bottom: 6px; }
.group-title { padding-right: 26px; }
.station .menu-dishes li { padding-bottom: 6px; }
.group-title { margin: 0 0 6px; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #8a6d3b; }
.group-sub { margin: -2px 0 8px; font-family: var(--serif); font-style: italic; font-size: 16px; color: #3a352f; }
.group-text { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.45; color: #3a352f; }
.menu-catalog .menu-dishes { padding: 0; }
.menu-catalog .menu-dishes li { padding-bottom: 2px; }
.menu-catalog .dish-pick { grid-template-columns: 18px 1fr; gap: 8px; }
.menu-catalog .dish-check { width: 17px; height: 17px; }
.menu-catalog .dish-name { font-size: 15.5px; }
.menu-catalog .dish-desc { font-size: 14px; }
.menu-sheet.is-wide .menu-catalog .section-fr { margin-bottom: 14px; }
.mine-section { text-align: center; }
.mine-section .menu-dishes { padding: 0; }
.mine-section .menu-dishes li { padding-bottom: 10px; }
.menu-signoff { margin: 6px 0 4px !important; font-family: var(--serif) !important; font-style: italic; font-size: 19px !important; letter-spacing: 0 !important; text-transform: none !important; color: #8a6d3b !important; }
.menu-foot { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(29, 26, 22, 0.35); text-align: center; }
.menu-foot > p:first-child { margin: 0 0 8px; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: #4a443d; }
.menu-foot .btn { margin-top: 18px; }
.menu-note { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 14px; color: #6f665c; }
.btn-ink { background: #1d1a16; color: #f3e6c8; border: 1px solid #1d1a16; }
.btn-ink:hover { background: #2c2720; transform: translateY(-1px); }

@media (max-width: 1040px) {
  .nav { display: none; }
  .topbar { grid-template-columns: auto 1fr; }
  .brand { order: -1; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 64px; }
  .brand img { height: 40px; }
  /* phone home screen: the hall on top, the rooms as a grid of cards below */
  .scene.scene-hall .scene-veil {
    background: linear-gradient(to bottom, rgba(5, 4, 3, 0.35) 0, rgba(5, 4, 3, 0) 140px, rgba(5, 4, 3, 0) calc(var(--scene-h) - 150px), var(--bg) calc(var(--scene-h) - 6px));
  }
  .scene-hall .scene-caption { top: calc(var(--scene-h) - 46px); bottom: auto; }
  .scene-hall .caption-title { font-size: 34px; margin: 6px 0 4px; }
  .scene-hall .caption-tagline { font-size: 17px; }
  .room-strip {
    top: calc(var(--scene-h) + 74px);
    bottom: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .room-strip .room-card { height: clamp(96px, 17vh, 150px); }
  .room-strip .room-card-text { bottom: 10px; gap: 2px; }
  .room-strip .room-card svg { width: 18px; height: 18px; margin-bottom: 2px; }
  .room-strip .room-card strong { font-size: 13px; letter-spacing: 0.14em; }
  .room-strip .room-card small { display: none; }

  .scene-veil {
    background:
      linear-gradient(to top, rgba(5, 4, 3, 0.97) 0%, rgba(5, 4, 3, 0.85) 34%, rgba(5, 4, 3, 0.45) 52%, rgba(5, 4, 3, 0) 66%),
      radial-gradient(ellipse 120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
  }
  /* rooms: the scene fills the top of the screen and fades into black, text below */
  .scene.is-room .scene-veil,
  .scene.is-room.caption-top .scene-veil {
    background: linear-gradient(to bottom, rgba(5, 4, 3, 0.35) 0, rgba(5, 4, 3, 0) 140px, rgba(5, 4, 3, 0) calc(var(--scene-h) - 170px), var(--bg) calc(var(--scene-h) - 8px));
  }
  .scene-caption { bottom: calc(22px + env(safe-area-inset-bottom)); }
  .caption-title { font-size: 40px; }

  .scene.scene-entrance .scene-veil {
    background: linear-gradient(to bottom, rgba(5, 4, 3, 0.3) 0, rgba(5, 4, 3, 0) 120px, rgba(5, 4, 3, 0) calc(var(--scene-h) - 140px), var(--bg) calc(var(--scene-h) - 4px));
  }
  .scene-caption.hero { top: calc(var(--scene-h) - 30px); bottom: auto; transform: none; width: auto; right: var(--gutter); }
  .hero-title { font-size: 40px; }
  .hero-by { margin-top: 12px; font-size: 11px; }
  .hero-tags { margin-top: 14px; font-size: 9.5px; letter-spacing: 0.18em; }
  .hero-lede { font-size: 14px; margin-top: 8px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .hs { --dot: 14px; }
  .hs-tag { padding: 6px 10px 7px; background: rgba(7, 6, 4, 0.84); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hs-tag-title { font-size: 15px; }
  .hs-tag-hint { display: none; }
  .hs-tag.side-right { transform: translate(14px, -50%); }
  .hs-tag.side-left { transform: translate(calc(-100% - 14px), -50%); }
  .hs-tag.side-bottom { transform: translate(calc(-50% + var(--nx, 0px)), 14px); }
  .hs-zone .hs-tag-title { font-size: 22px; }
  .hs-zone .hs-tag-hint { display: block; font-size: 12px; }

  .room-caption,
  .caption-top .room-caption {
    top: calc(var(--scene-h) - 36px);
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    max-height: none;
    padding: 0 22px calc(28px + env(safe-area-inset-bottom));
  }
  .room-caption .caption-title { font-size: 38px; margin: 8px 0 6px; }
  .room-caption .caption-tagline { font-size: 19px; margin-bottom: 10px; }
  .caption-text { font-size: 14.5px; line-height: 1.6; }
  .caption-note { display: none; }
  .caption-actions { margin-top: 18px; }
  .caption-actions .btn { flex: 1 1 auto; }
  .room-caption .detail-title { font-size: 32px; }
  .caption-view:has(.caption-picks) .caption-text { display: none; } /* the list explains itself */
  .caption-picks { gap: 0 16px; margin: 0 0 14px; }
  .caption-picks button { padding: 8px 0 9px; gap: 2px; }
  .caption-picks .pick-title { font-size: 16.5px; }
  .caption-picks .pick-meta { font-size: 9.5px; letter-spacing: 0.12em; }
  .back-btn { top: calc(var(--topbar-h) + 12px); }
  .pan-hint { top: calc(var(--topbar-h) + 62px); }

  .booking-card { padding: 38px 20px 26px; }
  .booking-card h2 { font-size: 32px; }
  .exp-choices { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .map .room-card { height: 120px; }
}

@media (max-width: 420px) {
  .topbar-right { gap: 10px; }
  .map-toggle-label { display: none; }
  .hero-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-drift { animation: none; }
  .hs-dot::after { animation: none; opacity: 0.5; }
  .loader-logo { animation: none; }
  .caption-view { animation: none; }
}

@media (max-width: 860px) {
  .menu-sheet { top: calc(var(--topbar-h) + 6px); left: 8px; right: 8px; bottom: 0; width: auto; }
  .menu-paper { outline-offset: -8px; }
  .menu-scroll { padding: 30px 22px calc(28px + env(safe-area-inset-bottom)); }
  .menu-close { top: 14px; right: 14px; }
  .menu-logo { width: 120px; }
  .menu-title { font-size: 24px; }
  .menu-course { padding: 16px 2% 14px; }
  .menu-choice { padding: 10px 14px; }
  .menu-choice-title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-paper { transition: opacity 0.3s ease; transform: none; }
}

@media (max-width: 860px) {
  .menu-sheet.is-wide { left: 8px; right: 8px; }
  .menu-sheet.is-wide .menu-scroll { padding: 30px 22px calc(28px + env(safe-area-inset-bottom)); }
  .menu-sheet.is-wide .section-fr { font-size: 17px; gap: 12px; }
}

@media (max-width: 860px) {
  .menu-tray { flex-direction: column; align-items: stretch; gap: 10px; margin: 18px -22px calc(-28px - env(safe-area-inset-bottom)); padding: 12px 22px calc(14px + env(safe-area-inset-bottom)); bottom: calc(-28px - env(safe-area-inset-bottom)); }
  .tray-actions { justify-content: space-between; }
  .menu-tray .btn { flex: 1; }
}

@media (max-width: 860px) {
  .menu-covers { left: 16px; right: 16px; top: calc(var(--topbar-h) + 64px); bottom: auto; height: calc(var(--scene-h) - var(--topbar-h) - 110px); gap: 18px; }
  .menu-covers { gap: 10px; }
  .menu-cover { width: min(29vw, 150px); }
  .cover-inner { inset: 9px 9px 9px 16px; padding: 12px 8px; gap: 6px; }
  .cover-title { font-size: 12.5px; letter-spacing: 0.08em; }
  .cover-line { font-size: 10px; }
  .cover-house { font-size: 6.5px; }
  .cover-open { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-cover { animation: none; transition: none; }
}

@media (max-width: 860px) {
  .time-toggle .time-label { display: none; }
  .time-clock { padding-left: 0; border-left: 0; font-size: 10.5px; }
  .time-toggle { padding: 8px 2px; }
}

@media (max-width: 860px) {
  .tray-list { max-height: 2.9em; overflow: hidden; } /* the counts above already summarise a long selection */
}

@media (max-width: 1200px) {
  .catalog-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-col:nth-child(odd) { border-left: 0; padding-left: 0; }
  .catalog-col:nth-child(even) { padding-right: 0; }
}
@media (max-width: 640px) {
  .catalog-cols { grid-template-columns: 1fr; }
  .catalog-col { border-left: 0 !important; padding: 0 !important; }
  .catalog-group.is-cont { padding-top: 0; border-top: 0; }
}

@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding: calc(var(--topbar-h) + 64px) 0 44px; }
  .about-portrait { order: -1; }
  .gallery-frame.is-portrait { --h: min(50vh, 400px); }
  .gallery-frame { --h: min(52vh, 380px); gap: 10px; }
  .about-title { font-size: 48px; }
  .about-lead { font-size: 15px; line-height: 1.75; }
  .about-actions .btn { flex: 1 1 auto; }
  .about-facts { grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .about-facts div { padding: 16px 10px; }
  .about-facts div + div { border-left: 0; }
  .about-facts div:nth-child(even) { border-left: 1px solid var(--line); }
  .about-facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about-facts dd { font-size: 17px; }
  .about-sec { padding: 52px 0; }
  .about-story, .about-expertise, .about-sec-head { grid-template-columns: 1fr; gap: 18px; }
  .about-sec-head > .about-text { grid-column: 1; grid-row: auto; }
  .about-h { font-size: 34px; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .career { grid-template-columns: 1fr; }
  .career-item { padding: 26px 0 30px; }
  .career-item:not(:nth-child(3n + 1)) { border-left: 0; }
  .expertise { grid-template-columns: 1fr; }
  .expertise li { font-size: 19px; padding: 13px 0 13px 24px; }
  .frame-mat { padding: 8px; border-width: 7px; }
  .frame-plate { font-size: 8.5px; padding: 5px 10px; }
  .lightbox { grid-template-columns: 1fr; padding: calc(var(--topbar-h) + 60px) 12px 20px; }
  .lightbox figure { grid-column: 1; }
  .lightbox-step { position: absolute; bottom: 24px; }
  .lightbox-step.is-prev { left: 16px; }
  .lightbox-step.is-next { right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-frame, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Contact: a quiet line of links (phone, email, Instagram) ---------- */
.contact-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; margin: 0; font: 400 12.5px/1.4 var(--sans); letter-spacing: 0.04em; color: var(--cream-dim); }
.contact-line [data-contact] { display: contents; }
.contact-line a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; transition: color 0.25s; }
.contact-line a:hover, .contact-line a:focus-visible { color: var(--gold-light); }
.contact-line svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
.contact-lead { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; color: var(--cream); }
.map-contact { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(201, 162, 94, 0.18); }
.booking-contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(201, 162, 94, 0.16); gap: 6px 18px; }
.about-contact { margin-top: 10px; }
@media (max-width: 860px) {
  .contact-line { gap: 10px 18px; font-size: 12px; }
  .map-contact { margin-top: 20px; padding-top: 16px; }
}

/* ---------- Front door: a brass plaque with the contact details ---------- */
.plaque-mount {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: clamp(28px, 7vh, 70px);
  pointer-events: none;
}
.plaque {
  --ink: #2a1b0a;
  --etch: rgba(255, 244, 210, 0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  padding: 26px 26px 24px;
  color: var(--ink);
  text-align: center;
  pointer-events: auto;
  isolation: isolate;
  /* brushed brass: fine horizontal grain over a warm, uneven sheen */
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(0, 0, 0, 0.035) 1px 2px, rgba(255, 255, 255, 0) 2px 3px),
    radial-gradient(120% 70% at 30% 0%, rgba(255, 246, 214, 0.55), rgba(255, 246, 214, 0) 60%),
    linear-gradient(160deg, #f4dfa4 0%, #d6b066 24%, #efd696 44%, #b8904a 68%, #e2c27f 86%, #a98140 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 230, 0.85),
    inset 0 -1px 0 rgba(80, 52, 16, 0.7),
    inset 0 0 0 1px rgba(110, 78, 30, 0.55),
    0 36px 60px -24px rgba(0, 0, 0, 0.95),
    0 12px 26px rgba(0, 0, 0, 0.55);
  animation: plaque-in 1.2s var(--ease) 1.1s both;
}
/* an engraved border just inside the edge */
.plaque::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(70, 46, 14, 0.55);
  box-shadow: 0 1px 0 var(--etch), inset 0 1px 0 var(--etch);
  pointer-events: none;
}
/* four small screws in the corners */
.plaque::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  --screw: radial-gradient(circle, #7d5820 0 1.1px, #f6e4b0 1.5px 2.4px, #8b6427 3.1px, rgba(0, 0, 0, 0.25) 3.6px, transparent 4.2px);
  background: var(--screw) left top / 9px 9px no-repeat, var(--screw) right top / 9px 9px no-repeat, var(--screw) left bottom / 9px 9px no-repeat, var(--screw) right bottom / 9px 9px no-repeat;
  pointer-events: none;
}
@keyframes plaque-in { from { opacity: 0; transform: translateY(18px); } }

/* a light that glints across the brass on arrival and on hover */
.plaque-shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.plaque-shine::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 45%;
  left: -60%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 252, 236, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: plaque-glint 1.6s cubic-bezier(0.4, 0, 0.2, 1) 2.1s both;
}
.plaque:hover .plaque-shine::before { animation: plaque-glint 1.3s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes plaque-glint { from { left: -60%; } to { left: 120%; } }

/* engraved lettering: dark ink with a bright lip underneath */
.plaque-head, .plaque-links a { text-shadow: 0 1px 0 var(--etch); }
.plaque-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.plaque-mark { width: 40px; height: auto; filter: brightness(0) opacity(0.78) drop-shadow(0 1px 0 rgba(255, 244, 210, 0.7)); }
.plaque-titles { display: flex; flex-direction: column; align-items: center; }
.plaque-kicker { font: 600 9px var(--sans); letter-spacing: 0.4em; text-transform: uppercase; opacity: 0.7; }
.plaque-name { margin-top: 6px; font: 500 21px/1.1 var(--serif); letter-spacing: 0.16em; text-transform: uppercase; }
.plaque-sub { margin-top: 5px; font: 500 9px var(--sans); letter-spacing: 0.36em; text-transform: uppercase; opacity: 0.8; }
.plaque-rule { position: relative; width: 100%; height: 1px; margin: 18px 0 16px; background: linear-gradient(90deg, transparent, rgba(60, 40, 12, 0.6) 18%, rgba(60, 40, 12, 0.6) 82%, transparent); box-shadow: 0 1px 0 var(--etch); }
.plaque-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: #c9a258; border: 1px solid rgba(60, 40, 12, 0.7); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 1px 0 var(--etch); }
.plaque-links { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.plaque-links a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 500 13px var(--sans); letter-spacing: 0.04em; transition: color 0.25s, opacity 0.25s; }
.plaque-links a:first-child { font: 500 19px var(--serif); letter-spacing: 0.08em; }
.plaque-links svg { width: 14px; height: 14px; flex: none; filter: drop-shadow(0 1px 0 rgba(255, 244, 210, 0.6)); }
.plaque-links a:hover, .plaque-links a:focus-visible { color: #6b4612; }
.plaque-links a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.plaque.is-phone { display: none; }

@media (max-width: 1100px) {
  .plaque { width: 260px; padding: 22px 20px 20px; }
  .plaque-name { font-size: 18px; }
  .plaque-links a { font-size: 12px; }
}
/* the compact plate under the hero buttons: on phones, and on screens where
   the door leaves no clear wall for the full plaque (.plaque-tight, set in app.js) */
.plaque.is-compact {
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  width: auto;
  max-width: 420px;
  margin-top: 22px;
  padding: 16px 18px;
  text-align: left;
  animation-delay: 0.6s;
}
.plaque.is-compact .plaque-head { gap: 6px; padding-right: 16px; align-self: stretch; justify-content: center; border-right: 1px solid rgba(60, 40, 12, 0.5); box-shadow: 1px 0 0 var(--etch); }
.plaque.is-compact .plaque-mark { width: 34px; }
.plaque.is-compact .plaque-titles, .plaque.is-compact .plaque-rule { display: none; }
.plaque.is-compact .plaque-links { align-items: flex-start; gap: 5px; }
.plaque.is-compact .plaque-links a { font-size: 12px; }
.plaque.is-compact .plaque-links a:first-child { font-size: 17px; }
.plaque.is-compact::before { inset: 6px; }
.plaque.is-compact::after { inset: 1px; }
.plaque-tight .plaque-mount { display: none; }
.plaque-tight .plaque.is-phone { display: grid; }
@media (max-width: 860px) {
  .plaque-mount { display: none; }
  .plaque.is-phone { display: grid; margin-top: 16px; max-width: none; }
  /* buttons side by side to make room for the plate */
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; padding: 14px 8px; font-size: 10.5px; letter-spacing: 0.16em; }
}
@media (prefers-reduced-motion: reduce) {
  .plaque, .plaque-shine::before { animation: none; }
}
/* short phones (e.g. iPhone SE): drop the hero's sentence so the plate still fits */
@media (max-width: 860px) and (max-height: 720px) {
  .scene-entrance .hero-lede { display: none; }
}
