/* Little Ember Coffee: concept site by Parity (revision 1, 2026-10-28; revision 2, 2026-10-31: price tags, menu tabs, stars, bigger kickers)
   Palette: "Ember Board" (espresso, ember orange, mustard, cream), built on Coffee Shop Palettes.
   Fonts: Caprasimo (display) + Rubik (text; chosen by the user 2026-10-31, replacing Karla), self-hosted, SIL OFL 1.1.
   Shapes: ticket stubs for ordering, hard-shadow "stamp" buttons, letterboard menu boards, polaroids.
   Mobile-first. Motion: CSS + IntersectionObserver, all off under reduced motion. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/caprasimo-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/rubik-400-800-latin.woff2') format('woff2');
}
/* Size-matched local fallbacks, so text barely moves when the web fonts swap in.
   Caprasimo measured 2026-10-28, Rubik 2026-10-31 (Chrome canvas measureText, same sample string). */
@font-face {
  font-family: 'Caprasimo Fallback'; font-weight: 400;
  src: local('Georgia Bold'), local('Georgia-Bold');
  size-adjust: 98.3%; ascent-override: 93.6%; descent-override: 23.4%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Rubik Fallback'; font-weight: 400;
  src: local('Arial'), local('ArialMT');
  size-adjust: 104.6%; ascent-override: 89.4%; descent-override: 23.9%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Rubik Fallback'; font-weight: 500 600;
  src: local('Arial'), local('ArialMT');
  size-adjust: 108.3%; ascent-override: 86.3%; descent-override: 23.1%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Rubik Fallback'; font-weight: 700 800;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 106.4%; ascent-override: 87.9%; descent-override: 23.5%; line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --espresso: #24150E;     /* text on light, dark bands */
  --board: #2E1C14;        /* letterboard felt */
  --wood-1: #6B3E28;       /* board frame (decorative) */
  --wood-2: #4A2A1C;
  --ember: #F26A21;        /* vivid ember: order tickets, big shapes. Dark text only (5.77:1) */
  --ember-hover: #FF8240;  /* ticket hover (7.17:1 with espresso) */
  --ember-text: #B03A0C;   /* ember for small text on light (5.67 cream / 5.01 paper) */
  --mustard: #EDB53C;      /* counterpoint: hero and reviews bands, labels on dark */
  --cream: #FFF6E9;        /* page */
  --paper: #F9E7CC;        /* second light surface */
  --polaroid: #FFFDF7;
  --muted: #6B4A38;        /* secondary text on light (7.37 cream / 6.51 paper) */
  --on-dark: #FFF6E9;
  --on-dark-muted: #D9C2A9;
  --open: #9EDB8C;         /* "Open now" on dark */
  --open-dark: #2C6A33;    /* "Open now" on light */
  --input-border: #8C6A55;
  --error: #A8320B;
  --sage: #2F6B3A;
  --tag-tint: #E6EED9;
  --line: rgb(36 21 14 / .16);

  --display: 'Caprasimo', 'Caprasimo Fallback', Georgia, serif;
  --sans: 'Rubik', 'Rubik Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);
  --header-h: 0px;
  --bar-h: 0px;
  --pill-zone: 64px;       /* concept pill + its margin, kept clear for focused items */
  --focus: var(--ember-text);
  --ticket-mask:
    radial-gradient(circle at 0 50%, #0000 7px, #000 7.5px) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 7px, #000 7.5px) 100% 0 / 51% 100% no-repeat;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Author `display` rules beat the UA's [hidden] rule, so restate it. */
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scroll-padding-bottom: calc(var(--bar-h) + var(--pill-zone) + 1rem); /* focused fields never sit under the pill or bar */
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  line-height: 1.6;
  padding-bottom: var(--bar-h);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.35rem, 1.6rem + 2.9vw, 3.75rem); }
h3 { font-size: clamp(1.3rem, 1.18rem + .5vw, 1.6rem); }
p { margin: 0 0 1em; }
a { color: var(--ember-text); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--espresso); }
ul { margin: 0; }
address { font-style: normal; }
button { font: inherit; }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
/* Focus colour per background (all ≥ 3:1 against their section) */
.board, .menu-board, .ribbon, .events, .site-footer, .door-sign, .order-stub-main { --focus: var(--mustard); }
.hero, .reviews, .takehome { --focus: var(--espresso); }

.container { width: min(100% - 2 * clamp(1.1rem, 4vw, 2.5rem), 76rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 1.6rem + 5vw, 5.5rem); }
.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: -4rem; z-index: 100;
  background: var(--espresso); color: var(--on-dark); padding: .75rem 1.1rem; border-radius: 6px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); outline-color: var(--mustard); }

/* Kicker: a readable label (16-17px, not tiny) led by a thick rule, so every section head reads at a glance */
.kicker {
  display: flex; align-items: center; gap: .7rem;
  font: 800 clamp(.9375rem, .9rem + .2vw, 1.0625rem)/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember-text);
  margin: 0 0 .7rem;
}
.kicker::before { content: ""; flex: none; width: 2rem; height: 4px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .kicker::after { content: ""; flex: none; width: 2rem; height: 4px; border-radius: 2px; background: currentColor; }
@media (max-width: 29.99rem) { /* phones: one rule above the centred label, so a two-line label never floats between rules */
  .section-head--center .kicker { flex-direction: column; gap: .5rem; text-wrap: balance; }
  .section-head--center .kicker::after { content: none; }
}
.section-head--split { max-width: none; display: grid; gap: .5rem 3rem; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
@media (min-width: 56rem) { .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.section-lead { color: var(--muted); font-size: 1.0625rem; }

/* ---------- Ticket button (ordering only) ----------
   The notched shape is painted by two masked pseudo-elements, so the
   link itself is never masked and its focus ring stays whole. */
.ticket {
  --perf: calc(.9rem + 18px + .35rem);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 48px; padding: .7rem 1.35rem .7rem .9rem;
  border: 0; background: none; cursor: pointer;
  color: var(--espresso); text-decoration: none; text-align: left;
  font: 800 .875rem/1.1 var(--sans); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  transition: translate .16s var(--ease);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 5px;
  -webkit-mask: var(--ticket-mask); mask: var(--ticket-mask);
}
.ticket::before { background: var(--espresso); translate: 3px 3px; transition: translate .16s var(--ease); }   /* hard shadow */
.ticket::after {
  background: linear-gradient(var(--espresso) 55%, #0000 0) var(--perf) 0 / 1.5px 7px repeat-y; /* perforation */
  background-color: var(--ember);
  transition: background-color .2s;
}
.ticket:hover { color: var(--espresso); }
.ticket:hover::after { background-color: var(--ember-hover); }
.ticket-icon { width: 18px; height: 18px; flex: none; }
.ticket-label { display: block; }
@media (hover: hover) and (pointer: fine) {
  .ticket:hover { translate: -1px -1px; }
  .ticket:hover::before { translate: 4px 4px; }
}
.ticket:active { translate: 2px 2px; }
.ticket:active::before { translate: 1px 1px; }
.ticket:focus-visible { outline-offset: 5px; }

/* ---------- Stamp button (everything else): square, hard offset shadow ---------- */
.stamp-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.2rem;
  background: var(--cream); color: var(--espresso);
  border: 2px solid var(--espresso); border-radius: 4px;
  box-shadow: 3px 3px 0 var(--espresso);
  font: 800 .9375rem/1.15 var(--sans); letter-spacing: .02em; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: translate .16s var(--ease), box-shadow .16s var(--ease), background-color .2s;
}
.stamp-btn svg { width: 18px; height: 18px; flex: none; }
.stamp-btn:hover { background: var(--mustard); color: var(--espresso); }
.stamp-btn:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--espresso); }
.stamp-btn--dark { background: var(--espresso); color: var(--on-dark); box-shadow: 3px 3px 0 var(--ember); }
.stamp-btn--dark:hover { background: var(--board); color: var(--mustard); }
.stamp-btn--dark:active { box-shadow: 1px 1px 0 var(--ember); }
.stamp-btn--light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); box-shadow: 3px 3px 0 var(--mustard); }
.stamp-btn--light:hover { background: var(--on-dark); color: var(--espresso); }
.stamp-btn--light:active { box-shadow: 1px 1px 0 var(--mustard); }
.stamp-btn--ember { background: var(--ember); color: var(--espresso); }
.stamp-btn--ember:hover { background: var(--ember-hover); }

