/* ===================================================
   Speech Spark — core styles
=================================================== */

:root {
    --cream: #fef4d9;
    --cream-soft: #fbedca;
    --cream-line: #ece0c2;
    --ink: #1a1712;
    --ink-soft: #4b463d;
    --ink-faint: #6f695e;
    --navy: #1b3a57;
    --navy-deep: #10283b;
    --ember: #c47a2c;
    --white: #ffffff;
    --paper: #fffdf8;
    --shadow: 0 18px 40px rgba(26, 23, 18, 0.10);
    --shadow-soft: 0 10px 30px rgba(26, 23, 18, 0.07);
    --radius: 4px;
    --serif: "Satoshi", "General Sans", system-ui, -apple-system, sans-serif;
    --sans: "General Sans", "Satoshi", system-ui, -apple-system, sans-serif;
    --wrap: min(90%, 1240px);
    --wrap-wide: min(92%, 1400px);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* form controls inherit the bolder base weight too */
input, select, textarea, button {
    font-weight: 500;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--ink);
}


:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.wrapper {
    width: var(--wrap);
    margin: 0 auto;
}

.wrapper.wide {
    width: var(--wrap-wide);
}

section {
    padding: 104px 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    z-index: 2000;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* ---------- shared type helpers ---------- */

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 26px;
    font-family: var(--sans);
}

.eyebrow.on-dark {
    color: var(--ember);
}

.section-head {
    max-width: 720px;
    margin-bottom: 70px;
}

.section-head h2 {
    font-size: clamp(2.6rem, 4.2vw, 3.9rem);
    margin-bottom: 22px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 1.12rem;
    max-width: 620px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.center p {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- buttons ---------- */

.primary-button,
.secondary-button,
.nav-button {
    display: inline-block;
    padding: 15px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.primary-button {
    background: var(--navy);
    color: #fff;
}

.primary-button:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.secondary-button:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

.text-link {
    font-weight: 600;
    color: var(--navy);
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease;
}

.text-link:hover {
    border-color: var(--navy);
}

.text-link::after {
    content: " \2192";
}

/* ==========================
   NAVIGATION
========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 244, 217, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26, 23, 18, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar .wrapper {
    width: var(--wrap-wide);
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

.navbar.scrolled .logo img {
    height: 46px;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--navy);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-button {
    /* border: 1px solid var(--navy); */
    color: var(--navy);
    padding: 11px 24px;
}

.nav-button:hover {
    background: var(--navy);
    color: #fff;
}

/* the pill button shouldn't get the underline bar the text links use */
.nav-links a.nav-button::after {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span {
    top: 21px;
}

.nav-toggle span::before {
    top: -7px;
}

.nav-toggle span::after {
    top: 7px;
}

.nav-toggle.open span {
    background: transparent;
}

.nav-toggle.open span::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span::after {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar.scrolled {
    background: var(--cream);
    box-shadow: 0 6px 26px rgba(26, 23, 18, 0.08);
}

.navbar.scrolled .wrapper {
    height: 72px;
}

/* ==========================
   HERO
========================== */

.hero {
    width: var(--wrap-wide);
    margin: 0 auto;
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    max-width: 640px;
}

.hero h1 {
    font-size: clamp(3.2rem, 5.6vw, 5.4rem);
    line-height: 0.98;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 54px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stats .stat strong {
    display: block;
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

.hero-stats .stat span {
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
}

.hero-right {
    position: relative;
    height: 640px;
}

.hero-right .hero-photo-main {
    position: absolute;
    inset: 0 40px 60px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-right .hero-photo-main img {
    height: 100%;
    object-fit: cover;
}

.hero-right .hero-photo-sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 210px;
    height: 250px;
    border: 10px solid var(--cream);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--cream);
}

.hero-right .hero-photo-sub img {
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    top: 26px;
    left: -18px;
    background: var(--white);
    padding: 14px 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-badge .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ember);
}

/* ==========================
   STATEMENT BAND
========================== */

.statement {
    background: var(--navy);
    color: #fff;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.statement .wrapper {
    position: relative;
    z-index: 1;
}

.statement p {
    max-width: 980px;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    line-height: 1.05;
    color: #fff;
}

.statement .accent {
    color: var(--ember);
    font-style: italic;
}

/* ==========================
   MISSION
========================== */

.mission {
    background: var(--paper);
}

.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.mission-images {
    position: relative;
    height: 600px;
}

.mission-main-image {
    width: 84%;
    height: 520px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mission-main-image img {
    height: 100%;
    object-fit: cover;
}

.mission-small-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    border: 12px solid var(--paper);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mission-small-image img {
    height: 250px;
    object-fit: cover;
}

.mission-content {
    max-width: 540px;
}

.mission-content h2 {
    font-size: clamp(2.4rem, 3.8vw, 3.6rem);
    margin-bottom: 28px;
}

.mission-content p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin-bottom: 22px;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin: 34px 0;
}

.mission-values .value h4 {
    font-family: var(--sans);
    font-size: 1rem;
    margin-bottom: 6px;
}

.mission-values .value p {
    font-size: 0.96rem;
    margin: 0;
    color: var(--ink-faint);
}

.mission-values .value {
    padding-left: 18px;
    border-left: 2px solid var(--cream-line);
}

/* ==========================
   PROGRAMS
========================== */

.programs {
    background: var(--cream);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.program-card {
    background: var(--paper);
    border: 1px solid var(--cream-line);
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.program-card .icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
    margin-bottom: 26px;
    color: var(--navy);
}

.program-card .icon svg {
    width: 26px;
    height: 26px;
}

.program-card h3 {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.program-card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.program-card .tag {
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy);
}

/* ==========================
   RESOURCE / CURRICULUM CARDS
========================== */

.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.resource-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: var(--paper);
    border: 1px solid var(--cream-line);
    padding: 32px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.resource-card .doc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 8px;
    color: var(--navy);
}

.resource-card .doc-icon svg {
    width: 26px;
    height: 26px;
}

.resource-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.resource-card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    margin-bottom: 18px;
}

.resource-card .tag {
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-faint);
    display: block;
    margin-bottom: 14px;
}

/* one-on-one coaching highlight */
.coaching {
    background: var(--cream);
}

.coaching-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    align-items: stretch;
    box-shadow: var(--shadow);
}

.coaching-media {
    overflow: hidden;
}

.coaching-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coaching-body {
    background: var(--navy);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coaching-body h2 {
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 20px;
}

.coaching-body p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.coaching-body .price-flag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ember);
    margin-bottom: 20px;
}

