/* ═══════════════════════════════════════════════════════════
   MEAT THE FISH — Interactive Concept
   Palette drawn from the brand itself:
   cream stone facade, warm ink lettering, salmon fish,
   cow brown, Saifi slate-blue shutters, mural flowers.
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream: oklch(96.5% 0.013 85);        /* paper / facade stone */
  --cream-deep: oklch(93.5% 0.02 82);
  --ink: oklch(24% 0.012 60);            /* warm near-black lettering */
  --ink-soft: oklch(38% 0.014 60);
  --salmon: oklch(76% 0.13 45);          /* the fish */
  --salmon-deep: oklch(66% 0.15 42);
  --salmon-tint: oklch(90% 0.05 48);
  --cow: oklch(56% 0.085 55);            /* the cow */
  --slate: oklch(62% 0.035 230);         /* Saifi shutters */
  --slate-deep: oklch(42% 0.045 235);
  --flower-pink: oklch(78% 0.11 355);
  --flower-orange: oklch(76% 0.13 60);
  --flower-yellow: oklch(84% 0.13 90);
  --wa: oklch(65% 0.16 150);

  --font-display: "Bricolage Grotesque", "Karla", sans-serif;
  --font-hand: "Amatic SC", cursive;
  --font-body: "Karla", sans-serif;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-swift: cubic-bezier(0.32, 0.72, 0, 1);

  --pad-x: clamp(1.25rem, 4.5vw, 4.5rem);
  --radius: 14px;
  --shadow-1: 0 0 0 1px oklch(24% 0.012 60 / 0.06), 0 1px 2px -1px oklch(24% 0.012 60 / 0.07), 0 3px 8px -2px oklch(24% 0.012 60 / 0.07);
  --shadow-2: 0 0 0 1px oklch(24% 0.012 60 / 0.07), 0 4px 10px -4px oklch(24% 0.012 60 / 0.14), 0 14px 34px -12px oklch(24% 0.012 60 / 0.2);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* native scrollbar hidden: replaced by the custom .sbar below */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; }

/* The canvas behind and beyond the page is footer-ink, so
   overscrolling past the bottom (and the area behind mobile
   browser bars) stays dark instead of flashing white. */
html { background-color: var(--ink); }
/* …while overscrolling above the hero reveals the facade beige,
   so the photo appears to continue upward. On iOS the whole frame
   shifts during rubber-banding, which is what makes this visible. */
body::before {
  content: "";
  position: fixed; left: 0; right: 0; top: -120vh; height: 120vh;
  background: #baaf9a;
  z-index: -1; pointer-events: none;
}

/* the canvas past the page's edges: rubber-banding below the footer
   must reveal ink, never a white strip */
html { background-color: var(--ink); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* rubber-banding above the hero reveals the facade beige instead of
   ink: a fixed slab parked one screen above the viewport, dragged
   into view by iOS overscroll */
body::before {
  content: "";
  position: fixed;
  left: 0; right: 0; top: -100svh; height: 100svh;
  background: #baaf9a;
  z-index: -1;
  pointer-events: none;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; }

::selection { background: var(--salmon); color: var(--ink); }

/* ── Type helpers ─────────────────────────────── */
.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.45em;
  line-height: 1.1;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0.35em 0 0.45em;
}
.h2 em { font-style: italic; color: var(--salmon-deep); }

.kicker {
  color: var(--salmon-deep);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 0;
}
.kicker--light { color: var(--salmon); }

.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 1.4rem;
}

.section { padding: clamp(4.5rem, 9vw, 8.5rem) var(--pad-x); }
/* skip layout & paint for sections far outside the viewport */
.section, .prop-block, .transition, .footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
/* while an anchor jump is in flight, render everything so measured
   distances are exact (estimated heights would land the jump off-target) */
html.cv-off .section, html.cv-off .prop-block, html.cv-off .transition, html.cv-off .footer { content-visibility: visible; }
.section--cream-deep { background: var(--cream-deep); }
.section--salmon { background: var(--salmon-tint); }
.section--ink { background: var(--ink); color: var(--cream); }

.section-head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.78em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn--lg { padding: 0.95em 2em; font-size: 1.05rem; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: oklch(30% 0.014 60); }
.btn--salmon { background: var(--salmon); color: var(--ink); }
.btn--salmon:hover { background: var(--salmon-deep); color: var(--cream); }
.btn--ghost { border-color: oklch(24% 0.012 60 / 0.3); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--ghost-light { border-color: oklch(96% 0.01 85 / 0.55); color: var(--cream); background: oklch(24% 0.01 60 / 0.28); }
.btn--ghost-light:hover { background: oklch(96% 0.013 85 / 0.16); border-color: var(--cream); box-shadow: none; }
.btn--wa { background: var(--wa); color: white; }
.btn--wa svg { width: 1.35em; height: 1.35em; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Loader ──────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity 600ms var(--ease-swift), visibility 600ms;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__logo {
  width: min(38vw, 190px); margin: 0 auto 0.6rem;
  animation: loaderIn 900ms var(--ease-out) both;
}
.loader__line { color: var(--ink-soft); margin: 0; opacity: 0; animation: loaderLine 700ms var(--ease-out) 400ms forwards; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes loaderLine { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem var(--pad-x);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), padding 300ms var(--ease-out);
}
.nav.is-scrolled {
  background: oklch(96.5% 0.013 85 / 0.97);
  box-shadow: 0 1px 0 oklch(24% 0.012 60 / 0.08);
  padding-block: 0.45rem;
}
/* brand mark hidden over the hero (the hero carries the full logo);
   fades in once the hero is scrolled out of view */
.nav__brand {
  display: flex; align-items: center; text-decoration: none;
  opacity: 0; transform: translateY(-8px) scale(0.9);
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.nav.is-past-hero .nav__brand { opacity: 1; transform: none; pointer-events: auto; }
.nav__mark { width: 40px; height: 40px; }

.nav__links { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav__links a {
  text-decoration: none; font-family: var(--font-hand); font-weight: 700;
  font-size: 1.45rem; letter-spacing: 0.07em;
  padding: 0.15em 0.1em; position: relative; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--salmon); border-radius: 2px;
  transition: right 240ms var(--ease-out);
}
.nav__links a:hover::after { right: 0; }
.nav:not(.is-scrolled):not(.is-open) .nav__links a { color: var(--cream); }
.nav__proposal-link { color: var(--salmon-deep); }
.nav:not(.is-scrolled):not(.is-open) .nav__proposal-link { color: var(--salmon) !important; }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; margin-left: auto; }
.nav__cart {
  position: relative; background: none; border: none; padding: 0.4rem;
  display: grid; place-items: center;
}
.nav__cart svg { width: 24px; height: 24px; }
.nav:not(.is-scrolled):not(.is-open) .nav__cart { color: var(--cream); }
.nav__cart-count {
  position: absolute; top: -2px; right: -4px;
  background: var(--salmon-deep); color: var(--cream);
  font-size: 0.65rem; font-weight: 700; min-width: 17px; height: 17px;
  border-radius: 999px; display: grid; place-items: center; padding: 0 4px;
}
.nav__cart-count.is-pop { animation: countPop 400ms var(--ease-out); }
@keyframes countPop { 40% { transform: scale(1.45); } }

.nav__burger { display: none; background: none; border: none; padding: 0.5rem; flex-direction: column; gap: 6px; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 250ms var(--ease-out); }
.nav:not(.is-scrolled):not(.is-open) .nav__burger { color: var(--cream); }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 340px);
    background: var(--cream); flex-direction: column; gap: 0.4rem;
    padding: 5.5rem 2rem 2rem; margin: 0;
    box-shadow: var(--shadow-2);
    transform: translateX(100%);
    transition: transform 380ms var(--ease-swift);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 2.1rem; color: var(--ink) !important; }
  .nav__burger { display: flex; z-index: 5; }
  .nav__order { display: none; }
}

/* ── Hero ────────────────────────────────────── */
/* the background-color matches the scrimmed bottom of the facade
   photo: browser chrome sampled against the hero melts into it */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: clip; background-color: oklch(26% 0.02 40); }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.hero.is-settled .hero__img { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(20% 0.02 40 / 0.85) 0%, oklch(20% 0.02 40 / 0.42) 45%, oklch(20% 0.02 40 / 0.3) 100%);
}
.hero__content {
  position: relative; z-index: 2; color: var(--cream);
  padding: 0 var(--pad-x) clamp(4.5rem, 9vh, 7rem);
  max-width: 880px;
}
.hero__logo { width: clamp(110px, 15vw, 170px); margin-bottom: 1.5rem; }
@media (max-width: 640px) {
  .hero__logo { width: clamp(96px, 30vw, 130px); }
  .hero__img { object-position: 42% 30%; }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.hero__title em { font-family: var(--font-hand); font-weight: 700; font-style: normal; color: var(--salmon); font-size: 1.12em; }
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.25rem); max-width: 54ch; margin: 0 0 2rem; color: oklch(96% 0.013 85 / 0.88); }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__scroll-cue {
  position: absolute; right: clamp(1.2rem, 4vw, 3.5rem); bottom: 2rem; z-index: 2;
  color: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  opacity: 0.85;
}
.hero__scroll-cue svg { width: 14px; height: 30px; }

