/* ==========================================================================
   IFCM Ghost Theme — Single-Page Landing v5
   Premium Financial Design — Citadel / Winton / Two Sigma Inspired
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    /* Deep forest palette */
    --color-dark: #1a2e28;
    --color-dark-rgb: 26, 46, 40;
    --color-darker: #0d1f1a;
    --color-darkest: #0a1612;

    /* Light backgrounds */
    --color-warm: #f4f3ef;
    --color-warm-rgb: 244, 243, 239;
    --color-offwhite: #fafaf8;
    --color-white: #ffffff;
    --color-white-rgb: 255, 255, 255;

    /* Green accent */
    --color-accent: #9CB700;
    --color-accent-rgb: 156, 183, 0;
    --color-accent-dark: #7A9200;
    --color-accent-glow: rgba(156, 183, 0, 0.18);

    /* Gold / champagne accent */
    --color-gold: #c9a96e;
    --color-gold-rgb: 201, 169, 110;
    --color-gold-dark: #a8884d;
    --color-gold-light: #ddc9a0;
    --color-gold-glow: rgba(201, 169, 110, 0.15);

    /* Text */
    --color-text: #1a2e28;
    --color-text-secondary: #4a5f58;
    --color-text-muted: #7a8f88;
    --color-text-light: rgba(255, 255, 255, 0.88);
    --color-text-light-muted: rgba(255, 255, 255, 0.55);

    /* Borders */
    --color-border: rgba(26, 46, 40, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    --space-4xl: 10rem;

    /* Layout */
    --content-width: 780px;
    --outer-width: 1220px;
    --header-height: 72px;

    /* Radii & Shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px var(--color-gold-glow);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-offwhite);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-gold-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

ul,
ol {
    list-style-position: inside;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
    z-index: 2000;
    transition: none;
}

/* ---------- Scroll-Triggered Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(24px);
    transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}

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

/* Staggered children */
.stagger-children>.reveal:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children>.reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.stagger-children>.reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.stagger-children>.reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.stagger-children>.reveal:nth-child(5) {
    transition-delay: 0.32s;
}

.stagger-children>.reveal:nth-child(6) {
    transition-delay: 0.4s;
}

.stagger-children>.reveal:nth-child(7) {
    transition-delay: 0.48s;
}

.stagger-children>.reveal:nth-child(8) {
    transition-delay: 0.56s;
}

.stagger-children>.reveal:nth-child(9) {
    transition-delay: 0.64s;
}

/* ========================================================================
   HEADER / NAVIGATION
   ======================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.site-header.scrolled {
    background: rgba(var(--color-dark-rgb), 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(var(--color-gold-rgb), 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--outer-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo img {
    height: 36px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.site-logo:hover img {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-white);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: var(--color-gold);
}

.nav-links a.active::after {
    width: 60%;
}

.nav-login {
    color: var(--color-gold) !important;
    border: 1px solid rgba(var(--color-gold-rgb), 0.4) !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 0.75rem;
    padding: 0.4rem 1.25rem !important;
    transition: all var(--transition-fast) !important;
    letter-spacing: 0.12em !important;
    font-size: 0.75rem !important;
}

.nav-login::after {
    display: none !important;
}

.nav-login:hover {
    border-color: var(--color-gold) !important;
    background: var(--color-gold) !important;
    color: var(--color-darkest) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================================================
   HERO FLOW — Continuous dark wrapper for hero + stats + intro
   Eliminates all white gaps between hero and first content
   ======================================================================== */
.hero-flow {
    background: linear-gradient(175deg,
            var(--color-darkest) 0%,
            var(--color-dark) 35%,
            #1e342e 65%,
            #1a2e28 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay for depth */
.hero-flow::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* Ambient glow effects */
.hero-flow::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(var(--color-gold-rgb), 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(var(--color-accent-rgb), 0.04) 0%, transparent 50%);
    pointer-events: none;
    animation: ambientGlow 10s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-3xl)) 2rem var(--space-2xl);
    position: relative;
}

.hero-content {
    max-width: 860px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: var(--fw-bold);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    color: var(--color-white);
}

/* Gradient-masked accent text */
.hero h1 .accent {
    display: block;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 40%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: accentShimmer 6s ease-in-out infinite alternate;
    background-size: 200% 100%;
}

