/*
 * Barbara's Family Restaurant — styles.css
 * A hand-painted roadside signboard that learned to talk.
 * Anton (block) + Yellowtail (script) + Libre Franklin (body), on warm cream,
 * ruled once in mustard, punctuated by the blue A-frame roof-peak.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #B63A32;          /* Signboard Brick Red */
  --color-primary-dark: #8E2A24;     /* Deep Brick */
  --color-primary-light: #E7C9C2;    /* Faded Sign Wash */
  --color-secondary: #263746;        /* A-Frame Slate Blue */
  --color-accent: #D9A441;           /* Sign-Panel Mustard Gold */
  --color-bg: #FFF5E4;               /* Painted-Board Cream */
  --color-surface: #FFFDF8;          /* Placemat White */
  --color-text: #60483A;             /* Wood-Panel Brown */
  --color-text-secondary: #6E5647;   /* Weathered Brown */
  --color-text-on-primary: #FFF5E4;  /* cream on red */
  --color-border: #E3D3B4;           /* Sign-Panel Rule Tan */

  --font-primary: 'Anton', 'Arial Narrow', sans-serif;
  --font-secondary: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Yellowtail', 'Brush Script MT', cursive;

  --font-size-base: 16px;
  --spacing-base: 8px;
  --shell: 1180px;

  --motion-duration: 240ms;
  --motion-duration-slow: 420ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  padding-bottom: 42px; /* required */
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Skip navigation link — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Reveal / entrance gating — content visible WITHOUT JS.
   Hidden states apply ONLY under html.js.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--motion-ease), transform .6s var(--motion-ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

.entrance { }
html.js .entrance { opacity: 0; transform: translateY(14px); transition: opacity var(--motion-duration-slow) var(--motion-ease), transform var(--motion-duration-slow) var(--motion-ease); }
html.js body.js-animated .entrance { opacity: 1; transform: none; }
.entrance--1 { transition-delay: 80ms; }
.entrance--2 { transition-delay: 200ms; }
.entrance--3 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .entrance, html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none !important; }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(56px, 9vw, 108px); }
main { display: block; }

