/* =========================================================
   THE WEEKLY HARVEST — main stylesheet
   Colours & fonts come from Brand_Style_Sheet.docx
   ========================================================= */

@font-face {
  font-family: "Food Think";
  src: url("../assets/fonts/food-think.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --harvest-green: #3B6D11;
  --terracotta:    #BA7517;
  --cream:         #FAEEDA;
  --deep-green:    #27500A;   /* primary text colour */
  --leaf:          #B5D48A;   /* pale green behind the box sizes */

  /* Derived tones */
  --terracotta-dark: #9A600F;
  --cream-light:     #FDF7EC;

  /* Typography */
  --font-heading: "Food Think", "Lilita One", sans-serif;
  --font-serif: "Lora", Georgia, serif;           /* wordmark + section headers only */
  --font-sans:  "Inter", "Work Sans", system-ui, sans-serif;

  /* Layout */
  --gutter: 40px;
  --radius: 10px;
  --bar-h: 72px;     /* the menu bar */
  --promo-h: 32px;   /* the promotion banner above it (theme.css) */
  --header-h: calc(var(--promo-h) + var(--bar-h));   /* everything fixed at the top */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);   /* menu links land below the fixed header */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--deep-green);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* Home page with JS on: the sections go see-through so the page colour,
   which main.js fades between cream and green while scrolling, shows behind them */
.bg-scroll .harvest-scroll,
.bg-scroll .tiers,
.bg-scroll .why,
.bg-scroll .how,
.bg-scroll .news { background: transparent; }
.bg-scroll .site-foot { background: var(--cream); }

a { color: inherit; text-decoration: none; }

/* ---------- Photo grade: warm and muted ---------- */
/* The full photos get the same soft, film-like look: a touch of amber, less
   saturation and lifted blacks. The fruit and veg cut-outs keep their real
   colours, and the flat brand shapes their exact ones. Rules that add their
   own drop shadow put var(--grade,) in front so the two stack. */
img[src$=".jpg"],
image[href$=".jpg"] {
  --grade: sepia(.18) saturate(.82) contrast(.92) brightness(.98);
  filter: var(--grade);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--terracotta);
  color: var(--cream-light);
}
.btn--primary:hover { background: var(--terracotta-dark); }

.btn--outline {
  background: var(--deep-green);
  color: var(--cream-light);
}
.btn--outline:hover { background: var(--harvest-green); }

/* Underlined text buttons: a tint sweeps in from the left on hover */
.btn--line {
  position: relative;
  isolation: isolate;      /* keeps the sweep behind the text */
  gap: 10px;
  padding: 6px;
  border: 0;
  border-bottom: 1px solid var(--deep-green);
  border-radius: 0;
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.btn--line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background: rgba(39, 80, 10, .12);
  transition: width .3s ease-in-out;
}
.btn--line:hover { transform: none; }
.btn--line:hover::before,
.btn--line:focus-visible::before { width: 100%; }

.btn--line-orange {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}
.btn--line-orange::before { background: rgba(186, 117, 23, .16); }

/* Veg-shaped header buttons */
.btn--veg {
  width: 76px;
  height: 66px;
  font-size: 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: center / contain no-repeat;
  color: var(--cream-light);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(39, 80, 10, .6);
}
.btn--veg:hover { transform: translateY(-2px) rotate(-4deg); }
.btn--broccoli {
  background-image: url("../assets/images/buttons/broccoli.png");
  padding-bottom: 24px; /* sit text on the florets, not the stalk */
  margin-right: 12px; /* nudge left, away from the pumpkin */
}
.btn--pumpkin {
  background-image: url("../assets/images/buttons/pumpkin.png");
  padding-top: 8px; /* sit text below the stem */
  font-size: 12px;
  text-shadow: 0 1px 3px rgba(120, 50, 0, .7);
}

/* ---------- Header ---------- */
/* Beige bar on top of everything: the logo mark and the menu
   (main.js adds .is-visible once the welcome picture is covered or has scrolled away) */
.site-header {
  position: fixed;
  top: var(--promo-h);   /* under the promotion banner */
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(250, 238, 218, .7);   /* see-through cream over the welcome picture */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: box-shadow .25s, background-color .35s, top .3s ease;
}
.site-header.is-visible { background: var(--cream); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(39, 80, 10, .12); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark { width: 36px; height: 36px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
}
.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.site-nav__links a:hover::after { transform: scaleX(1); }

.site-nav__actions {
  display: flex;
  gap: 16px;
}
.site-nav__actions .btn--primary,
.site-nav__actions .btn--outline { padding: 11px 22px; text-decoration: none; }
.site-nav__actions .btn--outline { background: rgba(39, 80, 10, .8); }
.site-nav__actions .btn--primary { background: rgba(186, 117, 23, .8); }
.site-nav__actions .btn--outline:hover { background: var(--deep-green); }
.site-nav__actions .btn--primary:hover { background: var(--terracotta); }
.site-nav__actions { align-items: center; }
.site-nav__logout {   /* shown next to "My box" once signed in */
  padding: 6px 0;
  border: 0;
  background: none;
  color: inherit;
  font: 500 15px var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.site-nav__logout:hover { color: var(--terracotta); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--deep-green);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* Full-screen paper-cut veggie landscape. Layers rise at different speeds on scroll (main.js) */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  z-index: 2;              /* stays above the next section, which slides in underneath while pinned */
  isolation: isolate;
  background: #f0eed4;     /* beige behind the flat veg shapes */
}
.hero__layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
/* Veg shapes: sizes and offsets are in units of the 1679x1115 mockup (--u),
   scaled so the whole set fits the screen; each shape hugs its own edge */
.hero__veg { position: absolute; inset: 0; --u: min(100cqw / 1679, 100cqh / 1115); }
.hero-veg { position: absolute; display: block; height: auto; pointer-events: none; }
.hero-veg--pepper    { left: 0;  top: 0;    width: calc(var(--u) * 413); }
.hero-veg--lemon     { left: calc(50% + var(--u) * 45); top: 0; width: calc(var(--u) * 578); translate: -50% 0; }
.hero-veg--aubergine { right: calc(var(--u) * -70); top: calc(var(--u) * -50); width: calc(var(--u) * 522); }   /* tucked into the corner, clear of the title's Y */
.hero-veg--grapes    { left: 0;  bottom: 0; width: calc(var(--u) * 294); }
.hero-veg--tomato    { left: calc(50% - var(--u) * 5); bottom: 0; width: calc(var(--u) * 621); translate: -50% 0; }
.hero-veg--broccoli  { right: 0; bottom: 0; width: calc(var(--u) * 397); }
/* Tall screens (phones): bigger shapes that bleed off the edges */
@media (orientation: portrait) {
  .hero__veg { --u: min(100cqw / 640, 100cqh / 1400); }   /* by width, but never so big they crowd the title on tablets */
  .hero-veg--pepper    { left: calc(var(--u) * -90); }
  .hero-veg--lemon     { width: calc(var(--u) * 430); left: 50%; top: calc(var(--u) * -60); }
  .hero-veg--aubergine { right: calc(var(--u) * -120); }
  .hero-veg--grapes    { left: calc(var(--u) * -70); width: calc(var(--u) * 260); }
  .hero-veg--tomato    { width: calc(var(--u) * 460); left: 50%; bottom: calc(var(--u) * -40); }
  .hero-veg--broccoli  { right: calc(var(--u) * -90); width: calc(var(--u) * 330); }
}
}
.hero__layer { container-type: size; }
/* Same size as when it was part of the photo (which crops to fill the screen),
   but never wider than the screen, so phones and tablets see the whole title */
.hero__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100cqw - 24px, max(100cqw * 1440 / 1920, 100cqh * 1440 / 1080));
  aspect-ratio: 1440 / 818;
  transform: translate(-50%, -50%);
  overflow: visible;   /* the zoom scales it past its box */
}
#hero-logo-title path { fill: var(--deep-green); fill-rule: evenodd; }   /* the wordmark, in deep green over the veg */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__layer--front { bottom: -40%; }   /* polygons below are scaled to this taller box */
.hero__layer--card { z-index: 5; pointer-events: none; }

