/* ================================================================
   WCCS Theme — Main Stylesheet
   No build tools. No framework. Just clean CSS.
   ================================================================ */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
    /* Brand palette (2026-04-20 — sampled from logo)
       Usage: ~60% cream/paper neutrals, ~30% forest, ~10% accents.
       Royal = display emphasis, Lime = CTAs, Gold = urgency/events,
       Sky = illustrative/backgrounds only (never text). */

    /* Brand colors */
    --color-brand:       #003314;  /* forest — primary (was teal #014750) */
    --color-brand-deep:  #12119E;  /* royal */
    --color-brand-light: #9DC5FC;  /* sky — illustrative only */
    --color-cream:       #FDFFF1;
    --color-forest:      #003314;
    --color-forest-deep: #00260e;
    --color-paper:       #F5F7EE;

    /* Accents (legacy names kept for cascade; hex remapped to palette) */
    --color-blue:        #12119E;  /* routed to royal */
    --color-purple:      #00260e;  /* routed to forest-deep (was #692DDE) */
    --color-pink:        #FFC333;  /* routed to gold (was #EB3DA0) */
    --color-gold:        #FFC333;
    --color-lime:        #C3F020;
    --color-lime-hover:  #a8d318;

    /* Neutrals */
    --color-text:        #2B2B2B;  /* ink — darker for contrast (was #4a4a4a) */
    --color-text-light:  #5a5a5a;
    --color-white:       #ffffff;
    --color-border:      #e2e2e2;

    /* Typography */
    --font-body:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-title: 'Lora', Georgia, 'Times New Roman', serif;

    /* Sizing */
    --container-max:  1320px;
    --container-pad:  clamp(1rem, 4vw, 2.5rem);
    --section-pad:    clamp(3rem, 6vw, 6rem);
    --radius:         0.75rem;
    --radius-lg:      2.5rem;

    /* Header */
    --header-height:  80px;

    /* Transitions */
    --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration:       0.3s;
}


/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.site-main {
    flex: 1;
    padding-top: var(--header-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
    transition: color var(--duration) var(--ease);
}

a:hover { color: var(--color-brand-deep); }

h1, .h1, h2, .h2, h3, .h3, h5, .h5, h6, .h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 0.5em;
}

h4, .h4 {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-brand-deep);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 0.8125rem; }

h1 em, h2 em, h3 em,
.eyebrow-parent em {
    font-style: italic;
    font-weight: 700;
    color: var(--color-brand-deep);
}

/* Editorial "eyebrow" above section titles — royal, uppercase, letter-spaced,
   with a short gold rule underneath. Creates paratext hierarchy. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-brand-deep);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: var(--color-gold);
    display: inline-block;
}

.eyebrow--on-dark {
    color: var(--color-cream);
}
.eyebrow--on-dark::before {
    background: var(--color-lime);
}

.eyebrow--centered {
    margin-left: auto;
    margin-right: auto;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


/* ── Utilities ─────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.section-title + .section-title__sub,
.section-eyebrow-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow-wrap .section-title {
    margin-bottom: 0;
}

/* Gentle paper grain overlay — warms the cream palette, prevents flat "AI" look */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.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;
}

.btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: var(--color-lime);
    border: none;
    border-radius: 9px;
    color: var(--color-brand);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--duration) var(--ease), transform 0.15s var(--ease);
}

.btn:hover, .btn:focus {
    background-color: var(--color-lime-hover);
    color: var(--color-brand);
    transform: translateY(-1px);
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.skip-link:focus {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    position: fixed !important;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100000;
    background: var(--color-cream);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-weight: 600;
}


/* ── Header ────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 1px 0 var(--color-border);
    transition: box-shadow var(--duration) var(--ease);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    width: 150px;
    height: auto;
    transition: width var(--duration) var(--ease);
}

.site-header.scrolled .site-logo img {
    width: 110px;
}

/* Desktop Nav */
.main-nav {
    display: none;
}

@media (min-width: 1091px) {
    .main-nav { display: block; }
    .menu-toggle { display: none !important; }
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
}

.nav-list li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 1.625rem 1.125rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-brand);
    text-decoration: none;
    transition: color var(--duration) var(--ease), background-color var(--duration) var(--ease);
}

.nav-list > li:hover > a,
.nav-list > li:focus-within > a {
    color: var(--color-lime);
    background-color: var(--color-brand);
}

