/* ==========================================================================
   Tacos Costa Sonoma — styles.css
   Mobile-first. Maximalist street-signage look on an accessible foundation.

   Contrast pairs used for text (WCAG 2.x ratios, measured):
     white  on red    #D00207  5.69:1  ✓ normal text
     black  on yellow #DADA3E 14.08:1  ✓
     yellow on black          14.08:1  ✓
     yellow on red-deep #A00005 5.64:1 ✓
     red    on white / cream   5.69 / 5.37:1 ✓
     red    on black / yellow  3.69 / 3.81:1 → LARGE display text & UI only
     white  on yellow          1.49:1  ✗ never used
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("../fonts/permanent-marker-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Metric-adjusted fallback keeps headline wrapping stable while Anton loads. */
@font-face {
  font-family: "Anton Fallback";
  src: local("Impact"), local("Haettenschweiler"), local("Arial Narrow Bold");
  size-adjust: 96%;
  ascent-override: 118%;
}

/* ---------- Tokens ---------- */
:root {
  --color-red: #D00207;
  --color-yellow: #DADA3E;
  --color-black: #000000;
  --color-white: #FFFFFF;

  --color-red-deep: #A00005;
  --color-cream: #FFF8E7;
  --color-ink: #111111;

  --text-on-dark: var(--color-white);
  --text-on-red: var(--color-white);
  --text-on-yellow: var(--color-black);
  --text-on-light: var(--color-black);
  --text-accent-on-dark: var(--color-yellow);
  --text-accent-on-light: var(--color-red);

  --surface-dark: var(--color-black);
  --surface-red: var(--color-red);
  --surface-yellow: var(--color-yellow);
  --surface-light: var(--color-cream);

  --border-color: var(--color-black);
  --border: 3px solid var(--border-color);
  --border-thick: 5px solid var(--border-color);
  --shadow-hard: 6px 6px 0 var(--color-black);

  --focus-color: var(--color-yellow);
  --focus-halo: var(--color-black);

  --font-display: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-accent: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;

  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(4rem, 10vw, 8rem);
  --max: 78rem;
  --slant: clamp(1.5rem, 4vw, 4rem);
  --header-h: 4rem;
  --order-bar-h: 0px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  padding-bottom: var(--order-bar-h);
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 0.95; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Focus: yellow ring with black halo is visible on every brand surface. */
:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
}
:focus:not(:focus-visible) { outline: none; }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -10rem;
  z-index: 1000;
  padding: 0.85rem 1.25rem;
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 800;
  border: var(--border);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Type helpers ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}
.h-xl { font-size: clamp(3.1rem, 12vw, 8.5rem); }
.h-lg { font-size: clamp(2.6rem, 9vw, 6.25rem); }
.h-md { font-size: clamp(1.9rem, 5vw, 3rem); }

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  border: 2px solid currentColor;
}
.eyebrow--solid-black { background: var(--color-black); color: var(--color-yellow); border-color: var(--color-black); }
.eyebrow--solid-yellow { background: var(--color-yellow); color: var(--color-black); border-color: var(--color-yellow); }
.eyebrow--solid-red { background: var(--color-red); color: var(--color-white); border-color: var(--color-red); }

.accent {
  font-family: var(--font-accent);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.lead { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.55; }

.hl-yellow { color: var(--color-yellow); }
.hl-red { color: var(--color-red); } /* large display text only */
.hl-box {
  display: inline-block;
  padding: 0 0.12em;
  background: var(--color-yellow);
  color: var(--color-black);
  transform: rotate(-2deg);
  text-shadow: none;
}
.hl-box--black { background: var(--color-black); color: var(--color-yellow); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--color-yellow);
  --btn-fg: var(--color-black);
  --btn-shadow: var(--color-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--btn-shadow);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--btn-shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--btn-shadow); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--red { --btn-bg: var(--color-red); --btn-fg: var(--color-white); }
.btn--white { --btn-bg: var(--color-white); --btn-fg: var(--color-black); }
.btn--black { --btn-bg: var(--color-black); --btn-fg: var(--color-yellow); --btn-shadow: var(--color-red); border-color: var(--color-black); }
.btn--on-dark { --btn-shadow: var(--color-red); }
.btn--lg { font-size: clamp(1.35rem, 3vw, 1.75rem); min-height: 3.75rem; padding-inline: 2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; }

/* ---------- Status pill (filled by hours.js) ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  background: var(--color-black);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
}
.status::before {
  content: "";
  width: 0.75rem; height: 0.75rem;
  flex: none;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 2px var(--color-black), 0 0 0 3px var(--color-white);
}
.status[data-state="open"]::before { background: #3BD16F; }
.status[data-state="closed"]::before { background: var(--color-red); }

/* ---------- Ornaments ---------- */
.halftone { position: relative; isolation: isolate; }
.halftone::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1.3px, transparent 1.7px);
  background-size: 11px 11px;
}
.halftone--light::after { background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.3px, transparent 1.7px); }

.slant-top {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(var(--section-y) + var(--slant));
}
.slant-top-rev {
  clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(var(--section-y) + var(--slant));
}

