/* =========================================================================
   FLKY — butter. flour. obsession.

   Type: Archivo (variable width + weight) carries the wordmark, the display
         headings and the small utility labels. The width axis does the work:
         the logo opens to 125, the captions close down to 78. One family,
         two very different voices.
         Newsreader sets the reading copy.

   Motion: the page is a sequence, not a scroll. Three scenes are pinned —
         the hero aperture, the fold, the bake — and each one only plays if
         the browser has JavaScript and the reader has not asked for less
         motion. Every scene's CSS default is a legible static layout, so
         nothing depends on the animation arriving.
   ========================================================================= */

:root {
  /* FLKY's palette is specified in Pantone. Printed, those values are the
     authority. On a backlit screen the coated swatches sit too close together
     and the page goes muddy, so each one is taken to the same hue at a
     display-legible lightness: paper lifts, brown deepens, the accents gain
     enough chroma to read as accents. Print uses the Pantone column. */
  --brown:      #2E1A10;   /* PANTONE 4625 C, deepened   · logo, headlines   */
  --paper:      #F4EBD9;   /* PANTONE 468 C,  lifted     · the page          */
  --stone:      #E7DBC3;   /* PANTONE 7527 C, warmed     · cards, panels     */
  --terracotta: #A9563F;   /* PANTONE 7608 C             · accents on paper  */
  --clay:       #D08A6E;   /* the same accent, lifted    · accents on brown  */
  --rose:       #B05E70;   /* PANTONE 7433 C             · second accent     */
  --black:      #000000;   /* overlays, very small type                      */

  /* --accent is whichever of the two reads on the ground it sits on. Dark
     sections re-point it at --clay rather than restating every rule. */
  --accent: var(--terracotta);

  --brown-soft: color-mix(in srgb, var(--brown) 58%, var(--paper));
  --ink:  var(--brown);
  --rule: color-mix(in srgb, var(--brown) 20%, transparent);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text:    "Newsreader", Georgia, "Times New Roman", serif;

  --bar:  2.4rem;          /* the Zomato strip */
  --pad:  clamp(1.25rem, 5vw, 5.5rem);
  --gap:  clamp(2.5rem, 6vw, 6rem);
  --sect: clamp(5rem, 12vw, 11rem);

  --ease: cubic-bezier(.2, .7, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1rem, .55vw + .9rem, 1.1875rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brown); color: var(--paper); padding: .75rem 1rem;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- type --- */

.head {
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 780;
  font-size: clamp(2.4rem, 7.2vw, 6rem);
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
}
.head--xl { font-size: clamp(2.8rem, 8.6vw, 7.5rem); }
.head--md { font-size: clamp(1.9rem, 4.6vw, 3.9rem); }
.head em { font-style: normal; color: var(--brown-soft); }

.body {
  font-size: clamp(1.05rem, .7vw + .95rem, 1.45rem);
  line-height: 1.5;
  max-width: 34ch;
  margin: 0;
}

.lede {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-size: clamp(1.05rem, 1.4vw + .7rem, 1.6rem);
  line-height: 1.25;
  margin: 0;
}

.aside {
  font-style: italic;
  font-size: clamp(1.05rem, .8vw + .9rem, 1.55rem);
  color: var(--brown-soft);
  max-width: 26ch;
  margin: 0;
}

.meta, .eyebrow {
  font-family: var(--display);
  font-variation-settings: "wdth" 78, "wght" 600;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0;
}
.meta { color: var(--brown-soft); }
.eyebrow { color: var(--accent); margin-bottom: 1.25rem; }

.tagline {
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 500;
  font-size: clamp(.95rem, 2.1vw, 1.7rem);
  letter-spacing: .04em;
  margin: 0;
}

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 650;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.9em;
  background: var(--brown);
  color: var(--paper);
  border: 1px solid var(--brown);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--brown); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brown); }