.coaching-body .primary-button {
    background: var(--ember);
    align-self: flex-start;
    margin-top: 8px;
}

.coaching-body .primary-button:hover {
    background: #a9621f;
}

/* ==========================
   PHOTO BREAK (parallax strip)
========================== */

.photo-break {
    padding: 0;
    height: 62vh;
    min-height: 420px;
    background-image: linear-gradient(rgba(16, 40, 59, 0.55), rgba(16, 40, 59, 0.55)), url("../assets/photos/group-speaking-activity.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.photo-break .quote {
    max-width: 860px;
    color: #fff;
}

.photo-break .quote p {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.photo-break .quote span {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cream);
}

/* ==========================
   CAMPS (experience timeline)
========================== */

.camps {
    background: var(--paper);
}

.camps-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 80px;
}

.camps-intro .lead h2 {
    font-size: clamp(2.6rem, 4.2vw, 3.9rem);
    margin-bottom: 22px;
}

.camps-intro .lead p {
    color: var(--ink-soft);
    font-size: 1.12rem;
}

.camps-intro .camp-photo {
    height: 320px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.camps-intro .camp-photo img {
    height: 100%;
    object-fit: cover;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 70px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: var(--cream-line);
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    padding: 26px 0;
}

.timeline-step .num {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ember);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.timeline-step h4 {
    font-family: var(--sans);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-step p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* card variant — bordered activity boxes (camps page) */
.timeline.cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.timeline.cards::before {
    display: none;
}

.timeline.cards .timeline-step {
    padding: 30px 28px;
    background: var(--paper);
    border: 1px solid var(--cream-line);
    border-radius: 4px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.timeline.cards .timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.timeline.cards .timeline-step .num {
    font-size: 1.3rem;
}

.camps-cta {
    margin-top: 70px;
    background: var(--navy);
    color: #fff;
    padding: 54px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.camps-cta h3 {
    color: #fff;
    font-size: 2.1rem;
    max-width: 560px;
}

.camps-cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
}

.camps-cta .primary-button {
    background: var(--ember);
}

.camps-cta .primary-button:hover {
    background: #a9621f;
}

/* ==========================
   IMPACT
========================== */

.impact {
    background: var(--cream);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.impact-stat {
    text-align: center;
    padding: 20px 10px;
}

.impact-stat .num {
    font-family: var(--serif);
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

.impact-stat .label {
    margin-top: 12px;
    font-size: 0.86rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-faint);
}

.impact-note {
    text-align: center;
    color: var(--ink-faint);
    font-size: 0.9rem;
    max-width: 640px;
    margin: 0 auto;
}

/* ==========================
   GALLERY (magazine)
========================== */

.gallery {
    background: var(--paper);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 210px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--cream);
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 22px 18px;
    background: linear-gradient(transparent, rgba(16, 40, 59, 0.82));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-big  { grid-column: span 2; grid-row: span 2; }

/* lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(16, 14, 11, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox figure {
    max-width: 86vw;
    max-height: 86vh;
}

.lightbox img {
    max-width: 86vw;
    max-height: 78vh;
    width: auto;
    object-fit: contain;
}

.lightbox figcaption {
    color: #fff;
    text-align: center;
    margin-top: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
    position: absolute;
    color: #fff;
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.lightbox .lb-close { top: 24px; right: 30px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* ==========================
   CHAPTERS
========================== */

.chapters {
    background: var(--cream);
}

.chapters-map-wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 70px;
}

.map-panel {
    background: var(--paper);
    border: 1px solid var(--cream-line);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.us-map {
    width: 100%;
    height: auto;
    display: block;
    cursor: grab;
    touch-action: none;
}

.us-map.grabbing {
    cursor: grabbing;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.map-controls button {
    width: 38px;
    height: 38px;
    background: var(--paper);
    border: 1px solid var(--cream-line);
    font-size: 1.2rem;
    line-height: 1;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: background 0.2s ease, transform 0.2s ease;
}

.map-controls button:hover {
    background: var(--cream);
    transform: translateY(-1px);
}

.us-states path {
    fill: #f0e6cd;
    stroke: #ffffff;
    stroke-width: 1;
    transition: fill 0.3s ease;
}

.us-states path:hover {
    fill: #e7d6ab;
}

.us-subs path {
    fill: none;
    stroke: #cbb079;
    stroke-width: 0.7;
    opacity: 0.75;
    pointer-events: none;
}

.map-marker {
    cursor: pointer;
}

.map-marker circle.pin {
    fill: var(--navy);
    stroke: #fff;
    stroke-width: 2;
    transition: fill 0.2s ease;
}

.map-marker:hover circle.pin,
.map-marker.selected circle.pin {
    fill: var(--ember);
    stroke-width: 3;
}


.map-legend {
    position: absolute;
    left: 30px;
    bottom: 24px;
    font-size: 0.8rem;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy);
}

.chapter-detail {
    background: var(--navy);
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chapter-detail .cd-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.chapter-detail .cd-logo {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.chapter-detail h3 {
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: 4px;
}

.chapter-detail .cd-loc {
    color: var(--ember);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.chapter-detail .cd-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    margin-bottom: 24px;
}

.chapter-detail .cd-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 18px;
    display: grid;
    gap: 12px;
}

.chapter-detail .cd-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.95rem;
}

.chapter-detail .cd-row > span {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}

.chapter-detail .cd-row a {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    width: fit-content;
}

.chapter-detail .cd-flag {
    font-size: 0.72rem;
    color: var(--ember);
    letter-spacing: 0.5px;
    font-weight: 700;
}

.chapter-detail .cd-hint {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* directory */

.directory-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    align-items: center;
}

.directory-search {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.directory-search input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid var(--cream-line);
    background: var(--paper);
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
}

.directory-search svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--ink-faint);
}

.sort-group {
    display: inline-flex;
    border: 1px solid var(--cream-line);
    background: var(--paper);
    overflow: hidden;
    flex-shrink: 0;
}

.sort-group button {
    padding: 13px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-faint);
    border-right: 1px solid var(--cream-line);
    transition: background 0.2s ease, color 0.2s ease;
}

.sort-group button:last-child {
    border-right: none;
}

.sort-group button:hover {
    background: var(--cream);
    color: var(--ink);
}

.sort-group button.active {
    background: var(--navy);
    color: #fff;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chips button {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--cream-line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: var(--paper);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chips button:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.filter-chips button.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.directory-count {
    font-size: 0.88rem;
    color: var(--ink-faint);
    margin-left: auto;
    white-space: nowrap;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.directory-card {
    background: var(--paper);
    border: 1px solid var(--cream-line);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.directory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.directory-card .dc-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.directory-card h4 {
    font-family: var(--sans);
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.directory-card .dc-loc {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.directory-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--ink-faint);
}

/* ==========================
   VOLUNTEER
========================== */

.volunteer {
    background: var(--paper);
}

.volunteer-container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.volunteer-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 16px;
}

.volunteer-photos .vp {
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.volunteer-photos .vp img {
    height: 100%;
    object-fit: cover;
}

.volunteer-photos .vp.tall {
    grid-row: span 2;
}

.volunteer-content h2 {
    font-size: clamp(2.4rem, 3.8vw, 3.6rem);
    margin-bottom: 22px;
}

.volunteer-content p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    margin-bottom: 26px;
}

.volunteer-list {
    margin-bottom: 30px;
}

.volunteer-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-line);
}