@keyframes accentShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.hero p {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: var(--color-text-light-muted);
    max-width: 600px;
    font-weight: var(--fw-regular);
}

/* ========================================================================
   STATS BAR — Dark glassmorphism floating inside hero flow
   ======================================================================== */
.stats-bar {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem var(--space-3xl);
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-item {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: var(--fw-bold);
    color: var(--color-gold);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    color: var(--color-text-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* ========================================================================
   SECTION HEADINGS — Elegant inline headers replacing flat banners
   ======================================================================== */
.section-heading {
    text-align: center;
    padding: var(--space-3xl) 2rem var(--space-lg);
    position: relative;
}

.section-heading h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    color: var(--color-dark);
    display: inline-block;
    position: relative;
    line-height: 1.15;
}

/* Thin gold accent line beneath heading */
.section-heading h2::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
    margin: 0.75rem auto 0;
    border-radius: 1px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-heading h2.visible::after {
    width: 60px;
}

/* Dark section heading variant */
.section-heading--dark {
    padding-top: var(--space-2xl);
}

.section-heading--dark h2 {
    color: var(--color-white);
}

.section-heading--dark h2::after {
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
}

/* Subtitle below heading */
.section-heading .section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-heading--dark .section-subtitle {
    color: var(--color-text-light-muted);
}

/* Legacy section-banner kept for backward compatibility */
.section-banner {
    display: none;
}

/* ========================================================================
   CONTENT SECTIONS
   ======================================================================== */
.section-light {
    background: var(--color-offwhite);
    padding: 0 2rem var(--space-2xl);
    position: relative;
}

.section-warm {
    background: var(--color-warm);
    padding: 0 2rem var(--space-2xl);
}

.section-white {
    background: var(--color-white);
    padding: 0 2rem var(--space-2xl);
}

.section-dark {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darker) 100%);
    padding: 0 2rem var(--space-2xl);
}

.section-content {
    max-width: var(--content-width);
    margin: 0 auto;
}

