/* ==========================================================
   BERTRAND FARM — Design System
   Premium sustainable agriculture & farm education
   System fonts only · no images · no external resources
   ========================================================== */

:root {
  --forest: #214E34;
  --pine: #142D24;
  --olive: #667C3E;
  --leaf: #469A63;
  --cream: #F9F5EA;
  --earth: #785A42;
  --gold: #D2A85C;
  --sage: #DFEBD9;
  --white: #FFFFFF;
  --text: #2A3930;
  --muted: #69776C;
  --border: #DFE7DD;

  --gold-deep: #9C7533;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 45, 36, .06), 0 2px 8px rgba(20, 45, 36, .05);
  --shadow: 0 6px 24px rgba(20, 45, 36, .09), 0 2px 6px rgba(20, 45, 36, .05);
  --shadow-lg: 0 18px 48px rgba(20, 45, 36, .16);
  --wrap: 1180px;
  --read: 760px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--pine);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.38rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--pine); }

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--pine); color: var(--cream);
  padding: .7rem 1.1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.read { max-width: var(--read); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 245, 234, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--pine); flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 118%, var(--olive) 0 46%, transparent 47%),
    radial-gradient(circle at 20% 130%, var(--leaf) 0 52%, transparent 53%),
    radial-gradient(circle at 50% 34%, var(--gold) 0 15%, transparent 16%),
    var(--forest);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .16em; }
.brand-sub { font-size: .7rem; letter-spacing: .06em; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--forest); color: var(--cream);
  border: 0; border-radius: 10px; padding: .6rem .9rem;
  font: 600 .92rem var(--sans); cursor: pointer; min-height: 44px;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; flex-wrap: nowrap; }
.main-nav li { margin: 0; position: relative; }
.main-nav a, .dropdown-toggle {
  display: flex; align-items: center; gap: .35rem;
  padding: .55rem .72rem; border-radius: 9px;
  font: 600 .9rem/1.2 var(--sans); color: var(--text);
  text-decoration: none; white-space: nowrap;
  background: transparent; border: 0; cursor: pointer;
}
.main-nav a:hover, .dropdown-toggle:hover { background: var(--sage); color: var(--pine); }
.main-nav a[aria-current="page"] { color: var(--forest); background: var(--sage); box-shadow: inset 0 -2px 0 var(--gold); }
.dropdown-toggle.is-current { color: var(--forest); box-shadow: inset 0 -2px 0 var(--gold); }
.main-nav .nav-cta { background: var(--forest); color: var(--cream); margin-left: .35rem; }
.main-nav .nav-cta:hover { background: var(--pine); color: var(--cream); }
.main-nav .nav-cta[aria-current="page"] { background: var(--pine); color: var(--cream); }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-1px); }

.dropdown-menu {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 290px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
}
.dropdown-menu.is-open { display: block; }
.dropdown-menu a { padding: .65rem .8rem; font-weight: 500; white-space: normal; }
.dropdown-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }

/* ---------- Hero (shared) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--pine) 0%, var(--forest) 58%, #2C5E3E 100%);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 10vw, 8rem);
}
.hero h1 { color: var(--white); max-width: 21ch; }
.hero .eyebrow { color: var(--gold); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); max-width: 54ch; color: rgba(249,245,234,.9); }
.hero-inner { position: relative; z-index: 2; }
.hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-art span { position: absolute; display: block; }
.eyebrow {
  display: inline-block; font: 700 .76rem/1.4 var(--sans);
  letter-spacing: .18em; text-transform: uppercase; color: var(--olive);
  margin-bottom: 1.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.hero-meta li { margin: 0; font-size: .85rem; padding: .35rem .8rem; border: 1px solid rgba(249,245,234,.28); border-radius: 999px; color: rgba(249,245,234,.88); }

.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .9rem 1.4rem; border-radius: 999px; min-height: 48px;
  font: 700 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn::after { content: "→"; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--pine); }
.btn-gold:hover { background: #E0BA74; color: var(--pine); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(249,245,234,.55); color: var(--cream); }
.btn-ghost:hover { background: rgba(249,245,234,.12); color: var(--white); }
.btn-green { background: var(--forest); color: var(--cream); }
.btn-green:hover { background: var(--pine); color: var(--cream); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }

/* hill base shared by all heroes */
.hero::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 90px; z-index: 3;
  background: var(--cream);
  clip-path: polygon(0 62%, 9% 48%, 21% 56%, 34% 36%, 47% 52%, 60% 32%, 73% 50%, 86% 38%, 100% 54%, 100% 100%, 0 100%);
}

