/* Farro homepage, static prototype.
   Tokens come from design.md § 4 (v0.1.0). Change them there first, then here. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, see assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --ivory: #F8F5EE;
  --limestone: #EDE7DB;
  --paper: #FFFDF8;
  --espresso: #29231E;
  --muted: #62584D;
  --olive: #46563B;
  --olive-hover: #34432C;
  --olive-dark: #252E22;
  --brass: #A58A65;      /* ornamental only: rules, never small text */
  --wine: #713C43;
  --border: #D7CDBD;

  /* type */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(44px, 5.8vw, 88px);
  --fs-h2: clamp(34px, 3.8vw, 58px);
  --fs-h3: clamp(26px, 2.2vw, 32px);
  --fs-body: clamp(16px, 1.1vw, 18px);
  --fs-label: 13px;
  --lh-body: 1.65;

  /* spacing scale 4 8 12 16 24 32 48 64 96 128 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* layout */
  --container: 1320px;
  --gutter: 20px;            /* mobile */
  --section-y: 56px;         /* mobile */
  --header-h: 64px;          /* mobile */
  --radius-card: 4px;
  --radius-control: 3px;
  --target: 44px;

  /* motion */
  --dur: 180ms;
  --ease: cubic-bezier(.2, .6, .2, 1);

  --focus: var(--olive);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 48px; --section-y: 96px; --header-h: 84px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
main:focus { outline: none; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
[hidden] { display: none !important; }

.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;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Focus: visible on every interactive element */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.topbar, .hero, .wine-band, .site-footer { --focus: var(--ivory); }

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4); z-index: 100;
  padding: 12px 20px; background: var(--espresso); color: var(--ivory);
  font-weight: 600; text-decoration: none; border-radius: var(--radius-control);
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: none; --focus: var(--olive); }

/* ---------- Type helpers ---------- */
.h2 { font-size: var(--fs-h2); }
.eyebrow {
  display: flex; align-items: center; gap: var(--s-5);
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);             /* brass is not allowed for small text (design.md § 4) */
  margin-bottom: var(--s-4);
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--brass); }

.ruled-heading {
  display: flex; align-items: center; gap: var(--s-5); text-align: center; justify-content: center;
}
.ruled-heading::before, .ruled-heading::after { content: ""; flex: 1; height: 1px; background: var(--brass); }
.ruled-heading span { flex: 0 1 auto; }

