:root {
    color-scheme: light;
    font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
    color: #111827;
    background: #ffffff;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

a {
    color: inherit;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.nav-inner {
    width: min(1280px, calc(100% - 2rem));
    min-height: 6rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: block;
    width: clamp(7.5rem, 12vw, 10rem);
    height: auto;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-link {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-link:hover {
    color: #111827;
}

.page-shell {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
}

.section {
    padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
    border-radius: 1.5rem;
    text-align: center;
}

.section-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1.25rem;
    padding: 0.55rem 0.9rem;
    border-radius: 0.75rem;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: #000000;
}

h1 {
    max-width: 950px;
    margin-right: auto;
    margin-bottom: 1.5rem;
    margin-left: auto;
    font-size: clamp(2.6rem, 7vw, 5.75rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

h1 span {
    color: #2563eb;
}

h2 {
    max-width: 820px;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-left: auto;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero {
    min-height: min(720px, calc(100vh - 7rem));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-lead {
    max-width: 800px;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-left: auto;
    color: #374151;
    font-size: clamp(1.15rem, 2.3vw, 1.5rem);
    line-height: 1.55;
}

.section-heading h3 {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    color: #374151;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.section-heading > p,
.impact-copy,
.next-steps > p {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
}

.impact-section b {
    font-size: 1.2em;
    font-weight: 800;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.8rem 1.15rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.button-primary {
    background: #ef4444;
    color: #ffffff;
}

.button span {
    font-size: 1.25em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 4rem) 0;
    scroll-margin-top: 7rem;
}

.gallery-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}

.gallery-image {
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 300ms ease;
}

.gallery-card:hover img {
    transform: scale(1.015);
}

.gallery-card figcaption {
    padding: 1.5rem;
}

.gallery-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-card p {
    margin-bottom: 0;
    color: #6b7280;
    line-height: 1.6;
}

.impact-section {
    background: #f3f4f6;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 820px;
    margin: 2.5rem auto 1.5rem;
}

.result-card {
    min-height: 11rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 1rem;
    background: rgba(219, 234, 254, 0.6);
}

.result-card strong {
    color: #1d4ed8;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.result-card span {
    color: #4b5563;
    line-height: 1.4;
}

.next-steps {
    margin-bottom: 1rem;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.site-footer {
    width: min(1280px, calc(100% - 2rem));
    margin: auto auto 0;
    padding: 4rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    text-decoration: none;
}

.footer-brand img {
    width: 6rem;
    height: 4rem;
    object-fit: contain;
}

.footer-brand span {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    color: #000000;
    font-size: 1.1rem;
}

.footer-brand small {
    margin-top: 0.2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-contact a:hover {
    color: #3b82f6;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    fill: currentColor;
}

.footer-divider {
    border-top: 1px solid #e5e7eb;
}

.footer-bottom {
    padding: 0 0.5rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 700px) {
    .nav-inner {
        width: min(1280px, calc(100% - 1rem));
        min-height: 4.75rem;
    }

    .nav-logo {
        width: 5rem;
    }

    .nav-links {
        gap: 0.65rem;
    }

    .nav-links .site-link {
        font-size: 0.75rem;
    }

    .section {
        border-radius: 1.25rem;
    }

    .hero {
        min-height: auto;
    }

    .gallery,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-brand {
        padding: 0;
    }
}
