:root {
    --bg: #0b1020;
    --bg-2: #11182b;
    --surface: #141d32;
    --text: #f5f7ff;
    --muted: #aab4ca;
    --accent: #72e2d1;
    --accent-2: #8b9bff;
    --ink: #111827;
    --light: #f5f7fb;
    --line: rgba(255, 255, 255, .12);
    --radius: 22px;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

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

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

.section {
    position: relative;
    padding: 108px 0
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 16, 32, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.nav-wrap,
.main-nav,
.brand {
    display: flex;
    align-items: center
}

.nav-wrap {
    min-height: 76px;
    justify-content: space-between;
    gap: 32px
}

.brand {
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -.4px
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(75, 220, 190, 0.5);
    border-radius: 12px;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-dot {
    color: var(--accent)
}

.main-nav {
    gap: 30px;
    color: #c3cadd;
    font-size: 13px
}

.main-nav a {
    transition: color .2s ease
}

.main-nav a:hover,
.back-top:hover {
    color: var(--accent)
}

.nav-cta {
    border: 1px solid rgba(114, 226, 209, .45);
    padding: 9px 14px;
    border-radius: 9px;
    color: var(--accent) !important
}

.nav-cta span {
    margin-left: 7px
}

.hero {
    padding-top: 94px;
    padding-bottom: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 78% 28%, rgba(74, 94, 190, .13), transparent 40%), var(--bg)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 54px;
    min-height: 500px
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 20px
}

.eyebrow-dark {
    color: #5262bd
}

.status-dot,
.footer-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 9px;
    box-shadow: 0 0 12px rgba(114, 226, 209, .65)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2 {
    font-family: var(--font-display);
    letter-spacing: -2.5px;
    line-height: 1.1;
    font-weight: 500
}

h1 {
    font-size: clamp(42px, 5.4vw, 68px);
    margin-bottom: 25px
}

h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 0
}

.gradient-text {
    background: linear-gradient(100deg, #72e2d1 0%, #91b9ff 60%, #a9a0ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent
}

.hero-description {
    max-width: 560px;
    color: #b0bbd1;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px
}

.hero-actions,
.contact-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease
}

.button:hover {
    transform: translateY(-2px)
}

.button-primary {
    background: var(--accent);
    color: #0b1423;
    box-shadow: 0 8px 30px rgba(114, 226, 209, .12)
}

.button-primary:hover {
    background: #9af1e4
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, .17);
    color: #dce3f2
}

.button-secondary:hover {
    background: rgba(255, 255, 255, .06)
}

.hero-proof {
    display: flex;
    gap: 28px;
    margin-top: 51px;
    padding-top: 25px;
    border-top: 1px solid var(--line)
}

.hero-proof div {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.hero-proof strong {
    font-family: var(--font-display);
    font-size: 19px;
    color: #fff
}

.hero-proof span {
    font-size: 10px;
    color: #94a0b8
}

.hero-visual {
    min-height: 430px;
    position: relative;
    display: grid;
    place-items: center
}

.hero-photo-card {
    position: relative;
    z-index: 2;
    width: min(100%, 510px);
    margin: 0;
    overflow: hidden;
    aspect-ratio: 3/2;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .17);
    background: #11182a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .36);
    transform: rotate(1deg)
}

.hero-photo-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 13, 25, .82) 100%);
    pointer-events: none
}

.hero-photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center
}

.photo-caption {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff
}

.photo-caption strong,
.photo-caption small {
    display: block
}

.photo-caption strong {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .1px
}

.photo-caption small {
    font-size: 10px;
    color: #d1d9e8;
    margin-top: 3px
}

.photo-caption-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(114, 226, 209, .65);
    flex-shrink: 0
}

.hero-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(1px)
}

.glow-one {
    width: 300px;
    height: 300px;
    right: 8%;
    top: 8%;
    background: rgba(76, 95, 220, .12);
    filter: blur(40px)
}

.glow-two {
    width: 220px;
    height: 220px;
    right: 14%;
    bottom: 0;
    background: rgba(85, 213, 200, .08);
    filter: blur(40px)
}

.orbit {
    position: absolute;
    border: 1px solid rgba(140, 160, 255, .13);
    border-radius: 50%;
    transform: rotate(-25deg)
}

.orbit-outer {
    width: 420px;
    height: 300px
}

.orbit-inner {
    width: 350px;
    height: 235px;
    transform: rotate(38deg);
    border-color: rgba(114, 226, 209, .16)
}

.code-card {
    position: relative;
    z-index: 2;
    width: min(100%, 405px);
    background: linear-gradient(145deg, rgba(25, 35, 59, .98), rgba(15, 23, 40, .98));
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    overflow: hidden;
    transform: rotate(-2deg)
}

.code-top {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #8491aa;
    font-size: 11px
}

