/* ============================================================
   Russell's Loving Life — styles.css
   Warm, wholesome design system for homeschooling, cooking
   & family life. Shared across every page for consistency.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cream:        #faf6ef;
  --cream-2:      #f3ece0;
  --paper:        #fffdf9;
  --sage:         #7f9471;
  --sage-dark:    #5f7355;
  --sage-soft:    #e7ede1;
  --terracotta:   #c97b5a;
  --terracotta-dk:#b5653f;
  --honey:        #e3a857;
  --ink:          #3a342c;
  --ink-soft:     #6a6256;
  --line:         #e6ddcd;
  --white:        #ffffff;

  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(58,52,44,.06);
  --shadow-md: 0 10px 30px rgba(58,52,44,.10);
  --shadow-lg: 0 20px 50px rgba(58,52,44,.14);

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

  --step--1: clamp(.85rem, .82rem + .15vw, .92rem);
  --step-0:  clamp(1rem, .97rem + .2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + .9vw, 1.95rem);
  --step-3:  clamp(1.9rem, 1.5rem + 1.8vw, 2.8rem);
  --step-4:  clamp(2.3rem, 1.7rem + 3vw, 3.8rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--terracotta-dk); text-decoration-thickness: .07em; text-underline-offset: .18em; }
a:hover { color: var(--sage-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; color: var(--ink); font-weight: 600; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.center { text-align: center; }
.lead { font-size: var(--step-1); color: var(--ink-soft); }
.eyebrow { font-family: var(--sans); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--terracotta-dk); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-sage-soft { background: var(--sage-soft); }
.bg-cream-2 { background: var(--cream-2); }

/* ---------- Skip link (accessibility) — offscreen vertically, no h-overflow ---------- */
.skip-link { position: absolute; left: .5rem; top: -3rem; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; transition: top .2s ease; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-weight: 800; font-size: var(--step-0); padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terracotta-dk); color: #fff; box-shadow: var(--shadow-md); }
.btn--sage { background: var(--sage); color: #fff; }
.btn--sage:hover { background: var(--sage-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage-dark); }
.btn--lg { padding: 1rem 1.9rem; font-size: var(--step-1); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__logo { height: 54px; width: auto; display: block; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: var(--ink); line-height: 1; }
.brand__name small { display: block; font-family: var(--sans); font-weight: 700; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-dark); margin-top: .2rem; }
.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.nav__links a { display: inline-block; text-decoration: none; color: var(--ink); font-weight: 700; padding: .5rem .7rem; border-radius: 8px; font-size: .98rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--sage-soft); color: var(--sage-dark); }
.nav__cta { margin-left: .4rem; }
.nav__toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s; }
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .15rem; background: var(--paper); border-bottom: 1px solid var(--line); padding: .8rem clamp(1rem,4vw,2rem) 1.2rem; box-shadow: var(--shadow-md); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .75rem .8rem; font-size: 1.05rem; }
  .nav__cta { margin: .4rem 0 0; }
  .brand__logo { height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sage-soft), var(--cream) 60%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; padding-block: clamp(3rem,7vw,6rem); }
.hero h1 { margin-bottom: 1rem; }
.hero p { font-size: var(--step-1); color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__art { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; width: 100%; object-fit: cover; background: linear-gradient(135deg, var(--honey), var(--terracotta)); }
.hero__badges { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero__badge { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--sage-dark); font-size: .95rem; }
@media (max-width: 820px) { .hero__inner { grid-template-columns: 1fr; text-align: center; } .hero p { margin-inline: auto; } .hero__cta, .hero__badges { justify-content: center; } .hero__art { order: -1; max-width: 460px; margin-inline: auto; } }

/* ---------- Pillars / cards ---------- */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16/10; background: var(--cream-2); position: relative; }
.card__media--sage { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); }
.card__media--terra { background: linear-gradient(135deg, var(--honey), var(--terracotta)); }
.card__media--cream { background: linear-gradient(135deg, var(--cream-2), var(--honey)); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta-dk); }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card a.card__link { margin-top: auto; font-weight: 800; text-decoration: none; color: var(--sage-dark); }
.card a.card__link:hover { color: var(--terracotta-dk); }
.card--link { text-decoration: none; color: inherit; }

.pillar { text-align: center; padding: 2rem 1.5rem; }
.pillar__icon { width: 64px; height: 64px; margin: 0 auto 1rem; }

