/* Miga · panadería de masa madre. Palette: flour, oven, crust (see PROJECT.md). */
:root {
  --flour: #F7F5F0;
  --oven: #16110D;
  --crust: #7A3E16;
  --dough: #E8D7BA;
  --levain: #6A5B4E;
  --flour-2: #EFE9DE;      /* map land, form wells: a step of dough into flour */
  --on-oven: #D8CFC2;      /* body text on the oven */
  --rule: rgba(22, 17, 13, .16);
  --g: clamp(16px, 5vw, 72px);
  --hh: 64px;
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--flour);
  color: var(--oven);
  font: 400 1.0625rem/1.6 var(--text);
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--oven); color: var(--flour); padding: .7em 1em; }
.skip:focus { top: 12px; }

.display {
  font: 400 clamp(2.6rem, 6.2vw, 5.8rem)/1 var(--display);
  letter-spacing: -.012em;
  text-wrap: balance;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5em;
  background: var(--oven); color: var(--flour);
  border: 0; border-radius: 3px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .25s;
}
.btn:hover { background: var(--crust); }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em;
}
.link:hover { color: var(--crust); }

/* ---------- ribbon + header ---------- */
.ribbon {
  display: flex; align-items: center; min-height: 40px;
  padding: .35rem var(--g);
  background: var(--oven); color: var(--dough);
  font-size: .84rem; font-stretch: 85%; letter-spacing: .01em;
  text-decoration: none;
}
.ribbon:hover { text-decoration: underline; }
.ribbon:focus-visible { outline-color: var(--dough); outline-offset: -4px; }

.top {
  position: sticky; top: 0; z-index: 30;
  height: var(--hh);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--g);
  background: var(--flour);
  border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { width: 34px; height: 34px; color: var(--crust); }
.brand span { font: 400 1.75rem/1 var(--display); }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: .97rem; font-stretch: 90%; }
.nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--crust); }
.nav .nav__cta { padding: 0 1.1em; background: var(--oven); color: var(--flour); border-radius: 3px; font-weight: 600; }
.nav .nav__cta:hover { background: var(--crust); color: var(--flour); }
.langs { display: flex; }
.langs button {
  min-width: 44px; min-height: 44px; padding: 0 .3rem;
  background: none; border: 0; cursor: pointer;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--levain);
}
.langs button[aria-pressed="true"] { color: var(--oven); text-decoration: underline; text-decoration-color: var(--crust); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .top { gap: .25rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem;
    background: none; border: 1.5px solid var(--oven); border-radius: 3px; font-weight: 600; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--hh);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--g) 1.25rem; background: var(--flour); border-bottom: 1px solid var(--rule);
    font-size: 1.15rem;
  }
  .nav.is-open { display: flex; }
  .nav a { border-bottom: 1px solid var(--rule); min-height: 52px; }
  .nav .nav__cta { margin-top: .9rem; justify-content: center; border: 0; }
}

/* ---------- the bake ---------- */
.bake { position: relative; }
.bake__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  grid-template-areas: "hero spot" "steps steps";
  gap: 3rem var(--g);
  padding: clamp(40px, 7vw, 96px) var(--g);
}
.bake__oven, .bake__canvas, .readout { display: none; }
.bake__spot { grid-area: spot; align-self: center; }
.bake__poster { width: 100%; height: auto; }
.bake__panels { display: contents; }
.panel--hero { grid-area: hero; align-self: center; }
.bake__steps { grid-area: steps; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; gap: 2rem 2.5rem; border-top: 2px solid var(--oven); padding-top: 1.5rem; }
.bake__steps .panel--end { grid-column: 1 / -1; min-height: 160px; }
.bake__stamp { position: absolute; width: 150px; right: var(--g); bottom: clamp(40px, 7vw, 96px); }
.bake__steps .panel--end { padding-right: 170px; }
.bake__hint { display: none; }

.hero__title {
  font: 400 clamp(3.1rem, 7.6vw, 7.6rem)/.94 var(--display);
  letter-spacing: -.02em;
  max-width: 9ch;
}
.hero__lede { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--levain); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; margin-top: 2rem; }
.now-chip {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-top: 1.6rem; min-height: 44px; padding: .45rem .95rem .45rem .8rem;
  border: 1px solid var(--rule); border-radius: 999px;
  font-size: .92rem; text-decoration: none; background: var(--flour);
}
.now-chip:hover { border-color: var(--crust); }
.now-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--crust); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .now-chip__dot { animation: ember 2.4s ease-in-out infinite; }
}
@keyframes ember { 50% { box-shadow: 0 0 0 5px rgba(122, 62, 22, .18); } }

