/*
 * THE ECOLITERACY PROJECT — "CANOPY" Design System
 * ─────────────────────────────────────────────────────────────
 * A warm, organic visual language for a place-based, nature-led
 * school: soft blob-shaped imagery, wavy section dividers, a
 * centred nav that settles onto the page as you scroll, and a
 * seasonal "Year in the Field" strip that ties the curriculum to
 * the rhythm of the land.
 *
 * Palette keeps the forest-green / autumn / cream identity of the
 * original concept, adding moss and sun-gold accents.
 *
 * Typography: Fraunces (display) — a soft, high-contrast serif
 * with real warmth, paired with Nunito Sans (body) for clarity.
 * ─────────────────────────────────────────────────────────────
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

:root {
  /* Colour palette */
  --forest:       #1e2d1f;
  --forest-mid:   #2f4a30;
  --forest-light: #4a7c4e;
  --moss:         #8a9b6e;
  --moss-light:   #e3e8d8;
  --autumn:       #b85c38;
  --autumn-light: #d4784f;
  --sun:          #e3b23c;
  --sun-light:    #f6e4bb;
  --cream:        #f7f3ed;
  --cream-dark:   #ede7db;
  --text-dark:    #1f2a20;
  --text-mid:     #4d5a4e;
  --text-light:   #79836f;
  --white:        #ffffff;
  --border:       #ddd5c5;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --content-max: 1200px;
  --nav-height:  88px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utility ───────────────────────────────────────────────── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--autumn);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--autumn);
  border-radius: 2px;
}

.eyebrow.on-dark { color: var(--sun); }
.eyebrow.on-dark::before { background: var(--sun); }
.eyebrow.center { justify-content: center; }

.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  color: var(--forest);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.display-1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.display-2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.display-3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

.lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 640px;
}

p + p { margin-top: 16px; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--autumn);
  color: var(--white);
  border-color: var(--autumn);
}
.btn-primary:hover {
  background: var(--autumn-light);
  border-color: var(--autumn-light);
  box-shadow: 0 10px 24px -10px rgba(184, 92, 56, 0.6);
}

.btn-light {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--white);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--forest);
  border-color: var(--white);
}