.reveal-load { opacity: 0; transform: translateY(22px); filter: blur(5px); }
body.is-loaded .reveal-load {
  animation: loadIn 850ms var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 130ms);
}
.reveal-load[data-delay="1"] { --d: 1; } .reveal-load[data-delay="2"] { --d: 2; }
.reveal-load[data-delay="3"] { --d: 3; } .reveal-load[data-delay="4"] { --d: 4; }
.reveal-load[data-delay="5"] { --d: 5; }
@keyframes loadIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* ── Ticker ──────────────────────────────────── */
.ticker { background: var(--ink); color: var(--cream); overflow: clip; padding: 0.7rem 0; }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__seq {
  display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem;
  font-family: var(--font-hand); font-size: 1.5rem; letter-spacing: 0.06em; white-space: nowrap;
}
@keyframes tick { to { transform: translateX(-50%); } }
.tk-fish, .tk-flower, .pt-flower { display: inline-block; flex: none; }
.tk-fish {
  width: 26px; height: 14px; background: var(--salmon);
  clip-path: polygon(0 50%, 30% 8%, 62% 0, 78% 22%, 100% 4%, 88% 50%, 100% 96%, 78% 78%, 62% 100%, 30% 92%);
}
.tk-flower, .pt-flower { width: 15px; height: 15px; border-radius: 50%; position: relative; }
.tk-flower::before, .pt-flower::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit;
  background: radial-gradient(circle at 50% 0, currentColor 4.5px, transparent 5px),
              radial-gradient(circle at 100% 40%, currentColor 4.5px, transparent 5px),
              radial-gradient(circle at 80% 100%, currentColor 4.5px, transparent 5px),
              radial-gradient(circle at 20% 100%, currentColor 4.5px, transparent 5px),
              radial-gradient(circle at 0 40%, currentColor 4.5px, transparent 5px);
}
.tk-flower--pink, .pt-flower--pink { color: var(--flower-pink); background: var(--flower-yellow); }
.tk-flower--orange, .pt-flower--orange { color: var(--flower-orange); background: var(--flower-pink); }
.tk-flower--yellow, .pt-flower--yellow { color: var(--flower-yellow); background: var(--flower-orange); }

/* ── Scroll reveal ─────────────────────────────
   opacity + transform only: filters here repaint on
   every frame while scrolling and kill performance */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: calc(var(--stagger, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Brand section ───────────────────────────── */
.brand__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.brand__points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0.85rem; }
.brand__points li { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; }
.brand__media { position: relative; padding-bottom: 3.5rem; }
.brand__photo { margin: 0; }
.brand__photo img { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.brand__photo figcaption { margin-top: 0.5rem; color: var(--ink-soft); font-size: 1.3rem; }
.brand__photo--main { transform: rotate(-1.2deg); }
.brand__photo--float {
  position: absolute; right: -4%; bottom: 0; width: 46%;
  transform: rotate(2.4deg);
}
.brand__photo--float img { border: 6px solid var(--cream); }
.brand__doodle { position: absolute; left: -1rem; bottom: -0.5rem; width: 110px; color: var(--salmon-deep); opacity: 0.8; }
@media (max-width: 880px) {
  .brand__grid { grid-template-columns: 1fr; }
  .brand__photo--float { width: 52%; right: 0; }
}

/* ── Order intro ─────────────────────────────── */
.order-intro { position: relative; text-align: center; overflow: clip; }
.order-intro__fish { position: absolute; width: clamp(240px, 34vw, 460px); color: var(--salmon-deep); top: -30px; right: -60px; transform: rotate(-8deg); }
.order-intro__inner { position: relative; max-width: 980px; margin: 0 auto; }
.order-intro .lead { margin-inline: auto; }
.order-intro__locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 2.4rem 0 1.4rem; }
.loc-chip {
  background: var(--cream); border: none; border-radius: var(--radius);
  padding: 1.3rem 1.4rem; text-align: left; display: grid; gap: 0.25rem;
  box-shadow: var(--shadow-1);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.loc-chip:hover:not(.is-disabled) { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-2); }
.loc-chip:active:not(.is-disabled) { transform: translateY(-1px) scale(0.98); }
.loc-chip strong { font-family: var(--font-display); font-size: 1.15rem; }
.loc-chip__meta { color: var(--ink-soft); font-size: 0.88rem; }
.loc-chip__status { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.loc-chip__status--open { color: var(--wa); }
.loc-chip__status--seasonal { color: var(--slate-deep); }
.loc-chip__status--soon { color: var(--cow); }
.loc-chip.is-disabled { opacity: 0.62; cursor: default; }
.order-intro__note { font-size: 0.82rem; color: var(--ink-soft); }

/* ── Menu ────────────────────────────────────── */
.menu__head { max-width: 860px; margin-bottom: 2.5rem; }
.menu__filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }
.filter {
  border: 1.5px solid oklch(24% 0.012 60 / 0.22); background: transparent;
  border-radius: 999px; padding: 0.5em 1.25em; font-weight: 600; font-size: 0.9rem;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.filter:hover { border-color: var(--ink); transform: translateY(-1px); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.dish {
  background: white; border-radius: var(--radius); overflow: clip;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), opacity 320ms var(--ease-out);
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.dish.is-hidden { display: none; }
.dish.is-filtering { opacity: 0; transform: translateY(10px) scale(0.98); }
.dish__media { position: relative; aspect-ratio: 4 / 3.1; overflow: clip; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: var(--ink); color: var(--cream);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.35em 0.9em; border-radius: 999px;
}
.dish__badge--daily { background: var(--salmon-deep); }
.dish__badge--season { background: var(--slate-deep); }
.dish__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.dish__name { font-family: var(--font-display); font-size: 1.22rem; margin: 0; }
.dish__desc { margin: 0; color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.dish__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; }
.dish__price { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.dish__add {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px;
  padding: 0.4em 1.1em; font-weight: 700; font-size: 0.88rem;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.dish__add:hover { background: var(--ink); color: var(--cream); }
.dish__add:active { transform: scale(0.94); }
.dish__add.is-added { background: var(--wa); border-color: var(--wa); color: white; }
.dish--note { background: var(--salmon-tint); box-shadow: none; border: 1.5px dashed oklch(66% 0.15 42 / 0.5); }
.dish--note:hover { transform: none; box-shadow: none; }
.dish__note-inner { padding: 2rem 1.6rem; margin: auto 0; display: grid; gap: 0.9rem; justify-items: start; }
.dish__note-hand { font-size: 1.7rem; margin: 0; color: var(--salmon-deep); }
.dish__note-inner p:not(.dish__note-hand) { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ── Locations ───────────────────────────────── */
.locations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.6rem; }
.loc-card { background: white; border-radius: var(--radius); overflow: clip; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.loc-card__media { aspect-ratio: 16 / 10; overflow: clip; }
.loc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.loc-card:hover .loc-card__media img { transform: scale(1.05); }
.loc-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.loc-card__body h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0; }
.loc-card__body > p { margin: 0; color: var(--ink-soft); }
.loc-card__meta { display: grid; gap: 0.3rem; margin: 0.4rem 0 0.8rem; font-size: 0.9rem; }
.loc-card__meta div { display: flex; gap: 0.6rem; }
.loc-card__meta dt { font-weight: 700; min-width: 68px; }
.loc-card__meta dd { margin: 0; color: var(--ink-soft); }
.loc-card__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: auto; }

.status { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--wa); }
.status--seasonal { color: var(--slate-deep); }
.status--soon { color: var(--cow); }
.status--closed { color: oklch(55% 0.14 25); }

.locations__archive {
  margin-top: 2.6rem; display: flex; align-items: center; gap: 1.2rem;
  background: transparent; border: 1.5px dashed oklch(24% 0.012 60 / 0.3);
  border-radius: var(--radius); padding: 1.3rem 1.6rem; max-width: 720px;
}
.locations__archive p { margin: 0; color: var(--ink-soft); }
.locations__archive-fish { width: 54px; flex: none; color: var(--slate-deep); }

/* ── Shop ────────────────────────────────────── */
.shop__feature { position: relative; border-radius: var(--radius); overflow: clip; box-shadow: var(--shadow-2); margin-bottom: 2.2rem; height: clamp(280px, 34vw, 430px); }
.shop__feature img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.shop__feature-note {
  position: absolute; bottom: 1.1rem; left: 1.4rem;
  background: var(--cream); border-radius: 999px; padding: 0.3rem 1.2rem;
  box-shadow: var(--shadow-1); transform: rotate(-1.5deg);
}
.shop__feature-note p { margin: 0; font-size: 1.5rem; color: var(--salmon-deep); }
.shelf-wrap { position: relative; }
.shelf {
  display: flex; gap: 1.2rem; overflow-x: auto; padding: 0.5rem 0.2rem 1.4rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--salmon) transparent;
  /* vertical swipes always belong to the page; horizontal ones are handled in JS */
  touch-action: pan-y;
}
.shelf.is-dragging { scroll-snap-type: none; }
.shelf::after { content: ""; flex: 0 0 1px; }
.product {
  flex: 0 0 232px; scroll-snap-align: start;
  background: white; border-radius: var(--radius); padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 0.35rem;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.product:hover { transform: translateY(-5px) rotate(-0.6deg); box-shadow: var(--shadow-2); }
.product h3 { font-family: var(--font-display); font-size: 1.08rem; margin: 0.3rem 0 0; }
.product__meta { margin: 0; color: var(--ink-soft); font-size: 0.85rem; flex: 1; }
.product__art { height: 120px; display: grid; place-items: center; border-radius: 10px; }
.product__art svg { height: 88%; width: auto; }
.product__art--sauce { background: oklch(90% 0.05 48); color: var(--salmon-deep); }
.product__art--fish  { background: oklch(90% 0.03 230); color: var(--slate-deep); }
.product__art--meat  { background: oklch(91% 0.04 60); color: var(--cow); }
.product__art--oil   { background: oklch(93% 0.05 105); color: oklch(52% 0.09 115); }
.product__art--spice { background: oklch(92% 0.045 80); color: oklch(52% 0.1 70); }
.product__art--gift  { background: oklch(92% 0.04 355); color: oklch(56% 0.13 355); }
.product__art--caviar { background: oklch(88% 0.015 260); color: oklch(32% 0.03 260); }
.product__btn {
  margin-top: 0.8rem; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  padding: 0.5em 1em; font-weight: 700; font-size: 0.85rem;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.product__btn:hover { background: var(--ink); color: var(--cream); }
.product__btn:active { transform: scale(0.96); }
.product--photo { padding: 0; overflow: clip; position: relative; }
.product--photo img { width: 100%; height: 100%; object-fit: cover; }
.product--photo-cap {
  position: absolute; bottom: 0.8rem; left: 50%; translate: -50% 0;
  background: var(--cream); border-radius: 999px; padding: 0.15rem 1rem; margin: 0;
  font-size: 1.35rem; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-1);
  rotate: -2deg;
}
.shelf-nav { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 0.4rem; }
.shelf-nav__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid oklch(24% 0.012 60 / 0.25);
  background: transparent; display: grid; place-items: center;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.shelf-nav__btn svg { width: 20px; height: 20px; }
.shelf-nav__btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.shelf-nav__btn:active { transform: scale(0.92); }

/* ── Captive ─────────────────────────────────── */
.captive { background: var(--ink); color: var(--cream); }
.captive__head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.captive .lead { color: oklch(96% 0.013 85 / 0.72); }
.captive__rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.4rem; }
.cap-item {
  border: 1px solid oklch(96% 0.013 85 / 0.14); border-radius: var(--radius);
  overflow: clip; display: flex; flex-direction: column;
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.cap-item:hover { transform: translateY(-5px); border-color: oklch(76% 0.13 45 / 0.55); background: oklch(28% 0.013 60); }
.cap-item__art {
  position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: center;
  background: oklch(28.5% 0.012 60); color: var(--cream);
}
.cap-item__art svg { width: 62%; height: auto; transition: transform 400ms var(--ease-out); }
.cap-item:hover .cap-item__art svg { transform: translateY(-5px) rotate(-1.6deg); }
.cap-item__flag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--salmon); color: var(--ink);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.35em 0.85em; border-radius: 999px;
}
.cap-item__flag--store { background: var(--flower-yellow); }
.cap-item__info { padding: 1.15rem 1.25rem 1.3rem; display: grid; gap: 0.3rem; }
.cap-item__info h3 { font-family: var(--font-display); margin: 0; font-size: 1.12rem; }
.cap-item__info p { margin: 0; color: oklch(96% 0.013 85 / 0.62); font-size: 0.88rem; }
.cap-item__row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; }
.cap-item__tag { color: var(--salmon); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; }
.captive__note { max-width: 62ch; color: oklch(96% 0.013 85 / 0.55); font-size: 0.88rem; margin-top: 2.2rem; }
.captive__note a { color: var(--salmon); }