.sticker {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  line-height: 1.15;
  background: var(--color-yellow);
  color: var(--color-black);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--color-black);
  transform: rotate(-6deg);
}
.sticker--red { background: var(--color-red); color: var(--color-white); }
.sticker--round {
  display: grid;
  place-items: center;
  width: 8.5rem; height: 8.5rem;
  padding: 1rem;
  border-radius: 50%;
  text-align: center;
}

.frame {
  position: relative;
  border: var(--border-thick);
  background: var(--color-black);
  box-shadow: 10px 10px 0 var(--color-red);
}
.frame--yellow-shadow { box-shadow: 10px 10px 0 var(--color-yellow); }
.frame picture { height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.tape::before {
  content: "";
  position: absolute;
  top: -0.9rem; left: 50%;
  width: 6rem; height: 1.6rem;
  translate: -50% 0;
  rotate: -4deg;
  background: rgba(218, 218, 62, 0.88);
  border: 2px solid rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--color-black);
  border-bottom: 4px solid var(--color-yellow);
}
@media (min-height: 31rem) {
  .site-header { position: sticky; top: 0; }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.4rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 5.25rem; height: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.25rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  border-bottom: 3px solid transparent;
}
.site-nav__link:hover { color: var(--color-yellow); }
.site-nav__link[aria-current="page"] { border-bottom-color: var(--color-red); }
.header-order { gap: 0; font-size: 1.05rem; min-height: 2.75rem; padding: 0.5rem 0.9rem; box-shadow: 4px 4px 0 var(--color-red); }
.header-order:hover { box-shadow: 6px 6px 0 var(--color-red); }

.nav-toggle {
  position: relative;
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.7rem;
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 1.25rem; height: 3px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Without JS the nav simply wraps under the logo. With JS, small screens get a toggle. */
@media (max-width: 63.99rem) {
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .header-actions { display: contents; }
  .no-js .site-nav { order: 3; width: 100%; padding-bottom: 0.5rem; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--color-black);
    border-bottom: 4px solid var(--color-yellow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__link {
    width: 100%;
    min-height: 3.25rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  }
  .js .site-nav__link[aria-current="page"] { color: var(--color-yellow); }
  .js .header-actions { display: flex; align-items: center; gap: 0.6rem; }
}
@media (max-width: 23rem) {
  .header-order .btn__long { display: none; }
  .nav-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .site-nav__list { flex-wrap: nowrap; gap: 0.25rem 0.85rem; }
  .site-nav__link { font-size: 0.85rem; letter-spacing: 0.05em; white-space: nowrap; }
}
@media (min-width: 64rem) {
  .brand img { width: 6.5rem; }
  .site-header__inner { gap: 2rem; }
  .site-nav { margin-left: auto; }
  .header-actions { display: contents; }
}

/* Mobile order bar — appears after the hero has scrolled away. */
.order-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--color-black);
  border-top: 3px solid var(--color-yellow);
  transition: transform 0.25s ease;
}
.order-bar .btn { flex: 1; min-height: 3rem; font-size: 1.15rem; box-shadow: none; }
.order-bar .btn--icon { flex: 0 0 auto; padding-inline: 1rem; }
.order-bar.is-tucked { transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s 0.25s; }
@media (max-width: 47.99rem) and (min-height: 30rem) {
  :root { --order-bar-h: 4.4rem; }
}
@media (min-width: 48rem), (max-height: 29.99rem) {
  .order-bar { display: none; }
}

/* ==========================================================================
   Hero (homepage)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh - var(--header-h), 56rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--color-black);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-black);
}
.hero__poster, .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero__video { opacity: 0; transition: opacity 0.6s ease; }
.hero__video.is-playing { opacity: 1; }
/* Scrim guarantees text contrast on every frame of the video. */
.hero__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.62) 30%, rgba(0, 0, 0, 0.85) 62%, rgba(0, 0, 0, 0.95) 100%);
}
.hero__scrim::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.35) 1.2px, transparent 1.6px);
  background-size: 6px 6px;
}
.hero__content {
  position: relative;
  padding-block: 3rem 2.5rem;
}
.hero__logo {
  width: clamp(9rem, 36vw, 15rem);
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.6));
}
.hero__title { font-size: clamp(3.1rem, min(12vw, 13svh), 8.5rem); margin-bottom: 0.75rem; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.55); }
.hero__title .line { display: block; }
.hero__tagline {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: var(--color-yellow);
  transform: rotate(-2deg);
}
.hero__sub { max-width: 34rem; margin-bottom: 1.75rem; font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 500; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  font-weight: 700;
  font-size: 0.98rem;
}
.hero__facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero__facts svg { width: 1.25rem; height: 1.25rem; color: var(--color-yellow); flex: none; }
.hero__facts a { text-decoration: none; border-bottom: 2px solid var(--color-yellow); }
/* Reserve the status pill's space so it doesn't shift the hero when hours.js reveals it. */
.js .hero__status-slot { min-height: 2.35rem; min-width: 15rem; }

