/* Fonts are served from this site (latin subset), so pages make no requests to Google. */
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-serif-display-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/dm-serif-display-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Mrs Saint Delafield'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/mrs-saint-delafield.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Fashion-house nameplate system: tracked capitals in a thin high-contrast serif,
   cream and wine panels, a short rule under every nameplate. */
:root {
  /* Warm butter backgrounds with chocolate-brown writing, sampled from the photos. */
  --butter: #FCEFC4;      /* Pale Butter: main background */
  --butter-2: #F9E3A0;    /* Soft Butter: alternate sections */
  --butter-hi: #FFF8E7;   /* Milk: cards, e.g. the receipt */
  --gold: #F7D774;        /* Butter: only ever on brown */
  --brown: #4A2416;       /* Toasted Brown: all writing, lines and solid buttons */
  --cream: var(--butter); /* legacy names used across the stylesheets */
  --cream-2: var(--butter-2);
  --wine: var(--brown);
  --wine-deep: var(--brown);
  --blush: var(--brown);
  --rose: var(--brown);
  --ink: var(--brown);
  --ink-soft: rgba(74, 36, 22, 0.78);
  --rule: rgba(74, 36, 22, 0.25);
  --serif: 'DM Serif Display', Georgia, serif;
  --label: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--butter); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 19px/1.6 var(--serif); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
::selection { background: var(--wine); color: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; text-align: center; }

/* ---------- the nameplate ---------- */

.nameplate {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.15;
  /* tracking adds space after the last letter; pull it back so the plate centres */
  margin-right: -0.22em;
}
.nameplate.xl { font-size: clamp(38px, 7.4vw, 88px); font-weight: 300; }
.nameplate.lg { font-size: clamp(30px, 5vw, 58px); font-weight: 300; }
/* headings sit directly above their text, with no rule between (owner preference) */
h2 + p, .nameplate + p, .page-title + p, .story .copy h2 + p { margin-top: 28px; }
.script-mark + .label { margin-top: 40px; }

.label {
  display: block;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
}

h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-right: -0.16em;
}
.lede-italic { font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.45; }