.hero .torn { position: absolute; inset: 0; filter: url(#heroTornEdge) drop-shadow(0 -3px 4px rgba(0,0,0,.18)); }
.hero .shape { position: absolute; inset: 0; }
.hero .torn-paper { background: #fbf7ec; }
.far-paper { clip-path: polygon(-2% 120%, 0.0% 64.7%, 2.1% 65.4%, 4.2% 65.9%, 6.2% 66.2%, 8.3% 66.1%, 10.4% 65.9%, 12.5% 65.5%, 14.6% 65.0%, 16.7% 64.4%, 18.8% 63.8%, 20.8% 63.3%, 22.9% 62.9%, 25.0% 62.6%, 27.1% 62.5%, 29.2% 62.5%, 31.2% 62.7%, 33.3% 63.0%, 35.4% 63.3%, 37.5% 63.6%, 39.6% 63.9%, 41.7% 64.0%, 43.8% 64.0%, 45.8% 63.8%, 47.9% 63.4%, 50.0% 62.7%, 52.1% 61.8%, 54.2% 60.6%, 56.2% 59.2%, 58.3% 57.7%, 60.4% 56.1%, 62.5% 54.5%, 64.6% 52.9%, 66.7% 51.4%, 68.8% 50.1%, 70.8% 49.0%, 72.9% 48.2%, 75.0% 47.6%, 77.1% 47.3%, 79.2% 47.2%, 81.2% 47.4%, 83.3% 47.8%, 85.4% 48.3%, 87.5% 48.8%, 89.6% 49.4%, 91.7% 49.9%, 93.8% 50.4%, 95.8% 50.7%, 97.9% 50.9%, 100.0% 50.9%, 102% 120%); }
.far-tex { background: url("../assets/images/landscape/far-hills.webp") center 60% / cover; clip-path: polygon(-2% 120%, 0.0% 66.0%, 2.1% 66.7%, 4.2% 67.2%, 6.2% 67.5%, 8.3% 67.4%, 10.4% 67.2%, 12.5% 66.8%, 14.6% 66.3%, 16.7% 65.7%, 18.8% 65.1%, 20.8% 64.6%, 22.9% 64.2%, 25.0% 63.9%, 27.1% 63.8%, 29.2% 63.8%, 31.2% 64.0%, 33.3% 64.3%, 35.4% 64.6%, 37.5% 64.9%, 39.6% 65.2%, 41.7% 65.3%, 43.8% 65.3%, 45.8% 65.1%, 47.9% 64.7%, 50.0% 64.0%, 52.1% 63.1%, 54.2% 61.9%, 56.2% 60.5%, 58.3% 59.0%, 60.4% 57.4%, 62.5% 55.8%, 64.6% 54.2%, 66.7% 52.7%, 68.8% 51.4%, 70.8% 50.3%, 72.9% 49.5%, 75.0% 48.9%, 77.1% 48.6%, 79.2% 48.5%, 81.2% 48.7%, 83.3% 49.1%, 85.4% 49.6%, 87.5% 50.1%, 89.6% 50.7%, 91.7% 51.2%, 93.8% 51.7%, 95.8% 52.0%, 97.9% 52.2%, 100.0% 52.2%, 102% 120%); }
.mid-paper { clip-path: polygon(-2% 120%, 0.0% 75.2%, 2.1% 75.2%, 4.2% 75.1%, 6.2% 74.5%, 8.3% 73.6%, 10.4% 72.3%, 12.5% 70.8%, 14.6% 69.1%, 16.7% 67.5%, 18.8% 66.1%, 20.8% 64.9%, 22.9% 64.2%, 25.0% 64.0%, 27.1% 64.1%, 29.2% 64.5%, 31.2% 65.2%, 33.3% 65.9%, 35.4% 66.5%, 37.5% 66.9%, 39.6% 67.1%, 41.7% 67.1%, 43.8% 67.0%, 45.8% 66.8%, 47.9% 66.7%, 50.0% 66.7%, 52.1% 67.1%, 54.2% 67.9%, 56.2% 69.0%, 58.3% 70.4%, 60.4% 72.0%, 62.5% 73.6%, 64.6% 75.2%, 66.7% 76.4%, 68.8% 77.3%, 70.8% 77.7%, 72.9% 77.7%, 75.0% 77.3%, 77.1% 76.7%, 79.2% 75.9%, 81.2% 75.1%, 83.3% 74.5%, 85.4% 74.1%, 87.5% 73.9%, 89.6% 73.9%, 91.7% 74.1%, 93.8% 74.2%, 95.8% 74.2%, 97.9% 73.9%, 100.0% 73.4%, 102% 120%); }
.mid-tex { background: url("../assets/images/landscape/mid-field.webp") center / 34% auto repeat; clip-path: polygon(-2% 120%, 0.0% 76.5%, 2.1% 76.5%, 4.2% 76.4%, 6.2% 75.8%, 8.3% 74.9%, 10.4% 73.6%, 12.5% 72.1%, 14.6% 70.4%, 16.7% 68.8%, 18.8% 67.4%, 20.8% 66.2%, 22.9% 65.5%, 25.0% 65.3%, 27.1% 65.4%, 29.2% 65.8%, 31.2% 66.5%, 33.3% 67.2%, 35.4% 67.8%, 37.5% 68.2%, 39.6% 68.4%, 41.7% 68.4%, 43.8% 68.3%, 45.8% 68.1%, 47.9% 68.0%, 50.0% 68.0%, 52.1% 68.4%, 54.2% 69.2%, 56.2% 70.3%, 58.3% 71.7%, 60.4% 73.3%, 62.5% 74.9%, 64.6% 76.5%, 66.7% 77.7%, 68.8% 78.6%, 70.8% 79.0%, 72.9% 79.0%, 75.0% 78.6%, 77.1% 78.0%, 79.2% 77.2%, 81.2% 76.4%, 83.3% 75.8%, 85.4% 75.4%, 87.5% 75.2%, 89.6% 75.2%, 91.7% 75.4%, 93.8% 75.5%, 95.8% 75.5%, 97.9% 75.2%, 100.0% 74.7%, 102% 120%); }
.front-paper { clip-path: polygon(-2% 120%, 0.0% 58.5%, 2.1% 58.4%, 4.2% 58.0%, 6.2% 57.5%, 8.3% 57.0%, 10.4% 56.6%, 12.5% 56.3%, 14.6% 56.4%, 16.7% 56.9%, 18.8% 57.8%, 20.8% 58.8%, 22.9% 59.9%, 25.0% 60.9%, 27.1% 61.6%, 29.2% 62.1%, 31.2% 62.4%, 33.3% 62.4%, 35.4% 62.4%, 37.5% 62.4%, 39.6% 62.5%, 41.7% 62.9%, 43.8% 63.4%, 45.8% 64.0%, 47.9% 64.5%, 50.0% 64.8%, 52.1% 64.7%, 54.2% 64.3%, 56.2% 63.4%, 58.3% 62.4%, 60.4% 61.4%, 62.5% 60.4%, 64.6% 59.6%, 66.7% 59.1%, 68.8% 58.9%, 70.8% 58.9%, 72.9% 58.9%, 75.0% 58.9%, 77.1% 58.6%, 79.2% 58.2%, 81.2% 57.6%, 83.3% 57.0%, 85.4% 56.4%, 87.5% 56.1%, 89.6% 56.1%, 91.7% 56.6%, 93.8% 57.4%, 95.8% 58.3%, 97.9% 59.4%, 100.0% 60.4%, 102% 120%); }
.front-tex { background: url("../assets/images/landscape/front-field.webp") center 40% / cover; clip-path: polygon(-2% 120%, 0.0% 59.4%, 2.1% 59.3%, 4.2% 58.9%, 6.2% 58.4%, 8.3% 57.9%, 10.4% 57.5%, 12.5% 57.2%, 14.6% 57.4%, 16.7% 57.9%, 18.8% 58.7%, 20.8% 59.7%, 22.9% 60.9%, 25.0% 61.9%, 27.1% 62.6%, 29.2% 63.1%, 31.2% 63.3%, 33.3% 63.3%, 35.4% 63.3%, 37.5% 63.3%, 39.6% 63.4%, 41.7% 63.9%, 43.8% 64.4%, 45.8% 64.9%, 47.9% 65.4%, 50.0% 65.7%, 52.1% 65.6%, 54.2% 65.2%, 56.2% 64.4%, 58.3% 63.4%, 60.4% 62.3%, 62.5% 61.3%, 64.6% 60.5%, 66.7% 60.1%, 68.8% 59.9%, 70.8% 59.8%, 72.9% 59.8%, 75.0% 59.8%, 77.1% 59.6%, 79.2% 59.1%, 81.2% 58.6%, 83.3% 57.9%, 85.4% 57.4%, 87.5% 57.1%, 89.6% 57.1%, 91.7% 57.5%, 93.8% 58.3%, 95.8% 59.2%, 97.9% 60.3%, 100.0% 61.3%, 102% 120%); }

.hero .cut { position: absolute; display: block; height: auto; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(10,30,15,.28)); }
.hero .cloud { filter: drop-shadow(0 6px 8px rgba(20,60,90,.18)); }
.hero .sun { filter: drop-shadow(0 0 40px rgba(255,190,120,.55)); }
/* Every cut-out bobs and tilts like the floating cauliflower, each on its own beat */
.hero .cut { animation: hero-bob 6s ease-in-out infinite alternate; }
.hero .cut:nth-of-type(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.hero .cut:nth-of-type(3n) { animation-duration: 5.2s; animation-delay: -3.5s; }
.hero .cloud { animation-name: hero-drift-bob; }
.hero .plant-sway { transform-origin: 50% 100%; animation-name: hero-sway; }
@keyframes hero-bob { from { translate: 0 -6px; rotate: -3deg; } to { translate: 0 8px; rotate: 3deg; } }
@keyframes hero-drift-bob { from { translate: -1vw -6px; rotate: -3deg; } to { translate: 1vw 8px; rotate: 3deg; } }
@keyframes hero-sway { from { translate: 0 -4px; rotate: -4deg; } to { translate: 0 4px; rotate: 4deg; } }
@media (prefers-reduced-motion: reduce) {
  .hero .cut { animation: none; }
}

/* Scroll-down arrow button */
.hero__scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 28px;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream-light);
  color: var(--deep-green);
  box-shadow: 0 8px 18px rgba(39, 80, 10, .3);
  cursor: pointer;
}
.hero__scroll:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

/* Welcome headline on torn paper (paper layers shared with the harvest notes) */
.hero .hero-card {
  position: absolute;
  left: 5%;
  top: 10%;
  width: min(40%, 480px);
  padding: 36px 42px;
  rotate: -3deg;
}
/* Strip of tape holding the paper onto the picture */
.hero-card__tape {
  position: absolute;
  z-index: 1;
  top: -16px;
  left: 50%;
  width: 110px;
  height: 30px;
  margin-left: -55px;
  background: rgba(240, 214, 140, .75);
  box-shadow: 0 1px 2px rgba(39, 80, 10, .15);
  rotate: 4deg;
}
.hero__eyebrow {
  margin: 0 0 8px;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: clamp(18px, 1.2vw, 18px);
  line-height: 1;
  color: var(--terracotta);
}
.hero__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 2.72vw, 41.6px);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--deep-green);
}
.hero__title-accent { color: var(--terracotta); }
.hero__slogan {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 18px);
}

