/* ============================================================
   CASTLEWOOD ACCOUNTING — "The Stewardship House" Design System
   Palette: forest #1B3A2D · amber #C9A84C · linen #F5F0E8 · sage #7A9E8E
   Type: Cormorant Garamond (display) · DM Sans (body)
   ============================================================ */

:root {
  --forest: #1B3A2D;
  --forest-deep: #12291F;
  --forest-soft: #2C5443;
  --amber: #C9A84C;
  --amber-soft: #DCC27B;
  --amber-wash: rgba(201, 168, 76, 0.12);
  --linen: #F5F0E8;
  --linen-deep: #ECE4D6;
  --sage: #7A9E8E;
  --sage-wash: rgba(122, 158, 142, 0.14);
  --ink: #22301F;
  --ink-soft: #4C5A49;
  --white: #FDFCF9;
  --danger: #A4552F;
  --ok: #4E7A5A;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 3px rgba(27, 58, 45, 0.08);
  --shadow-md: 0 6px 24px rgba(27, 58, 45, 0.10);
  --shadow-lg: 0 18px 48px rgba(27, 58, 45, 0.16);

  --radius: 10px;
  --radius-lg: 18px;
  --maxw: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.9rem;
}
.eyebrow--sage { color: var(--sage); }

.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--forest { background: var(--forest); color: var(--linen); }
.section--forest h2, .section--forest h3 { color: var(--linen); }
.section--forest .lede { color: rgba(245, 240, 232, 0.78); }
.section--white { background: var(--white); }
.section--linen-deep { background: var(--linen-deep); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 0.9rem; color: var(--ink-soft); }
.section--forest .section-head p { color: rgba(245, 240, 232, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--amber); color: var(--forest-deep); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--amber-soft); box-shadow: var(--shadow-lg); }
.btn--forest { background: var(--forest); color: var(--linen); box-shadow: var(--shadow-md); }
.btn--forest:hover { background: var(--forest-soft); }
.btn--ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: var(--linen); }
.btn--ghost-light { border-color: rgba(245,240,232,0.6); color: var(--linen); background: transparent; }
.btn--ghost-light:hover { background: var(--linen); color: var(--forest); border-color: var(--linen); }
.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.08rem; }
.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.92rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 58, 45, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-logo svg { width: 40px; height: 40px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--forest);
  line-height: 1.05;
}
.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
}
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--forest); border-bottom-color: var(--amber); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--forest); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--linen);
    border-bottom: 1px solid rgba(27,58,45,0.1);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.55rem var(--gutter); }
  .nav-links .btn { justify-content: center; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 58, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sage-wash);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--forest);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--forest); color: var(--linen); padding: 1.1rem 0; }
