/* =====================================================================
   Chuster’s Specialty: styles.css
   Plain CSS, mobile-first. No frameworks, no preprocessors.

   COLOR PAIRS & CONTRAST RATIOS (WCAG 2.x relative luminance)
   ---------------------------------------------------------------------
   Text (needs >= 4.5:1, large >= 3:1)
     Brown-900 #24150C on Cream #FFF8EC ............ 16.75:1  body text
     Brown-900 #24150C on White #FFFFFF ............ 17.68:1  cards, panels
     Brown-600 #5C4636 on Cream #FFF8EC ............  8.34:1  muted text
     Brown-600 #5C4636 on White #FFFFFF ............  8.81:1  muted text
     Red-700   #B91C1C on Cream #FFF8EC ............  6.13:1  prices, links
     Red-700   #B91C1C on White #FFFFFF ............  6.47:1  prices, links
     White     #FFFFFF on Red-700 #B91C1C ..........  6.47:1  red buttons, CTA band
     White     #FFFFFF on Red-800 #991B1B ..........  8.31:1  red button hover
     Cream     #FFF8EC on Red-700 #B91C1C ..........  6.13:1  outline buttons on CTA band
     White     #FFFFFF on Brown-900 #24150C ........ 17.68:1  header, footer
     White     #FFFFFF on Brown-800 #3B2416 ........ 14.48:1  hero (12.67:1 at lightest wood-grain stripe)
     Gold-500  #F5B700 on Brown-900 #24150C ........  9.81:1  eyebrow, footer headings, nav current
     Gold-500  #F5B700 on Brown-800 #3B2416 ........  8.04:1  hero accents (7.03:1 at lightest stripe)
     Brown-900 #24150C on Gold-500 #F5B700 .........  9.81:1  gold buttons
     Brown-900 #24150C on Gold-100 #FFE8A3 ......... 14.59:1  today's row in hours table
     Red-700   #B91C1C on Gold-100 #FFE8A3 .........  5.34:1  "(Today)" tag
     Sand      #E8D9C5 on Brown-900 #24150C ........ 12.77:1  footer body text
     Sand      #E8D9C5 on Brown-800 #3B2416 ........ 10.46:1  hero body text
   NOT USED for text (verified failing):
     Gold #F5B700 on Red #B91C1C = 3.59:1 (large text only, so avoided)
     Red  #B91C1C on Brown #24150C = 2.73:1 (fails, so never used)

   Non-text / UI (needs >= 3:1)
     Focus ring Brown-900 on Cream / White ......... 16.75:1 / 17.68:1
     Focus ring Gold-500 on Brown-900 / Brown-800 ..  9.81:1 / 8.04:1
     Focus ring White on Red-700 (CTA band) ........  6.47:1
     Status icon Green-700 #166534 on Cream ........  6.75:1  "Open" (filled circle + check)
     Status icon Amber-800 #8A5A00 on Cream ........  5.61:1  "Opening soon" (clock)
     Status icon Red-700  #B91C1C on Cream .........  6.13:1  "Closed" (square with X)
     Outline buttons: Brown-900 border on Cream 16.75:1, Cream border on Brown 16.75:1
     Gold button edge on Brown-900 .................  9.81:1
   ===================================================================== */

/* ---------- 1. Custom properties ---------- */
:root {
  /* Color */
  --brown-900: #24150C;
  --brown-800: #3B2416;
  --brown-600: #5C4636;
  --red-700: #B91C1C;
  --red-800: #991B1B;
  --gold-500: #F5B700;
  --gold-400: #FFC933;
  --gold-100: #FFE8A3;
  --cream: #FFF8EC;
  --sand: #E8D9C5;
  --white: #FFFFFF;
  --green-700: #166534;
  --amber-800: #8A5A00;
  --line: #E9DCC8;           /* decorative borders only */

  /* Context-dependent tokens (overridden on dark / red surfaces) */
  --text: var(--brown-900);
  --text-muted: var(--brown-600);
  --link: var(--red-700);
  --focus: var(--brown-900);

  /* Type */
  --font-display: "Bowlby One", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-pad: 3.5rem;

  /* Radii & shadows */
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(36, 21, 12, 0.08), 0 2px 6px rgba(36, 21, 12, 0.06);
  --shadow: 0 2px 4px rgba(36, 21, 12, 0.06), 0 10px 28px rgba(36, 21, 12, 0.10);

  /* Layout (header height is measured by JS; this is the fallback) */
  --header-h: 5rem;
  --action-bar-h: 4.5rem;
  --container: 75rem;
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* No fixed px font-size: respects the user's browser setting. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--cream);
  overflow-wrap: break-word;
}

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

