/* ==========================================================================
   Uncle Leo's Bakery
   Direction: chic French bakery — bottle green, ivory & kraft paper, gold foil,
   real-looking ink stamps. Every shared value lives in :root; nothing below
   hard-codes a colour, size or texture that the theme already names.

   Brand guide ("Guia básico de identidade visual"):
     Pantone 5467 C  -> --green-900      Pantone 7407 C   -> --gold-500 (aged: less yellow, as the owner asked)
     Pantone 726 C   -> --kraft-300      Pantone Black 4C -> --ink-900
     NT Mikella Bold -> --font-display (Bodoni Moda stands in on the web)
     Lemon Milk      -> --font-body    (Jost stands in on the web)

   Many of the bakery's regulars are older. Text meant to be read never goes
   below 13px, body copy is 18px, anything tappable is at least 44px tall,
   fields have a visible box, and the phone number is always offered beside
   the online route.
   ========================================================================== */

:root {
  /* ---- Colour ---- */
  --green-950: #071d19;
  --green-900: #0c2a24;
  --green-800: #123a32;
  --green-700: #1b4a40;
  --ivory-50: #fbf8f1;
  --ivory-100: #f5efe2;
  --ivory-200: #eae0cc;
  --kraft-300: #d0b792;
  --kraft-400: #b9996b;
  /* Gold, aged: the owner asked for a gold less yellow, more antique. Text in gold keeps its contrast. */
  --gold-800: #6a5733;
  --gold-700: #7f6a45;
  --gold-500: #b09a6d;
  --gold-300: #d8c8a2;
  --gold-100: #efe6cf;
  --ink-900: #1c1a17;
  --ink-700: #3b3731;
  --ink-500: #675f54;
  --stamp-green: #1d5a44;
  --stamp-bordeaux: #7b2d2b;
  --strip-bg: var(--stamp-bordeaux); /* the ordering rule at the top of every page: the colour that says "mind this" */
  --error-on-dark: #f2c4b8;          /* a field's error on the green sections, where bordeaux would not show */
  --bordeaux-900: #4b1719; /* the stamp's bordeaux, deepened as the green deepens to green-900: the Christmas card's edges */
  --noel-red: #a8232b;      /* Christmas red: the Christmas items (tree, frame, buttons) and the Christmas gift card */
  --noel-red-deep: #7a161d; /* its pressed and shaded side */
  --hero-wall: #13241a; /* the painted wall in the hero photograph, so the two blend */

  --line-gold: rgba(176, 154, 109, 0.55);
  --line-gold-soft: rgba(176, 154, 109, 0.28);
  --line-noel: rgba(168, 35, 43, 0.5);
  --line-noel-soft: rgba(168, 35, 43, 0.22);
  --line-ink: rgba(28, 26, 23, 0.14);
  --line-ivory: rgba(251, 248, 241, 0.2);
  --line-ivory-strong: rgba(251, 248, 241, 0.55);
  --text-on-green: rgba(251, 248, 241, 0.8);

  /* ---- Materials ---- */
  --foil-bright: linear-gradient(100deg, #a99169 0%, #d6c6a0 22%, #f0e7d0 38%, #c0a978 54%, #9c8458 70%, #dccca6 86%, #b39b6f 100%);
  /* the light foil of the page titles, over photographs and dark green: aged like the rest */
  --foil-hero: linear-gradient(100deg, #d9c8a1 0%, #ece2c7 22%, #f7f0e0 38%, #e0d0ab 56%, #cdb98f 72%, #e9ddbf 88%, #d9c8a1 100%);
  --noel-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23f3e6c4'%3E%3Cpath fill-opacity='.5' d='M16 15.5Q16 20 20.5 20Q16 20 16 24.5Q16 20 11.5 20Q16 20 16 15.5ZM64 7.5Q64 10 66.5 10Q64 10 64 12.5Q64 10 61.5 10Q64 10 64 7.5ZM102 30.5Q102 34 105.5 34Q102 34 102 37.5Q102 34 98.5 34Q102 34 102 30.5ZM40 60Q40 62 42 62Q40 62 40 64Q40 62 38 62Q40 62 40 60ZM88 77.5Q88 82 92.5 82Q88 82 88 86.5Q88 82 83.5 82Q88 82 88 77.5ZM18 97.5Q18 100 20.5 100Q18 100 18 102.5Q18 100 15.5 100Q18 100 18 97.5ZM112 106Q112 108 114 108Q112 108 112 110Q112 108 110 108Q112 108 112 106Z'/%3E%3Cpath fill-opacity='.6' d='M53.1 40a0.9 0.9 0 1 0 1.8 0a0.9 0.9 0 1 0 -1.8 0ZM7.2 58a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM75.2 52a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM59.1 104a0.9 0.9 0 1 0 1.8 0a0.9 0.9 0 1 0 -1.8 0ZM99.2 64a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0Z'/%3E%3C/g%3E%3C/svg%3E"); /* gold sparkles, sprinkled over the Christmas card */
  --foil-deep: linear-gradient(100deg, #6a5733 0%, #88704a 24%, #9c8457 40%, #7f6a45 58%, #6a5733 74%, #937b50 90%, #715d38 100%);
  --grain-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .22 0 0 0 .5 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02 .42' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .34 0 0 0 0 .24 0 0 0 0 .12 0 0 0 .5 -.19'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='d' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .98 0 0 0 0 .9 0 0 0 .32 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.4 3.4L11 1.6' fill='none' stroke='%23fbf8f1' stroke-width='1.8'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230c2a24' stroke-width='1.6'/%3E%3C/svg%3E");

  /* ---- Type ---- */
  --font-display: "Bodoni Moda", "Didot", "Bodoni MT", "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.125rem;
  --text-md: 1.25rem;
  --text-lg: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --text-xl: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem);
  --text-2xl: clamp(2.3rem, 1.5rem + 3vw, 4rem);
  --text-3xl: clamp(2.9rem, 1.6rem + 4.6vw, 5.25rem);
  --track-caps: 0.2em;

  /* ---- Space (4px base) ---- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6.5vw, 9rem);
  --gutter: clamp(1.125rem, 0.5rem + 2.6vw, 3rem);
  --container: 78rem;

  /* ---- Shape & motion ---- */
  --radius: 2px;
  --mat: 8px;
  --shadow-lift: 0 34px 50px -36px rgba(7, 29, 25, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-stamp: cubic-bezier(0.2, 1.5, 0.4, 1);
  --header-h: 5.25rem;
  --strip-h: 2.75rem;    /* the strip above the header, part of the fixed header on every page */
  --tap: 2.75rem;        /* smallest touch target: 44px */
  --control-h: 3.25rem;  /* buttons, fields and steppers share one height */
  --bar-h: 4.75rem;      /* the order bar pinned to the foot of the shop pages */
  --buy-w: 9.5rem;       /* Add button and quantity stepper are the same width, so a row never jumps */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--strip-h) + 4.5rem); -webkit-text-size-adjust: 100%; }
html:has(.has-order-bar) { scroll-padding-bottom: var(--bar-h); } /* a focused control never ends up behind the order bar */
body {
  margin: 0;
  background: var(--ivory-50);
  color: var(--ink-900);
  font: 400 var(--text-base)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-900); outline-offset: 3px; }
/* On the dark surfaces the ring turns to foil, so it never disappears */
.green :focus-visible, .hero :focus-visible, .band :focus-visible, .order-bar :focus-visible, .notice :focus-visible,
.site-header:not(.is-scrolled) :focus-visible, body.nav-open .site-header :focus-visible { outline-color: var(--gold-300); }
::selection { background: var(--gold-300); color: var(--green-950); }

[hidden] { display: none !important; } /* hidden means hidden, whatever display a class sets */
.svg-defs { position: absolute; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -6rem; z-index: 200;
  padding: var(--s-3) var(--s-4); background: var(--green-900); color: var(--ivory-50);
}
.skip-link:focus { top: var(--s-4); }
.skip-link:focus-visible { outline-color: var(--gold-300); } /* it lands on the dark first section of every page */

/* ---------- Surfaces ---------- */
.paper { background-color: var(--ivory-50); background-image: var(--grain-paper); }
.kraft { background-color: var(--kraft-300); background-image: var(--grain-fibre), var(--grain-paper); }
.green { background-color: var(--green-900); background-image: var(--grain-dark); color: var(--text-on-green); }
.section { padding-block: var(--section-y); position: relative; }
.section.paper + .section.paper, .section.kraft + .section.kraft, .section.green + .section.green { padding-top: 0; }

/* ---------- Ornaments & shared type ---------- */
.fleur { display: inline-block; width: 0.72em; height: 0.9em; fill: currentColor; flex: none; }
.fleur--lg { width: 1.6rem; height: 2rem; }

.kicker {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--gold-700);
}
.kicker .fleur { font-size: 1.05rem; }
.kicker--light { color: var(--gold-300); }
.kicker--center { justify-content: center; }

.display {
  margin-top: var(--s-4);
  font: 400 var(--text-2xl)/1.04 var(--font-display);
  letter-spacing: -0.012em; color: var(--green-900);
}
.display--light { color: var(--ivory-50); }
.display em, .hero-title em { font-style: italic; font-weight: 400; }

