/* ==========================================================================
   Long Table — "TRAVEL THE TABLE": a supper-club site you move down sideways
   A Templatorium template · https://templatorium.com

   THE IDEA. The site is one long communal table, and you travel down it course
   by course. The ground is a saturated wine-burgundy field — a natural-wine /
   supper-club jewel tone, no beige anywhere. The masthead is a loud, high-
   contrast Bodoni (the appetite of a printed carte); the body is a refined sans
   (Archivo); and every machine fact — course index, prices, times, seat counts
   — is set in a warm mono (Spline Sans Mono), the "kitchen ticket" voice.

   THE SIGNATURE. On the Menus page the meal is not a list, it is a JOURNEY: a
   horizontal course track that unfurls sideways as you scroll — Amuse, Starters,
   The Table, Cheese, Sweet, Mignardise — each a full place setting arriving in
   turn. It is CSS scroll-driven (native `view-timeline` + `animation-timeline`),
   no JS scroll-jacking, no motion library. It degrades three ways, all readable
   (see §9): reduced-motion stacks the courses vertically; no-JS / unsupported
   browsers get a native horizontal scroll-snap region; nothing is ever hidden.

   HOW TO RE-THEME (30-second version — full guide in docs/README.md): every
   colour, font, and size is a custom property in the :root block below. Change
   the values and the whole table re-dresses. Everything under the tokens is
   structure; you rarely touch it.

   THE CONTRAST PROMISE. Every text colour is LIGHT (bone / bone-dim / a gold
   accent) on a DEEP wine ground, so every text pair clears WCAG 2.2 AA computed
   with headroom to spare (body bone ≥11.6:1 on every ground; muted ≥8.5:1; the
   gold accent ≥7.4:1; the chili buy-button label 5.4:1). Re-check any colour you
   change with contrast.mjs or https://webaim.org/resources/contrastchecker/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — the re-theme contract
   -------------------------------------------------------------------------- */