.media-toggle {
  position: absolute;
  right: var(--gutter);
  top: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
  background: rgba(0, 0, 0, 0.78);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.media-toggle:hover { background: var(--color-black); color: var(--color-yellow); border-color: var(--color-yellow); }
.media-toggle svg { width: 1rem; height: 1rem; }

/* Wide screens: the portrait video becomes a tall, angled panel so it stays sharp. */
@media (min-width: 60rem) {
  .hero { align-items: center; min-height: min(100svh - var(--header-h), 54rem); }
  .hero__media {
    left: auto;
    width: 46%;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero__scrim {
    left: auto; width: 46%;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 40%), linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 35%);
  }
  .hero::before {
    /* yellow stripe that traces the angled edge */
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: calc(46% + 1.1rem);
    z-index: -3;
    background: var(--color-yellow);
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero::after {
    /* TCS monogram texture behind the copy */
    content: "";
    position: absolute;
    inset: 0 46% 0 0;
    z-index: -4;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15)),
      url("../images/tcs-monogram-pattern-1024.webp") center / 640px auto repeat;
    opacity: 0.6;
  }
  .hero__content { width: 54%; margin-left: max(var(--gutter), (100% - var(--max)) / 2); padding: 4rem 2rem 4rem 0; }
  .hero__logo { width: 10rem; margin-bottom: 1rem; }
  .media-toggle { top: auto; bottom: 1.25rem; }
}
@media (min-width: 60rem) and (prefers-reduced-transparency: reduce) {
  .hero::after { opacity: 0.25; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 5;
  margin-block: -1.25rem -1.25rem;
  background: var(--color-yellow);
  color: var(--color-black);
  border-block: var(--border-thick);
  transform: rotate(-1.5deg);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  padding-block: 0.6rem;
}
.ticker__group {
  display: flex;
  flex: none;
  gap: 1.5rem;
  padding-right: 1.5rem;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.ticker__group li::after { content: "✶"; margin-left: 1.5rem; color: var(--color-red); }
.ticker__toggle {
  position: absolute;
  right: 0.5rem; top: 50%;
  translate: 0 -50%;
  display: inline-grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  background: var(--color-black);
  color: var(--color-yellow);
  border: 2px solid var(--color-black);
  cursor: pointer;
}
.ticker__toggle svg { width: 1rem; height: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .ticker.is-animated .ticker__track { animation: ticker 38s linear infinite; }
  .ticker.is-paused .ticker__track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); position: relative; }

/* Intro */
.intro { background: var(--surface-light); color: var(--text-on-light); padding-top: calc(var(--section-y) + 1rem); }
.intro__grid { display: grid; gap: 3rem; }
.intro__title { margin-bottom: 1.5rem; }
.intro__title .hl-red { display: block; }
.intro__media { position: relative; max-width: 24rem; margin-inline: auto 1rem; }
.intro__media .frame { transform: rotate(2.5deg); aspect-ratio: 440 / 587; }
.intro__media .sticker { position: absolute; left: -1rem; bottom: 2rem; z-index: 3; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.5rem;
  border: var(--border-thick);
  list-style: none;
  background: var(--color-white);
}
.stats li {
  padding: 1.1rem 1rem 1rem;
  border: 1.5px solid var(--color-black);
}
.stats li:nth-child(1) { background: var(--color-red); color: var(--color-white); }
.stats li:nth-child(4) { background: var(--color-yellow); }
.stats__num { display: block; font-family: var(--font-display); font-size: clamp(2.75rem, 8vw, 4.5rem); line-height: 1; }
.stats__label { display: block; font-weight: 700; font-size: 0.95rem; line-height: 1.3; margin-top: 0.35rem; }
@media (min-width: 52rem) {
  .intro__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 4rem; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .intro__media { margin: 0; }
}

/* Food favorites */
.favorites { background: var(--surface-red); color: var(--text-on-red); }
.favorites__head { display: grid; gap: 1rem; justify-items: start; margin-bottom: 3rem; }
.favorites__head .eyebrow { margin: 0; }
.favorites__head .h-lg { text-shadow: 5px 5px 0 var(--color-black); }
.favorites__intro { max-width: 38rem; }
.menu-grid {
  display: grid;
  gap: 1.75rem;
  list-style: none;
  grid-template-columns: minmax(0, 1fr);
}
.dish {
  --dish-bg: var(--color-black);
  --dish-fg: var(--color-white);
  --dish-accent: var(--color-yellow);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--dish-bg);
  color: var(--dish-fg);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
}
.dish--yellow { --dish-bg: var(--color-yellow); --dish-fg: var(--color-black); --dish-accent: var(--color-black); }
.dish--white { --dish-bg: var(--color-white); --dish-fg: var(--color-black); --dish-accent: var(--color-red); }
.dish__num {
  position: absolute;
  top: -1.4rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-yellow);
  -webkit-text-stroke: 2px var(--color-black);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--color-black);
}
.dish--yellow .dish__num { color: var(--color-white); }
.dish__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 4.6vw, 2.5rem); line-height: 0.95; margin-bottom: 0.75rem; letter-spacing: 0.01em; }
.dish__es { display: block; margin-bottom: 0.5rem; font-family: var(--font-accent); font-size: 1rem; color: var(--dish-accent); }
.dish--white .dish__es { color: var(--color-red); }
.dish__desc { flex: 1; font-size: 1rem; line-height: 1.55; }
.dish__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 2px dashed currentColor;
}
.dish__amount { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.dish__note { font-size: 0.875rem; font-weight: 600; }
@media (min-width: 40rem) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
}
@media (min-width: 64rem) {
  .menu-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .menu-grid > li:nth-child(1) { grid-column: span 3; }
  .menu-grid > li:nth-child(2) { grid-column: span 3; margin-top: 3rem; }
  .menu-grid > li:nth-child(3) { grid-column: span 2; }
  .menu-grid > li:nth-child(4) { grid-column: span 2; margin-top: -1.5rem; }
  .menu-grid > li:nth-child(5) { grid-column: span 2; }
  .menu-grid > li:nth-child(6) { grid-column: 2 / span 4; }
  .menu-grid > li:nth-child(odd) .dish { rotate: -0.8deg; }
  .menu-grid > li:nth-child(even) .dish { rotate: 0.8deg; }
}

