:root {
    --hero1: #0b1f44;
    --hero2: #163562;
    --hero3: #1a3a6a;
    --page: #f4f7fb;

    --text: #0f172a;
    --muted: #64748b;

    --white: #ffffff;
    --card: #ffffff;
    --border: rgba(15, 23, 42, .10);

    --pill: rgba(255, 255, 255, .14);
    --pillBorder: rgba(255, 255, 255, .18);

    --shadow: 0 18px 60px rgba(15, 23, 42, .10);
    --shadow2: 0 24px 80px rgba(15, 23, 42, .12);

    --radius: 22px;
    --radiusSm: 16px;

    --accent: #2dd4bf;
    --accent2: #38bdf8;

    --chipBg: #f1f5f9;
    --chipBorder: rgba(15, 23, 42, .10);

    --container: 1120px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--page);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    opacity: .95
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 72px 18px 84px;
    color: #eaf1ff;
    background:
        radial-gradient(900px 460px at 12% 20%, rgba(45, 212, 191, .18), transparent 60%),
        radial-gradient(900px 460px at 90% 35%, rgba(56, 189, 248, .14), transparent 62%),
        linear-gradient(135deg, var(--hero1), var(--hero2));
    overflow: hidden;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    padding: 0 6px;
}

.avatar-card {
    width: 260px;
    height: 260px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06);
    display: grid;
    place-items: center;
    position: relative;
}

.avatar-card .initials {
    font-size: 70px;
    font-weight: 800;
    letter-spacing: .12em;
    color: rgba(231, 240, 255, .55);
    user-select: none;
}

/* photo support (optional) */
.avatar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: none;
    /* enable by removing this and using class "has-photo" */
}

.avatar-card.has-photo img {
    display: block
}

.avatar-card.has-photo .initials {
    display: none
}

.qa-badge {
    position: absolute;
    right: -14px;
    bottom: 22px;
    background: var(--hero2);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .20);
}

.hero-title {
    margin: 0;
    font-size: 52px;
    letter-spacing: .2px;
    line-height: 1.05;
    text-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.hero-role {
    margin: 12px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: rgba(231, 240, 255, .76);
}

.hero-summary {
    margin: 18px 0 0;
    max-width: 640px;
    color: rgba(231, 240, 255, .78);
    font-size: 16px;
}

.contact-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--pill);
    border: 1px solid var(--pillBorder);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #eef3ff;
    font-size: 14px;
}

.pill svg {
    width: 16px;
    height: 16px;
    opacity: .9;
    flex: 0 0 16px;
}

/* ===== CONTENT ===== */
.content {
    max-width: var(--container);
    margin: 42px auto 0;
    padding: 0 18px 80px;
}

.section {
    padding: 28px;
}

.section+.section {
    margin-top: 16px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(45, 212, 191, .12);
    border: 1px solid rgba(45, 212, 191, .22);
    display: grid;
    place-items: center;
}

.section-icon svg {
    width: 20px;
    height: 20px;
    color: #0f766e;
}

.section-title {
    margin: 0;
    font-size: 28px;
    letter-spacing: .2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
}

.card-sm {
    box-shadow: 0 0 10px #00000020;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
}

.job {
    box-shadow: 0 0 10px #00000020;
    border-radius: 12px;
    padding: 18px;
    background: #fff;
}

.job+.job {
    margin-top: 16px;
}

.job-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.job h3 {
    margin: 0;
    font-size: 18px;
}

.meta {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.meta b {
    color: #0f172a;
    font-weight: 700;
}

.time {
    white-space: nowrap;
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

.job ul {
    margin: 10px 0 0 18px;
    color: #0f172a;
}

.job li {
    margin: 6px 0;
}

.label {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #475569;
    margin: 0 0 10px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background: var(--chipBg);
    border: 1px solid var(--chipBorder);
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: #0f172a;
}

.callout {
    border-radius: 22px;
    border: 1px dashed rgba(15, 23, 42, .18);
    background: rgba(56, 189, 248, .08);
    padding: 16px;
    color: #0f172a;
}

.callout b {
    font-weight: 800
}

.edu h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.muted {
    color: var(--muted)
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 22px;
    }

    .avatar-card {
        width: 220px;
        height: 220px;
    }

    .qa-badge {
        right: 10px;
        bottom: 16px;
    }

    .hero-title {
        font-size: 42px;
    }

    .contact-row {
        justify-content: center;
    }

    .content {
        margin-top: 42px;
    }

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

/* Print-friendly */
@media print {
    body {
        background: #fff;
    }

    .hero {
        padding: 26px 18px 24px;
    }

    .hero::after {
        display: none;
    }

    .content {
        margin: 0;
        padding: 0 18px 18px;
    }

    .section {
        box-shadow: none;
    }

    .pill {
        background: transparent;
        border-color: rgba(255, 255, 255, .35);
    }
}

.cta-footer {
    padding: 38px 28px;
    color: #eaf1ff;
    background:
        radial-gradient(900px 460px at 12% 20%, rgba(45, 212, 191, .18), transparent 60%),
        radial-gradient(900px 460px at 90% 35%, rgba(56, 189, 248, .14), transparent 62%),
        linear-gradient(135deg, var(--hero1, #0b1f44), var(--hero2, #163562));
    box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
    overflow: hidden;
}

.cta-inner {
    display: flex;
    max-width: var(--container);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.cta-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: .2px;
}

.cta-subtitle {
    margin: 10px 0 0;
    color: rgba(231, 240, 255, .76);
    font-size: 15px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, .18);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
    will-change: transform;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

.cta-primary {
    background: rgba(45, 212, 191, .28);
    border-color: rgba(45, 212, 191, .45);
    color: #eafffb;
}

.cta-secondary {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .16);
    color: #eef3ff;
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
}

.cta-primary:hover {
    background: rgba(45, 212, 191, .34);
    border-color: rgba(45, 212, 191, .60);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .22);
}

.cta-divider {
    height: 1px;
    background: rgba(255, 255, 255, .14);
    margin: 26px 0 18px;
}

.cta-copy {
    margin: 0;
    text-align: center;
    color: rgba(231, 240, 255, .60);
    font-size: 14px;
}

@media (max-width: 900px) {
    .cta-footer {
        padding: 30px 20px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-actions {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}