/* eatyolk.com page styles (everything below the shared header).
   The header itself is css/shell.css from the ordering sites, copied in at build time: do not
   restyle header.tab-container, #app-menu-dropdown or anything inside them from here.

   Brand: navy #16214D, yellow #F8DC12, cream #F5F3ED, kraft #C8A47A (on navy only),
   dark kraft #8A6A42 (small text on WHITE only: it measures 4.98:1 on white but 4.48:1 on cream,
   which misses AA, so it is never placed directly on a cream section), black #111111. Poppins only.

   THEMES. System (default) follows the device; a visitor can force Dark or Light with the theme
   control (html[data-theme]), like the
   ordering site's menu page. Every colour a page rule uses is a ROLE token below: light values on
   :root, dark values in the two DARK TOKENS blocks after it. Component rules never name a raw colour that only
   works in one theme. Dark palette = the ordering site's --ew-* tokens (YolkWebApp css/theme.css),
   with the owner's brand rule: ONE navy for the page (#111b3e), #16214D is the card colour. */

:root {
  /* brand constants (same in both themes) */
  --navy: #16214D;
  --yellow: #F8DC12;
  --cream: #F5F3ED;
  --kraft: #C8A47A;
  --kraft-dark: #8A6A42;
  --white: #ffffff;
  /* on always-navy surfaces (band, footer): identical in both themes */
  --on-navy-ghost: rgba(245, 243, 237, 0.7);
  --on-navy-line: rgba(255, 255, 255, 0.15);
  --on-navy-chip: rgba(255, 255, 255, 0.1);
  --on-navy-muted: rgba(245, 243, 237, 0.85);
  --photo-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);

  /* role tokens: light */
  --page-bg: #F5F3ED;
  --surface: #ffffff;                       /* cards, panels */
  --border: rgba(22, 33, 77, 0.12);         /* card borders, hairlines */
  --divider: rgba(22, 33, 77, 0.2);         /* state-heading rules */
  --text: #111111;
  --text-muted: #3a3a3a;
  --heading: #16214D;                       /* headings and bold labels */
  --eyebrow: #8A6A42;
  --link: #16214D;
  --link-hover-line: #8A6A42;
  --focus: #16214D;
  --band-bg: #16214D;                       /* title band under the header */
  --band-text: #F5F3ED;
  --band-heading: #ffffff;
  --btn-strong-bg: #16214D;                 /* "Order Online", "Join the Waitlist", catering CTA */
  --btn-strong-text: #ffffff;
  --btn-ghost: #16214D;                     /* ghost button text + border */
  --footer-bg: #16214D;
  --well: #F5F3ED;                          /* photo / embed placeholders inside cards */
  --embed-well: #F5F3ED;                    /* behind the waitlist iframes */
  --icon-chip: transparent;                 /* behind dark-on-transparent PNG icons */
  --icon-chip-pad: 0;
  --card-shadow: 0 1px 2px rgba(22, 33, 77, 0.04);
  --fab-shadow: 0 2px 6px rgba(22, 33, 77, 0.16), 0 12px 36px rgba(22, 33, 77, 0.28);

  --radius: 14px;
  --gutter: 16px;
  --header-offset: calc(58px + env(safe-area-inset-top, 0px));
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* DARK TOKENS: ONE definition, emitted in TWO places that must stay identical
   (harness/theme-check.js and the build both verify it):
     1. System mode on a dark device:   @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) }
     2. Forced dark on any device:      :root[data-theme="dark"]
   data-theme is set on <html> before first paint by the inline head script (src/pages.js) from the
   visitor's stored choice (cookie yolk_theme / localStorage yolkTheme). No attribute = System. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page-bg: #111b3e;                     /* ONE navy page background (owner) */
    --surface: #16214D;                     /* cards are the brand navy */
    --border: #29366c;                      /* --ew-border */
    --divider: #29366c;
    --text: #eef0ff;                        /* --ew-text */
    --text-muted: #aab0d8;                  /* --ew-muted */
    --heading: #ffffff;                     /* --ew-name */
    --eyebrow: #C8A47A;                     /* light kraft passes on navy; dark kraft is light-surface only */
    --link: #F8DC12;
    --link-hover-line: #C8A47A;
    --focus: #F8DC12;
    --band-bg: #16214D;
    --band-text: #F5F3ED;
    --band-heading: #ffffff;
    --btn-strong-bg: #F8DC12;               /* --ew-accent-btn: yellow on dark */
    --btn-strong-text: #16214D;             /* --ew-accent-btn-text */
    --btn-ghost: #eef0ff;
    --footer-bg: #0c1330;                   /* a step darker than the page so the footer still separates */
    --well: #111b3e;
    --embed-well: transparent;
    --icon-chip: #ffffff;
    --icon-chip-pad: 4px;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    --fab-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 12px 36px rgba(0, 0, 0, 0.5);
  }
}
:root[data-theme="dark"] {
  --page-bg: #111b3e;                     /* ONE navy page background (owner) */
  --surface: #16214D;                     /* cards are the brand navy */
  --border: #29366c;                      /* --ew-border */
  --divider: #29366c;
  --text: #eef0ff;                        /* --ew-text */
  --text-muted: #aab0d8;                  /* --ew-muted */
  --heading: #ffffff;                     /* --ew-name */
  --eyebrow: #C8A47A;                     /* light kraft passes on navy; dark kraft is light-surface only */
  --link: #F8DC12;
  --link-hover-line: #C8A47A;
  --focus: #F8DC12;
  --band-bg: #16214D;
  --band-text: #F5F3ED;
  --band-heading: #ffffff;
  --btn-strong-bg: #F8DC12;               /* --ew-accent-btn: yellow on dark */
  --btn-strong-text: #16214D;             /* --ew-accent-btn-text */
  --btn-ghost: #eef0ff;
  --footer-bg: #0c1330;                   /* a step darker than the page so the footer still separates */
  --well: #111b3e;
  --embed-well: transparent;
  --icon-chip: #ffffff;
  --icon-chip-pad: 4px;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  --fab-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 12px 36px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light dark; }
