/*
Theme Name: Milestone
Description: Elite Professional Network Theme
Version: 2.9
Author: Milestone Global
*/

/* ==========================================================================
   Design tokens — light theme (gold CTAs unchanged)
   ========================================================================== */
:root {
    --bg-deep: #f4f6fa;
    --bg-raised: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f7;
    --border-subtle: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.16);

    --primary: #141826;
    --on-primary: #ffffff;
    --secondary: #3d4a6d;
    --tertiary: #f7d117;
    --on-tertiary: #141826;
    --accent-cyan: #0284c7;

    --surface: #ffffff;
    --on-surface: #141826;
    --surface-container-low: #eef1f7;
    --surface-container: #e4e8f1;
    --surface-container-highest: #d7dce8;
    --on-surface-variant: #5a6270;

    --font-main: 'Manrope', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --nav-height: 88px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-deep);
    color: var(--on-surface);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container-elite {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.section-standard { padding: clamp(4rem, 12vh, 10rem) 0; }
.section-compact { padding: clamp(3rem, 8vh, 6rem) 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    color: var(--on-surface);
    letter-spacing: -0.02em;
}

.text-highlight { color: var(--tertiary); }
.text-muted { color: var(--on-surface-variant); opacity: 0.92; }
.text-lead { color: var(--on-surface-variant); font-size: 1rem; line-height: 1.75; max-width: 28rem; }

/* Utility text colors (templates) */
.text-primary { color: var(--primary) !important; }
.text-tertiary { color: var(--tertiary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-white { color: #fff !important; }
.text-on-surface-variant { color: var(--on-surface-variant) !important; }
.tracking-tighter { letter-spacing: -0.04em; }
.tracking-widest { letter-spacing: 0.2em; }
.font-black { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.7; }

/* ==========================================================================
   Flex / layout helpers (no Tailwind dependency)
   ========================================================================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.grow { flex-grow: 1; }
.hidden { display: none !important; }

/* Responsive nav (HTML used "lg-flex" but CSS had Tailwind "lg:flex" — use explicit classes) */
.nav-desktop-only {
    display: none !important;
}
.nav-mobile-only {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) {
    .nav-desktop-only {
        display: flex !important;
    }
    .navbar-center.nav-desktop-only {
        justify-content: center;
    }
    .navbar-actions.nav-desktop-only {
        align-items: center;
        justify-content: flex-end;
    }
    .nav-mobile-only {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg-hidden { display: none !important; }
}

.space-y-16 > * + * { margin-top: 4rem; }
.max-w-none { max-width: none; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.p-6 { padding: 1.5rem; }
.pt-24 { padding-top: 6rem; }
.pb-24 { padding-bottom: 6rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.rounded-xl { border-radius: 1rem; }
.list-none { list-style: none; }

/* ==========================================================================
   Background utilities
   ========================================================================== */
.bg-surface-container-low { background: var(--surface-container-low); }
.bg-surface-container { background: var(--surface-container); }
.bg-surface-container-highest { background: var(--surface-container-highest); }
.bg-primary { background-color: var(--primary); }
.bg-white { background: #fff; }
.bg-black { background: #000; }

.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-tertiary { border-color: var(--tertiary); }
.border-secondary { border-color: var(--secondary); }
.border-primary { border-color: rgba(232, 234, 239, 0.35); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-black\/5 { border-color: rgba(255, 255, 255, 0.06); }

/* ==========================================================================
   Home Hero
   ========================================================================== */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-deep);
    overflow: hidden;
    padding-top: var(--nav-height);
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(244, 246, 250, 0.25) 100%);
    z-index: 1;
}
.home-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-bottom: 4rem;
}
.home-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    opacity: 0.55;
    z-index: 0;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 85%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 85%);
}
.hero-tag {
    display: inline-block;
    color: var(--on-surface-variant);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--tertiary);
}
.hero-title {
    font-size: clamp(2.75rem, 7vw, 5.25rem);
    margin-bottom: 1.5rem;
    max-width: 18ch;
}
.hero-desc {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    max-width: 36rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-main);
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-grid-elite {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .stats-grid-elite { grid-template-columns: 1.15fr 1.85fr; }
}

.stats-card-main {
    background: linear-gradient(160deg, #fffdf6 0%, #faf6eb 100%);
    color: var(--on-surface);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(247, 209, 23, 0.28);
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}
.stats-card-main h2 { color: var(--tertiary); font-size: clamp(3rem, 6vw, 4.5rem); margin-bottom: 0.75rem; font-family: var(--font-display); }
.stats-card-main h3 { color: var(--on-surface); font-size: 1.35rem; margin-bottom: 1.25rem; font-family: var(--font-main); font-weight: 700; }
.stats-card-main p { color: var(--on-surface-variant); font-weight: 400; line-height: 1.8; font-size: 0.95rem; font-family: var(--font-main); }

.stats-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.stats-card-small {
    background: var(--bg-card);
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
}
.stats-card-small .icon { color: var(--tertiary); font-size: 1.75rem; margin-bottom: 1rem; }
.stats-card-small h4 { font-size: 2.25rem; margin-bottom: 0.35rem; color: var(--on-surface); font-family: var(--font-display); }
.stats-card-small p { font-size: 0.7rem; font-weight: 700; color: var(--on-surface-variant); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-main); }

.stats-card-long {
    grid-column: span 2;
    background: var(--surface-container);
    padding: 2rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
}
.stats-card-long h4 { font-size: 1.2rem; margin-bottom: 0.35rem; color: var(--on-surface); font-family: var(--font-main); }
.stats-card-long .val { font-size: 2.25rem; font-weight: 800; color: var(--tertiary); border-bottom: 3px solid var(--tertiary); font-family: var(--font-display); }

/* ==========================================================================
   Strategic Pillars
   ========================================================================== */
.pillars-header { text-align: center; margin-bottom: 4rem; }
.pillars-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: none; margin-bottom: 1rem; }
.pillars-sub {
    display: block;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--tertiary);
    margin-bottom: 0.75rem;
}
.pillars-header p { max-width: 34rem; margin: 0 auto; color: var(--on-surface-variant); font-weight: 500; font-family: var(--font-main); font-size: 1rem; }

.pillar-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 1024px) {
    .pillar-grid { grid-template-columns: repeat(3, 1fr); }
}
.pillar-item { position: relative; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 4px; }
.pillar-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--tertiary);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}
.pillar-item h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.pillar-item p { color: var(--on-surface-variant); line-height: 1.75; margin-bottom: 1.5rem; font-size: 0.95rem; font-family: var(--font-main); }
.pillar-link {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--tertiary);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-main);
}
.pillar-link::after { content: ''; width: 2rem; height: 2px; background: var(--tertiary); display: block; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--tertiary);
    color: var(--on-tertiary);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    transition: transform 0.25s, box-shadow 0.25s;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    border-radius: 2px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(247, 209, 23, 0.25);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    color: var(--on-surface);
    margin-left: 1.5rem;
    padding: 1rem 1.75rem;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
    font-family: var(--font-main);
}
.btn-link:hover { border-color: var(--tertiary); color: var(--tertiary); }