.build {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-black);
  color: var(--color-white);
  border: var(--border-thick);
  box-shadow: 10px 10px 0 var(--color-yellow);
}
.build__title { color: var(--color-yellow); }
.build__cols { display: grid; gap: 2rem; }
.build h4 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; color: var(--color-yellow); margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.chips li {
  padding: 0.3rem 0.7rem;
  border: 2px solid var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.chips__note { display: block; margin-top: 0.75rem; font-size: 0.875rem; color: #E6E6E6; }
@media (min-width: 52rem) {
  .build__cols { grid-template-columns: 1.6fr 1fr 1fr; }
}
.favorites__cta { display: grid; gap: 1.25rem; justify-items: start; margin-top: 3.5rem; }
.fine-print { font-size: 0.9rem; max-width: 40rem; margin: 0; }

/* Our story */
.story { background: var(--color-black); color: var(--color-white); overflow: hidden; }
.story::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/tcs-monogram-pattern-1024.webp") center / 720px auto repeat;
  opacity: 0.18;
  pointer-events: none;
}
.story > .container { position: relative; }
.story__grid { display: grid; gap: 3.5rem; }
.story__title { margin-bottom: 1.75rem; }
.story__copy { max-width: 38rem; }
.story__copy p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 4.2em;
  line-height: 0.8;
  color: var(--color-yellow);
}
.story__quote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--color-red);
  color: var(--color-white);
  border: var(--border-thick);
  border-color: var(--color-yellow);
  transform: rotate(-1.5deg);
  max-width: 30rem;
}
.story__quote p { margin: 0; font-family: var(--font-accent); font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.25; }
.story__quote footer { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 700; }
.story__photos { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.story__photo { aspect-ratio: 440 / 587; }
.story__photo--a { grid-column: 1 / span 8; grid-row: 1; transform: rotate(-3deg); z-index: 1; }
.story__photo--b { grid-column: 5 / span 8; grid-row: 1; margin-top: 45%; transform: rotate(3deg); z-index: 2; }
.timeline {
  display: grid;
  gap: 0;
  margin-top: 4rem;
  list-style: none;
  border-top: 4px solid var(--color-yellow);
}
.timeline li { display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 2px solid rgba(255, 255, 255, 0.25); }
.timeline__year { font-family: var(--font-display); font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1; color: var(--color-yellow); }
.timeline__text { font-weight: 600; }
@media (min-width: 56rem) {
  .story__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
  .timeline { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 1.5rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0.35rem; border: 3px solid var(--color-yellow); padding: 1.25rem; background: rgba(0, 0, 0, 0.85); }
}

/* Gallery */
.gallery { background: var(--surface-light); color: var(--text-on-light); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 3rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  list-style: none;
}
.gallery__item a {
  position: relative;
  display: block;
  height: 100%;
  border: var(--border);
  background: var(--color-black);
  overflow: hidden;
}
.gallery__item picture { height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__item a::after {
  content: "";
  position: absolute;
  right: 0.5rem; bottom: 0.5rem;
  width: 2.25rem; height: 2.25rem;
  background: var(--color-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  border: 2px solid var(--color-black);
}
.gallery__item { aspect-ratio: 3 / 4; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
@media (min-width: 48rem) {
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
  .gallery__item:nth-child(2), .gallery__item:nth-child(5) { translate: 0 1.25rem; }
}
@media (min-width: 64rem) {
  .gallery__item:nth-child(3n) a { box-shadow: 8px 8px 0 var(--color-red); }
  .gallery__item:nth-child(3n+1) a { box-shadow: 8px 8px 0 var(--color-yellow); }
  .gallery__item:nth-child(3n+2) a { box-shadow: 8px 8px 0 var(--color-black); }
}

/* Lightbox (native <dialog>) */
.lightbox {
  width: min(100vw - 2rem, 46rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  background: var(--color-black);
  color: var(--color-white);
  border: 4px solid var(--color-yellow);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox__figure { margin: 0; display: grid; }
.lightbox__img { width: 100%; max-height: calc(100vh - 11rem); object-fit: contain; background: #000; }
.lightbox__caption { padding: 0.9rem 1rem 0; font-weight: 600; }
.lightbox__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 1rem 1rem; }
.lightbox__bar .btn { font-size: 1rem; min-height: 2.75rem; padding: 0.4rem 1rem; box-shadow: 3px 3px 0 var(--color-red); }
.lightbox__count { align-self: center; font-weight: 700; }

/* Location */
.visit { background: var(--surface-yellow); color: var(--text-on-yellow); }
.visit__grid { display: grid; gap: 3rem; }
.visit__title { margin-bottom: 2rem; }
.visit__title .hl-red { color: var(--color-black); }
.info-list { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.info-block h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.info-block p, .info-block address { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.info-block a { font-weight: 800; }
.hours-table { border-collapse: collapse; width: 100%; max-width: 24rem; font-weight: 600; }
.hours-table th, .hours-table td { padding: 0.35rem 0; text-align: left; border-bottom: 2px solid rgba(0, 0, 0, 0.25); }
.hours-table td { text-align: right; }
.visit .status { margin-top: 0.75rem; border-color: var(--color-black); }
.map-card {
  position: relative;
  display: block;
  color: var(--color-black);
  text-decoration: none;
  background: var(--color-white);
  border: var(--border-thick);
  box-shadow: 12px 12px 0 var(--color-red);
}
.map-card > svg { width: 100%; height: auto; }
.map-card__label svg { width: 1.6rem; height: 1.6rem; flex: none; }
.map-card__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: var(--border-thick);
  background: var(--color-black);
  color: var(--color-yellow);
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.map-card:hover .map-card__label { background: var(--color-red); color: var(--color-white); }
.map-card__note { display: block; padding: 0.5rem 1.25rem 0.6rem; font-size: 0.85rem; font-weight: 600; background: var(--color-white); }
@media (min-width: 56rem) {
  .visit__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
}

/* Final CTA */
.final-cta { background: var(--surface-red); color: var(--text-on-red); text-align: center; overflow: hidden; }
.final-cta__title { font-size: clamp(3.2rem, 14vw, 10rem); text-shadow: 6px 6px 0 var(--color-black); margin-bottom: 1.25rem; }
.final-cta__title .hl-box { text-shadow: none; }
.final-cta p { max-width: 34rem; margin-inline: auto; margin-bottom: 2rem; }
.final-cta .btn-row { justify-content: center; }
.final-cta__strip { margin: 3.5rem auto 0; max-width: 52rem; border: var(--border-thick); box-shadow: 10px 10px 0 var(--color-black); transform: rotate(-1deg); }
.final-cta__strip img { width: 100%; aspect-ratio: 720 / 208; object-fit: cover; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-black); color: var(--color-white); border-top: 6px solid var(--color-yellow); padding-block: 4rem 2rem; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { width: 9rem; margin-bottom: 1rem; }
.footer__brand p { max-width: 22rem; }
.footer__heading { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-yellow); margin-bottom: 0.9rem; }
.footer__links { list-style: none; display: grid; gap: 0.15rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.footer__links a:hover { color: var(--color-yellow); }
.socials { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin-top: 1.25rem; }
.socials a {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  background: var(--color-yellow);
  color: var(--color-black);
  border: 2px solid var(--color-yellow);
  box-shadow: 3px 3px 0 var(--color-red);
}
.socials a:hover { background: var(--color-white); border-color: var(--color-white); }
.socials svg { width: 1.4rem; height: 1.4rem; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
}
.footer__legal p { margin: 0; max-width: 40rem; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero { background: var(--surface-red); color: var(--text-on-red); overflow: hidden; }
.contact-hero__grid { display: grid; gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.contact-hero__title { font-size: clamp(3.1rem, 11vw, 7.5rem); text-shadow: 5px 5px 0 var(--color-black); margin-bottom: 1.25rem; }
.contact-hero__title .hl-box { text-shadow: none; }
.contact-hero__media { position: relative; max-width: 22rem; margin-inline: auto; }
.contact-hero__media .frame { aspect-ratio: 440 / 587; transform: rotate(3deg); box-shadow: 12px 12px 0 var(--color-black); border-color: var(--color-black); }
.contact-hero__media .sticker--round { position: absolute; top: -1.5rem; left: -2rem; z-index: 3; font-size: 1.35rem; }
@media (min-width: 52rem) {
  .contact-hero__grid { grid-template-columns: 1.3fr 0.7fr; }
}

.quick-info { background: var(--color-black); color: var(--color-white); padding-block: 3rem; }
.quick-info__grid { display: grid; gap: 1.25rem; list-style: none; }
.qi {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 1.4rem;
  border: 3px solid var(--color-yellow);
}
.qi:nth-child(2) { background: var(--color-yellow); color: var(--color-black); border-color: var(--color-yellow); }
.qi h2 { font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.03em; }
.qi p, .qi address { margin: 0; font-weight: 600; }
.qi .btn { margin-top: auto; align-self: flex-start; font-size: 1.05rem; min-height: 2.9rem; padding: 0.5rem 1rem; }
.qi .status { align-self: flex-start; }
@media (min-width: 40rem) { .quick-info__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .quick-info__grid { grid-template-columns: repeat(4, 1fr); } }

.contact-main { background: var(--surface-light); color: var(--text-on-light); }
.contact-main__grid { display: grid; gap: 3.5rem; }
@media (min-width: 60rem) { .contact-main__grid { grid-template-columns: 1.25fr 0.75fr; gap: 4rem; align-items: start; } }

.reach-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--color-white);
  border: var(--border-thick);
  box-shadow: 10px 10px 0 var(--color-yellow), 10px 10px 0 5px var(--color-black);
}
.reach-card h2 { margin-bottom: 0.75rem; }
.reach-list { display: grid; gap: 0; margin: 1.5rem 0 2rem; list-style: none; border-top: 3px solid var(--color-black); }
.reach-list li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: baseline; padding: 0.9rem 0; border-bottom: 2px dashed rgba(0, 0, 0, 0.4); }
.reach-list__label { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; }
.reach-list__value { font-weight: 700; font-size: 1.1rem; line-height: 1.45; }
.reach-card__note { margin: 1.5rem 0 0; font-weight: 600; }

/* Notice box (Feedback page fallbacks) */
.form-notice {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--color-cream);
  border: 3px solid var(--color-black);
  border-left-width: 10px;
  font-weight: 500;
}
.form-notice p { margin: 0; }

.contact-aside { display: grid; gap: 1.5rem; align-content: start; }
.contact-aside .map-card { box-shadow: 10px 10px 0 var(--color-black); }

/* ==========================================================================
   Delivery areas (hub + town pages)
   ========================================================================== */
.breadcrumb { background: var(--color-black); color: var(--color-white); border-bottom: 2px solid rgba(255, 255, 255, 0.15); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding-block: 0.6rem; list-style: none; font-size: 0.92rem; font-weight: 600; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.5rem; color: var(--color-yellow); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-white); }
.breadcrumb [aria-current="page"] { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-yellow); }

.area-hero { background: var(--surface-red); color: var(--text-on-red); overflow: hidden; }
.area-hero__grid { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.area-hero__title { font-size: clamp(2.8rem, 9vw, 6.5rem); text-shadow: 5px 5px 0 var(--color-black); margin-bottom: 1.25rem; }
.area-hero__title .hl-box { text-shadow: none; }
.area-hero .lead { max-width: 40rem; }
.area-hero .btn-row { margin-top: 2rem; }
.area-hero__badge { justify-self: start; display: grid; place-items: center; text-align: center; width: 11rem; height: 11rem; padding: 1rem; border-radius: 50%; background: var(--color-yellow); color: var(--color-black); border: var(--border-thick); box-shadow: 8px 8px 0 var(--color-black); transform: rotate(-8deg); }
.area-hero__badge-num { display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 0.9; }
.area-hero__badge-label { display: block; font-weight: 800; font-size: 0.9rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 56rem) {
  .area-hero__grid { grid-template-columns: 1fr auto; }
  .area-hero__badge { justify-self: center; width: 13rem; height: 13rem; }
}

.area-about { background: var(--surface-light); color: var(--text-on-light); }
.area-about__grid { display: grid; gap: 3rem; }
.area-about h2, .area-brand h2, .area-delivery h2 { margin-bottom: 1.5rem; }
.area-about__media { position: relative; max-width: 22rem; margin-inline: auto 1rem; }
.area-about__media .frame { aspect-ratio: 3 / 4; transform: rotate(2deg); }
.area-about__media .sticker { position: absolute; left: -1rem; bottom: 1.5rem; z-index: 3; }
.area-copy { max-width: 40rem; }
@media (min-width: 56rem) {
  .area-about__grid { grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 4rem; }
  .area-about__media { margin: 0; }
}

.area-brand { background: var(--color-black); color: var(--color-white); overflow: hidden; }
.area-brand::before { content: ""; position: absolute; inset: 0; background: url("../images/tcs-monogram-pattern-1024.webp") center / 720px auto repeat; opacity: 0.16; pointer-events: none; }
.area-brand > .container { position: relative; }
.area-brand__grid { display: grid; gap: 3rem; }
.best-callout { align-self: start; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--color-yellow); color: var(--color-black); border: var(--border-thick); box-shadow: 10px 10px 0 var(--color-red); transform: rotate(-1.5deg); }
.best-callout__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 4.5vw, 2.75rem); line-height: 0.95; margin-bottom: 1rem; }
.best-callout p { margin-bottom: 1.25rem; font-weight: 500; }
@media (min-width: 56rem) { .area-brand__grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; } }

.area-delivery { background: var(--surface-yellow); color: var(--text-on-yellow); }
.area-delivery__grid { display: grid; gap: 3rem; }
.delivery-facts { display: grid; gap: 0; list-style: none; border: var(--border-thick); background: var(--color-white); margin-top: 1.5rem; }
.delivery-facts li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: 2px solid var(--color-black); font-weight: 600; }
.delivery-facts li:last-child { border-bottom: 0; }
.delivery-facts strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.picks { display: grid; gap: 1.25rem; list-style: none; }
.pick { height: 100%; padding: 1.25rem 1.3rem; background: var(--color-black); color: var(--color-white); border: var(--border-thick); box-shadow: 6px 6px 0 var(--color-red); }
.pick h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; color: var(--color-yellow); margin-bottom: 0.4rem; letter-spacing: 0.02em; }
.pick p { margin: 0; font-size: 1rem; }
.area-delivery .btn-row { margin-top: 2rem; }
.area-delivery .status, .hub-intro .status { margin-top: 1rem; }
@media (min-width: 56rem) { .area-delivery__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

.other-areas { background: var(--surface-light); color: var(--text-on-light); padding-block: 3.5rem; }
.other-areas h2 { margin-bottom: 1.25rem; }
.area-links { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; }
.area-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.95rem; background: var(--color-white); color: var(--color-black); border: 3px solid var(--color-black); box-shadow: 3px 3px 0 var(--color-black); font-weight: 800; text-decoration: none; }
.area-links a:hover { background: var(--color-yellow); }