/* ── Story timeline ──────────────────────────────
   Desktop: the chapters snake left and right, joined
   by wavy dashed paths; a fish swims one crossing,
   the cow walks the next. Mobile keeps the straight line. */
.timeline { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 1100px; }
.timeline__item { position: relative; width: min(46%, 430px); }
.timeline__item:nth-child(odd) { margin-right: auto; }
.timeline__item:nth-child(even) { margin-left: auto; }
.timeline__item + .timeline__item { padding-top: 96px; }
.timeline__marker { display: none; }
.timeline__card {
  background: white; border-radius: var(--radius); padding: 1.5rem 1.7rem 1.6rem;
  box-shadow: var(--shadow-1);
}
.timeline__item:nth-child(odd) .timeline__card { transform: rotate(-0.4deg); }
.timeline__item:nth-child(even) .timeline__card { transform: rotate(0.4deg); }

.timeline__wave {
  position: absolute; top: 4px; height: 88px; overflow: visible;
  width: 131%;
}
/* the wave escapes the card column to span the gap between the two sides */
.timeline__item:nth-child(even) .timeline__wave { left: -74%; }
.timeline__item:nth-child(odd) .timeline__wave { left: 43%; }
.timeline__wave-path {
  stroke: var(--salmon-deep); stroke-width: 2;
  stroke-dasharray: 1.5 8; stroke-linecap: round; opacity: 0.55;
}
.timeline__swimmer--fish { color: var(--salmon-deep); }
.timeline__swimmer--cow { color: var(--cow); }

.timeline__chapter { margin: 0; color: var(--salmon-deep); font-size: 1.35rem; }
.timeline__card h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0.1rem 0 0.4rem; }
.timeline__card p:not(.timeline__chapter) { margin: 0; color: var(--ink-soft); max-width: 58ch; }

@media (max-width: 700px) {
  .timeline::before {
    content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px;
    background: repeating-linear-gradient(to bottom, var(--salmon-deep) 0 8px, transparent 8px 16px);
  }
  .timeline__item { width: 100%; padding: 0 0 2.2rem 3.2rem; }
  .timeline__item + .timeline__item { padding-top: 0; }
  .timeline__item:last-child { padding-bottom: 0; }
  .timeline__card { background: transparent; box-shadow: none; padding: 0; transform: none !important; }
  .timeline__wave { display: none; }
  .timeline__marker {
    display: block;
    position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--cream); border: 2.5px solid var(--salmon-deep);
  }
  .timeline__item:nth-child(3) .timeline__marker { border-color: var(--slate); background: var(--cream-deep); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline__swimmer { display: none; }
}
.timeline__badge {
  display: inline-block; margin-top: 0.7rem;
  background: var(--cream-deep); border: 1px solid oklch(24% 0.012 60 / 0.15);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0.35em 0.9em; border-radius: 999px; color: var(--slate-deep);
}
.timeline__badge--soon { color: var(--cow); }
.timeline__badge--open { color: var(--wa); border-color: oklch(65% 0.16 150 / 0.4); }

/* ── Drops ───────────────────────────────────── */
.drops__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.3rem; }
.drop {
  background: white; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-1); display: grid; gap: 0.45rem; align-content: start;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.drop:hover { transform: translateY(-4px) rotate(0.4deg); box-shadow: var(--shadow-2); }
.drop h3 { font-family: var(--font-display); margin: 0; font-size: 1.18rem; }
.drop p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.drop__tag {
  justify-self: start; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.35em 0.9em; border-radius: 999px; color: var(--ink);
}
.drop__tag--food { background: var(--salmon-tint); color: var(--salmon-deep); }
.drop__tag--fashion { background: var(--ink); color: var(--cream); }
.drop__tag--season { background: oklch(90% 0.03 230); color: var(--slate-deep); }
.drop__tag--shop { background: oklch(92% 0.06 105); color: oklch(45% 0.09 115); }
.drop__expiry { color: var(--salmon-deep); font-size: 1.2rem; margin-top: 0.3rem; }

/* ── Mobile section ──────────────────────────── */
.mobile__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.mobile__points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; }
.mobile__points li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; }
.mobile__points li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--salmon);
}
.mobile__points li:nth-child(2)::before { background: var(--flower-yellow); }
.mobile__points li:nth-child(3)::before { background: var(--slate); }
.mobile__points li:nth-child(4)::before { background: var(--flower-pink); }
.mobile__phone-wrap { position: relative; display: grid; place-items: center; }
.phone {
  width: min(310px, 78vw); aspect-ratio: 9 / 19.2;
  background: linear-gradient(160deg, oklch(30% 0.012 60), var(--ink) 40%);
  border-radius: 54px; padding: 9px;
  box-shadow: var(--shadow-2), 0 34px 70px -22px oklch(24% 0.012 60 / 0.4),
              inset 0 0 0 2px oklch(50% 0.01 60 / 0.5);
  transform: rotate(2deg);
  position: relative;
}
.phone::before, .phone::after {
  /* side buttons */
  content: ""; position: absolute; right: -2.5px; width: 2.5px; border-radius: 2px;
  background: oklch(38% 0.012 60);
}
.phone::before { top: 19%; height: 9%; }
.phone::after { left: -2.5px; right: auto; top: 16%; height: 5%; }
.phone__notch {
  position: absolute; top: 22px; left: 50%; translate: -50% 0;
  width: 78px; height: 22px; background: var(--ink); border-radius: 999px; z-index: 3;
  box-shadow: inset 0 0 4px oklch(0% 0 0 / 0.8);
}
.phone__screen {
  background: var(--cream); border-radius: 46px; overflow: clip;
  height: 100%; display: flex; flex-direction: column;
}
.phone__hero { position: relative; flex: 0 0 37%; }
.phone__hero img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(20% 0.02 40 / 0.55), transparent 55%, oklch(20% 0.02 40 / 0.3)); }
.phone__statusbar {
  position: absolute; top: 14px; left: 26px; right: 26px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--cream); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.phone__signal { display: inline-flex; gap: 3px; align-items: flex-end; }
