/* ============================================================
   Sultans of Kelso — design system ("quiet luxury")
   Two grounds share one set of semantic tokens: the homepage is anthracite
   (body.home), everything else — the ordering app, legal pages — is ivory.
   Sections re-point the same tokens (.tone-ivory, .tone-bottle), so every
   component reads --bg / --fg / --accent and never a raw colour. Pure black
   and pure white are deliberately absent.
   ============================================================ */

/* Self-hosted variable faces. font-display: optional — a late-arriving face
   must never relayout the page mid-read; the fallback is used for that one
   visit and the cached real face after. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
/* Still referenced by the QR posters and the hub's own stylesheet. */
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("/assets/fonts/karla-latin.woff2") format("woff2");
}

:root {
  /* --- Palette --- */
  --onyx: #121212;
  --onyx-raised: #18181b;
  --ivory: #f9f8f6;
  --ivory-deep: #f1eee8;
  --ivory-raised: #fdfcfa;
  --gold: #c5a059;        /* aged gold: fills, and text on dark grounds */
  --gold-soft: #d3b479;   /* hover of a gold fill */
  --gold-deep: #7e6230;   /* gold as text on ivory (5.4:1) */
  --copper: #b4764a;
  --bottle: #16241e;
  --ink-light: #e5e5e5;   /* text on dark */
  --ink-dark: #222222;    /* text on light */

  /* --- Semantic tokens (ivory by default) --- */
  --bg: var(--ivory);
  --bg-raised: var(--ivory-raised);
  --bg-alt: var(--ivory-deep);
  --fg: var(--ink-dark);
  --fg-muted: #5e5a53;
  --rule: rgba(34,34,34,.12);
  --rule-strong: rgba(34,34,34,.24);
  --accent: var(--gold-deep);

  --radius: 2px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* --- Names the ordering app (order.css) is written against ---
     Historical names, current values: "ink" is the page ground, "cream" is
     strong text, "gold"/"price" are gold-as-text, "sultan" is the gold fill
     behind --on-action text. */
  --naan: var(--ivory);
  --naan-deep: var(--ivory-deep);
  --card-bg: var(--ivory-raised);
  --charcoal: var(--ink-dark);
  --charcoal-soft: #5e5a53;
  --sultan: var(--gold);
  --sultan-dark: var(--gold-soft);
  --saffron: var(--copper);
  --hairline: rgba(34,34,34,.12);
  --hairline-strong: rgba(34,34,34,.24);
  --ink: var(--ivory);
  --ink-soft: var(--ivory-deep);
  --char: var(--ivory-raised);
  --line: rgba(34,34,34,.12);
  --line-strong: rgba(34,34,34,.24);
  --fire-red: var(--gold);
  --fire-orange: var(--gold);
  --fire-yellow: var(--copper);
  --fire-grad: linear-gradient(var(--gold), var(--gold));
  --fire-grad-h: linear-gradient(var(--gold), var(--gold));
  --chrome: var(--ink-dark);
  --chrome-dim: #5e5a53;
  --chrome-grad: linear-gradient(rgba(34,34,34,.24), rgba(34,34,34,.24));
  --text: var(--ink-dark);
  --text-muted: #5e5a53;
  --text-dim: #5e5a53;
  --price: var(--gold-deep);
  --glow: none;
  --paper: var(--ivory-raised);
  --paper-deep: var(--ivory);
  --cream: var(--ink-dark);
  --gold-bright: var(--gold-deep);
  --green: var(--gold-deep);
  --wine: var(--gold-deep);
  --on-action: #1a1a1a;
  --text-on-paper: var(--ink-dark);
  --muted-on-paper: #5e5a53;
  --text-on-ink: var(--ink-dark);
  --muted-on-ink: #5e5a53;
}

/* Grounds. Custom properties inherit, so a section only has to re-point
   the tokens and every component inside follows. */
