/* ══════════════════════════════════════════════════════════════════════
   Goodlife Nutrition
   Layout follows the Latte template. Colour is Goodlife's own: the forest
   green and honey of the printed menu, with sage cards on a warm white.
   ══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  size-adjust: 112%;
  ascent-override: 93%;
  descent-override: 31%;
  line-gap-override: 9%;
}

:root {
  --bg: #FAFAF5;
  --surface: #EEF2E6;
  --surface-2: #E1E9D6;
  --white: #FFFFFF;
  --ink: #17261B;
  --muted: #4E5D52;
  --line: rgba(23, 38, 27, 0.12);
  --green: #275A25;
  --green-600: #1E471C;
  --green-tint: #E6F0E0;
  --forest: #1D3A22;
  --honey: #E0A526;
  --honey-ink: #85610F;
  --honey-bg: #F6EBCC;
  --cream: #F4EFE2;
  --danger: #A12A1E;

  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1296px;
  --r-card: 32px;
  --r-big: 56px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  padding-top: 120px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.4 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, picture, svg, iframe { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1 { font-size: 58px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--forest); }
h2 { font-size: 42px; line-height: 1.2; color: var(--forest); }
h3 { font-size: 24px; line-height: 1.4; }
p { margin: 0; }
[id] { scroll-margin-top: 24px; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--green); color: var(--white);
  font-weight: 600; text-decoration: none; transition: top 200ms;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ── buttons & small parts ─────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 55px; padding: 0 32px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background 200ms ease, transform 200ms var(--ease), color 200ms ease, border-color 200ms ease;
}
.btn:hover { background: var(--green-600); }
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }
.btn--block { width: 100%; }
.btn--wa { background: #1F7A3E; }
.btn--wa:hover { background: #17612F; }

.text-link { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--green-600); }

.tag {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px;
  background: var(--honey-bg); color: var(--honey-ink);
  font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.tag--save { background: var(--green-tint); color: var(--green); }
.tag--out { background: var(--surface-2); color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1.3;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.crumbs a:hover { color: var(--green); }

/* ── header ────────────────────────────────────────────────────────── */

.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  height: 80px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand img { height: 48px; width: auto; }
.brand__word { display: flex; flex-direction: column; font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.brand__word small { margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.brand--light { color: var(--cream); }
.brand--light .brand__word small { color: rgba(244, 239, 226, 0.7); }

.site-nav { display: flex; align-items: center; margin-left: auto; }
.roll { display: inline-flex; height: 40px; padding: 0 18px; overflow: hidden; text-decoration: none; font-size: 16px; }
.roll span { position: relative; display: block; line-height: 40px; transition: transform 450ms var(--ease); }
.roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--green); }
.roll:hover span, .roll:focus-visible span { transform: translateY(-100%); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.order-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px;
  background: var(--green); color: var(--white); font-size: 15px; font-weight: 600;
  transition: background 200ms ease;
}
.order-btn:hover { background: var(--green-600); }
.order-btn__count {
  display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  background: var(--white); color: var(--green); font-size: 13px; font-weight: 600;
}
.order-btn.is-bumped .order-btn__count { animation: bump 450ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; background: var(--surface); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 300ms var(--ease), top 300ms var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; padding: 112px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; background: var(--bg);
  animation: fade-down 320ms var(--ease);
}
.mobile-nav a { padding: 14px 0; font-size: 30px; font-weight: 500; color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav p { margin-top: auto; color: var(--muted); font-size: 14px; }
.site-header.is-fixed { position: fixed; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ── hero ──────────────────────────────────────────────────────────── */

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--gutter); }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.3; text-decoration: none;
}
a.hero__pill:hover { background: var(--surface-2); }
.stars { position: relative; display: inline-flex; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.stars__base { display: inline-flex; gap: 2px; color: rgba(23, 38, 27, 0.18); }
.stars__fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 2px; overflow: hidden; color: var(--honey); }
.hero h1 { margin-top: 15px; }
.hero p { margin-top: 14px; max-width: 34em; font-size: 16px; line-height: 1.5; color: var(--muted); }
.hero .btn { margin-top: 28px; }