img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-4);
  overflow-wrap: break-word;
  hyphens: auto;
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

address { font-style: normal; }

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 0.15em; }

strong { font-weight: 700; }

[hidden] { display: none !important; }

/* ---------- 3. Focus: highly visible on every interactive element ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.25rem;
}
/* Fallback for very old browsers without :focus-visible */
@supports not selector(:focus-visible) {
  :focus {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }
}

/* Surfaces that flip the focus ring and link colors */
.site-header,
.site-footer,
.wood,
.panel--wood {
  --text: var(--white);
  --text-muted: var(--sand);
  --link: var(--gold-500);
  --focus: var(--gold-500);
}
.cta {
  --text: var(--white);
  --text-muted: var(--cream);
  --link: var(--white);
  --focus: var(--white);
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow { max-width: 48rem; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.icon--ext { width: 0.85em; height: 0.85em; }
.icon--lg { width: 1.6em; height: 1.6em; }

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1000;
  padding: var(--space-3) var(--space-5);
  min-height: 2.75rem;
  background: var(--gold-500);
  color: var(--brown-900);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;               /* 44px */
  min-width: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 2px solid transparent;      /* becomes visible in forced-colors mode */
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn--sm { padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.25rem; padding: 0.8rem 1.6rem; font-size: 1.0625rem; }

.btn--gold { background: var(--gold-500); color: var(--brown-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--brown-900); }

.btn--red { background: var(--red-700); color: var(--white); }
.btn--red:hover { background: var(--red-800); color: var(--white); }

.btn--outline-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline-light:hover { background: var(--cream); color: var(--brown-900); }

.btn--outline-dark { border-color: var(--brown-900); color: var(--brown-900); background: transparent; }
.btn--outline-dark:hover { background: var(--brown-900); color: var(--white); }

.btn--social {
  background: var(--white);
  color: var(--brown-900);
  border-color: var(--brown-900);
  min-width: 13rem;
}
.btn--social:hover { background: var(--brown-900); color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn-row--center { justify-content: center; }

.btn-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

/* ---------- 7. Decorative textures (aria-hidden in markup) ---------- */
/* Wood grain: very low-contrast stripes; text ratios above account for the lightest stripe. */
.wood {
  background-color: var(--brown-800);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(88deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 31px),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.025) 0 3px, transparent 3px 53px);
  color: var(--text);
}

/* Papel picado banner: flags drawn with gradients, zig-zag edge with a mask */
.papel-picado {
  height: 2.25rem;
  border-top: 2px solid rgba(255, 248, 236, 0.35);
  background:
    radial-gradient(circle at 50% 45%, rgba(36, 21, 12, 0.35) 0 0.16rem, transparent 0.19rem) 0 0 / 0.75rem 0.75rem,
    linear-gradient(90deg,
      var(--red-700) 0 23%, transparent 23% 25%,
      var(--gold-500) 25% 48%, transparent 48% 50%,
      var(--cream) 50% 73%, transparent 73% 75%,
      #D9472F 75% 98%, transparent 98%) 0 0 / 18rem 100%;
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 0.5rem) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom / 1rem 0.5rem repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 0.5rem) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom / 1rem 0.5rem repeat-x;
  opacity: 0.85;
}

/* ---------- 8. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown-900);
  color: var(--text);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-block: var(--space-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-right: auto;
  color: var(--white);
  text-decoration: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.05;
}
.brand__line2 {
  display: block;
  color: var(--gold-500);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--cream);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__label {
  /* Accessible name; visually hidden on the icon-only button */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Nav is visible by default (works without JS). */
.site-nav {
  order: 10;                   /* sits on its own row under the logo on small screens */
  flex-basis: 100%;
}
.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  padding-block: var(--space-1);
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-3);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav__list a:hover { border-bottom-color: var(--sand); }
.site-nav__list a[aria-current="page"] {
  color: var(--gold-500);
  border-bottom-color: var(--gold-500);   /* shape + color, not color alone */
}