.btn--ghost:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.btn--sm { padding: .72em 1.35em; font-size: .7rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------------------------------- lamination rule --- */
/* A section break drawn as a cross-section of laminated dough: thick, thin,
   thick, thin — the rhythm you see when you tear a croissant open.          */

.lam { display: grid; gap: 3px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.lam i { display: block; background: currentColor; }
.lam i:nth-child(1) { height: 3px; opacity: .9; }
.lam i:nth-child(2) { height: 1px; opacity: .55; }
.lam i:nth-child(3) { height: 2px; opacity: .75; }
.lam i:nth-child(4) { height: 1px; opacity: .4; }
.lam i:nth-child(5) { height: 1px; opacity: .28; }
.lam i:nth-child(6) { height: 1px; opacity: .16; }

/* ------------------------------------------------------------------ nav --- */

.nav {
  position: fixed;
  inset: var(--bar) 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: .85rem var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  /* The nav sits below the strip, so hiding it has to clear its own height
     AND that offset — otherwise a sliver of it shows over the hero. */
  transform: translateY(calc(-100% - var(--bar) - 2px));
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.nav.is-up { transform: none; border-bottom-color: var(--rule); }

.nav__mark {
  font-family: var(--display);
  font-variation-settings: "wdth" 125, "wght" 800;
  font-size: 1.25rem;
  text-decoration: none;
  margin-right: auto;
}

.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__links a {
  font-family: var(--display);
  font-variation-settings: "wdth" 82, "wght" 550;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.nav__links a:hover { border-bottom-color: var(--accent); color: var(--brown-soft); }

@media (max-width: 720px) { .nav__links { display: none; } }

/* ============================== SCENE 1 · HERO ========================== */
/* The aperture. It opens from a band into the whole screen while the
   wordmark walks past the camera.                                          */

.js .hero { height: 260vh; }

.hero__stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.js .hero__stage { position: sticky; top: 0; }

.hero__plate { position: absolute; inset: 0; z-index: 1; clip-path: inset(62% 0% 0% 0%); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

.hero__copy {
  position: absolute;
  z-index: 3;
  left: 0; right: 0;
  top: clamp(4rem, 11svh, 7.5rem);
  padding: 0 var(--pad);
  display: grid;
  gap: clamp(1.5rem, 4svh, 2.75rem);
  justify-items: start;
}

/* FLAKY loses its vowel and the survivors widen to take the space it left
   behind. The missing letter is the logo.                                  */
.wordmark {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, min(28.5vw, 33svh), 27rem);
  line-height: .82;
  align-self: stretch;
  letter-spacing: -.045em;
}
.wordmark__l {
  display: block;
  max-width: 3em;
  overflow: hidden;
  font-variation-settings: "wdth" 78, "wght" 820;
  transition:
    font-variation-settings 1.1s var(--ease),
    max-width 1.1s var(--ease),
    opacity .5s var(--ease),
    transform .75s var(--ease);
}
.wordmark.is-flky .wordmark__l { font-variation-settings: "wdth" 125, "wght" 820; }
.wordmark.is-flky .wordmark__l--vowel {
  max-width: 0;
  opacity: 0;
  transform: translateY(.42em) rotate(7deg);
}

.hero__mark { align-self: stretch; transform-origin: 8% 40%; }
.hero__foot { display: grid; gap: 1.25rem; }

.hero__cue {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: clamp(1.75rem, 6vh, 3.5rem);
  color: color-mix(in srgb, var(--paper) 85%, transparent);
}

.hero__caption {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  bottom: clamp(1.75rem, 6vh, 3.5rem);
  opacity: 0;
  color: color-mix(in srgb, var(--paper) 85%, transparent);
}

@media (max-width: 860px) {
  .hero__plate { clip-path: inset(66% 0% 0% 0%); }
  .hero__foot .lede { font-size: 1rem; }
}

/* ============================ SCENE 2 · OUR STORY ======================= */

.story { padding: var(--sect) 0 0; }
.story .lam,
.story .eyebrow,
.story .head,
.story__grid { margin-inline: var(--pad); }
.story .eyebrow { margin-bottom: 1.25rem; }

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.story__copy { display: grid; gap: 1.5rem; }
.story__copy .body { max-width: 42ch; }

/* What we leave out, set as a stack of hairlines — the same cross-section
   rhythm as the section rules, at reading size. */
.nots { align-self: start; }
.nots li {
  padding: .55rem 0;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-variation-settings: "wdth" 96, "wght" 500;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  letter-spacing: .01em;
}
.nots li:last-child { border-bottom: 1px solid var(--rule); }
.nots li em {
  font-style: normal;
  font-variation-settings: "wdth" 96, "wght" 750;
}

@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================== SCENE 3 · THE FOLD ====================== */

/* No section margin here. The story ends on a full-bleed photograph and the
   fold opens on one, so a gap between them is a strip of paper between two
   pictures rather than breathing room. Full-bleed panels meet edge to edge. */
.panel--full { min-height: clamp(30rem, 86vh, 52rem); }

/* ============================== SCENE 4 · THE BAKE ====================== */
/* The products are a rail you push sideways yourself. It is a real horizontal
   scroller rather than a pinned section that converts your wheel — so the page
   never stops responding to a downward scroll, which the pinned version did. */

.bake {
  padding: var(--sect) 0;
  background: var(--brown);
  color: var(--paper);
  --accent: var(--clay);
  --rule: color-mix(in srgb, var(--paper) 20%, transparent);
}
.bake .meta { color: color-mix(in srgb, var(--paper) 58%, transparent); }

.bake__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem clamp(1rem, 3vw, 2.5rem);
  padding: 0 var(--pad) clamp(2rem, 5vw, 3.25rem);
}
.bake__head .eyebrow { flex-basis: 100%; margin-bottom: .35rem; }
.bake__hint { margin-left: auto; }

.rail {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 0 var(--pad) 1.5rem;
  overflow-x: auto;
  /* Setting overflow on one axis makes the browser compute the other as auto,
     which turns the rail into a vertical scroller too and lets it swallow the
     wheel — the page stops dead the moment the pointer is over the products.
     Pinning the y axis to hidden hands vertical scroll back to the page. */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  perspective: 1600px;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }

.chapter {
  flex: 0 0 auto;
  width: min(23rem, 74vw);
  scroll-snap-align: start;
  transform-style: preserve-3d;
}
.chapter a { display: block; text-decoration: none; }
.chapter figure { overflow: hidden; }
.chapter img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.chapter a:hover img { transform: scale(1.05); }

.chapter__meta { margin-top: 1.1rem; }
.chapter__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 108, "wght" 700;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: .5rem 0 .5rem;
  transition: color .3s var(--ease);
}
.chapter a:hover .chapter__name { color: var(--accent); }
.chapter__note {
  margin: 0;
  color: color-mix(in srgb, var(--paper) 64%, transparent);
  font-size: 1.02rem;
  line-height: 1.4;
}

.bake__progress {
  height: 1px;
  margin: clamp(1rem, 3vw, 2rem) var(--pad) 0;
  background: color-mix(in srgb, var(--paper) 20%, transparent);
}
.bake__progress i { display: block; height: 1px; width: 12%; background: var(--accent); }

@media (max-width: 640px) {
  .bake__hint { margin-left: 0; flex-basis: 100%; }
}

/* =========================== SCENE 5 · INGREDIENTS ====================== */

.ingredients { background: var(--stone); }

.ingredients__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: end;
  margin: 0 var(--pad) clamp(2.5rem, 6vw, 4.5rem);
}

/* =========================== SCENE 6 · BY HAND ========================== */
/* The editorial photographs are painted as backgrounds with the words on top
   of them: it reads better, it moves under the copy as you scroll, and it is
   not an <img> anybody can drag off the page. */

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 1.5rem;
  padding: clamp(1.75rem, 5vw, 4rem);
  color: var(--paper);
  --accent: var(--clay);
  -webkit-user-select: none;
  user-select: none;
}
.panel--wide { min-height: clamp(22rem, 62svh, 42rem); }
.panel--tall { min-height: clamp(30rem, 94svh, 58rem); }