:root {
  /* --- The wine field (the IDENTITY). Three saturated dark grounds, warmest
     in the middle (linen) to deepest at the edges (cellar). Light text reads on
     all three with big headroom; only --gold and --chili below carry colour. */
  --wine:        #3d0e1e; /* the table — the primary ground */
  --wine2:       #520f28; /* the linen — a warmer raised band / card surface */
  --deep:        #2a0916; /* the cellar — the deepest ground, footer + edges */
  --wine-bright: #64152f; /* the candlelight — a lit pool in the hero radial */

  /* Hairlines (a wine a touch lighter than each ground; decoration, not text) */
  --wine-line:  #6a2237;
  --wine2-line: #74304a;
  --deep-line:  #4a1a2c;
  --gold-line:  #7a5a2a; /* a dim gold hairline for plates / rails */

  /* --- Light text treatments (carried by every ground) --------------------- */
  --bone:     #F3E6D0; /* primary text — warm bone, like candle-lit linen */
  --bone-dim: #d9c4a6; /* muted / secondary text */
  --ink:      #2a0916; /* the ONE dark token: a label on a light (gold/bone) fill */

  /* --- The gold accent (candle-glow) — the editorial signal, used < 5% -------
     Eyebrows, the one emphasised masthead word, mono machine data, the active
     course node, hairline flourishes. On a light fill the ink label reads 8.7:1.
     Bring-your-brand-colour swaps this token. */
  --gold:       #E8B23A;
  --gold-hover: color-mix(in oklab, var(--gold) 82%, #fff); /* auto-follows */

  /* --- The buy-action (chili) — the ONE functional colour ------------------
     A deep brick-chili red for the primary call to action (Reserve / Book) and
     nothing else. Bone label on it reads 5.4:1 computed. It is never text on a
     ground and never a hairline — a button fill only. */
  --chili:       #A8331E;
  --chili-hover: color-mix(in oklab, var(--chili) 84%, #000);

  /* Reserved decorative field for the brand-colour flow: a too-light hue that
     can't be nudged to a readable accent lands HERE (the hero rail glow, the
     plate motif — never text, never a ground, never a button). */
  --field-demote: var(--gold);

  /* --- Ground role variables (default = the table) -------------------------
     Every band reads these; a [data-ground] rule (§3) swaps the whole set so a
     section's text follows its ground. No data-ground = the wine table. */
  --g-bg:     var(--wine);
  --g-fg:     var(--bone);
  --g-mute:   var(--bone-dim);
  --g-accent: var(--gold);
  --g-line:   var(--wine-line);

  /* --- Type -----------------------------------------------------------------
     Bodoni Moda (OFL, variable wght) — the loud high-contrast didone masthead
     + big course numerals. Archivo (OFL, variable) — the refined sans body.
     Spline Sans Mono (OFL, variable) — machine DATA ONLY: the course index,
     prices, times, vintages, seat counts. Never editorial words. */
  --font-display: "Bodoni Moda", "Didot", Georgia, "Times New Roman", serif;
  --font-body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale — the SIZE JUMP (fat didone over a quiet sans) is the design. */
  --t-mast:    clamp(58px, 9.2vw, 128px);  /* Bodoni — hero masthead */
  --t-course:  clamp(48px, 8vw, 108px);    /* Bodoni — big course numerals / titles */
  --t-display: clamp(42px, 6vw, 92px);     /* Bodoni — page mastheads */
  --t-h2:      clamp(30px, 4.2vw, 54px);   /* Bodoni — section heads */
  --t-h3:      clamp(21px, 2.4vw, 28px);   /* card / dish titles */
  --t-lede:    clamp(17px, 1.5vw, 20px);
  --t-body:    17px;
  --t-small:   14px;
  --t-data:    13px;  /* Spline Sans Mono — prices, index, times */
  --t-label:   12.5px;/* eyebrow (Archivo, tracked) + mono micro-labels */

  /* Space & structure */
  --max:       1200px;
  --gutter:    clamp(20px, 5vw, 54px);
  --band-pad:  clamp(76px, 10vw, 140px);
  --nav-h:     78px;

  /* Radius — a printed carte: nearly square, one hair of softness. */
  --r-card:  4px;
  --r-btn:   2px;
  --r-input: 3px;

  /* Depth is candle-shadow, never a hard drop. */
  --shadow-rest: 0 2px 8px rgba(15, 4, 9, 0.34), 0 26px 60px -28px rgba(15, 4, 9, 0.7);
  --shadow-cta:  0 12px 34px -12px rgba(168, 51, 30, 0.6);

  /* How many settings on the journey track (Menus page). Drives the pan. */
  --course-count: 6;
}

/* --------------------------------------------------------------------------
   2. FONT FACES — vendored variable woff2 (SIL OFL). No CDN, no lottery.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("../fonts/spline-sans-mono.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   3. RESET, BASE & THE GROUND SYSTEM
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
/* Sticky nav; anchor targets clear it (LEARNINGS: sticky navs ship this). */
[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--deep);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* belt-and-braces; the journey track is clipped anyway */
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* THE FIXED WINE FIELD. One layer behind the whole page: the candlelit wine
   ground with a lit pool up-left, plus a whisper of grain for texture (not a
   flat gradient). It never sits behind text (ground fills are opaque), so it
   carries no contrast dependency. With no JS it is exactly this — a poster. */
.field {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 14% 22%, var(--wine-bright) 0%, rgba(69,16,36,0.55) 34%, var(--wine) 60%, var(--deep) 100%);
}
/* Grain — a faint fractal noise, ~4% opacity. Our text pairs clear AA by
   8–14:1, so this texture tax (≤0.3) is nowhere near any floor. */
.grain {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ground roles: a section paints its own opaque fill + carries its text set. */
[data-ground] { background: var(--g-bg); color: var(--g-fg); }
[data-ground="table"]  { --g-bg: var(--wine);  --g-line: var(--wine-line); }
[data-ground="linen"]  { --g-bg: var(--wine2); --g-line: var(--wine2-line); }
[data-ground="cellar"] { --g-bg: var(--deep);  --g-line: var(--deep-line); }
/* Sections that ride the fixed wine field (translucent) rather than paint over
   it — the hero + the journey. Contrast only improves (the field is dark). */
[data-ground="field"]  { --g-bg: transparent; --g-line: var(--wine-line); background: transparent; }

/* Focus is the gold candle-glow on every (dark) ground — clears 3:1 everywhere.
   Never outline:none. Computed per ground in contrast.mjs. */
:focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.js :focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--bone); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY & EDITORIAL ROLES
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.0; letter-spacing: -0.01em; }
h2 { font-size: var(--t-h2); font-weight: 400; }
h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: 0; line-height: 1.1; }
p { max-width: 62ch; }