.window-dots {
    display: flex;
    gap: 5px
}

.window-dots i {
    width: 7px;
    height: 7px;
    display: block;
    border-radius: 50%;
    background: #596782
}

.window-dots i:first-child {
    background: #f08b91
}

.window-dots i:nth-child(2) {
    background: #edca76
}

.window-dots i:nth-child(3) {
    background: #72d5b3
}

.code-menu {
    margin-left: auto
}

.code-content {
    padding: 23px 18px 20px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 12px;
    color: #dce4f6;
    line-height: 1.65
}

.code-content p {
    margin: 0;
    white-space: pre
}

.line-no {
    display: inline-block;
    width: 26px;
    color: #56647d;
    user-select: none
}

.code-purple {
    color: #c6a2ff
}

.code-yellow {
    color: #ffe29a
}

.code-green {
    color: #7bdbb2
}

.code-orange {
    color: #f6b17c
}

.code-footer {
    height: 35px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    color: #8290a9;
    font-size: 10px
}

.footer-dot {
    width: 5px;
    height: 5px;
    margin-right: 5px
}

.float-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(19, 29, 49, .92);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px)
}

.float-chip b,
.float-chip small {
    display: block
}

.float-chip b {
    font-size: 11px
}

.float-chip small {
    font-size: 9px;
    color: #94a3bd
}

.chip-icon {
    height: 30px;
    width: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(114, 226, 209, .13);
    color: var(--accent);
    font-size: 17px
}

.chip-api {
    right: -3%;
    top: 11%
}

.chip-data {
    left: -5%;
    bottom: 18%
}

.visual-caption {
    position: absolute;
    bottom: 5px;
    color: #667490;
    font-size: 11px;
    letter-spacing: .5px
}

