/* mikeandpattys.com — one stylesheet for every page.

   Colour rhythm, taken from M&P's own print work (window signs, apparel):
     .theme-green  Mike's Green field, Patty's Mint type — header, hero, locations, footer
     (default)     paper #E1F2ED (light mint), Mike's Green type — reading sections
     .theme-mint   Patty's Mint field — one band per page at most (reviews, perks)
   Mustard: the fave / review star (the signature detail) and sticker accents.
   OG Green: sparingly, for marks that aren't text (open dot, card edges, rules).

   Spacing on a 4px grid. Rules follow unslop by Damir Sokolovsky
   (github.com/heydamir/unslop, CC BY 4.0) with M&P's brand kept: caps
   ExtraComp headlines and square corners.

   Type roles:
     .t-hero  home headline   ExtraComp Black, up to 8rem
     h1       page title      ExtraComp Black, up to 5rem
     h2       section title   ExtraComp Black, up to 3rem
     h3       item name       ExtraComp Bold, 1.5rem
     .label   kicker / meta   Cond Black, .875rem, sentence case
     body     BentonSans 1rem; .lead 1.125–1.25rem on page heads            */

@font-face { font-family: "BentonSans ExtraComp"; src: url("https://e73c79618ff1da015b84.cdn6.editmysite.com/uploads/b/e73c79618ff1da015b842ba2db40f8f7f27c3bbc172f2b63b8b5d1561d835e69/BentonSans%20ExtraComp%20Bold_1723575496.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "BentonSans ExtraComp"; src: url("https://e73c79618ff1da015b84.cdn6.editmysite.com/uploads/b/e73c79618ff1da015b842ba2db40f8f7f27c3bbc172f2b63b8b5d1561d835e69/BentonSans%20ExtraComp%20Black_1723575496.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "BentonSans Cond"; src: url("https://e73c79618ff1da015b84.cdn6.editmysite.com/uploads/b/e73c79618ff1da015b842ba2db40f8f7f27c3bbc172f2b63b8b5d1561d835e69/BentonSans%20Cond%20Black_1723575496.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "BentonSans"; src: url("https://e73c79618ff1da015b84.cdn6.editmysite.com/uploads/b/e73c79618ff1da015b842ba2db40f8f7f27c3bbc172f2b63b8b5d1561d835e69/BentonSans-Regular_1723575608.otf") format("opentype"); font-weight: 400; font-display: swap; }

:root {
  --green: #074E44;
  --mint: #C3E5DD;
  --og: #1F8E83;
  --mustard: #E3B23A;
  --paper: #E1F2ED;          /* light Patty's Mint: the page field, never plain white */
  --display: "BentonSans ExtraComp", "Arial Black", system-ui, sans-serif;
  --label-font: "BentonSans Cond", "Arial Narrow", system-ui, sans-serif;
  --body: "BentonSans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 84rem;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --header-h: 5.5rem;

  --bg: var(--paper);
  --fg: var(--green);
  --muted: #42655D;          /* 5.3:1 on paper */
  --line: rgba(7, 78, 68, 0.14);
  --card: rgba(255, 255, 255, 0.5);   /* a lighter mint on the paper */
  --field: #F4FAF8;
  --accent: var(--green);
}
.theme-green {
  --bg: var(--green); --fg: var(--mint); --muted: #A8C4BD;
  --line: rgba(195, 229, 221, 0.18); --card: rgba(195, 229, 221, 0.06);
  --field: #053c34; --accent: var(--mustard);
  background: var(--bg); color: var(--fg);
}
.theme-mint {
  --bg: var(--mint); --fg: var(--green); --muted: #2F5F57;
  --line: rgba(7, 78, 68, 0.18); --card: rgba(255, 255, 255, 0.55);
  background: var(--bg); color: var(--fg);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky-h, calc(var(--header-h) + 3rem))); }  /* --sticky-h: header + pickup bar, set in base.html */
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* !important: .form legend's width: 100% made the hidden catering legend 375px wide and the page scroll sideways on phones. */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px; padding: 0 !important; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--mustard); color: var(--green); padding: .5rem 1rem; font-family: var(--label-font); font-weight: 900; z-index: 20; }
.skip:focus { left: 1rem; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Type --------------------------------------------------------------- */
h1, h2, h3, .t-hero { font-family: var(--display); text-transform: uppercase; margin: 0; letter-spacing: .005em; }
.t-hero { font-weight: 900; font-size: clamp(3.5rem, 8.5vw, 8rem); line-height: .86; }
h1 { font-weight: 900; font-size: clamp(3rem, 7vw, 5rem); line-height: .9; }
h2 { font-weight: 900; font-size: clamp(2.25rem, 4.5vw, 3rem); line-height: .92; }
h3 { font-weight: 700; font-size: 1.5rem; line-height: 1.05; letter-spacing: .01em; }
.label { font-family: var(--label-font); font-weight: 900; letter-spacing: .01em; font-size: .875rem; line-height: 1.25; color: var(--accent); margin: 0; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.5; max-width: 38rem; margin: 16px 0 0; }
.muted { color: var(--muted); }
.star { color: var(--mustard); }
/* The brand star (sprite #i-star) inline with text, sized to the text around it. */
/* A stroke in its own colour thickens the thin points so it holds up at text size. */
svg.star { display: inline-block; width: 1.04em; height: 1em; fill: currentColor; stroke: currentColor; stroke-width: 3.5; stroke-linejoin: round; vertical-align: -.12em; overflow: visible; }
p { margin: 12px 0 0; }
.small { font-size: .8125rem; color: var(--muted); }
.head { margin-bottom: 40px; display: grid; gap: 12px; }
.head p { margin: 0; color: var(--muted); max-width: 36rem; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .head { margin: 0; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 20px; border: 2px solid var(--fg); border-radius: 0; background: transparent; color: var(--fg);
  font-family: var(--label-font); font-weight: 900; letter-spacing: .01em; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn:hover, .btn:focus-visible { background: var(--mustard); border-color: var(--mustard); color: var(--green); }
/* Anything mustard inside a button (the Rewards star) would vanish on the
   mustard hover, so it turns green with the label. */
.btn:hover .star, .btn:focus-visible .star, .btn:hover .icon, .btn:focus-visible .icon { color: var(--green); }
.btn-star { border-color: var(--mustard); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { font-family: var(--label-font); font-weight: 900; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* ---- Header: pickup strip on top, then logo + links | icons + order --------- */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--header-h); }
.nav { display: flex; gap: 28px; }
.nav a { font-family: var(--label-font); font-weight: 900; font-size: 1rem; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--mustard); }
.logo { display: grid; justify-items: center; text-decoration: none; gap: 6px; }
.logo img { width: 15rem; height: auto; }
.logo-sub { display: flex; justify-content: space-between; width: 100%; font-family: var(--label-font); font-weight: 900; font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mint); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--fg); text-decoration: none; }
.icon-btn:hover { color: var(--mustard); }
.actions .btn { min-height: 44px; padding: 10px 16px; margin-left: 8px; }
.menu-toggle { display: none; }
.menu-toggle summary { list-style: none; cursor: pointer; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--green); border-top: 1px solid var(--line); padding: 16px var(--gutter) 24px; display: grid; gap: 4px; }
/* Phone menu links: ExtraComp Bold with a little tracking (Black ran the letters together at this size). */
.menu-panel a:not(.btn) { font-family: var(--display); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 2rem; line-height: 1.25; padding: 2px 0; text-decoration: none; }
.menu-panel .btn { margin-top: 12px; }
/* Desktop: logo on the left, links right after it, icons + Order on the right,
   with a taller row and wider spacing than the old centred layout. The full
   row (wordmark, six links, icons, Order online) needs about 1,110px, so
   narrower screens get the phone header (menu button) instead of a squeezed
   logo. Keep 1140 in step with MOBILE_MAX in
   locations/square-sections/header-bar.js. */
