/*
Theme Name: Verdishia
Theme URI: https://verdishia.online
Template: protein-comfort-kitchen
Author: Verdishia
Description: Editorial redesign for Verdishia — warm, premium, appetite-led design system for protein-forward comfort food.
Version:      5.0.0
Text Domain: verdishia
*/

/* ===============================================================
   FONTS — self-hosted, only the weights actually used
   =============================================================== */
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal; font-weight: 600 700; font-display: swap;
}

/* ===============================================================
   1. DESIGN TOKENS
   Contrast-checked against WCAG 2.2 AA:
     charcoal/cream 16.8:1 · secondary/cream 5.1:1 · white/forest 13.2:1
     white/terracotta 3.59:1 (FAILS) -> terracotta is accent-only;
     buttons use --clay (white 5.27:1). Gold pairs with charcoal only.
   =============================================================== */
:root {
  --forest:      #173B2C;
  --botanical:   #285943;
  --sage:        #A9B9A3;
  --cream:       #F7F3EA;
  --oat:         #EAE2D3;
  --terracotta:  #C96F4A;
  --clay:        #A85434;   /* accessible terracotta for white text */
  --gold:        #D8A94B;
  --charcoal:    #20231F;
  --secondary:   #62685F;
  --white:       #FFFFFF;

  --line:        #DFD8C8;
  --line-soft:   #EBE5D8;
  --sage-tint:   #E7EDE4;

  --bg:          var(--cream);
  --surface:     var(--white);
  --ink:         var(--charcoal);
  --ink-muted:   var(--secondary);

  /* spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 88px; --sp-10: 120px;
  --section-y: clamp(56px, 7vw, 104px);

  /* layout */
  --shell: min(1280px, calc(100% - 48px));
  --measure: 74ch;          /* ~720px article width */

  /* radii — brief: 14–24px */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(32,35,31,.06);
  --shadow-md: 0 10px 30px rgba(32,35,31,.08);
  --shadow-lg: 0 24px 60px rgba(32,35,31,.12);

  /* type scale */
  --t--1: clamp(.875rem, .86rem + .08vw, .9375rem);
  --t-0:  clamp(1.0625rem, 1.04rem + .1vw, 1.125rem);   /* 17–18px body */
  --t-1:  clamp(1.1875rem, 1.13rem + .28vw, 1.375rem);
  --t-2:  clamp(1.4375rem, 1.31rem + .62vw, 1.875rem);
  --t-3:  clamp(1.75rem, 1.5rem + 1.25vw, 2.625rem);
  --t-4:  clamp(2.125rem, 1.7rem + 2.1vw, 3.375rem);
  --t-5:  clamp(2.5rem, 1.85rem + 3.2vw, 4.25rem);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --ease: cubic-bezier(.2,.7,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; }

h1,h2,h3,h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
  color: var(--forest);
}
h1 { font-size: var(--t-4); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-1); line-height: 1.25; }
p  { margin: 0; }
a  { color: inherit; }

::selection { background: var(--botanical); color: #fff; }

:focus-visible {
  outline: 3px solid var(--botanical);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--forest); color: #fff; padding: 14px 22px;
  font-weight: 600; text-decoration: none; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: var(--section-y) 0; }

/* ===============================================================
   2. PRIMITIVES
   =============================================================== */
.eyebrow {
  font-family: var(--sans);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--secondary); margin: 0 0 var(--sp-3);
}
.eyebrow--accent { color: var(--clay); }
.eyebrow--light  { color: rgba(255,255,255,.72); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 48px;
  background: var(--forest); color: var(--cream);
  border: 1px solid var(--forest); border-radius: var(--r-sm);
  font: 600 var(--t--1)/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.button:hover { background: var(--botanical); border-color: var(--botanical); transform: translateY(-2px); }
.button--small { padding: 11px 18px; min-height: 42px; font-size: .8125rem; }
.button--clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.button--clay:hover { background: #8f4529; border-color: #8f4529; }
.button--outline { background: transparent; color: var(--forest); border-color: var(--line); }
.button--outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.button-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; margin-top: var(--sp-6); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--t--1); color: var(--botanical);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.text-link:hover { border-color: currentColor; gap: 12px; }
.text-link--large { font-size: var(--t-0); }

.section-heading {
  display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-7);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.section-heading h2 { max-width: 18ch; }

.fine-print { font-size: var(--t--1); color: var(--secondary); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* meta pill row used on cards + recipe header */
.meta-row { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center; font-size: var(--t--1); color: var(--secondary); }
.meta-row > * { display: inline-flex; align-items: center; gap: 6px; }
.meta-row svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--sage-tint); color: var(--botanical);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}