/* ---------- Status (computed from menu-data.js) ---------- */
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.status-dot {
  width: .6rem; height: .6rem; border-radius: 50%; flex: none;
  background: currentColor; opacity: .75;
}
.status[data-state="open"] { color: var(--open-dark); }
.status[data-state="open"] .status-dot { opacity: 1; box-shadow: 0 0 0 3px rgb(44 106 51 / .2); }
.status[data-state="closing"] .status-dot { background: var(--ember); opacity: 1; }

/* ---------- Header: centred logo, nav split left and right ---------- */
.site-header { position: relative; z-index: 50; background: var(--cream); border-bottom: 2px solid var(--espresso); }
.header-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; column-gap: .5rem; padding-block: .55rem 0;
}
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-left { justify-self: start; gap: .1rem; margin-left: -.5rem; }
.nav-right { justify-self: end; gap: .1rem; }
.nav-list a:not(.ticket) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem;
  color: var(--espresso); font-weight: 700; text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 50% 76% / 0 3px;
  transition: background-size .3s var(--ease);
}
.nav-list a:not(.ticket):hover, .nav-list a:not(.ticket):focus-visible { background-size: calc(100% - 1rem) 3px; color: var(--espresso); }
.nav-extra { display: none; }
.nav-mobile {
  grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; column-gap: .1rem;
  margin-top: .45rem; border-top: 1.5px dashed var(--line);
}
.nav-mobile a:not(.ticket) { font-size: .9375rem; }

