/* Le Délice — French bakery aesthetic
   Eggshell whites, ink, warm crust accents.
*/
/* Editorial pairing:
   - Display: Italiana + Cormorant Garamond (italic) for the airy hero/title feel
   - Masthead: DM Serif Display for the heavier "LE DÉLICE" wordmark
   - Body sans: Karla — humanist, slight character, designed for screen body. */
/* Three web font families:
   - Italiana — masthead/logo ONLY (airy capital letters, ornamental)
   - Cormorant Garamond — everything else serif (body, hero titles, italic)
   - Karla — UI sans
   Monospace uses the system stack (no download). */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Italiana&family=Karla:wght@300;400;500;600;700&display=swap');

:root {
  /* Cool eggshell — lightened another notch (closer to off-white). */
  --shell: #FBFAF6;
  --shell-2: #F4F2EB;
  --shell-3: #E4E2D8;
  --paper: #FDFCF9;
  --bone: #F8F7F1;

  --ink: #1A1A18;
  --ink-2: #2C2C28;
  --ink-3: #3F3F38;
  --ink-4: #6A6A60;

  --crust: #4A4A40;
  --crust-2: #6E6E62;
  --crust-3: #9A9A8E;
  --rouge: #6E1F1F;
  --olive: #5A5A3A;
  --gold: #8E7A4E;

  --rule: #BDBAA8;
  --rule-soft: #D4D0BE;

  /* Type — three slots, used consistently:
       --ff-display  : page titles, hero, h1/h2 (Italiana — airy)
       --ff-masthead : the LE DÉLICE wordmark (DM Serif Display — heavier)
       --ff-serif    : italic emphasis + product names (Cormorant Garamond italic)
       --ff-sans     : everything else — body, UI, labels, buttons (Karla — humanist) */
  /* Display + serif both use Cormorant; the masthead alone uses Italiana
     (airy ornamental capitals — only ever rendered LARGE so its readability
     issues at small sizes don't apply). */
  --ff-display:  'Cormorant Garamond', 'Times New Roman', serif;
  --ff-masthead: 'Italiana', 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-serif:    'Cormorant Garamond', 'Times New Roman', serif;
  --ff-sans:     'Karla', system-ui, sans-serif;
  --ff-mono:     ui-monospace, 'SF Mono', Menlo, monospace;

  /* ============ TYPE SCALE ============
     Fluid clamp(min, ideal, max) — `min` lands on a 320px viewport,
     `max` on a 1280px viewport, linear in between. Mobile baseline is
     16px (--fs-base) so iOS doesn't auto-zoom on form focus. Anything
     smaller is reserved for uppercase eyebrows and tabular UI labels
     where the wider letterspacing carries the readability. */
  --fs-2xs:     clamp(0.6875rem, 0.66rem + 0.15vw, 0.75rem);   /* 11 → 12 */
  --fs-xs:      clamp(0.75rem,   0.71rem + 0.18vw, 0.8125rem); /* 12 → 13 */
  --fs-sm:      clamp(0.875rem,  0.83rem + 0.18vw, 0.9375rem); /* 14 → 15 */
  --fs-base:    clamp(1rem,      0.95rem + 0.22vw, 1.0625rem); /* 16 → 17 */
  --fs-md:      clamp(1.125rem,  1.05rem + 0.4vw,  1.25rem);   /* 18 → 20 */
  --fs-lg:      clamp(1.25rem,   1.1rem  + 0.7vw,  1.5rem);    /* 20 → 24 */
  --fs-xl:      clamp(1.5rem,    1.27rem + 1vw,    1.875rem);  /* 24 → 30 */
  --fs-2xl:     clamp(1.75rem,   1.4rem  + 1.7vw,  2.25rem);   /* 28 → 36 */
  --fs-3xl:     clamp(2.125rem,  1.6rem  + 2.5vw,  3rem);      /* 34 → 48 */
  --fs-4xl:     clamp(2.625rem,  1.95rem + 3.2vw,  3.75rem);   /* 42 → 60 */
  --fs-display: clamp(3.5rem,    2.5rem  + 4.8vw,  5.5rem);    /* 56 → 88 */

  /* Line-height tokens — use --lh-tight on big display, --lh-snug for
     short headings, --lh-base for body, --lh-loose for long-form copy. */
  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-base:  1.55;
  --lh-loose: 1.7;

  /* ============ SPACING SCALE (4px base) ============
     Used directly in CSS (`padding: var(--sp-4)`) where the rhythm matters.
     Raw px values inside this stylesheet are snapped to this set by the
     normalize_design_tokens.py sweep — keep new code in tokens. */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Page-level rhythm — fluid section padding so mobile gets ~32px and
     desktop gets ~80px without per-component overrides. */
  --section-y: clamp(2rem, 1.25rem + 3.5vw, 5rem);  /* 32 → 80 */
  --gutter-x:  clamp(1rem, 0.5rem + 2.5vw, 2.5rem); /* 16 → 40 */

  /* Minimum touch target — every button/icon hit area should clear this
     on mobile (WCAG 2.5.5 advises 44px). */
  --touch-min: 44px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[x-cloak] { display: none !important; }

/* ============ ACCESSIBILITY ============ */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--ink);
  color: var(--shell);
  padding: 12px 20px;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1000;
  transition: top .15s;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--shell); outline-offset: 2px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-bottom-width: 2px;
  border-bottom-color: var(--ink);
}
html, body {
  background: var(--shell);
  color: var(--ink);
  font-family: var(--ff-sans);
  -webkit-font-smoothing: antialiased;
  /* Tabular + lining digits site-wide — Cormorant ships old-style
     numerals which lurch up and down in prices, ratings and counts.
     Forcing lining + tabular at the root means every digit on the
     page (price tags, ratings, hours, dates, quantities, addresses,
     phone numbers) shares one shape and aligns in columns. */
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
body { font-size: var(--fs-base); line-height: var(--lh-base); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--ink);
  color: var(--shell);
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
}
.topbar__msg { flex: 1; text-align: center; opacity: 0.9; }
.topbar__side { display: flex; gap: 16px; align-items: center; opacity: 0.8; }
.topbar__side span, .topbar__side a { cursor: pointer; }

/* ============ NAV ============ */
.nav {
  background: var(--shell);
  border-bottom: 1px solid var(--rule-soft);
  padding: 20px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(6px);
}
.nav__left, .nav__right { display: flex; gap: 24px; align-items: center; }
.nav__right { justify-content: flex-end; }
.nav__link {
  /* Karla 700 instead of Cormorant 500 — Cormorant uppercase at 14px
     was rendering thin and low contrast. Sans + heavier weight + darker
     ink reads decisively. */
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
  background: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav__link--active { color: var(--ink); border-bottom-color: var(--ink); }

.brand {
  text-align: center;
  /* Back to Italiana — the airy capitals are the brand voice. Italiana ships
     only at 400 which can read thin on the eggshell shell. -webkit-text-stroke
     paints a hairline around each glyph in the same colour, which thickens
     the perceived weight without changing the silhouette or losing the
     ornamental feel. Plus a one-pixel text-shadow as a Firefox/Safari fallback
     where text-stroke isn't supported. */
  font-family: var(--ff-masthead, var(--ff-display));
  font-size: var(--fs-3xl);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink);
  -webkit-text-stroke: 0.4px var(--ink);
  text-shadow: 0 0 0.01px var(--ink);
  cursor: pointer;
  line-height: 1;
  position: relative;
  padding: 0 8px;
  display: inline-block;
}
.brand::before, .brand::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--ink);
  opacity: 0.7;
}
.brand::before { right: calc(100% - 6px); }
.brand::after { left: calc(100% - 6px); }
.brand__sub {
  display: block;
  width: max-content;
  margin: 8px auto 0;
  font-family: var(--ff-sans);
  /* Bumped from 9px → 12px for legibility — was too whisper-soft. */
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding: 4px 16px 0;
  border-top: 0.5px solid var(--ink-4);
}