.btn {
  display: inline-block;
  padding: 16px 38px;
  border: 1px solid currentColor;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn.solid { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.btn.solid:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn.line:hover { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.on-wine .btn.line:hover { background: var(--brown); border-color: var(--brown); color: var(--butter); }

a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(243, 222, 142, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 74px; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a, .site-header .order {
  font-family: var(--label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-header .logo { font-size: 17px; letter-spacing: 0.3em; margin-right: -0.3em; text-decoration: none; color: var(--brown); white-space: nowrap; }
.site-header .order { justify-self: end; padding: 11px 20px; border: 1px solid var(--brown); color: var(--brown); }
.site-header .order:hover { background: var(--brown); color: var(--cream); }
@media (max-width: 760px) {
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .site-header .logo { font-size: 13px; letter-spacing: 0.22em; }
}

/* ---------- panels ---------- */

.panel { padding: 120px 0; }
.on-wine { background: var(--butter-2); color: var(--brown); }
.on-deep { background: var(--butter); color: var(--brown); border-top: 1px solid var(--rule); }
.on-cream-2 { background: var(--cream-2); }
.tone-2 { background: var(--butter-2); }
.panel + .panel, .hero + .panel { border-top: 1px solid var(--rule); }
.on-butter { background: var(--butter); color: var(--brown); }
.on-butter .label { color: var(--brown); }
.on-butter .ink-soft { color: rgba(74, 36, 22, 0.78); }
.on-butter .fill { background: rgba(74, 36, 22, 0.08); outline-color: rgba(74, 36, 22, 0.5); }
.on-wine .label, .on-deep .label { color: var(--brown); }
.on-wine .ink-soft, .on-deep .ink-soft { color: var(--ink-soft); }
.ink-soft { color: var(--ink-soft); }

/* ---------- hero ---------- */

.hero { display: grid; min-height: calc(100svh - 74px); }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } }
.hero-plate { color: var(--brown); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 28px 56px; }
.hero-plate .lede-italic { max-width: 26ch; margin: 0 0 40px; }
.hero-photo { position: relative; min-height: 70svh; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .hero-photo { order: -1; min-height: 62svh; } }

/* ---------- story ---------- */

.story { display: grid; gap: 70px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 100px; } }
/* the butter dish floats on the page like the racks (see .float below), on its side */
.story .float { width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1062 / 827; }
.story .copy p { margin: 0 0 20px; font-size: 21px; }

/* ---------- the cookies ---------- */

.menu-grid { display: grid; gap: 60px; margin-top: 80px; }
/* four cookies: two by two on a tablet, all four in a row on a wider screen */
@media (min-width: 820px) { .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 36px; } }
@media (min-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .menu-grid .menu-card h3 { font-size: 21px; letter-spacing: 0.16em; margin-right: -0.16em; }
}
.menu-card { text-align: center; }
/* The racks float on the page in two stacked pictures made by scripts/cutout.py: the photo with
   its backdrop turned white, multiplied onto the page so the real shadows stay and the backdrop
   vanishes, and on top the cookies and wires alone in their true colours. */
.float { position: relative; aspect-ratio: 4 / 5; }
.float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.float .shade { mix-blend-mode: multiply; }
.float .solid { filter: drop-shadow(0 26px 22px rgba(74, 36, 22, 0.26)); }
.menu-card h3 { margin: 30px 0 6px; font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: 0.2em; text-transform: uppercase; margin-right: -0.2em; }
.menu-card .price { font-size: 22px; font-style: italic; }
.menu-card .meta { margin-top: 4px; font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.menu-card .meta .save { color: var(--wine); }
.menu-cta { margin-top: 70px; }

/* ---------- steps: a real sequence, so numbered ---------- */

.steps { display: grid; gap: 50px; margin: 80px 0 0; padding: 0; list-style: none; counter-reset: step; text-align: center; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, upper-roman); display: block; margin-bottom: 18px; font-size: 40px; font-weight: 300; color: var(--rose); }
.steps strong { display: block; margin-bottom: 10px; font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.steps p { margin: 0 auto; max-width: 30ch; font-size: 20px; font-style: italic; font-weight: 300; }

/* ---------- delivery ---------- */

.delivery { display: grid; gap: 70px; align-items: center; }
@media (min-width: 900px) { .delivery { grid-template-columns: 1fr 1fr; gap: 100px; } }
.delivery img, .delivery video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.delivery video { aspect-ratio: 16 / 9; }  /* the cooling-rack film is landscape */
.fees { width: 100%; margin: 30px 0; border-collapse: collapse; font-size: 20px; }
.fees td { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.fees td:last-child { text-align: right; font-style: italic; }

/* ---------- reviews ---------- */

.quotes { display: grid; gap: 60px; margin-top: 70px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.quotes blockquote { display: flex; flex-direction: column; margin: 0; text-align: center; font-size: 24px; font-style: italic; font-weight: 300; line-height: 1.45; }
.quotes .stars { display: block; margin-bottom: 16px; font-size: 18px; font-style: normal; letter-spacing: 0.24em; }
.quotes .stars .off { opacity: 0.25; }
/* margin-top: auto keeps every "Verified customer" on one line, however long the review */
.quotes cite { display: block; margin-top: auto; padding-top: 18px; font-family: var(--label); font-size: 11px; font-style: normal; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }
/* More than three reviews: one row that drifts slowly sideways by itself, to the end and back (home.js
   moves it; its ends bounce like a wall). With the pointer on it the visitor takes over: drag, trackpad or swipe.
   With reduced motion it is a row to swipe and nothing moves by itself. */
.quotes.scrolling { display: block; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.quotes.scrolling::-webkit-scrollbar { display: none; }
.quotes.scrolling.dragging { cursor: grabbing; user-select: none; }
.quotes.scrolling .track { display: flex; width: max-content; will-change: transform; }
.quotes.scrolling blockquote { flex: 0 0 min(350px, 80vw); margin-right: 40px; }
.quotes.scrolling blockquote:last-child { margin-right: 0; }   /* the row stops at the last review, with no empty space after it (the owner, 2026-11-08) */
.quotes.scrolling.at-start { -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.quotes.scrolling.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%); mask-image: linear-gradient(90deg, transparent, #000 6%); }
@media (prefers-reduced-motion: reduce) {
  .quotes.scrolling { scroll-snap-type: x mandatory; cursor: auto; -webkit-mask-image: none; mask-image: none; }
  .quotes.scrolling.at-start, .quotes.scrolling.at-end { -webkit-mask-image: none; mask-image: none; }
  .quotes.scrolling blockquote { scroll-snap-align: start; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 70px auto 0; text-align: left; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-size: 23px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; color: var(--blush); transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 62ch; font-size: 20px; color: var(--ink-soft); }

/* ---------- footer ---------- */

.site-footer { padding: 40px 0 60px; background: var(--butter); color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 28px; font-family: var(--label); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.site-footer a { margin-left: 28px; text-decoration: none; color: var(--brown); }

/* ---------- blanks the owner will fill in ---------- */

.fill { padding: 0 4px; background: rgba(74, 36, 22, 0.08); outline: 1px dashed rgba(74, 36, 22, 0.5); }

/* ---------- one quiet entrance ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* the nameplate settles into its tracking; everything else simply fades after it */
  .reveal { animation: reveal 1.6s cubic-bezier(0.2, 0.6, 0.1, 1) both; }
  .fade { animation: fade 1.2s ease 0.6s both; }
  /* the wordmark fades in while its picture arrives (about 0.9-1.2 s on 4G) and is fully on
     screen about 1.4 s after the page is opened (the owner's choice, 2026-11-07) */
  .hero-film { animation: fade 0.8s ease 0.45s both; }
  @keyframes reveal { from { opacity: 0; letter-spacing: 0.4em; } to { opacity: 1; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* hero in dark brown: nameplate, rule, label, text and button */
.hero-plate .label { color: var(--brown); }
.hero-plate .btn.solid { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.hero-plate .btn.solid:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- one continuous page ----------
   The home page reads as a single surface: no section panels or dividing lines, just one
   gradient that holds butter through the first half and slowly deepens to golden butter
   by the footer (soft text stays ≥4.5:1 all the way down). */
body.home-page {
  /* fades evenly from the very top to the very bottom, ending in toasted butter */
  background: var(--butter);
  /* stronger soft text so it stays ≥4.5:1 on the darkest part of the fade */
  --ink-soft: rgba(74, 36, 22, 0.95);
}
.home-page .hero,
.home-page .panel,
.home-page .tone-2,
.home-page .site-footer { background: transparent; }
.home-page .panel + .panel,
.home-page .hero + .panel { border-top: 0; }
.home-page .site-footer .wrap { border-top-color: var(--rule); }

/* gentle in-page scrolling, landing just below the sticky header */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section[id] { scroll-margin-top: 74px; }


.story .copy .story-lead { margin-bottom: 0; font-size: 22px; line-height: 1.55; color: var(--brown); }
/* the founder's words are the centre of the section: larger, set off by a hairline at the side,
   with her name and background underneath as a caption (her training, not an endorsement) */
.founder { margin: 38px 0 0; padding-left: 26px; border-left: 1px solid rgba(74, 36, 22, 0.45); }
.founder blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 26px); font-style: italic; font-weight: 300; line-height: 1.45; }
.founder figcaption { margin-top: 22px; }
.founder .name { display: block; font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.founder .bio { display: block; margin-top: 8px; font-size: 18px; font-style: italic; font-weight: 300; color: var(--ink-soft); }

/* softly rounded photos — a gentle bubble, not a pill */
.delivery img,
.delivery video { border-radius: 24px; }
/* the hero photo runs to the screen edge, so only its inner corners are rounded */
.hero-photo { overflow: hidden; border-radius: 28px 0 0 28px; }
@media (max-width: 899px) { .hero-photo { border-radius: 0 0 28px 28px; } }

/* top bar: chocolate brown with warm cream lettering (≈11:1 contrast) */
.site-header { background: rgba(74, 36, 22, 0.97); border-bottom-color: rgba(246, 234, 214, 0.18); }
.site-header nav a,
.site-header .logo { color: #FFF8E7; }
.site-header nav a:hover { color: #FFFFFF; }
.site-header .order,
.order-page .site-header .order { border-color: #FFF8E7; color: #FFF8E7; }
.site-header .order:hover,
.order-page .site-header .order:hover { background: #FFF8E7; color: var(--brown); }

/* hero wordmark film: white in the file, multiplied onto the page so its background disappears */
/* the blend sits on the h1, not the video: anything that makes the h1 its own layer (such as a
   fade-in) would keep a video blended inside it on its white background */
.hero-film { margin: 0; mix-blend-mode: multiply; }
.hero-film + .label { margin-top: 14px; }
.hero-film video, .hero-film img { display: block; width: min(74vw, 330px, 40svh); height: auto; }  /* sized so the Order button stays on the first screen */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* hero wordmark: the original hand-script, stacked and staggered, in chocolate brown */
.script-mark {
  margin: 0;
  font-family: 'Mrs Saint Delafield', cursive;
  font-weight: 400;
  font-size: min(27vw, 150px);
  /* open enough that each B clears the line above it */
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brown);
  text-align: left;
}
.script-mark span { display: block; white-space: nowrap; }
.script-mark span:nth-child(2) { padding-left: 0.34em; }
.script-mark span:nth-child(3) { padding-left: 0.12em; }

/* ---------- phones ----------
   The desktop page is airy; on a phone the same gaps turn into long empty scrolls, so the
   sections close up. The hero also leads with the wordmark and the Order button, then the photo. */
html, body { overflow-x: clip; }  /* tracked capitals overhang their last letter; never scroll sideways */
.panel > .narrow { padding-left: 24px; padding-right: 24px; }
.nameplate.lg { font-size: clamp(21px, 5vw, 58px); }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-plate { padding: 36px 24px 52px; }
  .hero-photo { order: 0; min-height: 58svh; border-radius: 28px 28px 0 0; }
}
@media (max-width: 760px) {
  .panel { padding: 56px 0; }
  .site-header .wrap { height: 64px; }
  section[id] { scroll-margin-top: 64px; }
  .lede-italic { font-size: 21px; }
  .hero-plate { padding: 26px 24px 40px; }
  .hero-plate .lede-italic { max-width: 28ch; margin-bottom: 26px; }
  /* smaller, so the first photo shows on the first screen; nudged right because two of the three
     staggered lines lean left, which makes the centred film look off to the left */
  .hero-film video, .hero-film img { width: min(64vw, 270px, 33svh); transform: translateX(4%); }
  /* the hero photo fills the first screen behind the name, under a chocolate veil, and slowly
     pulls back once on arrival (the owner's choice, 2026-11-07). The wordmark film is brown on
     white: it is turned white on black (filter), a warm cream layer multiplied over it makes the
     letters exactly #EAD7AC (the owner's choice, not white), and the h1 is screened onto the photo
     so the black disappears. The 4% nudge moves to the h1, or the cream layer shows as a stripe. */
  .home-page .hero { position: relative; isolation: isolate; min-height: calc(100svh - 64px); align-content: center; }
  .home-page .hero-photo { position: absolute; inset: 0; min-height: 0; z-index: -1; border-radius: 0 0 28px 28px; }
  .home-page .hero-photo img { transform-origin: 60% 55%; }
  .home-page .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 19, 12, 0.70) 0%, rgba(36, 19, 12, 0.52) 50%, rgba(36, 19, 12, 0.80) 100%); }
  .home-page .hero-plate { padding: 40px 24px 56px; }
  .home-page .hero-film { mix-blend-mode: screen; position: relative; isolation: isolate; transform: translateX(4%); clip-path: inset(2px); }  /* the trim hides a faint line at the film's edge */
  .home-page .hero-film::after { content: ""; position: absolute; inset: 0; background: #EAD7AC; mix-blend-mode: multiply; pointer-events: none; }
  .home-page .hero-film video, .home-page .hero-film img { filter: grayscale(1) invert(1) brightness(1.3); transform: none; }
  .home-page .hero-plate, .home-page .hero-plate .label { color: #EAD7AC; }
  .home-page .hero-plate .lede-italic { color: #EAD7AC; text-shadow: 0 1px 12px rgba(20, 10, 6, 0.45); }
  .home-page .hero-plate .btn.solid { background: var(--gold); border-color: var(--gold); color: var(--brown); }
  .home-page .hero-plate .btn.solid:hover { background: #FFF8E7; border-color: #FFF8E7; }
  .story, .delivery { gap: 36px; }
  .story .copy .story-lead { font-size: 20px; }
  .founder { margin-top: 30px; padding-left: 20px; }
  .founder .bio { font-size: 17px; }
  /* two racks across, so the four fit on about one screen (one per screen was two and a half) */
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 34px 14px; margin-top: 34px; }
  .menu-card h3 { margin: 12px 0 4px; font-size: 15px; letter-spacing: 0.18em; margin-right: -0.18em; }
  .menu-card .price { font-size: 19px; }
  .menu-card .meta { font-size: 9px; letter-spacing: 0.2em; }
  .menu-cta { margin-top: 44px; }
  /* each numeral beside its step instead of above it */
  .steps { gap: 24px; margin-top: 32px; text-align: left; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: baseline; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 28px; }
  .steps strong { margin-bottom: 4px; }
  .steps p { margin: 0; }
  /* up to three reviews: one sideways row to swipe, the next one peeking in at the edge
     (from four, home.js makes its own drifting row) */
  .quotes:not(.scrolling) { display: flex; gap: 16px; margin: 36px -24px 0; padding: 0 24px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .quotes:not(.scrolling)::-webkit-scrollbar { display: none; }
  .quotes:not(.scrolling) blockquote { flex: 0 0 82%; scroll-snap-align: center; }
  .quotes:not(.scrolling) blockquote:only-child { margin: 0 auto; }
  /* links inside sentences (FAQ, closing band): a fingertip tall without moving the text */
  .faq a, .closing a { padding-block: 12px; }
  .faq { margin-top: 44px; }
  .faq summary { padding: 22px 0; font-size: 21px; }
  .faq details p { font-size: 19px; }
  .fees { font-size: 19px; }
  .site-footer { padding: 28px 0 44px; }
  .site-footer .wrap { justify-content: center; gap: 14px 28px; text-align: center; }
  /* links look the same but are a full fingertip tall */
  .site-footer a { display: inline-block; margin: 0 4px; padding: 15px 10px; }
  .site-footer .wrap { gap: 4px 28px; }
}

/* ---------- closing band ----------
   The name sits on a close-up of the dough. The photo is taller than the band and slides
   slowly behind it as the page scrolls, which gives the depth; a brown veil keeps the cream
   lettering readable (about 5:1 on the brightest dough). */
.home-page .closing { position: relative; isolation: isolate; overflow: hidden; padding: 170px 0; color: #FFF8E7; }
.closing-bg { position: absolute; left: 0; top: -15%; z-index: -2; width: 100%; height: 130%; max-width: none; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47, 24, 16, 0.70), rgba(47, 24, 16, 0.58) 50%, rgba(47, 24, 16, 0.72)); }
.closing a { color: inherit; }
.closing .btn.line:hover { background: #FFF8E7; border-color: #FFF8E7; color: var(--brown); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .closing-bg { animation: closing-drift linear both; animation-timeline: view(); }
    @keyframes closing-drift { from { transform: translateY(-10%) scale(1.04); } to { transform: translateY(10%) scale(1.04); } }
  }
}
@media (max-width: 760px) { .home-page .closing { padding: 110px 0; } }

/* ---------- film band (How it works) ----------
   The same idea as the closing band, with a looping film of the dough behind the steps. */
.home-page .film-band { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0; color: #FFF8E7; }
.band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.film-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47, 24, 16, 0.74), rgba(47, 24, 16, 0.62) 50%, rgba(47, 24, 16, 0.74)); }
.film-band .label, .film-band .steps li::before { color: inherit; }
@media (max-width: 760px) { .home-page .film-band { padding: 64px 0; } }

/* ---------- phones: the Order bar that follows ----------
   home.js shows it once the hero has scrolled away and hides it over the closing band and the
   footer. It takes over from the Order button in the top bar, which phones no longer show on the
   home page. The small Order link under each cookie card is for phones too. */
.follow-bar, .card-order { display: none; }
@media (max-width: 760px) {
  .home-page .site-header .order { display: none; }
  .card-order { display: inline-block; margin-top: 2px; padding: 12px 10px; font-family: var(--label); font-size: 10px; font-weight: 500; letter-spacing: 0.26em; margin-right: -0.26em; text-transform: uppercase; color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }
  .follow-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px max(20px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: var(--brown); box-shadow: 0 -8px 24px rgba(47, 24, 16, 0.25);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
  }
  .follow-bar.show { transform: none; visibility: visible; transition: transform 0.35s ease; }
  .follow-bar > span { color: var(--butter); font-size: 18px; font-style: italic; }
  .follow-bar a { padding: 14px 22px; background: var(--butter); color: var(--brown); font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { .follow-bar, .follow-bar.show { transition: none; } }

/* iPhones in Low Power Mode won't autoplay and overlay a large play button on each film. The
   films are decoration, so the button is hidden and the still frame shows until the first tap
   (home.js then starts them). */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls { display: none !important; }

/* top bar: Instagram and TikTok beside the Order button */
.header-end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.site-header .social { display: inline-flex; padding: 4px; color: #FFF8E7; transition: color 0.3s ease; }
.site-header .social:hover { color: #FFFFFF; }
.site-header .social svg { display: block; }
@media (max-width: 760px) {
  .header-end { gap: 0; }
  /* the icons stay small but each tap area is about 40px square */
  .site-header .social { padding: 11px; }
  .site-header .social svg { width: 18px; height: 18px; }
  .site-header .order { padding: 10px 14px; margin-left: 4px; }
}
@media (max-width: 374px) {
  .site-header .social { padding: 9px; }
  .site-header .logo { letter-spacing: 0.18em; }
}

/* ---------- the three flavours, above the box sizes ----------
   Top views cut out of their backgrounds, floating on the page like the racks. */
.flavour-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 860px; margin: 64px auto 0; }
.flavour-pick[hidden] { display: none; }
.flavour-pick { margin: 0; display: grid; justify-items: center; gap: 18px; text-align: center; }
/* the shadow is a painted oval behind the cookie, in the image's padding: a drop-shadow filter
   here was sometimes drawn by iPhones as a faint square around each picture */
.flavour-pick img { width: min(78%, 220px); box-sizing: content-box; padding-bottom: 16%; margin-bottom: -9%;
  background: radial-gradient(ellipse 46% 30% at 50% 74%, rgba(74, 36, 22, 0.34), rgba(74, 36, 22, 0.14) 55%, rgba(74, 36, 22, 0) 100%); }
.flavour-pick figcaption { display: grid; gap: 4px; }
.flavour-pick b { font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; margin-right: -0.28em; }
.flavour-pick i { font-size: 19px; color: var(--ink-soft); }
/* the row picks the flavour on the racks below (home.js); the others step back */
.flavour-pick[role="button"] { cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 14px; }
.flavour-pick img, .flavour-pick figcaption { transition: opacity 0.35s ease, transform 0.35s ease; }
.flavour-pick[aria-pressed="false"] img { opacity: 0.42; transform: scale(0.92); }
.flavour-pick[aria-pressed="false"] figcaption { opacity: 0.7; }
@media (hover: hover) { .flavour-pick[aria-pressed="false"]:hover img { opacity: 0.75; } }
.flavour-pick:focus-visible { outline: 2px solid var(--brown); outline-offset: 8px; }
/* a one-time lift that shows the dimmed flavours can be picked (home.js) */
/* the flavours not on the racks hop twice every few seconds while the row is on screen, until the
   visitor taps one (home.js adds .hop), so they can see the flavours can be picked (the owner, 2026-11-08) */
@keyframes pick-hop {
  0%, 30%, 100% { transform: scale(0.92); animation-timing-function: ease-out; }
  7% { transform: translateY(-14px) scale(0.96); animation-timing-function: ease-in; }
  14% { transform: scale(0.92); animation-timing-function: ease-out; }
  21% { transform: translateY(-8px) scale(0.94); animation-timing-function: ease-in; }
}
.flavour-row.hop .flavour-pick[aria-pressed="false"] img { animation: pick-hop 2.8s infinite; }
.flavour-row.hop .flavour-pick[aria-pressed="false"] ~ .flavour-pick[aria-pressed="false"] img { animation-delay: 0.18s; }
.flavour-hint { margin: 26px 0 0; text-align: center; font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.float img { transition: opacity 0.45s ease; }
.float img.coming, .float img.going { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .flavour-pick img, .flavour-pick figcaption, .float img { transition: none; }
  .flavour-row.hop .flavour-pick img { animation: none; }
}
@media (max-width: 760px) {
  .flavour-row { gap: 12px; margin-top: 34px; }
  .flavour-pick { gap: 10px; }
  .flavour-pick img { width: 92%; }
  .flavour-pick b { font-size: 10px; letter-spacing: 0.1em; margin-right: -0.1em; white-space: nowrap; }
  .flavour-pick i { font-size: 15px; line-height: 1.25; }
}
@media (max-width: 374px) {
  /* "The Gingerbread" on one line, level with the other two names */
  .flavour-pick b { font-size: 9px; letter-spacing: 0.1em; margin-right: -0.1em; white-space: nowrap; }
}

/* the hero photo pulls back once on arrival; still with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .home-page .hero-photo img { animation: hero-drift 14s ease-out both; }
}
@keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Brand guidelines (since 2026-11-08, the owner's choice from a preview) ----------
   Toasted Brown writing; Pale Butter and Soft Butter sections taking turns down the page; Butter
   only ever on brown (buttons, the name in the top bar and the closing band); DM Serif Display
   headlines in sentence case with the second half in italics; Poppins for text and labels.
   Three line drawings from the guidelines sit above the labels of the story, delivery and reviews. */
body { font: 300 17px/1.7 var(--label); }
.home-page .hero, .home-page #cookies, .home-page #reviews, .home-page .site-footer { background: var(--butter); }
.home-page #story, .home-page #delivery, .home-page #faq { background: var(--butter-2); }
h2 { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: -0.01em; margin-right: 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; }
h2 em { font-style: italic; }
.label { font-size: 11px; letter-spacing: 0.24em; }
.lede-italic { font-family: var(--label); font-style: normal; font-weight: 300; font-size: 18px; line-height: 1.7; }
.hero-plate .lede-italic { max-width: 30ch; }
.nameplate { text-transform: none; letter-spacing: -0.01em; margin-right: 0; }
.site-header .logo { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; color: var(--gold); }
.btn { font-size: 12px; letter-spacing: 0.2em; }
.btn.solid, .hero-plate .btn.solid { color: var(--gold); }
.btn.line:hover, .site-header .order:hover { color: var(--gold); }
.story .copy .story-lead { font-size: 18px; font-weight: 300; line-height: 1.7; }
.founder blockquote { font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }
.founder .bio { font-family: var(--label); font-style: normal; font-size: 14px; }
.menu-card h3 { font-weight: 400; text-transform: none; letter-spacing: 0; margin-right: 0; font-size: 24px; }
.menu-grid .menu-card h3 { letter-spacing: 0; margin-right: 0; }
.menu-card .price { font-family: var(--label); font-style: normal; font-weight: 300; font-size: 17px; }
.flavour-pick i { font-family: var(--serif); }
.steps li::before { font-family: var(--serif); }
/* the steps sit on the moving dough film: plain Poppins with a soft shadow reads better than the serif italic */
.steps p { font-family: var(--label); font-style: normal; font-weight: 400; font-size: 17px; line-height: 1.6; }
.film-band .steps p, .film-band .steps strong { text-shadow: 0 1px 12px rgba(20, 10, 6, 0.55); }
.fees { font-size: 17px; }
.fees td:last-child { font-style: normal; }
.quotes blockquote { font-weight: 400; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; }
.quotes cite, .quotes .stars { font-family: var(--label); font-style: normal; }
.faq summary { font-size: 18px; font-weight: 400; }
.faq details p { font-size: 16px; }
.closing .nameplate.lg { color: var(--gold); font-size: clamp(34px, 6vw, 64px); }
.closing .btn.line { border-color: var(--gold); color: var(--gold); }
.closing .btn.line:hover { background: var(--gold); border-color: var(--gold); color: var(--brown); }
.follow-bar > span { color: var(--gold); font-family: var(--serif); }
.follow-bar a { background: var(--gold); }
/* a drawing is not a photo: the story and delivery photo rules (full width, 4:5, rounded) don't apply */
.story .ill, .delivery .ill, .narrow .ill { display: block; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; margin: 0 0 16px; pointer-events: none; }
.narrow .ill { margin-inline: auto; }
.ill.ill-butter { width: 150px; }
.ill.ill-stack { width: 92px; }
.ill.ill-hand { width: 104px; }
/* italics are only ever DM Serif Display (Poppins has no italic) */
.quotes blockquote, .founder blockquote, .fine, .updated, .receipt .paid, .receipt h3, textarea::placeholder, input::placeholder { font-family: var(--serif); }
@media (max-width: 760px) {
  h2 { font-size: clamp(34px, 9.5vw, 42px); }
  .menu-card h3 { font-size: 19px; letter-spacing: 0; margin-right: 0; }
  .faq summary { font-size: 17px; }
  .home-page .hero-plate .lede-italic { font-size: 16px; font-weight: 400; }
  .flavour-pick i { font-size: 14px; }
  .ill.ill-butter { width: 120px; }
  .ill.ill-stack { width: 74px; }
  .ill.ill-hand { width: 86px; }
}

/* computers too (since 2026-11-08, the owner's request): the same hero as on phones, the cookie
   photo filling the first screen behind the cream name, text and Butter button, instead of the
   name beside the photo. */
@media (min-width: 761px) {
  .home-page .hero { position: relative; isolation: isolate; grid-template-columns: 1fr; min-height: calc(100svh - 74px); align-content: center; }
  .home-page .hero-photo { position: absolute; inset: 0; min-height: 0; z-index: -1; border-radius: 0 0 28px 28px; }
  .home-page .hero-photo img { transform-origin: 60% 55%; }
  .home-page .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 19, 12, 0.70) 0%, rgba(36, 19, 12, 0.52) 50%, rgba(36, 19, 12, 0.80) 100%); }
  .home-page .hero-plate { padding: 44px 28px 60px; }
  .home-page .hero-plate .lede-italic { max-width: 46ch; margin-bottom: 30px; }
  .home-page .hero-film { mix-blend-mode: screen; position: relative; isolation: isolate; transform: translateX(4%); clip-path: inset(2px); }
  .home-page .hero-film::after { content: ""; position: absolute; inset: 0; background: #EAD7AC; mix-blend-mode: multiply; pointer-events: none; }
  /* a little smaller than before, so the Order button is on the first screen of a laptop */
  .home-page .hero-film video, .home-page .hero-film img { filter: grayscale(1) invert(1) brightness(1.3); transform: none; width: min(300px, 33svh); }
  .home-page .hero-plate, .home-page .hero-plate .label { color: #EAD7AC; }
  .home-page .hero-plate .lede-italic { color: #EAD7AC; font-weight: 400; text-shadow: 0 1px 12px rgba(20, 10, 6, 0.45); }
  .home-page .hero-plate .btn.solid { background: var(--gold); border-color: var(--gold); color: var(--brown); }
  .home-page .hero-plate .btn.solid:hover { background: #FFF8E7; border-color: #FFF8E7; }
}

/* phones: the flavour row and all four racks fit on about one screen (the owner, 2026-11-08) */
@media (max-width: 760px) {
  #cookies { --rack-room: 472px; }
  .flavour-row { margin-top: 22px; gap: 6px; }
  .flavour-pick { gap: 6px; }
  .flavour-pick img { width: 64%; }
  .flavour-pick figcaption { gap: 2px; }
  .flavour-pick i { font-size: 13px; line-height: 1.2; text-wrap: balance; }
  .flavour-hint { margin-top: 14px; font-size: 9.5px; letter-spacing: 0.2em; }
  .menu-grid { gap: 12px 10px; margin-top: 14px; }
  .menu-card .float { aspect-ratio: 1 / 1; width: 84%; margin: 0 auto; }
  /* size the racks by the visible height too, so every phone shows the whole block between the top bar and the Order bar */
  .menu-card .float { width: min(84%, max(76px, calc((100vh - var(--rack-room)) / 2))); }
  @supports (height: 100svh) { .menu-card .float { width: min(84%, max(76px, calc((100svh - var(--rack-room)) / 2))); } }
  .menu-card h3 { display: inline; margin: 0; font-size: 17px; }
  .menu-card .price { display: inline; margin-left: 6px; font-size: 15px; }
  .menu-card .meta { margin-top: 0; font-size: 8px; }
  .card-order { display: table; margin: 0 auto; padding: 4px 10px 8px; }
}

/* laptops: the hero's Order button and the whole flavour + rack block fit the visible height of any
   laptop screen (1280x720 up); sizes follow the height, capped at the full-size look (the owner, 2026-11-08) */
@media (min-width: 761px) {
  .home-page .hero-plate { padding-top: min(44px, 4svh); padding-bottom: min(60px, 5svh); }
  .home-page .hero-plate .lede-italic { margin-bottom: min(30px, 3svh); }
  .home-page .hero-film video, .home-page .hero-film img { width: min(300px, 29svh); }
}
@media (min-width: 1100px) {
  .flavour-pick { gap: min(18px, 1.6svh); }
  .flavour-pick img { width: min(78%, 220px, 15svh); }
  .flavour-hint { margin-top: min(26px, 2svh); }
  .menu-grid { margin-top: min(80px, 3svh); }
  .menu-grid .float { width: min(100%, 26svh); margin: 0 auto; }
  .menu-grid .menu-card h3 { margin-top: min(30px, 2svh); }
}

/* The story section: the brand's sticker drawings scattered like stickers on a page, in place of the butter
   dish photo (the owner, 2026-11-08: "add more of these in a funky way"). Each sticker file has its cream
   die-cut edge and soft shadow baked in. They slap on one by one when the section comes into view (.in, set
   by home.js) and lift when touched or hovered; no movement with reduced motion. */
.stickers { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 0.96; }
.stickers .st { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; max-width: none; border-radius: 0;
  transform: rotate(var(--r)); transform-origin: 50% 55%; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.5, 0.64, 1); }
.stickers .st { z-index: 2; } .stickers .st-stack { z-index: 1; }   /* the others overlap the figure's edges, like a sticker-bombed page */
.stickers.ready .st { opacity: 0; }
.stickers.in .st { animation: slap 0.6s cubic-bezier(0.34, 1.45, 0.64, 1) both; animation-delay: calc(var(--i) * 110ms); }
@keyframes slap {
  from { opacity: 0; transform: rotate(calc(var(--r) - 16deg)) scale(1.4); }
  55% { opacity: 1; }
  to { opacity: 1; transform: rotate(var(--r)) scale(1); }
}
.stickers .st.pop { animation: pop 0.5s cubic-bezier(0.34, 1.5, 0.64, 1); }
@keyframes pop { 40% { transform: rotate(calc(var(--r) * -0.5)) scale(1.08); } }
@media (hover: hover) { .stickers .st:hover { transform: rotate(calc(var(--r) * -0.4)) scale(1.06); z-index: 2; } }
@media (prefers-reduced-motion: reduce) {
  .stickers.ready .st { opacity: 1; }
  .stickers.in .st, .stickers .st.pop { animation: none; }
  .stickers .st { transition: none; }
}

/* phones: in the drifting reviews row each review is exactly as wide as the row, so one shows at a time,
   centred, and the row ends exactly on the last one with no empty space beside it (the owner, 2026-11-08) */
@media (max-width: 760px) {
  .quotes.scrolling { container-type: inline-size; }
  .quotes.scrolling blockquote { flex: 0 0 calc(100vw - 48px); margin-right: 24px; }
  @supports (width: 1cqw) { .quotes.scrolling blockquote { flex-basis: 100cqw; } }
  .quotes.scrolling blockquote:last-child { margin-right: 0; }
}

/* The hero logo (since 2026-11-09): the brand guidelines' C4.2 "Centred" stacked script as a still image in
   warm cream, replacing the wordmark film. Sized by the screen's height too, so the Order button stays on
   the first screen. */
/* Since 2026-11-09 it is a film of the logo stickman chasing his cookie through the letters (Higgsfield,
   Kling 3.0, the letters then put back from the clean logo so they never move), cream on black and
   screened onto the photo so the black disappears. The film is 1.11 times the lettering's width, and
   its top third is room for the stickman, pulled up with a negative margin. */
.hero-logo { --lw: min(78vw, 330px, 36svh); margin: 0; mix-blend-mode: screen; animation: fade 0.8s ease 0.3s both; }
.hero-logo video, .hero-logo img { display: block; width: calc(var(--lw) * 1.111); max-width: 100%; height: auto; margin: calc(var(--lw) * -0.2) auto 0; }
.hero-logo + .label { margin-top: 18px; }
@media (min-width: 761px) { .hero-logo { --lw: min(380px, 36svh); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }
