/* ============================================================
   DOVE + DEER — "The Heirloom Tavern"
   Design tokens and system per DESIGN.md
   ============================================================ */

:root {
  /* Color tokens */
  --green-950: #0C2416;
  --green-900: #123020;
  --green-700: #25523A;
  --cream: #F4F1E6;
  --bone: #E9E4D2;
  --ink: #1B2A20;
  --ink-soft: #4A5A4E;
  --brass: #8A6320;
  --brass-deep: #7A571C; /* brass for bone surfaces — #8A6320 is 4.24:1 on bone, this is 5.14:1 */
  --brass-bright: #C89B4B;
  --cream-on-dark: #EFEBDC;
  --hairline: rgba(27, 42, 32, 0.18);
  --hairline-dark: rgba(239, 235, 220, 0.22);

  /* Type */
  --font-display: "Gelasio", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --container: 1200px;
}

/* ---------- Wandering impressionist dove ---------- */
.wandering-dove {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: clamp(76px, 8vw, 118px);
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 5px 8px rgba(12, 36, 22, 0.18));
  animation: dove-flight 31s cubic-bezier(0.42, 0, 0.58, 1) 2s infinite;
  transform: translate3d(-140px, 18vh, 0) rotate(-4deg);
}
.wandering-dove-bob {
  animation: dove-bob 1.8s ease-in-out infinite;
}
.wandering-dove img {
  width: 100%;
  height: auto;
}
@keyframes dove-flight {
  0%   { transform: translate3d(-140px, 18vh, 0) rotate(-4deg) scaleX(1); }
  16%  { transform: translate3d(24vw, 10vh, 0) rotate(3deg) scaleX(1); }
  34%  { transform: translate3d(77vw, 30vh, 0) rotate(-2deg) scaleX(1); }
  49%  { transform: translate3d(calc(100vw + 140px), 16vh, 0) rotate(2deg) scaleX(1); }
  50%  { transform: translate3d(calc(100vw + 140px), 64vh, 0) rotate(4deg) scaleX(-1); }
  67%  { transform: translate3d(68vw, 74vh, 0) rotate(-3deg) scaleX(-1); }
  84%  { transform: translate3d(21vw, 52vh, 0) rotate(2deg) scaleX(-1); }
  100% { transform: translate3d(-140px, 70vh, 0) rotate(-4deg) scaleX(-1); }
}
@keyframes dove-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 600px) {
  .wandering-dove { width: 72px; animation-duration: 25s; opacity: 0.92; }
}
@media (prefers-reduced-motion: reduce) {
  .wandering-dove { display: none; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 var(--space-2); }
p { margin: 0 0 var(--space-2); }
a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 180ms ease; }
a:hover { color: var(--green-700); }

/* Focus visibility (keyboard) */
:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-bright); }

