/* Míwá — order-first landing page
   Palette, type and the petal device come from the Míwá identity (Olive Ridge Digital):
   rose draws, cocoa speaks, crumb holds it all; butter is reserved for product coding. */

:root {
  --crumb: #FBF6EF;
  --blush: #F5E4DD;
  --blush-deep: #EFD3C8;
  --rose: #C9857F;
  --rose-ink: #9A544E; /* rose deepened for text: 4.6:1 on crumb */
  --cocoa: #3A2A22;
  --cocoa-soft: #4B382E;
  --butter: #E4B054;
  --body: #6B564C;
  --line: rgb(58 42 34 / 0.14);

  --serif: "Cormorant Infant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --rise: cubic-bezier(0.18, 0.84, 0.24, 1);
  --nav-h: 64px;
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--crumb);
  color: var(--cocoa);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* a whisper of paper tooth, like the card stock */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .13 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

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

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 14px; background: var(--cocoa); color: var(--crumb);
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

.eyebrow {
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-ink);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cocoa); --fg: var(--crumb);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 3px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform .25s var(--rise), background-color .2s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--cocoa-soft); box-shadow: 0 10px 24px -14px rgb(58 42 34 / .7); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary::after {
  /* the two rising petals, as a quiet signature on primary actions */
  content: ""; width: 22px; height: 12px; flex: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 24'%3E%3Cpath d='M2 22Q10 9 20 4Q15 15 2 22Z M24 22Q32 9 42 4Q37 15 24 22Z' fill='%23C9857F'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .35s var(--rise);
}
.btn--primary:hover::after { transform: translateY(-3px); }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.btn--ghost:hover { --bg: var(--blush); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--blush); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  background: var(--crumb);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__brand { display: block; color: var(--cocoa); margin-right: auto; }
.wordmark { width: 92px; height: auto; aspect-ratio: 2286 / 1422; --petal: var(--rose); }
.nav__brand .wordmark { margin-top: -10px; }
.nav__links { display: none; gap: 28px; }
.nav__links a { font-weight: 500; text-decoration: none; font-size: .95rem; }
.nav__links a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 6px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 500; color: var(--body);
  white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); flex: none; }
.status__long { display: none; }
@media (max-width: 359px) { .status, .bag-btn__label { display: none; } }
.status.is-open .status__dot { background: var(--butter); box-shadow: 0 0 0 4px rgb(228 176 84 / .25); }