.foil {
  background-image: var(--foil, var(--foil-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-700);
  padding-inline-end: 0.06em; /* keeps the italic overhang inside the clip */
}
.green .foil, .hero .foil { background-image: var(--foil-bright); color: var(--gold-300); }

.lede { margin-top: var(--s-5); font: italic 400 var(--text-lg)/1.35 var(--font-display); color: var(--green-800); }
.lede--light { color: var(--ivory-50); }

.section-head { max-width: 46rem; margin-bottom: var(--s-8); }
.section-head:last-child { margin-bottom: 0; } /* nothing follows it: the section's own padding closes the block */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: var(--s-7); align-items: end;
}
.section-head-aside { position: relative; color: var(--ink-700); padding-right: 9.5rem; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--green-900); --btn-line: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--control-h); padding: 0 var(--s-6);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-line); border-radius: var(--radius);
  font: 500 var(--text-xs)/1 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), background-position .8s var(--ease);
}
.btn--foil { background-image: var(--foil-bright); background-size: 220% 100%; --btn-fg: var(--green-950); --btn-line: transparent; }
.btn--foil:hover { background-position: 100% 0; }
.btn--line-light { --btn-fg: var(--ivory-50); --btn-line: var(--line-ivory-strong); }
.btn--line-light:hover { --btn-bg: var(--ivory-50); --btn-fg: var(--green-900); --btn-line: var(--ivory-50); }
.btn--line { --btn-fg: currentColor; --btn-line: currentColor; }
.btn--line:hover { --btn-bg: var(--green-900); --btn-fg: var(--ivory-50); --btn-line: var(--green-900); }
.btn--green { --btn-bg: var(--green-900); --btn-fg: var(--ivory-50); }
.btn--green:hover { --btn-bg: var(--green-700); --btn-line: var(--green-700); }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--green-900); padding-bottom: var(--s-1); border-bottom: 1px solid var(--line-gold);
  transition: border-color .3s, color .3s;
}
.link-arrow::after {
  content: ""; width: 1.75rem; height: 0.625rem; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .4s var(--ease);
}
.link-arrow:hover { border-color: var(--gold-500); color: var(--gold-800); }
.kraft .link-arrow:hover { color: var(--green-950); }
.link-arrow:hover::after { transform: translateX(5px); }
/* Small links keep their line under the words; the area that takes the tap is made larger around them */
.link-arrow::before, .hero-meta a::before, .contact-lines a::before, .ribbon-note a::before, .notice a::before { content: ""; position: absolute; inset: -0.7rem -0.5rem; }
.link-arrow--light { color: var(--ivory-50); }
.link-arrow--light:hover { color: var(--gold-300); }

/* Brand mark: the white logo PNG as a mask, so it takes whatever colour it sits in */
.logo-mark {
  display: block; aspect-ratio: 1080 / 486; background-color: currentColor;
  -webkit-mask: url("../img/logo-white.png") center / contain no-repeat;
          mask: url("../img/logo-white.png") center / contain no-repeat;
}

/* ---------- Photo frames ---------- */
.frame {
  position: relative; padding: var(--mat); background: var(--ivory-50);
  box-shadow: 0 0 0 1px var(--line-gold), var(--shadow-lift);
}
.frame::after { /* gold hairline floating just inside the photograph */
  content: ""; position: absolute; inset: calc(var(--mat) * 2); border: 1px solid rgba(239, 230, 207, 0.6); pointer-events: none;
}
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ivory-200); }
.frame--arch, .frame--arch img, .frame--arch::after { border-radius: 999px 999px 0 0; }

/* ---------- Stamps ---------- */
.stamp {
  --r: -7deg;
  position: relative; display: block; color: var(--stamp-green);
  filter: url(#ink); mix-blend-mode: multiply; transform: rotate(var(--r));
  pointer-events: none; user-select: none;
}
.stamp svg { width: 100%; height: auto; overflow: visible; }
.stamp--bordeaux, .stamp--postmark { color: var(--stamp-bordeaux); }
.stamp--round { width: 9.5rem; }
.stamp--oval { --r: -9deg; width: 9.75rem; position: absolute; right: -1rem; top: 50%; margin-top: -3rem; }
.stamp--postmark { --r: -8deg; width: 13.5rem; position: absolute; right: -6.75rem; bottom: -2.5rem; }
.stamp--house { --r: 6deg; width: 9.25rem; position: absolute; right: -2.25rem; bottom: -3.25rem; }
.stamp--house .logo-mark { position: absolute; left: 27%; top: 33.3%; width: 46%; }

.tag-stamp {
  position: absolute; left: calc(var(--mat) + var(--s-3)); bottom: calc(var(--mat) + var(--s-3)); z-index: 1;
  padding: 0.3rem 0.6rem 0.25rem; background: var(--ivory-50); transform: rotate(-4deg);
  box-shadow: 0 6px 14px -8px rgba(7, 29, 25, 0.7);
}
.tag-stamp span {
  display: block; padding: 0.1rem 0.4rem; border: 1.5px solid currentColor; color: var(--stamp-green);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
  filter: url(#ink-fine);
}

/* Foil seal: a green sticker printed in gold, the way a patisserie box is closed */
.seal {
  --r: -11deg;
  position: absolute; z-index: 3; right: max(var(--gutter), 5vw); bottom: -4.75rem;
  width: clamp(7.5rem, 5rem + 7vw, 10.5rem); aspect-ratio: 1; padding: 0.35rem; border-radius: 50%;
  background-color: var(--green-900); background-image: var(--grain-dark);
  box-shadow: 0 0 0 1px rgba(216, 200, 162, 0.35), 0 18px 30px -14px rgba(0, 0, 0, 0.6);
  transform: rotate(var(--r));
}
.seal svg { width: 100%; height: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: calc(var(--strip-h) + var(--header-h)); color: var(--ivory-50);
  transition: height .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 4.25rem; color: var(--green-900);
  background-color: var(--ivory-50); background-image: var(--grain-paper);
  box-shadow: 0 1px 0 var(--line-gold), 0 3px 0 var(--ivory-50), 0 4px 0 var(--line-gold-soft);
}
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-5); }
.brand { justify-self: center; color: inherit; }
.brand .logo-mark { width: 7.75rem; transition: width .5s var(--ease); }
.is-scrolled .brand .logo-mark { width: 6.25rem; }
.nav-list { display: flex; align-items: center; gap: var(--s-6); }
.nav-list a, .header-link {
  position: relative; padding-block: var(--s-3);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase;
}
.nav-list a::after, .header-link::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-list a:hover::after, .header-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-side { justify-self: end; display: flex; align-items: center; gap: var(--s-6); }
.order-link { min-height: var(--tap); padding: 0 var(--s-5); gap: var(--s-2); } /* the header's own, more compact button */
.order-count {
  display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.4rem; border-radius: 999px;
  background-image: var(--foil-bright); color: var(--green-950); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.order-count[hidden] { display: none; }
.site-header:not(.is-scrolled) .btn--line:hover { --btn-bg: var(--ivory-50); --btn-fg: var(--green-900); --btn-line: var(--ivory-50); }

.nav-toggle {
  display: none; position: relative; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1px solid currentColor; border-radius: 50%; cursor: pointer;
}
.nav-toggle span[aria-hidden] { position: absolute; left: 50%; width: 1.1rem; height: 1px; margin-left: -0.55rem; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span[aria-hidden]:nth-of-type(2) { top: calc(50% - 3px); }
.nav-toggle span[aria-hidden]:nth-of-type(3) { top: calc(50% + 3px); }
.nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { top: 50%; transform: rotate(-45deg); }

/* ---------- The strip above the header: the page's ordering rule, kept in view, with the phone and Instagram.
   main.js marks the message that holds today (is-current); without the scripts the page's own rule shows. ---------- */
.header-strip { container-type: inline-size; height: var(--strip-h); background-color: var(--strip-bg); color: var(--ivory-50); font-size: var(--text-sm); line-height: 1.3; }
.strip-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.strip-text { min-width: 0; display: flex; align-items: center; gap: var(--s-2); font-weight: 500; }
.strip-icon { flex: none; width: 1.15rem; height: 1.15rem; color: var(--gold-300); }
.strip-msg, .strip-note, .strip-short { display: none; }
html:not(.js) .strip-msg--default, .js .strip-msg.is-current, .js .strip-note.is-current { display: inline; }
.strip-note { font-weight: 400; }
.strip-contact { flex: none; display: flex; align-items: center; }
.strip-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); padding: 0 var(--s-2); font-weight: 500; font-variant-numeric: tabular-nums; transition: color .3s; }
.strip-link svg { flex: none; width: 1.15rem; height: 1.15rem; }
.strip-link--icon { min-width: var(--tap); justify-content: center; }
.strip-link:hover { color: var(--gold-300); }
.site-header .header-strip :focus-visible { outline-color: var(--gold-300); outline-offset: -3px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 60rem); display: grid; align-items: end; background-color: var(--hero-wall); color: var(--ivory-50); }
.hero::before { /* film grain over wall and photograph alike, so the two read as one surface */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--grain-dark), linear-gradient(180deg, rgba(7, 29, 25, 0.5) 0%, rgba(7, 29, 25, 0) 20%);
}
.hero-media { /* the photograph sits to the right and dissolves into the painted wall */
  position: absolute; inset: 0 0 0 auto; width: 74%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; animation: hero-settle 2.6s var(--ease) both; }
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--strip-h) + var(--header-h) + var(--s-7)); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero-copy { max-width: 32rem; }
.hero-title { margin-top: var(--s-5); font: 400 var(--text-3xl)/0.98 var(--font-display); letter-spacing: -0.015em; }
.hero-title em { display: block; }
/* Hero foil line sits over the photo: heavier cut, brighter foil and a soft dark halo so it reads. */
.hero-title em.foil {
  font-weight: 600;
  background-image: var(--foil-hero);
  filter: drop-shadow(0 2px 3px rgba(7, 29, 25, 0.75)) drop-shadow(0 0 18px rgba(7, 29, 25, 0.55));
}
.hero-lede { margin-top: var(--s-6); max-width: 31rem; font-size: var(--text-md); line-height: 1.65; color: var(--text-on-green); }
.hero-actions { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero-actions--center { justify-content: center; }
.hero-meta {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-ivory);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-right: -7rem; font-size: var(--text-sm); color: var(--text-on-green);
}
.hero-meta a, .contact-lines a { position: relative; }
.hero-meta a:hover { color: var(--gold-300); }
.open-status { display: inline-flex; align-items: center; gap: var(--s-2); }
.open-status:not(:empty)::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold-500); flex: none; }
.open-status.is-open::before { background: #7fc79a; box-shadow: 0 0 0 4px rgba(127, 199, 154, 0.22); }
.open-status--ink { margin-left: var(--s-3); font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--ink-700); font-size: var(--text-sm); }
.open-status--ink.is-open::before { background: var(--stamp-green); box-shadow: 0 0 0 4px rgba(29, 90, 68, 0.16); }