.btn-elite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    background: var(--tertiary);
    color: var(--on-tertiary);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--font-main);
}
.btn-elite:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(247, 209, 23, 0.22); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--on-surface);
    border: 1px solid var(--border-strong);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: var(--font-main);
}
.btn-outline:hover { border-color: var(--tertiary); color: var(--tertiary); }

.btn-outline.is-active,
.tag-group .btn-elite {
    background: var(--tertiary);
    color: var(--on-tertiary);
    border-color: var(--tertiary);
}

.btn-elite--cyan {
    background: var(--accent-cyan);
    color: #061018;
}
.btn-elite--cyan:hover {
    box-shadow: 0 10px 28px rgba(94, 184, 232, 0.28);
}

/* Profile directory (archive) */
.profile-directory-hero {
    padding-top: 2rem;
}
.profile-directory-hero__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}
.profile-directory-hero__content {
    max-width: 48rem;
}
.profile-directory-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
}
.profile-directory-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.profile-directory-hero__lead {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--on-surface-variant);
}

.sector-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.sector-filter .btn-elite,
.sector-filter .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
}

.profile-cta-band__inner {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}
.profile-cta-band__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.profile-cta-band__text {
    color: var(--on-surface-variant);
    margin-bottom: 2rem;
}
.profile-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
/* .nav-spacer { height: var(--nav-height); } */