/* ---------- The box, with paper notes pointing at it ---------- */
.harvest-scroll {
  position: relative;
  z-index: 2;                     /* a note may sit over the top of the green section */
  padding-top: var(--header-h);   /* room for the fixed header that slides in */
  background: var(--cream);
}
.harvest-stage {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 560px;
}
/* Pepper + crate artwork; the title and notes are placed in its 500x500 grid */
.harvest-art {
  --art: min(calc(100svh - var(--header-h) - 24px), 54vw);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--art);
  aspect-ratio: 1;
  translate: -50% -50%;
}
.harvest-art__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
}
.harvest-art__img {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.harvest-pointer { fill: var(--deep-green); }

/* Title on a circle round the top of the pepper (letters placed by main.js) */
.harvest-title {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 7.6cqw;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--deep-green);
  pointer-events: none;
}
.harvest-title .arc-slot {
  position: absolute;
  transform-origin: 50% 100%;
}

/* Notes at the tail of each arrow */
.harvest-note {
  position: absolute;
  width: min(250px, calc((100vw - var(--art)) / 2 - 48px));
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--deep-green);
}
/* Placed with top/bottom only: GSAP (pop-on) would drop a CSS translate */
.harvest-note--1 { left: 97%;  top: 57.5%; }
.harvest-note--2 { right: 95%; top: 79.5%; text-align: right; }
.harvest-note--3 { left: 86%;  bottom: 3%; }   /* above the arrow tail, so it never drops off the screen */

/* Two torn layers: a white rim, then the textured paper on top */
.paper::before,
.paper::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 34% 40% 36% 42% / 42% 36% 44% 38%;
}
.paper::before {
  inset: -10px;
  background: #fff;
  filter: url(#tornEdge) drop-shadow(0 8px 10px rgba(39, 80, 10, .18));
}
.paper::after {
  inset: 0;
  background:
    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='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    #f4f1ea;
  filter: url(#tornEdgeInner);
}

.harvest-filters,
.marker-filters { position: absolute; }

[data-split] .word {
  display: inline-block;
  white-space: nowrap;
}
[data-split] .char {
  display: inline-block;
}

/* ---------- Box sizes (S / M / L) ---------- */
.tiers {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6.4vh, 76.8px) var(--gutter);
  text-align: center;
  background: var(--leaf);
}
.tiers__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.12vw, 73.6px);
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--deep-green);
}
.tiers__text {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.44vw, 20.8px);
  line-height: 1.35;
  letter-spacing: .03em;
  color: var(--deep-green);
}
/* Widths in proportion to their artwork, so all three share one scale;
   S pushed to the left, M in the middle, L to the right */
.tiers__row {
  display: grid;
  grid-template-columns: 1fr 28.2% 1fr;
  align-items: end;        /* crates sit on the same "floor" */
  width: 100%;
  max-width: 1280px;
  margin-top: clamp(16px, 3.2vh, 38.4px);
}
.tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
/* side columns are 35.9% wide: S fills 25% of the row, L 33.7% */
.tier--s { width: 69.6%; justify-self: start; }
.tier--l { width: 93.9%; justify-self: end; }
.tier__art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.tier__letter {
  font-family: var(--font-serif);
  font-weight: 700;
  fill: var(--deep-green);
}
.tier__price {
  margin: 12px 0 2px;
  font-size: clamp(16px, 1.76vw, 24.8px);
  color: var(--terracotta);
}
.tier__price span {
  font-size: .75em;
  color: var(--deep-green);
}
.tier__desc {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 20px);
  color: var(--deep-green);
}

/* Torn-paper cut-out (layers shared with the harvest notes) */
.paper {
  position: relative;
  isolation: isolate;
  color: var(--deep-green);
}

/* ---------- Why: the mission and the waste facts (from why1/why2.ai) ---------- */
.why {
  position: relative;
  overflow-x: clip;
  padding-bottom: 0;
  background: var(--cream);
  color: var(--deep-green);
  text-align: center;
}
/* Space above the "Why we're doing this" tab */
.why__top {
  position: relative;
  padding-top: clamp(32px, 4.8vh, 57.6px);
}
/* Red apple beside the title, partly off the right edge of the screen */
.why__apple {
  position: absolute;
  top: clamp(0px, 0.8vw, 16px);   /* level with the title, clear of the Family box above */
  right: calc(clamp(180px, 22.4vw, 352px) * -.25);   /* three quarters on screen */
  width: clamp(180px, 22.4vw, 352px);
  height: auto;
  pointer-events: none;
}
/* Narrower screens: a smaller apple, half off the edge, and the title and
   quote keep clear of it so it never sits on the text */
@media (max-width: 1300px) {
  .why__apple { width: 18vw; right: -9vw; }
  .why__top,
  .why__quote { padding-inline: calc(9vw + var(--gutter)); }
}
.why__tab {
  width: fit-content;
  max-width: calc(100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(28px, 3.2vh, 38.4px) clamp(32px, 4.8vw, 76.8px) 0;
  /* no cream tab behind the title: it sits straight on the page colour */
}
.why__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.12vw, 73.6px);   /* same size as "Choose your box" */
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--deep-green);
}
.why__quote {
  max-width: 920px;
  margin: clamp(24px, 3.2vh, 38.4px) auto 0;
  padding: 0 var(--gutter);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.08vw, 27.2px);
  line-height: 1.35;
}

/* How we do it, written around the pepper (hanging off the left edge) and the
   pumpkin (hanging off the right edge): the lines follow their outlines */
.why__mission {
  --veg-w: clamp(220px, 27.2vw, 416px);
  display: flow-root;      /* holds the two floats */
  margin-top: clamp(32px, 4.8vh, 57.6px);
  padding: 0 var(--gutter);
}
.why__pepper,
.why__pumpkin {
  width: var(--veg-w);
  height: auto;
  shape-margin: 10px;      /* lines run right up to the green shadow */
}
.why__pepper {
  float: left;
  margin-left: calc(var(--veg-w) * -.3 - var(--gutter));
  shape-outside: polygon(0.0% 0.0%, 71.8% 0.0%, 84.7% 2.8%, 86.2% 5.6%, 86.6% 8.3%, 86.6% 11.1%, 74.8% 13.9%, 75.1% 16.6%, 84.7% 19.4%, 90.2% 22.2%, 93.2% 25.0%, 95.8% 27.8%, 97.6% 30.5%, 98.7% 33.3%, 99.4% 36.1%, 99.8% 38.8%, 99.8% 41.6%, 99.4% 44.4%, 99.1% 47.2%, 98.3% 50.0%, 97.6% 52.7%, 96.9% 55.5%, 96.5% 58.3%, 96.1% 61.0%, 95.8% 63.8%, 95.4% 66.6%, 94.7% 69.4%, 93.9% 72.2%, 93.2% 74.9%, 92.1% 77.7%, 91.0% 80.5%, 89.5% 83.2%, 87.7% 86.0%, 85.5% 88.8%, 82.5% 91.6%, 78.1% 94.4%, 72.9% 97.1%, 62.6% 99.9%, 0.0% 100.0%) border-box;
}
.why__pumpkin {
  float: right;
  margin-top: calc(var(--veg-w) * .42);   /* lower than the pepper */
  position: relative;
  top: calc(var(--veg-w) * .35);          /* drops further, beside "Good veg and fruit..." (layout and text wrap stay put) */
  margin-right: calc(var(--veg-w) * -.35 - var(--gutter));
  shape-outside: polygon(100.0% 0.0%, 100.0% 0.0%, 33.9% 2.8%, 26.1% 5.6%, 20.9% 8.3%, 17.1% 11.1%, 14.2% 13.9%, 11.9% 16.7%, 9.3% 19.4%, 7.4% 22.2%, 6.0% 25.0%, 4.8% 27.8%, 4.1% 30.6%, 3.4% 33.3%, 2.2% 36.1%, 1.1% 38.9%, 0.7% 41.7%, 0.4% 44.4%, 0.0% 47.2%, 0.0% 50.0%, 0.4% 52.7%, 0.4% 55.5%, 0.4% 58.2%, 0.7% 61.0%, 1.1% 63.8%, 2.2% 66.6%, 3.4% 69.3%, 4.1% 72.1%, 5.2% 74.9%, 6.7% 77.7%, 8.6% 80.5%, 11.2% 83.2%, 13.8% 86.0%, 16.8% 88.8%, 20.1% 91.6%, 24.2% 94.3%, 33.1% 97.1%, 43.9% 99.9%, 100.0% 100.0%) border-box;
}
.why__cabbage,
.why__orange { position: relative; }
.why__cabbage img,
.why__orange img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
/* green sticker shadows, sized from the design files */
.why__trio img.why__shadow { position: absolute; }
.why__cabbage .why__shadow { left: -15.4%; top: 1.2%;  width: 120.7%; height: 111.6%; }
.why__orange .why__shadow  { left: -12%;   top: 4%;    width: 116%;   height: 108%; }

/* newspaper style: justified lines that hug the outlines */
.why__how {
  max-width: calc(var(--veg-w) * .7 + 440px);   /* a narrow column, so it runs the full height of the pepper */
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: justify;
  hyphens: auto;
}
.why__how li + li { margin-top: clamp(20px, 2.4vh, 25.6px); }
.why__how h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(22px, 2.08vw, 28.8px);
  text-align: left;
}
.why__how p {
  margin: 0;
  font-size: clamp(16px, 1.28vw, 17.6px);
  line-height: 1.6;
}