/* ---------- Press ribbon ---------- */
.ribbon { border-bottom: 1px solid var(--line-gold-soft); }
.ribbon-inner { display: flex; align-items: center; gap: var(--s-7); padding-block: var(--s-6); padding-right: clamp(9rem, 6rem + 9vw, 13rem); }
.ribbon-label { font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-700); white-space: nowrap; }
.ribbon-list { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); }
.ribbon-list li { display: flex; flex-direction: column; padding-left: var(--s-5); border-left: 1px solid var(--line-gold); }
.ribbon-name { font: 600 1.35rem/1.15 var(--font-display); color: var(--green-900); }
.ribbon-note { font-size: var(--text-sm); color: var(--ink-500); }
.ribbon-note a { position: relative; color: var(--ink-900); }

/* ---------- Signature ---------- */
.signature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 1rem + 7vw, 8.5rem); align-items: center; }
.signature-media { position: relative; max-width: 30rem; }
.signature-copy > p:not(.kicker):not(.lede) { margin-top: var(--s-5); max-width: 33rem; color: var(--ink-700); font-size: var(--text-md); }
.spec { margin-top: var(--s-7); max-width: 33rem; border-top: 1px solid var(--line-gold); }
.spec div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--line-gold-soft); }
.spec dt { font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-700); padding-top: 0.3em; }
.spec dd { font: 400 1.2rem/1.3 var(--font-display); color: var(--green-900); }
.signature-copy .link-arrow { margin-top: var(--s-7); }

/* ---------- La Carte ---------- */
.carte { padding-bottom: 0; }
.carte-group + .carte-group, .carte-group--after-band { margin-top: var(--s-9); }
.carte-group--after-band { padding-bottom: var(--section-y); }
.group-head { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: var(--s-5); padding-bottom: var(--s-5); margin-bottom: var(--s-7); border-bottom: 1px solid var(--line-gold); }
.group-no { font: italic 400 1.15rem/1 var(--font-display); color: var(--gold-700); white-space: nowrap; }
.group-no--light { color: var(--gold-300); }
.group-title { font: 400 var(--text-xl)/1.1 var(--font-display); color: var(--green-900); }
.group-note { justify-self: end; text-align: right; font-size: var(--text-sm); color: var(--ink-500); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) clamp(1.5rem, 0.5rem + 2.5vw, 3rem); }
.card .frame img { transition: transform 1.4s var(--ease); }
.card .frame { overflow: hidden; }
.card:hover .frame img { transform: scale(1.035); }
.card-fr { margin-top: var(--s-5); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-700); }
.card-name { margin-top: var(--s-2); font: 400 1.6rem/1.15 var(--font-display); color: var(--green-900); }
.card-desc { margin-top: var(--s-3); color: var(--ink-500); line-height: 1.6; max-width: 26rem; }

.card--note { display: flex; }
.note-card {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s-4);
  padding: var(--s-7) var(--s-6); text-align: center; color: var(--ink-700);
  border: 1px solid var(--line-gold); outline: 1px solid var(--line-gold-soft); outline-offset: -7px;
}
.note-card .fleur { margin-inline: auto; color: var(--gold-500); }
.note-title { font: italic 400 1.6rem/1.2 var(--font-display); color: var(--green-900); }
.note-foot { font-size: var(--text-sm); color: var(--ink-500); }
.note-foot a, .hours-note a, .price-foot a, .gift-how a, .insta-title a, .ribbon-note a { border-bottom: 1px solid var(--gold-500); transition: color .3s; }
.note-foot a:hover, .hours-note a:hover, .price-foot a:hover, .insta-title a:hover, .ribbon-note a:hover { color: var(--gold-800); }

/* Pâtisserie band */
.band { position: relative; margin-top: var(--s-9); min-height: clamp(22rem, 46vw, 38rem); display: grid; align-items: center; color: var(--ivory-50); background: var(--green-950); overflow: hidden; border-block: 1px solid var(--line-gold); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 70%; }
.band::after { content: ""; position: absolute; inset: 0; background: var(--grain-dark), linear-gradient(90deg, rgba(7, 29, 25, 0.82) 0%, rgba(7, 29, 25, 0.4) 40%, rgba(7, 29, 25, 0) 64%); }
.band-inner { position: relative; z-index: 1; }
.band-copy { max-width: 25rem; }
.band-title { margin-top: var(--s-3); font: 400 var(--text-2xl)/1.05 var(--font-display); }
.band-copy p { margin-top: var(--s-5); font-size: var(--text-md); color: var(--text-on-green); }

/* ---------- Boulangerie (kraft) ---------- */
.boulangerie-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.boulangerie-media .frame img { aspect-ratio: 3 / 2; }
.why { margin-top: var(--s-7); max-width: 30rem; }
.why-title { font: italic 400 var(--text-lg)/1.2 var(--font-display); color: var(--green-950); }
.why-list { margin-top: var(--s-4); border-top: 1px solid rgba(7, 29, 25, 0.25); }
.why-list li { padding-block: var(--s-3); border-bottom: 1px solid rgba(7, 29, 25, 0.16); color: var(--ink-900); }

.price-card {
  position: relative; padding: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
  background-color: var(--ivory-50); background-image: var(--grain-paper);
  box-shadow: 0 0 0 1px var(--line-gold), var(--shadow-lift);
  outline: 1px solid var(--line-gold); outline-offset: -8px;
}
.price-card-head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s-2) var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-gold); }
.price-card-head .group-note { grid-column: 1 / -1; justify-self: start; text-align: left; }
.price-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: var(--s-3); padding-block: var(--s-4); border-bottom: 1px solid var(--line-gold-soft); }
.price-name { display: block; font: 400 1.35rem/1.2 var(--font-display); color: var(--green-900); }
.price-note { display: block; font-size: var(--text-sm); color: var(--ink-500); }
.price-dots { align-self: start; height: 1.1rem; border-bottom: 1px dotted rgba(28, 26, 23, 0.4); }
.price { font: 500 1.6rem/1 var(--font-display); font-variation-settings: "opsz" 14; color: var(--gold-800); }
.price-foot { margin-top: var(--s-5); padding-right: 7.5rem; font-size: var(--text-sm); color: var(--ink-500); }

.duo { margin-top: var(--s-9); padding-top: var(--s-8); border-top: 1px solid rgba(7, 29, 25, 0.25); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.duo-item { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--s-6); align-items: center; }
.duo-item .group-title { margin-top: var(--s-1); color: var(--green-950); }
.duo-item p { margin-top: var(--s-3); color: var(--ink-900); }
/* Labels on kraft are printed in the brand's brown ink, and foil words in the dark green one
   (gold on kraft is too faint to read); paper laid on kraft goes back to gold */
.kraft { --label: var(--ink-900); --foil: linear-gradient(var(--green-950), var(--green-950)); }
.kraft .price-card, .kraft .menu-sheet { --label: var(--gold-800); --foil: initial; }
.kraft .kicker, .kraft .group-no { color: var(--label); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 1rem + 7vw, 8rem); align-items: center; }
.print {
  position: relative; max-width: 27rem; padding: 0.9rem; background: var(--ivory-50); background-image: var(--grain-paper);
  transform: rotate(-2.4deg); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.75);
}
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.print::before, .print::after { /* gilt photo corners */
  content: ""; position: absolute; width: 2.4rem; height: 2.4rem; background-image: var(--foil-bright); z-index: 1;
}
.print::before { top: -0.3rem; left: -0.3rem; clip-path: polygon(0 0, 100% 0, 0 100%); }
.print::after { right: -0.3rem; bottom: -0.3rem; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.story-copy > p:not(.kicker):not(.lede) { margin-top: var(--s-5); max-width: 37rem; font-size: var(--text-md); }
.motto { margin-top: var(--s-7); padding-left: var(--s-5); border-left: 1px solid var(--gold-500); max-width: 34rem; }
.motto p { font: italic 400 var(--text-xl)/1.2 var(--font-display); color: var(--ivory-50); }
.motto footer { margin-top: var(--s-3); font-size: var(--text-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-300); }
.facts { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line-ivory); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.facts strong { display: block; font: 400 clamp(2.4rem, 1.6rem + 2.4vw, 3.75rem)/1 var(--font-display); width: fit-content; }
.facts span { display: block; margin-top: var(--s-3); font-size: var(--text-sm); line-height: 1.5; max-width: 13rem; }

/* ---------- Recognition ---------- */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.press-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s-5) clamp(1.25rem, 0.5rem + 2.5vw, 3rem) var(--s-6); }
.press-item + .press-item { border-left: 1px solid var(--line-gold); }
.press-item:nth-child(1) .stamp { --r: -9deg; }
.press-item:nth-child(2) .stamp { --r: 5deg; }
.press-item:nth-child(3) .stamp { --r: -4deg; }
.press-name { margin-top: var(--s-6); font: 500 var(--text-xs)/1.4 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-700); }
.press-quote { margin-top: var(--s-3); font: italic 400 var(--text-lg)/1.25 var(--font-display); color: var(--green-900); max-width: 19rem; }
.press-meta { margin-top: var(--s-3); color: var(--ink-500); font-size: var(--text-sm); max-width: 17rem; }
.press-item .link-arrow { margin-top: auto; }
.press-item .press-meta { margin-bottom: var(--s-5); }

