/* ==========================================================================
   POTEETO — potato, loaded your way
   One family (Archivo, on its width axis) plus a marker hand for the notes.
   Colours come from the POTEETO logo pack.
   ========================================================================== */

:root {
  --butter: #ffb81c;     /* logo gold */
  --paprika: #e8492d;    /* logo red */
  --cocoa: #24160f;      /* logo lettering */
  --cream: #fff3d6;      /* logo cream */
  --paper: #fffaef;
  --leaf: #23683b;       /* fresh / ingredients */
  --leaf-soft: #dcebd2;
  --slate: #33343d;      /* sampled from the hero photo's backdrop */
  --ink: #1b110b;

  --gutter: clamp(16px, 4vw, 64px);
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.i18n-wait body { opacity: 0; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--cocoa);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--paprika); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--cocoa); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 0.84;
  text-transform: lowercase;
  overflow-wrap: break-word; /* a long Flemish word wraps instead of running off a phone screen */
}
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0; line-height: 1; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.42; max-width: 34ch; font-weight: 450; }
.kicker { font-weight: 800; font-stretch: 68%; font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 14px; cursor: pointer;
  background: var(--butter); color: var(--cocoa);
  font-weight: 800; font-stretch: 112%; font-size: 1.0625rem; letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--cocoa); color: var(--cream); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px currentColor; color: inherit; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ---------- header ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  padding: clamp(14px, 2vw, 26px) var(--gutter);
  color: var(--cream);
}
.nav__logo { flex: none; margin-right: auto; }
.nav__logo img { width: clamp(104px, 9vw, 140px); }
.nav__logo img[src*="wordmark"] { width: clamp(112px, 10vw, 156px); } /* plain wordmark on gold backgrounds */
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-weight: 650; font-size: 1rem; }
.nav__links a { text-decoration: none; padding: 8px 0; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .2s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background-size: 100% 2px; }
.nav--day { color: var(--cocoa); }
.nav__tools { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 2px currentColor; }
.lang button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer;
  font-weight: 800; font-stretch: 100%; font-size: .875rem; letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--butter); color: var(--cocoa); }
.nav--day .lang button[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.flag { width: 18px; height: 13px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

.nav__burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; box-shadow: inset 0 0 0 2px currentColor; }
.nav__burger i, .nav__burger i::before, .nav__burger i::after { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav__burger i { top: 21px; }
.nav__burger i::before, .nav__burger i::after { content: ''; left: 0; }
.nav__burger i::before { top: -6px; }
.nav__burger i::after { top: 6px; }
.nav.is-open .nav__burger i { background: transparent; }
.nav.is-open .nav__burger i::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger i::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { flex-wrap: wrap; }
  .nav__burger { display: block; }
  .nav__links {
    order: 3; flex-basis: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin-top: 10px; padding: 8px 18px;
    background: var(--cocoa); color: var(--cream); border-radius: 16px;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 1.125rem; background: none; border-bottom: 1px solid rgba(255, 243, 214, .14); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a[aria-current="page"] { color: var(--butter); }
}
@media (max-width: 380px) {
  .lang button { padding: 0 9px; }
  .nav__logo img { width: 92px; }
}

/* ==========================================================================
   HERO — the word sits behind the food
   ========================================================================== */
.hero {
  --word-top: clamp(84px, 7.6vw, 140px);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 63vw);
  background: var(--slate);
  color: var(--cream);
}
.hero__shot, .hero__notes {
  position: absolute; right: 0; top: calc(var(--word-top) + 2.2vw);
  width: 46vw; aspect-ratio: 1300 / 1806;
}
.hero__shot > img { width: 100%; height: 100%; }
.hero__shot--base {
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 13%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 13%);
  mask-composite: intersect;
}
.hero__word {
  position: absolute; z-index: 2; left: calc(var(--gutter) - 0.6vw); top: var(--word-top);
  font-size: 20.4vw; color: var(--butter); white-space: nowrap;
}
.hero__shot--cut { z-index: 3; }
.hero__notes { z-index: 4; pointer-events: none; }

