/*
 * Booth — Las Vegas supper club
 * A warm bound menu that happens to be in Vegas: cream paper, dark photographs
 * framed like prints, engraved brass plates, the recurring curved-booth frame.
 * Built from 06-design-synthesis/design-direction.md (binding).
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  /* scaffold-applied roles (kept) */
  --color-primary: #1B4D3E;
  --color-secondary: #6B1E1E;
  --color-accent: #C9A84C;
  --color-bg: #F5ECD7;
  --color-text: #211711;
  --color-text-secondary: #5C4A39;
  --font-primary: 'Marcellus', 'Times New Roman', serif;
  --font-secondary: 'Spectral', Georgia, serif;
  --font-size-base: 16px;
  --spacing-base: 8px;

  /* named palette (image-derived) */
  --emerald: #1B4D3E;
  --emerald-dark: #123528;
  --emerald-light: #2E6B54;
  --burgundy: #6B1E1E;
  --burgundy-dark: #4d1414;
  --gold: #C9A84C;
  --gold-soft: #d9bd6e;
  --cream: #F5ECD7;
  --cream-dim: #e7d9ba;
  --walnut: #A0522D;
  --walnut-ink: #211711;
  --ink: #1a120c;
  --taupe: #5C4A39;
  --border-line: #DBC9A4;

  --eyebrow-color: var(--taupe);

  --measure: 62ch;
  --wrap: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============================================================
   Skip navigation (accessibility)
   ============================================================ */
.skip-nav {
  position: absolute; top: -100%; left: 0; z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--walnut-ink); color: var(--gold);
  font-family: var(--font-primary); font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size-base, 16px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-secondary);
  background-color: var(--cream);
  color: var(--walnut-ink);
  line-height: 1.7;
  padding-bottom: 42px; /* required */
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ============================================================
   Typography scale
   ============================================================ */
.display {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
h1, .h1 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
}
.lead {
  font-family: var(--font-secondary);
  font-size: clamp(1.18rem, 2vw, 1.375rem);
  line-height: 1.5;
}
p { font-size: 1.0625rem; line-height: 1.7; }
.small { font-size: 0.9375rem; line-height: 1.55; }
.italic, em, i.voice { font-style: italic; }
.voice { font-family: var(--font-secondary); font-style: italic; }

.caption {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.measure { max-width: var(--measure); }
.prose p + p { margin-top: 1.15rem; }
.prose p { color: var(--taupe); }

/* dark grounds */
.ground-emerald { background: var(--emerald); color: var(--cream); --eyebrow-color: var(--gold); }
.ground-burgundy { background: var(--burgundy); color: var(--cream); --eyebrow-color: var(--gold); }
.ground-ink { background: var(--walnut-ink); color: var(--cream); --eyebrow-color: var(--gold); }
.ground-walnut { background: var(--walnut); color: var(--cream); --eyebrow-color: var(--cream); }
.ground-cream { background: var(--cream); color: var(--walnut-ink); --eyebrow-color: var(--taupe); }
.ground-emerald .prose p,
.ground-burgundy .prose p,
.ground-ink .prose p,
.ground-walnut .prose p { color: var(--cream-dim); }

/* ============================================================
   Engraved plate — the recurring section opener
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: clamp(28px, 5vw, 54px);
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: clamp(28px, 5vw, 54px);
  height: 1px;
  background: var(--gold);
  flex: none;
}

/* ============================================================
   Booth-arc glyph (from the lettermark)
   ============================================================ */
.booth-glyph { display: block; color: var(--gold); }
.booth-glyph path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
html.js .booth-glyph--draw path { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.8s var(--ease); }
html.js .booth-glyph--draw.is-visible path { stroke-dashoffset: 0; }

/* ============================================================
   Brass keyline + curved-top booth frame
   ============================================================ */
.keyline { border: 1px solid var(--gold); padding: 8px; background: transparent; }
.keyline img { display: block; width: 100%; }
.keyline--cream { border-color: var(--cream); }

.booth-frame { padding: 9px; border: 1px solid var(--gold); border-bottom-width: 1px;
  border-radius: 46% 46% 6px 6px / 32% 32% 0 0; background: transparent; }
.booth-frame__img { overflow: hidden; border-radius: 44% 44% 3px 3px / 30% 30% 0 0; }
.booth-frame__img img { width: 100%; display: block; }

/* ============================================================
   Buttons — restrained gold keyline plate (never glowing)
   ============================================================ */
.plate {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease);
  cursor: pointer;
}
.plate:hover, .plate:focus-visible { background: var(--gold); color: var(--walnut-ink); }
.plate--ink { color: var(--walnut-ink); }
.plate--ink:hover, .plate--ink:focus-visible { background: var(--gold); color: var(--walnut-ink); }