/* color-scheme follows the EFFECTIVE theme: System = light dark, forced = that one scheme. */
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

body {
  margin: 0;
  /* The shell header is position:fixed, 58px + the top safe-area inset. */
  padding-top: var(--header-offset);
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  /* Footer sits at the bottom of the viewport on short pages (gift cards). */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }

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

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--link-hover-line); }

/* Visible focus everywhere (header included: it has no focus style of its own for links). */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

h1, h2, h3, h4 { font-weight: 700; color: var(--heading); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Skip link: sits above the fixed header (z-index 1000) when focused. */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 20000;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- navy band: carries every page's H1 ---------- */
.band {
  background: var(--band-bg);
  color: var(--band-text);
  /* 44px of top clearance: the shell's round logo hangs ~16px below the 58px bar, centred,
     so the H1 (left-aligned on wide screens, centred column on phones) never sits under it. */
  padding: 48px 0 40px;
  position: relative;
}
.band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow);
}
.band h1 {
  color: var(--band-heading);
  font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
/* The slogan's last word in brand yellow (homepage headline; the band is navy in both themes). */
.band h1 .h1-accent { color: var(--yellow); }
.band .eyebrow { color: var(--kraft); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Homepage hero: image under the H1 and the two primary actions. */
.hero { display: grid; gap: 28px; align-items: center; }
.hero__media img {
  width: 100%; aspect-ratio: 1140 / 500; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--photo-shadow);
}
@media (min-width: 960px) {
  .band--hero { padding: 64px 0 56px; }
  .hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--navy { background: var(--btn-strong-bg); color: var(--btn-strong-text); }
.btn--ghost { background: transparent; color: var(--btn-ghost); border-color: var(--btn-ghost); }
.band .btn--ghost { color: var(--cream); border-color: var(--on-navy-ghost); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- cream sections + white cards ---------- */
.section { padding: 48px 0; }
.section + .section { padding-top: 0; }
.section__head { margin-bottom: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--card-shadow);
}
.card > :last-child { margin-bottom: 0; }
@media (min-width: 768px) { .card { padding: 30px; } .section { padding: 64px 0; } }

.grid { display: grid; gap: 18px; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.prose { max-width: 68ch; color: var(--text); }
.prose p { font-size: 1.02rem; }
.muted { color: var(--text-muted); font-size: 0.92rem; }
.figure-grid { display: grid; gap: 16px; margin-top: 28px; }
.figure-grid img { width: 100%; aspect-ratio: 1140 / 500; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 768px) { .figure-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.welcome { display: grid; gap: 0; }
@media (min-width: 1024px) {
  .welcome { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .welcome .figure-grid { grid-template-columns: 1fr; margin-top: 4px; }
}
/* Phones (owner, 12/03/2026): the two photos sit BETWEEN the paragraphs, not stacked after four
   paragraphs of text. The markup is unchanged (text block, then photo block); both wrappers are
   dissolved with display:contents and the six children are re-ordered: 1, 2, photo, 3, photo, 4.
   Margins do not collapse in a flex column, so the paragraphs get one bottom margin each. */
@media (max-width: 767.98px) {
  .welcome { display: flex; flex-direction: column; }
  .welcome .prose, .welcome .figure-grid { display: contents; }
  .welcome .prose p { margin: 0 0 1.1em; }
  .welcome .prose p:nth-child(1) { order: 1; }
  .welcome .prose p:nth-child(2) { order: 2; }
  .welcome .figure-grid img:nth-child(1) { order: 3; }
  .welcome .prose p:nth-child(3) { order: 4; }
  .welcome .figure-grid img:nth-child(2) { order: 5; }
  .welcome .prose p:nth-child(4) { order: 6; margin-bottom: 0; }
  .welcome .figure-grid img { margin: 6px 0 calc(1.1em + 6px); }
}

/* ---------- homepage blocks ---------- */
.wait-card { display: grid; gap: 14px; align-items: start; }
.wait-card img { width: 220px; }
.press-grid { display: grid; gap: 24px; }
/* single column since the homepage video was removed (owner, 12/02/2026) */
.press-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.press-list h4 { margin: 0; font-size: 1rem; }
.press-list a { text-decoration: none; }
.press-list a:hover { text-decoration: underline; }
.video-frame { background: var(--band-bg); border-radius: var(--radius); overflow: hidden; max-width: 260px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1920; background: var(--band-bg); }
.rule { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.insta-head { display: flex; align-items: center; gap: 12px; margin: 0; }
.insta-head a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.insta-head img { width: 40px; height: 40px; }
/* instagram_logo.png is a black glyph on transparent: give it a white chip in dark. */
.insta-head img { background: var(--icon-chip); border-radius: 10px; padding: var(--icon-chip-pad); }
.insta-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.insta-feed a { display: block; border-radius: 10px; overflow: hidden; background: var(--well); aspect-ratio: 1 / 1; }
.insta-feed img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.insta-feed a:hover img, .insta-feed a:focus-visible img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .insta-feed img { transition: none; } }

/* ---------- menus ---------- */
.state-buttons { display: grid; gap: 12px; }
@media (min-width: 640px) { .state-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.state-buttons .btn { width: 100%; }
.notes { margin-top: 20px; }
.menu-state { margin-top: 28px; }
.menu-state:first-of-type { margin-top: 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .menu-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.menu-link {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--yellow);
  border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--heading);
  transition: transform 0.15s ease;
}
.menu-link:hover { transform: translateY(-2px); }
.menu-link__name { font-weight: 700; }
.menu-link__city { font-size: 0.9rem; color: var(--eyebrow); }

/* ---------- contact & locations ---------- */
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { padding: 6px 0; }
.hours-list .state { font-weight: 700; color: var(--heading); padding-top: 12px; }
.hours-list .state:first-child { padding-top: 0; }
.policy-title { font-weight: 700; color: var(--heading); margin-top: 1.2em; }
.state-head {
  display: flex; align-items: center; gap: 14px; margin: 40px 0 18px;
}
.state-head::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
.state-head h3 { margin: 0; }
.locations-heading { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.loc-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.loc { display: flex; flex-direction: column; gap: 14px; }
.loc h4 { font-size: 1.1rem; letter-spacing: 0.02em; margin: 0; }
.loc address { font-style: normal; }
.loc address a { font-weight: 400; }
.loc dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.95rem; }
.loc dt { font-weight: 700; color: var(--heading); }
.loc dd { margin: 0; }
.loc__parking { font-size: 0.92rem; overflow-wrap: anywhere; }
.loc iframe { display: block; width: 100%; max-width: 560px; border: 0; border-radius: 12px; background: var(--embed-well);
  /* The waitlist embed takes light/dark from the colour scheme of THIS iframe element (its
     prefers-color-scheme is derived from it; no ?theme= in the src, owner 12/02/2026). So the iframe
     must follow the page's EFFECTIVE theme: System = `light dark` (the embed follows the device),
     forced dark = `dark`, forced light = `light`. The embed document declares the same
     color-scheme itself (ordering app, deployed 12/02/2026), which is what keeps the browser from
     painting an opaque canvas behind it. Do not pin this to one scheme. */
  color-scheme: light dark; }
:root[data-theme="dark"] .loc iframe { color-scheme: dark; }
:root[data-theme="light"] .loc iframe { color-scheme: light; }
.loc .btn-row { margin-top: auto; padding-top: 4px; }
.loc .btn { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }
.email-line { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 700; margin: 0; user-select: all; overflow-wrap: anywhere; }

/* ---------- catering ---------- */
.cat-lead { display: grid; gap: 22px; }
@media (min-width: 960px) {
  .cat-lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .cat-lead .cat-team { grid-row: span 2; }
}
.cat-card {
  display: block; text-decoration: none; color: var(--heading);
  background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--yellow);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.2s ease;
}
.cat-card:hover { transform: translateY(-3px); text-decoration: none; }
.cat-card__title { display: block; font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.cat-card__desc { display: block; color: var(--text-muted); margin-bottom: 18px; }
.cat-card__desc strong { color: var(--heading); }
.cat-card__cta { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-strong-bg); color: var(--btn-strong-text); font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.cat-card__arrow { display: inline-block; transition: transform 0.2s ease; }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); }
.cat-team { display: grid; gap: 20px; }
.cat-team__photo { margin: 0; border-radius: 12px; overflow: hidden; background: var(--well); aspect-ratio: 1100 / 818; }
.cat-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-team__name { display: block; font-size: 1.4rem; font-weight: 700; color: var(--heading); line-height: 1.2; }
.cat-team__role { display: block; color: var(--eyebrow); font-size: 0.92rem; margin-bottom: 12px; }
.cat-team dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 0; font-size: 0.95rem; }
.cat-team dt { font-weight: 700; color: var(--heading); }
.cat-team dd { margin: 0; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.25s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* ---------- order ---------- */
.state-head h4 { margin: 0; font-size: 1.15rem; }
.order-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .order-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.order-loc { display: flex; flex-direction: column; gap: 2px; padding: 16px; }
@media (max-width: 639px) { .order-loc .btn { align-self: stretch; padding: 10px 12px; } }
.order-loc__name { font-weight: 700; color: var(--heading); font-size: 1.05rem; }
a.order-loc__name { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; align-self: flex-start; }
#find-your-yolk + .state-head { margin-top: 20px; }
.order-loc__city { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 12px; }
.order-loc .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }
.order-catering { margin-top: 32px; font-size: 1.05rem; }
.order-catering a { font-weight: 700; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; } }
.portrait { margin: 0; }
.portrait img { width: 100%; max-width: 325px; border-radius: var(--radius); }
.portrait figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--text-muted); }
.portrait figcaption strong { color: var(--heading); }
.video-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--band-bg); }
.video-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- employment / gift cards ---------- */
.plain-list { list-style: none; padding: 0; margin: 0 0 1em; }
.plain-list li { padding: 2px 0; }
.lead { font-size: 1.12rem; }