.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ─── Wave dividers ─────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  height: 70px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.wave-cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C220,110 420,0 720,40 C1020,80 1240,10 1440,55 L1440,100 L0,100 Z' fill='%23f7f3ed'/%3E%3C/svg%3E");
}
.wave-forest {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C220,110 420,0 720,40 C1020,80 1240,10 1440,55 L1440,100 L0,100 Z' fill='%231e2d1f'/%3E%3C/svg%3E");
}
.wave-white {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C220,110 420,0 720,40 C1020,80 1240,10 1440,55 L1440,100 L0,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.wave-flip { transform: scaleY(-1); }

/* ─── Nav ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px -16px rgba(30, 45, 31, 0.4);
  height: 76px;
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--autumn);
}
.site-header.is-scrolled .nav-logo,
body.no-hero .nav-logo { color: var(--forest); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  transition: background 0.2s ease, color 0.3s ease;
}
.site-header.is-scrolled .nav-link,
body.no-hero .nav-link { color: var(--forest); }

.nav-link:hover { background: rgba(255,255,255,0.16); }
.site-header.is-scrolled .nav-link:hover,
body.no-hero .nav-link:hover { background: var(--moss-light); }

.nav-link.active { background: var(--autumn); color: var(--white) !important; }

.nav-caret { font-size: 0.6rem; opacity: 0.7; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 40px -16px rgba(30, 45, 31, 0.35);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--forest);
}
.nav-dropdown a:hover { background: var(--moss-light); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.site-header.is-scrolled .nav-hamburger,
body.no-hero .nav-hamburger { color: var(--forest); }

/* Mobile fullscreen menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
}
.nav-mobile-menu { display: flex; flex-direction: column; gap: 6px; }
.nav-mobile-menu > li > a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(247,243,237,0.12);
}
.nav-mobile-children {
  display: flex;
  flex-direction: column;
  padding: 4px 0 14px 16px;
}
.nav-mobile-children a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0;
  color: var(--moss-light);
}
.nav-mobile-foot {
  margin-top: auto;
  padding-top: 24px;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,45,31,0.55) 0%, rgba(30,45,31,0.35) 45%, rgba(30,45,31,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 110px;
}
.hero .display-1 { color: var(--white); }
.hero-content .lead { color: var(--cream-dark); }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
}

/* ─── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,45,31,0.35) 0%, rgba(30,45,31,0.92) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  width: 100%;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss-light);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--moss-light); }
.breadcrumb a:hover { color: var(--white); }
.page-hero .display-1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lead { color: var(--cream-dark); }
.page-hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
}

/* ─── Sections ──────────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section-tight { padding: 60px 0; }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest .display-2, .section-forest .display-3 { color: var(--white); }
.section-moss { background: var(--moss-light); }
.section-cream-dark { background: var(--cream-dark); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin: 0 0 56px; text-align: left; }
.section-head .lead { margin: 0 auto; }
.section-head.left .lead { margin: 0; }

/* ─── Blob images ───────────────────────────────────────────── */
.blob {
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  overflow: hidden;
}
.blob-alt {
  border-radius: 62% 38% 41% 59% / 56% 38% 62% 44%;
  overflow: hidden;
}
.blob img, .blob-alt img { height: 100%; object-fit: cover; }

.framed {
  border-radius: 28px;
  overflow: hidden;
}
.framed img { height: 100%; object-fit: cover; border-radius: 28px; }

/* ─── Split layout ──────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-image { order: 1; }
.split-image { aspect-ratio: 4/3; }
.split-text .display-2 { margin-bottom: 20px; }
.split-text .lead { max-width: none; }

/* ─── Ticker ────────────────────────────────────────────────── */
.ticker {
  background: var(--autumn);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: ticker-scroll 38s linear infinite;
  padding-left: 48px;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-track span::after { content: "·"; opacity: 0.6; font-weight: 400; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Pillars / values grid ─────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--white);
  border-radius: 26px;
  padding: 36px 28px;
  text-align: left;
  box-shadow: 0 16px 40px -28px rgba(30, 45, 31, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(30, 45, 31, 0.35);
}
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--moss-light);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg {
  width: 26px; height: 26px;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 10px;
}
.pillar-card p { font-size: 0.95rem; color: var(--text-mid); }

/* ─── Season strip (signature component) ────────────────────── */
.season-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.season-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.season-card:hover { transform: translateY(-8px); }
.season-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,45,31,0.05) 30%, rgba(30,45,31,0.92) 100%);
}
.season-card-content { position: relative; z-index: 1; }
.season-label {
  display: inline-block;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--forest);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.season-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.season-card p { font-size: 0.92rem; color: var(--cream-dark); }

/* ─── Feature panel (forest, with quote) ─────────────────────── */
.feature-panel {
  position: relative;
  background: var(--forest);
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,45,31,0.55), rgba(30,45,31,0.85));
}
.feature-panel-inner {
  position: relative;
  z-index: 1;
  padding: 130px 0;
  text-align: center;
}
.feature-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  max-width: 880px;
  margin: 0 auto 24px;
  line-height: 1.4;
}
.feature-attr {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--sun-light);
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--forest);
  font-weight: 700;
}
.stat-item .stat-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 6px;
}

/* ─── Quote band ────────────────────────────────────────────── */
.quote-band {
  text-align: center;
  padding: 90px 0;
}
.quote-band .feature-quote { color: var(--forest); }
.quote-band .feature-attr { color: var(--autumn); }

/* ─── Page tabs (sub-navigation) ─────────────────────────────── */
.page-tabs {
  display: flex;
  gap: 12px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.page-tabs a {
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border);
  color: var(--text-mid);
}
.page-tabs a:hover { border-color: var(--moss); color: var(--forest); }
.page-tabs a.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

/* ─── Stage list (Our Approach) ──────────────────────────────── */
.stage-block { padding: 70px 0; }
.stage-block + .stage-block { border-top: 1px solid var(--border); }
.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: var(--moss-light);
  color: var(--forest-mid);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.8rem;
}
.stage-age {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--autumn);
  background: var(--sun-light);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}

/* ─── Benefit list ──────────────────────────────────────────── */
.benefit-list { display: flex; flex-direction: column; }
.benefit-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.benefit-row:first-child { border-top: 1px solid var(--border); }
.benefit-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--moss);
  font-weight: 600;
}
.benefit-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 6px;
}
.benefit-row p { color: var(--text-mid); font-size: 0.96rem; }