.trust-bar .wrap {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.75rem 2.75rem;
}
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.92; }
.trust-item svg { width: 17px; height: 17px; color: var(--amber); flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--linen); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero .lede { margin: 1.4rem 0 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note { margin-top: 1.1rem; font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.45rem; }
.hero-note svg { width: 15px; height: 15px; color: var(--sage); }
.hero-art { position: relative; }

/* ---------- Scorecard widget ---------- */
.scorecard {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 58, 45, 0.08);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.scorecard-head {
  background: var(--forest);
  color: var(--linen);
  padding: 1.6rem clamp(1.4rem, 3vw, 2.2rem);
}
.scorecard-head h3 { color: var(--linen); font-size: 1.45rem; }
.scorecard-head p { color: rgba(245,240,232,0.75); font-size: 0.92rem; margin-top: 0.3rem; }
.scorecard-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.sc-progress { height: 6px; background: var(--linen-deep); border-radius: 999px; overflow: hidden; margin-bottom: 1.6rem; }
.sc-progress-fill { height: 100%; background: var(--amber); width: 0%; transition: width 0.3s ease; }
.sc-qnum { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.5rem; }
.sc-question { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600; color: var(--forest); margin-bottom: 1.4rem; line-height: 1.25; }
.sc-options { display: grid; gap: 0.7rem; }
.sc-option {
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 1.25rem;
  background: var(--linen);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.sc-option:hover { border-color: var(--sage); background: var(--sage-wash); transform: translateX(3px); }
.sc-back { margin-top: 1.2rem; background: none; border: none; color: var(--sage); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.sc-back:hover { color: var(--forest); text-decoration: underline; }

.sc-band { text-align: center; padding: 0.5rem 0 1.2rem; }
.sc-band-label {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  margin: 0.9rem 0;
}
.sc-band--strong { background: rgba(78, 122, 90, 0.15); color: var(--ok); }
.sc-band--gaps { background: var(--amber-wash); color: #8a6d1f; }
.sc-band--risk { background: rgba(164, 85, 47, 0.13); color: var(--danger); }
.sc-gauge { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; color: var(--forest); line-height: 1; }
.sc-gauge span { font-size: 1.4rem; color: var(--ink-soft); }

.sc-gate {
  background: var(--linen);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.3rem;
  text-align: left;
}
.sc-gate h4 { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); margin-bottom: 0.35rem; }
.sc-gate p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.sc-gate form { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.sc-gate input[type="email"], .sc-gate input[type="text"] {
  flex: 1 1 200px;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(27,58,45,0.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
}
.sc-gate input:focus { outline: 2px solid var(--amber); border-color: var(--amber); }

.sc-results { margin-top: 1.6rem; text-align: left; }
.sc-result-item {
  display: flex; gap: 0.85rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--linen-deep);
  font-size: 0.96rem;
}
.sc-result-item svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.sc-result-item.ok svg { color: var(--ok); }
.sc-result-item.warn svg { color: var(--amber); }
.sc-result-item.risk svg { color: var(--danger); }
.sc-result-item strong { display: block; color: var(--forest); }
.sc-result-item p { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Steps (How it works) ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.step .badge { margin-top: 0.8rem; }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--amber-wash);
  color: #8a6d1f;
}
.badge--sage { background: var(--sage-wash); color: var(--forest); }

/* ---------- Case study ---------- */
.case-study {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 820px) { .case-study { grid-template-columns: 1fr; } }
.case-study-side {
  background: var(--forest);
  color: var(--linen);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex; flex-direction: column; justify-content: center;
}
.case-study-side h3 { color: var(--linen); font-size: 1.7rem; margin-bottom: 0.8rem; }
.case-study-side p { color: rgba(245,240,232,0.78); font-size: 0.97rem; }
.case-study-main { padding: clamp(1.8rem, 4vw, 2.8rem); }
.case-stat { border-top: 1px solid var(--linen-deep); padding: 1.05rem 0; }
.case-stat:first-child { border-top: none; padding-top: 0; }
.case-stat strong { font-family: var(--font-display); font-size: 1.55rem; color: var(--forest); display: block; }
.case-stat span { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.tiers { align-items: stretch; }
.tier { display: flex; flex-direction: column; position: relative; }
.tier--featured { border: 2px solid var(--amber); box-shadow: var(--shadow-lg); }
.tier-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--forest-deep);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 1.1rem; border-radius: 999px; white-space: nowrap;
}
.tier-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--forest); }
.tier-tagline { font-size: 0.9rem; color: var(--sage); font-weight: 600; margin-bottom: 1rem; }
.tier-price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--forest); }
.tier-price span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.tier-list { list-style: none; margin: 1.3rem 0 1.8rem; flex-grow: 1; }
.tier-list li { display: flex; gap: 0.6rem; padding: 0.42rem 0; font-size: 0.95rem; color: var(--ink-soft); }
.tier-list svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 3px; }

/* ---------- Estimator ---------- */
.estimator {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27,58,45,0.08);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
}
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }
.estimator-form { padding: clamp(1.6rem, 3.5vw, 2.5rem); }
.est-field { margin-bottom: 1.5rem; }
.est-field > label { display: block; font-weight: 700; font-size: 0.95rem; color: var(--forest); margin-bottom: 0.6rem; }
.est-field select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid rgba(27,58,45,0.2); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem; background: var(--linen); color: var(--ink);
}
.est-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.est-pill {
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  padding: 0.55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid rgba(27,58,45,0.22); background: var(--white); color: var(--ink-soft);
  cursor: pointer; transition: 0.15s;
}
.est-pill.selected, .est-pill:hover { background: var(--forest); color: var(--linen); border-color: var(--forest); }
.est-checks { display: grid; gap: 0.55rem; }
.est-check { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; color: var(--ink-soft); cursor: pointer; }
.est-check input { width: 18px; height: 18px; accent-color: var(--forest); }