/* ===============================================================
   3. HEADER + NAV
   =============================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,234,.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding .25s var(--ease), box-shadow .25s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-stuck { box-shadow: 0 2px 20px rgba(32,35,31,.07); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: 82px;
  transition: min-height .25s var(--ease);
}
.site-header.is-stuck .header-inner { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--forest); }
.brand strong {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: 1.3rem; letter-spacing: -.02em; line-height: 1;
}
.brand small {
  display: block; font-family: var(--sans); font-size: .625rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--secondary); margin-top: 3px;
}
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--forest); color: var(--cream); border-radius: 12px; flex: none; }
.brand-mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.brand--light { color: var(--cream); }
.brand--light .brand-mark { background: rgba(255,255,255,.1); color: var(--cream); }
.brand--light small { color: rgba(247,243,234,.6); }

.desktop-nav { display: flex; gap: var(--sp-6); align-items: center; }
.desktop-nav ul { display: flex; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; align-items: center; }
.desktop-nav a {
  position: relative; display: block; padding: 8px 0;
  font-size: var(--t--1); font-weight: 600; color: var(--forest); text-decoration: none;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.desktop-nav a:hover::after,
.desktop-nav .current-menu-item > a::after,
.desktop-nav [aria-current="page"]::after { transform: scaleX(1); }
.desktop-nav .current-menu-item > a { color: var(--clay); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.search-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 42px; padding: 9px 14px; cursor: pointer;
  background: var(--surface); color: var(--forest);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 600 var(--t--1)/1 var(--sans);
}
.search-toggle:hover { border-color: var(--sage); }
.search-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(23,59,44,.55); backdrop-filter: blur(6px);
  display: none; padding: clamp(60px,12vh,140px) var(--sp-5) var(--sp-5);
}
.search-overlay[open], .search-overlay.is-open { display: block; }
.search-overlay__panel {
  width: min(680px, 100%); margin-inline: auto;
  background: var(--cream); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: clamp(24px,3vw,38px);
}
.search-overlay__panel h2 { font-size: var(--t-2); margin-bottom: var(--sp-2); }
.search-overlay__panel p { color: var(--secondary); font-size: var(--t--1); margin-bottom: var(--sp-5); }
.search-overlay__close {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 50%;
  font-size: 1.4rem; line-height: 1;
}
.input-row { display: flex; gap: var(--sp-2); }
.input-row input {
  flex: 1; min-width: 0; padding: 15px 16px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink);
}
.input-row input:focus { outline: none; border-color: var(--botanical); box-shadow: 0 0 0 3px rgba(40,89,67,.15); }
.input-row button {
  padding: 15px 22px; cursor: pointer; border: 0; border-radius: var(--r-sm);
  background: var(--forest); color: var(--cream); font: 600 var(--t--1)/1 var(--sans);
}
.search-suggestions { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.search-suggestions span { font-size: var(--t--1); color: var(--secondary); font-weight: 600; }
.search-suggestions a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: var(--t--1); font-weight: 600; text-decoration: none; color: var(--forest);
}
.search-suggestions a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* mobile nav */
.nav-toggle {
  display: none; align-items: center; gap: 9px;
  min-height: 44px; padding: 10px 16px; cursor: pointer;
  background: var(--surface); color: var(--forest);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 600 var(--t--1)/1 var(--sans);
}
.nav-toggle i { position: relative; display: block; width: 17px; height: 2px; background: currentColor; transition: background .18s var(--ease); }
.nav-toggle i::before, .nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.nav-toggle i::before { top: -6px; }
.nav-toggle i::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after  { top: 0; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(23,59,44,.5); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.mobile-drawer.is-open { opacity: 1; visibility: visible; }
.mobile-drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw);
  background: var(--cream); padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-5);
  transform: translateX(100%); transition: transform .28s var(--ease);
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: none; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer__close {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 1.3rem; color: var(--forest);
}
.mobile-drawer nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-drawer nav a {
  display: block; padding: 15px 4px; min-height: 48px;
  font-size: 1.0625rem; font-weight: 600; color: var(--forest);
  text-decoration: none; border-bottom: 1px solid var(--line-soft);
}
.mobile-drawer nav a:hover, .mobile-drawer nav .current-menu-item > a { color: var(--clay); }

/* ===============================================================
   4. HERO
   =============================================================== */
.hero { padding: clamp(40px,5vw,76px) 0 clamp(52px,6.5vw,96px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px,5vw,76px); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero h1 { font-size: var(--t-5); margin-bottom: var(--sp-5); }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-lede { font-size: var(--t-1); line-height: 1.6; color: var(--secondary); max-width: 46ch; }
.hero-notes {
  list-style: none; margin: var(--sp-7) 0 0; padding: var(--sp-5) 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  font-size: var(--t--1); font-weight: 600; color: var(--forest);
}
.hero-notes li { display: inline-flex; align-items: center; gap: 9px; }
.hero-notes span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-tint); color: var(--botanical); font-size: .7rem; flex: none; }

.hero-image { position: relative; margin: 0; }
.hero-image img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.hero-image figcaption {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 2;
  background: rgba(23,59,44,.82); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: 12px 18px; color: var(--cream);
}
.hero-image figcaption span { display: block; font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,243,234,.62); }
.hero-image figcaption strong { display: block; font-family: var(--serif); font-size: var(--t-1); margin-top: 3px; }

/* floating verified-facts card */
.hero-card {
  position: absolute; right: -18px; top: 28px; z-index: 3;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 16px 18px; display: grid; gap: 10px; min-width: 172px;
}
.hero-card p { margin: 0; font-size: .8125rem; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.hero-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--forest); }
.hero-card svg { width: 16px; height: 16px; fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-linecap: round; flex: none; }

/* ===============================================================
   5. TRUST STRIP
   =============================================================== */