.brand-wrap { display: grid; justify-items: center; }
.brand {
  display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; min-height: 44px;
  color: var(--espresso); text-decoration: none; text-align: center;
}
.brand:hover { color: var(--espresso); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.15rem; line-height: 1; white-space: nowrap; }
.brand-sub { display: block; font: 800 .5625rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.header-status { display: none; }

/* Header ticket: compact two-line stub on phones */
.ticket--header { padding: .45rem .75rem .45rem .7rem; min-height: 46px; font-size: .75rem; letter-spacing: .1em; gap: 0; }
.ticket--header .ticket-icon { display: none; }
.ticket--header .ticket-break { display: block; }
.ticket--header::after { background-image: none; }

@media (min-width: 26rem) {
  .brand { flex-direction: row; gap: .55rem; text-align: left; }
  .brand-name { font-size: 1.25rem; }
}

@media (min-width: 64rem) {
  :root { --header-h: 86px; }
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: var(--header-h); padding-block: .5rem; column-gap: 1.25rem; }
  .nav-extra { display: block; }
  .nav-mobile { display: none; }
  .nav-left { gap: .35rem; }
  .nav-right { gap: .35rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.6rem; }
  .brand-sub { font-size: .625rem; }
  .header-status { display: inline-flex; margin: .2rem 0 0; font-size: .8125rem; }
  .ticket--header { padding: .7rem 1.35rem .7rem .9rem; min-height: 48px; font-size: .8125rem; letter-spacing: .13em; gap: .7rem; margin-left: .5rem; }
  .ticket--header .ticket-icon { display: block; }
  .ticket--header .ticket-break { display: inline; }
  .ticket--header::after { background-image: linear-gradient(var(--espresso) 55%, #0000 0); }
}

/* ---------- Hero: mustard sunburst, letterboard, polaroids ---------- */
.hero { position: relative; background: var(--mustard); padding-block: clamp(1.25rem, 3.5vw, 3.75rem) clamp(2.75rem, 5vw, 5rem); overflow: clip; isolation: isolate; }
.hero::before { /* retro sunburst, decorative */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 3deg at 74% 42%, rgb(255 246 233 / .2) 0deg 6deg, #0000 6deg 12deg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* The board (shared by the hero and the menu): felt with letterboard grooves in a wooden frame */
.board, .menu-board {
  position: relative; color: var(--on-dark);
  border: 10px solid #0000; border-radius: 16px;
  background:
    repeating-linear-gradient(0deg, rgb(255 246 233 / .03) 0 2px, #0000 2px 7px) padding-box,
    linear-gradient(var(--board), var(--board)) padding-box,
    linear-gradient(135deg, var(--wood-1), var(--wood-2) 30%, var(--wood-1) 55%, var(--wood-2) 80%, var(--wood-1)) border-box;
  box-shadow: inset 0 0 0 2px rgb(255 246 233 / .08), 7px 7px 0 var(--espresso);
}
.board { padding: clamp(1.15rem, 3.4vw, 2.4rem); }
.board a:not(.ticket):not(.stamp-btn) { color: var(--mustard); }
.board a:not(.ticket):not(.stamp-btn):hover { color: var(--on-dark); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; min-height: 2.3rem; } /* room for the open sign before JS shows it: no layout shift */
.board-date, .board-rows dt {
  margin: 0; font: 800 .8125rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mustard);
}
.board-title { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1; margin-bottom: .35em; color: var(--on-dark); }
.board-welcome { color: var(--on-dark-muted); font-size: 1.0625rem; margin-bottom: 1.1rem; max-width: 34rem; }

/* Neon "Open" sign: decorative; the status text carries the meaning */
.open-sign {
  margin: 0; flex: none;
  font: 400 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem .75rem .5rem; border: 2px solid currentColor; border-radius: 10px;
  color: var(--on-dark-muted);
}
.open-sign[data-state="open"], .open-sign[data-state="closing"] {
  color: var(--ember);
  text-shadow: 0 0 6px rgb(242 106 33 / .85), 0 0 18px rgb(242 106 33 / .55);
  box-shadow: 0 0 12px rgb(242 106 33 / .5), inset 0 0 10px rgb(242 106 33 / .35);
}

.board-rows { margin: 0 0 1.4rem; border-top: 1.5px solid rgb(255 246 233 / .22); }
.board-row { display: grid; gap: .25rem; padding: .85rem 0; border-bottom: 1.5px dashed rgb(255 246 233 / .22); }
.board-rows dd { margin: 0; display: grid; gap: .2rem; min-width: 0; }
.board .status { color: var(--on-dark); font-size: 1.0625rem; }
.board .status[data-state="open"] { color: var(--open); }
.board .status[data-state="open"] .status-dot { box-shadow: 0 0 0 3px rgb(158 219 140 / .25); }
.board .status[data-state="closing"] { color: var(--mustard); }
.board-line { display: flex; align-items: baseline; gap: .5rem; min-width: 0; }
.board-item { font-family: var(--display); font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); line-height: 1.2; color: var(--on-dark); }
.board-leader { flex: 1; min-width: 1rem; border-bottom: 2px dotted rgb(255 246 233 / .35); translate: 0 -.3em; }
/* Price tags (revision 2): prices get the same weight as the item names. A mustard hang-tag in the
   display face, pointing back along the dotted leader, with a punched hole. Espresso on mustard 8.9:1. */
.board-price, .menu-price, .season-price {
  position: relative; flex: none;
  font: 400 1.25rem/1 var(--display); letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--espresso); background: var(--mustard);
  padding: .32rem .6rem .3rem 1.05rem; border-radius: 0 4px 4px 0;
  clip-path: polygon(.6rem 0, 100% 0, 100% 100%, .6rem 100%, 0 50%);
}
.board-price::before, .menu-price::before, .season-price::before { /* the tag's hole, in the colour of the surface behind */
  content: ""; position: absolute; left: .5rem; top: 50%; width: .34rem; height: .34rem; translate: 0 -50%;
  border-radius: 50%; background: var(--hole, var(--board));
}
.board-price { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); margin-block: -.3rem; } /* tag overhangs the line instead of growing it: no layout shift when the special loads */
.board-sub { color: var(--on-dark-muted); font-size: .9688rem; line-height: 1.45; }
.board-sub:empty { display: none; }
@media (min-width: 30rem) {
  .board-row { grid-template-columns: 8.75rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
}
.board-actions { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; margin-bottom: 1.1rem; }
.board-address { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; margin: 0; font-size: .9688rem; color: var(--on-dark-muted); }
.board-address svg { width: 18px; height: 18px; color: var(--mustard); flex: none; }
.board-address a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* Polaroids (hero collage, story, beans, gallery wall) */
.polaroid { position: relative; margin: 0; list-style: none; rotate: var(--r, 0deg); }
.polaroid figure, figure.polaroid { margin: 0; }
.polaroid figure, figure.polaroid {
  background: var(--polaroid); padding: .55rem .55rem 0;
  box-shadow: 0 1px 2px rgb(36 21 14 / .28), 0 16px 32px rgb(36 21 14 / .2);
}
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper); }
.polaroid figcaption { font: 400 1rem/1.2 var(--display); text-align: center; color: var(--espresso); padding: .6rem .25rem .75rem; }
.polaroid::before { /* tape */
  content: ""; position: absolute; z-index: 2; top: -11px; left: 50%; width: 76px; height: 22px;
  translate: -50% 0; rotate: -4deg;
  background: rgb(255 246 233 / .72); box-shadow: 0 1px 2px rgb(36 21 14 / .15);
}

/* Phones and tablets: three polaroids side by side, tilted but not overlapping, so every caption reads */
.collage {
  position: relative; list-style: none; margin: 0 auto; padding: .75rem 0 0; width: 100%; max-width: 46rem; /* explicit width: auto margins on a grid item would shrink it to its (absolute) content on desktop */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 2.5vw, 1.5rem); align-items: start;
}
.collage .polaroid figure { padding: .4rem .4rem 0; }
.collage .polaroid:nth-child(1) { --r: -5deg; margin-top: .9rem; }
.collage .polaroid:nth-child(2) { --r: 3.5deg; }
.collage .polaroid:nth-child(3) { --r: -2.5deg; margin-top: 1.5rem; }
.collage .polaroid figcaption { font-size: clamp(.75rem, .6rem + .7vw, .9375rem); padding: .45rem .1rem .55rem; }
.collage .polaroid::before { width: 52px; height: 18px; top: -9px; }
.collage-badge { display: none; }

@media (min-width: 60rem) {
  .collage { display: block; height: 35rem; padding: 0; max-width: none; }
  .collage .polaroid { position: absolute; margin: 0; max-width: none; }
  .collage .polaroid figure { padding: .55rem .55rem 0; }
  .collage .polaroid figcaption { padding: .6rem .25rem .75rem; }
  .collage .polaroid::before { width: 76px; height: 22px; top: -11px; }
  .collage .polaroid:nth-child(1) { width: 58%; left: 0; top: 2.5rem; --r: -4deg; }
  .collage .polaroid:nth-child(2) { width: 44%; right: 0; top: 0; --r: 5deg; z-index: 1; }
  .collage .polaroid:nth-child(3) { width: 46%; right: 3%; bottom: 0; --r: -2.5deg; z-index: 3; margin: 0; }
  .collage .polaroid figcaption { font-size: 1.0625rem; }
  .collage-badge { display: block; position: absolute; left: 6%; bottom: 1.5rem; width: 128px; z-index: 4; list-style: none; rotate: -10deg; }
}
.collage-badge .badge-bg { fill: var(--espresso); }
.collage-badge .badge-ring { fill: none; stroke: var(--mustard); stroke-width: 1.5; stroke-dasharray: 3 4; }
.collage-badge text { font: 800 10.5px var(--sans); letter-spacing: 2.4px; fill: var(--mustard); }
.collage-badge .badge-flame { fill: var(--ember); }

/* Signature effect: the polaroids land on the table once, one after another.
   Transform only (never opacity), so the hero photo is visible from the first frame. */