body.home {
  --bg: var(--onyx);
  --bg-raised: var(--onyx-raised);
  --bg-alt: var(--onyx-raised);
  --fg: var(--ink-light);
  --fg-muted: #a7a39b;
  --rule: rgba(229,229,229,.10);
  --rule-strong: rgba(229,229,229,.22);
  --accent: var(--gold);
}
.tone-ivory {
  --bg: var(--ivory);
  --bg-raised: var(--ivory-raised);
  --fg: var(--ink-dark);
  --fg-muted: #5e5a53;
  --rule: rgba(34,34,34,.12);
  --rule-strong: rgba(34,34,34,.24);
  --accent: var(--gold-deep);
}
.tone-bottle {
  --bg: var(--bottle);
  --bg-raised: #1c2d26;
  --fg: var(--ink-light);
  --fg-muted: #b3b8b1;
  --rule: rgba(229,229,229,.12);
  --rule-strong: rgba(229,229,229,.24);
  --accent: var(--gold);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Author display rules (flex/grid on overlays) must never beat the hidden attribute. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.home { font-weight: 300; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
strong, b { font-weight: 500; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1.06;
  letter-spacing: .005em;
  color: var(--fg);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.section-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: none; /* <button> UA default is light gray */
  padding: 15px 34px; border-radius: var(--radius); border: 1px solid transparent;
  min-height: 48px; /* touch target */
  font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
/* Primary: a quiet gold ground. .btn-gold is the ordering app's name for it. */
.btn-primary, .btn-gold { background: var(--gold); border-color: var(--gold); color: var(--on-action); }
.btn-primary:hover, .btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
/* Line: a hairline frame that fills with gold on hover. */
.btn-line { border-color: var(--gold); color: var(--accent); }
.btn-line:hover { background: var(--gold); color: var(--on-action); }
.btn-ghost { border-color: var(--rule-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 22px; font-size: .7rem; min-height: 40px; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg);
  background: linear-gradient(var(--gold), var(--gold)) left calc(100% - 10px) / 100% 1px no-repeat;
  transition: color .3s var(--ease);
}
.text-link:hover { color: var(--accent); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
  background: rgba(18,18,18,.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(197,160,89,.14);
  transition: background-color .4s var(--ease);
}
.site-header.scrolled { background: rgba(18,18,18,.84); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: 1280px; margin: 0 auto;
}
.wordmark { display: inline-flex; align-items: center; gap: 14px; color: var(--accent); white-space: nowrap; }
.wordmark img { width: 34px; height: auto; }
.wordmark span {
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  font-variation-settings: "opsz" 24;
  letter-spacing: .28em; text-transform: uppercase; color: var(--fg);
}
.wordmark em { font-style: normal; color: var(--accent); }
/* Homepage header: a two-tier lockup — SULTANS large, OF KELSO small in gold beneath. */
.site-header .wordmark { gap: 16px; }
.site-header .wordmark img { width: 64px; }
.site-header .wordmark span {
  display: flex; flex-direction: column; line-height: 1;
  font-size: 2.2rem; font-weight: 300; font-variation-settings: "opsz" 72;
  letter-spacing: .22em; color: var(--ink-light);
}
.site-header .wordmark em {
  margin-top: 8px; font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .62em; color: var(--gold);
}
.site-nav { display: flex; align-items: center; gap: 36px; }
/* :not(.btn) keeps the header button's own colour winning over nav links. */
.site-nav a:not(.btn) {
  font-size: .74rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: #bdb9b1; transition: color .3s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--gold); }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: 0; }
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 168px 32px 96px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: end;
}
.hero-copy { padding-bottom: 12px; }
.hero .eyebrow { font-size: clamp(.86rem, 1.15vw, 1.08rem); letter-spacing: .3em; margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.8rem); line-height: 1; letter-spacing: -.005em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .tagline {
  margin: 36px 0 44px; max-width: 30em;
  font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--fg-muted); line-height: 1.8;
}
.hero .cta-row { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.hero-call { margin-top: 28px; font-size: .9rem; color: var(--fg-muted); }
.hero-call a { color: var(--fg); border-bottom: 1px solid rgba(197,160,89,.5); padding-bottom: 1px; }
.hero-call a:hover { color: var(--accent); }

/* Signature: the photograph in an offset gold hairline frame, lit from one
   side out of the dark (chiaroscuro by grading and vignette — the source
   photos are daylight shots on stone), with the address running up the
   frame's edge like a gallery label. */
.hero-figure { position: relative; margin: 0; justify-self: end; width: min(100%, 460px); }
.frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--onyx-raised); }
.frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 22% 55%;
  filter: brightness(.72) contrast(1.25) saturate(.95);
}
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 26% 60%, transparent 30%, rgba(18,18,18,.62) 72%, rgba(18,18,18,.94) 100%),
    linear-gradient(270deg, rgba(18,18,18,.6), transparent 60%),
    linear-gradient(180deg, rgba(18,18,18,.45), transparent 35%);
}
.hero-figure::before {
  content: ""; position: absolute; top: -18px; right: -18px; bottom: 18px; left: 18px;
  border: 1px solid rgba(197,160,89,.5); pointer-events: none;
}
.frame-label {
  position: absolute; top: 0; right: -46px;
  writing-mode: vertical-rl;
  font-size: .64rem; font-weight: 400; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.hero-figure figcaption {
  margin-top: 16px; font-family: var(--font-display); font-size: .86rem;
  font-variation-settings: "opsz" 14; color: var(--fg-muted); letter-spacing: .02em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-figure { animation: rise 1.2s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-figure { animation-duration: 1.6s; animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Ordering in three steps — a real sequence, so the numerals carry meaning. */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule); padding-top: 0; padding-bottom: 8px;
}
.steps li { display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: 20px; padding: 32px 32px 32px 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.step-n {
  grid-row: span 2; font-family: var(--font-display); font-weight: 300; font-size: 1.9rem;
  line-height: 1; color: var(--accent); min-width: 1.6em;
}
.steps b { font-weight: 400; font-size: .98rem; color: var(--fg); letter-spacing: .01em; }
.steps li > span:last-child { font-size: .88rem; color: var(--fg-muted); margin-top: 4px; }

/* --- Sections ------------------------------------------------------------- */
section { padding: 136px 0; background: var(--bg); color: var(--fg); }
/* Asymmetric heading: title on the left, a quiet note hung to the right. */
.split-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px;
  align-items: end; margin-bottom: 72px;
}
.split-head > p { color: var(--fg-muted); font-size: .95rem; max-width: 30em; justify-self: end; }
.split-head .eyebrow { margin-bottom: 18px; }

/* Favourites — ranked, so "No. 1" is information, not decoration. The top
   dish takes the tall left column; the rest run down the right as a list. */
.favourites { border-top: 1px solid var(--rule); }
.fav-list {
  list-style: none; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-rows: repeat(3, auto); column-gap: 72px;
}
.fav a { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.fav:nth-child(2) a { border-top: 1px solid var(--rule); }
.fav-lead { grid-row: 1 / span 3; }
.fav-lead a { display: block; padding: 0; border: 0; }
.fav-img { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-raised); aspect-ratio: 1; }
.fav-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.76) contrast(1.2) saturate(.95);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.fav-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(75% 75% at 50% 48%, transparent 38%, rgba(18,18,18,.7) 82%, rgba(18,18,18,.92) 100%);
}
.fav a:hover .fav-img img { transform: scale(1.04); filter: brightness(.86) contrast(1.2) saturate(1); }
.fav-lead .fav-img { aspect-ratio: 5 / 4; }
.fav-text { display: flex; flex-direction: column; gap: 6px; }
.fav-lead .fav-text { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 20px; padding-top: 22px; }
.fav-rank { font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.fav-lead .fav-rank { width: 100%; }
.fav b {
  font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 60;
  font-size: 1.55rem; line-height: 1.15; color: var(--fg); transition: color .3s var(--ease);
}
.fav-lead b { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.fav a:hover b { color: var(--accent); }
.fav i { font-style: normal; font-size: .95rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* Story — ivory. */
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: end; }
.story-head .section-title { max-width: 15ch; }
.story-copy p { color: var(--fg-muted); font-size: 1.06rem; line-height: 1.85; max-width: 32em; }
.story-copy p + p { margin-top: 18px; }
.story-copy p:empty { display: none; }
.story-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; border-top: 1px solid var(--rule-strong); }
.fact { padding: 28px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--rule); }
.fact dt { font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.fact dd { margin-top: 12px; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--fg); }