.phone__signal i { width: 3px; background: var(--cream); border-radius: 1px; }
.phone__signal i:nth-child(1) { height: 5px; }
.phone__signal i:nth-child(2) { height: 8px; }
.phone__signal i:nth-child(3) { height: 11px; }
.phone__logo { position: absolute !important; bottom: 12px; left: 18px; width: 62px !important; height: auto !important; object-fit: contain; z-index: 2; }
.phone__body { padding: 1rem 1rem 0.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; min-height: 0; }
.phone__status { padding-bottom: 0.1rem; }
.phone__card {
  background: white; border-radius: 14px; padding: 0.78rem 0.95rem;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-1); font-size: 0.88rem; font-weight: 600;
}
.phone__cta {
  margin: auto 1rem 0.6rem; background: var(--salmon); border-radius: 999px;
  text-align: center; font-weight: 700; padding: 0.8em; font-size: 0.9rem;
}
.phone__home {
  width: 38%; height: 4.5px; border-radius: 999px; background: var(--ink);
  opacity: 0.85; margin: 0 auto 8px; flex: none;
}
.mobile__doodle { position: absolute; width: 80px; color: var(--salmon-deep); right: 4%; top: -8%; transform: rotate(20deg); }
@media (max-width: 880px) { .mobile__grid { grid-template-columns: 1fr; } }

/* ── Final CTA / transition ──────────────────── */
.final-cta { text-align: center; display: grid; justify-items: center; }
.final-cta__logo { width: clamp(100px, 12vw, 150px); margin-bottom: 1rem; }
.final-cta .lead { color: oklch(96% 0.013 85 / 0.7); margin-inline: auto; }
.final-cta__row { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }

.transition { background: var(--cream-deep); padding: clamp(4rem, 8vw, 7rem) var(--pad-x); }
.transition__inner { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 1.1rem; }
.transition__squiggle { width: 180px; color: var(--salmon-deep); }
.transition__label { margin: 0; color: var(--salmon-deep); font-size: 1.6rem; }
.transition__copy { margin: 0; font-size: 1.08rem; color: var(--ink-soft); }

/* ── PROPOSAL ────────────────────────────────── */
.proposal { background: var(--cream); border-top: 3px solid var(--ink); }
.proposal__masthead {
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad-x) clamp(2rem, 4vw, 3rem);
  max-width: calc(1300px + 2 * var(--pad-x));
  margin-inline: auto;
}
.proposal__eyebrow {
  display: inline-block; background: var(--ink); color: var(--cream);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.5em 1.2em; border-radius: 999px; margin: 0 0 1.2rem;
}
.proposal__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
}
.prop-block { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad-x); border-top: 1px solid oklch(24% 0.012 60 / 0.1); }
.prop-block__head { display: flex; align-items: baseline; gap: 1.1rem; margin-bottom: 1.6rem; max-width: 1300px; margin-inline: auto; }
.prop-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: var(--salmon-deep); border: 2px solid var(--salmon-deep); border-radius: 999px;
  padding: 0.25em 0.7em; flex: none;
}
.prop-block__head h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; letter-spacing: -0.01em; }
.prop-block__body { max-width: 1300px; margin-inline: auto; }
.prop-block__body > p { max-width: 72ch; color: var(--ink-soft); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.compare__col { border-radius: var(--radius); padding: 1.7rem 1.8rem; }
.compare__col h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 1rem; }
.compare__col ul { margin: 0; padding: 0 0 0 1.15em; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.compare__col--now { background: var(--cream-deep); color: var(--ink-soft); }
.compare__col--next { background: var(--ink); color: var(--cream); }
.compare__col--next h4 { color: var(--salmon); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.objective-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 74ch; }
.objective-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.objective-list li::before {
  content: ""; position: absolute; left: 0; top: 0.48em; width: 11px; height: 11px; border-radius: 50%;
  background: var(--salmon);
}
.objective-list li:nth-child(2)::before { background: var(--flower-yellow); }
.objective-list li:nth-child(3)::before { background: var(--flower-pink); }
.objective-list li:nth-child(4)::before { background: var(--slate); }
.objective-list li:nth-child(5)::before { background: var(--cow); }
.objective-list b { color: var(--ink); }

.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(228px, 100%), 1fr)); gap: 1.3rem; }
.scope-card { background: white; border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-1); }
.scope-card h4 { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 0.9rem; }
.scope-card__dot { width: 13px; height: 13px; border-radius: 50%; flex: none; }
.scope-card__dot--a { background: var(--salmon); }
.scope-card__dot--b { background: var(--slate); }
.scope-card__dot--c { background: var(--flower-pink); }
.scope-card__dot--d { background: var(--flower-yellow); }
.scope-card ul { margin: 0; padding: 0 0 0 1.1em; display: grid; gap: 0.45rem; font-size: 0.92rem; color: var(--ink-soft); }
.scope-note { font-size: 0.92rem; color: var(--ink-soft); max-width: 72ch; margin-top: 1.6rem; }

/* CMS demo */
.cms-demo { background: white; border-radius: var(--radius); box-shadow: var(--shadow-2); overflow: clip; margin: 1.8rem 0; }
.cms-demo__bar { display: flex; align-items: center; gap: 6px; background: var(--ink); color: oklch(96% 0.013 85 / 0.75); padding: 0.6rem 1rem; font-size: 0.78rem; }
.cms-demo__dot { width: 10px; height: 10px; border-radius: 50%; background: oklch(96% 0.013 85 / 0.25); }
.cms-demo__title { margin-left: 0.6rem; font-family: var(--font-display); letter-spacing: 0.03em; }
.cms-demo__body { padding: 0.5rem 0.5rem 1rem; position: relative; }
.cms-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.cms-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); padding: 0.8rem 1rem 0.5rem; border-bottom: 1px solid oklch(24% 0.012 60 / 0.1); }
.cms-table td { padding: 0.85rem 1rem; border-bottom: 1px solid oklch(24% 0.012 60 / 0.07); vertical-align: middle; }
.cms-table tr:last-child td { border-bottom: none; }
.cms-table__sub { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.cms-table__archived { opacity: 0.6; }
.cms-select {
  font: inherit; font-size: 0.88rem; padding: 0.4em 0.7em; border-radius: 8px;
  border: 1.5px solid oklch(24% 0.012 60 / 0.2); background: var(--cream); color: var(--ink);
}
.cms-pill {
  display: inline-block; background: var(--cream-deep); border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; padding: 0.35em 0.9em; color: var(--ink-soft);
}
.cms-pill--archived { background: oklch(90% 0.03 230); color: var(--slate-deep); }
.cms-demo__toast {
  position: absolute; bottom: 0.8rem; right: 1rem;
  background: var(--ink); color: var(--cream); border-radius: 999px;
  font-size: 0.8rem; padding: 0.45em 1.2em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
  pointer-events: none;
}
.cms-demo__toast.is-in { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .cms-table thead { display: none; }
  .cms-table tr { display: grid; gap: 0.15rem; padding: 0.9rem 0.4rem; border-bottom: 1px solid oklch(24% 0.012 60 / 0.08); }
  .cms-table td { display: block; border: none; padding: 0.15rem 0.5rem; }
}
.cms-features { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.6rem; font-size: 0.92rem; }
.cms-features li { display: flex; gap: 0.55rem; align-items: baseline; color: var(--ink-soft); }
.cms-features li::before { content: "✓"; color: var(--wa); font-weight: 700; }

.seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.seo-item { border: 1.5px solid oklch(24% 0.012 60 / 0.14); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.seo-item b { font-family: var(--font-display); font-size: 1.02rem; }
.seo-item p { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 860px; counter-reset: phase; }
.phase { position: relative; padding: 1.3rem 0 1.3rem 2.6rem; border-left: 2px solid oklch(24% 0.012 60 / 0.14); margin-left: 8px; }
.phase::before {
  content: ""; position: absolute; left: -9px; top: 1.75rem; width: 16px; height: 16px;
  border-radius: 50%; background: var(--salmon); border: 3px solid var(--cream);
}
.phase__weeks { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--salmon-deep); }
.phase h4 { font-family: var(--font-display); margin: 0.2rem 0 0.3rem; font-size: 1.18rem; }
.phase p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; max-width: 58ch; }

.deliv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0.8rem; }
.deliv-list li {
  background: white; border-radius: 10px; box-shadow: var(--shadow-1);
  padding: 0.9rem 1.2rem; font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.deliv-list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--salmon); flex: none; }

