:root {
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Light Mode */
:root, html[data-theme="light"] {
    --bg: #f5f5f7;
    --bg2: #ebebed;
    --surface: rgba(255,255,255,0.85);
    --surface-border: rgba(0,0,0,0.08);
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --accent: #0071e3;
    --accent-glow: rgba(0,113,227,0.15);
    --card-shadow: 0 8px 32px rgba(0,0,0,0.06);
    --blur: blur(20px);
    --hero-bg: #f5f5f7;
    --nav-bg: rgba(245,245,247,0.9);
    --nav-border: rgba(0,0,0,0.08);
    --nav-text: rgba(0,0,0,0.6);
    --nav-text-hover: #1d1d1f;
    --nav-logo: #1d1d1f;
}

/* Dark Mode */
html[data-theme="dark"] {
    --bg: #000000;
    --bg2: #0d1117;
    --surface: rgba(22,22,23,0.85);
    --surface-border: rgba(255,255,255,0.08);
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --accent: #2997ff;
    --accent-glow: rgba(41,151,255,0.25);
    --card-shadow: 0 8px 32px rgba(0,0,0,0.4);
    --blur: blur(20px);
    --hero-bg: #000000;
    --nav-bg: rgba(13,17,23,0.9);
    --nav-border: rgba(255,255,255,0.06);
    --nav-text: rgba(255,255,255,0.6);
    --nav-text-hover: #ffffff;
    --nav-logo: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: var(--transition);
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 52px;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--nav-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: background .3s, border-color .3s;
}

.nav-logo {
    position: absolute;
    left: 2rem;
    font-size: 13px;
    font-weight: 700;
    color: var(--nav-logo);
    text-decoration: none;
    letter-spacing: -0.3px;
}

nav a {
    font-size: 13px;
    color: var(--nav-text);
    text-decoration: none;
    transition: color .15s;
    font-weight: 500;
}
nav a:hover { color: var(--nav-text-hover); }

/* Theme Toggle */
.theme-toggle {
    position: absolute;
    right: 2rem;
    background: none;
    border: 1px solid var(--surface-border);
    color: var(--nav-logo);
    padding: 0.4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    transition: var(--transition);
}
.theme-toggle:hover { background: var(--surface-border); transform: scale(1.05); }

/* ── LIGHT MODE HERO OVERRIDES ── */
html[data-theme="light"] .hero-grid-bg {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
html[data-theme="light"] .hero-glow {
    background: radial-gradient(circle, rgba(0,113,227,0.08) 0%, transparent 65%);
}
html[data-theme="light"] .hero-right-glow {
    background: linear-gradient(to top, var(--hero-bg) 20%, transparent);
}
html[data-theme="light"] .hero-right::before {
    background: radial-gradient(ellipse at 50% 60%,
        rgba(0,113,227,0.07) 0%,
        rgba(0,113,227,0.03) 40%,
        transparent 70%);
}
html[data-theme="light"] .hero-photo img {
    filter: drop-shadow(0 36px 60px rgba(0,0,0,0.10))
            drop-shadow(0 0px 44px rgba(0,113,227,0.08))
            drop-shadow(0 0px 68px rgba(0,113,227,0.05));
}
html[data-theme="light"] .hero-name { color: #1d1d1f; }
html[data-theme="light"] .hero-name span { color: rgba(0,0,0,0.2); }
html[data-theme="light"] .hero-role { color: rgba(0,0,0,0.5); }
html[data-theme="light"] .hero-desc { color: rgba(0,0,0,0.45); }
html[data-theme="light"] .hero-tag {
    border-color: rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.5);
}
html[data-theme="light"] .btn-outline {
    color: rgba(0,0,0,0.6);
    border-color: rgba(0,0,0,0.18);
}
html[data-theme="light"] .btn-outline:hover {
    border-color: rgba(0,0,0,0.4);
    color: #1d1d1f;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--hero-bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    display: none;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41,151,255,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3.5rem 4rem 5rem;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    color: rgba(41,151,255,0.9);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: up .7s .1s forwards;
}

.hero-name {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: .95;
    margin-bottom: 1rem;
    color: #fff;
    opacity: 0;
    animation: up .7s .2s forwards;
}
.hero-name span { color: rgba(255,255,255,0.25); }

.hero-divider {
    width: 36px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: up .7s .32s forwards;
}

.hero-role {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2rem;
    opacity: 0;
    animation: up .7s .38s forwards;
}

.hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 2rem;
    opacity: 0;
    animation: up .7s .42s forwards;
}

.hero-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: up .7s .44s forwards;
}
.hero-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 980px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
}