/* Only once JS has wired the toggle do we collapse the menu on small screens. */
@media (max-width: 47.99em) {
  .nav-ready .site-nav { display: none; }
  .nav-ready .site-nav.is-open { display: block; }
  .nav-ready .site-nav__list {
    flex-direction: column;
    padding-bottom: var(--space-3);
  }
  .nav-ready .site-nav__list a { width: 100%; }
}

/* The fixed mobile action bar carries "Order Online" on small screens,
   so the header copy is hidden only while that bar is fixed. */
@media (max-width: 47.99em) and (min-height: 30em) {
  .header-order { display: none; }
}

@media (min-width: 48em) {
  .nav-toggle { display: none; }
  .site-nav {
    order: 0;
    flex-basis: auto;
  }
  .site-nav__list { gap: 0; }
  .brand__name { font-size: 1.25rem; }
}

@media (min-width: 72em) {
  .brand__line2 { display: inline; }
  .brand__name { font-size: 1.375rem; }
}

/* On short viewports (landscape phones, heavy zoom) nothing is sticky,
   so fixed bars can never obscure focused content (WCAG 2.4.11). */
@media (max-height: 30em) {
  .site-header { position: relative; }
  html { scroll-padding-top: 1rem; }
}

/* ---------- 9. Generic sections ---------- */
.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.section-title {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  color: var(--brown-900);
}
.section-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 0.375rem;
  margin-top: var(--space-3);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--red-700) 0 50%, var(--gold-500) 50%);
}
.section-title--center { text-align: center; }
.section-title--center::after { margin-inline: auto; }

.section-intro {
  max-width: 42rem;
  margin: 0 auto var(--space-6);
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--gold-500);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note {
  margin-top: var(--space-4);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- 10. Hero ---------- */
.hero { color: var(--text); }
.hero__inner {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-6) var(--space-7);
}
.hero__title {
  font-size: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
  color: var(--white);
  margin-bottom: var(--space-3);
}
.hero__sub {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  font-weight: 600;
  color: var(--gold-500);
}
.hero__body {
  max-width: 36rem;
  color: var(--sand);
  font-size: 1.0625rem;
}
.hero .btn-row { margin-top: var(--space-5); }

.hero__media { align-self: center; }

@media (min-width: 56em) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding-block: var(--space-8);
  }
  .media--hero { transform: rotate(1.5deg); }
}

/* ---------- 11. Status line (role="status") ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-2) 0 0;
  padding: var(--space-2) var(--space-4);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--brown-900);
  font-weight: 500;
}
.status__icon { width: 1.375rem; height: 1.375rem; color: var(--amber-800); }
.status[data-state="open"] .status__icon { color: var(--green-700); }
.status[data-state="soon"] .status__icon { color: var(--amber-800); }
.status[data-state="closed"] .status__icon { color: var(--red-700); }
.status__label { font-weight: 700; }
.status__sep { color: var(--brown-600); }

/* ---------- 12. Images & fallbacks ---------- */
/* If a photo is missing, the container keeps a warm gradient and the
   alt text is shown in readable cream text instead of a blank hole. */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--red-700), var(--brown-800));
  color: var(--cream);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
}
.media--hero {
  border-radius: var(--radius-lg);
  border: 6px solid var(--gold-500);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.media--card { aspect-ratio: 4 / 3; }
.media--menu {
  aspect-ratio: 16 / 10;
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-4);
}

/* ---------- 13. About ---------- */
.about {
  max-width: 46rem;
  text-align: center;
  font-size: 1.125rem;
}

/* ---------- 14. Fan favorite cards ---------- */
.card-grid {
  list-style: none;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 40em) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}
.card__title {
  font-size: 1.375rem;
  color: var(--brown-900);
  margin-bottom: var(--space-2);
}
.card__price {
  margin-top: auto;
  padding-top: var(--space-3);
  font-weight: 700;
  color: var(--red-700);
}

