/* La Fournée · Home (direction 1a: editorial, cream pages, photo-led like a food magazine)
   Strictly the three brand colours plus their tints and shades (PRD §8). */

:root {
  --burgundy: #661211;
  --cream: #D5D6C6;
  --burgundy-rgb: 102 18 17;
  --cream-rgb: 213 214 198;
  --shadow-rgb: 51 9 8;     /* deep burgundy-black for shadows */
  --photo-bg: #2b2523;      /* behind photos while they load */
  --gold: #A87D50;          /* rules, borders, accents; large text on burgundy */
  --gold-ink: #85623C;      /* gold shade for numerals and control outlines on cream (3.7:1) */
  --stripe-a: #C8C9B8;
  --stripe-b: #C1C2B0;
  --stripe-dark-a: #5C100F;
  --stripe-dark-b: #551010;
  --rule: rgb(var(--burgundy-rgb) / .18);
  --rule-soft: rgb(var(--burgundy-rgb) / .12);
  --rule-dark: rgb(var(--cream-rgb) / .25);
  --hover-tint: rgb(var(--burgundy-rgb) / .08);

  --f-display: "Gloock", "Times New Roman", serif;
  --f-label: "Italiana", "Gloock", serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1440px;
  --gutter: clamp(18px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --section-y: clamp(56px, 7vw, 88px);
  --radius: 4px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 92px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--burgundy);
  font: 400 1rem/1.55 var(--f-body); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }
img, picture, svg { display: block; max-width: 100%; }
body > svg[hidden] { display: block !important; position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
main:focus, .today:focus { outline: none; }
::selection { background: var(--burgundy); color: var(--cream); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--burgundy); color: var(--cream); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1 {
  font: 400 clamp(2.875rem, 1.1rem + 5.4vw, 6rem)/.98 var(--f-display);
  letter-spacing: -.01em; text-wrap: balance;
}
.h1-line { display: inline-block; }
h2 { font: 400 clamp(2rem, 1.3rem + 2.9vw, 3.5rem)/1 var(--f-display); text-wrap: balance; }
h2.h-sm { font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.5rem); }
h3 { font: 400 1.75rem/1.1 var(--f-display); }
.lede { font-size: clamp(1.0625rem, 1rem + .25vw, 1.125rem); max-width: 27.5em; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font: 600 .9375rem/1 var(--f-body); text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--burgundy); color: var(--cream); }
.btn-primary:hover { background: color-mix(in srgb, var(--burgundy) 86%, black); }
.btn-secondary { border-color: var(--gold-ink); color: var(--burgundy); }
.btn-secondary:hover { background: var(--hover-tint); border-color: var(--burgundy); }
.btn-cream { background: var(--cream); color: var(--burgundy); }
.btn-cream:hover { background: color-mix(in srgb, var(--cream) 85%, white); }
.btn-secondary-dark { border-color: var(--gold); color: var(--cream); }
.btn-secondary-dark:hover { border-color: var(--cream); }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link, .link-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 500 .9375rem/1 var(--f-body); color: inherit;
  background: none; border: 0; padding: 0;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .45em;
}
.text-link:hover, .link-btn:hover { text-decoration-color: currentColor; }
.text-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.text-link:hover .icon:last-child { transform: translateX(3px); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.icon-btn .icon { width: 24px; height: 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--rule-soft);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); padding: 10px var(--edge); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 68px; height: 68px; }
.brand span { display: none; }
.nav-primary { display: flex; gap: 36px; }
.nav-primary a, .mobile-nav a { font-weight: 500; font-size: .9375rem; text-decoration: none; padding: 10px 0; }
.nav-primary a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .45em; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.bag-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; background: none; border: 0; font-weight: 500; font-size: .9375rem; }
.bag-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  border: 1.5px solid var(--gold-ink); font: 600 .75rem/1 var(--f-body);
  transition: background-color .2s, color .2s;
}
.bag-count.has-items { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.bag-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }
.nav-toggle { display: none; }
.mobile-nav { display: grid; padding: 4px var(--edge) 16px; border-top: 1px solid var(--rule-soft); }
.mobile-nav a { font: 400 1.5rem/1.2 var(--f-display); padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
  padding: clamp(40px, 6vw, 72px) var(--edge) clamp(40px, 5vw, 64px);
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500; }
.hero-status-sep { opacity: .5; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--burgundy); flex: none; }
.is-open .dot { animation: breathe 2.4s ease-in-out infinite; }
.is-closed .dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
@keyframes breathe { 50% { box-shadow: 0 0 0 5px rgb(var(--burgundy-rgb) / .14); } }

.arch {
  height: clamp(420px, 44vw, 600px);
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; background: var(--stripe-a);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 72%; }

/* the one authored moment: the arch opens like an oven door rising */
@media (prefers-reduced-motion: no-preference) {
  .js .arch { animation: archRise .9s var(--ease-out) both; }
  .js .arch img { animation: archSettle 1.6s var(--ease-out) both; }
}
/* starts partly open so the hero photo is already painted (keeps LCP early) */
@keyframes archRise { from { clip-path: inset(38% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes archSettle { from { transform: scale(1.12); } to { transform: none; } }

/* ---------- marquee ---------- */
.marquee { background: var(--burgundy); color: var(--cream); overflow: hidden; }
.marquee-track { display: flex; width: max-content; font: 400 1.375rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.marquee-group { display: flex; padding: 18px 0; }
.marquee-group span { display: inline-flex; align-items: center; }
.marquee-group span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-inline: 1.2em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track.is-moving { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee { position: relative; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-toggle {
  position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: var(--burgundy); color: var(--cream);
  border: 1.5px solid var(--gold); border-radius: 50%;
  transition: background-color .2s;
}
.marquee-toggle:hover { background: color-mix(in srgb, var(--burgundy) 80%, white); }
.marquee-toggle:focus-visible { outline-color: var(--cream); }
.marquee-toggle .icon { width: 18px; height: 18px; stroke-width: 1.8; }

/* ---------- sections ---------- */
.section { padding: var(--section-y) var(--edge); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }

/* today's bake */
.today { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-top: clamp(64px, 8vw, 96px); }
.today-intro { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.today-intro > p:not([class]) { font-size: 1rem; }
.today-date { font: 400 1.0625rem/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; margin-top: -2px; }
.next-batch {
  display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 16px 0;
  border-block: 1px solid var(--gold); font-weight: 500; font-size: .9375rem;
}
.today-hint { font-size: .875rem; }
.ticket-cta { justify-content: space-between; margin-top: 4px; }
.ticket-cta-sum { font-weight: 500; font-variant-numeric: tabular-nums; }

.board { display: flex; flex-direction: column; border-top: 1px solid var(--rule); transition: background-color .6s; }
.board.nudge { animation: flash 1.2s var(--ease-out); }
@keyframes flash { 20% { background: var(--hover-tint); } }
.board-loading { padding: 24px 0; }
.row {
  display: grid; align-items: center; column-gap: 24px; row-gap: 2px;
  grid-template-columns: minmax(0, 1fr) 80px 116px 44px;
  grid-template-areas: "name price chip add" "meta price chip add";
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.row-name { grid-area: name; font: 400 1.5rem/1.15 var(--f-display); }
.row-meta { grid-area: meta; font-size: .875rem; }
.row-price { grid-area: price; font-weight: 600; font-variant-numeric: tabular-nums; }
.row .chip { grid-area: chip; justify-self: start; }
.row-add { grid-area: add; }
.row.is-sold .row-name, .row.is-sold .row-price { text-decoration: line-through; text-decoration-thickness: 1px; color: color-mix(in srgb, var(--burgundy) 78%, var(--cream)); }
@media (prefers-reduced-motion: no-preference) {
  .js .row { animation: rowIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
}
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }

.add-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; color: var(--burgundy); border: 1.5px solid var(--gold-ink);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.add-btn .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.add-btn:hover:not(:disabled) { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.add-btn:active:not(:disabled) { transform: scale(.92); }
.add-btn:disabled { border-style: dashed; border-color: var(--rule); opacity: .7; cursor: not-allowed; }
.add-btn.added { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .75rem/1.2 var(--f-body); letter-spacing: .02em; white-space: nowrap;
}
.chip-fresh { background: var(--burgundy); color: var(--cream); }
.chip-few { border-color: var(--gold-ink); }
.chip-sold { border: 1px dashed rgb(var(--burgundy-rgb) / .5); text-decoration: line-through; }

/* signatures */
.signatures { padding-top: 0; }
.sig-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 28px 20px; }
.sig { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 12px; min-height: 0; }
.sig:first-child { grid-row: span 2; grid-template-rows: minmax(0, 1fr) auto auto; }
.sig .ph { grid-column: 1 / -1; border-radius: var(--radius); aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; transition: filter .3s; }
.sig:first-child .ph { aspect-ratio: auto; min-height: 360px; }
.sig:hover .ph { filter: brightness(.96); }
.sig-name { font: 400 1.375rem/1.15 var(--f-display); padding-top: 12px; }
.sig:first-child .sig-name { font-size: 1.75rem; }
.sig-line { grid-column: 1; display: flex; gap: 10px; font-size: .875rem; }
.sig-line b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sig .btn {
  grid-column: 2; grid-row: 2 / span 2; align-self: center; margin-top: 10px;
  min-height: 44px; padding: 8px 18px; font-size: .8125rem;
  border-color: var(--gold-ink); background: transparent; color: var(--burgundy);
}
.sig .btn:hover:not(:disabled) { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.sig.is-sold .btn { border-style: dashed; border-color: var(--rule); }

/* photo placeholders (pending shoot, PRD §9) */
.ph {
  display: flex; align-items: flex-end; padding: 12px; overflow: hidden; text-decoration: none;
  background: repeating-linear-gradient(135deg, var(--stripe-a) 0 10px, var(--stripe-b) 10px 20px);
  font: 500 .75rem/1.3 var(--f-body);
}
.ph > span:first-child { background: var(--cream); padding: 3px 8px; border-radius: 999px; }
.ph.has-photo { position: relative; padding: 0; background: var(--photo-bg); }
.ph.has-photo img, .ph-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .8s var(--ease-out); }
.sig:hover .ph.has-photo img { transform: scale(1.03); }
.ph-photo { overflow: hidden; border-radius: var(--radius); background: var(--photo-bg); }
.ig-grid .ph.has-photo { padding: 0; }
.ig-grid .ph.has-photo img { object-position: center; }

/* process */
.process { border-top: 1px solid var(--rule-soft); }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); counter-reset: none; }
.process-list li { display: flex; flex-direction: column; gap: 12px; }
.process-list p { font-size: 1rem; max-width: 30ch; }
.numeral { font: 400 4rem/1 var(--f-display); color: var(--gold-ink); }
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms); }
  .js-ready .reveal.is-in { opacity: 1; transform: none; }
}

/* order ahead */
.order-ahead {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
  margin-inline: var(--edge); padding: clamp(32px, 4.5vw, 56px);
  background: var(--burgundy); color: var(--cream); border-radius: var(--radius);
}
.order-ahead h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.05; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--gold); padding-top: 16px; }
.steps h3 { font: 600 .9375rem/1.3 var(--f-body); }
.steps p { font-size: .9375rem; line-height: 1.5; }

/* celebrations */
.celebrate { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ph-cake { height: clamp(300px, 34vw, 440px); border-radius: var(--radius); }
.celebrate-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.celebrate-copy p { max-width: 27em; }

/* instagram */
.insta { padding-top: 0; }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ig-grid .ph { aspect-ratio: 1; border-radius: var(--radius); padding: 8px; transition: filter .25s; }
.ig-grid .ph:hover { filter: brightness(.95); }

/* visit */
.visit { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--burgundy); color: var(--cream); }
.visit img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.visit-copy { padding: clamp(36px, 4.5vw, 56px) var(--edge) clamp(36px, 4.5vw, 56px) clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.visit-copy h2 { font-size: clamp(2rem, 1.4rem + 1.9vw, 2.75rem); line-height: 1.05; }
.visit-facts { display: grid; gap: 12px; }
.visit-facts li { display: flex; align-items: center; gap: 12px; }
.visit-facts .icon { color: var(--gold); }
.visit .btn-cream:focus-visible, .visit .btn-secondary-dark:focus-visible { outline-color: var(--cream); }

/* opt-in */
.optin { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding: clamp(48px, 6vw, 72px) var(--edge); }
.optin h2 { font-size: clamp(1.875rem, 1.35rem + 1.7vw, 2.5rem); line-height: 1.1; max-width: 13em; }
.optin-form { display: grid; gap: 6px; width: min(100%, 480px); }
.optin-form label { font-size: .8125rem; font-weight: 500; }
.optin-row { display: flex; align-items: end; gap: 12px; }
.optin-row input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0;
  background: transparent; color: var(--burgundy);
  border: 0; border-bottom: 1.5px solid var(--burgundy); border-radius: 0;
}
.optin-row input::placeholder { color: color-mix(in srgb, var(--burgundy) 72%, var(--cream)); }
.optin-row input:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-bottom-width: 2.5px; }
.optin-row input[aria-invalid="true"] { border-bottom-color: var(--gold-ink); border-bottom-style: dashed; }
.optin-msg { min-height: 1.4em; font-size: .875rem; }
.optin-msg.is-error { font-weight: 600; }
.optin-success { display: flex; align-items: center; gap: 12px; font: 400 1.375rem/1.25 var(--f-display); }
.optin-success .icon { width: 28px; height: 28px; color: var(--gold-ink); stroke-width: 2; }

/* ---------- full menu page ---------- */
.nav-primary a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .45em; }
.menu-hero { padding: clamp(40px, 6vw, 72px) var(--edge) 32px; display: grid; gap: 18px; }
.menu-hero h1 { font-size: clamp(3rem, 1.6rem + 5vw, 5.5rem); }
.menu-updated { font-size: .8125rem; }
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: var(--cream); border-block: 1px solid var(--rule-soft);
}
.menu-nav-track {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--edge);
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.menu-nav-track::-webkit-scrollbar { display: none; }
.menu-nav-track a {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--gold-ink); border-radius: 999px; scroll-snap-align: start;
  font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.menu-nav-track a:hover { background: var(--hover-tint); }
.menu-nav-track a.is-active { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.menu-page { --menu-scroll: calc(var(--header-h) + 64px); }
.menu-page .menu-cat, .menu-page #custom { scroll-margin-top: var(--menu-scroll); }

.menu-body { padding: 8px var(--edge) var(--section-y); display: grid; gap: clamp(48px, 6vw, 72px); }
.menu-cat { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.menu-cat-head { display: grid; gap: 10px; position: sticky; top: calc(var(--menu-scroll) + 8px); }
.menu-cat-head h2 { font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem); }
.menu-cat-head p { font-size: .9375rem; }
.menu-list { display: flex; flex-direction: column; }
.menu-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text buy" "variants variants";
  align-items: center; column-gap: 24px; row-gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.menu-item:first-child { padding-top: 0; }
.menu-item.has-thumb { grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "thumb text buy" "thumb variants variants"; }
.menu-thumb { grid-area: thumb; width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); align-self: start; background: var(--photo-bg); }
.menu-thumb.ph { display: flex; padding: 6px; font-size: .625rem; }
.menu-thumb.ph > span { padding: 2px 6px; }
.menu-cat-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-top: 8px; background: var(--photo-bg); }
.menu-item-text { grid-area: text; display: grid; gap: 4px; }
.menu-item-text h3 { font: 400 1.375rem/1.2 var(--f-display); }
.menu-item-text p { font-size: .875rem; }
.menu-item-buy { grid-area: buy; display: flex; align-items: center; gap: 16px; }
.menu-price { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.menu-item.is-sold h3, .menu-item.is-sold .menu-price { text-decoration: line-through; color: color-mix(in srgb, var(--burgundy) 78%, var(--cream)); }
.variants { grid-area: variants; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.variant span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--rule); border-radius: 999px; font-size: .875rem; font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.variant:hover span { border-color: var(--gold-ink); }
.variant input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.variant input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }

.menu-custom {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  margin: 0 var(--edge) var(--section-y); padding: clamp(32px, 4.5vw, 56px);
  background: var(--burgundy); color: var(--cream); border-radius: var(--radius);
}
.menu-custom > div { display: grid; gap: 14px; max-width: 40rem; }
.menu-custom h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.menu-custom-note { font-size: .875rem; }

/* footer */
.site-footer {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px;
  padding: 48px var(--edge) calc(48px + env(safe-area-inset-bottom));
  background: var(--burgundy); color: var(--cream); font-size: .875rem;
}
.site-footer nav, .footer-legal { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer a { text-decoration: none; padding: 6px 0; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer-legal span, .footer-legal small { padding: 6px 0; }
.footer-legal small { font-size: .8125rem; opacity: .85; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 88px; height: 88px; }
.footer-tag { font: 400 1.125rem/1.2 var(--f-label); letter-spacing: .15em; text-transform: uppercase; padding-top: 8px; }

/* WhatsApp FAB (mobile only) */
.wa-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  background: var(--burgundy); color: var(--cream); border-radius: 999px; text-decoration: none;
  font: 600 .875rem/1 var(--f-body); box-shadow: 0 4px 14px rgb(var(--shadow-rgb) / .25);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.wa-fab.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* bag drawer */
.bag {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(440px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  background: var(--cream); color: var(--burgundy);
  box-shadow: -12px 0 40px rgb(var(--shadow-rgb) / .22);
}
.bag::backdrop { background: rgb(var(--burgundy-rgb) / .4); }
@media (prefers-reduced-motion: no-preference) { .bag[open] { animation: slideIn .45s var(--ease-out); } }
@keyframes slideIn { from { transform: translateX(100%); } }
.bag-inner { display: flex; flex-direction: column; height: 100%; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 20px 28px; border-bottom: 1px solid var(--rule); }
.bag-head h2 { font-size: 2rem; }
.bag-body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.bag-empty { padding: 32px 0; display: grid; gap: 12px; justify-items: start; }
.bag-empty p { font: 400 1.375rem/1.2 var(--f-display); }
.bag-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.bag-line-name { font: 400 1.25rem/1.15 var(--f-display); }
.bag-line-price { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--gold-ink); border-radius: 999px; justify-self: start; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; }
.qty button:hover:not(:disabled) { background: var(--hover-tint); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty .icon { width: 16px; height: 16px; }
.qty output { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.bag-line-meta { font-size: .8125rem; align-self: center; text-align: right; }
.bag-foot { padding: 20px 28px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); display: grid; gap: 14px; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; }
.bag-total strong { font: 400 1.75rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.bag-note { font-size: .8125rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--burgundy); color: var(--cream);
  box-shadow: 0 10px 30px rgb(var(--shadow-rgb) / .3); font-weight: 500; font-size: .9375rem;
  transform: translateX(-50%);
}
.toast .link-btn { padding: 0 12px; text-decoration-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .toast { animation: toastIn .45s var(--ease-out); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-primary { gap: 24px; }
  .today { grid-template-columns: 1fr; }
  .today-intro { position: static; max-width: 40rem; }
  .order-ahead { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .nav-primary, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; margin-right: -10px; }
  .brand img { width: 52px; height: 52px; }
  .brand span { font-size: 1.125rem; }
  .brand { gap: 10px; }
  .header-actions { gap: 4px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; }
  .hero .lede { order: 2; }
  .hero .btn-row { order: 3; }
  .arch { order: 4; width: 100%; max-width: 520px; height: clamp(280px, 78vw, 520px); }
  .hero-status { order: 5; }
  .sig-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .sig:first-child { grid-column: 1 / -1; grid-row: auto; }
  .sig .ph { aspect-ratio: 4 / 3; }
  .sig:first-child .ph { aspect-ratio: 16 / 9; min-height: 0; }
  .celebrate { grid-template-columns: 1fr; gap: 28px; }
  .visit { grid-template-columns: 1fr; }
  .visit img { min-height: 0; height: 260px; }
  .visit-copy { padding: 36px var(--edge); }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-cat { grid-template-columns: 1fr; gap: 16px; }
  .menu-cat-head { position: static; }
  .menu-cat-photo { aspect-ratio: 16 / 9; max-width: 520px; }
}

@media (max-width: 599px) {
  .bag-btn-label { display: none; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .marquee-track { font-size: 1.0625rem; }
  .marquee-group { padding: 13px 0; }
  .row {
    grid-template-columns: minmax(0, 1fr) auto 44px; column-gap: 12px; row-gap: 6px;
    grid-template-areas: "name price add" "meta chip add"; padding: 14px 0;
  }
  .row-name { font-size: 1.1875rem; }
  .row-meta { font-size: .8125rem; }
  .row-price { text-align: right; }
  .row .chip { justify-self: end; padding: 4px 10px; }
  .sig-grid { grid-template-columns: 1fr; }
  .sig:first-child { grid-column: auto; }
  .sig .ph, .sig:first-child .ph { aspect-ratio: 4 / 3; }
  .process-list { grid-template-columns: 1fr; gap: 28px; }
  .process-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: center; }
  .process-list li > h3, .process-list li > p { grid-column: 1 / -1; max-width: none; }
  .process-icon { margin-bottom: 0; }
  .numeral { display: none; }
  h3 { font-size: 1.375rem; }
  .order-ahead { margin-inline: 0; border-radius: 0; padding-inline: var(--edge); }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .ig-grid { gap: 8px; }
  .optin-row { flex-direction: column; align-items: stretch; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer-brand, .footer-legal { grid-column: 1 / -1; }
  .wa-fab { display: inline-flex; }
  .menu-item { column-gap: 12px; }
  .menu-item.has-thumb { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .menu-thumb { width: 64px; height: 64px; }
  .menu-item-text h3 { font-size: 1.1875rem; }
  .menu-item-buy { gap: 10px; }
  .menu-item-buy .chip { display: none; }
  .menu-price { min-width: 0; }
  .menu-custom { margin-inline: 0; border-radius: 0; padding-inline: var(--edge); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* keep quick colour feedback; drop movement and scaling */
  .ph.has-photo img, .ph-photo img, .text-link .icon, .add-btn { transition-property: background-color, color, border-color; }
  .sig:hover .ph.has-photo img { transform: none; }
  .bag-count.bump { animation: none; }
  .is-open .dot { animation: none; }
}

/* ---------- no-JS fallbacks ---------- */
html:not(.js) .board-loading { display: none; }
.menu-noscript { padding: 24px 0; max-width: 40rem; }

/* ---------- document pages (corporate, FAQ, privacy) ---------- */
.doc-page { padding: clamp(40px, 6vw, 72px) var(--edge) var(--section-y); display: grid; gap: clamp(32px, 4vw, 48px); }
.doc-head { display: grid; gap: 18px; max-width: 46rem; }
.doc-head h1 { font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5rem); }
.doc-updated { font-size: .8125rem; }
.doc-body { display: grid; gap: 40px; max-width: 46rem; }
.doc-body section { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--rule); }
.doc-body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.1; }
.doc-body p, .doc-body li { max-width: 65ch; }
.doc-body ul { display: grid; gap: 8px; list-style: disc; padding-left: 1.25em; }
.doc-body a { text-decoration-color: var(--gold); }
.doc-body a:hover { text-decoration-color: currentColor; }
.doc-cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.ig-handle { text-decoration: none; }
.ig-handle:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .15em; }

/* Cut-out product photos (transparent PNG-derived webp): show whole plate with a transparent background */
.ph.has-photo:has(> .is-cut), .ph-photo:has(> .is-cut) { background: transparent; }
img.is-cut { object-fit: contain; object-position: center; background: transparent; }
.ph.has-photo img.is-cut, .ph-photo img.is-cut { object-fit: contain; object-position: center; }

/* Luxe backing for cut-outs: deep burgundy spotlight, gold hairline frame, plate lifted with a shadow */
:root { --cut-bg: radial-gradient(ellipse 70% 60% at 50% 46%, #8a2220 0%, #661211 45%, #3d0a09 100%); }
.ph.has-photo:has(> .is-cut), .ph-photo:has(> .is-cut) {
  background: var(--cut-bg); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgb(168 125 80 / .55), 0 14px 30px -14px rgb(var(--shadow-rgb) / .55);
}
.ph.has-photo:has(> .is-cut)::before, .ph-photo:has(> .is-cut)::before {
  /* inner gold frame */
  content: ""; position: absolute; inset: 8px; border: 1px solid rgb(168 125 80 / .35); border-radius: 2px; pointer-events: none; z-index: 2;
}
.ph-photo:has(> .is-cut) { position: relative; }
/* ornaments inside the frame: gold ring behind the plate, small rule at the foot */
.ph.has-photo:has(> .is-cut), .ph-photo:has(> .is-cut) {
  background:
    radial-gradient(circle at 50% 48%, transparent 0 46%, rgb(168 125 80 / .45) 46% 46.5%, transparent 46.5% 49%, rgb(168 125 80 / .22) 49% 49.4%, transparent 49.4%),
    var(--cut-bg);
}
.ph.has-photo:has(> .is-cut)::before, .ph-photo:has(> .is-cut)::before {
  background: linear-gradient(rgb(168 125 80 / .7), rgb(168 125 80 / .7)) center calc(100% - 14px) / 34px 1px no-repeat;
}
.ph.has-photo img.is-cut, .ph-photo img.is-cut {
  transform: scale(1.14);
  filter: drop-shadow(0 14px 14px rgb(0 0 0 / .45));
}
.sig:hover .ph.has-photo img.is-cut { transform: scale(1.19); }
img.menu-thumb.is-cut, img.menu-cat-photo.is-cut {
  background: var(--cut-bg); object-fit: cover; box-shadow: inset 0 0 0 1px rgb(168 125 80 / .55);
}

/* Composed visuals (img/visuals): fill their frames, no cut-out treatment */
img.is-art { width: 100%; height: 100%; object-fit: cover; object-position: center; background: transparent; }
.arch img.is-art { object-position: center 30%; }
.visual-band { padding-inline: var(--edge, 24px); }
.visual-band img { display: block; width: 100%; height: auto; max-width: 1400px; margin-inline: auto; border-radius: var(--radius); }

/* Brand badge over the hero arch */
.hero { position: relative; }
.hero-badge { position: absolute; z-index: 2; width: clamp(110px, 14vw, 170px); height: auto; right: clamp(8px, 3vw, 40px); bottom: clamp(24px, 6vw, 80px); animation: badgeSpin 40s linear infinite; }
@keyframes badgeSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }
.visual-band img { border-radius: 0; }
.visual-band { margin-block: clamp(24px, 4vw, 48px); }

.process-icon { display: block; height: 56px; width: auto; margin-bottom: 14px; }
.process-icon { max-width: 120px; object-fit: contain; object-position: left; }

/* Fit fixes: keep composed graphics and photos whole */
.arch { height: auto; aspect-ratio: 4 / 5; }
.arch img.is-art { object-position: center 60%; }
@media (max-width: 900px) {
  .arch { height: auto; aspect-ratio: 4 / 5; max-width: 520px; }
  .ph-cake { height: auto; aspect-ratio: 4 / 3; }
  .visit img { height: auto; aspect-ratio: 16 / 9; }
}
.ph-cake { height: auto; aspect-ratio: 4 / 3; }
.visit img { min-height: 0; height: auto; aspect-ratio: 16 / 9; align-self: center; }
.insta .section-head { margin-bottom: 0; }

/* hero spacing: smaller headline so it sets in 2 lines, copy centred against the arch */
.hero { align-items: center; gap: clamp(32px, 4vw, 64px); }
.hero h1 { font-size: clamp(2.875rem, 1rem + 3.3vw, 4.75rem); }
.hero-copy { gap: 24px; padding-bottom: 0; }
.hero .arch { width: auto; aspect-ratio: 4 / 5; justify-self: end; height: clamp(420px, min(44vw, calc(100vh - 220px)), 600px); }
.hero .arch img { object-position: center; }
@media (max-width: 899px) { .hero .arch { width: 100%; aspect-ratio: auto; justify-self: stretch; height: clamp(280px, 78vw, 520px); } }

/* hero extras: eyebrow + fact strip */
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font: 400 1.0625rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.hero-eyebrow-rule { flex: 0 0 48px; height: 1px; background: var(--gold); }
.hero-facts { list-style: none; margin: 12px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.hero-facts li { display: grid; gap: 4px; padding: 0 28px; border-left: 1px solid var(--rule); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font: 400 1.375rem/1.1 var(--f-display); }
.hero-facts span { font-size: .8125rem; opacity: .8; }
@media (max-width: 899px) { .hero-facts { display: none; } .hero-eyebrow { font-size: .9375rem; } }

/* Full logo lockup in header */
.brand .brand-logo { width: 76px; height: auto; }
@media (max-width: 899px) { .brand .brand-logo { width: 56px; } }

/* hero photo: burgundy panel, spotlight backing and gold arch ring (matches the cheesecake page) */
.hero-panel { justify-self: end; width: 100%; max-width: 540px; background: var(--burgundy); border-radius: 999px 999px 8px 8px; padding: clamp(24px, 2.6vw, 32px); }
.hero .arch { background: var(--cut-bg); box-shadow: 0 0 0 12px var(--burgundy), 0 0 0 13px var(--gold); margin: 12px; width: auto; height: auto; aspect-ratio: 4 / 5; justify-self: auto; }
.hero .arch img { object-fit: cover; object-position: center; }
@media (max-width: 899px) { .hero-panel { justify-self: center; max-width: 440px; } .hero .arch { width: auto; height: auto; aspect-ratio: 4 / 5; margin: 12px; } }
/* keep the gold ring visible: the rise animation must not clip outside the arch */
@keyframes archRise { from { clip-path: inset(38% -20px -20px -20px); } to { clip-path: inset(-20px); } }

/* ---------- hero slider ---------- */
.hero-panel { position: relative; padding-bottom: clamp(60px, 5.2vw, 68px); }
.hero .arch { position: relative; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.hero .arch .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide-cap {
  position: absolute; z-index: 2; left: 0; bottom: 28px; padding: 9px 16px 10px;
  background: var(--cream); color: var(--burgundy); border-radius: 0 2px 2px 0;
  font: 400 1.125rem/1.1 var(--f-display); box-shadow: 0 10px 24px -10px rgb(var(--shadow-rgb) / .6);
}
.hs-controls { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hs-dots { display: flex; gap: 2px; }
.hs-dot { width: 24px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.hs-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 1px solid var(--gold); transition: background-color .3s, transform .3s; }
.hs-dot[aria-current="true"]::before { background: var(--cream); border-color: var(--cream); transform: scale(1.25); }
.hs-btn { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; background: none; color: var(--cream); border: 1px solid rgb(var(--cream-rgb) / .45); border-radius: 50%; cursor: pointer; transition: background-color .2s, border-color .2s; }
.hs-btn:hover { border-color: var(--cream); background: rgb(var(--cream-rgb) / .12); }
.hs-btn .icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hs-prev .icon { transform: scaleX(-1); }
.hs-toggle { margin-left: 8px; }
.hs-toggle span { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.hs-toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.hero-panel :focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
@media (max-width: 899px) { .hs-toggle { display: none; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.hero-badge { bottom: calc(clamp(24px, 6vw, 80px) + 52px); }

/* "see the full menu" under the Fresh today board */
.board-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.board-more p { font-size: .9375rem; }
@media (max-width: 520px) { .board-more .btn { width: 100%; } }