/* Hub */
.hub-intro { background: var(--surface-light); color: var(--text-on-light); }
.hub-intro__grid { display: grid; gap: 3rem; align-items: center; }
.radius-map { max-width: 34rem; width: 100%; margin-inline: auto; background: var(--color-white); border: var(--border-thick); box-shadow: 12px 12px 0 var(--color-red); }
.radius-map svg { width: 100%; height: auto; }
.radius-map figcaption { padding: 0.75rem 1rem; border-top: var(--border-thick); background: var(--color-black); color: var(--color-white); font-size: 0.9rem; font-weight: 600; }
@media (min-width: 60rem) { .hub-intro__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.town-grid { display: grid; gap: 1.75rem; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .town-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .town-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.town-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.4rem 1.4rem; background: var(--color-black); color: var(--color-white); border: var(--border-thick); box-shadow: var(--shadow-hard); }
.town-grid > li:nth-child(3n+2) .town-card { background: var(--color-yellow); color: var(--color-black); }
.town-grid > li:nth-child(3n) .town-card { background: var(--color-white); color: var(--color-black); }
.town-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.4rem); line-height: 0.95; margin-bottom: 0.6rem; }
.town-card__dist { display: inline-block; align-self: flex-start; margin-bottom: 0.9rem; padding: 0.2rem 0.6rem; background: var(--color-red); color: var(--color-white); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.town-card p { flex: 1; font-size: 1rem; }
.town-card a { font-weight: 800; }
.town-card a::after { content: ""; position: absolute; inset: 0; }
.town-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--color-black); }
.town-card:focus-within { outline: 3px solid var(--focus-color); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-halo); }
.town-card a:focus-visible { outline: none; box-shadow: none; }
.hub-towns { background: var(--surface-red); color: var(--text-on-red); }
.hub-towns__head { margin-bottom: 3rem; display: grid; gap: 1rem; justify-items: start; }
.hub-towns__head .h-lg { text-shadow: 5px 5px 0 var(--color-black); }
.hub-note { margin-top: 3rem; padding: 1.25rem 1.5rem; max-width: 46rem; background: var(--color-black); color: var(--color-white); border: 3px solid var(--color-yellow); font-weight: 500; }
.hub-note p { margin: 0; }