/* ----- Brand modifiers — same wordmark, different contexts.
   .brand--inverse  : dark-background variant (footer)
   .brand--menu     : compact variant for the mobile drawer head
   Footer + mobile menu both DROP the side rules and sub-line so the
   wordmark reads as a clean signature; only the centred header keeps
   the full lockup. */
.brand--inverse,
.brand--inverse:hover,
.brand--inverse:visited {
  color: var(--shell);
  -webkit-text-stroke-color: var(--shell);
  text-shadow: 0 0 0.01px var(--shell);
}
.brand--inverse::before,
.brand--inverse::after { display: none; }
.brand--inverse .brand__sub { display: none; }
.brand--menu {
  font-size: var(--fs-xl);
}
.brand--menu::before,
.brand--menu::after { display: none; }
.brand--menu .brand__sub { display: none; }

.nav__center { text-align: center; }

.nav__icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.nav__cart-count {
  position: absolute;
  top: -6px; right: -10px;
  background: var(--rouge);
  color: var(--shell);
  font-size: var(--fs-2xs);
  font-weight: 600;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  /* Hero + marquee fill the first viewport exactly. --chrome-h is set on
     :root by a small JS in layouts/app.blade.php that measures the actual
     topbar + nav heights at load + on resize. The CSS fallback (140px) is
     used only if JS is disabled. height (not min-height) + overflow:hidden
     guarantees the marquee lands at the bottom of the fold even when hero
     content would otherwise grow taller. */
  --chrome-h: 140px;
  --marquee-h: 64px;
  height: calc(100vh - var(--chrome-h) - var(--marquee-h));
  height: calc(100svh - var(--chrome-h) - var(--marquee-h));
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--shell);
  overflow: hidden;
}
.hero__copy {
  /* Padding scales with viewport so hero content fits inside the fixed
     fold height computed above. Bottom padding gets a wider clamp so the
     CTA row doesn't crowd the marquee that lives just below. */
  padding: clamp(40px, 6vh, 96px) clamp(24px, 5vw, 64px) clamp(64px, 9vh, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--crust);
  font-weight: 500;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--crust);
}
.hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  color: var(--ink);
  letter-spacing: -0.015em;
  /* Cormorant 600 carries display weight; Italiana was airy at 400. */
  font-weight: 600;
}
.hero__title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
}
.hero__lede {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 32px;
  max-width: 460px;
  font-weight: 500;
}
.hero__cta-row { display: flex; gap: 16px; margin-top: 40px; align-items: center; }

.btn {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--shell);
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
  text-align: center;
}
.btn:hover { background: var(--shell); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--shell); }
.btn--full { width: 100%; }
.btn--sm { padding: 12px 20px; font-size: var(--fs-2xs); }
.btn--danger { background: var(--rouge); border-color: var(--rouge); }
.btn--danger:hover { background: var(--shell); color: var(--rouge); }

.btn-link {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  display: inline-block;
  background: none;
  color: var(--ink);
}

.hero__visual {
  position: relative;
  background: var(--shell-3);
  /* New stacking context so .hero__stamp paints reliably above the
     <video> element when the video variant renders. No-op for the
     image variant. */
  isolation: isolate;
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.hero__visual .hero__video {
  /* Absolute-fill the column so a portrait video doesn't burst the
     hero's calc'd height. cover crops, but it keeps the column shape
     identical to the image variant — no layout shift on the A/B. */
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--shell-3);
  filter: saturate(0.92) contrast(1.02);
  pointer-events: none;
  z-index: 0;
}
.hero__stamp {
  position: absolute;
  bottom: 80px; left: -50px;
  width: 116px; height: 116px;
  background: var(--bone);
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  text-align: center;
  z-index: 3;
  /* Idle sway — the stamp sits at -8deg and breathes through a 6-second
     loop. Combined with a one-shot drop-in entrance and a hover lift,
     it feels like a hand-pinned tag rather than a stuck graphic. */
  transform: rotate(-8deg);
  box-shadow: 0 2px 10px -6px rgba(26, 26, 24, 0.28);
  animation:
    stampDrop 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both,
    stampSway 6s ease-in-out 700ms infinite;
  transition: transform 320ms var(--motion-ease),
              box-shadow 320ms var(--motion-ease);
}
.hero__stamp:hover {
  /* Hover lifts and straightens — a subtle "pick me up" cue. The
     transition takes over so the sway pauses while held. */
  transform: rotate(-2deg) scale(1.05);
  box-shadow: 0 6px 18px -8px rgba(26, 26, 24, 0.4);
  animation-play-state: paused, paused;
}
@keyframes stampDrop {
  0%   { opacity: 0; transform: rotate(-22deg) scale(0.6); }
  60%  { opacity: 1; transform: rotate(-5deg)  scale(1.04); }
  100% { opacity: 1; transform: rotate(-8deg)  scale(1); }
}
@keyframes stampSway {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(-10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stamp { animation: none; transform: rotate(-8deg); }
}
.hero__stamp-inner {
  /* Flex column with explicit gap — replaces the old <br>-separated text
     where the line-height + b margins added an asymmetric pad below
     "Bakery". Now Best, Bakery, in J&K sit at evenly-spaced rows. */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--ff-sans);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.hero__stamp-inner b {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  margin: 0;
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--shell);
  /* Fixed 64px height so .hero can subtract it cleanly to land the marquee
     exactly at the bottom of the first viewport. */
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--ink);
}
.marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 64px;
}
.marquee__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--shell); display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section { padding: var(--section-y) var(--gutter-x); }
.section--paper { background: var(--paper); }
.section--shell2 { background: var(--shell-2); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.section__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--crust);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section__eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--crust);
}
.section__title {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  font-weight: 600;
  color: var(--ink);
}
.section__title em { font-family: var(--ff-serif); font-style: italic; font-weight: 500; }
.section__lede {
  /* All ledes on the site use Cormorant --fs-md — this was the lone Karla
     --fs-base outlier that made section ledes read smaller than every
     hero/band/footer/auth/menu lede next to it. */
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 460px;
}

/* ============ STORY PAGE ============ */
.story-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--shell);
  min-height: 56vh;
  align-items: stretch;
}
.story-hero__copy {
  padding: var(--section-y) var(--gutter-x);
  display: flex; flex-direction: column; justify-content: center;
}
.story-hero__visual { background: var(--shell-3); position: relative; overflow: hidden; }
.story-hero__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); }
.story-prose {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
/* Pull-quote treatment so the section reads as an intentional quotation
   rather than orphaned text. Italic Cormorant + thin gold rules above and
   below; ornamental opening quote in the display face. */
.story-prose__lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: 1.4;
  color: var(--ink-2);
  font-weight: 400;
  position: relative;
  padding: 32px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  margin: 0;
}
.story-prose__lead::before {
  content: "“";
  display: block;
  font-family: var(--ff-display);
  font-style: normal;
  font-size: var(--fs-display);
  line-height: 0.4;
  color: var(--gold);
  margin-bottom: 12px;
}
.story-grid--reverse .story-image { order: 2; }
.story-grid--reverse .story-text  { order: 1; }
@media (max-width: 960px) {
  .story-hero { grid-template-columns: 1fr; }
  .story-hero__copy { padding: 48px 20px 32px; }
  .story-hero__visual { aspect-ratio: 5/4; }
  .story-grid--reverse .story-image, .story-grid--reverse .story-text { order: unset; }
}

/* ============ VISIT PAGE ============ */
.visit-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 64px 80px;
}
.visit-grid {
  /* /visit page: deliberate 2xN grid so each tile gets generous room
     for its photo + body. Stacks to single column on phones. */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) {
  .visit-grid { grid-template-columns: 1fr; }
}
/* Home page section: auto-fit so the row holds N counters as the
   business grows past 4 — they're a quick preview, not the full
   exhibit. minmax(280, 1fr) wraps cleanly down to one column. */
.visit-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
@media (max-width: 760px) {
  .visit-grid--compact { grid-template-columns: 1fr; }
}
.visit-tile {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
}
.visit-tile__photo {
  position: relative;
  aspect-ratio: 5/3;
  background: var(--shell-3);
  overflow: hidden;
}
.visit-tile__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95);
}
.visit-tile__chip {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--shell);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.visit-tile__chip--rouge {
  background: var(--rouge);
  color: var(--shell);
  border-color: var(--rouge);
}
.visit-tile__body {
  padding: 32px 32px 32px;
  display: flex; flex-direction: column;
  flex: 1;
}
.visit-tile__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--crust);
  margin-bottom: 4px;
  line-height: 1;
}
.visit-tile__name {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 4px;
}
.visit-tile__sub {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--ink-3);
  margin-bottom: 16px;
}
.visit-tile__note {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.visit-tile__meta {
  border-top: 1px solid var(--rule-soft);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.visit-tile__meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.visit-tile__meta dt {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.visit-tile__meta dd {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
}
.visit-tile__rating {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--ink-4);
  border-top: 1px solid var(--rule-soft);
  padding-top: 12px;
  margin-bottom: 20px;
}
.visit-tile__cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}
@media (max-width: 1100px) {
  .visit-grid-wrap { padding: 24px 40px 64px; }
  .visit-grid { gap: 20px; }
  .visit-tile__body { padding: 24px 24px 24px; }
  .visit-tile__name { font-size: var(--fs-xl); }
}
@media (max-width: 760px) {
  .visit-grid-wrap { padding: 16px 20px 48px; }
  .visit-grid { grid-template-columns: 1fr; gap: 20px; }
  .visit-tile__body { padding: 20px 20px 20px; }
  .visit-tile__name { font-size: var(--fs-xl); }
  .visit-tile__meta-row { grid-template-columns: 1fr; }
}

/* ============ STORY ============ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: center;
}
.story-image {
  aspect-ratio: 4/5;
  background: var(--shell-3);
  overflow: hidden;
  position: relative;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-text h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 24px;
}
.story-text p {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}
.story-text p + p { font-size: var(--fs-md); color: var(--ink); }
.story-sig {
  margin-top: 32px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--ink-2);
}

/* ============ CATEGORY GRID ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--shell-3);
  display: block;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  /* Mute at rest — pulled saturation to 65% + brightness to 82% so the
     image clearly sits within the editorial palette and the hover wake-up
     reads as an obvious lift. Earlier 88/92% was imperceptible. */
  filter: saturate(0.65) brightness(0.82);
  transition: transform .8s cubic-bezier(.2,.7,.2,1),
              filter 360ms cubic-bezier(.2,.7,.2,1);
}
.cat-card:hover img,
.cat-card:focus-within img { transform: scale(1.05); filter: none; }
.cat-card__label {
  /* White card mounted in the bottom-left of the photo — reads like a
     printed name-tag pinned to the image rather than a gradient overlay
     that fades into the photo's noise. */
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  padding: 16px 20px;
  background: var(--shell);
  color: var(--ink);
  border: 1px solid rgba(26, 26, 24, 0.08);
  box-shadow: 0 6px 18px -10px rgba(26, 26, 24, 0.35);
}
.cat-card__name {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.cat-card__count {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--ink-4);
}
.cat-grid--8 { grid-template-columns: repeat(4, 1fr); }
.cat-grid--8 .cat-card { aspect-ratio: 4/5; }

/* ============ PRODUCT GRID ============ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.prod {
  display: flex;
  flex-direction: column;
  position: relative;
}
.prod__img {
  aspect-ratio: 4/5;
  background: var(--bone);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-4xl);
}
.prod__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.65) brightness(0.82);
  transition: transform .8s cubic-bezier(.2,.7,.2,1),
              filter 360ms cubic-bezier(.2,.7,.2,1);
}
.prod:hover .prod__img img,
.prod:focus-within .prod__img img { transform: scale(1.04); filter: none; }

/* Add button moved to TOP-right so the bottom-left can host the white
   name-tag label (same lockup as .cat-card). Always visible now (was
   hover-only) — no hover on touch devices. */
.prod__add {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--shell);
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  line-height: 0;
  z-index: 3;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 4px 10px -6px rgba(26, 26, 24, 0.35);
  transition: background .2s, color .2s, transform .15s;
  padding: 0;
}
.prod__add > * { display: inline-flex; align-items: center; justify-content: center; }
.prod__add svg { width: 16px; height: 16px; display: block; }
.prod__add:hover { background: var(--ink); color: var(--shell); }
.prod__add:active { transform: scale(0.94); }
.prod__add[disabled] { cursor: progress; opacity: 0.7 !important; }

/* White name-tag label — same lockup as .cat-card__label. Inset 16px
   from the bottom + sides of the photo, ink text on shell background,
   soft drop shadow + hairline border. Two rows: name|price flex row
   on top, optional italic description below. */
.prod__label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  padding: 14px 16px;
  background: var(--shell);
  color: var(--ink);
  border: 1px solid rgba(26, 26, 24, 0.08);
  box-shadow: 0 6px 18px -10px rgba(26, 26, 24, 0.35);
  z-index: 2;
}
.prod__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.prod__label-row .prod__name {
  /* Single-line w/ ellipsis — long names ('White Bread Big XYZ') were
     wrapping below the price and pushing the layout into an odd shape.
     Full name still surfaces via the title attribute on hover/long-press. */
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink);
  color: var(--shell);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 8px;
  font-weight: 500;
}
.prod__badge--rouge { background: var(--rouge); }
.prod__name {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.prod__desc {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.4;
  margin: 4px 0 0;
  /* Limit to two lines so a long description doesn't push the label
     into a tall block on top of the food photo. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod__price {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}

/* ============ BRANCHES ============ */
.branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  /* Equal-height tracks so a card with a longer address doesn't stretch
     its column relative to the others — every door reads as a peer. */
  align-items: stretch;
}
.branch {
  background: var(--shell);
  padding: 32px 28px;
  position: relative;
  /* Flex column with the rating pushed to the bottom — variable address
     length doesn't change where the rating row sits across the four
     cards. */
  display: flex;
  flex-direction: column;
}
.branch__addr { flex: 1; }
.branch__flag {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--crust);
  font-weight: 500;
  padding: 4px 8px;
  border: 1px solid var(--crust);
}
.branch__pizza {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shell);
  font-weight: 500;
  padding: 4px 8px;
  background: var(--rouge);
}
.branch__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-2xl);
  color: var(--crust);
  margin-bottom: 12px;
  line-height: 1;
}
.branch__name {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: var(--lh-tight);
}
.branch__addr {
  /* Was light Cormorant + ink-3 — too whisper. Sans + darker ink reads
     properly as an address line. flex:1 above pushes hours+rating to
     the bottom regardless of address length. */
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--ink-2);
  margin-bottom: 16px;
  line-height: 1.5;
}
.branch__hours {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.branch__rating {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  /* Top-rule keeps the rating visually separate from the hours row,
     and sits at the same y-coord across all four cards. */
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
}

/* ============ EDITORIAL BAND ============ */
.band {
  background: var(--ink);
  color: var(--shell);
  padding: var(--section-y) var(--gutter-x);
  text-align: center;
}
.band__eyebrow { color: var(--crust-3) !important; justify-content: center; }
.band__eyebrow::before { background: var(--crust-3) !important; }
.band__title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: 400;
  max-width: 1100px;
  margin: 0 auto 32px;
}
.band__title em { font-family: var(--ff-serif); font-style: italic; }
.band__lede {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--shell-2);
  max-width: 620px;
  margin: 0 auto 40px;
  opacity: 0.85;
}
.band .btn { background: var(--shell); color: var(--ink); border-color: var(--shell); }
.band .btn:hover { background: transparent; color: var(--shell); }
.band .btn--ghost { background: transparent; color: var(--shell); border-color: var(--shell); }
.band .btn--ghost:hover { background: var(--shell); color: var(--ink); }

/* ============ THREE-UP ============ */
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.three__col { text-align: center; padding: 0 12px; }
.three__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-4xl);
  color: var(--crust);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
}
.three__title {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 400;
  margin-bottom: 12px;
}
.three__body {
  /* Was Karla --fs-sm — read as UI text against the rest of /story which
     uses Cormorant --fs-md throughout. Now matches `.story-text p` etc. so
     all body copy on the page shares one voice. */
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--shell);
  padding: var(--section-y) var(--gutter-x) var(--sp-8);
}
.footer__top {
  /* Top row: brand · Boutique · Enquiries (3 cols).
     Bottom row: full-width Visit/Hours/Call rail spanning all 3 cols
     via .footer__col--visit { grid-column: 1 / -1 }. The Visit rail
     reads better as a horizontal strip of three labelled groups than
     as a fourth narrow column on the right. */
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244,238,226,0.15);
}
/* Footer wrapper for the shared .brand component — only handles spacing
   below the wordmark; visual treatment comes from .brand + .brand--inverse. */
.footer__brand-logo {
  margin-bottom: 24px;
}

/* Visit column: full-width rail under the Boutique + Enquiries row.
   Three labelled groups (Visit / Hours / Call) lay horizontally so the
   contact info reads as discrete facts at a glance. Stacks back to one
   column on phones (see media query). */
.footer__col--visit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(244, 238, 226, 0.15);
}
.footer__col--visit h4 { margin-bottom: 8px; }
.footer__col--visit .footer__group { min-width: 0; }
@media (max-width: 760px) {
  .footer__col--visit {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.footer__group-body {
  /* Karla to match every other body line in the footer (Boutique +
     Enquiries link lists). Cormorant in this single block stuck out. */
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--shell);
  opacity: 0.92;
  line-height: 1.55;
  margin: 0;
}
.footer__group-body a { color: inherit; }
.footer__group-body a:hover { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.footer__group-link {
  /* Plain text link — not a pill button. Matches the body weight +
     family of the lines above it; only the underline-on-hover and the
     trailing arrow signal it's an action. */
  display: inline-block;
  margin-top: 8px;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--shell);
  opacity: 0.92;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: opacity .15s, border-bottom-color .15s;
}
.footer__group-link:hover,
.footer__group-link:focus-visible {
  opacity: 1;
  border-bottom-color: var(--shell);
}
.footer__lede {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--shell-2);
  opacity: 0.78;
  max-width: 360px;
  line-height: 1.55;
}
.footer__col h4 {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--shell);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; }
.footer__col li, .footer__col a {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--shell);
  opacity: 0.92;
  margin-bottom: 8px;
  cursor: pointer;
  display: block;
  transition: opacity .15s, color .15s;
}
.footer__col a:hover { opacity: 1; color: var(--shell); border-bottom: 1px solid var(--shell); padding-bottom: 1px; margin-bottom: 8px; }
.footer__lede { color: var(--shell-2); opacity: 0.85; }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell-2);
  opacity: 0.65;
}
.footer__bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.85;
  transition: opacity .15s, transform .2s var(--motion-ease);
}
.footer__social:hover { opacity: 1; transform: translateY(-1px); }

/* ============ MENU PAGE ============ */
.menu-hero {
  padding: var(--section-y) var(--gutter-x) var(--sp-12);
  text-align: center;
  background: var(--shell);
  border-bottom: 1px solid var(--rule-soft);
}
.menu-hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: 600;
  margin-bottom: 16px;
}
.menu-hero__title em { font-family: var(--ff-serif); font-style: italic; font-weight: 500; }
.menu-hero__lede {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

.menu-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-16);
  padding: var(--section-y) var(--gutter-x);
  align-items: start;
}
.menu-side {
  position: sticky; top: 110px;
  border-right: 1px solid var(--rule-soft);
  padding-right: 32px;
}
.menu-side h4 {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-4);
  margin-bottom: 20px;
}
.menu-search {
  position: relative;
  margin-bottom: 24px;
}
.menu-search input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 20px 8px 0;
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  color: var(--ink);
  outline: none;
}
.menu-search input::placeholder {
  color: var(--ink-4);
  font-style: italic;
}
.menu-search input:focus { border-bottom-color: var(--ink); }
.menu-search__clear {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: var(--fs-md);
  line-height: 1;
  color: var(--ink-3);
  background: var(--shell-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-search__clear:hover { background: var(--ink); color: var(--shell); }
.prod__add-spin { animation: ld-pulse 0.9s ease-in-out infinite; transform-origin: center; }
@keyframes ld-pulse {
  0%, 100% { transform: scale(0.55); opacity: 0.35; }
  50%      { transform: scale(1.05); opacity: 1; }
}
.menu-side ul { list-style: none; margin-bottom: 32px; }
.menu-side li, .menu-side a {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 0;
  color: var(--ink-2);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--rule-soft);
  transition: color .2s, padding-left .2s;
}
.menu-side li:last-child, .menu-side a:last-child { border-bottom: 0; }
.menu-side li:hover, .menu-side a:hover { color: var(--ink); padding-left: 4px; }
.menu-side li.active, .menu-side a.active { color: var(--ink); font-weight: 600; }
.menu-side li span, .menu-side a span { font-size: var(--fs-xs); color: var(--ink-4); letter-spacing: 0.05em; font-weight: 400; }

.menu-cat { margin-bottom: 96px; }
.menu-cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 40px;
}
.menu-cat__name {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
}
.menu-cat__name em { font-family: var(--ff-serif); font-style: italic; color: var(--ink-4); font-size: 0.6em; }
.menu-cat__count {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* ============ CART DRAWER ============ */
.drawer-bg {
  position: fixed; inset: 0;
  background: rgba(26,24,20,0.45);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 480px; max-width: 92vw;
  background: var(--shell);
  z-index: 91;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  /* Shadow now falls to the LEFT (where the page content is) since the
     drawer sits flush against the right edge. */
  box-shadow: -12px 0 40px rgba(26,24,20,0.12);
}
.drawer.open { transform: translateX(0); }
html:has(.drawer.open), html:has(.mobile-menu.open) { overflow: hidden; }
.drawer__head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--ink);
}
.drawer__body {
  flex: 1; overflow-y: auto;
  padding: 12px 24px 24px;
}
.drawer__foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--rule-soft);
  background: var(--paper);
}
.drawer .cart-row { padding: 16px 0; }
.drawer .cart-row__name { font-size: var(--fs-base); }
@media (max-width: 600px) {
  .drawer { width: 100%; max-width: 100%; }
  .drawer__head, .drawer__body, .drawer__foot { padding-left: 16px; padding-right: 16px; }
}

/* ============ TOASTS ============ */
.toast-stack {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 360px;
}
.toast {
  background: var(--ink);
  color: var(--shell);
  padding: 12px 20px;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .25s, transform .25s;
  box-shadow: 0 6px 24px rgba(26,24,18,0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast--error   { background: var(--rouge); }
.toast--info    { background: var(--crust); }
.toast--success { background: var(--ink); }
@media (max-width: 600px) {
  .toast-stack { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .toast { white-space: normal; }
}

/* ============ CART / TABLE ROW ============ */
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.cart-row__img {
  aspect-ratio: 1;
  background: var(--shell-3);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-2xl);
}
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  margin-bottom: 4px;
}
.cart-row__price {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--rule);
  margin-top: 8px;
}
.qty button, .qty form button {
  width: 28px; height: 28px;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  background: transparent; border: 0;
  cursor: pointer;
  padding: 0;
}
.qty button:hover { color: var(--ink); }
.qty span {
  width: 28px; text-align: center;
  font-size: var(--fs-xs);
  font-family: var(--ff-sans);
}
.qty__input {
  width: 36px; height: 28px;
  text-align: center;
  font-size: var(--fs-xs);
  font-family: var(--ff-sans);
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  appearance: textfield;
  -moz-appearance: textfield;
  outline: none;
  padding: 0;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty__input:focus { background: var(--paper); }
.qty form { display: inline-flex; }
.cart-row__total {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  font-weight: 500;
  text-align: right;
}
.cart-row__remove {
  font-size: var(--fs-2xs);
  color: var(--ink-4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 8px;
  text-decoration: underline;
  background: none; border: 0;
  cursor: pointer;
  padding: 0;
}
.cart-row__remove:hover { color: var(--rouge); }

.cart-totals {
  /* Karla throughout — earlier the rows were Cormorant and only the
     Total row was Karla, so the digits in ₹160 / ₹60 (serif old-style)
     didn't match ₹220 (sans tabular). Same font on all three rows. */
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  margin: 24px 0 16px;
}
.cart-totals .row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  color: var(--ink-2);
}
.cart-totals .row span:last-child { font-weight: 500; }
.cart-totals .row.grand {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding-top: 16px; margin-top: 8px;
}

.empty-cart {
  text-align: center; padding: 80px 20px;
  color: var(--ink-3);
}
.empty-cart h3 { font-family: var(--ff-display); font-size: var(--fs-2xl); margin-bottom: 12px; color: var(--ink); font-weight: 600; }
.empty-cart p { font-family: var(--ff-serif); font-size: var(--fs-base); font-weight: 500; color: var(--ink-2); margin-bottom: 24px; }

/* ============ CHECKOUT ============ */
.checkout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: calc(100vh - 60px);
}
.checkout__form {
  padding: var(--section-y) var(--gutter-x);
  background: var(--shell);
}
.checkout__summary {
  padding: var(--section-y) var(--gutter-x);
  background: var(--paper);
  border-left: 1px solid var(--rule-soft);
}
.field { margin-bottom: 16px; }
/* Direct-child only — keeps nested labels (.radio-row, .option-card) from
   inheriting the uppercased "field label" styling. */
.field > label {
  display: block;
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); font-weight: 400; }
/* Custom <select> styling — replaces native chrome with editorial chevron */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231A1A18' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 24px;
  cursor: pointer;
}
.field select:disabled { color: var(--ink-4); cursor: not-allowed; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-error { color: var(--rouge); font-size: var(--fs-xs); margin-top: 4px; font-family: var(--ff-sans); }

.steps {
  display: flex; gap: 32px;
  margin-bottom: 40px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.step { color: var(--ink-4); padding-bottom: 8px; border-bottom: 1px solid transparent; }
.step.active { color: var(--ink); border-bottom-color: var(--ink); }
.step.done { color: var(--crust); }

.summary-line {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
}
.summary-line span:first-child { color: var(--ink-2); }
.summary-line span:last-child { color: var(--ink); }
.summary-line.grand { font-family: var(--ff-sans); font-weight: 600; font-size: var(--fs-md); padding-top: 20px; border-bottom: 0; }

.option-card {
  flex: 1;
  padding: 20px 20px;
  text-align: left;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--ff-serif);
  cursor: pointer;
  display: block;
}
.option-card.selected { border-color: var(--ink); background: var(--paper); }
.option-card__num { font-size: var(--fs-2xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 4px; }
.option-card__name { font-family: var(--ff-sans); font-weight: 600; font-size: var(--fs-base); margin-bottom: 4px; }
.option-card__desc { font-size: var(--fs-sm); color: var(--ink-3); }

.radio-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-2);
  font-weight: 400;
  padding: 4px 0;
}
.radio-row input { accent-color: var(--ink); width: 16px; height: 16px; cursor: pointer; }
.radio-row span { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }

/* ============ ORDER CONFIRMATION ============ */
.confirm {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--section-y) var(--gutter-x);
  background: var(--shell);
}
.confirm-card {
  max-width: 580px;
  text-align: center;
}
.confirm-card .seal {
  width: 110px; height: 110px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-3xl);
  margin: 0 auto 32px;
  color: var(--crust);
}
.confirm-card .seal--rouge { border-color: var(--rouge); color: var(--rouge); }
.confirm-card h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  margin-bottom: 16px;
}
.confirm-card p {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: 12px;
}
.confirm-card .order-id {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 24px 0 32px;
}

/* ============ AUTH PANEL ============ */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-form {
  padding: var(--section-y) var(--gutter-x);
  background: var(--shell);
  display: flex; flex-direction: column; justify-content: center;
}
.auth-form h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
}
.auth-form h1 em { font-family: var(--ff-serif); font-style: italic; }
.auth-form .auth-lede {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--ink-3);
  margin-bottom: 40px;
  max-width: 420px;
}
.auth-form form { max-width: 460px; }
.auth-form .alt {
  margin-top: 24px;
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  /* Was --ink-3 (#3F3F38) — too close to the link colour, the whole line
     read as muddy grey. --ink-2 gives the wrapping text enough presence
     to hold its own; the link goes bold so the affordance is unmistakable. */
  color: var(--ink-2);
}
.auth-form .alt a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.auth-aside {
  /* Local image (the warm Le Délice counter shot) — was an Unsplash URL
     before, which is slow + brand-irrelevant. */
  background: var(--shell-3) url('/img/site/bakery-warmth.jpg') center/cover no-repeat;
  position: relative;
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,24,20,0.35), rgba(26,24,20,0.15));
}