/* ---------- 15. Menu ---------- */
.jump { margin-bottom: var(--space-6); }
.jump__list {
  list-style: none;
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-2);           /* room for the focus ring inside the scroller */
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.jump__list li { flex: none; }
.jump__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--brown-900);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--brown-900);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.jump__list a:hover { background: var(--brown-900); color: var(--white); }
@media (min-width: 72em) {
  .jump__list { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
}

.menu-grid { columns: 1; column-gap: var(--space-5); }
@media (min-width: 56em) { .menu-grid { columns: 2; } }

.menu-cat {
  break-inside: avoid;
  display: inline-block;   /* keeps cards whole inside columns across browsers */
  width: 100%;
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.menu-cat__title {
  font-size: 1.5rem;
  color: var(--red-700);
  margin-bottom: var(--space-1);
}
.menu-cat__alt {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brown-600);
}
.menu-cat__desc {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.menu-cat__note {
  padding: var(--space-3) var(--space-4);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.menu-list { list-style: none; }

/* Name, price and description are read together as one list item.
   The dotted leader is an empty, aria-hidden spacer drawn with CSS. */
.item {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(1.5rem, 1fr) auto;
  column-gap: var(--space-2);
  align-items: end;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: 0; }
.item__name { grid-column: 1; grid-row: 1; font-weight: 600; }
.item__leader {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 0.4em;
  border-bottom: 2px dotted rgba(92, 70, 54, 0.45);
}
.item__price {
  grid-column: 3;
  grid-row: 1;
  font-weight: 700;
  color: var(--red-700);
  white-space: nowrap;
}
.item__desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.item--addon .item__name { font-style: italic; font-weight: 500; }
.item--feature {
  margin-top: var(--space-2);
  padding: var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
}
.item--feature .item__desc { color: var(--brown-900); }

.menu-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}

/* ---------- 16. Hours & location ---------- */
.two-col {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 56em) {
  .two-col { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}

.panel {
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.panel--wood {
  border-color: transparent;
  background-color: var(--brown-800);   /* keeps the .wood grain image layers */
  color: var(--text);
}
.panel__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.5rem;
  color: var(--gold-500);
}
.address {
  margin-bottom: var(--space-5);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.hours-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--brown-900);
}
.hours-table th,
.hours-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.hours-table thead th {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--brown-900);
}
.hours-table tbody th {
  font-weight: 600;
  border-left: 0.375rem solid transparent;
}
.hours-table tr.is-closed td { color: var(--text-muted); font-style: italic; }

/* Today's row: background + thick bar + bold + "(Today)" text (never color alone) */
.hours-table tr.is-today th,
.hours-table tr.is-today td {
  background: var(--gold-100);
  font-weight: 700;
  color: var(--brown-900);
}
.hours-table tr.is-today th { border-left-color: var(--red-700); }
.today-tag {
  margin-left: var(--space-1);
  color: var(--red-700);
  font-weight: 700;
}

/* ---------- 17. CTA band ---------- */
.cta {
  position: relative;
  padding-block: var(--space-8);
  text-align: center;
  color: var(--text);
  background-color: var(--red-700);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.06) 0 2px, transparent 3px);
  background-size: 1.5rem 1.5rem, 2rem 2rem;
}
.cta__title {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  color: var(--white);
}
.cta__text {
  font-size: 1.125rem;
  margin-bottom: var(--space-5);
}

/* ---------- 18. Page hero (contact / 404) ---------- */
.page-hero__inner,
.not-found__inner {
  padding-block: var(--space-6) var(--space-7);
}
.page-hero__title {
  font-size: clamp(2.125rem, 1.5rem + 3vw, 3.75rem);
  color: var(--white);
}
.page-hero__intro {
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--sand);
}

.not-found__inner { text-align: center; }
.not-found__inner .page-hero__intro { margin-inline: auto; margin-bottom: var(--space-6); }
.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.5rem + 8vw, 8rem);
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}

/* ---------- 19. Contact cards ---------- */
.contact-grid {
  list-style: none;
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 56em) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--red-700);
  color: var(--white);
}
.contact-card__icon .icon { width: 1.5rem; height: 1.5rem; }
.contact-card__title { font-size: 1.5rem; color: var(--brown-900); }
.contact-card .address { margin-bottom: var(--space-4); }
.contact-card__action { margin-top: auto; padding-top: var(--space-3); }

.big-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* ---------- 20. Map ---------- */
.map {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-4);
}
.map-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  font-weight: 600;
}

/* ---------- 21. FAQ (native details/summary) ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq details {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.faq details[open] { border-color: var(--brown-600); background: var(--white); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 2.75rem;
  padding: var(--space-4) var(--space-5);
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
/* Chevron drawn with borders (no generated text, so nothing extra is announced) */
.faq summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: var(--space-1);
  border-right: 3px solid var(--red-700);
  border-bottom: 3px solid var(--red-700);
  transform: rotate(45deg) translate(-2px, -2px);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__answer { padding: 0 var(--space-5) var(--space-5); }

