/* Anchored Hope — elevated design system
   Brand palette (client-supplied): #59604b dark moss, #69725a sage,
   #9a9f90 grey-sage, #d2d7ca pale sage, #fffffe white */
:root {
  --paper: #fdfdfb;
  --sage-pale: #e9ece3;
  --sage-tint: #d2d7ca;
  --moss: #59604b;
  --moss-deep: #3e4434;
  --moss-deeper: #2f3428;
  --sage: #69725a;
  --grey-sage: #9a9f90;
  --ink: #262626;
  --ink-soft: #3d3d3d;
  --white: #fffffe;
}

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

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.75;
}

h1, h2, h3, blockquote { font-family: "Lora", Georgia, "Times New Roman", serif; color: var(--moss); line-height: 1.22; }
a { color: var(--sage); }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ===== Motion layer (GSAP drives everything; static without it) ===== */
.veil {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--moss-deeper); align-items: center; justify-content: center;
}
.motion-on .veil { display: flex; }
.veil-logo { width: 210px; opacity: 0; transform: scale(0.92); filter: invert(1) brightness(1.9); }

.leaf { position: absolute; pointer-events: none; opacity: 0.45; z-index: 1; }
.word { display: inline-block; }

.marquee {
  overflow: hidden; background: var(--sage-pale);
  border-top: 1px solid var(--sage-tint); border-bottom: 1px solid var(--sage-tint);
  padding: 30px 0;
}
.marquee-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee-track > span {
  font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem); color: var(--moss);
  display: inline-flex; align-items: center; padding-right: 70px;
}
.marquee-track > span::after {
  content: ""; width: 14px; height: 14px; margin-left: 70px;
  background: var(--grey-sage); border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
}

.site-header { transition: box-shadow 0.35s ease; }
.site-header.shrunk { box-shadow: 0 8px 30px rgba(47,52,40,0.12); }
.site-header .brand img { transition: height 0.35s ease, transform 0.4s ease; }
.site-header.shrunk .brand img { height: 52px; }

/* ===== Header ===== */
.site-header {
  background: rgba(253, 253, 251, 0.96);
  border-bottom: 1px solid var(--sage-tint);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; flex-wrap: wrap; gap: 12px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 72px; width: auto; transition: transform 0.4s ease; }
.brand:hover img { transform: scale(1.04); }
.site-nav { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--moss); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: border-color 0.25s ease, color 0.25s ease;
}
.site-nav a:hover { border-bottom-color: var(--grey-sage); color: var(--sage); }
.site-nav a.active { border-bottom-color: var(--moss); }
.site-nav a.nav-cta {
  background: var(--moss); color: var(--white); padding: 10px 22px; border-radius: 100px;
  border-bottom: none; transition: background 0.25s ease;
}
.site-nav a.nav-cta:hover { background: var(--moss-deep); color: var(--white); }

/* ===== Hero (split editorial) ===== */
.hero {
  background:
    radial-gradient(ellipse at 75% 20%, rgba(105,114,90,0.55) 0%, rgba(89,96,75,0) 55%),
    linear-gradient(165deg, var(--moss) 0%, var(--moss-deep) 62%, var(--moss-deeper) 100%);
  color: var(--sage-pale);
  position: relative;
  overflow: hidden;
}
.hero-watermark {
  position: absolute; right: -6%; bottom: -18%; width: 54%; max-width: 720px;
  opacity: 0.07; filter: invert(1) brightness(2); pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px;
  align-items: center; padding: 88px 0 96px; position: relative;
}
.hero .eyebrow {
  letter-spacing: 0.34em; text-transform: uppercase; font-size: 0.76rem;
  font-weight: 700; color: var(--sage-tint); margin-bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.hero .eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--grey-sage); }
.hero h1 {
  color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  font-weight: 400; margin-bottom: 26px; max-width: 18ch;
}
.hero h1 em { font-style: italic; color: var(--sage-tint); }
.hero p.lede { font-size: 1.18rem; max-width: 52ch; color: #dfe3d6; margin-bottom: 38px; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 400px); }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 220px 220px 14px 14px; /* arched portrait */
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-photo figcaption {
  margin-top: 16px; font-size: 0.88rem; color: var(--sage-tint);
  font-style: italic; text-align: center; letter-spacing: 0.04em;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0; gap: 44px; }
  .hero-photo { justify-self: center; }
}