.trust-strip { background: var(--oat); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
.trust-grid p { margin: 0; padding: clamp(24px,3vw,38px) clamp(18px,2.4vw,32px); background: var(--oat); }
.trust-grid span { display: block; font-family: var(--serif); font-size: .9rem; font-weight: 700; color: var(--clay); margin-bottom: 10px; }
.trust-grid strong { display: block; font-family: var(--serif); font-size: var(--t-1); color: var(--forest); margin-bottom: 6px; }
.trust-grid small { display: block; font-size: var(--t--1); color: var(--secondary); line-height: 1.6; }

/* ===============================================================
   6. RECIPE CARDS + GRID
   =============================================================== */
.recipe-grid { display: grid; gap: clamp(18px,2.2vw,28px); grid-template-columns: repeat(auto-fill, minmax(288px,1fr)); }

.recipe-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.recipe-card:hover { border-color: var(--sage); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.recipe-card:focus-within { border-color: var(--botanical); }
.recipe-card__image { display: block; overflow: hidden; aspect-ratio: 4/3; background: var(--sage-tint); }
.recipe-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.recipe-card:hover .recipe-card__image img { transform: scale(1.04); }
.recipe-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--sage-tint); color: var(--botanical); }
.recipe-card__placeholder span { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.recipe-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.recipe-card__body .eyebrow { margin: 0; font-size: .6875rem; }
.recipe-card__body h3 { font-size: var(--t-1); }
.recipe-card__body h3 a { text-decoration: none; }
/* whole-card click target, semantics preserved via the real link */
.recipe-card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.recipe-card__body h3 a:hover { color: var(--clay); }
.recipe-card__body > p:not(.eyebrow) { font-size: var(--t--1); color: var(--secondary); line-height: 1.6; margin: 0; }
.recipe-card__body .meta-row { margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid var(--line-soft); }

/* featured editorial recipe */
.featured-recipe {
  display: grid; grid-template-columns: 1.15fr .85fr;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); overflow: hidden;
}
.featured-recipe__media { position: relative; }
.featured-recipe__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.featured-recipe__body { padding: clamp(26px,3.4vw,52px); display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4); }
.featured-recipe__body h3 { font-size: var(--t-3); }
.featured-recipe__body h3 a { text-decoration: none; }
.featured-recipe__body h3 a:hover { color: var(--clay); }
.featured-recipe__body > p { color: var(--secondary); max-width: 46ch; }

/* empty states — intentional, never fake content */
.empty-feature {
  display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px,4vw,52px); align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden;
}
.empty-feature picture { display: block; height: 100%; }
.empty-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.empty-feature > div { padding: clamp(24px,3.2vw,44px); }
.empty-feature h3 { font-size: var(--t-2); margin-bottom: var(--sp-3); }
.empty-feature p:not(.eyebrow) { color: var(--secondary); margin-bottom: var(--sp-5); max-width: 46ch; }

.empty-state {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: clamp(24px,3.2vw,44px);
}
.empty-state__number { font-family: var(--serif); font-size: var(--t-3); font-weight: 700; color: var(--botanical); line-height: 1; }
.empty-state h2 { font-size: var(--t-2); margin-bottom: var(--sp-2); }
.empty-state div > p:not(.eyebrow) { color: var(--secondary); }

/* ===============================================================
   7. PHILOSOPHY
   =============================================================== */
.philosophy { background: var(--surface); border-block: 1px solid var(--line-soft); padding: var(--section-y) 0; }
.philosophy-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(32px,5vw,80px); align-items: center; }
.philosophy-image { position: relative; }
.philosophy-image::before { content: ""; position: absolute; inset: -16px -16px 16px 16px; background: var(--sage-tint); border-radius: var(--r-xl); }
.philosophy-image picture { display: block; position: relative; }
.philosophy-image img { width: 100%; border-radius: var(--r-xl); position: relative; aspect-ratio: 5/6; object-fit: cover; }
.image-note {
  position: absolute; right: -12px; bottom: 26px; z-index: 2;
  background: var(--forest); color: var(--cream);
  padding: 13px 18px; border-radius: var(--r-md);
  font-family: var(--serif); font-size: var(--t--1); line-height: 1.45; box-shadow: var(--shadow-md);
}
.philosophy h2 { font-size: var(--t-3); margin-bottom: var(--sp-4); }
.philosophy h2 em { font-style: italic; color: var(--clay); }
.philosophy .intro { font-size: var(--t-1); color: var(--secondary); line-height: 1.6; max-width: 48ch; }
.principle-list { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; }
.principle-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line-soft); }
.principle-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-list > li > span { font-family: var(--serif); font-size: .95rem; font-weight: 700; color: var(--clay); padding-top: 4px; }
.principle-list h3 { font-size: var(--t-1); margin-bottom: 5px; }
.principle-list p { font-size: var(--t--1); color: var(--secondary); line-height: 1.65; }

/* ===============================================================
   8. AUTHOR
   =============================================================== */
.author-band { background: var(--oat); border-block: 1px solid var(--line); padding: var(--section-y) 0; }
.author-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,4vw,56px); align-items: center; }
.author-portrait {
  width: clamp(120px,16vw,190px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sage-tint); display: grid; place-items: center; overflow: hidden; flex: none;
}
.author-portrait img { width: 100%; height: 100%; object-fit: cover; }
.author-portrait span { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--botanical); }
.author-band h2 { font-size: var(--t-2); margin-bottom: var(--sp-4); max-width: 22ch; }
.author-band p { color: var(--secondary); max-width: 58ch; margin-bottom: var(--sp-3); }
.author-note { font-size: var(--t--1); color: var(--secondary); font-style: italic; }

/* ===============================================================
   9. NEWSLETTER
   =============================================================== */