.navbar-elite {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.navbar-elite-inner {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.logo-elite {
    justify-self: start;
}
.logo-elite a,
.logo-elite .custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--on-surface) !important;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.logo-elite img { max-height: 40px; width: auto; }

.navbar-center {
    justify-self: center;
}

.navbar-menu,
.navbar-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(20, 24, 38, 0.72);
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.navbar-menu a:hover,
.navbar-menu .current-menu-item > a,
.navbar-menu .current_page_item > a {
    color: var(--on-surface);
    border-bottom-color: var(--tertiary);
}

.navbar-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-navbar-menu,
.mobile-navbar-menu ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}
.mobile-navbar-menu li { border-bottom: 1px solid var(--border-subtle); }
.mobile-navbar-menu a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface);
}
.mobile-navbar-menu .current-menu-item > a { color: var(--tertiary); }

.hamburger-elite {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--on-surface);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
}

/* Drawer */
.drawer-elite { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.drawer-elite .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.3s;
}
.drawer-elite .panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 380px);
    height: 100%;
    background: var(--bg-raised);
    border-left: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer-elite.active { pointer-events: auto; }
.drawer-elite.active .overlay { opacity: 1; }
.drawer-elite.active .panel { transform: translateX(0); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-elite {
    background: #eef1f7;
    border-top: 1px solid var(--border-subtle);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-elite-inner {
    display: grid;
    gap: 3rem;
    padding-bottom: 3rem;
}
@media (min-width: 900px) {
    .footer-elite-inner {
        grid-template-columns: 1.1fr 1fr;
        align-items: start;
    }
}

.footer-column-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 600px) {
    .footer-column-grid { grid-template-columns: repeat(2, 1fr); }
}

.footer-elite .footer-heading {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tertiary);
    margin-bottom: 1.25rem;
}

.footer-elite nav a,
.footer-elite .footer-column-grid a {
    color: var(--on-surface-variant);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-elite nav a:hover,
.footer-elite .footer-column-grid a:hover { color: var(--on-surface); }

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.footer-social-link:hover { border-color: var(--tertiary); color: var(--tertiary); }
.footer-social-link--inactive {
    opacity: 0.38;
    pointer-events: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
}
.footer-copyright {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    text-align: center;
}
@media (min-width: 900px) {
    .footer-copyright { text-align: right; }
}

/* ==========================================================================
   Cards & blocks
   ========================================================================== */
.badge-elite {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tertiary);
    border: 1px solid rgba(247, 209, 23, 0.35);
    padding: 0.4rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    font-family: var(--font-main);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}

.elite-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1.5rem;
}
.sidebar-box.accented {
    border-color: rgba(247, 209, 23, 0.35);
    background: linear-gradient(145deg, #fffbeb 0%, #ffffff 100%);
}
.sidebar-title {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tertiary);
    margin-bottom: 1rem;
}

.elite-section-header { margin-bottom: 3rem; }
.elite-section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.elite-section-header p { color: var(--on-surface-variant); font-family: var(--font-main); }

.elite-grid-hero {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .elite-grid-hero { grid-template-columns: 1fr 1fr; }
}