/* Page hero (interior) */
.page-hero {
  background: linear-gradient(165deg, var(--moss) 0%, var(--moss-deep) 80%);
  color: var(--sage-pale); padding: 64px 0; position: relative; overflow: hidden;
}
.page-hero .hero-watermark { width: 40%; bottom: -40%; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 400; position: relative; }
.page-hero p { color: #dfe3d6; max-width: 62ch; margin-top: 14px; font-size: 1.12rem; position: relative; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 100px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-tint); color: var(--moss-deeper); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.btn-primary:hover { background: var(--white); }
.btn-outline { border: 1.5px solid var(--sage-tint); color: var(--sage-pale); margin-left: 14px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--moss); color: var(--white); border: none; cursor: pointer; }
.btn-navy:hover { background: var(--moss-deep); }
@media (max-width: 640px) { .btn-outline { margin-left: 0; margin-top: 12px; } }

/* ===== Leaf-and-line divider ===== */
.divider { display: flex; justify-content: center; padding: 8px 0; background: var(--paper); }
.divider svg { width: 220px; height: 28px; }
.divider.on-pale { background: var(--sage-pale); }

/* ===== Sections ===== */
section.band { padding: 84px 0; }
section.band.alt { background: var(--white); }
section.band.deep { background: var(--sage-pale); }
.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head .eyebrow, .eyebrow-line {
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.76rem;
  font-weight: 700; color: var(--sage); margin-bottom: 12px;
  display: flex; align-items: center; gap: 14px;
}
.section-head .eyebrow::before, .eyebrow-line::before {
  content: ""; width: 38px; height: 1px; background: var(--grey-sage);
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 400; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ===== Mission quote (full band) ===== */
.mission-band {
  background: var(--moss-deep); color: var(--sage-pale);
  padding: 96px 0; position: relative; overflow: hidden;
}
.mission-band .hero-watermark { left: -8%; right: auto; top: auto; bottom: -72%; width: 42%; }
.mission-band blockquote {
  color: var(--white); font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-style: italic; font-weight: 400; max-width: 26ch;
  margin: 0 auto; text-align: center; position: relative;
}
.mission-band blockquote::before {
  content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.6;
  color: var(--grey-sage); margin-bottom: 26px;
}
.mission-band cite {
  display: block; margin-top: 34px; font-style: normal; text-align: center;
  font-family: "Source Sans 3", sans-serif; font-size: 0.92rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-tint); font-weight: 700;
}

/* ===== Featured program (editorial split) ===== */
.featured {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: var(--moss); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(62,68,52,0.25);
}
.featured-stat {
  background: linear-gradient(165deg, var(--sage) 0%, var(--moss) 90%);
  color: var(--white); padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.featured-stat .big {
  font-family: "Lora", Georgia, serif; font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1; color: var(--white);
}
.featured-stat .big small { font-size: 0.3em; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-tint); display: block; margin-top: 10px; font-family: "Source Sans 3", sans-serif; font-weight: 700; }
.featured-stat .hero-watermark { width: 80%; right: -28%; bottom: -28%; opacity: 0.1; }
.featured-body { padding: 56px 52px; color: var(--sage-pale); }
.featured-body .eyebrow-line { color: var(--sage-tint); }
.featured-body .eyebrow-line::before { background: var(--grey-sage); }
.featured-body h3 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; margin-bottom: 16px; }
.featured-body p { color: #dfe3d6; margin-bottom: 14px; }
.featured-body .btn { margin-top: 14px; }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } }

/* ===== Pathway cards ===== */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 34px; }
@media (max-width: 760px) { .path-grid { grid-template-columns: 1fr; } }
.path-card {
  background: var(--white); border: 1px solid var(--sage-tint); border-radius: 14px;
  padding: 36px 34px; position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.path-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(62,68,52,0.14); }
.band.alt .path-card, .band.deep .path-card { background: var(--paper); }
.path-card .tag {
  display: inline-block; background: var(--sage-pale); color: var(--moss);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 18px;
}
.path-card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
.path-card p { color: var(--ink-soft); font-size: 1rem; }
.path-card ul { margin: 14px 0 0 20px; color: var(--ink-soft); font-size: 1rem; }
.path-card li { margin-bottom: 7px; }