.hero__body {
  position: absolute; z-index: 5; left: var(--gutter);
  top: calc(var(--word-top) + 23vw);
  width: min(31rem, 44vw);
}
.hero__body .lede { color: var(--cream); max-width: 30ch; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(22px, 2.4vw, 36px); }
.hero__more { font-weight: 650; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.price {
  position: absolute; z-index: 6;
  left: 44vw; top: calc(var(--word-top) + 31vw);
  width: clamp(112px, 11.5vw, 176px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; padding: 0 10px;
  background: var(--paprika); color: var(--cream);
  transform: rotate(-11deg);
}
.price b { font-weight: 900; font-stretch: 100%; font-size: clamp(1.75rem, 3vw, 2.9rem); letter-spacing: -0.04em; line-height: 1; }
.price span { font-family: var(--hand); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.5rem); line-height: .95; margin-top: 4px; }

/* handwritten notes on the photo (positions are % of the photo, so they stay on the food) */
.note {
  position: absolute;
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.25rem, 2vw, 2rem); line-height: .95;
  color: var(--cream); white-space: nowrap;
  text-shadow: 0 1px 14px rgba(27, 17, 11, .7);
}
.note svg { position: absolute; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 4px rgba(27, 17, 11, .5)); }
/* garlic yogurt: text above the sauce, arrow drops onto it */
.note--yogurt { left: 71%; top: 6%; transform: rotate(-5deg); }
.note--yogurt svg { left: 22%; top: 108%; width: 2.6em; height: 3.5em; }
/* skin: text sits left of the photo, arrow lands on the potato skin (≈ 18%, 72%) */
.note--skin { right: 88%; top: 68%; transform: rotate(-4deg); }
.note--skin svg { left: 100%; top: 30%; width: 3.2em; height: 1.6em; }
/* sweetcorn: text below right, arrow up to the kernels (≈ 62%, 58%) */
.note--corn { left: 66%; top: 74%; transform: rotate(3deg); }
.note--corn svg { left: 0; bottom: 108%; width: 1.9em; height: 2.1em; }