.panel__bg {
  position: absolute;
  inset: -12% -4%;
  z-index: -2;
  /* The image is set inline on the element: a url() inside a custom property
     resolves against the stylesheet's folder, not the document's. */
  background-size: cover;
  background-position: center;
  will-change: transform;
  pointer-events: none;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--brown) 88%, transparent) 0%,
    color-mix(in srgb, var(--brown) 55%, transparent) 38%,
    color-mix(in srgb, var(--brown) 12%, transparent) 72%,
    transparent 100%);
  pointer-events: none;
}

/* The words alternate side to side down the page: shaped tonight right, the
   fold left, the ingredients right, made by hand left. Four full-bleed
   photographs stacked with the copy always in the same corner reads as one
   long block; alternating gives the eye somewhere to go.

   Narrow screens keep everything left — ragged-left text in a phone-width
   column is harder to read, and there is no width left to alternate across. */
.panel--right { justify-items: end; text-align: right; }
.panel--right .panel__copy { justify-items: end; }

@media (max-width: 700px) {
  .panel--right { justify-items: start; text-align: left; }
  .panel--right .panel__copy { justify-items: start; }
}

.panel__copy { display: grid; gap: 1.25rem; max-width: 34rem; }
.panel__copy .body { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.panel__meta { color: color-mix(in srgb, var(--paper) 60%, transparent); }

.panel__line {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 108, "wght" 600;
  font-size: clamp(1.5rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  max-width: 18ch;
}


.hand { display: block; }

@media (max-width: 640px) {
  .panel--tall { min-height: 30rem; }
  .panel--wide { min-height: 18rem; }
}

/* =========================== SCENE 7 · THE OBSESSION ==================== */


.obsession__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: var(--sect) var(--pad);
  overflow: hidden;
  background: var(--brown);
  color: var(--paper);
  perspective: 900px;
  --accent: var(--clay);
  --rule: color-mix(in srgb, var(--paper) 18%, transparent);
}

/* Six bands. Read down, it is a cross-section: each line is another layer,
   and the last one is the one anybody actually remembers.                  */
.layers { transform-style: preserve-3d; }
.layers li { border-top: 1px solid var(--rule); }
.layers li:last-child { border-bottom: 1px solid var(--rule); }
.layers span {
  display: block;
  padding: clamp(.45rem, 1.4vh, 1.1rem) 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 118, "wght" 400;
  font-size: clamp(1.5rem, 5.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  transition: font-variation-settings .5s var(--ease);
}
.layers li:hover span { font-variation-settings: "wdth" 118, "wght" 800; }
.layers li:last-child span { color: var(--accent); font-variation-settings: "wdth" 118, "wght" 800; }

.obsession__line {
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  max-width: 30ch;
  margin-left: auto;
  text-align: right;
}

@media (max-width: 860px) {
  .obsession__line { margin-left: 0; text-align: left; }
}

/* ============================== SCENE 8 · ORDER ========================= */

.order { padding: var(--sect) var(--pad); background: var(--stone); }
.order__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: center;
}
.order__type { display: grid; gap: 1.5rem; justify-items: start; }
.order__shot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 34px color-mix(in srgb, var(--brown) 22%, transparent));
}

