:root {
  --green: #1d3a31;
  --green-2: #2c5a4b;
  --green-soft: #e6eee9;
  --ivory: #faf7f0;
  --paper: #fffdf8;
  --line: #e3dccb;
  --gold: #d9b45a;
  --gold-ink: #87621a;
  --ink: #1f2a26;
  --muted: #55615b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(29, 58, 49, .06), 0 8px 24px rgba(29, 58, 49, .07);
  --shadow-lift: 0 2px 4px rgba(29, 58, 49, .08), 0 16px 36px rgba(29, 58, 49, .12);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--green-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .portal :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tint { background: var(--green-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 12px;
}
.lede { font-size: 1.15rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn-gold:hover { background: #e6c573; border-color: #e6c573; color: var(--green); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 600; color: var(--green); text-underline-offset: 4px; }
.text-link:hover { color: var(--gold-ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(29, 58, 49, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font: 700 1.3rem/1 var(--serif); color: var(--green); display: flex; flex-direction: column; }
.brand-text small { font: 600 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav ul { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink); font-weight: 500; text-decoration: none; border-radius: var(--radius-sm);
}
.site-nav a:not(.btn):hover { color: var(--green); background: var(--green-soft); }
.site-nav li:last-child { margin-left: 8px; }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 5%; right: -10%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(217, 180, 90, .22), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero-copy .lede { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-facts { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-facts li { flex: 1; padding-right: 16px; }
.hero-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font: 600 1.6rem/1.1 var(--serif); color: var(--green); }
.hero-facts span { font-size: .9rem; color: var(--muted); }
.hero-art svg { width: 100%; max-width: 460px; margin-left: auto; height: auto; filter: drop-shadow(0 24px 40px rgba(29, 58, 49, .14)); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card p:last-child { margin-bottom: 0; }
.card > p { color: var(--muted); }
.icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 20px; border-radius: 12px;
  background: var(--green-soft); fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.card-accent { background: var(--green); border-color: var(--green); }
.card-accent h3 { color: #fff; }
.card-accent > p { color: #d6e3dc; }
.card-accent .text-link { color: var(--gold); }
.card-accent .text-link:hover { color: #f0d690; }
.card-accent :focus-visible { outline-color: var(--gold); }

/* Who we help */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.who {
  display: flex; gap: 20px; align-items: flex-start; background: var(--paper);
  border-radius: var(--radius); padding: 24px; border: 1px solid rgba(29, 58, 49, .08);
}
.who h3 { margin-bottom: 6px; }
.who p { margin: 0; color: var(--muted); }
.who-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.who-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Team */
.person { text-align: left; }
.avatar {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px;
  background: var(--green); color: var(--gold); font: 600 1.5rem/1 var(--serif); letter-spacing: .02em;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line);
}
.avatar-gold { background: var(--gold); color: var(--green); }
.avatar-sage { background: #6f9584; color: #fff; }
.person h3 { margin-bottom: 4px; }
.role { font-size: .9rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 14px; }
.card > p.role { color: var(--gold-ink); }

/* Dates */
.section-dark { background: var(--green); color: #e4ede8; position: relative; overflow: hidden; }
.section-dark::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(217, 180, 90, .25); box-shadow: 0 0 0 40px rgba(217, 180, 90, .04), 0 0 0 80px rgba(217, 180, 90, .03);
  pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .lede { color: #c5d6ce; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.timeline li {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 24px;
}
.timeline time {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 68px; height: 72px; border-radius: 12px; background: var(--ivory); color: var(--green); margin-bottom: 18px;
  overflow: hidden;
}
.timeline .mon { width: 100%; text-align: center; background: var(--gold); font: 700 .75rem/1.9 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.timeline .day { font: 600 1.8rem/1.3 var(--serif); }
.timeline h3 { font-size: 1.15rem; }
.timeline p { color: #c5d6ce; font-size: .975rem; margin: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq h3 { margin: 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.15rem/1.35 var(--serif); color: var(--green);
}
.faq-q:hover { color: var(--green-2); }
.chev {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); position: relative;
  transition: background .2s, transform .25s;
}
.chev::before, .chev::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--green);
  transform: translate(-50%, -50%); transition: transform .25s;
}
.chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .chev { background: var(--gold); }
.faq-q[aria-expanded="true"] .chev::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { border-bottom: 1px solid var(--line); padding: 0 48px 20px 4px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq h3:has(+ .faq-a:not([hidden])) { border-bottom-color: transparent; }

/* Portal */
.portal { padding: 0 0 clamp(64px, 8vw, 112px); }
.portal-inner {
  display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: 20px;
  background: linear-gradient(120deg, var(--green) 0%, var(--green-2) 100%); color: #d6e3dc;
  box-shadow: var(--shadow-lift);
}
.portal-inner > div { flex: 1; }
.portal h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 6px; }
.portal p { margin: 0; }
.portal-icon { flex: none; width: 60px; height: 60px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Contact */
.section#contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
address { font-style: normal; margin: 28px 0 16px; line-height: 1.7; }
.contact-line { margin: 0 0 6px; }
.contact-line a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--green); text-underline-offset: 4px; }
.hours { margin-top: 24px; border-collapse: collapse; width: 100%; max-width: 420px; }
.hours caption { text-align: left; font: 600 1.15rem/1.3 var(--serif); color: var(--green); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-top: 1px solid var(--line); font-size: .975rem; }
.hours th { font-weight: 600; padding-right: 16px; white-space: nowrap; }
.hours td { color: var(--muted); }
.contact-form { padding: 32px; }
.contact-form:hover { transform: none; }
.field { margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #c9c0aa; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 110px; }
input:hover, select:hover, textarea:hover { border-color: var(--green-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217, 180, 90, .55); }
input[aria-invalid="true"] { border-color: #a3341f; }
.form-note { margin: 14px 0 0; font-size: .95rem; color: var(--green); }
.form-note:empty { display: none; }
.form-note.ok { background: var(--green-soft); border-left: 4px solid var(--gold); padding: 12px 14px; border-radius: 6px; }
.form-note.err { color: #a3341f; }

/* Footer */
.site-footer { background: #142a23; color: #b9cbc2; padding: 48px 0 96px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-brand { font: 600 1.25rem/1.2 var(--serif); color: #fff; margin-bottom: 8px; }
.site-footer a { color: #e4ede8; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); text-decoration: underline; }
.fine { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #9fb5aa; }

/* Sample pill */
.mwd-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  background: rgba(20, 24, 28, .88); color: #fff; border-radius: 999px;
  font: 600 .8rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .15);
  transition: background .2s, transform .2s;
}
.mwd-pill:hover { background: #000; transform: translateY(-1px); }
.mwd-pill:focus-visible { outline: 3px solid #00d4ff; outline-offset: 3px; }

/* Responsive */
@media (max-width: 1000px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line);
    border-radius: 12px; background: var(--paper); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--green); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--ivory);
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(29, 58, 49, .1);
    display: none; padding: 8px 16px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { width: 100%; min-height: 48px; font-size: 1.05rem; }
  .site-nav li:last-child { margin: 12px 0 0; }
  .site-nav .btn { width: 100%; min-height: 48px; }
  .hero-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art svg { margin: 0 auto; max-width: 400px; }
  .section-head { margin-bottom: 32px; }
  .faq-wrap { gap: 0; }
  .hero::before { top: auto; bottom: 0; right: -20%; width: 120%; height: 50%; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .card-grid, .who-grid, .timeline { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts strong { font-size: 1.35rem; }
  .hero-facts span { font-size: .8rem; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts li { padding-right: 8px; }
  .who { padding: 20px; gap: 16px; }
  .timeline li { display: flex; gap: 18px; align-items: flex-start; padding: 20px; }
  .timeline time { flex: none; margin: 0; }
  .portal-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 18px; }
  .portal-inner .btn { width: 100%; }
  .field-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .faq-a { padding-right: 4px; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.15rem; }
}

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