/* Visually hidden, available to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-900); color: var(--cream-on-dark);
  padding: 0.75rem 1.25rem; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.on-dark .label { color: var(--brass-bright); }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.tabular { font-variant-numeric: tabular-nums; }

/* Ornament divider (wing | antler) */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2); color: var(--brass); padding: var(--space-2) 0;
}
.ornament svg { width: 44px; height: 28px; flex: none; }
.ornament-glyph {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 500;
  line-height: 1; flex: none; transform: translateY(-2px);
}
.ornament::before, .ornament::after {
  content: ""; flex: 0 1 120px; border-top: 1px solid var(--hairline);
}
.on-dark .ornament { color: var(--brass-bright); }
.on-dark .ornament::before, .on-dark .ornament::after { border-color: var(--hairline-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.7rem 1.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--green-900); cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.btn-solid { background: var(--green-900); color: var(--cream); }
.btn-solid:hover { background: transparent; color: var(--green-900); }
.btn-outline { background: transparent; color: var(--green-900); }
.btn-outline:hover { background: var(--green-900); color: var(--cream); }
.on-dark .btn { border-color: var(--cream-on-dark); }
.on-dark .btn-solid { background: var(--cream-on-dark); color: var(--green-950); }
.on-dark .btn-solid:hover { background: transparent; color: var(--cream-on-dark); }
.on-dark .btn-outline { color: var(--cream-on-dark); }
.on-dark .btn-outline:hover { background: var(--cream-on-dark); color: var(--green-950); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-2); min-height: 76px;
}
.brand {
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: 0.32em; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand .plus { color: var(--brass); }
.brand-est { display: block; font-size: 0.6rem; letter-spacing: 0.42em; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a {
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 0.5rem 0.15rem;
  border-bottom: 2px solid transparent; transition: border-color 180ms ease, color 180ms ease;
}
.site-nav a:hover { color: var(--brass); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--brass); }
.nav-cta { border: 2px solid var(--green-900); padding: 0.55rem 1.1rem !important; }
.nav-cta:hover { background: var(--green-900); color: var(--cream) !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--hairline);
  min-width: 48px; min-height: 48px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
/* On phones the nav folds into the hamburger — Hours and Order stay out
   in the header bar: the most-asked question and the money action are
   always one tap away. */
.header-hours, .header-order {
  display: none;
  font-weight: 700; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 0.5rem 0.3rem;
  white-space: nowrap;
}
.header-hours:hover, .header-order:hover { color: var(--brass); }
.header-order { color: var(--green-900); border: 2px solid var(--green-900); padding: 0.35rem 0.55rem; }
.header-order:hover { background: var(--green-900); color: var(--cream); }

/* The Toast handoff leaves the site — say so */
a[href*="toasttab"]:not(.brand)::after { content: " \2197"; font-size: 0.85em; }
@media (max-width: 860px) {
  .header-inner { min-height: 62px; }
  .menu-nav { top: 62px; }
  .menu-section { scroll-margin-top: 118px; }
  .nav-toggle { display: inline-flex; }
  .header-hours { display: inline-block; margin-left: auto; }
  .header-order { display: inline-block; padding: 0.35rem 0.4rem; }
  /* keep the four header items on one line down to small phones */
  .header-inner { gap: 0.4rem; }
  .header-hours, .header-order { font-size: 0.7rem; letter-spacing: 0.08em; }
  .header-hours { padding: 0.5rem 0.2rem; }
  .brand { letter-spacing: 0.2em; font-size: 0.92rem; }
  .brand-est { letter-spacing: 0.28em; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--hairline);
    padding: var(--space-2) clamp(1.25rem, 4vw, 2.5rem) var(--space-3);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--hairline); }
  .nav-cta { border: 2px solid var(--green-900); text-align: center; margin-top: var(--space-2); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: flex; align-items: center;
}
.hero > .container { width: 100%; }

/* Scroll cue at the base of the hero */
.scroll-cue {
  position: absolute; left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 7px;
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase;
  padding: 0.5rem 0.9rem;
}
.scroll-cue:hover { color: var(--brass); }
.scroll-cue svg { color: var(--brass); animation: cue-drift 2.4s ease-in-out infinite; }
@keyframes cue-drift {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  55% { transform: translateY(7px); opacity: 0.45; }
}
@media (max-height: 580px) { .scroll-cue { display: none; } }
/* On phones the page obviously continues — the cue is desktop furniture */
@media (max-width: 860px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: var(--space-2) 0 var(--space-3);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--green-700); white-space: nowrap; }
/* "Reestablished 2024." must fit on one line even on the smallest phones */
@media (max-width: 350px) { .hero h1 { font-size: 2.05rem; } }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: var(--space-4); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Arch frame — signature shape from the printed menus */
.arch {
  border-radius: 999px 999px 0 0;
  background: var(--green-900);
  color: var(--cream-on-dark);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  border: 1px solid var(--green-950);
  box-shadow: inset 0 0 0 6px var(--green-900), inset 0 0 0 7px var(--hairline-dark);
}
.arch .crest { width: min(240px, 72%); height: auto; color: var(--cream-on-dark); }
.arch-caption {
  margin-top: var(--space-3); font-size: 0.78rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--brass-bright); font-weight: 700;
}
.crest-word {
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem;
  letter-spacing: 0.24em; color: var(--brass-bright);
  margin: var(--space-2) 0 0;
}
/* "Open archway" hero: the arch as a brass keyline on cream instead of a
   solid green door — the mark sits on the page, larger, and the hero
   rhymes with the outlined arch menu cards below. */
.arch-open {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--brass);
  box-shadow: inset 0 0 0 5px var(--cream), inset 0 0 0 6px var(--hairline);
}
.arch-open .crest { width: min(320px, 88%); }
.arch-open .crest-word { color: var(--green-900); font-size: 1.5rem; }
.arch-open .arch-caption { color: var(--brass); font-size: 0.68rem; letter-spacing: 0.22em; white-space: nowrap; }
.footer-word {
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.3em;
  color: var(--cream-on-dark); margin: 0 0 var(--space-2);
}
/* The "+" in every DOVE + DEER lockup carries the brand brass,
   matching the header wordmark. */