/* ---------- footer (navy, thin yellow rule; after the ordering site's footer) ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--cream);
  border-top: 3px solid var(--yellow);
  padding: 40px 0 28px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.site-footer a { color: var(--yellow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.footer-cols { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.footer-heading { color: var(--kraft); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-links--single { grid-template-columns: 1fr; }
@media (max-width: 767px) { .footer-links--single { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-links a { display: inline-block; padding: 6px 0; font-weight: 700; }
.footer-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--on-navy-line);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--on-navy-chip); transition: opacity 0.15s ease;
}
.footer-social a:hover { opacity: 0.8; }
.footer-social svg { width: 20px; height: 20px; fill: var(--cream); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-copy { width: 100%; margin: 8px 0 0; color: var(--on-navy-muted); font-size: 0.85rem; }

/* ---------- theme control (System / Dark / Light), after the ordering site's menu page ----------
   Built by the script at the end of base.html, so without JavaScript it simply does not exist and
   the page follows the device. Fixed bottom-right; three 44px buttons in a pill (the menu page's
   are 34px: enlarged here for touch targets). Collapses onto the selected disc after the first
   scroll and re-expands on tap/focus, like the menu page. It yields (fades out, not clickable)
   while it would sit on top of a link, button, embed or the footer's last line, so it never
   covers one. Transform/opacity only. */
