/* ============================================================
   TLT — The Last Tribe Rooftop · Unofficial sample proposal

   AESTHETIC DIRECTION (committed, not defaulted):
   "Cinematic-luxury / heritage hospitality."
   The dark-charcoal + gold palette is a deliberate choice for
   open-air fine dining at night — NOT the cream editorial default.
   - Type:  Bodoni Moda (display didone — high-fashion elegance,
            true italics for word-accents) + Hanken Grotesk (warm,
            readable body). Fallbacks: Georgia / system-ui.
   - Color: warm near-black surfaces, one gold accent, cream text,
            a single semantic ember (closed) + olive (open).
   - Density: loose — generous whitespace, premium rhythm.
   - Radius: 16px cards / 10px small / pill actions.
   - Shadow: soft, low-opacity elevation only.
   - Components: gold = primary action only; ghost = secondary.
   - Imagery: illustrative sample visuals (disclosed).
   - Motion: quiet — 0.2s state transitions, one slow promo loop.
   Everything below uses tokens; add to :root before using a new
   value. 8px/4px spacing grid. 44px min touch targets.
   ============================================================ */

:root {
  /* --- color: surfaces (warm near-blacks, never pure #000) --- */
  --bg: #0d0a07;
  --bg-2: #14100c;
  --surface: #1a140e;
  --surface-2: #221a11;
  --surface-3: #2b2116;
  --ink: #17110a; /* dark text on gold */

  /* --- color: gold accent scale --- */
  --gold: #d8a44a;
  --gold-bright: #f2c879;
  --gold-deep: #b8862f;
  --gold-05: rgba(216, 164, 74, 0.05);
  --gold-10: rgba(216, 164, 74, 0.1);
  --gold-16: rgba(216, 164, 74, 0.16);
  --gold-24: rgba(216, 164, 74, 0.24);
  --gold-34: rgba(216, 164, 74, 0.34);
  --gold-50: rgba(216, 164, 74, 0.5);

  /* --- color: cream text scale (toned, high-contrast) --- */
  --cream: #f4ead8;
  --cream-dim: rgba(244, 234, 216, 0.76);
  --cream-faint: rgba(244, 234, 216, 0.64);
  --cream-08: rgba(244, 234, 216, 0.08);
  --cream-04: rgba(244, 234, 216, 0.04);

  /* --- color: semantic (open / closed status) --- */
  --open: #a9c47f;
  --open-soft: rgba(150, 178, 110, 0.16);
  --open-line: rgba(150, 178, 110, 0.42);
  --ember: #e2683c;
  --ember-soft: rgba(226, 104, 60, 0.12);
  --ember-line: rgba(226, 104, 60, 0.4);

  /* --- color: lines & scrims --- */
  --line: var(--gold-16);
  --line-strong: var(--gold-34);
  --scrim: rgba(11, 8, 5, 0.9);
  --scrim-soft: rgba(11, 8, 5, 0.6);

  /* --- shadow --- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px -14px rgba(0, 0, 0, 0.62);
  --shadow-lg: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 14px 34px -16px rgba(216, 164, 74, 0.55);

  /* --- radius --- */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* --- spacing scale (4/8 grid) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* --- type scale --- */
  --text-xs: 0.72rem;   /* micro labels */
  --text-sm: 0.85rem;   /* small body / captions */
  --text-base: 0.95rem; /* body */
  --text-md: 1.1rem;
  --text-lg: 1.3rem;
  --text-xl: 1.55rem;
  --text-2xl: 2rem;
  --text-section: clamp(1.9rem, 4vw, 2.9rem);
  --text-hero: clamp(2.6rem, 6.2vw, 4.4rem);

  /* --- tracking (consolidated) --- */
  --track-wide: 0.24em; /* eyebrows / kickers */
  --track-caps: 0.14em; /* small caps tags */

  /* --- motion --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.2s;
  --dur-slow: 0.3s;

  /* --- fonts --- */
  --font-display: "Bodoni Moda", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--gold-bright); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--cream); }

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

.container { width: min(1180px, 92vw); margin-inline: auto; }

.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: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: var(--space-3) var(--space-5);
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--ink); }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: 0.005em; text-wrap: balance; }
p { text-wrap: pretty; }

/* shared micro-label (consolidates the 9 eyebrow variants) */
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title { font-size: var(--text-section); margin-bottom: var(--space-4); }
.section-lede { color: var(--cream-dim); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background: var(--gold-bright); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(216, 164, 74, 0.7); }
.btn-primary:active { background: var(--gold-deep); box-shadow: var(--shadow-sm); }