/* Quotation */
.prop-block--quote { background: var(--ink); color: var(--cream); }
.prop-block--quote .prop-num { color: var(--salmon); border-color: var(--salmon); }
.prop-block--quote .prop-block__body > p { color: oklch(96% 0.013 85 / 0.7); }
.quote-table { border: 1px solid oklch(96% 0.013 85 / 0.16); border-radius: var(--radius); overflow: clip; margin: 1.6rem 0; }
.quote-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 1.6rem; border-bottom: 1px solid oklch(96% 0.013 85 / 0.1);
}
.quote-row:last-child { border-bottom: none; }
.quote-row__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.quote-row__name em { display: block; font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 0.85rem; color: oklch(96% 0.013 85 / 0.55); margin-top: 0.2rem; }
.quote-row__price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.quote-row--total { background: var(--salmon); color: var(--ink); }
.quote-row--total .quote-row__name { font-size: 1.15rem; font-weight: 800; }
.quote-row--total .quote-row__price { font-size: 1.5rem; }
/* the market-vs-proposal comparison */
.quote-vs { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.4rem; margin: 2rem 0 1.6rem; align-items: stretch; }
.quote-vs__col { border-radius: var(--radius); padding: 1.6rem 1.7rem; position: relative; }
.quote-vs__col h4 { font-family: var(--font-display); margin: 0 0 0.3rem; font-size: 1.02rem; }
.quote-vs__col ul { margin: 0.9rem 0 0; padding: 0 0 0 1.15em; display: grid; gap: 0.45rem; font-size: 0.92rem; }
.quote-vs__price { font-family: var(--font-display); font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.quote-vs__col--market { border: 1px dashed oklch(96% 0.013 85 / 0.3); color: oklch(96% 0.013 85 / 0.55); }
.quote-vs__col--market .quote-vs__price { font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: oklch(96% 0.013 85 / 0.6); line-height: 1.25; }
.quote-vs__col--ours { background: oklch(96% 0.013 85 / 0.06); border: 1.5px solid var(--salmon); box-shadow: 0 0 0 5px oklch(76% 0.13 45 / 0.12); }
.quote-vs__col--ours .quote-vs__price { font-size: clamp(2.2rem, 4.2vw, 3.1rem); color: var(--salmon); }
.quote-vs__flag {
  position: absolute; top: -0.95em; left: 1.4rem;
  background: var(--salmon); color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em;
  line-height: 1.1;
  padding: 0.18em 0.9em 0.12em; border-radius: 999px;
  transform: rotate(-1.5deg);
}
@media (max-width: 700px) { .quote-vs { grid-template-columns: 1fr; } }

.quote-row__price--inc { color: var(--salmon); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.07em; }
.quote-row__price--inc::before { content: "✓ "; }

/* the free daily-board row */
.quote-row--free { background: oklch(76% 0.13 45 / 0.08); border-top: 1px dashed oklch(76% 0.13 45 / 0.45); }
.quote-row--free .quote-row__name { color: var(--salmon); }
.quote-row--free .quote-row__name em { color: oklch(96% 0.013 85 / 0.65); }
.quote-row__price--free {
  color: var(--salmon); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem;
  display: grid; justify-items: end; gap: 0.05rem;
}
.quote-row__price--free i { font-style: normal; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: none; color: oklch(96% 0.013 85 / 0.6); }

/* one platform, both markets */
.quote-both {
  display: flex; align-items: center; gap: 1.2rem;
  border: 1.5px dashed oklch(96% 0.013 85 / 0.3); border-radius: var(--radius);
  padding: 1.3rem 1.6rem; margin: 0 0 1.8rem;
}
.quote-both svg { width: 54px; flex: none; color: var(--salmon); }
.quote-both p { margin: 0; font-size: 0.95rem; color: oklch(96% 0.013 85 / 0.78); }
.quote-both b { color: var(--salmon); }

.quote-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1.8rem 0; }
.quote-aside__col { border: 1px solid oklch(96% 0.013 85 / 0.16); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.quote-aside__col h4 { font-family: var(--font-display); margin: 0 0 0.8rem; color: var(--salmon); }
.quote-aside__col ul { margin: 0; padding: 0 0 0 1.1em; display: grid; gap: 0.5rem; font-size: 0.93rem; color: oklch(96% 0.013 85 / 0.78); }
@media (max-width: 700px) { .quote-aside { grid-template-columns: 1fr; } }
.quote-disclaimer {
  font-size: 0.83rem; color: oklch(96% 0.013 85 / 0.55); max-width: 80ch;
  border-top: 1px dashed oklch(96% 0.013 85 / 0.25); padding-top: 1.3rem; margin-top: 0.5rem;
}

/* why me, not an agency */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.3rem; }
.why-card {
  background: white; border-radius: var(--radius); padding: 1.6rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-1);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.why-card:hover { transform: translateY(-4px) rotate(-0.3deg); box-shadow: var(--shadow-2); }
.why-card__kicker { margin: 0 0 0.4rem; color: var(--salmon-deep); font-size: 1.3rem; }
.why-card h4 { font-family: var(--font-display); font-size: 1.18rem; margin: 0 0 0.55rem; }
.why-card p:not(.why-card__kicker) { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

.terms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; max-width: 74ch; }
.terms-list li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); font-size: 0.95rem; }
.terms-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }

/* Prop CTA */
.prop-cta { background: var(--salmon-deep); color: var(--cream); padding: clamp(4.5rem, 9vw, 8rem) var(--pad-x); }
.prop-cta__inner { max-width: 760px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.prop-cta__logo { width: clamp(90px, 11vw, 130px); margin-bottom: 1.4rem; }
.prop-cta h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.04; margin: 0 0 1.1rem; letter-spacing: -0.015em; }
.prop-cta p { color: oklch(96% 0.013 85 / 0.88); max-width: 62ch; margin: 0 0 2rem; }
.prop-cta__phone { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 1.4rem 0 0.4rem !important; }
.prop-cta__prefill { font-size: 1.35rem !important; color: oklch(96% 0.013 85 / 0.75) !important; margin: 0 !important; }

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--ink); color: oklch(96% 0.013 85 / 0.6); text-align: center;
  /* the footer runs under the phone's home-indicator area, staying dark to the very edge */
  padding: 3rem var(--pad-x) calc(3.5rem + env(safe-area-inset-bottom));
}
.footer__mark { width: 46px; margin: 0 auto 1rem; filter: invert(1) brightness(1.6); }
.footer__note { max-width: 68ch; margin: 0 auto 0.6rem; font-size: 0.85rem; }
.footer__legal { max-width: 68ch; margin: 0 auto; font-size: 0.75rem; color: oklch(96% 0.013 85 / 0.4); }

/* ══════════════ ORDER OVERLAY ══════════════ */
.order {
  position: fixed; inset: 0; z-index: 150;
  background: oklch(24% 0.012 60 / 0.55);
  display: grid; place-items: center; padding: clamp(0.5rem, 2vw, 2rem);
  opacity: 0; transition: opacity 320ms var(--ease-out);
}
/* display:grid above would otherwise override the hidden attribute,
   leaving an invisible full-screen layer that blocks clicks and
   forces constant compositing while scrolling */
.order[hidden] { display: none; }
.order.is-in { opacity: 1; }
.order__frame {
  background: var(--cream); border-radius: 20px; width: min(1060px, 100%);
  max-height: min(92svh, 860px); display: flex; flex-direction: column;
  box-shadow: var(--shadow-2); overflow: clip;
  transform: translateY(26px) scale(0.98);
  transition: transform 380ms var(--ease-swift);
}
.order.is-in .order__frame { transform: none; }
.order__top {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1rem 1.4rem; border-bottom: 1px solid oklch(24% 0.012 60 / 0.1);
}
.order__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.order__brand img { width: 30px; height: 30px; }
.order__steps { list-style: none; display: flex; gap: 0.4rem; margin: 0 auto; padding: 0; }
.order__steps li {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  padding: 0.35em 1em; border-radius: 999px;
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out);
}
.order__steps li.is-current { background: var(--ink); color: var(--cream); }
.order__steps li.is-done { color: var(--wa); }
.order__close { background: none; border: none; padding: 0.5rem; display: grid; place-items: center; border-radius: 50%; transition: background-color 150ms; }
.order__close:hover { background: oklch(24% 0.012 60 / 0.08); }
.order__close svg { width: 20px; height: 20px; }
.order__ribbon {
  margin: 0; text-align: center; background: var(--salmon-tint); color: var(--salmon-deep);
  font-size: 0.78rem; font-weight: 600; padding: 0.4em;
}
.order__stage { overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: var(--salmon-deep) transparent; }
.order__stage::-webkit-scrollbar { width: 6px; }
.order__stage::-webkit-scrollbar-thumb { background: var(--salmon-deep); border-radius: 999px; }
.order__stage::-webkit-scrollbar-track { background: transparent; }
.ostep { padding: clamp(1.4rem, 3vw, 2.4rem); animation: stepIn 420ms var(--ease-out); }
/* explicit display values (e.g. the confirm step's grid, declared
   later in this file) must never defeat the hidden attribute that
   drives step/tab switching — hence the !important */
.ostep[hidden], .oview[hidden] { display: none !important; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }
.ostep__title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0 0 1.4rem; }