/* Eyebrow — editorial WORDS, so it is SANS (Archivo), tracked + gold. It is NOT
   mono: mono is machine data only (house rule). The trailing hairline is the
   art-directed detail. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--t-label); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--g-accent);
}
.eyebrow::after {
  content: ""; height: 1px; width: 58px;
  background: linear-gradient(90deg, var(--g-accent), transparent);
}
.eyebrow--plain::after { display: none; }

/* Mono — the kitchen-ticket voice. MACHINE DATA ONLY: course index, prices,
   times, vintages, seat counts, dates. Never a word that wouldn't sit on a
   spec sheet. */
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.data { font-family: var(--font-mono); font-weight: 500; font-size: var(--t-data); letter-spacing: 0.02em; color: var(--g-accent); font-variant-numeric: tabular-nums; }

.lede { font-size: var(--t-lede); line-height: 1.6; color: var(--g-mute); }
.lede b, .lede strong { color: var(--g-fg); font-weight: 600; }
.muted { color: var(--g-mute); }

/* The one italic emphasis — a Bodoni italic word, gold, with a candle underline.
   Used once in the hero masthead and sparingly in restraint lines. */
.em {
  color: var(--g-accent); font-style: italic; position: relative; white-space: nowrap;
}
.em::after {
  content: ""; position: absolute; left: 1px; right: 6px; bottom: 0.08em; height: 2px;
  background: linear-gradient(90deg, var(--g-accent), rgba(232,178,58,0.14));
}

/* Section head block */
.band-head { max-width: 40ch; }
.band-head h2 { margin-top: 16px; }
.band-head.center { max-width: 52ch; margin-inline: auto; text-align: center; }
.band-head.center .eyebrow { justify-content: center; }

/* The vertical margin rail — a section marker. PURE DATA in mono (an index and
   a time), rotated in the gutter. Any word here would break the mono rule, so
   it stays a number + a short unit only. */
.rail {
  position: absolute; left: 8px; top: var(--band-pad);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; letter-spacing: 0.34em;
  color: var(--g-accent); opacity: 0.85; /* stays >=4.8:1 on every ground incl. linen */
  pointer-events: none;
}
@media (max-width: 900px) { .rail { display: none; } }

/* --------------------------------------------------------------------------
   5. BUTTONS  (primary = chili buy-action; secondary = bone ghost; nav = chili)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--t-small); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--r-btn);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--chili); color: var(--bone); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--chili-hover); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--g-fg); border-color: rgba(243,230,208,0.42); }
.btn--secondary:hover { border-color: var(--g-fg); background: rgba(243,230,208,0.06); }
.btn--lg { padding: 17px 34px; font-size: 15px; }

/* An arrow text-link (secondary affordance) */
.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: var(--t-small); letter-spacing: 0.02em;
  text-decoration: none; color: var(--g-fg);
  border-bottom: 1px solid rgba(243,230,208,0.4); padding-bottom: 3px;
}
.arrow-link .go { color: var(--g-accent); transition: transform .18s ease; }
.arrow-link:hover .go { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 26px; margin-top: 34px; }