/* Roof-peak — the site's only recurring ornament, cropped from the client's real logo art. */
.peak {
  display: block;
  width: 40px; aspect-ratio: 200 / 109; margin: 0 auto;
  background-image: url('/images/roof-peak.png');
  background-image: image-set(url('/images/roof-peak.webp') 1x);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
.peak--sm { width: 32px; }
.peak--lg { width: 74px; }

/* Menu-board plate heading: Anton caps, mustard rule above + below. */
.plate { text-align: center; }
.plate__peak { margin-bottom: 14px; }
.plate__title {
  font-family: var(--font-primary);
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.0;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  display: inline-block;
  padding: 12px 4px;
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.plate__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 60ch;
  margin: 18px auto 0;
  line-height: 1.5;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 { font-weight: 400; }
.display, .h1, h1 { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; color: var(--color-primary); }
h2 { font-family: var(--font-primary); text-transform: uppercase; line-height: 1.02; color: var(--color-primary); }
p { max-width: 66ch; }

.script { font-family: var(--font-script); font-weight: 400; line-height: 1.15; }

/* ============================================================
   Buttons / CTAs — restrained; the design wins, not the button.
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-secondary); font-weight: 700;
  font-size: 0.9375rem; text-decoration: none;
  padding: 12px 22px; border-radius: 6px;
  border: 2px solid transparent;
  transition: background var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
  cursor: pointer;
}
.btn--primary { background: var(--color-primary); color: var(--color-text-on-primary); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--color-primary-dark); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--color-primary); color: var(--color-text-on-primary); }
/* Mustard outline only legal on the dark slate field */
.btn--ondark { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn--ondark:hover, .btn--ondark:focus-visible { background: var(--color-accent); color: var(--color-secondary); }

.link-arrow {
  font-family: var(--font-secondary); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.85rem; color: var(--color-primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease);
}
.link-arrow:hover, .link-arrow:focus-visible { border-bottom-color: var(--color-primary); }

/* ============================================================
   Navigation — a miniature of the sign panel (cream board, one mustard rule)
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 200; }
.nav {
  display: flex; align-items: center; gap: 16px;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 68px;
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-accent);
  transition: background var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
}
.nav__brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.nav__logo-img { height: 56px; width: auto; max-width: 200px; display: block; }
/* Wide brand mark — real type + the roof art, side by side. Swaps in only where there's genuinely
   room to breathe (see the min-width query below); the stacked raster mark covers every narrower case. */
.nav__brand-wide { display: none; align-items: center; gap: 12px; }
.nav__brand-icon { height: 44px; width: auto; display: block; }
.nav__brand-text { display: flex; flex-direction: column; }
.nav__brand-script { font-family: var(--font-script); color: var(--color-primary); font-size: 1.55rem; line-height: 0.85; }
.nav__brand-block {
  font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--color-secondary); font-size: 0.8rem; line-height: 1;
  margin-top: 3px; padding-bottom: 3px; border-bottom: 2px solid var(--color-accent);
}
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav__link {
  font-family: var(--font-secondary);
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
  color: var(--color-text); text-decoration: none;
  transition: color var(--motion-duration) var(--motion-ease);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link[aria-current="page"] { color: var(--color-primary); }

.nav__phone {
  background: var(--color-primary); color: var(--color-text-on-primary);
  font-family: var(--font-secondary); font-weight: 700; font-size: 0.9375rem;
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  transition: background var(--motion-duration) var(--motion-ease);
}
.nav__phone:hover, .nav__phone:focus-visible { background: var(--color-primary-dark); }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle-bar { width: 24px; height: 2px; background: var(--color-text); transition: transform var(--motion-duration) var(--motion-ease), opacity var(--motion-duration) var(--motion-ease); }

/* Home: nav transparent over the cream hero, logo suppressed (one mark above the fold). */
.site-header--home .nav.is-over-hero { background: transparent; border-bottom-color: transparent; }
.site-header--home .nav.is-over-hero .nav__brand { opacity: 0; pointer-events: none; }

/* ============================================================
   HERO — the signboard, rebuilt in live type
   ============================================================ */
.hero {
  min-height: 86vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 48px) 0;
  background-color: var(--color-bg);
  background-image: linear-gradient(rgba(255,245,228,0.55), rgba(255,245,228,0.55)), url('/images/texture-cream-board.png');
  background-size: cover; background-position: center;
  position: relative;
}
.hero__peak { margin-bottom: clamp(14px, 3vh, 28px); }
.hero__mark { position: relative; display: inline-block; text-align: center; margin: 0 auto; }
.hero__mark { max-width: 100%; }
.hero__script {
  display: block;
  font-family: var(--font-script); color: var(--color-primary);
  font-size: clamp(3rem, 10vw, 7rem); line-height: 0.9;
  transform: rotate(-3deg);
  position: relative; z-index: 2;
  margin-bottom: -0.1em;
  text-shadow: 1px 2px 0 rgba(142,42,36,0.12);
}
.hero__block {
  display: block;
  font-family: var(--font-primary); color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 0.015em;
  font-size: clamp(2.3rem, 8.4vw, 6.2rem); line-height: 0.92;
  position: relative; z-index: 1;
  overflow-wrap: break-word;
}
.hero__rule {
  width: min(680px, 90%); margin: clamp(20px, 4vh, 36px) auto clamp(14px, 2.5vh, 22px);
  border: 0; border-top: 2px solid var(--color-accent);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: clamp(24px, 4vh, 40px); }
.hero__open-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-primary); color: var(--color-text-on-primary);
  font-family: var(--font-secondary); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 8px 16px; border-radius: 999px;
}
.hero__open-dot { width: 9px; height: 9px; border-radius: 50%; background: #8FD08A; box-shadow: 0 0 0 3px rgba(143,208,138,0.3); }

/* Marquee — the site's single perpetual motion; everything else holds still */
.marquee {
  width: 100%; overflow: hidden; margin-top: clamp(22px, 4vh, 40px);
  border-top: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  background: rgba(255,253,248,0.6);
  padding-block: 11px;
}
.marquee__track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 34s linear infinite;
  font-family: var(--font-secondary); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8125rem; font-weight: 600; color: var(--color-text-secondary);
}
.marquee__track span { padding-inline: 4px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Hero marquee runs full-bleed edge to edge */
.hero .marquee { align-self: stretch; width: auto; max-width: none; margin-inline: calc(-1 * clamp(20px, 5vw, 48px)); }

/* ============================================================
   FOOD BAND — appetite answering the sign; one plate doubled in scale
   ============================================================ */
.food { background: var(--color-bg); }
.food__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.food__eyebrow-rule { width: 64px; border: 0; border-top: 2px solid var(--color-accent); margin-bottom: 16px; }
.food h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.0; }
.food__lead { margin-top: 12px; color: var(--color-text-secondary); font-size: 1.05rem; }
.food__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 10px;
}
.plate-card {
  position: relative; border: 1px solid var(--color-border); border-radius: 6px;
  overflow: hidden; background: var(--color-surface);
}
.plate-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
  aspect-ratio: 3 / 4;
}
.plate-card--anchor img { aspect-ratio: 3 / 4; }
.plate-card:hover img { transform: scale(1.03); }
.plate-card__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(38,55,70,0.82), rgba(38,55,70,0));
  color: var(--color-bg); padding: 26px 14px 12px;
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
}
.plate-card:hover .plate-card__cap, .plate-card:focus-within .plate-card__cap { opacity: 1; transform: none; }