/* ============ ORDERS LIST ============ */
.orders-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule-soft); }
.order-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
  transition: background .15s, padding .15s;
}
.order-row:hover { background: var(--paper); padding-left: 12px; padding-right: 12px; }
.order-row__main { min-width: 0; flex: 1; }
.order-row__items {
  /* Was --ff-display (Italiana) — too thin/decorative for list rows.
     Cormorant reads cleanly for product-name scanning. */
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-row__more {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--ink-4);
}
.order-row__meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 4px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.order-row__id {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-3);
  font-weight: 400;
}
.order-row__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.order-row__amt { font-family: var(--ff-sans); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }

/* ============ PAGINATION ============ */
.ld-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  flex-wrap: wrap;
}
.ld-pager__count {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.ld-pager__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ld-pager__btn {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  background: var(--shell);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.ld-pager__btn:hover { background: var(--ink); color: var(--shell); }
.ld-pager__btn.is-disabled {
  border-color: var(--rule);
  color: var(--ink-4);
  cursor: not-allowed;
  background: var(--shell);
}
.ld-pager__btn.is-disabled:hover { background: var(--shell); color: var(--ink-4); }
.ld-pager__page {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--ink-3);
  padding: 0 8px;
}

/* ============ STATUS BADGES ============ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid currentColor;
  background: var(--shell);
  white-space: nowrap;
}
.badge--green  { color: var(--olive); background: #F0F2E5; }
.badge--yellow { color: var(--gold);  background: #F6EFDF; }
.badge--red    { color: var(--rouge); background: #F6E5E5; }
.badge--ink    { color: var(--ink);   border-color: var(--ink-3); background: var(--shell); }

/* ============ ORDER DETAIL CARDS ============ */
.detail-block {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  padding: 24px 24px;
  margin-top: 16px;
}
.detail-block h4 {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule-soft);
}
.kv-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-soft);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row .k { color: var(--ink-3); }
.kv-row .v { color: var(--ink); font-weight: 500; }
.kv-row .v.mono { font-family: var(--ff-mono); font-size: var(--fs-xs); font-weight: 400; }

.detail-notice {
  border: 1px solid var(--rouge);
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--ff-serif);
  display: flex; gap: 16px; align-items: flex-start;
}
.detail-notice--warn { border-color: var(--gold); }
.detail-notice strong { font-family: var(--ff-sans); font-size: var(--fs-base); font-weight: 600; display: block; margin-bottom: 4px; }
.detail-notice p { font-size: var(--fs-base); color: var(--ink-3); margin: 0; }

/* ============ ADMIN ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  margin-bottom: 32px;
}
.stat {
  background: var(--shell);
  padding: 24px 24px;
}
.stat__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.stat__value {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  color: var(--ink);
  line-height: 1;
}
.stat__value small { font-family: var(--ff-serif); font-style: italic; font-size: var(--fs-base); color: var(--ink-3); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-sans);
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: var(--fs-xs);
}
.admin-table th {
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 500;
}

/* ============ PROFILE PAGE ============
   Multiple sections used to be separated by horizontal rules + each card
   added another border + the "default" card got a contrasting black ring.
   That stacked three border treatments in three different colours. Now:
   - sections separated by whitespace only
   - all cards share one --rule-soft border
   - the default state is shown by a corner star + tinted bone background,
     not a different border colour. */
.profile-section {
  margin-top: 40px;
  padding: 0;
}
.profile-section:first-of-type { margin-top: 0; }
.profile-section__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.profile-section__head h2 {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  color: var(--ink);
}
.profile-empty {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--ink-3);
  padding: 16px 0;
}
.profile-row { padding: 4px 0 12px; }
.profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 32px;
}
.profile-meta dt {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.profile-meta dd {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
.profile-meta__empty { color: var(--ink-4); font-style: italic; }
.profile-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.profile-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.profile-cards--single { grid-template-columns: 1fr; }
.profile-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  padding: 20px 20px 16px;
  position: relative;
  transition: border-color .2s;
}
.profile-card--default { background: var(--bone); }
.profile-card--new { border-style: dashed; background: var(--shell); }
.profile-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.profile-card__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
}
.profile-card__star {
  color: var(--gold);
  font-size: var(--fs-md);
  line-height: 1;
}
.profile-card__body {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.profile-card__phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.profile-card__phonenum {
  font-family: var(--ff-mono);
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 4px;
}
.profile-card__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule-soft);
  padding-top: 12px;
}
.profile-card--phone .profile-card__actions { border-top: 0; padding-top: 0; }
.profile-card__danger { color: var(--rouge) !important; }
@media (max-width: 760px) {
  .profile-meta { grid-template-columns: 1fr; }
  .profile-cards { grid-template-columns: 1fr; }
}

/* ============ MAIN WRAPPER ============ */
.page { padding: var(--section-y) var(--gutter-x); max-width: 1280px; margin: 0 auto; width: 100%; }
.page--narrow { max-width: 880px; }
.page__title {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: var(--lh-tight);
  margin-bottom: 12px;
}
.page__title em { font-family: var(--ff-serif); font-style: italic; }
.page__lede {
  /* Match every other lede on the site (Cormorant --fs-md). */
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 48px;
  max-width: 720px;
}