.textlink {
  font-family: var(--font-primary);
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: gap .3s var(--ease);
}
.ground-emerald .textlink, .ground-burgundy .textlink, .ground-walnut .textlink, .ground-ink .textlink { color: var(--gold); }
.textlink:hover, .textlink:focus-visible { gap: 0.9rem; }

/* ============================================================
   Navigation — centered lettermark, split menu
   ============================================================ */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  color: var(--cream);
  transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.site-nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: var(--wrap); margin: 0 auto;
  padding: 1.35rem clamp(1.25rem, 5vw, 4rem);
  gap: 1.25rem;
}
.site-nav:not(.scrolled) { text-shadow: 0 1px 14px rgba(18, 12, 8, .55); }
.site-nav:not(.scrolled)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18,12,8,.5) 0%, rgba(18,12,8,0) 100%);
}
.site-nav { position: fixed; }
.site-nav.scrolled {
  background: var(--cream); color: var(--walnut-ink); text-shadow: none;
  box-shadow: 0 1px 0 var(--walnut-ink), 0 10px 30px -22px rgba(33,23,17,.6);
}
.site-nav.scrolled::before { display: none; }
.site-nav.scrolled .site-nav__inner { padding-block: 0.7rem; }

.nav-group { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav-group--left { justify-content: flex-start; }
.nav-group--right { justify-content: flex-end; }
.nav-link {
  font-family: var(--font-primary);
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  position: relative; padding-bottom: 4px; color: inherit;
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-link:hover::after, .nav-link:focus-visible::after { width: 100%; }
.nav-link[aria-current="page"]::after { width: 100%; }

/* brandmark */
.brandmark { display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; }
.brandmark__glyph { width: 46px; height: auto; }
.brandmark__word {
  font-family: var(--font-primary);
  font-size: 1.5rem; letter-spacing: 0.42em; text-transform: uppercase;
  line-height: 1; padding-left: 0.42em; color: inherit;
}
.site-nav.scrolled .brandmark__word { font-size: 1.25rem; }

.reserve-plate {
  font-family: var(--font-primary);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  padding: 0.5rem 1rem; transition: background .35s var(--ease), color .35s var(--ease);
}
.reserve-plate:hover, .reserve-plate:focus-visible { background: var(--gold); color: var(--walnut-ink); }

/* mobile nav */
.nav-toggle { display: none; background: transparent; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.nav-toggle i { font-size: 1.7rem; }
.nav-drawer { display: none; }

/* ============================================================
   Hero / Threshold
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero--page { min-height: 82svh; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--anim { animation: heroScale 9s var(--ease) forwards; }
@keyframes heroScale { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 35%, rgba(18,12,8,.55) 100%),
    linear-gradient(to top, rgba(18,12,8,.92) 0%, rgba(18,12,8,.45) 38%, rgba(18,12,8,.12) 70%);
}
.hero__inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vh, 6rem);
}
.hero__copy { max-width: 60%; }
.hero .eyebrow { color: var(--gold); }
.hero .display { color: var(--cream); }
.hero__lead { font-style: italic; color: var(--cream); margin-top: 1.4rem; max-width: 46ch; opacity: .95; }
.hero__cta { margin-top: 2.2rem; }

/* photo-to-paper seam: the dark hero resolves into cream paper at the seam */
.seam-to-cream { position: relative; }
.seam-to-cream::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(90px, 16vh, 180px);
  background: linear-gradient(to top, var(--cream) 0%, rgba(245,236,215,0) 100%);
  z-index: 5; pointer-events: none;
}

/* ============================================================
   Thesis — negative space + lone booth glyph
   ============================================================ */
.thesis { display: grid; grid-template-columns: 38% 1fr; gap: clamp(1rem, 4vw, 3rem); align-items: start; }
.thesis__margin { position: relative; min-height: 200px; }
.thesis__glyph { width: clamp(70px, 9vw, 120px); color: var(--gold); margin-top: 0.5rem; }
.thesis__body { min-width: 0; }
.thesis__statement { margin-bottom: 1.8rem; }
.thesis__voice { color: var(--emerald); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.4; margin-bottom: 1.6rem; font-family: var(--font-secondary); }

/* ============================================================
   Signature dish — two-thirds / one-third split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse { grid-template-columns: 1.05fr 1fr; }
.split__text { min-width: 0; }
.split__media { min-width: 0; position: relative; }
.split__media--bleed { margin-bottom: clamp(-5rem, -8vh, -3rem); }
.eyebrow + h2, .eyebrow + h1 { margin-bottom: 1.2rem; }
.split__text p { margin-bottom: 1.6rem; }
.cap-hairline { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.9rem; }
.cap-hairline::before { content: ""; width: 38px; height: 1px; background: var(--gold); }

/* ============================================================
   The Stay — emerald room, edge-bled lifestyle
   ============================================================ */
.leather-seam { height: clamp(48px, 7vh, 90px); background-size: cover; background-position: center; }
.stay { position: relative; }
.stay__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.stay__copy { min-width: 0; }
.stay__media { position: relative; min-width: 0; }
.stay__media img { width: 100%; }
.stay__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, var(--emerald) 0%, rgba(27,77,62,.0) 32%);
}
.stay__statement { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }

/* candlelit letterbox divider */
.letterbox {
  position: relative; min-height: clamp(280px, 42vh, 460px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--cream); overflow: hidden;
}
.letterbox__media { position: absolute; inset: 0; z-index: -2; }
.letterbox__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.letterbox::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18,12,8,.55); }
.letterbox__line {
  font-family: var(--font-primary); text-transform: uppercase;
  font-size: clamp(1.4rem, 3.6vw, 2.8rem); letter-spacing: 0.06em; line-height: 1.2;
  max-width: 24ch; padding-inline: 1.5rem;
}

/* ============================================================
   Menu teaser — walnut marquee list
   ============================================================ */
.teaser { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.teaser__list { min-width: 0; }
.marquee-row { display: block; padding: 1.15rem 0; border-top: 1px solid rgba(201,168,76,.4); transition: transform .35s var(--ease); }
.marquee-row:last-of-type { border-bottom: 1px solid rgba(201,168,76,.4); }
.marquee-row__name { font-family: var(--font-primary); text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: 0.04em; color: var(--cream); display: block; }
.marquee-row__desc { font-style: italic; color: var(--cream-dim); font-size: 1rem; margin-top: 0.35rem; display: block; }
a.marquee-row:hover { transform: translateX(10px); }
a.marquee-row:hover { border-top-color: var(--gold); }
.teaser__media { min-width: 0; }
.teaser__cta { margin-top: 2.2rem; }

/* ============================================================
   Visit threshold band + copy plate
   ============================================================ */
.threshold {
  position: relative; min-height: clamp(440px, 70vh, 720px);
  display: flex; align-items: flex-end; color: var(--cream); overflow: hidden;
}
.threshold__media { position: absolute; inset: 0; z-index: -2; }
.threshold__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.threshold::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top right, rgba(18,12,8,.9) 0%, rgba(18,12,8,.35) 55%, rgba(18,12,8,.1) 100%); }
.threshold__plate { padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vh, 4.5rem); max-width: 720px; }
.threshold__stack { margin: 1.2rem 0 1.8rem; }
.threshold__stack p { color: var(--cream); }