/* ---------- Links and buttons ---------- */
.text-link {
  display: inline-block;
  padding-block: 10px;             /* 44px target with 24px line */
  line-height: 24px;
  font-weight: 500;
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: currentColor;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease), text-underline-offset var(--dur) var(--ease);
}
.text-link:hover { color: var(--olive); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.text-link--light { color: var(--ivory); }
.text-link--light:hover { color: var(--ivory); text-decoration-color: var(--brass); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--target);
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-hover); }
.btn--outline-light { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn--outline-light:hover { background: var(--ivory); color: var(--espresso); }
.btn--outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn--outline:hover { background: var(--espresso); color: var(--ivory); }
.btn--block { width: 100%; }
.btn--serif { font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.btn__arrow { margin-left: 10px; flex: none; }

/* ---------- 1. Top bar: quick links (header comp) ---------- */
.topbar { background: var(--olive); color: var(--ivory); }
.topbar__list { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; }
.topbar__list li + li::before { content: "\00B7"; padding-inline: 2px; font-family: var(--font-serif); font-size: 20px; line-height: 1; opacity: .85; }
.topbar a {
  display: inline-flex; align-items: center; min-height: var(--target); padding-inline: 8px;
  font-family: var(--font-serif); font-size: 16px; font-weight: 500; line-height: 1.2; color: var(--ivory);
  text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.topbar a:hover, .topbar a[aria-current="page"] { text-decoration-line: underline; }
@media (max-width: 379px) { .topbar__long { display: none; } .topbar a { padding-inline: 6px; } }
@media (min-width: 900px) {
  .topbar a { min-height: 48px; padding-inline: 14px; font-size: 20px; }
  .topbar__list li + li::before { font-size: 24px; }
}

/* ---------- 2. Header ---------- */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--border); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: var(--header-h);
}
/* Wordmark (stand-in redraw of Farro's script logo, see scripts/build.mjs). Everything scales with
   font-size: the italic name is 1em, the sprig sits above-left of centre, the tag line is small caps. */
.wordmark {
  position: relative; display: inline-grid; justify-items: center; align-content: center;
  padding-top: .36em; min-height: var(--target);
  font-size: 30px; line-height: 1; color: var(--olive-dark); text-decoration: none;
}
.wordmark__sprig { position: absolute; top: 0; left: 33%; width: 50%; height: auto; color: var(--brass); }
.wordmark__name {
  position: relative; font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: 1em; line-height: .86; letter-spacing: .06em; padding-right: .06em;
}
.wordmark__tag {
  margin-top: 1.9em; margin-right: -.28em; white-space: nowrap;   /* clears the f's descender */
  font-family: var(--font-sans); font-size: max(.18em, 7.5px); font-weight: 600; line-height: 1;
  letter-spacing: .28em; text-transform: uppercase; color: var(--espresso);
}
.primary-nav { display: none; }
.primary-nav__list { display: flex; }
.primary-nav__list li { display: flex; align-items: center; }
.primary-nav__list li::before { content: ""; width: 1px; height: 28px; background: var(--brass); opacity: .5; }   /* thin dividers (comp) */
.primary-nav a, .footer-nav a {
  display: inline-flex; align-items: center; min-height: var(--target);
  padding-inline: var(--s-3);
  font-size: 16px; font-weight: 500; text-decoration: none;
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.primary-nav a:hover, .footer-nav a:hover { text-decoration: underline; }

.primary-nav a { font-family: var(--font-serif); font-size: 17px; padding-inline: 12px; color: var(--espresso); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-2); }
.btn--header { padding: 8px 12px; font-size: 17px; }
.btn--header .btn__arrow { margin-left: 6px; width: 13px; }
@media (max-width: 379px) { .btn--header { padding-inline: 10px; } .btn--header .btn__arrow { display: none; } }
.nav-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; margin-right: -10px;
  border: 0; background: transparent; color: var(--espresso); cursor: pointer;
  border-radius: var(--radius-control);
}

/* No-JS fallback: show the nav as a wrapped row below the header bar */
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .primary-nav { display: block; order: 3; width: 100%; }
.no-js .primary-nav__list { flex-wrap: wrap; }

/* Full navigation from 900px (four items since the header comp); the drawer below that. */
@media (min-width: 900px) {
  .site-header__inner { min-height: 92px; gap: var(--s-4); }
  .wordmark { font-size: 40px; }
  .primary-nav, .no-js .primary-nav { display: block; order: 0; width: auto; margin-left: auto; }
  .nav-toggle { display: none; }
  .btn--header { padding: 10px 16px; font-size: 18px; min-height: 48px; }
}
@media (min-width: 1200px) {
  .site-header__inner { min-height: 122px; gap: var(--s-5); }   /* comp: 122px at 1440 */
  .wordmark { font-size: 64px; }
  .primary-nav a { font-size: 21px; padding-inline: 26px; }
  .primary-nav__list li::before { height: 30px; }
  .btn--header { padding: 12px 24px; font-size: 21px; min-height: 54px; }
  .btn--header .btn__arrow { margin-left: 10px; width: 16px; }
}
.primary-nav a[aria-current="page"], .footer-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; }
.drawer__list a[aria-current="page"] { color: var(--olive); }
.drawer__list a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; margin-left: var(--s-3); border-radius: 50%; background: var(--olive); }