.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a,
.nav-list > li.current_page_item > a,
.nav-list > li.current_page_parent > a {
    color: var(--color-lime);
    background-color: var(--color-brand);
}

/* Donate button in nav */
.nav-list > li.donate {
    margin-left: 0.75rem;
    padding: 0;
}

.nav-list > li.donate > a {
    padding: 0.5rem 1.75rem;
    background: var(--color-lime);
    color: var(--color-brand);
    border-radius: 9px;
    font-weight: 600;
}

.nav-list > li.donate:hover > a {
    background: var(--color-lime-hover);
    color: var(--color-brand);
}

/* Dropdowns */
.nav-list ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--color-brand);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    list-style: none;
    padding: 0.5rem 0;
}

.nav-list li:hover > ul.sub-menu,
.nav-list li:focus-within > ul.sub-menu {
    display: block;
}

.nav-list ul.sub-menu li a {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--duration) var(--ease);
}

.nav-list ul.sub-menu li a:hover,
.nav-list ul.sub-menu li a:focus {
    color: var(--color-lime);
}

.nav-list ul.sub-menu li.current-menu-item > a,
.nav-list ul.sub-menu li.current_page_item > a {
    color: var(--color-lime);
}

/* Nested dropdowns */
.nav-list ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    border-radius: 0 var(--radius) var(--radius) 0;
}


/* ── Mobile Menu Toggle ────────────────────────────────────────── */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

@media (min-width: 1091px) {
    .menu-toggle { display: none; }
}

.menu-toggle__line {
    display: block;
    height: 2px;
    background: var(--color-brand);
    border-radius: 2px;
    transition: transform var(--duration) var(--ease), width var(--duration) var(--ease), opacity var(--duration) var(--ease);
    transform-origin: right center;
}

.menu-toggle__line:nth-child(1) { width: 100%; }
.menu-toggle__line:nth-child(2) { width: 75%; }
.menu-toggle__line:nth-child(3) { width: 50%; }

.menu-toggle.open .menu-toggle__line:nth-child(1) {
    width: 80%;
    transform: rotate(-45deg);
}
.menu-toggle.open .menu-toggle__line:nth-child(2) {
    width: 0;
    opacity: 0;
}
.menu-toggle.open .menu-toggle__line:nth-child(3) {
    width: 80%;
    transform: rotate(45deg);
}


/* ── Mobile Nav ────────────────────────────────────────────────── */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--color-brand);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

@media (min-width: 1091px) {
    .mobile-nav { display: none !important; }
}

.mobile-nav.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav__inner {
    padding: 2rem 0;
}

.mobile-nav__inner ul {
    list-style: none;
    padding: 0 1.5rem;
}

.mobile-nav__inner li {
    position: relative;
}

.mobile-nav__inner li a {
    display: block;
    padding: 0.875rem 0.75rem;
    color: var(--color-cream);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--duration) var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav__inner li a:hover,
.mobile-nav__inner li a:focus {
    color: var(--color-lime);
}

.mobile-nav__inner li.current_page_item > a,
.mobile-nav__inner li.current-menu-ancestor > a {
    color: var(--color-lime);
}

.mobile-nav__inner li.donate a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.625rem 2.5rem;
    background: var(--color-lime);
    color: var(--color-brand);
    border-radius: 9px;
    border-bottom: none;
}

.mobile-nav__inner ul.sub-menu {
    display: none;
    padding-left: 1.5rem;
}

.mobile-nav__inner ul.sub-menu a {
    font-weight: 400;
    font-size: 0.9375rem;
}

.menu-expand {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-cream);
    cursor: pointer;
    font-size: 1.25rem;
    transition: transform var(--duration) var(--ease);
}

.menu-expand.open {
    transform: rotate(180deg);
}


/* ── CTA Banner (Home) ─────────────────────────────────────────── */
.home-page .site-main {
    padding-top: 0;
}

.cta-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform var(--duration) var(--ease);
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--color-purple);
    min-height: 56px;
}

.cta-banner__inner a {
    font-family: var(--font-title);
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--duration) var(--ease);
}

.cta-banner__inner a:hover {
    color: var(--color-lime);
}

.cta-banner__inner a svg {
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
}

.cta-banner__inner a:hover svg {
    transform: translateX(4px);
}

/* When CTA banner present, push header down */
body.has-cta-banner .site-header {
    top: 56px;
}

body.has-cta-banner .site-main {
    padding-top: calc(var(--header-height) + 56px);
}