/* ============================================================
   Footer — burgundy/ink centered sign-off
   ============================================================ */
.site-footer { background: var(--burgundy); color: var(--cream); text-align: center; position: relative; }
.site-footer__seam { height: 40px; background-size: cover; background-position: center; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.5rem); }
.footer-rule { width: 60px; height: 1px; background: var(--gold); margin: 0 auto 2rem; }
.site-footer .brandmark { color: var(--cream); margin-bottom: 1.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2.4rem); margin-bottom: 2.2rem; }
.footer-nav a { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 6vw, 5rem); margin-bottom: 2rem; }
.footer-col { text-align: center; }
.footer-col-heading { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--gold); margin-bottom: 0.6rem; }
.footer-col p { font-size: 0.92rem; color: var(--cream-dim); }
.footer-retail { font-style: italic; color: var(--cream-dim); margin-bottom: 1.6rem; }
.footer-retail a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.footer-legal { font-size: 0.78rem; color: rgba(245,236,215,.6); letter-spacing: 0.04em; }
.footer-social { display: flex; justify-content: center; gap: 1.1rem; margin-bottom: 1.6rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(201,168,76,.5); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--cream); transition: border-color .3s, color .3s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social i { font-size: 1.1rem; }

/* ============================================================
   Menu page
   ============================================================ */
.menu-masthead {
  min-height: 56svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--cream); padding: var(--nav-h) clamp(1.25rem,5vw,4rem) clamp(3rem,6vh,5rem);
}
.menu-masthead__rule { width: min(560px, 80%); height: 1px; background: var(--gold); transform-origin: center; }
.menu-masthead h1 { margin: 1.6rem 0; }
.menu-masthead__lead { font-style: italic; color: var(--cream-dim); max-width: 48ch; }

/* fixed side rail (desktop) — a small brass-edged index plate riding the margin */
.menu-rail { position: fixed; left: clamp(0.75rem, 2.5vw, 2.25rem); top: 50%; transform: translateY(-50%); z-index: 120;
  display: none; background: rgba(245,236,215,.94); border: 1px solid var(--border-line); padding: 1rem 0.95rem; max-width: 200px; }
.menu-rail ol { list-style: none; counter-reset: idx; }
.menu-rail li { margin: 0.7rem 0; }
.menu-rail a { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--taupe);
  display: block; padding-left: 1.4rem; position: relative; line-height: 1.25; transition: color .3s; }
.menu-rail a::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 9px; height: 9px; border: 1px solid var(--gold); background: transparent; transition: background .3s; }
.menu-rail a.tab-emerald::before { border-color: var(--emerald); }
.menu-rail a.tab-burgundy::before { border-color: var(--burgundy); }
.menu-rail a:hover, .menu-rail a[aria-current="true"] { color: var(--walnut-ink); }
.menu-rail a[aria-current="true"]::before { background: var(--gold); }
@media (min-width: 1220px) { .menu-rail { display: block; } }

/* mobile/tablet sticky scroll-spy */
.menu-topspy { position: sticky; top: 0; z-index: 120; background: var(--cream); border-bottom: 1px solid var(--border-line);
  display: flex; gap: 1.2rem; overflow-x: auto; padding: 0.75rem clamp(1rem, 5vw, 2rem); -webkit-overflow-scrolling: touch; }
.menu-topspy a { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--taupe); white-space: nowrap; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.menu-topspy a[aria-current="true"] { color: var(--walnut-ink); border-bottom-color: var(--gold); }
@media (min-width: 1220px) { .menu-topspy { display: none; } }

