/* =========================================
   1. DESIGN TOKENS & VARIABLES
   ========================================= */
:root {
    /* LIGHT MODE (DEFAULT) */
    --bg-page: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    
    --text-main: #0f172a;    /* Slate 900 */
    --text-muted: #64748b;   /* Slate 500 */
    
    --accent-primary: #4f46e5; /* Indigo 600 */
    --accent-glow: rgba(79, 70, 229, 0.1);
    
    --border-color: #e2e8f0; /* Slate 200 */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --hero-overlay: radial-gradient(circle at top right, rgba(79, 70, 229, 0.05), transparent 70%);
    --nav-bg: rgba(255, 255, 255, 0.9);
    
    /* Spacing & Radius */
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* DARK MODE OVERRIDES */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-page: #0f172a;       /* Slate 900 */
        --bg-card: #1e293b;       /* Slate 800 */
        --bg-card-hover: #334155; /* Slate 700 */
        
        --text-main: #f8fafc;     /* Slate 50 */
        --text-muted: #94a3b8;    /* Slate 400 */
        
        --accent-primary: #818cf8; /* Indigo 400 */
        --accent-glow: rgba(129, 140, 248, 0.15);
        
        --border-color: rgba(148, 163, 184, 0.15);
        
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);

        --hero-overlay: radial-gradient(circle at top right, rgba(129, 140, 248, 0.1), transparent 70%);
        --nav-bg: rgba(15, 23, 42, 0.85);
    }
}

/* =========================================
   2. RESET & BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .impact-number, .case-brand {
    font-family: var(--font-serif);
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding-top: 20px;
    gap: 15px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* =========================================
   4. HERO SECTION (FIXED SQUISHING)
   ========================================= */
.hero {
    padding: 140px 24px 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-page);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    pointer-events: none;
}

.hero-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-photo {
    max-width: 520px; 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    display: block;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* =========================================
   5. SECTIONS GENERAL
   ========================================= */
.section {
    padding: 100px 24px;
    max-width: 1120px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: left;
    color: var(--text-main);
}

/* =========================================
   6. PLAYBOOK
   ========================================= */
.playbook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1120px;
    margin: 0 auto;
}

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