/* ---------- Beyond the counter ---------- */
.beyond-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 1rem + 6vw, 7rem); align-items: start; }
.service { padding-block: var(--s-6); border-top: 1px solid var(--line-ivory); }
.service:last-child { border-bottom: 1px solid var(--line-ivory); }
.service h3, .gift-copy h3 { font: 400 var(--text-xl)/1.15 var(--font-display); color: var(--ivory-50); }
.service p { margin-top: var(--s-3); max-width: 34rem; }
.service .service-logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: var(--s-4); }
/* The apps' logos on the green: framed like the shop's tiles, an ivory line on the green, so each reads as something to tap */
.service-logos a {
  display: inline-flex; align-items: center; justify-content: center; width: 11.5rem; max-width: 100%; min-height: 3.75rem; padding: var(--s-3) var(--s-5);
  border: 1px solid var(--line-ivory-strong); border-radius: var(--radius); transition: border-color .3s var(--ease);
}
.service-logos a:hover { border-color: var(--ivory-50); }
/* Gift card: see the shop components below */

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.visit-info { display: grid; gap: var(--s-7); }
.info-label { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: var(--s-3); font: 500 var(--text-xs)/1.4 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-700); }
.info address, .contact-lines { font: 400 var(--text-xl)/1.25 var(--font-display); color: var(--green-900); }
.contact-lines a { transition: color .3s; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--gold-800); }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-gold); }
.hours th, .hours td { padding: var(--s-3) 0; border-bottom: 1px solid var(--line-gold-soft); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-700); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green-900); font-weight: 500; }
.hours tr.is-today th::after { content: "Today"; margin-left: var(--s-3); padding: 0.15rem 0.5rem; background: var(--green-900); color: var(--ivory-50); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; vertical-align: 0.1em; }
.hours-note { margin-top: var(--s-3); font-size: var(--text-sm); color: var(--ink-500); }
.visit-side { display: grid; gap: var(--s-7); }
.map iframe { display: block; width: 100%; height: clamp(18rem, 12rem + 16vw, 25rem); border: 0; filter: sepia(0.18) saturate(0.85); }
.map::after { display: none; }

.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--ivory-100); background-image: var(--grain-paper); border: 1px solid var(--line-gold); outline: 1px solid var(--line-gold-soft); outline-offset: -7px; }
.enquiry-title { grid-column: 1 / -1; font: 400 var(--text-xl)/1.15 var(--font-display); color: var(--green-900); }
.enquiry-intro { grid-column: 1 / -1; margin-top: calc(var(--s-3) * -1); color: var(--ink-500); font-size: var(--text-sm); }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: var(--text-base); font-weight: 500; line-height: 1.4; color: var(--ink-900); }
.optional { font-weight: 400; color: var(--ink-500); }
.field input, .field textarea, .field select {
  display: block; width: 100%; margin-top: var(--s-2); padding: var(--s-3) var(--s-4); min-height: var(--control-h);
  background-color: var(--ivory-50); border: 1px solid var(--ink-500); border-radius: var(--radius);
  font-size: var(--text-base); line-height: 1.4; transition: border-color .3s;
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: var(--s-7); cursor: pointer;
  background-image: var(--chevron); background-repeat: no-repeat; background-position: right var(--s-4) center; background-size: 0.9rem;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--green-900); outline-offset: 2px; border-color: var(--green-900); }
.field [aria-invalid="true"] { border: 2px solid var(--stamp-bordeaux); }
.field-hint { margin-top: var(--s-2); font-size: var(--text-sm); color: var(--ink-500); }
.field-error { margin-top: var(--s-2); font-weight: 500; color: var(--stamp-bordeaux); }
.enquiry .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Instagram ---------- */
.insta { padding-top: var(--s-8); border-top: 1px solid var(--line-gold-soft); }
.insta-head { text-align: center; padding-bottom: var(--s-7); }
.insta-title { font: italic 400 var(--text-xl)/1.25 var(--font-display); color: var(--green-900); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--ivory-200); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.insta-grid a::after { content: ""; position: absolute; inset: 0.6rem; border: 1px solid rgba(239, 230, 207, 0.75); opacity: 0; transition: opacity .5s var(--ease); }
.insta-grid a:hover img { transform: scale(1.05); }
.insta-grid a:hover::after, .insta-grid a:focus-visible::after { opacity: 1; }

/* ---------- Footer: the bakery's card at the foot of every page. On top, the mark, the motto and the bakery's two social
   pages as round icons; under a hairline, where and when, the menus, and the two delivery apps on the logo tiles the home
   page uses; the small print last ---------- */
.site-footer { background-color: var(--green-950); padding-top: var(--s-9); }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); padding-bottom: var(--s-8); text-align: center; }
.footer-brand .logo-mark { width: 10rem; color: var(--ivory-50); }
.footer-motto { max-width: 15rem; font: 400 1.9rem/1.15 var(--font-script); color: var(--gold-300); }
.footer-social { display: flex; justify-content: center; gap: var(--s-4); }
/* Instagram and Facebook: round frames in the ivory line of the apps' tiles; icon and frame turn gold under the pointer */
.social-link {
  display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line-ivory-strong); border-radius: 50%;
  color: var(--ivory-50); transition: color .3s var(--ease), border-color .3s var(--ease);
}
.social-link svg { width: 1.375rem; height: 1.375rem; }
.social-link:hover { color: var(--gold-300); border-color: var(--gold-300); }
.footer-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7); padding-block: var(--s-8); border-top: 1px solid var(--line-ivory); }
.footer-col h2 { margin-bottom: var(--s-4); font: 500 var(--text-xs)/1.4 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-300); }
.footer-col p + p, .footer-col address + p { margin-top: var(--s-3); }
.footer-col li a { display: inline-block; padding-block: 0.55rem; }
.footer-col p a { display: inline-block; padding-block: var(--s-2); }
.footer-col li a, .footer-col p a { transition: color .3s; overflow-wrap: anywhere; }
.footer-col li a:hover, .footer-col p a:hover, .footer-bottom a:hover { color: var(--gold-300); }
/* The hours as the home page sets them, a day and its times on one line, ruled in the footer's ivory line */
.site-footer .hours { border-top-color: var(--line-ivory); }
.site-footer .hours th, .site-footer .hours td { border-bottom-color: var(--line-ivory); color: inherit; }
.footer-delivery { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); padding-block: var(--s-5); border-top: 1px solid var(--line-ivory); font-size: var(--text-sm); color: rgba(251, 248, 241, 0.55); }
.footer-bottom p:last-child { text-align: right; }
.footer-bottom a { border-bottom: 1px solid var(--line-gold); }
.footer-fleur { color: var(--gold-500); font-size: 1.4rem; }

/* ==========================================================================
   Shop, menus and the order page
   Everything here is built from the pieces above: the surfaces, the price card,
   the group head, the stamps. New pieces are named for what they are.
   ========================================================================== */

/* ---------- Brand seal: the round secondary logo, cut as a mask like the wordmark ---------- */
.logo-seal {
  display: block; aspect-ratio: 1; background-color: currentColor;
  -webkit-mask: url("../img/logo-seal.svg") center / contain no-repeat;
          mask: url("../img/logo-seal.svg") center / contain no-repeat;
}
.logo-seal--foil { background-color: transparent; background-image: var(--foil-bright); }

/* ---------- The Christmas tree: in Christmas red, with a gold star ---------- */
.xmas-tree { display: block; width: 2.75rem; aspect-ratio: 80 / 100; color: var(--noel-red); --tree-star: var(--gold-500); overflow: visible; }

/* ---------- Sub-page hero: a green band, so the header reads the same on every page ---------- */
.page-hero { position: relative; padding-top: calc(var(--strip-h) + var(--header-h) + var(--s-8)); padding-bottom: var(--s-9); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.page-hero--plain .page-hero-inner { grid-template-columns: 1fr; }
.page-hero-copy { max-width: 43rem; }
.page-hero .hero-title { color: var(--ivory-50); }
.page-hero .hero-lede { max-width: 36rem; }
.page-hero-aside { justify-self: end; width: min(100%, 21rem); }
.page-hero .frame { box-shadow: 0 0 0 1px var(--line-gold), 0 40px 60px -30px rgba(0, 0, 0, 0.75); }
.ribbon-inner--full { padding-right: 0; }

/* ---------- Notice: the one rule a customer must not miss. A green card printed in gold, like the gift card, so it
   stands out from the paper and the kraft wherever it sits: the rule on a line of its own, the details under it ---------- */
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start;
  padding: var(--s-5) var(--s-6);
  background-color: var(--green-900); background-image: var(--grain-dark), radial-gradient(120% 90% at 18% 0%, var(--green-700) 0%, var(--green-900) 62%);
  color: var(--text-on-green); box-shadow: var(--shadow-lift);
  border: 1px solid var(--green-950); outline: 1px solid var(--line-gold); outline-offset: -7px;
}
.notice .fleur { margin-top: 0.05em; font-size: 1.75rem; color: var(--gold-300); }
.notice strong { display: block; margin-bottom: var(--s-2); font: 400 var(--text-lg)/1.2 var(--font-display); color: var(--ivory-50); text-wrap: balance; }
.notice a { position: relative; font-weight: 500; color: var(--ivory-50); border-bottom: 1px solid var(--gold-300); white-space: nowrap; transition: color .3s; }
.notice a:hover { color: var(--gold-300); }
.notice--after { margin-top: var(--s-7); }
.menu-more { margin-top: var(--s-6); text-align: center; }
.js .notice--fallback { display: none; } /* shown only when the scripts are off or never arrived */
.notice--before { margin-bottom: var(--s-7); }

/* ---------- Shelf: two columns side by side, a picture and what goes with it ---------- */
.shelf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }

/* ---------- Buying: the Add button, and the stepper it turns into ---------- */
.price--ask { font: italic 400 var(--text-base)/1.2 var(--font-display); color: var(--ink-700); white-space: nowrap; }
.buy { align-self: center; display: flex; justify-content: flex-end; min-width: var(--buy-w); }
.btn--add { min-width: var(--buy-w); padding-inline: var(--s-5); }
.buy:not([data-in="0"]) .btn--add, .buy[data-in="0"] .stepper { display: none; }
.stepper {
  display: inline-grid; grid-template-columns: var(--tap) minmax(2.5rem, 1fr) var(--tap); align-items: center;
  width: var(--buy-w); height: var(--control-h); border: 1px solid var(--green-900); border-radius: var(--radius);
  background-color: var(--ivory-50); color: var(--green-900);
}
.stepper button {
  height: 100%; padding: 0; display: grid; place-items: center; background: none; border: 0; border-radius: 0; cursor: pointer; color: inherit;
  font: 400 1.75rem/1 var(--font-body); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.stepper button:hover { background-color: var(--green-900); color: var(--ivory-50); }
/* The count can be typed as well as stepped: a plain number in the middle of the frame */
.stepper [data-qty] {
  width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: inherit;
  text-align: center; font: 500 var(--text-md)/1 var(--font-body); font-variant-numeric: tabular-nums;
}
.stepper [data-qty]:focus-visible { outline-offset: -3px; } /* the ring stays inside the stepper's own frame */
/* The most of one item an order can hold, said under the stepper that reached it */
.limit-note { flex-basis: 100%; grid-column: 1 / -1; margin-top: 0; font-size: var(--text-sm); }
.limit-note a { border-bottom: 1px solid currentColor; white-space: nowrap; }

/* The order bar: appears once something is in the order, and stays in reach */
.order-bar {
  position: fixed; inset: auto 0 0; z-index: 90; background-color: var(--green-950); background-image: var(--grain-dark); color: var(--ivory-50);
  box-shadow: 0 -1px 0 var(--line-gold), 0 -18px 30px -18px rgba(7, 29, 25, 0.6);
  transform: translateY(110%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s;
}
.order-bar.is-on { transform: none; visibility: visible; }
.order-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--bar-h); padding-block: var(--s-3); }
.order-bar-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-4); }
.order-bar-text strong { font: 400 var(--text-lg)/1.3 var(--font-display); }
.order-bar-total { color: var(--gold-300); font-size: var(--text-md); font-variant-numeric: tabular-nums; }
body.has-order-bar .site-footer { padding-bottom: var(--bar-h); }