.panel__time { font-size: .95rem; font-weight: 600; font-stretch: 80%; color: var(--crust); letter-spacing: .02em; }
.panel__title { font: 400 clamp(1.9rem, 4.4vw, 4.2rem)/1 var(--display); letter-spacing: -.012em; margin: .35rem 0 .9rem; text-wrap: balance; }
.bake__steps .panel__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.panel p:not(.panel__time) { max-width: 40ch; color: var(--levain); }
.bake__steps .panel--oven { background: var(--oven); color: var(--flour); padding: 1rem 1.1rem 1.2rem; margin: -1rem -1.1rem 0; }
.bake__steps .panel--oven p:not(.panel__time) { color: var(--on-oven); }
.bake__steps .panel--oven .panel__time { color: var(--dough); }

/* Stamp (SVG twin of the WebGL label) */
.stamp__paper { fill: var(--dough); }
.stamp__line { fill: none; stroke: var(--crust); }
.stamp__ring { font: 400 12.5px var(--display); fill: var(--crust); }
.stamp__name { font: 400 40px var(--display); fill: var(--crust); }
.stamp__time { font: 600 10px var(--text); font-stretch: 80%; fill: var(--crust); letter-spacing: .06em; }

/* --- WebGL mode: sticky stage, panels crossfade --- */
.is-3d .bake { height: 560vh; }
.is-3d .bake__stage {
  position: sticky; top: var(--hh);
  height: calc(100vh - var(--hh));
  height: calc(100svh - var(--hh));
  display: block; padding: 0; overflow: hidden;
}
.is-3d .bake__oven { display: block; position: absolute; inset: 0; background: var(--oven); opacity: 0; }
.is-3d .bake__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.is-3d .bake__spot { position: absolute; top: 6%; bottom: 16%; left: 46%; right: 3%; align-self: stretch; }
.is-3d .bake__poster { display: none; }
.bake__spot-hero { display: none; }
.is-3d .bake__spot-hero { display: block; position: absolute; top: 6%; bottom: 16%; left: 46%; right: 3%; visibility: hidden; }
.is-3d .bake__stamp { position: absolute; right: auto; bottom: auto; left: 0; top: 0; width: 200px; opacity: 0; pointer-events: none; }
.is-3d .bake__panels {
  display: grid; position: absolute; left: var(--g); top: 0; bottom: 90px; width: min(40vw, 560px);
  align-items: center;
}
.is-3d .bake__steps { display: contents; }
.is-3d .panel { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1), color .4s; pointer-events: none; }
.is-3d .panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.is-3d .bake__steps .panel__title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.is-3d .bake__steps .panel--end { padding-right: 0; }
.is-3d .panel--oven .panel__title { color: var(--flour); }
.is-3d .panel--oven p:not(.panel__time) { color: var(--on-oven); }
.is-3d .panel--oven .panel__time { color: var(--dough); }
.is-3d .bake__hint { display: block; margin-top: 2.2rem; font-size: .88rem; color: var(--levain); }

.is-3d .readout {
  display: flex; align-items: flex-end; gap: 2.2rem;
  position: absolute; left: var(--g); right: var(--g); bottom: 22px;
  padding-bottom: 14px; transition: color .4s, opacity .4s;
  opacity: 0;
}
.is-3d .bake__stage.is-reading .readout { opacity: 1; }
.readout__cell { display: grid; }
.readout__label { font-size: .78rem; font-stretch: 80%; color: var(--levain); transition: color .4s; }
.readout__value { font: 400 1.6rem/1.1 var(--display); }
.readout__rail { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rule); }
.readout__rail span { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--crust); }
.bake__stage.is-oven .readout { color: var(--flour); }
.bake__stage.is-oven .readout__label { color: var(--on-oven); }
.bake__stage.is-oven .readout__rail { background: rgba(247, 245, 240, .2); }
.bake__stage.is-oven .readout__rail span { background: var(--dough); }

