/* ============================================================
   PLANT MEAT — "pop" layer (loaded last on every page)
   ------------------------------------------------------------
   The vibrant food-brand system on top of the older page CSS:
   type scale, coloured sections with a line-doodle pattern and
   wavy tops, cream 32px cards, sunshine-yellow pill buttons,
   nav and footer. Section colour comes from a theme class in
   tokens.css (.t-burger, .t-sausage…) on a .pop section.
   ============================================================ */

/* ---- base -------------------------------------------------- */
html { background: var(--forest); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: 500;
  overflow-x: clip;
}
::selection { background: var(--brand); color: var(--cream); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 8px; }

/* ---- type scale (the only sizes) --------------------------- */
h1, .h1, .page-head__title, .pdp__name, .display--hero {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--fg);
  max-width: 16ch;
  font-stretch: normal;
}
h2, .h2, .display, .display--mega, .display--xxl, .display--xl, .display--lg,
.sec-head__title, .cta-huge__title {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--fg);
  max-width: 20ch;
  font-stretch: normal;
}
h1.display { font-size: var(--t-h1); }
h3, .h3 {
  font-family: var(--font-body);
  font-size: var(--t-h3);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-transform: none;
}
.title-fill { width: auto; white-space: normal; }
/* emphasised words in headings: the italic accent serif, mixed case */
h1 .serif, h2 .serif, h3 .serif, .display .serif, .serif { font-family: var(--font-accent); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }

p, .body-text, .lede, .statement {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: 500;
  max-width: var(--measure);
  color: var(--fg);
  text-transform: none;
  letter-spacing: 0;
}
.statement { font-weight: 700; }
.label, .hand, .nav__link, .menu__foot .link, .foot .label {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.3;
  color: var(--fg);
}
.label-tick::before { display: none; }
.muted { opacity: .85; }

/* ---- layout ------------------------------------------------ */
.shell { max-width: var(--maxw); padding-inline: var(--gutter); margin-inline: auto; }

/* ---- coloured section: background, doodles, wavy top -------
   ::after is the doodle layer (mask tinted with the section's
   text colour at 8%), ::before the wave that overlaps the
   section above. Children sit above the doodles. */
.pop {
  position: relative;
  background-color: var(--bg);
  color: var(--fg);
  padding-block: var(--pad);
  isolation: isolate;
}
.pop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;   /* a darker shade of the section colour */
  opacity: .07;
  pointer-events: none;
  -webkit-mask: url("../img/doodles.svg") 0 0 / 300px 300px repeat;
          mask: url("../img/doodles.svg") 0 0 / 300px 300px repeat;
}
.pop + .pop::before,
.pop.wave::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(1px - var(--wave-h));
  height: var(--wave-h);
  background: var(--bg);
  pointer-events: none;
  -webkit-mask: url("../img/wave.svg") 0 100% / 220px 100% repeat-x;
          mask: url("../img/wave.svg") 0 100% / 220px 100% repeat-x;
}
/* old band modifiers no longer change the colour */
.band, .band--sink, .band--warm, .band--tight, .chapter { background-color: var(--bg); }
.band, .band--tight { padding-block: var(--pad); }

/* ---- buttons: chunky sunshine pills ------------------------- */
.btn, .btn--solid, .btn--verde, .btn--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 56px;
  padding: .9rem 1.8rem;
  border: 3px solid var(--brand);
  border-radius: var(--r-pill);
  background: var(--button-bg);
  color: var(--button-fg);
  font: 800 var(--t-body)/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 5px 0 var(--deep);
  transition: transform .2s var(--ease-pop), box-shadow .2s var(--ease-pop), background-color .2s;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--deep); background: var(--button-bg); color: var(--button-fg); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--deep); }
.btn::after, .btn::before { display: none; }
/* secondary button: outline in the section's text colour */
.btn.btn--ghost, .btn.btn--ghost:hover { background: transparent; color: var(--fg); border-color: var(--fg); box-shadow: 0 5px 0 var(--fg); }