.crest-word .plus { color: var(--brass); }
.arch:not(.arch-open) .crest-word .plus { color: var(--brass-bright); }
.footer-word .plus { color: var(--brass-bright); }
@media (max-width: 860px) {
  /* Mobile hero: compact arch so the headline and Order button share
     the first screen — phone visitors come for menus and hours */
  .hero { min-height: 0; padding-top: 1.25rem; padding-bottom: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-art { order: -1; max-width: 330px; margin-inline: auto; width: 100%; }
  .hero-art .arch { padding: 2rem 1.7rem 1.5rem; }
  .hero-art .crest-word { font-size: 1.15rem; margin-top: 0.7rem; }
  .hero-art .arch-caption { font-size: 0.68rem; margin-top: 0.8rem; }
  /* nowrap caption must clear the narrower open arch on phones */
  .hero-art .arch-open .arch-caption { font-size: 0.58rem; letter-spacing: 0.18em; }
}

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  overflow: hidden; white-space: nowrap; padding: 0.8rem 0;
  background: var(--bone);
}
.ticker-track { display: inline-flex; gap: 3rem; padding-left: 1rem; animation: ticker 42s linear infinite; }
/* Pause-to-read is mouse-only: on touch screens a tap "hovers" forever and freezes the ticker */
@media (hover: hover) and (pointer: fine) {
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
.ticker span {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-soft);
}
.ticker span::after { content: "·"; margin-left: 3rem; color: var(--brass); }
/* Second copy of the items exists only to make the loop seamless */
.ticker-repeat { display: contents; }
.ticker-repeat::after { content: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Reduce Motion: the ticker exists to move — without motion it has no job,
   so it's replaced (not just hidden) by a still bone band carrying the
   wing|antler ornament. This preserves the cream → bone → cream rhythm
   that separates the hero from the menus, so the page still flows. */
.rest-divider { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ticker { display: none; }
  .rest-divider {
    display: block; background: var(--bone);
    border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    padding: 0.5rem 0;
  }
  .rest-divider .ornament { padding: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-alt { background: var(--bone); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-alt .label { color: var(--brass-deep); }

/* Editorial split */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse { grid-template-columns: 7fr 5fr; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } }

/* ---------- Menu preview cards ---------- */
.menu-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (max-width: 1080px) { .menu-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .menu-cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.menu-card {
  border-radius: 999px 999px 0 0;
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: clamp(2.25rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem) clamp(1.75rem, 3vw, 2.25rem);
  text-align: center; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  transition: background-color 220ms ease, border-color 220ms ease;
}
.menu-card svg { width: 54px; height: 54px; color: var(--brass); transition: color 220ms ease; }
.menu-card h3 { font-size: 1.6rem; margin: 0; }
.menu-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.menu-card .card-hours { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--brass); }
.menu-card:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream-on-dark); }
.menu-card:hover p { color: color-mix(in srgb, var(--cream-on-dark) 75%, transparent); }
.menu-card:hover svg, .menu-card:hover .card-hours { color: var(--brass-bright); }
/* The card whose service is running right now stays lit in green —
   same treatment as hover — so the current menu reads at a glance. */
.menu-card.is-live { background: var(--green-900); border-color: var(--brass-bright); color: var(--cream-on-dark); }
.menu-card.is-live p { color: color-mix(in srgb, var(--cream-on-dark) 75%, transparent); }
.menu-card.is-live svg, .menu-card.is-live .card-hours { color: var(--brass-bright); }
.menu-card.is-live .live-badge { color: var(--brass-bright); }

/* ---------- Dark sections (Dove After Dark, mission, footer) ---------- */
.on-dark {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(200, 155, 75, 0.10), transparent 60%),
    var(--green-950);
  color: var(--cream-on-dark);
}
.on-dark h2, .on-dark h3 { color: var(--cream-on-dark); }
.on-dark p { color: color-mix(in srgb, var(--cream-on-dark) 82%, transparent); }
.on-dark a { color: var(--brass-bright); }
.on-dark a:hover { color: var(--cream-on-dark); }

/* Mission statement */
.mission { text-align: center; }
.mission blockquote {
  margin: 0 auto; max-width: 46rem;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35;
  color: var(--cream-on-dark);
}
.mission cite { display: block; margin-top: var(--space-3); font-style: normal; }