/* ---------- Dietary tags, set like a small stamp ---------- */
.tag {
  display: inline-block; margin-left: var(--s-2); padding: 0.05rem 0.4rem 0; border: 1.5px solid currentColor; border-radius: var(--radius);
  font: 600 var(--text-xs)/1.5 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stamp-green);
  vertical-align: 0.22em; white-space: nowrap;
}

/* ---------- Menu sheet: the cake and catering menus, printed on the house paper ---------- */
.menu-stack { display: grid; gap: var(--s-9); }
.menu-stack > * { min-width: 0; } /* a sheet never grows wider than the page, whatever it holds */
.menu-sheet {
  position: relative;
  padding: clamp(3.5rem, 2rem + 7vw, 7rem) clamp(1.5rem, 0.25rem + 5.5vw, 5.5rem) clamp(2.5rem, 1.5rem + 4vw, 5rem);
  background-color: var(--ivory-50); background-image: var(--grain-paper);
  box-shadow: 0 0 0 1px var(--line-gold), var(--shadow-lift);
}
.menu-sheet::before { /* the second gold line, floating just inside the edge like the price card's */
  content: ""; position: absolute; inset: var(--mat); border: 1px solid var(--line-gold); border-radius: inherit; pointer-events: none;
}
.menu-sheet--arch { --arch: clamp(8.5rem, 3rem + 24vw, 22rem); border-radius: 50% 50% 0 0 / var(--arch) var(--arch) 0 0; }
.menu-sheet-head { display: grid; justify-items: center; text-align: center; margin-bottom: var(--s-8); }
.menu-sheet-head .logo-seal { width: clamp(5.5rem, 4rem + 5vw, 8.5rem); color: var(--green-900); }
.menu-title {
  margin-top: var(--s-5); padding-left: 0.1em; font: 400 clamp(2.25rem, 1rem + 6vw, 5.25rem)/0.9 var(--font-display);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-900);
}
.menu-title em { display: block; margin-top: -0.24em; padding-bottom: 0.12em; font: 400 0.66em/1 var(--font-script); letter-spacing: 0; text-transform: none; }
.menu-rule { width: min(100%, 22rem); height: 1px; margin: var(--s-5) 0 0; border: 0; background: var(--line-gold); }
.menu-sheet-note { margin-top: var(--s-5); max-width: 36rem; color: var(--ink-700); }
.menu-groups { display: grid; gap: var(--s-8); }
.menu-groups > * { min-width: 0; } /* a group never grows wider than its sheet, whatever it holds */
.size-name { font-weight: 500; color: var(--green-900); }
.size-note { display: inline-block; margin-left: var(--s-2); font: 400 var(--text-sm)/1.5 var(--font-body); color: var(--ink-500); }
.price:empty { display: none; }
.menu-sheet .group-title { font-size: var(--text-lg); }
.menu-sheet-note a { border-bottom: 1px solid var(--gold-500); white-space: nowrap; }
.menu-foot {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-gold);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-6); text-align: center; color: var(--ink-700);
}
.menu-foot strong { font-weight: 500; color: var(--green-900); }

/* ---------- Christmas ---------- */

/* The gift tag of the Christmas page, hung on red-and-white baker's twine that comes down from out of sight. With the
   scripts on and motion allowed, it drops in when the hero shows: the twine catches it, it bounces, swings from the top
   of the twine and settles, then turns a little in the breeze while the light runs over the paper. Otherwise it hangs. */
.xmas-tag-wrap {
  --string: 10rem; /* the twine that shows above the tag */
  --eye: 2.15rem;  /* from the top of the tag to the middle of its eyelet */
  --rest: 2deg;    /* how it hangs once still */
  --drop: 9rem;    /* how far it falls: from just under the header, so it never shows through the header bar */
  position: relative; width: min(100%, 17rem); margin-inline: auto;
  rotate: var(--rest); transform-origin: 50% calc(var(--eye) - var(--string)); /* it swings from the top of the twine */
  perspective: 60rem;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.55));
}
.xmas-tag-wrap::before { /* the twine, twisted red and white, fading out upwards */
  content: ""; position: absolute; left: 50%; bottom: calc(100% - var(--eye)); width: 3px; height: var(--string); margin-left: -1.5px;
  background: repeating-linear-gradient(-55deg, var(--noel-red) 0 2.5px, var(--ivory-50) 2.5px 4.5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%);
}
.xmas-tag-wrap::after { /* the loop of twine over the top edge and down through the eyelet */
  content: ""; position: absolute; left: 50%; top: calc(var(--eye) - 2.9rem); width: 1.5rem; height: 2.9rem; margin-left: -0.75rem; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 46'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath stroke='%23fbf8f1' d='M12 0C12 9 4.5 17 5 29C5.4 39 10 45 12 45.5M12 0C12 9 19.5 17 19 29C18.6 39 14 45 12 45.5'/%3E%3Cpath stroke='%23a8232b' stroke-dasharray='2.6 1.9' d='M12 0C12 9 4.5 17 5 29C5.4 39 10 45 12 45.5M12 0C12 9 19.5 17 19 29C18.6 39 14 45 12 45.5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.xmas-tag {
  position: relative; padding: 4.75rem 1.5rem 2.5rem; text-align: center; color: var(--green-900);
  background-color: var(--ivory-50);
  background-image: /* a gold line printed just inside the edge, the light on the top of the card, the paper */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M25 2H75L97 13V98H3V13Z' fill='none' stroke='%23b09a6d' stroke-opacity='.75' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"),
    radial-gradient(130% 60% at 50% 0%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 70%),
    var(--grain-paper);
  background-size: 100% 100%, auto, auto;
  clip-path: polygon(24% 0, 76% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  transform-origin: 50% var(--eye);
}
.xmas-tag::before { /* the eyelet: a brass ring, with the dark of the page through its hole */
  content: ""; position: absolute; top: calc(var(--eye) - 0.65rem); left: 50%; width: 1.3rem; height: 1.3rem; margin-left: -0.65rem; border-radius: 50%;
  background: radial-gradient(circle, var(--green-950) 0 0.3rem, transparent calc(0.3rem + 0.5px)), radial-gradient(circle at 35% 30%, #f6ecd2 0, var(--gold-500) 45%, var(--gold-700) 100%);
  box-shadow: 0 1px 2px rgba(7, 29, 25, 0.45), inset 0 0 0 1px rgba(127, 106, 69, 0.6);
}
.xmas-tag::after { /* the light running over the paper as the tag turns; off the card while it is still */
  content: ""; position: absolute; inset: -20% -60%; pointer-events: none; translate: -55% 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 58%);
}
.xmas-tag .stamp { --r: -6deg; width: 11rem; margin-inline: auto; filter: url(#ink-fine); } /* the lighter ink keeps the greeting readable */
.xmas-tag-script { margin-top: var(--s-4); font: 400 2.1rem/1.1 var(--font-script); }
.xmas-tag-caps { margin-top: var(--s-2); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-700); }

@media (prefers-reduced-motion: no-preference) {
  .js .page-hero-aside:has(> .xmas-tag-wrap) { transform: none; transition-duration: 0.2s; } /* the tag makes its own entrance */
  .js .page-hero-aside.is-in .xmas-tag-wrap {
    animation: xmas-tag-drop 1.15s both, xmas-tag-swing 4.6s ease-in-out 0.62s both, xmas-tag-sway 3.4s ease-in-out 5.22s 8 alternate;
  }
  .js .page-hero-aside.is-in .xmas-tag { animation: xmas-tag-turn 7s ease-in-out 1s 3; }
  .js .page-hero-aside.is-in .xmas-tag::after { animation: xmas-tag-light 7s ease-in-out 1s 3; }
}
@keyframes xmas-tag-drop { /* falls, the twine goes taut and gives a little, it bounces and settles */
  0% { translate: 0 calc(-1 * var(--drop)); opacity: 0; animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.35); }
  32% { opacity: 1; }
  54% { translate: 0 0.9rem; animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  72% { translate: 0 -0.35rem; animation-timing-function: ease-in-out; }
  87% { translate: 0 0.12rem; animation-timing-function: ease-in-out; }
  100% { translate: 0 0; opacity: 1; }
}
@keyframes xmas-tag-swing { /* a pendulum losing its swing around where it rests (2deg): the same time for each swing, less far every time */
  0% { rotate: 0deg; }
  8% { rotate: 10deg; }
  21% { rotate: -5deg; }
  34% { rotate: 7deg; }
  47% { rotate: -1.4deg; }
  60% { rotate: 4.2deg; }
  73% { rotate: 0.8deg; }
  86% { rotate: 2.6deg; }
  100% { rotate: var(--rest); }
}
@keyframes xmas-tag-sway { from { rotate: var(--rest); } to { rotate: calc(var(--rest) - 2.4deg); } }
@keyframes xmas-tag-turn { 0%, 100% { transform: rotateY(0deg); } 30% { transform: rotateY(-18deg); } 65% { transform: rotateY(11deg); } }
@keyframes xmas-tag-light { 0%, 100% { translate: -55% 0; } 30% { translate: 35% 0; } 65% { translate: -15% 0; } }

/* The Christmas specials at the top of the Christmas menu: the four cards on a panel in Christmas red, sprinkled with
   gold like the Christmas gift card, so they stand out from everything else on the page */
.xmas-feature {
  position: relative;
  padding: clamp(2.25rem, 1.25rem + 4vw, 4rem) clamp(1rem, 0.25rem + 3.5vw, 3.5rem) clamp(1.5rem, 1rem + 2.5vw, 3rem);
  color: var(--ivory-50);
  background-color: var(--noel-red-deep);
  background-image: var(--grain-dark), var(--noel-stars), radial-gradient(120% 90% at 18% 0%, var(--noel-red) 0%, var(--noel-red-deep) 58%, var(--bordeaux-900) 100%);
  box-shadow: 0 0 0 1px var(--bordeaux-900), var(--shadow-lift);
  outline: 1px solid rgba(243, 230, 196, 0.45); outline-offset: calc(-1 * var(--mat));
}
.xmas-feature-head { display: grid; justify-items: center; text-align: center; margin-bottom: var(--s-6); }
.xmas-feature-head .xmas-tree { width: 2.25rem; color: var(--gold-300); --tree-star: #f3e6c4; }
.xmas-feature-title { margin-top: var(--s-3); font: 400 var(--text-xl)/1.1 var(--font-display); color: var(--ivory-50); }
.xmas-feature-title em { font: 400 1.3em/1 var(--font-script); color: var(--gold-300); }
.xmas-feature-note { margin-top: var(--s-3); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-300); }
.xmas-feature .product-card { box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.7); }
.xmas-feature .carousel-count { color: var(--ivory-50); }
.xmas-feature .carousel-btn { --btn-fg: var(--ivory-50); --btn-line: var(--line-ivory-strong); }
.xmas-feature .carousel-btn:hover { --btn-bg: var(--ivory-50); --btn-fg: var(--noel-red-deep); --btn-line: var(--ivory-50); }
.xmas-feature .carousel-btn[aria-disabled="true"] { --btn-fg: rgba(251, 248, 241, 0.5); --btn-line: var(--line-ivory); }
.xmas-feature .carousel-all { color: var(--ivory-50); border-bottom-color: var(--gold-300); }
.xmas-feature .carousel-all:hover { color: var(--gold-300); }
.xmas-feature .carousel-bar :focus-visible, .xmas-feature .carousel-track:focus-visible { outline-color: var(--gold-300); }

/* What is on the Christmas menu, as links to each part of it */
.menu-index { margin: calc(-1 * var(--s-4)) auto var(--s-7); }
.menu-index ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-3); margin: 0; padding: 0; list-style: none; }
.menu-index a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-4);
  border: 1px solid var(--line-gold); border-radius: var(--radius); background-color: var(--ivory-50);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-900);
  transition: background-color .3s, border-color .3s, color .3s;
}
.menu-index a:hover { background-color: var(--green-900); border-color: var(--green-900); color: var(--ivory-50); }
.menu-index li:first-child a { border-color: var(--line-noel); color: var(--noel-red); }
.menu-index li:first-child a:hover { background-color: var(--noel-red); border-color: var(--noel-red); color: var(--ivory-50); }
.xmas-menu { margin-top: var(--s-9); }