/* Menu */
.menu-section { background: var(--bg-raised); }
.heat-key { display: inline-flex; gap: 6px; vertical-align: middle; flex-wrap: wrap; margin-top: 6px; }
/* Section switcher: words on a hairline, the active one underlined in gold. */
.menu-tabs {
  display: flex; gap: 6px 30px; flex-wrap: wrap; margin-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}
.menu-tab {
  position: relative; padding: 14px 0; min-height: 44px;
  font-size: .74rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  border: 0; background: transparent; color: var(--fg-muted);
  transition: color .3s var(--ease);
}
.menu-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.menu-tab:hover { color: var(--fg); }
.menu-tab.active { color: var(--accent); }
.menu-tab.active::after { transform: scaleX(1); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 88px; }
/* One group per category, all present so crawlers see the whole menu;
   display:contents keeps the dishes as direct grid items. */
.menu-cat { display: contents; }
/* A printed-menu row: name, dotted leader, price — hairline between rows. */
.menu-item { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.menu-item .item-body { flex: 1; min-width: 0; }
.menu-item .item-photo {
  position: relative; flex: 0 0 72px; width: 72px; height: 72px;
  border-radius: var(--radius); overflow: hidden; background: var(--bg);
}
.menu-item .item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.9) contrast(1.08); }
.menu-item .item-photo .photo-badge {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(18,18,18,.78); color: var(--ink-light);
  font-size: .48rem; line-height: 1.3; text-align: center; padding: 2px;
  letter-spacing: .06em; text-transform: uppercase;
}
.menu-item .row { display: flex; align-items: baseline; gap: 12px; }
.menu-item .name {
  font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 36;
  font-size: 1.28rem; color: var(--fg);
}
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-5px); }
.menu-item .price { font-weight: 400; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.menu-item .desc { font-size: .92rem; color: var(--fg-muted); margin-top: 6px; line-height: 1.6; }
.menu-item .desc.allergens { font-size: .8rem; font-style: italic; }
.menu-item .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: .66rem; font-weight: 500; letter-spacing: .08em;
  padding: 2px 9px; border-radius: var(--radius); border: 1px solid var(--rule-strong);
  color: var(--fg-muted); background: transparent;
  white-space: nowrap; flex-shrink: 0;
}
/* Heat: the chilli count and the word carry the meaning; the copper deepens
   only to reinforce it. Values are per ground so each stays ≥4.5:1. */