/* ---------- Drawer (below 900px) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 40; background: rgba(41, 35, 30, .55);
  animation: fade-in var(--dur) var(--ease);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(360px, 88vw);
  display: flex; flex-direction: column;
  background: var(--ivory); color: var(--espresso);
  padding: 0 var(--gutter) var(--s-6);
  box-shadow: -8px 0 32px rgba(41, 35, 30, .18);
  overflow-y: auto;
  animation: slide-in 200ms var(--ease);
}
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; border-bottom: 1px solid var(--border); margin-bottom: var(--s-3);
}
.wordmark--drawer { font-size: 30px; }
.wordmark--footer, .wordmark--footer .wordmark__tag { color: var(--ivory); }
.drawer__close {
  display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; color: var(--espresso); cursor: pointer; border-radius: var(--radius-control);
}
.drawer__list a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-serif); font-size: 26px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.drawer__list a:hover { color: var(--olive); }
.drawer__foot { margin-top: auto; padding-top: var(--s-6); display: grid; gap: var(--s-3); justify-items: center; }
.drawer__phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
@media (min-width: 900px) { .drawer, .drawer-backdrop { display: none !important; } }

@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding-block: calc(var(--section-y) / 2); }
.hero + .section { padding-top: calc(var(--section-y) / 2); }
.media { overflow: hidden; border-radius: var(--radius-card); background: var(--limestone); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 3. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--espresso); color: var(--ivory);
  min-height: 560px;
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero:not(.hero--page) .hero__media img { object-position: 52% 50%; }   /* homepage comp image: keep the bowl in frame (the glass drops off on phones) */
.hero__media::after {     /* overlay localized behind the copy */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(41, 35, 30, .96) 0%, rgba(41, 35, 30, .88) 50%, rgba(41, 35, 30, .72) 68%, rgba(41, 35, 30, .2) 92%, rgba(41, 35, 30, .05) 100%);
}
.hero__content { padding-block: var(--s-8) var(--s-7); }
.hero__title { font-size: var(--fs-h1); line-height: 1.02; font-weight: 500; }
.hero__title span { display: block; }
.hero__lede { margin-top: var(--s-5); max-width: 30ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); }
.hero__actions .btn { min-width: 160px; }

@media (min-width: 900px) {
  .hero { min-height: 572px; align-items: center; }
  .hero__media { left: 40%; }
  .hero__media::after {
    background: linear-gradient(to right, var(--espresso) 0%, rgba(41, 35, 30, .55) 18%, rgba(41, 35, 30, 0) 42%);
  }
  .hero__content { padding-block: var(--s-8); }
  .hero__lede { max-width: 25ch; }
  .hero__actions .btn { min-width: 205px; padding-block: 16px; }
}

/* Homepage hero (header and hero comp): full-bleed photo, warm dark gradient behind the copy, a short
   brass rule under the headline, italic serif subhead and serif buttons. Subpage heroes are unchanged. */
