:root {
    --bg: #efe8d7;
    --bg-deep: #d9cfb5;
    --panel: rgba(253, 249, 240, 0.76);
    --panel-strong: rgba(255, 252, 246, 0.9);
    --text: #11261f;
    --muted: #53635e;
    --accent: #1c7c54;
    --accent-strong: #0f4f37;
    --accent-soft: #b8dcc7;
    --gold: #b98934;
    --line: rgba(17, 38, 31, 0.1);
    --shadow: 0 24px 64px rgba(35, 45, 38, 0.14);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

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

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

section[id],
main[id] {
    scroll-margin-top: 7.5rem;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(185, 137, 52, 0.22), transparent 24%),
        radial-gradient(circle at 85% 18%, rgba(28, 124, 84, 0.2), transparent 20%),
        linear-gradient(180deg, #f5efdf 0%, var(--bg) 46%, var(--bg-deep) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
    opacity: 0.28;
}

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

.site-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 2.5rem;
    position: relative;
}

.panel {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: var(--panel);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.topbar {
    position: sticky;
    top: 1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: rgba(254, 250, 242, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(33, 43, 35, 0.1);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 0.98rem;
}

.brand-copy span:last-child {
    color: var(--muted);
    font-size: 0.84rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.nav-cta {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

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

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.hero-copy h1,
.section-heading h2,
.mission-strip h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(3.2rem, 8vw, 6.1rem);
    max-width: 11ch;
}

.eyebrow {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent-strong);
}

.lead,
.hero-meta,
.pillar-card p,
.focus-grid p,
.roadmap-card p,
.involvement-card p,
.contact-intro,
.interest-form label,
.interest-form input,
.site-footer p {
    color: var(--muted);
}

.lead {
    max-width: 58ch;
    font-size: 1.08rem;
    line-height: 1.75;
    margin: 1.4rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), #35a56e);
    color: #fff;
    box-shadow: 0 14px 30px rgba(28, 124, 84, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.64);
    border-color: var(--line);
}

.hero-meta {
    margin-top: 1.15rem;
    font-size: 0.92rem;
}

.hero-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(240, 248, 242, 0.98)),
        linear-gradient(135deg, rgba(28, 124, 84, 0.16), transparent);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-card-top p,
.hero-card-top span {
    margin: 0;
}

.hero-card-top p {
    font-weight: 800;
}

.hero-bullet {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.feature-poster {
    position: relative;
    min-height: 440px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    color: #f6efe6;
    background:
        radial-gradient(circle at 78% 76%, rgba(255, 224, 147, 0.62), transparent 18%),
        radial-gradient(circle at 60% 38%, rgba(121, 173, 84, 0.18), transparent 22%),
        linear-gradient(115deg, rgba(3, 36, 28, 0.96) 0%, rgba(8, 44, 33, 0.98) 45%, rgba(28, 58, 34, 0.82) 100%);
    border: 1px solid rgba(17, 38, 31, 0.08);
}

.feature-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 36, 28, 0.82) 0%, rgba(3, 36, 28, 0.8) 54%, rgba(3, 36, 28, 0.16) 100%),
        radial-gradient(circle at 70% 82%, rgba(255, 214, 122, 0.35), transparent 20%);
}

.feature-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 0 72%, rgba(160, 207, 104, 0.18) 72% 82%, transparent 82%),
        repeating-linear-gradient(90deg, transparent 0 52px, rgba(121, 173, 84, 0.08) 52px 53px),
        repeating-linear-gradient(0deg, transparent 0 52px, rgba(121, 173, 84, 0.08) 52px 53px);
    mix-blend-mode: screen;
    opacity: 0.7;
}

.feature-poster > * {
    position: relative;
    z-index: 1;
}