.link, .link--light, .tlink {
  color: var(--fg);
  font: 700 var(--t-body)/1.3 var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  background: none;
  padding: 0;
}
.link::after, .tlink::after { display: none; }
.link:hover, .tlink:hover { text-decoration-color: var(--brand-bright); color: var(--fg); }


.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }

/* ---- cards: cream, 32px, chunky outline --------------------- */
.card, .prod, .pcard, .reason, .channel, .acc, .who__item, .step, .stat, .idx-row,
.segment, .spot, .story, .frame, .pdp__specs, .faq, form.enquiry {
  --fg: var(--deep);
  color: var(--deep);
}
.card, .prod, .pcard, .channel, .acc, .step, .stat {
  background: var(--cream);
  border: 3px solid var(--deep);
  border-radius: var(--r-card);
  box-shadow: 0 6px 0 var(--deep);
  overflow: hidden;
}
.prod, .pcard { transition: transform .3s var(--ease-pop), box-shadow .3s var(--ease-pop); }
.prod:hover, .pcard:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 10px 0 var(--deep); }
.prod__plate, .pcard__plate { background: var(--cat); border-radius: 0; }
.frame { border-radius: var(--r-card); overflow: hidden; }
.frame img, .frame svg { border-radius: 0; }

/* forms sit on cream */
.field input, .field textarea, .field select, .inline-form input {
  background: var(--cream);
  color: var(--deep);
  border: 3px solid var(--deep);
  border-radius: 20px;
  font: 500 var(--t-body)/1.4 var(--font-body);
  padding: .85rem 1.1rem;
}
.field label { color: var(--fg); font: 700 var(--t-label)/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .08em; }
.filter, .pill {
  border: 3px solid var(--deep);
  border-radius: var(--r-pill);
  background: var(--cream);
  color: var(--deep);
  font: 700 var(--t-label)/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .8rem 1.2rem;
}
/* filter chips: each chip carries its category colour (c-* class).
   Unpressed: cream with a colour dot. Pressed: filled with it. */
.filter { --cat: var(--forest); }
.filter::before {
  content: "";
  display: inline-block;
  width: .7em; height: .7em;
  margin-right: .5em;
  border-radius: 50%;
  background: var(--cat);
  vertical-align: -.05em;
}
.filter[aria-pressed="true"] { background: var(--cat); color: var(--cream); border-color: var(--forest); }
.filter[aria-pressed="true"]::before { background: currentColor; }
.filter[aria-pressed="true"] .filter__n { color: inherit; }
.pill--fill { background: var(--brand); color: var(--cream); }

/* ---- nav: a floating cream pill (the logo is green on white) - */
.nav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-top: 12px;
}
.nav__inner {
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin-inline: auto;
  width: calc(100% - 2 * var(--gutter));
  background: var(--cream);
  border: 3px solid var(--brand);
  border-radius: var(--r-pill);
  padding: .45rem .6rem .45rem 1.1rem;
  min-height: 0;
  height: auto;
}
.nav .mark { display: inline-flex; align-items: center; line-height: 0; flex: none; }
.mark__logo { display: block; height: 40px; width: auto; max-width: none; }
.nav .mark picture { flex: none; }
@media (max-width: 600px) { .mark__logo { height: 32px; } }
.nav__link { color: var(--brand); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand-darkest); }
.nav__link::after { background: var(--brand-bright); height: 3px; }
.nav__end .link {
  background: var(--brand);
  border: 3px solid var(--brand);
  border-radius: var(--r-pill);
  padding: .65rem 1.1rem;
  text-decoration: none;
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cream);
}
.nav__end .link:hover { background: var(--brand-darkest); color: var(--cream); }
.nav__burger { border-color: var(--brand); }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { background: var(--brand); }
.menu { background: var(--cream); color: var(--brand); }
.menu__link { font-family: var(--font-display); font-size: var(--t-h2); text-transform: uppercase; color: var(--brand); font-stretch: normal; }
.menu__link:hover { color: var(--brand-darkest); text-decoration: underline; text-decoration-color: var(--brand-bright); text-decoration-thickness: 4px; }

/* ---- footer: dark brand green; logo on a cream panel -------- */
.foot {
  --bg: var(--brand-dark);
  --fg: var(--cream);
  position: relative;
  background: var(--brand-dark);
  color: var(--cream);
  padding-block: var(--pad) 2rem;
  isolation: isolate;
}
.foot::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(1px - var(--wave-h));
  height: var(--wave-h);
  background: var(--brand-dark);
  -webkit-mask: url("../img/wave.svg") 0 100% / 220px 100% repeat-x;
          mask: url("../img/wave.svg") 0 100% / 220px 100% repeat-x;
}
.foot::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: #000; opacity: .14; pointer-events: none;
  -webkit-mask: url("../img/doodles.svg") 0 0 / 300px 300px repeat;
          mask: url("../img/doodles.svg") 0 0 / 300px 300px repeat;
}
.foot .label, .foot a, .foot__col a, .foot__bar, .foot__bar a, .foot__addr { color: var(--cream); font-size: var(--t-body); }
.foot__col a:hover, .foot__bar a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--brand-bright); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.foot__bar { border-color: rgba(var(--cream-rgb), .3); }
.foot__bar, .foot__bar span, .foot__bar a, .foot .label { font-size: var(--t-label); }
.foot__word {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: var(--r-card);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  line-height: 0;
  margin-block: clamp(2rem, 5vw, 3rem);
}
.foot__logo { display: block; height: clamp(48px, 7vw, 84px); width: auto; }

/* ---- inner pages ---------------------------------------------
   Page heads get a product cut-out at least 50vh tall beside the
   title. Sections marked .trim show their first line of body copy
   only; the rest stays in the HTML for the client to choose from. */
.page-head {
  padding-top: calc(var(--nav-h) + var(--pad));
  min-height: 0;
}
.page-head .shell { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 46%); align-items: center; gap: var(--gutter); }
.page-head__grid { display: block; }
.page-head__aside { margin-top: 1.25rem; }
.page-head__dish {
  width: 100%;
  height: clamp(50vh, 56vh, 640px);
  object-fit: contain;
  transform: rotate(-6deg);
}
@media (max-width: 800px) {
  .page-head .shell { grid-template-columns: 1fr; }
  .page-head__dish { height: 50vh; order: -1; }
}
.trim :is(.body-text, .lede) ~ :is(.body-text, .lede) { display: none; }
.trim .page-head__aside .body-text ~ * { display: none; }

/* ---- product pages: the cut-out sits straight on the colour ---- */
.pdp { padding-top: calc(var(--nav-h) + 2rem); }
.pdp__plate {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: auto;
  height: max(56vh, 50svh);
  overflow: visible;
}
/* product page: the pack, big, on its own colour */
/* the float layer is absolutely placed in the plate: a definite size
   for the pack to fit (a % height in an auto grid row grew to the
   pack's natural height), and a positioned layer, so the pack paints
   above the section in the stacked layout (it painted underneath) */
.pdp__plate { position: relative; z-index: 1; }
.pdp__plate .pack-float { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; }
.pdp__plate img.pdp__pack { height: 100%; width: auto; max-width: 100%; object-fit: contain; transform: rotate(-4deg); }
.pdp__media figcaption { display: none; }
.pdp__tagline { font: italic 400 calc(var(--t-h3) * 1.2)/1.2 var(--font-accent); color: var(--fg); }
.pdp__long, .pdp__cook-line { font: 500 var(--t-body)/var(--lh-body) var(--font-body); letter-spacing: 0; color: inherit; }
.pdp__spec { border-color: currentColor; }
.pdp__spec > div { font: 500 var(--t-body)/1.4 var(--font-body); border-color: rgba(var(--deep-rgb), .2); }
.pdp__spec dt { color: var(--fg); font-weight: 800; }
.pdp__spec dd { color: var(--fg); }
.pdp__cook { background: var(--cream); color: var(--deep); border: 3px solid var(--deep); box-shadow: 0 6px 0 var(--deep); }
.crumbs, .crumbs a, .crumbs span, .crumbs [aria-current] { color: var(--fg) !important; font-size: var(--t-label); }

/* reduced motion: nothing moves on its own */
@media (prefers-reduced-motion: reduce) {
  .btn, .prod, .pcard { transition: none; }
}

/* catalogue tiles: the cut-out on its category colour */
/* tiles: a portrait plate on the pack colour, holding the pack */
.prod__plate, .pcard__plate { position: relative; z-index: 1; aspect-ratio: 4 / 4.6; padding: 0; }
.prod__plate .pack-float, .pcard__plate .pack-float { position: absolute; inset: 9% 0 7%; display: flex; justify-content: center; align-items: center; }
.prod__plate img.prod__pack, .pcard__plate img.prod__pack { height: 100%; width: auto; max-width: 82%; object-fit: contain; }
.prod__tag { background: var(--cream); color: var(--forest); border-radius: var(--r-pill); font: 700 var(--t-label)/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; padding: .4rem .7rem; }
/* tile number on a cream badge: readable on every pack colour */
.prod__idx { color: var(--brand); background: var(--cream); border-radius: var(--r-pill); padding: .35rem .6rem; }

/* ============================================================
   Review fixes: blank space and invisible text
   ============================================================ */

/* catalogue cards: name, one line, method. No stretched body. */
.prod__idx { mix-blend-mode: normal; font: 700 var(--t-label)/1 var(--font-body); }
.prod__body { gap: .4rem; padding: 1.1rem 1.25rem 1.25rem; }
.prod__name { font: 800 var(--t-h3)/1.15 var(--font-body); letter-spacing: -.01em; color: var(--forest); }
.prod__desc {
  font-size: 1rem; line-height: 1.45; color: var(--forest);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod__meta { margin-top: .6rem; padding-top: .75rem; border-color: rgba(var(--deep-rgb), .2); font: 700 var(--t-meta)/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--forest); }
/* every card in a row is the same height; the weight + View row sits at the bottom */
.prod-grid { align-items: stretch; }
.prod-grid > .prod .prod__meta { margin-top: auto; }
.prod-grid > .prod .prod__body > :nth-last-child(2) { margin-bottom: .6rem; }
/* a card with no tagline keeps its line empty, so cards match across rows too */
.prod-grid > .prod .prod__body:not(:has(.prod__desc)) .prod__name { margin-bottom: calc(var(--t-body) * 1.15 * 1.3 + 1rem); }

/* partner: segment cards are cream with forest text in every state;
   the chosen one turns saffron. The question is a section title. */
.seg-pick__q { font: 400 var(--t-h2)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.seg-opt {
  --fg: var(--forest);
  background: var(--cream);
  color: var(--forest);
  border: var(--line);
  min-height: 0;
}
.seg-opt:hover { background: var(--sand); border-color: var(--forest); }
.seg-opt:has(input:checked) { background: var(--sand); border-color: var(--brand); box-shadow: var(--lift); outline: 3px solid var(--brand-bright); outline-offset: 2px; }
.seg-opt__name { font: 800 var(--t-body)/1.25 var(--font-body); letter-spacing: 0; color: var(--forest); }
.seg-opt__line { font-size: 1rem; color: var(--forest); }
.seg-opt__tick { border: 2px solid var(--forest); }
.seg-opt input:checked ~ .seg-opt__tick { border-color: var(--forest); background-color: var(--forest); }
.partner-form .field label, .partner-form legend .label { color: var(--fg); }

/* product page: half image, half copy, no dead column between */
.pdp__top { align-items: center; gap: clamp(1.5rem, 3vw, 3rem); margin-top: 1rem; }
.pdp__media { grid-column: 1 / 7; position: static; }
.pdp__buy   { grid-column: 7 / 13; }
.pdp__plate { height: min(64vh, 620px); }
.pdp__spec { grid-template-columns: 1fr; margin-top: 1.5rem; }
.pdp__spec > div,
.pdp__spec > div:nth-child(odd),
.pdp__spec > div:nth-child(even) {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem;
  padding: .75rem 0; border-right: 0;
}
.pdp__spec dd { text-align: left; }
@media (max-width: 1000px) {
  .pdp__media, .pdp__buy { grid-column: 1 / -1; }
  .pdp__plate { height: 50svh; }
}

/* about: timeline rows read on any section colour */
.time { border-color: currentColor; }
.time__row { border-color: rgba(127, 127, 127, .35); }
.time__row:hover { background: rgba(0, 0, 0, .08); }
.time__when { font: 800 var(--t-label)/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--fg); }
.time__what { font: 700 var(--t-h3)/1.3 var(--font-body); letter-spacing: -.01em; }

/* section heads: label sits right above its title, no grid gutter */
.sec-head { display: block; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.sec-head__idx { display: block; padding: 0; margin-bottom: .5rem; }
.sec-head__title { margin: 0; }

/* nothing may widen the page on phones: a section that pokes past the
   screen edge (a slide-in image before it plays, a hidden tooltip)
   made mobile browsers lay the page out wider and zoom it out */
html { overflow-x: clip; }
.pop, .foot { overflow-x: clip; }
@media (hover: none) { .dock__tip { display: none; } }


/* ============================================================
   Packs everywhere (Phase 2): every product shows as its pack
   ------------------------------------------------------------
   .pack         a pack image (filled from data/products.json)
   .pack-float   wrapper with a gentle idle float; runs only while
                 on screen (motion.js toggles .is-live)
   [data-tilt]   subtle 3D tilt toward the mouse (motion.js)
   Transform and opacity only; nothing moves with reduced motion.
   ============================================================ */
:where(.pack) { display: block; max-width: 100%; height: auto; }
:where(.pack-float) { display: block; }
html.js .pack-float.is-live { animation: pack-float 6.5s ease-in-out var(--float-delay, 0s) infinite; }
@keyframes pack-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50%      { transform: translate3d(0, -10px, 0) rotate(1deg); }
}
[data-tilt] { transition: transform .45s var(--ease-out); will-change: transform; }
/* animations in a section that is off screen are paused (motion.js) */
.is-offscreen *, .is-offscreen { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html.js .pack-float.is-live { animation: none; }
  [data-tilt] { transition: none; }
}

/* pack wrappers are positioned layers everywhere: in stacked layouts a
   static wrapper with a transformed pack painted under the section */
.page-head__float, .what__row .pack-float, .panel__float, .tile__img { position: relative; z-index: 1; }

/* ============================================================
   Phase 4: catalogue, product pages, recipes
   ============================================================ */

/* catalogue: bigger pack tiles, three across on desktop */
.prod-grid[data-grid] { --cols: 3; }
@media (max-width: 1000px) { .prod-grid[data-grid] { --cols: 2; } }
@media (max-width: 600px)  { .prod-grid[data-grid] { --cols: 1; } }
.prod-grid[data-grid] .prod__plate { aspect-ratio: 4 / 4.4; }
.prod__name { font-size: var(--t-card-title); line-height: 1.1; }

/* filter chips: a dot per pack in the category, in its pack colour */
.filter::before { display: none; }
.filter { display: inline-flex; align-items: center; gap: .5em; }
.filter__dots { display: inline-flex; gap: 3px; }
.filter__dot { width: .8em; height: .8em; border-radius: 50%; background: var(--pack); box-shadow: 0 0 0 2px var(--cream); }
.filter[aria-pressed="true"] { background: var(--brand); color: var(--cream); }
.filter[aria-pressed="true"] .filter__n { color: var(--cream); }