.elite-grid-3 {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 900px) {
    .elite-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.elite-grid-4 {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .elite-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .elite-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Profile directory */
.filter-bar-elite {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-input {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}
.search-input input {
    width: 100%;
    padding: 0.85rem 2.75rem 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--on-surface);
    font-size: 0.85rem;
    font-family: var(--font-main);
}
.search-input input::placeholder { color: var(--on-surface-variant); opacity: 0.8; }
.search-input .search-icon,
.search-input .search-input__submit {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--on-surface-variant);
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-input .search-input__submit {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.search-input .search-input__submit .material-symbols-outlined {
    font-size: 1.25rem;
}
.search-input button.search-icon,
.search-input .search-input__submit { pointer-events: auto; }

.profile-card-elite {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.25s;
}
.profile-card-elite:hover {
    border-color: rgba(247, 209, 23, 0.35);
    transform: translateY(-4px);
}
.profile-card-elite:hover .profile-card-elite__media img { filter: grayscale(0.3); }

/* Profile card — BEM */
.profile-card-elite__media {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(180deg, #e8ecf4 0%, #dce2ee 100%);
}
.profile-card-elite__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.4s;
}
.profile-card-elite__badge-wrap {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.badge-elite--compact {
    margin-bottom: 0;
    padding: 0.25rem 0.75rem;
}
.profile-card-elite__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 10rem;
    background: var(--surface-container);
    font-style: italic;
    font-size: 0.75rem;
    opacity: 0.35;
}
.profile-card-elite__body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.profile-card-elite__title {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.25;
}
.profile-card-elite__title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.profile-card-elite__title-link:hover {
    color: var(--tertiary);
}
.profile-card-elite__role {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.profile-card-elite__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}
@media (max-width: 479px) {
    .profile-card-elite__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
.profile-card-elite__location {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    opacity: 0.65;
}
.profile-card-elite__arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
    flex-shrink: 0;
}
.profile-card-elite__arrow-link:hover {
    color: var(--tertiary);
}
.profile-card-elite__arrow-link .material-symbols-outlined {
    font-size: 1.25rem;
}

.profiles-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .profiles-grid { grid-template-columns: repeat(3, 1fr); }
}

.profiles-grid__pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.profiles-empty {
    text-align: center;
    padding: 3rem 1rem;
}
.profiles-empty p {
    color: var(--on-surface-variant);
    opacity: 0.65;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Back-compat */
.grid-3 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Profile detail */
.profile-headline-elite h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.profile-stats-elite {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.profile-stats-elite .stat .val {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tertiary);
    font-family: var(--font-display);
}
.profile-stats-elite .stat .lab {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}

.profile-info-grid-elite {
    display: grid;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .profile-info-grid-elite { grid-template-columns: 1fr 1.4fr; }
}

.pedigree-card-elite {
    border-left: 3px solid var(--tertiary);
    padding: 1.25rem 1.5rem;
    background: var(--bg-raised);
    margin-bottom: 1rem;
}

.domain-card-elite {
    padding: 1.5rem;
    background: var(--bg-raised);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}
.domain-card-elite .icon-bg {
    font-size: 2rem;
    color: var(--tertiary);
    margin-bottom: 1rem;
}
.progress-track-elite {
    height: 4px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 2px;
    margin: 0.75rem 0 1rem;
    overflow: hidden;
}
.progress-fill-elite {
    height: 100%;
    background: var(--tertiary);
    border-radius: 2px;
}
.progress-fill-elite.secondary { background: var(--accent-cyan); }

.timeline-elite { display: flex; flex-direction: column; gap: 2rem; }
.timeline-item {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .timeline-item { grid-template-columns: 240px 1fr; }
}
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    border-radius: 6px;
}

.profile-socials-elite {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}
.profile-socials-elite a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--on-surface);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.profile-socials-elite a:hover { border-color: var(--tertiary); color: var(--tertiary); }

/* Pagination */
.elite-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 3rem;
    justify-content: center;
}
.elite-pagination a,
.elite-pagination span {
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--on-surface-variant);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.elite-pagination a:hover { color: var(--tertiary); border-color: var(--tertiary); }
.elite-pagination span.current,
.elite-pagination .page-numbers.current {
    background: var(--tertiary);
    color: var(--on-tertiary);
    border-color: var(--tertiary);
}

/* Prose (single post / profile) */
.prose {
    font-family: var(--font-main);
}
.prose p { margin-bottom: 1.25rem; color: var(--on-surface-variant); }
.prose a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--tertiary); }

/* Archive page shell */
.milestone-archive {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    min-height: 60vh;
}
.milestone-archive .listing-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
}
.milestone-archive .listing-subtitle {
    color: var(--on-surface-variant);
    font-size: 1rem;
    max-width: 40rem;
    margin: 0 auto;
}

.section-header { margin-bottom: 2rem; }

/* Offset main content below fixed nav (non-hero pages) */
.page-main {
    padding-top: 1rem;
    padding-bottom: 4rem;
}
/* Full-width canvas for Elementor (no duplicate container padding) */
.page-main--elementor {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Blog cards (news archive) */
.news-card-elite {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s;
}
.news-card-elite:hover {
    border-color: rgba(247, 209, 23, 0.25);
    transform: translateY(-4px);
}
.news-card-elite a.news-card-media {
    display: block;
    text-decoration: none;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
}
.news-card-elite .news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: transform 0.5s, opacity 0.3s;
}
.news-card-elite:hover .news-card-media img {
    transform: scale(1.04);
    opacity: 1;
}
.news-card-elite .news-card-body { padding: 2rem; }
.news-card-elite .news-card-body h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.news-card-elite .news-card-body h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.news-card-elite .news-card-body h2 a:hover { color: var(--tertiary); }
.news-card-elite .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tertiary);
    text-decoration: none;
    font-family: var(--font-main);
}
.news-card-elite .read-more:hover { text-decoration: underline; }