@media (prefers-reduced-motion: no-preference) {
  .js .collage .polaroid { animation: land .9s var(--spring) both; animation-delay: calc(.12s + var(--i, 0) * .14s); }
  .js .collage-badge { animation: stamp-in .5s var(--spring) .62s both; }
}
@keyframes land { from { transform: translate(14px, -26px) scale(1.07) rotate(6deg); } to { transform: none; } }
@keyframes stamp-in { from { transform: scale(1.35); } to { transform: none; } }

/* ---------- Good-to-know ribbon ---------- */
.ribbon { background: var(--espresso); color: var(--mustard); }
/* Phones: a tidy list, a diamond before every item. Wider: one or two lines, diamonds between items. */
.ribbon-list {
  list-style: none; padding-block: 1.1rem; padding-inline: 0;
  display: grid; justify-content: center; gap: .45rem;
  font: 800 .875rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.ribbon-list li { display: flex; align-items: center; gap: .75rem; }
.ribbon-list li::before { /* ember diamond */
  content: ""; width: 7px; height: 7px; background: var(--ember); rotate: 45deg; flex: none;
}
@media (min-width: 48rem) {
  .ribbon-list { display: flex; flex-wrap: wrap; gap: .35rem 0; text-align: center; padding-block: .95rem; letter-spacing: .14em; }
  .ribbon-list li { gap: 0; }
  .ribbon-list li:first-child::before { display: none; }
  .ribbon-list li + li::before { margin-inline: 1rem; }
}

/* ---------- Menu section ---------- */
.menu-section { background: var(--cream); }
.menu-board { padding: clamp(1.1rem, 3.5vw, 2.75rem); }
/* Menu tabs: one category on the board at a time (less scrolling). Selected = filled mustard tab with a
   pointer below, unselected = outlined, so the state never relies on colour alone. */
.board-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; }
html:not(.menu-ready) .board-tabs { display: none; }
.board-tab {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .85rem;
  background: none; color: var(--on-dark); cursor: pointer;
  border: 2px solid rgb(255 246 233 / .4); border-radius: 4px;
  font: 800 .875rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s, color .2s, background-color .2s;
}
.board-tab:hover { border-color: var(--mustard); color: var(--mustard); }
.board-tab[aria-selected="true"] { background: var(--mustard); border-color: var(--mustard); color: var(--espresso); }
.board-tab[aria-selected="true"]::after { /* pointer down to the panel */
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; translate: -50% 0; rotate: 45deg;
  background: var(--mustard); clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Phones: two tabs per row in sentence case, so the five categories take three short rows */
@media (max-width: 39.99rem) {
  .board-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-tab { justify-content: center; text-align: center; text-transform: none; letter-spacing: 0; font-size: .9375rem; padding-inline: .5rem; }
  .board-tab:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; min-width: 50%; }
}
@media (min-width: 40rem) { .board-tab { padding-inline: 1.05rem; letter-spacing: .12em; } }
.menu-cat:focus-visible { outline-offset: 8px; }
.milk-note {
  text-align: center; margin: 0 auto 1.75rem; max-width: 40rem; padding: .7rem 1rem;
  border-block: 1.5px solid rgb(255 246 233 / .22); color: var(--on-dark); font-weight: 600;
}

.menu-board-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
/* The open category's items flow into two columns on wider boards */
@media (min-width: 46rem) { .menu-list { columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); } }
@media (max-width: 63.99rem) { .season-card { width: 100%; max-width: 30rem; justify-self: center; margin-top: .75rem; } }
@media (min-width: 64rem) {
  .menu-board-grid { grid-template-columns: minmax(0, 1fr) 18.5rem; gap: 2.5rem; align-items: start; }
}
/* A single item never splits across the two columns */
.menu-cat { margin-bottom: 1.5rem; }
.menu-cat-title { font-size: 1.75rem; color: var(--mustard); margin-bottom: .3rem; }
.menu-item { break-inside: avoid; padding-bottom: 1rem; } /* padding, not margin: margins vanish at column breaks */
.menu-cat-note { color: var(--on-dark-muted); font-size: .9375rem; margin-bottom: 1.1rem; }
.menu-list { list-style: none; padding: 0; } /* block, not grid: fragments cleanly across the columns */
.menu-row { display: flex; align-items: baseline; gap: .55rem; }
.menu-name { font-weight: 800; font-size: 1.125rem; line-height: 1.3; color: var(--on-dark); }
.menu-leader { flex: 1; min-width: 1.25rem; border-bottom: 2px dotted rgb(255 246 233 / .35); translate: 0 -.3em; }
.menu-price.is-sold-out, .season-price.is-sold-out {
  background: none; clip-path: none; padding: 0; color: var(--on-dark-muted); font: 700 .9375rem/1.3 var(--sans);
}
.menu-price.is-sold-out::before, .season-price.is-sold-out::before { content: none; }
.menu-item.is-sold-out .menu-name { text-decoration: line-through; color: var(--on-dark-muted); }
.menu-desc { margin: .1rem 0 0; color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.5; }
.menu-fallback { padding: 1rem 0; color: var(--on-dark); }
.menu-fallback a { color: var(--mustard); }

/* Dietary tags: small square stamps */
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin-top: .45rem; }
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .1rem .55rem .1rem .15rem; border-radius: 3px;
  background: rgb(255 246 233 / .1); color: var(--on-dark); font-size: .8125rem; line-height: 1.35;
}
.tag-abbr {
  display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.25rem; padding: 0 .3rem;
  border-radius: 2px; background: var(--mustard); color: var(--espresso);
  font-weight: 800; font-size: .6875rem; letter-spacing: .04em;
}
.tag-contains-nuts .tag-abbr { background: var(--ember); }
.menu-foot { display: grid; gap: .75rem; margin-top: .5rem; padding-top: 1.4rem; border-top: 1.5px solid rgb(255 246 233 / .22); font-size: .9375rem; color: var(--on-dark-muted); }
.menu-foot p { margin: 0; }
.tag-legend { display: flex; flex-wrap: wrap; gap: .4rem .5rem; list-style: none; padding: 0; }
.allergen-note strong { color: var(--on-dark); }