.hero-btns {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: up .7s .5s forwards;
}

.btn-blue {
    padding: .7rem 1.5rem;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 980px;
    cursor: pointer;
    text-decoration: none;
    transition: filter .15s, transform .15s;
    display: inline-block;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-blue:hover { filter: brightness(1.1); transform: scale(1.02); }

.btn-outline {
    padding: .7rem 1.5rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 400;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 980px;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
    display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ── HERO PHOTO ── */
.hero-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}
.hero-right-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, var(--hero-bg) 20%, transparent);
    pointer-events: none;
    z-index: 2;
}
/* radial spotlight behind the portrait */
.hero-right::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at 50% 60%,
        rgba(41,151,255,0.13) 0%,
        rgba(41,151,255,0.05) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-photo {
    position: relative;
    z-index: 1;
    width: 110%;
    max-width: 580px;
    margin: 0 auto;
    margin-top: -120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
/* Optimised for a no-background portrait PNG */
.hero-photo img {
    width: 100%;
    max-height: 96vh;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    border-radius: 0;
    border: none;
    filter: drop-shadow(0 36px 60px rgba(0,0,0,0.45))
            drop-shadow(0 0px 44px rgba(41,151,255,0.12))
            drop-shadow(0 0px 68px rgba(41,151,255,0.08));
    transform: translateY(-24px) scaleX(-1);
}

/* ── STATS BAR ── */
.stats-bar {
    display: flex;
    justify-content: center;
    background: var(--bg);
    border-top: .5px solid var(--surface-border);
    border-bottom: .5px solid var(--surface-border);
}
.stat-item {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 2.25rem 1rem;
    border-right: .5px solid var(--surface-border);
}
.stat-item:last-child { border-right: none; }
.stat-n {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--accent);
    line-height: 1;
}
.stat-l {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}

/* ── SECTIONS ── */
section { padding: 3rem 2rem; }
.section-inner { max-width: 900px; margin: 0 auto; }

.eyebrow {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.sec-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: .5rem;
}
.sec-sub {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* ── EXPERIENCE TIMELINE ── */
.exp-timeline {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1px 1fr;
    gap: 0;
}
/* vertical accent line */
.exp-timeline::before {
    content: '';
    position: absolute;
    left: 209px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--surface-border) 40%, transparent 100%);
}
.exp-entry {
    display: contents;
}
/* left column — year / date */
.exp-left {
    padding: 0 2rem 3.5rem 0;
    text-align: right;
}
.exp-year {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .25rem;
}
.exp-period {
    font-size: 11px;
    color: var(--text-muted);
    opacity: .6;
}
/* dot on the line */
.exp-dot {
    display: flex;
    justify-content: center;
    padding-top: 3px;
    flex-shrink: 0;
}
.exp-dot::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent);
    flex-shrink: 0;
}
.exp-entry:not(:first-child) .exp-dot::before {
    background: var(--surface-border);
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--surface-border);
}
/* right column — content */
.exp-right {
    padding: 0 0 3.5rem 2.5rem;
}
.exp-role {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -.015em;
    line-height: 1.3;
    margin-bottom: .3rem;
}
.exp-org {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: .2rem;
}
.exp-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    opacity: .6;
    margin-bottom: .9rem;
}
.exp-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: .9rem;
    max-width: 640px;
}
/* org logo */
.exp-org-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .2rem;
}
.exp-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: .5px solid var(--surface-border);
    background: var(--bg2);
    flex-shrink: 0;
}
.exp-logo-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg2);
    border: .5px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.exp-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    background: rgba(41,151,255,.06);
    color: var(--accent);
    border-radius: 980px;
    border: .5px solid rgba(41,151,255,.15);
}
/* sub-positions inside an entry */
.exp-subroles {
    margin-top: .85rem;
    padding-left: 1rem;
    border-left: 1.5px solid var(--surface-border);
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.exp-subrole-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: .15rem;
}
.exp-subrole-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    opacity: .7;
    margin-bottom: .35rem;
}
.exp-subrole-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── CERTIFICATIONS ── */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: .75rem;
    margin-top: 2.5rem;
}
.cert-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: .5px solid var(--surface-border);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow .2s, transform .2s;
}
.cert-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.cert-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(41,151,255,.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}
.cert-body { flex: 1; min-width: 0; }
.cert-name { font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 2px; line-height: 1.4; }
.cert-issuer { font-size: 11.5px; color: var(--text-muted); }
.cert-year { font-size: 11px; color: var(--accent); font-weight: 500; margin-top: 4px; }