/* ─── Card grid ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 40px -28px rgba(30, 45, 31, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(30, 45, 31, 0.35); }
.card-image { aspect-ratio: 4/3; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--autumn);
  margin-bottom: 10px;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 10px;
}
.card-body p { color: var(--text-mid); font-size: 0.95rem; flex: 1; }
.card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 14px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--forest);
}
.card-link::after { content: "→"; transition: transform 0.2s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* ─── Index grid (numbered) ───────────────────────────────────── */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.index-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 34px 30px;
}
.index-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--moss);
  margin-bottom: 14px;
}
.index-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 10px;
}
.index-card p { color: var(--text-mid); font-size: 0.95rem; }

/* ─── Team / portrait ───────────────────────────────────────── */
.portrait-frame {
  border-radius: 50% 50% 46% 54% / 54% 50% 50% 46%;
  overflow: hidden;
  aspect-ratio: 1;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.signature-block {
  margin-top: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--forest);
}
.signature-title { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; font-style: normal; }

/* ─── Resource list (families) ─────────────────────────────── */
.resource-list { display: flex; flex-direction: column; }
.resource-row {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--white);
  margin-bottom: 14px;
}
.resource-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--moss-light);
  color: var(--forest-mid);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.resource-row h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 4px;
}
.resource-row p { font-size: 0.9rem; color: var(--text-mid); }
.resource-meta { font-size: 0.85rem; color: var(--text-light); font-weight: 700; }

/* ─── Contact / Visit grid ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-list { display: flex; flex-direction: column; gap: 26px; margin-top: 28px; }
.contact-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 4px;
}
.contact-item p { color: var(--text-mid); font-size: 0.95rem; }
.map-frame {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--moss-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-mid);
  font-weight: 700;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ─── Library panel (Drive folder link card) ──────────────────── */
.library-panel {
  background: var(--white);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 16px 40px -28px rgba(30, 45, 31, 0.4);
}
.library-panel-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--moss-light);
  color: var(--forest);
}
.library-panel-icon svg { width: 30px; height: 30px; }
.library-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest);
  margin-bottom: 12px;
}
.library-panel p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ─── Article body ──────────────────────────────────────────── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { margin-bottom: 22px; color: var(--text-mid); font-size: 1.05rem; }
.article-body h3 {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 1.5rem;
  margin: 36px 0 16px;
}
.article-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--forest);
  margin-top: 24px;
}

/* ─── CTA block ─────────────────────────────────────────────── */
.cta-block {
  position: relative;
  background: var(--autumn);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-block-inner { position: relative; z-index: 1; padding: 100px 0; }
.cta-block .display-2 { color: var(--white); margin-bottom: 16px; }
.cta-block .lead { color: var(--cream-dark); margin: 0 auto 32px; }
.cta-block::after {
  content: "🌿";
  position: absolute;
  font-size: 14rem;
  opacity: 0.08;
  right: -40px;
  top: -40px;
  transform: rotate(15deg);
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--forest);
  color: var(--cream-dark);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 70px 0 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin-bottom: 16px;
}
.footer-logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--autumn);
}
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-col a, .footer-col p { color: var(--moss-light); font-size: 0.92rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(247,243,237,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.footer-social a:hover { background: var(--autumn); border-color: var(--autumn); }
.newsletter-form { display: flex; gap: 0; margin-top: 14px; border-radius: 999px; overflow: hidden; border: 1px solid rgba(247,243,237,0.25); }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: var(--moss-light); }
.newsletter-form button {
  background: var(--autumn);
  color: var(--white);
  border: 0;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid rgba(247,243,237,0.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--moss-light);
}
.footer-bottom a { color: var(--moss-light); }
.footer-bottom a:hover { color: var(--white); }

/* ─── Reveal animation ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 70px; }
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  .pillar-grid, .season-strip { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .index-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .card-grid.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-text, .split.reverse .split-image { order: unset; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .resource-row { grid-template-columns: 90px 1fr; }
  .resource-row .resource-meta, .resource-row .btn { grid-column: 2; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .pillar-grid, .season-strip, .card-grid, .index-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 100vh; }
  .display-1 { font-size: 2.4rem; }
  .feature-panel-inner, .cta-block-inner { padding: 80px 0; }
  .resource-row { grid-template-columns: 1fr; text-align: left; }
  .resource-row .resource-tag { width: fit-content; }
  .page-hero { min-height: 0; padding-bottom: 90px; }
  .page-hero-content { padding-bottom: 0; }
  .article-downloads { flex-direction: column; align-items: stretch; }
  .article-downloads .btn { white-space: normal; text-align: center; justify-content: center; }
}
