/* =========================================================================
   Sustainable Living Simple — Design System
   Modern, warm-organic. One stylesheet, no framework.
   ========================================================================= */

/* ---- Font (self-hosted, variable, headings only) ---- */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  /* Brand palette — warm & organic */
  --forest: #173d29;
  --green: #2d7a4d;
  --green-700: #246340;
  --green-600: #2d7a4d;
  --green-50: #eaf3ec;
  --clay: #c1623c;       /* warm accent */
  --clay-50: #f8ece5;
  --gold: #d8a541;

  --sand: #f4efe5;       /* warm page background */
  --cream: #fbf8f2;      /* card / raised surface tint */
  --paper: #ffffff;
  --ink: #1a2620;        /* primary text */
  --muted: #57655c;      /* secondary text */
  --faint: #7d887f;
  --line: rgba(23, 61, 41, 0.12);
  --line-strong: rgba(23, 61, 41, 0.22);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.28rem + 0.85vw, 1.95rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.5vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.5vw, 3.5rem);
  --step-5:  clamp(2.5rem, 1.7rem + 4vw, 4.6rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5rem;
  --space-8: 7rem;

  --container: 1140px;
  --container-narrow: 760px;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23, 61, 41, 0.06), 0 2px 6px rgba(23, 61, 41, 0.05);
  --shadow: 0 6px 20px -8px rgba(23, 61, 41, 0.18), 0 2px 6px rgba(23, 61, 41, 0.06);
  --shadow-lg: 0 24px 50px -20px rgba(23, 61, 41, 0.28);

  --ring: 0 0 0 3px rgba(45, 122, 77, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --forest: #d7ead9;
    --green: #6cc18a;
    --green-700: #7fcf9c;
    --green-600: #6cc18a;
    --green-50: #18271d;
    --clay: #e2855f;
    --clay-50: #2a1f1a;

    --sand: #0f1612;
    --cream: #16201a;
    --paper: #1a261f;
    --ink: #e8efe8;
    --muted: #a7b3aa;
    --faint: #8b968c;
    --line: rgba(231, 239, 232, 0.12);
    --line-strong: rgba(231, 239, 232, 0.22);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow: 0 8px 24px -10px rgba(0,0,0,0.6);
    --shadow-lg: 0 26px 60px -24px rgba(0,0,0,0.7);
  }
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--clay); }
strong { font-weight: 700; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--forest);
  font-optical-sizing: auto;
}

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3rem, 7vw, var(--space-7)); }
.section--alt { background: var(--cream); }
.section--tint { background: linear-gradient(180deg, var(--green-50), transparent); }
.text-center { text-align: center; }
.visually-hidden {
  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: 1rem; top: -3.5rem; z-index: 200;
  background: var(--green); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---- Eyebrow / section headings ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700);
}
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: var(--clay); border-radius: 2px; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__title { font-size: var(--step-3); margin-top: 0.6rem; }
.section-head__lead { font-size: var(--step-1); color: var(--muted); margin-top: 0.9rem; line-height: 1.5; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--step-0);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--paper); color: var(--forest); border-color: var(--green); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.8rem; font-size: var(--step-1); }
.btn--block { display: flex; width: 100%; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--sand) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--forest); font-weight: 700; }
.brand:hover { color: var(--forest); }
.brand__mark { width: 2.2rem; height: 2.2rem; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1; }
.brand__name span { display: block; font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); font-weight: 700; margin-top: 2px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 0.35rem; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 0.55rem 0.85rem; border-radius: var(--radius-pill); font-size: 0.98rem;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link[aria-expanded="true"] { background: var(--green-50); color: var(--green-700); }
.nav__link .chevron { width: 0.7rem; height: 0.7rem; transition: transform 0.2s var(--ease); }
.nav__item--cta .nav__link { background: var(--green); color: #fff; }
.nav__item--cta .nav__link:hover { background: var(--green-700); color: #fff; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 16rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.dropdown--wide { min-width: 30rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .chevron, .has-dropdown:focus-within .chevron, .has-dropdown.is-open .chevron { transform: rotate(180deg); }
.dropdown a {
  display: flex; flex-direction: column; gap: 1px; padding: 0.55rem 0.7rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.dropdown a span { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.dropdown a:hover { background: var(--green-50); color: var(--green-700); }

.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, var(--green-50), transparent 60%),
    radial-gradient(50% 60% at 5% 90%, var(--clay-50), transparent 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: var(--step-5); margin-top: 1rem; }
.hero__title em { font-style: italic; color: var(--green); }
.hero__lead { font-size: var(--step-1); color: var(--muted); margin-top: 1.3rem; max-width: 34rem; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.2rem; color: var(--muted); font-size: var(--step--1); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { width: 1.1rem; height: 1.1rem; color: var(--green); }
.hero__art { aspect-ratio: 1 / 1; }

/* ---- Grids & cards ---- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.5vw, 1.9rem); box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  display: flex; flex-direction: column; gap: 0.65rem; height: 100%; position: relative;
}
a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); color: inherit; }
.card__icon {
  width: 3rem; height: 3rem; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: 0.3rem;
}
.card__icon svg { width: 1.6rem; height: 1.6rem; }
.card__icon--clay { background: var(--clay-50); color: var(--clay); }
.card__title { font-size: var(--step-1); }
.card__text { color: var(--muted); font-size: 0.97rem; line-height: 1.55; }
.card__link { margin-top: auto; font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: 0.35rem; }
a.card:hover .card__link, .card--link:hover .card__link { gap: 0.6rem; color: var(--clay); }
.card__link svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--step--1); font-weight: 600;
  color: var(--green-700); background: var(--green-50); padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
}
.tag--clay { color: var(--clay); background: var(--clay-50); }

/* ---- Stats ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem,100%),1fr)); gap: 1.2rem; }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); color: var(--green); line-height: 1; }
.stat__label { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }

/* ---- Prose (article body) ---- */
.prose { font-size: var(--step-0); color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; line-height: 1.15; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose h2 + p, .prose h3 + p { margin-top: 0.6em; }
.prose p, .prose li { line-height: 1.7; color: var(--ink); }
.prose a { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose ul li::marker { color: var(--green); }
.prose ol li::marker { color: var(--green); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--green); background: var(--green-50);
  padding: 1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: var(--step-1); font-style: italic; color: var(--forest);
}
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--green-50); color: var(--forest); font-family: var(--font-sans); }
.prose tbody tr:nth-child(even) { background: var(--cream); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }

/* ---- Callouts ---- */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--green);
  background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  display: flex; gap: 0.85rem; align-items: flex-start;
}
.callout__icon { flex: none; width: 1.6rem; height: 1.6rem; color: var(--green); margin-top: 2px; }
.callout__body { font-size: 0.97rem; }
.callout__body strong { color: var(--forest); }
.callout--tip { border-left-color: var(--green); }
.callout--tip .callout__icon { color: var(--green); }
.callout--warn { border-left-color: var(--clay); background: var(--clay-50); }
.callout--warn .callout__icon { color: var(--clay); }

/* ---- Steps ---- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.1rem; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.2rem 3.6rem; position: relative; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1rem; top: 1.1rem; width: 1.9rem; height: 1.9rem;
  background: var(--green); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { padding-block: 1rem; font-size: var(--step--1); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--faint); }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--green-700); }
.breadcrumbs [aria-current] { color: var(--forest); font-weight: 600; }

/* ---- Page header (inner pages) ---- */
.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero__title { font-size: var(--step-4); margin-top: 0.6rem; }
.page-hero__lead { font-size: var(--step-1); color: var(--muted); margin-top: 1rem; max-width: 46rem; line-height: 1.55; }

/* ---- FAQ (native details) ---- */
.faq { display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.2rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--forest);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--green); font-family: var(--font-sans); line-height: 1; transition: transform 0.2s var(--ease);
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__answer { padding-bottom: 1.2rem; color: var(--muted); }
.faq__answer > * + * { margin-top: 0.8rem; }