.hero--home .hero__title::after { content: ""; display: block; width: 64px; height: 2px; margin-top: var(--s-5); background: var(--brass); }
.hero--home .hero__lede { margin-top: var(--s-4); font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.hero--home .hero__actions .btn { min-height: 52px; font-size: 20px; }
.hero--home .btn--primary { border-color: rgba(248, 245, 238, .7); }
@media (max-width: 899px) {   /* darker higher up than the subpage heroes: at 320px the headline starts near the middle */
  .hero--home .hero__media::after { background: linear-gradient(to top, rgba(41, 35, 30, .96) 0%, rgba(41, 35, 30, .9) 50%, rgba(41, 35, 30, .84) 72%, rgba(41, 35, 30, .4) 90%, rgba(41, 35, 30, .1) 100%); }
}
@media (min-width: 900px) {
  .hero--home { min-height: 560px; }
  .hero--home .hero__media { left: 0; overflow: hidden; }
  /* the same photo, blurred and darkened, fills the width behind the copy */
  .hero--home .hero__media::before {
    content: ""; position: absolute; inset: -60px;
    background: url("../img/home-hero-comp-pasta-wine.jpg") 30% 50% / cover no-repeat;
    filter: blur(36px) brightness(.42) saturate(.8) sepia(.35);
  }
  .hero--home .hero__media img {
    position: absolute; top: 0; right: 0; width: 80%; height: 100%; object-position: 88% 50%;   /* bowl and wine glass in frame */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%);
    mask-image: linear-gradient(to right, transparent 0, #000 32%);
  }
  .hero--home .hero__media::after {   /* 900-1199px: the copy takes more of the width, so the dark reaches further */
    background:
      linear-gradient(to right, rgba(41, 35, 30, .9) 0%, rgba(41, 35, 30, .84) 48%, rgba(41, 35, 30, .3) 68%, rgba(41, 35, 30, 0) 82%),
      linear-gradient(to top, rgba(41, 35, 30, .35), rgba(41, 35, 30, 0) 40%);
  }
  .hero--home .hero__content { padding-block: var(--s-7); }
  .hero--home .hero__lede { max-width: 30ch; }
  .hero--home .hero__actions .btn { min-width: 205px; min-height: 58px; padding-block: 12px; font-size: 22px; }
}
@media (min-width: 1200px) {
  .hero--home .hero__media img { width: 68%; }
  .hero--home .hero__media::after {
    background:
      linear-gradient(to right, rgba(41, 35, 30, .88) 0%, rgba(41, 35, 30, .72) 34%, rgba(41, 35, 30, .2) 56%, rgba(41, 35, 30, 0) 72%),
      linear-gradient(to top, rgba(41, 35, 30, .35), rgba(41, 35, 30, 0) 40%);
  }
}

/* ---------- 4. Welcome ---------- */
.welcome__grid { display: grid; gap: var(--s-6); align-items: center; }
.welcome__media { aspect-ratio: 385 / 207; }
.welcome__text { max-width: 44ch; margin-top: var(--s-5); color: var(--espresso); }
.welcome__copy .text-link { margin-top: var(--s-3); }
@media (min-width: 900px) {
  .welcome__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .welcome__media { aspect-ratio: auto; height: 352px; }
}

/* ---------- 5. From the kitchen ---------- */
.kitchen .ruled-heading { margin-bottom: var(--s-6); }
.kitchen__grid { display: grid; gap: var(--s-6); }
.feature-card { text-align: center; }
.feature-card__media { aspect-ratio: 239 / 138; margin-bottom: var(--s-4); }
.feature-card__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
.feature-card .text-link { margin-top: var(--s-1); }
@media (min-width: 640px) {
  .kitchen__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
@media (min-width: 900px) {
  .kitchen__grid { gap: 56px; padding-inline: 10px; }
  .kitchen .ruled-heading { margin-bottom: 48px; }
}

/* Whole-card click area (homepage kitchen cards and the events / gift cards panels): the card's one
   link stretches over the card, so there is a single tab stop and the visible link text stays. */
.has-card-link { position: relative; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-card); }
.card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 4px; }
.panel .card-link:focus-visible::after { outline-offset: -3px; }   /* panels clip overflow */
.has-card-link:hover .card-link { color: var(--olive); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.has-card-link .media img { transition: opacity var(--dur) var(--ease); }
.has-card-link:hover .media img { opacity: .92; }

/* ---------- 6. Wine band ---------- */
.wine-band { background: var(--olive-dark); color: var(--ivory); }
.wine-band__grid { display: grid; gap: var(--s-5); padding-block: 0 var(--section-y); }
.wine-band__media { aspect-ratio: 245 / 108; border-radius: 0; margin-inline: calc(-1 * var(--gutter)); }
.wine-band__copy .h2 { margin-bottom: var(--s-2); }
@media (min-width: 640px) {
  .wine-band__media { margin-inline: 0; margin-top: var(--s-6); border-radius: var(--radius-card); }
}
@media (min-width: 900px) {
  .wine-band__grid {
    grid-template-columns: 417px 1fr; align-items: center; gap: 0;
    padding-block: 22px 0;
  }
  .wine-band__media { aspect-ratio: auto; height: 185px; margin: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; align-self: end; }
  .wine-band__copy { padding-left: 216px; }
}

/* ---------- 7. Panels ---------- */
.panels { padding-block: 32px; }
.panels__grid { display: grid; gap: var(--s-5); }
.panel {
  display: grid; grid-template-columns: 42% 1fr;
  background: var(--limestone); border-radius: var(--radius-card); overflow: hidden;
  min-height: 150px;
}
.panel__media { border-radius: 0; }
/* Farro's gift card graphic has text to its edges: show all of it, never crop it. */
.panel__media--contain { background: var(--espresso); }
.panel__media--contain img { object-fit: contain; }
/* Phones: stack photo over text, so the panel photos (and the text in Farro's gift card graphic) are not cropped to a sliver. */
@media (max-width: 639px) {
  .panel { grid-template-columns: 1fr; }
  .panel__media { aspect-ratio: 3 / 2; }
}
.panel__body { display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); padding: var(--s-5) var(--s-5); }
.panel__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; line-height: 1.1; }
.panel .text-link { align-self: flex-start; }
@media (min-width: 900px) {
  .panels__grid { grid-template-columns: 1fr 1fr; gap: 53px; }
  .panel { grid-template-columns: 282px 1fr; min-height: 180px; }
  .panel__body { padding: var(--s-6) 36px; }
}