/* --------------------------------------------------------------------------
   6. NAV  (sticky; wordmark + gold sub + links + chili book + mobile toggle)
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in oklab, var(--deep) 82%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--deep-line); background: color-mix(in oklab, var(--deep) 92%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; max-width: 1320px; }

.wordmark {
  font-family: var(--font-body); font-weight: 600; text-decoration: none;
  letter-spacing: 0.3em; font-size: 15px; text-transform: uppercase; color: var(--bone);
  line-height: 1;
}
.wordmark small {
  display: block; font-weight: 500; letter-spacing: 0.26em;
  font-size: 8.5px; color: var(--gold); margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--bone-dim); font-weight: 500; font-size: 14px; letter-spacing: 0.03em; transition: color .16s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .btn { padding: 11px 20px; font-size: 12.5px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--bone); position: relative;
}
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav > .wrap { position: relative; }
  nav[aria-label="Main"] { order: 4; flex-basis: 100%; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: var(--deep); border-bottom: 1px solid var(--deep-line);
    padding: 12px var(--gutter) 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; }
  /* No-JS: the toggle can't open the list, so show the links in-flow and
     un-stick the header so the expanded list never becomes a fixed banner
     (LEARNINGS: no-JS expanded nav must un-stick). */
  html:not(.js) .nav { position: static; height: auto; padding: 12px 0; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-links { display: flex; position: static; background: none; border: 0; padding: 8px 0 0; }
}

/* --------------------------------------------------------------------------
   7. HERO  (the approved probe, promoted: wine radial stage, feathered photo,
   Bodoni masthead with the one gold italic word, and the course-runner)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(92vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) 0 0;
  overflow: hidden;
}
.hero .wrap { max-width: 1320px; position: relative; z-index: 3; }

/* The feathered photo on the right, dissolving into the wine field. */
.hero-photo {
  position: absolute; inset: 0 0 0 auto; width: 56%;
  z-index: 1;
}
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 34%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--wine) 0%, rgba(61,14,30,0.92) 10%, rgba(61,14,30,0.32) 28%, rgba(61,14,30,0) 46%),
    linear-gradient(0deg, rgba(42,9,22,0.94) 0%, rgba(42,9,22,0.3) 18%, transparent 38%),
    radial-gradient(120% 80% at 62% 30%, rgba(232,178,58,0.1), transparent 55%);
}
@media (max-width: 860px) {
  .hero-photo { width: 100%; opacity: 0.42; }
  .hero-photo::after { background:
    linear-gradient(0deg, var(--wine) 4%, rgba(61,14,30,0.6) 40%, rgba(61,14,30,0.25) 100%); }
}

.hero-copy { max-width: 640px; }
.masthead {
  font-family: var(--font-display); font-weight: 400; color: var(--bone);
  font-size: var(--t-mast); line-height: 0.9; letter-spacing: -0.012em;
  margin: 26px 0 0;
}
.masthead b { font-weight: 700; }
.hero .dek { margin-top: 30px; max-width: 44ch; font-size: var(--t-lede); line-height: 1.6; color: var(--bone-dim); }
.hero .dek b { color: var(--bone); font-weight: 600; }

/* The course-runner: the moving-banquet cue at the foot of the hero. A "now"
   plate, a rail of course nodes, and the "travel the table" affordance that
   links into the journey. Pure decoration + one link — data set in mono. */
.runner {
  position: relative; z-index: 3;
  margin-top: clamp(40px, 7vh, 88px);
  border-top: 1px solid var(--wine-line);
  padding-top: 22px;
  display: flex; align-items: center; gap: clamp(20px, 4vw, 44px);
}
.runner-now { flex: 0 0 auto; min-width: 210px; }
.runner-now .lbl { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone-dim); }
.runner-now .idx { font-family: var(--font-mono); font-weight: 500; color: var(--gold); font-size: 13px; margin-left: 8px; font-variant-numeric: tabular-nums; }
.runner-now .dish { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); color: var(--bone); margin-top: 6px; }
.runner-track { flex: 1; position: relative; height: 52px; min-width: 0; }
.runner-rail { position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(232,178,58,0.5) 24%, rgba(243,230,208,0.24) 62%, rgba(243,230,208,0.05) 100%); }
.runner-node { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.runner-node .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(243,230,208,0.34); border: 1px solid rgba(243,230,208,0.42); }
.runner-node.on .dot { width: 13px; height: 13px; background: var(--gold); border: 0; box-shadow: 0 0 0 5px rgba(232,178,58,0.18); }
.runner-node .cap { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); font-weight: 500; }
.runner-node.on .cap { color: var(--gold); }
.runner-go { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.runner-go span:first-child { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); }
.runner-go .arrow { font-size: 24px; color: var(--gold); line-height: 1; transition: transform .18s ease; }
.runner-go:hover .arrow { transform: translateX(5px); }
.runner-go:hover span:first-child { color: var(--bone); }
@media (max-width: 900px) {
  .runner { flex-wrap: wrap; }
  .runner-track { order: 3; flex-basis: 100%; height: 44px; margin-top: 8px; overflow: hidden; }
  /* the end-node caps center-overflow a narrow track — the dots carry the rail
     on mobile, and the current course is named in .runner-now above. */
  .runner-node .cap { display: none; }
  .runner-go { margin-left: auto; }
}