body.has-cta-banner .mobile-nav {
    top: calc(var(--header-height) + 56px);
}

body.has-cta-banner.cta-compact .cta-banner__inner {
    min-height: 40px;
    padding: 0.5rem 1rem;
}

body.has-cta-banner.cta-compact .site-header {
    top: 40px;
}


/* ── Hero (Option A: forest mission panel + photo + event card) ── */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--color-forest);
    align-items: stretch;
}

@media (max-width: 767px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.hero__text {
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem);
    color: var(--color-cream);
    background: var(--color-forest);
}

.hero__content {
    max-width: 520px;
    width: 100%;
}

.hero__content h1 {
    font-family: var(--font-title);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--color-cream);
    margin-bottom: 1.25rem;
}

.hero__content h1 em {
    color: var(--color-lime);
    font-style: italic;
    font-weight: 700;
}

.hero__content > p {
    font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
    color: var(--color-cream);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 44ch;
    margin-bottom: 1.75rem;
}

.hero__content .eyebrow {
    color: var(--color-cream);
    opacity: 0.85;
}
.hero__content .eyebrow::before {
    background: var(--color-lime);
}

.donate-mobile-btn {
    display: none;
}

@media (max-width: 1090px) {
    .donate-mobile-btn {
        display: inline-block;
        position: fixed;
        top: var(--header-height);
        right: 0;
        z-index: 500;
        padding: 0.4rem 1.75rem 0.4rem 2rem;
        background: var(--color-lime);
        color: var(--color-forest);
        font-weight: 600;
        text-decoration: none;
        border-radius: 0 0 0 1rem;
    }
}

.hero__photo {
    position: relative;
    overflow: hidden;
    background: var(--color-forest-deep);
    aspect-ratio: 4 / 3;
    width: 100%;
}

.hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 38, 14, 0.35) 100%);
}

@media (max-width: 767px) {
    .hero__photo {
        aspect-ratio: 4 / 3;
    }
}


/* ── Event Card (inside hero) ──────────────────────────────────── */
.event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 480px;
    padding: 0.875rem 1rem;
    background: var(--color-cream);
    color: var(--color-forest);
    border-left: 4px solid var(--color-gold);
    border-radius: 0.625rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.event-card:hover,
.event-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.event-card__body {
    flex: 1;
    min-width: 0;
}

.event-card__badge {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-brand-deep);
    margin-bottom: 0.125rem;
}

.event-card__title {
    font-family: var(--font-title);
    font-style: italic;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-brand-deep);
    margin: 0;
    line-height: 1.2;
}

.event-card__meta {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin: 0.125rem 0 0;
}

