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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #999;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Hero ── */

.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #777;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    border: 1px solid #2a2a2a;
    border-radius: 100px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    background: #161616;
    border-color: #444;
}

.social-links a svg {
    flex-shrink: 0;
}

/* ── Hero Photo ── */

.hero-photo {
    flex-shrink: 0;
}

.hero-photo img {
    width: 400px;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ── Skills Marquee Banner ── */

.marquee-wrap {
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    background: #0f0f0f;
    padding: 1.1rem 0;
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-track span {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    padding: 0 1rem;
}

.marquee-track .dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: #444;
    border-radius: 50%;
    display: inline-block;
    padding: 0;
    margin: 0 0.25rem;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Sections ── */

.section {
    padding: 5rem 3rem;
    border-top: 1px solid #151515;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section p {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 560px;
}

/* ── About — Two Column ── */

.two-col {
    display: flex;
    gap: 4rem;
    align-items: start;
}

.two-col > div:first-child {
    flex-shrink: 0;
    width: 280px;
}

.two-col > div:last-child {
    flex: 1;
}

/* ── Research ── */

.research-intro {
    font-size: 1.2rem !important;
    font-weight: 400;
    color: #ccc !important;
    margin-bottom: 2.5rem;
}

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

.stat {
    padding: 2rem;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.8rem;
    font-weight: 400;
    color: #555;
}

.research-note {
    color: #666 !important;
    font-style: italic;
}

/* ── Certifications ── */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.cert-card:hover {
    border-color: #2a2a2a;
}

.cert-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.cert-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e0e0e0;
}

/* ── Skills ── */

.skills-intro {
    color: #666 !important;
    margin-bottom: 2.5rem;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ccc;
    background: #141414;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.skill-pill:hover {
    border-color: #3a3a3a;
    color: #fff;
}

.skill-pill svg {
    flex-shrink: 0;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2.5rem;
        padding: 3rem 1.5rem 2rem;
    }

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

    .hero h1 br {
        display: none;
    }

    .headline {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .hero-photo img {
        width: 260px;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .two-col {
        flex-direction: column;
        gap: 1rem;
    }

    .two-col > div:first-child {
        width: auto;
    }

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

    .skill-pills {
        gap: 0.5rem;
    }

    .section p {
        max-width: 100%;
    }
}