/* Hero vignette (matches the approved probe) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 180px 40px rgba(30,6,16,0.5);
}

/* --------------------------------------------------------------------------
   8. BANDS, PAGE HEADS, LEDGERS, CARDS, PLATES
   -------------------------------------------------------------------------- */
.band { position: relative; padding: var(--band-pad) 0; }
.band + .band { border-top: 1px solid var(--g-line); }

/* Page masthead (interior pages) */
.pagehead { position: relative; padding: calc(var(--nav-h) + 40px) 0 var(--band-pad); overflow: hidden; }
.pagehead h1 { font-size: var(--t-display); font-weight: 400; margin-top: 20px; max-width: 16ch; }
.pagehead .lede { margin-top: 24px; }

/* Two-column editorial split */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; gap: 34px; } }

/* Restraint line — a single Bodoni statement with a gold mark */
.restraint { display: flex; align-items: flex-start; gap: 20px; max-width: 46ch; }
.restraint .mark { flex: 0 0 auto; width: 34px; height: 1px; background: var(--g-accent); margin-top: 0.7em; }
.restraint p { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.14; color: var(--g-fg); }

/* THE LEDGER — the menu / wine "kitchen ticket": dish + description + mono price.
   Not a card grid; a set carte. The dot-leader is decoration. */
.ledger { list-style: none; margin-top: 40px; display: grid; gap: 4px; }
.ledger-item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--g-line);
}
.ledger-item .idx { font-family: var(--font-mono); font-size: 12px; color: var(--g-accent); font-weight: 500; margin-right: 12px; font-variant-numeric: tabular-nums; }
.ledger-name { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h3); color: var(--g-fg); line-height: 1.1; }
.ledger-desc { grid-column: 1 / 2; margin-top: 8px; color: var(--g-mute); font-size: var(--t-small); max-width: 60ch; }
.ledger-meta { grid-column: 1 / 2; margin-top: 8px; }
.ledger-price { font-family: var(--font-mono); font-weight: 600; font-size: var(--t-h3); color: var(--g-fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--g-accent); text-transform: uppercase; }

/* Card set (private events tiers, find-us blocks). Never three identical: a
   lead card can span. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
.card {
  background: color-mix(in oklab, var(--g-bg) 84%, #000);
  border: 1px solid var(--g-line); border-radius: var(--r-card);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
}
.card--lead { grid-column: span 2; }
@media (max-width: 860px) { .card--lead { grid-column: span 1; } }
.card h3 { color: var(--g-fg); }
.card .price { font-family: var(--font-mono); font-weight: 600; font-size: 26px; color: var(--g-fg); font-variant-numeric: tabular-nums; }
.card .price .per { font-size: 13px; color: var(--g-mute); font-weight: 500; }
.card ul { list-style: none; display: grid; gap: 9px; margin-top: 4px; }
.card ul li { position: relative; padding-left: 20px; color: var(--g-mute); font-size: var(--t-small); }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--g-accent); }
.card .btn { margin-top: auto; align-self: flex-start; }

/* IMAGE PLATE — a designed empty-state, never a bare box (house rule). A faint
   place-setting line motif (a plate + fork + knife), masked from the gold token
   so it re-themes; the spec label sits OFF-CENTRE in a corner; and the whole
   thing retires under a real photo via :has(img). Full-bleed plates are height-
   capped so a 16:9 never becomes a beige band. */