.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.locations h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
  margin: .65rem 0 .5rem;
}
.locations p:last-child { margin: 0; color: var(--brown-soft); font-size: .98rem; line-height: 1.45; }

@media (max-width: 860px) {
  .order__grid { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; gap: 2rem; }
}

/* ================================= FOOTER =============================== */

.foot {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad) clamp(2rem, 4vw, 3rem);
  background: var(--brown);
  color: var(--paper);
  text-align: center;
  --accent: var(--clay);
}
.foot__mark {
  font-family: var(--display);
  font-variation-settings: "wdth" 125, "wght" 820;
  font-size: clamp(4.5rem, 24vw, 22rem);
  line-height: .8;
  letter-spacing: -.035em;
  margin: 0;
}
.tagline--foot { color: color-mix(in srgb, var(--paper) 70%, transparent); }

.foot__links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.foot__links a {
  font-family: var(--display);
  font-variation-settings: "wdth" 82, "wght" 550;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.foot__links a:hover { color: var(--accent); }

.foot__fine {
  font-family: var(--display);
  font-variation-settings: "wdth" 80, "wght" 450;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 45%, transparent);
  margin: 0;
}

/* ================================ REVEALS =============================== */

.js .reveal { opacity: 0; transform: translateY(18px); }

/* ============================ REDUCED MOTION ============================ */