/* ── carousel ──────────────────────────────────────────────────────── */

.carousel {
  --cw: 389px; --ch: 566px; --gap: 10px;
  --s1: 0.833; --s2: 0.666; --s3: 0.5;
  --x1: calc(var(--cw) * (0.5 + var(--s1) / 2) + var(--gap));
  --x2: calc(var(--x1) + var(--cw) * (var(--s1) + var(--s2)) / 2 + var(--gap));
  --x3: calc(var(--x2) + var(--cw) * (var(--s2) + var(--s3)) / 2 + var(--gap));
  position: relative; height: var(--ch); margin-top: 80px; overflow: hidden;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.carousel__track {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.carousel__card {
  --x: 0px; --s: 0.4; --o: 0;
  position: absolute; left: 50%; top: 50%; margin: 0; z-index: 0;
  width: var(--cw); height: var(--ch); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface);
  transform: translate(-50%, -50%) translateX(var(--x)) scale(var(--s));
  opacity: var(--o);
  transition: transform 800ms var(--ease), opacity 500ms ease, box-shadow 500ms ease;
  cursor: pointer;
}
.carousel__card picture { height: 100%; }
.carousel__card img { -webkit-user-drag: none; pointer-events: none; }
.carousel__card[data-pos="0"] { --s: 1; --o: 1; z-index: 5; cursor: default; box-shadow: 0 30px 60px -32px rgba(23, 38, 27, 0.45); }
.carousel__card[data-pos="1"] { --x: var(--x1); --s: var(--s1); --o: 1; z-index: 4; }
.carousel__card[data-pos="-1"] { --x: calc(var(--x1) * -1); --s: var(--s1); --o: 1; z-index: 4; }
.carousel__card[data-pos="2"] { --x: var(--x2); --s: var(--s2); --o: 1; z-index: 3; }
.carousel__card[data-pos="-2"] { --x: calc(var(--x2) * -1); --s: var(--s2); --o: 1; z-index: 3; }
.carousel__card[data-pos="3"] { --x: var(--x3); --s: var(--s3); --o: 0; z-index: 2; }
.carousel__card[data-pos="-3"] { --x: calc(var(--x3) * -1); --s: var(--s3); --o: 0; z-index: 2; }
.carousel.is-dragging .carousel__card { transition-duration: 0ms; }

.carousel__arrow {
  position: absolute; top: 50%; z-index: 10; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  box-shadow: 0 4px 16px rgba(23, 38, 27, 0.14);
  transition: background 200ms ease, transform 200ms var(--ease);
}
.carousel__arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.carousel__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow--prev { left: calc(50% - var(--cw) / 2 - 74px); }
.carousel__arrow--next { right: calc(50% - var(--cw) / 2 - 74px); }
.carousel__arrow--next svg { transform: rotate(180deg); }

/* ── sections ──────────────────────────────────────────────────────── */

.menu, .journal-teaser, .about, .page-section { margin-top: 120px; }
.page-section--tight { margin-top: 64px; }
.section-head { max-width: 760px; }
.section-head p { margin-top: 12px; color: var(--muted); line-height: 1.5; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }

/* ── menu ──────────────────────────────────────────────────────────── */

.menu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.menu-chips a {
  padding: 10px 16px; border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}
.menu-chips a:hover { background: var(--green); color: var(--white); }

.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 80px; }
.menu-chips + .menu-row { margin-top: 56px; }
.menu-row--flip .menu-card { order: 2; }

