/*
 * SCHOOL MOCKUP — Design System
 * ─────────────────────────────────────────────────────────────
 * Palette derived from the photos: the warm autumn brick of the
 * school building, the deep forest greens of the woodland, and
 * the clean off-white of natural light. One risk taken: the nav
 * uses a near-black forest green (#1e2d1f) rather than a safe
 * dark grey, grounding every page in the school's outdoor identity.
 *
 * Typography: Playfair Display (display/headings) — authoritative
 * and warm, appropriate for an independent school. Nunito Sans
 * (body) — friendly and highly legible for parents reading content.
 *
 * Signature element: The full-bleed "feature strip" sections use
 * a strong dark overlay + a centred italic pull-quote treatment
 * that echoes the LWS layout but with more typographic presence.
 * ─────────────────────────────────────────────────────────────
 */

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

:root {
  /* Colour palette */
  --forest:       #1e2d1f;
  --forest-mid:   #2f4a30;
  --forest-light: #4a7c4e;
  --autumn:       #b85c38;
  --autumn-light: #d4784f;
  --cream:        #f7f3ed;
  --cream-dark:   #ede7db;
  --text-dark:    #1a1a1a;
  --text-mid:     #444444;
  --text-light:   #6b6b6b;
  --white:        #ffffff;
  --border:       #d8d0c4;

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

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

/* ─── 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(--white);
  line-height: 1.7;
}

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 24px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-1px); }

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

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

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

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--autumn);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 20px;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 640px;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--forest);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav-logo span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 3px solid var(--autumn);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:last-child { border-bottom: none; }

.nav-dropdown a:hover {
  background: var(--cream);
  color: var(--forest);
}

/* Top utility bar (Contact Us link) */
.nav-util {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-util a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-util a:hover { color: var(--white); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--forest);
  overflow-y: auto;
  z-index: 999;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile-sub {
  padding-left: 16px;
}
.nav-mobile-sub a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  padding: 10px 0;
}

/* ─── Page Banner (interior pages) ──────────────────────────── */
.page-banner {
  height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: var(--nav-height);
  display: flex;
  align-items: flex-end;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

/* ─── Hero (home page) ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  margin-top: var(--nav-height);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 45, 31, 0.72) 0%,
    rgba(30, 45, 31, 0.35) 60%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Intro block (landing page intro) ──────────────────────── */
.intro-block {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.intro-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-image {
  height: 500px;
  overflow: hidden;
  border-radius: 2px;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ─── Fifty-Fifty sections ───────────────────────────────────── */
.fifty-fifty {
  padding: 64px 0;
}

.fifty-fifty .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.fifty-fifty.reversed .container {
  direction: rtl;
}
.fifty-fifty.reversed .container > * {
  direction: ltr;
}

.fifty-image {
  height: 420px;
  overflow: hidden;
  border-radius: 2px;
}

.fifty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fifty-text .section-body { max-width: 100%; }

.fifty-text .btn { margin-top: 28px; }

/* ─── Feature Strip ──────────────────────────────────────────── */
.feature-strip {
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.feature-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 20, 0.62);
}

.feature-strip-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 24px;
}

.feature-strip-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 20px;
}

.feature-strip-attr {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ─── Card Grid (linked cards at bottom of pages) ────────────── */
.card-grid-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.card-grid-section .section-title { text-align: center; margin-bottom: 48px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img { transform: scale(1.04); }

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.card-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--autumn);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.card:hover .card-link { gap: 10px; }
.card-link::after { content: '→'; }

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--forest);
  padding: 72px 0;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-banner-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 560px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--forest);
  border-top: 3px solid var(--autumn);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-about {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.footer-social a:hover {
  border-color: var(--autumn);
  color: var(--white);
  background: var(--autumn);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-contact-item strong {
  display: block;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer-newsletter {
  margin-top: 8px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* PLACEHOLDER — Mailchimp embed goes here */
.mailchimp-placeholder {
  background: rgba(255,255,255,0.07);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* ─── Intro text block (used on section pages) ───────────────── */
.page-intro {
  padding: 72px 0 56px;
  background: var(--white);
}

.page-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.page-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-intro-text p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-intro-image {
  height: 480px;
  overflow: hidden;
  border-radius: 2px;
}

.page-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ─── Approach section (3 items with image + text) ────────────── */
.approach-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.approach-section .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.approach-item {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.approach-item-image {
  height: 240px;
  overflow: hidden;
}

.approach-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.approach-item:hover .approach-item-image img { transform: scale(1.04); }

.approach-item-body {
  padding: 28px;
}

.approach-item-body h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}

.approach-item-body p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.approach-item-body a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--autumn);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.approach-item:hover .approach-item-body a { gap: 10px; }
.approach-item-body a::after { content: '→'; }

/* ─── Explore cards (2-col large cards on homepage) ──────────── */
.explore-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.explore-section .section-title { margin-bottom: 36px; }

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.explore-card {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.explore-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.explore-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,32,20,0.75) 0%, rgba(20,32,20,0.1) 60%);
  z-index: 1;
}

.explore-card:hover img { transform: scale(1.04); }

.explore-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.explore-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}

.explore-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

/* ─── Quote strip ────────────────────────────────────────────── */
.quote-strip {
  background: var(--cream-dark);
  padding: 56px 0;
  text-align: center;
}

.quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.quote-strip cite {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-style: normal;
}

/* ─── Resources page ─────────────────────────────────────────── */
.resources-intro {
  padding: 72px 0 48px;
  background: var(--white);
}

.resources-intro .container {
  max-width: 760px;
}

.resources-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
}