@media (min-width: 1141px) {
  :root { --header-h: 6.5rem; }
  .bar { grid-template-columns: auto 1fr auto; gap: clamp(32px, 4vw, 64px); }
  .logo { order: -1; justify-items: start; }
  .logo img { width: 13.5rem; }
  .nav { gap: clamp(24px, 2.6vw, 40px); }
}
/* Just above the switch: tighter gaps so the six links have room. */
@media (min-width: 1141px) and (max-width: 1260px) {
  .bar { gap: 32px; }
  .nav { gap: 20px; }
}
@media (max-width: 1140px) {
  :root { --header-h: 4.5rem; }
  .bar { grid-template-columns: 44px 1fr 44px; gap: 12px; }
  .nav, .actions .btn, .actions .icon-btn.hide-sm { display: none; }
  .menu-toggle { display: block; }
  .logo img { width: 11rem; }
  .logo-sub { display: none; }
}

/* Pickup bar: which shop you're ordering from, its next pickup time (live
   from Square). The "Pickup from" line opens the shop list. Every [data-order]
   link follows the choice. No line above, so it reads as part of the navbar;
   one hairline under the whole header. */
.pickup { background: #053c34; }   /* slightly darker than the nav row */
.pickup .wrap { display: flex; align-items: center; gap: 16px; min-height: 40px; font-size: .875rem; position: relative; }
.pickup .where { all: unset; display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.pickup .where:hover #pickup-label, .pickup .where:focus-visible #pickup-label { text-decoration: underline; text-underline-offset: .2em; }
.pickup .where:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.pickup .where strong { font-family: var(--label-font); font-weight: 900; }
.pickup .when { color: var(--muted); font-size: .875rem; white-space: nowrap; }
/* The details element only holds the list; its summary is visually hidden. */
.pickup .change summary { list-style: none; }
.pickup .change summary::-webkit-details-marker { display: none; }
/* Arrow after the line flips while the list is open. */
.pickup .where .chev { flex-shrink: 0; transition: transform .15s ease; }
.pickup:has(.change[open]) .where .chev { transform: rotate(180deg); }
/* Shop list: hangs left, under the "Pickup from" line; one shop per row, address beside the name (under it on phones). */
.pickup-list { position: absolute; left: var(--gutter); top: 100%; width: min(34rem, calc(100% - 2 * var(--gutter))); background: var(--paper); color: var(--green); border: 1px solid rgba(7,78,68,.2); box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 8px; display: grid; z-index: 11; }
.pickup-list button { all: unset; cursor: pointer; display: grid; grid-template-columns: 13rem 1fr; align-items: baseline; gap: 2px 24px; padding: 12px; }
.pickup-list button + button { border-top: 1px solid rgba(7,78,68,.12); }
@media (max-width: 600px) { .pickup-list button { grid-template-columns: 1fr; } }
.pickup-list button:hover, .pickup-list button:focus-visible { background: rgba(7,78,68,.07); }
.pickup-list .n { font-family: var(--label-font); font-weight: 900; }
.pickup-list .a { font-size: .875rem; color: #47665F; }
/* Phones: one line, no pickup time; a long shop name gets an ellipsis. */
@media (max-width: 600px) { .pickup .when { display: none; } .pickup .where { font-size: .8125rem; max-width: 100%; } #pickup-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* ---- Sections -------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
/* Short list pages (press): sections stacked close, one gap between them. */
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); }
/* Gift cards: Square's gift card page in a frame. Tall enough that most of
   it shows without scrolling inside the frame; longer on phones (stacked). */
.gc { padding: 0 0 clamp(64px, 9vw, 128px); }
.gc-note { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.gc-frame { background: var(--mint); border: 1px solid rgba(7,78,68,.18); }
.gc-frame iframe { display: block; width: 100%; height: 1500px; border: 0; }
@media (max-width: 700px) { .gc-frame iframe { height: 1900px; } }

/* Background marks behind the home hero, low opacity: a big star on the left
   and the smiley at the bottom right, behind the sandwich. */
.hero-bg { position: absolute; pointer-events: none; opacity: .09; z-index: 0; height: auto; }
.hero-bg-star { width: clamp(220px, 30vw, 460px); left: -6%; top: 14%; transform: rotate(-12deg); }
/* Smiley badge on the home hero: Mike's Green with a mint face, at the sandwich's
   bottom-right corner, half over the hero's edge (home.html: .hero-badge-anchor). */
.hero-badge-anchor { position: relative; height: 0; z-index: 2; }
.hero-badge { position: absolute; right: clamp(0px, 4vw, 64px); top: 0; width: clamp(96px, 10vw, 150px); aspect-ratio: 1; height: auto; transform: translateY(-55%) rotate(8deg); pointer-events: none; filter: drop-shadow(0 4px 8px rgba(2,38,32,.55)); }
.smiley-badge .b-shape { fill: var(--mint); }
.smiley-badge .b-face { fill: var(--green); }
@media (max-width: 760px) { .hero-badge { width: 84px; right: 8px; } }   /* 8px: its tilted corner stays on screen */

/* Sandwich line-up (cut-outs on paper) */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 1100px) { .lineup { grid-template-columns: repeat(2, 1fr); } }
.lineup figure { margin: 0; display: grid; gap: 16px; align-content: start; }
.lineup figcaption p { margin-top: 8px; }
.lineup img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.lineup p { color: var(--muted); margin: 0; }
/* Phones: each sando is a row, photo beside its name and description, with a
   rule between rows, so it's clear which text goes with which photo. */
@media (max-width: 760px) {
  .lineup { grid-template-columns: 1fr; gap: 0; }
  .lineup figure { grid-template-columns: 7.5rem 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
  .lineup figure:first-child { border-top: 0; padding-top: 0; }
  .lineup img { max-width: none; }
  .lineup figcaption p { font-size: .875rem; line-height: 1.45; margin-top: 4px; }
}

/* Cards (faves, perks) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 16px; }
.card { background: var(--card); padding: 28px; }
.card p { color: var(--muted); font-size: .9375rem; margin-top: 10px; }
h3 .star { font-size: .9em; margin-right: 4px; }

/* Locations: photo-first. Strip on the home page, grid on /locations/ */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 22rem); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: thin; }
.strip > * { scroll-snap-align: start; }
.shop { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.shop img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .12s ease; }
.shop:hover img { opacity: .88; }
.shop .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.shop h3 { font-size: 1.75rem; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 40px 24px; }
.status { font-family: var(--label-font); font-weight: 900; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.status.is-open { color: var(--fg); }
.status.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--og); margin-right: 6px; vertical-align: .05em; }
.theme-green .status.is-open { color: var(--mustard); }
.theme-green .status.is-open::before { background: var(--mustard); }