.event-card__cta {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    background: var(--color-forest);
    color: var(--color-cream);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 0.375rem;
    white-space: nowrap;
    text-decoration: none;
    transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.event-card:hover .event-card__cta,
.event-card:focus-visible .event-card__cta {
    background: var(--color-forest-deep);
    transform: translateX(2px);
}

@media (max-width: 480px) {
    .event-card {
        flex-wrap: wrap;
    }
    .event-card__cta {
        margin-left: auto;
    }
}


/* ── Intro ─────────────────────────────────────────────────────── */
.intro {
    background: var(--color-brand);
    color: var(--color-cream);
    text-align: center;
    position: relative;
    padding-top: clamp(3rem, 5vw, 4.5rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.intro h2,
.intro h3,
.intro h4 {
    color: var(--color-cream);
}

.intro .eyebrow {
    color: var(--color-cream);
    opacity: 0.85;
    margin-left: auto;
    margin-right: auto;
}
.intro .eyebrow::before {
    background: var(--color-lime);
}

.intro h2 em {
    color: var(--color-lime);
    font-weight: 700;
}

.intro__content {
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.intro__content h2 {
    margin-bottom: 1.25rem;
}

.intro__content p {
    font-size: 1.0625rem;
    opacity: 0.92;
    line-height: 1.7;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.services-nav .nav-item a {
    display: inline-block;
    padding: 0.5rem 1.75rem;
    background: var(--color-lime);
    color: var(--color-brand);
    border-radius: 9px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--duration) var(--ease), transform 0.15s var(--ease);
}

.services-nav .nav-item a:hover {
    background: var(--color-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* ── Housing CTA ───────────────────────────────────────────────── */
.housing-cta {
    background: var(--color-forest-deep);
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .housing-cta { display: flex; }
}

.housing-cta__image {
    overflow: hidden;
}

.housing-cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .housing-cta__image { flex: 1; }
}

.housing-cta__copy {
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .housing-cta__copy {
        display: flex;
        align-items: center;
        flex: 0 0 50%;
    }
}

.housing-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.housing-cta__eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: var(--color-gold);
}

.housing-cta__copy h2 {
    color: var(--color-cream);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.housing-cta__copy h2 em {
    font-style: italic;
    color: var(--color-lime);
}

.housing-cta__copy p {
    color: var(--color-cream);
    opacity: 0.88;
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.housing-cta__copy p { max-width: 380px; }

.housing-cta__copy .btn:hover {
    color: var(--color-brand);
}

.housing-cta__bg {
    display: none;
}

@media (min-width: 1200px) {
    .housing-cta__bg {
        display: block;
        position: absolute;
        bottom: -3px;
        right: 0;
        height: 50%;
        width: auto;
        opacity: 0.15;
    }
}


/* ── Stats Evergreen ───────────────────────────────────────────── */
.stats-evergreen {
    padding-bottom: clamp(4rem, 10vw, 14rem);
    background: url('../images/bg-evergreen.svg?v=2') right bottom -2px no-repeat;
    background-size: 100%;
}

@media (max-width: 1090px) {
    .stats-evergreen {
        background-image: none;
        padding-bottom: var(--section-pad);
    }
}

.stat-row {
    display: flex;
    gap: 2rem;
    margin: 0 auto 2rem;
    max-width: 1100px;
}

.stat-row:nth-child(even) { flex-direction: row-reverse; }

@media (max-width: 767px) {
    .stat-row,
    .stat-row:nth-child(even) {
        flex-direction: column-reverse;
    }
}

.stat-row__info {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.stat-row__header {
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    text-align: center;
    position: relative;
}

.stat-row__header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: inherit;
    border-top-left-radius: 2px;
}

@media (max-width: 767px) {
    .stat-row__header { border-radius: 0; }
    .stat-row__header::after { display: none; }
}

.stat-row__header h3 {
    margin-bottom: 0;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    line-height: 1.3;
}

.stat-row__body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 1px solid;
    border-top: none;
    background: var(--color-cream);
}

@media (max-width: 767px) {
    .stat-row__body { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

.stat-item {
    max-width: 170px;
    padding: 1rem;
    text-align: center;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--color-border);
}

@media (max-width: 767px) {
    .stat-item + .stat-item { border-left: none; }
}

.stat-item svg {
    height: 3rem;
    margin: 0 auto 0.5rem;
}

.stat-item__number {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-item__label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.stat-row__image {
    flex: 1 0 auto;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    min-height: 300px;
}

@media (max-width: 767px) {
    .stat-row__image {
        width: 100%;
        aspect-ratio: 1;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}

/* Stat section color coding — all palette accents (royal / gold / forest) */
.stat-row--seniors .stat-row__header     { background: var(--color-brand-deep); }
.stat-row--seniors .stat-row__body       { border-color: var(--color-brand-deep); }
.stat-row--seniors .stat-item__number    { color: var(--color-brand-deep); }
.stat-row--seniors .stat-item svg .cls-1 { fill: var(--color-brand-deep); }

.stat-row--youth .stat-row__header         { background: var(--color-gold); }
.stat-row--youth .stat-row__header h3      { color: var(--color-forest); }
.stat-row--youth .stat-row__body           { border-color: var(--color-gold); }
.stat-row--youth .stat-item__number        { color: var(--color-forest); }
.stat-row--youth .stat-item svg .cls-1     { fill: var(--color-forest); }

.stat-row--counseling .stat-row__header     { background: var(--color-forest); }
.stat-row--counseling .stat-row__body       { border-color: var(--color-forest); }
.stat-row--counseling .stat-item__number    { color: var(--color-forest); }
.stat-row--counseling .stat-item svg .cls-1 { fill: var(--color-forest); }

.stat-row--housing .stat-row__header     { background: var(--color-forest-deep); }
.stat-row--housing .stat-row__body       { border-color: var(--color-forest-deep); }
.stat-row--housing .stat-item__number    { color: var(--color-forest-deep); }
.stat-row--housing .stat-item svg .cls-1 { fill: var(--color-forest-deep); }

.stat-row--employment .stat-row__header     { background: var(--color-brand-deep); }
.stat-row--employment .stat-row__body       { border-color: var(--color-brand-deep); }
.stat-row--employment .stat-item__number    { color: var(--color-brand-deep); }
.stat-row--employment .stat-item svg .cls-1 { fill: var(--color-brand-deep); }


/* ── Stats Highlighted (seasonal / crisis callout) ─────────────── */
.stats-highlighted {
    background: var(--color-brand-deep);
    color: var(--color-cream);
    position: relative;
    padding-top: clamp(4rem, 7vw, 7rem);
    padding-bottom: clamp(4rem, 7vw, 7rem);
    overflow: hidden;
}

/* Gold top rule that reads as "editorial moment" */
.stats-highlighted::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 2px;
    background: var(--color-gold);
}

.stats-highlighted h2 {
    color: var(--color-cream);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.stats-highlighted h2 em {
    font-style: italic;
    color: var(--color-lime);
}

.stats-highlighted__header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto 3.5rem;
}

@media (max-width: 767px) {
    .stats-highlighted__header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .stats-highlighted__header .eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
}

.stats-highlighted__icon {
    flex-shrink: 0;
    padding-top: 0.5rem;
}

.stats-highlighted__icon svg {
    width: 5rem;
    height: auto;
    display: block;
    margin: 0;
}

.stats-highlighted__icon svg .cls-1 {
    fill: var(--color-lime);
}

.stats-highlighted__heading {
    max-width: 62ch;
}

.stats-highlighted__heading .eyebrow {
    margin-bottom: 0.75rem;
}

.stats-highlighted__intro {
    font-size: 1.0625rem;
    line-height: 1.65;
    opacity: 0.9;
    max-width: 58ch;
    margin-top: 1rem;
}

.stats-highlighted__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stats-highlighted__stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 1.25rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(253, 255, 241, 0.2);
}

.stats-highlighted__number {
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2.25rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--color-lime);
    line-height: 1;
    min-width: 0;
}

.stats-highlighted__label {
    font-size: 0.9375rem;
    line-height: 1.5;
    opacity: 0.88;
}


/* ── Partner Logos ──────────────────────────────────────────────── */
.partner-logos {
    background: var(--color-paper);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.partner-logos .section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 2.5rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px)  { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1091px) { .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.logo-grid__item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    min-height: 110px;
}

.logo-grid__item img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: filter var(--duration) var(--ease);
}

.logo-grid__item:hover img {
    filter: grayscale(0) opacity(1);
}


/* ── Newsletter ────────────────────────────────────────────────── */
.newsletter {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.newsletter h2 {
    margin-bottom: 1.5rem;
}

.newsletter__form {
    max-width: 700px;
}

.newsletter .gform_required_legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.newsletter .gf_simple_horizontal {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.newsletter .gf_simple_horizontal .gform_body {
    flex: 1;
}

.newsletter input[type="text"],
.newsletter input[type="email"] {
    width: 100%;
    border: 1px solid var(--color-brand);
    background: var(--color-cream);
    border-radius: 2rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.newsletter .gform_button {
    padding: 0.625rem 2rem;
    background: var(--color-lime);
    border: none;
    border-radius: 9px;
    color: var(--color-brand);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--duration) var(--ease);
}

.newsletter .gform_button:hover {
    background: var(--color-lime-hover);
}


/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-forest);
    color: var(--color-cream);
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    position: relative;
    border-top: 2px solid var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .footer-brand { flex-direction: column; align-items: flex-start; }
}

.footer-logo {
    width: 52px;
    height: auto;
    flex-shrink: 0;
}

.footer-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-cream);
    text-transform: none;
    margin-bottom: 0;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    word-break: break-all;
}

.footer-contact li svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-contact a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity var(--duration) var(--ease);
}

.footer-contact a:hover {
    color: var(--color-white);
    opacity: 0.8;
    text-decoration: underline;
}

.footer-aside {
    font-size: 0.9375rem;
    opacity: 0.85;
    line-height: 1.6;
}

.footer-aside a {
    color: var(--color-white);
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.8125rem;
    opacity: 0.6;
}

.footer-address p { margin-bottom: 0.25rem; }


/* ── Page Content ──────────────────────────────────────────────── */
.page-header {
    margin: 0 auto 2.5rem;
    max-width: 800px;
}

.page-header h1 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: var(--color-forest);
}