/* ==========================================================================
   Order-direct (marketplace comparison) pages
   ========================================================================== */
.od-thanks { background: var(--surface-light); color: var(--text-on-light); }
.od-thanks__grid { display: grid; gap: 3rem; align-items: center; }
.od-thanks h2, .od-fees h2, .od-local h2 { margin-bottom: 1.5rem; }
@media (min-width: 56rem) { .od-thanks__grid { grid-template-columns: 1.3fr 0.7fr; gap: 4rem; } }
.od-thanks__media { position: relative; max-width: 22rem; margin-inline: auto 1rem; }
.od-thanks__media .frame { aspect-ratio: 3 / 4; transform: rotate(-2deg); }
.od-thanks__media .sticker { position: absolute; right: -0.75rem; bottom: 1.5rem; z-index: 3; }

.od-fees { background: var(--color-black); color: var(--color-white); }
.od-fees__head { max-width: 46rem; margin-bottom: 3rem; }
.receipts { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .receipts { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.receipt {
  position: relative;
  padding: 1.75rem 1.5rem 2.25rem;
  background: var(--color-white);
  color: var(--color-black);
  font-variant-numeric: tabular-nums;
  box-shadow: 10px 10px 0 var(--color-red);
  /* torn bottom edge */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 95% 100%, 90% calc(100% - 12px), 85% 100%, 80% calc(100% - 12px), 75% 100%, 70% calc(100% - 12px), 65% 100%, 60% calc(100% - 12px), 55% 100%, 50% calc(100% - 12px), 45% 100%, 40% calc(100% - 12px), 35% 100%, 30% calc(100% - 12px), 25% 100%, 20% calc(100% - 12px), 15% 100%, 10% calc(100% - 12px), 5% 100%, 0 calc(100% - 12px));
}
.receipt--direct { background: var(--color-yellow); box-shadow: none; }
.receipt__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1; letter-spacing: 0.02em; }
.receipt__sub { margin: 0.4rem 0 1rem; font-weight: 600; font-size: 0.95rem; }
.receipt table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.receipt th, .receipt td { padding: 0.6rem 0; border-bottom: 2px dashed rgba(0, 0, 0, 0.45); text-align: left; vertical-align: top; }
.receipt th { font-weight: 600; }
.receipt td { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 1rem; }
.receipt .who { display: block; font-size: 0.85rem; font-weight: 500; color: #3d3d3d; }
.receipt tfoot th, .receipt tfoot td { border-bottom: 0; border-top: 4px solid var(--color-black); padding-top: 0.8rem; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.receipt tfoot .neg { color: var(--color-red-deep); }
.fee-bar { margin-top: 1.25rem; }
.fee-bar__track { height: 1.6rem; background: #eee; border: 3px solid var(--color-black); }
.fee-bar__fill { height: 100%; background: repeating-linear-gradient(-45deg, var(--color-red) 0 10px, var(--color-red-deep) 10px 20px); }
.receipt--direct .fee-bar__track { background: var(--color-white); }
.receipt--direct .fee-bar__fill { background: var(--color-black); }
.fee-bar__label { margin: 0.5rem 0 0; font-size: 0.92rem; font-weight: 700; }
.od-footnote { margin-top: 2.5rem; max-width: 52rem; font-size: 0.9rem; color: #E6E6E6; }

.od-local { background: var(--surface-yellow); color: var(--text-on-yellow); }
.od-local__grid { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .od-local__grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; } }
.perks { display: grid; gap: 1rem; list-style: none; margin-top: 2rem; }
.perks li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: center; padding: 1rem 1.1rem; background: var(--color-black); color: var(--color-white); border: var(--border-thick); box-shadow: 5px 5px 0 var(--color-red); font-weight: 600; }
.perks__num { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--color-yellow); color: var(--color-black); font-family: var(--font-display); font-size: 1.5rem; border-radius: 50%; }
.about-mkt { padding: 1.5rem; background: var(--color-white); border: var(--border-thick); }
.about-mkt h2 { font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.75rem; }
.about-mkt p { margin: 0; }
.disclaimer { max-width: 52rem; margin: 2.5rem auto 0; font-size: 0.88rem; }

/* Feedback page */
.area-hero__badge-num--word { font-size: 1.9rem; }
.fb-main { background: var(--surface-light); color: var(--text-on-light); }
.fb-main__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .fb-main__grid { grid-template-columns: 1.4fr 0.6fr; gap: 4rem; } }
.fb-card { padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--color-white); border: var(--border-thick); box-shadow: 10px 10px 0 var(--color-yellow), 10px 10px 0 5px var(--color-black); }
.fb-card h2 { margin-bottom: 0.75rem; }
.fb-embed { margin-top: 1.5rem; min-height: 12rem; }
.fb-aside { display: grid; gap: 2.5rem; }
.fb-photo { aspect-ratio: 3 / 4; max-width: 20rem; transform: rotate(2deg); }