.plate {
  position: relative; overflow: hidden;
  background: color-mix(in oklab, var(--wine2) 86%, #000);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-card);
  /* height comes from the aspect-ratio variant below — never a min-height, which
     would fight aspect-ratio and derive an over-wide box at narrow widths. */
}
.plate::before {
  content: ""; position: absolute; inset: 0;
  background: var(--field-demote); opacity: 0.16;
  -webkit-mask: var(--plate-motif) center / 46% auto no-repeat;
          mask: var(--plate-motif) center / 46% auto no-repeat;
}
.plate .plate-label {
  position: absolute; left: 18px; bottom: 16px; /* OFF-centre, anchored to a corner */
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--bone-dim);
}
.plate .plate-label b { display: block; color: var(--gold); font-weight: 600; letter-spacing: 0.2em; margin-bottom: 3px; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Under a real photo, the empty-state retires. */
.plate:has(img)::before,
.plate:has(img) .plate-label { display: none; }
.plate:has(img) { background: none; border-color: transparent; }
/* aspect variants — all height-capped */
.plate--wide { aspect-ratio: 16 / 9; max-height: 60vh; }
.plate--3x2  { aspect-ratio: 3 / 2; max-height: 62vh; }
.plate--tall { aspect-ratio: 3 / 4; max-height: 72vh; }
.plate--sq   { aspect-ratio: 1 / 1; max-height: 52vh; }

/* the place-setting motif: a top-down plate (two rings) + fork + knife */
:root {
  --plate-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='100' cy='60' r='38'/%3E%3Ccircle cx='100' cy='60' r='28'/%3E%3Cpath d='M38 30v60M32 30v22a6 6 0 0 0 12 0V30M44 30v22'/%3E%3Cpath d='M162 30c-8 0-12 8-12 18s5 14 8 14v28M162 30v60'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   9. THE JOURNEY — the horizontal course track (Menus page signature)
   Three modes from one markup:
     BASE (no-JS / unsupported): a native horizontal scroll-snap region — all
       courses present, swipe/scroll sideways. This is the honest default.
     ENHANCED (.js + @supports scroll-timeline + motion allowed): the section
       pins and the track PANS left, scroll-driven, as you scroll down.
     REDUCED-MOTION: the courses stack VERTICALLY, all visible, no animation.
   No page-level horizontal overflow ever: the track is clipped by the stage.
   -------------------------------------------------------------------------- */
.journey { position: relative; }
.journey-stage {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--gold-line) transparent;
}
.journey-track { display: flex; }
.course {
  flex: 0 0 100vw; min-width: 100vw;
  scroll-snap-align: start;
  min-height: min(88vh, 860px);
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 7vh, 96px) var(--gutter);
  border-left: 1px solid var(--wine-line);
}
.course:first-child { border-left: 0; }
@media (max-width: 780px) { .course { grid-template-columns: 1fr; align-content: center; } }

.course-copy .idx {
  font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--gold);
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
}
.course-copy h2 { font-size: var(--t-course); font-weight: 400; margin: 14px 0 0; }
.course-copy .kicker { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); margin-top: 18px; }
.course-copy .desc { margin-top: 12px; color: var(--bone-dim); max-width: 44ch; }
/* the pairing line NAMES a wine (editorial words) — so it is SANS, not mono.
   Only the leading label is tracked; the wine itself reads as body. */
.course-copy .pour { margin-top: 22px; font-family: var(--font-body); font-size: 14px; color: var(--bone-dim); }
.course-copy .pour b { color: var(--gold); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; margin-right: 10px; }
.course-fig { align-self: stretch; display: flex; }
.course-fig .plate { width: 100%; align-self: center; }

/* progress hint under the track (base mode only shows the native scrollbar) */
.journey-hint {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 20px var(--gutter) 0; color: var(--bone-dim);
  font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.journey-hint .arrow { color: var(--gold); font-size: 18px; }

/* ENHANCED pinned-pan — only with JS, scroll-timeline support, and motion on. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    html.js .journey {
      height: calc(var(--course-count) * 100vh);
      view-timeline-name: --journey;
      view-timeline-axis: block;
    }
    html.js .journey-stage {
      position: sticky; top: 0; height: 100vh;
      overflow: hidden; scroll-snap-type: none;
    }
    html.js .journey-track {
      height: 100%; width: max-content;
      animation: journey-pan linear both;
      animation-timeline: --journey;
      /* run exactly while the section is pinned: from when its top reaches the
         viewport top (entry 100%) to when its bottom reaches the bottom
         (exit 0%). */
      animation-range: entry 100% exit 0%;
    }
    html.js .journey-hint { display: none; }
  }
}
@keyframes journey-pan {
  from { transform: translateX(0); }
  to   { transform: translateX(calc((var(--course-count) - 1) * -100vw)); }
}