.no-motion .hero,
.no-motion .fold,
.no-motion .obsession { height: auto; }

.no-motion .hero__stage,
.no-motion .fold__stage,
.no-motion .obsession__stage,
.no-motion .bake__stage { position: static; }

.no-motion .fold__stage { height: auto; padding: var(--sect) 0; }
.no-motion .fold__stack { display: none; }
.no-motion .fold__hud,
.no-motion .fold__count,
.no-motion .fold__note { position: static; margin: 0 var(--pad) 2rem; text-align: left; }

.no-motion .obsession__stage { height: auto; padding: var(--sect) var(--pad); }

.no-motion .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ------------------------------------------------- delivery fee ladder --- */

.fees { display: grid; gap: .3rem; margin: 0 0 .85rem; }
.fees span {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 500;
  font-size: .88rem;
  letter-spacing: .04em;
}
.fees b { font-variation-settings: "wdth" 88, "wght" 500; font-weight: inherit; }
.fees span::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  order: 1;
}
.fees i { order: 2; font-style: normal; font-variation-settings: "wdth" 88, "wght" 700; }

/* ------------------------------------------------------- footer contact --- */

.foot__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem clamp(1rem, 3vw, 2.25rem);
  font-style: normal;
  font-size: .95rem;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.foot__contact a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
.foot__contact a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.foot__fine { max-width: 60ch; margin-inline: auto; line-height: 1.8; }
.foot__fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot__fine a:hover { color: var(--accent); }

/* ------------------------------------------------ the Zomato strip ------- */
/* Everything on this site is baked to order for tomorrow. This one line is
   the escape hatch for someone who wants bread in the next hour.           */

.ticker {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--bar);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 0 var(--pad);
  background: var(--terracotta);
  color: var(--paper);
  transform: translateY(-105%);
  transition: transform .45s var(--ease);
  font-family: var(--display);
  font-variation-settings: "wdth" 84, "wght" 600;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.ticker.is-up { transform: none; }
.ticker span { font-variation-settings: "wdth" 84, "wght" 450; }
.ticker a {
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  padding-bottom: 1px;
  transition: border-color .25s var(--ease);
}
.ticker a:hover { border-bottom-color: var(--paper); }
.ticker a::after { content: " \2192"; }

@media (max-width: 620px) {
  :root { --bar: 2.15rem; }
  .ticker { font-size: .62rem; letter-spacing: .1em; gap: .45rem; }
  .ticker span { display: none; }
}

/* =============================== THE MENU =============================== */

.page { padding-top: calc(var(--bar) + 3.6rem); }
.page .ticker { transform: none; }
.page .nav { transform: none; }

.masthead {
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--pad) clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.masthead .body { max-width: 46ch; }

/* Category chips stick under the nav so the list stays navigable. */
.chips {
  position: sticky;
  top: calc(var(--bar) + 3.6rem);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .9rem var(--pad);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--rule);
}
.chips a {
  font-family: var(--display);
  font-variation-settings: "wdth" 82, "wght" 550;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .5em 1em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chips a:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }

.menu { padding: 0 var(--pad) clamp(3rem, 8vw, 6rem); }
.menu__loading { padding: 4rem 0; }