/* Reviews (homepage) */
.reviews { background: var(--surface-yellow); color: var(--text-on-yellow); }
.reviews__head { display: grid; gap: 1rem; justify-items: start; margin-bottom: 2.5rem; max-width: 46rem; }
.reviews__head .eyebrow, .reviews__head .lead { margin: 0; }
.reviews__widget { min-height: 16rem; padding: clamp(1rem, 3vw, 2rem); background: var(--color-white); border: var(--border-thick); box-shadow: 10px 10px 0 var(--color-black); }
.reviews__fallback { margin: 0; font-weight: 600; }
.reviews__cta { margin-top: 2.5rem; }
.reviews__bar { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.reviews__toggle { font-size: 1rem; min-height: 2.75rem; padding: 0.4rem 1rem; box-shadow: 3px 3px 0 var(--color-black); }

/* Review avatars in the hero of generated pages (vendor widget; height reserved to avoid layout shift) */
.hero-reviews { margin-top: 1.75rem; min-height: 5.9rem; }
@media (max-width: 22.5rem) { .hero-reviews { min-height: 8.1rem; } } /* widget wraps to two rows below ~360px */
/* White sticker behind the widget so its grey text stays readable on red; shown once it renders. */
.hero-reviews emr-avatars { display: inline-block; max-width: 100%; }
.hero-reviews.is-ready emr-avatars { padding: 0.5rem 0.9rem; background: var(--color-white); border: 3px solid var(--color-black); box-shadow: 5px 5px 0 var(--color-black); transform: rotate(-1deg); }

/* 404 */
.not-found { min-height: 60vh; display: grid; align-items: center; background: var(--surface-red); color: var(--text-on-red); }

/* ==========================================================================
   Motion & preference overrides
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .gallery__item a:hover img { transform: none; }
  .ticker__toggle { display: none; }
}
@media (forced-colors: active) {
  .btn, .dish, .frame, .map-card, .status, .sticker { border: 2px solid CanvasText; }
  .hero__scrim, .halftone::after { display: none; }
  .status::before { forced-color-adjust: none; }
}
@media print {
  .site-header, .order-bar, .hero__media, .hero__scrim, .ticker, .media-toggle, .final-cta__strip { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero, .favorites, .story, .visit, .final-cta, .contact-hero, .quick-info { background: #fff !important; color: #000 !important; clip-path: none !important; }
}