@media (max-width: 760px) {
  .bake__stage { grid-template-columns: 1fr; grid-template-areas: "hero" "spot" "steps" "stamp"; gap: 2rem; }
  .bake__stamp { position: static; grid-area: stamp; width: 140px; }
  .bake__steps .panel--end { padding-right: 0; }
  .is-3d .bake { height: 520vh; }
  .is-3d .bake__spot { top: 1%; bottom: auto; height: 42%; left: 4%; right: 4%; }
  .is-3d .bake__spot-hero { top: auto; bottom: 70px; height: 30%; left: 8%; right: 8%; }
  .is-3d .bake__panels { left: var(--g); right: var(--g); width: auto; top: 0; bottom: 76px; align-items: start; }
  .is-3d .panel--hero { padding-top: 20px; align-self: start; }
  .is-3d .bake__steps .panel { padding-top: calc((100svh - var(--hh)) * 0.42); }
  .is-3d .panel__title { font-size: 2.15rem; }
  .is-3d .bake__steps .panel__title { font-size: 2.15rem; }
  .is-3d .panel p:not(.panel__time) { font-size: 1rem; }
  .is-3d .hero__lede { font-size: 1rem; margin-top: 1rem; }
  .is-3d .hero__actions { margin-top: 1.2rem; }
  .is-3d .now-chip { margin-top: 1rem; }
  .is-3d .bake__hint { display: none; }
  .is-3d .readout { bottom: 14px; gap: 1.4rem; }
  .readout__value { font-size: 1.3rem; }
}

/* ---------- menu ---------- */
.menu { padding: clamp(80px, 11vw, 160px) var(--g); }
.menu__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem var(--g); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.menu__head p { max-width: 42ch; color: var(--levain); }
.menu__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem clamp(32px, 6vw, 96px); }
.menu__side { display: grid; gap: 3.5rem; align-content: start; }
.menu__group-title {
  font-size: 1rem; font-weight: 600; font-stretch: 80%; letter-spacing: .02em; color: var(--crust);
  padding-bottom: .55rem; border-bottom: 2px solid var(--crust); margin-bottom: .4rem;
}
.item { padding: 1rem 0 1.05rem; border-bottom: 1px solid var(--rule); }
.item__row { display: flex; align-items: baseline; gap: .6rem; }
.item__name { font: 400 1.32rem/1.2 var(--display); }
.menu__group--bread .item__name { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.item__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(106, 91, 78, .45); transform: translateY(-.3em); }
.item__price { font-weight: 600; white-space: nowrap; }
.item__desc { margin-top: .3rem; max-width: 48ch; color: var(--levain); font-size: .96rem; }
.tag {
  flex: none; align-self: center;
  font-size: .78rem; font-weight: 600; font-stretch: 80%; color: var(--crust);
  border: 1px solid var(--crust); border-radius: 999px; padding: .05em .6em;
}

/* ---------- today / oven clock ---------- */
.today {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(32px, 7vw, 112px);
  align-items: start;
  padding: clamp(72px, 10vw, 140px) var(--g);
  background: var(--dough);
}
.today__dial { position: sticky; top: calc(var(--hh) + 32px); }
.dial { width: 100%; max-width: 440px; height: auto; }
.dial__face { fill: var(--flour); stroke: var(--oven); stroke-width: 2; }
.dial__inner { fill: none; stroke: var(--rule); stroke-width: 1; }
.dial__ticks line { stroke: var(--oven); stroke-width: 1; }
.dial__ticks line.is-hour { stroke-width: 2.4; }
.dial__marks ellipse { fill: var(--flour); stroke: var(--crust); stroke-width: 1.6; }
.dial__marks ellipse.is-past { fill: var(--crust); }
.dial__marks ellipse.is-now { fill: var(--crust); stroke: var(--oven); stroke-width: 2.4; }
.dial__marks path { fill: none; stroke: var(--flour); stroke-width: 1.2; stroke-linecap: round; }
.dial__marks ellipse:not(.is-past):not(.is-now) + path { stroke: var(--crust); }
.dial__num { font: 400 17px var(--display); fill: var(--oven); }
.dial__hour { stroke: var(--oven); stroke-width: 5; stroke-linecap: round; }
.dial__min { stroke: var(--crust); stroke-width: 2.5; stroke-linecap: round; }
.dial__pin { fill: var(--oven); }