/* Savoy cabbage (left) and orange (right), with the headline and the waste facts between them */
.why__trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, .75fr);
  grid-template-areas: "cabbage middle orange";
  align-items: center;
  gap: clamp(16px, 2.4vw, 38.4px);
  max-width: 1240px;
  margin: clamp(40px, 6.4vh, 76.8px) auto 0;
  padding: 0 var(--gutter);
}
/* zigzag down the section: pepper (left), pumpkin (right), cabbage (left), orange (right) */
.why__cabbage { grid-area: cabbage; align-self: start; }
.why__orange  { grid-area: orange; align-self: end; z-index: 1; margin-bottom: calc(clamp(240px, 30.4vw, 432px) * -.35); }   /* z-index: over the green band below, under its title */
.why__middle  { grid-area: middle; text-align: center; }
@media (max-width: 900px) {   /* veg side by side on top, the words underneath */
  .why__trio {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "cabbage orange" "middle middle";
  }
}
.why__headline {
  position: relative;
  top: calc(clamp(240px, 30.4vw, 432px) * -.2);   /* lifted up, towards the pumpkin */
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 1.76vw, 28.8px);   /* so the spaces between the words scale too */
  line-height: 1;
}
.why__headline-big { font-size: clamp(64px, 5.6vw, 96px); }
.why__headline-md  { font-size: clamp(28px, 2.72vw, 44.8px); }
.why__headline-sm  { font-size: clamp(20px, 1.76vw, 28.8px); }
.why__headline-last { display: block; margin-top: .2em; }

/* Waste facts: cream pills in a green band */
.why__band {
  position: relative;
  margin: clamp(28px, 3.2vh, 38.4px) 0 0;
  padding: clamp(16px, 1.44vw, 22.4px) clamp(14px, 1.28vw, 19.2px) clamp(40px, 3.2vw, 44.8px);
  border-radius: clamp(40px, 5.6vw, 80px);
  background: var(--leaf);
}
.why__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
}
.why__stat {
  margin: 0;
  padding: clamp(14px, 1.12vw, 17.6px) clamp(12px, 1.2vw, 18px);
  border-radius: clamp(24px, 2.08vw, 32px);
  background: var(--cream);
  text-align: left;
}
.why__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 2.24vw, 38.4px);
  line-height: 1;
  color: var(--terracotta);
}
.why__stat figcaption {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.4;
}
/* "Learn more" tab hanging off the bottom of the band */
.why__more {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  translate: -50% 50%;
  padding: 14px clamp(32px, 3.2vw, 41.6px);
  border-radius: 28px;
  background: var(--cream);
  font-size: clamp(16px, 1.2vw, 16px);
  color: var(--deep-green);
  white-space: nowrap;
  transition: color .2s;
}
.why__more:hover,
.why__more:focus-visible { color: var(--terracotta); }

/* ---------- How it works: ordering + delivery, and recipe cards ---------- */
.how {
  --title-size: clamp(44px, 7.2vw, 104px);
  padding: clamp(56px, 7.2vh, 88px) var(--gutter);
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}
.how__title {
  position: relative;
  z-index: 1;               /* sits over the top edge of the green strip */
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--title-size);
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--deep-green);
}
/* A pale green strip runs behind the posters and off the right edge of the page.
   The title overlaps its top; the posters hang below its bottom. */
.how__band {
  position: relative;
  margin-top: calc(var(--title-size) * -.45);
  padding-top: calc(var(--title-size) * .45 + clamp(24px, 3.2vw, 44.8px));
}
.how__band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 28%;
  left: calc(var(--gutter) * -.6);
  right: calc(var(--gutter) * -1 - 120px);
  border-radius: clamp(40px, 5.6vw, 80px);
  background: var(--leaf);
}
.how__steps {
  position: relative;
  display: flex;
  align-items: stretch;   /* cards all the same height */
  gap: clamp(16px, 1.92vw, 28.8px);
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  max-width: 1140px;
  list-style: none;
}
.how__step {
  flex: 1;
  max-width: 400px;
}
/* Each step is a soft rounded card with a hand-drawn picture on top */
.how-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 2.08vw, 32px) clamp(20px, 1.92vw, 28.8px) clamp(28px, 2.4vw, 35.2px);
  border-radius: clamp(28px, 2.72vw, 38.4px);
  background: rgba(253, 247, 236, .62);   /* see-through cream over the green strip */
  color: var(--deep-green);
}
.how-card__art {
  display: block;
  width: min(100%, 240px);
  height: auto;
  overflow: visible;
}
.how-card__ink {
  fill: none;
  stroke: var(--deep-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#markerInk);          /* wobbly, hand-drawn line */
}
.how-card__wash {
  opacity: .8;
  transform: translate(4px, 3px);   /* colour printed a little off the lines */
}
.how-card__title {
  margin: clamp(14px, 1.28vw, 17.6px) 0 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 1.76vw, 24px);
  line-height: 1.15;
}
.how-card__when {
  margin: 4px 0 0;
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 1.6vw, 22.4px);
  color: var(--terracotta);
}
.how-card__text {
  flex: 1;
  margin: 10px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
}
.how-card__link {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.how-card__link:hover { color: var(--terracotta); }

/* ---------- Newsletter: stacked headline, falling veg + sign-up form ---------- */
.news {
  position: relative;
  padding: 0 var(--gutter) clamp(72px, 9.6vh, 112px);
  background: var(--leaf);
  overflow-x: clip;     /* the broccoli can still poke up into the section above */
}
/* Five staggered copies of the headline; only the front one is read out */
.news__head {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: clamp(24px, 3.2vw, 44.8px);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 6.08vw, 96px);
  line-height: .88;
  color: var(--deep-green);
  white-space: nowrap;
}
.news__line,
.news__title {
  position: relative;
  margin: 0;
  font: inherit;
}
.news__line--1 { margin-left: -1%; }
.news__line--2 { margin-left: 4%; }
.news__line--3 { margin-left: 7%; }
.news__line--4 { margin-left: 1%; }
.news__title   { margin-left: 3%; z-index: 2; }   /* the front copy sits over the tear */
/* The broccoli covers the middle of the copies behind. Its head pokes up
   over the top of the section, where the green edge shows against the cream. */
.news__broc {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 26%;
  width: 52%;
  pointer-events: none;
  /* tipped over to the right, as if it's about to roll off */
  transform: rotate(20deg);
  transform-origin: 50% 100%;
}
.news__broc img {
  display: block;
  width: 100%;
  height: auto;
}
.news__broc-cream {
  position: absolute;
  top: 9%;
  left: 7%;
  width: 86% !important;
}

.news__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1100px;
  margin: clamp(32px, 4vw, 51.2px) auto 0;
}
/* Physics area: the veg fall in from above and pile up (js/veg-drop.js) */
.news__drop {
  position: relative;
  height: clamp(420px, 49.6vh, 480px);
  /* hide the veg only above the top, while they fall in; their shadows can
     spill past the sides and bottom so the area has no visible edges */
  clip-path: inset(0 -120px -120px -120px);
  cursor: grab;
}
.news__drop:active { cursor: grabbing; }
.news__veg {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  height: auto;
  transform-origin: 0 0;
  visibility: hidden;      /* shown as each one starts to fall */
  user-select: none;
  pointer-events: none;    /* the physics handles dragging */
  will-change: transform;
}

.news__card {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
}
.news__lede {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 1.28vw, 19.2px);
}
.news__perks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.news__perks li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
}
/* little leaf bullet */
.news__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 14px;
  height: 14px;
  border-radius: 0 70% 0 70%;
  background: var(--harvest-green);
}
.news__perks strong { font-weight: 600; }

.news__form {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed rgba(39, 80, 10, .45);
}
.news__field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}
.news__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(39, 80, 10, .35);
  border-radius: 8px;
  background: var(--cream-light);
  font: inherit;
  color: var(--deep-green);
}
.news__field input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(186, 117, 23, .25);
}
.news__consent {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.news__submit {
  width: 100%;
  margin-top: 18px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--cream-light);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.news__submit:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}
.news__thanks {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--deep-green);
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav,
  .site-nav__links { gap: 28px; }
  .site-nav__links a { font-size: 16px; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --bar-h: 72px; --promo-h: 30px; }

  .brand__mark { width: 36px; height: 36px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;   /* straight under the menu bar */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--cream);
    box-shadow: 0 12px 24px rgba(39, 80, 10, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__links {
    flex-direction: column;
    gap: 4px;
  }
  .site-nav__links a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
  }
  .site-nav__actions { justify-content: center; }
  .site-nav__actions .btn:not(.btn--veg, .btn--line) { flex: 1; }

  .hero { min-height: 600px; }
  .hero .hero-card { left: 6%; right: 6%; top: 5%; width: auto; padding: 28px 30px; rotate: -2deg; }
  .hero .sun { width: 44% !important; left: 50% !important; top: 44% !important; }
  .hero .hide-sm { display: none; }

  /* No room beside the artwork: the notes stack underneath it */
  .harvest-stage {
    height: auto;
    min-height: 0;
    padding: 24px var(--gutter) 48px;
  }
  .harvest-art {
    --art: min(88%, 520px);
    position: relative;
    left: auto;
    top: auto;
    aspect-ratio: auto;
    translate: none;
    margin: 0 auto;
  }
  .harvest-note {
    position: static;
    width: auto;
    max-width: 420px;
    margin: 18px auto 0;
    translate: none;
    text-align: center;
    font-size: 15px;
  }

  /* Why: the text zig-zags round the pepper, then the pumpkin below it */
  .why__mission { --veg-w: 52vw; }
  .why__pepper,
  .why__pumpkin { shape-margin: 12px; }
  .why__pumpkin { clear: left; }
  .why__stats { grid-template-columns: 1fr; }
  .why__stat { text-align: center; }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .how__step { width: 100%; max-width: 400px; }

  .news__body { grid-template-columns: 1fr; }
  .news__head { font-size: 7.2vw; }
  .news__drop { height: 320px; }
  .news__card { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Phones: the box sizes stack one under the other */
@media (max-width: 640px) {
  .tiers__row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }
  .tier--s,
  .tier--m,
  .tier--l { width: min(100%, 420px); justify-self: center; }
  .tier__price { font-size: 19px; }
  .tier__desc { font-size: 15px; }
  /* let the subtitle wrap naturally instead of leaving "any time." alone */
  .tiers__text br { display: none; }
}

