/* ==========================================================================
   WideSprout Recipes — global stylesheet
   Fresh Ideas. Good Food. Everyday.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --mint: #DDF5EC;
  --aqua: #D2F0EE;
  --forest: #29482E;
  --dark: #193923;
  --leaf: #A9CF72;
  --leaf-deep: #6E9B3A;
  --cream: #FAF8F2;
  --white: #FFFFFF;
  --text: #333B35;
  --muted: #5A665D;
  --line: #E3EEE7;
  --field: #C5D9CB;
  --error: #A3332B;
  --warn-bg: #FFF6DA;
  --warn-text: #4A3B10;

  --font-display: "Urbanist", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-xl: 64px;
  --shadow: 0 16px 44px rgba(25, 57, 35, .10);
  --gutter: 40px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--dark); }
:focus-visible { outline: 3px solid var(--leaf-deep); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--forest); line-height: 1.08; letter-spacing: -.01em; }
p, ul, ol, dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[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: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px; background: var(--forest); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1040px; }
.wrap--text { max-width: 980px; }
@media (max-width: 760px) { :root { --gutter: 16px; } }

.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.bg-white { background: var(--white); }
.bg-mint { background: var(--mint); }
.bg-aqua { background: var(--aqua); }
.bg-cream { background: var(--cream); }
.rounded-top { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.wave { display: block; width: 100%; height: 90px; }
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .wave { height: 48px; }
  .rounded-top { border-radius: 36px 36px 0 0; }
}

.stack { display: flex; flex-direction: column; gap: var(--gap, 20px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 48px); }
.split > * { min-width: 0; }
.grid { display: grid; gap: var(--row-gap, 40px) var(--col-gap, 32px); grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 300px), 100%), 1fr)); }
.grid-fit { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); }

/* ---------- 4. Typography ---------- */
.light { font-weight: 300; }
.bold { font-weight: 800; }
.block { display: block; }
.h-display { font-size: clamp(52px, 6.4vw, 96px); line-height: .98; letter-spacing: -.02em; }
.h-page { font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.h-section { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.h-sub { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.h-card { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--dark); }
.lead { font-size: 19px; line-height: 1.65; max-width: 560px; }
.body-l { font-size: 18px; line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 40px; }
.section-head p { margin-top: 10px; font-size: 18px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center p { margin-inline: auto; max-width: 560px; }

.eyebrow {
  display: inline-flex; align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: var(--mint); color: var(--forest);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow--white { background: var(--white); }
.eyebrow--aqua { background: var(--aqua); }
.eyebrow--leaf { background: var(--leaf); color: var(--dark); }

.brush { position: relative; align-self: flex-start; padding: 12px 26px; }
.brush svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.brush span { position: relative; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--dark); }

.link-u {
  color: var(--forest); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--leaf);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.link-u:hover { color: var(--dark); text-decoration-color: var(--forest); }

.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.byline { font-size: 15px; color: var(--muted); }
.byline a { font-weight: 600; }
.placeholder { border: 2px dashed var(--leaf); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- 5. Buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--forest); color: var(--white);
  font: 600 16px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--dark); color: var(--white); }
.btn--line { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--line:hover { background: var(--forest); color: var(--white); }
.btn--white { background: var(--white); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--white:hover { background: var(--forest); color: var(--white); }
.btn--leaf { background: var(--leaf); color: var(--dark); }
.btn--leaf:hover { background: var(--white); color: var(--dark); }
.btn--outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--dark); }
.btn--tall { min-height: 54px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--forest); border-radius: 999px; background: var(--white); color: var(--forest);
  font: 600 15px/1 var(--font-body); cursor: pointer; text-decoration: none;
}
.chip:hover { background: var(--mint); color: var(--dark); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip.is-on { background: var(--forest); color: var(--white); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip-row__label { min-width: 80px; margin-right: 6px; font-weight: 700; color: var(--dark); }

.tag { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 13px; font-weight: 600; text-decoration: none; }
.tag--leaf { background: var(--leaf); color: var(--dark); }
.tag--white { background: var(--white); }
.tag--cream { background: var(--cream); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.time-badge {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--white); color: var(--dark); font-size: 13px; font-weight: 700;
}
.photo-note {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--white); box-shadow: 0 4px 16px rgba(25, 57, 35, .10);
  font-size: 13px; font-weight: 600; color: var(--forest);
}

/* ---------- 6. Forms ---------- */
.input, .field {
  width: 100%; min-height: 54px; padding: 0 22px;
  border: 1.5px solid var(--field); border-radius: 999px; background: var(--white);
  font: 400 16px var(--font-body); color: var(--text);
}
.field { border-radius: 18px; padding: 0 18px; }
textarea.field { min-height: 150px; padding: 16px 18px; resize: vertical; }
select.field { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2329482E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.input:focus, .field:focus { outline: 3px solid var(--leaf); outline-offset: 1px; border-color: var(--forest); }
.input[aria-invalid="true"], .field[aria-invalid="true"] { border-color: var(--error); }
.label { font-weight: 700; font-size: 15px; color: var(--dark); }
.label .opt { font-weight: 400; color: var(--muted); }
.error { font-size: 14px; font-weight: 600; color: var(--error); }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; cursor: pointer; }
.check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--forest); }