.today__title { font-size: 1rem; font-weight: 600; font-stretch: 80%; color: var(--crust); letter-spacing: .02em; }
.today__now { margin: 1rem 0 2.4rem; min-height: 7.5em; }
.today__headline { font: 400 clamp(2rem, 4vw, 3.6rem)/1.02 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.today__sub { margin-top: 1rem; font-size: 1.1rem; max-width: 46ch; }
.schedule li {
  display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  min-height: 52px; padding: .55rem .6rem; border-top: 1px solid rgba(22, 17, 13, .22);
}
.schedule li:last-child { border-bottom: 1px solid rgba(22, 17, 13, .22); }
.schedule__time { font-weight: 600; }
.schedule__name { font: 400 1.18rem/1.25 var(--display); }
.schedule__state { font-size: .84rem; font-weight: 600; font-stretch: 85%; white-space: nowrap; }
.schedule .is-past .schedule__name, .schedule .is-past .schedule__time { color: #574A3F; }
.schedule .is-past .schedule__name { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(22, 17, 13, .4); }
.schedule .is-now { background: var(--flour); }
.schedule .is-now .schedule__state { background: var(--crust); color: var(--flour); padding: .25em .7em; border-radius: 999px; }
.schedule .is-next .schedule__state { border: 1px solid var(--oven); padding: .2em .65em; border-radius: 999px; }
.schedule .is-off { color: #574A3F; }
.today__note { margin-top: 1.2rem; font-size: .92rem; color: #4F4238; max-width: 60ch; }

/* ---------- levain ---------- */
.levain {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem clamp(32px, 7vw, 120px);
  padding: clamp(80px, 11vw, 160px) var(--g);
  background: var(--oven); color: var(--flour);
}
.levain :focus-visible { outline-color: var(--dough); }
.levain__text p { margin-top: 1.4rem; max-width: 54ch; color: var(--on-oven); font-size: 1.1rem; }
.levain__text .display { max-width: 14ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 2.8rem; }
.facts div { border-top: 1px solid rgba(247, 245, 240, .22); padding-top: 1rem; }
.facts dt { font: 400 1.35rem/1.2 var(--display); color: var(--dough); }
.facts dd { margin-top: .4rem; color: var(--on-oven); }
.levain__jar { align-self: center; justify-self: center; max-width: 280px; width: 100%; }
.levain__jar svg { width: 100%; height: auto; }
.jar__lid { fill: var(--levain); }
.jar__glass { fill: rgba(247, 245, 240, .05); stroke: var(--flour); stroke-width: 2; }
.jar__starter { fill: var(--dough); }
.jar__bubbles circle { fill: none; stroke: #A88F70; stroke-width: 1.4; }
.jar__band { fill: #B5652B; }
.jar__tick { stroke: var(--on-oven); stroke-width: 1.4; }
.jar__label { font: 600 12px var(--text); fill: var(--on-oven); }
.levain__jar figcaption { margin-top: 1rem; font-size: .92rem; color: var(--on-oven); text-align: center; }
.lab { grid-column: 1 / -1; border-top: 1px solid rgba(247, 245, 240, .22); padding-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem var(--g); }
.lab__title { font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.1 var(--display); color: var(--dough); }
.lab p { color: var(--on-oven); max-width: 44ch; margin-top: .7rem; }
.lab__scale { grid-column: 1 / -1; margin-top: 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.lab__scale li { border-left: 2px solid rgba(247, 245, 240, .25); padding-left: .9rem; color: var(--on-oven); font-size: .95rem; }
.lab__pct { display: block; font: 400 2.3rem/1 var(--display); color: var(--flour); margin-bottom: .5rem; }
.lab__scale .is-current { border-left-color: var(--dough); }
.lab__scale .is-current .lab__pct { color: var(--dough); }

/* ---------- pre-order ---------- */
.order { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(32px, 7vw, 112px); padding: clamp(80px, 11vw, 160px) var(--g); }
.order__intro p { margin-top: 1.4rem; max-width: 42ch; color: var(--levain); font-size: 1.08rem; }
.order__intro .demo-note { border-left: 3px solid var(--crust); padding-left: 1rem; font-size: .95rem; color: var(--oven); }
.order__form { background: var(--flour-2); padding: clamp(20px, 3vw, 40px); border-radius: 4px; }
.picks { border: 0; margin: 0; padding: 0; }
.picks legend { font: 400 1.6rem/1.2 var(--display); padding: 0; margin-bottom: .6rem; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.pick__name { font: 400 1.15rem/1.25 var(--display); }
.pick__price { color: var(--levain); font-size: .95rem; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--oven); background: var(--flour); cursor: pointer;
  font-size: 1.25rem; line-height: 1;
}
.stepper button:hover { background: var(--oven); color: var(--flour); }
.stepper output { min-width: 2ch; text-align: center; font: 400 1.35rem var(--display); }
.pick.has-qty .pick__name::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--crust); margin-left: .5em; vertical-align: middle; }
.order__fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.field { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select {
  min-height: 48px; width: 100%; padding: 0 .8rem;
  border: 1.5px solid var(--oven); border-radius: 3px; background: var(--flour);
  font-weight: 400; font-size: 1rem;
}
.field input::placeholder { color: #7A6B5E; }
.order__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.order__total { font-size: 1rem; }
.order__total strong { font: 400 1.8rem var(--display); margin-left: .4rem; }
.order__error { margin-top: 1rem; color: #8A1F0E; font-weight: 600; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(32px, 6vw, 96px); align-items: center; padding: 0 var(--g) clamp(80px, 11vw, 160px); }
.visit__text .display { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.visit__addr { font-style: normal; margin-top: 1.6rem; font: 400 1.4rem/1.35 var(--display); }
.visit__text > p { margin-top: 1.2rem; color: var(--levain); max-width: 44ch; }
.hours { margin: 1.8rem 0 1rem; border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { padding: .7rem 0; border-top: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--rule); }
.visit__map svg { width: 100%; height: auto; border-radius: 4px; }
.visit__map figcaption { margin-top: .6rem; font-size: .88rem; color: var(--levain); }
.map__land { fill: var(--flour-2); }
.map__river, .map__sea { fill: #D9CDBB; }
.map__water { font: 400 15px var(--display); fill: var(--levain); }
.map__streets path { fill: none; stroke: rgba(22, 17, 13, .42); stroke-width: 1.4; stroke-linecap: round; }
.map__conde { fill: none; stroke: var(--oven); stroke-width: 3.2; stroke-dasharray: 1 6; stroke-linecap: round; }
.map__park { fill: var(--dough); stroke: rgba(22, 17, 13, .4); }
.map__church { fill: none; stroke: var(--oven); stroke-width: 1.3; }
.map__labels text { font: 500 12px var(--text); font-stretch: 85%; fill: var(--levain); }
.map__labels .map__small { font-size: 10.5px; }
.map__route { fill: none; stroke: var(--crust); stroke-width: 3; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; }
.map__pin-ring { fill: var(--crust); stroke: var(--flour); stroke-width: 3; }
.map__pin-score { fill: none; stroke: var(--flour); stroke-width: 2.6; stroke-linecap: round; }
.map__pin-label { font: 400 20px var(--display); fill: var(--oven); }

/* ---------- footer ---------- */
.foot { background: var(--oven); color: var(--flour); padding: clamp(48px, 7vw, 96px) var(--g) 28px; overflow: hidden; }
.foot :focus-visible { outline-color: var(--dough); }
.foot__word { font: 400 clamp(7rem, 30vw, 27rem)/.78 var(--display); letter-spacing: -.03em; color: var(--dough); margin: 0 0 clamp(32px, 5vw, 64px) -.04em; padding-bottom: .24em; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--g); }
.foot__h { font-size: .9rem; font-weight: 600; font-stretch: 80%; color: var(--dough); margin-bottom: .5rem; }
.foot p { color: var(--on-oven); }
.foot a { display: inline-flex; min-height: 36px; align-items: center; }
.foot__small { font-size: .86rem; margin-top: .4rem; }
.foot__ribbon {
  display: inline-flex !important; align-items: center; gap: .55rem; min-height: 44px !important;
  margin-top: 3rem; padding: .4rem 1rem .4rem .75rem;
  border: 1px solid rgba(247, 245, 240, .3); border-radius: 999px;
  font-size: .86rem; color: var(--dough); text-decoration: none;
}
.foot__ribbon:hover { border-color: var(--dough); }
.foot__ribbon svg { width: 18px; height: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .menu__head, .menu__grid, .today, .levain, .order, .visit, .lab { grid-template-columns: 1fr; }
  .today__dial { position: static; max-width: 320px; }
  .levain__jar { max-width: 200px; }
  .order__fields { grid-template-columns: 1fr 1fr; }
  .visit__map { order: -1; }
}
@media (max-width: 560px) {
  .lab__scale { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .order__fields { grid-template-columns: 1fr; }
  .pick { grid-template-columns: minmax(0, 1fr) auto; }
  .pick__price { grid-row: 2; grid-column: 1; margin-top: -.6rem; }
  .stepper { grid-row: 1 / 3; grid-column: 2; }
  .schedule li { grid-template-columns: 5.6rem minmax(0, 1fr); gap: .2rem .8rem; }
  .schedule__time { white-space: nowrap; }
  .schedule__state { grid-column: 2; justify-self: start; }
  .schedule__state:empty { display: none; }
  .item__name { min-width: 0; }
  .item__row:has(.tag) { flex-wrap: wrap; }
  .item__row .tag { order: 9; margin-top: .35rem; }
}

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

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: flex; flex-direction: column; }
.nf__main { flex: 1; display: grid; align-content: center; justify-items: start; gap: 1.4rem; padding: 48px var(--g); max-width: 900px; }
.nf__main p { color: var(--levain); max-width: 40ch; font-size: 1.15rem; }
.nf__loaf { width: min(320px, 70vw); height: auto; }
.nf__langs { padding: 0 var(--g) 24px; }