.strategy-intro {
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.strategy-intro .highlight {
    color: var(--color-gold-dark);
    font-weight: var(--fw-bold);
    border-bottom: 1px solid rgba(var(--color-gold-rgb), 0.3);
    padding-bottom: 1px;
}

.strategy-goal {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.65;
    padding: var(--space-lg);
    border-left: 3px solid var(--color-gold);
    background: linear-gradient(135deg, rgba(var(--color-gold-rgb), 0.05) 0%, transparent 100%);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: var(--space-xl);
    position: relative;
    color: var(--color-text);
}

.strategy-goal strong {
    color: var(--color-gold-dark);
    font-style: normal;
}

.section-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.section-content p {
    margin-bottom: var(--space-md);
    line-height: 1.85;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* ========================================================================
   DATA TABLES — Refined with more whitespace
   ======================================================================== */
.data-table-wrapper {
    margin: var(--space-xl) auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.data-table-wrapper .table-caption {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0.85rem var(--space-md);
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-gold);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.data-table thead th {
    background: linear-gradient(180deg, #243a34 0%, var(--color-dark) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.9rem 1.1rem;
    font-weight: var(--fw-medium);
    text-align: center;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(var(--color-gold-rgb), 0.3);
}

.data-table thead th:first-child {
    text-align: left;
}

.data-table tbody td {
    padding: 0.75rem 1.1rem;
    border-bottom: 1px solid rgba(var(--color-dark-rgb), 0.04);
    text-align: center;
    color: var(--color-text-secondary);
    transition: background var(--transition-fast);
}

.data-table tbody td:first-child {
    font-weight: var(--fw-medium);
    text-align: left;
    color: var(--color-text);
}

.data-table tbody tr:hover td {
    background: rgba(var(--color-gold-rgb), 0.04);
}

.data-table tbody tr.highlight-row td {
    background: rgba(var(--color-gold-rgb), 0.08);
    font-weight: var(--fw-semibold);
    color: var(--color-text);
}

.data-table tbody tr.highlight-row td:first-child {
    color: var(--color-gold-dark);
}

.data-table tfoot td {
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    background: rgba(var(--color-dark-rgb), 0.02);
    border-top: 1px solid var(--color-border);
}

.data-chart {
    margin: var(--space-lg) auto;
    max-width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.data-chart img {
    width: 100%;
    display: block;
}

/* ========================================================================
   FUND SECTION
   ======================================================================== */
.fund-details {
    max-width: 600px;
    margin: 0 auto;
}

.fund-status {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
}

.fund-status a {
    font-weight: var(--fw-semibold);
    color: var(--color-gold-dark);
}

.fund-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.fund-name .open-badge {
    color: var(--color-accent);
    font-weight: var(--fw-bold);
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.fund-stats {
    list-style: none;
    padding: 0;
}

.fund-stats li {
    font-size: 1.02rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding-left var(--transition-fast);
}

.fund-stats li:hover {
    padding-left: 0.5rem;
}

.fund-stats li:last-child {
    border-bottom: none;
}

.fund-stats .label {
    font-weight: var(--fw-semibold);
    color: var(--color-text);
}

.fund-stats .value {
    color: var(--color-text-secondary);
    font-weight: var(--fw-regular);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

/* ========================================================================
   GROUND RULES — Oversized numbers, 2-column grid
   ======================================================================== */
.rules-list {
    max-width: var(--outer-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-xl);
}

.rule-item {
    padding: var(--space-md) 0;
    border-left: 2px solid transparent;
    padding-left: var(--space-lg);
    transition: border-color var(--transition-base);
    position: relative;
}

.rule-item:hover {
    border-left-color: var(--color-gold);
}

.rule-item .rule-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: var(--fw-bold);
    color: rgba(var(--color-gold-rgb), 0.25);
    line-height: 1;
    margin-bottom: 0.5rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
}

.rule-item .rule-title {
    color: var(--color-dark);
    font-weight: var(--fw-bold);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.rule-item p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ========================================================================
   TEAM SECTION — Dark split-screen layout (Winton-inspired)
   ======================================================================== */
.team-section-dark {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darker) 100%);
    padding: 0 0 0 0;
}

.team-grid {
    max-width: var(--outer-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.team-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.team-card:nth-child(even) {
    direction: rtl;
}

.team-card:nth-child(even)>* {
    direction: ltr;
}

/* Thin separator between team cards */
.team-card+.team-card {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Text side */
.team-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-xl);
}

.team-card-content .team-label {
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.team-card-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin-bottom: 0.25rem;
    line-height: 1.15;
}

.team-card-content .team-title {
    color: var(--color-gold-light);
    font-size: 0.95rem;
    font-weight: var(--fw-regular);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.team-card-content .team-bio {
    flex: none;
}

.team-card-content .team-bio p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-light-muted);
    margin-bottom: 0.75rem;
}

.team-card-content .team-bio p:last-child {
    margin-bottom: 0;
}

.team-card-content .team-bio a {
    color: var(--color-gold);
    border-bottom: 1px solid rgba(var(--color-gold-rgb), 0.3);
    padding-bottom: 1px;
}

.team-card-content .team-bio a:hover {
    border-bottom-color: var(--color-gold);
}

.team-hometown {
    font-size: 0.82rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-light-muted);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.04em;
}

/* Photo side */
.team-card-photo {
    position: relative;
    overflow: hidden;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.85);
    transition: filter var(--transition-slow), transform var(--transition-slow);
}

.team-card:hover .team-card-photo img {
    filter: grayscale(0%) brightness(0.95);
    transform: scale(1.03);
}

/* Photo overlay gradient */
.team-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--color-dark-rgb), 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.team-card:nth-child(even) .team-card-photo::after {
    background: linear-gradient(270deg, rgba(var(--color-dark-rgb), 0.15) 0%, transparent 40%);
}

/* Legacy team styles (hidden, for fallback) */
.team-card-header {
    display: none;
}

.team-card-body {
    display: none;
}

.team-brochure {
    display: none;
}

/* ========================================================================
   PRESENTATIONS — Clean minimal cards
   ======================================================================== */
.presentations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: var(--outer-width);
    margin: 0 auto;
}

.presentation-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--color-border);
}