/* ============================================================
   ABOUT TEASER / birthday line — the one dark panel, hand-scripted
   ============================================================ */
.birthday {
  background: var(--color-secondary);
  color: var(--color-bg);
  text-align: center;
  padding-block: clamp(56px, 9vw, 104px);
  position: relative;
}
.birthday__line {
  font-family: var(--font-script); color: var(--color-bg);
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.25;
  max-width: 22ch; margin: 0 auto;
}
.birthday__link { margin-top: 26px; }
.birthday .link-arrow { color: var(--color-accent); }
.birthday .link-arrow:hover, .birthday .link-arrow:focus-visible { border-bottom-color: var(--color-accent); }

/* ============================================================
   MENU TEASER
   ============================================================ */
.menu-teaser { background: var(--color-bg); }
.menu-teaser__grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.menu-teaser__body { min-width: 0; }
.menu-teaser__list {
  list-style: none; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 34px;
}
.menu-teaser__media {
  border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; min-width: 0;
  align-self: stretch; display: flex;
}
.menu-teaser__media img { width: 100%; object-fit: cover; object-position: center; }

/* Dot-leader menu row (shared by teaser + full menu). The ▲ roof-peak is the bullet. */
.menu-item {
  position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px;
  font-family: var(--font-secondary); color: var(--color-text);
  padding: 6px 0 6px 18px;
}
.menu-item::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 8px solid var(--color-secondary);
}
.menu-item__name { font-weight: 700; }
.menu-item__leader { flex: 1 1 auto; border-bottom: 1px dotted var(--color-text-secondary); transform: translateY(-4px); margin: 0 4px; min-width: 18px; }
.menu-item__price { font-weight: 700; color: var(--color-text); white-space: nowrap; }
.menu-item__desc { flex-basis: 100%; width: 100%; font-weight: 400; font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.45; margin-top: 2px; }

/* ============================================================
   VISIT STRIP (home)
   ============================================================ */
.visit-strip { background: var(--color-bg); }
.visit-strip__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.visit-strip__col { min-width: 0; }
.visit-strip h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 0.95; }
.hours-headline {
  font-family: var(--font-primary); text-transform: uppercase; color: var(--color-secondary);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.05; margin: 18px 0 8px;
}
.visit-strip__addr { font-size: 1.0625rem; color: var(--color-text); margin-bottom: 22px; }
.visit-strip__cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.visit-strip__media { border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; }
.visit-strip__media img { width: 100%; object-fit: cover; object-position: center 40%; aspect-ratio: 4/3; }

/* Info row with icons */
.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; }
.info-list i { color: var(--color-primary); font-size: 1.3rem; line-height: 1.4; flex: 0 0 auto; }
.info-list a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid transparent; }
.info-list a:hover { border-bottom-color: var(--color-primary); color: var(--color-primary); }

/* ============================================================
   FOOTER — dark slate field, capped by the same roof ornament (its cream gable reads fine on dark)
   ============================================================ */
.site-footer { position: relative; background: var(--color-secondary); color: var(--color-bg); margin-top: 0; }
.site-footer__peak { display: flex; justify-content: center; padding-top: clamp(28px, 5vw, 44px); }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(48px, 7vw, 76px);
}
.footer-col { min-width: 0; }
.footer-brand__plate {
  display: inline-block; background: var(--color-bg); padding: 12px 16px; border-radius: 6px;
  border-bottom: 3px solid var(--color-accent);
}
.footer-brand__plate img { height: 46px; width: auto; max-width: 160px; }
/* Wide brand mark for the footer — cream type reads fine directly on the dark field, no plate needed. */
.footer-brand-wide { display: none; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-icon { height: 40px; width: auto; display: block; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-script { font-family: var(--font-script); color: var(--color-bg); font-size: 1.4rem; line-height: 0.85; }
.footer-brand-block {
  font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--color-bg); font-size: 0.72rem; line-height: 1;
  margin-top: 3px; padding-bottom: 3px; border-bottom: 2px solid var(--color-accent);
}
.footer-tagline { font-family: var(--font-script); font-size: 1.6rem; color: var(--color-bg); margin-top: 18px; line-height: 1.2; }
.footer-col h3 {
  font-family: var(--font-secondary); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8125rem; font-weight: 700; color: var(--color-accent); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col li { font-size: 0.9375rem; line-height: 1.4; }
.footer-col a { color: var(--color-bg); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--motion-duration) var(--motion-ease); }
.footer-col a:hover, .footer-col a:focus-visible { border-bottom-color: var(--color-accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--color-accent); font-size: 1.05rem; flex: 0 0 auto; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,245,228,0.18); padding-block: 20px;
  font-size: 0.8125rem; color: rgba(255,245,228,0.82); text-align: center;
}