/* ---------- Newsletter / opt-in ---------- */
.optin { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem,5vw,3.5rem); text-align: center; box-shadow: var(--shadow-md); }
.optin h2, .optin p { color: #fff; }
.optin p { opacity: .92; max-width: 50ch; margin: .8rem auto 1.6rem; }
.optin__form { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; max-width: 480px; margin-inline: auto; }
.optin__form input[type="email"] { flex: 1 1 220px; padding: .85rem 1.1rem; border-radius: 999px; border: 2px solid transparent; font-family: var(--sans); font-size: 1rem; }
.optin__form input:focus { outline: 3px solid var(--honey); }
.optin small { display: block; margin-top: 1rem; opacity: .8; }
.optin small a { color: #fff; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; max-width: 620px; }
.form label { font-weight: 800; font-size: .95rem; display: block; margin-bottom: .35rem; }
.form input, .form textarea, .form select { width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid var(--line); font-family: var(--sans); font-size: 1rem; background: var(--paper); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 3px solid var(--sage-soft); border-color: var(--sage); }
.form textarea { min-height: 150px; resize: vertical; }

/* ---------- Ad slots (Google AdSense ready) ---------- */
.ad-slot { margin: 2.5rem auto; max-width: 728px; text-align: center; padding: .5rem; border: 1px dashed var(--line); border-radius: 10px; background: var(--paper); }
.ad-slot__label { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); opacity: .7; margin-bottom: .35rem; }
.ad-slot__ph { min-height: 90px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .85rem; opacity: .55; }
.ad-slot--inline { max-width: 100%; }

/* ---------- Article ---------- */
.article { background: var(--paper); }
.article__head { background: linear-gradient(160deg, var(--sage-soft), var(--cream)); padding-block: clamp(2.5rem,5vw,4rem); }
.article__meta { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; color: var(--ink-soft); font-size: .9rem; margin-top: 1rem; }
.article__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); display: inline-block; }
.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.6rem; font-size: var(--step-2); }
.prose h3 { margin-top: 1.8rem; font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-block: 1.6rem; }
.prose blockquote { border-left: 4px solid var(--sage); background: var(--sage-soft); padding: 1rem 1.3rem; border-radius: 0 10px 10px 0; font-style: italic; color: var(--ink); }
.prose figcaption { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: .5rem; }