.newsletter { background: var(--forest); color: var(--cream); padding: var(--section-y) 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(28px,4vw,64px); align-items: center; }
.newsletter h2 { font-size: var(--t-3); color: var(--cream); margin-bottom: var(--sp-3); }
.newsletter p:not(.eyebrow) { color: rgba(247,243,234,.8); max-width: 46ch; }
.newsletter small { display: block; margin-top: var(--sp-4); font-size: var(--t--1); color: rgba(247,243,234,.55); }
.newsletter small a { color: rgba(247,243,234,.8); }
.newsletter-form { display: grid; gap: var(--sp-3); }
.newsletter-form .nf-fields { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 190px; padding: 16px 18px; font: inherit; font-size: 1rem;
  border: 1px solid rgba(247,243,234,.22); border-radius: var(--r-sm);
  background: rgba(247,243,234,.08); color: var(--cream);
}
.newsletter-form input::placeholder { color: rgba(247,243,234,.5); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); background: rgba(247,243,234,.13); }
.newsletter-form button {
  padding: 16px 28px; min-height: 48px; cursor: pointer; border: 0; border-radius: var(--r-sm);
  background: var(--gold); color: var(--charcoal); font: 700 var(--t--1)/1 var(--sans);
  transition: background .2s var(--ease);
}
.newsletter-form button:hover { background: #e6bb63; }
.newsletter-form button[aria-busy="true"] { opacity: .7; cursor: progress; }

.form-notice { padding: 14px 18px; border-radius: var(--r-sm); font-size: var(--t--1); font-weight: 600; margin-bottom: var(--sp-4); border: 1px solid var(--line); background: var(--surface); }
.form-notice--success { background: var(--sage-tint); border-color: #bcd0be; color: #1c4a34; }
.form-notice--error   { background: #F8E7E0; border-color: #E4BFB0; color: #8f3d1e; }
.form-notice--light   { background: rgba(247,243,234,.12); border-color: rgba(247,243,234,.24); color: var(--cream); }

/* ===============================================================
   10. PAGE HEROES / ARCHIVE
   =============================================================== */
.page-hero { background: var(--oat); border-bottom: 1px solid var(--line); padding: clamp(44px,5.5vw,80px) 0 clamp(32px,4vw,56px); }
.page-hero h1 { font-size: var(--t-4); margin-bottom: var(--sp-4); max-width: 20ch; }
.page-hero p:last-child { color: var(--secondary); font-size: var(--t-1); max-width: 54ch; line-height: 1.6; }
.page-hero--compact h1 { font-size: var(--t-3); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,56px); align-items: end; }
.page-hero--contact { background: var(--sage-tint); border-bottom-color: #cfdccd; }
.page-hero--error { background: var(--forest); color: var(--cream); text-align: center; }
.page-hero--error h1 { color: var(--cream); max-width: 20ch; }
.page-hero--error .shell { display: grid; justify-items: center; }
.page-hero--error p:last-child { color: rgba(247,243,234,.78); }
.page-hero--error .button-row { justify-content: center; }
.error-code { font-family: var(--serif); font-size: var(--t-5); font-weight: 700; color: rgba(247,243,234,.2); line-height: 1; }

.archive-tools { background: var(--surface); border-bottom: 1px solid var(--line-soft); position: sticky; top: 82px; z-index: 40; }
.admin-bar .archive-tools { top: 114px; }
.archive-tools__inner { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); align-items: center; justify-content: space-between; padding: var(--sp-4) 0; }
.archive-search { display: flex; gap: var(--sp-2); }
.archive-search input { padding: 12px 15px; font: inherit; font-size: var(--t--1); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); min-width: 210px; }
.archive-search button { padding: 12px 18px; min-height: 44px; cursor: pointer; border: 0; background: var(--forest); color: var(--cream); border-radius: var(--r-sm); font: 600 var(--t--1)/1 var(--sans); }
.result-count { font-size: var(--t--1); color: var(--secondary); font-weight: 600; }

.topic-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.topic-links span { font-size: var(--t--1); color: var(--secondary); font-weight: 600; }
.topic-links a {
  padding: 8px 15px; min-height: 40px; display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: var(--t--1); font-weight: 600; text-decoration: none; color: var(--forest);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.topic-links a:hover, .topic-links a[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.pagination { margin-top: clamp(32px,4vw,52px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.pagination a, .pagination .current {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  text-decoration: none; font-size: var(--t--1); font-weight: 600;
}
.pagination .current { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.pagination a:hover { border-color: var(--botanical); color: var(--botanical); }

/* ===============================================================
   11. SINGLE RECIPE
   =============================================================== */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; font-size: var(--t--1); color: var(--secondary); margin-bottom: var(--sp-5); }
.breadcrumbs a { text-decoration: none; color: var(--secondary); }
.breadcrumbs a:hover { color: var(--botanical); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--forest); font-weight: 600; }

.single-header { padding: clamp(30px,4vw,56px) 0 clamp(20px,2.6vw,32px); }
.single-header h1 { font-size: var(--t-4); margin-bottom: var(--sp-4); max-width: 22ch; }
.single-deck { font-size: var(--t-1); color: var(--secondary); line-height: 1.6; max-width: 60ch; }
.single-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center;
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line);
  font-size: var(--t--1); color: var(--secondary);
}
.single-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-left: auto; }
.single-meta button, .single-actions a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; min-height: 44px; cursor: pointer; text-decoration: none;
  background: transparent; color: var(--forest);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 600 var(--t--1)/1 var(--sans);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.single-meta button:hover, .single-actions a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.single-actions .is-primary { background: var(--clay); border-color: var(--clay); color: #fff; }
.single-actions .is-primary:hover { background: #8f4529; border-color: #8f4529; }

.single-image { margin: 0 auto clamp(28px,3.6vw,48px); }
.single-image img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow-sm); }

.single-layout { display: grid; grid-template-columns: 244px minmax(0,1fr); gap: clamp(28px,4vw,64px); align-items: start; padding-bottom: var(--section-y); }
.single-aside { position: sticky; top: 110px; display: grid; gap: var(--sp-5); }
.admin-bar .single-aside { top: 142px; }

.toc { border-left: 2px solid var(--line); padding-left: var(--sp-4); display: grid; gap: var(--sp-2); }
.toc p.eyebrow { margin-bottom: var(--sp-1); }
.toc a { font-size: var(--t--1); color: var(--secondary); text-decoration: none; font-weight: 600; padding: 3px 0; border-left: 2px solid transparent; margin-left: -18px; padding-left: 16px; }
.toc a:hover { color: var(--botanical); }
.toc a.is-active { color: var(--forest); border-left-color: var(--clay); }

.aside-card { background: var(--sage-tint); border: 1px solid #cfdccd; border-radius: var(--r-md); padding: var(--sp-5); }
.aside-card p:not(.eyebrow) { font-size: var(--t--1); color: var(--secondary); line-height: 1.65; margin-bottom: var(--sp-3); }

/* ===============================================================
   12. PROSE
   =============================================================== */
.prose { max-width: var(--measure); font-size: var(--t-0); line-height: 1.75; color: var(--charcoal); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2 { font-size: var(--t-2); margin: 2em 0 .6em; scroll-margin-top: 100px; }
.prose h3 { font-size: var(--t-1); margin: 1.7em 0 .5em; scroll-margin-top: 100px; }
.prose a { color: var(--botanical); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose img { border-radius: var(--r-md); margin: 1.7em 0; }
.prose figure { margin: 1.9em 0; }
.prose figcaption { font-size: var(--t--1); color: var(--secondary); margin-top: 10px; }
.prose blockquote {
  margin: 1.9em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--clay);
  font-family: var(--serif); font-style: italic; font-size: var(--t-1); color: var(--forest);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.7em 0; font-size: var(--t--1); }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line-soft); text-align: left; }
.prose th { background: var(--oat); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose--centered { margin-inline: auto; }

/* ===============================================================
   13. FORMS / CONTACT / POLICY
   =============================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(28px,4vw,60px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(24px,3vw,40px); }
.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.field label { font-size: var(--t--1); font-weight: 700; color: var(--forest); }
.field .req { color: var(--clay); }
.field .hint { font-size: var(--t--1); color: var(--secondary); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; /* >=16px: prevents iOS zoom */
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); color: var(--ink);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--botanical); box-shadow: 0 0 0 3px rgba(40,89,67,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b4472a; }
.field-error { font-size: var(--t--1); color: #8f3d1e; font-weight: 600; }

.contact-aside h2 { font-size: var(--t-2); margin-bottom: var(--sp-4); }
.contact-aside > p:not(.eyebrow):not(.fine-print) { color: var(--secondary); margin-bottom: var(--sp-5); }
.contact-aside dl { margin: 0; display: grid; }
.contact-aside dl div { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-soft); }
.contact-aside dl div:last-child { border-bottom: 0; }
.contact-aside dt { font-size: .6875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--secondary); margin-bottom: 6px; }
.contact-aside dd { margin: 0; font-weight: 600; color: var(--forest); }