.menu-section { position: relative; padding-block: clamp(3rem, 6vw, 5.5rem); scroll-margin-top: calc(var(--nav-h) + 0.5rem); }
.menu-section__head { margin-bottom: 2.4rem; position: relative; }
.menu-section__clarifier { display: block; margin-top: 0.6rem; }
.menu-section__tab { position: absolute; left: -22px; top: 0.3rem; width: 8px; height: 58px; }
.menu-section__tab.tab-emerald { background: var(--emerald); }
.menu-section__tab.tab-burgundy { background: var(--burgundy); }

.menu-band-cream { background: var(--cream); color: var(--walnut-ink); }
.menu-band-walnut { background: var(--walnut); color: var(--cream); }
.menu-band-burgundy { background: var(--burgundy); color: var(--cream); }
.menu-band-walnut .menu-section__clarifier,
.menu-band-walnut .caption,
.menu-band-burgundy .menu-section__clarifier { color: var(--cream-dim); }
.menu-band-walnut .menu-item__name, .menu-band-burgundy .menu-item__name { color: var(--cream); }
.menu-band-walnut .menu-item__desc, .menu-band-burgundy .menu-item__desc { color: var(--cream-dim); }
.menu-band-walnut .menu-item, .menu-band-burgundy .menu-item { border-bottom-color: rgba(245,236,215,.22); }

.menu-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.menu-grid--reverse { grid-template-columns: 0.7fr 1.3fr; }
.menu-grid--reverse .menu-items { order: 2; }
.menu-items { min-width: 0; max-width: 64ch; }
.menu-media { min-width: 0; position: sticky; top: calc(var(--nav-h) + 2rem); }
.menu-media figcaption { margin-top: 0.7rem; text-align: right; }

.menu-item { padding: 1.25rem 0; border-bottom: 1px solid rgba(201,168,76,.32); }
.menu-item:last-child { border-bottom: 0; }
.menu-item__name { margin-bottom: 0.35rem; }
.menu-item__desc { font-style: italic; color: var(--taupe); font-size: 1rem; line-height: 1.6; }
.menu-item--nameonly { padding: 0.85rem 0; }

.retail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2.5rem; max-width: 52ch; }
.retail-item { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.35rem; color: var(--cream); padding: 1rem 0; border-bottom: 1px solid rgba(201,168,76,.35); }
.retail-note { font-style: italic; color: var(--cream-dim); margin-top: 1.8rem; }
.retail-flank { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.menu-media-stack { display: grid; gap: 1.1rem; }
.menu-media-stack--pair { grid-template-columns: 1fr 1fr; }

/* ============================================================
   The Bar — house spirits + cocktails
   ============================================================ */
.spirits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.spirit__media { margin-bottom: 1.4rem; }
.spirit h3 { color: var(--cream); margin-bottom: 0.5rem; }

.cocktails { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cocktail--low { margin-top: clamp(2.5rem, 9vw, 7rem); }
.cocktail__media { position: relative; margin-bottom: 1.2rem; }
/* smoke escapes its keyline */
.cocktail__smoke .keyline { position: relative; }
.cocktail__smoke .keyline::before {
  content: ""; position: absolute; left: 8%; right: 18%; bottom: 60%; height: 120%;
  background: radial-gradient(60% 80% at 40% 100%, rgba(230,220,200,.28), rgba(230,220,200,0) 70%);
  filter: blur(6px); z-index: 3; pointer-events: none;
}

/* ============================================================
   Visit details plate + reservation
   ============================================================ */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.detail-plate dl { margin: 0; }
.detail-row { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--gold); }
.detail-row dt { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--walnut-ink); }
.detail-row dd { font-size: 1rem; color: var(--taupe); }
.flag { font-style: italic; color: var(--walnut); font-size: 0.9rem; }

/* contact / reservation form */
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--taupe); }
.field input, .field textarea, .field select {
  font-family: var(--font-secondary); font-size: 1rem; color: var(--walnut-ink);
  background: rgba(255,255,255,.45); border: 1px solid var(--border-line); padding: 0.75rem 0.9rem;
  width: 100%; transition: border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-style: italic; color: var(--taupe); font-size: 0.9rem; }