.feature-poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 68% 30%, rgba(167, 202, 100, 0.14), transparent 20%),
        linear-gradient(165deg, transparent 0 45%, rgba(112, 160, 72, 0.1) 45% 46%, transparent 46%),
        linear-gradient(165deg, transparent 0 55%, rgba(112, 160, 72, 0.24) 55% 56%, transparent 56%),
        linear-gradient(165deg, transparent 0 64%, rgba(112, 160, 72, 0.36) 64% 65%, transparent 65%),
        radial-gradient(circle at 74% 33%, rgba(141, 182, 83, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 29%, rgba(141, 182, 83, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 82% 25%, rgba(141, 182, 83, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 21%, rgba(141, 182, 83, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 61% 20%, rgba(185, 137, 52, 0.15), transparent 16%);
}

.feature-poster-mark {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: #e3c38b;
}

.feature-poster-tagline {
    margin: 0.35rem 0 1.3rem;
    color: #7eb65b;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.feature-poster-copy {
    max-width: 13ch;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 0.94;
}

.feature-poster-copy p {
    margin: 0;
}

.feature-poster-copy p::first-line {
    color: #f6efe6;
}

.feature-poster-metrics {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.feature-poster-metrics span {
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(11, 43, 34, 0.58);
    border: 1px solid rgba(126, 182, 91, 0.22);
    color: #dbe8cd;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.feature-poster-footer {
    margin-top: auto;
    padding-top: 1rem;
    color: #9cc569;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
}

.hero-note {
    margin-top: auto;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: #132f27;
    color: #fff;
}

.hero-note p {
    margin: 0;
}

.hero-note p:first-child {
    font-weight: 800;
}

.hero-note p:last-child {
    color: rgba(255, 255, 255, 0.78);
}

.stats-strip,
.mission-strip,
.model-section,
.involvement-section,
.focus-section,
.roadmap-section,
.site-footer {
    margin-top: 1.5rem;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.stat-card,
.pillar-card,
.involvement-card,
.focus-grid article,
.roadmap-card,
.contact-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 251, 244, 0.82);
    border: 1px solid rgba(17, 38, 31, 0.08);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 1.25rem;
}

.stat-card strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--accent-strong);
}

.stat-card span {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
}

.mission-strip {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(16, 48, 39, 0.96), rgba(27, 102, 72, 0.94));
    color: #fff;
    box-shadow: var(--shadow);
}

.mission-strip h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.mission-strip ul {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mission-strip li {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    max-width: 14ch;
}

.pillar-grid,
.involvement-grid,
.focus-grid {
    display: grid;
    gap: 1rem;
}

.pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card,
.involvement-card,
.focus-grid article,
.roadmap-card,
.contact-card {
    padding: 1.5rem;
}

.pillar-card h3,
.involvement-card h3,
.focus-grid h3,
.contact-heading {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
}

.involvement-section,
.focus-section {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
}

.involvement-layout,
.connect-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    align-items: start;
}

.involvement-grid {
    grid-template-columns: 1fr;
}

.contact-intro {
    margin: 0 0 1rem;
    line-height: 1.6;
}

.focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.connect-copy {
    display: grid;
    gap: 1rem;
}

.roadmap-card strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
}

.interest-form {
    display: grid;
    gap: 0.7rem;
}

.interest-form input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(17, 38, 31, 0.12);
    background: rgba(255, 255, 255, 0.84);
    font: inherit;
}

.interest-form input:focus,
.button:focus,
.nav-toggle:focus {
    outline: 3px solid rgba(28, 124, 84, 0.22);
    outline-offset: 2px;
}

.form-feedback {
    min-height: 1.5rem;
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: var(--accent-strong);
}

.form-feedback.is-success {
    color: var(--accent);
}

.form-feedback.is-error {
    color: #9b3d27;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0.2rem 0;
}

.site-footer strong {
    display: block;
    margin-bottom: 0.25rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 940px) {
    .hero,
    .mission-strip,
    .pillar-grid,
    .involvement-layout,
    .focus-grid,
    .connect-layout,
    .stats-strip {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(254, 250, 242, 0.98);
        border: 1px solid rgba(17, 38, 31, 0.08);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: inline-block;
    }

    .hero-copy h1,
    .section-heading h2,
    .mission-strip h2 {
        max-width: none;
    }

    .feature-poster {
        min-height: 380px;
    }

    .feature-poster-copy {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100% - 1rem, 1180px);
    }

    .topbar,
    .hero,
    .mission-strip,
    .involvement-section,
    .focus-section,
    .pillar-card,
    .involvement-card,
    .stat-card,
    .roadmap-card,
    .contact-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .topbar {
        border-radius: 26px;
    }

    .feature-poster {
        min-height: 340px;
        padding: 1rem;
    }

    .feature-poster-metrics span {
        width: 100%;
        text-align: center;
    }

    .site-footer {
        flex-direction: column;
    }
}
