:root {
    --brand-purple: #4F2683;
    --dark-navy: #3A1B63;
    --text-charcoal: #1E1E24;
    --body-grey: #475569;
    --off-white: #F4F5F7;
    --pure-white: #FFFFFF;
    --border-line: #E2E8F0;
    --caption-slate: #64748B;
    --frame-border: #E5E7EB;
    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--body-grey);
    background-color: var(--pure-white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text-charcoal);
    line-height: 1.28;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--brand-purple);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
    color: var(--dark-navy);
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Statutory Strip */
.statutory-top-banner {
    background-color: var(--off-white);
    border-bottom: 1px solid var(--border-line);
    font-size: 0.82rem;
    color: var(--text-charcoal);
    padding: 8px 0;
}

.statutory-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.statutory-hq-tag {
    font-weight: 600;
    color: var(--brand-purple);
}

/* Sticky Header */
.site-header {
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--pure-white);
    border-bottom: 1px solid var(--border-line);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-height: 44px;
}

.brand-shield {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-purple);
    text-transform: uppercase;
    line-height: 1.2;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-charcoal);
    line-height: 1.2;
}

/* Navigation Matrix */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-charcoal);
    letter-spacing: 0.03em;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-purple);
    background-color: var(--off-white);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--pure-white);
    border: 1px solid var(--border-line);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    list-style: none;
    padding: 8px 0;
    z-index: 1050;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    min-height: 44px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-charcoal);
}

.dropdown-link:hover {
    background-color: var(--off-white);
    color: var(--brand-purple);
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4F2683;
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    min-height: 44px;
    white-space: nowrap;
}

.btn-header-cta:hover {
    background: #3A1B63;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-line);
    border-radius: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-charcoal);
    display: block;
}

/* Hero Banner (Full-Width 520px with Floating Card) */
.hero-banner {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-line);
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 30, 36, 0.78) 0%, rgba(58, 27, 99, 0.52) 60%, rgba(30, 30, 36, 0.35) 100%);
}

.hero-overlay-card {
    position: relative;
    z-index: 2;
    background: var(--pure-white);
    max-width: 690px;
    padding: 40px 44px;
    border-radius: 8px;
    border: 1px solid var(--border-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.hero-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-purple);
    margin-bottom: 12px;
}

.hero-overlay-card h1 {
    font-size: 2.35rem;
    color: var(--text-charcoal);
    margin-bottom: 16px;
}

.hero-summary {
    font-size: 1.05rem;
    color: var(--body-grey);
    margin-bottom: 24px;
    line-height: 1.68;
}

/* Dual CTA Row Rule (Strictly Maximum 2 Buttons) */
.dual-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4F2683;
    color: #FFFFFF !important;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    min-height: 44px;
    border: 2px solid #4F2683;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3A1B63;
    border-color: #3A1B63;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #4F2683;
    color: #4F2683 !important;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    min-height: 44px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #F4F5F7;
    color: #3A1B63 !important;
}

.btn-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    color: var(--brand-purple) !important;
    border: 1px solid var(--border-line);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    min-height: 44px;
}

.btn-card-link:hover {
    background: var(--brand-purple);
    color: var(--pure-white) !important;
}

/* Donit Image Frame & Figcaption Styling */
.donit-figure {
    margin: 0;
}

.donit-frame,
figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 0 8px 0;
    object-fit: cover;
    display: block;
    max-height: 420px;
}

figcaption,
.donit-caption {
    font-style: italic;
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Statistics Matrix (3-Column Grid) */
.stats-matrix-section {
    background: #FFFFFF;
    padding: 60px 0;
    border-bottom: 1px solid #E2E8F0;
}

.mission-statement-box {
    max-width: 920px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.mission-paragraph {
    font-size: 1.06rem;
    color: var(--text-charcoal);
    line-height: 1.8;
    text-align: left;
    background: var(--off-white);
    padding: 28px 32px;
    border-left: 4px solid var(--brand-purple);
    border-radius: 6px;
}

.stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-line);
    border-bottom: 1px solid var(--border-line);
}

.stat-cell {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid #E2E8F0;
}

.stat-cell:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: #4F2683;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--body-grey);
    margin-bottom: 0;
}

/* Structural Content Sections */
.section-white {
    background-color: var(--pure-white);
    padding: 72px 0;
    border-bottom: 1px solid var(--border-line);
}

.section-offwhite {
    background-color: var(--off-white);
    padding: 72px 0;
    border-bottom: 1px solid var(--border-line);
}

.section-header {
    max-width: 820px;
    margin-bottom: 40px;
}

.section-kicker {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-purple);
    margin-bottom: 8px;
}

/* Grids & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.content-card {
    background: var(--pure-white);
    border: 1px solid var(--border-line);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.horizontal-activity-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.horizontal-activity-card {
    background: var(--pure-white);
    border: 1px solid var(--border-line);
    border-radius: 8px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.reinvestment-banner {
    background: var(--dark-navy);
    color: var(--pure-white);
    padding: 28px 32px;
    border-radius: 8px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.reinvestment-banner p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
}

.institutional-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pure-white);
    border: 1px solid var(--border-line);
}

.institutional-table th,
.institutional-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-line);
    font-size: 0.94rem;
}

.institutional-table th {
    background-color: var(--off-white);
    color: var(--text-charcoal);
    font-weight: 700;
}

/* Forms & Accessible Modal */
.form-card {
    background: var(--pure-white);
    border: 1px solid var(--border-line);
    border-radius: 8px;
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-line);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-charcoal);
    min-height: 44px;
    background-color: var(--pure-white);
}

.form-control:focus {
    outline: 2px solid var(--brand-purple);
    border-color: var(--brand-purple);
}

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 36, 0.72);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.is-visible {
    display: flex;
}

.modal-dialog {
    background: var(--pure-white);
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    padding: 36px;
    border: 1px solid var(--border-line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
}

/* Footer Architecture */
.pre-footer-bar {
    background: #F4F5F7;
    border-top: 1px solid #E2E8F0;
    padding: 20px 0;
}

.pre-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pre-footer-item {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-charcoal);
}

.pre-footer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--body-grey);
    font-weight: 600;
}

.main-footer {
    background: #3A1B63;
    color: #FFFFFF;
    padding: 70px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
}

.footer-heading {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 18px;
    font-family: var(--font-serif);
}

.mandatory-disclosure-text {
    font-size: 0.9rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 14px;
}

.reinvestment-clause-footer {
    font-size: 0.85rem;
    font-weight: 600;
    color: #E2E8F0;
    border-left: 3px solid #FFFFFF;
    padding-left: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-seat-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
}

.sub-footer {
    background: #2B134B;
    color: rgba(255, 255, 255, 0.88);
    padding: 22px 0;
    font-size: 0.84rem;
}

.sub-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright-line {
    margin: 0;
}

.legal-footer-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-footer-link {
    color: #FFFFFF !important;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.legal-footer-link:hover {
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .grid-3,
    .stats-grid-3,
    .footer-grid,
    .pre-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-cell {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--pure-white);
        border-bottom: 2px solid var(--brand-purple);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

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

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-item.has-dropdown .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: var(--off-white);
    }
}

@media (max-width: 768px) {
    h1,
    .hero-overlay-card h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .grid-2,
    .grid-3,
    .stats-grid-3,
    .footer-grid,
    .pre-footer-grid,
    .horizontal-activity-card {
        grid-template-columns: 1fr;
    }

    .hero-overlay-card {
        padding: 28px 22px;
    }

    .dual-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary,
    .btn-card-link,
    .btn-header-cta {
        width: 100%;
        min-height: 44px;
    }
}