.est-group-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage); margin: 1.4rem 0 0.7rem;
}
.est-svc {
  border: 1.5px solid rgba(27,58,45,0.14); border-radius: var(--radius);
  padding: 0.85rem 1rem; margin-bottom: 0.6rem; background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.est-svc.on { border-color: var(--forest); background: var(--sage-wash); }
.est-svc-head { display: flex; align-items: flex-start; gap: 0.65rem; cursor: pointer; }
.est-svc-head input { width: 18px; height: 18px; accent-color: var(--forest); margin-top: 3px; flex-shrink: 0; }
.est-svc-head strong { font-size: 0.97rem; color: var(--forest); display: block; }
.est-svc-head small { font-size: 0.83rem; color: var(--ink-soft); }
.est-cx { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.65rem 0 0.35rem 2.3rem; }
.est-cx .est-pill { padding: 0.32rem 0.85rem; font-size: 0.8rem; }
.est-scope { font-size: 0.8rem; color: var(--ink-soft); margin-left: 2.3rem; line-height: 1.5; }
.est-breakdown { text-align: left; font-size: 0.85rem; margin: 0.9rem 0 0.2rem; border-top: 1px solid rgba(245,240,232,0.2); padding-top: 0.9rem; }
.est-breakdown div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.14rem 0; opacity: 0.85; }

.estimator-result {
  background: var(--forest); color: var(--linen);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.est-tier-name { font-family: var(--font-display); font-size: 1.9rem; color: var(--amber); }
.est-range { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 700; margin: 0.4rem 0 0.2rem; }
.est-range span { font-size: 1rem; font-family: var(--font-body); font-weight: 500; opacity: 0.7; }
.estimator-result p.est-note { font-size: 0.88rem; opacity: 0.75; margin: 0.8rem 0 1.4rem; }

/* ---------- Resources ---------- */
.guide-card { display: flex; flex-direction: column; }
.guide-card .card-icon { background: var(--amber-wash); }
.guide-card h3 { font-size: 1.25rem; }
.guide-card p { flex-grow: 1; margin-bottom: 1.2rem; }

.article-card { display: flex; flex-direction: column; text-decoration: none; }
.article-card:hover h3 { color: var(--amber); }
.article-tag { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.55rem; }
.article-card h3 { font-size: 1.3rem; transition: color 0.15s; margin-bottom: 0.55rem; }
.article-card p { flex-grow: 1; }
.article-date { font-size: 0.85rem; color: var(--sage); margin-top: 1rem; font-weight: 500; }

.archive-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.8rem; }
.archive-list { display: grid; gap: 0.9rem; }
.archive-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1.05rem 1.4rem; text-decoration: none;
  border: 1px solid rgba(27,58,45,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.archive-row:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.archive-row strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--forest); font-weight: 600; }
.archive-row em { font-style: normal; font-size: 0.82rem; color: var(--sage); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.archive-year { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage); margin: 1.4rem 0 0.3rem; }

/* ---------- Forms / modal ---------- */
.form-grid { display: grid; gap: 1rem; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(27,58,45,0.2); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem; background: var(--white);
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.form-msg { font-size: 0.92rem; font-weight: 600; margin-top: 0.6rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18, 41, 31, 0.55);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 480px; width: 100%;
  padding: 2rem; position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 0.4rem; }
.modal > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.3rem; }
.modal-close {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; font-size: 1.6rem; color: var(--sage); cursor: pointer; line-height: 1;
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }
.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sage-wash);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.founder-photo svg { width: 45%; opacity: 0.5; }

.policy-callout {
  background: var(--white);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.6rem;
}
.policy-callout strong { color: var(--forest); font-size: 1.05rem; }
.policy-callout p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.35rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(27,58,45,0.12); }
.faq-item summary {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--forest);
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--amber); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 1.3rem; font-size: 0.98rem; max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 1rem; }
.cta-band .lede { margin: 0 auto 2.2rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(245,240,232,0.7); padding: 3.5rem 0 2rem; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 0.22rem 0; }
.site-footer a { color: rgba(245,240,232,0.7); text-decoration: none; }
.site-footer a:hover { color: var(--linen); }
.footer-brand .nav-logo-text { color: var(--linen); }
.footer-brand p { margin-top: 0.8rem; max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(245,240,232,0.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.82rem; opacity: 0.75; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.hidden { display: none !important; }