/* ---------- Hero variants (distinct per page) ---------- */
/* Home: sun, layered hills and field rows */
.hero--home { background: linear-gradient(175deg, #0F241C 0%, var(--pine) 30%, var(--forest) 72%, #3D6B3F 100%); padding-bottom: clamp(9rem, 16vw, 12rem); }
.hero--home .sun { right: 9%; top: 15%; width: clamp(110px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle closest-side, #F1D89A 0 76%, var(--gold) 78% 100%);
  box-shadow: 0 0 120px 30px rgba(210,168,92,.22); }
.hero--home .hill-a { left: -10%; right: 35%; bottom: 0; height: 46%; background: #2F5B3C; border-radius: 50% 60% 0 0 / 100% 100% 0 0; }
.hero--home .hill-b { left: 30%; right: -15%; bottom: 0; height: 38%; background: var(--olive); border-radius: 60% 50% 0 0 / 100% 100% 0 0; opacity: .9; }
.hero--home .rows { left: 0; right: 0; bottom: 0; height: 26%;
  background: repeating-linear-gradient(100deg, rgba(20,45,36,.35) 0 10px, rgba(102,124,62,.0) 10px 34px), linear-gradient(#4E7A3D, #3B6332);
  clip-path: polygon(0 40%, 25% 20%, 55% 34%, 80% 12%, 100% 26%, 100% 100%, 0 100%); }
.hero--home .tree { bottom: 30%; width: 34px; height: 70px; background: #1A3B2B; border-radius: 50% 50% 46% 46%; }
.hero--home .tree::after { content: ""; position: absolute; left: 15px; bottom: -14px; width: 4px; height: 16px; background: var(--earth); }
.hero--home .t1 { left: 62%; } .hero--home .t2 { left: 66%; height: 54px; bottom: 31%; } .hero--home .t3 { display: none; }
.hero--home h1 { max-width: 21ch; }

/* About: heritage numerals & timeline rail */
.hero--about { background: linear-gradient(140deg, #2B2016 0%, #4A3727 40%, var(--earth) 100%); }
.hero--about .year { right: 4%; top: 12%; font: 700 clamp(6rem, 18vw, 15rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 2px rgba(210,168,92,.35); letter-spacing: -.04em; }
.hero--about .year::before { content: "1996"; }
.hero--about .rail { left: 0; right: 0; bottom: 120px; height: 2px; background: linear-gradient(90deg, transparent, rgba(210,168,92,.6), transparent); }
.hero--about .dot { bottom: 113px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(210,168,92,.18); }
.hero--about .d1 { left: 18%; } .hero--about .d2 { left: 48%; } .hero--about .d3 { left: 78%; }

/* Mission: seed rings */
.hero--mission { background: radial-gradient(ellipse at 80% 40%, #2F6B45 0%, var(--forest) 40%, var(--pine) 100%); }
.hero--mission .ring { right: 8%; top: 50%; transform: translate(0, -55%); border-radius: 50%; border: 1px solid rgba(210,168,92,.4); }
.hero--mission .r1 { width: 140px; height: 140px; right: calc(8% + 130px); border-color: rgba(210,168,92,.8); background: radial-gradient(circle, var(--gold) 0 18%, transparent 19%); }
.hero--mission .r2 { width: 260px; height: 260px; right: calc(8% + 70px); }
.hero--mission .r3 { width: 400px; height: 400px; right: 8%; border-style: dashed; }
.hero--mission .sprout { right: calc(8% + 196px); top: 26%; width: 8px; height: 60px; background: var(--leaf); border-radius: 4px; }
.hero--mission .sprout::before, .hero--mission .sprout::after { content: ""; position: absolute; top: 4px; width: 30px; height: 16px; background: var(--leaf); }
.hero--mission .sprout::before { right: 6px; border-radius: 100% 0; }
.hero--mission .sprout::after { left: 6px; border-radius: 0 100%; }

/* Sustainable agriculture: perspective field rows */
.hero--sustainable { background: linear-gradient(180deg, var(--pine) 0%, var(--forest) 55%, var(--olive) 100%); padding-bottom: clamp(8rem, 14vw, 11rem); }
.hero--sustainable .field { left: -30%; right: -30%; bottom: 0; height: 75%;
  background: repeating-linear-gradient(90deg, #3E6A35 0 22px, #557A3A 22px 44px, #6E8A45 44px 52px);
  transform: perspective(500px) rotateX(55deg); transform-origin: 50% 100%; }
.hero--sustainable .horizon { display: none; left: 0; right: 0; bottom: 47%; height: 2px; background: rgba(210,168,92,.5); }
.hero--sustainable .sun { left: auto; right: 12%; bottom: calc(26% + 8px); width: 120px; height: 60px; border-radius: 120px 120px 0 0; background: linear-gradient(var(--gold), #E8C27A); opacity: .85; }

/* Urban farming: skyline with rooftop beds */
.hero--urban { background: linear-gradient(185deg, #18322A 0%, #22463A 60%, #2F5A44 100%); padding-bottom: clamp(9rem, 15vw, 12rem); }
.hero--urban .bldg { bottom: 0; background: #0F241C; }
.hero--urban .bldg::before { content: ""; position: absolute; inset: 14px 10px 10px; background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(210,168,92,.18) 14px 22px), repeating-linear-gradient(90deg, transparent 0 10px, #0F241C 10px 18px); }
.hero--urban .bldg::after { content: ""; position: absolute; left: 6px; right: 6px; top: -12px; height: 12px; background: repeating-linear-gradient(90deg, var(--leaf) 0 14px, var(--olive) 14px 20px); border-radius: 6px 6px 0 0; }
.hero--urban .b1 { left: 56%; width: 90px; height: 210px; }
.hero--urban .b2 { left: 64%; width: 120px; height: 290px; }
.hero--urban .b3 { left: 75%; width: 80px; height: 170px; }
.hero--urban .b4 { left: 82%; width: 130px; height: 250px; }
.hero--urban .b5 { left: 93%; width: 100px; height: 190px; }

/* Farm education: chalkboard grid and growth arcs */
.hero--education { background: linear-gradient(135deg, #1B3329 0%, #234B37 100%); }
.hero--education .grid { inset: 0; background-image: linear-gradient(rgba(223,235,217,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(223,235,217,.06) 1px, transparent 1px); background-size: 32px 32px; }
.hero--education .arc { right: 6%; top: 18%; width: 320px; height: 320px; border-radius: 50%; border: 2px dashed rgba(210,168,92,.45); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg); }
.hero--education .leaf { width: 46px; height: 46px; background: var(--leaf); border-radius: 0 100% 0 100%; opacity: .85; }
.hero--education .l1 { right: 14%; top: 22%; } .hero--education .l2 { right: 28%; top: 44%; transform: scale(.7) rotate(90deg); background: var(--olive); } .hero--education .l3 { right: 9%; top: 52%; transform: scale(.55); background: var(--gold); }

/* CSA: share basket of produce dots */
.hero--csa { background: linear-gradient(150deg, var(--pine) 0%, #34522E 55%, var(--olive) 100%); }
.hero--csa .basket { right: 7%; top: 18%; width: 300px; height: 300px; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 14px; transform: rotate(-6deg); }
.hero--csa .basket i { display: block; border-radius: 50%; background: var(--leaf); box-shadow: inset -6px -8px 0 rgba(0,0,0,.12); }
.hero--csa .basket i:nth-child(3n) { background: var(--gold); }
.hero--csa .basket i:nth-child(4n) { background: #B8573A; }
.hero--csa .basket i:nth-child(5n) { background: var(--sage); }
.hero--csa .basket i:nth-child(7n) { background: var(--earth); }

/* Farm to school: ruled notebook and apple */
.hero--school { background: linear-gradient(160deg, #183A2B 0%, var(--forest) 100%); }
.hero--school .paper { right: 6%; top: 14%; width: 300px; height: 340px; background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(223,235,217,.18) 27px 28px); border-left: 3px solid rgba(210,168,92,.55); border-radius: 6px; transform: rotate(4deg); }
.hero--school .apple { right: 14%; top: 34%; width: 110px; height: 100px; background: #B8573A; border-radius: 48% 48% 52% 52% / 56% 56% 44% 44%; box-shadow: inset -14px -10px 0 rgba(0,0,0,.14); }
.hero--school .apple::before { content: ""; position: absolute; left: 52px; top: -22px; width: 5px; height: 24px; background: var(--earth); border-radius: 3px; }
.hero--school .apple::after { content: ""; position: absolute; left: 58px; top: -22px; width: 30px; height: 15px; background: var(--leaf); border-radius: 0 100%; }

/* Permaculture: zone circles */
.hero--permaculture { background: radial-gradient(circle at 78% 52%, #3E6B3C 0%, var(--forest) 34%, var(--pine) 100%); }
.hero--permaculture .zone { border-radius: 50%; right: 18%; top: 52%; transform: translate(50%, -50%); }
.hero--permaculture .z1 { width: 80px; height: 80px; background: var(--gold); opacity: .9; }
.hero--permaculture .z2 { width: 170px; height: 170px; border: 14px solid rgba(70,154,99,.55); }
.hero--permaculture .z3 { width: 270px; height: 270px; border: 12px solid rgba(102,124,62,.45); }
.hero--permaculture .z4 { width: 380px; height: 380px; border: 10px solid rgba(120,90,66,.4); }
.hero--permaculture .z5 { width: 500px; height: 500px; border: 2px dashed rgba(223,235,217,.25); }

/* Beginner farmer: seedling growth stages */
.hero--beginner { background: linear-gradient(170deg, var(--pine) 0%, #28503A 70%, #3A5F35 100%); padding-bottom: clamp(8rem, 14vw, 11rem); }
.hero--beginner .soil { left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(#5C4532, var(--earth)); }
.hero--beginner .stem { bottom: 110px; width: 6px; background: var(--leaf); border-radius: 3px; }
.hero--beginner .stem::before, .hero--beginner .stem::after { content: ""; position: absolute; top: 0; width: 28px; height: 14px; background: var(--leaf); }
.hero--beginner .stem::before { right: 4px; border-radius: 100% 0; }
.hero--beginner .stem::after { left: 4px; border-radius: 0 100%; }
.hero--beginner .s1 { left: 56%; height: 20px; } .hero--beginner .s2 { left: 66%; height: 50px; } .hero--beginner .s3 { left: 76%; height: 90px; } .hero--beginner .s4 { left: 86%; height: 140px; background: var(--olive); }
.hero--beginner .s4::before, .hero--beginner .s4::after { background: var(--olive); width: 40px; height: 20px; }

/* Learning resources: book spines */
.hero--resources { background: linear-gradient(145deg, #142D24 0%, #1F4433 100%); }
.hero--resources .shelf { right: 6%; bottom: 110px; width: 360px; height: 6px; background: var(--earth); border-radius: 3px; }
.hero--resources .book { bottom: 116px; width: 34px; border-radius: 4px 4px 0 0; }
.hero--resources .book::after { content: ""; position: absolute; left: 6px; right: 6px; top: 18px; height: 3px; background: rgba(249,245,234,.5); }
.hero--resources .k1 { right: calc(6% + 310px); height: 170px; background: var(--leaf); }
.hero--resources .k2 { right: calc(6% + 270px); height: 140px; background: var(--gold); }
.hero--resources .k3 { right: calc(6% + 230px); height: 190px; background: var(--olive); }
.hero--resources .k4 { right: calc(6% + 190px); height: 150px; background: #B8573A; }
.hero--resources .k5 { right: calc(6% + 150px); height: 180px; background: var(--sage); }
.hero--resources .k6 { right: calc(6% + 98px); height: 160px; background: var(--earth); transform: rotate(-14deg); transform-origin: bottom left; }

/* Contact: quiet envelope lines */
.hero--contact { background: linear-gradient(160deg, var(--pine) 0%, var(--forest) 100%); padding-bottom: clamp(6rem, 11vw, 8rem); }
.hero--contact .env { right: 8%; top: 20%; width: 280px; height: 180px; border: 2px solid rgba(210,168,92,.55); border-radius: 12px; }
.hero--contact .env::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100px; background: linear-gradient(to bottom right, transparent 49.5%, rgba(210,168,92,.55) 50%, transparent 51%), linear-gradient(to bottom left, transparent 49.5%, rgba(210,168,92,.55) 50%, transparent 51%); background-size: 50% 100%; background-position: left, right; background-repeat: no-repeat; }
.hero--contact .lines { right: 3%; top: 58%; width: 200px; height: 60px; background: repeating-linear-gradient(180deg, rgba(223,235,217,.22) 0 2px, transparent 2px 14px); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 1.1rem 0 0; font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--gold-deep); }
.breadcrumbs a { color: var(--forest); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Sections & layout ---------- */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.section--white { background: var(--white); }
.section--sage { background: var(--sage); }
.section--green { background: linear-gradient(150deg, var(--forest), var(--pine)); color: var(--cream); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green a { color: var(--gold); }
.section--green .eyebrow { color: var(--gold); }
.section--green strong { color: var(--white); }
.section--rows {
  background:
    repeating-linear-gradient(105deg, transparent 0 46px, rgba(102,124,62,.06) 46px 48px),
    var(--cream);
}
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--green .section-head p { color: rgba(249,245,234,.85); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.lede { font-size: 1.2rem; color: var(--text); }
.kicker-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.4rem; }

/* article with sticky TOC */
.article-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1060px) { .article-layout { grid-template-columns: 250px minmax(0, 1fr); } }
.toc { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; display: none; }
@media (min-width: 1060px) { .toc { display: block; } }
.toc h2 { font: 700 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.toc li { margin: 0; }
.toc a { display: block; padding: .32rem 0 .32rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--forest); border-left-color: var(--gold); }
.article { max-width: var(--read); }
.article > section { padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--border); }
.article > section:last-child { border-bottom: 0; }
.article h2 { position: relative; padding-top: .25rem; }
.article h2 .num { display: block; font: 700 .78rem/1 var(--sans); letter-spacing: .16em; color: var(--gold-deep); margin-bottom: .7rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: .9rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; }
.card-link::after { content: "→"; transition: transform .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C9D8C5; }
.card:hover .card-link::after { transform: translateX(3px); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.1rem; position: relative; background: var(--sage); }
.card-icon::before, .card-icon::after { content: ""; position: absolute; }
.ic-soil::before { left: 9px; right: 9px; bottom: 10px; height: 10px; background: var(--earth); border-radius: 3px; }
.ic-soil::after { left: 20px; bottom: 20px; width: 6px; height: 14px; background: var(--leaf); border-radius: 3px; }
.ic-leaf::before { inset: 11px; background: var(--leaf); border-radius: 0 100% 0 100%; }
.ic-city::before { left: 9px; bottom: 9px; width: 10px; height: 22px; background: var(--forest); box-shadow: 13px -6px 0 var(--olive), 26px 2px 0 0 transparent; }
.ic-city::after { left: 22px; bottom: 9px; width: 14px; height: 28px; background: var(--olive); border-top: 4px solid var(--leaf); }
.ic-book::before { left: 9px; top: 11px; width: 13px; height: 24px; background: var(--forest); border-radius: 2px 0 0 2px; }
.ic-book::after { right: 9px; top: 11px; width: 13px; height: 24px; background: var(--olive); border-radius: 0 2px 2px 0; }
.ic-basket::before { left: 8px; right: 8px; bottom: 9px; height: 15px; background: var(--earth); border-radius: 0 0 8px 8px; }
.ic-basket::after { left: 12px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 12px 2px 0 var(--leaf); }
.ic-apple::before { left: 12px; top: 13px; width: 22px; height: 21px; background: #B8573A; border-radius: 48% 48% 52% 52%; }
.ic-apple::after { left: 22px; top: 7px; width: 10px; height: 6px; background: var(--leaf); border-radius: 0 100%; }
.ic-ring::before { inset: 9px; border: 4px solid var(--olive); border-radius: 50%; }
.ic-ring::after { inset: 18px; background: var(--gold); border-radius: 50%; }
.ic-sprout::before { left: 21px; bottom: 9px; width: 4px; height: 22px; background: var(--leaf); border-radius: 2px; }
.ic-sprout::after { left: 9px; top: 12px; width: 14px; height: 9px; background: var(--leaf); border-radius: 100% 0; box-shadow: 16px 0 0 var(--olive); }
.ic-drop::before { left: 14px; top: 9px; width: 18px; height: 18px; background: #3E7FA0; border-radius: 0 50% 50% 50%; transform: rotate(45deg); top: 14px; }
.ic-bug::before { left: 13px; top: 12px; width: 20px; height: 22px; background: #B8573A; border-radius: 50%; }
.ic-bug::after { left: 22px; top: 12px; width: 2px; height: 22px; background: var(--pine); }
.ic-rotate::before { inset: 10px; border: 4px solid var(--forest); border-right-color: transparent; border-radius: 50%; }
.ic-rotate::after { right: 9px; top: 13px; border: 6px solid transparent; border-top-color: var(--forest); }
.ic-mail::before { left: 9px; right: 9px; top: 13px; bottom: 13px; border: 3px solid var(--forest); border-radius: 3px; }
.ic-mail::after { left: 15px; top: 13px; width: 16px; height: 10px; border-bottom: 3px solid var(--forest); border-right: 3px solid var(--forest); transform: rotate(45deg) translate(-2px, -5px); }

.card--feature { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.card--feature h3 { color: var(--white); }
.card--feature p { color: rgba(249,245,234,.85); }
.card--feature a { color: var(--gold); }

/* stat strip (non-numeric facts) */
.fact-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 2rem 0 0; }
.fact { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: rgba(249,245,234,.07); border: 1px solid rgba(249,245,234,.18); }
.fact b { display: block; font: 700 1.9rem/1.1 var(--serif); color: var(--gold); margin-bottom: .35rem; }
.fact span { font-size: .93rem; color: rgba(249,245,234,.85); }
.fact-strip--light .fact { background: var(--white); border-color: var(--border); }
.fact-strip--light .fact b { color: var(--forest); }
.fact-strip--light .fact span { color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--olive)); }
.timeline li { position: relative; padding: 0 0 1.8rem 3rem; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--forest); box-shadow: 0 0 0 4px rgba(210,168,92,.25); }
.timeline .when { display: block; font: 700 .8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .2rem; }
.timeline h3 { margin-bottom: .35rem; }
.timeline p { margin: 0; color: var(--muted); }
.section--green .timeline li::before { background: var(--pine); border-color: var(--gold); }
.section--green .timeline p { color: rgba(249,245,234,.82); }

/* ---------- Process diagram ---------- */
.process { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: step; }
.process li { counter-increment: step; position: relative; margin: 0; padding: 1.4rem 1.2rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); border-top: 4px solid var(--leaf); }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 1.5rem/1 var(--serif); color: var(--gold-deep); margin-bottom: .6rem; }
.process li strong { display: block; margin-bottom: .3rem; }
.process li span { font-size: .94rem; color: var(--muted); }
.process li:nth-child(2) { border-top-color: var(--olive); }
.process li:nth-child(3) { border-top-color: var(--gold); }
.process li:nth-child(4) { border-top-color: var(--earth); }
.process li:nth-child(5) { border-top-color: var(--forest); }

/* cycle diagram */
.cycle { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin: 1.6rem 0; position: relative; }
@media (min-width: 680px) { .cycle { grid-template-columns: repeat(4, 1fr); } }
.cycle div { padding: 1.1rem; border-radius: var(--radius); text-align: center; background: var(--sage); border: 1px solid #C9DAC3; font-size: .92rem; }
.cycle div b { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--pine); margin-bottom: .2rem; }
.cycle div:nth-child(2) { background: #EDE6D2; border-color: #DFD3B4; }
.cycle div:nth-child(3) { background: #F3E6CB; border-color: #E5D0A4; }
.cycle div:nth-child(4) { background: #E6DCD1; border-color: #D3C2B1; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
caption { text-align: left; padding: 1rem 1.1rem .4rem; font-weight: 700; color: var(--pine); font-family: var(--serif); font-size: 1.05rem; }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--sage); color: var(--pine); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
tbody th { color: var(--pine); font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #FCFAF4; }

/* ---------- Lists & notes ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 5px; background: var(--sage); border: 2px solid var(--leaf); }
.checklist li::after { content: ""; position: absolute; left: .38rem; top: .5em; width: .38rem; height: .66rem; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(40deg); }
.leaf-list { list-style: none; padding: 0; }
.leaf-list li { position: relative; padding-left: 1.6rem; }
.leaf-list li::before { content: ""; position: absolute; left: 0; top: .48em; width: .78rem; height: .78rem; background: var(--leaf); border-radius: 0 100% 0 100%; }
.two-col { columns: 2 260px; column-gap: 2.5rem; }
.two-col li { break-inside: avoid; }

.history-note {
  border-left: 4px solid var(--gold); background: var(--white);
  padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6rem 0;
  box-shadow: var(--shadow-sm);
}
.history-note p:last-child { margin-bottom: 0; }
.history-note .label { display: block; font: 700 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .4rem; }

.pullquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--forest); border: 0; margin: 2rem 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--gold); }

.pair { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.4rem 0; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair > div { padding: 1.25rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); }
.pair > div h3 { font-size: 1.08rem; }
.pair .pro { border-top: 4px solid var(--leaf); }
.pair .con { border-top: 4px solid var(--earth); }
.pair ul { margin-bottom: 0; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.3rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #C9D8C5; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--pine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; color: var(--text); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Pathways ---------- */
.pathway { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pathway li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.pathway li + li::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.pathway a { display: inline-block; padding: .5rem .95rem; border-radius: 999px; background: var(--white); border: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: .92rem; }
.pathway a:hover { border-color: var(--leaf); background: var(--sage); }

.next-step { margin-top: 1rem; padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--forest), var(--pine)); color: var(--cream); display: grid; gap: 1.2rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 760px) { .next-step { grid-template-columns: 1fr auto; } }
.next-step::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(210,168,92,.12); }
.next-step h2 { color: var(--white); font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .35rem; }
.next-step p { margin: 0; color: rgba(249,245,234,.85); }
.next-step .btn { position: relative; }

/* references */
.references { font-size: .92rem; color: var(--muted); }
.references ol { padding-left: 1.2rem; }
.references li { margin-bottom: .55rem; }
.references cite { font-style: italic; color: var(--text); }

/* ---------- Resource cards ---------- */
.resource-card { display: flex; flex-direction: column; }
.resource-card .tag { align-self: flex-start; font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 6px; background: var(--sage); color: var(--forest); margin-bottom: 1rem; }
.resource-card .card-link { margin-top: auto; }
.resource-card ul { font-size: .92rem; color: var(--muted); padding-left: 1.1em; }
.resource-card .spine { position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--leaf); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.form-status-banner { padding: 1rem 1.2rem; border-radius: 12px; background: #FBF3E2; border: 1px solid #EAD3A6; color: #5B4520; font-size: .95rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; color: var(--pine); margin-bottom: .4rem; font-size: .95rem; }
.field .hint { display: block; font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem .95rem; border: 1.5px solid #C9D3C6; border-radius: 10px; background: #FDFCF8;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(70,154,99,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B0463A; }
.field .error { display: block; color: #9E3B30; font-size: .86rem; margin-top: .35rem; min-height: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-actions .btn { border: 0; }
.form-result { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--sage); border: 1px solid #C9DAC3; display: none; }
.form-result.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: var(--cream); padding: 3.5rem 0 2rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--olive), var(--gold), var(--leaf)); }
.footer-top { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .footer-top { grid-template-columns: 1.2fr 1fr; } }
.footer-brand .brand-name { color: var(--cream); font-size: 1.3rem; }
.footer-brand p { color: rgba(249,245,234,.75); margin: .4rem 0 0; font-size: .95rem; max-width: 46ch; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
@media (min-width: 820px) { .footer-nav ul { justify-content: flex-end; } }
.footer-nav li { margin: 0; }
.footer-nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(249,245,234,.14); font-size: .86rem; color: rgba(249,245,234,.7); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive nav ---------- */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: .8rem 1.25rem 1.4rem; gap: .15rem; }
  .main-nav a, .dropdown-toggle { padding: .85rem .9rem; font-size: 1rem; width: 100%; justify-content: space-between; min-height: 48px; }
  .main-nav .nav-cta { margin: .5rem 0 0; justify-content: center; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; margin: .2rem 0 .4rem .9rem; padding: .2rem 0 .2rem .4rem; min-width: 0; background: transparent; }
  .brand-sub { display: none; }
}
@media (max-width: 860px) {
  .hero-art { opacity: .35; }
  .hero--home .hero-art, .hero--sustainable .hero-art, .hero--urban .hero-art, .hero--beginner .hero-art { opacity: .8; }
  .hero--urban .b1, .hero--urban .b2 { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-art, .toc, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; padding: 1rem 0; }
  .hero h1, .hero-lead { color: #000; }
  .hero::after { display: none; }
}
.mt { margin-top: 1.6rem; }