/* ============ MOBILE NAV ============ */
.nav__menu-btn {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}
.nav__menu-btn span {
  display: block;
  width: 22px; height: 1.4px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--shell);
  z-index: 80;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__head {
  /* Brand sits centred (matches the header layout); close button is
     absolutely positioned in the top-right corner so the wordmark + side
     rules + sub line have full width to lay out without colliding. */
  position: relative;
  display: flex; justify-content: center; align-items: center;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 16px;
}
.mobile-menu__close {
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
}
.mobile-menu__close:hover { color: var(--ink); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__link {
  /* Slimmer links — at --fs-2xl (28-36px) they overpowered the secondary
     em badges. --fs-lg keeps the editorial feel without dwarfing the
     uppercase counts; row height stays in touch-target range via padding. */
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--ink);
}
.mobile-menu__link em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: var(--fs-2xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 16px;
  font-family: var(--ff-serif);
  /* Was --fs-sm (14-15) which read like fine-print. Body size carries
     phone numbers + hours like proper utility info. */
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.mobile-menu__foot strong {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  display: block;
  margin-bottom: 4px;
}

/* ============ TABLET ============
   Padding/sizing for `.section`, `.page`, `.footer`, `.hero__copy`,
   `.menu-layout`, `.checkout__form`, `.band`, `.auth-form`, `.confirm`
   is fluid via `--section-y` / `--gutter-x` and shrinks automatically —
   so this block only needs to handle layout shape changes (column counts,
   stacking, hiding aside panels). */
@media (max-width: 1100px) {
  .topbar { padding: 8px 20px; font-size: var(--fs-2xs); letter-spacing: 0.14em; }
  .topbar__side { gap: 12px; }
  .topbar__side:last-child span:last-child { display: none; }
  .menu-layout { gap: 32px; grid-template-columns: 200px 1fr; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px 48px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--8 { grid-template-columns: repeat(4, 1fr); }
  .branches { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .three { gap: 32px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .alerts { padding: 0 var(--gutter-x); }
  /* On its own at narrow widths the auth panel was vertically centered,
     pushing "Welcome back" / "Create an account" too far below the nav.
     Anchor the form to the top so heading sits where the page title sits
     on every other page. */
  .auth-form { justify-content: flex-start; min-height: auto; }
  .auth-wrap { min-height: auto; }
}

/* ============ MOBILE ============ */
@media (max-width: 960px) {
  .topbar {
    padding: 8px 16px;
    font-size: var(--fs-2xs);
    letter-spacing: 0.12em;
    /* Single-line: announcement gets ellipsis if it would overflow,
       call stays on the right. No wrap to two lines. */
    flex-wrap: nowrap;
    gap: 12px;
  }
  .topbar__side:first-child { display: none; }
  .topbar__msg {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .topbar__side:last-child { white-space: nowrap; flex-shrink: 0; }

  /* Brand shrinks earlier than the 520 mobile cut so the masthead +
     side rules + sub-line don't crash into the right-side icons on
     tablets and small laptops. Sub-line hidden in this range too. */
  .nav__center .brand {
    font-size: var(--fs-2xl);
  }
  .nav__center .brand::before,
  .nav__center .brand::after { width: 28px; }
  .nav__center .brand__sub { display: none; }
}
@media (max-width: 520px) {
  /* Very narrow phones: hide the call link to give the announcement
     room to read. Call is still available via the nav phone icon. */
  .topbar__side:last-child { display: none; }
  .topbar__msg { text-align: center; }

  .nav {
    padding: 12px 16px;
    /* 1fr auto 1fr keeps the brand truly centred to the viewport on
       mobile — auto-sized left/right columns made the centre column
       float off-axis depending on how many icons sit on the right. */
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }
  .nav__left { display: none; }
  .nav__menu-btn { display: flex; justify-self: start; }
  .nav__right { gap: 12px; justify-content: flex-end; }
  /* Mobile right-cluster: cart only. Account, Sign in/out icons all
     live inside the hamburger menu now — three icons + a counter
     badge crowded the right edge into the masthead. */
  .nav__right .nav__icon[title="Sign in"],
  .nav__right .nav__icon[title="My account"],
  .nav__right .nav__icon[title="Sign out"] { display: none; }
  /* Scope the nav-shrink to the header brand only — leaves footer + mobile
     menu copies of .brand at their own sizes. */
  .nav__center .brand { font-size: var(--fs-md); text-align: center; }
  .nav__center .brand__sub { font-size: var(--fs-2xs); letter-spacing: 0.3em; margin-top: 3px; }

  .hero {
    /* Stack on phones — the side-by-side layout left only ~190px for
       text on a real iPhone, which crammed the title, body and buttons.
       Single column lets each element breathe across the full width.
       Drop the fixed fold-height too: forcing the hero into one screen
       only makes sense when both columns can be seen at once. */
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }
  .hero__visual {
    /* Image as a top showcase — capped height so it doesn't push the
       title below the fold, but tall enough to feel intentional. */
    order: 1;
    height: 38svh;
    min-height: 240px;
    max-height: 360px;
  }
  .hero__copy {
    order: 2;
    padding: 28px 20px 32px;
    justify-content: flex-start;
  }
  /* Eyebrow at narrow widths: tighter letter-spacing + no decorative
     rule, so "BOULEVARD ROAD · SINCE 2014" stays on one or two lines
     instead of wrapping every word. */
  .hero__eyebrow {
    font-size: var(--fs-2xs);
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    gap: 8px;
  }
  .hero__eyebrow::before { width: 18px; }
  /* Mobile hero — token-sized so the floor is on the same scale as every
     other display heading. Title at --fs-4xl matches the section-title
     scale; lede stays at the desktop --fs-md (the override only existed
     to shrink it, which was making /story's opening read as fine print). */
  .hero__title { font-size: var(--fs-4xl); letter-spacing: -0.02em; line-height: var(--lh-tight); }
  .hero__lede { font-size: var(--fs-md); margin-top: 16px; line-height: var(--lh-base); max-width: none; }
  .hero__cta-row { margin-top: 16px; flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__cta-row .btn { padding: 12px 12px; font-size: var(--fs-2xs); letter-spacing: 0.18em; }
  .hero__cta-row .btn-link { font-size: var(--fs-2xs); text-align: center; }
  .hero__visual { min-height: 0; }
  /* Mobile-tuned stamp: tucked into the bottom-right of the cropped image
     so it doesn't dominate the visual. */
  .hero__stamp {
    width: 110px; height: 110px;
    bottom: 20px; left: auto; right: 20px;
  }
  .hero__stamp-inner { font-size: var(--fs-2xs); line-height: 1.1; }
  .hero__stamp-inner b { font-size: var(--fs-md); }

  .marquee__item { gap: 32px; }
  .marquee__track { gap: 32px; }

  /* Section/page padding is already fluid via --section-y / --gutter-x.
     This block only handles layout shape changes (single-column, etc). */
  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }

  .cat-grid, .cat-grid--8 { grid-template-columns: 1fr 1fr; gap: 3px; }
  /* Cat-card label sized down for the 2-up phone grid — name was
     --fs-xl (24-30) which dwarfed the small chip card. --fs-md keeps
     it confidently large but in proportion to the photo. Tighter
     padding + slimmer count chip below. */
  .cat-card__label { padding: 12px 14px; bottom: 12px; left: 12px; right: 12px; }
  .cat-card__name { font-size: var(--fs-md); }
  .cat-card__count { font-size: 10px; letter-spacing: 0.18em; margin-top: 4px; }

  .prod-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .prod__add { width: 40px; height: 40px; bottom: 10px; right: 10px; opacity: 1; transform: none; }
  /* Same shrink for prod-card label so name + price sit right-sized
     in the narrow 2-col grid. */
  .prod__label { padding: 10px 12px; bottom: 12px; left: 12px; right: 12px; }
  .prod__name { font-size: var(--fs-base); }
  .prod__price { font-size: var(--fs-xs); }
  .prod__desc { font-size: 11px; line-height: 1.4; }

  .story-grid { grid-template-columns: 1fr; gap: 32px; }

  .three { grid-template-columns: 1fr; gap: 32px; }

  .footer__top {
    /* Single column at narrow widths: 4 children (brand + 3 nav cols)
       in a 2-col grid orphans the last column into a half-empty row.
       Stacking is tidier and reads as a deliberate footer index. */
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .menu-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .menu-side {
    position: static;
    border-right: 0;
    padding-right: 0;
    background: var(--paper);
    margin: 0 calc(var(--gutter-x) * -1);
    padding: 20px var(--gutter-x) 12px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .menu-side h4 { margin-bottom: 12px; }
  .menu-side ul {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .menu-side li, .menu-side a {
    border: 1px solid var(--rule);
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    gap: 4px;
  }
  .menu-side li.active, .menu-side a.active { background: var(--ink); color: var(--shell); border-color: var(--ink); font-style: normal; }
  .menu-side li.active span, .menu-side a.active span { color: var(--shell) !important; }

  .menu-cat { margin-bottom: 48px; }
  .menu-cat__head { padding-bottom: 8px; margin-bottom: 24px; }

  .steps { gap: 12px; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .confirm-card .seal { width: 90px; height: 90px; }

  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-table th, .admin-table td { padding: 8px 4px; }
}

@media (max-width: 400px) {
  /* Hide the sub-line ONLY in the cramped header — keep it in the
     footer / mobile menu lockup since they have room. */
  .nav__center .brand__sub { display: none; }
  .prod-grid { gap: 24px 8px; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* ===== Checkout pickers (saved address + phone) ===== */
.picker-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.picker-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.picker-card:hover { border-color: var(--ink-3); }
.picker-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.picker-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--shell-3);
}
.picker-card--single {
  cursor: default;
  background: var(--shell-3);
  border-color: var(--ink-4);
}
.picker-card__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.picker-card__value {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--ink);
  line-height: 1.4;
}

/* ===== Profile summary card + recent orders ===== */
.profile-summary {
  background: var(--shell-3);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 24px 24px;
  margin: 24px 0 32px;
}
.profile-summary__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.profile-summary__k {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.profile-summary__v {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .profile-summary__grid { grid-template-columns: 1fr; gap: 16px; }
}

.profile-orders {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.profile-order:hover {
  border-color: var(--ink-3);
  background: var(--shell-3);
}
.profile-order__title {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--ink);
  margin-bottom: 4px;
}
.profile-order__meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.profile-order__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.profile-order__amount {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--ink);
}

/* ===== Order detail: help footer ===== */
.order-help {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--shell-3);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.order-help__label {
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.order-help__link {
  font-family: var(--ff-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ===== Motion — subtle, editorial. Honors prefers-reduced-motion. =====
   Approach:
   - data-reveal elements start invisible + slightly displaced; an
     IntersectionObserver in app.blade adds .is-revealed which animates them in.
   - Hero on home.blade gets the .reveal-onload entrance instead (no IO needed).
   - Hover affordances: cards lift, images breathe inside their crops. */

:root {
  --motion-dur: 360ms;
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal] {
  /* Small displacement (8px) keeps the entrance from reading as a layout
     shift on mobile. On scroll the eye perceives a gentle settle rather
     than content "resizing in" — was 18px which read as a jump. */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--motion-dur) var(--motion-ease),
              transform var(--motion-dur) var(--motion-ease);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero gets a slightly longer, staggered entrance on initial load. */
.reveal-onload > * {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 720ms var(--motion-ease) forwards;
}
.reveal-onload > *:nth-child(1) { animation-delay: 80ms; }
.reveal-onload > *:nth-child(2) { animation-delay: 200ms; }
.reveal-onload > *:nth-child(3) { animation-delay: 320ms; }
.reveal-onload > *:nth-child(4) { animation-delay: 440ms; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Card lift on hover — product cards, branch cards, profile orders */
.prod-card, .branch, .profile-order {
  transition: transform 240ms var(--motion-ease),
              box-shadow 240ms var(--motion-ease),
              border-color 240ms var(--motion-ease);
}
.prod-card:hover, .branch:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px -8px rgba(26, 26, 24, 0.18);
}

/* Image breathing inside cropped containers — also adds the same
   muted-at-rest, wake-on-hover filter treatment used on .cat-card and
   .prod__img so all food/editorial photography sits in one register. */
.story-image img,
.bakery-strip img,
.three__img img,
.prod-card__img img {
  filter: saturate(0.7) brightness(0.85);
  transition: transform 600ms var(--motion-ease),
              filter 360ms var(--motion-ease);
}
.story-image:hover img,
.three__col:hover .three__img img,
.prod-card:hover .prod-card__img img,
.bakery-strip:hover img {
  transform: scale(1.03);
  filter: none;
}
.bakery-strip:hover img {
  transform: scale(1.015);
}

/* Nav link underline expand on hover */
.nav__link {
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 240ms var(--motion-ease), left 240ms var(--motion-ease);
}
.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
  left: 0;
}

/* Buttons — subtle press effect */
.btn {
  transition: transform 160ms var(--motion-ease),
              background-color 160ms var(--motion-ease),
              color 160ms var(--motion-ease),
              border-color 160ms var(--motion-ease);
}
.btn:active { transform: translateY(1px); }

/* Directional + fade-only variants of [data-reveal] — all layered onto the
   same `.is-revealed` end state (opacity:1, transform:none). Reduced from
   22px to 10px so the slide reads as gentle, not as a layout shift. */
[data-reveal="left"]  { transform: translateX(-10px); }
[data-reveal="right"] { transform: translateX(10px); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-revealed { transform: none; }

/* Stagger reveal — apply to a parent (grid/list); each direct child animates
   in with a small incremental delay once the parent enters the viewport.
   Caps at 12 children so very large grids don't trail-load forever.
   Displacement reduced to 6px and per-child delay to 40ms — the cascade
   should feel like the eye finishing a sweep, not a slot-machine reel. */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--motion-dur) var(--motion-ease),
              transform var(--motion-dur) var(--motion-ease);
  will-change: opacity, transform;
}
[data-reveal-stagger].is-revealed > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-revealed > *:nth-child(1)  { transition-delay: 0ms; }
[data-reveal-stagger].is-revealed > *:nth-child(2)  { transition-delay: 40ms; }
[data-reveal-stagger].is-revealed > *:nth-child(3)  { transition-delay: 80ms; }
[data-reveal-stagger].is-revealed > *:nth-child(4)  { transition-delay: 120ms; }
[data-reveal-stagger].is-revealed > *:nth-child(5)  { transition-delay: 160ms; }
[data-reveal-stagger].is-revealed > *:nth-child(6)  { transition-delay: 200ms; }
[data-reveal-stagger].is-revealed > *:nth-child(7)  { transition-delay: 240ms; }
[data-reveal-stagger].is-revealed > *:nth-child(8)  { transition-delay: 280ms; }
[data-reveal-stagger].is-revealed > *:nth-child(9)  { transition-delay: 320ms; }
[data-reveal-stagger].is-revealed > *:nth-child(10) { transition-delay: 360ms; }
[data-reveal-stagger].is-revealed > *:nth-child(11) { transition-delay: 400ms; }
[data-reveal-stagger].is-revealed > *:nth-child(12) { transition-delay: 440ms; }

/* Honor user preference */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
  .reveal-onload > * { opacity: 1; transform: none; animation: none; }
  .prod-card, .branch, .profile-order, .btn,
  .story-image img, .bakery-strip img, .three__img img, .prod-card__img img {
    transition: none;
  }
}

/* ===== Home page editorial images ===== */
.bakery-strip {
  margin: 0;
  /* Taller than a typical strip so the storefront's vertical composition
     (sign + entrance + display) reads in a single glance. */
  height: clamp(320px, 48vw, 600px);
  overflow: hidden;
}
.bakery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias toward the upper-middle so the LE DÉLICE sign is always visible. */
  object-position: center 35%;
  display: block;
}

.three--with-images .three__col {
  display: flex;
  flex-direction: column;
}
.three__img {
  margin: 0 0 20px;
  height: 220px;
  overflow: hidden;
  border-radius: 2px;
}
.three__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 800px) {
  .three__img { height: 180px; }
}

/* ===== Mobile menu — split row: link + chevron toggle =====
   Tapping the link text navigates to /boutique; tapping the chevron
   expands the categories sub-list inline. The row container owns the
   bottom rule so the link's own border-bottom is suppressed. */
.mobile-menu__row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu__row .mobile-menu__link {
  flex: 1;
  border-bottom: 0;
}
.mobile-menu__chevron {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  min-width: 44px;
  transition: color .15s;
}
.mobile-menu__chevron:hover { color: var(--ink); }
.mobile-menu__chevron svg { transition: transform .25s ease; }
.mobile-menu__chevron.open svg { transform: rotate(180deg); }

.mobile-menu__sublinks {
  padding: 4px 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu__sublink {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--ink-2);
  padding: 8px 0;
  text-decoration: none;
}