/* product page */
.pdp__name { max-width: 14ch; }
.pdp__claims { margin-top: 1.25rem; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.pdp__claims .pill { background: var(--cream); color: var(--brand); border-color: var(--cream); }
.pdp__about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: start; }
.pdp__about h2 { max-width: 18ch; }
.pdp__long { margin-top: 1rem; }
.pdp__recipe { background: var(--brand); color: var(--cream); --fg: var(--cream); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.25rem); }
.pdp__recipe-title { margin-top: .35rem; color: var(--cream); }
.recipe__steps { margin: 1rem 0 0; padding-left: 1.3em; display: grid; gap: .6rem; }
.recipe__steps li { font: 500 var(--t-body)/var(--lh-body) var(--font-body); }
.recipe__steps li::marker { font-weight: 800; }
.pdp__facts2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); margin-top: 1.5rem; align-items: start; }
.pdp__panels { display: grid; gap: 1rem; }
.pdp__panel { background: var(--cream); color: var(--brand); --fg: var(--brand); border-radius: var(--r-card); padding: 1.25rem 1.4rem; }
.pdp__panel p { margin-top: .4rem; max-width: none; }
.pdp__panel--solo { max-width: 40rem; }
.nutri { width: 100%; border-collapse: collapse; }
.nutri caption { text-align: left; padding-bottom: .6rem; }
.nutri th, .nutri td { padding: .55rem 0; border-top: 1px solid rgba(var(--deep-rgb), .18); font: 500 var(--t-body)/1.3 var(--font-body); color: var(--brand); text-align: left; }
.nutri td { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.pdp__smallprint { margin-top: clamp(1.5rem, 4vw, 2.5rem); font: 600 var(--t-label)/1.5 var(--font-body); letter-spacing: .02em; max-width: none; }
@media (max-width: 900px) {
  .pdp__about, .pdp__facts2 { grid-template-columns: 1fr; }
}

/* recipes page: one card per product recipe from the brand doc */
.recipe {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.25rem; align-items: start;
  background: var(--sand); color: var(--brand); --fg: var(--brand);
  border-radius: var(--r-card); padding: 1.25rem; position: relative; z-index: 1;
}
.recipe__pack { background: var(--pack); border-radius: 20px; padding: 10px; }
.recipe__pack img { width: 100%; height: auto; }
.recipe__title { margin-top: .3rem; }
.recipe .link { display: inline-block; margin-top: 1rem; }
.pgrid:has(.recipe) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .pgrid:has(.recipe) { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .recipe { grid-template-columns: 96px minmax(0, 1fr); } }

/* ============================================================
   Type pass: larger fluid sizes, accent serif for taglines
   (tokens in tokens.css :root)
   ============================================================ */
.nav__link { font-size: var(--t-nav); }
.nav__end .link { font-size: var(--t-nav); white-space: nowrap; }
.prod__desc { font: italic 400 calc(var(--t-body) * 1.15)/1.3 var(--font-accent); }
.prod__go { font-size: var(--t-meta); }
.prod__cat { font-size: var(--t-label); }

/* ---- catalogue cards: the pack stands out from its own colour ----
   The image area is a pale tint of the pack colour; the pack sits on a
   darker, saturated disc of that colour with a layered drop shadow, and
   lifts with a slight tilt on hover. Same colour-coding, real contrast. */
.prod__plate {
  background: color-mix(in srgb, var(--pack) 20%, var(--cream));
  overflow: hidden;
}
.prod__plate::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 74%; aspect-ratio: 1;
  transform: translate(-50%, -48%);
  border-radius: 50%;
  background: color-mix(in srgb, var(--pack) 78%, #000);
  z-index: 0;
}
.prod__plate .pack-float { z-index: 1; }
.prod__plate img.prod__pack {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22)) drop-shadow(0 10px 16px rgba(0, 0, 0, .22)) drop-shadow(0 24px 36px rgba(0, 0, 0, .18));
  transition: transform .45s var(--ease-pop);
}
.prod:hover .prod__plate img.prod__pack { transform: rotate(-3deg) scale(1.05); }
.prod__idx, .prod__tag { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .prod__plate img.prod__pack { transition: none; }
  .prod:hover .prod__plate img.prod__pack { transform: none; }
}
/* the larger nav type needs a tighter nav: smaller gaps and tracking at
   every width, a pill up to 1440px wide on big screens, and the logo
   34px tall (true proportions) on laptops */
.nav__links { gap: clamp(1rem, 1.2vw, 1.5rem); }
.nav__inner { column-gap: 1.25rem; max-width: min(1440px, 100% - 2 * var(--gutter)); }
.nav__link { letter-spacing: .05em; }
@media (max-width: 1500px) {
  .nav__links { gap: 1rem; }
  .mark__logo { height: 34px; }
}