/* ---- CTA band ---- */
.cta {
  background: linear-gradient(135deg, var(--forest), var(--green-700));
  color: #eaf3ec; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
}
.cta h2 { color: #fff; font-size: var(--step-3); max-width: 22ch; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 0.8rem; max-width: 50ch; font-size: var(--step-1); }
.cta .hero__actions { margin-top: 1.8rem; }
.cta .btn--primary { background: #fff; color: var(--forest); }
.cta .btn--primary:hover { background: var(--cream); color: var(--forest); }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---- AdSense slot ---- */
.ad { margin-block: clamp(2rem, 5vw, 3rem); text-align: center; }
.ad__label { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.4rem; }
.ad ins { display: block; }

/* ---- Footer ---- */
.site-footer { background: var(--forest); color: #c8d8cd; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: clamp(3rem,7vw,5rem); }
.site-footer a { color: #c8d8cd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__blurb { margin-top: 1rem; color: #9fb6a8; font-size: 0.95rem; max-width: 28rem; line-height: 1.6; }
.footer__col h3 { color: #fff; font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer__newsletter { margin-top: 1.4rem; }
.footer__newsletter form { display: flex; gap: 0.5rem; max-width: 22rem; flex-wrap: wrap; }
.footer__newsletter .btn { padding-inline: 1.1rem; }
.field {
  flex: 1 1 10rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); font: inherit; font-size: 0.95rem;
}
.field::placeholder { color: #9fb6a8; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: 0.88rem; color: #9fb6a8;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Misc content blocks ---- */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.3rem; height: 1.3rem;
  background: var(--green-50); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.85rem; background-repeat: no-repeat; background-position: center;
}
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.divider { border: 0; border-top: 1px solid var(--line); margin-block: clamp(2.5rem,6vw,4rem); }
.muted { color: var(--muted); }
.toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.toc h2 { font-size: var(--step-0); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-700); margin-bottom: 0.7rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.toc a { color: var(--ink); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--green-700); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--muted); font-size: var(--step--1); margin-top: 1rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta svg { width: 1rem; height: 1rem; color: var(--green); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 22rem; order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: 4.5rem 0 0 0; background: var(--sand); margin: 0; padding: 1.2rem clamp(1.1rem,4vw,2rem) 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.28s var(--ease); border-top: 1px solid var(--line); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav__link { font-size: 1.1rem; padding: 0.8rem 0.6rem; justify-content: space-between; border-radius: var(--radius-sm); }
  .has-dropdown .chevron { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 0 0 0.4rem 0.8rem; margin: 0 0 0.4rem 0.6rem; min-width: 0; display: block;
  }
  .dropdown--wide { display: block; }
  .dropdown a { padding: 0.5rem 0.4rem; }
  .dropdown a span { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem;
    margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
    cursor: pointer; color: var(--forest);
  }
  .nav-toggle svg { width: 1.5rem; height: 1.5rem; }
  .nav-toggle .icon-close { display: none; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr; }
}