/* Location tiles: the shop's A-frame icon in mint on green, then its name.
   Same icons as the printed A-frames and the QR landing pages. */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 16px; }
.tile { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--card); transition: background-color .12s ease; }
.tile:hover { border-color: var(--mint); background: rgba(195, 229, 221, 0.1); }
.tile-art { display: grid; place-items: center; padding: 28px 20px 4px; color: var(--mint); }
.tile-art { overflow: hidden; }
/* Every icon fits the same 8 x 6.5rem box (aspect kept), so tall marks (Bay's
   lamppost) and wide ones (Logan's plane) read at a similar weight. */
.tile-art .shop-icon { display: block; width: 6.5rem; height: 5.25rem; max-width: 100%; object-fit: contain; overflow: visible; }   /* HSP's disc runs a hair past its artboard */
/* Column so the open/closed line (or hours) sits on the card's bottom edge,
   level across a row even when names wrap to two lines. */
.tile-text { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 20px 24px; text-align: center; }
.tile-text h3 { font-size: 2rem; line-height: 1; }
.tile-text .status, .tile-text .hours { margin-top: auto; padding-top: 8px; }
/* Phones: two tiles across, with a smaller icon box and name. */
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile-art { padding: 20px 12px 2px; }
  .tile-art .shop-icon { width: 4.75rem; height: 3.75rem; }
  .tile-text { padding: 14px 16px 20px; gap: 4px; }
  .tile-text h3 { font-size: 1.5rem; }
  .tile-text .muted { font-size: .8125rem; }
  .tile::after { inset: 6px; border-radius: 18px; }
}