.bag-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px 0 12px;
  border: 0; border-radius: 3px;
  background: var(--cocoa); color: var(--crumb);
  font-weight: 700; font-size: .95rem;
}
.bag-btn svg { width: 20px; height: 20px; }
.bag-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 11px; background: var(--rose); color: var(--cocoa);
  font-size: .78rem; font-weight: 700;
}
.bag-btn.is-bump { animation: bump .5s var(--rise); }
@keyframes bump { 30% { transform: scale(1.08) translateY(-2px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4px var(--gutter) clamp(40px, 6vw, 64px); overflow: clip; }
.hero__stage { position: relative; max-width: var(--max); margin: 0 auto; }

.seal {
  position: relative;
  width: min(100vw, 620px);
  aspect-ratio: 1;
  margin: 0 auto;
  left: 50%; translate: -50% 0;
}
.seal__cake { position: absolute; inset: 6%; display: block; will-change: transform; }
.seal__cake img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgb(58 42 34 / .22)); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal__ring text { font: 700 23px var(--sans); fill: var(--cocoa); letter-spacing: 0; }

.hero__title {
  position: relative; z-index: 2;
  margin-top: -6vw;
  font: 500 clamp(3.7rem, 18vw, 7rem)/0.88 var(--serif);
  letter-spacing: -0.015em;
}
.hero__line { display: block; overflow: clip; padding: .04em .06em .24em; margin: -.04em -.06em -.24em; }
.hero__line > span { display: inline-block; }
.hero__line--b { padding-left: 14vw; font-style: italic; font-weight: 400; color: var(--rose-ink); }


.hero__foot {
  max-width: var(--max); margin: 28px auto 0;
  display: grid; gap: 22px;
}
.hero__lede { max-width: 34ch; color: var(--body); font-size: 1.0625rem; }
.hero__lede strong { color: var(--cocoa); font-weight: 700; }
.hero__lede em { font-family: var(--serif); font-size: 1.2em; color: var(--cocoa); }
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__cta .btn { flex: 1 1 220px; }
.hero__from { font-size: .95rem; color: var(--body); }
.hero__from strong { font: 600 1.6rem/1 var(--serif); color: var(--cocoa); margin-left: 4px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.hero__facts div { display: grid; gap: 2px; }
.hero__facts dt { font: 700 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); }
.hero__facts dd { margin: 0; font: 600 1.3rem/1.2 var(--serif); }

/* entrance: everything rises, in two beats, like the name */
.js .hero__line > span, .js .hero__foot > *, .js .seal { opacity: 0; }
.is-ready .hero__line > span { animation: rise 1s var(--rise) both; }
.is-ready .hero__line--b > span { animation-delay: .16s; }
.is-ready .seal { animation: ring-in 1.3s var(--rise) both; }
.is-ready .hero__foot > * { animation: fade-up .8s var(--rise) both; animation-delay: calc(.35s + var(--i, 0) * .08s); }
@keyframes rise { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: translateY(24px) rotate(-14deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes petal-rise { from { opacity: 0; transform: translateY(26px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

/* ---------- Menu ---------- */
.menu { padding: clamp(64px, 11vw, 150px) var(--gutter) 0; }
.menu__head { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
.menu__title { font: 500 clamp(2.9rem, 9vw, 7.2rem)/0.92 var(--serif); letter-spacing: -0.01em; }
.menu__title em { display: block; font-weight: 400; color: var(--rose-ink); }
.menu__intro { color: var(--body); max-width: 40ch; }

.flavour-key { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.flavour-key li { display: grid; grid-template-columns: 22px auto 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flavour-key b { font: 600 1.5rem/1 var(--serif); }
.flavour-key span:last-child { color: var(--body); font-size: .95rem; }
.swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1.5px rgb(58 42 34 / .35); align-self: center; }

.plates { max-width: var(--max); margin: clamp(40px, 6vw, 80px) auto 0; }
.noscript { padding: 24px; background: var(--blush); }

.plate {
  --disc: 70%;
  display: grid; gap: 28px;
  padding: clamp(48px, 7vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.plate__visual { position: relative; display: grid; place-items: center; }
.plate__disc {
  width: var(--disc); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blush) 72%, var(--blush-deep) 100%);
  display: grid; place-items: center;
}
.plate__disc svg { width: 92%; height: auto; aspect-ratio: 440 / 280; }
.plate__disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.plate[data-size="orobo"] { --disc: 88%; }

.plate__index { font: 700 .75rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--rose-ink); }
.plate__name { font: 500 clamp(4.6rem, 22vw, 10.5rem)/0.82 var(--serif); margin: 10px 0 6px; }
.plate[data-size="lepa"] .plate__name { letter-spacing: -0.045em; }
.plate[data-size="orobo"] .plate__name { letter-spacing: 0.05em; }
.plate__gloss { font: italic 400 1.65rem/1.1 var(--serif); color: var(--rose-ink); }
.plate__blurb { margin-top: 14px; max-width: 38ch; color: var(--body); }
.plate__price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.plate__price strong { font: 600 clamp(2.4rem, 7vw, 3.4rem)/1 var(--serif); }
.plate__price span { color: var(--body); font-size: .95rem; }

/* picker */
.picker { margin-top: 24px; display: grid; gap: 18px; max-width: 520px; }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker legend, .qty__label { padding: 0; margin-bottom: 10px; font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--body); }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--cocoa); border-radius: 3px; overflow: hidden; }
.seg { position: relative; display: block; }
.seg + .seg { border-left: 1.5px solid var(--cocoa); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 64px; padding: 8px 4px;
  font-weight: 500; font-size: .92rem; line-height: 1.1; text-align: center;
  transition: background-color .2s, color .2s;
}
.seg span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1.5px rgb(58 42 34 / .4); transition: transform .3s var(--rise); }
.seg input:checked + span { background: var(--cocoa); color: var(--crumb); }
.seg input:checked + span::before { transform: scale(1.35); box-shadow: 0 0 0 2px var(--crumb); }
.seg input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: -5px; }
.seg:hover input:not(:checked) + span { background: var(--blush); }

/* two-line options: Single / Box of 3, Classic / Pick your 3 */
.segments--tall .seg span { min-height: 60px; gap: 2px; padding: 8px 6px; }
.segments--tall .seg span::before { display: none; }
.segments--tall .seg b { font-weight: 700; font-size: .95rem; }
.segments--tall .seg small { font-size: .78rem; font-weight: 500; opacity: .78; }
.plate__deal { margin-top: 6px; font-size: .98rem; color: var(--body); }
.plate__deal strong { font: 600 1.35rem/1 var(--serif); color: var(--cocoa); }
.plate__deal em { margin-left: 6px; padding: 3px 8px; border-radius: 3px; background: var(--butter); color: var(--cocoa); font: 700 .7rem/1.4 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }

.boxfill { display: grid; gap: 14px; }
.boxfill__classic { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 14px; border-radius: 3px; background: var(--blush); font-weight: 500; font-size: .95rem; }
.boxfill__classic span, .boxfill__flavour { display: inline-flex; align-items: center; gap: 8px; }
.boxfill .swatch { width: 12px; height: 12px; }
.boxfill__picks { display: grid; gap: 8px; }
.boxfill__picks ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.boxfill__picks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.boxfill__status { font-size: .9rem; color: var(--body); }
.boxfill__status b { font: 600 1.25rem/1 var(--serif); color: var(--cocoa); }
.boxfill__status.is-full { color: var(--cocoa); }
.boxfill__status.is-full b { color: var(--rose-ink); }
.stepper--sm { grid-template-columns: 40px 40px 40px; height: 40px; }
.stepper--sm output { display: grid; place-items: center; border-inline: 1.5px solid var(--cocoa); font: 600 1.15rem/1 var(--serif); }
.picker__hint { margin-top: -8px; font-size: .88rem; color: var(--rose-ink); font-weight: 500; text-align: center; }
.btn[type="submit"]:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.qty-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.stepper { display: inline-grid; grid-template-columns: 48px 56px 48px; height: 48px; border: 1.5px solid var(--cocoa); border-radius: 3px; overflow: hidden; }
.stepper button { border: 0; background: transparent; display: grid; place-items: center; }
.stepper button svg { width: 18px; height: 18px; }
.stepper button:hover { background: var(--blush); }
.stepper button:disabled { opacity: .3; cursor: default; background: transparent; }
.stepper input {
  width: 100%; border: 0; border-inline: 1.5px solid var(--cocoa); text-align: center;
  background: transparent; font: 600 1.35rem/1 var(--serif); -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.line-total { text-align: right; }
.line-total small { display: block; font-size: .78rem; color: var(--body); }
.line-total output { font: 600 2rem/1 var(--serif); display: inline-block; }
.line-total output.is-tick { animation: tick .45s var(--rise); }
@keyframes tick { 0% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* the feature plate: the real BBC, on cocoa */
.plate--feature {
  --disc: 100%;
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  background: var(--cocoa); color: var(--crumb);
  border-top: 0;
}
.plate--feature .plate__index, .plate--feature .plate__gloss { color: var(--rose); }
.plate--feature .plate__blurb, .plate--feature .plate__price span, .plate--feature .picker legend, .plate--feature .qty__label, .plate--feature .line-total small { color: rgb(251 246 239 / .74); }
.plate--feature .segments, .plate--feature .seg + .seg, .plate--feature .stepper, .plate--feature .stepper input { border-color: rgb(251 246 239 / .55); }
.plate--feature .seg input:checked + span { background: var(--crumb); color: var(--cocoa); }
.plate--feature .seg input:checked + span::before { box-shadow: 0 0 0 2px var(--cocoa); }
.plate--feature .seg:hover input:not(:checked) + span, .plate--feature .stepper button:hover { background: rgb(251 246 239 / .08); }
.plate--feature .btn { --bg: var(--crumb); --fg: var(--cocoa); }
.plate--feature .btn:hover { --bg: var(--blush); }
.cake { position: relative; width: 104%; margin: -2% -2% 0; }
.cake picture, .cake img { width: 100%; height: auto; }
.cake img { filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); }
.reel {
  position: absolute; right: 0; bottom: -6%;
  width: clamp(120px, 32vw, 230px);
  margin: 0;
}
.reel__frame { position: relative; aspect-ratio: 464 / 832; border-radius: 6px; overflow: hidden; background: #2a1e18; box-shadow: 0 0 0 6px var(--cocoa), 0 24px 40px -10px rgb(0 0 0 / .6); transform: rotate(3deg); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgb(0 0 0 / .18); color: var(--crumb); }
.reel__play svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgb(58 42 34 / .75); }
.reel figcaption { margin-top: 14px; font-size: .78rem; line-height: 1.35; color: rgb(251 246 239 / .74); transform: rotate(3deg); }

/* ---------- How it works ---------- */
.week { background: var(--blush); padding: clamp(72px, 11vw, 150px) var(--gutter); }
.week__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
.week__title { font: 500 clamp(2.6rem, 8vw, 6.4rem)/0.95 var(--serif); }
.week__title em { display: block; font-weight: 400; color: var(--rose-ink); }

.calendar { margin-top: 22px; display: grid; gap: 10px; }
.days, .bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; list-style: none; margin: 0; padding: 0; }
.days li {
  position: relative;
  display: grid; place-items: center;
  height: clamp(64px, 12vw, 132px);
  border-radius: 3px;
  background: rgb(251 246 239 / .55);
  font: 600 clamp(1.05rem, 3.6vw, 2.2rem)/1 var(--serif);
}
.days li.is-order { background: var(--rose); }
.days li.is-close::after { content: ""; position: absolute; right: -3px; top: 12%; bottom: 12%; width: 2px; background: var(--cocoa); }
.days li.is-delivery { background: var(--butter); }
.days li.is-today { box-shadow: inset 0 0 0 2.5px var(--cocoa); }
.days li.is-today::before {
  content: "Today"; position: absolute; top: -9px; left: 50%; translate: -50% 0;
  padding: 2px 6px; border-radius: 2px; background: var(--cocoa); color: var(--crumb);
  font: 700 .6rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.bars span { font: 700 .7rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding-top: 8px; border-top: 2px solid; }
.bar--order { grid-column: 2 / 5; border-color: var(--rose) !important; color: var(--rose-ink); }
.bar--deliver { grid-column: 5 / 8; text-align: center; border-color: transparent !important; color: var(--cocoa); }

.week__notes { margin-top: 28px; display: grid; gap: 22px; }
.week__notes h3 { font: 600 1.7rem/1.1 var(--serif); margin-bottom: 6px; }
.week__notes p { color: var(--body); max-width: 36ch; }

/* ---------- The name ---------- */
.name { background: var(--rose); color: var(--cocoa); padding: clamp(80px, 12vw, 170px) var(--gutter); overflow: clip; }
.name__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
.name .eyebrow { color: var(--cocoa); }
.name__say { display: flex; align-items: flex-end; flex-wrap: nowrap; font: 500 clamp(3.4rem, 17vw, 13rem)/0.9 var(--serif); letter-spacing: .01em; padding-top: .35em; white-space: nowrap; }
.name__syl { position: relative; display: inline-block; }
.name__syl svg { position: absolute; top: -0.36em; left: 50%; margin-left: -0.21em; width: 0.42em; height: auto; aspect-ratio: 240 / 210; fill: var(--crumb); }
.name__dash { color: rgb(58 42 34 / .5); padding: 0 .04em; }
.js .name__syl svg { opacity: 0; transform: translateY(.5em); transition: opacity .6s, transform .9s var(--rise); }
.name.is-in .name__syl svg { opacity: 1; transform: none; }
.name.is-in .name__syl + .name__dash + .name__syl svg { transition-delay: .25s; }
.name__note { max-width: 46ch; font-size: 1.15rem; }
.name__tag { font: italic 400 1.5rem/1.3 var(--serif); }
.name__tag a { text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* ---------- Footer ---------- */
.foot { background: var(--cocoa); color: var(--crumb); padding: 64px var(--gutter) calc(48px + var(--dock-h) + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 14px; text-align: center; }
.wordmark--foot { width: 150px; color: var(--crumb); }
.foot__line { font: 700 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgb(251 246 239 / .7); }
.foot__links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .95rem; }
.foot__links a { text-underline-offset: 4px; text-decoration-color: var(--rose); }

/* ---------- Dock (phones) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--crumb);
  box-shadow: 0 -1px 0 var(--line), 0 -14px 30px -18px rgb(58 42 34 / .35);
  transform: translateY(110%); transition: transform .45s var(--rise);
}
.dock.is-shown { transform: none; }
.dock__btn {
  width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: 3px; background: var(--cocoa); color: var(--crumb);
  font-weight: 700; text-decoration: none;
}
.dock__btn--bag { justify-content: space-between; padding: 0 20px; }
.dock__btn--bag [data-dock-total] { font: 600 1.35rem/1 var(--serif); }

/* ---------- Bag (dialog) ---------- */
.bag { padding: 0; margin: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; overflow: hidden; }
.bag::backdrop { background: rgb(58 42 34 / .5); }
.bag[open]::backdrop { animation: fade .35s ease both; }
.bag.is-closing::backdrop { animation: fade .3s ease reverse both; }
.bag__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 94svh; height: auto;
  display: flex; flex-direction: column;
  background: var(--crumb);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .4);
}
.bag[open] .bag__panel { animation: sheet-up .45s var(--rise) both; }
.bag.is-closing .bag__panel { animation: sheet-down .3s ease-in both; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.bag__head { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px var(--gutter); border-bottom: 1px solid var(--line); }
.bag__head .icon-btn[data-bag-back]:not([hidden]) + .bag__title { margin-left: -6px; }
.bag__head [data-bag-back]:not([hidden]) { margin-left: calc(-1 * var(--gutter) + 6px); }
.bag__title { flex: 1; font: 600 1.7rem/1 var(--serif); outline: none; }
.bag__view { overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.bag__view[data-view="items"] { padding-bottom: 0; min-height: 0; flex: 1; }

.lines { list-style: none; margin: 0; padding: 0; }
.line {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "what total" "step remove";
  gap: 10px 12px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.line.is-new { animation: line-in .6s var(--rise); }
@keyframes line-in { from { background: var(--blush); } }
.line__what { grid-area: what; }
.line__name { font: 600 1.45rem/1.05 var(--serif); }
.line__meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .9rem; color: var(--body); }
.line__meta .swatch { width: 12px; height: 12px; flex: none; }
.line__meta .swatch + .swatch { margin-left: -12px; box-shadow: 0 0 0 2px var(--crumb), inset 0 0 0 1.5px rgb(58 42 34 / .35); }
.line__meta { flex-wrap: wrap; }
.line__total { grid-area: total; font: 600 1.45rem/1.05 var(--serif); text-align: right; }
.line .stepper { grid-area: step; justify-self: start; grid-template-columns: 44px 48px 44px; height: 44px; }
.line .stepper input { font-size: 1.15rem; }
.line__remove { grid-area: remove; justify-self: end; align-self: center; border: 0; background: none; padding: 8px 0; font-size: .88rem; color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }

.bag__empty { padding: 48px 0; display: grid; justify-items: start; gap: 16px; }
.bag__empty p { font: italic 400 1.6rem/1.2 var(--serif); color: var(--body); }
.bag__foot { position: sticky; bottom: 0; margin-top: auto; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: var(--crumb); display: grid; gap: 10px; box-shadow: 0 -1px 0 var(--line); }
.sums { margin: 0; display: grid; gap: 4px; font-size: .92rem; color: var(--body); }
.sums div { display: flex; justify-content: space-between; }
.sums dd { margin: 0; font-weight: 500; color: var(--cocoa); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font: 700 .75rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--body); }
.total strong { font: 600 2.1rem/1 var(--serif); }
.fine { font-size: .82rem; line-height: 1.45; color: var(--body); }
.window-note { padding: 10px 12px; background: var(--blush); border-left: 3px solid var(--rose); font-size: .88rem; line-height: 1.45; }

/* checkout */
.checkout { display: grid; gap: 16px; padding-top: 14px; }
.checkout__intro { color: var(--body); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label span { font-weight: 400; color: var(--body); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  border: 1.5px solid rgb(58 42 34 / .35); border-radius: 4px;
  background: #fffdf9; font-size: 1.0625rem; line-height: 1.35;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgb(201 133 127 / .45); }
.field [aria-invalid="true"] { border-color: var(--rose-ink); background: #fff8f6; }
.field__err { min-height: 0; font-size: .86rem; color: var(--rose-ink); font-weight: 500; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.segments--two { grid-template-columns: 1fr 1fr; }
.review { margin-top: 6px; padding: 16px; background: var(--blush); border-radius: 4px; display: grid; gap: 10px; }
.review__title { font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--body); }
.review__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.review__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .98rem; }
.review__lines b { font-weight: 700; }
.review__lines small { display: block; font-size: .82rem; color: var(--body); }
.review .total { padding-top: 10px; border-top: 1px solid var(--line); }
.form-err { padding: 12px 14px; border-left: 3px solid var(--rose-ink); background: #fff3f0; font-size: .95rem; line-height: 1.45; }
.form-err a { font-weight: 700; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(251 246 239 / .35); border-top-color: var(--crumb); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* done */
.bag__view--done { padding-top: 24px; }
.done { display: grid; gap: 14px; justify-items: start; padding-bottom: 16px; }
.done__seal { width: 132px; height: 132px; margin: 4px 0 6px; animation: stamp .7s var(--rise) both; }
.done__seal img { width: 100%; height: 100%; border-radius: 50%; }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.6) rotate(-24deg); } 60% { opacity: 1; transform: scale(.94) rotate(4deg); } 100% { transform: none; } }
.done h3 { font: 500 clamp(2.4rem, 9vw, 3rem)/1 var(--serif); }
.done h3 em { color: var(--rose-ink); }
.done p { color: var(--body); }
.done ol { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; }
.done ol li { position: relative; padding-left: 34px; counter-increment: step; }
.done ol li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cocoa); color: var(--crumb); display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.done .review { width: 100%; }
.done__head { display: flex; align-items: center; gap: 16px; }
.done__head .done__seal { width: 92px; height: 92px; margin: 0; flex: none; }
.done__head h3 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
.done__head h3 em { white-space: nowrap; }
.done__next { color: var(--cocoa) !important; }
.invoice-sheet { container-type: inline-size; width: calc(100% + 16px); margin: 4px -8px 0; border-radius: 15px; box-shadow: 0 26px 50px -28px rgb(58 42 34 / .6), 0 2px 6px -2px rgb(58 42 34 / .12); }
.invoice-sheet img { max-width: none; }
.invoice-actions { width: 100%; display: grid; gap: 10px; margin-top: 6px; }
.done .test-flag { padding: 8px 12px; background: var(--butter); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }

/* toast + fly-to-bag petal */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--dock-h) + 18px + env(safe-area-inset-bottom)); z-index: 60;
  width: fit-content; margin: 0 auto;
  padding: 12px 18px; border-radius: 3px;
  background: var(--cocoa); color: var(--crumb); font-weight: 500; font-size: .95rem;
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / .45);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .45s var(--rise);
}
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast button { margin-left: 12px; border: 0; background: none; color: var(--blush); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.flyer { position: fixed; left: 0; top: 0; z-index: 70; width: 30px; height: 26px; fill: var(--rose); pointer-events: none; }

/* scroll reveals */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform 1s var(--rise); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  .flavour-key { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 24px; }
  .flavour-key li { grid-template-columns: 22px 1fr; grid-template-rows: auto auto; border-bottom: 0; border-top: 1.5px solid var(--cocoa); padding-top: 16px; }
  .flavour-key span:last-child { grid-column: 2; }
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
  .hero__facts { grid-column: 1 / -1; }
  .week__notes { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ≥ 900px: the poster ---------- */
@media (min-width: 900px) {
  :root { --nav-h: 76px; }
  .wordmark { width: 118px; }
  .nav__links { display: flex; margin-right: 18px; }
  .status { margin-right: 18px; font-size: .85rem; }
  .status__long { display: inline; }
  .status__short { display: none; }
  .bag-btn { height: 46px; padding: 0 16px 0 14px; }

  .hero { padding-top: 0; }
  .hero__stage { height: clamp(520px, calc(100svh - var(--nav-h) - 196px), 860px); display: grid; place-items: center; }
  .seal { width: auto; height: 100%; left: auto; translate: none; }
  .hero__title { position: absolute; inset: 0; margin: 0; pointer-events: none; font-size: clamp(5rem, min(10vw, 17svh), 10.5rem); }
  .hero__line { position: absolute; }
  .hero__line--a { left: 0; top: 0; }
  .hero__line--b { right: 0; bottom: 0; padding-left: 0; }
  .hero__foot { grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); align-items: center; gap: 40px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
  .hero__facts { grid-column: auto; border-top: 0; padding-top: 0; justify-self: end; gap: 36px; }
  .hero__cta .btn { flex: none; }

  .menu__head { grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 48px; }
  .menu__head .eyebrow, .menu__title { grid-column: 1; }
  .menu__intro { grid-column: 2; grid-row: 2; align-self: end; padding-bottom: 12px; }
  .flavour-key { grid-column: 1 / -1; }

  .plate { grid-template-columns: repeat(12, 1fr); align-items: center; gap: 0 32px; }
  .plate__visual { grid-column: 1 / span 6; }
  .plate__body { grid-column: 8 / span 5; }
  .plate[data-size="lepa"] { --disc: 62%; }
  .plate[data-size="lepa"] .plate__visual { grid-column: 7 / span 6; grid-row: 1; }
  .plate[data-size="lepa"] .plate__body { grid-column: 1 / span 5; grid-row: 1; }
  .plate[data-size="orobo"] { --disc: 90%; }
  .plate--feature { padding-block: clamp(80px, 9vw, 140px); }
  .plate--feature .plate__visual { grid-column: 1 / span 7; }
  .plate--feature .plate__body { grid-column: 8 / span 5; }
  .reel { right: 2%; bottom: -4%; }

  .bag__panel { left: auto; top: 0; width: min(460px, 100vw); max-height: none; height: 100%; border-radius: 0; }
  .bag[open] .bag__panel { animation-name: sheet-in; }
  .bag.is-closing .bag__panel { animation-name: sheet-out; }
  .bag__head { padding-top: 18px; padding-bottom: 18px; }

  .dock { display: none; }
  .calendar { margin-top: 40px; }
  .days { gap: 8px; }
  .bars { gap: 8px; }
  .bars span { font-size: .78rem; }
  .bar--deliver { grid-column: 6 / 7; text-align: left; border-color: var(--butter) !important; }
}
@keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sheet-out { to { transform: translateX(100%); } }

@media (min-width: 1200px) {
  .plate__body { grid-column: 8 / span 4; }
}

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__line > span, .js .hero__foot > *, .js .seal, .js .name__syl svg { opacity: 1; transform: none; }
}