@media (prefers-reduced-motion: no-preference) {
  .hero__word { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__shot--cut > img { animation: settle 1.1s cubic-bezier(.2, .8, .2, 1) both; }
  .price { animation: stamp .5s cubic-bezier(.3, 1.5, .5, 1) .75s both; }
  .note { animation: fade .4s ease both; }
  .note path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s ease forwards; }
  .note--yogurt, .note--yogurt path { animation-delay: 1s; } .note--yogurt path { animation-delay: 1.15s; }
  .note--skin { animation-delay: 1.3s; } .note--skin path { animation-delay: 1.45s; }
  .note--corn { animation-delay: 1.6s; } .note--corn path { animation-delay: 1.75s; }
}
@keyframes rise { from { transform: translateY(18%); opacity: 0; } }
@keyframes settle { from { transform: translateY(5%) scale(1.03); } }
@keyframes stamp { from { transform: rotate(8deg) scale(0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* portrait screens: the photo goes full width, the word rides its top edge */
@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .hero { --word-top: 92px; min-height: 0; padding: calc(var(--word-top) + 112vw) var(--gutter) 44px; }
  .hero__word { font-size: 21vw; left: calc(var(--gutter) - 1vw); }
  .hero__shot, .hero__notes { width: 100vw; top: calc(var(--word-top) - 3vw); }
  .hero__shot--base {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 78%, transparent 97%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 78%, transparent 97%);
    mask-composite: add;
  }
  .hero__shot--cut { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 97%); mask-image: linear-gradient(to bottom, #000 80%, transparent 97%); }
  .hero__body { position: relative; left: auto; top: auto; width: auto; }
  .price { left: auto; right: 4vw; top: calc(var(--word-top) + 26vw); width: 28vw; max-width: 150px; }
  .price b { font-size: clamp(1.5rem, 7vw, 2.6rem); }
  .price span { font-size: clamp(.95rem, 4vw, 1.4rem); }
  /* on a phone the notes become small tags on the photo itself */
  .note { font-size: clamp(1.15rem, 5.2vw, 1.8rem); padding: 2px 10px 4px; border-radius: 999px; background: rgba(27, 17, 11, .62); text-shadow: none; }
  .note--yogurt { display: none; }
  /* skin: tag over the salad on the left, arrow drops onto the skin (≈ 19%, 68%) */
  .note--skin { right: auto; left: 3%; top: 53%; transform: rotate(-3deg); }
  .note--skin svg { display: none; }
  .note--skin .note__m { display: block; left: 20%; top: 100%; width: 2em; height: 2.5em; }
  /* sweetcorn: tag below the kernels, arrow up onto them (≈ 64%, 62%) */
  .note--corn { left: auto; right: 9%; top: 71%; }
  .note--corn svg { left: -6%; bottom: 100%; width: 1.5em; height: 1.8em; }
}
.note__m { display: none; }

/* ==========================================================================
   HOW IT'S MADE — four panels that stack as you scroll
   ========================================================================== */
.step {
  position: sticky; top: 0;
  height: 100svh; min-height: 520px;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.step__photo { position: relative; overflow: hidden; }
.step__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step__text { display: flex; flex-direction: column; justify-content: flex-end; padding: var(--gutter); padding-bottom: clamp(28px, 6vh, 72px); min-width: 0; }
.step__count { font-weight: 800; font-stretch: 68%; font-size: clamp(1.125rem, 1.6vw, 1.5rem); letter-spacing: .01em; margin-bottom: auto; padding-top: clamp(8px, 2vh, 24px); }
.step__verb { font-size: clamp(4rem, 12vw, 14rem); margin-left: -0.05em; }
.step__copy { margin-top: clamp(16px, 2.2vw, 32px); font-size: clamp(1.0625rem, 1.6vw, 1.5rem); line-height: 1.34; max-width: 28ch; font-weight: 500; }
.step__aside { font-family: var(--hand); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1; margin-top: 14px; transform: rotate(-2deg); transform-origin: left; }

.step--flip .step__photo { order: 2; }
.step--bake { background: var(--butter); color: var(--cocoa); }
.step--mash { background: var(--cream); color: var(--cocoa); }
.step--mash .step__verb, .step--mash .step__aside { color: var(--paprika); }
.step--load { background: var(--paprika); color: var(--cream); }
.step--load .step__aside { color: var(--cocoa); }
.step--eat { background: var(--ink); color: var(--cream); }
.step--eat .step__verb, .step--eat .step__aside { color: var(--butter); }

@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .step { grid-template-columns: 1fr; grid-template-rows: 48% 1fr; }
  .step--flip .step__photo { order: 0; }
  .step__text { padding-top: 14px; padding-bottom: 24px; }
  .step__count { padding-top: 0; }
  .step__verb { font-size: clamp(3.4rem, 19vw, 8rem); }
  .step__copy { margin-top: 12px; max-width: 32ch; }
}
@media (max-height: 560px) { .step { position: relative; height: auto; min-height: 0; } .step__photo { min-height: 60vh; } }

/* ==========================================================================
   WHAT GOES IN — ingredients
   ========================================================================== */
.fresh {
  position: relative; z-index: 1;
  background: var(--leaf); color: var(--cream);
  padding: clamp(72px, 10vw, 150px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start;
}
.fresh .kicker { color: var(--butter); }
.fresh__head { position: sticky; top: 40px; }
.fresh__title { font-size: clamp(3rem, 7.4vw, 8rem); color: var(--butter); }
.fresh__head .lede { margin-top: clamp(20px, 2.4vw, 32px); }
.fresh__stats { margin-top: clamp(28px, 3.6vw, 52px); display: grid; grid-template-columns: max-content 1fr; gap: 14px 18px; }
.fresh__stats li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding-top: 14px; border-top: 2px solid rgba(255, 243, 214, .25); }
.fresh__stats b { font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.04em; line-height: 1; color: var(--butter); white-space: nowrap; }
.fresh__stats span { font-weight: 550; }

.fresh__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: ing; }
.ing {
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--cocoa);
  border-radius: 20px; padding: clamp(22px, 2.4vw, 32px);
  min-height: 100%;
}
.ing__no { font-weight: 800; font-stretch: 68%; font-size: 1.05rem; color: var(--leaf); }
.ing__name { margin-top: 10px; font-weight: 900; font-stretch: 112%; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.05; }
.ing__copy { margin-top: 10px; line-height: 1.45; }
.ing__fact {
  margin-top: auto; padding-top: 18px;
  font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--paprika);
}
@media (max-width: 900px) {
  .fresh { grid-template-columns: 1fr; }
  .fresh__head { position: static; }
}
@media (max-width: 560px) {
  .fresh__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BUILD YOURS — the order pad
   ========================================================================== */
.build { background: var(--cream); padding: clamp(72px, 10vw, 150px) var(--gutter); position: relative; z-index: 1; }
.build__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; margin-bottom: clamp(40px, 5vw, 76px); }
.build__title { font-size: clamp(3.2rem, 10.5vw, 11rem); }
.build__head .lede { padding-bottom: .5em; }
.build__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