/* ---------- 8. Visit ---------- */
.visit { padding-bottom: var(--section-y); }
.visit__grid { display: grid; gap: var(--s-6); }
.visit__title { display: flex; align-items: center; gap: var(--s-5); margin-bottom: var(--s-5); }
.visit__title::after { content: ""; flex: 1; height: 1px; background: var(--brass); }
.visit__cols { display: grid; gap: var(--s-5); margin-bottom: var(--s-3); }
.info-heading { font-family: var(--font-sans); font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: var(--s-2); }
.hours { margin: 0; font-variant-numeric: tabular-nums; }
.hours div { display: flex; gap: var(--s-3); }
.hours dt { min-width: 6.2em; color: var(--muted); }
.hours dd { margin: 0; }
.visit__col .text-link { padding-block: 0; min-height: 44px; display: inline-flex; align-items: flex-start; }
.visit__map { position: relative; aspect-ratio: 640 / 276; border: 1px solid var(--border); }
.visit__map-link { display: block; height: 100%; }
.visit__map-link:focus-visible { outline-offset: -4px; }   /* the map box clips overflow */
.visit__map-link:hover img { opacity: .92; }
.map-credit {   /* OpenStreetMap attribution (required); the link is a 24px target (WCAG 2.5.8) */
  position: absolute; right: 0; bottom: 0;
  padding: 0 8px; background: rgba(255, 253, 248, .92); color: var(--espresso);
  font-size: 12px; line-height: 24px; border-top-left-radius: var(--radius-control);
}
.map-credit a { color: inherit; display: inline-block; min-height: 24px; }
@media (min-width: 640px) {
  .visit__cols { grid-template-columns: 1.15fr 1fr 1fr; gap: var(--s-5); }
}
@media (min-width: 900px) {
  .visit__map { aspect-ratio: auto; height: 235px; }
  .visit__title { margin-bottom: var(--s-6); }
}
/* Info beside the map only from 1200px: at 900-1199 the fixed 545px map left the info too narrow (overflow). */
@media (min-width: 1200px) {
  .visit__grid { grid-template-columns: minmax(0, 1fr) 545px; gap: 105px; align-items: center; }
}
@media (min-width: 1200px) {
  .visit__info { max-width: 700px; }
}