.callout { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.callout--tip { border-left: 5px solid var(--honey); }
.callout--affiliate { border-left: 5px solid var(--terracotta); background: #fbf2ec; font-size: .92rem; }
.callout h3, .callout h4 { margin-bottom: .4rem; }

/* table of contents */
.toc { background: var(--sage-soft); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.toc h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* recipe card */
.recipe-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.recipe-card__head { background: var(--sage); color: #fff; padding: 1rem 1.4rem; }
.recipe-card__head h2 { color: #fff; margin: 0; font-size: var(--step-1); }
.recipe-card__stats { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.1rem 1.4rem; background: var(--cream-2); }
.recipe-card__stats div { font-size: .9rem; }
.recipe-card__stats strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.recipe-card__body { padding: 1.2rem 1.4rem 1.6rem; }

/* ---------- Trust / about strip ---------- */
.about-strip { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.about-strip__photo { aspect-ratio: 1/1; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--honey), var(--sage)); }
img.about-strip__photo { aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
@media (max-width: 780px) { .about-strip { grid-template-columns: 1fr; text-align: center; } .about-strip__photo { max-width: 360px; margin-inline: auto; } }

/* ---------- YouTube strip ---------- */
.yt-strip { text-align: center; }
.yt-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--ink-soft); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8e1d4; padding-block: clamp(2.5rem,5vw,3.5rem) 1.5rem; }
.site-footer a { color: #e8e1d4; }
.site-footer a:hover { color: var(--honey); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__grid h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer__grid ul { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: .94rem; }
.footer__brand p { color: #c9c0b0; font-size: .94rem; margin-top: .6rem; max-width: 32ch; }
.footer__nap { font-size: .9rem; color: #c9c0b0; margin-top: .6rem; }
.footer__bottom { border-top: 1px solid #4a4339; margin-top: 2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #b8af9f; }
.footer__credit a { color: var(--honey); font-weight: 700; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Social icons (footer) + branded colors ---------- */
.footer__social { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); transition: transform .15s ease, filter .2s ease; }
.footer__social a svg { width: 18px; height: 18px; display: block; fill: #fff; }
.footer__social a[aria-label="Facebook"]  { background: #1877F2; border-color: #1877F2; }
.footer__social a[aria-label="Instagram"] { background: #E4405F; border-color: #E4405F; }
.footer__social a[aria-label="YouTube"]   { background: #FF0000; border-color: #FF0000; }
.footer__social a[aria-label="Pinterest"] { background: #E60023; border-color: #E60023; }
.footer__social a[aria-label="TikTok"]    { background: #111111; border-color: rgba(255,255,255,.4); }
.footer__social a:hover { filter: brightness(1.12); transform: translateY(-2px); }

/* Branded "Follow" buttons (contact page) */
.card a.btn[href*="facebook.com"]  { background: #1877F2; border-color: #1877F2; color: #fff; }
.card a.btn[href*="instagram.com"] { background: #E4405F; border-color: #E4405F; color: #fff; }
.card a.btn[href*="youtube.com"]   { background: #FF0000; border-color: #FF0000; color: #fff; }
.card a.btn[href*="pinterest.com"] { background: #E60023; border-color: #E60023; color: #fff; }
.card a.btn[href*="tiktok.com"]    { background: #111111; border-color: #111111; color: #fff; }
.card a.btn[href*="facebook.com"] svg, .card a.btn[href*="instagram.com"] svg, .card a.btn[href*="youtube.com"] svg, .card a.btn[href*="pinterest.com"] svg, .card a.btn[href*="tiktok.com"] svg { fill: #fff; }
.card a.btn[href*="facebook.com"]:hover, .card a.btn[href*="instagram.com"]:hover, .card a.btn[href*="youtube.com"]:hover, .card a.btn[href*="pinterest.com"]:hover, .card a.btn[href*="tiktok.com"]:hover { filter: brightness(1.08); color: #fff; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 760px; margin-inline: auto; background: var(--ink); color: #f1ebdf; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: none; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { color: #f1ebdf; font-size: .9rem; margin: 0; flex: 1 1 280px; }
.cookie-banner a { color: var(--honey); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(160deg, var(--sage-soft), var(--cream)); padding-block: clamp(2.5rem,5vw,4.5rem); }
.page-hero p { max-width: 60ch; }

/* ---------- Section heading ---------- */
.section-head { max-width: 60ch; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.pill { display: inline-block; background: var(--sage-soft); color: var(--sage-dark); font-weight: 800; font-size: .78rem; padding: .3rem .8rem; border-radius: 999px; letter-spacing: .04em; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 2rem; }
.list-plain { list-style: none; padding: 0; }

/* ============================================================
   Interactive tools (quiz, calculator, meal planner)
   ============================================================ */
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 4vw, 2.4rem); max-width: 760px; margin-inline: auto; }
.tool__noscript { background: var(--cream-2); border-radius: var(--radius); padding: 1rem 1.2rem; }

/* Quiz */
.quiz__progress { height: 8px; background: var(--cream-2); border-radius: 999px; overflow: hidden; margin-bottom: 1.4rem; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--sage); transition: width .3s ease; }
.quiz__q h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.quiz__options { display: grid; gap: .7rem; }
.quiz__option { text-align: left; width: 100%; background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.quiz__option:hover { border-color: var(--sage); background: #fff; transform: translateY(-1px); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; }
.quiz__result { display: none; }
.quiz__result.is-shown { display: block; }
.quiz__badge { display: inline-block; background: var(--sage-soft); color: var(--sage-dark); font-weight: 800; padding: .35rem 1rem; border-radius: 999px; margin-bottom: .6rem; }

/* Calculator */
.calc__row { display: grid; grid-template-columns: 1fr auto; gap: .8rem 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.calc__row label { font-weight: 700; }
.calc__row input, .calc__row select { width: 140px; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 8px; font-family: var(--sans); font-size: 1rem; text-align: right; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.3rem; padding: 1rem 1.2rem; background: var(--sage-soft); border-radius: var(--radius); }
.calc__total strong { font-family: var(--serif); font-size: var(--step-2); color: var(--sage-dark); }
.calc__note { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; }

/* Meal planner */
.planner__controls { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.planner__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.planner__day { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.planner__day h4 { background: var(--sage); color: #fff; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .5rem .7rem; margin: 0; }
.planner__meal { padding: .8rem .7rem; min-height: 64px; font-size: .92rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; }
.planner__day button { width: 100%; border: 0; border-top: 1px dashed var(--line); background: transparent; padding: .45rem; font-size: .78rem; font-weight: 800; color: var(--sage-dark); cursor: pointer; }
.planner__day button:hover { background: #fff; }

/* ---------- Scroll-in animation (FAIL-SAFE) ----------
   Content is visible by default. JS adds .reveal-init to <html>;
   only then is the hidden state applied. If JS fails, nothing hides. */
.reveal-init .reveal { opacity: 0; transform: translateY(18px); }
.reveal-init .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal-init .r