/* ---------- 22. Follow ---------- */
.follow { text-align: center; }

/* ---------- 23. Footer ---------- */
.site-footer {
  color: var(--sand);
  background-color: var(--brown-900);
}
.site-footer.wood { background-color: var(--brown-900); }

.footer-grid {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7) var(--space-6);
}
@media (min-width: 40em) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr; } }

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-1);
}
.footer-brand__tag {
  color: var(--gold-500);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-heading {
  font-size: 1.125rem;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}
.site-footer .address { font-size: 1rem; margin-bottom: var(--space-2); }
.site-footer a { color: var(--white); }
.site-footer p a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.footer-links { list-style: none; }
.footer-links a[aria-current="page"] { color: var(--gold-500); font-weight: 700; }

.social {
  list-style: none;
  display: flex;
  gap: var(--space-3);
}
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;                       /* 48×48 target */
  height: 3rem;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--cream);
}
.social__link:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--brown-900); }
.social__link .icon { width: 1.375rem; height: 1.375rem; }

.footer-bottom {
  padding-block: var(--space-5);
  border-top: 1px solid rgba(232, 217, 197, 0.25);
  font-size: 0.875rem;
}

/* ---------- 24. Mobile action bar ---------- */
.action-bar { display: none; }

@media (max-width: 47.99em) {
  .action-bar {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
    background: var(--brown-900);
    border-top: 2px solid var(--gold-500);
  }
  .action-bar__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 3rem;                /* 48px */
    padding: var(--space-2) var(--space-3);
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  .action-bar__btn:focus-visible { outline-offset: 2px; }
  .site-footer .action-bar__btn--call { border-color: var(--cream); color: var(--cream); }
  .site-footer .action-bar__btn--order { background: var(--gold-500); color: var(--brown-900); }
}

/* Fixed only when there is enough height; body gets matching bottom padding
   (JS measures the real bar height into --action-bar-h). */
@media (max-width: 47.99em) and (min-height: 30em) {
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.25);
  }
  body { padding-bottom: var(--action-bar-h); }
  html { scroll-padding-bottom: calc(var(--action-bar-h) + 0.5rem); }
}

/* ---------- 25. Motion (all of it opts in via no-preference) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .btn,
  .jump__list a,
  .social__link,
  .site-nav__list a {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .site-header { transition: box-shadow 0.25s ease; }
  .faq summary::after { transition: transform 0.2s ease; }

  /* Scroll reveal: hidden state exists ONLY after JS adds .reveal-ready */
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- 26. Larger screens ---------- */
@media (min-width: 56em) {
  :root { --section-pad: 5rem; }
}

/* ---------- 27. Windows High Contrast / forced colors ---------- */
@media (forced-colors: active) {
  .btn,
  .action-bar__btn,
  .jump__list a,
  .social__link,
  .nav-toggle,
  .status { border: 2px solid ButtonText; }
  .hours-table tr.is-today th { border-left-color: Highlight; }
  .papel-picado { display: none; }
  .section-title::after { background: CanvasText; }
  .icon { forced-color-adjust: auto; }
}

/* ---------- 28. Print ---------- */
@media print {
  .site-header,
  .action-bar,
  .papel-picado,
  .jump,
  .map,
  .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .wood,
  .cta { background: #fff !important; color: #000 !important; }
  .hero__title,
  .page-hero__title,
  .cta__title { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .menu-cat,
  .card,
  .panel { box-shadow: none; }
}

/* ---------- 29. Delivery-app landing pages (/doordash/, /caviar/, …) ---------- */
.hero__title--long { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }

/* Gold on Brown-800: 8.04:1 */
.delivery-note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--gold-500);
  font-weight: 700;
}