.tag.mild { color: #8a5a2e; border-color: rgba(138,90,46,.35); }
.tag.medium { color: #8f4a22; border-color: rgba(143,74,34,.4); }
.tag.hot { color: #8e2f1c; border-color: rgba(142,47,28,.4); }
body.home .tag.mild { color: #d9b98c; border-color: rgba(217,185,140,.35); }
body.home .tag.medium { color: #d59a6a; border-color: rgba(213,154,106,.4); }
body.home .tag.hot { color: #e08a6c; border-color: rgba(224,138,108,.45); }
.tag.soldout { color: var(--fg-muted); border-color: var(--rule-strong); text-decoration: line-through; }
.tag.popular { color: var(--accent); border-color: var(--accent); }
.menu-cta { margin-top: 72px; }
.menu-note { color: var(--fg-muted); font-size: .86rem; margin-top: 22px; max-width: 46em; }
.menu-note a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; filter: contrast(1.05); }
.gallery-item figcaption { padding: 14px 0 0; font-size: .86rem; color: var(--fg-muted); }

/* Awards */
.awards-section { border-top: 1px solid var(--rule); }
.awards-list { list-style: none; display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--rule); }
.awards-list li {
  font-family: var(--font-display); font-weight: 300; font-size: 1.4rem;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}

/* Reviews */
.reviews { border-top: 1px solid var(--rule); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.review-card { display: flex; flex-direction: column; gap: 16px; padding-top: 26px; border-top: 1px solid var(--rule-strong); }
.review-card .stars { color: var(--gold); letter-spacing: .3em; font-size: .8rem; }
.review-card blockquote { font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; line-height: 1.4; }
.review-card cite { font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); }
.badges-row { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 72px; }
.badge-score .s { font-family: var(--font-display); font-weight: 300; font-size: 3rem; color: var(--accent); line-height: 1; }
.badge-score .t { margin-top: 8px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-muted); }

/* Visit — bottle green. */
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 64px; align-items: start; }
.visit-head .section-title { max-width: 12ch; }
.visit-block h3 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
}
.visit-block p, .visit-block li { color: var(--fg-muted); }
.visit-block ul { list-style: none; display: grid; gap: 12px; }
a.link { color: var(--fg); border-bottom: 1px solid rgba(197,160,89,.55); transition: color .3s var(--ease); }
a.link:hover { color: var(--accent); }
.tone-ivory a.link { border-bottom-color: rgba(126,98,48,.5); }
.hours-box {
  white-space: pre-line; color: var(--fg-muted);
  font-variant-numeric: tabular-nums; line-height: 2;
}

/* FAQ — heading holds the left column, questions run down the right. */
.faq { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.faq-head .section-title { max-width: 11ch; }
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  padding: 26px 0; font-family: var(--font-display); font-weight: 300; font-size: 1.3rem;
  font-variation-settings: "opsz" 36; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  transition: color .3s var(--ease);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--gold); font-family: var(--font-body); font-weight: 200; font-size: 1.5rem;
  flex-shrink: 0; transition: transform .4s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--fg-muted); padding-bottom: 28px; max-width: 38em; }