/* The seasonal band on the home page */
.season { padding-block: var(--s-8); }
.season-inner { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-7); align-items: center; }
.season-title { margin-top: var(--s-2); font: 400 var(--text-xl)/1.15 var(--font-display); color: var(--green-950); }
.season-copy > p:not(.kicker) { margin-top: var(--s-2); max-width: 38rem; color: var(--ink-900); }

/* ---------- Doors: the way from one counter to the next ---------- */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 0.5rem + 2.5vw, 3rem); }
.door { display: flex; }
.door .note-card { transition: outline-color .4s var(--ease), border-color .4s var(--ease); }
.door:hover .note-card { border-color: var(--gold-500); outline-color: var(--line-gold); }
.door .link-arrow { margin-top: var(--s-2); margin-inline: auto; }
/* Under the doors on the shop page: delivery, through the two apps */
.delivery { max-width: 40rem; margin: var(--s-8) auto 0; text-align: center; color: var(--ink-700); }
.delivery p + p { margin-top: var(--s-3); }
.delivery-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4); margin-top: var(--s-5); }
.delivery-logo {
  display: inline-flex; align-items: center; justify-content: center; width: 14rem; max-width: 100%; min-height: 4.5rem; padding: var(--s-5) var(--s-6);
  background-color: var(--ivory-50); border: 1px solid var(--line-gold); border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.delivery-logo:hover { border-color: var(--gold-500); box-shadow: 0 12px 24px -16px rgba(28, 26, 23, 0.45); }
.door:hover .link-arrow { border-color: var(--gold-500); color: var(--gold-800); }
.door:hover .link-arrow::after { transform: translateX(5px); }

/* ---------- Carousel: a row of cards that moves sideways, so a long list never takes the whole page.
   Swipe it, use the two buttons under it, or the arrow keys once it has focus.
   "Show all" lays every card out at once for anyone who would rather not page through. ---------- */
.carousel { --per: 3; --gap: clamp(1rem, 0.5rem + 1.6vw, 2rem); min-width: 0; container-type: inline-size; }
.carousel--4 { --per: 4; }
.carousel-track {
  position: relative; /* holds the screen-reader-only text of its cards, which would otherwise widen the page from off-screen cards */
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  padding: var(--s-1) 2px var(--s-2); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { min-width: 0; scroll-snap-align: start; }
.carousel-slide > .product-card { height: 100%; }
.carousel-bar { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.carousel-nav { display: flex; align-items: center; gap: var(--s-4); }
.carousel-btn { gap: var(--s-3); }
/* Dimmed, but it keeps the keyboard: the words and the border fade, never the focus ring */
.carousel-btn[aria-disabled="true"] { --btn-fg: var(--ink-500); --btn-line: var(--line-ink); cursor: default; pointer-events: none; }
.carousel-arrow {
  width: 1.75rem; height: 0.625rem; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
.carousel-arrow--prev { transform: scaleX(-1); }
.carousel-count { min-width: 6.5rem; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-700); }
/* Where the row is too narrow for Back, the count and Next side by side, the count sits above the two buttons */
@container (max-width: 18.5rem) {
  .carousel-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .carousel-count { order: -1; flex-basis: 100%; }
}
.carousel-all {
  min-height: var(--tap); padding: var(--s-3) 0 var(--s-1); background: none; border: 0; border-bottom: 1px solid var(--line-gold); cursor: pointer;
  font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--green-900);
  transition: border-color .3s, color .3s;
}
.carousel-all:hover { border-color: var(--gold-500); color: var(--gold-800); }
.kraft .carousel-all:hover { color: var(--green-950); } /* gold is too faint on kraft */
.kraft .menu-sheet .carousel-all:hover { color: var(--gold-800); } /* paper laid on kraft goes back to gold */
.carousel.is-all .carousel-track {
  grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); overflow: visible; scroll-snap-type: none;
}
.carousel.is-all .carousel-btn { display: none; }
/* Nothing to page through (every card is on show), or no script to run the buttons: the bar steps aside */
.carousel.is-static .carousel-bar, html:not(.js) .carousel-bar { display: none; }
.kraft .carousel-count, .kraft .group-note { color: var(--ink-900); }

/* ---------- Product card: one thing that can be ordered, printed on the house paper ---------- */
.product-card {
  --buy-w: 8.5rem;
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6) var(--s-5) var(--s-5);
  background-color: var(--ivory-50); background-image: var(--grain-paper); color: var(--ink-700);
  border: 1px solid var(--line-gold); outline: 1px solid var(--line-gold-soft); outline-offset: -7px;
}
.product-card .card-fr, .product-card .card-name, .product-card .card-desc { margin-top: 0; }
.product-card .card-desc { max-width: none; color: var(--ink-700); }
/* The Christmas items: the same card in Christmas red — the tree, the frame, the name of the range and the buttons */
.product-card--noel { border-color: var(--line-noel); outline-color: var(--line-noel-soft); }
.product-card--noel .card-fr { color: var(--noel-red); }
.product-card--noel .product-foot { border-top-color: var(--line-noel-soft); }
.product-card--noel .btn--add { --btn-bg: var(--noel-red); --btn-line: var(--noel-red); }
.product-card--noel .btn--add:hover { --btn-bg: var(--noel-red-deep); --btn-line: var(--noel-red-deep); }
.product-card--noel .stepper { border-color: var(--noel-red); color: var(--noel-red); }
.product-card--noel .stepper button:hover { background-color: var(--noel-red); color: var(--ivory-50); }
.product-foot {
  margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line-gold-soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-4);
}
.product-card .buy { min-width: 0; }
/* A cake's sizes: each one a line that can be added on its own */
.size-list { margin-top: auto; border-top: 1px solid var(--line-gold-soft); }
.size-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--line-gold-soft); }
.size-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.size { flex: 1 1 5rem; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-3); line-height: 1.4; }
.size .size-note { flex-basis: 100%; margin-left: 0; }

/* ---------- Gift card: the green card and its white envelope; at Christmas the card is bordeaux.
   The envelope is the house paper, so it stands out on kraft and on green alike. ---------- */