/* ---------- 9. Footer ---------- */
.site-footer { background: var(--olive-dark); color: var(--ivory); }
.site-footer__inner {
  display: grid; gap: var(--s-4); justify-items: start;
  padding-block: var(--s-7);
}
.wordmark--footer { font-size: 40px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); margin-left: calc(-1 * var(--s-3)); }
.footer-nav a { color: var(--ivory); }
.footer-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); font-weight: 500; text-decoration: none; }
.footer-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 1200px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto; align-items: center; gap: 0;
    min-height: 190px; padding-block: var(--s-6);
  }
  .wordmark--footer { font-size: 54px; margin-right: 56px; }
  .footer-nav { border-left: 1px solid rgba(248, 245, 238, .55); padding-left: 44px; min-height: 92px; display: flex; align-items: center; }
  .footer-nav ul { margin-left: 0; gap: 0; }
  .footer-nav a { font-size: 16px; padding-inline: 11px; }
  .footer-phone { border-left: 1px solid rgba(248, 245, 238, .55); padding-left: 56px; min-height: 92px; font-size: 18px; }
}

/* =====================================================================
   Subpages (menu, events, catering, reservations, gift cards, email updates, contact)
   ===================================================================== */
.cta-band { --focus: var(--ivory); }

/* Eyebrow on dark heroes */
.eyebrow--light { color: var(--limestone); }
.hero .eyebrow { max-width: 520px; margin-bottom: var(--s-5); }

/* Shorter photo hero for subpages */
.hero--page { min-height: 480px; }
.hero--page .hero__title { max-width: 600px; }
.hero--page .hero__lede { max-width: 34ch; }
@media (min-width: 900px) {
  .hero--page { min-height: 500px; }
  .hero--page .hero__media { left: 34%; }
}

/* Generic title with a brass rule after it */
.ruled-title { display: flex; align-items: center; gap: var(--s-5); margin-bottom: var(--s-5); }
.ruled-title::after { content: ""; flex: 1; min-width: 32px; height: 1px; background: var(--brass); }

.nowrap { white-space: nowrap; }
.note { margin-top: var(--s-3); font-size: 15px; font-style: italic; color: var(--muted); }
.fine-print { margin-top: var(--s-4); font-size: 14px; font-style: italic; color: var(--muted); }
.feature-card__text { max-width: 30ch; margin: var(--s-1) auto 0; color: var(--muted); }

/* Split: copy beside a photo */
.split { display: grid; background: var(--ivory); }
.split--band { background: var(--limestone); }
.split__media { margin: 0; overflow: hidden; background: var(--limestone); aspect-ratio: 3 / 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); background: none; aspect-ratio: auto; }
.split__media--pair .media { aspect-ratio: 4 / 5; }
.split__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--s-7) var(--gutter); }
.split__copy .eyebrow { width: min(100%, 420px); }
.split__title { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; margin-bottom: var(--s-4); }
.split__text { max-width: 40ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; }
.split__copy .h2 + .split__text { margin-top: var(--s-4); }
.split__copy .split__text + .text-link { margin-top: var(--s-3); }
.split__copy .h2 + .text-link { margin-top: var(--s-4); }   /* heading straight onto a link (Events, "Dinner and a show") */
.split__copy .hero__actions { margin-top: var(--s-5); }
.split--inset { padding: var(--s-5) var(--gutter) 0; }
.split--inset .split__media:not(.split__media--pair) { border-radius: var(--radius-card); }
.split--inset .split__copy { padding-inline: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 420px; }
  .split--hero { min-height: 540px; }
  .split__media { position: relative; aspect-ratio: auto; min-height: 100%; }
  .split__media:not(.split__media--pair) > img { position: absolute; inset: 0; }
  .split--media-right .split__media { order: 2; }
  .split--media-right .split__copy { padding: var(--s-8) var(--s-8) var(--s-8) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
  .split--media-left .split__copy, .split--band .split__copy { padding: var(--s-8) max(var(--gutter), calc((100vw - var(--container)) / 2)) var(--s-8) var(--s-8); }
  .split--inset {
    max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto;
    padding: var(--s-7) var(--gutter); gap: var(--s-8); min-height: 0; align-items: center;
  }
  .split--inset .split__copy { padding: 0; }
  .split--inset .split__media:not(.split__media--pair) { aspect-ratio: 3 / 2; min-height: 0; }
  .split--band { min-height: 380px; }
}

