:root {
    --butter: #F4D892;
    --moss: #C0B05B;
    --palm: #657652;
    --guava: #F2B6A3;
    --sunset: #E89C73;
    --sangria: #E36559;
    --sangria-deep: #AA392F;
    --sangria-ink: #102832;
    --seabreeze: #E5E9EB;
    --lagoon: #94BEBB;
    --odyssey: #23617E;
    --ink: #173C4D;
    --paper: #FBFCFA;
    --white: #FFFFFF;
    --muted: #60727A;
    --line: rgba(35, 97, 126, 0.17);
    --shadow-soft: 0 18px 48px rgba(23, 60, 77, 0.12);
    --shadow-card: 0 22px 55px rgba(23, 60, 77, 0.15);
    --radius-sm: 0.9rem;
    --radius-md: 1.6rem;
    --radius-lg: 2.6rem;
    --shell: min(1180px, calc(100% - 2rem));
    --font-display: 'Jost', 'Avenir Next', sans-serif;
    --font-body: 'Public Sans', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.04;
    letter-spacing: -0.035em;
}
h1 { font-size: clamp(3rem, 8.2vw, 6.8rem); }
h2 { font-size: clamp(2.35rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
p { margin-bottom: 1.3rem; }
h1, h2, h3, p, a { overflow-wrap: break-word; }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    transform: translateY(-150%);
    padding: 0.65rem 1rem;
    color: var(--white);
    background: var(--odyssey);
    border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 3px solid var(--sangria);
    outline-offset: 4px;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--odyssey);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}
.eyebrow-light { color: var(--butter); }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.65; }

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    padding: 1rem 0;
    color: var(--white);
    transition: padding 240ms ease, background 240ms ease, box-shadow 240ms ease, color 240ms ease;
}
.site-header.is-scrolled,
body:not(.page-home) .site-header {
    padding: 0.7rem 0;
    color: var(--ink);
    background: rgba(251, 252, 250, 0.88);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(23, 60, 77, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: inherit;
    text-decoration: none;
}
.brand-mark {
    position: relative;
    display: inline-flex;
    width: 2.15rem;
    height: 2.15rem;
}
.brand-mark i {
    position: absolute;
    width: 1.45rem;
    height: 1.45rem;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.brand-mark i:first-child { left: 0; top: 0.35rem; }
.brand-mark i:last-child { right: 0; top: 0.35rem; border-color: var(--sangria); }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.055em;
}
.brand-name span { color: var(--sangria); }

.nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 3rem;
    height: 3rem;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: inherit;
    background: rgba(255,255,255,0.1);
    border: 1px solid currentColor;
    border-radius: 50%;
    cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 6rem 2rem 2rem;
    color: var(--white);
    background: rgba(23, 60, 77, 0.97);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    overflow-y: auto;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
.site-nav ul { display: grid; gap: 0.4rem; padding: 0; margin: 0; list-style: none; text-align: center; }
.site-nav li { font-family: var(--font-display); font-size: clamp(1.75rem, 7vw, 2.65rem); font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav li a { display: block; padding: 0.35rem 0.65rem; }
.site-nav li a[aria-current="page"] { color: var(--butter); }

.no-js .site-header { position: static; color: var(--white); background: var(--odyssey); }
.no-js .header-inner { flex-wrap: wrap; gap: 0.8rem; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; flex: 1 0 100%; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem; padding: 0; color: inherit; background: transparent; visibility: visible; opacity: 1; transform: none; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.2rem; text-align: left; }
.no-js .site-nav li { font-size: 0.85rem; }
.no-js .site-nav li a { padding: 0.4rem; }
.no-js .nav-donate { color: var(--ink); background: var(--butter); }
.no-js body:not(.page-home) .site-header { color: var(--white); background: var(--odyssey); }

.button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.button svg, .text-link svg, .card-link svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-small { min-height: 2.8rem; padding-inline: 1.1rem; font-size: 0.87rem; }
.button-primary { color: var(--white); background: var(--odyssey); }
.button-butter { color: var(--ink); background: var(--butter); }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.05); }
.button-outline-dark { color: var(--odyssey); border-color: var(--odyssey); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--odyssey);
    font-weight: 700;
    text-underline-offset: 0.25rem;
}
.text-link-light { color: var(--white); }

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100svh;
    padding: 8.7rem 0 2rem;
    color: var(--white);
    background: var(--odyssey);
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 7rem;
    background: linear-gradient(to top, rgba(23,60,77,0.22), transparent);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 3rem; align-items: center; }