.pad {
  position: relative;
  background: var(--paper);
  padding: 56px clamp(18px, 3vw, 44px) clamp(24px, 3vw, 40px);
  transform: rotate(-1.1deg);
  box-shadow: 0 1px 0 rgba(36, 22, 15, .08), 0 34px 60px -34px rgba(36, 22, 15, .5);
}
.pad::before { /* punched holes along the top */
  content: ''; position: absolute; inset: 14px 14px auto 14px; height: 16px;
  background: radial-gradient(circle, var(--cream) 0 6.5px, transparent 7.5px) left center / 30px 16px repeat-x;
}
.pad__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; }
.pad__top img { width: 132px; }
.pad__no { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--paprika); transform: rotate(-3deg); }
.pad__group { border-top: 2px solid var(--cocoa); padding: 16px 0 14px; }
.pad__q { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin-bottom: 2px; }
.pad__q b { font-weight: 800; font-stretch: 68%; font-size: 1.3rem; letter-spacing: .005em; }
.pad__q span { font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1; color: var(--paprika); transform: rotate(-2deg); text-align: right; }
.pad__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 0 18px; }
.pad__fixed { font-weight: 500; }

.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; }
.opt input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.opt__box { position: relative; flex: none; width: 22px; height: 22px; border: 2px solid var(--cocoa); border-radius: 4px; background: var(--paper); }
.opt__box svg { position: absolute; left: -3px; top: -11px; width: 34px; height: 34px; overflow: visible; fill: none; stroke: var(--paprika); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.opt__box path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.opt input:checked ~ .opt__box path { stroke-dashoffset: 0; transition: stroke-dashoffset .22s ease-out; }
.opt__name { padding: 0 3px; background: linear-gradient(var(--butter), var(--butter)) 0 88% / 0 46% no-repeat; transition: background-size .2s ease; }
.opt input:checked ~ .opt__name { background-size: 100% 46%; }
.opt input:focus-visible ~ .opt__box { outline: 3px solid var(--paprika); outline-offset: 3px; }
.opt input:disabled { cursor: default; }
.opt input:disabled ~ * { opacity: .35; }
.pad__all { display: inline-flex; margin: 2px 0 6px; padding: 6px 14px; border: 2px solid var(--cocoa); border-radius: 999px; background: transparent; font-weight: 700; font-size: .95rem; cursor: pointer; min-height: 40px; }
.pad__all[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.pad__small { border-top: 2px solid var(--cocoa); padding-top: 14px; font-size: .875rem; line-height: 1.45; opacity: .8; }

.order { position: sticky; top: 28px; }
.order__lines { font-size: clamp(2.2rem, 4.5vw, 5rem); display: grid; gap: .2em; }
.order__lines li { line-height: .9; overflow-wrap: anywhere; }
.order__lines li:first-child { color: var(--paprika); }
.order__lines li.is-empty { color: transparent; -webkit-text-stroke: 1.5px rgba(36, 22, 15, .34); }
.order__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(26px, 3.4vw, 48px); padding-top: clamp(20px, 2.4vw, 32px); border-top: 2px solid var(--cocoa); }
.order__price { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.order__price b { font-weight: 900; font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.order__price span { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; color: var(--paprika); transform: rotate(-3deg); }
.order__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.order__hint { margin-top: 16px; font-size: 1rem; opacity: .8; min-height: 1.5em; max-width: 52ch; }

@media (max-width: 900px) {
  .build__grid { grid-template-columns: 1fr; }
  .order { position: static; }
  .pad { transform: rotate(-.6deg); }
  .order__lines { font-size: clamp(2rem, 10.5vw, 4.4rem); }
}
@media (max-width: 480px) {
  .order__acts { width: 100%; }
  .order__acts .btn { flex: 1 1 100%; }
  .pad__opts { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .opt { gap: 9px; font-size: .98rem; }
}

/* ---------- calorie calculator ---------- */
.kcal {
  margin-top: clamp(48px, 6vw, 88px);
  background: var(--cocoa); color: var(--cream);
  border-radius: 28px; padding: clamp(24px, 4vw, 56px);
  scroll-margin-top: 24px;
}
.kcal:focus { outline: none; }
.kcal__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; padding-bottom: clamp(20px, 2.6vw, 32px); border-bottom: 2px solid rgba(255, 243, 214, .18); }
.kcal__title { font-size: clamp(1.9rem, 5.6vw, 5.4rem); color: var(--butter); }
@media (max-width: 480px) { .kcal__title { font-size: 7.2vw; } }
.kcal__head p { max-width: 40ch; opacity: .8; }
.kcal__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }

.ring { --pct: 0; position: relative; width: min(100%, 260px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring__track { stroke: rgba(255, 243, 214, .14); }
.ring__fill { stroke: var(--butter); stroke-linecap: round; stroke-dasharray: var(--pct) 100; transition: stroke-dasharray .6s cubic-bezier(.2, .8, .2, 1); }
.ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__num b { font-weight: 900; font-stretch: 125%; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; }
.ring__num span { font-weight: 700; font-size: 1.05rem; opacity: .75; }
.kcal__ri { margin-top: 14px; font-size: .95rem; opacity: .8; max-width: 30ch; }

.meter { margin-top: 22px; padding-top: 16px; border-top: 2px solid rgba(255, 243, 214, .14); }
.meter__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 650; }
.meter__row b { font-weight: 900; font-stretch: 112%; font-size: 1.6rem; letter-spacing: -0.03em; }
.meter__bar { margin-top: 10px; height: 10px; border-radius: 999px; background: rgba(255, 243, 214, .14); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--leaf-soft); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.meter__note { margin-top: 8px; font-size: .9rem; opacity: .75; }
.kcal__tip { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(220, 235, 210, .12); color: var(--leaf-soft); font-weight: 600; line-height: 1.4; }

.kcal__table-wrap { min-width: 0; }
.kcal__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.kcal__table th, .kcal__table td { padding: 11px 8px; text-align: right; border-bottom: 1px solid rgba(255, 243, 214, .12); white-space: nowrap; }
.kcal__table th:first-child { text-align: left; white-space: normal; padding-left: 0; }
.kcal__table td:last-child, .kcal__table th:last-child { padding-right: 0; }
.kcal__table thead th { font-weight: 800; font-stretch: 68%; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; opacity: .7; border-bottom: 2px solid rgba(255, 243, 214, .3); }
.kcal__table tbody th { font-weight: 600; }
.kcal__table tfoot th, .kcal__table tfoot td { font-weight: 900; font-size: 1.15rem; color: var(--butter); border-bottom: 0; border-top: 2px solid rgba(255, 243, 214, .3); padding-top: 14px; }
.kcal__small { margin-top: 18px; font-size: .85rem; line-height: 1.5; opacity: .65; max-width: 70ch; }

@media (max-width: 900px) {
  .kcal__grid { grid-template-columns: 1fr; }
  .kcal__sum { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 0 22px; align-items: center; }
  .kcal__sum .ring { grid-row: span 2; }
  .kcal__ri { margin-top: 0; }
  .kcal__sum .meter, .kcal__tip { grid-column: 1 / -1; }
  .ring__num b { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .kcal { border-radius: 20px; margin-left: calc(var(--gutter) * -0.5); margin-right: calc(var(--gutter) * -0.5); }
  .kcal__table { font-size: .95rem; }
  .kcal__table th, .kcal__table td { padding: 10px 5px; }
}

/* ==========================================================================
   PACKAGING & ENVIRONMENT
   ========================================================================== */
.pack { position: relative; z-index: 1; background: var(--leaf-soft); color: var(--cocoa); padding: clamp(72px, 10vw, 150px) var(--gutter); }
.pack .kicker { color: var(--leaf); }
.pack__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px clamp(32px, 6vw, 96px); align-items: end; }
.pack__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.pack__title { font-size: clamp(3rem, 9vw, 9.5rem); color: var(--leaf); }
.pack__head .lede { padding-bottom: .4em; }
.pack__grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--cocoa); }
.pack__item { padding: 22px clamp(16px, 2vw, 28px) 8px 0; }
.pack__item + .pack__item { padding-left: clamp(16px, 2vw, 28px); border-left: 2px solid rgba(36, 22, 15, .16); }
.pack__no { font-family: var(--hand); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--paprika); }
.pack__item h3 { margin-top: 10px; font-weight: 900; font-stretch: 112%; font-size: clamp(1.25rem, 1.7vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.pack__item p { margin-top: 10px; line-height: 1.45; }
.pack__note { margin-top: clamp(32px, 4vw, 56px); font-family: var(--hand); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; color: var(--leaf); transform: rotate(-1.5deg); transform-origin: left; }
@media (max-width: 900px) {
  .pack__head { grid-template-columns: 1fr; }
  .pack__grid { grid-template-columns: 1fr 1fr; }
  .pack__item, .pack__item + .pack__item { padding: 20px 0 18px; border-left: 0; }
  .pack__item:nth-child(even) { padding-left: 20px; border-left: 2px solid rgba(36, 22, 15, .16); }
  .pack__item:nth-child(n+3) { border-top: 2px solid rgba(36, 22, 15, .16); }
}
@media (max-width: 520px) {
  .pack__grid { grid-template-columns: 1fr; }
  .pack__item:nth-child(even) { padding-left: 0; border-left: 0; }
  .pack__item + .pack__item { border-top: 2px solid rgba(36, 22, 15, .16); }
}

/* ==========================================================================
   BOOK THE TRUCK
   ========================================================================== */
.truck { background: var(--butter); color: var(--cocoa); padding: clamp(72px, 10vw, 150px) var(--gutter) 0; overflow: hidden; position: relative; z-index: 1; }
.truck__title { font-size: clamp(3rem, 12.6vw, 14rem); }
.truck__row { display: grid; justify-items: start; gap: 24px; margin-top: clamp(24px, 3vw, 44px); position: relative; z-index: 1; }
.truck__img { width: min(1100px, 74vw); margin: clamp(-150px, -9vw, 0px) calc(var(--gutter) * -0.5) -1.2% auto; position: relative; }
@media (max-width: 820px) { .truck__img { width: 118%; max-width: none; margin: 28px -14% -1.5% -4%; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--ink); color: var(--cream); padding: clamp(64px, 9vw, 130px) var(--gutter) 28px; position: relative; z-index: 1; }
.foot__sign { font-size: clamp(2.4rem, 8.6vw, 9.5rem); color: var(--butter); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; margin-top: clamp(40px, 6vw, 88px); padding-top: 22px; border-top: 2px solid rgba(255, 243, 214, .22); font-size: 1rem; }
.foot__row ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__row a { text-underline-offset: 4px; }
.foot__mail { font-weight: 750; font-size: 1.15rem; overflow-wrap: anywhere; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 22px; font-size: .9rem; opacity: .6; }

/* ==========================================================================
   BOOKING + FEEDBACK PAGES
   ========================================================================== */
.book-head { background: var(--butter); padding: clamp(130px, 13vw, 200px) var(--gutter) 0; overflow: hidden; }
.book-head h1 { font-size: clamp(3rem, 12.6vw, 14rem); }
.book-head .lede { margin-top: clamp(20px, 2.6vw, 36px); max-width: 40ch; }
.book { background: var(--cream); padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.book h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 22px; }
.facts > div { border-top: 2px solid var(--cocoa); padding: 14px 0 16px; }
.facts dt { font-weight: 800; font-stretch: 68%; font-size: 1.2rem; }
.facts dd { margin-top: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 750; margin-bottom: 8px; }
.field__hint { font-weight: 450; opacity: .7; }
.field input:not([type="radio"]):not([type="range"]):not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--paper); border: 2px solid var(--cocoa); border-radius: 12px;
  font-size: 1rem; /* 16px+: stops iOS zooming into the field */
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--paprika); }
.field__error { color: #b42f12; font-weight: 650; font-size: .95rem; margin-top: 6px; }
.field__error:empty { display: none; }
.field__error a { color: inherit; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid var(--cocoa); border-radius: 999px; font-weight: 650; }
.chip input:checked + span { background: var(--cocoa); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--paprika); outline-offset: 3px; }
.guests { display: flex; align-items: center; gap: 20px; }
.guests output { font-weight: 900; font-stretch: 125%; font-size: 2.6rem; letter-spacing: -0.04em; min-width: 3.2ch; line-height: 1; }
.guests input { flex: 1; min-width: 0; accent-color: var(--paprika); min-height: 44px; }
.form__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__acts small { font-size: .95rem; opacity: .8; }
.form__privacy { font-size: .875rem; opacity: .7; margin-top: -8px; }
.form-done h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); color: var(--paprika); }
.form-done p { margin-top: 18px; max-width: 40ch; font-size: 1.2rem; }
.form-done:focus { outline: none; }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 550; line-height: 1.4; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cocoa); cursor: pointer; }