.entry-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.entry-meta time { margin-right: 0.75rem; }

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }

.entry-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li { margin-bottom: 0.5rem; }

.entry-content blockquote {
    border-left: 4px solid var(--color-blue);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--color-white);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}


/* ── Posts / Blog ──────────────────────────────────────────────── */
.post-card {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.post-card:last-child { border-bottom: none; }

.post-card__title {
    font-size: 1.375rem;
    margin-bottom: 0.25rem;
}

.post-card__title a {
    color: var(--color-brand);
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--color-blue);
}

.post-card__meta {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.post-card__excerpt {
    color: var(--color-text);
    line-height: 1.65;
}


/* ── Pagination ────────────────────────────────────────────────── */
.pagination {
    padding: 2rem 0;
}

.pagination ul {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-brand);
    text-decoration: none;
    transition: background var(--duration) var(--ease);
}

.pagination li a:hover {
    background: var(--color-white);
}

.pagination li span.current {
    background: var(--color-brand);
    color: var(--color-white);
}


/* ── WordPress Blocks / Gutenberg ──────────────────────────────── */
.wp-block-group.green {
    background: var(--color-brand);
    color: var(--color-cream);
    padding: 2rem var(--container-pad);
    margin-left: calc(var(--container-pad) * -1);
    margin-right: calc(var(--container-pad) * -1);
}