/* ---------- Harvest Mind page (layout after the "Behind the Blooms" page) ---------- */
/* Framed market photo with the title hanging off it, a "hi there" intro
   beside a photo and pinned note, a scrolling band, the journey as a
   sideways timeline on deep green */
.hm {
  --hm-max: 1160px;
  overflow-x: clip;
  padding-top: var(--header-h);
  background: var(--cream);
}

/* Top: the quote on the left, the produce photo beside it on the right;
   stacked (quote first) on phones and small tablets */
.hm-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--hm-max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) var(--gutter);
}
.hm-top__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 45%;   /* the sign and baskets kept in view */
  border-radius: 18px;
}
@media (max-width: 860px) {
  .hm-top { grid-template-columns: minmax(0, 560px); justify-content: center; }
}

/* Intro: hello + story beside a photo with a pinned note (photo on the left on desktop) */
.hm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;   /* the hello above the photo and the story start level */
  gap: clamp(40px, 5.6vw, 88px);
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(56px, 5.6vw, 83.2px) var(--gutter) clamp(72px, 6.4vw, 96px);
}
.hm-intro__hi {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(28px, 2.08vw, 30.4px);
  line-height: 1;
  color: var(--deep-green);
}
.hm-intro__name {
  margin: 4px 0 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 3.2vw, 46px);
  line-height: 1;
  white-space: nowrap;   /* one line above the photo */
  text-transform: uppercase;
  color: var(--harvest-green);
}
.hm-intro__text p:not(.hm-intro__hi) {
  margin: 0 0 1.1em;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--deep-green);
}
.hm-intro__side {   /* the photo column: hello, main photo, then two more underneath; always first */
  order: -1;
  justify-self: center;
  width: min(100%, 360px);
}
.hm-intro__photo {
  position: relative;
  margin: 0;
}
.hm-intro__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
}
.hm-intro__stamp {   /* the leaf mark, stuck on the corner like a postmark */
  position: absolute;
  top: -22px;
  right: -22px;
  width: clamp(64px, 5.6vw, 73.6px);
  height: auto;
  padding: 6px;
  border-radius: 50%;
  background: var(--cream-light);
  transform: rotate(12deg);
  box-shadow: 0 4px 14px rgba(39, 80, 10, .18);
}
.hm-intro__more {   /* two more market photos under the main one */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.hm-intro__more img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}
.hm-intro__sign {
  display: block;
  margin-top: 10px;
  font-family: "Caveat", cursive;
  font-size: 24px;
}

/* Desktop: photos on the left, so the stamp swaps corners to stay inside the page */
@media (min-width: 861px) {
  .hm-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hm-intro__stamp { right: auto; left: -22px; transform: rotate(-12deg); }
}

/* Tablets: intro stacks */
@media (max-width: 860px) {
  .hm-intro { grid-template-columns: minmax(0, 560px); justify-content: center; row-gap: 72px; }
}

/* Phones */
@media (max-width: 760px) {
  .hm-intro { padding-inline: 16px; }
  .hm-intro__side { width: min(82%, 320px); }
}

/* ---------- Harvest Recipe page (layout from receipe.ai) ---------- */
/* Stacked title on green bands, a "why recipes" note, past plates on
   pepper shapes, then the recipe of the month with a dotted ingredients
   pill and the plate beside the steps. */
.rc {
  overflow-x: clip;             /* the green bands bleed off both edges */
  padding-top: var(--header-h);
  --rc-max: 1240px;
  --rc-edge: max(var(--gutter), calc((100% - var(--rc-max)) / 2 + var(--gutter)));
  --photo-w: clamp(380px, 44vw, 620px);   /* the hero video (was 220–320px, then 320–480px); the note sits to its right */
  --photo-h: calc(var(--photo-w) * .75);  /* the video's own 4:3 shape */
}

/* Big uppercase serif title */
.rc-missed__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

/* Hero: deep green top, light green from the top of the photo down (it
   runs on into the note below). The first "Harvest Recipe" is solid, the
   four under it are outlines; the photo overlaps the last two lines and
   the quote cuts into lines 2-3 */
.rc-hero {
  --fs: clamp(52px, 9.6vw, 144px);
  --lh: calc(var(--fs) * .95);          /* the title's line height */
  --pad: clamp(40px, 4.8vw, 70.4px);
  --split: calc(var(--pad) + var(--lh) * 1.7);   /* a little below the title */
  --lift: calc(var(--lh) * .5);         /* how far the photo rises above the colour split */
  position: relative;
  isolation: isolate;   /* keeps the green silhouettes (.fb-scatter) behind the title */
  overflow-x: clip;
  /* ends exactly where the photo does: the photo starts at the split
     minus the lift, the title above it is one line tall */
  padding: var(--pad) var(--rc-edge) calc(var(--photo-h) + var(--lh) * .7 - var(--lift));
  background: linear-gradient(var(--cream) var(--split), var(--leaf) 0);
}
.rc-hero__words { text-align: center; }
.rc-hero__line {
  margin: 0;
  font-family: "Anton", var(--font-sans);   /* same rounded lettering as "Behind the Harvest" */
  font-weight: 400;
  font-size: var(--fs);
  line-height: .95;
  white-space: nowrap;
  text-transform: uppercase;
}
.rc-hero__line--solid { filter: url(#roundLetters); color: var(--deep-green); }   /* rounded, filled in, same green as "Choose your" */
.rc-hero__accent { color: var(--harvest-green); }   /* "Recipe" in olive green */
@media (max-width: 860px) {   /* smaller letters, lighter rounding */
  .rc-hero__line--solid { filter: url(#roundLettersSm); }
}
.rc-hero__photo {
  position: absolute;
  z-index: 2;
  top: calc(var(--split) - var(--lift));
  left: max(var(--gutter), calc((100% - var(--rc-max)) / 2 + var(--gutter) * 2));
  width: var(--photo-w);
  margin: 0;
}
.rc-hero__photo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;                  /* the video's own shape: nothing cropped, no green bands (was square) */
  object-fit: cover;
  border-radius: clamp(14px, 1.28vw, 19.2px);
}
.rc-hero__quote {
  position: absolute;
  z-index: 2;
  top: calc(var(--pad) + var(--lh) * 1.25);
  right: var(--rc-edge);
  width: min(20em, 28vw);
  margin: 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--cream);        /* hides the letters behind it */
  color: var(--deep-green);
}
.rc-hero__quote p { margin: 0; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5; }
.rc-hero__quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  color: var(--harvest-green);
}
.rc-hero__quote cite::before { content: "– "; }

/* Why recipes */
.rc-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* the note runs edge to edge in two lines */
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 5.6vw, 96px);
  padding: clamp(40px, 4vw, 57.6px) var(--gutter);
  background: var(--leaf);              /* light green band, edge to edge */
}
.rc-why__text p {
  margin: 0 0 1em;
  font-size: clamp(15px, calc((100vw - var(--gutter) * 2) / 87), 22px);   /* scales so it fits two lines */
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;   /* fully justified, last line starts at the left edge */
  hyphens: auto;
}
.rc-why__text p:last-child { margin-bottom: 0; }
.rc-why__text .rc-why__punch { font-weight: 700; font-size: clamp(19px, 1.52vw, 22.4px); line-height: 1.35; }   /* the closing line, bold and bigger */
/* Tablets and up: the note sits to the right of the hero video, from its
   top edge; a see-through top lets the video show */
@media (min-width: 761px) {
  .rc-why {
    --rise: var(--photo-h);   /* the whole height of the video (was the bottom 45%) */
    position: relative;   /* paints over the hero's green, not under it */
    margin-top: calc(var(--rise) * -1);
    padding-top: 0;
    background: linear-gradient(transparent var(--rise), var(--leaf) 0);
  }
  .rc-why__text::before {   /* keeps the text clear of the photo */
    content: "";
    float: left;
    width: calc(max(0px, (100vw - var(--rc-max)) / 2 + var(--gutter)) + var(--photo-w) + 40px);
    height: calc(var(--rise) + 24px);
  }
  .rc-why__text .rc-why__punch { clear: left; }   /* the closing line always sits below the photo, full width */
}

/* Beige veg line: dark green strip right under the note, its veg slide
   left as the page scrolls (main.js) */
.veg-line {
  overflow: hidden;
  margin-bottom: clamp(56px, 6.4vw, 88px);
  background: var(--deep-green);
}
.veg-line__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.veg-line__set {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.92vw, 25.6px);
  padding: 5px 0 5px clamp(18px, 1.92vw, 25.6px);   /* left pad = gap, so the loop seam is even */
}
.veg-line__set img {
  height: clamp(28px, 2.24vw, 30.4px);
  width: auto;
}