.theme-fab {
  position: fixed; z-index: 990;                       /* below the shared header (1000) and its menu */
  right: calc(14px + env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  width: 140px; height: 52px; pointer-events: none;
  transition: opacity 0.2s ease;
}
.theme-fab.tf-yield { opacity: 0; }
.theme-fab.tf-yield * { pointer-events: none !important; }
.theme-fab .tf-bg {
  position: absolute; inset: 0; border-radius: 999px; pointer-events: auto;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--fab-shadow);
  transition: opacity 0.25s ease;
}
.theme-fab.collapsed .tf-bg { opacity: 0; pointer-events: none; }
.theme-fab button {
  position: absolute; top: 4px; left: 4px; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 0; background: transparent; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto;
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1), opacity 0.22s ease;
}
.theme-fab button[aria-checked="true"] { background: var(--yellow); color: var(--navy); }   /* filled yellow disc */
.theme-fab.collapsed button[aria-checked="false"] { opacity: 0; pointer-events: none; }
.theme-fab.collapsed button[aria-checked="true"] { box-shadow: var(--fab-shadow); }
/* MAC SAFARI ONLY (12/03/2026). Measured in real Safari on macOS with real scroll-wheel input and a
   screen recording: a CSS transition on transform or opacity that starts while the wheel is scrolling
   shows one frame, freezes about 170 ms, then jumps (this toggle tucking away on the first scroll did
   exactly that). The same motion driven through a REGISTERED custom property runs every frame, because
   Safari then animates it on the page's own thread. So here the buttons' slide comes from --tfx (set by
   the script alongside the inline transform) and the fades from --tfo. Still transform and opacity
   only. Every other browser keeps the plain transitions above. The @supports test is true only in
   Safari on macOS (-apple-system-body is Safari-only, -webkit-touch-callout is iOS-only). */
