
:root {
  --pine: #214233;
  --pine-2: #315c47;
  --moss: #6d8a62;
  --sage: #dfe8d7;
  --sage-2: #eef4e8;
  --cream: #fbf7ed;
  --paper: #fffdf8;
  --wheat: #d9b66b;
  --sun: #f1d087;
  --clay: #9a5c3c;
  --ink: #233029;
  --muted: #627064;
  --line: rgba(33, 66, 51, .16);
  --shadow: 0 24px 70px rgba(33, 66, 51, .14);
  --radius: 24px;
  --display: "Libre Baskerville", Georgia, serif;
  --body: "Nunito Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 182, 107, .18), transparent 28rem),
    radial-gradient(circle at 95% 5%, rgba(109, 138, 98, .18), transparent 30rem),
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  z-index: -2;
}

a { color: var(--pine-2); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--clay); }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 999; padding: .75rem 1rem; background: var(--pine); color: white; border-radius: .75rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,247,237,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-ribbon { background: var(--pine); color: var(--cream); text-align: center; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; padding: .44rem 1rem; }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--pine); text-decoration: none; min-width: 0; }
.brand img { width: 78px; height: 78px; border-radius: 50%; clip-path: circle(50% at 50% 50%); object-fit: cover; background: transparent; box-shadow: 0 10px 28px rgba(33,66,51,.18); }
.brand strong { display: block; font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.2; }
.brand em { display: block; font-style: normal; color: var(--muted); font-weight: 700; font-size: .92rem; margin-top: .18rem; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.call-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .62rem 1rem; border-radius: 999px; background: var(--pine); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 10px 20px rgba(33,66,51,.18); }
.call-pill:hover { color: white; background: var(--clay); }
.menu-toggle { display: none; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: .62rem .9rem; font: inherit; color: var(--pine); font-weight: 800; }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 99px; content: ""; }
.menu-toggle i { position: relative; }
.menu-toggle i::before { position: absolute; transform: translateY(-6px); }
.menu-toggle i::after { position: absolute; transform: translateY(6px); }
.primary-nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: center; gap: .28rem; flex-wrap: wrap; padding: .55rem 0; }
.nav-link { color: var(--pine); text-decoration: none; font-size: 1.03rem; font-weight: 800; padding: .6rem .86rem; border-radius: 999px; }
.nav-link:hover, .nav-link.is-active { background: var(--sage); color: var(--pine); }

