:root {
    --bg: #061014;
    --bg-deep: #03090c;
    --surface: #0b161b;
    --surface-soft: #0f1c22;
    --text: #f4f7f5;
    --muted: #a7b2b6;
    --line: #24363e;
    --green: #65e875;
    --green-soft: rgba(101, 232, 117, 0.10);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 76% 7%, rgba(101, 232, 117, 0.08), transparent 28%),
        linear-gradient(180deg, var(--bg-deep), var(--bg));
}

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

button {
    color: inherit;
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 9, 12, 0.86);
    backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(101, 232, 117, 0.62);
    border-radius: 12px;
    color: var(--green);
    font-family: Consolas, monospace;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    color: #c7d0d2;
    font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-button {
    width: 126px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #3d4f57;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);
    border-color: var(--green);
}

.nav-linkedin {
    color: var(--green);
    border-color: rgba(101, 232, 117, 0.72);
}

.vcard-symbol {
    position: relative;
    width: 19px;
    height: 15px;
    display: inline-block;
    border: 1.5px solid currentColor;
    border-radius: 3px;
}

.vcard-symbol::before,
.vcard-symbol::after {
    content: "";
    position: absolute;
    left: 5px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
}

.vcard-symbol::before {
    top: 4px;
    width: 9px;
}

.vcard-symbol::after {
    top: 8px;
    width: 6px;
}

.linkedin-symbol {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border: 1.5px solid currentColor;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.hero {
    padding: 56px 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 60px;
    align-items: end;
}

.hero-copy {
    padding-bottom: 58px;
}

.eyebrow {
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 820;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1,
h2 {
    letter-spacing: -0.055em;
}

h1 {
    margin: 18px 0 24px;
    font-size: clamp(3.4rem, 6.7vw, 6.2rem);
    line-height: 0.95;
}

h1 span {
    color: var(--green);
}

h2 {
    margin: 12px 0 18px;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    line-height: 1.04;
}

.lead,
.muted,
.content-card p,
.education-card p,
.timeline-item p {
    color: var(--muted);
    line-height: 1.75;
}

.lead {
    max-width: 710px;
    font-size: 1.08rem;
}

.executive-statement {
    margin-top: 26px;
    padding: 18px 20px;
    border-left: 3px solid var(--green);
    border-radius: 0 14px 14px 0;
    background: linear-gradient(90deg, var(--green-soft), transparent);
    color: #dce3df;
    line-height: 1.65;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    margin-top: 28px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border: 1px solid #43555d;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.015);
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: var(--green);
}

.button-primary {
    border-color: transparent;
    background: var(--green);
    color: #061008;
}

.portrait-area {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.portrait-frame {
    width: min(100%, 520px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(101, 232, 117, 0.30);
    border-radius: 34px 104px 34px 104px;
    background: linear-gradient(145deg, rgba(101, 232, 117, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.portrait {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.stats {
    padding: 0;
    border-bottom: 1px solid var(--line);
    background: #081217;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    min-height: 188px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-card-highlight {
    background:
        radial-gradient(circle at 82% 20%, rgba(101, 232, 117, 0.09), transparent 36%),
        rgba(101, 232, 117, 0.02);
}

.stat-number {
    color: var(--green);
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.stat-title {
    margin-top: 14px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
}

.stat-text {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

section {
    padding: 104px 0;
    border-bottom: 1px solid var(--line);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 68px;
    align-items: start;
}

.quote {
    margin-top: 28px;
    padding: 24px 26px;
    border-left: 3px solid var(--green);
    border-radius: 0 16px 16px 0;
    background: linear-gradient(90deg, var(--green-soft), transparent);
    font-size: 1.12rem;
    line-height: 1.65;
}

.card-grid,
.competency-grid,
.education-grid,
.impact-grid {
    display: grid;
    gap: 18px;
}

.card-grid,
.education-grid,
.impact-grid {
    grid-template-columns: repeat(2, 1fr);
}

.content-card,
.education-card,
.impact-card {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.022), rgba(101, 232, 117, 0.014));
}

.content-card {
    transition: 0.22s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    border-color: #3d6650;
}

.line-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(101, 232, 117, 0.27);
    border-radius: 12px;
    background: rgba(101, 232, 117, 0.05);
    color: var(--green);
}

.line-icon svg,
.icon-button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-icon svg {
    width: 23px;
    height: 23px;
}

.content-card h3,
.education-card h3,
.timeline-item h3 {
    margin: 0 0 9px;
}

.impact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    margin-top: 36px;
}

.impact-primary {
    padding: 34px;
    border: 1px solid rgba(101, 232, 117, 0.30);
    border-radius: 24px;
    background:
        radial-gradient(circle at 82% 18%, rgba(101, 232, 117, 0.12), transparent 32%),
        var(--surface);
}

.impact-number {
    display: block;
    color: var(--green);
    font-size: clamp(4.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.impact-primary h3 {
    margin: 18px 0 10px;
}

.impact-primary p,
.impact-card span {
    color: var(--muted);
    line-height: 1.65;
}

.impact-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
}

.competency-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.competency-card {
    min-height: 285px;
}

.timeline {
    position: relative;
    margin-top: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 1px;
    background: linear-gradient(var(--green), var(--line));
}

.timeline-item {
    position: relative;
    padding: 0 0 36px 52px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 8px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--green);
    border-radius: 50%;
    background: var(--bg);
}

.timeline-date,
.education-date {
    color: var(--green);
    font: 700 0.87rem Consolas, monospace;
}

.timeline-item h3 {
    margin-top: 7px;
    font-size: 1.25rem;
}

.company {
    color: #c7cfd1;
    font-weight: 650;
}

.education-grid {
    margin-top: 34px;
}

.education-card {
    background: var(--surface);
}

.education-card h3 {
    margin-top: 10px;
    font-size: 1.3rem;
}

.education-card strong {
    color: var(--green);
}

.contact-section {
    background:
        radial-gradient(circle at 85% 45%, rgba(101, 232, 117, 0.13), transparent 30%),
        linear-gradient(135deg, #081217, #05090c);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.contact-actions {
    justify-content: flex-end;
}

.icon-button {
    gap: 9px;
}

.icon-button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.icon-button svg circle {
    fill: currentColor;
    stroke: none;
}

.contact-linkedin-symbol {
    width: 19px;
    height: 19px;
}

footer {
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #929ea2;
    font-size: 0.9rem;
}

.footer-inner strong {
    color: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    padding: 14px 17px;
    border: 1px solid #3d6250;
    border-radius: 12px;
    background: #0d1b20;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(18px);
    transition: 0.25s;
}

.toast.show {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 15px;
        font-size: 0.86rem;
    }

    .nav-button {
        width: 112px;
    }

    .competency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .nav-inner {
        grid-template-columns: auto 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        justify-self: end;
    }

    .hero-grid,
    .split-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 10px;
    }

    .portrait-area {
        justify-content: center;
    }

    .portrait-frame {
        width: min(100%, 460px);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: 0;
    }

    .stat-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .nav-actions {
        gap: 7px;
    }

    .nav-button {
        width: 48px;
        padding: 0;
    }

    .nav-button > span:last-child {
        display: none;
    }

    .hero {
        padding-top: 34px;
    }

    .portrait-frame {
        width: min(100%, 390px);
        border-radius: 26px 72px 26px 72px;
    }

    .stats-grid,
    .card-grid,
    .competency-grid,
    .education-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    section {
        padding: 76px 0;
    }

    .contact-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-actions .button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }
}