/* Recipes you missed ("On the menu" layout): pills and a search box on one
   line, an even 4-across grid of rounded tiles with big condensed names
   underneath, then round numbered page dots */
.rc-missed {
  position: relative;
  isolation: isolate;   /* keeps the green silhouettes (.fb-scatter) behind the tiles */
  overflow-x: clip;
  padding: 0 var(--rc-edge) clamp(56px, 6.4vw, 96px);
}
.rc-missed__head { text-align: center; }
.rc-missed__title {
  font-family: "Anton", var(--font-sans);   /* same rounded lettering as "Behind the Harvest" */
  font-weight: 400;
  font-size: clamp(48px, 6.72vw, 99.2px);
  letter-spacing: 0;
  filter: url(#roundLetters);
}
@media (max-width: 860px) {
  .rc-missed__title { filter: url(#roundLettersSm); }   /* smaller letters, lighter rounding */
}

.rc-missed__tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px clamp(12px, 1.92vw, 25.6px);
  margin: clamp(28px, 2.88vw, 38.4px) 0 clamp(32px, 3.52vw, 51.2px);
}
.rc-missed__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill {
  padding: 10px 20px;
  border: 1.5px solid var(--deep-green);
  border-radius: 999px;
  background: none;
  color: var(--deep-green);
  font: inherit;
  font-size: clamp(14px, 1.2vw, 17px);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.pill:hover { background: var(--cream-light); }
.pill[aria-pressed="true"] { background: var(--deep-green); color: var(--cream-light); }
.rc-missed__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 300px);
  padding: 10px 20px;
  border: 1.5px solid var(--deep-green);
  border-radius: 999px;
  background: var(--leaf);
}
.rc-missed__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--deep-green);
  font: inherit;
  font-size: clamp(14px, 1.2vw, 17px);
  outline: none;
}
.rc-missed__search input::placeholder { color: var(--harvest-green); }
.rc-missed__search:focus-within { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.rc-missed__plates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 2.4vw, 35.2px) clamp(16px, 2.8vw, 51.2px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.plate[hidden] { display: none; }
.plate__tile {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: clamp(12px, 1.12vw, 16px);
}
.plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
/* Coloured tiles: a plate (or a veg cut-out) in the middle of a brand-coloured square */
.plate--terracotta .plate__tile { background: var(--terracotta); }
.plate--green .plate__tile { background: var(--harvest-green); }
.plate--leaf .plate__tile { background: var(--leaf); }
.plate:not(.plate--photo) img {
  width: 62%;
  height: auto;
  aspect-ratio: 1;
  clip-path: circle(48.5%);       /* trims the pink backdrop off the photo */
  filter: var(--grade,) drop-shadow(10px 12px 10px rgba(39, 80, 10, .3));
}
.plate.plate--cutout img { clip-path: none; object-fit: contain; }
.plate:hover img { transform: scale(1.05); }
.plate__name {
  margin-top: clamp(14px, 1.28vw, 19.2px);
  font-family: "Anton", var(--font-sans);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.12;
  text-transform: uppercase;
}
.plate__box { margin-top: 4px; font-size: 13px; color: var(--harvest-green); }
.rc-missed__empty { margin: 0; text-align: center; font-family: var(--font-serif); font-style: italic; }

.rc-missed__pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.12vw, 16px);
  margin-top: clamp(32px, 3.2vw, 44.8px);
}
.rc-missed__pager button {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--deep-green);
  border-radius: 50%;
  background: var(--leaf);
  color: var(--deep-green);
  font: inherit;
  font-size: 17px;
  cursor: pointer;
}
.rc-missed__pager button[aria-current="page"] { background: var(--deep-green); color: var(--cream-light); }

/* Recipe of the month: two rows split by a rule. Top: name + intro on the
   left, ingredients in a loose grid on the right. Bottom: the plate on the
   left, the steps in two columns on the right */
.rc-month { padding: 0 var(--rc-edge) clamp(56px, 6.4vw, 80px); }
.rc-month__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 57.6px);
  padding: clamp(32px, 3.2vw, 44.8px) 0;
}
.rc-month__row + .rc-month__row { border-top: 1px solid var(--deep-green); }
.rc-month__title {
  margin: 0 0 10px;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: clamp(22px, 1.76vw, 24px);
  color: var(--harvest-green);
}
.rc-month__name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 4.32vw, 60.8px);
  line-height: 1;
  letter-spacing: -.01em;
}
.rc-month__desc { max-width: 26em; margin: 24px 0 20px; font-size: 15px; line-height: 1.55; }

.rc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.rc__meta li { padding: 6px 12px; border: 1px solid var(--deep-green); border-radius: 999px; }

.rc__label {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.6vw, 20.8px);
  font-weight: 700;
}