/* "This season": a paper card taped to the board */
.season-card {
  position: relative; background: var(--paper); color: var(--espresso);
  padding: 1.5rem 1.25rem 1.1rem; rotate: -1.2deg;
  box-shadow: 0 2px 3px rgb(0 0 0 / .25), 0 18px 30px rgb(0 0 0 / .3);
}
.season-card::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 24px; translate: -50% 0; rotate: 3deg;
  background: rgb(255 246 233 / .75); box-shadow: 0 1px 2px rgb(0 0 0 / .2);
}
.season-card h3 { font-size: 1.5rem; text-align: center; margin-bottom: .9rem; color: var(--espresso); }
.season-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.season-item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .85rem; align-items: start; }
.season-thumb { width: 4.5rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--ember); background: var(--cream); }
.season-thumb img { width: 100%; height: 100%; object-fit: cover; }
.season-body { display: grid; gap: .15rem; }
.season-row { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; margin: 0 0 .2rem; } /* name, then its price tag */
.season-name { font-weight: 800; line-height: 1.25; }
.season-price { --hole: var(--paper); background: var(--ember); font-size: 1.15rem; } /* espresso on ember 5.77:1 */
.season-price.is-sold-out { color: var(--muted); }
.season-desc { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.season-card .tag { background: var(--tag-tint); color: var(--espresso); }
.season-card .tag-abbr { background: var(--sage); color: #fff; }
.season-card .tag-contains-nuts .tag-abbr { background: var(--error); }

/* Parity concept note (explains the self-editing approach to prospective clients) */
.concept-note { margin-top: 2rem; border: 2px dashed var(--input-border); border-radius: 6px; background: var(--polaroid); }
.concept-note summary {
  display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .75rem 1.15rem;
  cursor: pointer; font-weight: 800; list-style: none;
}
.concept-note summary::-webkit-details-marker { display: none; }
.concept-note summary::after { content: "+"; margin-left: auto; font: 400 1.5rem/1 var(--display); color: var(--ember-text); transition: rotate .25s var(--ease); }
.concept-note[open] summary::after { rotate: 45deg; }
.concept-note-body { padding: 0 1.15rem 1.25rem; display: grid; gap: .85rem; font-size: .9688rem; }
.concept-note-body p { margin: 0; }
.concept-note-body p code { font: 600 .9em ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace; background: var(--paper); padding: .05rem .4rem; border-radius: 4px; }
.concept-note pre {
  margin: 0; padding: 1rem 1.1rem; overflow-x: auto; max-width: 100%;
  background: var(--espresso); color: var(--on-dark); border-radius: 6px;
  font: 400 .8125rem/1.6 ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
}
.concept-note pre .hl { color: var(--mustard); font-weight: 700; }
.concept-note pre .cm { color: var(--on-dark-muted); }
.concept-mark { width: 18px; height: 18px; flex: none; }
.concept-mark--ink { fill: var(--espresso); }

/* Order ahead: one big ticket stub */
.order-stub { margin-top: 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr); filter: drop-shadow(6px 6px 0 var(--espresso)); }
.order-stub-side {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--ember); color: var(--espresso); padding: .9rem 1rem; border-radius: 8px 8px 0 0;
  font: 800 .875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.order-stub-side svg { width: 26px; height: 26px; }
.order-stub-main {
  display: grid; gap: 1.25rem; align-items: center;
  background: var(--espresso); color: var(--on-dark); padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 0 0 8px 8px;
  border-top: 3px dashed var(--ember);
}
.order-stub-main h3 { margin-bottom: .3rem; color: var(--on-dark); }
.order-stub-main p { margin: 0; color: var(--on-dark-muted); }
.order-actions { display: grid; gap: .9rem; justify-items: start; }
@media (min-width: 48rem) {
  .order-stub { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .order-stub-side { flex-direction: column; border-radius: 8px 0 0 8px; }
  .order-stub-main { grid-template-columns: minmax(0, 1fr) auto; border-radius: 0 8px 8px 0; border-top: 0; border-left: 3px dashed var(--ember); }
  .order-actions { justify-items: end; }
}
.concept-inline {
  font-size: .9375rem; line-height: 1.5; max-width: 34rem; margin: 0;
  padding: .7rem .9rem; border-radius: 4px;
  background: var(--polaroid); color: var(--espresso); border: 2px dashed var(--input-border);
}
.order-stub-main .concept-inline { background: var(--board); color: var(--on-dark); border-color: rgb(217 194 169 / .55); }

/* ---------- Story: polaroid and rubber stamps ---------- */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.story-copy h2 { max-width: 14ch; }
.story-copy p { max-width: 36rem; }
.story-copy p:not(.kicker):not(.signoff) { color: var(--muted); }
.signoff { font: 400 1.35rem/1.2 var(--display); color: var(--ember-text); margin-top: 1.5rem; }
.story-side { display: grid; gap: 2.25rem; justify-items: center; }
.polaroid--story { width: min(100%, 20rem); --r: 2.5deg; }
.polaroid--story img { aspect-ratio: 4 / 5; }
.stamps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 1.5rem; }
.stamp { display: grid; justify-items: center; gap: .6rem; width: 9.25rem; text-align: center; }
.stamp-ring {
  display: grid; place-content: center; gap: .3rem; width: 8.5rem; aspect-ratio: 1; border-radius: 50%;
  color: var(--ember-text); border: 2.5px solid currentColor;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5.5px currentColor;
  rotate: var(--r, 0deg); padding: .75rem;
}
.stamp-k { font: 800 .6875rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.stamp-ring strong { font: 400 1.25rem/1.05 var(--display); }
.stamp-note { font-size: .875rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 56rem) {
  .story-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* ---------- Take it home: ember band ---------- */
.takehome { background: var(--ember); color: var(--espresso); }
.takehome .kicker { color: var(--espresso); }
.takehome h2 { max-width: 15ch; }
.takehome-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.takehome-lead { max-width: 32rem; font-weight: 600; }
.takehome-links { list-style: none; padding: 0; margin: 1.75rem 0 1rem; border-top: 2px solid var(--espresso); }
.takehome-links li { border-bottom: 2px solid var(--espresso); }
.takehome-links a, .takehome-links button {
  display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 76px; padding: .9rem .1rem;
  background: none; border: 0; color: var(--espresso); text-align: left; text-decoration: none; cursor: pointer;
}
.tl-text { display: grid; gap: .1rem; }
.tl-text strong { font: 400 1.45rem/1.15 var(--display); }
.tl-text span { font-weight: 600; font-size: .9688rem; }
.tl-arrow {
  margin-left: auto; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--espresso); color: var(--ember); transition: translate .25s var(--ease), background-color .2s;
}
.tl-arrow svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .takehome-links a:hover .tl-arrow, .takehome-links button:hover .tl-arrow { translate: 5px 0; }
}
.takehome-links a:focus-visible .tl-arrow, .takehome-links button:focus-visible .tl-arrow { translate: 5px 0; }
.takehome .concept-inline { border-color: var(--espresso); }
.polaroid--beans { --r: -2.5deg; width: min(100%, 34rem); justify-self: center; }
.polaroid--beans img { aspect-ratio: 3 / 2; }
@media (min-width: 56rem) { .takehome-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Gallery: polaroid wall ---------- */
.gallery { background: var(--cream); }
/* Below 64rem: a sideways strip that snaps photo by photo (the next photo peeks in as the cue).
   Wide screens: all five in one row. Either way the wall is about one screen tall, not three. */
.wall-scroller {
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  margin-inline: calc(-1 * var(--gutter)); padding: .75rem var(--gutter) 2.75rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--muted) #0000;
}
.wall-scroller:focus-visible { outline-offset: -3px; }
.wall { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; width: max-content; }
.wall .polaroid { flex: none; width: min(60vw, 15.5rem); scroll-snap-align: start; }
.wall .polaroid img { aspect-ratio: 4 / 5; }
.wall .polaroid:nth-child(even) { translate: 0 1.25rem; }
.wall .polaroid figure { transition: rotate .35s var(--ease), translate .35s var(--ease); }
@media (min-width: 64rem) {
  .wall-scroller { margin-inline: 0; padding-inline: 0; overflow: visible; }
  .wall { width: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem; }
  .wall .polaroid { width: auto; }
}
@media (hover: hover) and (pointer: fine) {
  .wall .polaroid:hover figure { rotate: calc(-1 * var(--r, 0deg)); translate: 0 -6px; }
}

/* ---------- Events: ticket stubs on espresso ---------- */
.events { background: var(--espresso); color: var(--on-dark); }
.events .kicker { color: var(--mustard); }
.events h2 { color: var(--on-dark); }
.events .section-lead { color: var(--on-dark-muted); }
.events-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 4rem; }
@media (min-width: 64rem) { .events-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.stubs { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.ticket-stub {
  --stub: 5.5rem;
  display: grid; grid-template-columns: var(--stub) minmax(0, 1fr); position: relative;
  background:
    linear-gradient(var(--ember), var(--ember)) 0 0 / var(--stub) 100% no-repeat,
    var(--cream);
  color: var(--espresso); border-radius: 6px;
  /* notches at the perforation, top and bottom */
  -webkit-mask:
    radial-gradient(circle at var(--stub) 0, #0000 9px, #000 9.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--stub) 100%, #0000 9px, #000 9.5px) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at var(--stub) 0, #0000 9px, #000 9.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--stub) 100%, #0000 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.ticket-stub::after { /* perforation line */
  content: ""; position: absolute; top: 12px; bottom: 12px; left: calc(var(--stub) - 1px); width: 2px;
  background: linear-gradient(var(--espresso) 50%, #0000 0) 0 0 / 2px 8px repeat-y; opacity: .55;
}
.stub-when { margin: 0; display: grid; place-content: center; text-align: center; padding: .9rem .4rem; }
.stub-date { display: grid; }
.stub-small { font: 800 .8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.stub-big { font: 400 2.1rem/1 var(--display); }
.stub-free { letter-spacing: .06em; text-transform: none; font-size: .8125rem; }
.stub-body { padding: 1rem 1.15rem 1.1rem 1.35rem; }
.stub-title { font-size: 1.4rem; margin-bottom: .2rem; color: var(--espresso); }
.stub-meta { margin: 0 0 .35rem; font-weight: 800; color: var(--ember-text); font-size: .9375rem; }
.stub-desc { margin: 0; color: var(--muted); font-size: .9688rem; }
.stub-price {
  grid-column: 2; justify-self: start; margin: 0 1.15rem 1.1rem 1.35rem;
  font: 800 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem .6rem; border: 2px solid var(--espresso); border-radius: 3px; rotate: -2deg;
}
@media (min-width: 40rem) {
  .ticket-stub { grid-template-columns: var(--stub) minmax(0, 1fr) auto; }
  .stub-price { grid-column: 3; align-self: center; margin: 0 1.4rem 0 0; }
}
.ticket-stub:nth-child(even) { rotate: .6deg; }
.ticket-stub:nth-child(odd) { rotate: -.4deg; }
.events-empty { color: var(--on-dark-muted); }

/* ---------- Reviews: speech bubbles on mustard ---------- */
.reviews { background: var(--mustard); }
.reviews .kicker { color: var(--espresso); }
.bubbles { list-style: none; padding: 0; display: grid; gap: 1.75rem; max-width: 50rem; margin-inline: auto; }
.bubble { max-width: 38rem; justify-self: start; }
.bubble--right { justify-self: end; text-align: right; }
.bubble blockquote {
  position: relative; margin: 0 0 .9rem; padding: 1.25rem 1.5rem;
  background: var(--cream); border: 2px solid var(--espresso); border-radius: 22px; box-shadow: 5px 5px 0 var(--espresso);
}
.bubble blockquote::after { /* tail */
  content: ""; position: absolute; left: 2.25rem; bottom: -13px; width: 22px; height: 22px;
  background: var(--cream); border-right: 2px solid var(--espresso); border-bottom: 2px solid var(--espresso);
  rotate: 45deg;
}
.bubble--right blockquote::after { left: auto; right: 2.25rem; }
.bubble blockquote p { margin: 0; font: 400 clamp(1.1rem, 1.02rem + .35vw, 1.3rem)/1.4 var(--display); text-align: left; }
.bubble-by { margin: 0; padding-inline: 1.25rem; font-weight: 800; font-size: 1rem; }
.bubble-by span { font-weight: 500; }
/* Stars: ember text colour (5.67:1 on cream); an empty star is an outline, not just a paler fill */
.stars { display: block; width: 6.6rem; height: 1.32rem; margin-bottom: .65rem; fill: var(--ember-text); }
.stars .star-off { fill: none; stroke: var(--ember-text); stroke-width: 1.7; }
.sample-note { margin: 2rem auto 0; text-align: center; font-size: .9375rem; max-width: 40rem; }
/* Wide screens: three bubbles side by side (one screen instead of two), the middle one dropped a step */
@media (min-width: 56rem) {
  .bubbles { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 2rem; align-items: start; }
  .bubble, .bubble--right { max-width: none; justify-self: stretch; }
  .bubble:nth-child(2) { margin-top: 2.5rem; }
}

/* ---------- Visit: door-sign hours ---------- */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 56rem) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.status-line { font-size: 1.125rem; margin-bottom: 2.75rem; }
.door-sign {
  position: relative; background: var(--espresso); color: var(--on-dark);
  border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 6px 6px 0 var(--ember);
}
.door-sign::before { /* hanging string: a square turned 45deg, top and left borders only, decorative */
  content: ""; position: absolute; left: 50%; top: -27px; width: 54px; height: 54px; margin-left: -27px;
  rotate: 45deg; border-top: 2px solid var(--espresso); border-left: 2px solid var(--espresso);
}
.door-sign::after { /* the nail */
  content: ""; position: absolute; left: 50%; top: -44px; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--espresso);
}
.door-title { text-align: center; color: var(--mustard); font-size: 1.6rem; margin-bottom: .8rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours-table th, .hours-table td { padding: .65rem .6rem; border-bottom: 1.5px dashed rgb(255 246 233 / .2); text-align: left; }
.hours-table th { font-weight: 600; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-table td[colspan] { white-space: normal; text-align: left; } /* the "hours didn't load" message wraps instead of widening the page */
.hours-table td a { color: var(--mustard); }
.hours-table .hol-name { display: block; white-space: normal; font-size: .875rem; font-weight: 600; } /* holiday name under today's hours; the hours themselves never wrap */
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 800; background: var(--mustard); color: var(--espresso); }
.hours-table .is-today th { border-radius: 4px 0 0 4px; }
.hours-table .is-today td { border-radius: 0 4px 4px 0; }
.today-pill {
  display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 2px;
  background: var(--espresso); color: var(--mustard); font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; vertical-align: .12em;
}
.special-wrap { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1.5px solid rgb(255 246 233 / .22); }
.special-wrap h4 { font-size: 1.2rem; margin-bottom: .6rem; color: var(--mustard); }
#special-hours { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: .9688rem; }
/* Phones: date and hours on one line, the holiday's name under them. Wider: three columns. */
#special-hours li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date hours" "name name"; column-gap: .75rem; align-items: baseline; }
.special-date { grid-area: date; font-weight: 700; white-space: nowrap; }
.special-name { grid-area: name; color: var(--on-dark-muted); font-size: .875rem; }
.special-hours { grid-area: hours; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
@media (min-width: 30rem) {
  #special-hours li { grid-template-columns: 6.5rem minmax(0, 1fr) auto; grid-template-areas: "date name hours"; }
  .special-name { font-size: inherit; }
}
.hours-note { margin: 1rem 0 0; font-size: .9375rem; color: var(--on-dark-muted); }

.map-card {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1rem;
  border: 2px solid var(--espresso); border-radius: 8px; box-shadow: 5px 5px 0 var(--espresso); background: var(--paper);
}
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-load { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; white-space: nowrap; }
.map-load:active { translate: calc(-50% + 2px) 2px; }
.visit-place .concept-inline { margin-bottom: 1.25rem; }
.visit-address { font-size: 1.0625rem; line-height: 1.55; margin: 1.5rem 0 1.25rem; }
.visit-address strong { font: 400 1.45rem/1.2 var(--display); display: block; margin-bottom: .2rem; }
.visit-address a { display: inline-block; padding-block: .6rem; white-space: nowrap; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
/* Getting here: folded into one expandable panel (less scrolling; the ribbon already lists parking and step-free entry) */
.getting-here { border-block: 2px solid var(--espresso); }
.getting-here summary {
  display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .5rem .1rem;
  cursor: pointer; list-style: none; font-weight: 800; font-size: 1.0625rem;
}
.getting-here summary::-webkit-details-marker { display: none; }
.getting-here summary::after { content: "+"; margin-left: auto; font: 400 1.6rem/1 var(--display); color: var(--ember-text); transition: rotate .25s var(--ease); }
.getting-here[open] summary::after { rotate: 45deg; }
.getting-here .visit-details { padding-bottom: .5rem; }
.visit-details { display: grid; margin: 0; }
.visit-details div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-top: 1.5px dashed var(--line); }
.visit-details dt { font-weight: 800; }
.visit-details dd { margin: 0; color: var(--muted); }

/* ---------- Catering form ---------- */
.catering { background: var(--paper); }
.catering-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.catering-copy p:not(.kicker) { color: var(--muted); max-width: 32rem; }
.catering-points { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .55rem; font-weight: 600; }
.catering-points li { display: flex; gap: .6rem; align-items: center; }
.catering-points svg { width: 22px; height: 22px; color: var(--open-dark); flex: none; }
@media (min-width: 56rem) { .catering-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

.form {
  position: relative; display: grid; gap: 1.1rem; background: #fff;
  padding: clamp(1.35rem, 3.5vw, 2.25rem); padding-top: clamp(1.75rem, 4vw, 2.6rem);
  border: 2px solid var(--espresso); border-radius: 6px; box-shadow: 6px 6px 0 var(--espresso);
}
.form::before { /* order-slip stripe, decorative */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--ember) 0 10px, var(--mustard) 10px 20px);
  border-bottom: 2px solid var(--espresso);
}
.form h3 { margin-bottom: 0; }
.form-intro { margin: -.4rem 0 0; color: var(--muted); font-size: .9375rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 30rem) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .35rem; align-content: start; }
.field label { font-weight: 800; font-size: .9688rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: 400 1rem/1.4 var(--sans); color: var(--espresso);
  background: #fff; border: 2px solid var(--input-border); border-radius: 4px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
/* :focus-within too: when the date field's built-in calendar button has focus, the input
   matches :focus-within but not :focus (Chrome, checked in round 1) */
.field input:focus, .field input:focus-within, .field textarea:focus { outline: 3px solid var(--ember-text); outline-offset: 1px; border-color: var(--espresso); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { margin: 0; color: var(--error); font-size: .875rem; font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .7rem; font-weight: 800; flex: none; }
.hint { margin: 0; font-size: .875rem; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { justify-self: start; min-width: 12rem; }
.form-submit .lbl { transition: opacity .2s; }
.form-submit .spin, .form-submit .check { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity .2s; }
.form-submit .spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgb(36 21 14 / .3); border-top-color: var(--espresso); animation: spin .8s linear infinite; }
.form-submit .check { width: 24px; height: 24px; }
.form-submit .check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease) .1s; }
.form-submit[data-state="loading"] .lbl, .form-submit[data-state="done"] .lbl { opacity: 0; }
.form-submit[data-state="loading"] .spin { opacity: 1; }
.form-submit[data-state="done"] { background: var(--sage); }
.form-submit[data-state="done"] .check { opacity: 1; }
.form-submit[data-state="done"] .check path { stroke-dashoffset: 0; }
.form-submit:disabled { cursor: default; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 0; min-height: 1.5em; font-weight: 700; }
.form.is-sent .form-status { color: var(--open-dark); }
.form-privacy { margin: 0; font-size: .875rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso); color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 5rem) calc(1.5rem + var(--pill-zone)); /* last line stays clear of the concept pill */
}
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--mustard); }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: minmax(0, 1fr); }
.brand--footer { flex-direction: row; gap: .6rem; text-align: left; color: var(--on-dark); }
.brand--footer:hover { color: var(--on-dark); }
.brand--footer .brand-mark { width: 44px; height: 44px; }
.brand--footer .brand-name { font-size: 1.5rem; }
.brand--footer .brand-sub { color: var(--on-dark-muted); }
.footer-brand p { color: var(--on-dark-muted); margin-top: 1rem; max-width: 22rem; }
.footer-h { font: 800 .875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: .9rem; }
.site-footer address, .site-footer ul { color: var(--on-dark-muted); line-height: 1.75; }
.site-footer address a { display: inline-block; padding-block: .3rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.hours-summary { list-style: none; padding: 0; }
.hours-summary li { display: flex; gap: .75rem; }
.hours-summary .sum-days { min-width: 5.5rem; color: var(--on-dark); font-weight: 700; }
.footer-base { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1.5px dashed rgb(255 246 233 / .2); font-size: .875rem; color: var(--on-dark-muted); }
.footer-base p { margin: 0; }
.site-footer address a[href^="mailto"] { overflow-wrap: anywhere; }
/* Phones: address and links side by side, hours full width (shorter footer) */
@media (min-width: 23rem) and (max-width: 47.99rem) {
  .footer-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 2rem 1.25rem; }
  .footer-grid > :first-child, .footer-grid > :nth-child(3) { grid-column: 1 / -1; }
  .footer-grid > :nth-child(3) { order: 1; }
}
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.25rem 1.5rem; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: .9rem; align-items: center;
  padding: .6rem clamp(1.1rem, 4vw, 2.5rem) calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: var(--cream); border-top: 2px solid var(--espresso);
}
.mobile-bar .ticket, .mobile-bar .stamp-btn { width: 100%; padding-inline: .6rem; }
.mobile-bar .stamp-btn { margin-right: 3px; }
:root { --bar-h: 70px; }
@media (min-width: 64rem) {
  :root { --bar-h: 0px; }
  .mobile-bar { display: none; }
}