.tech-strip {
    padding: 42px 0 35px;
    margin-top: 35px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.tech-strip>span {
    font-size: 9px;
    color: #7e8aa4;
    letter-spacing: 1.7px;
    font-weight: 700
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    color: #abb6cb
}

.tech-logos b {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .2px
}

.section-light {
    background: var(--light);
    color: var(--ink)
}

.two-column {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 85px;
    align-items: start
}

.text-accent {
    color: #5365be
}

.profile-copy {
    max-width: 600px
}

.profile-copy p {
    color: #596477;
    font-size: 14px;
    line-height: 1.9
}

.profile-copy .lead {
    font-size: 18px;
    line-height: 1.75;
    color: #222e43;
    font-weight: 500
}

.skills-section {
    background: linear-gradient(180deg, #101729, #0b1020)
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 44px
}

.section-heading h2 {
    margin: 0
}

.section-intro {
    color: #9ca9c2;
    font-size: 14px;
    max-width: 350px;
    line-height: 1.8;
    margin: 0 0 3px
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.skill-card {
    min-height: 240px;
    padding: 26px;
    background: linear-gradient(145deg, rgba(26, 37, 61, .82), rgba(17, 25, 43, .8));
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    transition: transform .2s ease, border-color .2s ease
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: rgba(114, 226, 209, .42)
}

.skill-icon {
    height: 43px;
    width: 43px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(114, 226, 209, .1);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 21px
}

.skill-card h3,
.process-item h3 {
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: -.3px;
    margin: 0 0 9px
}

.skill-card p {
    font-size: 12px;
    color: #9ba8bf;
    line-height: 1.8;
    min-height: 44px;
    margin-bottom: 18px
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.tags span {
    font-size: 9px;
    color: #cbd4e5;
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 4px 7px;
    border-radius: 5px
}

.experience-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 95px
}

.experience-lead {
    color: #667184;
    font-size: 14px;
    line-height: 1.8;
    max-width: 350px;
    margin-top: 25px
}

.process-list {
    border-top: 1px solid #dce2eb
}

.process-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 23px 0;
    border-bottom: 1px solid #dce2eb
}

.process-number {
    font-family: var(--font-display);
    font-size: 12px;
    color: #6b78ca;
    padding-top: 3px
}

.process-item h3 {
    color: #1c2638
}

.process-item p {
    font-size: 13px;
    color: #667184;
    line-height: 1.8;
    margin: 0;
    max-width: 550px
}

.contact-section {
    padding-top: 38px;
    padding-bottom: 86px;
    background: var(--light)
}

.contact-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;
    padding: 65px 70px;
    border-radius: 24px;
    background: linear-gradient(115deg, #11182c, #182849 70%, #20365a);
    color: #fff
}

.contact-content,
.contact-side {
    position: relative;
    z-index: 2
}

.contact-card h2 {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 18px
}

.contact-content>p:not(.eyebrow) {
    color: #b0bdd2;
    max-width: 480px;
    font-size: 14px;
    line-height: 1.8
}

.contact-actions {
    margin-top: 26px
}

.contact-phone {
    font-size: 12px;
    color: #c7d1e2;
    padding: 10px 0
}

.contact-side {
    border-left: 1px solid rgba(255, 255, 255, .14);
    padding-left: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.contact-monogram {
    font-family: var(--font-display);
    font-size: 55px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -4px;
    color: #e8edff;
    margin-bottom: 20px
}

.contact-monogram span {
    color: var(--accent)
}

.contact-side p {
    color: #d3dcee;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 24px
}

.contact-side>a {
    font-size: 12px;
    color: var(--accent);
    border-bottom: 1px solid rgba(114, 226, 209, .3);
    padding-bottom: 4px
}

.location-label {
    font-size: 10px;
    color: #8999b5;
    margin-top: 20px
}

.contact-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none
}

.decoration-a {
    width: 300px;
    height: 300px;
    right: 10%;
    top: -190px;
    border: 1px solid rgba(114, 226, 209, .18);
    box-shadow: 0 0 0 28px rgba(114, 226, 209, .025), 0 0 0 56px rgba(114, 226, 209, .018)
}

.decoration-b {
    width: 270px;
    height: 270px;
    left: -160px;
    bottom: -200px;
    background: rgba(105, 125, 250, .1);
    filter: blur(24px)
}

.site-footer {
    background: var(--light);
    color: #657084;
    padding: 0 0 26px
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #e0e5ed;
    padding-top: 22px
}

.footer-brand {
    color: #202b3c
}

.footer-brand .brand-mark {
    border-color: #cad2e2;
    color: #5365be
}

.footer-wrap p,
.back-top {
    font-size: 10px;
    margin: 0
}

.back-top {
    color: #46546a;
    transition: color .2s ease
}

@media(max-width:900px) {
    .section {
        padding: 82px 0
    }

    .hero {
        padding-bottom: 0
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .hero-copy {
        max-width: 720px
    }

    .hero-visual {
        min-height: 410px;
        width: min(100%, 530px);
        margin: 0 auto
    }

    .tech-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-top: 20px
    }

    .two-column,
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px
    }

    .section-intro {
        max-width: 600px
    }

    .contact-card {
        padding: 48px;
        gap: 35px
    }

    .contact-side {
        padding-left: 30px
    }

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

@media(max-width:600px) {
    .container {
        width: min(100% - 34px, 1140px)
    }

    .nav-wrap {
        min-height: 68px
    }

    .main-nav {
        gap: 12px
    }

    .main-nav>a:not(.nav-cta) {
        display: none
    }

    .nav-cta {
        font-size: 12px;
        padding: 8px 11px
    }

    .section {
        padding: 68px 0
    }

    h1 {
        font-size: 43px;
        letter-spacing: -1.8px
    }

    h2 {
        font-size: 35px;
        letter-spacing: -1.5px
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px
    }

    .hero-description {
        font-size: 15px
    }

    .hero-proof {
        gap: 14px;
        justify-content: space-between;
        margin-top: 38px
    }

    .hero-proof strong {
        font-size: 16px
    }

    .hero-proof span {
        font-size: 9px;
        max-width: 95px
    }

    .hero-visual {
        min-height: 350px;
        margin-top: 10px
    }

    .hero-photo-card {
        width: calc(100% - 14px);
        border-radius: 17px
    }

    .photo-caption {
        left: 13px;
        right: 13px;
        bottom: 12px
    }

    .photo-caption strong {
        font-size: 12px
    }

    .photo-caption small {
        font-size: 9px
    }

    .code-card {
        width: calc(100% - 12px)
    }

    .code-content {
        font-size: 10px;
        padding: 18px 10px
    }

    .orbit-outer {
        width: 330px;
        height: 255px
    }

    .orbit-inner {
        width: 285px;
        height: 210px
    }

    .chip-api {
        right: -1%;
        top: 6%
    }

    .chip-data {
        left: -1%;
        bottom: 15%
    }

    .float-chip {
        padding: 8px 10px
    }

    .tech-logos {
        gap: 14px
    }

    .tech-logos b {
        font-size: 10px
    }

    .skills-grid {
        grid-template-columns: 1fr
    }

    .skill-card {
        min-height: 0
    }

    .skill-card p {
        min-height: 0
    }

    .contact-section {
        padding-top: 20px;
        padding-bottom: 55px
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        gap: 32px;
        border-radius: 18px
    }

    .contact-card h2 {
        font-size: 37px
    }

    .contact-side {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
        padding: 28px 0 0
    }

    .footer-wrap {
        flex-wrap: wrap
    }

    .footer-wrap p {
        order: 3;
        width: 100%
    }

    .footer-brand {
        font-size: 14px
    }

    .back-top {
        margin-left: auto
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        transition: none !important
    }
}