/* ==========================================================================
   MICHAEL STAHL — DIGITAL GOVERNMENT ADVISORY
   Clean, Authoritative Editorial Stylesheet
   ========================================================================== */

:root {
    /* Color Palette - Single Warm Accent with Deep Navy & Neutrals */
    --bg-primary: #FFFFFF;
    --bg-surface: #F8FAFC;
    --bg-subtle: #F1F5F9;
    --bg-warm-tint: #FFFDF9;
    
    --text-primary: #0F172A;     /* Deep Midnight Navy */
    --text-secondary: #475569;   /* Muted Slate Grey */
    --text-muted: #64748B;       /* Light Slate */
    --text-inverse: #FFFFFF;
    
    --accent-primary: #C2722B;   /* Warm Bronze / Amber */
    --accent-primary-hover: #A35A1E;
    --accent-tint: rgba(194, 114, 43, 0.08);
    --accent-border: rgba(194, 114, 43, 0.25);
    
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-dark: #94A3B8;

    /* Typography */
    --font-heading: 'Newsreader', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout & Elevation */
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
    
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Defaults */
h1, h2, h3, h4, h5 {
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary-hover);
}

strong {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1.2;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: var(--accent-primary-hover);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary) !important;
    border-color: var(--border-medium);
}

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: #FFFFFF !important;
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.825rem;
}

.btn-subtle {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-subtle:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
}

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

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

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.brand-title {
    font-size: 0.725rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.linkedin-icon-img {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

/* Section Header Shared */
.section-header {
    margin-bottom: 3rem;
}

.section-header.text-center {
    text-align: center;
}

.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.65rem;
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.5;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 4rem 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--accent-primary);
    background-color: var(--accent-tint);
    border: 1px solid var(--accent-border);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.8vw, 3.25rem);
    line-height: 1.18;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-lead {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Hero Profile Panel & Larger Photo */
.hero-profile-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 360px;
    width: 100%;
    margin-left: auto;
}

.portrait-frame {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.portrait-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-sm);
    display: block;
    margin-bottom: 0.85rem;
}

.portrait-caption strong {
    display: block;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.portrait-caption span {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.hero-key-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.hero-map-card {
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-map-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.stat-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-lbl {
    display: block;
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.2rem;
}

.hero-availability-card {
    background: var(--bg-warm-tint);
    border: 1px solid #FED7AA;
    border-left: 3px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
}

.availability-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: #9A3412;
    margin-bottom: 0.2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    display: inline-block;
}

.availability-text {
    font-size: 0.75rem;
    color: #7C2D12;
    margin: 0;
    line-height: 1.35;
}

/* Institutional Partners Bar in Hero */
.hero-partners-block {
    margin-top: 3.5rem;
    padding-top: 2.75rem;
    border-top: 1px solid var(--border-medium);
}

.hero-partners-header {
    margin-bottom: 1.5rem;
}

.hero-partners-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.3rem;
}

.hero-partners-sub {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-partners-block .reach-grid {
    margin-bottom: 0;
    gap: 1.5rem;
}

.hero-partners-block .reach-card {
    background-color: #FFFFFF;
    padding: 1.5rem 1.5rem;
}

/* ==========================================================================
   Section 2: Ground Truth / Real Practice Stories
   ========================================================================== */
.stories-section {
    padding: 3.5rem 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.practice-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.practice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: var(--border-medium);
}

.practice-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.practice-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-top: 0.15rem;
}

.practice-header-text h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 0;
}

.practice-kicker {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

/* Two-Tone Distinct Panels for Immediate Visual Scanning */
.practice-panel {
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    margin-bottom: 0.85rem;
}

.risk-panel {
    background-color: #FFF1F2;          /* Soft rose background */
    border: 1px solid #FFE4E6;
    border-left: 4px solid #E11D48;      /* Rose crimson indicator */
}

.help-panel {
    background-color: #F0FDF4;          /* Soft mint green background */
    border: 1px solid #DCFCE7;
    border-left: 4px solid #059669;      /* Emerald indicator */
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.panel-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.risk-label {
    color: #BE123C;
}

.help-label {
    color: #047857;
}

.panel-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #1E293B;
    margin: 0;
}

.practice-divider {
    height: 1px;
    background: #BBF7D0;
    margin: 0.85rem 0;
}

.practice-example {
    font-size: 0.84rem;
    line-height: 1.5;
    color: #166534;
    margin-bottom: 0.65rem;
}

.practice-example em {
    font-style: italic;
}

.practice-result {
    font-size: 0.84rem;
    line-height: 1.45;
    color: #0F172A;
    margin-top: auto;
}

.practice-result strong {
    color: #0F172A;
    font-weight: 700;
}

/* ==========================================================================
   Section 3: Verified Track Record & Publications
   ========================================================================== */
.experience-section {
    padding: 3.5rem 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}

.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--text-primary);
    color: #FFFFFF;
    border-color: var(--text-primary);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.engagement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.engagement-table thead {
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border-medium);
}