/* ===== Numbered services (editorial list) ===== */
.svc-list { border-top: 1px solid var(--sage-tint); margin-top: 10px; }
.svc-row {
  --rule: 100%;
  display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 30px;
  padding: 34px 6px; align-items: baseline; position: relative;
}
.svc-row::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px;
  width: var(--rule); background: var(--sage-tint);
}
.svc-row .num { font-family: "Lora", Georgia, serif; font-size: 1.9rem; color: var(--grey-sage); }
.svc-row h3 { font-size: 1.3rem; font-weight: 500; }
.svc-row p { color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 56px 1fr; } .svc-row p { grid-column: 2; } }

/* ===== Staff (asymmetric editorial) ===== */
.staff-feature {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center;
}
.staff-feature.flip { grid-template-columns: 1.2fr 0.8fr; }
.staff-feature + .staff-feature { margin-top: 84px; }
@media (max-width: 820px) {
  .staff-feature, .staff-feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .staff-feature.flip .staff-photo { order: -1; }
}
.staff-photo { position: relative; }
.staff-photo img {
  width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px 12px 12px;
  box-shadow: 0 22px 50px rgba(62,68,52,0.22);
}
.staff-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--grey-sage); border-radius: 210px 210px 16px 16px;
  z-index: -1; max-width: 380px;
}
.staff-body .role {
  color: var(--sage); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78rem;
}
.staff-body h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; margin: 8px 0 6px; }
.staff-body .creds { color: var(--sage); font-weight: 600; font-size: 0.98rem; margin-bottom: 18px; }
.staff-body p { color: var(--ink-soft); margin-bottom: 12px; }

/* ===== Steps ===== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; padding-top: 70px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: "Lora", Georgia, serif; font-size: 3rem; color: var(--grey-sage); line-height: 1;
}
.step h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* ===== Not-ready / ambivalence section ===== */
.notready { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 820px) { .notready { grid-template-columns: 1fr; gap: 28px; } }
.notready .big-line {
  font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--moss); line-height: 1.3;
}
.notready .body p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.06rem; }
.notready .body p strong { color: var(--moss); }

/* ===== Privacy strip ===== */
.privacy-strip { background: var(--moss); color: var(--sage-pale); padding: 26px 0; }
.privacy-strip .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; text-align: center; }
.privacy-strip p { font-size: 1rem; max-width: 78ch; }
.privacy-strip strong { color: var(--white); }

/* ===== Crisis line (footer) ===== */
.footer-crisis {
  background: #4a503f; border-radius: 10px; padding: 16px 22px; margin-bottom: 34px;
  font-size: 0.98rem; color: #e6e9df; text-align: center;
}
.footer-crisis a { color: var(--white); font-weight: 700; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(165deg, var(--moss) 10%, var(--moss-deeper) 100%);
  color: var(--sage-pale); padding: 92px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band .hero-watermark { left: 50%; transform: translateX(-50%); bottom: -55%; width: 46%; opacity: 0.08; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 400; margin-bottom: 16px; position: relative; }
.cta-band p { color: #dfe3d6; max-width: 54ch; margin: 0 auto 34px; position: relative; font-size: 1.1rem; }
.cta-band .btn { position: relative; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; }
.contact-info h2 { font-weight: 400; }
.contact-info dt {
  font-weight: 700; color: var(--moss); letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.8rem; margin-top: 22px;
}
.contact-info dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.contact-info dd a { color: var(--sage); font-weight: 600; }
.contact-form {
  background: var(--white); border: 1px solid var(--sage-tint); border-radius: 14px; padding: 36px;
  box-shadow: 0 16px 40px rgba(62,68,52,0.08);
}
.contact-form .btn-navy { display: inline-block; }
.contact-form h2 { color: var(--moss); }
.contact-form label { display: block; font-weight: 700; color: var(--moss); margin: 18px 0 6px; font-size: 0.95rem; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--grey-sage); border-radius: 8px;
  font: inherit; background: var(--paper); color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(105,114,90,0.18);
}
.contact-form button { margin-top: 26px; }

/* ===== Footer ===== */
.site-footer { background: var(--moss-deeper); color: #d9dcd2; padding: 56px 0 38px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; margin-bottom: 34px; }
.site-footer h3 {
  color: var(--white); font-family: "Source Sans 3", sans-serif;
  font-size: 0.92rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px;
}
.site-footer a { color: var(--sage-tint); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #4a503f; padding-top: 22px; font-size: 0.85rem; color: #c4c8bb; }