.search-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.search-field { position: relative; flex: 1 1 260px; }
.search-field svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-field .input { padding-left: 52px; }

.pill-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--field); }
.pill-form input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 16px; border: 0; background: transparent; font: 400 16px var(--font-body); color: var(--text); }
.pill-form input:focus { outline: none; }
.pill-form:focus-within { box-shadow: inset 0 0 0 2px var(--forest), 0 0 0 3px var(--leaf); }
.pill-form .btn { padding: 0 22px; }
@media (max-width: 420px) {
  .pill-form { flex-direction: column; border-radius: 26px; }
  .pill-form .btn { width: 100%; }
}

.notice { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 22px; background: var(--white); font-size: 16px; line-height: 1.5; }
.notice strong { color: var(--dark); }
.notice__icon { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--leaf); display: flex; align-items: center; justify-content: center; }

/* ---------- 7. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__bar { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; }
.logo__word { font-family: var(--font-display); font-size: 27px; line-height: 1; letter-spacing: -.01em; }
.logo img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 0; background: none; cursor: pointer;
  font: 600 16px var(--font-body); color: var(--dark); text-decoration: none;
}
.nav__link:hover, .nav__link[aria-current="page"] {
  color: var(--dark); text-decoration: underline; text-decoration-color: var(--leaf);
  text-decoration-thickness: 3px; text-underline-offset: 8px;
}
.nav__link svg { transition: transform .2s ease; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: relative; }
.dropdown__panel {
  position: absolute; top: 54px; left: -24px; width: 430px; padding: 22px;
  border-radius: var(--radius-md); background: var(--white); box-shadow: 0 18px 50px rgba(25, 57, 35, .16);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
}
.dropdown__item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 14px; color: var(--dark); font-size: 15px; font-weight: 600; text-decoration: none; }
.dropdown__item:hover { background: var(--mint); color: var(--dark); }
.dropdown__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.dot { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--dot-bg); display: inline-flex; align-items: center; justify-content: center; }
.dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--mint); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--leaf); color: var(--dark); }
.icon-btn--dark { background: var(--forest); color: var(--white); }
.icon-btn--dark:hover { background: var(--dark); color: var(--white); }
.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; flex-direction: column; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - 80px); overflow-y: auto; }
.mobile-nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid #EEF4F0; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--dark); text-decoration: none; }
.mobile-nav__link[aria-current="page"] { color: var(--leaf-deep); }
.mobile-nav__heading { margin: 18px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mobile-nav__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-nav__cats a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--dot-bg); color: var(--dark); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (max-width: 999px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: flex; }
}

/* ---------- 8. Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--forest); color: #E8F3EC; border-radius: 56px 56px 0 0; }
.site-footer__leaf { position: absolute; right: -60px; top: -40px; width: 300px; opacity: .18; pointer-events: none; }
.site-footer .wrap { position: relative; padding-top: 72px; }
.footer-signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; padding: 30px 36px; border-radius: 32px; background: var(--dark); }
.footer-signup h2 { color: var(--white); font-size: 30px; line-height: 1.15; }
.footer-signup p { color: #CFE3D5; font-size: 15px; margin-top: 6px; }
.footer-signup__copy { flex: 1 1 320px; }
.footer-signup__form { flex: 1 1 420px; }
.footer-signup .label { color: var(--white); }
.footer-signup .pill-form { box-shadow: none; }
.footer-signup .btn { background: var(--leaf); color: var(--dark); }
.footer-signup .btn:hover { background: var(--white); }
.footer-signup .error { color: #FFD6CF; }
.footer-signup .notice { background: transparent; color: var(--white); padding: 0; }
.footer-signup .notice strong { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 64px 0 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .logo { color: var(--white); }
.footer-brand .logo img { width: 40px; height: 40px; }
.footer-brand p { font-size: 15px; line-height: 1.65; color: #CFE3D5; max-width: 280px; }
.social { list-style: none; padding: 0; display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--forest); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--leaf); color: var(--dark); }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h3 { margin-bottom: 4px; font-size: 20px; font-weight: 400; color: var(--white); }
.footer-col a { color: #E8F3EC; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.cookie-panel { margin-bottom: 28px; padding: 26px 28px; border-radius: var(--radius-md); background: var(--white); color: var(--text); display: flex; flex-direction: column; gap: 14px; }
.cookie-panel h3 { font-size: 22px; font-weight: 800; color: var(--dark); }
.cookie-panel p { font-size: 14px; line-height: 1.6; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 0 4px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--dark); }
.cookie-row span span { font-weight: 400; color: var(--muted); }
.cookie-row input { width: 22px; height: 22px; accent-color: var(--forest); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: #CFE3D5; }
.footer-bottom__links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.text-btn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--white); font: 600 14px var(--font-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 760px) { .site-footer { border-radius: 36px 36px 0 0; } .footer-signup { padding: 24px; } }

/* ---------- 9. Cards ---------- */
.card { display: flex; flex-direction: column; gap: 12px; color: var(--text); text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; transition: transform .3s ease; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media { transform: translateY(-4px); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--dark); }
.card:hover .card__title, .row-card:hover .card__title, .cat-card:hover .card__title {
  text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.card:hover { color: var(--text); }
.card__desc { font-size: 16px; line-height: 1.6; }
.card__meta { font-size: 14px; font-weight: 700; color: var(--forest); }

.row-card { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: var(--radius-md); background: var(--white); color: var(--text); text-decoration: none; transition: box-shadow .2s ease; }
.row-card:hover { color: var(--text); box-shadow: 0 12px 30px rgba(25, 57, 35, .10); }
.row-card__media { flex: 0 0 var(--size, 104px); height: var(--h, var(--size, 104px)); border-radius: 20px; overflow: hidden; }
.row-card__media img { width: 100%; height: 100%; object-fit: cover; }
.row-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row-card .card__title { font-size: 20px; line-height: 1.25; }
.row-card--glass { background: rgba(255, 255, 255, .7); }

.cat-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.cat-card__media { aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden; transition: transform .3s ease; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-card__media { transform: translateY(-4px); }
.cat-card__label { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.cat-card .card__title { font-size: 21px; }

.empty-state { padding: 56px 32px; border-radius: 32px; background: var(--cream); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-state h2 { font-size: 28px; font-weight: 800; color: var(--dark); }

/* ---------- 10. Homepage ---------- */
.hero { padding: 32px 0 24px; }
.hero__media { flex: 1 1 460px; position: relative; margin-left: calc(var(--gutter) * -1); }
.hero__media img { width: 100%; height: auto; }
.hero__media .photo-note { left: 56px; bottom: 6px; }
.hero__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 26px; padding: 24px 0; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; color: var(--muted); }
.popular strong { color: var(--forest); }

.quick-count { margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.quick-grid { --min: 300px; --row-gap: 24px; --col-gap: 24px; }
.quick-grid .row-card { box-shadow: 0 1px 0 rgba(25, 57, 35, .06); }
.quick-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--forest); }

.season { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.season-block:not(.is-active) { display: none !important; }
.season__panel { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 44px; border-radius: 36px; background: var(--white); }
.season__list { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.produce { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.produce li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--cream); font-size: 15px; font-weight: 600; color: var(--dark); }
.produce li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
@media (max-width: 760px) { .season__panel { padding: 28px; } }

.philosophy-band { margin-right: max(16px, calc((100% - 1240px) / 2)); padding: 64px 0; background: var(--mint); border-radius: 0 320px 320px 0; }
.philosophy-band .split { padding-right: clamp(16px, 8vw, 120px); gap: 56px; }
.philosophy-band__media { flex: 0 1 420px; min-width: 260px; margin: 0 auto; }
.philosophy-band__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 760px) { .philosophy-band { border-radius: 0 120px 120px 0; padding: 48px 0; } }

.ingredients { list-style: none; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 28px 20px; }
.ing-link { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--dark); text-decoration: none; font-weight: 700; font-size: 17px; }
.ing-disc { width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .25s ease, box-shadow .25s ease; }
.ing-disc img { width: 58px; height: 58px; }
.ing-link:hover { color: var(--dark); }
.ing-link:hover .ing-disc { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(25, 57, 35, .12); }

.newsletter { display: flex; flex-wrap: wrap; align-items: stretch; border-radius: 44px; overflow: hidden; background: #EEF2EC; }
.newsletter__media { flex: 1 1 420px; min-height: 300px; position: relative; background: #F4E9D4; }
.newsletter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.newsletter__body { flex: 1 1 460px; min-width: 0; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.newsletter__body h2 { font-size: clamp(34px, 3.6vw, 48px); }
.newsletter form { display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
@media (max-width: 760px) { .newsletter__body { padding: 32px 24px; } .newsletter { border-radius: 32px; } }

/* ---------- 11. Page heroes & archives ---------- */
.page-hero { position: relative; padding: 64px 0 120px; overflow: hidden; }
.page-hero__art { position: absolute; right: -60px; top: -40px; width: 420px; pointer-events: none; }
@media (max-width: 760px) { .page-hero__art { opacity: .35; } }
.filter-panel { position: relative; margin-top: -64px; padding: 26px 28px; border-radius: 32px; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.filter-panel__row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort select { min-height: 46px; width: auto; border-radius: 999px; font-weight: 600; color: var(--dark); }
.result-count { font-size: 16px; color: var(--muted); }
.result-count strong { color: var(--dark); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 16px; font-size: 14px; color: var(--muted); }
.pagination [aria-current] { width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }

.organic-media { aspect-ratio: 5 / 4; border-radius: 200px 40px 200px 40px; overflow: hidden; }
.organic-media img { width: 100%; height: 100%; object-fit: cover; }
.tips { flex: 2 1 460px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.tips li { display: flex; flex-direction: column; gap: 8px; }
.tips__n { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--leaf); line-height: 1; }
.tips strong { font-size: 18px; color: var(--dark); }
.panel { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--white); }
.panel--mint { background: var(--mint); }
.panel--aqua { background: var(--aqua); }
.panel--cream { background: var(--cream); }
.panel--forest { background: var(--forest); color: #E8F3EC; }
.cat-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 0 24px; border-radius: var(--radius-md); background: var(--bg); color: var(--dark); text-decoration: none; font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.cat-links a:hover { box-shadow: inset 0 0 0 2px var(--forest); }
.info-card { padding: 28px; border-radius: 28px; display: flex; flex-direction: column; gap: 10px; }
.info-card strong { font-family: var(--font-display); font-size: 21px; color: var(--dark); }
.info-card p { font-size: 16px; line-height: 1.65; }

/* ---------- 12. Single recipe ---------- */
.recipe-hero { padding: 28px 0 56px; overflow: hidden; }
.recipe-hero__media { flex: 1 1 460px; position: relative; }
.recipe-hero__blob { position: absolute; right: -30px; top: -20px; width: 70%; pointer-events: none; }
.recipe-hero__img { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; }
.recipe-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; max-width: 600px; }
.facts div { padding: 14px 16px; border-radius: 18px; background: var(--cream); }
.facts dt { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin-top: 4px; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--dark); }
.with-aside { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.with-aside > article { flex: 999 1 600px; min-width: 0; }
.with-aside > aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.prose { max-width: 740px; }
.prose p { margin-bottom: 20px; font-size: 18px; line-height: 1.8; }
.prose h2 { margin: 56px 0 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 800; }
.toc { padding: 26px; border-radius: 28px; background: var(--cream); }
.toc h2 { margin-bottom: 10px; font-size: 20px; font-weight: 800; color: var(--dark); }
.toc ul { list-style: none; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
.promo { padding: 26px; border-radius: 28px; background: var(--forest); color: #E8F3EC; display: flex; flex-direction: column; gap: 12px; }
.promo h2 { font-size: 22px; color: var(--white); }
.promo p { font-size: 15px; line-height: 1.6; }
.promo .btn { align-self: flex-start; min-height: 44px; padding: 0 18px; }
.promo-link { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 28px; background: var(--aqua); color: var(--dark); text-decoration: none; }
.promo-link strong { font-family: var(--font-display); font-size: 20px; }
.loves { list-style: none; padding: 0; }
.loves li { padding: 24px; border-radius: var(--radius-md); background: var(--mint); display: flex; flex-direction: column; gap: 10px; }
.loves strong { font-family: var(--font-display); font-size: 20px; color: var(--dark); }
.notes div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.notes dt { font-weight: 700; font-size: 17px; color: var(--dark); }
.notes dd { margin-top: 6px; font-size: 17px; line-height: 1.7; }
.process figure { display: flex; flex-direction: column; gap: 10px; }
.process img { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-md); object-fit: cover; }
.process figcaption { font-size: 15px; line-height: 1.5; }
.process figcaption strong { color: var(--dark); }

.recipe-card { padding: clamp(24px, 4vw, 56px); border-radius: 44px; background: var(--mint); display: flex; flex-direction: column; gap: 36px; }
.recipe-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.recipe-card__title { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; color: var(--dark); }
.servings { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: var(--white); }
.servings button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mint); color: var(--dark); font: 700 20px var(--font-body); cursor: pointer; }
.servings button:last-child { background: var(--forest); color: var(--white); }
.servings output { min-width: 108px; text-align: center; font-weight: 700; color: var(--dark); }
.recipe-cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.ingredients-box { flex: 1 1 340px; min-width: 0; padding: 30px; border-radius: 30px; background: var(--white); }
.ingredients-box h3, .method h3 { font-size: 26px; font-weight: 800; color: var(--dark); }
.ing-list { list-style: none; padding: 0; margin-top: 14px; }
.ing-list li { border-top: 1px solid #EEF4F0; }
.ing-list label { display: flex; gap: 14px; align-items: flex-start; min-height: 48px; padding: 12px 0; font-size: 17px; line-height: 1.5; cursor: pointer; }
.ing-list input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); }
.ing-list strong { color: var(--dark); }
.ing-list input:checked + span { color: #7A857D; text-decoration: line-through; }
.ing-list input:checked + span strong { color: #7A857D; }
.scaled-note { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--warn-text); font-size: 14px; line-height: 1.5; }
.method { flex: 1.4 1 420px; min-width: 0; }
.steps { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.step { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .72); counter-increment: step; }
.step::before { content: counter(step); flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.step__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step h4 { font-size: 19px; font-weight: 700; color: var(--dark); }
.step p { font-size: 17px; line-height: 1.7; }
.step__time { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 5px 11px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 700; color: var(--forest); }
.step--plain { background: var(--cream); }
.info-box { padding: 24px; border-radius: var(--radius-md); background: var(--white); }
.info-box h3 { margin-bottom: 10px; font-size: 20px; font-weight: 800; color: var(--dark); }
.info-box ul { padding-left: 20px; font-size: 16px; line-height: 1.8; }
.info-box--dashed { border: 2px dashed var(--leaf); }
.swap { padding: 24px; border-radius: var(--radius-md); background: var(--cream); display: flex; flex-direction: column; gap: 8px; }
.swap span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); }
.swap strong { font-family: var(--font-display); font-size: 20px; color: var(--dark); }
.storage { display: flex; flex-wrap: wrap; gap: 32px; padding: clamp(24px, 4vw, 48px); border-radius: 36px; background: var(--aqua); }
.storage h3 { margin-bottom: 6px; font-size: 18px; color: var(--dark); font-family: var(--font-body); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 22px; background: var(--cream); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 0 24px; font-weight: 700; font-size: 18px; color: var(--dark); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--forest); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px; font-size: 17px; line-height: 1.7; }
.reviews { display: flex; flex-wrap: wrap; gap: 40px; padding: clamp(24px, 4vw, 48px); border-radius: 36px; border: 1.5px solid #DDE9E1; }
.reviews > * { min-width: 0; }
.stars { display: flex; gap: 6px; }
.stars button { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.stars path { fill: var(--white); stroke: var(--forest); stroke-width: 1.4; stroke-linejoin: round; }
.stars button[aria-pressed="true"] path { fill: var(--leaf); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--dark); }

/* ---------- 13. Meal plans, guides, search, contact, policies ---------- */
.steps-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 26px; }
.num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.steps-list strong { display: block; font-size: 18px; color: var(--dark); }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); }
.segmented button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: transparent; color: var(--forest); font: 700 16px var(--font-body); cursor: pointer; }
.segmented button[aria-selected="true"], .segmented button[aria-pressed="true"] { background: var(--forest); color: var(--white); }
.segmented--soft { background: #F1F5F2; padding: 4px; }
.segmented--soft button { min-height: 44px; padding: 0 18px; font-size: 15px; }
.day-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 26px; background: var(--white); color: var(--text); text-decoration: none; }
.day-card:hover { color: var(--text); }
.day-card:hover .card__title { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.day-card__day { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.day-card img { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; object-fit: cover; }
.day-card .card__title { font-size: 19px; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.6; }
.check-list svg { flex: 0 0 auto; margin-top: 2px; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--cream); font-size: 15px; font-weight: 600; color: var(--dark); }
.pill-list--mint li { background: var(--mint); padding: 10px 16px; }
.qa { display: flex; flex-direction: column; gap: 22px; }
.qa dt { font-weight: 700; font-size: 18px; color: var(--dark); }
.qa dd { margin-top: 6px; font-size: 17px; line-height: 1.65; }

.feature-card { display: flex; flex-wrap: wrap; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); color: var(--text); text-decoration: none; }
.feature-card:hover { color: var(--text); }
.feature-card:hover .card__title { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.feature-card__media { flex: 1 1 420px; min-height: 320px; position: relative; }
.feature-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { flex: 1 1 380px; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.guide-icon { aspect-ratio: 16 / 10; border-radius: 26px; display: flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.guide-icon span { width: 110px; height: 110px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }
.card:hover .guide-icon { transform: translateY(-4px); }
.post-list { display: flex; flex-direction: column; }
.post { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid #E6E1D4; color: var(--text); text-decoration: none; }
.post:hover { color: var(--text); }
.post:hover .card__title { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post__topic { flex: 0 0 140px; font-size: 14px; font-weight: 700; color: var(--forest); text-transform: uppercase; letter-spacing: .06em; }
.post__body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; }
.basics div { padding: 22px; border-radius: 22px; }
.basics span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--forest); }
.basics strong { font-family: var(--font-display); font-size: 24px; color: var(--dark); }
.basics small { display: block; margin-top: 4px; font-size: 14px; }
.table-wrap { overflow-x: auto; margin-bottom: 24px; border-radius: var(--radius-md); border: 1.5px solid #DDE9E1; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.table-wrap thead tr { background: var(--mint); text-align: left; }
.table-wrap th, .table-wrap td { padding: 14px 20px; }
.table-wrap thead th { padding-block: 16px; color: var(--dark); }
.table-wrap tbody tr { border-top: 1px solid var(--line); }
.table-wrap tbody th { text-align: left; font-weight: 700; color: var(--dark); }
.table-wrap td:last-child { font-weight: 600; white-space: nowrap; }
.callout { padding: 22px 24px; margin-bottom: 24px; border-radius: 22px; background: var(--warn-bg); color: var(--warn-text); font-size: 17px; line-height: 1.7; }
.callout strong { display: block; margin-bottom: 4px; }
.mistakes { list-style: none; padding: 0; margin-bottom: 24px; }
.mistakes li { padding: 22px; border-radius: 22px; border: 1.5px solid #DDE9E1; font-size: 16px; line-height: 1.6; }
.mistakes strong { display: block; margin-bottom: 4px; color: var(--dark); }

.search-box { position: relative; }
.search-box svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-box input { width: 100%; min-height: 60px; padding: 0 22px 0 56px; border: 1.5px solid var(--forest); border-radius: 999px; background: var(--white); font: 400 18px var(--font-body); color: var(--text); }
.search-box input:focus { outline: 3px solid var(--leaf); outline-offset: 1px; }
.results { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.result-thumb { flex: 0 0 96px; height: 96px; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-thumb .bubble { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }
.result-thumb .bubble span { width: 44px; height: 44px; border-radius: 50%; }
.result-type { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); }

.contact-card { flex: 999 1 560px; min-width: 0; padding: clamp(24px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 18px 50px rgba(25, 57, 35, .10); }
.contact-card form { display: flex; flex-direction: column; gap: 20px; }
.contact-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-aside .panel { padding: 30px; border-radius: 32px; display: flex; flex-direction: column; gap: 10px; }
.contact-aside dt { font-size: 15px; color: #CFE3D5; margin-top: 6px; }
.contact-aside dd { font-size: 17px; font-weight: 700; color: var(--white); }
.success-big { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 0; }
.success-big__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--leaf); display: flex; align-items: center; justify-content: center; }

.policy-nav { flex: 1 1 240px; min-width: 0; padding: 12px; border-radius: var(--radius-md); background: var(--cream); display: flex; flex-direction: column; gap: 4px; }
.policy-nav button { display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-radius: 16px; background: transparent; color: var(--dark); font: 600 16px var(--font-body); text-align: left; cursor: pointer; }
.policy-nav button:hover { background: #EEF7F2; }
.policy-nav button[aria-selected="true"] { background: var(--forest); color: var(--white); }
.policy { flex: 999 1 560px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 28px; }
.policy section { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy h3 { font-size: 24px; font-weight: 700; }
.policy p { font-size: 17px; line-height: 1.75; }

.team-card { padding: 28px; border-radius: 30px; background: var(--white); display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: 0 0 88px; height: 88px; border-radius: 50%; background: var(--mint); border: 2px dashed var(--leaf); display: flex; align-items: center; justify-content: center; }
.principle { padding: 30px; border-radius: 30px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.principle h3 { font-size: 24px; font-weight: 800; color: var(--dark); }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--forest); }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 44px); }

/* ---------- 14. Style guide page ---------- */
.swatch { display: flex; flex-direction: column; gap: 8px; }
.swatch__chip { height: 120px; border-radius: var(--radius-md); background: var(--c); box-shadow: inset 0 0 0 1px rgba(25, 57, 35, .08); }
.swatch code { font-size: 13px; }
.type-row span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }

/* ---------- 15. Print ---------- */
@media print {
  .site-header, .site-footer, .no-print, .skip-link { display: none !important; }
  body { font-size: 12pt; }
  .recipe-card { background: none; padding: 0; }
  .ingredients-box, .step { background: none; padding: 8px 0; }
  a { text-decoration: none; }
}