.two-col--even { align-items: start; }
@media (min-width: 56em) {
  .two-col--even { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
}
.prose { font-size: 1.0625rem; }

.fee-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
}
@media (min-width: 56em) { .fee-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fee-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.fee-card--direct {
  border: 2px solid var(--red-700);
  background: var(--gold-100);              /* Brown-900 text 14.59:1, Red-700 5.34:1 */
}
.fee-card--direct .btn { align-self: flex-start; margin-top: auto; }
.fee-card__title { font-size: 1.375rem; color: var(--brown-900); margin-bottom: var(--space-2); }
.fee-card__big { font-size: 1.25rem; margin-bottom: var(--space-4); }
.fee-card__big strong { color: var(--red-700); }

/* Decorative stacked bar (aria-hidden). The table below carries the same data as text. */
.fee-bar {
  display: flex;
  height: 1.25rem;
  margin-bottom: var(--space-4);
  overflow: hidden;
  border: 2px solid var(--brown-900);
  border-radius: var(--radius-pill);
  background: var(--cream);
}
.fee-bar__seg { display: block; height: 100%; }
.fee-bar__seg--commission,
.fee-key--commission { background: var(--red-700); }
.fee-bar__seg--card,
.fee-key--card { background: var(--gold-500); }
.fee-bar__seg--service,
.fee-key--service {
  background: repeating-linear-gradient(45deg, var(--brown-800) 0 4px, var(--brown-600) 4px 8px);
}
.fee-key {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-right: var(--space-2);
  border-radius: 3px;
  vertical-align: -0.1em;
}

.fee-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
@media (min-width: 30em) {
  .fee-card { padding: var(--space-5); }
  .fee-table { font-size: 1rem; }
}
.fee-table th,
.fee-table td {
  padding: var(--space-3) var(--space-1);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.fee-table td:last-child,
.fee-table thead th:last-child { text-align: right; font-weight: 700; }
.fee-table thead th {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--brown-900);
}
.fee-table tbody th { font-weight: 600; }
.fee-table tfoot th,
.fee-table tfoot td {
  border-top: 2px solid var(--brown-900);
  border-bottom: 0;
  font-weight: 700;
  font-size: 1.125rem;
}
.fee-table tfoot td:last-child { color: var(--red-700); }

.check-list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.check-list li {
  position: relative;
  padding-left: 2rem;
}
/* Checkmark drawn with borders, so no extra text is announced */
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.2em;
  width: 0.5rem;
  height: 0.9rem;
  border-right: 3px solid var(--green-700);
  border-bottom: 3px solid var(--green-700);
  transform: rotate(45deg);
}

.note--center { text-align: center; }

.picks__title {
  font-size: 1.25rem;
  color: var(--red-700);
  margin: var(--space-5) 0 var(--space-1);
}
.picks__more { margin-top: var(--space-4); font-weight: 600; }
.picks__more a { display: inline-flex; align-items: center; min-height: 2.75rem; }

.disclaimer {
  padding-block: var(--space-5);
  background: var(--cream);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* Footer: links to the delivery-app pages */
.footer-apps {
  padding-bottom: var(--space-5);
}
.footer-apps__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
}
.footer-apps__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.footer-apps__list a[aria-current="page"] { color: var(--gold-500); font-weight: 700; }

@media (forced-colors: active) {
  .fee-bar__seg--commission { background: CanvasText; }
  .check-list li::before { border-color: CanvasText; }
}
/* ---------- 30. Sticky menu category bar (/menu/) ---------- */
.menu-jump {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--cream);
  border-bottom: 2px solid var(--brown-900);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.menu-jump .jump { margin-bottom: 0; }

/* One row that scrolls sideways, at every width: a wrapped bar would eat
   too much of the viewport while stuck. JS scrolls the active pill in. */
.menu-jump .jump__list {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding-block: var(--space-3);
  scroll-behavior: smooth;
}
@media (min-width: 72em) {
  .menu-jump .jump__list { flex-wrap: nowrap; overflow-x: auto; justify-content: center; }
}
.menu-jump .jump__list a[aria-current="true"] {
  background: var(--brown-900);
  color: var(--white);
}

/* Anchor jumps must clear the header AND the sticky bar.
   --jump-h is measured by JS; the fallback covers a no-JS visit. */
.has-sticky-jump { scroll-padding-top: calc(var(--header-h) + var(--jump-h, 4.5rem) + 1rem); }

/* Match the existing rule: on short viewports nothing sticks, so a stuck
   bar can never cover focused content (WCAG 2.4.11). */
@media (max-height: 30em) {
  .menu-jump { position: relative; top: auto; }
  .has-sticky-jump { scroll-padding-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-jump .jump__list { scroll-behavior: auto; }
}

/* ---------- 31. Standalone photo block (about, contact) ---------- */
.media--block {
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  border: 6px solid var(--gold-500);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}