/* ---------- Shared Parity concept pill: identical on all four demos (Revision 1 integration, 2026-10-28) ---------- */
.concept-notice { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: calc(100vw - 32px); }
.concept-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px 8px 12px; border-radius: 999px;
  background: #1F2933; color: #F6F2EA;
  font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .01em;
  white-space: nowrap; text-decoration: none;
  box-shadow: 0 6px 18px rgb(31 41 51 / .28);
}
.concept-pill:link, .concept-pill:visited, .concept-pill:hover { color: #F6F2EA; }
.concept-pill:hover span { text-decoration: underline; text-underline-offset: .2em; }
.concept-pill:focus-visible { outline: 3px solid #F6F2EA; outline-offset: 2px; box-shadow: 0 0 0 7px #1F2933, 0 6px 18px rgb(31 41 51 / .28); }
.concept-pill__mark { display: block; width: 16px; height: 16px; flex: none; } /* official Parity icon (2026-11-11) */
.concept-pill__short { display: none; }
/* Narrow phones: shorter visible text on one line; the full text stays the link's accessible name */
@media (max-width: 360px) {
  .concept-pill__long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; }
  .concept-pill__short { display: inline; }
}
/* Little Ember only: directly above the phone action bar below 64rem (--bar-h is 0 on wider screens and on privacy.html) */
.concept-notice { bottom: calc(var(--pill-gap, 16px) + var(--bar-h)); }
@media (max-width: 63.99rem) { :root { --pill-gap: 10px; } } /* pages without a bar reset this to 16px */

/* ---------- No-JS / missing data fallbacks ---------- */
.fallback-only { display: none; }
html:not(.data-ready) .fallback-only { display: block; }
html:not(.data-ready) #seasonal { display: none; }
html.menu-ready .menu-fallback { display: none; }

/* ---------- Reveal (basic motion set). Uses transform/opacity; static tilts use `rotate`/`translate`. ---------- */
.motion-ready .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
/* In the sideways gallery strip, photos past the edge would stay hidden until swiped to: show them as they are */
@media (max-width: 63.99rem) { .motion-ready .wall .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Page transitions (supporting browsers only) ---------- */
@view-transition { navigation: auto; }

/* ---------- Reduced motion: no movement anywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  .ticket, .ticket::before, .stamp-btn, .tl-arrow, .wall .polaroid figure { transition-property: background-color, color, box-shadow; }
  .ticket:hover, .ticket:active { translate: none; }
  .ticket:hover::before, .ticket:active::before { translate: 3px 3px; }
  .stamp-btn:active { translate: none; }
  .map-load:active { translate: -50% 0; }
  .takehome-links a:hover .tl-arrow, .takehome-links button:hover .tl-arrow,
  .takehome-links a:focus-visible .tl-arrow, .takehome-links button:focus-visible .tl-arrow { translate: none; }
  .wall .polaroid:hover figure { rotate: none; translate: none; }
  .concept-note summary::after, .getting-here summary::after, .board-tab { transition: none; }
  .wall-scroller { scroll-behavior: auto; }
  .form-submit .spin { animation: none; border-color: var(--espresso); }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}


/* ---------- Legal links in the footer (2026-10-31) ---------- */
.footer-legal { margin: 0 0 .5rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-base .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.footer-base .footer-legal a[aria-current="page"] { font-weight: 800; text-decoration-thickness: 2px; }

/* ===== CSP utilities (2026-11-15): these replace style="" attributes, which a Content-Security-Policy without
   'unsafe-inline' blocks (Website Security Standard). ===== */
/* CSP (2026-11-15): stagger indexes come from data-i="N" instead of style="--i:N", because the site's
   Content-Security-Policy has no 'unsafe-inline' (Website Security Standard). Add a rule here if an index above 9 is used. */
[data-i="0"] { --i: 0; }
[data-i="1"] { --i: 1; }
[data-i="2"] { --i: 2; }
[data-i="3"] { --i: 3; }
[data-i="4"] { --i: 4; }
[data-i="5"] { --i: 5; }
[data-i="6"] { --i: 6; }
[data-i="7"] { --i: 7; }
[data-i="8"] { --i: 8; }
[data-i="9"] { --i: 9; }
/* tilt of the stamps and wall polaroids: data-r="N" means --r: Ndeg (add a rule for a new value) */
[data-r="-6"] { --r: -6deg; }
[data-r="4"] { --r: 4deg; }
[data-r="-3"] { --r: -3deg; }
[data-r="2.5"] { --r: 2.5deg; }
[data-r="-1.5"] { --r: -1.5deg; }
[data-r="3"] { --r: 3deg; }
[data-r="-2.5"] { --r: -2.5deg; }
