/* ============================================
   SPOTLIGHT BRAND SYSTEM — JE Dunn Assessment
   ============================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f5f6;
    --bg-surface: #e8e9ea;
    --accent: #c4a000;
    --accent-hover: #a38600;
    --accent-muted: rgba(196, 160, 0, 0.12);
    --text-primary: #222020;
    --text-secondary: #444142;
    --text-muted: #666;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3468b1;
    --nav-height: 72px;
    --border-color: rgba(0,0,0,0.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: var(--text-primary); line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; margin-bottom: 16px; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
a { color: var(--accent); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.accent { color: var(--accent); }
.scroll-progress {
    position: fixed; top: var(--nav-height); left: 0; width: 0%; height: 3px; z-index: 999;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    box-shadow: 0 0 10px rgba(230, 209, 28, 0.4);
    transition: width 0.1s linear;
}
nav {
    position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; padding: 0 32px;
}
.nav-inner { display: flex; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.nav-brand svg { width: 28px; height: 28px; }
.nav-brand-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--text-primary); white-space: nowrap; }
.nav-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    font-size: 13px; font-weight: 500; color: var(--text-muted); padding: 8px 10px;
    border-radius: 6px; white-space: nowrap; transition: all 0.25s ease; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--accent-muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-btn {
    width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border-color);
    background: transparent; color: var(--text-muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.25s ease;
}
.nav-btn:hover { color: var(--text-primary); border-color: var(--accent); background: var(--accent-muted); }
.nav-btn svg { width: 18px; height: 18px; }
.hero {
    padding: 140px 0 64px; position: relative; overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, rgba(230,209,28,0.06) 0%, transparent 60%);
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: var(--accent-muted); border: 1px solid rgba(230,209,28,0.2);
    border-radius: 9999px; font-size: 13px; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px;
}
.hero h1 { margin-bottom: 16px; max-width: 800px; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 680px; margin-bottom: 32px; line-height: 1.7; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.stat-card {
    background: var(--bg-surface); border-radius: 16px; padding: 28px;
    border: 1px solid var(--border-color); position: relative; overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.stat-card .stat-value {
    font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4vw, 48px);
    font-weight: 700; color: var(--text-primary); line-height: 1; margin-bottom: 8px;
}
.stat-card .stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.stat-card .stat-context { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.stat-card.danger .stat-value { color: var(--danger); }
.stat-card.warning .stat-value { color: var(--warning); }
.stat-card.success .stat-value { color: var(--success); }
.stat-card.accent .stat-value { color: var(--accent); }
.stat-card .stat-icon {
    position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.stat-card .stat-icon svg { width: 20px; height: 20px; }
.stat-card .stat-icon.danger-bg { background: rgba(239,68,68,0.12); color: var(--danger); }
.stat-card .stat-icon.warning-bg { background: rgba(245,158,11,0.12); color: var(--warning); }
.stat-card .stat-icon.success-bg { background: rgba(16,185,129,0.12); color: var(--success); }
.stat-card .stat-icon.accent-bg { background: var(--accent-muted); color: var(--accent); }
section { padding: 56px 0; border-bottom: 1px solid var(--border-color); }
.section-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px;
    background: var(--accent-muted); border-radius: 9999px;
    font-size: 12px; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 720px; margin-bottom: 32px; line-height: 1.7; }
.insight-callout {
    border-radius: 12px; padding: 24px 28px; margin: 32px 0;
    display: flex; gap: 16px; align-items: flex-start;
}
.insight-callout .insight-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.insight-callout .insight-icon svg { width: 22px; height: 22px; }
.insight-callout .insight-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.insight-callout .insight-text { font-size: 15px; line-height: 1.6; }
.insight-callout.warning { background: rgba(245,158,11,0.08); border-left: 3px solid var(--warning); }
.insight-callout.warning .insight-icon { background: rgba(245,158,11,0.15); color: var(--warning); }
.insight-callout.warning .insight-label { color: var(--warning); }
.insight-callout.danger { background: rgba(239,68,68,0.08); border-left: 3px solid var(--danger); }
.insight-callout.danger .insight-icon { background: rgba(239,68,68,0.15); color: var(--danger); }
.insight-callout.danger .insight-label { color: var(--danger); }
.insight-callout.success { background: rgba(16,185,129,0.08); border-left: 3px solid var(--success); }
.insight-callout.success .insight-icon { background: rgba(16,185,129,0.15); color: var(--success); }
.insight-callout.success .insight-label { color: var(--success); }
.insight-callout.info { background: rgba(52,104,177,0.08); border-left: 3px solid var(--info); }
.insight-callout.info .insight-icon { background: rgba(52,104,177,0.15); color: var(--info); }
.insight-callout.info .insight-label { color: var(--info); }
.tab-nav {
    display: flex; gap: 4px; border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px; overflow-x: auto; scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
    padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted);
    background: transparent; border: none; border-bottom: 2px solid transparent;
    cursor: pointer; white-space: nowrap; transition: all 0.25s ease;
    font-family: 'DM Sans', sans-serif;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
.accordion { border-radius: 12px; overflow: hidden; margin: 16px 0; border: 1px solid var(--border-color); }
.accordion-header {
    display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
    background: var(--bg-surface); cursor: pointer; transition: background 0.25s ease;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: var(--text-primary);
    border: none; width: 100%; text-align: left;
}
.accordion-header:hover { background: var(--bg-secondary); }
.accordion-header svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-header[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-content-inner { padding: 24px; border-top: 1px solid var(--border-color); }
.data-table-wrapper { overflow-x: auto; margin: 24px 0; border-radius: 12px; border: 1px solid var(--border-color); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead { background: var(--bg-surface); }
.data-table th {
    padding: 14px 16px; text-align: left; font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted);
    border-bottom: 1px solid var(--border-color); white-space: nowrap;
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.data-table tbody tr { transition: background 0.2s ease; }
.data-table tbody tr:hover { background: var(--accent-muted); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr[data-tooltip] { cursor: help; }
.data-table tbody tr[data-tooltip] td:first-child { position: relative; }
.data-table tbody tr[data-tooltip] td:first-child::after {
    content: attr(data-tip);
    position: absolute; left: 0; top: 100%; z-index: 100;
    background: var(--text-primary); color: var(--bg-primary); font-size: 13px; line-height: 1.5;
    padding: 12px 16px; border-radius: 8px; width: 340px;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.data-table tbody tr[data-tooltip]:hover td:first-child::after { opacity: 1; }
.metric-win { color: var(--success); font-weight: 600; }
.metric-loss { color: var(--danger); font-weight: 600; }
.metric-warn { color: var(--warning); font-weight: 600; }
.bar-chart { margin: 24px 0; }
.bar-row { margin-bottom: 20px; }
.bar-row .bar-label {
    display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px;
    font-size: 15px; font-weight: 500; color: var(--text-primary);
}
.bar-row .bar-label .text-xs { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.bar-item { margin-bottom: 16px; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.bar-label-text { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.bar-label-value { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; }
.bar-track { height: 10px; background: var(--bg-surface); border-radius: 5px; overflow: visible; position: relative; }
.bar-fill { height: 100%; border-radius: 5px; transition: width 1s ease; width: 0; position: relative; background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.bar-value {
    position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; color: var(--text-primary);
    white-space: nowrap;
}
.bar-fill.danger { background: linear-gradient(90deg, var(--danger), #f87171); }
.bar-fill.warning { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.bar-fill.success { background: linear-gradient(90deg, var(--success), #34d399); }
.bar-fill.accent { background: linear-gradient(90deg, var(--accent), var(--accent-hover)); }
.bar-fill.info { background: linear-gradient(90deg, var(--info), #6b9bdb); }
/* Stakeholder Cards */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.person-card {
    background: var(--bg-primary); border-radius: 16px; padding: 0;
    border: 1px solid var(--border-color); transition: all 0.3s ease;
    overflow: hidden; position: relative;
}
.person-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.person-card .person-header {
    display: flex; align-items: center; gap: 16px; padding: 24px 24px 0;
}
.person-card .person-avatar {
    width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.5px;
    background: var(--accent); color: #1a1a1a; flex-shrink: 0;
}
.person-card .person-identity { flex: 1; }
.person-card h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--text-primary); margin-bottom: 2px; }
.person-card .person-role { font-size: 13px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.3px; }
.person-card .person-metrics {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    margin: 20px 24px 0; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--border-color);
}
.person-card .person-metric {
    padding: 14px 16px; text-align: center; background: var(--bg-surface);
}
.person-card .person-metric:first-child { border-right: 1px solid var(--border-color); }
.person-card .person-metric-value {
    font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; line-height: 1; margin-bottom: 4px;
}
.person-card .person-metric-value.danger { color: var(--danger); }
.person-card .person-metric-value.warning { color: var(--warning); }
.person-card .person-metric-value.success { color: var(--success); }
.person-card .person-metric-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted);
}
.person-card .person-focus {
    padding: 16px 24px 24px; font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.person-card .person-risk-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.person-card .person-risk-bar.risk-high { background: linear-gradient(90deg, var(--danger), #f87171); }
.person-card .person-risk-bar.risk-med { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.person-card .person-risk-bar.risk-low { background: linear-gradient(90deg, var(--success), #34d399); }
/* Legacy person-stat pills (keep for fallback) */
.person-card .person-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.person-card .person-stat { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comparison-card {
    background: var(--bg-surface); border-radius: 16px; padding: 32px;
    border: 1px solid var(--border-color);
}
.comparison-card .comp-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.comparison-card.current .comp-label { color: var(--danger); }
.comparison-card.recommended .comp-label { color: var(--success); }
.priority-list { counter-reset: priority; }
.priority-item {
    display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border-color);
    counter-increment: priority;
}
.priority-item:last-child { border-bottom: none; }
.priority-num {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    background: var(--accent-muted); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px;
}
.priority-content h4 { margin-bottom: 4px; }
.priority-content p { font-size: 15px; color: var(--text-secondary); }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px;
    background: var(--border-color);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute; left: -32px; top: 4px; width: 22px; height: 22px;
    border-radius: 50%; border: 2px solid var(--accent);
    background: var(--bg-primary); display: flex; align-items: center; justify-content: center;
}
.timeline-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline-phase { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.timeline-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; color: var(--text-primary); margin-bottom: 8px; }
.timeline-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.scorecard-wrapper { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.scorecard-row {
    display: grid; grid-template-columns: 40px 220px 1fr 1fr 90px; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid var(--border-color); align-items: center; font-size: 14px;
    transition: background 0.2s ease; cursor: help;
}
.scorecard-row:last-child { border-bottom: none; }
.scorecard-row:hover { background: var(--accent-muted); }
.scorecard-row.header {
    background: var(--bg-surface); font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted);
}
.scorecard-row.header:hover { background: var(--bg-surface); }
.scorecard-num { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--text-muted); text-align: center; }
.scorecard-metric { font-weight: 500; color: var(--text-primary); }
.scorecard-indicator { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-align: center; display: inline-block; }
.scorecard-indicator.win { background: rgba(16,185,129,0.12); color: var(--success); }
.scorecard-indicator.loss { background: rgba(239,68,68,0.12); color: var(--danger); }
.scorecard-indicator.threat { background: rgba(245,158,11,0.12); color: var(--warning); }
.scorecard-row[data-tip] { position: relative; }
.scorecard-row[data-tip]::after {
    content: attr(data-tip);
    position: absolute; left: 40px; top: 100%; z-index: 100;
    background: var(--text-primary); color: var(--bg-primary); font-size: 13px; line-height: 1.5;
    padding: 12px 16px; border-radius: 8px; width: 380px; font-weight: 400;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.scorecard-row[data-tip]:hover::after { opacity: 1; }
.scorecard-row.header { cursor: default; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.info-card {
    background: var(--bg-surface); border-radius: 12px; padding: 28px;
    border: 1px solid var(--border-color); transition: transform 0.25s ease;
}
.info-card:hover { transform: translateY(-4px); }
.info-card .info-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card .info-icon svg { width: 24px; height: 24px; }
.info-card h4 { margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.urgency-callout {
    background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2);
    border-radius: 16px; padding: 32px; text-align: center; margin: 48px 0;
}
.urgency-callout h3 { color: var(--danger); margin-bottom: 12px; }
.urgency-callout p { max-width: 600px; margin: 0 auto; font-size: 15px; }
.cta-section {
    padding: 96px 0; text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-bottom: none;
}
.cta-section h2 { color: #222020; }
.cta-section p { color: rgba(34,32,32,0.7); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px;
    background: #222020; color: var(--accent); font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 16px; border-radius: 12px; border: none; cursor: pointer;
    transition: all 0.25s ease; text-decoration: none;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); color: var(--accent-hover); }
.page-nav {
    display: flex; justify-content: space-between; align-items: center; padding: 48px 0; gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.page-nav a {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
    background: transparent; border-radius: 9999px; border: 1.5px solid var(--accent);
    transition: all 0.25s ease; text-decoration: none;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--accent);
}
.page-nav a:hover { background: var(--accent); color: #1a1a1a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,160,0,0.25); }
.page-nav a svg { transition: transform 0.25s ease; }
.page-nav a:hover svg { transform: translateX(3px); }
.page-nav .next { margin-left: auto; }
footer {
    padding: 32px 0; text-align: center; border-top: 1px solid var(--border-color);
    font-size: 13px; color: var(--text-muted);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-animate { opacity: 0; animation: fadeInUp 0.6s ease forwards; }
.hero-badge.hero-animate { animation-delay: 0s; }
.hero h1.hero-animate { animation-delay: 0.1s; }
.hero-subtitle.hero-animate { animation-delay: 0.2s; }
.hero-stats .stat-card:nth-child(1) { animation-delay: 0.3s; }
.hero-stats .stat-card:nth-child(2) { animation-delay: 0.4s; }
.hero-stats .stat-card:nth-child(3) { animation-delay: 0.5s; }
.hero-stats .stat-card:nth-child(4) { animation-delay: 0.6s; }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.era-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.era-card {
    background: var(--bg-surface); border-radius: 16px; padding: 32px;
    border: 1px solid var(--border-color); position: relative;
}
.era-card.current { border-color: var(--accent); background: var(--accent-muted); }
.era-card .era-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.era-card.current .era-label { color: var(--accent); }
.era-card h3 { margin-bottom: 12px; }
.era-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.metric-dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.metric-tile {
    background: var(--bg-surface); border-radius: 12px; padding: 24px;
    border: 1px solid var(--border-color);
}
.metric-tile .metric-value {
    font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700;
    color: var(--text-primary); margin-bottom: 4px;
}
.metric-tile .metric-label { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.metric-tile .metric-bar { height: 4px; background: var(--bg-primary); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.metric-tile .metric-bar-fill { height: 100%; border-radius: 2px; }
.metric-row {
    background: var(--bg-surface); border-radius: 12px; padding: 24px;
    border: 1px solid var(--border-color);
}
.metric-main { margin-bottom: 8px; }
.metric-main .metric-value {
    font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700;
    display: block; margin-bottom: 4px;
}
.metric-main .metric-value.danger { color: var(--danger); }
.metric-main .metric-value.warning { color: var(--warning); }
.metric-main .metric-title {
    font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700;
    color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.5px;
}
.metric-detail { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.exec-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0; }
.exec-summary-card {
    background: var(--bg-surface); border-radius: 16px; padding: 32px;
    border: 1px solid var(--border-color); cursor: pointer;
    transition: all 0.25s ease; text-decoration: none; display: block;
}
.exec-summary-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.exec-summary-card .esc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.exec-summary-card .esc-icon svg { width: 24px; height: 24px; }
.exec-summary-card h3 { margin-bottom: 8px; font-size: 20px; }
.exec-summary-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.exec-summary-card .esc-link { font-size: 13px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.exec-summary-card .esc-link svg { width: 16px; height: 16px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 13px; color: var(--text-muted); }
.text-center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.divider { height: 1px; background: var(--border-color); margin: 48px 0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
/* --- Mobile Hamburger Menu --- */
.mobile-nav-toggle {
    display: none; width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid var(--border-color); background: transparent;
    cursor: pointer; flex-direction: column; align-items: center;
    justify-content: center; gap: 5px; padding: 8px; flex-shrink: 0;
}
.mobile-nav-toggle span {
    display: block; width: 18px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all 0.3s ease;
}
.mobile-nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* --- Table Overflow Mobile --- */
.table-scroll-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: 12px; border: 1px solid var(--border-color); }
.table-scroll-wrapper table { min-width: 600px; }
.table-wrap, .metric-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table, .metric-table table { min-width: 600px; }
/* --- Expand All Button --- */
.expand-all-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
    background: var(--accent-muted); border: 1px solid rgba(196,160,0,0.2);
    border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--accent);
    cursor: pointer; transition: all 0.25s ease; font-family: 'DM Sans', sans-serif;
    margin-bottom: 24px;
}
.expand-all-btn:hover { background: rgba(196,160,0,0.18); }
/* --- Inline CTA --- */
.inline-cta {
    background: transparent; border-top: 1px solid var(--border-color);
    padding: 32px 0; display: flex; align-items: center; justify-content: space-between;
    gap: 24px; margin: 40px 0 0;
}
.inline-cta-text { font-size: 15px; color: var(--text-secondary); font-weight: 400; max-width: 65%; line-height: 1.6; }
.inline-cta-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
    background: transparent; color: var(--accent); font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 14px; border-radius: 9999px; text-decoration: none;
    white-space: nowrap; transition: all 0.25s ease; border: 1.5px solid var(--accent);
}
.inline-cta-btn:hover { background: var(--accent); color: #1a1a1a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,160,0,0.25); }
/* --- Proof Badge --- */
.proof-badge {
    background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
    border-radius: 12px; padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; margin: 32px 0;
}
.proof-badge .proof-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
    background: rgba(16,185,129,0.15); color: var(--success);
    display: flex; align-items: center; justify-content: center;
}
/* --- Intro Modal --- */
.intro-modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 1; transition: opacity 0.35s ease;
}
.intro-modal-overlay.hidden { opacity: 0; pointer-events: none; }
.intro-modal {
    background: var(--bg-primary); border-radius: 20px; max-width: 720px; width: 100%;
    padding: 40px 44px 36px; box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    transform: translateY(0); transition: transform 0.35s ease;
    max-height: 90vh; overflow-y: auto;
}
.intro-modal-overlay.hidden .intro-modal { transform: translateY(24px); }
.intro-modal-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
    padding-bottom: 20px; border-bottom: 1px solid var(--border-color);
}
.intro-modal-logo {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-muted); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.intro-modal-brand {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--text-primary);
}
.intro-modal-title {
    font-size: 26px; margin-bottom: 20px; color: var(--text-primary);
}
.intro-modal-body { margin-bottom: 28px; }
.intro-modal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.intro-modal-col h4 {
    font-size: 15px; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px;
}
.intro-modal-col p { font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); }
.intro-modal-note {
    display: flex; gap: 12px; align-items: flex-start;
    background: rgba(16,185,129,0.07); border: 1px solid rgba(16,185,129,0.18);
    border-radius: 10px; padding: 16px 20px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
}
.intro-modal-note svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.intro-modal-close {
    width: 100%; padding: 16px; background: var(--accent); color: #1a1a1a;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px;
    border: none; border-radius: 12px; cursor: pointer; transition: all 0.25s ease;
}
.intro-modal-close:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,160,0,0.3); }
@media (max-width: 768px) {
    .intro-modal { padding: 28px 24px 24px; }
    .intro-modal-columns { grid-template-columns: 1fr; gap: 20px; }
    .intro-modal-title { font-size: 22px; }
}
@media (max-width: 768px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .two-col, .comparison-grid { grid-template-columns: 1fr; }
    .three-col, .era-grid, .metric-dashboard { grid-template-columns: 1fr; }
    .exec-summary-grid { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .scorecard-row { grid-template-columns: 30px 1fr 80px 80px 70px; gap: 8px; font-size: 12px; padding: 12px; }
    .mobile-nav-toggle { display: flex; }
    .nav-links {
        display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
        flex-direction: column; padding: 16px 32px; gap: 4px;
        border-bottom: 1px solid var(--border-color); box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; font-size: 15px; border-radius: 8px; }
    .container { padding: 0 20px; }
    section { padding: 36px 0; }
    .hero { padding: 110px 0 48px; }
    .page-nav { flex-direction: column; }
    .page-nav a { max-width: 100%; }
    .inline-cta { flex-direction: column; text-align: center; }
    .inline-cta-text { max-width: 100%; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media print {
    :root { --bg-primary:#fff;--bg-secondary:#f4f5f6;--bg-surface:#e8e9ea;--text-primary:#222;--text-secondary:#444;--text-muted:#666;--accent:#c4a000;--border-color:rgba(0,0,0,0.1); }
    nav, .scroll-progress, .nav-btn, .page-nav, .cta-section { display: none !important; }
    .accordion-content { display: block !important; max-height: none !important; }
    .tab-panel { display: block !important; }
    .stat-card, .insight-callout, .person-card, .info-card, .timeline-item { break-inside: avoid; }
    h2, h3 { break-after: avoid; }
    .animate-on-scroll { opacity: 1 !important; transform: none !important; }
    .hero-animate { opacity: 1 !important; }
    .bar-fill { width: var(--bar-width) !important; }
    body { font-size: 12px; }
    @page { margin: 0.75in; size: letter; }
    .success, .warning, .danger { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
