/* =========================================================
   SAGE & SESAME — editorial high-protein kitchen (editorial design system, adapted)
   Hand-built design system. No frameworks, no template mush.
   Fonts are self-hosted (public/fonts, variable woff2) so the
   site renders identically with no Google Fonts dependency.
   ========================================================= */

@font-face {
  font-family: 'Libre Bodoni';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/libre-bodoni-italic-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/libre-bodoni-normal-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/public-sans-italic-400-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/public-sans-normal-300-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f2ece1;
  --paper-2: #e9e0d0;
  --paper-3: #ded3c0;
  --cream: #faf6ee;
  --white: #fffdf8;

  --ink: #191710;
  --ink-2: #403a2d;
  --ink-3: #6b6353;

  --line: #cec3af;
  --line-dark: #3a362a;

  --oxblood: #7c2a1d;
  --oxblood-deep: #5c1e14;
  --tomato: #c34a2e;
  --olive: #5b6244;
  --mustard: #d9a441;

  --dark: #1b1913;
  --dark-2: #242117;

  --ff-display: "Libre Bodoni", "Bodoni MT", Didot, Georgia, serif;
  --ff-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --head-h: 86px;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --step--1: clamp(0.78rem, 0.74rem + 0.16vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.06rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 2.9rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.6rem);
  --step-5: clamp(3.2rem, 1.9rem + 5.6vw, 6.6rem);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--oxblood);
  color: var(--cream);
}

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

section[id],
div[id] {
  scroll-margin-top: calc(var(--head-h) + 20px);
}

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 1040px;
}

.container--text {
  max-width: 760px;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-3);
}

.eyebrow--light {
  color: rgba(250, 246, 238, 0.62);
}

.eyebrow--oxblood {
  color: var(--oxblood);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--tomato);
  transform: rotate(45deg) translateY(-1px);
}

.meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.6;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 0;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.18s var(--ease-out);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  --btn-bg: var(--oxblood);
  --btn-border: var(--oxblood);
  --btn-fg: var(--cream);
}

.btn:active {
  transform: scale(0.97);
}

/* Disabled buttons (e.g. "Checkout coming soon") read as unavailable
   instead of looking live but doing nothing. */
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}

.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-border: var(--ink);
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-border: var(--cream);
}

.btn--light:hover {
  --btn-bg: var(--mustard);
  --btn-fg: var(--ink);
  --btn-border: var(--mustard);
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.text-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--oxblood);
  gap: 13px;
}

/* ---------- 5. Header ---------- */
.utility {
  background: var(--ink);
  color: var(--paper);
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 34px;
  padding-block: 6px;
}

.utility p {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(250, 246, 238, 0.68);
}

.utility__right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 246, 238, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}

.utility a:hover {
  border-color: var(--mustard);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.masthead.is-stuck {
  box-shadow: 0 10px 30px rgba(25, 23, 16, 0.06);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  background: var(--ink);
  color: var(--paper);
}

.brand__name {
  font-family: var(--ff-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand__tag {
  display: none;
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}

.nav a {
  position: relative;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--oxblood);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.icon-link:hover {
  color: var(--oxblood);
}

.icon-link svg {
  width: 18px;
  height: 18px;
}

.bag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.bag:hover {
  color: var(--oxblood);
}

.bag svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.bag__count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  background: var(--oxblood);
  color: var(--cream);
  font-size: 9px;
  line-height: 1;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
}

.mobile-menu__close svg {
  width: 18px;
  height: 18px;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  line-height: 1;
  text-decoration: none;
}

.mobile-menu__links a span {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 36px;
}

.mobile-menu__foot p {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

/* ---------- 6. Hero ---------- */
.hero {
  padding-top: clamp(36px, 5vw, 70px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: stretch;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(8px, 2vw, 28px);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(3.6rem, 7.1vw, 7rem);
  /* 1.08, not tighter: Libre Bodoni's "p" descender on line 1 and
     the italic "f" ascender on line 2 cross at anything below ~1.05. */
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.hero h1 em {
  color: var(--oxblood);
}

.hero__deck {
  max-width: 44ch;
  margin-top: 30px;
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(38px, 5vw, 62px);
  border-top: 1px solid var(--line);
}

.hero__proof div {
  padding: 18px 18px 0 0;
}

.hero__proof div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero__proof b {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__proof span {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__media {
  position: relative;
  min-width: 0;
}

/* The frame clips the Ken Burns drift so the slow zoom never bleeds
   past the photo's edges or over the macro card and caption. */
.hero__media-frame {
  overflow: hidden;
}

.hero__media-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 790px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  animation: heroDrift 36s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.03);
  }
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.macro-card {
  position: absolute;
  left: clamp(-52px, -3.6vw, -24px);
  bottom: 42px;
  width: min(292px, 72%);
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(25, 23, 16, 0.12);
}

.macro-card__label {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.macro-card__dish {
  margin-top: 8px;
  font-family: var(--ff-display);
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.macro-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.macro-card__grid b {
  display: block;
  font-family: var(--ff-display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.macro-card__grid span {
  display: block;
  margin-top: 3px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 7. Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--oxblood);
  color: var(--cream);
  border-top: 1px solid var(--oxblood-deep);
  border-bottom: 1px solid var(--oxblood-deep);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px 26px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__diamond {
  width: 6px;
  height: 6px;
  background: var(--mustard);
  transform: rotate(45deg);
  flex: none;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 8. Sections ---------- */
.section {
  padding-block: clamp(48px, 6vw, 84px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 56px);
}

.section--cream {
  background: var(--cream);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--dark);
  color: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(0, 8fr) minmax(140px, 2fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head > .eyebrow {
  align-self: start;
}

.section-head h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  letter-spacing: -0.035em;
}

.section-head .text-link {
  justify-self: end;
  margin-bottom: 8px;
}

.section-head__deck {
  max-width: 58ch;
  margin-top: 18px;
  font-size: var(--step-0);
  color: var(--ink-2);
}

.section--dark .section-head__deck,
.section--dark .eyebrow {
  color: rgba(250, 246, 238, 0.66);
}

/* rules strip */
.rules {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.rules__item {
  padding: 34px 36px 38px 0;
}

.rules__item + .rules__item {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

/* Higher specificity than the generic .rules__item p rule below it,
   which otherwise overrides this label to 0.95rem and caps it at
   34ch — that is what wrapped rule 02 with "IT" alone. The number
   line always stays whole, at the intended 9px mono size. */
.rules__item .rules__num {
  font-family: var(--ff-mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--oxblood);
  max-width: none;
  white-space: nowrap;
}

.rules__item h3 {
  margin-top: 16px;
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem);
  letter-spacing: -0.02em;
}

.rules__item p {
  max-width: 34ch;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- 9. Recipe cards ---------- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(20px, 2.4vw, 34px);
}

.recipe-card {
  min-width: 0;
  display: flex;
}

.recipe-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.recipe-card__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 5;
}

.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 200ms var(--ease-out), filter 200ms var(--ease);
}

.protein-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  background: var(--cream);
  border: 1px solid var(--ink);
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.card-index {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.recipe-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 20px 20px;
  text-align: center;
}

.recipe-card__body h3 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 1.2rem + 0.9vw, 2.05rem);
  letter-spacing: -0.025em;
  transition: color 0.2s var(--ease);
}

.recipe-card__link:hover h3 {
  color: var(--oxblood);
}

.recipe-card__body .deck {
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.recipe-card__body .text-link {
  align-self: center;
  margin-top: auto;
  padding-top: 14px;
}

/* lead + side feature layout */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(26px, 3vw, 44px);
}

.recipe-card--lead .recipe-card__media {
  aspect-ratio: 16 / 11;
}

.recipe-card--lead .recipe-card__body h3 {
  font-size: clamp(2.1rem, 1.6rem + 1.7vw, 3.3rem);
}

.recipe-card--lead .recipe-card__body .deck {
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1rem;
}

.feature-grid__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(24px, 3vw, 36px);
}

.recipe-card--wide {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.recipe-card--wide .recipe-card__link {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.recipe-card--wide .recipe-card__media {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1.08;
}

.recipe-card--wide .recipe-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}

.recipe-card--wide .recipe-card__body h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem);
}

.recipe-card--wide .recipe-card__body .deck {
  display: none;
}

.recipe-card--wide .recipe-card__body .text-link {
  align-self: center;
  margin-top: 14px;
  padding-top: 0;
}

/* ---------- 10. Protein chart ---------- */
.protein-feature {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.protein-feature__intro {
  position: sticky;
  top: calc(var(--head-h) + 28px);
}

.protein-feature__intro h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  letter-spacing: -0.035em;
}

.protein-feature__intro p {
  max-width: 38ch;
  margin-top: 20px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.chart {
  border-top: 2px solid var(--ink);
}

.chart__row {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) minmax(0, 3fr) 62px;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.chart__label {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
}

.chart__track {
  position: relative;
  height: 13px;
  background: var(--paper-2);
  overflow: hidden;
}

.chart__bar {
  display: block;
  height: 100%;
  width: calc(var(--p) * 1%);
  background: var(--oxblood);
}

.chart.is-armed .chart__bar {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}

.chart.is-visible .chart__bar {
  transform: scaleX(1);
}

.chart__row:nth-child(2) .chart__bar {
  transition-delay: 0.05s;
}
.chart__row:nth-child(3) .chart__bar {
  transition-delay: 0.1s;
}
.chart__row:nth-child(4) .chart__bar {
  transition-delay: 0.15s;
}
.chart__row:nth-child(5) .chart__bar {
  transition-delay: 0.2s;
}
.chart__row:nth-child(6) .chart__bar {
  transition-delay: 0.25s;
}
.chart__row:nth-child(7) .chart__bar {
  transition-delay: 0.3s;
}
.chart__row:nth-child(8) .chart__bar {
  transition-delay: 0.35s;
}

.chart__value {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.chart__note {
  margin-top: 16px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* ---------- 11. Product band ---------- */
.product-band {
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}

.product-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.product-band__copy h2 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 4.6vw, 4.9rem);
  letter-spacing: -0.035em;
}

.product-band__copy > p {
  max-width: 50ch;
  margin-top: 22px;
  font-size: 1.02rem;
  line-height: 1.68;
  color: rgba(250, 246, 238, 0.72);
}

.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(250, 246, 238, 0.82);
}

.product-list svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex: none;
  color: var(--mustard);
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.price-row__price {
  font-family: var(--ff-display);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-row__note {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.55);
}

.product-band__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.product-band__cta .text-link {
  color: var(--paper);
}

.product-band__cta .text-link:hover {
  color: var(--mustard);
}

/* CSS book */
.book-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.book {
  position: relative;
  width: min(380px, 82%);
  aspect-ratio: 3 / 4;
  background: var(--oxblood);
  color: var(--cream);
  border: 1px solid rgba(250, 246, 238, 0.34);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.24);
  transform: rotate(-1.4deg);
}

.book__inner {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border: 1px solid rgba(250, 246, 238, 0.4);
}

.book__kicker {
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.72);
}

.book__title {
  margin-top: auto;
  font-family: var(--ff-display);
  font-size: clamp(2.35rem, 3.7vw, 3.4rem);
  line-height: 0.91;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.book__title em {
  color: var(--mustard);
}

.book__sub {
  margin-top: 18px;
  font-family: var(--ff-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.7);
}

.book__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 246, 238, 0.32);
  font-family: var(--ff-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.6);
}

.book__num {
  position: absolute;
  right: 16px;
  top: 34px;
  font-family: var(--ff-display);
  font-size: 94px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 246, 238, 0.35);
  pointer-events: none;
}

.book-wrap__note {
  position: absolute;
  right: 0;
  bottom: -26px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.4);
  writing-mode: vertical-rl;
}

/* ---------- 12. Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.quote {
  padding: 32px 32px 8px 0;
}

.quotes__note {
  margin-top: 26px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 7.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.quote + .quote {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.quote__mark {
  font-family: var(--ff-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--oxblood);
}

.quote blockquote {
  margin-top: 14px;
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.05rem + 0.55vw, 1.55rem);
  line-height: 1.36;
  letter-spacing: -0.015em;
}

.quote figcaption {
  margin-top: 20px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 13. Newsletter ---------- */
.newsletter {
  background: var(--mustard);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.newsletter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(54px, 7vw, 92px);
}

.newsletter h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
}

.newsletter h2 em {
  color: var(--oxblood);
}

.newsletter__copy p {
  max-width: 38ch;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.newsletter__form {
  width: 100%;
}

.newsletter__label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.newsletter__row {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ink);
}

.newsletter__row input {
  flex: 1;
  min-width: 0;
  padding: 14px 2px;
  background: transparent;
  border: 0;
  font-size: 1.05rem;
}

.newsletter__row input::placeholder {
  color: rgba(25, 23, 16, 0.5);
}

.newsletter__row input:focus {
  outline: 0;
}

.newsletter__row:focus-within {
  border-color: var(--oxblood);
}

.newsletter__row .btn {
  flex: none;
  margin-bottom: 8px;
}

.newsletter__fine {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: var(--cream);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message[hidden] {
  display: none;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 90px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(120px, 0.6fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__brand .brand__mark {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.footer__brand .brand__name {
  color: var(--cream);
}

.footer__brand p {
  max-width: 32ch;
  margin-top: 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(250, 246, 238, 0.6);
}

.footer__col h3 {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.45);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.footer__col a {
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(250, 246, 238, 0.82);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--mustard);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 26px 30px;
}

.footer__bottom p {
  font-family: var(--ff-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.4);
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  color: var(--paper);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.footer__social a:hover {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--ink);
}

.footer__social svg {
  width: 15px;
  height: 15px;
}

/* ---------- 15. Page head (archive/shop/about) ---------- */
.page-head {
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(32px, 4vw, 54px);
}

.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 32px;
  align-items: end;
}

.page-head h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem);
  /* Same descender/ascender clearance as the hero: "recipes." ends
     in a "p" descender above the "Zero" cap on line 2. */
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.page-head h1 em {
  color: var(--oxblood);
}

.page-head__deck {
  max-width: 38ch;
  padding-bottom: 8px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- 16. Archive filters ---------- */
[data-archive] {
  scroll-margin-top: calc(var(--head-h) + 12px);
}

.filter-bar {
  position: sticky;
  top: var(--head-h);
  z-index: 60;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding-block: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease-out);
}

/* 44px minimum hit area for the small chips (skill rule). */
.chip::after {
  content: "";
  position: absolute;
  inset: -8px -6px;
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}

.search-field svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--ink-3);
}

.search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-size: 0.9rem;
}

.search-field input:focus {
  outline: 0;
}

.search-field:focus-within {
  border-color: var(--oxblood);
}

.archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 0;
}