.btn-ghost {
  background: var(--cream-04);
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn-ghost:hover { background: var(--gold-10); border-color: var(--gold); color: var(--cream); }
.btn-ghost:active { background: var(--gold-16); }

.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(13, 10, 7, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-05);
  transition: background var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
}
.site-header.is-scrolled { background: rgba(13, 10, 7, 0.95); border-color: var(--gold-16); }

.header-inner {
  width: min(1240px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand { display: flex; align-items: center; gap: var(--space-3); color: var(--cream); transition: color var(--dur) var(--ease); }
.brand img, .brand svg { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.05; transition: color var(--dur) var(--ease); }
.brand-sub { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); transition: color var(--dur) var(--ease); }
.brand:hover .brand-name { color: var(--gold-bright); }
.brand:hover .brand-sub { color: var(--cream); }

.main-nav { display: flex; align-items: center; gap: var(--space-6); }
/* base link styles must not override button colours — scope to non-button links */
.main-nav a:not(.btn) { color: var(--cream-dim); font-size: var(--text-base); font-weight: 500; position: relative; padding-block: var(--space-1); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--cream); }
.main-nav a:not(.btn):hover::after { width: 100%; }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--gold-bright); }
.main-nav a:not(.btn)[aria-current="page"]::after { width: 100%; }
.main-nav a.btn[aria-current="page"] { background: var(--gold-10); border-color: var(--gold); color: var(--gold-bright); }

.nav-cta { padding: var(--space-3) var(--space-5); font-size: var(--text-sm); }

.nav-toggle {
  display: none;
  background: var(--cream-04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle:hover { background: var(--gold-10); border-color: var(--gold); }
.nav-toggle:active { background: var(--gold-16); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(96vh, 940px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* monotonic legibility scrim: darkens left (text) and bottom */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 8, 5, 0.95) 0%, rgba(11, 8, 5, 0.86) 38%, rgba(11, 8, 5, 0.5) 70%, rgba(11, 8, 5, 0.62) 100%),
    linear-gradient(0deg, var(--bg) 3%, rgba(11, 8, 5, 0.2) 30%);
}

.hero-content { max-width: 640px; padding: var(--space-12) 0 var(--space-20); }

.hero-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(13, 10, 7, 0.82);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cream-dim);
}
.hero-badge .star { color: var(--gold-bright); }
.hero-badge strong { color: var(--cream); font-weight: 700; }

.hero h1 { font-size: var(--text-hero); line-height: 1.03; margin-bottom: var(--space-5); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-bright); font-weight: 500; }

.hero-sub { font-size: var(--text-md); color: var(--cream-dim); max-width: 52ch; margin-bottom: var(--space-8); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-6); }

.hero-note { font-size: var(--text-sm); color: var(--cream-dim); display: flex; align-items: center; gap: var(--space-2); }
.hero-note svg { flex: none; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--cream-dim);
  font-size: var(--text-xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  animation: floaty 2.6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- highlights ---------- */
.highlights {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: var(--space-8) 0;
}
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.highlight { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-2); }
.highlight-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--gold-10);
  border: 1px solid var(--line);
  color: var(--gold-bright);
}
.highlight h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; letter-spacing: 0; }
.highlight p { font-size: var(--text-sm); color: var(--cream-faint); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------- menu ---------- */
.menu-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.chip {
  position: relative;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream-dim);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--cream); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
/* non-color selection signal (shape, not hue alone) */
.chip[aria-pressed="true"]::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin-right: var(--space-2);
}

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: var(--space-6); }

.menu-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* emphasis-only hover (cards are showcase, not links) */
.menu-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.menu-card.is-hidden { display: none; }

.menu-card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.menu-card-media img { width: 100%; height: 100%; object-fit: cover; }

.menu-tag {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: rgba(13, 10, 7, 0.82);
  border: 1px solid var(--line);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--cream-dim);
  backdrop-filter: blur(6px);
}

.menu-card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.menu-card-body h3 { font-size: var(--text-lg); font-weight: 500; color: var(--cream); }
.menu-card-body p { font-size: var(--text-sm); color: var(--cream-faint); flex: 1; }

.menu-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-2); flex-wrap: wrap; }
.menu-price { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--gold-bright); }
.menu-price small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; color: var(--cream-faint); letter-spacing: var(--track-caps); margin-right: var(--space-2); }
.menu-serves { font-size: var(--text-xs); color: var(--cream-faint); }

.menu-disclaimer {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--cream-faint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
}