/* ============================================================
   404
   ============================================================ */
.error-page { min-height: 80svh; display: flex; align-items: center; }
.error-page .display { color: var(--cream); }

/* ============================================================
   Reveal animations
   ============================================================ */
/* Reveals are progressive enhancement: hidden state applies ONLY when JS is on,
   so content is always visible if JS fails or is disabled. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.rule-draw { transform-origin: center; transition: transform 1.1s var(--ease); }
html.js .rule-draw { transform: scaleX(0); }
html.js .rule-draw.is-visible { transform: scaleX(1); }
.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rule-draw { opacity: 1 !important; transform: none !important; }
  .booth-glyph--draw path { stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .thesis { grid-template-columns: 1fr; gap: 1.5rem; }
  .thesis__margin { min-height: 0; display: flex; }
  .split, .split--reverse, .stay__grid, .teaser, .menu-grid, .menu-grid--reverse,
  .details, .spirits, .cocktails { grid-template-columns: 1fr; }
  .cocktail--low { margin-top: 0; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-index { position: static; top: auto; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; background: var(--cream); }
  .menu-index ol { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
  .menu-index li { margin: 0; }
  .menu-media { position: static; }
  .menu-grid--reverse .menu-items { order: 0; }
  .teaser__media { order: -1; max-width: 360px; }
  .split__media--bleed { margin-bottom: 0; }
  .hero__copy { max-width: 100%; }
  .stay__media::before { background: linear-gradient(to top, var(--emerald) 0%, rgba(27,77,62,0) 30%); }
}

@media (max-width: 760px) {
  .site-nav__inner { grid-template-columns: 1fr auto 1fr; }
  .nav-group { display: none; }
  .nav-toggle { display: inline-flex; grid-column: 3; justify-self: end; }
  .brandmark { grid-column: 2; }
  .site-nav__spacer { grid-column: 1; }
  .nav-drawer {
    display: block; position: fixed; inset: 0; z-index: 190;
    background: var(--emerald-dark); color: var(--cream);
    transform: translateY(-100%); transition: transform .5s var(--ease);
    padding: calc(var(--nav-h) + 1.5rem) 2rem 2rem; overflow-y: auto;
  }
  .nav-drawer.open { transform: translateY(0); }
  .nav-drawer ul { list-style: none; display: grid; gap: 1.4rem; margin-top: 1rem; }
  .nav-drawer a { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.18em; font-size: 1.3rem; }
  .nav-drawer a[aria-current="page"] { color: var(--gold); }
  .nav-drawer .reserve-plate { margin-top: 1rem; display: inline-flex; }
  body.nav-open { overflow: hidden; }

  .field--row { grid-template-columns: 1fr; }
  .retail-grid { grid-template-columns: 1fr; }
  .retail-flank { grid-template-columns: 1fr 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .hero { min-height: 92svh; }
  /* editorial feel: display gains tracking on mobile, never shrinks below legibility */
  .display { letter-spacing: 0.08em; }
  .footer-cols { gap: 2rem; }
}

@media (max-width: 480px) {
  .booth-frame { border-radius: 42% 42% 4px 4px / 24% 24% 0 0; }
  .booth-frame__img { border-radius: 40% 40% 2px 2px / 22% 22% 0 0; }
  .menu-section__tab { left: -10px; }
}

/* ============================================================
   Shop — product catalog, cart button, cart drawer
   ============================================================ */

/* Shop masthead */
.shop-masthead {
  min-height: 44svh; min-height: 44vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--cream);
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 6vh, 5rem);
}
.shop-masthead h1 { margin: 1.4rem 0 0.8rem; }
.shop-masthead__lead { font-style: italic; color: var(--cream-dim); max-width: 46ch; }

/* Category filter tabs */
.catalog-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 0.75rem; margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.catalog-filter {
  font-family: var(--font-primary); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border: 1px solid var(--border-line);
  background: transparent; color: var(--taupe);
  cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.catalog-filter:hover { border-color: var(--gold); color: var(--walnut-ink); }
.catalog-filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--walnut-ink); }
.catalog-filter:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Product grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}
.catalog-card-hidden { display: none !important; }

/* Product card */
.catalog-card {
  background: var(--cream); border: 1px solid var(--border-line);
  display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease);
}
.catalog-card:hover { box-shadow: 0 6px 28px rgba(33,23,17,.12); }
.catalog-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-dim); }
.catalog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.catalog-card:hover .catalog-card__media img { transform: scale(1.04); }
.catalog-card__body { padding: 1.3rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0; }
.catalog-card .eyebrow { font-size: 0.7rem; margin-bottom: 0.65rem; }
.catalog-card__name { font-family: var(--font-primary); font-size: 1.1rem; letter-spacing: 0.03em; color: var(--walnut-ink); margin-bottom: 0.7rem; line-height: 1.2; }
.catalog-card__desc {
  font-size: 0.9375rem; color: var(--taupe); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 0.5rem;
}
.catalog-card__desc-toggle {
  font-family: var(--font-primary); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--emerald); background: none; border: none; cursor: pointer; padding: 0 0 0.9rem; display: block;
}
.catalog-card__desc-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.catalog-card__desc.expanded { -webkit-line-clamp: unset; }

/* Variation select + purchase area */
.catalog-card__purchase { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border-line); }
.catalog-var-field { margin-bottom: 0.75rem; }
.catalog-var-field label { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; color: var(--taupe); display: block; margin-bottom: 0.35rem; }
.catalog-var-select {
  font-family: var(--font-secondary); font-size: 0.9375rem; color: var(--walnut-ink);
  background: rgba(255,255,255,.55); border: 1px solid var(--border-line); padding: 0.6rem 0.8rem;
  width: 100%; cursor: pointer; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C4A39' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
  padding-right: 2rem;
}
.catalog-var-select:focus { border-color: var(--gold); outline: none; }
.catalog-card__price-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.catalog-price { font-family: var(--font-primary); font-size: 1rem; letter-spacing: 0.06em; color: var(--walnut-ink); }
.catalog-price--empty { color: var(--taupe); }
.catalog-card__add { font-size: 0.72rem; padding: 0.65rem 1.1rem; white-space: nowrap; }
.catalog-card__add:disabled { opacity: 0.38; cursor: not-allowed; pointer-events: none; }
.catalog-card__add:disabled:hover { background: transparent; color: var(--gold); }

/* ---- Cart float button (injected by partner-cart-mock.js) ---- */
.oc-cart-btn {
  position: fixed; bottom: 60px; right: 20px; z-index: 295;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-primary); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--walnut-ink); color: var(--gold);
  border: 1px solid var(--gold); padding: 0.7rem 1rem 0.7rem 0.85rem;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease);
}
.oc-cart-btn:hover, .oc-cart-btn:focus-visible { background: var(--gold); color: var(--walnut-ink); }
.oc-cart-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.oc-cart-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.oc-cart-btn__count {
  min-width: 20px; height: 20px; border-radius: 50%;
  background: var(--burgundy); color: var(--cream);
  font-family: var(--font-secondary); font-size: 0.7rem; letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.oc-cart-btn--empty { background: transparent; color: var(--taupe); border-color: var(--border-line); }
.oc-cart-btn--empty .oc-cart-btn__count { display: none; }

/* ---- Cart overlay ---- */
.oc-cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(26,18,12,.65);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.oc-cart-overlay.oc-open { opacity: 1; pointer-events: all; }

/* ---- Cart drawer ---- */
.oc-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 310;
  width: min(460px, 100vw);
  background: var(--cream); color: var(--walnut-ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  box-shadow: -4px 0 40px rgba(18,12,8,.22);
}
.oc-cart-drawer.oc-open { transform: none; }

.oc-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--border-line);
  flex-shrink: 0;
}
.oc-cart-header h2 {
  font-family: var(--font-primary); font-size: 0.9rem;
  letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400;
}
.oc-cart-close {
  background: transparent; border: none; cursor: pointer; color: var(--taupe);
  padding: 6px; display: flex; align-items: center; transition: color .3s;
}
.oc-cart-close:hover, .oc-cart-close:focus-visible { color: var(--walnut-ink); }
.oc-cart-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.oc-cart-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }

.oc-cart-body { flex: 1; overflow-y: auto; padding: 0 1.5rem; }

/* Empty state */
.oc-cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; color: var(--taupe);
  padding: 2rem 0; gap: 1rem;
}
.oc-cart-empty svg { width: 48px; height: 48px; stroke: var(--border-line); fill: none; stroke-width: 1.2; }
.oc-cart-empty p { font-style: italic; font-size: 0.95rem; }

/* Line items */
.oc-cart-item {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border-line);
  align-items: start;
}
.oc-cart-item__img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--border-line); background: var(--cream-dim); }
.oc-cart-item__img-placeholder { width: 72px; height: 72px; background: var(--cream-dim); border: 1px solid var(--border-line); display: flex; align-items: center; justify-content: center; }
.oc-cart-item__img-placeholder svg { width: 24px; height: 24px; stroke: var(--border-line); fill: none; }
.oc-cart-item__meta { min-width: 0; }
.oc-cart-item__name { font-family: var(--font-primary); font-size: 0.9rem; letter-spacing: 0.02em; line-height: 1.25; color: var(--walnut-ink); margin-bottom: 0.2rem; }
.oc-cart-item__var { font-size: 0.82rem; color: var(--taupe); font-style: italic; margin-bottom: 0.55rem; }
.oc-cart-item__controls { display: flex; align-items: center; justify-content: space-between; }
.oc-cart-item__qty { display: flex; align-items: center; gap: 0.5rem; }
.oc-qty-btn {
  width: 26px; height: 26px; border: 1px solid var(--border-line); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-primary); font-size: 1rem; color: var(--walnut-ink);
  transition: border-color .2s, background .2s;
}
.oc-qty-btn:hover, .oc-qty-btn:focus-visible { border-color: var(--gold); background: var(--gold); color: var(--walnut-ink); }
.oc-qty-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.oc-cart-item__qty-num { font-family: var(--font-primary); font-size: 0.85rem; min-width: 18px; text-align: center; }
.oc-cart-item__price { font-family: var(--font-primary); font-size: 0.9rem; letter-spacing: 0.06em; }
.oc-cart-item__remove {
  background: transparent; border: none; cursor: pointer; color: var(--taupe);
  font-size: 0.75rem; font-family: var(--font-primary); letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0; transition: color .2s;
}
.oc-cart-item__remove:hover, .oc-cart-item__remove:focus-visible { color: var(--burgundy); }
.oc-cart-item__remove:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Cart footer */
.oc-cart-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-line);
  flex-shrink: 0; display: flex; flex-direction: column; gap: 0.85rem;
}
.oc-cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-primary); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.oc-cart-subtotal__amount { font-size: 1.1rem; letter-spacing: 0.06em; }
.oc-cart-checkout {
  width: 100%; justify-content: center; font-size: 0.78rem;
  padding: 0.9rem; letter-spacing: 0.22em;
}
.oc-cart-continue {
  background: transparent; border: none; cursor: pointer;
  font-family: var(--font-primary); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--taupe); padding: 0; align-self: center;
  transition: color .2s;
}
.oc-cart-continue:hover, .oc-cart-continue:focus-visible { color: var(--walnut-ink); }
.oc-cart-continue:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.oc-cart-stub {
  font-style: italic; font-size: 0.875rem; color: var(--taupe);
  text-align: center; padding: 0.5rem 0;
  border-top: 1px solid var(--border-line);
}

/* ---- Responsive adjustments ---- */
@media (max-width: 920px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .oc-cart-btn { bottom: 52px; right: 12px; }
}
