:root {
    --bg: #f2eee6;
    --paper: #fffdf9;
    --text: #1e1d1a;
    --muted: #5b564f;
    --line: rgba(30, 29, 26, 0.12);
    --brand: #194f45;
    --brand-deep: #0f302a;
    --accent: #d97a38;
    --glow: rgba(217, 122, 56, 0.18);
    --shadow: 0 24px 60px rgba(18, 33, 29, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(217, 122, 56, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(25, 79, 69, 0.16), transparent 30%),
        linear-gradient(180deg, #f8f4ed 0%, #f0ebe3 100%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(248, 244, 237, 0.86);
    border-bottom: 1px solid rgba(30, 29, 26, 0.08);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
}

.navbar-brand strong,
.navbar-brand small {
    display: block;
}

.navbar-brand small {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    font-weight: 800;
}

.nav-link {
    color: var(--muted);
    font-weight: 700;
    margin-left: 0.65rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand-deep);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #27685b);
    border: none;
    color: #fff;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    box-shadow: 0 10px 24px rgba(25, 79, 69, 0.22);
}

.btn-brand:hover {
    color: #fff;
    background: linear-gradient(135deg, #16453c, var(--brand-deep));
}

.hero-outline {
    border-radius: 999px;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-section,
.page-hero {
    padding: 5.5rem 0 4rem;
}

.hero-section h1,
.page-hero h1,
.section-heading h2,
.info-card h2,
.cta-card h2,
.site-footer h2 {
    font-family: "Playfair Display", serif;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-section h1 {
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    max-width: 11ch;
}

.hero-copy,
.page-copy,
.section-heading p,
.info-card p,
.sector-card p,
.footer-copy {
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-panel,
.info-card,
.sector-card,
.cta-card,
.summary-banner {
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid rgba(30, 29, 26, 0.08);
    border-radius: 1.75rem;
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.8rem;
}

.panel-label,
.eyebrow,
.footer-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 800;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-row strong {
    font-size: 1.3rem;
    color: var(--brand-deep);
}

.section-block {
    padding: 1.25rem 0 4.5rem;
}

.muted-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 2rem;
}

.info-card,
.sector-card,
.cta-card {
    padding: 1.8rem;
}

.accent-card {
    background: linear-gradient(180deg, rgba(25, 79, 69, 0.98), rgba(15, 48, 42, 0.98));
    color: #f8f5f0;
}

.accent-card p,
.accent-card li,
.accent-card a,
.accent-card h2 {
    color: #f8f5f0;
}

.pill-grid,
.document-list,
.mission-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-pill,
.document-list span,
.mission-list span {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(25, 79, 69, 0.08);
    border: 1px solid rgba(25, 79, 69, 0.14);
    color: var(--brand-deep);
    font-weight: 700;
}

.sector-card {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sector-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% 45%;
    height: 9rem;
    background: radial-gradient(circle, var(--glow), transparent 65%);
}

.sector-index {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.clean-list li:last-child {
    border-bottom: none;
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--brand);
    font-weight: 800;
}

.cta-section {
    padding: 0 0 5rem;
}

.cta-card {
    background:
        linear-gradient(135deg, rgba(25, 79, 69, 0.96), rgba(12, 33, 29, 0.97)),
        linear-gradient(45deg, rgba(217, 122, 56, 0.2), transparent);
    color: #fff;
    text-align: center;
}

.cta-card p,
.cta-card h2 {
    color: #fff;
}

.project-table {
    background: rgba(255, 253, 249, 0.88);
    border-radius: 1rem;
    overflow: hidden;
}

.project-table th {
    background: rgba(25, 79, 69, 0.08);
}

.summary-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
}

.form-control {
    border-radius: 1rem;
    border: 1px solid rgba(30, 29, 26, 0.12);
    padding: 0.85rem 1rem;
}

.form-control:focus {
    border-color: rgba(25, 79, 69, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(25, 79, 69, 0.12);
}

.site-footer {
    padding: 4rem 0;
    background: #111714;
    color: #f0ece6;
}

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

.site-footer a,
.site-footer p,
.site-footer h2 {
    color: #f0ece6;
}

.narrow-copy {
    max-width: 46rem;
}

.sector-card,
.info-card,
.cta-card {
    transform: translateY(24px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sector-card.is-visible,
.info-card.is-visible,
.cta-card.is-visible {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 991px) {
    .hero-section,
    .page-hero {
        padding-top: 4rem;
    }

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

    .nav-link {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .hero-section h1,
    .page-hero h1 {
        font-size: 2.6rem;
    }

    .summary-banner,
    .hero-actions {
        flex-direction: column;
    }
}