/* Ingredients: small cut-outs with a caption under each */
.ings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 20px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}
.ing img {
  width: 72px;
  height: 64px;
  object-fit: contain;
  filter: var(--grade,) drop-shadow(0 6px 6px rgba(39, 80, 10, .18));
  transition: transform .25s;
}
.ing:hover img { transform: translateY(-4px) rotate(-4deg); }
.ing img.ing__photo { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.ing--pantry { grid-column: 1 / -1; gap: 4px; padding-top: 14px; border-top: 1px dashed var(--harvest-green); }
.ing__head { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Plate beside the steps */
.rc-month__row--method { align-items: center; }
.rc-method__plate { margin: 0; }
.rc-method__plate img { display: block; width: 100%; height: auto; clip-path: circle(48.5%); }

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);   /* 1-3 down the left, 4-6 down the right */
  gap: 20px clamp(20px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.5;
  counter-increment: step;
}
.steps li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--terracotta);
}
.rc__tip { margin: 24px 0 0; font-size: 14px; }

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
  border-top: 1px solid var(--deep-green);
}
.site-foot__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-foot__links a {
  font-size: 15px;                         /* same as the top menu */
  border-bottom: 1px solid transparent;   /* only the current page is underlined */
  transition: color .2s, border-color .2s;
}
.site-foot__links a:hover { color: var(--terracotta); }
.site-foot__links a[aria-current="page"] { border-color: currentColor; }
.site-foot__form { display: flex; }
.site-foot__form input {
  width: 240px;
  padding: 12px 14px;
  border: 1px solid var(--deep-green);
  border-right: 0;
  background: var(--cream-light);
  font: inherit;
  font-size: 14px;
  color: var(--deep-green);
}
.site-foot__form button {
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  padding: 0 18px;
  border: 0;
  background: var(--deep-green);
  color: var(--cream-light);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.site-foot__form button:hover { background: var(--harvest-green); }
.site-foot__form .news__thanks { margin: 0; font-family: var(--font-serif); font-style: italic; }

@media (max-width: 800px) {
  .rc-month__row { grid-template-columns: 1fr; }
  .rc-method__plate { width: min(100%, 340px); justify-self: center; }
}
/* Phones: the title, then the photo and quote underneath it */
@media (max-width: 760px) {
  .rc-hero { padding-bottom: 32px; }
  .rc-hero__photo,
  .rc-hero__quote { position: relative; top: auto; left: auto; right: auto; }
  .rc-hero__photo { width: 100%; margin: 24px auto 0; }
  .rc-hero__quote { width: auto; margin: 28px 0 0; padding: 0; background: none; color: var(--deep-green); }
  .rc-hero__quote cite { color: var(--harvest-green); }
}
/* Tablets: three across; phones: two across */
@media (max-width: 1000px) {
  .rc-missed__plates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rc-missed__plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-missed__search { width: 100%; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .site-foot__form { width: 100%; }
  .site-foot__form input { flex: 1; width: auto; min-width: 0; }
}

/* ---------- Harvest First Box page ("On the menu" layout) ---------- */
/* A script line over a huge condensed title, size pills, then the three
   boxes as rounded colour tiles with the details underneath */
.fb {
  padding: calc(var(--header-h) + clamp(40px, 4.8vw, 64px)) var(--gutter) clamp(64px, 7.2vw, 96px);
  --fb-max: 1080px;
}
.fb { position: relative; isolation: isolate; overflow-x: clip; }

/* Fruit & veg silhouettes in pale green behind everything (First Box page and
   Recipes you missed): each picture
   sits off to the side and only its pale green shadow shows in the box,
   so any cut-out turns into a flat shape (works opened straight from disk too) */
.fb-scatter {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.fb-scatter span {
  position: absolute;
  overflow: hidden;
  width: max(calc(var(--s) * .55px), calc(var(--s) * 1vw / 14));   /* full size on a laptop, smaller on phones */
  aspect-ratio: 1;
  opacity: .6;
  transform: translate(-50%, -50%) rotate(var(--r));
}
.fb-scatter img {
  position: absolute;
  top: 0;
  left: -3000px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--grade,) drop-shadow(3000px 0 0 var(--leaf));
}

.fb-head { text-align: center; }
/* Green "Choose your" over orange "Box", stacked like "Behind the Harvest" */
.fb-head__title {
  margin: 0;
  font-family: "Anton", var(--font-sans);
  font-weight: 400;
  font-size: clamp(56px, 8.8vw, 144px);
  line-height: .95;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--deep-green);
}
.fb-head__title span { display: block; filter: url(#roundLetters); }   /* softens Anton's corners, as on Harvest Mind */
.fb-head__title .fb-head__box { color: var(--terracotta); }
@media (max-width: 860px) {
  .fb-head__title span { filter: url(#roundLettersSm); }   /* smaller letters, lighter rounding */
}
/* "See next week's box first" note under the boxes */
.fb-perks { max-width: 34em; margin: clamp(40px, 4vw, 51.2px) auto 0; text-align: left; }
.fb-head__text { max-width: 34em; margin: clamp(20px, 1.92vw, 25.6px) auto 0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; }

.fb-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.2vw, 44.8px) clamp(16px, 3.2vw, 51.2px);
  max-width: var(--fb-max);
  margin: clamp(8px, 1.2vw, 19.2px) auto 0;   /* the crate pictures carry their own space on top */
  padding: 0;
  list-style: none;
}
.fb-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Same crate pictures as the home page's "Choose your box" */
.fb-box__art {
  aspect-ratio: 4 / 3;
  transition: transform .3s;
}
.fb-box:hover .fb-box__art { transform: translateY(-4px) rotate(-1.5deg); }
.fb-box__name {
  margin: clamp(16px, 1.44vw, 20.8px) 0 0;
  font-family: "Anton", var(--font-sans);
  font-weight: 400;
  font-size: clamp(24px, 2.08vw, 30.4px);
  line-height: 1.1;
  text-transform: uppercase;
}
.fb-box__people { margin: 6px 0 0; font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(20px, 1.44vw, 20.8px); color: var(--harvest-green); }
.fb-box__items { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
.fb-box__price { margin: 14px 0 18px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(24px, 1.76vw, 25.6px); }
.fb-box__price span { font-family: var(--font-sans); font-weight: 400; font-size: 15px; }

@media (max-width: 760px) {
  .fb-boxes { grid-template-columns: minmax(0, 360px); justify-content: center; }
  .fb-head__title { white-space: normal; }
}

/* =========================================================
   LOG IN (login.html)
   Cream background with the form card in the middle
   ========================================================= */
.login {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 16px 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;   /* keeps the green silhouettes (.fb-scatter) behind */
  background: var(--cream);
}

/* The card */
.login__card {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  padding: 40px 36px 32px;
  border-radius: 14px;
  background: var(--deep-green);
  color: var(--cream-light);
  box-shadow: 0 24px 48px rgba(20, 45, 4, .45);
  text-align: center;
}
.login__kicker {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F0A64A;
}
.login__title {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
}

.login__form { display: grid; gap: 18px; text-align: left; }

.login__field { position: relative; display: block; }
.login__field input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--harvest-green);
  color: var(--cream-light);
  font: 500 15px var(--font-sans);
  transition: border-color .2s, background-color .2s;
}
.login__field input::placeholder { color: rgba(253, 247, 236, .85); }
.login__field input:focus { outline: none; border-color: var(--leaf); background: #447d14; }
.login__field svg {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: currentColor;
  color: var(--cream-light);
  pointer-events: none;
}

.join__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.login__forgot { padding: 0; border: 0; background: none; color: inherit; font-family: inherit; cursor: pointer; font-size: 14px; justify-self: start; margin-top: 2px; }
.login__forgot:hover { text-decoration: underline; }

.login__submit {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cream-light);
  color: var(--deep-green);
  font: 600 16px var(--font-sans);
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.login__submit:hover { background: var(--leaf); transform: translateY(-1px); }

.login__status { margin: 0; font-size: 14px; text-align: center; color: var(--leaf); }
.login__status.is-error { color: #F7C08A; }

.login__join { margin: 22px 0 0; font-size: 14px; }
.login__join a { font-weight: 600; text-decoration: underline; color: #F0A64A; }

@media (max-width: 760px) {
  .login { padding-bottom: 200px; }
  .join__row { grid-template-columns: 1fr; gap: 18px; }
}

/* =========================================================
   LOADING SCREEN: beige page, green veg that turn into the leaf logo (js/loader.js)
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .5s ease, visibility .5s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader[hidden] { display: none; }
.loader__art { width: min(70vw, 360px); height: auto; fill: var(--deep-green); overflow: visible; }
.loader__line {
  fill: none;
  stroke: var(--deep-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;   /* drawn in by js/loader.js */
}
.loader__target { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .loader__veg { visibility: hidden; }
  .loader__target { visibility: visible; }   /* just the logo, no morphing */
  .loader__line { stroke-dashoffset: 0; }
}

/* =========================================================
   PAGE TRANSITION: the green leaf logo on beige; it closes when leaving a page
   and opens (the page showing inside its ring) on the next one (js/page-transition.js)
   ========================================================= */
.tomato-nav {
  position: fixed;
  inset: 0;
  z-index: 999;          /* above everything except the first-visit loading screen */
  display: none;
  pointer-events: none;
}
.tomato-nav.is-on { display: block; pointer-events: auto; }
.tomato-nav__svg { display: block; width: 100%; height: 100%; }
.tomato-nav__sheet { fill: var(--cream); }
.tomato-nav__skin { fill: var(--deep-green); }
.tomato-nav__stem { fill: none; stroke: var(--deep-green); stroke-width: 4.5; stroke-linecap: round; }
.tomato-nav__ring { fill: none; stroke: var(--deep-green); stroke-width: 6; }

/* =========================================================
   CHECKOUT (checkout.html)
   Step bar across the top, the step on the left and the
   order summary on the right (one column on phones)
   ========================================================= */
.co {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 32px) var(--gutter) clamp(64px, 6.4vw, 88px);
}

/* Step bar: numbered circles, a tick once a step is done */
.co-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(18px, 2.4vw, 35.2px);
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
}
.co-step { display: flex; align-items: center; gap: 10px; opacity: .7; }
.co-step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--deep-green);
  border-radius: 50%;
  font-size: 15px;
}
.co-step.is-current { opacity: 1; font-weight: 600; }
.co-step.is-current .co-step__num { background: var(--deep-green); color: var(--cream-light); }
.co-step.is-done { opacity: 1; cursor: pointer; }
.co-step.is-done .co-step__num { border-color: var(--terracotta); background: var(--terracotta); color: transparent; position: relative; }
.co-step.is-done .co-step__num::after {   /* the tick */
  content: "";
  position: absolute;
  width: 8px;
  height: 14px;
  border: solid var(--cream-light);
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-2px) rotate(45deg);
}

.co-hello { margin: 0 0 28px; text-align: center; font-size: 14px; }

.co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(20px, 2.4vw, 25.6px);
  align-items: start;
}
.co-main,
.co-side {
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: 16px;
  background: var(--cream-light);
  box-shadow: 0 10px 30px rgba(39, 80, 10, .08);
}
.co-side { position: sticky; top: calc(var(--header-h) + 20px); }

.co-title {
  margin: 0;
  font-family: "Anton", var(--font-sans);
  font-weight: 400;
  font-size: clamp(36px, 3.68vw, 51.2px);
  line-height: 1;
  text-transform: uppercase;
}
.co-lead { max-width: 38em; margin: 12px 0 28px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; }

/* Step 2a: the three sizes as selectable cards */
.co-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.co-size {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 14px 20px;
  border: 2px solid rgba(39, 80, 10, .18);
  border-radius: 14px;
  background: var(--cream);
  color: var(--deep-green);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.co-size:hover { transform: translateY(-2px); }
.co-size[aria-checked="true"] { border-color: var(--deep-green); background: var(--leaf); }
.co-size__img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.co-size__name { font-family: "Anton", var(--font-sans); font-size: 26px; text-transform: uppercase; }
.co-size__people { font-family: "Caveat", cursive; font-weight: 600; font-size: 21px; color: var(--harvest-green); }
.co-size__items { font-size: 14px; line-height: 1.4; }
.co-size__price { margin-top: 6px; font-family: var(--font-serif); font-weight: 700; font-size: 22px; }
.co-size__price small { font-family: var(--font-sans); font-weight: 400; font-size: 13px; }

/* Step 2b: "You selected the ... box" notice */
.co-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--leaf);
}
.co-notice__tick { flex: none; width: 34px; height: 34px; fill: var(--deep-green); color: var(--cream-light); }
.co-notice__title { margin: 0; font-size: 17px; }
.co-notice__meta { margin: 2px 0 0; font-size: 14px; }
.co-notice__change {
  margin-left: auto;
  flex: none;
  padding: 8px 14px;
  border: 1.5px solid var(--deep-green);
  border-radius: 999px;
  background: none;
  color: var(--deep-green);
  font: 600 14px var(--font-sans);
  cursor: pointer;
}
.co-notice__change:hover { background: var(--cream-light); }

.co-sub { margin: 28px 0 12px; font-family: var(--font-serif); font-size: 22px; }
.co-count { font-family: var(--font-sans); font-weight: 400; font-size: 16px; opacity: .7; }

.co-sub + .co-list { margin-top: 0; }
/* What's in the box: a plain list (like a product page), Vegetables then Fruit */
.co-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
  font: 500 clamp(15px, 1.1vw, 16px)/1.45 "IBM Plex Mono", monospace;
  letter-spacing: .04em;
}
.co-list li::marker { color: var(--deep-green); }
.co-note,
.co-extras,
.co-swap-link { max-width: 38em; margin: 22px 0 0; font-size: 14px; line-height: 1.55; }
.co-extras { margin-top: 8px; opacity: .8; }
.co-swap-link { margin-top: 10px; }
.co-swap-link a { color: var(--deep-green); font-weight: 700; text-underline-offset: 3px; }