.wp-block-group.green * { color: var(--color-cream); }

.wp-block-group.white {
    background: var(--color-white);
    padding: 2rem var(--container-pad);
    margin-left: calc(var(--container-pad) * -1);
    margin-right: calc(var(--container-pad) * -1);
}


/* ── ACF Blocks ────────────────────────────────────────────────── */
.block-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: var(--section-pad) 0;
}

.block-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1,71,80,0.7) 0%, rgba(1,71,80,0.3) 100%);
}

.block-hero .container {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.block-hero h1 { color: var(--color-white); }
.block-hero .hero-subtitle { font-size: 1.25rem; opacity: 0.9; }

.block-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.block-stats__item { text-align: center; }

.block-stats__item svg {
    height: 3rem;
    margin: 0 auto 0.75rem;
}

.block-stats__number {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-brand);
}

.block-stats__label {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text-light);
}


/* ── Landing Page ──────────────────────────────────────────────── */
.russian-river-housing {
    padding-top: calc(var(--header-height) + 2rem);
}

.russian-river-housing h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
}

.russian-river-housing strong {
    color: var(--color-brand);
}

.russian-river-housing .landing-hero {
    margin-bottom: 2rem;
}

.russian-river-housing .landing-hero:nth-of-type(n+2) {
    display: none;
}

@media (min-width: 1200px) {
    .russian-river-housing .landing-hero {
        position: relative;
        display: flex;
        justify-content: flex-end;
        margin-left: calc(var(--container-pad) * -1);
        margin-right: calc(var(--container-pad) * -1);
        background: var(--color-brand);
    }

    .russian-river-housing .landing-hero__copy {
        position: absolute;
        left: 0;
        z-index: 1;
        width: 560px;
        padding: 7rem 6rem;
        background: var(--color-cream);
        border-radius: 0 0 3.75rem 0;
    }

    .russian-river-housing .landing-hero__banner {
        width: 73vw;
        max-width: 1412px;
    }
}


/* ── Sidebar widgets (footer only; no in-page sidebar rendered) ── */
.widget {
    margin-bottom: 2rem;
}

.widget h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}


/* ── Comments ──────────────────────────────────────────────────── */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.comment-respond {
    margin-top: 2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.comment-form textarea {
    max-width: 100%;
    min-height: 150px;
    resize: vertical;
}

.comment-form .form-submit input {
    padding: 0.5rem 2rem;
    background: var(--color-lime);
    border: none;
    border-radius: 9px;
    color: var(--color-brand);
    font-weight: 600;
    cursor: pointer;
}


/* ── Forms (Gravity Forms baseline) ────────────────────────────── */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper textarea,
.gform_wrapper select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    width: 100%;
}

.gform_wrapper .gform_button {
    padding: 0.625rem 2rem;
    background: var(--color-lime);
    border: none;
    border-radius: 9px;
    color: var(--color-brand);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
}

.gform_wrapper .gform_button:hover {
    background: var(--color-lime-hover);
}


/* ── Print ─────────────────────────────────────────────────────── */
@media print {
    .site-header,
    .site-footer,
    .cta-banner,
    .menu-toggle,
    .mobile-nav,
    .donate-mobile-btn { display: none !important; }

    .site-main { padding-top: 0 !important; }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}