@property --tfx { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --tfo { syntax: '<number>'; inherits: false; initial-value: 1; }
@supports (font: -apple-system-body) and (not (-webkit-touch-callout: none)) {
  .theme-fab button {
    transform: translateX(var(--tfx)) !important;
    opacity: var(--tfo);
    transition: --tfx 0.3s cubic-bezier(.22,.61,.36,1), --tfo 0.22s ease;
  }
  .theme-fab.collapsed button[aria-checked="false"] { --tfo: 0; opacity: var(--tfo); }
  .theme-fab .tf-bg { opacity: var(--tfo); transition: --tfo 0.25s ease; }
  .theme-fab.collapsed .tf-bg { --tfo: 0; opacity: var(--tfo); }
}
.theme-fab button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-fab svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-fab .tf-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Room under the footer's last line, so at the end of the page the control sits on empty footer. */
.has-theme-fab .site-footer { padding-bottom: calc(28px + 52px + 14px + env(safe-area-inset-bottom, 0px)); }
@media print { .theme-fab { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .menu-link:hover, .cat-card:hover, .gallery a:hover img, .cat-card:hover .cat-card__arrow { transform: none; }
}

/* "Nearest to you" tag on the closest store (build/locations.js NEAREST_SCRIPT; shown only when a
   shared location answer exists). */
.loc-near {
  align-self: flex-start; display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--yellow); color: #16214d; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.card.is-nearest { box-shadow: 0 0 0 2px var(--yellow); }