/* Step 3: delivery form */
.co-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.co-field span { font-weight: 400; opacity: .7; }
.co-field--wide { grid-column: 1 / -1; }
.co-field input,
.co-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(39, 80, 10, .3);
  border-radius: 10px;
  background: #fff;
  color: var(--deep-green);
  font: 400 15px var(--font-sans);
}
.co-field input:focus,
.co-field textarea:focus { outline: none; border-color: var(--harvest-green); box-shadow: 0 0 0 3px rgba(59, 109, 17, .18); }
.co-days { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.co-days legend { margin-bottom: 6px; padding: 0; }
.co-days label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid rgba(39, 80, 10, .3);
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
}
.co-days label:has(input:checked) { border-color: var(--deep-green); background: var(--leaf); }
.co-days input { accent-color: var(--deep-green); }
.co-error { grid-column: 1 / -1; margin: 0; color: #B3261E; font-size: 14px; font-weight: 600; }

/* Step 4: review */
.co-review { display: grid; gap: 0; margin: 0; }
.co-review div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(39, 80, 10, .15); }
.co-review dt { font-weight: 600; }
.co-review dd { margin: 0; line-height: 1.5; }

.co-done .btn { margin-top: 4px; }

/* Order summary */
.co-side__title { margin: 0 0 12px; font-family: var(--font-serif); font-size: 24px; }
.co-side__img { display: block; width: 70%; margin: 0 auto; aspect-ratio: 4 / 3; object-fit: contain; }
.co-side__name { margin: 8px 0 2px; font-family: "Anton", var(--font-sans); font-size: 24px; text-transform: uppercase; }
.co-side__meta { margin: 0; font-size: 14px; line-height: 1.5; }
.co-totals { display: grid; gap: 8px; margin: 20px 0 6px; padding-top: 16px; border-top: 1px solid rgba(39, 80, 10, .15); }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; }
.co-totals dt,
.co-totals dd { margin: 0; }
.co-totals__due { padding-top: 8px; border-top: 1px solid rgba(39, 80, 10, .15); font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.co-side__then { margin: 0 0 18px; font-size: 13px; opacity: .8; }
.co-next { width: 100%; padding: 16px; font-size: 16px; font-weight: 600; cursor: pointer; }
.co-back { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 1.5px solid var(--deep-green); border-radius: 8px; background: none; color: var(--deep-green); font: 600 15px var(--font-sans); cursor: pointer; }
.co-next[hidden],
.co-back[hidden] { display: none; }
.co-perks { display: grid; gap: 10px; margin: 22px 0 0; padding: 16px; border-radius: 12px; background: var(--cream); list-style: none; font-size: 14px; line-height: 1.45; }

@media (max-width: 900px) {
  .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; }
}
@media (max-width: 640px) {
  .co { padding-inline: 16px; }
  .co-steps { gap: 10px 14px; font-size: 13px; }
  .co-step:not(.is-current) .co-step__label { display: none; }
  .co-step__num { width: 28px; height: 28px; font-size: 13px; }
  .co-sizes { grid-template-columns: minmax(0, 1fr); }
  .co-size { display: grid; grid-template-columns: 96px 1fr; justify-items: start; text-align: left; column-gap: 14px; }
  .co-size__img { grid-row: span 4; }
  .co-notice { flex-wrap: wrap; }
  .co-notice__change { margin-left: 48px; }
  .co-form { grid-template-columns: minmax(0, 1fr); }
  .co-review div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- My box (after ordering): skip weeks, swap, change size, cancel ---------- */
.co.is-managing .co-steps { display: none; }
.co-totals [hidden] { display: none; }
.co-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.co-done__actions .btn--primary { cursor: pointer; }

.co-status {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--leaf);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.co-status.is-cancelled { background: rgba(186, 117, 23, .18); color: var(--terracotta-dark); }
.co-hint { margin: -4px 0 14px; font-size: 14px; line-height: 1.5; opacity: .85; }
.co-sub-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 36px; }
.co-sub-row .co-sub { margin: 0; }
.co-sub-row + .co-hint { margin-top: 10px; }
.co-sub--sm { margin: 20px 0 10px; font-size: 18px; }

.co-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.co-week {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1.5px solid var(--deep-green);
  border-radius: 12px;
  background: var(--cream);
}
.co-week__date { font-family: var(--font-serif); font-weight: 700; font-size: 18px; }
.co-week__state { font-size: 13px; }
.co-week__skip {
  justify-self: start;
  margin-top: 6px;
  padding: 6px 16px;
  border: 1.5px solid var(--deep-green);
  border-radius: 999px;
  background: none;
  color: var(--deep-green);
  font: 600 14px var(--font-sans);
  cursor: pointer;
}
.co-week__skip:hover { background: var(--leaf); }
.co-week.is-skipped { border-style: dashed; border-color: rgba(39, 80, 10, .4); background: none; }
.co-week.is-skipped .co-week__date { text-decoration: line-through; opacity: .6; }
.co-week.is-skipped .co-week__skip { border-color: var(--terracotta); background: var(--terracotta); color: var(--cream-light); }
.co-week.is-locked:not(.is-skipped) { background: #FBE68A; }   /* being packed: past its change deadline */

/* Payment step: Apple Pay / Google Pay / card (Stripe) or Direct Debit (GoCardless) */
.co-pay { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; border: 0; }
.co-pay legend { margin-bottom: 10px; padding: 0; }
.co-pay__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid rgba(39, 80, 10, .3);
  border-radius: 12px;
  cursor: pointer;
}
.co-pay__option:has(input:checked) { border-color: var(--deep-green); background: var(--leaf); }
.co-pay__option input { accent-color: var(--deep-green); width: 18px; height: 18px; margin: 0; }
.co-pay__text { display: grid; gap: 2px; }
.co-pay__text span { font-size: 13px; line-height: 1.45; }
.co-pay__marks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.co-pay__marks span {
  padding: 4px 8px;
  border-radius: 6px;
  background: #1F2414;
  color: #fff;
  font: 600 11px/1 var(--font-sans);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .co-pay__option { grid-template-columns: auto 1fr; }
  .co-pay__marks { grid-column: 2; justify-content: flex-start; }
}

/* My box: order history (renderHistory in main.js) */
.co-history { margin-top: 40px; }
.co-history__list { display: grid; margin: 0; padding: 0; list-style: none; }
.co-history__item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(39, 80, 10, .15);
  font-size: 14px;
}
.co-history__date { font-weight: 600; }
.co-history__what small,
.co-history__price small { display: block; margin-top: 2px; font-size: 12px; opacity: .75; }
.co-history__price { font-weight: 700; text-align: right; }
.co-history__item.is-skipped { opacity: .6; }
.co-history__item.is-event { grid-template-columns: 150px 1fr; font-style: italic; }
@media (max-width: 560px) {
  .co-history__item { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .co-history__date { grid-column: 1 / -1; }
  .co-history__item.is-event { grid-template-columns: 1fr; }
}

/* My box: "Your next box arrives", with the change deadline (renderNextBox in main.js) */
.co-nextbox {
  margin: 8px 0 4px;
  padding: 20px 22px;
  border: 2px solid #27500A;
  border-radius: 14px;
  background: #FBE68A;
  color: #1F4D2B;
  box-shadow: 0 4px 0 #27500A;
}
.co-nextbox__label { margin: 0; font-size: 13px; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; }
.co-nextbox__date {
  margin: 4px 0 0;
  font-family: var(--font-heading)!important;
  font-weight: 400 !important;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: .04em !important;
  text-transform: uppercase;
  color: #27500A;
}
.co-nextbox__deadline { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.co-nextbox.is-locked { background: var(--sage-light, #E4EBCF); }

/* My box: swap request (renderSwap in main.js) */
.co-swap { display: grid; gap: 4px; margin-top: 10px; }
.co-swap .co-sub--sm { margin: 14px 0 6px; }
.co-swap__list { display: grid; margin: 0; padding: 0; list-style: none; }
.co-swap__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1.5px dashed rgba(39, 80, 10, .25);
  font: 500 clamp(15px, 1.1vw, 16px)/1.45 "IBM Plex Mono", monospace;
  letter-spacing: .04em;
}
.co-swap__list li:last-child { border-bottom: 0; }
.co-swap__list input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--olive, #5C6E35); cursor: pointer; }
.co-swap__list label { flex: 1; cursor: pointer; }
.co-swap__list input:checked + label { text-decoration: line-through; opacity: .6; }
.co-swap__list input:disabled + label { cursor: default; opacity: .7; }
.co-swap__notes { display: block; margin-top: 14px; }
.co-swap__notes textarea { display: block; margin-top: 6px; }
.co-swap__send { justify-self: start; margin-top: 14px; cursor: pointer; }
.co-swap__send[hidden] { display: none; }
.co-swap__send:disabled { opacity: .6; cursor: wait; }
.co-swap__status { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--sage-light, #E4EBCF); font-size: 14px; line-height: 1.5; }
.co-swap__status.is-error { background: rgba(185, 83, 58, .14); color: var(--rust-dark, #9E4430); }

.co-cancel { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(39, 80, 10, .15); }
.co-cancel__open { padding: 0; border: 0; background: none; color: #B3261E; font: 600 15px var(--font-sans); text-decoration: underline; cursor: pointer; }
.co-cancel__confirm { display: grid; gap: 14px; max-width: 460px; padding: 18px 20px; border-radius: 12px; background: rgba(186, 117, 23, .12); }
.co-cancel__confirm[hidden] { display: none; }
.co-cancel__confirm p { margin: 0; line-height: 1.5; }
.co-field select { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(39, 80, 10, .3); border-radius: 10px; background: #fff; color: var(--deep-green); font: 400 15px var(--font-sans); }
.co-cancel__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.co-cancel__yes { padding: 14px 22px; border: 0; border-radius: 8px; background: #B3261E; color: #fff; font: 600 15px var(--font-sans); cursor: pointer; }
.co-cancel__yes:hover { background: #8C1D18; }
.co-cancel__no { cursor: pointer; }
@media (max-width: 640px) {
  .co-manage__change { margin-left: 0; }   /* not indented under a tick like the notice one */
}