.volunteer-list li svg {
    width: 22px;
    height: 22px;
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 3px;
}

.volunteer-list li strong {
    display: block;
    font-size: 1rem;
}

.volunteer-list li span {
    font-size: 0.94rem;
    color: var(--ink-faint);
}

/* ==========================
   FAQ
========================== */

.faq {
    background: var(--cream);
}

.faq-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--cream-line);
}

.faq-item {
    border-bottom: 1px solid var(--cream-line);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 26px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink);
}

.faq-question .plus {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-question .plus::before,
.faq-question .plus::after {
    content: "";
    position: absolute;
    background: var(--navy);
    transition: transform 0.3s ease;
}

.faq-question .plus::before {
    left: 0;
    top: 8px;
    width: 18px;
    height: 2px;
}

.faq-question .plus::after {
    left: 8px;
    top: 0;
    width: 2px;
    height: 18px;
}

.faq-item.open .plus::after {
    transform: scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 0 26px;
    color: var(--ink-soft);
    max-width: 620px;
}

/* ==========================
   CTA
========================== */

.cta {
    background: var(--navy);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta .wrapper {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: #fff;
    font-size: clamp(2.6rem, 4.4vw, 4.2rem);
    max-width: 820px;
    margin: 0 auto 24px;
}

.cta p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta .hero-buttons {
    justify-content: center;
}

.cta .primary-button {
    background: var(--ember);
}

.cta .primary-button:hover {
    background: #a9621f;
}

/* donate live-stats note */
.hcb-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-faint);
    margin-top: 24px;
}