.news-archive-layout {
    display: grid;
    gap: 3rem;
}
@media (min-width: 1100px) {
    .news-archive-layout {
        grid-template-columns: 1fr 300px;
        align-items: start;
    }
}

.news-archive-feed.news-archive-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 640px) {
    .news-archive-feed.news-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1200px) {
    .news-archive-feed.news-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.news-archive-grid .news-card-elite {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}
.news-archive-grid .news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-archive-grid .news-card-body .read-more {
    margin-top: auto;
}
.news-archive-grid .elite-pagination {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

/* Profile directory: filters row + highlighted CTA */
.profile-filters-section {
    margin-bottom: 1.5rem;
}
.profile-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
    max-width: 56rem;
}
.profile-filters-row__category {
    flex: 1 1 220px;
    min-width: 200px;
}
.profile-filters-row__search {
    flex: 2 1 280px;
    min-width: 200px;
    max-width: 100%;
}
.profile-filters__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin-bottom: 0.5rem;
}
.profile-filters__select {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--on-surface);
    background-color: var(--bg-raised);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a8b3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}
.profile-filters__select:focus {
    outline: none;
    border-color: rgba(247, 209, 23, 0.55);
    box-shadow: 0 0 0 2px rgba(247, 209, 23, 0.15);
}

.profile-cta-band--highlight {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(247, 209, 23, 0.18) 0%,
        var(--bg-card) 42%,
        var(--surface-container-low) 100%
    );
    border: 1px solid rgba(247, 209, 23, 0.45);
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(247, 209, 23, 0.1),
        0 16px 48px rgba(15, 23, 42, 0.08);
}
.profile-cta-band--highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, var(--tertiary), rgba(247, 209, 23, 0.4));
}
.profile-cta-band--highlight .profile-cta-band__title {
    color: var(--on-surface);
}
.profile-cta-band--highlight .profile-cta-band__text {
    color: var(--on-surface-variant);
}

/* Contact page */
.contact-hero {
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}
.contact-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 1000px) {
    .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
}
.contact-form-card label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin-bottom: 0.5rem;
}
.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    background: var(--bg-raised);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--on-surface);
    font-family: var(--font-main);
    font-size: 0.95rem;
}
.contact-form-card textarea { min-height: 160px; resize: vertical; }
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: var(--on-surface-variant); opacity: 0.75; }

.office-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.office-card a { color: var(--accent-cyan); text-decoration: none; }
.office-card a:hover { text-decoration: underline; }

.flash-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(247, 209, 23, 0.35);
    border-radius: 8px;
    padding: 1.75rem;
}

.contact-hero__badge { margin-bottom: 1rem; }
.contact-hero__intro { max-width: 72rem; }
.contact-hero__title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    line-height: 1.05;
}
.contact-hero__lead { max-width: 36rem; }
.contact-form-card__heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.contact-form-native__submit { width: 100%; }
.contact-form-native__note { opacity: 0.85; }
.flash-card__badge { margin-bottom: 0.75rem; }
.flash-card__heading {
    font-family: var(--font-display);
    color: var(--on-surface);
}
.flash-card__cta { width: 100%; }

/* Home — layout & sliders */
.home-hero__layout {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
    padding-bottom: 4rem;
}
@media (min-width: 1024px) {
    .home-hero__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}
.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.home-hero__aside {
    align-self: stretch;
}
.home-hero__card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 22rem;
    margin-left: auto;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.home-hero__card-icon {
    color: var(--tertiary);
    font-size: 1.75rem;
    display: block;
    margin-bottom: 1rem;
}
.home-hero__card-text {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.65;
    margin: 0;
}

.home-stats-intro__header {
    border-bottom: 3px solid var(--tertiary);
    width: fit-content;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.home-stats-intro__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
}
.home-stats-demographics {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--on-surface-variant);
}
.home-stats-demographics strong {
    color: var(--tertiary);
    font-size: 1.25rem;
    margin-right: 0.35rem;
}
.home-stats-intro__copy { max-width: 28rem; }

.stats-card-main--span2 { grid-row: span 2; }
@media (max-width: 1023px) {
    .stats-card-main--span2 { grid-row: auto; }
}
.stats-card-main__accent {
    height: 4px;
    width: 6rem;
    background: var(--tertiary);
    margin-top: 4rem;
}
.stats-card-long__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
}