/* ---------- Hours ---------- */
/* "Hours" in the header nav jumps here — clear the sticky header on arrival */
#hours { scroll-margin-top: 100px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table caption { text-align: left; padding-bottom: var(--space-2); }
.hours-table th, .hours-table td {
  text-align: left; padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--hairline); font-size: 1rem;
}
.hours-table th { font-weight: 700; }
/* Day ranges never break mid-range ("Sat–" / "Sun") */
.hours-table td:nth-child(2) { white-space: nowrap; }
.nowr { white-space: nowrap; }
.hours-note { font-size: 0.85rem; font-style: italic; color: var(--ink-soft); margin-top: var(--space-2); }
.open-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--hairline); padding: 0.45rem 0.9rem; border-radius: 999px;
}
.open-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); }
.open-chip.is-open .dot { background: #2E7D46; }
.open-chip.is-open { color: #21633A; border-color: #2E7D46; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.perk-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass); border: 1px solid var(--brass);
  padding: 0.45rem 0.9rem; border-radius: 999px;
}
.perk-chip svg { flex: none; }

/* ---------- Live gas-lamp indicators ----------
   The lamp is lit = that service is running. Flame flickers like gaslight,
   a warm halo radiates outward ("we're on"); static under
   prefers-reduced-motion; hidden entirely without JS. */
.live-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  position: relative; color: var(--brass);
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.live-badge[hidden] { display: none; }
.live-badge .lamp { flex: none; position: relative; z-index: 1; }
/* radiating "it's on" ring, centered on the lamp glass */
.live-badge::before {
  content: ""; position: absolute; z-index: 0;
  left: -5.5px; top: 50%; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 168, 63, 0.55), rgba(233, 168, 63, 0) 70%);
  transform: translateY(-50%) scale(0.5); opacity: 0;
  animation: lamp-radiate 2.8s ease-out infinite;
}
.on-dark .live-badge, .menu-card:hover .live-badge {
  color: var(--brass-bright);
}
.lamp-flame { animation: lamp-flicker 3.2s ease-in-out infinite; }
.lamp-halo { animation: lamp-flicker-halo 3.2s ease-in-out infinite; }

/* Hours tables: every row carries a lantern at the left; the live row's is lit
   and its text illuminates. Unlit lanterns are dim outlines (no flame). */
.row-lamp {
  display: inline-flex; position: relative; margin-right: 0.55rem;
  vertical-align: -4px; color: var(--ink-soft); opacity: 0.45;
}
.row-lamp .lamp { position: relative; z-index: 1; }
.row-lamp .lamp-flame, .row-lamp .lamp-halo { opacity: 0; animation: none; }
.row-lamp::before {
  content: ""; position: absolute; z-index: 0;
  left: -5.5px; top: 50%; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 168, 63, 0.55), rgba(233, 168, 63, 0) 70%);
  transform: translateY(-50%) scale(0.5); opacity: 0;
}
.row-lamp.lit { color: var(--brass); opacity: 1; }
.row-lamp.lit .lamp-flame { opacity: 1; animation: lamp-flicker 3.2s ease-in-out infinite; }
.row-lamp.lit .lamp-halo { opacity: 0.22; animation: lamp-flicker-halo 3.2s ease-in-out infinite; }
.row-lamp.lit::before { animation: lamp-radiate 2.8s ease-out infinite; }
.hours-table tr.row-live th, .hours-table tr.row-live td {
  background: color-mix(in srgb, #E9A83F 16%, var(--bone));
}
@keyframes lamp-radiate {
  0% { transform: translateY(-50%) scale(0.45); opacity: 0.85; }
  70% { opacity: 0.12; }
  100% { transform: translateY(-50%) scale(2.1); opacity: 0; }
}
@keyframes lamp-flicker {
  0%, 100% { opacity: 1; } 7% { opacity: 0.7; } 11% { opacity: 0.95; }
  28% { opacity: 0.8; } 34% { opacity: 1; } 52% { opacity: 0.75; }
  60% { opacity: 0.97; } 78% { opacity: 0.85; }
}
@keyframes lamp-flicker-halo {
  0%, 100% { opacity: 0.26; } 7% { opacity: 0.14; } 11% { opacity: 0.24; }
  28% { opacity: 0.17; } 34% { opacity: 0.26; } 52% { opacity: 0.15; }
  60% { opacity: 0.24; } 78% { opacity: 0.18; }
}
@media (prefers-reduced-motion: reduce) {
  .lamp-flame, .lamp-halo, .row-lamp.lit .lamp-flame, .row-lamp.lit .lamp-halo { animation: none; }
  .lamp-halo { opacity: 0.22; }
  .row-lamp .lamp-flame, .row-lamp .lamp-halo { opacity: 0; }
  .row-lamp.lit .lamp-flame { opacity: 1; }
  .row-lamp.lit .lamp-halo { opacity: 0.22; }
  .live-badge::before, .row-lamp.lit::before {
    animation: none; transform: translateY(-50%) scale(1); opacity: 0.3;
  }
  .row-lamp:not(.lit)::before { opacity: 0; }
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3rem, 7vw, 5rem) 0 var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-6); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-bright); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand svg, .footer-brand img { width: 150px; height: auto; color: var(--cream-on-dark); margin-bottom: var(--space-2); }
.footer-legal {
  border-top: 1px solid var(--hairline-dark); padding-top: var(--space-3);
  display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between;
  font-size: 0.85rem; color: color-mix(in srgb, var(--cream-on-dark) 60%, transparent);
}