/* Single location */
.loc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.loc-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { margin: 28px 0 0; display: grid; gap: 16px; }
.facts dd { margin: 4px 0 0; }
.back { text-decoration: none; display: inline-block; margin-bottom: 16px; }
@media (max-width: 760px) { .loc-detail { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 16px; }
.review { margin: 0; background: var(--card); padding: 28px; display: grid; gap: 12px; align-content: start; }
.review .stars { color: var(--mustard); letter-spacing: 2px; font-size: 1.125rem; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.review figcaption { font-family: var(--label-font); font-weight: 900; font-size: .875rem; }

/* The loyalty frame, shared by every card on the site: rounded corners and a
   thin rule inset from the edge (from the loyalty artboard on the current
   site). Buttons and inputs stay square. */
.card, .tile, .review, .panel, .rw-panel { position: relative; border-radius: 24px; }
.card::after, .tile::after, .review::after, .panel::after, .rw-panel::after {
  content: ""; position: absolute; inset: 10px; border-radius: 16px; pointer-events: none;
  border: 1px solid currentColor; opacity: .28;
}
.panel, .rw-panel { border-radius: 32px; }
.panel::after, .rw-panel::after { inset: 16px; border-radius: 20px; }
.tile:hover { background: rgba(195, 229, 221, 0.12); }
.tile:hover::after { opacity: .6; }
.theme-mint .review, .theme-mint .card { background: rgba(255, 255, 255, 0.6); }

/* Catering: Eggy stands at the bottom right of the page, just above the footer. */
/* Eggy is sticky: he stands at the bottom-right of the window from the first
   screen, rides down with the page and comes to rest just above the footer.
   On phones he just sits at the end of the page so he never covers the form. */
.catering-page { position: relative; padding-bottom: 0; }
.catering-eggy { position: sticky; bottom: 0; display: block; margin: -80px var(--gutter) 0 auto; width: clamp(180px, 17vw, 260px); height: auto; pointer-events: none; }
@media (max-width: 760px) {
    /* Phones: after the reviews, centred, standing on the footer. */
    .catering-eggy { position: static; width: 140px; margin: 32px auto 0; }
}

/* Catering + Rewards pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: clamp(32px, 4vw, 56px); display: grid; gap: 16px; align-content: start; position: relative; overflow: hidden; min-height: 20rem; }
.panel p { margin: 0; max-width: 28rem; }
.panel .btn { justify-self: start; margin-top: 8px; }
.panel .art { position: absolute; right: -.5rem; bottom: -1rem; width: 12rem; opacity: 1; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } .panel .art { width: 8rem; } }

/* Gift cards, the third panel on the home page: three across on desktop; in
   between it takes the whole row under the other two, cards on the right;
   on phones the cards sit under the button. The cards are two <img>s, the
   front one in a span so its shine can be clipped to the card. */
.pair.trio .gift-panel { grid-column: 1 / -1; padding-right: calc(clamp(12rem, 24vw, 16rem) + 6rem); }
.gift-art { position: absolute; right: clamp(24px, 5vw, 72px); top: 50%; translate: 0 -46%; width: clamp(12rem, 24vw, 16rem); aspect-ratio: 8 / 5; display: block; transform-origin: 50% 100%; }
.gift-card { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 4.375% / 7%; box-shadow: 0 10px 24px rgba(2, 38, 32, .5); }
.gift-card img { display: block; width: 100%; height: 100%; }
.gift-back { transform: translate(-30%, -14%) rotate(-12deg); }
/* The front card is green on green: a thin mint rim keeps its edge. */
.gift-front { transform: rotate(5deg); overflow: hidden; box-shadow: 0 0 0 1px rgba(195, 229, 221, .45), 0 10px 24px rgba(2, 38, 32, .5); }
.gift-front::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, 0) 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
}
@media (min-width: 1141px) {
  .pair.trio { grid-template-columns: repeat(3, 1fr); }
  .pair.trio .gift-panel { grid-column: auto; padding-right: clamp(32px, 4vw, 56px); }
  /* Room under the button for the art (the Catering Eggy and the cards). */
  .pair.trio .panel:has(.art), .pair.trio .gift-panel { padding-bottom: 11.5rem; }
  .pair.trio .panel .art { width: 10.5rem; }
  .gift-art { top: auto; bottom: 44px; translate: none; width: 12.5rem; right: 36px; }
}
@media (max-width: 760px) {
  .pair.trio .gift-panel { padding-right: clamp(32px, 4vw, 56px); padding-bottom: 12rem; }
  .gift-art { top: auto; bottom: 36px; translate: none; width: 11.5rem; right: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .gift-card { transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s ease; }
  @keyframes mp-shine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
  /* The cards don't bob with the mascots (one moving thing per row is
     enough); the class only starts the phones' one shine when they come into view. */
  .gift-art.bob { animation: none; }
  @media (hover: none) { .gift-art.bob .gift-front::after { animation: mp-shine 1.1s ease .5s 1 both; } }
  /* Desktop: hovering anywhere on the panel fans the cards and runs the shine. */
  @media (hover: hover) {
    .gift-panel:hover .gift-front, .gift-panel:focus-within .gift-front { transform: translateY(-6px) rotate(1deg) scale(1.04); box-shadow: 0 0 0 1px rgba(195, 229, 221, .45), 0 18px 32px rgba(2, 38, 32, .55); }
    .gift-panel:hover .gift-back, .gift-panel:focus-within .gift-back { transform: translate(-40%, -24%) rotate(-19deg); }
    .gift-panel:hover .gift-front::after, .gift-panel:focus-within .gift-front::after { animation: mp-shine .9s ease .05s 1 both; }
  }
}

/* Rewards: no card. A full-width green band with the REWARDS lockup and
   sign-up on the left, Flag Eggy among the stars on the right, then the perks
   as cards on mint, two across, each with the star as its bullet. */
.rw-hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 80px) 0; }
.rw-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.rw-lockup { width: 100%; max-width: 380px; margin-bottom: 24px; }
.rw-heading { color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.rw-note { font-size: .875rem; color: var(--muted); margin: 16px 0 0; max-width: 50ch; }
.rw-eggy { width: clamp(180px, 22vw, 300px); height: auto; margin-right: clamp(0px, 4vw, 64px); }
.rw-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rw-perks li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.rw-perk-star { fill: currentColor; display: block; width: 30px; height: 29px; color: var(--mustard); margin-top: 2px; }
.rw-perks h3 { font-size: 1.75rem; line-height: 1; }
.rw-perks p { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 600px) {
  .rw-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .rw-lockup { max-width: 260px; }
  .rw-eggy { width: 150px; margin: 8px 0 0 auto; }
  .rw-perks { grid-template-columns: 1fr; gap: 24px; }
}


/* Menu */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { border: 2px solid var(--fg); padding: 8px 12px; font-family: var(--label-font); font-weight: 900; font-size: .875rem; text-decoration: none; }
.chips a:hover { background: var(--fg); color: var(--bg); }
.menu-section { padding: 32px 0; border-top: 1px solid var(--line); }
.menu-section > p { color: var(--muted); }
.menu-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 24px 40px; margin: 20px 0 0; padding: 0; list-style: none; }
/* Plain items (no description) use the same columns as described ones, so
   both lists line up; only the row gap is tighter. */