/* Events: schedule */
.schedule { max-width: 760px; margin-bottom: var(--s-4); font-variant-numeric: tabular-nums; }
.schedule li { display: grid; grid-template-columns: 6.5em 1fr; gap: 0 var(--s-4); padding-block: 10px; border-bottom: 1px solid var(--border); }
.schedule__date { font-weight: 600; }
.schedule__time { grid-column: 2; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) {
  .schedule li { grid-template-columns: 9em 1fr auto; }
  .schedule__time { grid-column: auto; font-size: inherit; }
}

/* Dark call-to-action band */
/* Lighter olive than the footer, with a brass hairline between them (comps). Ivory on olive is 7.3:1. */
.cta-band { background: var(--olive); color: var(--ivory); border-bottom: 1px solid var(--brass); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-7); padding-block: var(--s-7); }
.cta-band__title { font-size: var(--fs-h2); }
.cta-band__phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); font-size: clamp(22px, 2vw, 30px); text-decoration: none; }
.cta-band__phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.cta-band .text-link--light { font-size: 18px; }
@media (min-width: 900px) {
  .cta-band__inner { flex-wrap: nowrap; min-height: 200px; gap: 0; }
  .cta-band__inner > * { padding-inline: var(--s-7); }
  .cta-band__inner > :first-child { padding-left: 0; }
  .cta-band__inner > * + * { border-left: 1px solid rgba(248, 245, 238, .55); }
  .cta-band__inner > .btn { border-left: 1px solid var(--ivory); margin-left: var(--s-7); }
  .cta-band__inner > .btn, .cta-band__inner > .cta-band__phone { min-height: 56px; }
}