/* ============================================================
   MENUS PAGE
   ============================================================ */
.menu-nav {
  position: sticky; top: 76px; z-index: 90;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  overflow-x: auto;
}
.menu-nav-inner { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.menu-nav a {
  padding: 1rem 0.25rem; white-space: nowrap;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent;
}
.menu-nav a:hover { color: var(--brass); }
.menu-nav a.active { color: var(--brass); border-bottom-color: var(--brass); }
.menu-nav .order-link { margin-left: auto; color: var(--brass); }
.menu-nav .order-link:hover { color: var(--green-700); }

/* Menus page closing invitation */
.menu-close { text-align: center; border-top: 1px solid var(--hairline); }
.menu-close h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.menu-close p { color: var(--ink-soft); max-width: 32rem; margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-3); }

.menu-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; scroll-margin-top: 140px; }
.menu-section + .menu-section { border-top: 1px solid var(--hairline); }
.menu-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); justify-content: space-between; margin-bottom: var(--space-2); }
.menu-title h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0; }
.menu-meta { color: var(--ink-soft); font-size: 0.95rem; }
.menu-note { color: var(--ink-soft); font-size: 0.95rem; font-style: italic; }
.menu-download { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.menu-columns { columns: 2; column-gap: clamp(2.5rem, 6vw, 5rem); margin-top: var(--space-4); }
@media (max-width: 860px) { .menu-columns { columns: 1; } }
.menu-group { break-inside: avoid; margin-bottom: var(--space-6); }
.menu-group > h3 {
  font-size: 1.5rem; padding-bottom: 0.6rem; margin-bottom: var(--space-2);
  border-bottom: 2px solid var(--green-900);
}
/* Group notes carry the add-ons and choices — gilded like the rest of the menu */
.menu-group-note { font-size: 0.9rem; color: var(--brass); font-weight: 600; font-style: italic; margin: -0.25rem 0 var(--space-2); }
/* Sub-groupings within one menu group (wine: white / red / rosé) */
.menu-subhead {
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin: var(--space-3) 0 var(--space-2); break-after: avoid;
}
.menu-section.on-dark .menu-subhead { color: var(--brass-bright); }

.menu-item { margin-bottom: var(--space-3); break-inside: avoid; }
.menu-group > h3 { break-after: avoid; }
.menu-group-note { break-after: avoid; }
.item-line { display: flex; align-items: baseline; gap: 0.6rem; }
.item-line .name { font-weight: 700; font-size: 1.02rem; letter-spacing: 0.02em; }
.item-line .dots { flex: 1; border-bottom: 1px dotted var(--hairline); transform: translateY(-4px); min-width: 1.5rem; }
.item-line .price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green-700); }
.menu-item .desc { color: var(--ink-soft); font-size: 0.95rem; margin: 0.2rem 0 0; }
.menu-item .addon { display: block; font-size: 0.85rem; color: var(--brass); font-weight: 700; margin-top: 0.2rem; }