.cat { padding-top: clamp(3rem, 7vw, 5.5rem); scroll-margin-top: 9rem; }
.cat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem clamp(1rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.cat__blurb { margin: 0; color: var(--brown-soft); font-size: 1.05rem; }

.item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 5.5rem 7rem;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}
.cat__list li:last-child { border-bottom: 1px solid var(--rule); }

.item__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 96, "wght" 650;
  font-size: 1.1rem;
  letter-spacing: .01em;
  margin: 0 0 .2rem;
}
.item__note { margin: 0; color: var(--brown-soft); font-size: 1rem; line-height: 1.35; max-width: 52ch; }
.item__flags { margin: .45rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.item__flags:empty { display: none; }

.flag {
  font-family: var(--display);
  font-variation-settings: "wdth" 78, "wght" 600;
  font-style: normal;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35em .7em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--brown-soft);
}
.flag--gf { border-color: var(--accent); color: color-mix(in srgb, var(--accent) 70%, var(--brown)); }

.item__unit { white-space: nowrap; }
.item__price {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 650;
  font-size: 1.05rem;
  text-align: right;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
}
.stepper button {
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  color: inherit;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.stepper button:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.stepper output {
  min-width: 1.9rem;
  text-align: center;
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 650;
  font-size: .95rem;
}

@media (max-width: 780px) {
  .item {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    grid-template-areas: "shot text" "unit price" "step step";
    row-gap: .6rem;
  }
  .item__shot { grid-area: shot; align-self: start; }
  .item__text { grid-area: text; }
  .item__unit { grid-area: unit; }
  .item__price { grid-area: price; text-align: right; }
  .stepper { grid-area: step; justify-content: flex-start; }
}

/* ------------------------------------------------------------- basket --- */

.basket {
  margin: clamp(3rem, 7vw, 5rem) var(--pad) clamp(4rem, 9vw, 7rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--stone);
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  scroll-margin-top: 9rem;
}
.basket__list { display: grid; gap: .55rem; width: 100%; }
.basket__list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: baseline;
}
.basket__qty, .basket__price {
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 650;
  font-size: .95rem;
}
.basket__price { text-align: right; }
.basket__name i { display: block; font-style: normal; font-size: .85rem; color: var(--brown-soft); }

.basket__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 550;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.basket__total b { font-variation-settings: "wdth" 105, "wght" 750; font-size: 1.6rem; letter-spacing: -.01em; }
.basket__note { margin: 0; }

/* ------------------------------------------------------- WhatsApp bot ---- */
/* respond.io answers this number, so the button is a plain wa.me deep link
   rather than a chat widget the page has to load. */

.wa {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.15rem;
  background: var(--brown);
  color: var(--paper);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brown) 30%, transparent);
  font-family: var(--display);
  font-variation-settings: "wdth" 84, "wght" 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.wa:hover { background: var(--accent); color: var(--brown); transform: translateY(-2px); }
.wa svg { width: 1.35rem; height: 1.35rem; flex: none; }

@media (max-width: 640px) {
  .wa { padding: .85rem; }
  .wa span { display: none; }
}

/* =============================== CHECKOUT =============================== */

.checkout { padding: clamp(2rem, 6vw, 4rem) var(--pad) clamp(7rem, 12vw, 10rem); }
.checkout__head { display: grid; gap: 1rem; justify-items: start; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.checkout__head .body { max-width: 44ch; }

.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.field-set { display: grid; gap: 1rem; align-content: start; }
.field-set__title { padding-bottom: .75rem; border-bottom: 1px solid var(--rule); }

.field { display: grid; gap: .4rem; }
.field > span {
  font-family: var(--display);
  font-variation-settings: "wdth" 84, "wght" 550;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.field > span i { font-style: normal; opacity: .65; }

.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 55%, #fff);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: .75rem .85rem;
  width: 100%;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brown);
  background: #fff;
}

