/* ==========================================================================
   Ali Beydoun Professional Website - Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Brand Colors & Typography
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors (from official brand guide) */
    --brand-navy: #001f3f;
    --brand-blue: #0074D9;
    --brand-grey: #AAAAAA;

    /* Primary Palette - Navy & Blue */
    --primary: #1a365d;
    --primary-dark: #0f2744;
    --secondary: #2c5282;
    --accent: #3182ce;
    --accent-light: #4299e1;

    /* Accent Palette - Electric Blue (was Gold) */
    --accent-warm: #0074D9;
    --accent-warm-dark: #005bb5;
    --accent-warm-light: #4da6ff;
    --accent-pop: #0074D9;
    --accent-pop-dark: #005bb5;

    /* Brand Typography */
    --font-brand: 'Montserrat', sans-serif;

    /* Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-inverse: #ffffff;

    /* Background & Surface */
    --background: #ffffff;
    --surface: #f7fafc;
    --surface-alt: #edf2f7;
    --border: #e2e8f0;

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

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Layout */
    --max-width: 1200px;
    --content-width: 800px;
    --nav-height: 72px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

h1 {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-md);
}

.lead {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.7;
}

.small {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: var(--content-width);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-compact {
    padding: var(--space-lg) 0;
}

.section-alt {
    background-color: var(--surface);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.85;
    color: var(--primary);
}

.nav-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-logo-mark svg {
    width: 100%;
    height: 100%;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.nav-logo-text {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: var(--text-base);
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(0, 116, 217, 0.08);
}

.nav-toggle:active {
    background: rgba(0, 116, 217, 0.15);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        padding: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

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

    .nav-links a {
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-md);
        transition: background var(--transition-fast);
        color: var(--text-primary);
        font-weight: 600;
    }

    .nav-links a:hover {
        background: rgba(0, 116, 217, 0.1);
    }

    .nav-links a.active {
        background: rgba(0, 116, 217, 0.15);
        color: var(--accent-warm);
    }
}

@media (max-width: 480px) {
    .nav-logo-text {
        display: none;
    }

    .nav-logo-img {
        height: 44px;
    }

    .nav-logo-mark {
        width: 32px;
        height: 32px;
    }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */

/* Home Hero - Navy with horizontal layout */
.home-hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-lg);
    background: var(--primary);
    color: var(--text-inverse);
}

.home-hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-hero-photo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-md);
}

/* Brand Lockup - Logo as corner stamp, content centered */
.brand-lockup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-md);
}

.brand-lockup-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 56px;
    width: auto;
    opacity: 0.9;
}

.brand-lockup-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-lockup-photo {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.brand-lockup-text h1 {
    font-family: var(--font-brand);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-inverse);
    letter-spacing: 0.03em;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.brand-lockup-role {
    font-family: var(--font-brand);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--brand-grey);
    letter-spacing: 0.01em;
}

.home-hero-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 580px;
}

.home-hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-ctas {
    display: flex;
    gap: var(--space-sm);
}

.home-hero-stats {
    display: flex;
    gap: var(--space-md);
}

.home-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 70px;
}

.home-hero-stat-number {
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--accent-warm);
    line-height: 1;
}

.home-hero-stat-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .home-hero .container {
        align-items: center;
        text-align: center;
    }

    /* Scale down on mobile */
    .brand-lockup {
        margin-bottom: var(--space-xs);
    }

    .brand-lockup-logo {
        height: 40px;
        opacity: 0.7;
    }

    .brand-lockup-photo {
        width: 80px;
        height: 80px;
        margin-bottom: var(--space-sm);
    }

    .brand-lockup-text h1 {
        font-size: var(--text-2xl);
    }

    .brand-lockup-role {
        font-size: var(--text-xs);
    }

    .home-hero-tagline {
        max-width: none;
    }

    .home-hero-footer {
        flex-direction: column;
        gap: var(--space-md);
    }

    .home-hero-ctas {
        width: 100%;
        justify-content: center;
    }

    .home-hero-stats {
        gap: var(--space-sm);
    }

    .home-hero-stat {
        flex: 1;
        min-width: 60px;
        padding: var(--space-xs) var(--space-sm);
    }
}