.playbook-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.playbook-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.playbook-icon {
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.playbook-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.playbook-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =========================================
   7. IMPACT METRICS
   ========================================= */
.impact-section {
    background: var(--bg-card-hover);
    padding: 80px 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.impact-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.impact-number {
    display: block;
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* =========================================
   8. FEATURED WORK
   ========================================= */
.case-studies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

.case-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.case-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.case-brand-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.case-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}

.case-footer {
    padding: 0 30px 30px;
    margin-top: -10px;
}

.case-challenge, .case-strategy {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.case-challenge strong, .case-strategy strong {
    color: var(--text-main);
}

.case-metrics {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.metric-full {
    grid-column: 1 / -1;
}

/* =========================================
   9. BRAND LOGOS (OPTIMIZED)
   ========================================= */
.brands-section {
    text-align: center;
    background: var(--bg-card);
    padding: 80px 24px;
}

.brands-intro {
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.brand-logo img {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.brand-logo img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Specific size override for Downy to balance visual weight */
.brand-logo[title="Downy"] img {
    max-height: 65px; /* Reduced from the default 100px */
    width: auto;      /* Maintains aspect ratio */
}

/* Dark mode brand logos */
@media (prefers-color-scheme: dark) {
/* ... inside @media (prefers-color-scheme: dark) ... */

    /* Rule 1: Default for detailed logos (Miracle-Gro, Febreze, Roundup) */
    .brand-logo img {
        filter: grayscale(100%) brightness(1.5) contrast(1.2);
        opacity: 0.8;
    }

    /* Rule 2: OVERRIDE for dark text logos (Stainmaster, Downy) */
    /* This forces them to flip from Black Text -> White Text */
    .brand-logo[title="Stainmaster"] img, 
    .brand-logo[title="Downy"] img {
        filter: invert(1) grayscale(100%) brightness(1.5) !important;
        opacity: 0.9;
    }

    /* 1. Standard Hover (Great for Miracle-Gro/Febreze to show original colors) */
    .brand-logo img:hover {
        filter: none !important;
        opacity: 1;
        transform: scale(1.05);
    }

    /* 2. THE FIX: Force monochrome white for dark text logos */
    .brand-logo[title="Stainmaster"] img:hover, 
    .brand-logo[title="Downy"] img:hover {
        /* CHANGED: grayscale(0%) -> grayscale(100%) */
        /* This removes the yellow tint (inverted blue) and leaves pure white */
        filter: invert(1) grayscale(100%) brightness(1.5) !important;
        opacity: 1;
    }
}

/* =========================================
   10. TIMELINE (OPTIMIZED WITH FLEXBOX)
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* The Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 110px; 
    top: 5px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    padding-left: 150px; 
    position: relative;
    margin-bottom: 50px;
    min-height: 60px;
}

/* The Dot (Circle) - Aligned with logo baseline */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 101px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-page);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s;
}

.timeline-item:hover::after {
    background: var(--accent-primary);
}

/* OPTIMIZED LOGO STYLES - Aligned with Dots */
.timeline-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 85px;
    height: 30px;
    object-fit: contain;
    object-position: right center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Larger logos get more breathing room */
.timeline-logo[src*="smg"],
.timeline-logo[src*="invista"] {
    width: 100px;
    height: 40px;
    left: -15px;
}

/* Text Styling */
.timeline-company {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.2;
}

.timeline-role {
    font-size: 1rem;
    color: var(--accent-primary);
    margin-bottom: 4px;
    font-weight: 500;
}

.timeline-dates {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-highlight {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* DARK MODE - Simplified Filter Stack */
@media (prefers-color-scheme: dark) {
    .timeline-logo {
        filter: grayscale(100%) brightness(0) invert(1);
        opacity: 0.7;
    }
    .timeline-item:hover .timeline-logo {
        filter: grayscale(100%) brightness(0) invert(1);
        opacity: 1;
    }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .timeline::before { left: 70px; }
    .timeline-item::after { left: 61px; top: 5px; }
    .timeline-item { padding-left: 100px; }
    
    .timeline-logo {
        width: 50px;
        height: 25px;
        top: 0;
    }
    
    /* Reset larger logos to standard size on mobile */
    .timeline-logo[src*="smg"],
    .timeline-logo[src*="invista"] {
        width: 50px;
        height: 25px;
        left: 0;
    }
}

/* =========================================
   11. RECOGNITION
   ========================================= */
.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.recognition-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, border-color 0.3s;
}

.recognition-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.recognition-icon {
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.recognition-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.recognition-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   12. CTA & FOOTER
   ========================================= */
.final-cta {
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(to bottom, var(--bg-page), var(--bg-card));
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-option {
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    flex: 1 1 200px;
    box-shadow: var(--shadow-sm);
}

.footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: var(--bg-page);
}

/* =========================================
   13. RESPONSIVE UTILS
   ========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-photo {
        order: -1;
        margin: 0 auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .intro {
        text-align: center;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--text-main);
    color: var(--bg-page);
    padding: 12px 20px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-primary);
    outline-offset: 2px;
}

/* =========================================
   14. BUTTON SYSTEM
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-page);
    border-color: var(--text-main);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn .icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}

.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (prefers-color-scheme: dark) {
    .btn-primary {
        box-shadow: 0 0 20px rgba(129, 140, 248, 0.2);
    }

    .btn-primary:hover {
        box-shadow: 0 10px 30px rgba(129, 140, 248, 0.3);
    }
    
    .btn-secondary:hover {
        box-shadow: 0 4px 12px rgba(129, 140, 248, 0.2);
    }
}

.btn:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

.text-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.text-link:hover {
    border-bottom-color: var(--accent-primary);
}

/* =========================================
   15. PRESS & SPEAKING SECTION
   ========================================= */
.press-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (min-width: 1024px) {
    .press-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.press-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    height: 100%;
}

.press-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.press-source {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.press-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 16px;
    font-family: var(--font-serif);
    color: var(--text-main);
}

.press-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.press-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, gap 0.2s;
}

.press-link:hover {
    color: var(--accent-primary);
    gap: 10px;
}

/* =========================================
   16. LOGO BAR (OPTIMIZED)
   ========================================= */
.logo-bar {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 24px;
    background: var(--bg-page);
}

.logo-bar p {
    text-align: center; 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    margin-bottom: 24px; 
    text-transform: uppercase; 
    letter-spacing: 0.15em;
    font-weight: 600;
}

.logo-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px; 
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

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

.logo-bar-grid img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.logo-bar-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Dark mode logo bar */
@media (prefers-color-scheme: dark) {
    .logo-bar-grid img {
        filter: grayscale(100%) brightness(0) invert(1);
        opacity: 0.6;
    }
    
    .logo-bar-grid img:hover {
        filter: grayscale(100%) brightness(0) invert(1);
        opacity: 1;
        transform: scale(1.05);
    }
}

/* =========================================
   17. LOGO SPECIFIC ADJUSTMENTS
   ========================================= */

/* LBB Online - White text logo needs inversion in light mode */
img[src*="lbbonline"] {
    height: 50px !important;
    filter: invert(1);
    opacity: 0.6;
}

img[src*="lbbonline"]:hover {
    filter: invert(1);
    opacity: 1;
    transform: scale(1.05);
}

@media (prefers-color-scheme: dark) {
    img[src*="lbbonline"] {
        filter: none !important;
        opacity: 0.8;
    }
    
    img[src*="lbbonline"]:hover {
        filter: none !important;
        opacity: 1;
    }
}

/* The Current - Black text logo */
img[src*="thecurrent"] {
    height: 42px !important;
    filter: none;
    opacity: 0.8;
}

@media (prefers-color-scheme: dark) {
    img[src*="thecurrent"] {
        filter: invert(1) grayscale(100%) !important;
        opacity: 0.9;
    }
}

/* PR Newswire - Smaller to match visual weight */
img[src*="prnewswire"] {
    height: 22px !important;
    opacity: 0.7;
}

@media (prefers-color-scheme: dark) {
    img[src*="prnewswire"] {
        filter: invert(1) grayscale(100%) !important;
        opacity: 0.6;
    }
}

/* =========================================
   18. EDUCATION
   ========================================= */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.edu-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.edu-logo-box {
    height: 90px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.edu-logo-box img {
    max-height: 90px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.edu-card:hover .edu-logo-box img {
    transform: scale(1.05);
}

.edu-degree {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.edu-school {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 6px;
}

.edu-year {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (prefers-color-scheme: dark) {
    .edu-logo-box img {
        filter: brightness(1.1);
    }
    img[src*="emory"] {
        filter: brightness(0) invert(1);
    }
}

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

    .edu-card {
        padding: 24px;
    }
}