.zone { margin: -.25rem 0 0; font-size: .95rem; line-height: 1.4; }
.zone--checking { color: var(--brown-soft); }
.zone--yes { color: color-mix(in srgb, var(--brown) 85%, var(--accent)); }
.zone--no  { color: var(--accent); }

.summary {
  display: grid;
  gap: .9rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--stone);
  position: sticky;
  top: calc(var(--bar) + 4.5rem);
}
.summary__list { display: grid; gap: .5rem; }
.summary__list li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-size: .98rem; }
.summary__list i { display: block; font-style: normal; font-size: .82rem; color: var(--brown-soft); }
.summary__list b { font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 650; font-size: .92rem; }

.summary__row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 84, "wght" 550;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.summary__row b { font-variation-settings: "wdth" 92, "wght" 700; font-size: 1.05rem; letter-spacing: 0; }
.summary__row--total { padding-top: .75rem; border-top: 1px solid var(--rule); }
.summary__row--total b { font-variation-settings: "wdth" 108, "wght" 780; font-size: 1.7rem; letter-spacing: -.01em; }
.summary__note { line-height: 1.6; }
.summary .btn { text-align: center; }
.summary .btn[disabled] { opacity: .4; pointer-events: none; }

.done { display: grid; gap: 1.25rem; justify-items: start; max-width: 46rem; padding: clamp(1.5rem, 4vw, 3rem) 0; }

.foot--slim { padding: 2rem var(--pad); }
.foot--slim .foot__fine { max-width: none; }

@media (max-width: 980px) {
  .checkout__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}

/* --------------------------------------------- twenty-seven, annotated --- */
/* Small, white, low on the frame. It is a note pencilled on a photograph, not
   a headline — and it is deliberately unexplained. Somebody who wants to know
   why twenty-seven can go and find out. */

.panel__count {
  position: absolute;
  z-index: 1;
  right: clamp(1.5rem, 6vw, 6rem);
  bottom: clamp(1.75rem, 5vw, 4rem);
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 108, "wght" 500;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .5);
  pointer-events: none;
}

/* The slim footer keeps its links close to the fine print. */
.foot--slim .foot__links { margin: 0 0 1.25rem; }

/* ------------------------------------------------------------- coupons --- */

.offer {
  margin: 0;
  padding: .8rem 1.1rem;
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 500;
  font-size: .82rem;
  letter-spacing: .06em;
  border-radius: 999px;
}
.offer b { font-variation-settings: "wdth" 88, "wght" 750; letter-spacing: .12em; }

.promo { display: grid; gap: .45rem; padding-bottom: .35rem; }
.promo__row { display: flex; gap: .4rem; }
.promo__row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .1em; }
.promo__row .btn { flex: none; align-self: stretch; }
.promo__msg { margin: 0; font-size: .9rem; line-height: 1.35; min-height: 0; }
.promo__msg:empty { display: none; }
.promo__msg--yes { color: color-mix(in srgb, var(--brown) 80%, var(--terracotta)); }
.promo__msg--no { color: var(--terracotta); }

.summary__row--off b { color: var(--terracotta); }
.zone--note { color: var(--brown-soft); font-size: .95rem; max-width: 46ch; }

/* ---------------------------------------------- ingredients, allergens --- */

.flag--allergen { border-style: dashed; }

.item__more { margin-top: .5rem; }
.item__more summary {
  cursor: pointer;
  font-family: var(--display);
  font-variation-settings: "wdth" 82, "wght" 550;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown-soft);
  list-style: none;
}
.item__more summary::-webkit-details-marker { display: none; }
.item__more summary::after { content: " +"; }
.item__more[open] summary::after { content: " –"; }
.item__more summary:hover { color: var(--ink); }
.item__more p {
  margin: .5rem 0 0;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--brown-soft);
  max-width: 60ch;
}