.pillar-list {
    margin: 0 0 1.25rem 1rem;
    padding: 0;
    color: var(--on-surface-variant);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Milestone slider (theme-front.js) */
.milestone-slider__slide { display: none; }
.milestone-slider__slide.is-active { display: block; }
.milestone-slider__nav {
    display: flex;
    gap: 0.5rem;
}
.milestone-slider__btn {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--on-surface);
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.milestone-slider__btn:hover {
    background: rgba(247, 209, 23, 0.2);
    border-color: rgba(247, 209, 23, 0.45);
}

.home-featured__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.home-featured__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-family: var(--font-display);
    margin: 0;
}
.home-featured__split {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 900px) {
    .home-featured__split {
        grid-template-columns: 1fr 1fr;
    }
}
.home-featured__eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tertiary);
    margin-bottom: 0.75rem;
}
.home-featured__name {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-family: var(--font-display);
    margin-bottom: 0.35rem;
}
.home-featured__role {
    font-weight: 700;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
}
.home-featured__excerpt { margin-bottom: 1.25rem; }
.home-featured__portrait {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    aspect-ratio: 3 / 4;
    max-height: min(520px, 70vh);
}
.home-featured__portrait-inner {
    position: absolute;
    inset: 0;
}
.home-featured__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(0.85);
}
.home-featured__img--placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(145deg, #e4e9f2, #d2dae8);
}
.home-featured__all {
    margin-top: 2rem;
    text-align: center;
}

.home-impact {
    background: linear-gradient(135deg, #ffffff 0%, var(--surface-container-low) 100%);
    padding: clamp(2.5rem, 6vw, 4rem);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--on-surface);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}
.home-impact__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border: none;
}
.home-impact__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin: 0;
    color: var(--on-surface);
}
.home-impact__slides {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}
.home-impact__headline {
    font-size: clamp(1.35rem, 3vw, 2rem);
    max-width: 48rem;
    line-height: 1.2;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--on-surface);
}
.home-impact .milestone-slider__slide { display: none; }
.home-impact .milestone-slider__slide.is-active { display: block; }

.home-narratives__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.home-narratives__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: var(--font-display);
    margin: 0;
}
.home-narratives__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 640px) {
    .home-narratives__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1100px) {
    .home-narratives__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.home-narratives__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}
.home-narratives__media {
    display: block;
    overflow: hidden;
/*     aspect-ratio: 16 / 10; */
    flex-shrink: 0;
    background: #000;
}
.home-narratives__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-narratives__ph {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e4e9f2, #d2dae8);
}
.home-narratives__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.home-narratives__body .pillar-link {
    margin-top: auto;
}
.home-narratives__post-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.home-narratives__post-title a {
    text-decoration: none;
    color: inherit;
}
.home-narratives__post-title a:hover { color: var(--tertiary); }

.home-quote {
    text-align: center;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.home-quote__icon {
    font-size: 3rem; color: var(--tertiary);
    display: block;
    margin-bottom: 1rem;
}
.home-quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--on-surface);
    margin: 0 0 1.5rem;
}
.home-quote__attr {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tertiary);
    margin: 0;
}

.home-final-cta {
    position: relative;
    background: linear-gradient(135deg, #12151f 0%, #06070d 50%, #0f111a 100%);
    border: 1px solid rgba(247, 209, 23, 0.35);
    border-radius: 12px;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    margin: 0 clamp(1.25rem, 4vw, 4rem);
    box-shadow:
        0 0 0 1px rgba(247, 209, 23, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.45);
}
.home-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, var(--tertiary), rgba(247, 209, 23, 0.35));
}
.home-final-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.home-final-cta__title {
    margin: 0;
    max-width: 36rem;
    line-height: 1.2;
}
.home-final-cta__highlight {
    font-size: clamp(1.5rem, 3.5vw, 2.35rem);
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
    text-shadow: 0 0 40px rgba(247, 209, 23, 0.2);
    background: linear-gradient(100deg, #ffffff 0%, #fffef0 35%, var(--tertiary) 85%, #ffe566 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.home-final-cta__btn {
    box-shadow: 0 8px 28px rgba(247, 209, 23, 0.25);
}

/* Reveal: visible immediately (JS may still add .active for subtle motion) */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