.menu-card { padding: 40px; border-radius: var(--r-card); background: var(--surface); }
.menu-card__kicker { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey-ink); }
.menu-list { list-style: none; margin: 24px 0 0; padding: 0; }
.menu-item__btn {
  display: block; width: calc(100% + 32px); margin: 0 -16px; padding: 16px; border-radius: 20px;
  text-align: left; transition: background 200ms ease;
}
.menu-item__btn:hover { background: var(--surface-2); }
.menu-item__top { display: flex; align-items: center; gap: 12px; }
.menu-item__name { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 600; line-height: 1.35; }
.menu-item__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item__price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.menu-item__add {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  background: var(--white); color: var(--green); transition: background 200ms ease, color 200ms ease, transform 200ms var(--ease);
}
.menu-item__add svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.menu-item__btn:hover .menu-item__add { background: var(--green); color: var(--white); transform: rotate(90deg); }
.menu-item__desc { display: block; margin-top: 6px; padding-right: 42px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.menu-item__sizes { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--ink); }
.menu-item.is-soldout .menu-item__btn { opacity: 0.55; cursor: not-allowed; }
.menu-item.is-soldout .menu-item__btn:hover { background: none; }
.menu-item.is-soldout .menu-item__add { display: none; }
.menu-card__note { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; font-style: italic; color: var(--honey-ink); }