/* ---------- story / clip ---------- */
.story-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }

.clip-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  background: var(--bg);
  aspect-ratio: 16 / 9;
}
.clip-frame > svg, .clip-frame > img { width: 100%; height: 100%; object-fit: cover; }

.clip-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-10) var(--space-4) var(--space-4);
  background: linear-gradient(0deg, rgba(8, 5, 3, 0.9), transparent);
}
.clip-btn {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-50);
  background: rgba(13, 10, 7, 0.72);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.clip-btn:hover { background: var(--gold-24); transform: scale(1.06); }
.clip-btn:active { transform: scale(0.94); }
.clip-btn .icon-pause { display: none; }
.clip-frame.is-playing .clip-btn .icon-play { display: none; }
.clip-frame.is-playing .clip-btn .icon-pause { display: block; }

.clip-progress { flex: 1; height: 4px; border-radius: 2px; background: var(--cream-08); overflow: hidden; }
.clip-progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.clip-time { font-size: var(--text-xs); color: var(--cream-dim); font-variant-numeric: tabular-nums; letter-spacing: var(--track-caps); }

.clip-caption { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--cream-faint); display: flex; align-items: center; gap: var(--space-2); }

.story-copy p + p { margin-top: var(--space-4); }
.story-copy p { color: var(--cream-dim); }
.story-points { list-style: none; margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.story-points li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-base); color: var(--cream-dim); }
.story-points svg { flex: none; margin-top: 3px; color: var(--gold); }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }

.info-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-8);
}
.info-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-5); }

.info-list { list-style: none; display: grid; gap: var(--space-5); }
.info-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-list .info-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--gold-10);
  border: 1px solid var(--line);
  color: var(--gold-bright);
}
.info-list strong { display: block; font-size: var(--text-base); }
.info-list span { font-size: var(--text-sm); color: var(--cream-faint); }
.info-list a { color: var(--gold-bright); font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-2); }
.hours-table caption { text-align: left; font-size: var(--text-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); padding-bottom: var(--space-3); font-weight: 600; }
.hours-table th { text-align: left; font-size: var(--text-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); padding-bottom: var(--space-3); font-weight: 600; }
.hours-table td { padding: var(--space-3) 0; border-top: 1px solid var(--line); font-size: var(--text-base); color: var(--cream-dim); }
.hours-table td:last-child { text-align: right; color: var(--cream); font-weight: 500; }
.hours-table th.right { text-align: right; }

.open-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--open-soft);
  border: 1px solid var(--open-line);
  color: var(--open);
  font-size: var(--text-sm);
  font-weight: 600;
}
.open-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 4px rgba(150, 178, 110, 0.22); }
.open-pill.is-closed { background: var(--ember-soft); border-color: var(--ember-line); color: #eb9a74; }
.open-pill.is-closed .dot { background: var(--ember); box-shadow: 0 0 0 4px rgba(226, 104, 60, 0.18); }

.cta-card {
  margin-top: var(--space-6);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: var(--space-8);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  text-align: center;
}
.cta-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.cta-card p { color: var(--cream-dim); font-size: var(--text-base); margin-bottom: var(--space-6); }

/* ---------- matcher teaser ---------- */
.matcher-teaser {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(56px, 7vw, 88px) 0;
}
.matcher-teaser-grid { display: grid; grid-template-columns: 1.15fr auto; gap: var(--space-10); align-items: center; }
.matcher-teaser h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: var(--space-4); }
.matcher-teaser p { color: var(--cream-dim); max-width: 58ch; margin-bottom: var(--space-6); }
.teaser-visual { border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); width: 300px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: var(--space-16) 0 var(--space-8);
  font-size: var(--text-sm);
  color: var(--cream-faint);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-8); }
.footer-grid h3 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); font-weight: 600; }
.footer-grid ul { list-style: none; display: grid; gap: var(--space-1); }
.footer-grid a { color: var(--cream-dim); display: inline-block; padding-block: var(--space-1); transition: color var(--dur) var(--ease); }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand p { max-width: 42ch; margin-top: var(--space-4); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--text-xs);
}
.footer-bottom a { display: inline-block; padding-block: var(--space-1); }
.disclaimer {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  color: var(--cream-faint);
  background: var(--gold-05);
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   matcher.html — Find Your Perfect Dish
   ============================================================ */
.matcher-hero {
  padding: calc(var(--header-h) + clamp(44px, 6vw, 76px)) 0 clamp(32px, 4vw, 52px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.matcher-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: var(--space-4); font-weight: 500; }
.matcher-hero p { color: var(--cream-dim); max-width: 60ch; }

.matcher-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
}

.matcher-panel {
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.matcher-panel h2 { font-size: var(--text-xl); margin-bottom: var(--space-1); }
.matcher-panel > p { font-size: var(--text-sm); color: var(--cream-faint); margin-bottom: var(--space-6); }

fieldset.field { border: 0; }
.field + .field { margin-top: var(--space-6); }
.field-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
  padding: 0;
}
.option-grid { display: grid; gap: var(--space-2); }
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--cream-04);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--cream-dim);
  min-height: 52px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.option:hover { border-color: var(--gold); color: var(--cream); }