.hcb-note a {
    color: var(--navy);
    font-weight: 600;
    border-bottom: 1px solid var(--navy);
}

.donate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 12px;
}

/* subtle donate strip (homepage) */
.donate-strip {
    background: var(--cream);
}

.donate-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--navy);
    border-left: 4px solid var(--ember);
    padding: 40px 48px;
    border-radius: 0 4px 4px 0;
}

.donate-strip-inner .eyebrow {
    color: var(--ember);
}

.donate-strip-text {
    max-width: 640px;
}

.donate-strip-text h2 {
    color: #fff;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    margin-bottom: 10px;
}

.donate-strip-text p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.donate-strip .secondary-button {
    flex-shrink: 0;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.donate-strip .secondary-button:hover {
    background: #fff;
    color: var(--navy);
}

/* ---- donate give section ---- */
.give {
    background: var(--paper);
}

.give-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.give-tracker {
    background: var(--cream);
    border: 1px solid var(--cream-line);
    padding: 44px;
}

.give-tracker .raised-amt {
    font-family: var(--serif);
    font-size: clamp(3.4rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

.give-tracker .raised-cap {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-faint);
    margin-top: 8px;
}

.goal-bar {
    height: 16px;
    background: #eadfc2;
    border-radius: 999px;
    overflow: hidden;
    margin: 28px 0 12px;
}

.goal-fill {
    height: 100%;
    width: 0;
    background: var(--ember);
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-label {
    font-size: 0.98rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.give-tracker .hcb-note {
    text-align: left;
    margin-top: 22px;
}

.give-cta .eyebrow {
    color: var(--ember);
}

.give-cta h2 {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    margin-bottom: 20px;
}

.give-cta p {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin-bottom: 32px;
    max-width: 520px;
}

.donate-btn-lg {
    display: inline-block;
    background: var(--ember);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    padding: 22px 52px;
    box-shadow: 0 14px 30px rgba(196, 122, 44, 0.32);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.donate-btn-lg:hover {
    background: #a9621f;
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(196, 122, 44, 0.4);
}

.give-cta .give-sub {
    font-size: 0.95rem;
    color: var(--ink-faint);
    margin: 18px 0 0;
}

.give-cta .give-sub a {
    color: var(--navy);
    font-weight: 600;
    border-bottom: 1px solid var(--navy);
}

/* recent donations */
.recent-card {
    margin-top: 44px;
    background: var(--cream);
    border: 1px solid var(--cream-line);
    padding: 34px 40px;
}

.recent-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.recent-head h3 {
    font-size: 1.6rem;
}

.recent-list {
    display: flex;
    flex-direction: column;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-line);
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-item .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.recent-item .who {
    font-weight: 600;
    color: var(--ink);
}

.recent-item .when {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.recent-item .amount {
    margin-left: auto;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--navy);
    white-space: nowrap;
}

.recent-empty {
    padding: 22px 0 6px;
    color: var(--ink-faint);
}

.recent-empty a {
    color: var(--navy);
    font-weight: 600;
    border-bottom: 1px solid var(--navy);
}

/* sponsors */
.sponsors {
    background: var(--paper);
}

.sponsor-board {
    border: 2px dashed var(--cream-line);
    border-radius: 6px;
    padding: 54px 40px;
    text-align: center;
    background: var(--cream);
}

.sponsor-board p {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 26px;
}

.sponsor-board .donate-actions {
    margin-top: 0;
}

.sponsor-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-faint);
    margin-top: 22px;
}

.sponsor-note a {
    color: var(--navy);
    font-weight: 600;
    border-bottom: 1px solid var(--navy);
}

.cta .secondary-button {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.cta .secondary-button:hover {
    background: #fff;
    color: var(--navy);
}

/* ==========================
   FOOTER
========================== */

footer {
    background: #14110d;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
    width: 150px;
    margin-bottom: 22px;
    background: var(--cream);
    padding: 12px 16px;
    border-radius: 12px;
    box-sizing: content-box;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-donate {
    display: inline-block;
    margin-top: 20px;
    background: var(--ember);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: 3px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-donate:hover {
    background: #a9621f;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--sans);
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    padding: 7px 0;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover {
    background: var(--ember);
    border-color: var(--ember);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* ==========================
   PAGE HEADER (inner pages)
========================== */

.page-header {
    padding: 180px 0 90px;
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header .wrapper {
    position: relative;
    z-index: 1;
}

.page-header .wrapper > * {
    max-width: 640px;
}

.page-header .eyebrow {
    color: var(--ember);
}

.page-header h1 {
    color: #fff;
    font-size: clamp(3rem, 5.5vw, 5rem);
    max-width: 900px;
    margin-bottom: 20px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    font-size: 1.15rem;
}

.breadcrumb {
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 26px;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #fff;
}

/* prose blocks used on inner pages */

.prose-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.prose-split.reverse .prose-media {
    order: 2;
}

.prose-media {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.prose-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prose-text h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    margin-bottom: 22px;
}

.prose-text p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    margin-bottom: 20px;
}

/* contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.contact-info .contact-line {
    padding: 22px 0;
    border-bottom: 1px solid var(--cream-line);
}

.contact-info .contact-line span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-info .contact-line a,
.contact-info .contact-line strong {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-form {
    background: var(--paper);
    border: 1px solid var(--cream-line);
    padding: 40px;
}

.form-row {
    margin-bottom: 22px;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--cream-line);
    background: var(--cream);
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
}

.form-row textarea {
    min-height: 130px;
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin-top: 16px;
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-status:empty {
    display: none;
}

.form-status.sending {
    color: var(--ink-faint);
}

.form-status.ok {
    color: #1d7a4d;
}

.form-status.err {
    color: #b23b3b;
}