/* Four columns once the day picker joins the form. */
.checkout__grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 22rem); }
@media (max-width: 1200px) { .checkout__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px)  { .checkout__grid--4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------- product photography --- */
/* Square, because that is the catalogue composition the shoot is briefed to:
   one product centred on a paper sweep. The placeholders already have it, so
   the grid does not move when the real pictures land. */

.item__shot {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--stone);
}

/* --------------------------------------------------------- allergens ----- */

.allergens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: .55rem 0 0;
  font-size: .82rem;
}
.allergens__icon { width: 1rem; height: 1rem; flex: none; color: var(--terracotta); }
.allergens__label {
  font-family: var(--display);
  font-variation-settings: "wdth" 80, "wght" 600;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-right: .15rem;
}
.allergen {
  font-family: var(--display);
  font-style: normal;
  font-variation-settings: "wdth" 82, "wght" 550;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3em .6em;
  border: 1px dashed color-mix(in srgb, var(--terracotta) 55%, transparent);
  border-radius: 999px;
  color: var(--terracotta);
}
.allergens--none {
  color: var(--brown-soft);
  font-size: .82rem;
  max-width: 56ch;
  line-height: 1.4;
}

.item__ingredients {
  margin: .45rem 0 0;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--brown-soft);
  max-width: 66ch;
}
.item__ingredients b {
  font-family: var(--display);
  font-variation-settings: "wdth" 80, "wght" 600;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ------------------------------------------------------- the facts list --- */
/* Three unrelated things — where we deliver, how prices are quoted, when we
   are shut — were one run-on sentence. A term and its answer reads faster and
   lets somebody find the one they came for. */

.facts {
  display: grid;
  gap: .85rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 62ch;
}
.facts > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-top: .75rem;
  border-top: 1px solid var(--rule);
}
.facts dt {
  font-family: var(--display);
  font-variation-settings: "wdth" 80, "wght" 600;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown-soft);
  padding-top: .2em;
}
.facts dd { margin: 0; font-size: 1rem; line-height: 1.5; }

@media (max-width: 560px) {
  .facts > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* ================================= LEGAL ================================ */
/* The pages a payment gateway asks for. Plain, readable, and specific to how
   the bakery actually works — a policy that describes somebody else's business
   is worse than none. */

.legal {
  padding: clamp(2rem, 6vw, 4rem) var(--pad) clamp(4rem, 9vw, 7rem);
  max-width: 46rem;
  margin-inline: auto;
}
.legal .head { margin-bottom: .75rem; }
.legal__updated { margin: 0 0 clamp(2rem, 5vw, 3rem); }
.legal .body { max-width: none; margin-bottom: 1.1rem; }

.legal h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: .01em;
  margin: clamp(2rem, 4vw, 2.75rem) 0 .6rem;
}
.legal p, .legal li { font-size: 1.05rem; line-height: 1.6; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.legal li { padding-left: 1.15rem; position: relative; }
.legal li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: .4rem; height: 1px;
  background: var(--terracotta);
}
.legal a { color: var(--terracotta); text-underline-offset: 3px; }
.legal__address { line-height: 1.7; }

.legal__table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.legal__table th, .legal__table td {
  text-align: left;
  padding: .6rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}
.legal__table th {
  font-family: var(--display);
  font-variation-settings: "wdth" 80, "wght" 600;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.legal__table td:last-child, .legal__table th:last-child { text-align: right; }

.legal__more {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--rule);
}
.legal__more a {
  font-family: var(--display);
  font-variation-settings: "wdth" 82, "wght" 550;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .5em 1em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.legal__more a:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }

/* The policy line. Quieter than the main footer nav: these are links people
   look for deliberately, not ones we are inviting anybody to follow. */
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem clamp(.9rem, 2vw, 1.6rem);
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}
.foot__legal a {
  font-family: var(--display);
  font-variation-settings: "wdth" 80, "wght" 450;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: color-mix(in srgb, var(--paper) 52%, transparent);
  transition: color .25s var(--ease);
}
.foot__legal a:hover { color: var(--paper); }