/* ── SKILLS ── */
.skills-bg { background: var(--bg); }
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.skill-cell {
    background: var(--surface);
    border: .5px solid var(--surface-border);
    border-radius: 16px;
    padding: 1.6rem 1.75rem;
    transition: border-color .2s, box-shadow .2s;
}
.skill-cell:hover {
    border-color: rgba(41,151,255,.3);
    box-shadow: 0 4px 24px rgba(41,151,255,.07);
}
.skill-header {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
}
.skill-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(41,151,255,.08);
    border: .5px solid rgba(41,151,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.skill-cat {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--text-main);
}
.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.skill-pill {
    font-size: 11.5px;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 980px;
    background: var(--bg2);
    color: var(--text-muted);
    border: .5px solid var(--surface-border);
}

/* ── TRUSTED BY ── */
.trusted-bg {
    background: var(--bg);
    border-top: .5px solid var(--surface-border);
    border-bottom: .5px solid var(--surface-border);
    padding: 4rem 0;
}
.trusted-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: .45;
    margin-bottom: 2.5rem;
}
.trusted-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.trusted-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: var(--surface);
    border: .5px solid var(--surface-border);
    border-radius: 14px;
    padding: .85rem 1.4rem;
    transition: border-color .2s, box-shadow .2s;
}
.trusted-card:hover {
    border-color: rgba(41,151,255,.35);
    box-shadow: 0 4px 20px rgba(41,151,255,.1);
}
.trusted-card img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
}
.trusted-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}
.trusted-card-role {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── CONTACT ── */
.contact-bg { background: var(--bg2); }
.contact-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: .5px solid var(--surface-border);
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    max-width: 560px;
    margin: 2.5rem auto 0;
    box-shadow: var(--card-shadow);
}
.contact-title { font-size: 1.8rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: .6rem; }
.contact-sub { font-size: 14px; color: var(--text-muted); font-weight: 300; line-height: 1.7; margin-bottom: 1.75rem; }
.contact-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cl {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    padding: .55rem 1.25rem;
    border: .5px solid rgba(41,151,255,.25);
    border-radius: 980px;
    transition: all .15s;
}
.cl:hover { background: rgba(41,151,255,.06); }