/* REDUCED-MOTION — stack the courses vertically, all visible, no pan. */
@media (prefers-reduced-motion: reduce) {
  html.js .journey { height: auto; }
  html.js .journey-stage { position: static; height: auto; overflow: visible; scroll-snap-type: none; }
  html.js .journey-track { flex-direction: column; width: auto; animation: none; transform: none; }
  html.js .course { flex-basis: auto; min-width: 0; min-height: 0; border-left: 0; border-top: 1px solid var(--wine-line); }
  html.js .course:first-child { border-top: 0; }
  html.js .journey-hint { display: none; }
}

/* --------------------------------------------------------------------------
   10. FORMS  (reservation native fallback)
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; margin-top: 36px; max-width: 560px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field-label { display: grid; gap: 7px; font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: var(--g-fg); }
.field-label .req { color: var(--g-accent); }
.input, .select, .textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--bone);
  background: color-mix(in oklab, var(--deep) 80%, #000);
  border: 1px solid var(--wine2-line); border-radius: var(--r-input);
  padding: 13px 14px; width: 100%;
}
.input::placeholder, .textarea::placeholder { color: rgba(217,196,166,0.55); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--g-accent); outline: none; box-shadow: 0 0 0 3px rgba(232,178,58,0.16); }
.textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--g-mute); }

/* Split-booking: link-out to whatever the house already runs + the native form */
.booking-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); margin-top: 44px; align-items: start; }
@media (max-width: 820px) { .booking-split { grid-template-columns: 1fr; } }
.booking-out { border: 1px solid var(--g-line); border-radius: var(--r-card); padding: 28px; }
.booking-out h3 { color: var(--g-fg); }
.booking-out p { color: var(--g-mute); font-size: var(--t-small); margin-top: 10px; }

/* Info rows (find-us hours / contact) */
.info-list { list-style: none; display: grid; gap: 0; margin-top: 32px; max-width: 520px; }
.info-list li { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--g-line); }
.info-list .k { color: var(--g-mute); }
.info-list .v { font-family: var(--font-mono); color: var(--g-fg); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   11. FOOTER + MOBILE BAR
   -------------------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--bone); padding: clamp(60px, 8vw, 100px) 0 40px; border-top: 1px solid var(--deep-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .wordmark { color: var(--bone); }
.nap { font-style: normal; margin-top: 18px; line-height: 1.9; color: var(--bone-dim); font-size: var(--t-small); }
.nap a { text-decoration: none; }
.nap a:hover { color: var(--gold); }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--bone-dim); font-size: var(--t-small); }
.footer-col a:hover { color: var(--bone); }
.footer-fine { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--deep-line); display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; }
.microline { font-size: 12px; color: rgba(217,196,166,0.7); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--deep); border-top: 1px solid var(--deep-line);
  padding: 12px var(--gutter);
}
.mobile-bar .mb-hours { font-family: var(--font-mono); font-size: 12px; color: var(--bone-dim); }
@media (max-width: 640px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
  /* the fixed mobile bar carries Book here, so the nav button is redundant and
     only crowds the wrapped wordmark — drop it below the mobile-bar breakpoint. */
  .nav-actions { display: none; }
}

/* --------------------------------------------------------------------------
   12. REVEAL-ON-SCROLL — nothing hidden by default. The .in class PLAYS a
   keyframe whose `backwards` fill supplies the start frame, so print /
   full-page screenshots / reduced-motion / no-JS all render the full page
   (LEARNINGS: never pre-hide content for scroll animation).
   -------------------------------------------------------------------------- */
.js .reveal { animation: reveal-up .7s cubic-bezier(.2,.7,.2,1) both; animation-play-state: paused; }
.js .reveal.in { animation-play-state: running; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { animation: none; }
}