/* Landscape mobile - use horizontal space */
@media (max-width: 900px) and (orientation: landscape) {
    .home-hero {
        padding-top: calc(var(--nav-height) + var(--space-md));
        padding-bottom: var(--space-md);
    }

    .home-hero .container {
        align-items: flex-start;
        text-align: left;
    }

    .brand-lockup {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
        margin-bottom: var(--space-sm);
    }

    .brand-lockup-logo {
        position: static;
        height: 48px;
        opacity: 1;
    }

    .brand-lockup-photo {
        width: 70px;
        height: 70px;
        margin-bottom: 0;
    }

    .brand-lockup-text {
        align-items: flex-start;
    }

    .brand-lockup-text h1 {
        font-size: var(--text-xl);
    }

    .brand-lockup-role {
        font-size: var(--text-xs);
    }

    .home-hero-tagline {
        font-size: var(--text-sm);
        margin-bottom: var(--space-sm);
        max-width: 100%;
    }

    .home-hero-footer {
        flex-direction: row;
        padding: var(--space-sm) var(--space-md);
    }

    .home-hero-ctas {
        width: auto;
    }

    .home-hero-stat {
        padding: var(--space-xs) var(--space-sm);
    }

    .home-hero-stat-number {
        font-size: var(--text-base);
    }
}

/* Legacy hero (keeping for compatibility) */
.hero {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    text-align: center;
}

.hero-photo {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--background);
}