.policy-layout { display: grid; grid-template-columns: 226px minmax(0,1fr); gap: clamp(28px,4vw,60px); align-items: start; }
.policy-layout aside { position: sticky; top: 110px; border-left: 2px solid var(--line); padding-left: var(--sp-4); display: grid; gap: var(--sp-2); }
.admin-bar .policy-layout aside { top: 142px; }
.policy-layout aside a { font-size: var(--t--1); color: var(--secondary); text-decoration: none; font-weight: 600; }
.policy-layout aside a:hover { color: var(--botanical); }

/* ===============================================================
   14. FOOTER
   =============================================================== */
.site-footer { background: var(--forest); color: var(--cream); padding: var(--section-y) 0 var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px,3.4vw,52px); padding-bottom: var(--sp-7); border-bottom: 1px solid rgba(247,243,234,.14); }
.footer-brand p { margin-top: var(--sp-4); color: rgba(247,243,234,.66); font-size: var(--t--1); line-height: 1.65; max-width: 32ch; }
.footer-label { font-size: .6875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(247,243,234,.5); margin-bottom: var(--sp-4); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 7px 0; text-decoration: none; color: rgba(247,243,234,.8); font-size: var(--t--1); }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--cream); text-decoration: underline; }
.footer-note > p:last-child { color: rgba(247,243,234,.66); font-size: var(--t--1); line-height: 1.65; }
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer-social a { display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247,243,234,.2); padding: 0 !important; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; padding-top: var(--sp-5); font-size: var(--t--1); color: rgba(247,243,234,.52); }

/* ===============================================================
   15. WP RECIPE MAKER HARMONISATION
   =============================================================== */
.wprm-recipe-container {
  margin: 2.4em 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(20px,2.6vw,34px);
}
.wprm-recipe-name, .wprm-recipe-header,
.wprm-recipe-ingredients-header, .wprm-recipe-instructions-header {
  font-family: var(--serif) !important; color: var(--forest) !important; letter-spacing: -.015em;
}
.wprm-recipe-ingredient, .wprm-recipe-instruction { line-height: 1.65; }
.wprm-recipe-ingredients li { padding: 6px 0; }
.wprm-recipe-instructions li { padding-bottom: 12px; }
/* checkable ingredients stay legible and print without JS */
.wprm-checkbox-container { min-width: 24px; min-height: 24px; }

/* ===============================================================
   16. RESPONSIVE
   =============================================================== */