/* Catering */
.fact-strip { display: grid; padding-block: var(--s-2); border-bottom: 1px solid var(--border); }
.fact-strip li { padding: var(--s-4) 0; text-align: center; font-weight: 500; }
.fact-strip li + li { border-top: 1px solid var(--border); }
@media (min-width: 900px) {
  .fact-strip { grid-template-columns: repeat(3, 1fr); }
  .fact-strip li + li { border-top: 0; border-left: 1px solid var(--border); }
}
.catering-menu { display: grid; gap: var(--s-6); }
.catering-menu__photos { display: grid; gap: var(--s-4); }
.catering-menu__photos .menu-feature { aspect-ratio: 3 / 2; }
@media (min-width: 640px) and (max-width: 899px) { .catering-menu__photos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .catering-menu { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .catering-menu__photos { padding-top: 88px; }
  .catering-menu__photos .menu-feature { aspect-ratio: 5 / 2; }
}
.pan-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pan-table thead th { padding: 12px 8px; background: var(--limestone); font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 22px); font-style: italic; font-weight: 500; text-align: center; }
.pan-table thead th:first-child { text-align: left; padding-left: 16px; }
.pan-table tbody tr { border-bottom: 1px solid var(--border); }
.pan-table th[scope="row"] { padding: 12px 8px 12px 16px; text-align: left; font-weight: 600; }
.pan-table th[scope="row"] span { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.pan-table td { width: 4.6em; padding: 12px 6px; text-align: center; }
@media (min-width: 640px) { .pan-table td { width: 7em; } }
.min-table { width: 100%; max-width: 460px; margin-top: var(--s-5); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.min-table caption { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 600; }
.min-table caption span { font-size: 14px; font-weight: 400; color: var(--muted); }
.min-table tr { border-bottom: 1px solid var(--border); }
.min-table th { padding: 8px 0; text-align: left; font-weight: 400; }
.min-table td { padding: 8px 0; text-align: right; font-weight: 500; }
.room .split__copy .ruled-title { width: 100%; }
.room .split__text { max-width: 52ch; font-size: 17px; }

/* Photo with a name/price badge */
.menu-feature { position: relative; }
.photo-badge {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; gap: var(--s-3); padding: 6px 12px;
  background: var(--paper); color: var(--espresso); border-radius: var(--radius-control);
  font-size: 15px; font-weight: 600; line-height: 1.3;
}
.photo-badge__price { font-variant-numeric: tabular-nums; }
.photo-badge--serif { left: 0; right: auto; bottom: 14px; border-radius: 0 var(--radius-control) var(--radius-control) 0; font-family: var(--font-serif); font-size: 20px; font-style: italic; font-weight: 500; }

/* Limestone info band (reservations, contact) */
.info-band { background: var(--limestone); padding-block: var(--s-7); }
.info-band__grid { display: grid; gap: var(--s-6); }
.info-band__col + .info-band__col { border-top: 1px solid var(--brass); padding-top: var(--s-6); }
.info-band__title { margin-bottom: var(--s-3); font-size: var(--fs-h3); font-weight: 500; }
.info-band p { margin-bottom: var(--s-1); }
@media (min-width: 900px) {
  .info-band__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .info-band__col { padding-right: var(--s-6); }
  .info-band__col + .info-band__col { border-top: 0; padding-top: 0; border-left: 1px solid var(--brass); padding-left: var(--s-6); }
}

/* Contact details */
.contact-list { display: grid; gap: var(--s-4); margin: var(--s-5) 0 0; }
.contact-list dt { font-size: 15px; font-weight: 600; }
.contact-list dd { margin: 0; }
.contact-list .text-link { padding-block: 10px; }

/* Menu page */
.menu-nav { position: sticky; top: 0; z-index: 30; background: rgba(248, 245, 238, .97); border-bottom: 1px solid var(--border); }
.menu-nav__list { display: flex; gap: 4px; overflow-x: auto; padding: 10px 4px; scrollbar-width: thin; }
.menu-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius-control); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.menu-nav__list a:hover { background: var(--limestone); }
.menu-nav__list a[aria-current] { background: var(--olive); color: #fff; }
.menu-nav__list a:focus-visible { outline-offset: 1px; }
/* Without JS the browser jumps to the section: 48px clears the ~65px sticky bar once the section padding is added. */
.menu-section { padding-block: var(--s-6); scroll-margin-top: 48px; }
.menu-section:first-child { padding-top: var(--s-7); }
.menu-section--band { margin-block: var(--s-5); padding-block: var(--s-7); background: var(--limestone); }
.menu-section__grid { display: grid; gap: var(--s-5); }
.menu-section__title { display: flex; align-items: center; gap: var(--s-5); margin-bottom: var(--s-2); }
.menu-section__title::after { content: ""; flex: 1; min-width: 32px; height: 1px; background: var(--brass); }
.menu-section__aside { display: grid; gap: var(--s-5); align-content: start; }
.menu-section__aside .menu-feature { aspect-ratio: 4 / 3; }
.menu-sub { margin: var(--s-5) 0 var(--s-1); font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.menu-item { padding-block: 14px; border-bottom: 1px solid var(--border); }
.menu-item__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.menu-item__name { font-size: 18px; font-weight: 600; line-height: 1.35; }
.menu-item__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-item__desc { margin-top: 2px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.menu-item__warning { margin-top: 4px; font-size: 13.5px; font-style: italic; line-height: 1.45; color: var(--muted); }
.menu-item__flag {
  display: inline-block; margin-left: var(--s-2); padding: 1px 8px; vertical-align: 2px;
  border: 1px solid var(--wine); border-radius: var(--radius-control);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; color: var(--wine);
}
.menu-warning { padding-block: var(--s-6) var(--s-8); text-align: center; font-family: var(--font-serif); font-size: 19px; font-style: italic; color: var(--muted); }
@media (min-width: 640px) and (max-width: 899px) {
  .menu-section__aside { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .menu-list--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-8); }
  .menu-section__grid--aside { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
  .menu-section__aside { padding-top: 72px; }
  .menu-section--band .menu-section__grid--aside { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .menu-section--band .menu-section__aside { order: -1; padding-top: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