/* Drinks section arrives on dark green, like the printed list */
.menu-section.on-dark { border-top: 0; }
.menu-section.on-dark .menu-group > h3 { border-bottom-color: var(--brass-bright); }
.menu-section.on-dark .item-line .price { color: var(--brass-bright); }
.menu-section.on-dark .menu-item .desc { color: color-mix(in srgb, var(--cream-on-dark) 72%, transparent); }
.menu-section.on-dark .item-line .dots { border-color: var(--hairline-dark); }
.menu-section.on-dark .menu-item .addon { color: var(--brass-bright); }
.menu-section.on-dark .menu-group-note { color: var(--brass-bright); }
.menu-section.on-dark .menu-meta, .menu-section.on-dark .menu-note { color: color-mix(in srgb, var(--cream-on-dark) 70%, transparent); }

/* ============================================================
   STORY PAGE — timeline
   ============================================================ */
.timeline-grid {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.timeline-art { position: sticky; top: 110px; text-align: center; }
.art-caption {
  margin: var(--space-3) auto 0; max-width: 15rem; line-height: 1.9;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--brass);
}
@media (max-width: 860px) {
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline-art { position: static; max-width: 320px; margin-inline: auto; width: 100%; }
}
.timeline { list-style: none; margin: var(--space-6) 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 1px; background: var(--hairline);
}
.timeline li { position: relative; padding: 0 0 var(--space-6) var(--space-6); }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--brass);
}
.timeline .year { font-family: var(--font-display); font-size: 1.9rem; color: var(--green-700); display: block; }
.timeline h3 { font-size: 1.3rem; margin: 0.3rem 0 0.4rem; }
.timeline p { color: var(--ink-soft); max-width: 38rem; margin: 0; }

/* ============================================================
   VISIT PAGE
   ============================================================ */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.info-card { border: 1px solid var(--hairline); padding: var(--space-4); background: var(--cream); }
.info-card h3 { font-size: 1.4rem; }
.info-card .big-link { font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; }

/* ============================================================
   MOTION — "candlelight, not neon": every animation settles,
   nothing loops except flame and ticker. All off under
   prefers-reduced-motion.
   ============================================================ */

/* Reveal on scroll — hiding is scoped to .js (stamped by an inline head
   script) so the page is fully readable with JavaScript disabled. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 500ms ease-out, transform 500ms ease-out; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Hero entrance — staggered rise on page load */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero .label { animation: rise-in 550ms ease-out backwards; }
.hero h1 { animation: rise-in 550ms ease-out 90ms backwards; }
.hero-lede { animation: rise-in 550ms ease-out 180ms backwards; }
.hero-ctas { animation: rise-in 550ms ease-out 270ms backwards; }
.hero-art { animation: rise-in 650ms ease-out 160ms backwards; }

/* Section headings — a brass rule draws itself when the head reveals.
   Without JS the rule is simply there at full width. */
.section-head.reveal h2::after {
  content: ""; display: block; width: 72px; height: 2px;
  background: var(--brass); margin-top: 0.65rem;
}
.js .section-head.reveal h2::after { width: 0; transition: width 700ms ease 250ms; }
.js .section-head.reveal.visible h2::after { width: 72px; }

/* Timeline dots kindle as each era scrolls into view */
.timeline li::before { transition: background-color 500ms ease, border-color 500ms ease, box-shadow 500ms ease; }
.timeline li.visible::before {
  background: var(--brass); border-color: var(--brass);
  box-shadow: 0 0 10px rgba(233, 168, 63, 0.5);
}

/* Menu cards lift toward the hand */
.menu-card { transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease; }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(27, 42, 32, 0.12); }

/* Buttons acknowledge the press */
.btn { transition: background-color 180ms ease, color 180ms ease, transform 120ms ease; }
.btn:active { transform: scale(0.97); }

/* Story page: the streetlamp burns brighter when "Today" arrives */
.timeline-art .lamp-halo, .timeline-art .lamp-flame {
  transform-box: fill-box; transform-origin: center;
  transition: transform 900ms ease;
}
.timeline-art.lamp-bright .lamp-halo { transform: scale(1.45); }
.timeline-art.lamp-bright .lamp-flame { transform: scale(1.18); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .label, .hero h1, .hero-lede, .hero-ctas, .hero-art { animation: none; }
  .js .section-head.reveal h2::after { width: 72px; transition: none; }
  .timeline li::before, .menu-card, .btn { transition: none; }
  .menu-card:hover { transform: none; }
  .timeline-art .lamp-halo, .timeline-art .lamp-flame { transition: none; }
  .timeline-art.lamp-bright .lamp-halo, .timeline-art.lamp-bright .lamp-flame { transform: none; }
}