.resources-intro p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.resources-grid-section {
  padding: 0 0 var(--section-pad);
  background: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.resource-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.resource-card-image {
  height: 200px;
  overflow: hidden;
}

.resource-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.resource-card:hover .resource-card-image img { transform: scale(1.04); }

.resource-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--autumn);
  margin-bottom: 10px;
}

.resource-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.35;
  flex: 1;
}

.resource-card-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.resource-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}

.resource-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-download:hover { background: var(--forest-mid); }
.btn-download::before { content: '↓'; }

/* Document library panel */
.library-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 48px 32px;
  margin: 0 0 var(--section-pad);
}
.library-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--forest);
}
.library-panel-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.library-panel-desc {
  color: var(--text-mid);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 480px;
}

/* ─── Contact page ───────────────────────────────────────────── */
.contact-layout {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.contact-layout .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-details h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 32px;
}

.contact-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--autumn);
  margin-bottom: 6px;
}

.contact-item p, .contact-item a {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.contact-item a:hover { color: var(--forest); text-decoration: underline; }

.contact-image {
  height: 400px;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 24px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-placeholder {
  background: var(--cream);
  border: 2px dashed var(--border);
  border-radius: 2px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9375rem;
  padding: 24px;
}

/* ─── Meet the Head page ─────────────────────────────────────── */
.head-layout {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.head-layout .container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.head-portrait {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.head-portrait img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.head-portrait-caption {
  margin-top: 16px;
  text-align: center;
}

.head-portrait-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--forest);
}

.head-portrait-caption span {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.head-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 28px;
  line-height: 1.3;
}

.head-text p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.head-text .signature {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--forest);
  margin-top: 32px;
}

/* ─── Sidebar nav (used on sub-pages) ────────────────────────── */
.page-with-sidebar {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.page-with-sidebar .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.sidebar-nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--cream);
  border-radius: 2px;
  padding: 8px 0;
}

.sidebar-nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.sidebar-nav a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--white);
  color: var(--forest);
  border-left-color: var(--autumn);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-height: 68px; }

  .nav-menu, .nav-util { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }

  .hero h1 { font-size: 2.2rem; }

  .intro-block .container,
  .page-intro .container,
  .fifty-fifty .container,
  .cta-banner .container,
  .contact-layout .container,
  .head-layout .container,
  .page-with-sidebar .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fifty-fifty.reversed .container { direction: ltr; }

  .intro-image,
  .page-intro-image { height: 320px; }
  .fifty-image { height: 280px; }
  .feature-strip { height: 360px; }

  .explore-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .page-banner { height: 260px; }
  .page-banner h1 { font-size: 1.75rem; }

  .head-layout .container { grid-template-columns: 1fr; }
  .head-portrait { position: static; }

  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner-text p { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-actions { animation: none; }
}