/* ============================================================
   MENU PAGE
   ============================================================ */
.page-head { background: var(--color-bg); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(30px, 4vw, 52px); text-align: center; }
.page-head .peak { margin-bottom: 16px; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.page-head__lead { max-width: 60ch; margin: 20px auto 0; color: var(--color-text-secondary); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; }
.menu-body { background: var(--color-bg); }
.menu-cats { columns: 2; column-gap: clamp(32px, 5vw, 64px); }
.menu-cat { break-inside: avoid; margin-bottom: 40px; display: inline-block; width: 100%; }
.menu-cat__panel {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
}
.menu-cat__header {
  font-family: var(--font-primary); text-transform: uppercase; color: var(--color-primary);
  border-top: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  padding: 10px 0; margin: 0 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.05;
  display: flex; align-items: center; gap: 12px;
}
.menu-cat__header .peak { margin: 0; flex: 0 0 auto; }
.menu-cat__note { font-size: 0.9rem; color: var(--color-text-secondary); font-style: italic; margin-bottom: 14px; line-height: 1.4; }
.menu-cat__sub { font-family: var(--font-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--color-secondary); margin: 18px 0 8px; }
.menu-list { list-style: none; }
.menu-cat__media { border-radius: 6px; overflow: hidden; margin: 16px 0 4px; border: 1px solid var(--color-border); }
.menu-cat__media img { width: 100%; object-fit: cover; aspect-ratio: 16/10; object-position: center 45%; }
.menu-cat__media figcaption { font-size: 0.8rem; color: var(--color-text-secondary); padding: 8px 10px; background: var(--color-surface); }

/* Specials chalkboard callout */
.specials {
  background: var(--color-secondary);
}
.specials__grid { display: grid; grid-template-columns: 0.8fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.specials__media { border: 8px solid #4a3826; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,0.35); background:#1a1a1a; }
.specials__media img { width: 100%; object-fit: cover; object-position: center; aspect-ratio: 3/4; }
.specials__body { color: var(--color-bg); min-width: 0; }
.specials__body h2 { color: var(--color-accent); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.specials__list { list-style: none; margin-top: 22px; display: grid; gap: 18px; }
.specials__list dt { font-family: var(--font-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); font-size: 0.85rem; margin-bottom: 4px; }
.specials__list dd { font-size: 1.05rem; line-height: 1.5; }
.specials__note { margin-top: 26px; font-size: 0.95rem; color: rgba(255,245,228,0.82); font-style: italic; border-left: 3px solid var(--color-accent); padding-left: 14px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story { background: var(--color-bg); }
.story__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__body { min-width: 0; }
.story__body p { margin-bottom: 18px; font-size: 1.0625rem; }
.story__body p:last-child { margin-bottom: 0; }
.story__media { border-radius: 8px; overflow: hidden; border: 1px solid var(--color-border); }
.story__media img { width: 100%; object-fit: cover; object-position: center 55%; aspect-ratio: 4/3; }
.story__media figcaption { font-size: 0.8rem; color: var(--color-text-secondary); padding: 10px 12px; background: var(--color-surface); }

.inside { background: var(--color-bg); }
.gallery {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 1fr; gap: 12px;
}
.gallery figure { position: relative; border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; background: var(--color-surface); margin: 0; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform var(--motion-duration-slow) var(--motion-ease); }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(38,55,70,0.8), rgba(38,55,70,0));
  color: var(--color-bg); padding: 26px 12px 10px; font-size: 0.82rem; font-weight: 600;
}
.gallery__lead { grid-row: span 2; }

/* ============================================================
   VISIT PAGE
   ============================================================ */
.visit { background: var(--color-bg); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit__col { min-width: 0; }
.visit__hours-fact { font-family: var(--font-primary); text-transform: uppercase; color: var(--color-primary); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 0.98; margin-bottom: 8px; }
.visit__hours-sub { font-size: 1.05rem; color: var(--color-text-secondary); margin-bottom: 30px; }
.visit__block { margin-bottom: 30px; }
.visit__block h2 { font-size: 1.5rem; color: var(--color-secondary); margin-bottom: 12px; }
.visit__media { border-radius: 8px; overflow: hidden; border: 1px solid var(--color-border); margin-bottom: 16px; }
.visit__media img { width: 100%; object-fit: cover; object-position: center 45%; aspect-ratio: 4/3; }
.map-frame { border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Contact form */
.contact { text-align: center; }
.contact__lead { max-width: 60ch; margin: 0 auto 32px; color: var(--color-text-secondary); font-size: 1.05rem; line-height: 1.5; }
.contact-form { max-width: 640px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label { font-family: var(--font-secondary); font-weight: 700; font-size: 0.9rem; color: var(--color-text); }
.contact-form__optional { font-weight: 400; color: var(--color-text-secondary); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-secondary); font-size: 1rem; color: var(--color-text);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 6px;
  padding: 12px 14px; transition: border-color var(--motion-duration) var(--motion-ease);
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { align-self: flex-start; }
.contact__alt { max-width: 640px; margin: 22px auto 0; color: var(--color-text-secondary); font-size: 0.95rem; }
.contact__alt a { font-weight: 700; }

/* ============================================================
   404
   ============================================================ */
.err { min-height: 66vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--color-bg); padding: 80px 24px; }
.err h1 { font-size: clamp(3rem, 10vw, 7rem); }
.err p { margin: 18px auto 28px; color: var(--color-text-secondary); }

/* ============================================================
   Responsive
   ============================================================ */
/* Wide brand mark only where the nav has genuine room to spare — the stacked raster
   mark handles every viewport up through small laptops without any risk of crowding. */
@media (min-width: 1100px) {
  .nav__brand-wide { display: inline-flex; }
  .nav__logo-img { display: none; }
}
@media (min-width: 768px) {
  .footer-brand-wide { display: inline-flex; }
  .footer-brand__plate { display: none; }
}
@media (max-width: 960px) {
  .menu-teaser__grid, .visit-strip__grid, .story__grid, .visit__grid, .specials__grid { grid-template-columns: 1fr; }
  .menu-teaser__media, .specials__media { max-width: 480px; }
  .food__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .food__grid .plate-card--last { display: none; }
  .menu-cats { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { height: 60px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 60px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-surface); border-bottom: 2px solid var(--color-accent);
    padding: 8px clamp(20px, 5vw, 48px) 18px;
    box-shadow: 0 20px 34px rgba(38,55,70,0.16);
    transform: translateY(-130%); transition: transform var(--motion-duration-slow) var(--motion-ease);
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--color-border); }
  /* On mobile the transparent-over-hero suppression is disabled so the logo shows in the bar */
  .site-header--home .nav.is-over-hero { background: var(--color-surface); border-bottom-color: var(--color-accent); }
  .site-header--home .nav.is-over-hero .nav__brand { opacity: 1; pointer-events: auto; }

  .hero { min-height: 78vh; }
  /* Masthead flips to a full stack, gaining presence — not shrinking to illegibility */
  .hero__script { transform: rotate(-3deg); margin-bottom: 0; margin-left: 0; text-align: center; font-size: clamp(2.8rem, 16vw, 5rem); }
  .hero__block { font-size: clamp(2.4rem, 15vw, 4.6rem); }
  .hero__mark { text-align: center; }

  /* Food band becomes a horizontal snap-scroll rail; the doubled plate leads */
  .food__grid {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 10px;
  }
  .food__grid .plate-card { scroll-snap-align: start; }
  .food__grid .plate-card--last { display: block; }
  .food__grid .plate-card--anchor { grid-column: auto; }
  .plate-card__cap { opacity: 1; transform: none; } /* touch: captions always shown */

  .menu-teaser__list { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__lead { grid-row: span 1; grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn, .hero__ctas .hero__open-tag { width: 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__lead { grid-column: span 1; }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* vietnamese */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/1Ptgg87LROyAm3K8-C8CSKlvPfE.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/1Ptgg87LROyAm3K9-C8CSKlvPfE.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/1Ptgg87LROyAm3Kz-C8CSKlv.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Yellowtail';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/OZpGg_pnoDtINPfRIlLohlXHwWL9f4nluA.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Yellowtail';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/OZpGg_pnoDtINPfRIlLohlvHwWL9f4k.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