.stars { display: inline-flex; gap: 4px; }
.stars label { position: relative; cursor: pointer; display: block; }
.stars input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.stars svg { display: block; width: 44px; height: 44px; fill: transparent; stroke: var(--cocoa); stroke-width: 1.6; stroke-linejoin: round; transition: fill .15s ease, transform .15s ease; }
/* the chosen star and every star before it fill in; hovering previews */
.stars label:has(input:checked) svg, .stars label:has(~ label input:checked) svg,
.stars label:hover svg, .stars label:has(~ label:hover) svg { fill: var(--butter); }
.stars label:hover svg { transform: scale(1.08); }
.stars input:focus-visible ~ svg { outline: 3px solid var(--paprika); outline-offset: 2px; border-radius: 6px; }

.fb-head { background: var(--paprika); color: var(--cream); padding: clamp(130px, 13vw, 200px) var(--gutter) clamp(48px, 6vw, 96px); }
.fb-head h1 { font-size: clamp(2.8rem, 10vw, 11rem); color: var(--butter); }
.fb-head .lede { margin-top: clamp(20px, 2.6vw, 36px); max-width: 44ch; }

.faq { background: var(--paper); padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 7vw, 110px); }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.faq details { border-top: 2px solid var(--cocoa); }
.faq details:last-child { border-bottom: 2px solid var(--cocoa); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 750; font-size: 1.2rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 1.6rem; color: var(--paprika); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 20px; max-width: 56ch; }
@media (max-width: 820px) {
  .book, .faq { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form__acts .btn { width: 100%; }
}

/* ==========================================================================
   404
   ========================================================================== */
.lost { background: var(--paprika); color: var(--cream); min-height: 100svh; display: grid; align-content: center; padding: 120px var(--gutter) 64px; }
.lost h1 { font-size: clamp(3rem, 12vw, 13rem); color: var(--butter); }
.lost p { margin: 24px 0 32px; font-size: clamp(1.2rem, 2vw, 1.6rem); max-width: 30ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .note path, .opt__box path { stroke-dashoffset: 0; }
  .opt__box path { stroke-dashoffset: 1; }
  .opt input:checked ~ .opt__box path { stroke-dashoffset: 0; }
}