.hero h1 {
    margin-bottom: var(--space-xs);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.hero-tagline {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--primary);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-cta:hover {
    background: var(--primary-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   Highlights Cards
   -------------------------------------------------------------------------- */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.highlight-card {
    background: var(--surface);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.highlight-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.highlight-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .highlights {
        grid-template-columns: 1fr;
    }
}

/* Section Intro */
.section-intro {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    max-width: 700px;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.industry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.industry-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.industry-item-current {
    border-left: 3px solid var(--accent-warm);
    background: var(--background);
    box-shadow: 0 4px 12px rgba(0, 116, 217, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.industry-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-base);
}

.industry-label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* Home CTA Card */
.home-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(247, 250, 252, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-cta-content h2 {
    font-size: var(--text-lg);
    margin-bottom: 4px;
}

.home-cta-content p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.home-cta-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.home-cta-buttons .hero-cta,
.home-cta-buttons .hero-cta-warm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
}

@media (max-width: 640px) {
    .home-cta-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   Expertise Section
   -------------------------------------------------------------------------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--background);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.expertise-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.expertise-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: var(--radius-md);
    color: var(--accent);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.expertise-text {
    font-weight: 500;
}

@media (max-width: 640px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   About Page Styles
   -------------------------------------------------------------------------- */

/* About Hero */
.about-hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-lg);
    background: var(--primary);
    color: var(--text-inverse);
}

.about-hero-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.about-hero-photo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.about-hero-text h1 {
    color: var(--text-inverse);
    margin-bottom: 4px;
    font-size: var(--text-3xl);
}

.about-hero-role {
    color: var(--accent-warm);
    font-weight: 600;
    font-size: var(--text-base);
    margin-bottom: 4px;
}

.about-hero-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-base);
    margin: 0;
}

/* About Intro Text */
.about-intro-text {
    max-width: var(--content-width);
}

.about-lead {
    font-size: var(--text-xl);
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.about-intro-text p {
    color: var(--text-secondary);
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--background);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.credential-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.credential-badge {
    background: var(--accent-warm);
    color: var(--text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 116, 217, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.credential-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.credential-text strong {
    font-size: var(--text-base);
    color: var(--text-primary);
}

.credential-text span {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .about-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .about-hero-photo {
        width: 80px;
        height: 80px;
    }

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

/* Philosophy Cards */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.philosophy-card {
    padding: var(--space-md);
    background: var(--background);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.philosophy-card h3 {
    color: var(--primary);
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.philosophy-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* Certifications */
.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.cert-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Experience Page
   -------------------------------------------------------------------------- */

/* Experience Hero */
.experience-hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-lg);
    background: var(--primary);
    color: var(--text-inverse);
}

.experience-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.experience-hero-text h1 {
    color: var(--text-inverse);
    margin-bottom: var(--space-xs);
}

.experience-hero-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-base);
    margin: 0;
    max-width: 500px;
}

.experience-hero-stats {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

.experience-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.experience-hero-stat-number {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent-warm);
    line-height: 1;
}

.experience-hero-stat-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .experience-hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .experience-hero-tagline {
        max-width: none;
    }

    .experience-hero-stats {
        gap: var(--space-lg);
    }
}

/* --------------------------------------------------------------------------
   Experience Timeline
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding: var(--space-md);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
    background: var(--background);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.timeline-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--space-xl) - 3px);
    top: var(--space-md);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: var(--radius-full);
    border: 3px solid var(--background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.timeline-period {
    font-size: var(--text-xs);
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: var(--text-lg);
    margin-bottom: 4px;
}

.timeline-industry {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-xs);
}

.timeline-description {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* Capabilities Grid */
.capabilities-section {
    margin-top: var(--space-2xl);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.capability-category {
    background: var(--background);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.capability-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.capability-category h4 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.capability-tag {
    padding: 4px 10px;
    background: var(--surface);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.capability-tag:hover {
    background: rgba(0, 116, 217, 0.08);
    color: var(--accent-warm);
    border-color: rgba(0, 116, 217, 0.2);
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Blog Styles
   -------------------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.blog-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-card-featured {
    border-left: 3px solid var(--accent-warm);
}

.blog-card-content {
    padding: var(--space-md);
}

.blog-card-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.blog-category {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 600;
}

.blog-date {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.blog-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-excerpt {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 0;
}

.blog-read-time {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-top: var(--space-sm);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Post Page */
.blog-post {
    max-width: var(--content-width);
    margin: 0 auto;
}

.blog-post-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.blog-post-title {
    margin-bottom: var(--space-md);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.blog-post-content {
    font-size: var(--text-lg);
    line-height: 1.8;
}

.blog-post-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.blog-post-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.blog-post-content p {
    margin-bottom: var(--space-md);
}

.blog-post-content pre {
    background: var(--surface);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.blog-post-content code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: var(--text-sm);
}

.blog-post-content p code {
    background: var(--surface);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

/* Blog Featured Image */
.blog-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

/* Blog Callout/Highlight Boxes */
.callout {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--accent);
    background: var(--surface);
}

.callout-info {
    border-left-color: var(--accent);
    background: rgba(49, 130, 206, 0.08);
}

.callout-warning {
    border-left-color: #d69e2e;
    background: rgba(214, 158, 46, 0.08);
}

.callout-success {
    border-left-color: #38a169;
    background: rgba(56, 161, 105, 0.08);
}

.callout-title {
    font-weight: 700;
    margin-bottom: var(--space-xs);
    font-size: var(--text-base);
}

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

/* Blog Lists */
.blog-post-content ul,
.blog-post-content ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.blog-post-content li {
    margin-bottom: var(--space-xs);
}

/* Blog Blockquote */
.blog-post-content blockquote {
    border-left: 4px solid var(--border);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.blog-tag {
    padding: var(--space-xs) var(--space-sm);
    background: var(--surface);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    text-decoration: none;
}

.blog-tag:hover {
    background: var(--surface-alt);
    color: var(--text-primary);
}

/* Blog Author Box */
.author-box {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2xl);
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: var(--space-xs);
}

.author-info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Blog Card Image */
.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Schema Markup - Hidden but SEO friendly */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--primary);
    color: var(--text-inverse);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: var(--text-sm);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--text-inverse);
    opacity: 0.8;
    font-size: var(--text-sm);
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--text-inverse);
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

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

.text-accent {
    color: var(--accent);
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Page header offset for fixed nav */
.page-header {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-xl);
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header .lead {
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Blog Index Page - Enhanced Styles
   -------------------------------------------------------------------------- */

/* Blog Hero - Compact */
.blog-hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-lg);
    background: var(--primary);
    color: var(--text-inverse);
}

.blog-hero-content {
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.blog-hero h1 {
    margin-bottom: var(--space-xs);
    color: var(--text-inverse);
}

.blog-hero-tagline {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0;
}

.blog-hero-stats {
    display: flex;
    gap: var(--space-lg);
    flex-shrink: 0;
}

.blog-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blog-stat-number {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent-warm);
    line-height: 1;
}

.blog-stat-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Hero Brand Mark - White logo accent on dark heroes */
.hero-brand-mark {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    height: 48px;
    width: auto;
    opacity: 0.6;
    pointer-events: none;
}

.home-hero .container,
.about-hero .container,
.experience-hero .container,
.blog-hero .container {
    position: relative;
}

@media (max-width: 768px) {
    .hero-brand-mark {
        display: none;
    }
}

/* Category Filter Pills */
.blog-categories-section {
    padding: var(--space-sm) 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
}

.blog-categories {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.blog-category-pill {
    padding: var(--space-xs) var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.blog-category-pill:hover {
    background: var(--surface-alt);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.blog-category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin: 0;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-header-center {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
}

.section-header-center .section-line {
    display: none;
}

.section-subtitle {
    color: var(--text-tertiary);
    font-size: var(--text-lg);
    margin: 0;
}

/* Featured Post Card */
.blog-featured-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-sm);
}

.blog-featured-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.blog-featured-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-featured-content {
    padding: var(--space-lg);
}

.blog-featured-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.blog-featured-content h3 a {
    color: var(--text-primary);
}

.blog-featured-content h3 a:hover {
    color: var(--accent);
}

.blog-featured-content .blog-excerpt {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.blog-featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

/* Blog Card Footer */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

/* Read More Link */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition-fast);
}

.blog-read-more:hover {
    gap: var(--space-sm);
    color: var(--accent-light);
}

.blog-read-more svg {
    transition: transform var(--transition-fast);
}

.blog-read-more:hover svg {
    transform: translateX(4px);
}

/* Blog Topics Grid */
.blog-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.blog-topic-card {
    padding: var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.blog-topic-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.blog-topic-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: var(--radius-md);
    margin: 0 auto var(--space-sm);
    color: var(--accent);
}

.blog-topic-icon svg {
    width: 20px;
    height: 20px;
}

.blog-topic-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

.blog-topic-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.blog-topic-count {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Blog CTA Card */
.blog-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(247, 250, 252, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-cta-content h2 {
    font-size: var(--text-lg);
    margin-bottom: 4px;
}

.blog-cta-content p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.blog-cta-card .hero-cta {
    background: var(--primary);
    color: var(--text-inverse);
    flex-shrink: 0;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
}

.blog-cta-card .hero-cta:hover {
    background: var(--primary-dark);
    color: var(--text-inverse);
}

/* Responsive Blog Index */
@media (max-width: 768px) {
    .blog-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .blog-hero-stats {
        gap: var(--space-md);
    }

    .blog-stat-number {
        font-size: var(--text-xl);
    }

    .blog-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-xs);
        -webkit-overflow-scrolling: touch;
    }

    .blog-category-pill {
        flex-shrink: 0;
    }

    .blog-topics-grid {
        grid-template-columns: 1fr;
    }

    .blog-cta-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .blog-featured-content {
        padding: var(--space-md);
    }

    .blog-featured-content h3 {
        font-size: var(--text-lg);
    }
}

/* --------------------------------------------------------------------------
   Blog Post Header Illustrations
   -------------------------------------------------------------------------- */
.blog-post-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.blog-post-illustration svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Illustration color theming */
.blog-illustration-primary {
    fill: var(--primary);
}

.blog-illustration-secondary {
    fill: var(--secondary);
}

.blog-illustration-accent {
    fill: var(--accent);
}

.blog-illustration-light {
    fill: var(--surface);
}

.blog-illustration-stroke {
    stroke: var(--accent);
    fill: none;
}

.blog-illustration-stroke-light {
    stroke: var(--border);
    fill: none;
}

@media (max-width: 640px) {
    .blog-post-illustration svg {
        max-width: 320px;
    }
}

/* --------------------------------------------------------------------------
   Warm Accent Styles - Gold/Amber & Orange
   -------------------------------------------------------------------------- */

/* Warm Utility Classes */
.text-warm { color: var(--accent-warm); }
.text-pop { color: var(--accent-pop); }
.bg-warm { background-color: var(--accent-warm); }
.bg-pop { background-color: var(--accent-pop); }
.border-warm { border-color: var(--accent-warm); }

/* Warm CTA Button */
.hero-cta-warm {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--accent-warm);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 116, 217, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-cta-warm:hover {
    background: var(--accent-warm-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 116, 217, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-cta-warm svg {
    width: 20px;
    height: 20px;
}

/* Featured Badge */
.badge-featured {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 4px 12px;
    background: var(--accent-warm);
    color: var(--text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 116, 217, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.badge-new {
    background: var(--accent-pop);
}

/* Featured Post Card Accent */
.blog-featured-card-warm {
    border-left: 4px solid var(--accent-warm);
}

.blog-featured-card-warm:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-warm-light);
}

/* Warm Callout */
.callout-warm {
    border-left-color: var(--accent-warm);
    background: rgba(214, 158, 46, 0.08);
}

.callout-warm .callout-title {
    color: var(--accent-warm-dark);
}

/* Warm Timeline Dot (for current/active item) */
.timeline-dot-active {
    background: var(--accent-warm);
    box-shadow: 0 0 0 4px rgba(0, 116, 217, 0.2), 0 2px 8px rgba(0, 116, 217, 0.3);
}

/* Warm Category Badge */
.blog-category-warm {
    color: var(--accent-warm-dark);
    background: rgba(214, 158, 46, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Selection Highlight */
::selection {
    background: var(--accent-warm-light);
    color: var(--text-primary);
}

/* Warm accent for blog illustration */
.blog-illustration-warm {
    fill: var(--accent-warm);
}

.blog-illustration-pop {
    fill: var(--accent-pop);
}

/* --------------------------------------------------------------------------
   Homepage Warm Accent Enhancements
   -------------------------------------------------------------------------- */

/* Highlight Card with Accent */
.highlight-card-accent {
    border-top: 3px solid var(--accent-warm);
}

.highlight-card-accent:hover {
    box-shadow: var(--shadow-lg), 0 -3px 0 var(--accent-warm);
}

/* Current Badge */
.badge-current {
    display: inline-block;
    padding: 2px 10px;
    background: var(--accent-warm);
    color: var(--text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 116, 217, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Expertise Item Featured */
.expertise-item-featured {
    border-color: var(--accent-warm);
    border-width: 2px;
    box-shadow: 0 4px 16px rgba(0, 116, 217, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Expertise Icon Warm */
.expertise-icon-warm {
    background: rgba(0, 116, 217, 0.1);
    color: var(--accent-warm);
    box-shadow: 0 2px 8px rgba(0, 116, 217, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Section Link in Header */
.section-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-warm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.section-link:hover {
    color: var(--accent-pop);
}

.section-link::after {
    content: '\2192';
    transition: transform var(--transition-fast);
}

.section-link:hover::after {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Homepage Blog Feed
   -------------------------------------------------------------------------- */
.blog-feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.blog-feed-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: var(--space-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.blog-feed-card.blog-feed-featured {
    border-left: 4px solid var(--accent-warm);
}

.blog-feed-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.blog-feed-category {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 600;
}

.blog-feed-date {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.blog-feed-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.blog-feed-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-feed-card h3 a:hover {
    color: var(--accent);
}

.blog-feed-excerpt {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.blog-feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

.blog-feed-time {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.blog-feed-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.blog-feed-link:hover {
    color: var(--accent-light);
}

.blog-feed-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.blog-feed-link:hover svg {
    transform: translateX(4px);
}

/* Empty state for blog feed */
.blog-feed-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .blog-feed {
        grid-template-columns: 1fr;
    }
}