.option:active { transform: scale(0.99); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option .radio {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--cream-faint);
  display: grid;
  place-items: center;
  transition: border-color var(--dur) var(--ease);
}
.option .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background var(--dur) var(--ease); }
.option:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-10);
  color: var(--cream);
  box-shadow: 0 0 0 1px var(--gold-24);
}
.option:has(input:checked) .radio { border-color: var(--gold-bright); }
.option:has(input:checked) .radio::after { background: var(--gold-bright); }
/* focus fallback for browsers without :has() */
.option:has(input:focus-visible) { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
/* keyboard-focus fallback for browsers without :has() support */
@supports not selector(:has(*)) {
  .option:focus-within { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
}

.matcher-reset { margin-top: var(--space-6); }
.matcher-footnote { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--cream-faint); line-height: 1.55; }

.result-stage { min-height: 480px; }

.result-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  color: var(--cream-faint);
  background: var(--gold-05);
}
.result-empty svg { margin: 0 auto var(--space-4); color: var(--gold); opacity: 0.85; }
.result-empty h3 { font-size: var(--text-xl); color: var(--cream); margin-bottom: var(--space-2); }
.result-empty p { font-size: var(--text-base); max-width: 46ch; margin-inline: auto; }

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(20px, 3vw, 32px);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: cardIn 0.4s var(--ease) both;
}
.result-card--stacked { grid-template-columns: 1fr; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.result-media { position: relative; min-height: 100%; }
.result-media img { width: 100%; height: 100%; object-fit: cover; }

.result-body { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: var(--space-3); }
.result-eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); }
.result-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; }
.result-body .result-desc { color: var(--cream-dim); font-size: var(--text-base); }
.result-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.result-pill {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--cream-dim);
  background: var(--cream-04);
}
.result-price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--gold-bright); margin-top: var(--space-1); }
.result-price small { font-family: var(--font-body); font-size: var(--text-xs); color: var(--cream-faint); letter-spacing: var(--track-caps); margin-right: var(--space-2); }
.result-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }

.alternates { margin-top: var(--space-6); }
.alternates h3 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-3); font-weight: 600; }
.alternates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-3); }
.alt-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.alt-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.alt-card:active { transform: translateY(0) scale(0.99); }
.alt-card img { width: 60px; height: 60px; border-radius: var(--radius-sm); flex: none; object-fit: cover; }
.alt-card strong { display: block; font-size: var(--text-base); line-height: 1.3; font-weight: 500; }
.alt-card span { font-size: var(--text-sm); color: var(--gold-bright); font-weight: 600; }

.result-note { margin-top: var(--space-5); font-size: var(--text-xs); color: var(--cream-faint); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .matcher-layout { grid-template-columns: 1fr; }
  .matcher-panel { position: static; }
  .result-stage { min-height: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .matcher-teaser-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    padding: var(--space-4) 6vw var(--space-6);
    background: rgba(13, 10, 7, 0.98);
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden; /* removes closed links from tab order */
    pointer-events: none;
    transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease),
      visibility var(--dur-slow) var(--ease);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav a:not(.btn) { padding: var(--space-3) var(--space-1); font-size: 1.05rem; }
  .main-nav .nav-cta { margin-top: var(--space-3); text-align: center; padding: var(--space-4) var(--space-5); }

  .hero { min-height: auto; }
  .hero-content { padding: var(--space-10) 0 var(--space-20); }
  /* stronger scrim so hero text stays legible over the bright platter */
  .hero::after {
    background:
      linear-gradient(0deg, var(--bg) 6%, rgba(11, 8, 5, 0.82) 42%, rgba(11, 8, 5, 0.86) 100%);
  }
  .hero-media img { object-position: 68% 42%; }

  .visit-grid { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
  .result-media { aspect-ratio: 16 / 10; }
  .result-body { padding: var(--space-6); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