/* ── FOOTER ── */
footer {
    padding: 1.5rem 2rem;
    border-top: .5px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.f-copy { font-size: 12px; color: var(--text-muted); }

/* ── ANIMATIONS ── */
@keyframes up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s, transform .6s;
}
.reveal.on { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {

    /* ── GLOBAL OVERFLOW FIX ── */
    html, body { overflow-x: hidden; }

    /* Nav */
    nav { gap: 1rem; padding: 0 1rem; justify-content: center; }
    .nav-logo { display: none; }
    .theme-toggle { position: static; margin-left: auto; }

    section { padding: 3rem 1.25rem; }

    /* Stats bar — 2 col */
    .stats-bar { flex-wrap: wrap; }
    .stat-item { flex-basis: 50%; max-width: 50%; border-bottom: .5px solid var(--surface-border); }
    .stat-item:nth-child(even) { border-right: none; }

    /* Experience timeline — exit grid, card style */
    .exp-left, .exp-dot { display: none; }
    .exp-timeline::before { display: none; }
    .exp-timeline { display: flex; flex-direction: column; gap: 1rem; }
    .exp-right {
        padding: 1.25rem;
        background: var(--surface);
        border-radius: 14px;
        border: .5px solid var(--surface-border);
        border-left: 2.5px solid var(--accent);
    }

    /* Skills */
    .skills-grid { grid-template-columns: 1fr; }

    /* Trusted */
    .trusted-bg { padding-left: 1.25rem; padding-right: 1.25rem; }
    .trusted-grid { gap: .75rem; }
    .trusted-card { flex: 1 1 calc(50% - .75rem); min-width: 0; }

    /* Contact */
    .contact-card { padding: 2.5rem 1.5rem; }

    /* Footer */
    footer { flex-direction: column; text-align: center; gap: .5rem; }

    /* ── HERO MOBILE — full-bleed photo + theme gradient ── */
    .hero {
        min-height: unset;
        width: 100%;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 52px;
    }

    /* Photo fills entire hero as absolute background */
    .hero-right {
        display: none !important;
    }
    .hero-right-glow { display: none; }
    .hero-right::before { display: none; }
    .hero-glow { display: none; }

    /* Photo covers full area, face higher */
    .hero-photo {
        display: none !important;
    }

    /* Gradient overlay: theme-aware */
    .hero-right::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
        background: linear-gradient(
            to bottom,
            var(--hero-gradient-top, rgba(255,255,255,0.10)) 0%,
            var(--hero-gradient-mid, rgba(255,255,255,0.60)) 60%,
            var(--hero-gradient-bot, rgba(255,255,255,0.98)) 100%
        );
    }
    html[data-theme="dark"] .hero-right::after {
        background: linear-gradient(
            to bottom,
            rgba(10,14,26,.10) 0%,
            rgba(10,14,26,.72) 62%,
            rgba(10,14,26,1)   100%
        );
    }

    /* Text sits at bottom, above gradient, with extra top padding */
    .hero-left {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        padding: 1.2rem 1.2rem 2.2rem;
        box-sizing: border-box;
    }

    /* Force readable text over photo */
    .hero-name,
    .hero-role,
    .hero-desc { color: var(--text-main) !important; text-align: left; align-self: flex-start; }
    html[data-theme="dark"] .hero-name,
    html[data-theme="dark"] .hero-role,
    html[data-theme="dark"] .hero-desc { color: #fff !important; }
    .hero-name { font-size: clamp(2rem, 8.5vw, 2.75rem); text-align: left; }
    .hero-name span { color: var(--accent) !important; }
    .hero-role { font-size: 13.5px; opacity: .85; margin-bottom: 1.25rem; text-align: left; }
    .hero-desc { font-size: 13px; opacity: .72; max-width: 100%; margin-bottom: 1.5rem; text-align: left; }
    .hero-divider { margin: 0 0 1.25rem 0; }
    .hero-tags { justify-content: flex-start; gap: .4rem; margin-bottom: 1.75rem; }
    .hero-btns { justify-content: flex-start; }
}

@media (max-width: 480px) {
    /* Stats bar — single column */
    .stat-item { flex-basis: 100%; max-width: 100%; border-right: none; }

    /* Experience */
    .exp-right { padding: 1rem; }

    /* Hero: full-bleed — no size overrides needed */

    /* Trusted */
    .trusted-card { flex: 1 1 100%; }

    /* Projects */
    .cert-grid { grid-template-columns: 1fr; }

    /* Contact */
}
    /* Contact */
    .contact-card { padding: 2rem 1.25rem; border-radius: 12px; }
    .contact-title { font-size: 1.4rem; }
    .cl { font-size: 12px; padding: .5rem 1rem; }