.menu-items.compact { row-gap: 8px; }
.menu-items + .menu-items { margin-top: 24px; }
/* Menu hierarchy: section titles are big ExtraComp; item names step down to
   Benton Cond so the two never read at the same weight. */
.menu-items h3 { font-family: var(--label-font); font-weight: 900; font-size: 1.125rem; line-height: 1.25; letter-spacing: .02em; }
.menu-items h3 .star { margin-right: 6px; }
.menu-section > h2, .menu-cat { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.5rem); line-height: .95; margin: 0; }
.menu-key { display: inline-flex; align-items: center; gap: 6px; font-family: var(--label-font); font-weight: 900; font-size: .875rem; margin-top: 16px; }
.menu-items p { color: var(--muted); font-size: .9375rem; margin-top: 8px; }
.menu-items .label { margin-top: 4px; color: var(--fg); }
/* Phones: one clean list per section. Each item is a row with a hairline
   above it; plain items (no description) go two-up as short rows. */
@media (max-width: 600px) {
  .menu-section { padding: 28px 0; }
  .menu-items { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  /* Lines go between visible items only: hidden extras (other shops' items) would
     otherwise throw off :first-child / :nth-child and leave stray rules. */
  .menu-items li { padding: 4px 0 16px; }
  .menu-items li:not([hidden]) ~ li { padding-top: 16px; border-top: 1px solid var(--line); }
  .menu-items p { font-size: .875rem; line-height: 1.45; margin-top: 6px; }
  /* Plain items continue the same single list: one rule, same row rhythm. */
  .menu-items + .menu-items { margin-top: 0; padding-top: 12px; border-top: 1px solid var(--line); }
}

/* Forms */
.form { display: grid; gap: 16px; max-width: 40rem; margin-top: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label, .form legend { display: grid; gap: 8px; font-family: var(--label-font); font-weight: 900; font-size: .875rem; }
.form [hidden] { display: none; }   /* e.g. the delivery address until Delivery is picked */
.form input, .form select, .form textarea { font-family: var(--body); font-size: 1rem; font-weight: 400; background: var(--field); color: var(--fg); border: 1px solid rgba(7, 78, 68, 0.35); border-radius: 0; padding: 12px; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--mustard); outline-offset: 0; }
.form textarea { min-height: 8rem; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.form legend { margin-bottom: 8px; width: 100%; }
.form fieldset label { display: flex; gap: 8px; align-items: center; font-family: var(--body); font-weight: 400; font-size: 1rem; }
.form .hp { display: none; }
/* Catering items: a short quantity box per item, grouped like the menu. */
.form .order-items { display: grid; gap: 20px; }
.form .order-items legend { display: block; margin-bottom: 16px; }
.form .order-items .hint { display: block; margin-top: 4px; font-family: var(--body); font-weight: 400; color: var(--muted); }
.qty-group { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.qty-group .label { grid-column: 1 / -1; margin-bottom: 4px; }
.form .qty { justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.form .qty input { width: 5rem; min-height: 40px; padding: 8px; text-align: center; flex-shrink: 0; }
@media (max-width: 600px) { .qty-group { grid-template-columns: 1fr; } }
/* Catering form steps: 1 order, 2 pickup or delivery, 3 your details. */
.form-step { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-step:first-of-type { border-top: 0; padding-top: 0; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.75rem; }
.step-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: var(--mint); font: 900 1rem/1 var(--label-font); flex-shrink: 0; }
.order-count { margin: 0; font-size: .9375rem; color: var(--muted); }
.order-count strong { color: var(--fg); }
.order-count.is-met strong::after { content: " ✓"; color: var(--og); }
/* Radios and checkboxes must not inherit the text-field box (48px tall,
   padding, border), which stretched them into tall ovals. */
.form input[type="radio"], .form input[type="checkbox"] {
  width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; border: 0;
  background: none; accent-color: var(--green); flex-shrink: 0;
}
.form input[type="radio"]:focus-visible, .form input[type="checkbox"]:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 50%; }

/* Lists: press, FAQ, about */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 20px 0; border-top: 1px solid var(--line); }
.rows li .label { margin-bottom: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags a { display: block; border: 2px solid var(--fg); padding: 8px 12px; font-family: var(--label-font); font-weight: 900; font-size: .875rem; text-decoration: none; }
.tags a:hover { background: var(--fg); color: var(--bg); }
.faq { padding-bottom: clamp(56px, 8vw, 104px); }   /* room under "Something else?" before the footer */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { position: relative; padding-left: 1.5rem; list-style: none; cursor: pointer; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
/* Own marker, so a question that wraps keeps its second line under the first word. */
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▶"; position: absolute; left: 0; top: .32em; font-size: .55em; line-height: 1; transition: transform .15s ease; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details p { color: var(--muted); max-width: 40rem; }
.prose p { max-width: 40rem; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.quote { margin: 0 0 20px; border-left: 3px solid var(--og); padding-left: 16px; }
.quote p { margin: 0; }
.quote cite { display: block; margin-top: 8px; font-style: normal; }
.draft { border: 2px dashed currentColor; padding: 4px 12px; display: inline-block; margin-top: 16px; }

/* ---- Thank-you and 404 pages ---------------------------------------------- */
.thanks { padding: clamp(64px, 9vw, 128px) 0; }
.thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.thanks h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-top: 12px; }
.thanks .muted a { color: inherit; }
.thanks-art { width: clamp(140px, 16vw, 220px); height: auto; }
@media (max-width: 700px) { .thanks-grid { grid-template-columns: 1fr; gap: 24px; } .thanks-art { width: 130px; justify-self: end; } }

/* ---- Footer ----------------------------------------------------------------- */
.site-footer { padding: 40px 0 28px; }
/* Pennant on the left edge, link columns on the right edge (in line with the
   header's Order button), legal line on its own row across the full width. */
.site-footer .wrap { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 24px 64px; align-items: start; }
.footer-mark { width: 11rem; height: auto; transform: rotate(-6.9deg); margin-top: 4px; }   /* the pennant */
/* Pennant, then the email sign-up stacked under it: title, one line, button. */
.footer-brand { display: grid; gap: 32px; justify-items: start; }
.footer-email { display: grid; gap: 6px; justify-items: start; width: min(100%, 24rem); }
.footer-email p { margin: 0; font-size: .9375rem; color: var(--muted); }
.footer-email .footer-email-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; color: var(--fg); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
/* "Stay in the loop" band (Contact, About) */
.email-band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.email-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.email-band p { margin: 8px 0 0; }
/* Email sign-up form: field + Join, in one row */
.email-form { display: flex; gap: 8px; width: 100%; max-width: 26rem; margin-top: 10px; }
.email-form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 1rem; background: var(--field); color: var(--fg); border: 1px solid var(--line); border-radius: 0; }
.email-form input::placeholder { color: var(--muted); }
.email-form input:focus { outline: 3px solid var(--mustard); outline-offset: 0; }
.email-form .btn { min-height: 44px; margin: 0; flex-shrink: 0; }
.email-band .email-form { margin-top: 0; }
.theme-green .email-form input { border-color: rgba(195, 229, 221, 0.35); }
.footer-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 clamp(48px, 7vw, 112px); }
.footer-legal { grid-column: 1 / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal a { text-underline-offset: .2em; }
.footer-legal a:hover { color: var(--mustard); }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav a { font-family: var(--label-font); font-weight: 900; font-size: .9375rem; text-decoration: none; display: inline-flex; min-height: 34px; align-items: center; }
.footer-nav a:hover { color: var(--mustard); }
@media (max-width: 600px) {
  .site-footer .wrap { grid-template-columns: 1fr; justify-content: stretch; }
  .footer-legal { margin-top: 8px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); column-gap: 16px; }
}

/* ---- Star sprinkles (templates/_deco.html) ------------------------------------ */
.has-stars { position: relative; }
.has-stars > .wrap { position: relative; z-index: 1; }   /* content stays above the stars */
.sprinkle { position: absolute; height: auto; aspect-ratio: 46.42 / 44.35; pointer-events: none; z-index: 0; fill: currentColor; }
.sp-m { color: var(--mustard); }
.sp-g { color: var(--green); opacity: .5; }
.sp-t { color: var(--mint); opacity: .55; }
@media (max-width: 600px) { .sprinkle.sp-wide { display: none; } }

/* ---- Catering ---------------------------------------------------------------- */
/* Hero: headline left, the Carolina Caviar cut-out running off the right edge. */
/* Short band like the Square draft: the headline is capped, the sandwich is
   zoomed in and cropped by the band's top and bottom edges. */
.split-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0; }
.split-hero .wrap { position: relative; }   /* the sandwich is placed against the text column, so it overlaps at any width */
.split-hero-text { position: relative; z-index: 1; max-width: 66%; }
/* The headline runs over the sandwich, as on the Square draft. */
.split-hero .t-hero { font-size: clamp(3.25rem, 5.6vw, 5.75rem); margin-top: 12px; }
.split-hero .lead { max-width: 26rem; }   /* only the headline runs over the sandwich */
/* Home: no lead line, so a taller band and a slightly smaller sandwich show more of it. */
@media (min-width: 761px) {
  .home-hero { padding: clamp(80px, 9vw, 140px) 0; }
  .home-hero .split-hero-sando { width: min(60vw, 920px); transform: translateY(-50%); }
}
.split-hero .t-hero .accent { display: block; color: var(--mustard); }
.split-hero-sando { position: absolute; left: 52%; top: 50%; transform: translateY(-48%); width: min(62vw, 920px); height: auto; pointer-events: none; z-index: 0; }
@media (max-width: 760px) {
  .split-hero { padding-bottom: 0; }
  .split-hero-text { max-width: none; }
  /* Phones: centred under the text, bleeding a little past both edges. */
  .split-hero-sando { position: relative; left: auto; transform: none; display: block; width: 112%; max-width: none; margin: 4px 0 -10% -6%; }
}
/* Shop picker tiles are buttons: reset them to look like the Locations tiles.
   Six shops: three across (two on phones). */
@media (min-width: 601px) { .cater-tiles { grid-template-columns: repeat(3, 1fr); } }
.cater-tiles .tile { font: inherit; text-align: center; border: 2px solid transparent; cursor: pointer; padding: 0;
  background: var(--green); color: var(--mint); --muted: #A8C4BD; --line: rgba(195, 229, 221, 0.18); }
.cater-tiles .tile:hover { background: #0a5f53; }
.cater-tiles .tile .hours { font-family: var(--label-font); font-weight: 900; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.cater-tiles .tile[aria-pressed="true"] { border-color: var(--mustard); }
.cater-tiles .tile[aria-pressed="true"] h3 { color: var(--mustard); }
/* Catering FAQ sits on mint, so it needs less room under it than the FAQ page. */
.faq.faq-tight { padding-bottom: 0; max-width: 52rem; }
.faq.faq-tight details:last-child { border-bottom: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Phones: a little more air between blocks inside sections */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .head, .head-row { margin-bottom: 28px; }
  .openings-line { margin-top: 32px; }
  .review, .card { padding: 24px 22px; }
}

/* The Logan stack photo (img/sandos/stack-mural.webp) on Rewards and About. */
/* Rewards: photo in the right column, Flag Eggy on its bottom-left corner. */
.rw-photo-wrap { position: relative; width: clamp(260px, 28vw, 380px); margin-right: clamp(0px, 3vw, 48px); }
.rw-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: 24px; }
.rw-photo-wrap .rw-eggy { position: absolute; left: -22%; bottom: -10%; width: 44%; margin: 0; }
@media (max-width: 760px) {
  .rw-photo-wrap { width: 100%; margin: 24px 0 24px; }
  .rw-photo { aspect-ratio: 1; }
  .rw-photo-wrap .rw-eggy { left: auto; right: -8px; bottom: -28px; width: 110px; }
}
/* About: the stack photo overlaps the storefront's bottom-right corner. */
.about-pair { position: relative; margin: 0 0 clamp(80px, 10vw, 140px); }
.about-store { display: block; width: 88%; border-radius: 24px; }
.about-stack { position: absolute; right: 0; bottom: clamp(-120px, -9vw, -60px); width: 38%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 62%; border-radius: 20px; border: 6px solid var(--bg, #fff); transform: rotate(4deg); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.about-pair figcaption { margin-top: 10px; max-width: 55%; }
@media (min-width: 761px) {
  .about-stack { width: 52%; right: -4%; bottom: clamp(-170px, -12vw, -90px); }
  .about-pair { margin-bottom: clamp(120px, 13vw, 190px); }
  .about-pair figcaption { max-width: 42%; }
}

/* ---------------------------------------------------------------------------
   Motion. All of it is inside prefers-reduced-motion: no-preference, so it is
   off for anyone whose device asks for less motion. The scroll reveal, the
   mascot bob, the hero drift and the smiley tap are switched on by the motion
   script at the end of base.html, which also checks that setting.
   Motion stacks on the fixed tilts (stars, pennant, badge) through the separate
   translate / rotate / scale properties, so those tilts stay put.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* 1. Sections rise in. The script gives below-the-fold blocks .rv, then .in
     as they scroll into view (staggered with an inline delay), then removes
     both so each element's own transitions come back. */
  .rv { opacity: 0; translate: 0 28px; transition: opacity .55s ease, translate .7s cubic-bezier(.2, .7, .2, 1); }
  .rv.in { opacity: 1; translate: 0 0; }

  /* 2. Hero drift: the sandwich (home, catering) and the faint star slide up
     slower than the page. The script sets --drift while the hero is in view. */
  .split-hero-sando, .hero-bg-star { translate: 0 var(--drift, 0px); }

  /* 4. Mascots bob once when they come into view (.bob, from the script). */
  @keyframes mp-bob {
    0%, 100% { transform: none; }
    22% { transform: translateY(-14px) rotate(-6deg); }
    48% { transform: translateY(0) rotate(3deg); }
    70% { transform: translateY(-5px) rotate(-2deg); }
  }
  @keyframes mp-bob-r {
    0%, 100% { transform: none; }
    22% { transform: translateY(-14px) rotate(6deg); }
    48% { transform: translateY(0) rotate(-3deg); }
    70% { transform: translateY(-5px) rotate(2deg); }
  }
  .panel .art, .thanks-art { transform-origin: 50% 100%; }
  .bob { animation: mp-bob 1.1s ease-in-out .1s 1 both; }
  .panel .art.bob { animation-name: mp-bob-r; }   /* home: tips right first */

  /* The Rewards Eggy waves his flag: a sway from the feet, then a rest, on a
     loop that starts once he's in view. */
  @keyframes mp-wave {
    0%, 30%, 100% { transform: none; }
    6% { transform: rotate(7deg); }
    12% { transform: rotate(-4deg); }
    18% { transform: rotate(6deg); }
    24% { transform: rotate(-2deg); }
  }
  .rw-eggy { transform-origin: 40% 100%; }
  .rw-eggy.bob { animation: mp-wave 6s ease-in-out .2s infinite; }

  /* 4b. Stars twinkle, each on its own beat; the big faint hero star turns slowly. */
  @keyframes mp-twinkle { 0%, 100% { scale: 1; } 50% { scale: 1.22; } }
  @keyframes mp-turn { to { rotate: 360deg; } }
  .sprinkle { animation: mp-twinkle 3.4s ease-in-out infinite; }
  .sprinkle:nth-of-type(2n) { animation-duration: 4.2s; animation-delay: -1.3s; }
  .sprinkle:nth-of-type(3n) { animation-duration: 2.8s; animation-delay: -2.1s; }
  .hero-bg-star { animation: mp-turn 120s linear infinite; }

  /* 6. The smiley badges (home hero, catering thank-you): hover (or a tap on phones, .poke)
     tips it, spins the scalloped edge, blinks and widens the smile. */
  .smiley-badge { pointer-events: auto; cursor: default; transition: scale .4s cubic-bezier(.3, 1.6, .5, 1), rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
  .smiley-badge .b-shape, .smiley-badge .b-mouth, .smiley-badge .b-eye { transform-box: fill-box; transform-origin: center; }
  .smiley-badge .b-shape { transition: transform .9s cubic-bezier(.3, 1.3, .5, 1); }
  .smiley-badge .b-mouth { transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
  @keyframes mp-blink { 0%, 100% { transform: scaleY(1); } 45%, 55% { transform: scaleY(.12); } }
  .smiley-badge.poke { scale: 1.12; rotate: -14deg; }
  .smiley-badge.poke .b-shape { transform: rotate(180deg); }
  .smiley-badge.poke .b-mouth { transform: scale(1.15); }
  .smiley-badge.poke .b-eye { animation: mp-blink .32s ease .12s 2; }

  @media (hover: hover) {
    /* 3. Sticker hover: sandwiches, location tiles and reviews lift and tip,
       alternating direction like stickers slapped on a window. */
    .lineup img, a.tile, .review { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), background-color .12s ease; }
    .lineup figure:hover img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
    .lineup figure:nth-child(even):hover img { transform: translateY(-8px) rotate(3deg) scale(1.04); }
    a.tile:hover { transform: translateY(-5px) rotate(-1.2deg); }
    a.tile:nth-child(even):hover { transform: translateY(-5px) rotate(1.2deg); }
    .review:hover { transform: translateY(-4px); }


    /* 6, on desktop: the same as .poke, while hovered. */
    .smiley-badge:hover { scale: 1.12; rotate: -14deg; }
    .smiley-badge:hover .b-shape { transform: rotate(180deg); }
    .smiley-badge:hover .b-mouth { transform: scale(1.15); }
    .smiley-badge:hover .b-eye { animation: mp-blink .32s ease .12s 2; }
  }
}

/* Locations page: the green shop cards sit on a mint band with "Opening soon"
   under them, so the page isn't all dark green. The cards carry .theme-green
   (mint type and icons); they need a solid green fill since a tile's own
   background is a tint meant for a green section. */
.loc-list .tile { background: var(--green); }
.loc-list .tile:hover { background: #0a5f53; }
.loc-openings { margin-top: clamp(48px, 6vw, 80px); }
.loc-openings .head { margin-bottom: 16px; }
/* Single location: store info on mint, the menu on paper right under it. */
.loc-head { padding-bottom: clamp(48px, 6vw, 72px); }
.loc-menu { padding-top: clamp(40px, 5vw, 64px); }
/* Menu page: room between the last section and the footer. */
.menu-body { padding-bottom: clamp(64px, 8vw, 112px); }

@media (prefers-reduced-motion: no-preference) {
  /* Star bursts: the script drops a handful of sprinkle stars into a
     .star-burst box; each flies from --x0/--y0 out to --dx/--dy, spins and
     fades. Used on the home smiley (.badge-burst, behind the badge), the
     thank-you Eggy and the Join Rewards buttons (.burst-fill, the element's own box). */
  .burst-fill { position: absolute; inset: 0; pointer-events: none; }
  [data-burst] { position: relative; }
  .badge-burst { position: absolute; right: clamp(0px, 4vw, 64px); top: 0; width: clamp(96px, 10vw, 150px); aspect-ratio: 1; translate: 0 -55%; pointer-events: none; }
  @media (max-width: 760px) { .badge-burst { width: 84px; right: 8px; } }
  .star-burst svg { position: absolute; left: 50%; top: 50%; width: var(--s, 16px); height: auto; aspect-ratio: 46.42 / 44.35; margin: calc(var(--s, 16px) / -2) 0 0 calc(var(--s, 16px) / -2); fill: currentColor; filter: drop-shadow(0 2px 3px rgba(2, 38, 32, .5)); animation: mp-burst .85s cubic-bezier(.15, .7, .3, 1) both; }
  @keyframes mp-burst {
    0% { transform: translate(var(--x0, 0px), var(--y0, 0px)) scale(.2) rotate(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--r)); opacity: 0; }
  }
}

/* Thank-you pages: the Eggy sits in a wrapper that also holds his star burst (behind him). */
.thanks-art-wrap { position: relative; display: block; }
.thanks-art-wrap .thanks-art { position: relative; display: block; }
@media (max-width: 700px) { .thanks-art-wrap { justify-self: end; } }
/* Catering thank-you: the smiley, as a sticker like the home badge. */
.thanks-art.thanks-smiley { width: clamp(120px, 12vw, 170px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 4px 8px rgba(2, 38, 32, .55)); }
@media (max-width: 700px) { .thanks-art.thanks-smiley { width: 104px; } }