.menu-photo { position: sticky; top: 24px; margin: 0; aspect-ratio: 640 / 720; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.menu-photo picture { height: 100%; }
.menu-photo .pill { position: absolute; top: 24px; left: 24px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ── journal ───────────────────────────────────────────────────────── */

.journal-teaser .post-grid { margin-top: 56px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.page-section .section-head + .post-grid { margin-top: 48px; }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-card__photo { display: block; aspect-ratio: 416 / 493; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.post-card__photo img { transition: transform 700ms var(--ease); }
.post-card:hover .post-card__photo img { transform: scale(1.04); }
.post-card__body { display: block; padding: 24px 24px 0; }
.post-card time { font-size: 14px; color: var(--muted); }
.post-card h2, .post-card h3 { margin-top: 8px; font-size: 24px; line-height: 1.4; font-weight: 500; color: var(--ink); transition: color 200ms ease; }
.post-card:hover h2, .post-card:hover h3 { color: var(--green); }

/* ── about card ────────────────────────────────────────────────────── */

.about__card {
  display: grid; grid-template-columns: minmax(0, 604fr) minmax(0, 644fr); gap: 40px; align-items: center;
  padding: 24px; border-radius: var(--r-big); background: var(--surface);
}
.about__photo { display: block; aspect-ratio: 604 / 672; border-radius: var(--r-card); overflow: hidden; }
.about__body { padding: 24px 40px 24px 0; }
.about__mark { height: 56px; width: auto; }
.about__body h2 { margin-top: 20px; }
.about__body p { margin-top: 16px; max-width: 32em; line-height: 1.5; }
.about__body h3 { margin-top: 32px; font-size: 18px; font-weight: 600; }
.about__body address { margin-top: 8px; font-style: normal; line-height: 1.5; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── page heroes & content pages ───────────────────────────────────── */

.page-hero { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.page-hero .crumbs { margin-bottom: 24px; justify-content: center; }
.page-hero .hero__pill { margin-bottom: 16px; }
.page-hero > p:not(.hero__pill) { max-width: 40em; margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.page-hero .btn, .page-hero__actions { margin-top: 28px; }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.page-hero__actions .btn { margin-top: 0; }
.page-hero--left { align-items: flex-start; text-align: left; max-width: calc(720px + 2 * var(--gutter)); }
.page-hero--left .crumbs { justify-content: flex-start; margin-bottom: 0; }
.page-hero--404 { min-height: 50vh; justify-content: center; }

.wide-photo { display: block; margin-top: 64px; aspect-ratio: 1296 / 540; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }

.soft-card { padding: 32px; border-radius: var(--r-card); background: var(--surface); }
.soft-card h2 { font-size: 30px; }
.soft-card h2 + p, .soft-card h2 + ul { margin-top: 16px; }
.soft-card p + h2 { margin-top: 36px; }
.soft-card p { line-height: 1.55; color: var(--muted); }
.soft-card .btn { margin-top: 24px; }
.soft-card a:not(.btn) { color: var(--green); text-underline-offset: 3px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 8px; font-size: 15px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.split--form { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.split__intro p { margin-top: 16px; line-height: 1.55; color: var(--muted); }
.split__intro a { color: var(--green); text-underline-offset: 3px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.5; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.fee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 48px; }
.fee-card { padding: 28px; border-radius: var(--r-card); background: var(--surface); }
.fee-card h3 { font-size: 24px; color: var(--forest); }
.fee-card__free { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--green-tint); color: var(--green); font-size: 12px; font-weight: 600; }
.fee-card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.fee-card li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fee-card li:last-child { border-bottom: 0; }
.fee-card li span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.fee-note { margin-top: 24px; color: var(--muted); }

/* forms */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: block; }
.field--wide { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select {
  display: block; width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--white); font-size: 16px; line-height: 1.4;
  transition: border-color 200ms ease, box-shadow 200ms ease; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317261B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(39, 90, 37, 0.18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.form .btn { margin-top: 24px; }
.form__error { margin-top: 16px; color: var(--danger); font-size: 14px; }
::placeholder { color: rgba(23, 38, 27, 0.4); }

/* articles */
.article__head { width: 100%; max-width: calc(1170px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.article__head .crumbs { justify-content: center; margin-bottom: 24px; }
.article__photo { display: block; aspect-ratio: 1166 / 540; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.article__head time, .article__head h1 { display: block; max-width: 720px; margin-inline: auto; }
.article__head time { margin-top: 40px; color: var(--muted); }
.article__head h1 { margin-top: 8px; }
.prose { width: 100%; max-width: calc(720px + 2 * var(--gutter)); margin: 32px auto 0; padding-inline: var(--gutter); }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 16px; }
.prose .lead { font-size: 20px; line-height: 1.55; color: var(--forest); }
.prose h1 { margin-top: 24px; }
.prose h2 { margin-top: 48px; font-size: 28px; line-height: 1.3; }
.prose h2 + p, .prose h2 + ul, .prose h2 + ol { margin-top: 12px; }
.prose ul, .prose ol { margin: 16px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--green); }
.prose a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.prose__meta { margin-top: 8px; color: var(--muted); font-size: 14px; }
.article__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px !important; }
.article--plain .prose { margin-top: 24px; }

/* ── footer ────────────────────────────────────────────────────────── */

.site-footer { margin-top: 120px; padding: 64px 40px 24px; border-radius: 64px 64px 0 0; background: var(--forest); color: var(--cream); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); gap: 40px; max-width: 1360px; margin-inline: auto; }
.site-footer__info { padding: 0 24px; }
.site-footer__title { margin-top: 24px; color: var(--cream); }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 48px; }
.site-footer h3 { margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.site-footer p, .site-footer address, .site-footer__links { font-size: 14px; line-height: 1.7; font-style: normal; color: rgba(244, 239, 226, 0.78); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.site-footer__rule { background: rgba(244, 239, 226, 0.16); border-radius: 2px; }
.site-footer__map { min-height: 520px; border-radius: var(--r-card); overflow: hidden; background: rgba(244, 239, 226, 0.08); }
.site-footer__map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.socials { list-style: none; display: flex; gap: 12px; margin: 40px 0 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(244, 239, 226, 0.3); transition: background 200ms ease; }
.socials a:hover { background: rgba(244, 239, 226, 0.12); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials .dot { fill: var(--cream); stroke: none; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  max-width: 1360px; margin: 48px auto 0; padding: 24px 24px 0; border-top: 1px solid rgba(244, 239, 226, 0.14);
  font-size: 14px; color: rgba(244, 239, 226, 0.7);
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.noscript { position: fixed; inset: auto 16px 16px; z-index: 80; padding: 14px 18px; border-radius: 16px; background: var(--forest); color: var(--cream); text-align: center; }

/* ── order: floating button, toast, drawer, add panel ──────────────── */

.fab {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 10px 0 22px; border-radius: 999px;
  background: var(--green); color: var(--white); font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 32px -12px rgba(23, 38, 27, 0.55);
  animation: rise 400ms var(--ease);
}
.fab:hover { background: var(--green-600); }
.fab b { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; background: var(--white); color: var(--green); font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--forest); color: var(--cream); font-size: 14px; box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity 250ms ease, transform 350ms var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--forest); font-weight: 600; white-space: nowrap; }

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(12, 22, 14, 0.45); }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; background: var(--bg); overflow: hidden;
}
.drawer[open] { display: flex; flex-direction: column; animation: slide-in 450ms var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { flex: 1; font-size: 20px; font-weight: 600; color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; }
.drawer__foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.drawer__foot .btn + .btn { margin-top: 8px; }
.drawer__foot .btn--ghost { min-height: 48px; }

.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--surface); flex: none; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.empty { padding: 48px 0; text-align: center; }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 20px; }

.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__thumb { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--surface); }
.line__name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.line__variant { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.line__controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line__total { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.line__remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.stepper { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); }
.stepper button { width: 34px; height: 34px; border-radius: 999px; font-size: 18px; line-height: 1; }
.stepper button:hover { background: var(--surface); }
.stepper button[disabled] { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
.stepper--lg button { width: 44px; height: 44px; }
.stepper--lg output { min-width: 34px; font-size: 16px; }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.extra { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.extra img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; background: var(--surface); }
.extra__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.extra__price { font-size: 13px; color: var(--muted); }
.extra__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; transition: background 200ms ease, color 200ms ease; }
.extra:hover .extra__cta { background: var(--green); color: var(--white); }
.extra.is-added { box-shadow: inset 0 0 0 1.5px var(--green); }
.extra.is-added .extra__cta { background: var(--green-tint); color: var(--green); }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.choice { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; transition: box-shadow 200ms ease, background 200ms ease; }
.choice strong { font-size: 15px; font-weight: 600; }
.choice span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.choice[aria-pressed="true"] { background: var(--green-tint); box-shadow: inset 0 0 0 2px var(--green); }

.stack { display: grid; gap: 14px; margin-top: 20px; }
.note { padding: 12px 14px; border-radius: 14px; background: var(--surface); font-size: 13px; line-height: 1.5; color: var(--muted); }
.note--good { background: var(--green-tint); color: var(--green); }
.note--warn { background: var(--honey-bg); color: var(--honey-ink); }
.note--error { background: #F8E1DD; color: var(--danger); }

.totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals span:last-child { font-variant-numeric: tabular-nums; }
.totals .totals__grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.secure { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }

.done { padding: 24px 0; }
.done h3 { font-size: 32px; font-weight: 600; color: var(--forest); }
.done > p { margin-top: 8px; color: var(--muted); }
.done__wa { margin-top: 24px; padding: 20px; border-radius: 20px; background: var(--honey-bg); }
.done__wa p { color: var(--ink); line-height: 1.5; }
.done__wa .btn { margin-top: 16px; width: 100%; }
.done small { display: block; margin-top: 16px; color: var(--muted); line-height: 1.5; }
.done__restart { margin-top: 24px; }
#drawer-title:focus { outline: none; }

.sheet {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0;
  border-radius: var(--r-card); background: var(--bg); overflow: hidden;
}
.sheet[open] { display: flex; flex-direction: column; animation: pop 350ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.sheet__scroll { overflow-y: auto; overscroll-behavior: contain; }
.sheet__photo { aspect-ratio: 16 / 10; background: var(--surface); }
.sheet__photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(255, 255, 255, 0.92); }
.sheet__body { padding: 24px; }
.sheet__body h2 { font-size: 24px; font-weight: 600; color: var(--ink); }
.sheet__desc { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.sheet__label { margin-top: 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.options { display: grid; gap: 8px; margin-top: 10px; }
.option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; font-weight: 500; }
.option[aria-checked="true"] { background: var(--green-tint); box-shadow: inset 0 0 0 2px var(--green); }
.option[disabled] { opacity: 0.5; cursor: not-allowed; }
.option span:last-child { font-variant-numeric: tabular-nums; }
.sheet__qty { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.sheet__foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }

/* ── reveal on scroll (only for things that start off screen) ──────── */

.is-armed { opacity: 0; transform: translateY(32px); }
.is-armed.is-in { opacity: 1; transform: none; transition: opacity 900ms ease, transform 1100ms var(--ease); }

/* ── staff stock page (/inventory) ─────────────────────────────────── */

.staff__main { max-width: calc(880px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.staff__main h1 { font-size: 42px; }
.staff__login { max-width: 440px; margin-top: 24px; }
.staff__login p { color: var(--muted); }
.staff__login .form { margin-top: 20px; }
.staff__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.staff__status { font-weight: 500; }
.staff__board > .note { margin-top: 16px; }
.staff__lock { min-height: 44px; padding: 0 20px; }
.stock-sec { margin-top: 16px; padding: 24px; }
.stock-sec h2 { font-size: 22px; font-weight: 600; }
.stock-sec ul { list-style: none; margin: 12px 0 0; padding: 0; }
.stock-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); transition: opacity 200ms ease; }
.stock-row.is-saving { opacity: 0.55; }
.stock-row__name { font-weight: 500; }
.stock-row[data-state="today"] .stock-row__name, .stock-row[data-state="hold"] .stock-row__name { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(23, 38, 27, 0.35); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background 200ms ease, color 200ms ease; }
.seg button:hover { color: var(--ink); }
.seg [data-set="in"][aria-checked="true"] { background: var(--green); color: var(--white); }
.seg [data-set="today"][aria-checked="true"] { background: var(--honey); color: var(--ink); }
.seg [data-set="hold"][aria-checked="true"] { background: var(--muted); color: var(--white); }
.staff__tabs { display: inline-flex; gap: 4px; margin-top: 20px; padding: 4px; border-radius: 999px; background: var(--surface); }
.staff__tabs button { min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.staff__tabs button[aria-selected="true"] { background: var(--forest); color: var(--white); }
.product-form { margin-top: 16px; padding: 28px; }
.product-form h2 { font-size: 24px; font-weight: 600; }
.product-form__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 20px; }
.product-form__fields { display: grid; gap: 14px; }
.photo-field { display: flex; flex-direction: column; gap: 10px; }
.photo-field__preview { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; }
.photo-field__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-field__pick { min-height: 48px; cursor: pointer; }
.photo-field__remove, .sizes__add, .pcard__delete { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.pcard__delete { color: var(--danger); align-self: center; }
.sizes { margin: 24px 0 0; padding: 0; border: 0; }
.sizes legend { padding: 0; font-weight: 600; }
.size-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 12px; align-items: end; margin-top: 12px; }
.size-row__remove { width: 44px; height: 52px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 22px; color: var(--muted); }
.sizes__add { margin-top: 14px; }
.product-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.product-form__actions .btn { margin-top: 0; }
.pcard { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 16px; padding: 18px; }
.pcard__img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: var(--white); }
.pcard__img--none { display: grid; place-items: center; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.pcard h2 { font-size: 18px; font-weight: 600; }
.pcard__meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.pcard__desc { margin-top: 6px; font-size: 14px; }
.pcard__actions { display: flex; align-items: center; gap: 16px; }
.pcard__actions .btn { min-height: 44px; padding: 0 20px; }
.posrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; padding: 16px 20px; }
.posrow > div { flex: 1 1 280px; }
.posrow__ok { color: var(--green); font-size: 14px; font-weight: 500; }
.posrow__ok a { color: inherit; }
.posrow__err { flex: 1 1 100%; color: var(--danger); font-size: 14px; }
.posrow--bad { box-shadow: inset 0 0 0 1.5px rgba(161, 42, 30, 0.35); }
.posrow .btn { min-height: 40px; padding: 0 18px; }
@media (max-width: 809px) {
  .staff__main h1 { font-size: 32px; }
  .stock-sec { padding: 20px 16px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 8px; }
  .product-form { padding: 20px 16px; }
  .product-form__grid { grid-template-columns: minmax(0, 1fr); }
  .photo-field__preview { max-width: 220px; }
  .pcard { grid-template-columns: 72px minmax(0, 1fr); }
  .pcard__img { width: 72px; height: 72px; }
  .pcard__actions { grid-column: 1 / -1; }
  .staff__tabs { display: flex; }
  .staff__tabs button { flex: 1; }
}

/* ══════════════════════════════════════════════════════════════════════
   Tablet  (810 – 1199)
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
  .carousel { --cw: 330px; --ch: 480px; }
  .site-nav .roll { padding: 0 12px; }
  .menu-card { padding: 32px; }
  .about__body { padding: 16px 24px 16px 0; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1023px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--form { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ══════════════════════════════════════════════════════════════════════
   Phone  (< 810)
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 809px) {
  body { padding-top: 96px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .site-header { height: 72px; padding: 0 var(--gutter); }
  .brand img { height: 40px; }
  .brand__word { font-size: 18px; }
  .brand__word small { font-size: 9px; letter-spacing: 0.28em; }
  .order-btn { height: 44px; padding: 0 6px 0 14px; font-size: 14px; }

  .hero__pill { padding: 12px 18px; font-size: 14px; }
  .carousel { --cw: 278px; --ch: 457px; --gap: 11px; --s1: 0.802; --s2: 0.64; --s3: 0.5; margin-top: 56px; }
  .carousel__track { -webkit-mask-image: none; mask-image: none; }
  .carousel__arrow--prev { left: calc(50% - var(--cw) / 2 + 12px); }
  .carousel__arrow--next { right: calc(50% - var(--cw) / 2 + 12px); }

  .menu, .journal-teaser, .about, .page-section, .site-footer { margin-top: 80px; }
  .menu-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .menu-chips::-webkit-scrollbar { display: none; }
  .menu-row, .menu-chips + .menu-row { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .menu-row--flip .menu-card { order: 0; }
  .menu-card { padding: 24px 20px; }
  .menu-item__btn { width: calc(100% + 24px); margin: 0 -12px; padding: 14px 12px; }
  .menu-item__desc { padding-right: 0; }
  .menu-photo { position: relative; top: 0; aspect-ratio: 338 / 420; }
  .menu-photo .pill { top: 16px; left: 16px; }

  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .journal-teaser .post-grid { margin-top: 40px; }
  .post-card__photo { aspect-ratio: 338 / 400; }
  .post-card__body { padding: 20px 4px 0; }

  .about__card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 40px; }
  .about__photo { aspect-ratio: 290 / 320; }
  .about__body { padding: 0 0 16px; text-align: center; }
  .about__mark { margin-inline: auto; }
  .about__body p { margin-inline: auto; }
  .about__actions { justify-content: center; }

  .page-hero > p:not(.hero__pill) { font-size: 16px; }
  .wide-photo, .article__photo { margin-top: 40px; aspect-ratio: 4 / 3; }
  .article__photo { margin-top: 0; }
  .soft-card { padding: 24px; }
  .soft-card h2 { font-size: 26px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .prose p, .prose li { font-size: 16px; }
  .prose .lead { font-size: 18px; }
  .prose h2 { font-size: 24px; }

  .site-footer { padding: 48px var(--gutter) 24px; border-radius: 40px 40px 0 0; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .site-footer__info { padding: 0; }
  .site-footer__rule { display: none; }
  .site-footer__map, .site-footer__map iframe { min-height: 320px; }
  .site-footer__bottom { padding-inline: 0; flex-direction: column; align-items: flex-start; }

  .fab { right: 50%; transform: translateX(50%); animation: none; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .drawer { width: 100vw; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .sheet[open] { animation: sheet-up 400ms var(--ease); }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
  .choices, .extras { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 380px) {
  h1 { font-size: 38px; }
  .brand__word small { display: none; }
  .choices { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .is-armed { opacity: 1; transform: none; }
}