@media (max-width: 1180px) {
  .hero-card { right: 8px; top: 16px; }
}
@media (max-width: 1024px) {
  :root { --shell: min(1280px, calc(100% - 40px)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 540px; }
  .hero-image img { aspect-ratio: 4/3; }
  .hero-card { right: 12px; top: auto; bottom: -22px; }
  .featured-recipe, .philosophy-grid, .newsletter-grid,
  .contact-grid, .page-hero__grid, .empty-feature { grid-template-columns: 1fr; }
  .featured-recipe__media img { aspect-ratio: 16/9; }
  .empty-feature img { aspect-ratio: 16/9; }
  .single-layout, .policy-layout { grid-template-columns: 1fr; }
  .single-aside, .policy-layout aside { position: static; }
  .toc { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .author-grid { grid-template-columns: 1fr; justify-items: start; }
  .archive-tools { position: static; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .desktop-nav, .desktop-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .search-toggle span { display: none; }
  .section { padding: 52px 0; }
  .hero { padding: 32px 0 56px; }
  .single-actions { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .image-note { right: 8px; bottom: 12px; }
  .empty-state { grid-template-columns: 1fr; gap: var(--sp-3); }
  .archive-tools__inner { flex-direction: column; align-items: stretch; }
  .archive-search input { min-width: 0; }
}
@media (max-width: 400px) {
  .button { width: 100%; }
  .button-row { flex-direction: column; align-items: stretch; }
  .newsletter-form input { min-width: 0; }
  .hero-card { position: static; margin-top: var(--sp-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .recipe-card:hover { transform: none; }
  .recipe-card:hover .recipe-card__image img { transform: none; }
  .mobile-drawer__panel { transition: none; }
}

@media print {
  .site-header, .site-footer, .newsletter, .single-aside, .single-actions,
  .single-meta button, .breadcrumbs, .pagination, .archive-tools,
  .mobile-drawer, .search-overlay, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .single-layout { grid-template-columns: 1fr; }
  .prose { max-width: none; }
  a { text-decoration: underline; }
  .wprm-recipe-container { border: 1px solid #999; break-inside: avoid; }
}

/* ===============================================================
   V3 — Verdishia design tokens (public API) + editorial systems
   Appended last so these token values win.

   Contrast, computed not assumed:
     forest #18392c   on cream  11.30:1  AA ✓
     white            on forest 12.65:1  AA ✓
     muted  #697168   on cream   4.51:1  AA ✓
     charcoal         on golden  7.41:1  AA ✓
     white on terracotta #bd6748 4.03:1  ✗ -> accents/large text only
     white on deep terracotta #9c4f33 5.86:1 AA ✓ -> filled buttons
   =============================================================== */
:root {
  --verdishia-forest:       #18392c;
  --verdishia-deep-forest:  #10291f;
  --verdishia-leaf:         #42664f;
  --verdishia-sage:         #9eaf98;
  --verdishia-soft-sage:    #d8dfd3;
  --verdishia-cream:        #f6f2e8;
  --verdishia-oat:          #e9e0cf;
  --verdishia-paper:        #fffdf7;
  --verdishia-terracotta:   #bd6748;
  --verdishia-golden:       #d3a84f;
  --verdishia-charcoal:     #1c211d;
  --verdishia-muted-text:   #697168;
  --verdishia-border:       rgba(24, 57, 44, .16);
  /* accessible derivative — not decorative, required for AA on filled buttons */
  --verdishia-terracotta-deep: #9c4f33;

  /* internal aliases remapped onto the tokens above */
  --forest:     var(--verdishia-forest);
  --botanical:  var(--verdishia-leaf);
  --sage:       var(--verdishia-sage);
  --cream:      var(--verdishia-cream);
  --oat:        var(--verdishia-oat);
  --terracotta: var(--verdishia-terracotta);
  --clay:       var(--verdishia-terracotta-deep);
  --gold:       var(--verdishia-golden);
  --charcoal:   var(--verdishia-charcoal);
  --secondary:  var(--verdishia-muted-text);
  --line:       var(--verdishia-border);
  --line-soft:  rgba(24, 57, 44, .10);
  --sage-tint:  var(--verdishia-soft-sage);
  --green-deep: var(--verdishia-deep-forest);
  --bg:         var(--verdishia-cream);
  --surface:    var(--verdishia-paper);
  --ink:        var(--verdishia-charcoal);
  --ink-muted:  var(--verdishia-muted-text);
}

/* ---------------------------------------------------------------
   Scroll reveal — content is visible by default; only hidden once
   JS confirms it can reveal it again.
   --------------------------------------------------------------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------
   Kitchen Editions
   Default (and no-JS) state: a native horizontal scroller.
   JS upgrades large screens to a pinned, scroll-driven rail.
   --------------------------------------------------------------- */
.editions { background: var(--verdishia-deep-forest); color: var(--verdishia-cream); padding: var(--section-y) 0; overflow: hidden; }
.editions .section-heading h2,
.editions h2 { color: var(--verdishia-cream); }
.editions .eyebrow { color: rgba(246, 242, 232, .6); }
.editions .text-link { color: var(--verdishia-golden); }

.editions__viewport { position: relative; }
.editions.is-pinned .editions__viewport {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}

.editions__rail {
  display: flex; gap: clamp(18px, 2vw, 28px);
  padding: 4px calc((100vw - var(--shell)) / 2) 20px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.editions.is-pinned .editions__rail {
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
  transition: none;
}

.edition-card {
  position: relative; flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  background: var(--verdishia-forest);
  border: 1px solid rgba(246, 242, 232, .14);
  border-radius: var(--r-xl);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.edition-card:hover { transform: translateY(-6px); border-color: rgba(246, 242, 232, .3); }
.edition-card:focus-within { border-color: var(--verdishia-golden); }
.edition-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--verdishia-leaf); }
.edition-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.edition-card:hover .edition-card__media img { transform: scale(1.05); }
.edition-card__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.edition-card__num {
  font-family: var(--serif); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; color: var(--verdishia-golden);
}
.edition-card__body h3 { font-size: var(--t-2); color: var(--verdishia-cream); }
.edition-card__body h3 a { text-decoration: none; }
.edition-card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.edition-card__body p { font-size: var(--t--1); color: rgba(246, 242, 232, .72); line-height: 1.6; }
.edition-card__count { margin-top: auto; padding-top: 12px; font-size: var(--t--1); color: rgba(246, 242, 232, .55); border-top: 1px solid rgba(246, 242, 232, .12); }

/* per-edition accent, derived from the one palette */
.edition-card[data-edition="weeknight-strength"] { background: var(--verdishia-forest); }
.edition-card[data-edition="slow-comfort"]       { background: #4a2f24; }
.edition-card[data-edition="fresh-and-crisp"]    { background: var(--verdishia-leaf); }
.edition-card[data-edition="morning-rituals"]    { background: #5b4a28; }
.edition-card[data-edition="something-sweet"]    { background: #3d2a33; }

.editions__progress {
  height: 3px; border-radius: 3px; margin-top: 26px;
  background: rgba(246, 242, 232, .16); overflow: hidden;
  width: var(--shell); margin-inline: auto;
}
.editions__progress i {
  display: block; height: 100%; background: var(--verdishia-golden);
  transform: scaleX(0); transform-origin: left;
}
.editions.is-pinned .editions__hint { display: none; }
.editions__hint { width: var(--shell); margin: 18px auto 0; font-size: var(--t--1); color: rgba(246, 242, 232, .5); }

@media (prefers-reduced-motion: reduce) {
  .editions.is-pinned .editions__viewport { position: static; height: auto; }
  .editions__rail { overflow-x: auto; }
  .edition-card:hover { transform: none; }
}

/* ---------------------------------------------------------------
   Cursor — fine pointers only. pointer-events:none everywhere so it
   can never intercept clicks, selection or focus.
   --------------------------------------------------------------- */
.vd-cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--verdishia-forest);
  pointer-events: none;
  transition: opacity .25s var(--ease);
  display: grid; place-items: center;
}
.vd-cursor__ring {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--verdishia-sage);
  transition: width .28s var(--ease), height .28s var(--ease), border-color .28s var(--ease);
  pointer-events: none;
}
.vd-cursor__label {
  position: absolute; white-space: nowrap;
  font: 700 .6rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--verdishia-cream); opacity: 0; transition: opacity .2s var(--ease);
  pointer-events: none;
}
.vd-cursor.is-active { background: var(--verdishia-forest); }
.vd-cursor.is-active .vd-cursor__ring { width: 56px; height: 56px; border-color: var(--verdishia-golden); }
.vd-cursor.is-active .vd-cursor__label { opacity: 1; }
.vd-cursor.is-hidden { opacity: 0; }
/* Never hide the real cursor over text the user may want to select. */
@media (pointer: fine) and (min-width: 1025px) {
  .has-cursor a, .has-cursor button, .has-cursor [role="button"] { cursor: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vd-cursor { display: none !important; }
  .has-cursor a, .has-cursor button { cursor: pointer; }
}
@media (hover: none), (pointer: coarse) {
  .vd-cursor { display: none !important; }
}

/* ===============================================================
   V3.1 — author portrait framing
   The source image is 1122x1402 with the head near the top. A centred
   object-fit:cover crop in a circular container clips the hair
   (crop begins at y=140px; head starts at ~y=75px), so bias upward.
   =============================================================== */
.author-portrait img { object-position: 50% 10%; }

/* ===============================================================
   V4 — refinement pass
   Global tokens consolidated here so no one-off values remain
   scattered across sections.
   =============================================================== */
:root {
  /* spacing scale (brief spec) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* legacy aliases remapped onto the scale above */
  --sp-1: var(--space-1); --sp-2: var(--space-2); --sp-3: var(--space-3);
  --sp-4: var(--space-4); --sp-5: var(--space-5); --sp-6: var(--space-6);
  --sp-7: var(--space-7); --sp-8: var(--space-8); --sp-9: var(--space-9);
  --sp-10: var(--space-10);

  /* container widths */
  --container-wide: 1280px;
  --container-default: 1120px;
  --container-reading: 760px;
  --container-narrow: 620px;
  --shell: min(var(--container-wide), calc(100% - 48px));
  --measure: var(--container-reading);

  /* motion */
  --dur-fast: 180ms;
  --dur-base: 260ms;
  --dur-slow: 600ms;
  --ease: cubic-bezier(.2,.7,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* z-index layers — single source of truth */
  --z-base: 1;
  --z-sticky: 40;
  --z-header: 100;
  --z-drawer: 150;
  --z-overlay: 200;
  --z-cursor: 9999;

  /* sticky-header offset used by every anchor target */
  --header-h: 82px;
  --anchor-offset: 104px;
}

/* ---------------------------------------------------------------
   Anchor targets must clear the sticky header. Previously only
   .prose h2/h3 did, so "Jump to Recipe" landed under the header.
   --------------------------------------------------------------- */
html { scroll-padding-top: var(--anchor-offset); }
.prose h2, .prose h3,
.wprm-recipe-container,
[id^="wprm-recipe-container"],
#recipe-card,
.single-layout { scroll-margin-top: var(--anchor-offset); }

@media (max-width: 760px) {
  :root { --header-h: 66px; --anchor-offset: 84px; }
}

/* ---------------------------------------------------------------
   Layering, applied from the tokens rather than magic numbers
   --------------------------------------------------------------- */
.site-header    { z-index: var(--z-header); }
.archive-tools  { z-index: var(--z-sticky); top: var(--header-h); }
.mobile-drawer  { z-index: var(--z-drawer); }
.search-overlay { z-index: var(--z-overlay); }
.vd-cursor      { z-index: var(--z-cursor); }

/* ---------------------------------------------------------------
   Compact three-point intro.
   The full explanations now live only in the philosophy section, so
   this strip carries short labels and no repeated sentences.
   --------------------------------------------------------------- */
.trust-grid p { display: flex; align-items: baseline; gap: var(--space-3); }
.trust-grid span { margin-bottom: 0; }
.trust-grid strong { margin-bottom: 0; }

/* ---------------------------------------------------------------
   Honeypots: belt and braces. Off-screen, unfocusable, zero size,
   and unable to cause horizontal overflow.
   --------------------------------------------------------------- */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* ---------------------------------------------------------------
   Interaction consistency
   --------------------------------------------------------------- */
.recipe-card:focus-within,
.edition-card:focus-within { outline: 3px solid var(--verdishia-leaf); outline-offset: 3px; }
.button, .text-link, .topic-links a, .pagination a { transition-duration: var(--dur-base); }

/* consistent empty-state block */
.empty-note {
  border: 1px dashed var(--verdishia-border);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  background: var(--verdishia-paper);
}
.empty-note h3 { font-size: var(--t-1); margin-bottom: var(--space-2); }
.empty-note p { color: var(--verdishia-muted-text); font-size: var(--t--1); margin-bottom: var(--space-4); }

/* nutrition disclaimer, used wherever an estimate is shown */
.nutrition-note {
  font-size: var(--t--1);
  color: var(--verdishia-muted-text);
  font-style: italic;
  margin-top: var(--space-3);
}

/* ---------------------------------------------------------------
   Mobile refinement at the narrow end
   --------------------------------------------------------------- */
@media (max-width: 380px) {
  :root { --shell: calc(100% - 24px); }
  .section { padding: var(--space-7) 0; }
  .hero { padding: var(--space-5) 0 var(--space-7); }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .single-meta { gap: var(--space-2); }
  .single-actions { flex-direction: column; align-items: stretch; }
  .single-actions a, .single-meta button { justify-content: center; }
  .meta-row { gap: var(--space-2) var(--space-3); }
}

/* ===============================================================
   V5 — supporting-page system
   Contact, About, Privacy, Nutrition Disclaimer, search, 404.
   Uses the existing Verdishia tokens; adds no new palette.
   =============================================================== */

/* --- compact editorial hero ------------------------------------ */
.doc-hero { background: var(--verdishia-oat); border-bottom: 1px solid var(--verdishia-border); }
.doc-hero .breadcrumbs { margin-bottom: var(--space-4); }
.doc-hero h1 { max-width: 20ch; }
.doc-lede {
  margin-top: var(--space-4);
  font-size: var(--t-1);
  line-height: 1.6;
  color: var(--verdishia-muted-text);
  max-width: 54ch;
}

/* --- document layout: sticky contents + reading column ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.doc-body { max-width: var(--container-reading); }

.doc-nav { position: sticky; top: var(--anchor-offset); }
.doc-nav__disclosure > summary {
  cursor: pointer;
  list-style: none;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--verdishia-muted-text);
  padding: var(--space-2) 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.doc-nav__disclosure > summary::-webkit-details-marker { display: none; }
.doc-nav ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--space-4);
  border-left: 2px solid var(--verdishia-border);
  display: grid;
  gap: 2px;
}
.doc-nav li { counter-increment: none; }
.doc-nav a {
  display: block;
  padding: 7px 0 7px var(--space-3);
  margin-left: calc(-1 * var(--space-4) - 2px);
  border-left: 2px solid transparent;
  font-size: var(--t--1);
  font-weight: 600;
  color: var(--verdishia-muted-text);
  text-decoration: none;
  line-height: 1.4;
}
.doc-nav a:hover { color: var(--verdishia-leaf); }
.doc-nav a.is-active {
  color: var(--verdishia-forest);
  border-left-color: var(--verdishia-terracotta);
}

/* --- plain-language summary panel ------------------------------ */
.doc-summary {
  background: var(--verdishia-soft-sage);
  border: 1px solid rgba(24, 57, 44, .12);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  margin: 0 0 var(--space-7);
}
.doc-summary h2 {
  font-size: var(--t-1);
  margin: 0 0 var(--space-3);
  scroll-margin-top: var(--anchor-offset);
}
.doc-summary p { margin-bottom: var(--space-3); }
.doc-summary ul { margin: 0; padding-left: 1.2em; }
.doc-summary li { margin-bottom: var(--space-2); font-size: var(--t--1); }
.doc-summary > :last-child { margin-bottom: 0; }

.doc-updated {
  font-size: var(--t--1);
  color: var(--verdishia-muted-text);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--verdishia-border);
}

.doc-foot {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--verdishia-border);
}

/* legal copy must stay comfortably readable */
.doc-body { font-size: max(1rem, var(--t-0)); }
.doc-body h2 { margin-top: 2.2em; }
.doc-body h2:first-of-type { margin-top: 0; }

/* --- callout used inside documents ----------------------------- */
.doc-note {
  border-left: 3px solid var(--verdishia-terracotta);
  background: var(--verdishia-paper);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--space-5) 0;
  font-size: var(--t--1);
}

/* --- search + 404 shared states -------------------------------- */
.state-panel {
  background: var(--verdishia-paper);
  border: 1px solid var(--verdishia-border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 48px);
  max-width: var(--container-reading);
}
.state-panel h2 { font-size: var(--t-2); margin-bottom: var(--space-3); }
.state-panel p { color: var(--verdishia-muted-text); margin-bottom: var(--space-5); }
.state-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.search-summary {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  align-items: baseline; justify-content: space-between;
  margin-bottom: var(--space-6);
}
.search-summary .result-count { font-size: var(--t--1); color: var(--verdishia-muted-text); }

/* --- responsive ------------------------------------------------ */
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-nav { position: static; }
  .doc-nav__disclosure {
    border: 1px solid var(--verdishia-border);
    border-radius: var(--r-md);
    padding: var(--space-2) var(--space-4);
    background: var(--verdishia-paper);
  }
  .doc-nav ol { padding-bottom: var(--space-3); }
  .doc-body { max-width: none; }
}

@media (max-width: 760px) {
  .doc-hero h1 { max-width: none; }
  /* legal text must not shrink on small screens */
  .doc-body, .doc-summary li { font-size: 1rem; }
}

/* long addresses and URLs must not force horizontal scrolling */
.doc-body a, .contact-aside dd, .footer-grid a { overflow-wrap: anywhere; }

@media print {
  .doc-nav, .doc-foot, .doc-hero .breadcrumbs { display: none !important; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-summary { border: 1px solid #999; background: none; }
  .doc-body { max-width: none; font-size: 11pt; }
}