.giftcard-stack { position: relative; width: min(100%, 27rem); aspect-ratio: 27 / 20; }
.giftcard-envelope {
  position: absolute; right: 0; bottom: 0; width: 88%; aspect-ratio: 1.5; display: grid; place-items: end; padding: 1.1rem 1.4rem;
  background-color: var(--ivory-50); background-image: var(--grain-paper); color: var(--green-900);
  border-radius: 3px; transform: rotate(4deg); box-shadow: 0 0 0 1px var(--line-gold-soft), 0 30px 50px -28px rgba(0, 0, 0, 0.7);
}
.giftcard-envelope::before { /* the flap: a fold that deepens towards its point */
  content: ""; position: absolute; inset: 0 0 auto; height: 56%; clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(180deg, rgba(28, 26, 23, 0.03), rgba(28, 26, 23, 0.1));
}
.giftcard-envelope .logo-mark { width: 5.25rem; }
.giftcard {
  container-type: inline-size;
  position: absolute; left: 0; top: 0; width: 84%; aspect-ratio: 1.586;
  background-color: var(--green-900); background-image: var(--grain-dark), radial-gradient(120% 90% at 18% 0%, var(--green-700) 0%, var(--green-900) 62%);
  color: var(--gold-300); border-radius: 10px; transform: rotate(-5deg);
  box-shadow: 0 0 0 1px rgba(216, 200, 162, 0.35), 0 40px 60px -28px rgba(0, 0, 0, 0.8);
  transition: transform .9s var(--ease);
}
.giftcard-stack:hover .giftcard, .gift:hover .giftcard { transform: rotate(-3deg) translateY(-4px); }
.giftcard::before { content: ""; position: absolute; inset: 0.55rem; border: 1px solid var(--line-gold); border-radius: 6px; pointer-events: none; }
.giftcard .foil { background-image: var(--foil-bright); color: var(--gold-300); }
.giftcard .logo-seal, .giftcard-emblem { position: absolute; left: 7.5%; top: 14%; width: 33%; }
/* The Christmas card: the same card in Christmas red, sprinkled with gold, the Christmas stamp struck in gold where the seal goes */
.giftcard--noel {
  background-color: var(--noel-red-deep);
  background-image: var(--grain-dark), var(--noel-stars), radial-gradient(120% 90% at 18% 0%, var(--noel-red) 0%, var(--noel-red-deep) 58%, var(--bordeaux-900) 100%);
  background-size: auto, 38% auto, auto;
}
.giftcard-emblem { color: var(--gold-300); }
.giftcard-emblem svg { display: block; width: 100%; height: auto; }
.giftcard-script { position: absolute; right: 8%; top: 15%; font: 400 2rem/1 var(--font-script); font-size: 10.5cqw; white-space: nowrap; }
.giftcard-label { position: absolute; right: 8.5%; top: 37%; font-size: 0.7rem; font-size: 3.4cqw; font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; }
.giftcard-amount { position: absolute; right: 8%; bottom: 13%; font: 400 3rem/0.9 var(--font-display); font-size: 16cqw; }
.giftcard-foot { position: absolute; left: 8.5%; bottom: 14.5%; font-size: 0.6rem; font-size: 2.7cqw; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }

.gift { display: grid; gap: var(--s-7); }
.gift-copy p { margin-top: var(--s-3); }
.amounts { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.amounts a {
  display: grid; place-items: center; min-width: 5.5rem; min-height: var(--control-h); padding: 0 var(--s-4);
  border: 1.5px solid var(--line-ivory-strong); border-radius: var(--radius);
  font: 600 1.5rem/1 var(--font-display); font-variation-settings: "opsz" 12; color: var(--ivory-50);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.amounts .amounts-other { font: 500 var(--text-xs)/1.2 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; }
.amounts a:hover { background-color: var(--ivory-50); background-image: var(--grain-paper); color: var(--green-950); border-color: var(--gold-500); }
.gift-how a { color: var(--ivory-50); }
.gift-how a:hover { color: var(--gold-300); }
.gift-copy .btn { margin-top: var(--s-5); }

.gift-shop-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 1rem + 6vw, 7rem); align-items: start; }
/* The card stays in view beside the form, showing the amount and the design as they are chosen */
.gift-shop-grid > :first-child { position: sticky; top: calc(var(--strip-h) + 4.25rem + var(--s-7)); }
.gift-shop-grid > *, .shelf > *, .order-layout > * { min-width: 0; }
.amount-field { margin: var(--s-7) 0 0; padding: 0; border: 0; min-width: 0; }
.amount-field legend, .gift-step { padding: 0; font: 400 var(--text-lg)/1.3 var(--font-display); color: var(--ivory-50); }
.amount-tiles { margin-top: var(--s-4); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.amount-tile, .choice-tile { position: relative; display: block; cursor: pointer; }
.amount-tile input, .choice-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amount-tile span {
  display: grid; place-items: center; min-height: 4.75rem; border: 1.5px solid var(--line-ivory-strong); border-radius: var(--radius);
  font: 600 var(--text-xl)/1 var(--font-display); font-variation-settings: "opsz" 12; color: var(--ivory-50);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.amount-tile--other span { font: 500 var(--text-xs)/1.2 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; }
/* Two side by side: the card's design, and who it is for */
.choice-tiles { margin-top: var(--s-4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.choice-tiles--wide { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } /* side by side only where both fit with their tick */
.choice-tile > span {
  display: flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: var(--control-h); padding: var(--s-2) var(--s-6);
  border: 1.5px solid var(--line-ivory-strong); border-radius: var(--radius); color: var(--ivory-50);
  font-size: var(--text-base); font-weight: 500; line-height: 1.3; text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.design-chip { flex: none; width: 2rem; aspect-ratio: 1.586; border-radius: 3px; background-color: var(--green-900); background-image: var(--grain-dark); box-shadow: 0 0 0 1px var(--gold-500); }
.design-chip--noel { background-color: var(--noel-red); }
.amount-tile:hover span, .choice-tile:hover > span { border-color: var(--ivory-50); }
/* The chosen amount turns to paper with dark figures, and carries a tick: the choice never rests on colour alone */
.amount-tile input:checked + span, .choice-tile input:checked + span {
  background-color: var(--ivory-50); background-image: var(--grain-paper); color: var(--green-950);
  border-color: var(--gold-500); box-shadow: inset 0 0 0 1px var(--gold-500);
}
.amount-tile input:checked + span::after, .choice-tile input:checked + span::after {
  content: ""; position: absolute; top: 0.45rem; right: 0.45rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green-900) var(--tick) center / 0.7rem no-repeat;
}
.amount-tile input:focus-visible + span, .choice-tile input:focus-visible + span { outline: 3px solid var(--gold-300); outline-offset: 3px; }
/* The fields that open under a choice: an amount of your own, and who the card is for */
.gift-more { margin-top: var(--s-4); display: grid; gap: var(--s-4); }
.gift-form .field label { color: var(--ivory-50); }
.gift-form .optional, .gift-form .field-hint { color: var(--text-on-green); }
.gift-form .field-error { color: var(--error-on-dark); }
.gift-form .field [aria-invalid="true"] { border-color: var(--error-on-dark); }
.gift-form .field input:focus, .gift-form .field textarea:focus { outline-color: var(--gold-300); }
.money-field {
  display: flex; align-items: center; max-width: 12rem; margin-top: var(--s-2);
  background-color: var(--ivory-50); border: 1px solid var(--ink-500); border-radius: var(--radius); color: var(--ink-900);
}
.money-field > span { padding-left: var(--s-4); font-size: var(--text-base); }
.field .money-field input { margin-top: 0; padding-left: var(--s-2); border: 0; }
.field .money-field input:focus { outline: none; }
.money-field:focus-within { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.money-field:has([aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--error-on-dark); }
.gift-step { margin-top: var(--s-6); }
.gift-form .btn { margin-top: var(--s-4); padding-block: var(--s-3); white-space: normal; text-align: center; line-height: 1.5; }
.gift-status { margin-top: var(--s-4); min-height: 1.7em; color: var(--gold-300); }
.gift-status a { border-bottom: 1px solid var(--gold-500); color: var(--ivory-50); }
.gift-ways { margin-top: var(--s-6); border-top: 1px solid var(--line-ivory); }
.gift-ways li { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line-ivory); }
.gift-ways strong { padding-top: 0.35em; font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-300); }
.gift-ways a { color: var(--ivory-50); border-bottom: 1px solid var(--gold-500); }

/* ---------- The order page ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.step + .step { margin-top: var(--s-8); }
.step-head { margin-bottom: var(--s-5); }
.order-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--s-2) var(--s-5); align-items: center; padding-block: var(--s-4); border-bottom: 1px solid var(--line-gold-soft); }
.order-lines .price { min-width: 5.5rem; text-align: right; font-size: 1.35rem; }
.line-details { display: block; margin-top: var(--s-1); font-size: var(--text-sm); color: var(--ink-700); overflow-wrap: anywhere; }
.line-message { grid-column: 1 / -1; }
.line-message input { max-width: 28rem; }
.line-remove {
  display: block; margin-top: var(--s-1); padding: var(--s-2) 0; min-height: var(--tap); background: none; border: 0; cursor: pointer;
  font-size: var(--text-sm); color: var(--ink-700); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 0.25em;
}
.line-remove:hover { color: var(--stamp-bordeaux); }
.order-confirm { max-width: 48rem; margin-inline: auto; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); }
.field-grid + .notice, .notice + .field-grid { margin-top: var(--s-5); }
.summary { position: sticky; top: calc(var(--strip-h) + 4.25rem + var(--s-5)); }
.totals div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line-gold-soft); }
.totals dt { color: var(--ink-700); }
.totals dd { text-align: right; font: 400 1.35rem/1.2 var(--font-display); color: var(--green-900); }
.totals .totals-sum dd { font-size: var(--text-xl); font-weight: 500; font-variation-settings: "opsz" 14; color: var(--gold-800); } /* as sturdy as the prices above it */
.summary .btn { width: 100%; margin-top: var(--s-6); white-space: normal; }
.summary-note { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--ink-500); }
.summary-note a, .order-help a { border-bottom: 1px solid var(--gold-500); white-space: nowrap; }
.order-help { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-gold); font: italic 400 var(--text-lg)/1.35 var(--font-display); color: var(--green-800); }
.order-empty { max-width: 40rem; margin-inline: auto; }
.order-empty .btn { margin-top: var(--s-2); align-self: center; }
.order-empty .note-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: var(--s-2); }
.order-empty .note-foot a {
  display: inline-flex; align-items: center; min-height: var(--tap); border-bottom: 0;
  text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 0.3em;
}
.order-text {
  margin: var(--s-5) 0 0; padding: var(--s-5); max-height: 24rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  background-color: var(--ivory-100); border: 1px dashed var(--kraft-400); font: 400 var(--text-base)/1.6 var(--font-body); color: var(--ink-900);
}
.confirm-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.confirm-steps { margin: var(--s-5) 0 0; padding: 0; list-style: none; counter-reset: step; }
.confirm-steps li { position: relative; padding: var(--s-3) 0 var(--s-3) 3rem; border-bottom: 1px solid var(--line-gold-soft); counter-increment: step; }
.confirm-steps li::before { content: counter(step); position: absolute; left: 0; top: var(--s-2); font: italic 400 1.6rem/1.2 var(--font-display); color: var(--gold-700); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .print.reveal, .js .reveal .print { transition: none; }
.js .reveal-stamp { opacity: 0; }
.js .reveal-stamp.is-in { animation: stamp-down .5s var(--ease-stamp) both; }
@keyframes stamp-down {
  0% { opacity: 0; transform: rotate(var(--r)) scale(1.45); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--r)) scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-side { gap: var(--s-4); }
  .nav-list { gap: var(--s-5); }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 4.5rem; }
  .header-inner { grid-template-columns: 1fr auto 1fr; gap: var(--s-3); }
  .nav-toggle { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
  .nav { grid-column: 1; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; }
  .header-side { grid-column: 3; grid-row: 1; }
  .header-side .header-link, .order-link-your { display: none; }
  .order-link { padding: 0 var(--s-4); }
  .brand .logo-mark, .is-scrolled .brand .logo-mark { width: 6.5rem; }
  .nav-list {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; justify-content: safe center; gap: var(--s-2);
    padding-block: calc(var(--strip-h) + var(--header-h)) var(--s-6); overflow-y: auto;
    background-color: var(--green-950); background-image: var(--grain-dark); color: var(--ivory-50);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; }
  .nav-list a { display: block; font: 400 2rem/1.2 var(--font-display); letter-spacing: 0; text-transform: none; }
  .nav-extra { display: block; }
  .nav-list .nav-contact a { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--tap); font: 500 var(--text-md)/1.4 var(--font-body); }
  .nav-list .nav-contact svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--gold-300); }
  .nav-list .nav-extra + .nav-contact { margin-top: var(--s-5); }
  .nav-list .nav-contact + .nav-contact { margin-top: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: var(--ivory-50); background: none; box-shadow: none; }

  .hero { display: block; min-height: 0; }
  .hero-media {
    position: relative; inset: auto; width: 100%; aspect-ratio: 5 / 4;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero-media img { object-position: 78% 60%; }
  .hero::before { background: var(--grain-dark), linear-gradient(180deg, rgba(7, 29, 25, 0.82) var(--strip-h), rgba(7, 29, 25, 0) calc(var(--strip-h) + 9.5rem)); }
  .hero-inner { padding-top: var(--s-6); padding-bottom: var(--s-9); }
  .hero-meta { margin-right: 0; }
  .seal { bottom: -3.75rem; }
  .ribbon-inner { flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-top: var(--s-8); padding-right: 0; }
  .ribbon-inner--full { padding-top: var(--s-6); } /* no seal to clear on the other pages */
  .xmas-tag-wrap { --string: 4rem; --drop: 6rem; } /* the tag now hangs under the buttons: its twine stops short of them, and it falls less far */

  .signature-grid, .boulangerie-grid, .story-grid, .beyond-grid, .visit-grid { grid-template-columns: 1fr; }
  .signature-media { max-width: 24rem; margin-inline: auto; }
  .stamp--postmark { right: 0; bottom: -3.25rem; width: 10.5rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-head { grid-template-columns: auto 1fr; }
  .group-note { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .duo { grid-template-columns: 1fr; }
  .print { margin-inline: auto; }
  .press-grid { grid-template-columns: 1fr; }
  .press-item + .press-item { border-left: 0; border-top: 1px solid var(--line-gold); padding-top: var(--s-7); }
  .press-item .link-arrow { margin-top: 0; }
  .stamp--house { right: 0.5rem; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head-aside { padding-right: 0; padding-bottom: 7.5rem; }
  .stamp--oval { top: auto; bottom: 0; right: 0.5rem; margin-top: 0; }
  .spec div { grid-template-columns: 5.5rem 1fr; }
  .duo-item { grid-template-columns: 6.5rem 1fr; gap: var(--s-5); align-items: start; }
  .facts { grid-template-columns: 1fr; }
  .facts span { max-width: none; }
  .enquiry { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { padding-bottom: var(--s-7); }
  .footer-top { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-7); }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
  .footer-delivery { flex-direction: row; }
  .footer-delivery a { flex: 1 1 0; width: auto; min-width: 0; padding-inline: var(--s-3); } /* the two tiles share the width */
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom p:last-child { text-align: center; }
  .footer-fleur { order: -1; justify-self: center; }
  .price-foot { padding-right: 0; padding-bottom: 5.5rem; }
  .stamp--house { width: 7.75rem; bottom: -2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-stamp { opacity: 1; transform: none; }
  .js .reveal-stamp, .js .reveal-stamp.is-in { animation: none; transform: rotate(var(--r)); }
}

/* ---------- Responsive: shop, menus and the order page ---------- */
@media (max-width: 1100px) {
  .nav-list { gap: var(--s-4); }
  .carousel--4 { --per: 3; }
  .season-inner { grid-template-columns: auto 1fr; }
  .season-inner > .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 1000px) {
  .header-link { display: none; } /* below this the two links live in the menu and the footer */
}

@media (max-width: 1100px) {
  .strip-long { display: none; }
  .strip-short { display: inline; }
}
@media (max-width: 900px) {
  .js .strip-note.is-current { display: none; } /* too long for a phone's strip: the home page's opening hours and the order page say it */
}
@media (max-width: 600px) {
  .strip-inner { gap: var(--s-2); }
  .strip-link--icon { display: none; } /* Instagram is in the menu on a phone */
  .strip-phone { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .strip-link { min-width: var(--tap); justify-content: center; }
  /* A long label wraps inside its button rather than pushing the page sideways */
  .hero-actions .btn { white-space: normal; text-align: center; line-height: 1.4; padding-block: var(--s-3); }
}
/* A short window (a phone on its side, a page zoomed in) gives the strip's room back to the page, unless the strip says
   something tied to dates (the summer break, Christmas orders closed). At this width the phone is in the menu. */
@media (max-height: 32rem) and (max-width: 900px) {
  :root:not(.strip-dated) { --strip-h: 0rem; }
  :root:not(.strip-dated) .header-strip { display: none; }
}
@container (max-width: 23.75rem) {
  .strip-icon { display: none; } /* the words keep the room on the narrowest phones */
}

@media (max-width: 900px) {
  .page-hero { padding-top: calc(var(--strip-h) + var(--header-h) + var(--s-7)); padding-bottom: var(--s-8); }
  .page-hero-inner, .shelf, .gift-shop-grid, .order-layout { grid-template-columns: 1fr; }
  .gift-shop-grid > :first-child { position: static; }
  .carousel, .carousel--4 { --per: 2.1; } /* the next card always shows its edge: there is more to the side */
  .page-hero-aside { justify-self: center; }
  .page-hero-aside--photo { display: none; }
  .summary { position: static; }
  .doors { grid-template-columns: 1fr; }
  .giftcard-stack { margin-inline: auto; }
}

@media (max-width: 600px) {
  .order-lines li { grid-template-columns: minmax(0, 1fr) auto; }
  .order-lines .stepper { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .season-inner { grid-template-columns: 1fr; justify-items: start; gap: var(--s-5); }
  .season-inner > .btn { grid-column: 1; }
  .amount-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amount-tile--other { grid-column: 1 / -1; }
  .amount-tile--other span { min-height: var(--control-h); }
  .carousel, .carousel--4 { --per: 1.12; }
  .carousel-bar { justify-content: center; }
  .carousel-nav { width: 100%; justify-content: space-between; gap: var(--s-2); }
  .carousel-btn { padding: 0 var(--s-3); gap: var(--s-2); }
  .carousel-count { min-width: 0; }
  .giftcard-stack { width: 92%; } /* leaves room for the tilt, so no corner is cut by the screen edge */
  .gift-form .btn { width: 100%; }
  .gift-ways li { grid-template-columns: 1fr; gap: var(--s-1); }
  .field-grid { grid-template-columns: 1fr; }
  .order-bar-inner { gap: var(--s-3); }
  .order-bar .btn { padding: 0 var(--s-4); }
  .order-bar-text strong { font-size: var(--text-md); }
  .order-bar-more { display: none; }
  .notice { padding-inline: var(--s-5); gap: var(--s-3); } /* the words keep the width of the card */
  .menu-foot { flex-direction: column; align-items: center; }
  .confirm-actions .btn { flex: 1 1 100%; }
}

/* ---------- Print: the menus come out as clean sheets ---------- */
@media (prefers-reduced-motion: reduce) {
  .carousel-track { scroll-behavior: auto; }
}

@media print {
  .carousel-track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .carousel-bar { display: none !important; }
  .site-header, .site-footer, .order-bar, .skip-link, .buy, .hero-actions, .ribbon, .doors, .notice a::after { display: none !important; }
  body, .paper, .kraft, .green, .notice { background: #fff !important; color: #000 !important; }
  .notice { box-shadow: none; outline-color: #000; }
  .notice strong, .notice a { color: #000 !important; }
  .notice .fleur { color: var(--gold-700); }
  .page-hero { padding: 0 0 1rem; }
  .page-hero .hero-title, .page-hero .hero-lede, .page-hero .kicker { color: #000 !important; -webkit-text-fill-color: #000; }
  .foil { background: none !important; -webkit-text-fill-color: currentColor; color: #000 !important; } /* foil is transparent text over a gradient: it would print blank */
  .display--light, .lede--light, .kicker--light { color: #000 !important; }
  .page-hero-aside { display: none; }
  .section { padding-block: 1rem; }
  .menu-sheet { box-shadow: none; width: 100%; break-inside: avoid-page; }
  .js .reveal, .js .reveal-stamp { opacity: 1 !important; transform: none !important; }
}