.engagement-table th {
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.engagement-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    line-height: 1.55;
}

.engagement-table tr:last-child td {
    border-bottom: none;
}

.engagement-table tr:hover td {
    background-color: #FAFAFA;
}

.col-period {
    white-space: nowrap;
}

.year-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.35rem;
}

.role-title {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.col-program strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.tag-geo {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.4rem;
}

.client-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.col-context {
    color: var(--text-secondary);
}

.col-impact {
    color: #1E293B;
}

.col-impact strong {
    color: var(--text-primary);
}

/* ==========================================================================
   Interactive Geographic Portfolio Explorer (Light & Warm Editorial Theme)
   ========================================================================== */
.portfolio-explorer-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-top: 3.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.explorer-header {
    margin-bottom: 1.75rem;
}

.explorer-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.explorer-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.explorer-subtitle {
    font-size: 0.925rem;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.5;
    margin: 0;
}

.explorer-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

.explorer-map-container {
    background-color: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.portfolio-svg-map {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    user-select: none;
    background-color: #F8FAFC;
    border-radius: var(--radius-sm);
}

/* Graticule */
.map-graticule line {
    stroke: rgba(148, 163, 184, 0.35);
    stroke-width: 0.65;
    stroke-dasharray: 3 4;
}

/* Real Political Map Countries */
.country-base {
    fill: #E9EEF5;
    stroke: #CBD5E1;
    stroke-width: 0.65;
    transition: fill var(--transition-fast);
}

.country-base:hover {
    fill: #DFE7F2;
}

.country-highlight {
    fill: rgba(194, 114, 43, 0.16);
    stroke: #C2722B;
    stroke-width: 1.15;
    cursor: pointer;
    transition: all 0.25s ease;
}

.country-highlight:hover {
    fill: rgba(194, 114, 43, 0.28);
    stroke: #9A3412;
    stroke-width: 1.4;
}

.country-highlight.active-country {
    fill: rgba(194, 114, 43, 0.35);
    stroke: #9A3412;
    stroke-width: 1.6;
}

.country-highlight.primary-focus {
    stroke-width: 1.35;
}

/* Map Waypoint Pins */
.map-pin-group {
    cursor: pointer;
    outline: none;
}

.pin-hit-area {
    pointer-events: all;
}

.pin-halo {
    fill: rgba(194, 114, 43, 0.2);
    pointer-events: none;
    transition: fill 0.25s ease;
}

.map-pin-group:hover .pin-halo,
.map-pin-group.active .pin-halo {
    fill: rgba(194, 114, 43, 0.35);
    animation: mapPinPulse 2.2s infinite ease-out;
}

@keyframes mapPinPulse {
    0% {
        r: 10px;
        opacity: 0.9;
    }
    50% {
        r: 20px;
        opacity: 0.25;
    }
    100% {
        r: 10px;
        opacity: 0.9;
    }
}

.pin-core {
    fill: var(--accent-primary);
    stroke: #FFFFFF;
    stroke-width: 2.2;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.2s ease, stroke 0.2s ease;
}

.map-pin-group:hover .pin-core,
.map-pin-group:focus-visible .pin-core {
    transform: scale(1.3);
}

.map-pin-group.active .pin-core {
    fill: #0F172A;
    stroke: #FFFFFF;
    transform: scale(1.25);
}

/* Floating SVG Tooltip Pill */
.pin-tooltip {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateY(3px);
}

.map-pin-group:hover .pin-tooltip,
.map-pin-group:focus-visible .pin-tooltip,
.map-pin-group.active .pin-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Right Detail Panel */
.explorer-detail-panel {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.explorer-region-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.2rem;
}

.explorer-country-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.explorer-count-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 0.15rem 0.55rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.explorer-project-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.25rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.explorer-project-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.explorer-client-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.65rem;
}

.explorer-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.explorer-also-region {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.also-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.also-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.also-pill {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.also-pill:hover,
.also-pill:focus-visible {
    background-color: var(--accent-tint);
    border-color: var(--accent-border);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

/* Publications Block */
.publications-box {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-medium);
}

.publications-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.publications-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pub-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.pub-org {
    display: block;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.pub-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.pub-card p {
    font-size: 0.835rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   Section 3: When Partners Bring Me In (Consolidated)
   ========================================================================== */
.how-i-work-section {
    padding: 3.5rem 0;
    background-color: var(--bg-warm-tint);
    border-bottom: 1px solid var(--border-light);
}

.work-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 0;
}

.pillar-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pillar-badge {
    align-self: flex-start;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.pillar-audience {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.pillar-summary {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.845rem;
    line-height: 1.5;
}

.pillar-list li {
    position: relative;
    padding-left: 1.2rem;
}

.pillar-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
}

/* Engagement Structures Bar */
.engagement-structures-box {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-sm);
}

.structure-item {
    flex: 1;
}

.structure-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.structure-time {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.structure-item p {
    font-size: 0.835rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.structure-divider {
    width: 1px;
    background-color: var(--border-light);
}

/* ==========================================================================
   Section 5: When I Am Not the Right Fit (Boundary & Trust)
   ========================================================================== */
.not-fit-section {
    padding: 3rem 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.not-fit-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.not-fit-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    margin-bottom: 0.75rem;
}

.not-fit-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.not-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.not-fit-item {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.not-fit-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.not-fit-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.not-fit-footer {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.55;
}

.not-fit-footer strong {
    color: var(--accent-primary);
}

/* ==========================================================================
   Section 6: Institutional Reach & Partner Logos (Dark Navy Showcase)
   ========================================================================== */
.reach-section {
    padding: 5rem 0;
    background: linear-gradient(145deg, #0F172A 0%, #172542 100%);
    border-bottom: 1px solid #1E293B;
}

.reach-dark-box {
    background: transparent;
    border: none;
    padding: 0;
}

.reach-dark-header {
    margin-bottom: 2.75rem;
}

.reach-dark-kicker {
    color: #FBBF24;
}

.reach-dark-title {
    color: #FFFFFF;
}

.reach-dark-subtitle {
    color: #CBD5E1;
}

.reach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 0;
}

.reach-card {
    background-color: #1E293B;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.reach-category {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FBBF24;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.partner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.partner-logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
}

.partner-logo-badge {
    width: 96px;
    height: 54px;
    border-radius: 7px;
    background-color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px 6px;
}

.partner-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.35;
}

.geo-footprint-box {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-top: 2.25rem;
    box-shadow: var(--shadow-sm);
}

.geo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.geo-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.country-coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.country-region-title {
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
}

/* ==========================================================================
   Section 7: Human Contact Section
   ========================================================================== */
.contact-section {
    padding: 5rem 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}

.contact-card-main {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    max-width: 960px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.contact-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-action-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-direct-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-subhead {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.email-copy-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.email-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
}

.copy-btn {
    align-self: flex-start;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background-color: var(--text-primary);
    color: #FFFFFF;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.linkedin-contact-img {
    width: 16px;
    height: 16px;
}

.contact-note {
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 2.5rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--text-primary);
    color: #FFFFFF;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    pointer-events: none;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-badge {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.modal-region-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.modal-region-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .stories-grid,
    .work-pillars-grid,
    .publications-grid,
    .not-fit-grid,
    .reach-grid,
    .country-coverage-grid,
    .contact-action-box,
    .explorer-layout {
        grid-template-columns: 1fr;
    }

    .engagement-structures-box {
        flex-direction: column;
        gap: 1.5rem;
    }

    .structure-divider {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-profile-panel {
        margin: 0 auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-light);
        padding: 1.5rem;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* ==========================================================================
   Print / PDF Export Stylesheet
   ========================================================================== */
.print-only-header {
    display: none;
}

@media print {
    @page {
        margin: 1.2cm;
        size: A4 portrait;
    }

    .print-only-header {
        display: block !important;
        font-family: var(--font-sans);
        font-size: 13pt;
        font-weight: 700;
        text-align: center;
        border-bottom: 2px solid #000000;
        padding-bottom: 6px;
        margin-bottom: 16px;
        color: #000000 !important;
    }

    .site-header,
    .filter-bar,
    .mobile-toggle,
    .copy-btn,
    .toast,
    .modal-backdrop,
    .site-footer,
    .btn {
        display: none !important;
    }

    .story-card,
    .pillar-card,
    .pub-card,
    .not-fit-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body {
        background-color: #FFFFFF !important;
        color: #000000 !important;
        font-size: 9.5pt;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .hero-section {
        padding: 1rem 0 !important;
        background: none !important;
    }

    .portrait-img {
        max-height: 180px !important;
    }

    .engagement-table {
        font-size: 8.5pt !important;
    }

    .engagement-table th,
    .engagement-table td {
        padding: 0.45rem !important;
        border-color: #CCCCCC !important;
    }
}