.archive-meta p {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.archive-grid {
  padding-block: clamp(28px, 4vw, 48px) clamp(64px, 9vw, 120px);
}

.empty-state {
  display: none;
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-state.is-visible {
  display: block;
}

.empty-state h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.empty-state p {
  margin: 12px auto 24px;
  max-width: 42ch;
  color: var(--ink-2);
}

/* ---------- 17. Recipe detail ---------- */
.recipe-page {
  padding-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--oxblood);
}

.breadcrumb span {
  color: var(--line);
}

.recipe-head {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.recipe-head__inner {
  max-width: 1000px;
}

.recipe-head h1 {
  margin-top: 18px;
  font-size: clamp(2.9rem, 6.4vw, 6rem);
  line-height: 0.87;
  letter-spacing: -0.04em;
}

.recipe-head__deck {
  max-width: 60ch;
  margin-top: 22px;
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink-2);
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.recipe-meta div {
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}

.recipe-meta div:last-child {
  border-right: 0;
}

.recipe-meta span {
  display: block;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.recipe-meta b {
  display: block;
  margin-top: 4px;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.recipe-hero {
  position: relative;
}

.recipe-hero img {
  width: 100%;
  max-height: 660px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92);
}

.recipe-hero figcaption {
  margin-top: 9px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.recipe-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recipe-tools__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    transform 0.18s var(--ease-out);
}

.tool-btn:hover {
  border-color: var(--ink);
}

.tool-btn svg {
  width: 14px;
  height: 14px;
}

.recipe-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 72px);
}

.recipe-aside {
  position: sticky;
  top: calc(var(--head-h) + 24px);
}

.ingredients {
  border-top: 3px solid var(--ink);
  padding-top: 20px;
}

.ingredients__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ingredients h2 {
  font-size: 1.9rem;
}

.ingredients__serves {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ingredients__group {
  margin-top: 22px;
}

.ingredients__group h3 {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.ingredient-list {
  margin-top: 10px;
}

.ingredient-list li {
  border-bottom: 1px solid var(--line);
}

.ingredient-list label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}

.ingredient-list input {
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: none;
  border: 1px solid var(--ink-3);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ingredient-list input::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--oxblood);
  transform: scale(0.5);
  transition: transform 0.15s var(--ease);
}

.ingredient-list input:checked::after {
  transform: scale(1);
}

.ingredient-list input:checked + span {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.nutrition {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.nutrition__head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nutrition__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.nutrition__grid div {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.nutrition__grid div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.nutrition__grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.nutrition__grid b {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.nutrition__grid span {
  display: block;
  margin-top: 3px;
  font-family: var(--ff-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nutrition__note {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 7.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.recipe-main {
  min-width: 0;
}

.why-box {
  padding: 22px 24px;
  background: var(--cream);
  border-left: 3px solid var(--oxblood);
}

.why-box h2 {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.why-box p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.method {
  margin-top: 42px;
}

.method__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.method__head h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
}

.method__head span {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-family: var(--ff-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--oxblood);
}

.step__body h3 {
  font-size: 1.28rem;
  letter-spacing: -0.015em;
}

.step__body p {
  margin-top: 8px;
  font-size: 0.97rem;
  line-height: 1.68;
  color: var(--ink-2);
}

.step__check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
}

.step__check input {
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid var(--ink-3);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.step__check input::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--olive);
  transform: scale(0.5);
  transition: transform 0.15s var(--ease);
}

.step__check input:checked::after {
  transform: scale(1);
}

.step.is-done .step__body h3,
.step.is-done .step__body p {
  opacity: 0.45;
}

.tip-box {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
}

.tip-box h2 {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tip-box p {
  margin-top: 10px;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.recipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.recipe-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.related {
  padding-block: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--line);
}

.related .section-head {
  grid-template-columns: minmax(0, 8fr) minmax(140px, 2fr);
}

/* cook mode */
.cook-exit {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 300;
}

body.cook-mode .utility,
body.cook-mode .masthead,
body.cook-mode .site-footer,
body.cook-mode .recipe-hero,
body.cook-mode .related,
body.cook-mode .recipe-tools,
body.cook-mode .breadcrumb {
  display: none !important;
}

body.cook-mode .recipe-head {
  padding-top: 4px;
  padding-bottom: 10px;
}

body.cook-mode .recipe-head .eyebrow,
body.cook-mode .recipe-head__deck,
body.cook-mode .recipe-meta {
  display: none;
}

body.cook-mode .recipe-head h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

body.cook-mode {
  background: var(--cream);
}

body.cook-mode .recipe-page {
  padding-top: 24px;
}

body.cook-mode .recipe-body {
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  padding-top: 24px;
}

body.cook-mode .recipe-aside {
  position: static;
}

body.cook-mode .step__body p,
body.cook-mode .step__body h3 {
  font-size: 1.18rem;
  line-height: 1.6;
}

body.cook-mode .step__body h3 {
  font-size: 1.45rem;
}

body.cook-mode .cook-exit {
  display: inline-flex;
}

/* ---------- 18. Shop ---------- */
.product-hero {
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.product-hero__media {
  padding: clamp(28px, 5vw, 64px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.product-hero__media .book {
  width: min(360px, 92%);
  box-shadow: 14px 14px 0 rgba(25, 23, 16, 0.14);
}

.product-hero__copy h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.product-hero__deck {
  max-width: 48ch;
  margin-top: 22px;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink-2);
}

.product-buy {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-buy__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.product-buy__price b {
  font-family: var(--ff-display);
  font-size: 2.9rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-buy__price span {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.product-buy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.product-buy__fine {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.product-facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-facts svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  color: var(--oxblood);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.inside-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.inside-card__num {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--oxblood);
}

.inside-card h3 {
  margin-top: 22px;
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.9rem);
}

.inside-card p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.sample-spread {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.page-card {
  margin: 0;
  aspect-ratio: 17 / 22;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 7px 7px 0 rgba(25, 23, 16, 0.06);
}

.page-card--offset {
  margin-top: 28px;
}

.page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-spread__note {
  margin-top: 34px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.for-col {
  padding: 34px 36px 10px 36px;
}

.for-col + .for-col {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.for-col h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.for-col ul {
  margin-top: 22px;
  display: grid;
  gap: 13px;
}

.for-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.for-col svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}

.for-col--yes svg {
  color: var(--olive);
}

.for-col--no svg {
  color: var(--oxblood);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.4rem);
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: rotate(0);
}

.faq__answer {
  max-width: 68ch;
  padding: 0 0 24px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.sticky-buy {
  display: none;
}

/* ---------- 19. About ---------- */
.about-hero {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-hero h1 {
  margin-top: 20px;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.about-hero h1 em {
  color: var(--oxblood);
}

.about-hero__deck {
  max-width: 46ch;
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.about-hero__media {
  max-width: 560px;
  justify-self: end;
}

.about-hero__media figure {
  margin: 0;
}

.about-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-hero__media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(36px, 6vw, 90px);
}

.story__aside {
  position: sticky;
  top: calc(var(--head-h) + 30px);
}

.story__aside h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
}

.story__body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.story__body p + p {
  margin-top: 20px;
}

.story__body p:first-child::first-letter {
  float: left;
  font-family: var(--ff-display);
  font-size: 4.4em;
  line-height: 0.76;
  padding: 0.06em 0.1em 0 0;
  color: var(--oxblood);
}

.pull-quote {
  margin: 34px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle {
  padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.principle__num {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--oxblood);
}

.principle h3 {
  margin-top: 26px;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.principle p {
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.test-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.test-step {
  padding: 30px 30px 10px 0;
}

.test-step + .test-step {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.test-step b {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--oxblood);
}

.test-step h3 {
  margin-top: 14px;
  font-size: 1.3rem;
}

.test-step p {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.about-images {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.about-images img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.about-images figure:last-child {
  align-self: end;
}

.about-images figcaption {
  margin-top: 8px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 20. Cart drawer & checkout ---------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 18, 12, 0.55);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}

.drawer-scrim.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 310;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  background: var(--paper);
  border-left: 1px solid var(--ink);
  transform: translateX(102%);
  transition: transform 280ms var(--ease-drawer);
}

.cart-drawer.is-open {
  transform: none;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-size: 1.75rem;
}

.cart-drawer__head .eyebrow {
  margin-top: 4px;
}

.cart-drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-drawer__close:hover {
  background: var(--ink);
  color: var(--cream);
}

.cart-drawer__close svg {
  width: 17px;
  height: 17px;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 34px 0;
}

.cart-empty h3 {
  font-size: 1.8rem;
}

.cart-empty p {
  max-width: 32ch;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item + .cart-item {
  padding-top: 20px;
}

.cart-item__thumb {
  width: 74px;
  height: 96px;
  background: var(--oxblood);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  font-family: var(--ff-display);
  font-size: 13px;
  line-height: 0.95;
  border: 1px solid var(--oxblood-deep);
}

.cart-item__title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  line-height: 1.1;
}

.cart-item__meta {
  margin-top: 5px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transition: background 0.15s var(--ease), transform 0.18s var(--ease-out);
}

.qty button:hover {
  background: var(--paper-2);
}

.qty span {
  min-width: 26px;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 10px;
}

.cart-item__price {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
}

.cart-item__remove {
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-item__remove:hover {
  color: var(--oxblood);
}

.cart-drawer__foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cart-total span {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cart-total b {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.cart-note {
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: 7.5px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--ink-3);
}

.checkout {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.checkout::backdrop {
  background: rgba(20, 18, 12, 0.62);
}

.checkout__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.checkout__head h2 {
  font-size: 1.8rem;
}

.checkout__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
}

.checkout__close svg {
  width: 16px;
  height: 16px;
}

.checkout__body {
  padding: 22px 24px;
  overflow-y: auto;
  max-height: calc(100vh - 190px);
}

.checkout__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.checkout__summary p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.checkout__summary b {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.demo-note {
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--mustard);
  background: rgba(217, 164, 65, 0.16);
  font-size: 0.84rem;
  line-height: 1.55;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.96rem;
}

.field input:focus {
  outline: 0;
  border-color: var(--ink);
}

.field__error {
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--oxblood);
}

.field__error[hidden] {
  display: none;
}

.checkout__foot {
  padding: 0 24px 24px;
}

.checkout__fine {
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: 7.5px;
  line-height: 1.7;
  color: var(--ink-3);
  text-align: center;
}

.checkout-success {
  padding: 18px 0 8px;
  text-align: center;
}

.checkout-success__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid var(--olive);
  color: var(--olive);
}

.checkout-success__mark svg {
  width: 26px;
  height: 26px;
}

.checkout-success h3 {
  font-size: 2rem;
}

.checkout-success p {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.checkout-success__order {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.checkout-success .btn {
  margin-top: 20px;
}

/* ---------- 21. Reveal & motion ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Transform-bearing hovers live here only: touch devices fire :hover
   on tap, and a lift on tap reads as a glitch. Color-only hovers stay
   ungated in their own sections. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg {
    transform: translate(2px, -2px);
  }

  .text-link:hover svg {
    transform: translate(2px, -2px);
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }

  .recipe-card__link:hover {
    transform: translateY(-4px);
  }

  .recipe-card__link:hover .recipe-card__media {
    box-shadow: 0 16px 34px rgba(25, 23, 16, 0.18);
  }

  .recipe-card__link:hover .recipe-card__media img {
    transform: scale(1.04);
    filter: saturate(1);
  }
}

/* Press feedback: instant tactile response, ungated (tap is a press). */
.recipe-card__link:active {
  transform: scale(0.97);
}

.chip:active {
  transform: scale(0.97);
}

.tool-btn:active {
  transform: scale(0.97);
}

.qty button:active {
  transform: scale(0.94);
}

/* ---------- 22. Responsive ---------- */
@media (min-width: 1180px) {
  .brand__tag {
    display: block;
  }
}

@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 7.8vw, 6.6rem);
  }

  .macro-card {
    left: -18px;
    bottom: 30px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .product-band__grid {
    gap: 48px;
  }

  .recipe-body {
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 48px;
  }
}

@media (max-width: 960px) {
  :root {
    --head-h: 70px;
  }

  .utility__right span {
    display: none;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .masthead__actions {
    gap: 12px;
  }

  .bag {
    padding-left: 12px;
  }

  .brand__name {
    font-size: 24px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 12vw, 6.8rem);
  }

  .hero__media-frame > img {
    min-height: 380px;
    max-height: 560px;
    aspect-ratio: 16 / 11;
  }

  .macro-card {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin-top: -1px;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 16px;
    align-items: center;
  }

  .macro-card__grid {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .hero__proof {
    margin-top: 34px;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
  }

  .section-head .eyebrow {
    grid-column: 1 / -1;
  }

  .section-head h2 {
    grid-column: 1;
  }

  .section-head .text-link {
    grid-column: 2;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 24px;
  }

  .recipe-card--wide {
    padding-top: 0;
    border-top: 0;
  }

  .recipe-card--wide .recipe-card__link {
    display: block;
  }

  .recipe-card--wide .recipe-card__media {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .recipe-card--wide .recipe-card__body {
    padding-top: 14px;
  }

  .recipe-card--wide .recipe-card__body .deck {
    display: block;
  }

  .rules__grid {
    grid-template-columns: 1fr;
  }

  .rules__item,
  .rules__item + .rules__item {
    padding: 24px 0;
    border-left: 0;
  }

  .rules__item + .rules__item {
    border-top: 1px solid var(--line);
  }

  .protein-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .protein-feature__intro {
    position: static;
  }

  .product-band__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .book-wrap {
    order: -1;
  }

  .book {
    width: min(330px, 78%);
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .quote,
  .quote + .quote {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote:last-child {
    border-bottom: 0;
  }

  .newsletter__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .page-head__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-head__deck {
    max-width: 54ch;
  }

  .filter-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-block: 16px;
  }

  .search-field {
    width: 100%;
  }

  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recipe-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recipe-aside {
    position: static;
  }

  .ingredients {
    max-width: 620px;
  }

  .product-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-hero__media {
    order: -1;
  }

  .inside-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-spread {
    grid-template-columns: repeat(2, 1fr);
  }

  .for-grid {
    grid-template-columns: 1fr;
  }

  .for-col,
  .for-col + .for-col {
    padding: 28px 20px;
    border-left: 0;
  }

  .for-col + .for-col {
    border-top: 1px solid var(--line);
  }

  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-hero__media {
    max-width: 620px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story__aside {
    position: static;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .test-steps {
    grid-template-columns: 1fr;
  }

  .test-step,
  .test-step + .test-step {
    padding: 24px 0;
    border-left: 0;
  }

  .test-step + .test-step {
    border-top: 1px solid var(--line);
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .sticky-buy {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px var(--gutter);
    background: var(--cream);
    border-top: 1px solid var(--ink);
  }

  body.sticky-buy-on .sticky-buy {
    display: flex;
  }

  .sticky-buy p {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    line-height: 1;
  }

  .sticky-buy span {
    display: block;
    margin-top: 4px;
    font-family: var(--ff-mono);
    font-size: 7.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
  }

  .sticky-buy .btn {
    min-height: 44px;
    padding: 12px 18px;
  }

  body.has-sticky-buy .site-footer {
    padding-bottom: 112px;
  }

  body.cook-mode .recipe-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .utility__inner {
    justify-content: center;
    min-height: 30px;
  }

  .utility__right {
    display: none;
  }

  .masthead__actions .icon-link {
    display: none;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .brand__name {
    font-size: 22px;
  }

  .bag {
    padding-left: 10px;
    border-left: 0;
    font-size: 9px;
    gap: 6px;
  }

  .menu-btn span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15.5vw, 5rem);
  }

  .hero__deck {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__proof div {
    padding: 14px 10px 0 0;
  }

  .hero__proof div + div {
    padding-left: 12px;
  }

  .hero__proof b {
    font-size: 1.55rem;
  }

  .hero__proof span {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .macro-card {
    display: block;
  }

  .macro-card__grid {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .ticker__item {
    padding: 11px 18px;
    gap: 18px;
    font-size: 8.5px;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    grid-column: 1;
  }

  .section-head .text-link {
    grid-column: 1;
    justify-self: start;
  }

  .section-head h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .feature-grid__side {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 36px;
  }

  .section--tight {
    padding-block: 28px;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chart__row {
    grid-template-columns: minmax(96px, 1.2fr) minmax(0, 2.4fr) 48px;
    gap: 10px;
  }

  .chart__label {
    font-size: 0.82rem;
  }

  .chart__value {
    font-size: 9.5px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .product-band__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .product-band__cta .text-link {
    align-self: flex-start;
  }

  .book {
    width: min(300px, 86%);
  }

  .book__inner {
    inset: 14px;
    padding: 18px;
  }

  .book__num {
    font-size: 72px;
  }

  .book__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .newsletter__row {
    flex-direction: column;
    border-bottom: 0;
    gap: 14px;
  }

  .newsletter__row input {
    border-bottom: 2px solid var(--ink);
    padding: 12px 0;
  }

  .newsletter__row .btn {
    width: 100%;
    margin-bottom: 0;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-head h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .chips {
    gap: 8px;
    padding: 8px;
  }

  .chip {
    padding: 10px 14px;
    font-size: 8.5px;
  }

  .archive-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .recipe-head h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .recipe-meta div {
    padding-right: 16px;
    margin-right: 16px;
    margin-bottom: 8px;
  }

  .recipe-hero img {
    aspect-ratio: 4 / 3;
  }

  .step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .step__num {
    font-size: 1.7rem;
  }

  .product-hero__media {
    padding: 26px 20px;
  }

  .product-hero__media .book {
    width: min(300px, 100%);
  }

  .inside-grid {
    grid-template-columns: 1fr;
  }

  .sample-spread {
    grid-template-columns: 1fr;
  }

  .page-card--offset {
    margin-top: 0;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-buy__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-buy__actions .text-link {
    align-self: flex-start;
  }

  .about-hero__media {
    max-width: 620px;
    justify-self: start;
  }

  .about-hero__media img {
    aspect-ratio: 16 / 11;
  }

  .cart-drawer__body {
    padding: 20px;
  }

  .cart-drawer__head {
    padding: 18px 20px;
  }

  .cart-drawer__foot {
    padding: 16px 20px 20px;
  }

  .checkout__body {
    padding: 18px 20px;
  }

  .checkout__head {
    padding: 18px 20px;
  }

  .checkout__foot {
    padding: 0 20px 20px;
  }

  .checkout-success h3 {
    font-size: 1.7rem;
  }

  .sticky-buy p {
    font-size: 1.2rem;
  }
}

@media (max-width: 390px) {
  .hero__proof {
    grid-template-columns: 1fr 1fr;
  }

  .hero__proof div:last-child {
    display: none;
  }

  .brand__name {
    font-size: 20px;
  }

  .masthead__inner {
    gap: 12px;
  }

  .macro-card__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Single-column recipe grid at 390px: one full-width card per row,
     so the title reads at full size. */
  .recipe-card__body h3 {
    font-size: 1.35rem;
  }

  .recipe-card__body .deck {
    font-size: 0.85rem;
  }

  .chart__row {
    grid-template-columns: 1fr 46px;
  }

  .chart__track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker__track {
    animation: none;
  }

  .hero__media-frame > img {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .chart__bar {
    transform: scaleX(1);
  }

  /* Gated hover motion must never move under reduced motion. */
  .recipe-card__link:hover,
  .recipe-card__link:hover .recipe-card__media img,
  .btn:hover svg,
  .text-link:hover svg,
  .nav a:hover::after {
    transform: none;
  }

  .recipe-card__link:hover .recipe-card__media {
    box-shadow: none;
  }
}

/* ---------- 24. Print ---------- */
@media print {
  body::after,
  .utility,
  .masthead,
  .site-footer,
  .mobile-menu,
  .cart-drawer,
  .drawer-scrim,
  .checkout,
  .recipe-tools,
  .related,
  .breadcrumb,
  .sticky-buy,
  .ticker,
  .newsletter {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .recipe-page {
    padding: 0;
  }

  .recipe-head {
    padding-top: 0;
  }

  .recipe-body {
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    padding-top: 20px;
  }

  .recipe-aside {
    position: static;
  }

  .recipe-hero img {
    max-height: 280px;
  }

  .step {
    break-inside: avoid;
  }

  a {
    text-decoration: none;
    color: #000;
  }
}

/* =========================================================
   SAGE & SESAME additions — playbook cover, legal pages,
   calculator tools, footer legal row.
   Same tokens, same hairline editorial language.
   ========================================================= */

/* Playbook cover image (the user's own Flow cover, 941x1672).
   Used in the home product band and the shop hero instead of the
   reference's CSS-drawn book. */
.cover-img {
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  box-shadow: 10px 10px 0 rgba(25, 23, 16, 0.07);
  margin-inline: auto;
}
.cover-img--large {
  width: min(100%, 420px);
}

/* Footer legal row */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__legal a {
  color: rgba(250, 246, 238, 0.72);
  text-decoration: none;
}
.footer__legal a:hover {
  color: var(--paper);
  text-decoration: underline;
}

/* Legal links sit on the footer bottom row now, level with the
   copyright line and the Pinterest link. */
.footer__bottom .footer__legal {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Legal pages (Terms / Privacy / Refund) */
.legal-page {
  padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px);
}
.legal-hero {
  margin: 0 0 30px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
}
.legal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legal-page h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.legal-updated {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.legal-page .lede {
  margin-top: 18px;
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.legal-page section {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 68ch;
}
.legal-page section h2 {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 12px;
}
.legal-page section p {
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-page section p + p {
  margin-top: 12px;
}
.legal-page section ul {
  margin-top: 12px;
  padding-left: 20px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-page section li + li {
  margin-top: 6px;
}

/* Calculator tool pages */
.cat {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.tool-wrap {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.tool-wrap .page-head {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.tool-wrap .page-head h1 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.tool-wrap .page-head p {
  max-width: 58ch;
  margin-top: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
  background: var(--cream);
}
.calc-form {
  padding: 28px;
  border-right: 1px solid var(--line);
}
.calc-result {
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}
.calc-label {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.66);
}
.calc-big {
  margin-top: 14px;
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}
.calc-big small {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 238, 0.66);
}
.calc-meal {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(250, 246, 238, 0.85);
}
.calc-basis {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(250, 246, 238, 0.68);
}
.calc-field {
  margin-bottom: 22px;
}
.calc-field > label,
.flabel {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.calc input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-family: var(--ff-mono);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 12px;
}
.calc input[type="number"]:focus {
  outline: 2px solid var(--oxblood);
  outline-offset: 1px;
}
.weight-row,
.height-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.weight-row input,
.height-row input {
  flex: 1;
  min-width: 0;
}
.height-ft {
  display: flex;
  gap: 10px;
  flex: 1;
}
.height-ft input {
  flex: 1;
  min-width: 0;
}
.unit-label {
  align-self: center;
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.calc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.seg {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--ink);
}
.seg button {
  flex: 1 1 auto;
  padding: 10px 8px;
  background: var(--white);
  border: 0;
  border-right: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--ink);
}
.seg button:last-child {
  border-right: 0;
}
.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.calc-note {
  margin-top: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 72ch;
}
.cross-tool {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cross-tool h2 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 500;
}
.cross-tool p {
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.6;
}
.macro-result-rows {
  margin-top: 18px;
}
.macro-row {
  display: grid;
  grid-template-columns: 90px 1fr 74px;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(250, 246, 238, 0.16);
}
.m-label {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  display: flex;
  gap: 8px;
  align-items: center;
}
.m-label i {
  width: 10px;
  height: 10px;
  display: inline-block;
}
.m-bar {
  height: 8px;
  background: rgba(250, 246, 238, 0.14);
  overflow: hidden;
}
.m-bar i {
  display: block;
  height: 100%;
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.m-val {
  text-align: right;
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  white-space: nowrap;
}
.m-val small {
  color: rgba(250, 246, 238, 0.6);
}
@keyframes tick-in {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.tick {
  animation: tick-in 250ms var(--ease-out);
}

@media (max-width: 960px) {
  .calc {
    grid-template-columns: 1fr;
  }
  .calc-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .calc-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* S&S override: the reference hides the third hero proof stat on very
   small phones. Our rule is nothing dropped, so keep all three stats. */
@media (max-width: 390px) {
  .hero__proof {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__proof div {
    padding: 14px 8px 0 0;
  }
  .hero__proof div + div {
    padding-left: 10px;
  }
  .hero__proof div:last-child {
    display: block;
  }
}

/* S&S override: stack the hero caption on small screens so the
   time/serves line never wraps mid-phrase. */
@media (max-width: 960px) {
  .hero__caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  /* S&S override: the base rule sets .hero__media-frame > img to height:100%,
     which leaves the grid row short of the macro card + caption on
     mobile, so they paint over the ticker and the rules section.
     A definite height (aspect-ratio + min/max-height) makes the
     row size to the real content. */
  .hero__media-frame > img {
    height: auto;
  }
}

/* =========================================================
   APPLE-STYLE COMPONENTS (28 Nov 2026)
   Same palette, same fonts, same content and structure.
   Frosted sticky nav only. No gradients on backgrounds.
   ========================================================= */

/* Frosted sticky nav */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 236, 225, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(25, 23, 16, 0.08);
}
.masthead.is-stuck {
  box-shadow: 0 1px 2px rgba(25, 23, 16, 0.05), 0 8px 24px rgba(25, 23, 16, 0.06);
}

/* Display type: tighter tracking, calmer scale */
h1, h2 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Generous section spacing */
.section {
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

/* Pill buttons with spring press states */
.btn {
  border-radius: 999px;
  padding: 15px 28px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 1px 2px rgba(25, 23, 16, 0.08), 0 4px 12px rgba(25, 23, 16, 0.06);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(25, 23, 16, 0.08), 0 10px 24px rgba(25, 23, 16, 0.1);
}
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(25, 23, 16, 0.08);
}
.btn:disabled {
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.text-link, .nav a, .footer__col a, .footer__legal a {
  transition: opacity 0.2s ease;
}
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Large-radius cards, soft shadows, lift on hover */
.recipe-card, .inside-card, .quote, .principle, .page-card,
.nutrition, .ingredients, .why-box, .tip-box, .for-col,
.faq__item, .product-buy, .macro-card {
  border-radius: 24px;
}
.recipe-card, .inside-card, .quote, .principle, .page-card {
  box-shadow: 0 1px 2px rgba(25, 23, 16, 0.05), 0 8px 24px rgba(25, 23, 16, 0.05);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.recipe-card:hover, .inside-card:hover, .page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(25, 23, 16, 0.06), 0 16px 40px rgba(25, 23, 16, 0.09);
}
.recipe-card__media, .recipe-card__media img,
.recipe-hero img, .hero__media img, .about-hero__media img,
.about-images img, .cover-img {
  border-radius: 24px;
}
.recipe-hero img, .hero__media img {
  border-radius: 28px;
}
.cover-img {
  box-shadow: 0 2px 6px rgba(25, 23, 16, 0.1), 0 24px 48px rgba(25, 23, 16, 0.14);
}

/* Segmented filter controls */
.filter-bar {
  position: sticky;
  top: var(--head-h);
  z-index: 40;
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(25, 23, 16, 0.07);
}
.chips {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}
.chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.chip:active {
  transform: scale(0.96);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 3px rgba(25, 23, 16, 0.25);
}
.chip__count {
  font-family: var(--ff-mono);
  font-size: 0.78em;
  opacity: 0.65;
  margin-left: 2px;
}
.search-field {
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.search-field input {
  border: 0;
  background: transparent;
}

/* Apple-style accordion FAQ */
.faq__item {
  background: var(--cream);
  border: 1px solid rgba(25, 23, 16, 0.08);
  box-shadow: 0 1px 2px rgba(25, 23, 16, 0.04);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq__item summary {
  border-radius: 24px;
  transition: background-color 0.2s ease;
}
.faq__item summary:hover {
  background: rgba(25, 23, 16, 0.03);
}
.faq__icon {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.faq__item[open ] .faq__icon {
  transform: rotate(45deg);
}

/* Upsell block */
.upsell__grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.upsell__media .cover-img {
  max-width: 340px;
  width: 100%;
  height: auto;
}
.upsell__copy h2 {
  margin-top: 14px;
}
.upsell__copy > p {
  max-width: 52ch;
  line-height: 1.7;
  color: var(--ink-2);
}
.upsell__copy .price-row {
  margin: 22px 0;
}
@media (max-width: 680px) {
  .upsell__grid {
    grid-template-columns: 1fr;
  }
  .upsell__media .cover-img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }
}

/* Contact grid (renamed from newsletter grid, same layout) */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
}
@media (max-width: 860px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* Nutrition sources line */
.nutrition__sources {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 24px 14px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Smooth scroll reveals with a spring ease */
[data-reveal] {
  transition-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Sticky buy bar as a floating pill on small screens */
.sticky-buy {
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(25, 23, 16, 0.14), 0 16px 40px rgba(25, 23, 16, 0.16);
}
@media (max-width: 680px) {
  .sticky-buy {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

/* =========================================================
   ROUND 3 — 21:05 PKT: round every corner, floating pill
   header, full-cover display. Same tokens, same palette.
   Radius scale: small 12 / medium 20 / large 28 / pill 999.
   Full-bleed bars (utility bar, footer, mobile menu) stay
   square on purpose: they run edge to edge, they have no
   corners to round.
   ========================================================= */

:root {
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
}

/* --- 1. Round every corner --- */
/* Header + footer controls */
.brand__mark { border-radius: var(--r-sm); }
.icon-link { border-radius: var(--r-pill); }
.icon-link:hover { background: rgba(25, 23, 16, 0.05); }
.bag__count { border-radius: var(--r-pill); }
.menu-btn {
  border-radius: var(--r-pill);
  padding: 10px 16px;
  background: rgba(25, 23, 16, 0.04);
  border: 1px solid rgba(25, 23, 16, 0.08);
}
.mobile-menu__close { border-radius: var(--r-pill); }
.footer__social a { border-radius: var(--r-pill); }

/* Badges + tags */
.protein-tag { border-radius: var(--r-sm); }
.recipe-tags span { border-radius: var(--r-pill); }

/* Buttons + controls */
.tool-btn { border-radius: var(--r-pill); }

/* Chart bars (home protein chart) */
.chart__track { border-radius: var(--r-pill); }
.chart__bar { border-radius: var(--r-pill); }

/* Checkboxes + inputs (live + legacy) */
.ingredient-list input,
.step__check input { border-radius: var(--r-sm); }
.calc input[type="number"] { border-radius: var(--r-sm); }
.seg { border-radius: var(--r-sm); overflow: hidden; }
.form-message { border-radius: var(--r-sm); }
.field input { border-radius: var(--r-sm); }

/* Panels + media */
.product-hero__media { border-radius: var(--r-lg); }
.product-hero__media .book { border-radius: var(--r-md); }
.legal-hero { border-radius: var(--r-lg); }
.legal-hero img { border-radius: var(--r-lg); }
.recipe-hero { border-radius: var(--r-lg); overflow: hidden; }
.calc { border-radius: 24px; }
.book { border-radius: var(--r-md); }
.book__inner { border-radius: var(--r-sm); }

/* Legacy cart / checkout panels (not rendered, kept consistent) */
.cart-drawer__close { border-radius: var(--r-pill); }
.cart-item__thumb { border-radius: var(--r-sm); }
.qty { border-radius: var(--r-sm); }
.checkout { border-radius: var(--r-lg); }
.checkout__close { border-radius: var(--r-pill); }
.demo-note { border-radius: var(--r-md); }
.checkout-success__mark { border-radius: var(--r-pill); }
.checkout-success__order { border-radius: var(--r-md); }

/* --- 2. Floating pill header --- */
/* The dark announcement bar stays full-width above it and
   scrolls away; the pill floats 12px below the viewport top
   with 16px side margins and sticks there on scroll. */
.masthead {
  position: sticky;
  top: 12px;
  z-index: 90;
  width: calc(100% - 32px);
  max-width: 1360px;
  margin: 12px auto 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  background: rgba(250, 246, 238, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
.masthead.is-stuck {
  box-shadow: 0 2px 4px rgba(25, 23, 16, 0.06), 0 16px 40px rgba(25, 23, 16, 0.12);
}
.masthead__inner {
  min-height: 64px;
  padding-inline: clamp(20px, 3vw, 32px);
}
@media (max-width: 680px) {
  .masthead {
    top: 8px;
    width: calc(100% - 24px);
    margin-top: 8px;
  }
  .masthead__inner {
    min-height: 60px;
    padding-inline: 16px;
  }
}

/* Sticky elements clear the floating pill (pill bottom sits at
   12px + 64px = 76px when stuck; 12px gap below it). */
.filter-bar { top: 88px; }
.protein-feature__intro { top: 116px; }
.recipe-aside { top: 112px; }
section[id], div[id] { scroll-margin-top: 100px; }
[data-archive] { scroll-margin-top: 100px; }

/* --- 3. Full cover display, no crop --- */
/* The 7-day cover is 1280x1920 (2:3). The old 941/1672 aspect
   ratio forced a narrower box and object-fit: cover cropped its
   sides, clipping the baked-in title on mobile. Every cover now
   shows at its natural ratio, uncropped. */
.cover-img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
/* Sample pages in the shop "look inside" spread: same treatment,
   so the cover's title is never cropped by the 17/22 frame. */
.page-card img { object-fit: contain; }

/* =========================================================
   ROUND 4 — 21:14 PKT: glassmorphism + New Year strip.
   Frosted-glass surfaces in the same palette (paper/ink/
   oxblood). Translucent cream + blur + light border + soft
   shadow. No new colours, no background gradients.
   The dark announcement strip stays solid ink; glass lives
   on the light surfaces, and as a translucent dark on the
   footer. Text stays ink on light cream, so contrast holds.
   ========================================================= */

:root {
  --glass-bg: rgba(250, 246, 238, 0.55);
  --glass-bg-strong: rgba(250, 246, 238, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(25, 23, 16, 0.08);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* --- Floating pill header: deeper frost --- */
.masthead {
  background: rgba(250, 246, 238, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(25, 23, 16, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.masthead.is-stuck {
  box-shadow: 0 8px 32px rgba(25, 23, 16, 0.14), 0 16px 48px rgba(25, 23, 16, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* --- Glass panels: light surfaces --- */
.macro-card,
.recipe-card,
.faq__item,
.quote,
.inside-card,
.page-card,
.principle,
.for-col,
.why-box,
.tip-box,
.ingredients,
.nutrition,
.product-hero__media,
.product-buy {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
/* Light glass border + soft shadow where the card defines its own edge */
.macro-card,
.recipe-card,
.faq__item,
.quote,
.page-card,
.product-hero__media,
.product-buy {
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
/* The quote needs even padding now that it has a background */
.quote { padding: 28px; }
/* The buy box keeps its margin; the top hairline becomes a full glass edge */
.product-buy { padding: 24px; }

/* --- Filter / search bar: plain, no glass, no pill (v12) --- */
.filter-bar {
  width: auto;
  max-width: none;
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.chips {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.search-field {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

/* --- Upsell: one floating glass panel --- */
.upsell > .container {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}

/* --- Footer: oxblood, same as the hero headline highlight ("Real food.") --- */
.site-footer {
  background: var(--oxblood);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__social a {
  background: rgba(250, 246, 238, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* --- Mobile menu + sticky buy bar: frosted --- */
.mobile-menu {
  background: rgba(242, 236, 225, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}
.sticky-buy {
  background: rgba(250, 246, 238, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* =========================================================
   ROUND 5 — v4 FIX ROUND, 29 Nov 2026.
   1. Section heads: single column, no empty column.
   2. FAQ: real side padding so the first letter is never cut.
   3. Recipes page: padding + gutters, zero-count chips hidden.
   4. Mobile cards: titles fit, no overlap, clean chip wrap.
   5. Buy-button rows under shop selling sections.
   Same palette, same fonts, same copy. No animation removed.
   ========================================================= */

/* --- 1. Section heads: one column, heading + deck + link --- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head > .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  max-width: 22ch;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  letter-spacing: -0.035em;
}

.section-head .text-link {
  margin-top: 18px;
  margin-bottom: 0;
  justify-self: auto;
}

.section-head__deck {
  max-width: 62ch;
  margin-top: 16px;
}

/* The empty placeholder spans in section heads take no space. */
.section-head > span:empty {
  display: none;
}

/* --- 2. FAQ: text clears the card edge --- */
.faq__item summary {
  padding: 22px 24px;
}

.faq__answer {
  padding: 0 24px 24px;
}

/* --- 3. Recipes page: padding + gutters --- */
.filter-bar__inner {
  padding-block: 12px;
}

.archive-grid {
  padding-block: clamp(32px, 4vw, 48px) clamp(72px, 9vw, 120px);
}

.archive-meta {
  padding-inline: 2px;
}

/* Zero-result filter chips never show (JS adds .chip--empty too). */
.chip--empty {
  display: none;
}

/* --- 4. Mobile cards: titles fit, chips wrap cleanly --- */
@media (max-width: 680px) {
  .section-head h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .recipe-grid {
    gap: 24px 16px;
  }

  .recipe-card__body {
    padding: 20px 20px 10px;
  }

  .recipe-card__body h3 {
    line-height: 1.18;
  }

  /* Mobile recipe cards show the title only, no description. */
  .recipe-card__body .deck {
    display: none;
  }

  .recipe-card--wide .recipe-card__body .deck {
    display: none;
  }

  .recipe-card--lead .recipe-card__body h3 {
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .filter-bar__inner {
    gap: 12px;
    padding-block: 14px;
  }

  .chips {
    max-width: 100%;
  }

  .search-field {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .recipe-card__body h3 {
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .recipe-card__body .deck {
    font-size: 0.82rem;
  }

  .recipe-card__body .meta {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .recipe-grid {
    gap: 32px;
  }
}

/* --- 5. Buy-button rows under shop selling sections --- */
.section-cta {
  margin-top: clamp(28px, 4vw, 44px);
}

.section-cta .btn {
  min-height: 52px;
}


/* =========================================================
   ROUND v14 — 29 Nov 2026.
   1. Header pill compacts on scroll: the nav links fade out
      and collapse, the pill gets shorter. Full pill again at
      the very top of the page.
   2. Testimonials run as an endless horizontal loop with a
      fade at both ends (mask), pausing on hover.
   ========================================================= */

/* --- 1. Compact header on scroll --- */
.masthead__inner {
  transition: min-height 0.35s ease, gap 0.35s ease, padding-inline 0.35s ease;
}
.masthead .nav {
  max-width: 480px;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.3s ease, max-width 0.35s ease, visibility 0.3s;
}
.masthead.is-compact {
  width: max-content;
  max-width: calc(100% - 24px);
}
.masthead.is-compact .masthead__inner {
  min-height: 56px;
  gap: 20px;
  padding-inline: 28px;
}
.masthead.is-compact .nav {
  max-width: 0;
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 680px) {
  .masthead.is-compact .masthead__inner {
    min-height: 50px;
    gap: 16px;
    padding-inline: 20px;
  }
}
/* Sticky elements track the shorter pill once scrolled. */
body.is-scrolled .filter-bar { top: 80px; }
body.is-scrolled .recipe-aside { top: 104px; }
body.is-scrolled .protein-feature__intro { top: 108px; }

/* --- 2. Testimonials: infinite horizontal loop, faded ends --- */
.quotes {
  display: block;
  overflow: hidden;
  border-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.quotes__track {
  display: flex;
  width: max-content;
  animation: quotes-scroll 36s linear infinite;
}
.quotes:hover .quotes__track {
  animation-play-state: paused;
}
@keyframes quotes-scroll {
  to { transform: translateX(-50%); }
}
.quotes .quote {
  flex: none;
  width: min(430px, 84vw);
  margin-inline: 12px;
  padding: 32px 32px 8px;
}
.quotes .quote + .quote {
  border-left: 0;
}
@media (prefers-reduced-motion: reduce) {
  .quotes__track { animation: none; }
  .masthead__inner,
  .masthead .nav { transition: none; }
}

/* =========================================================
   ROUND v15 — 29 Nov 2026. LAST ROUND.
   Reveal variety: the same lightweight 250ms opacity +
   transform transition, but a different move per element.
   Bare data-reveal keeps the default rise. Exit animations
   are deliberately NOT added: un-revealing on scroll-out
   would risk hiding buttons again (the v11 shop CTA glitch),
   so everything stays visible once seen.
   ========================================================= */

/* --- Reveal variants --- */
.js [data-reveal="in"] { transform: none; }
.js [data-reveal="down"] { transform: translateY(-14px); }
.js [data-reveal="left"] { transform: translateX(-16px); }
.js [data-reveal="right"] { transform: translateX(16px); }
.js [data-reveal="zoom"] { transform: scale(0.96); }
.js [data-reveal="up"] { transform: translateY(12px); }

/* =========================================================
   ROUND v16 — 29 Nov 2026.
   1. Smooth pill shrink: the width was snapping because
      calc(100% - 32px) -> max-content cannot interpolate.
      interpolate-size: allow-keywords lets the browser
      animate between the two, and width now joins the
      transition with a soft ease. The nav collapses by
      width instead of max-width for the same reason.
   2. Opening on load: the header drops in, the hero
      staggers up, the hero photo settles from a slight
      zoom. Pure CSS keyframes, no new DOM, no JS.
   ========================================================= */

/* --- 1. Smooth shrink --- */
.masthead {
  interpolate-size: allow-keywords;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s var(--ease);
}
.masthead__inner {
  transition: min-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), gap 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding-inline 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.masthead .nav {
  width: max-content;
  max-width: none;
  interpolate-size: allow-keywords;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s;
}
.masthead.is-compact .nav {
  width: 0;
  max-width: none;
  opacity: 0;
  visibility: hidden;
}

/* --- 2. Opening on load --- */
@keyframes masthead-drop {
  from { opacity: 0; transform: translateY(-120%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-settle {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}
.masthead { animation: masthead-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
.hero__copy h1 { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both; }
.hero__deck { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.25s both; }
.hero__cta { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.35s both; }
.hero__proof { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.45s both; }
.hero__media { animation: hero-photo-settle 1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s both; }
.hero__media .macro-card { animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.6s both; }

@media (prefers-reduced-motion: reduce) {
  .masthead, .masthead__inner, .masthead .nav { transition: none; }
  .masthead, .hero__copy h1, .hero__deck, .hero__cta, .hero__proof, .hero__media, .hero__media .macro-card { animation: none; }
}

/* =========================================================
   ROUND v17 — 29 Nov 2026.
   Loading page (splash): a full-screen deep sage screen
   with three green food photos, the brand name, and a
   loading bar. It lifts once the page has loaded. First
   visit per tab session only — repeat visits skip it
   (the head script adds .no-splash). If JS never runs,
   a CSS fallback still lifts it after 4.5s.
   ========================================================= */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3f4c38;
  color: #faf6ee;
  transition: opacity 0.6s ease, visibility 0.6s;
  animation: splash-auto-out 0.6s ease 4.5s forwards;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-splash .splash { display: none; }
@keyframes splash-auto-out { to { opacity: 0; visibility: hidden; } }
.splash__inner { text-align: center; padding: 24px; }
.splash__imgs { display: flex; gap: 14px; justify-content: center; margin-bottom: 30px; }
.splash__imgs img { width: clamp(96px, 17vw, 168px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.splash__brand { font-family: var(--font-display, "Libre Bodoni", serif); font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.splash__tag { margin: 14px 0 0; font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.75; }
.splash__bar { display: block; width: 180px; height: 2px; margin: 30px auto 0; overflow: hidden; border-radius: 2px; background: rgba(250, 246, 238, 0.25); }
.splash__bar span { display: block; height: 100%; width: 40%; background: #faf6ee; border-radius: 2px; animation: splash-bar 1.1s ease-in-out infinite; }
@keyframes splash-bar { 0% { transform: translateX(-110%); } 100% { transform: translateX(460%); } }
@media (max-width: 680px) {
  .splash__imgs { gap: 10px; margin-bottom: 24px; }
  .splash__imgs img { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; transition: none; }
  .splash__bar span { animation: none; }
}

/* =========================================================
   ROUND v18 — 29 Nov 2026.
   1. Header: no more shrink. It hides on scroll down and
      pops back in on scroll up (smooth). Always visible
      at the top and while the mobile menu is open.
   2. Appearance animations slowed + smoothed (reveals
      250ms -> 650ms, hero entrances ~1.1-1.4s).
   3. Loading page smoother (lift 0.6s -> 1s, bar slower)
      and oxblood like the footer. Photos scattered
      around at random angles instead of a neat row.
   ========================================================= */

/* --- 1. Hide/show header --- */
.masthead {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.25s var(--ease);
  animation: none;
}
.masthead.is-offscreen {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.35s ease, box-shadow 0.25s var(--ease);
}
/* Sticky elements track the full pill again, and rise up
   when the header is hidden. */
body.is-scrolled .filter-bar { top: 88px; }
body.is-scrolled .recipe-aside { top: 112px; }
body.is-scrolled .protein-feature__intro { top: 116px; }
body.is-header-hidden .filter-bar { top: 12px; }
body.is-header-hidden .recipe-aside { top: 36px; }
body.is-header-hidden .protein-feature__intro { top: 40px; }

/* --- 2. Slower, smoother appearance --- */
.js [data-reveal] {
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}
.hero__copy h1 { animation: rise-in 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both; }
.hero__deck { animation: rise-in 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.25s both; }
.hero__cta { animation: rise-in 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.35s both; }
.hero__proof { animation: rise-in 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.45s both; }
.hero__media { animation: hero-photo-settle 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s both; }
.hero__media .macro-card { animation: rise-in 1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.6s both; }

/* --- 3. Loading page: oxblood, smoother, scattered photos --- */
.splash {
  background: var(--oxblood);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s;
  animation: splash-auto-out 1s ease 4.5s forwards;
}
.splash__imgs { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.splash__imgs img {
  position: absolute;
  width: clamp(110px, 16vw, 190px);
  margin: 0;
}
.splash__imgs img:nth-child(1) { top: 11%; left: 8%; transform: rotate(-7deg); animation: splash-float 5s ease-in-out 0.6s infinite alternate; }
.splash__imgs img:nth-child(2) { top: 9%; right: 7%; transform: rotate(6deg); animation: splash-float 6s ease-in-out 1.2s infinite alternate; }
.splash__imgs img:nth-child(3) { bottom: 9%; left: 13%; transform: rotate(4deg); animation: splash-float 5.5s ease-in-out 0.2s infinite alternate; }
@keyframes splash-float { from { translate: 0 0; } to { translate: 0 -12px; } }
.splash__bar span { animation-duration: 1.6s; }
@media (max-width: 680px) {
  .splash__imgs img { width: clamp(72px, 22vw, 110px); border-radius: 14px; }
  .splash__imgs img:nth-child(1) { top: 7%; left: 5%; }
  .splash__imgs img:nth-child(2) { top: 9%; right: 5%; }
  .splash__imgs img:nth-child(3) { bottom: 7%; left: 7%; }
}

@media (prefers-reduced-motion: reduce) {
  .masthead, .masthead__inner, .masthead .nav { transition: none; }
  .js [data-reveal] { transition: none; }
  .masthead, .hero__copy h1, .hero__deck, .hero__cta, .hero__proof, .hero__media, .hero__media .macro-card { animation: none; }
  .splash { animation: none; transition: none; }
  .splash__imgs img { animation: none; }
  .splash__bar span { animation: none; }
}

/* =========================================================
   ROUND v19 — 29 Nov 2026.
   Splash photos: the 3 generated green-background images
   are replaced by 6 real recipe photos already used on
   the site (bbq chicken, teriyaki salmon, baked eggs,
   shakshuka, beef chilli, tuna edamame). They fly in from
   outside the screen, each from its own side, staggered,
   and settle at scattered angles. The splash stays a
   touch longer (2s after load) so the entrance reads.
   ========================================================= */

/* Six photos, scattered around the brand. */
.splash__imgs img { width: clamp(104px, 14vw, 180px); }
.splash__imgs img:nth-child(1) { top: 8%; left: 6%; --fr: -7deg; --fx: -50vw; --fy: -12vh; transform: rotate(var(--fr)); animation: splash-float 5s ease-in-out 1.1s infinite alternate, splash-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.05s both; }
.splash__imgs img:nth-child(2) { top: 6%; right: 6%; --fr: 6deg; --fx: 50vw; --fy: -12vh; transform: rotate(var(--fr)); animation: splash-float 6s ease-in-out 1.2s infinite alternate, splash-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both; }
.splash__imgs img:nth-child(3) { top: 38%; left: 3%; --fr: 4deg; --fx: -50vw; --fy: 0; transform: rotate(var(--fr)); animation: splash-float 5.5s ease-in-out 1.3s infinite alternate, splash-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.25s both; }
.splash__imgs img:nth-child(4) { top: 36%; right: 3%; --fr: -5deg; --fx: 50vw; --fy: 0; transform: rotate(var(--fr)); animation: splash-float 5s ease-in-out 1.4s infinite alternate, splash-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.35s both; }
.splash__imgs img:nth-child(5) { bottom: 7%; left: 10%; --fr: -4deg; --fx: -50vw; --fy: 22vh; transform: rotate(var(--fr)); animation: splash-float 6s ease-in-out 1.5s infinite alternate, splash-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.45s both; }
.splash__imgs img:nth-child(6) { bottom: 8%; right: 9%; --fr: 7deg; --fx: 50vw; --fy: 22vh; transform: rotate(var(--fr)); animation: splash-float 5.5s ease-in-out 1.6s infinite alternate, splash-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.55s both; }
@keyframes splash-fly-in {
  from { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); opacity: 0; }
  to { transform: translate(0, 0) rotate(var(--fr)); opacity: 1; }
}
@media (max-width: 680px) {
  .splash__imgs img { width: clamp(64px, 19vw, 96px); }
  .splash__imgs img:nth-child(1) { top: 6%; left: 4%; }
  .splash__imgs img:nth-child(2) { top: 8%; right: 4%; }
  .splash__imgs img:nth-child(3) { top: 40%; left: 2%; }
  .splash__imgs img:nth-child(4) { top: 42%; right: 2%; }
  .splash__imgs img:nth-child(5) { bottom: 6%; left: 6%; }
  .splash__imgs img:nth-child(6) { bottom: 8%; right: 5%; }
}

/* =========================================================
   ROUND v20 — 29 Nov 2026.
   Loading page, mobile responsive. On small screens the
   six photos sit in two neat rows (three on top, three
   at the bottom) instead of scattered at the sides, so
   they never touch the centred brand text. Brand, tagline
   and loading bar all shrink to fit.
   ========================================================= */
@media (max-width: 680px) {
  .splash__inner { padding: 16px; }
  .splash__brand { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .splash__tag { font-size: 0.65rem; letter-spacing: 0.3em; }
  .splash__bar { width: 140px; margin-top: 24px; }
  .splash__imgs img { width: clamp(56px, 16vw, 72px); border-radius: 12px; }
  /* Top row. */
  .splash__imgs img:nth-child(1) { top: 7%; left: 5%; --fx: -50vw; --fy: -12vh; }
  .splash__imgs img:nth-child(2) { top: 7%; left: 42%; right: auto; --fx: 0; --fy: -40vh; }
  .splash__imgs img:nth-child(3) { top: 7%; left: auto; right: 5%; --fx: 50vw; --fy: -12vh; }
  /* Bottom row. */
  .splash__imgs img:nth-child(4) { top: auto; bottom: 7%; left: 5%; right: auto; --fx: -50vw; --fy: 22vh; }
  .splash__imgs img:nth-child(5) { top: auto; bottom: 7%; left: 42%; --fx: 0; --fy: 40vh; }
  .splash__imgs img:nth-child(6) { top: auto; bottom: 7%; left: auto; right: 5%; --fx: 50vw; --fy: 22vh; }
}

/* =========================================================
   ROUND v21 — 29 Nov 2026.
   1. Loading photos: a touch bigger, slightly more random
      places (desktop scatter + staggered mobile rows).
   2. Header restyled like the loading page: full-width
      oxblood bar, recipe photos on both sides, all text
      centred — brand heading + tagline subtext on top,
      nav links + checkout button centred below.
   ========================================================= */

/* --- 1. Loading photos: bigger + more random --- */
.splash__imgs img { width: clamp(120px, 16vw, 210px); }
.splash__imgs img:nth-child(1) { top: 6%; left: 5%; }
.splash__imgs img:nth-child(2) { top: 10%; right: 8%; }
.splash__imgs img:nth-child(3) { top: 41%; left: 2%; }
.splash__imgs img:nth-child(4) { top: 33%; right: 4%; }
.splash__imgs img:nth-child(5) { bottom: 6%; left: 12%; }
.splash__imgs img:nth-child(6) { bottom: 10%; right: 7%; }
@media (max-width: 680px) {
  .splash__imgs img { width: clamp(68px, 19vw, 88px); }
  .splash__imgs img:nth-child(1) { top: 6%; left: 4%; }
  .splash__imgs img:nth-child(2) { top: 9%; left: 41%; }
  .splash__imgs img:nth-child(3) { top: 6%; left: auto; right: 4%; }
  .splash__imgs img:nth-child(4) { top: auto; bottom: 9%; left: 4%; }
  .splash__imgs img:nth-child(5) { bottom: 6%; left: 41%; }
  .splash__imgs img:nth-child(6) { bottom: 9%; right: 4%; }
}

/* =========================================================
   ROUND v22 — 29 Nov 2026. CORRECTION: the header was NOT
   supposed to change — the HERO was. Header reverted to
   the v19 floating pill (the v21 header CSS was cut from
   this file, the photo spans + bottom wrapper removed from
   all 32 pages). Hero restyled like the loading page:
   photos on the sides, ALL text centred. Colours and text
   UNCHANGED — layout only.
   ========================================================= */
@media (min-width: 1121px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr) minmax(0, 0.7fr);
    align-items: center;
  }
  .hero__copy { text-align: center; align-items: center; }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 5.4rem); }
  .hero__proof b { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.1rem); }
  .hero__cta { justify-content: center; }
  .hero__proof { width: 100%; text-align: center; }
  .hero__media img { aspect-ratio: 4 / 5; object-fit: cover; }
}
@media (max-width: 1120px) {
  .hero__media--left { display: none; }
}

/* =========================================================
   ROUND v23 — 29 Nov 2026.
   Right hero block moved down a little, and 6 small food
   photos added around it that fly in from outside
   (same style as the loading page). Desktop + mobile.
   ========================================================= */
.hero { overflow: clip; }
.hero__side-photos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__side-photos img {
  position: absolute;
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 253, 248, 0.8);
  box-shadow: 0 8px 20px rgba(25, 23, 16, 0.18);
  opacity: 0;
  animation: hero-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes hero-fly-in {
  from { transform: translate(var(--fx, 0), var(--fy, 0)) rotate(var(--fr, 0deg)); opacity: 0; }
  to { transform: translate(0, 0) rotate(var(--fr, 0deg)); opacity: 1; }
}
.macro-card { z-index: 3; }
/* Desktop: right block down a touch; photos scattered
   across the top + right side, clear of the macro card
   (bottom-left) and the caption (bottom strip). */
@media (min-width: 1121px) {
  .hero__media:not(.hero__media--left) { top: 28px; }
  .hero__side-photos img:nth-child(1) { top: -46px; left: -28px; --fx: -40vw; --fy: -10vh; --fr: -6deg; animation-delay: 0.30s; }
  .hero__side-photos img:nth-child(2) { top: -54px; left: 30%; --fx: 0; --fy: -40vh; --fr: 4deg; animation-delay: 0.42s; }
  .hero__side-photos img:nth-child(3) { top: -46px; right: 24%; --fx: 30vw; --fy: -30vh; --fr: -4deg; animation-delay: 0.54s; }
  .hero__side-photos img:nth-child(4) { top: -30px; right: -28px; --fx: 40vw; --fy: -10vh; --fr: 6deg; animation-delay: 0.66s; }
  .hero__side-photos img:nth-child(5) { top: 34%; right: -32px; --fx: 40vw; --fy: 0; --fr: -5deg; animation-delay: 0.78s; }
  .hero__side-photos img:nth-child(6) { bottom: 18%; right: -28px; --fx: 40vw; --fy: 20vh; --fr: 5deg; animation-delay: 0.90s; }
}
@media (max-width: 1120px) {
  .hero__side-photos img { width: 52px; height: 52px; border-radius: 12px; }
  .hero__side-photos img:nth-child(1) { top: -16px; left: -6px; --fx: -40vw; --fy: -10vh; --fr: -6deg; animation-delay: 0.30s; }
  .hero__side-photos img:nth-child(2) { top: -20px; left: 32%; --fx: 0; --fy: -40vh; --fr: 4deg; animation-delay: 0.42s; }
  .hero__side-photos img:nth-child(3) { top: -16px; right: 26%; --fx: 30vw; --fy: -30vh; --fr: -4deg; animation-delay: 0.54s; }
  .hero__side-photos img:nth-child(4) { top: -18px; right: -6px; --fx: 40vw; --fy: -10vh; --fr: 6deg; animation-delay: 0.66s; }
  .hero__side-photos img:nth-child(5) { top: 24%; right: -8px; --fx: 40vw; --fy: 0; --fr: -5deg; animation-delay: 0.78s; }
  .hero__side-photos img:nth-child(6) { top: 24%; left: -6px; --fx: -40vw; --fy: 0; --fr: 5deg; animation-delay: 0.90s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__side-photos img { opacity: 1 !important; animation: none !important; }
}

/* =========================================================
   ROUND v24 — 29 Nov 2026.
   Correction: 3 small photos on EACH side of the hero
   (like the loading page: 3 left + 3 right), not all 6
   on the right. Plus an animated cursor that flies in,
   stops on the harissa photo, and the macro detail card
   appears when it arrives. Same on mobile, photos a
   touch bigger (64px, was 52px).
   ========================================================= */
/* The macro card appears when the cursor arrives (~2.3s). */
.hero__media .macro-card { animation: rise-in 1s cubic-bezier(0.2, 0.7, 0.3, 1) 2.3s both; }
/* Animated cursor: flies in from outside, travels to the
   harissa photo, stops on it (hover), a ring pulses once. */
.hero__cursor {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  animation: hero-cursor 2.2s cubic-bezier(0.2, 0.7, 0.3, 1) 1s both;
}
.hero__cursor svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 4px rgba(25, 23, 16, 0.35)); }
.hero__cursor::after {
  content: "";
  position: absolute;
  left: -5px; top: -6px;
  width: 18px; height: 18px;
  border: 2px solid var(--oxblood);
  border-radius: 50%;
  opacity: 0;
  animation: cursor-ring 0.7s ease-out 2.3s both;
}
@keyframes hero-cursor {
  0% { transform: translate(45vw, 30vh) rotate(-10deg); opacity: 0; }
  10% { opacity: 1; }
  35% { transform: translate(16vw, 10vh) rotate(-5deg); opacity: 1; }
  60% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes cursor-ring {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(2.2); opacity: 0; }
}
@media (min-width: 1121px) {
  /* Left side: 3 photos around the salmon photo. */
  .hero__media--left .hero__side-photos img:nth-child(1) { top: -28px; left: -28px; --fx: -40vw; --fy: -10vh; --fr: -6deg; animation-delay: 0.30s; }
  .hero__media--left .hero__side-photos img:nth-child(2) { top: 36%; left: -32px; --fx: -40vw; --fy: 0; --fr: 5deg; animation-delay: 0.54s; }
  .hero__media--left .hero__side-photos img:nth-child(3) { bottom: -12px; left: -24px; --fx: -40vw; --fy: 20vh; --fr: -4deg; animation-delay: 0.78s; }
  /* Right side: 3 photos around the harissa photo. */
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(1) { top: -30px; right: -28px; --fx: 40vw; --fy: -10vh; --fr: 6deg; animation-delay: 0.42s; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(2) { top: 34%; right: -32px; --fx: 40vw; --fy: 0; --fr: -5deg; animation-delay: 0.66s; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(3) { bottom: 18%; right: -28px; --fx: 40vw; --fy: 20vh; --fr: 5deg; animation-delay: 0.90s; }
  /* The 3 mobile-only duplicates stay hidden on desktop. */
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(n+4) { display: none; }
  /* Cursor rests on the harissa photo (clear of the card). */
  .hero__cursor { left: 72%; top: 16%; width: 28px; }
}
@media (max-width: 1120px) {
  .hero__media .hero__side-photos img { width: 64px; height: 64px; }
  /* Right edge of the photo: the 3 desktop photos. */
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(1) { top: -16px; right: -6px; --fx: 40vw; --fy: -10vh; --fr: 6deg; animation-delay: 0.42s; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(2) { top: 11%; right: -8px; --fx: 40vw; --fy: 0; --fr: -5deg; animation-delay: 0.66s; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(3) { top: 25%; right: -6px; --fx: 40vw; --fy: 10vh; --fr: 5deg; animation-delay: 0.90s; }
  /* Left edge of the photo: the 3 mobile-only duplicates. */
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(4) { top: -16px; left: -6px; --fx: -40vw; --fy: -10vh; --fr: -6deg; animation-delay: 0.30s; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(5) { top: 11%; left: -8px; --fx: -40vw; --fy: 0; --fr: 5deg; animation-delay: 0.54s; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(6) { top: 25%; left: -6px; --fx: -40vw; --fy: 10vh; --fr: -4deg; animation-delay: 0.78s; }
  .hero__cursor { left: 60%; top: 20%; width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cursor { display: none !important; }
  .hero__media .macro-card { animation: none !important; }
  .hero__side-photos img { opacity: 1 !important; animation: none !important; }
}

/* ROUND v24 fix — 29 Nov 2026.
   The v23 rules set left/top on the same photos, and CSS
   lets left beat right and top beat bottom when the size
   is fixed. So every v24 position now states all four
   offsets explicitly (auto for the unused ones). */
@media (min-width: 1121px) {
  .hero__media--left .hero__side-photos img:nth-child(1) { top: -28px; right: auto; bottom: auto; left: -28px; }
  .hero__media--left .hero__side-photos img:nth-child(2) { top: 36%; right: auto; bottom: auto; left: -32px; }
  .hero__media--left .hero__side-photos img:nth-child(3) { top: auto; right: auto; bottom: -12px; left: -24px; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(1) { top: -30px; right: -28px; bottom: auto; left: auto; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(2) { top: 34%; right: -32px; bottom: auto; left: auto; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(3) { top: auto; right: -28px; bottom: 18%; left: auto; }
}
@media (max-width: 1120px) {
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(1) { top: -30px; right: -6px; bottom: auto; left: auto; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(2) { top: 10%; right: -8px; bottom: auto; left: auto; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(3) { top: 25%; right: -6px; bottom: auto; left: auto; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(4) { top: -30px; right: auto; bottom: auto; left: -6px; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(5) { top: 10%; right: auto; bottom: auto; left: -8px; }
  .hero__media:not(.hero__media--left) .hero__side-photos img:nth-child(6) { top: 25%; right: auto; bottom: auto; left: -6px; }
}

/* =========================================================
   ROUND v25 — 29 Nov 2026. His order: remove the two big
   hero photos completely; the hero is now just the centred
   text with 6 big images around it, like the loading page
   (same 6 recipe photos). The cursor + macro-card detail
   moves to a spotlight block in "From the kitchen", and
   plays when it scrolls into view. Same on mobile:
   3 images above the text, 3 below, like the loading
   page on mobile. */
.hero { position: relative; overflow: clip; min-height: 620px; }
.hero__grid { grid-template-columns: 1fr; }
.hero__copy { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.hero__surround { position: absolute; top: 0; bottom: 0; width: clamp(200px, 24vw, 340px); pointer-events: none; }
.hero__surround--left { left: 0; }
.hero__surround--right { right: 0; }
.hero__surround img {
  position: absolute;
  box-sizing: border-box;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #fffdf8;
  box-shadow: 0 12px 32px rgba(25, 23, 16, 0.18);
  opacity: 0;
  animation: hero-fly-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.hero__surround--left img:nth-child(1) { top: 12%; left: 16px; width: clamp(130px, 13vw, 190px); --fx: -40vw; --fy: -10vh; --fr: -6deg; animation-delay: 0.05s; }
.hero__surround--left img:nth-child(2) { top: 42%; left: 16px; width: clamp(110px, 11vw, 150px); --fx: -40vw; --fy: 0; --fr: 5deg; animation-delay: 0.25s; }
.hero__surround--left img:nth-child(3) { top: 66%; left: 16px; width: clamp(120px, 12vw, 170px); --fx: -40vw; --fy: 20vh; --fr: -4deg; animation-delay: 0.45s; }
.hero__surround--right img:nth-child(1) { top: 10%; right: 16px; width: clamp(120px, 12vw, 170px); --fx: 40vw; --fy: -10vh; --fr: 6deg; animation-delay: 0.15s; }
.hero__surround--right img:nth-child(2) { top: 38%; right: 16px; width: clamp(130px, 13vw, 180px); --fx: 40vw; --fy: 0; --fr: -5deg; animation-delay: 0.35s; }
.hero__surround--right img:nth-child(3) { top: 66%; right: 16px; width: clamp(130px, 13vw, 190px); --fx: 40vw; --fy: 20vh; --fr: 7deg; animation-delay: 0.55s; }

/* Spotlight: harissa photo + cursor + macro card, in
   "From the kitchen". Plays when it scrolls into view. */
.spotlight { position: relative; max-width: 780px; margin: 56px auto 0; }
.spotlight > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }
.spotlight__caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.spotlight__cursor { position: absolute; z-index: 4; left: 68%; top: 22%; width: 28px; pointer-events: none; opacity: 0; }
.spotlight__cursor svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 4px rgba(25, 23, 16, 0.35)); }
.spotlight__cursor::after { content: ""; position: absolute; left: -5px; top: -6px; width: 18px; height: 18px; border: 2px solid var(--oxblood); border-radius: 50%; opacity: 0; }
@keyframes spotlight-cursor {
  0% { transform: translate(18vw, 12vh) rotate(-10deg); opacity: 0; }
  10% { opacity: 1; }
  35% { transform: translate(6vw, 4vh) rotate(-5deg); opacity: 1; }
  60% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
.spotlight .macro-card { opacity: 0; }
.spotlight.is-visible .spotlight__cursor { animation: spotlight-cursor 2.2s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s both; }
.spotlight.is-visible .spotlight__cursor::after { animation: cursor-ring 0.7s ease-out 1.6s both; }
.spotlight.is-visible .macro-card { animation: rise-in 1s cubic-bezier(0.2, 0.7, 0.3, 1) 1.6s both; }

@media (max-width: 1120px) {
  .hero { min-height: 0; }
  .hero__surround { position: static; width: auto; display: flex; justify-content: center; gap: 10px; }
  .hero__surround img { position: static; }
  .hero__surround--left img:nth-child(1), .hero__surround--left img:nth-child(2), .hero__surround--left img:nth-child(3),
  .hero__surround--right img:nth-child(1), .hero__surround--right img:nth-child(2), .hero__surround--right img:nth-child(3) { width: clamp(92px, 27vw, 116px); }
  .hero__surround--left img:nth-child(1) { --fx: -20vw; --fy: -18vh; --fr: -6deg; animation-delay: 0.05s; }
  .hero__surround--left img:nth-child(2) { --fx: 0; --fy: -18vh; --fr: 4deg; animation-delay: 0.15s; }
  .hero__surround--left img:nth-child(3) { --fx: 20vw; --fy: -18vh; --fr: -4deg; animation-delay: 0.25s; }
  .hero__surround--right img:nth-child(1) { --fx: -20vw; --fy: 18vh; --fr: 6deg; animation-delay: 0.35s; }
  .hero__surround--right img:nth-child(2) { --fx: 0; --fy: 18vh; --fr: -5deg; animation-delay: 0.45s; }
  .hero__surround--right img:nth-child(3) { --fx: 20vw; --fy: 18vh; --fr: 7deg; animation-delay: 0.55s; }
  .spotlight { margin-top: 40px; }
  .spotlight__cursor { left: 62%; top: 24%; width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__surround img { animation: none; opacity: 1; }
  .spotlight__cursor { display: none !important; }
  .spotlight .macro-card { animation: none !important; opacity: 1; }
}

/* =========================================================
   ROUND v26 — 29 Nov 2026. His order: mobile shows the
   SAME side layout as desktop (images on the sides,
   text in the middle), not the stacked 3+3 rows. A phone
   is 390px, so the side images shrink to ~62px and the
   centre text scales down; the arrangement is the same. */
@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: clamp(56px, 16vw, 72px) minmax(0, 1fr) clamp(56px, 16vw, 72px); gap: 14px; align-items: stretch; }
  .hero__surround { flex-direction: column; justify-content: space-between; align-items: center; }
  .hero__surround--left img:nth-child(1), .hero__surround--left img:nth-child(2), .hero__surround--left img:nth-child(3),
  .hero__surround--right img:nth-child(1), .hero__surround--right img:nth-child(2), .hero__surround--right img:nth-child(3) { width: clamp(56px, 16vw, 72px); }
  .hero__surround--left img:nth-child(1) { --fx: -40vw; --fy: -10vh; --fr: -6deg; animation-delay: 0.05s; }
  .hero__surround--left img:nth-child(2) { --fx: -40vw; --fy: 0; --fr: 5deg; animation-delay: 0.25s; }
  .hero__surround--left img:nth-child(3) { --fx: -40vw; --fy: 20vh; --fr: -4deg; animation-delay: 0.45s; }
  .hero__surround--right img:nth-child(1) { --fx: 40vw; --fy: -10vh; --fr: 6deg; animation-delay: 0.15s; }
  .hero__surround--right img:nth-child(2) { --fx: 40vw; --fy: 0; --fr: -5deg; animation-delay: 0.35s; }
  .hero__surround--right img:nth-child(3) { --fx: 40vw; --fy: 20vh; --fr: 7deg; animation-delay: 0.55s; }
  .hero h1 { font-size: clamp(1.35rem, 6vw, 2.4rem); }
  .hero__deck { font-size: 0.92rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { font-size: 0.72rem; padding: 12px 10px; }
  .hero__proof { display: flex; flex-direction: column; gap: 10px; }
  .hero__proof > div { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 0; }
  .hero__proof > div + div { border-left: 0; padding-left: 0; }
  .hero__proof b { font-size: 1.3rem; }
  .hero__proof span { margin-top: 0; }
}

/* =========================================================
   ROUND v26 — 29 Nov 2026. His order: the floating pill
   (masthead) shorter in length and a bit thicker, nothing
   removed. Desktop: max-width 1360 -> 1080px, inner
   min-height 64 -> 76px. Mobile: inner 60 -> 72px, length
   unchanged (brand + button already fill it). Sticky
   clearances grow by the same 12px so nothing slides
   under the taller pill. */
:root { --head-h: 98px; }
.masthead { max-width: 1080px; }
.masthead__inner { min-height: 76px; }
.filter-bar { top: 100px; }
.recipe-aside { top: 124px; }
.protein-feature__intro { top: 128px; }
section[id], div[id] { scroll-margin-top: 112px; }
[data-archive] { scroll-margin-top: 112px; }
body.is-scrolled .filter-bar { top: 100px; }
body.is-scrolled .recipe-aside { top: 124px; }
body.is-scrolled .protein-feature__intro { top: 128px; }
@media (max-width: 960px) { :root { --head-h: 82px; } }
@media (max-width: 680px) { .masthead__inner { min-height: 72px; } }

/* =========================================================
   ROUND v27 — 29 Nov 2026. His order: mosaic collage on
   mobile (the v25 stacked rows looked plain, the v26 side
   layout was cramped). The 6 photos become one 3x2 mosaic
   block ABOVE the text: display:contents turns the two
   surround divs into plain image carriers, the copy drops
   to row 3 full-width. Text is back to full size (big H1,
   full-width buttons, 3-column proof). The grid is capped
   at 600px so the mosaic never gets huge on tablets.
   Desktop unchanged (stackup + pill stay). */
@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; max-width: 600px; margin-inline: auto; }
  .hero__surround { display: contents; }
  .hero__copy { grid-row: 3; grid-column: 1 / -1; margin-top: 20px; }
  .hero__surround--left img:nth-child(1), .hero__surround--left img:nth-child(2), .hero__surround--left img:nth-child(3),
  .hero__surround--right img:nth-child(1), .hero__surround--right img:nth-child(2), .hero__surround--right img:nth-child(3) { width: 100%; }
  .hero__surround--left img:nth-child(1) { --fx: -20vw; --fy: -18vh; --fr: -6deg; animation-delay: 0.05s; }
  .hero__surround--left img:nth-child(2) { --fx: 0; --fy: -18vh; --fr: 4deg; animation-delay: 0.15s; }
  .hero__surround--left img:nth-child(3) { --fx: 20vw; --fy: -18vh; --fr: -4deg; animation-delay: 0.25s; }
  .hero__surround--right img:nth-child(1) { --fx: -20vw; --fy: 18vh; --fr: 6deg; animation-delay: 0.35s; }
  .hero__surround--right img:nth-child(2) { --fx: 0; --fy: 18vh; --fr: -5deg; animation-delay: 0.45s; }
  .hero__surround--right img:nth-child(3) { --fx: 20vw; --fy: 18vh; --fr: 7deg; animation-delay: 0.55s; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 4.5rem); }
  .hero__deck { font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { font-size: 10.5px; padding: 14px 24px; }
  .hero__proof { display: grid; }
  .hero__proof > div { display: block; padding: 14px 10px 0 0; }
  .hero__proof > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
  .hero__proof b { font-size: 1.55rem; }
  .hero__proof span { margin-top: 6px; }
}

/* =========================================================
   ROUND v28 — 29 Nov 2026. His order: 3 images above, 3
   below, text in the centre. (The v27 mosaic put all 6
   above the text; he wants them framing the text.) This
   keeps the mosaic look (tilted collage, full-size text)
   but splits it 3+3 around the copy, TIGHT: the rows hug
   the text (20px) instead of the loose v25 spacing. */
@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: 1fr; gap: 0; max-width: none; }
  .hero__surround { display: flex; flex-direction: row; justify-content: center; gap: 8px; }
  .hero__copy { grid-row: auto; grid-column: auto; margin-top: 20px; margin-bottom: 20px; }
  .hero__surround--left img:nth-child(1), .hero__surround--left img:nth-child(2), .hero__surround--left img:nth-child(3),
  .hero__surround--right img:nth-child(1), .hero__surround--right img:nth-child(2), .hero__surround--right img:nth-child(3) { width: clamp(92px, 27vw, 116px); }
  .hero__surround--left img:nth-child(1) { --fx: -20vw; --fy: -18vh; --fr: -6deg; animation-delay: 0.05s; }
  .hero__surround--left img:nth-child(2) { --fx: 0; --fy: -18vh; --fr: 4deg; animation-delay: 0.15s; }
  .hero__surround--left img:nth-child(3) { --fx: 20vw; --fy: -18vh; --fr: -4deg; animation-delay: 0.25s; }
  .hero__surround--right img:nth-child(1) { --fx: -20vw; --fy: 18vh; --fr: 6deg; animation-delay: 0.35s; }
  .hero__surround--right img:nth-child(2) { --fx: 0; --fy: 18vh; --fr: -5deg; animation-delay: 0.45s; }
  .hero__surround--right img:nth-child(3) { --fx: 20vw; --fy: 18vh; --fr: 7deg; animation-delay: 0.55s; }
  .hero__proof b { font-size: 1.35rem; }
}

/* =========================================================
   ROUND v29 — 29 Nov 2026. His verdict: the v27 mosaic
   collage was the right one — deploy that. This restores
   the v27 mosaic on mobile (all 6 photos in one 3x2 block
   ABOVE the text), overriding the v28 3+3 split. The v28
   proof fix is kept: proof number stays 1.35rem so
   "168-194g" fits on one line. Desktop unchanged. */
@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; max-width: 600px; margin-inline: auto; }
  .hero__surround { display: contents; }
  .hero__copy { grid-row: 3; grid-column: 1 / -1; margin-top: 20px; margin-bottom: 0; }
  .hero__surround--left img:nth-child(1), .hero__surround--left img:nth-child(2), .hero__surround--left img:nth-child(3),
  .hero__surround--right img:nth-child(1), .hero__surround--right img:nth-child(2), .hero__surround--right img:nth-child(3) { width: 100%; }
  .hero__surround--left img:nth-child(1) { --fx: -20vw; --fy: -18vh; --fr: -6deg; animation-delay: 0.05s; }
  .hero__surround--left img:nth-child(2) { --fx: 0; --fy: -18vh; --fr: 4deg; animation-delay: 0.15s; }
  .hero__surround--left img:nth-child(3) { --fx: 20vw; --fy: -18vh; --fr: -4deg; animation-delay: 0.25s; }
  .hero__surround--right img:nth-child(1) { --fx: -20vw; --fy: 18vh; --fr: 6deg; animation-delay: 0.35s; }
  .hero__surround--right img:nth-child(2) { --fx: 0; --fy: 18vh; --fr: -5deg; animation-delay: 0.45s; }
  .hero__surround--right img:nth-child(3) { --fx: 20vw; --fy: 18vh; --fr: 7deg; animation-delay: 0.55s; }
  .hero__proof b { font-size: 1.35rem; }
}

/* =========================================================
   ROUND v30 — 30 Nov 2026. His orders: (1) footer black,
   (2) top strip text centred, (3) the "Get the 7-Day Plan"
   link removed from the top strip. Footer: oxblood ->
   var(--ink), the same black as the top strip. Top strip:
   justify-content: center in the base rule (mobile already
   centred it). The utility__right <p> is removed from all
   32 HTML pages. */
.site-footer { background: var(--ink); }
.utility__inner { justify-content: center; }

/* ================= ROUND v31 (30 Nov) =================
   Rules photo cards + cook-once (eyebrow, banner, steps; NO tags
   anywhere) + header (Get the plan removed, brand tagline removed,
   nav bigger/bolder, pill smaller) + hero closer to text + filter
   bar not sticky + 25g chart (centralized, salmon highlight, 25g
   line, taller rounded bars, slower growth, count-up) + ebook
   (cover tilt/float, inside strip, quote, bigger price) + About
   (principle/step cards, pull-quote, hero eyebrow, photo radius). */

/* --- header: pill smaller, nav bigger/bolder --- */
.masthead { max-width: 960px; }
.nav a { font-size: 12px; font-weight: 700; }

/* --- hero: images closer to the text --- */
@media (min-width: 1121px) {
  .hero__surround--left img:nth-child(1),
  .hero__surround--left img:nth-child(2),
  .hero__surround--left img:nth-child(3) { left: 48px; }
  .hero__surround--right img:nth-child(1),
  .hero__surround--right img:nth-child(2),
  .hero__surround--right img:nth-child(3) { right: 48px; }
}
@media (max-width: 1120px) {
  .hero__copy { margin-top: 10px; }
}

/* --- filter bar: not sticky, chips scroll away with the page --- */
.filter-bar { position: static; }

/* --- rules: photo cards --- */
.rules__grid { gap: clamp(20px, 2.4vw, 34px); }
.rules__item {
  padding: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(25, 23, 16, 0.08);
}
.rules__item + .rules__item { padding-left: 0; border-left: 0; }
.js .rules__item {
  transition: opacity 250ms var(--ease-out) var(--delay, 0ms),
    transform 250ms var(--ease-out) var(--delay, 0ms),
    box-shadow 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .rules__item:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(25, 23, 16, 0.14); }
}
.rules__photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.rules__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rules__item .rules__num { padding: 22px 24px 0; font-size: 10px; }
.rules__item .rules__num .rules__n {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--oxblood);
}
.rules__item h3 { margin-top: 0; padding: 10px 24px 0; }
.rules__item h3 em { color: var(--oxblood); }
.rules__item p:not(.rules__num) { max-width: none; margin-top: 10px; padding: 0 24px 26px; }
@media (max-width: 960px) {
  .rules__item + .rules__item { border-top: 0; }
}

/* --- cook-once: banner + steps --- */
.cook-banner { margin: 0 0 clamp(28px, 4vw, 48px); border-radius: 18px; overflow: hidden; }
.cook-banner img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.cook-banner figcaption { margin-top: 10px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.cook-steps {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.cook-steps li { padding: 20px 22px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; }
.cook-steps__n { display: block; font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600; line-height: 1; color: var(--oxblood); }
.cook-steps strong { display: block; margin-top: 10px; font-size: 1.05rem; }
.cook-steps li span:last-child { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 680px) {
  .cook-steps { grid-template-columns: 1fr; }
  .cook-banner img { aspect-ratio: 16 / 9; }
}

/* --- 25g chart: centralized, salmon highlight, 25g line, taller bars --- */
.protein-feature { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; text-align: center; }
.protein-feature__intro { position: static; }
.protein-feature__intro h2 { margin-top: 0; }
.protein-feature__intro p { margin-inline: auto; }
.chart { text-align: left; }
.chart__track { height: 22px; border-radius: 999px; overflow: visible; }
.chart__bar { border-radius: 999px; }
.chart.is-armed .chart__bar { transition-duration: 700ms; }
.chart__track::after {
  content: "";
  position: absolute;
  top: -15px; bottom: -15px; left: 71%;
  border-left: 1px dashed var(--oxblood);
  opacity: 0.55;
}
.chart__row:first-child .chart__track::after { top: 0; }
.chart__row:last-child .chart__track::after { bottom: 0; }
.chart__row--hit { background: rgba(124, 42, 29, 0.07); border-radius: 10px; }
.chart__row--hit .chart__label { font-weight: 700; color: var(--oxblood); }
.chart__row--hit .chart__value { font-weight: 700; color: var(--oxblood); }

/* --- ebook: cover tilt/float, inside strip, quote, bigger price --- */
.book-wrap { flex-direction: column; align-items: center; gap: 18px; }
.book-wrap .cover-img { transform: rotate(-2deg); animation: book-float 6s ease-in-out infinite; }
@keyframes book-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-6px); }
}
@media (hover: hover) and (pointer: fine) {
  .book-wrap .cover-img:hover { animation-play-state: paused; transform: rotate(0deg) translateY(-4px); }
}
.inside-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(100%, 340px); }
.inside-strip figure { margin: 0; }
.inside-strip img { display: block; width: 100%; border-radius: 10px; border: 1px solid rgba(250, 246, 238, 0.25); }
.inside-strip figcaption { margin-top: 8px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250, 246, 238, 0.65); text-align: center; }
.product-quote { margin: 26px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--mustard); }
.product-quote p { font-family: var(--ff-display); font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--paper); }
.product-quote cite { display: block; margin-top: 8px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-style: normal; color: rgba(250, 246, 238, 0.65); }
.price-row__price { font-size: 4rem; }

/* --- About: principle/step cards, pull-quote, photo radius --- */
.principles { gap: clamp(20px, 2.4vw, 34px); border: 0; }
.principle { border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 32px rgba(25, 23, 16, 0.08); }
.principle__num { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--oxblood); }
.test-steps { gap: clamp(16px, 2vw, 28px); border-top: 0; }
.test-step { padding: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 32px rgba(25, 23, 16, 0.08); }
.test-step b { font-family: var(--ff-display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--oxblood); }
.pull-quote { text-align: center; font-size: clamp(1.7rem, 3vw, 2.4rem); border-top: 2px solid var(--oxblood); border-bottom: 2px solid var(--oxblood); }
.about-images img { border-radius: 18px; }

/* ================= ROUND v32 ================= */

/* --- page transitions: fade out before navigating --- */
body { transition: opacity 220ms var(--ease-out); }
html.is-leaving body { opacity: 0; }

/* --- splash: slower, clearer fly-in + stronger float --- */
@keyframes splash-float {
  from { translate: 0 0; }
  to { translate: 0 -18px; }
}
.splash__imgs img:nth-child(1) { animation: splash-float 4s ease-in-out 1.4s infinite alternate, splash-fly-in 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s both; }
.splash__imgs img:nth-child(2) { animation: splash-float 4.5s ease-in-out 1.5s infinite alternate, splash-fly-in 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.25s both; }
.splash__imgs img:nth-child(3) { animation: splash-float 4s ease-in-out 1.6s infinite alternate, splash-fly-in 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.4s both; }
.splash__imgs img:nth-child(4) { animation: splash-float 4.5s ease-in-out 1.7s infinite alternate, splash-fly-in 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.55s both; }
.splash__imgs img:nth-child(5) { animation: splash-float 4s ease-in-out 1.8s infinite alternate, splash-fly-in 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.7s both; }
.splash__imgs img:nth-child(6) { animation: splash-float 4.5s ease-in-out 1.9s infinite alternate, splash-fly-in 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.85s both; }

/* --- hero: images close to the text on desktop --- */
@media (min-width: 1121px) {
  .hero__surround--left img:nth-child(1) { left: clamp(48px, 13vw, 190px); right: auto; }
  .hero__surround--left img:nth-child(2) { left: clamp(48px, 13.5vw, 200px); right: auto; }
  .hero__surround--left img:nth-child(3) { left: clamp(48px, 13vw, 190px); right: auto; }
  .hero__surround--right img:nth-child(1) { right: clamp(48px, 13vw, 190px); left: auto; }
  .hero__surround--right img:nth-child(2) { right: clamp(48px, 13.5vw, 200px); left: auto; }
  .hero__surround--right img:nth-child(3) { right: clamp(48px, 13vw, 190px); left: auto; }
}
@media (min-width: 1400px) {
  .hero__surround--left img:nth-child(1) { left: 235px; right: auto; }
  .hero__surround--left img:nth-child(2) { left: 255px; right: auto; }
  .hero__surround--left img:nth-child(3) { left: 245px; right: auto; }
  .hero__surround--right img:nth-child(1) { right: 235px; left: auto; }
  .hero__surround--right img:nth-child(2) { right: 255px; left: auto; }
  .hero__surround--right img:nth-child(3) { right: 245px; left: auto; }
}

/* --- interactive elements: buttons, nav, menu, checkboxes --- */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(-1px) scale(0.97); }
.nav a:hover::after { transform: scaleX(1); }
.mobile-menu { animation: menu-in 350ms var(--ease-out) both; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu__links a { animation: menu-link-in 400ms var(--ease-out) both; }
.mobile-menu__links a:nth-child(1) { animation-delay: 60ms; }
.mobile-menu__links a:nth-child(2) { animation-delay: 120ms; }
.mobile-menu__links a:nth-child(3) { animation-delay: 180ms; }
@keyframes menu-link-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.ingredient-list input:checked::after { animation: check-pop 250ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes check-pop {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.ingredient-list input + span { transition: color 200ms var(--ease); }

/* --- error notification: search empty state --- */
.empty-state.is-visible { animation: empty-in 350ms var(--ease-out) both; }
@keyframes empty-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- home recipe cards: hover zoom on the photo --- */
.feature-grid .recipe-card__media img { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feature-grid .recipe-card:hover .recipe-card__media img { transform: scale(1.05); }
}

/* --- About: hover lift + image zoom --- */
.js .principle, .js .test-step {
  transition: opacity 250ms var(--ease-out) var(--delay, 0ms),
    transform 250ms var(--ease-out) var(--delay, 0ms),
    box-shadow 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .principle:hover, .test-step:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(25, 23, 16, 0.14); }
  .about-images img:hover { transform: scale(1.03); }
}
.about-images img { transition: transform 600ms var(--ease-out); }

/* --- shop: inside cards, page cards, cover float, price --- */
.js .inside-card {
  transition: opacity 250ms var(--ease-out) var(--delay, 0ms),
    transform 250ms var(--ease-out) var(--delay, 0ms),
    box-shadow 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .inside-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(25, 23, 16, 0.14); }
  .page-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(25, 23, 16, 0.16); }
}
.product-hero__media .cover-img { animation: book-float 6s ease-in-out infinite; }
.product-buy__price b { font-size: 3.5rem; }
.product-facts svg { color: var(--oxblood); }

/* --- recipe pages: why-box, steps, tip-box, nutrition polish --- */
.why-box { border-radius: 14px; }
.method .step { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .method .step:hover { transform: translateX(4px); }
}
.nutrition { border-radius: 14px; box-shadow: 0 8px 32px rgba(25, 23, 16, 0.06); }
.tip-box { border-radius: 18px; box-shadow: 0 8px 32px rgba(25, 23, 16, 0.06); }

/* --- promo: tighter product band + upsell, less empty space --- */
.product-band { padding-block: clamp(40px, 5vw, 60px); }
.product-band__grid { gap: clamp(32px, 4vw, 56px); }
.section--cream { padding-block: clamp(40px, 5vw, 60px); }
.product-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.upsell__grid { gap: clamp(24px, 3vw, 44px); }

/* ================= ROUND v33 ================= */

/* --- RECIPE PAGES: full-bleed hero, title overlaid on the photo --- */
.recipe-hero { max-width: none; padding-inline: 0; }
.recipe-hero__media { position: relative; overflow: hidden; }
.recipe-hero__media img { max-height: 720px; aspect-ratio: 21 / 9; }
.recipe-hero__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 4vw, 48px) clamp(20px, 4.2vw, 64px) clamp(24px, 3.5vw, 40px);
  background: linear-gradient(to top, rgba(25, 23, 16, 0.78) 0%, rgba(25, 23, 16, 0.45) 55%, rgba(25, 23, 16, 0) 100%);
  color: var(--cream);
}
.recipe-hero__overlay h1 { color: var(--cream); font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.02; margin: 0 0 8px; }
.recipe-hero__deck { color: rgba(250, 246, 238, 0.92); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.5; max-width: 640px; margin: 0; }
.recipe-hero figcaption { padding-inline: var(--gutter); }
@media (max-width: 680px) {
  .recipe-hero__media img { aspect-ratio: 4 / 3; max-height: none; }
}

/* --- RECIPE PAGES: meta as a large-number strip --- */
.recipe-meta { margin-top: 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recipe-meta b { font-size: 1.7rem; }

/* --- RECIPE PAGES: method as a timeline --- */
.method { position: relative; }
.method::before { content: ""; position: absolute; left: 27px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.method .step__num { position: relative; z-index: 1; background: var(--paper); text-align: center; font-size: 2.6rem; }

/* --- RECIPE PAGES: bigger ingredient checkboxes --- */
.ingredient-list input { width: 20px; height: 20px; }
.ingredient-list input::after { width: 11px; height: 11px; }

/* --- RECIPE PAGES: nutrition as a 4-up horizontal strip --- */
.nutrition__grid { grid-template-columns: repeat(4, 1fr); }
.nutrition__grid div { border-bottom: 0; border-right: 1px solid var(--line); text-align: center; padding: 16px 10px; }
.nutrition__grid div:last-child { border-right: 0; }
.nutrition__grid b { display: block; font-family: var(--ff-display); font-size: 1.6rem; line-height: 1.1; }
.nutrition__grid span { display: block; margin-top: 4px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 680px) {
  .nutrition__grid { grid-template-columns: repeat(2, 1fr); }
  .nutrition__grid div:nth-child(1), .nutrition__grid div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .nutrition__grid div:nth-child(2) { border-right: 0; }
}

/* --- ABOUT: hero photo tilt + frame, stats strip --- */
.about-hero__media figure { transform: rotate(1.5deg); }
.about-hero__media img { border-radius: 18px; box-shadow: 0 16px 48px rgba(25, 23, 16, 0.14); }
.about-stats { padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.about-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.about-stats__grid b { display: block; font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--oxblood); }
.about-stats__grid span { display: block; margin-top: 8px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 680px) {
  .about-stats__grid { gap: 12px; }
  .about-stats__grid b { font-size: 1.8rem; }
}

/* --- ABOUT: principles bigger numbers + top accent --- */
.principle .principle__num { font-size: 3rem; }
.principle { border-top: 3px solid var(--oxblood); }

/* --- ABOUT: test steps as a timeline (circles on a line) --- */
.test-steps { position: relative; }
.test-steps::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 48px; height: 2px; background: var(--line); z-index: 0; }
.test-step b { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--oxblood); color: var(--cream); font-size: 1rem; }

/* --- ABOUT: pull-quote bigger + big quotation mark --- */
.story__body .pull-quote { font-size: clamp(2rem, 4vw, 3rem); }
.pull-quote::before { content: "\201C"; display: block; font-family: var(--ff-display); font-size: 3.4rem; line-height: 0.6; color: var(--oxblood); margin-bottom: 12px; }

/* --- SHOP: bigger cover column + deeper shadow --- */
.product-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.product-hero__media .cover-img { box-shadow: 0 24px 64px rgba(25, 23, 16, 0.2); }

/* --- SHOP: inside section as a clean numbered list --- */
.inside-grid { border: 0; gap: clamp(20px, 3vw, 40px); }
.inside-card { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 0 0 24px; }
.inside-card .inside-card__num { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--oxblood); }
.inside-card h3 { margin-top: 10px; }

/* --- SHOP: sample pages fanned out like a book --- */
.sample-spread .page-card { --tilt: 0deg; transform: rotate(var(--tilt)); }
.sample-spread .page-card:nth-child(1) { --tilt: -2deg; }
.sample-spread .page-card:nth-child(3) { --tilt: 2deg; }
.sample-spread .page-card:hover { transform: translateY(-6px) rotate(var(--tilt)); }

/* --- SHOP: bigger price + one-time badge --- */
.product-buy__price b { font-size: 4rem; }
.product-buy__price span { background: var(--oxblood); color: var(--cream); padding: 6px 12px; border-radius: 999px; }

/* ================= ROUND v34 ================= */

/* --- TEST STEPS: remove the connecting line (it read as broken) --- */
.test-steps::before { content: none; }

/* --- SHOP inside cards: equal padding on all sides, card look back --- */
.inside-card { border: 1px solid var(--line); border-radius: 18px; background: var(--cream); padding: 28px; }

/* --- BUY BUTTONS: bigger, wider, deeper shadow --- */
.btn { min-height: 56px; padding: 18px 36px; min-width: 240px; box-shadow: 0 10px 28px rgba(25, 23, 16, 0.18); }
.btn:hover { box-shadow: 0 14px 36px rgba(25, 23, 16, 0.22); }

/* --- BUY BUTTONS centralized: shop buy row + actions stacked + centred --- */
.product-buy { text-align: center; }
.product-buy__price { justify-content: center; }
.product-buy__actions { flex-direction: column; align-items: center; justify-content: center; }

/* --- PROMO BANNER centralized: product band becomes one centred column --- */
.product-band__grid { grid-template-columns: 1fr; text-align: center; }
.product-band__copy > p { margin-inline: auto; }
.product-band .price-row { justify-content: center; }
.product-band__cta { justify-content: center; }

/* --- UPSELL (recipe pages): copy + button centred --- */
.upsell__copy { text-align: center; }
.upsell__copy .price-row { justify-content: center; }

/* --- RECIPE PAGES: meta now sits below the hero, give it room --- */
.recipe-hero + .container .recipe-meta { margin-top: 28px; }
.recipe-body { gap: clamp(48px, 7vw, 100px); }

/* ================= ROUND v35 ================= */

/* --- SPLASH: hidden by default, shown ONLY on first visit per tab ---
   The flag is now set in the head script (before the body parses), so the
   splash can never reappear when a link is clicked: repeat visits never
   get the show-splash class, and the splash stays display:none. */
.splash { display: none; }
html.show-splash .splash { display: flex; }

/* --- SHOP hero: single column on mobile (v33's 2-col rule overrode the
   mobile media query, squeezing the copy to 149px so the 240px buy button
   overflowed to 486px). Restore 1fr under 960px. --- */
@media (max-width: 960px) {
  .product-hero__grid { grid-template-columns: 1fr; }
}

/* --- FILTER CHIPS (recipes page): a little bigger --- */
.filter-bar .chip { padding: 12px 20px; font-size: 11px; }

/* ================= ROUND v36 ================= */

/* --- MAIN PAGE product band: back to the 2-column layout (before v34) ---
   Book left, copy right, left-aligned. Only Ayesha's quote was removed
   from the HTML; the layout itself is restored. --- */
.product-band__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); text-align: left; }
.product-band__copy > p { margin-inline: 0; }
.product-band .price-row { justify-content: flex-start; }
.product-band__cta { justify-content: flex-start; }

/* --- UPSELL (recipe pages): one centred column, cover on top ---
   The buy button is now centred on the whole page, not just inside the
   right column. --- */
.upsell__grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
.upsell__media { justify-self: center; }
.upsell__media .cover-img { margin-inline: auto; }

/* ================= ROUND v37 ================= */

/* --- SPLASH: localStorage flag (head + site.js) already switched ---
   The splash now shows only on the very first visit in this browser
   and never again, in any tab or session. No CSS change needed here. --- */

/* --- RECIPE META: 4 stat cards instead of a plain strip ---
   Each number sits in its own cream card, so Time / Serves / Protein /
   Skill read as real stats, not a line of text. --- */
.recipe-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 0; border-bottom: 0; padding: 0; }
.recipe-meta > div { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px 16px; text-align: center; }
.recipe-meta span { display: block; margin-bottom: 6px; }
.recipe-meta b { font-size: 1.9rem; font-weight: 800; line-height: 1.05; }
@media (max-width: 680px) { .recipe-meta { grid-template-columns: repeat(2, 1fr); } }

/* --- BOXES: roomy padding + real margin on the text inside ---
   Ingredients, nutrition, why-box, tip-box and method steps all get
   breathing room so no text sits flush against an edge. --- */
.ingredients { border: 1px solid var(--line); border-radius: 18px; background: var(--cream); padding: 28px; }
.ingredients__head { margin-bottom: 20px; }
.ingredients__group { margin-top: 20px; }
.ingredients__group h3 { margin-bottom: 12px; }
.ingredient-list li { margin-bottom: 10px; }
.nutrition { margin-top: 28px; padding: 28px; border-radius: 18px; }
.nutrition__head { margin-bottom: 18px; }
.nutrition__grid { gap: 16px; }
.nutrition__grid > div { padding: 14px 8px; }
.nutrition__sources { margin: 22px 0 0; }
.nutrition__note { margin: 14px 0 0; }
.why-box { padding: 28px 32px; border-radius: 18px; }
.why-box h2 { margin-bottom: 12px; }
.why-box p { margin-top: 10px; }
.tip-box { padding: 28px 32px; border-radius: 18px; }
.tip-box p { margin-top: 10px; }
.method .step { padding: 20px 0; margin-bottom: 8px; }
.method .step p { margin-top: 10px; }
.recipe-body { gap: clamp(48px, 6vw, 88px); }

/* --- MACROS: bold and bigger ---
   Nutrition numbers and the meta Protein number are now heavy (800)
   and larger, so the macros jump off the page. --- */
.nutrition__grid b { font-size: 1.8rem; font-weight: 800; line-height: 1.05; }
.nutrition__grid span { font-size: 10px; font-weight: 700; }
.recipe-meta b { font-weight: 800; }

/* --- UPSELL: a compact centred card, not a tall empty stack ---
   The whole promo is one centred card (max 860px) with a smaller cover,
   so the section is short and premium. The buy button stays centred
   on the page. --- */
.upsell__grid { max-width: 860px; margin-inline: auto; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px 32px; gap: 22px; }
.upsell__media .cover-img { max-width: 200px; }
.upsell__copy > p { margin-inline: auto; }
.upsell__copy .price-row { justify-content: center; }
@media (max-width: 680px) { .upsell__grid { padding: 28px 20px 24px; } }

/* ================= ROUND v38 ================= */

/* --- GET BUTTONS: a little bigger, bolder, centred ---
   Every "Get the 7-day plan" button on the site shares .btn, so the
   size + weight change lands on all of them at once. --- */
.btn { min-height: 64px; padding: 20px 44px; min-width: 260px; font-size: 12px; font-weight: 800; box-shadow: 0 12px 32px rgba(25, 23, 16, 0.2); }
/* Centre the main-page band button inside its copy column. Shop buy
   actions and the recipe upsell button are already centred. --- */
.product-band__cta { justify-content: center; }

/* --- CHECKBOXES: normal design ---
   The old boxes were near-circles (12px radius on a 15px box) with a
   solid square dot inside, so they read as radio buttons. Now they are
   proper square checkboxes: 18px, 3px corners, and a white checkmark
   on oxblood when ticked. --- */
.ingredient-list input,
.step__check input { width: 18px; height: 18px; border: 1.5px solid var(--ink-3); border-radius: 3px; background: var(--paper); transition: background 150ms var(--ease), border-color 150ms var(--ease); }
.ingredient-list input::after,
.step__check input::after { content: ""; width: 5px; height: 10px; border: solid var(--cream); border-width: 0 2px 2px 0; background: transparent; transform: rotate(45deg) translate(-0.5px, -1.5px) scale(0); transition: transform 150ms var(--ease); }
.ingredient-list input:checked,
.step__check input:checked { background: var(--oxblood); border-color: var(--oxblood); }
.ingredient-list input:checked::after,
.step__check input:checked::after { transform: rotate(45deg) translate(-0.5px, -1.5px) scale(1); animation: none; }

/* --- META MACROS below the hero: much bigger + heavier ---
   The Time / Serves / Protein / Skill numbers under the recipe photo
   are now large display numerals, so the macros read at a glance. --- */
.recipe-meta > div { padding: 22px 14px 20px; }
.recipe-meta b { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.recipe-meta span { font-size: 10px; font-weight: 700; }

/* --- EBOOK PROMO: side by side, centred as one unit ---
   The cover stays left and the text stays right (not stacked, not
   individually centred). The whole two-column block is narrowed and
   centred on the page, so it reads as one centred unit. --- */
.product-band__grid { max-width: 1080px; margin-inline: auto; }

/* ================= ROUND v39 ================= */

/* --- METHOD STEPS: timeline line removed ---
   The vertical line that connected step 1 to 2 to 3 is gone.
   The large oxblood step numbers stay, now without the line. --- */
.method::before { content: none; }

/* ================= ROUND v40 ================= */

/* --- UPSELL: image one side, text the other, centred as one unit ---
   Back to two columns on desktop: cover left, copy right. The whole
   card is narrowed to 960px and centred on the page, so the image +
   text sit side by side as one centred unit. On mobile it stacks
   with everything centred. --- */
@media (min-width: 961px) {
  .upsell__grid { grid-template-columns: 280px 1fr; max-width: 960px; gap: 36px; padding: 32px 36px; align-items: center; }
  .upsell__media { justify-self: center; }
  .upsell__copy { text-align: center; }
}
@media (max-width: 960px) {
  .upsell__grid { grid-template-columns: 1fr; text-align: center; }
  .upsell__copy { text-align: center; }
}
/* --- UPSELL BUTTON: centred in its column ---
   The button is a block-level flex item with auto side margins, so it
   sits exactly in the middle of the copy column on every width. --- */
.upsell__copy .btn { display: flex; width: fit-content; margin-inline: auto; }
.upsell__copy > p { max-width: 56ch; }

/* ================= ROUND v41 ================= */

/* --- SPLASH: show at most once an hour, not once ever ---
   v37's localStorage flag made the splash show only on the very first
   visit ever, so it never loaded again. Now the head script stamps a
   time (key "splash-last") and shows the splash again only if an hour
   has passed, so it loads on a fresh visit and after a break, but not
   on every tab or link click. The CSS and hide timing are unchanged. --- */

/* ================= ROUND v42 ================= */

/* --- RECIPE CARDS: splash colour (oxblood) ---
   All recipe cards now use the splash colour: oxblood body with cream
   text, so they match the loading page. Photo stays on top. The hover
   title stays cream (oxblood on oxblood would vanish). --- */
.recipe-card__link { background: var(--oxblood); }
.recipe-card__body { color: var(--cream); }
.recipe-card__body h3 { color: var(--cream); }
.recipe-card__body .deck { color: rgba(250, 246, 238, 0.85); }
.recipe-card__body .meta { color: rgba(250, 246, 238, 0.72); }
.recipe-card__body .text-link { color: var(--cream); }
.recipe-card__link:hover h3 { color: var(--cream); }

/* --- CHART VALUES: website font ---
   The gram values by the bars were JetBrains Mono; now they use the
   website body font (Public Sans) like the rest of the site. --- */
.chart__value { font-family: var(--ff-body); }

/* ================= ROUND v43 ================= */

/* --- REVERT v42: .recipe-card back to original ---
   The oxblood belonged on the recipe detail page cards, not on the
   index/recipes/related .recipe-card components. Restore their colours. --- */
.recipe-card__link { background: transparent; }
.recipe-card__body { color: var(--ink); }
.recipe-card__body h3 { color: var(--ink); }
.recipe-card__body .deck { color: var(--ink-2); }
.recipe-card__body .meta { color: var(--ink-3); }
.recipe-card__body .text-link { color: var(--ink); }
.recipe-card__link:hover h3 { color: var(--oxblood); }

/* --- CHART TEXT: paragraph above the graph, website font ---
   The intro paragraph and the small note above the bars were JetBrains
   Mono in places; both now use the website body font (Public Sans). --- */
.protein-feature__intro p { font-family: var(--ff-body); }
.chart__note { font-family: var(--ff-body); }

/* --- RECIPE PAGE CARDS: splash colour (oxblood) ---
   The cards on a recipe's own page (meta stats, ingredients, nutrition,
   why-box, tip-box) now use the splash colour: oxblood with cream text.
   Checkboxes are reworked for the dark card: clear box, cream tick. --- */
.recipe-meta > div { background: var(--oxblood); border-color: rgba(250, 246, 238, 0.28); color: var(--cream); }
.recipe-meta > div b { color: var(--cream); }
.recipe-meta > div span { color: rgba(250, 246, 238, 0.72); }
.ingredients { background: var(--oxblood); border-color: rgba(250, 246, 238, 0.28); color: var(--cream); }
.ingredients h2, .ingredients h3 { color: var(--cream); }
.ingredients__serves { color: rgba(250, 246, 238, 0.72); }
.ingredients .ingredient-list span { color: var(--cream); }
.ingredients .ingredient-list input { background: transparent; border-color: rgba(250, 246, 238, 0.65); }
.ingredients .ingredient-list input:checked { background: var(--cream); border-color: var(--cream); }
.ingredients .ingredient-list input:checked::after { border-color: var(--oxblood); }
.nutrition { background: var(--oxblood); border-color: rgba(250, 246, 238, 0.28); color: var(--cream); }
.nutrition__head { color: var(--cream); }
.nutrition__grid b { color: var(--cream); }
.nutrition__grid span { color: rgba(250, 246, 238, 0.72); }
.nutrition__sources, .nutrition__note { color: rgba(250, 246, 238, 0.72); }
.why-box { background: var(--oxblood); border-left-color: var(--cream); color: var(--cream); }
.why-box h2 { color: var(--cream); }
.why-box p { color: rgba(250, 246, 238, 0.88); }
.tip-box { background: var(--oxblood); border-color: rgba(250, 246, 238, 0.28); color: var(--cream); }
.tip-box h2 { color: var(--cream); }
.tip-box p { color: rgba(250, 246, 238, 0.88); }
