/* Global Reset & Variables */
:root {
    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    /* New Serif */

    /* Palette - Executive Gold & Navy */
    --bg-white: #ffffff;
    --bg-off-white: #F8F7F5;
    /* Warmer off-white */

    --text-primary: #0F172A;
    /* Deep Navy/Black */
    --text-accent: #D4AF37;
    /* Metallic Gold */
    --text-body: #475569;
    /* Slate Grey */
    --text-muted: #94A3B8;

    --border-subtle: #E2E8F0;
    --border-strong: #CBD5E1;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;

    --container-width: 1280px;

    --radius-sm: 2px;
    --radius-md: 4px;

    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.text-display {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    max-width: 90%;
}

.text-subheadline {
    font-size: 1.25rem;
    color: var(--text-body);
    font-weight: 400;
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 1.5rem auto 0;
    opacity: 0.2;
}

/* Navigation - Minimal & Fixed */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: none;
    /* Keep natural case for serif elegance */
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-body);
    transition: color 0.3s ease;
}

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

/* Hero Section - Executive Split */
/* Hero Section - Executive Split */
.hero-section {
    padding-top: 180px;
    padding-bottom: var(--spacing-md);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Text wider */
    gap: 5rem;
    align-items: center;
}

.hero-text-col {
    padding-right: 2rem;
}

.hero-overline {
    display: block;
    font-size: 0.85rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 4.5rem;
    /* Larger, dramatic */
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-headline .text-accent {
    color: var(--text-accent);
    font-style: italic;
    /* Classic elegance */
}

.hero-specialization {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Image Frame Effect */
.hero-image-col {
    position: relative;
    height: 550px;
    /* Frame Styling */
}

.hero-image-col::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 1px solid var(--border-subtle);
    z-index: 0;
}

/* Gold Corner Accent */
.hero-image-col::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid var(--text-accent);
    border-left: 2px solid var(--text-accent);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    position: relative;
    z-index: 1;
    background-color: var(--bg-off-white);
}

.hero-image:hover {
    filter: none;
    /* Keep natural */
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-primary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--text-primary);
    border-radius: 0;
    /* Sharp */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: white;
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--text-primary);
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: white;
    transform: translateY(-2px);
}

/* Identity Strip */
.identity-strip {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    background-color: #fff;
}

.strip-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    text-align: center;
}

.strip-item {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Generic Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    /* Huge spacing */
}

/* What I Fix */
.fix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 for calmness */
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fix-item {
    padding: 2rem;
    border-top: 1px solid var(--border-strong);
}

.fix-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.fix-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Interventions */
.case-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
}

.case-item {
    padding-left: 2rem;
    border-left: 1px solid var(--border-strong);
}

.case-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.case-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.case-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.case-value {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* AI Leadership */
.ai-section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ai-intro {
    font-size: 1.25rem;
    margin-bottom: 4rem;
    color: var(--text-body);
}

.ai-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.ai-point h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Executive Recognition */
.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.testimonial-simple {
    text-align: center;
}

.testimonial-simple p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-simple cite {
    font-size: 0.85rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Bio */
.bio-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-body);
}

.bio-wrapper p {
    margin-bottom: 2rem;
}

/* Certifications - Clean & Grouped */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.cert-group h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.cert-group ul li {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0.75rem;
    padding-left: 0;
}

/* Video Section - Boardroom Ready */
.video-section {
    background-color: var(--bg-off-white);
    padding: 5rem 0;
}

.video-frame {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    /* Placeholder bg */
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.video-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer & Contact */
/* Executive Footer Match */
.footer-executive {
    background-color: #0F172A;
    /* Deep Navy from image */
    color: white;
    padding: 6rem 0 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-overline {
    font-size: 0.8rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
    display: block;
}

.footer-headline {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-headline .text-accent {
    color: var(--text-accent);
    font-style: italic;
}

.footer-text {
    font-size: 1.1rem;
    color: #94A3B8;
    /* Slate-400 */
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.6;
}

.footer-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.btn-footer-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--text-accent);
    color: #0F172A;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-footer-primary:hover {
    background-color: white;
    transform: translateY(-2px);
}

.btn-footer-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent;
    color: white;
    border: 1px solid #334155;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-footer-secondary:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer-info-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 6rem;
    font-size: 0.9rem;
    color: #64748B;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-separator {
    color: #334155;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 2rem;
    width: 100%;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 0.85rem;
}

.logo-footer {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748B;
}

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

/* Mobile Adjustments for Footer */
@media (max-width: 768px) {
    .footer-headline {
        font-size: 2.5rem;
    }

    .footer-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .footer-info-row {
        flex-direction: column;
        gap: 1rem;
    }

    .info-separator {
        display: none;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Responsiveness for Main Layout */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }

    .hero-section {
        padding-top: 350px;
        /* Push content down below taller mobile nav */
    }

    .hero-image-col {
        height: 400px;
        order: -1;
    }

    /* Stack buttons on mobile */
    .hero-cta-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .fix-grid,
    .ai-points,
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .strip-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
        background: #fff;
        padding-bottom: 1rem;
    }

    .nav-container {
        flex-direction: column;
    }

    .section {
        padding: 4rem 0;
    }
}

/* --- NEW SECTIONS FROM DESIGN --- */

/* 1) Executive Profile (Bio) */
.profile-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.section-overline {
    color: var(--text-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.profile-headline {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.profile-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.stat-icon {
    color: var(--text-accent);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
}

/* 2) Experience (Career Grid) */
.experience-section {
    background-color: var(--bg-off-white);
    padding: var(--spacing-xl) 0;
}

.timeline-container {
    max-width: 1200px;
    /* Wider for grid */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Column Grid */
    gap: 2rem;
    padding: 0 1rem;
}

/* Remove old vertical line */
.timeline-container::before {
    display: none;
}

.timeline-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    /* Slight roundness for cards */
    text-align: left;
    /* Align text left for better scanning */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Equal height rows */
    display: flex;
    /* For alignment */
    flex-direction: column;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--text-accent);
}

/* Remove old dots */
.timeline-connector {
    display: none;
}

.timeline-year {
    color: var(--text-accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.timeline-role {
    font-family: var(--font-display);
    font-size: 1.5rem;
    /* Slightly smaller for grid balance */
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: block;
    border-bottom: 1px solid var(--bg-off-white);
    padding-bottom: 0.75rem;
}

.timeline-desc {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes tags to bottom */
}

.timeline-tags {
    display: flex;
    justify-content: flex-start;
    /* Left align tags */
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
    /* Force to bottom */
}

.tag {
    background: var(--bg-off-white);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 2px;
    border: 1px solid var(--border-subtle);
}

/* 3) Achievements */
.achievements-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.award-card {
    padding: 3rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    transition: transform 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.award-year {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.award-title {
    font-size: 1.35rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.award-org {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.award-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mobile Responsiveness Updates */
@media (max-width: 900px) {

    .profile-grid,
    .stats-grid,
    .awards-grid,
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline-card {
        padding: 2rem;
        text-align: left;
    }

    /* FAILSAFE: Ensure content is visible on mobile even if JS fails */
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
    }
}