.presentation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.presentation-title {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem var(--space-md);
    font-size: 0.82rem;
    font-weight: var(--fw-medium);
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.video-poster {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-poster img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.video-poster:hover img {
    transform: scale(1.04);
    filter: brightness(0.8);
}

.video-poster .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.video-poster .play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent var(--color-white);
    margin-left: 3px;
}

.video-poster:hover .play-btn {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 30px rgba(var(--color-gold-rgb), 0.3);
}

/* ========================================================================
   CONTACT SECTION — Dark immersive
   ======================================================================== */
.contact-dark {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darkest) 100%);
    padding: 0 2rem var(--space-3xl);
    position: relative;
}

.contact-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.contact-form {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: var(--fw-semibold);
    color: var(--color-text-light-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(var(--color-gold-rgb), 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.checkbox-group {
    margin-bottom: var(--space-md);
}

.checkbox-group .group-label {
    font-size: 0.78rem;
    color: var(--color-text-light-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: var(--fw-semibold);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0.35rem 0;
    color: var(--color-text-light-muted);
    transition: color var(--transition-fast);
}

.checkbox-group label:hover {
    color: var(--color-white);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 3rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-darkest);
    font-size: 0.82rem;
    font-weight: var(--fw-bold);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-sm);
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--color-gold-rgb), 0.25);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:active {
    transform: translateY(0);
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
    background: var(--color-darkest);
    padding: var(--space-lg) 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer p {
    color: var(--color-text-light-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.site-footer a {
    color: var(--color-gold-light);
    font-weight: var(--fw-medium);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--color-gold-rgb), 0.25);
    padding-bottom: 1px;
    transition: all var(--transition-fast);
}

.site-footer a:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
    .team-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .team-card:nth-child(even) {
        direction: ltr;
    }

    .team-card-photo {
        height: 320px;
    }

    .team-card-content {
        padding: var(--space-lg);
    }

    .rules-list {
        grid-template-columns: 1fr;
        max-width: 700px;
        gap: var(--space-md);
    }

    .presentations-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(var(--color-dark-rgb), 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 75vh;
        padding-top: calc(var(--header-height) + var(--space-xl));
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .stats-bar-inner {
        grid-template-columns: 1fr;
    }

    .stat-item:not(:last-child)::after {
        right: 20%;
        left: 20%;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
    }

    .section-heading {
        padding-top: var(--space-xl);
        padding-bottom: var(--space-sm);
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .section-light,
    .section-warm,
    .section-white {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-content h3 {
        font-size: 1.4rem;
    }

    .team-card-photo {
        height: 280px;
    }

    .team-card-content {
        padding: var(--space-lg) 1.25rem;
    }

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

    .fund-stats li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .rules-list {
        grid-template-columns: 1fr;
    }

    .rule-item {
        padding-left: var(--space-md);
    }

    .rule-item .rule-number {
        font-size: 2.2rem;
    }

    .data-table {
        font-size: 0.82rem;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 0.5rem 0.65rem;
    }

    .contact-dark {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 0.4rem 0.5rem;
    }

    .section-heading h2 {
        font-size: 1.6rem;
    }

    .rule-item .rule-number {
        font-size: 2rem;
    }
}

/* ========================================================================
   PRINT
   ======================================================================== */
@media print {

    .site-header,
    .nav-toggle,
    .contact-form,
    .site-footer,
    .scroll-progress {
        display: none;
    }

    .hero-flow {
        background: var(--color-white) !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    .hero h1 {
        color: var(--color-text);
        -webkit-text-fill-color: var(--color-text);
    }

    .hero h1 .accent {
        -webkit-text-fill-color: var(--color-text);
    }

    .team-section-dark {
        background: var(--color-white) !important;
    }

    .team-card-content h3,
    .team-card-content .team-bio p {
        color: var(--color-text) !important;
    }

    .contact-dark {
        background: var(--color-white) !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-blur {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Ghost required classes */
.kg-width-wide {
    grid-column: wide-start / wide-end;
}

.kg-width-full {
    grid-column: full-start / full-end;
}
/* Hero Graphic */
.hero-graphic {
    max-width: 100%;
    height: auto;
    width: auto;
    margin: 0 auto var(--space-md);
    max-height: 180px;
    display: block;
}
@media (min-width: 768px) {
    .hero-graphic {
        max-height: 240px;
    }
}