.hero { position: relative; overflow: hidden; min-height: 570px; display: grid; align-items: start; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(251,247,237,.98) 0%, rgba(251,247,237,.93) 54%, rgba(251,247,237,.76) 100%), url('../images/valley-background.png');
  background-position: center, right max(20px, calc((100vw - 1120px) / 2)) center;
  background-size: auto, clamp(480px, 48vw, 700px) auto;
  background-repeat: no-repeat;
  z-index: -1;
}
.hero::after { content: ""; position: absolute; left: -8vw; bottom: -12vw; width: 48vw; height: 24vw; border-radius: 50% 50% 0 0; border-top: 2px solid rgba(33,66,51,.16); transform: rotate(-7deg); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) 380px; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: 3rem 0 4.25rem; }
.eyebrow { margin: 0 0 .9rem; color: var(--clay); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: .78rem; }
h1, h2, h3 { color: var(--pine); font-family: var(--display); line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(1.95rem, 3.7vw, 3.55rem); letter-spacing: -.035em; max-width: 930px; }
.hero-copy h1 { font-size: clamp(1.72rem, 2.65vw, 2.65rem); line-height: 1.2; max-width: 740px; }
h2 { font-size: clamp(1.32rem, 2.05vw, 2.05rem); letter-spacing: -.025em; }
h3 { font-size: 1.18rem; }
.lead { font-size: clamp(1rem, 1.45vw, 1.1rem); max-width: 720px; color: #38483d; }
.hero-actions, .inline-actions, .cta-actions { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .78rem 1.15rem; border-radius: 999px; font-weight: 900; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); font-size: .98rem; }
.button.primary { background: var(--pine); color: white; box-shadow: 0 14px 28px rgba(33,66,51,.18); }
.button.primary:hover { background: var(--clay); color: white; }
.button.secondary { background: rgba(255,255,255,.72); color: var(--pine); border-color: var(--line); }
.button.secondary:hover { background: var(--sage); color: var(--pine); }
.hero-card { background: rgba(255,253,248,.92); border: 1px solid var(--line); border-radius: 30px; padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(33,66,51,.20); border-radius: 22px; pointer-events: none; }
.hero-card h2 { font-size: 1.55rem; }
.hero-card a { display: block; font-size: 1.55rem; font-weight: 900; color: var(--pine); text-decoration: none; margin: 1rem 0 .4rem; }
.hero-card small, .small-note { color: var(--muted); font-weight: 700; }
.card-kicker { display: inline-block; padding: .32rem .7rem; border-radius: 999px; background: var(--sun); color: #513d16; font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }

.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.intro-band { margin-top: -2.6rem; position: relative; z-index: 2; background: var(--pine); color: var(--cream); border-radius: 30px; padding: clamp(1.4rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: center; box-shadow: var(--shadow); }
.intro-band h2 { color: white; font-size: clamp(1.25rem, 2.25vw, 1.85rem); margin: 0; }
.intro-band p { margin: 0; color: rgba(255,255,255,.86); font-size: 1.05rem; }
.split, .two-column, .prose-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.section-copy { position: sticky; top: 180px; }
.section-copy p { font-size: 1.06rem; color: #3b4a40; }
.feature-stack { display: grid; gap: 1rem; }
.feature-stack article, .fee-card, .contact-card, .newsletter-card, .notice-card, .side-card, .location-card, .faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(33,66,51,.08); }
.feature-stack article { padding: 1.4rem 1.5rem; transform: rotate(var(--tilt, 0deg)); }
.feature-stack article:nth-child(1) { --tilt: -.7deg; }
.feature-stack article:nth-child(2) { --tilt: .55deg; background: var(--sage-2); }
.feature-stack article:nth-child(3) { --tilt: -.35deg; }
.feature-stack p { margin-bottom: 0; }
.muted { background: linear-gradient(135deg, rgba(223,232,215,.78), rgba(255,253,248,.72)); border-block: 1px solid var(--line); }
.photo-card { background: transparent; padding: 0; border-radius: 0; box-shadow: 0 16px 34px rgba(33,66,51,.12); transform: none; }
.photo-card img { border-radius: 0; width: 100%; object-fit: cover; display: block; }
.text-link { font-weight: 900; }
.cta-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 34px; padding: clamp(1.6rem, 4vw, 2.6rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; box-shadow: var(--shadow); margin-bottom: clamp(3rem, 7vw, 6rem); }
.cta-panel h2 { margin-bottom: .35rem; font-size: clamp(1.28rem, 2vw, 1.8rem); }
.cta-panel p { margin: 0; color: var(--muted); }

.page-hero {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(3.25rem, 7vw, 5rem);
  background-image: linear-gradient(135deg, rgba(223,232,215,.94), rgba(251,247,237,.84)), url('../images/valley-background.png');
  background-position: center, right max(20px, calc((100vw - 1120px) / 2)) center;
  background-size: auto, clamp(460px, 48vw, 660px) auto;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.about-hero {
  background-position: center, right max(20px, calc((100vw - 1120px) / 2)) center;
  background-size: auto, clamp(560px, 58vw, 860px) auto;
}
.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 320px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.about-hero-copy h1 { max-width: 760px; }
.about-hero-photo-wrap {
  display: flex;
  justify-content: flex-end;
}
.about-hero-profile {
  width: min(100%, 290px);
}
.about-hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 7px solid rgba(255,253,248,.9);
  box-shadow: 0 22px 48px rgba(33,66,51,.18);
}
.about-hero-caption {
  margin-top: 1rem;
}
.about-hero-caption h2 {
  font-size: 1.1rem;
  margin-bottom: .45rem;
}
.about-hero-caption p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: #38483d;
}
.page-hero.compact h1 { font-size: clamp(1.58rem, 2.25vw, 2.25rem); line-height: 1.22; max-width: 720px; }
.page-hero p:not(.eyebrow) { max-width: 720px; font-size: clamp(.98rem, 1.3vw, 1.05rem); color: #38483d; }
.prose { background: rgba(255,253,248,.74); border: 1px solid var(--line); border-radius: 30px; padding: clamp(1.5rem, 4vw, 3rem); }
.about-prose-section {
  padding-top: clamp(2.25rem, 5vw, 4rem);
}
.prose-expanded {
  width: 100%;
  max-width: none;
}
.prose h2 { margin-top: 1.65rem; font-size: 1.32rem; line-height: 1.25; letter-spacing: -.018em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.05rem; color: #38483d; }
.prose blockquote { margin: 2rem 0 0; padding: 1.2rem 1.4rem; border-left: 5px solid var(--wheat); background: var(--sage-2); border-radius: 0 18px 18px 0; font-family: var(--display); color: var(--pine); font-size: 1.25rem; }
.check-list { padding-left: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; margin: .8rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05rem; color: var(--pine); font-weight: 900; }
.side-card { padding: 1.4rem; }
.side-card h2 { font-size: 1.28rem; line-height: 1.25; }
.side-card img { border-radius: 50%; clip-path: circle(50% at 50% 50%); width: 160px; aspect-ratio: 1 / 1; object-fit: cover; background: transparent; margin-bottom: 1rem; box-shadow: 0 14px 40px rgba(33,66,51,.12); }
.profile-card { padding: 1.5rem; }
.profile-card-media {
  width: fit-content;
  margin-bottom: 1.2rem;
}
.profile-card-photo {
  width: min(100%, 230px);
  aspect-ratio: 1 / 1;
  border: 6px solid rgba(255, 253, 248, .92);
  box-shadow: 0 18px 42px rgba(33,66,51,.18);
  margin-bottom: 0;
}
.profile-card-logo-image {
  object-fit: cover;
  background: transparent;
}
.profile-card-logo { display: none !important; }
.sticky-note { position: sticky; top: 180px; background: linear-gradient(180deg, var(--paper), var(--sage-2)); }
.emergency-card { position: sticky; top: 180px; border-color: rgba(154,92,60,.28); background: #fff8f1; }
.emergency-card h2, .emergency-inline h2 { color: #7b3828; }

.notice-card { padding: clamp(1.3rem, 3vw, 2rem); }
.notice-card h2 { font-size: clamp(1.22rem, 1.8vw, 1.55rem); line-height: 1.25; }
.fee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fee-card { padding: 1.35rem; display: flex; flex-direction: column; min-height: 280px; }
.fee-card span { color: var(--clay); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.fee-card h2 { font-size: 1.18rem; line-height: 1.25; margin-top: .5rem; letter-spacing: -.018em; }
.fee-card p { color: #3b4a40; font-size: .98rem; }
.fee-card strong { margin-top: auto; font-size: 1.55rem; font-family: var(--display); color: var(--pine); }
.fee-card small { display: block; margin-top: .5rem; color: var(--muted); }
.fee-card.highlight { background: var(--pine); color: white; }
.fee-card.highlight h2, .fee-card.highlight strong { color: white; }
.fee-card.highlight p, .fee-card.highlight span { color: rgba(255,255,255,.82); }
.fee-card.urgent { border-color: rgba(154,92,60,.28); background: #fff8f1; }

.faq-list { display: grid; gap: .8rem; max-width: 900px; }
.faq-list details { padding: 0; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 1.15rem 1.35rem; color: var(--pine); font-weight: 900; font-size: 1.08rem; }
.faq-list details[open] summary { background: var(--sage-2); border-bottom: 1px solid var(--line); }
.faq-list p { padding: 0 1.35rem 1.25rem; margin: 1rem 0 0; }

.newsletter-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.newsletter-card { padding: clamp(1.4rem, 4vw, 2.3rem); position: relative; overflow: hidden; }
.newsletter-card::after { content: ""; position: absolute; right: -54px; top: -54px; width: 160px; height: 160px; border-radius: 50%; background: rgba(217,182,107,.18); }
.newsletter-card.pale { background: var(--sage-2); }
.newsletter-card.wide { grid-column: 1 / -1; }
.issue-label { display: inline-block; background: var(--pine); color: white; border-radius: 999px; padding: .28rem .7rem; font-weight: 900; margin-bottom: 1rem; }
.newsletter-card blockquote { margin: 0 0 1.2rem; font-family: var(--display); color: var(--pine); font-size: 1.18rem; }
.newsletter-card cite { font-size: .95rem; color: var(--muted); }
.mini-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 1rem; }
.contact-card { padding: 1.5rem; }
.contact-card.primary-contact { background: var(--pine); color: white; }
.contact-card.primary-contact h2, .contact-card.primary-contact a { color: white; }
.contact-card p { color: inherit; opacity: .85; }
.big-link { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 2rem); color: var(--pine); text-decoration: none; margin: .45rem 0; }
.location-card { padding: 1.6rem; }

.table-wrap { overflow-x: auto; }
.section-heading-row { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.2rem; }
.crisis-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(33,66,51,.08); }
.crisis-table th, .crisis-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.crisis-table thead th { background: var(--pine); color: white; }
.crisis-table tbody tr:nth-child(even) { background: var(--sage-2); }
.crisis-table tbody th { color: var(--pine); }

.printable-form { background: white; border-radius: 24px; padding: 2rem; border: 1px solid var(--line); max-width: 900px; }
.printable-form h1 { font-size: 2rem; letter-spacing: -.02em; }
.printable-form h2 { margin-top: 1.5rem; font-size: 1.35rem; }
.form-grid { display: grid; gap: 1rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.form-line, .choice-line { border-bottom: 1.5px solid #222; min-height: 42px; margin: .8rem 0; position: relative; }
.form-line span, .choice-line span { font-weight: 800; color: #222; }
.choice-line { display: flex; gap: 2rem; align-items: end; }
.long-answer { border: 1.5px solid #222; min-height: 220px; padding: .6rem; margin: .8rem 0 1.2rem; }
.long-answer span { font-weight: 800; }

.site-footer { background: var(--pine); color: rgba(255,255,255,.82); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr .9fr; gap: 1.5rem; padding: 3rem 0; }
.footer-grid h2, .footer-grid h3 { color: white; font-family: var(--display); }
.footer-grid h2 { font-size: 1.4rem; }
.footer-grid h3 { font-size: 1.05rem; margin-top: .6rem; }
.footer-grid a { color: white; }
.footer-mark { border-radius: 50%; clip-path: circle(50% at 50% 50%); aspect-ratio: 1 / 1; object-fit: cover; background: transparent; margin-bottom: .9rem; }
.footer-note { color: rgba(255,255,255,.72); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 1rem 0; color: rgba(255,255,255,.62); font-size: .9rem; }

.reveal { animation: rise .75s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .nav-inner { align-items: stretch; flex-direction: column; padding: .8rem 0 1rem; }
  .nav-link { border-radius: 14px; background: rgba(255,255,255,.55); }
  .hero { min-height: unset; }
  .hero-bg {
    background-image: linear-gradient(rgba(251,247,237,.96), rgba(251,247,237,.88)), url('../images/valley-background.png');
    background-position: center, center 24%;
    background-size: auto, min(620px, 125vw) auto;
    background-repeat: no-repeat;
  }
  .page-hero {
    background-position: center, center 24%;
    background-size: auto, min(560px, 118vw) auto;
  }
  .hero-grid, .intro-band, .split, .two-column, .prose-grid, .contact-grid, .about-hero-layout { grid-template-columns: 1fr; }
  .about-hero {
    background-position: center, center 24%;
    background-size: auto, min(620px, 122vw) auto;
  }
  .about-hero-photo-wrap { justify-content: flex-start; }
  .about-hero-profile {
    width: min(100%, 220px);
  }
  .section-copy, .sticky-note, .emergency-card { position: static; }
  .fee-grid, .newsletter-layout, .footer-grid { grid-template-columns: 1fr; }
  .newsletter-card.wide { grid-column: auto; }
  .cta-panel, .section-heading-row { align-items: stretch; flex-direction: column; }
  .brand img { width: 62px; height: 62px; }
  .brand em { font-size: .82rem; }
  .about-hero-photo { width: min(100%, 220px); }
  .profile-card-media { margin-inline: auto; }
  .profile-card-photo { width: min(100%, 210px); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-ribbon { font-size: .7rem; }
  .brand strong { font-size: 1.02rem; }
  .brand em { display: none; }
  .hero-grid { padding: 2.35rem 0 3.5rem; }
  .page-hero { padding: 2.25rem 0 3.25rem; }
  h1 { font-size: clamp(1.75rem, 9vw, 2.35rem); }
  .hero-copy h1 { font-size: clamp(1.58rem, 7.4vw, 2.05rem); }
  .page-hero.compact h1 { font-size: clamp(1.48rem, 6.6vw, 1.9rem); }
  .hero-card { padding: 1.35rem; }
  .form-grid.two, .form-grid.three, .mini-columns { grid-template-columns: 1fr; }
  .crisis-table th, .crisis-table td { padding: .68rem .7rem; }
}
@media print {
  body { background: white; color: #111; }
  body::before, .site-header, .site-footer, .print-hide { display: none !important; }
  .container { width: 100%; }
  .section { padding: 0; }
  .printable-form { border: 0; box-shadow: none; border-radius: 0; padding: 0; }
  .form-line, .choice-line { min-height: 34px; }
  a { color: #111; }
}