/* Footer */
.site-footer { background: var(--onyx-raised); color: #a7a39b; padding: 48px 0; border-top: 1px solid rgba(197,160,89,.14); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer p { font-size: .82rem; letter-spacing: .02em; }
.site-footer a { color: var(--ink-light); border-bottom: 1px solid rgba(197,160,89,.35); }
.site-footer a:hover { color: var(--gold); }

/* Floating order button (mobile) — main.js hides it while the hero is on screen. */
.fab-order {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 40; display: none; box-shadow: 0 16px 34px -14px rgba(0,0,0,.8);
}
.fab-order.is-hidden { display: none; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding-top: 128px; align-items: start; }
  .hero-figure { justify-self: start; width: min(82%, 400px); }
  .fav-list { grid-template-columns: 1fr; grid-template-rows: none; }
  .fav-lead { grid-row: auto; margin-bottom: 36px; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-head { grid-column: 1 / -1; }
  .faq-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .site-nav a:not(.btn) { display: none; }
  .site-header .bar { padding: 12px 18px; }
  .wordmark { gap: 10px; }
  .wordmark img { width: 28px; }
  .wordmark span { font-size: .72rem; letter-spacing: .15em; }
  .site-header .wordmark img { width: 42px; }
  .site-header .wordmark span { font-size: 1.4rem; letter-spacing: .18em; }
  .site-header .wordmark em { margin-top: 5px; font-size: .58rem; letter-spacing: .5em; }
  .hero .eyebrow { font-size: .8rem; letter-spacing: .2em; margin-bottom: 22px; }
  .site-nav .btn { white-space: nowrap; padding: 8px 14px; letter-spacing: .14em; }
  .hero-inner { padding: 112px 22px 64px; gap: 56px; }
  .hero .tagline { margin: 26px 0 34px; }
  .hero .cta-row { gap: 24px; }
  .hero-figure { width: calc(100% - 44px); }
  .frame-label { right: -34px; font-size: .58rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--rule); }
  section { padding: 88px 0; }
  .split-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .split-head > p { justify-self: start; }
  .fav a { grid-template-columns: 96px 1fr; gap: 20px; padding: 20px 0; }
  .fav b { font-size: 1.3rem; }
  .story-facts { grid-template-columns: 1fr; margin-top: 64px; }
  .fact, .fact + .fact { padding: 22px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--rule); }
  .menu-grid, .visit-grid, .review-grid, .gallery-grid { grid-template-columns: 1fr; }
  .visit-grid { gap: 44px; }
  /* 15 sections would wrap into many rows; one swipeable row instead. */
  .menu-tabs {
    flex-wrap: nowrap; overflow-x: auto;
    margin: 0 -22px 40px; padding: 0 22px; scrollbar-width: none;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { flex: 0 0 auto; }
  .fab-order { display: inline-flex; white-space: nowrap; max-width: calc(100vw - 32px); }
}

/* Old iOS Safari (≤14.0) ignores gap in flex containers; `inset` landed in
   the same release, so browsers that understand it skip this block. */
@supports not (inset: 0) {
  .site-nav > * + * { margin-left: 36px; }
  .hero .cta-row > * { margin: 0 24px 12px 0; }
  .btn > * + * { margin-left: 10px; }
  .footer-grid > * + * { margin-top: 8px; }
  .frame::after, .fav-img::after { top: 0; right: 0; bottom: 0; left: 0; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--on-action); padding: 10px 16px;
  font-weight: 500;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 1px solid var(--gold); outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