.hero-copy h1 { max-width: 11ch; margin-bottom: 1.4rem; text-wrap: balance; }
.hero-subtitle { max-width: 650px; margin-bottom: 2.2rem; color: rgba(255,255,255,0.79); font-size: clamp(1.08rem, 2vw, 1.25rem); }
.hero-visual { position: relative; min-height: 22rem; }
.hero-photo {
    width: 100%;
    height: clamp(22rem, 48vw, 39rem);
    object-fit: cover;
    border-radius: 9rem 9rem 1.4rem 1.4rem;
    box-shadow: var(--shadow-card);
}
.hero-placeholder {
    position: absolute;
    inset: 0.5rem 0 1rem;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 22rem;
    background: linear-gradient(155deg, rgba(148,190,187,0.8), rgba(101,118,82,0.56));
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9rem 9rem 1.4rem 1.4rem;
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; }
.orbit-one { width: 18rem; height: 18rem; }
.orbit-two { width: 27rem; height: 27rem; }
.orbit-core { position: relative; z-index: 2; font-family: var(--font-display); font-size: 4rem; font-weight: 700; letter-spacing: -0.08em; }
.orbit-core span { color: var(--butter); }
.hero-note {
    position: absolute;
    z-index: 3;
    right: -0.2rem;
    bottom: 0;
    display: grid;
    min-width: 12.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: var(--radius-sm);
}
.hero-note span { color: rgba(255,255,255,0.7); font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase; }
.hero-note strong { font-family: var(--font-display); font-size: 1.2rem; }
.glass-card { background: rgba(23,60,77,0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-footnote { position: relative; z-index: 3; display: flex; align-items: center; gap: 0.8rem; margin-top: 3rem; color: rgba(255,255,255,0.68); font-size: 0.78rem; letter-spacing: 0.04em; }
.hero-footnote p { margin: 0; }
.dot { width: 0.55rem; height: 0.55rem; flex: 0 0 auto; background: var(--butter); border-radius: 50%; box-shadow: 0 0 0 7px rgba(244,216,146,0.12); }
.hero-ripple { position: absolute; border: 1px solid rgba(255,255,255,0.11); border-radius: 50%; }
.hero-ripple-one { width: 34rem; height: 34rem; left: -19rem; bottom: -14rem; }
.hero-ripple-two { width: 48rem; height: 48rem; right: -32rem; top: 8rem; }

.section-intro { background: var(--butter); }
.intro-grid { display: grid; gap: 1.75rem; }
.intro-grid h2 { max-width: 12ch; margin-bottom: 0; }
.intro-copy { max-width: 650px; }

.collaboration-strip { padding: 1.4rem 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.collaboration-inner > p { margin-bottom: 0.9rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.collaboration-inner ul { display: flex; align-items: center; gap: 0; padding: 0; margin: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.collaboration-inner ul::-webkit-scrollbar { display: none; }
.collaboration-inner li { flex: 0 0 auto; padding: 0 1.2rem; color: #667178; filter: grayscale(1); font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.collaboration-inner li:first-child { padding-left: 0; }
.collaboration-inner li + li { border-left: 1px solid var(--line); }

.section-programs { background: var(--paper); }
.section-heading { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2 { max-width: 12ch; margin-bottom: 0; }
.section-heading > p { max-width: 560px; margin-bottom: 0; color: var(--muted); }
.program-grid { display: grid; gap: 1rem; }
.program-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 26rem;
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(23,60,77,0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.program-lagoon { background: #D9EAE8; }
.program-butter { background: #FAEDC9; }
.program-guava { background: #FADED5; }
.program-sangria { color: var(--sangria-ink); background: var(--sangria); }
.program-icon {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    place-items: center;
    margin-bottom: auto;
    color: currentColor;
    background: rgba(255,255,255,0.52);
    border-radius: 50%;
}
.program-icon svg { width: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.card-kicker { margin: 2.5rem 0 0.7rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.program-card h3 { margin-bottom: 1rem; }
.program-card > p:not(.card-kicker) { font-size: 0.95rem; line-height: 1.6; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid currentColor; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.card-link span { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; }

.section-story-band { padding-top: 0; background: var(--paper); }
.story-band { padding: clamp(2rem, 6vw, 5rem); color: var(--white); background: var(--palm); border-radius: var(--radius-lg); }
.story-number { display: flex; align-items: center; gap: 0.8rem; color: var(--butter); font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em; }
.story-number span { display: inline-block; width: 3rem; height: 1px; background: currentColor; }
.story-band blockquote { max-width: 950px; margin: 2.2rem 0; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; }
.story-signoff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,0.72); }

.section-process { background: var(--seabreeze); }
.principle-grid { display: grid; gap: 1rem; }
.principle { padding: 2rem 0; border-top: 1px solid rgba(35,97,126,0.3); }
.principle > span { display: inline-grid; width: 2.5rem; height: 2.5rem; place-items: center; margin-bottom: 3.5rem; color: var(--odyssey); border: 1px solid currentColor; border-radius: 50%; font-size: 0.75rem; font-weight: 700; }
.principle h3 { margin-bottom: 0.8rem; }
.principle p { margin-bottom: 0; color: var(--muted); }

.section-metrics { background: var(--paper); }
.metrics-panel { display: grid; gap: 3rem; padding: clamp(2rem, 6vw, 5rem); color: var(--white); background: var(--odyssey); border-radius: var(--radius-lg); }
.metrics-copy h2 { max-width: 10ch; }
.metrics-copy > p:last-child { max-width: 560px; color: rgba(255,255,255,0.68); }
.metrics-grid { display: grid; gap: 1rem; }
.metric { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.2); }
.metric strong { display: block; color: var(--butter); font-family: var(--font-display); font-size: clamp(3.2rem, 8vw, 5rem); line-height: 1; }
.metric span { display: block; max-width: 15rem; margin-top: 0.6rem; color: rgba(255,255,255,0.78); }

.cta-section { background: var(--guava); }
.cta-panel { display: grid; gap: 2rem; align-items: end; }
.cta-panel h2 { max-width: 13ch; margin-bottom: 0; }
.cta-panel > div:last-child > p { max-width: 580px; }

.page-hero {
    padding: clamp(9.5rem, 16vw, 13rem) 0 clamp(4rem, 9vw, 8rem);
    background: var(--butter);
}
.page-hero-grid { display: grid; gap: 2rem; align-items: end; }
.page-hero h1 { max-width: 12ch; margin-bottom: 0; font-size: clamp(3.2rem, 8vw, 6.7rem); }
.page-intro { max-width: 650px; margin-bottom: 0; font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.narrative-section { background: var(--paper); }
.narrative-list { display: grid; }
.narrative-item { display: grid; gap: 1.5rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.narrative-index { color: var(--sangria-deep); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; }
.narrative-item h2 { max-width: 13ch; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.narrative-item > p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }
.error-page { min-height: 80svh; display: grid; align-items: center; }

.page-hero-media { padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-hero-blue { color: var(--white); background: var(--odyssey); }
.page-media-grid { display: grid; gap: 3rem; align-items: end; }
.page-media-grid h1 { max-width: 11ch; }
.page-media-grid .page-intro { margin-top: 1.5rem; }
.editorial-image { position: relative; margin: 0; }
.editorial-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8rem 8rem var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-card); }
.editorial-image figcaption,
.program-detail-image span { position: absolute; right: 0.8rem; bottom: 0.8rem; padding: 0.25rem 0.55rem; color: var(--white); background: rgba(23,60,77,0.8); border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.05em; }

.story-timeline { background: var(--paper); }
.timeline-list { max-width: 920px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.2rem; padding-bottom: 4.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; top: 3.2rem; bottom: 0.5rem; left: 1.55rem; width: 1px; background: var(--line); }
.timeline-marker { position: relative; z-index: 1; display: grid; width: 3.2rem; height: 3.2rem; place-items: center; color: var(--white); background: var(--odyssey); border-radius: 50%; font-size: 0.75rem; font-weight: 700; }
.timeline-content h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.7vw, 3.6rem); }
.timeline-content > p:last-child { max-width: 690px; color: var(--muted); font-size: 1.05rem; }
.memory-section { padding-top: 0; }
.memory-panel { padding: clamp(2rem, 6vw, 5rem); color: var(--white); background: var(--palm); border-radius: var(--radius-lg); }
.memory-panel h2 { max-width: 15ch; }
.memory-actions { display: grid; gap: 1.5rem; align-items: end; margin-top: 2.5rem; }
.memory-actions p { max-width: 580px; margin-bottom: 0; color: rgba(255,255,255,0.73); }

.program-detail-section { background: var(--paper); }
.program-detail-list { display: grid; gap: clamp(5rem, 11vw, 9rem); }
.program-detail { display: grid; gap: 2.2rem; align-items: center; scroll-margin-top: 7rem; }
.program-detail-image { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.detail-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 500ms ease; }
.program-detail:hover .detail-photo { transform: scale(1.025); }
.program-detail-copy { max-width: 620px; }
.program-detail-copy h2 { max-width: 12ch; margin-bottom: 1.2rem; }
.program-detail-copy > p:not(.eyebrow) { color: var(--muted); }
.program-icon-inline { margin: 0 0 1.5rem; color: var(--odyssey); background: var(--seabreeze); }
.work-method { background: var(--seabreeze); }
.method-grid { display: grid; gap: 1rem; }
.method-card { padding: 2rem; background: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.9); border-radius: var(--radius-md); transition: transform 220ms ease, box-shadow 220ms ease; }
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.method-card > span { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; color: var(--white); background: var(--odyssey); border-radius: 50%; font-size: 0.75rem; }
.method-card h3 { margin-bottom: 1rem; }
.method-card > p:last-child { color: var(--muted); }

.impact-overview { padding-bottom: 3rem; background: var(--paper); }
.metrics-grid-light { padding: clamp(2rem, 5vw, 4rem); color: var(--ink); background: var(--seabreeze); border-radius: var(--radius-lg); }
.metrics-grid-light .metric { border-color: rgba(35,97,126,0.25); }
.metrics-grid-light .metric strong { color: var(--odyssey); }
.metrics-grid-light .metric span { color: var(--muted); }
.data-note { max-width: 760px; margin: 2rem auto 0; padding: 1rem 1.2rem; color: var(--muted); background: var(--white); border-left: 4px solid var(--sangria); box-shadow: var(--shadow-soft); }
.impact-framework { background: var(--paper); }
.framework-grid { display: grid; gap: 1rem; }
.framework-card { min-height: 24rem; padding: 1.7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 220ms ease, box-shadow 220ms ease; }
.framework-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); }
.framework-card > span { display: block; margin-bottom: 6rem; color: var(--sangria-deep); font-family: var(--font-display); font-weight: 700; }
.framework-card h3 { margin-bottom: 1rem; }
.framework-card > p:last-child { color: var(--muted); }
.transparency-band { color: var(--white); background: var(--odyssey); }
.transparency-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.transparency-copy h2 { text-wrap: balance; }
.transparency-copy > p:not(.eyebrow) { max-width: 720px; margin: 0 auto 2rem; color: rgba(255,255,255,0.72); }

.involvement-options { background: var(--paper); }
.option-grid { display: grid; gap: 1rem; }
.option-card { min-height: 25rem; padding: 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.option-card:nth-child(1) { background: #FAEDC9; }
.option-card:nth-child(2) { background: #D9EAE8; }
.option-card:nth-child(3) { background: #FADED5; }
.option-card > span { display: block; margin-bottom: 6rem; font-family: var(--font-display); font-weight: 700; }
.option-card h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.option-card > p:last-child { color: var(--muted); }
.form-section { background: var(--seabreeze); }
.form-layout, .contact-grid, .donation-layout { display: grid; gap: 3rem; align-items: start; }
.form-layout h2, .donation-copy h2 { max-width: 12ch; }

.public-form { display: grid; gap: 1.15rem; padding: clamp(1.35rem, 4vw, 2.4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.glass-form { background: rgba(255,255,255,0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.field-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field > span, .choice-group legend { color: var(--ink); font-size: 0.85rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 3.3rem; padding: 0.78rem 0.95rem; color: var(--ink); background: var(--paper); border: 1px solid rgba(35,97,126,0.28); border-radius: 0.75rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--odyssey); box-shadow: 0 0 0 4px rgba(148,190,187,0.26); outline: none; }
.check-field { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.65rem; align-items: start; color: var(--muted); font-size: 0.82rem; }
.check-field input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--odyssey); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { margin-bottom: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.notice-success { color: #214630; background: #DCEBDF; border: 1px solid #A8CAB1; }
.notice-error { color: #73312B; background: #F9DDDA; border: 1px solid #E6AAA4; }

.contact-hero { background: var(--lagoon); }
.contact-section { background: var(--paper); }
.contact-aside { display: grid; gap: 1rem; }
.contact-detail { display: grid; grid-template-columns: 2rem 1fr; column-gap: 0.7rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.contact-detail svg { grid-row: 1 / 3; width: 1.5rem; fill: none; stroke: var(--odyssey); stroke-width: 1.6; }
.contact-detail > span { color: var(--muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.contact-detail a, .contact-detail p { margin: 0; font-weight: 600; text-decoration: none; }
.contact-note { padding: 1rem; color: var(--muted); background: var(--seabreeze); border-radius: var(--radius-sm); font-size: 0.8rem; }

.donate-hero { background: var(--guava); }
.donation-section { background: var(--paper); }
.impact-list { display: grid; gap: 0.9rem; padding: 0; margin: 2rem 0; list-style: none; }
.impact-list li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.7rem; align-items: start; }
.impact-list svg { width: 1.55rem; fill: none; stroke: var(--palm); stroke-width: 2; }
.form-fineprint { max-width: 560px; color: var(--muted); font-size: 0.8rem; }
.choice-group { padding: 0; margin: 0; border: 0; }
.choice-group legend { margin-bottom: 0.5rem; }
.segmented, .amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
.segmented label, .amount-grid label { position: relative; }
.segmented input, .amount-grid input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span, .amount-grid span { display: grid; min-height: 3.2rem; place-items: center; padding: 0.65rem; background: var(--paper); border: 1px solid var(--line); border-radius: 0.75rem; font-weight: 700; cursor: pointer; }
.segmented input:checked + span, .amount-grid input:checked + span { color: var(--white); background: var(--odyssey); border-color: var(--odyssey); }
.segmented input:focus-visible + span, .amount-grid input:focus-visible + span { outline: 3px solid var(--sangria); outline-offset: 2px; }
.button-wide { width: 100%; }

.site-footer { padding: 5rem 0 1.5rem; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; gap: 2.7rem; }
.footer-brand p { max-width: 340px; margin: 1.2rem 0 0; color: rgba(255,255,255,0.62); }
.footer-heading { margin-bottom: 1rem; color: var(--butter); font-family: var(--font-display); font-weight: 700; }
.footer-links { display: grid; gap: 0.65rem; padding: 0; margin: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.social-links a { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.social-links a:hover { color: var(--ink); background: var(--butter); transform: translateY(-2px); }
.social-links svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-cta { align-self: start; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 4rem; padding-top: 1.4rem; color: rgba(255,255,255,0.45); border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease var(--delay, 0ms), transform 650ms ease var(--delay, 0ms); }
.reveal-delay { --delay: 120ms; }
.delay-0 { --delay: 0ms; }
.delay-1 { --delay: 70ms; }
.delay-2 { --delay: 140ms; }
.delay-3 { --delay: 210ms; }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 640px) {
    :root { --shell: min(1180px, calc(100% - 3.5rem)); }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .principle-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .metrics-grid { grid-template-columns: repeat(3, 1fr); }
    .field-grid { grid-template-columns: repeat(2, 1fr); }
    .amount-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
    .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); gap: 3.5rem; }
    .hero-copy h1 { font-size: clamp(3.7rem, 6.3vw, 6.6rem); }
    .intro-grid, .section-heading, .cta-panel, .page-hero-grid { grid-template-columns: 1fr 0.85fr; gap: 4rem; }
    .metrics-panel { grid-template-columns: 0.8fr 1.2fr; }
    .narrative-item { grid-template-columns: 3.5rem minmax(240px, 0.7fr) 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1.5fr 0.7fr 1fr 1.2fr; }
    .page-media-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr); gap: 4rem; }
    .memory-actions { grid-template-columns: 1fr auto; }
    .program-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 7vw, 7rem); }
    .program-detail:nth-child(even) .program-detail-image { order: 2; }
    .method-grid, .option-grid { grid-template-columns: repeat(3, 1fr); }
    .framework-grid { grid-template-columns: repeat(2, 1fr); }
    .form-layout, .contact-grid, .donation-layout { grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 8vw, 7rem); }
}

@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1.25rem;
        padding: 0;
        color: inherit;
        background: transparent;
        visibility: visible;
        opacity: 1;
        transform: none;
    }
    .site-nav ul { display: flex; align-items: center; gap: 0.1rem; }
    .site-nav li { position: relative; font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; }
    .site-nav li + li::before { content: ''; position: absolute; left: -0.05rem; top: 50%; width: 1px; height: 0.8rem; background: currentColor; opacity: 0.23; transform: translateY(-50%); }
    .site-nav li a { padding: 0.55rem 0.85rem; }
    .site-nav li a[aria-current="page"] { color: var(--sangria-deep); }
    body.page-home .site-header:not(.is-scrolled) .nav-donate { color: var(--ink); background: var(--butter); }
    .program-grid { grid-template-columns: repeat(4, 1fr); }
    .framework-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    .hero { padding-top: 8rem; }
    .hero-copy h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
    .hero-visual { min-height: 21rem; }
    .hero-footnote { margin-top: 2rem; }
    .section { padding: 4.5rem 0; }
    .button-row .button { width: 100%; }
    .story-signoff { align-items: flex-start; flex-direction: column; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