.ostep__locs { display: grid; gap: 1rem; }
.oloc {
  display: flex; gap: 1.1rem; align-items: center; text-align: left;
  background: white; border: 2px solid transparent; border-radius: var(--radius);
  padding: 0.8rem; box-shadow: var(--shadow-1);
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.oloc:hover:not(.is-disabled) { transform: translateY(-2px); border-color: var(--salmon); box-shadow: var(--shadow-2); }
.oloc:active:not(.is-disabled) { transform: scale(0.99); }
.oloc img { width: 110px; height: 82px; object-fit: cover; border-radius: 9px; flex: none; }
.oloc__body { display: grid; gap: 0.1rem; }
.oloc__body b { font-family: var(--font-display); font-size: 1.1rem; }
.oloc__body small { color: var(--ink-soft); }
.oloc.is-disabled { opacity: 0.55; cursor: default; }

.ostep__fulfil { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ful {
  display: grid; justify-items: center; gap: 0.3rem; text-align: center;
  background: white; border: 2px solid transparent; border-radius: var(--radius);
  padding: 1.6rem 1rem 1.4rem; box-shadow: var(--shadow-1);
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.ful svg { width: 44px; height: 44px; color: var(--salmon-deep); }
.ful b { font-family: var(--font-display); font-size: 1.1rem; }
.ful small { color: var(--ink-soft); }
.ful:hover { transform: translateY(-2px); }
.ful.is-selected { border-color: var(--ink); background: var(--salmon-tint); }
@media (max-width: 560px) { .ostep__fulfil { grid-template-columns: 1fr; } }

.ostep__field { display: grid; gap: 0.35rem; margin-top: 1.2rem; }
.ostep__field span { font-weight: 700; font-size: 0.9rem; }
.ostep__field input, .checkout__form input {
  font: inherit; padding: 0.75em 1em; border-radius: 10px;
  border: 1.5px solid oklch(24% 0.012 60 / 0.2); background: white; color: var(--ink);
  transition: border-color 150ms;
}
.ostep__field input:focus, .checkout__form input:focus { outline: none; border-color: var(--salmon-deep); }
.ostep__field small { color: var(--salmon-deep); font-size: 1.15rem; }
.ostep__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.ostep__nav--board { margin-top: 1rem; }

.ostep__boardhead { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ostep__boardhead .ostep__title { margin-bottom: 0.6rem; }
.ostep__boardsub { color: var(--salmon-deep); margin: 0; }
.ostep__board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr); gap: 1.4rem; align-items: start; }
/* minmax(0,…) everywhere: the nowrap dish descriptions must never
   set the track's minimum width, or the board overflows small phones */
@media (max-width: 760px) { .ostep__board { grid-template-columns: minmax(0, 1fr); } }
.ostep__list { display: grid; gap: 0.8rem; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.oitem {
  display: flex; gap: 1rem; align-items: center; background: white;
  border-radius: 12px; padding: 0.65rem; box-shadow: var(--shadow-1);
}
.oitem img { width: 76px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.oitem__body { flex: 1; min-width: 0; }
.oitem__body b { font-family: var(--font-display); display: block; font-size: 0.98rem; }
.oitem__body small { color: var(--ink-soft); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oitem__price { font-weight: 700; white-space: nowrap; font-size: 0.92rem; }
.oitem__add {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; font-weight: 700; font-size: 1.1rem; flex: none;
  display: grid; place-items: center;
  transition: background-color 150ms, color 150ms, transform 150ms;
}
.oitem__add:hover { background: var(--ink); color: var(--cream); }
.oitem__add:active { transform: scale(0.9); }

.basket { background: white; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.2rem 1.3rem; position: sticky; top: 0; min-width: 0; }
.basket h4 { font-family: var(--font-display); margin: 0 0 0.8rem; font-size: 1.1rem; }
.basket__empty { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }
.basket__items { display: grid; gap: 0.55rem; }
.bitem { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; animation: stepIn 300ms var(--ease-out); }
.bitem__name { flex: 1; font-weight: 600; }
.bitem__qty { display: inline-flex; align-items: center; gap: 0.45rem; }
.bitem__qty button {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid oklch(24% 0.012 60 / 0.25);
  background: none; font-weight: 700; line-height: 1; display: grid; place-items: center;
}
.bitem__qty button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.bitem__price { font-weight: 700; min-width: 42px; text-align: right; }
.basket__upsell { margin-top: 1rem; border-top: 1px dashed oklch(24% 0.012 60 / 0.2); padding-top: 0.7rem; }
.basket__upsell p { margin: 0 0 0.4rem; color: var(--salmon-deep); font-size: 1.25rem; }
.basket__upsell-btn {
  width: 100%; text-align: left; background: var(--salmon-tint); border: 1.5px dashed var(--salmon-deep);
  border-radius: 10px; padding: 0.6rem 0.9rem; font-size: 0.86rem; font-weight: 600;
  transition: background-color 150ms, transform 150ms;
}
.basket__upsell-btn:hover { background: var(--salmon); transform: translateY(-1px); }
.basket__totals { margin-top: 1rem; border-top: 1px solid oklch(24% 0.012 60 / 0.12); padding-top: 0.8rem; display: grid; gap: 0.3rem; font-size: 0.92rem; }
.basket__totals div { display: flex; justify-content: space-between; }
.basket__grand { font-family: var(--font-display); font-size: 1.05rem; }
.basket__checkout { width: 100%; margin-top: 1rem; }

.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr); gap: 1.6rem; align-items: start; }
@media (max-width: 760px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.checkout__form { display: grid; gap: 1rem; min-width: 0; }
.checkout__summary { min-width: 0; }
.checkout__form label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; }
.checkout__pay { border: 1px solid oklch(24% 0.012 60 / 0.15); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; display: grid; gap: 0.7rem; margin: 0; }
.checkout__pay legend { font-weight: 700; padding: 0 0.4em; font-size: 0.9rem; }
.payopt { display: flex !important; gap: 0.7rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.payopt input { accent-color: var(--salmon-deep); margin-top: 0.25em; }
.payopt b { display: block; font-size: 0.95rem; }
.payopt small { color: var(--ink-soft); }
.checkout__submit { justify-self: start; }
.checkout__amount { opacity: 0.75; font-weight: 600; }
.checkout__note { margin: 0; font-size: 0.8rem; color: var(--ink-soft); }
.checkout__summary { background: white; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.2rem 1.3rem; font-size: 0.92rem; display: grid; gap: 0.45rem; }
.checkout__summary h4 { font-family: var(--font-display); margin: 0 0 0.4rem; }
.checkout__summary div { display: flex; justify-content: space-between; gap: 1rem; }
.checkout__summary .sum-total { border-top: 1px solid oklch(24% 0.012 60 / 0.12); padding-top: 0.5rem; font-weight: 700; font-family: var(--font-display); }

.ostep--confirm { display: grid; place-items: center; text-align: center; }
.confirm { max-width: 480px; display: grid; justify-items: center; }
.confirm__stamp {
  width: 92px; height: 92px; border-radius: 50%; background: var(--salmon-tint);
  display: grid; place-items: center; margin-bottom: 0.8rem;
  animation: stampIn 600ms var(--ease-out);
}
.confirm__stamp img { width: 58px; }
@keyframes stampIn { from { transform: scale(0.85); opacity: 0; } 60% { transform: scale(1.05); } to { transform: scale(1); opacity: 1; } }
.confirm__hand { color: var(--salmon-deep); font-size: 1.8rem; margin: 0; }
.confirm .ostep__title { margin-bottom: 0.4rem; }
.confirm__no { color: var(--ink-soft); margin: 0 0 1.2rem; }
.confirm__track { list-style: none; display: flex; gap: 0.3rem; padding: 0; margin: 0 0 1.2rem; flex-wrap: wrap; justify-content: center; }
.confirm__track li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); padding: 0.3em 0.7em; }
.confirm__track li i { width: 10px; height: 10px; border-radius: 50%; background: oklch(24% 0.012 60 / 0.15); transition: background-color 400ms; }
.confirm__track li.is-done { color: var(--wa); }
.confirm__track li.is-done i { background: var(--wa); }
.confirm__note { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 1.4rem; }
.confirm__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }

/* ── Custom scrollbar ────────────────────────── */
.sbar {
  position: fixed; top: 10px; bottom: 10px; right: 5px; width: 14px;
  z-index: 180; cursor: pointer;
  opacity: 0; transition: opacity 350ms var(--ease-out);
}
.sbar::before {
  /* the visible track, thinner than the hit area */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; translate: -50% 0;
  width: 3px; border-radius: 999px;
  background: oklch(24% 0.012 60 / 0.12);
  transition: width 200ms var(--ease-out);
}
.sbar.is-awake, .sbar:hover, .sbar.is-dragging { opacity: 1; }
.sbar:hover::before, .sbar.is-dragging::before { width: 7px; }
.sbar__thumb {
  position: absolute; left: 50%; translate: -50% 0; top: 0;
  width: 7px; min-height: 46px; border-radius: 999px;
  background: var(--salmon-deep);
  display: grid; place-items: center;
  transition: width 200ms var(--ease-out), background-color 200ms var(--ease-out);
  touch-action: none;
}
.sbar:hover .sbar__thumb, .sbar.is-dragging .sbar__thumb { width: 13px; background: var(--salmon-deep); }
.sbar__fish {
  width: 11px; height: auto; color: var(--cream);
  rotate: 90deg; opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.sbar:hover .sbar__fish, .sbar.is-dragging .sbar__fish { opacity: 1; }
.sbar.is-dragging { cursor: grabbing; }
@media (max-width: 700px), (pointer: coarse) {
  .sbar { width: 10px; right: 3px; }
  .sbar:hover::before { width: 3px; }
  .sbar:hover .sbar__thumb { width: 7px; }
  .sbar__fish { display: none; }
}

/* ── Toast ───────────────────────────────────── */
.toast {
  position: fixed; bottom: 4.4rem; left: 50%; translate: -50% 0; z-index: 160;
  background: var(--ink); color: var(--cream); border-radius: 999px;
  padding: 0.65em 1.5em; font-size: 0.88rem; font-weight: 600;
  box-shadow: var(--shadow-2); max-width: min(90vw, 480px); text-align: center;
  opacity: 0; translate: -50% 12px; pointer-events: none;
  transition: opacity 300ms var(--ease-out), translate 300ms var(--ease-out);
}
.toast.is-in { opacity: 1; translate: -50% 0; }

/* ── Fly-to-cart ─────────────────────────────── */
.fly {
  position: fixed; z-index: 170; width: 14px; height: 14px; border-radius: 50%;
  background: var(--salmon-deep); pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   THE SHOP LAYER — materials from Saifi, drawn in code.
   Yellow circle tiles (the tabletops), black slate boards
   (how dishes are served), white enamel trays with a dark rim,
   crushed ice and wooden crates (the fish counter).
   Applied to the concept sections only; the proposal stays clean.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* the hand-painted concentric-circle tile from the tabletops */
  --tex-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132'%3E%3Crect width='132' height='132' fill='%23f8f0da'/%3E%3Cg fill='none'%3E%3Ccircle cx='66' cy='66' r='10' stroke='%23e7b23a' stroke-width='8'/%3E%3Ccircle cx='66' cy='66' r='24' stroke='%23efc65f' stroke-width='6.5'/%3E%3Ccircle cx='66' cy='66' r='37' stroke='%23e7b23a' stroke-width='5'/%3E%3Ccircle cx='66' cy='66' r='49' stroke='%23f3d385' stroke-width='4.5'/%3E%3Ccircle cx='66' cy='66' r='59' stroke='%23efc65f' stroke-width='3.5'/%3E%3C/g%3E%3Ccircle cx='66' cy='66' r='3.5' fill='%23e7b23a'/%3E%3Crect x='1.25' y='1.25' width='129.5' height='129.5' fill='none' stroke='%23e7dbba' stroke-width='2.5'/%3E%3C/svg%3E");
  /* crushed ice from the fish counter */
  --tex-ice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Crect width='110' height='110' fill='%23e9f2f6'/%3E%3Cg stroke='%23cfe1ea' stroke-width='1'%3E%3Cpath d='M8 22 26 9l14 17-19 13z' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M52 4 70 12l-6 18-17-7z' fill='%23f4fafc' fill-opacity='.9'/%3E%3Cpath d='M84 26 102 18l6 16-16 9z' fill='%23ffffff' fill-opacity='.6'/%3E%3Cpath d='M18 58 38 48l10 16-21 11z' fill='%23f0f7fa' fill-opacity='.9'/%3E%3Cpath d='M62 44 82 40l4 19-18 6z' fill='%23ffffff' fill-opacity='.7'/%3E%3Cpath d='M4 92 20 80l13 13-16 12z' fill='%23ffffff' fill-opacity='.8'/%3E%3Cpath d='M48 76 68 70l7 16-19 10z' fill='%23f4fafc' fill-opacity='.75'/%3E%3Cpath d='M88 66 106 62l2 20-15 5z' fill='%23ffffff' fill-opacity='.65'/%3E%3Cpath d='M36 98 54 92l8 14-17 4z' fill='%23eef5f9' fill-opacity='.9'/%3E%3C/g%3E%3C/svg%3E");

  /* real graphite, derived from the Poliigon slate PBR base-color map */
  --graphite-slab: url("../assets/graphite-slab.jpg");
  --graphite-tiles: url("../assets/graphite-tiles.jpg");
  --enamel-rim: #333c47;
  --grout: #e7dbba;
}

/* ── The menu: the tiled table ───────────────── */
.menu {
  background: var(--tex-tile);
  background-size: 132px 132px;
  border-top: 3px solid var(--grout);
  border-bottom: 3px solid var(--grout);
}

/* the daily menu sheet, laid on the tiles like the printed board */
.menu__head {
  background: #fffdf6;
  border-radius: 6px;
  box-shadow: 0 1px 0 1px oklch(24% 0.012 60 / 0.05), 0 10px 26px -12px oklch(24% 0.012 60 / 0.35);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3.2vw, 2.4rem);
  transform: rotate(-0.35deg);
}
.menu .filter { background: #fffdf6; }
.menu .filter.is-active { background: var(--ink); }

/* dishes served on graphite boards */
.dish {
  background: var(--graphite-slab) center / cover #2b2d31;
  border-radius: 6px;
  color: var(--cream);
  box-shadow: 0 2px 4px -2px oklch(24% 0.012 60 / 0.4), 0 14px 28px -14px oklch(24% 0.012 60 / 0.5);
}
.dish:hover { box-shadow: 0 4px 8px -3px oklch(24% 0.012 60 / 0.4), 0 22px 40px -16px oklch(24% 0.012 60 / 0.55); }
/* the photo sits inset on the board, like the dish plated on slate */
.dish__media { margin: 0.55rem 0.55rem 0; border-radius: 4px; overflow: clip; }
.dish--note .dish__note-inner { padding: 2rem 1.8rem; }
.dish__desc { color: oklch(96% 0.013 85 / 0.68); }
.dish__row { border-top: 1px dashed oklch(96% 0.013 85 / 0.22); padding-top: 0.7rem; }
/* the handwritten white price tag from the counter */
.dish__price {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: #fffdf6;
  padding: 0.22em 0.6em 0.18em;
  border-radius: 3px;
  box-shadow: 0 2px 5px -1px oklch(0% 0 0 / 0.45);
  transform: rotate(-2deg);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.dish__price::before {
  content: "";
  width: 17px; height: 9px; flex: none;
  background: var(--salmon-deep);
  clip-path: polygon(0 50%, 30% 8%, 62% 0, 78% 22%, 100% 4%, 88% 50%, 100% 96%, 78% 78%, 62% 100%, 30% 92%);
}
.dish__add { border-color: oklch(96% 0.013 85 / 0.65); color: var(--cream); }
.dish__add:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* the note card becomes a white enamel tray with its dark rim */
.dish--note {
  background: #fdfcf7;
  color: var(--ink);
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px var(--enamel-rim), inset 0 0 0 4.5px #fdfcf7,
              inset 0 14px 22px -16px oklch(24% 0.012 60 / 0.35),
              0 10px 24px -12px oklch(24% 0.012 60 / 0.35);
  background-image:
    radial-gradient(circle at 0% 22%, var(--enamel-rim) 3px, transparent 3.8px),
    radial-gradient(circle at 100% 78%, var(--enamel-rim) 2.6px, transparent 3.4px);
}
.dish--note:hover { box-shadow: inset 0 0 0 3px var(--enamel-rim), inset 0 0 0 4.5px #fdfcf7, inset 0 14px 22px -16px oklch(24% 0.012 60 / 0.35), 0 10px 24px -12px oklch(24% 0.012 60 / 0.35); }
.dish--note .dish__note-inner p:not(.dish__note-hand) { color: var(--ink-soft); }

/* ── Order intro: enamel-tray location chips ─── */
.loc-chip {
  background: #fdfcf7;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2.5px var(--enamel-rim), inset 0 0 0 4px #fdfcf7,
              0 4px 12px -6px oklch(24% 0.012 60 / 0.3);
  background-image: radial-gradient(circle at 82% 0%, var(--enamel-rim) 2.6px, transparent 3.4px);
  padding: 1.4rem 1.5rem;
}
.loc-chip:hover:not(.is-disabled) {
  box-shadow: inset 0 0 0 2.5px var(--enamel-rim), inset 0 0 0 4px #fdfcf7,
              0 14px 28px -12px oklch(24% 0.012 60 / 0.4);
}

/* ── Locations: the blue-striped plate rim ───── */
.loc-card::before {
  content: "";
  height: 9px; flex: none;
  background: repeating-linear-gradient(90deg,
    #fdfcf7 0 16px, oklch(48% 0.055 235) 16px 27px);
}

/* ── Shop: the wooden crate & the ice counter ── */
.shelf {
  background:
    repeating-linear-gradient(90deg, oklch(0% 0 0 / 0.035) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(180deg, #c9a06b 0 82px, #b88d58 82px 88px, #ab8150 88px 90px);
  border-radius: var(--radius);
  border: 1px solid #a37a4a;
  box-shadow: inset 0 2px 10px oklch(0% 0 0 / 0.22), var(--shadow-1);
  padding: 1.2rem 1.1rem 1.4rem;
}
.product { box-shadow: 0 3px 6px -3px oklch(0% 0 0 / 0.35), 0 12px 20px -12px oklch(0% 0 0 / 0.4); }
/* fresh counters sit on crushed ice */
.product__art--fish, .product__art--meat {
  background: var(--tex-ice);
  background-size: 110px 110px;
}
.product__art--fish { color: var(--slate-deep); }
.product__art--meat { color: oklch(48% 0.1 30); }
/* handwritten counter price labels */
.product__meta {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--ink);
  align-self: start;
  background: #fffdf6;
  border: 1px solid oklch(24% 0.012 60 / 0.18);
  border-radius: 3px;
  padding: 0.14em 0.55em 0.08em;
  box-shadow: 0 1px 3px oklch(24% 0.012 60 / 0.18);
  transform: rotate(-1.2deg);
}
.product--photo-cap { rotate: -2deg; }

/* ── Brand photo: framed like the enamel plate ─ */
.brand__photo--float img {
  border: 6px solid #fdfcf7;
  box-shadow: 0 0 0 2px var(--enamel-rim), var(--shadow-2);
}

/* ── Final CTA: the graphite tiled wall ──────── */
.final-cta {
  background: var(--graphite-tiles) center / 700px 700px repeat #2b2d31;
}

/* ── Order overlay: the board on the table ───── */
.ostep--board {
  background: var(--tex-tile);
  background-size: 132px 132px;
}
.ostep__boardhead {
  background: #fffdf6;
  border-radius: 6px;
  box-shadow: 0 6px 18px -10px oklch(24% 0.012 60 / 0.4);
  padding: 0.8rem 1.3rem 0.5rem;
  margin-bottom: 1.2rem;
  transform: rotate(-0.3deg);
  display: inline-flex;
  width: fit-content;
}
.ostep--board .ostep__title { margin-bottom: 0.3rem; }
/* the basket is an enamel tray */
.basket {
  background: #fdfcf7;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2.5px var(--enamel-rim), inset 0 0 0 4px #fdfcf7,
              0 8px 20px -10px oklch(24% 0.012 60 / 0.35);
  background-image: radial-gradient(circle at 0% 68%, var(--enamel-rim) 2.6px, transparent 3.4px);
  padding: 1.35rem 1.4rem;
}

/* ── Mobile rails: swipe instead of scroll ─────
   On phones the menu, locations and Captive stacks
   became very long; they turn into horizontal
   scroll-snap rails, like flicking through the counter. */
.swipe-hint { display: none; }

@media (max-width: 640px) {
  .swipe-hint {
    display: block;
    margin: 0 0 0.7rem;
    color: var(--salmon-deep);
    font-size: 1.35rem;
  }
  .menu .swipe-hint {
    background: #fffdf6;
    width: fit-content;
    padding: 0.15em 0.9em;
    border-radius: 999px;
    box-shadow: 0 4px 12px -6px oklch(24% 0.012 60 / 0.4);
    transform: rotate(-1deg);
  }
  .swipe-hint--light { color: var(--salmon); }

  .menu__grid, .locations__grid, .captive__rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.95rem;
    /* bleed to the screen edge so the next card peeks in */
    margin-inline: calc(-1 * var(--pad-x));
    padding-inline: var(--pad-x);
    padding-bottom: 0.9rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* a finger on a card can still scroll the page vertically;
       sideways swipes are axis-locked in JS so the page never
       wanders up and down while flicking through cards */
    touch-action: pan-y;
    overscroll-behavior-x: contain;
  }
  .menu__grid.is-dragging,
  .locations__grid.is-dragging,
  .captive__rail.is-dragging { scroll-snap-type: none; }
  .menu__grid::-webkit-scrollbar,
  .locations__grid::-webkit-scrollbar,
  .captive__rail::-webkit-scrollbar { display: none; }

  .menu__grid > .dish { flex: 0 0 min(76vw, 320px); scroll-snap-align: center; }
  .menu__grid > .dish.is-hidden { display: none; }
  .locations__grid > .loc-card { flex: 0 0 min(80vw, 330px); scroll-snap-align: center; }
  .captive__rail > .cap-item { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
}

/* ══════════════ MOBILE APP SHELL ══════════════
   On desktop the order journey stays a centred dialog.
   On phones it opens as a full-screen web app: slide-up
   launch, bottom tab bar, and two preview screens
   (My Orders, Profile) hinting at the production build. */

.order__tabs { display: none; }

/* ── App views (reached from the tab bar) ────── */
.oview { padding: clamp(1.3rem, 3vw, 2.2rem); animation: stepIn 420ms var(--ease-out); }
.oview__head { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.oview__head .ostep__title { margin-bottom: 0.9rem; }
.oview__hint { color: var(--salmon-deep); margin: 0; }
.oview__note { font-size: 0.82rem; color: var(--ink-soft); margin: 1.3rem 0 0; }

/* previous orders */
.oview__list { display: grid; gap: 0.9rem; }
.pastorder {
  background: white; border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: 1rem 1.15rem 1.1rem; display: grid; gap: 0.3rem;
}
.pastorder header { display: flex; justify-content: space-between; align-items: center; }
.pastorder header b { font-family: var(--font-display); font-size: 1.02rem; }
.pastorder__status {
  font-size: 0.72rem; font-weight: 700; color: var(--wa);
  background: oklch(65% 0.16 150 / 0.12); border-radius: 999px; padding: 0.25em 0.9em;
}
.pastorder__meta { margin: 0; font-size: 0.8rem; color: var(--ink-soft); }
.pastorder__items { margin: 0; font-size: 0.92rem; }
.pastorder footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.5rem; padding-top: 0.65rem; border-top: 1px dashed oklch(24% 0.012 60 / 0.18);
}
.pastorder footer > b { font-family: var(--font-display); }
.pastorder__re {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; padding: 0.4em 1.3em;
  transition: background-color 150ms, color 150ms, transform 150ms;
}
.pastorder__re:hover { background: var(--ink); color: var(--cream); }
.pastorder__re:active { transform: scale(0.95); }

/* profile */
.profile__card {
  display: flex; gap: 1rem; align-items: center; background: white;
  border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.1rem 1.2rem;
  margin-bottom: 0.9rem;
}
.profile__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--salmon-tint); color: var(--salmon-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  box-shadow: inset 0 0 0 2px var(--salmon);
}
.profile__id b { font-family: var(--font-display); display: block; }
.profile__id small { color: var(--ink-soft); line-height: 1.45; display: block; }
.profile__loyalty {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 1rem 1.2rem 1.15rem; margin-bottom: 0.9rem;
}
.profile__loyalty .hand { color: var(--salmon); margin: 0 0 0.2rem; }
.profile__pts { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; }
.profile__pts b { font-family: var(--font-display); font-size: 1.3rem; }
.profile__pts small { color: oklch(96% 0.013 85 / 0.65); }
.profile__bar { height: 7px; border-radius: 999px; background: oklch(96% 0.013 85 / 0.18); overflow: hidden; }
.profile__bar i { display: block; height: 100%; width: 80%; border-radius: inherit; background: var(--salmon); }
.oview__rows { display: grid; gap: 0.55rem; }
.prow {
  display: flex; align-items: center; gap: 0.9rem; text-align: left; width: 100%;
  background: white; border: none; border-radius: 12px; box-shadow: var(--shadow-1);
  padding: 0.85rem 1rem;
  transition: transform 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.prow:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.prow:active { transform: scale(0.99); }
.prow > svg { width: 22px; height: 22px; flex: none; color: var(--salmon-deep); }
.prow__body { flex: 1; min-width: 0; }
.prow__body b { display: block; font-size: 0.95rem; }
.prow__body small { color: var(--ink-soft); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow__chev { width: 16px; height: 16px; flex: none; color: var(--ink-soft); opacity: 0.6; }

/* ── Phone layout: the dialog becomes the app ── */
@media (max-width: 720px) {
  /* block layout: as a centred grid item the frame could be pushed
     wider than the screen by its own min-content width */
  .order { padding: 0; background: var(--cream); display: block; }
  .order__frame {
    width: 100%; min-width: 0; max-width: 100%;
    height: 100%; max-height: none; border-radius: 0;
    padding-top: env(safe-area-inset-top);
    transform: translateY(100%);
  }
  /* nothing inside may widen the app beyond the screen */
  .order__stage { overflow-x: hidden; }
  .order__top { flex-wrap: wrap; gap: 0.5rem 0.8rem; padding: 0.85rem 1rem 0.7rem; }
  .order__brand { font-size: 0.95rem; min-width: 0; }
  .order__brand img { width: 26px; height: 26px; }
  .order__close { margin-left: auto; }
  .order__steps { order: 3; width: 100%; margin: 0; gap: 0.2rem; }
  .order__steps li {
    /* pills share the row equally so all four fit on any width */
    flex: 1 1 0; min-width: 0; text-align: center;
    padding: 0.3em 0.2em; font-size: 0.72rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .order__ribbon { padding: 0.45em 1rem; line-height: 1.4; }
  .ostep { padding: 1.15rem 1rem 1.5rem; }
  .ostep__boardhead { max-width: 100%; }
  /* the step trail belongs to the Order tab only */
  .order.is-app-view .order__steps, .order.is-app-view .order__ribbon { display: none; }

  .order__tabs {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem;
    background: #fffdf6; border-top: 1px solid oklch(24% 0.012 60 / 0.1);
    padding: 0.4rem 0.7rem calc(0.45rem + env(safe-area-inset-bottom));
  }
  .otab {
    display: grid; justify-items: center; gap: 2px;
    background: none; border: none; border-radius: 12px;
    padding: 0.4rem 0 0.3rem;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
    color: var(--ink-soft);
    min-width: 0;
    transition: color 150ms, background-color 150ms;
  }
  .otab span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .otab svg { width: 22px; height: 22px; }
  .otab.is-active { color: var(--salmon-deep); background: var(--salmon-tint); }
  .otab:active { transform: scale(0.96); }
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-load { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ticker__track { animation: none; }
  .hero__img { transform: none; }
}
