/* =========================================================
   VIKAS PORTFOLIO
   Light Editorial + Dark Accent Theme
========================================================= */

:root {
    --paper: #f5f1e8;
    --paper-light: #fbfaf6;
    --white: #ffffff;
    --ink: #15141a;
    --ink-soft: #393743;
    --muted: #77727b;
    --indigo: #4938a8;
    --indigo-dark: #302477;
    --indigo-light: #ebe8fa;
    --terra: #d56535;
    --terra-light: #f7e2d7;
    --sage: #3f795b;
    --sage-light: #e1eee6;
    --gold: #bd8d38;
    --border: rgba(21, 20, 26, .11);
    --shadow: 0 25px 70px rgba(30, 25, 20, .08);
    --radius: 16px;
    --container: 1180px;
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

body,
button,
input,
textarea {
    font-family: "Inter", sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: 0;
}

.container {
    width: min( var(--container), calc(100% - 40px) );
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(244, 239, 230, .90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
}

    .main-navbar.scrolled {
        background: rgba(250, 247, 240, .96);
        box-shadow: 0 10px 35px rgba(20, 15, 10, .08);
    }

.navbar-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ink);
}

    .brand span {
        color: var(--terra);
    }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .desktop-nav a {
        font-family: "Manrope", sans-serif;
        font-size: 11px;
        font-weight: 700;
        color: var(--ink-soft);
        transition: .25s ease;
    }
        .desktop-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            background: var(--indigo);
            transition: .25s ease;
        }

        .desktop-nav a:hover {
            color: var(--indigo);
        }

            .desktop-nav a:hover::after {
                width: 100%;
            }

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    background: var(--ink);
    color: var(--white);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    transition: .25s ease;
}

    .nav-contact span {
        font-size: 14px;
    }

    .nav-contact:hover {
        background: var(--indigo);
        color: white;
        transform: translateY(-2px);
    }

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

    .mobile-menu-button span {
        display: block;
        width: 23px;
        height: 2px;
        background: var(--ink);
    }

        .mobile-menu-button span:nth-child(2) {
            width: 17px;
        }

.mobile-nav {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 850px;
    padding-top: 78px;
    overflow: hidden;
    background: var(--paper);
}

.hero-bg {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -250px;
    top: 40px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(64, 51, 140, .15), rgba(64, 51, 140, .03) 55%, transparent 70% );
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(255,255,255,.4), rgba(223,236,226,.6) );
    clip-path: polygon( 20% 0, 100% 0, 100% 100%, 0 100% );
}

.hero-container {
    min-height: 772px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.hero-content {
    padding: 70px 0;
    transform-style: preserve-3d;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    background: rgba(255,255,255,.6);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 28px;
}

.availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3d9b63;
    box-shadow: 0 0 0 4px rgba(61,155,99,.12);
}

.hero-kicker {
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(64px, 7vw, 92px);
    line-height: .88;
    letter-spacing: -4px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 30px;
    transform: translateZ(25px);
}

    .hero-title span {
        color: var(--indigo);
        position: relative;
    }

        .hero-title span::after {
            content: "";
            position: absolute;
            left: 3px;
            bottom: -8px;
            width: 72px;
            height: 4px;
            background: var(--terra);
            border-radius: 20px;
        }
.hero-description {
    max-width: 590px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 22px;
    transform: translateZ(12px);
}

    .hero-description strong {
        color: var(--ink);
    }

.hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 30px;
}

    .hero-stack span {
        padding: 6px 9px;
        border: 1px solid var(--border);
        border-radius: 5px;
        background: rgba(255,255,255,.45);
        color: var(--ink-soft);
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    transform: translateZ(18px);
}

.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    transition: .3s ease;
}

.btn-primary-custom {
    background: var(--indigo);
    color: white;
    box-shadow: 0 12px 30px rgba(64,51,140,.22);
}

    .btn-primary-custom:hover {
        background: var(--indigo-dark);
        color: white;
        transform: translateY(-3px);
    }

.btn-outline-custom {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
}

    .btn-outline-custom:hover {
        background: var(--ink);
        color: white;
        transform: translateY(-3px);
    }

.email-link {
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    margin-left: 8px;
    transition: .25s ease;
}

    .email-link:hover {
        color: var(--indigo);
    }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 25px;
    max-width: 620px;
    transform: translateZ(10px);
}

.stat-card {
    min-width: 125px;
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid var(--border);
}

    .stat-card:last-child {
        border-right: 0;
        margin-right: 0;
    }

.stat-value {
    font-family: "DM Mono", monospace;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.stat-label {
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   HERO PROFILE
========================================================= */

.hero-profile {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-circle {
    width: 490px;
    height: 490px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient( 135deg, var(--indigo), var(--sage) );
    padding: 9px;
    box-shadow: 0 30px 80px rgba(30,25,20,.18);
}

    .profile-circle::before {
        content: "";
        position: absolute;
        inset: 17px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.7);
        z-index: 3;
    }

.profile-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient( 145deg, #dbe8ef, #f4e8db );
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.02);
}

.experience-circle {
    position: absolute;
    width: 115px;
    height: 115px;
    left: 5px;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--paper-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 5;
}

    .experience-circle strong {
        color: var(--terra);
        font-family: "DM Mono", monospace;
        font-size: 25px;
        line-height: 1;
    }

    .experience-circle span {
        color: var(--muted);
        text-align: center;
        text-transform: uppercase;
        font-size: 8px;
        letter-spacing: 1px;
        margin-top: 6px;
    }

.floating-badge {
    position: absolute;
    z-index: 7;
    padding: 9px 13px;
    background: var(--ink);
    color: white;
    border-radius: 6px;
    font-family: "DM Mono", monospace;
    font-size: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,.14);
}

.badge-top-left {
    left: 35px;
    top: 40px;
    background: var(--indigo);
}

.badge-top-right {
    right: 5px;
    top: 130px;
    background: var(--sage);
}

.badge-bottom-left {
    left: 40px;
    bottom: 105px;
    background: var(--terra);
}

.profile-caption {
    position: absolute;
    bottom: 48px;
    right: 10px;
    max-width: 190px;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 8px;
    text-align: right;
    line-height: 1.6;
}


/* =========================================================
   MARQUEE
========================================================= */

.tech-marquee {
    background: var(--ink);
    color: white;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.marquee-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
    white-space: nowrap;
}

    .marquee-item span {
        font-family: "DM Mono", monospace;
        font-size: 10px;
        letter-spacing: 1px;
        color: #d0c9bd;
    }

    .marquee-item b {
        color: var(--terra);
        font-size: 14px;
    }

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   COMMON SECTION
========================================================= */

.portfolio-section {
    padding: 120px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.section-number {
    padding-top: 8px;
    color: var(--terra);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-kicker {
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2 {
    max-width: 700px;
    color: var(--ink);
    font-size: clamp( 42px, 5vw, 68px );
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 800;
}

    .section-heading h2 em {
        color: var(--indigo);
        font-style: normal;
    }


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--paper-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: start;
}

.about-main-card {
    padding: 38px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 15px 50px rgba(20,15,10,.05);
}

.about-summary {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.top-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .top-skills span {
        padding: 8px 11px;
        border-radius: 5px;
        background: var(--sage-light);
        color: var(--sage);
        font-family: "DM Mono", monospace;
        font-size: 9px;
    }

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-card {
    min-height: 125px;
    padding: 22px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: .3s ease;
}

    .info-card:hover {
        background: white;
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.info-icon {
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 12px;
    margin-bottom: 20px;
}

.info-card small {
    display: block;
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 12px;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-section {
    background: var(--paper);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.skill-card {
    padding: 30px;
    background: var(--paper-light);
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: .3s ease;
}

    .skill-card:hover {
        background: white;
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.skill-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 700;
}

    .skill-icon.indigo {
        background: #e7e3f6;
        color: var(--indigo);
    }

    .skill-icon.terra {
        background: var(--terra-light);
        color: var(--terra);
    }

    .skill-icon.gold {
        background: #f1e8ce;
        color: var(--gold);
    }

    .skill-icon.sage {
        background: var(--sage-light);
        color: var(--sage);
    }

.skill-card h3 {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .skill-tags span {
        padding: 7px 9px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 5px;
        color: var(--ink-soft);
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }


/* =========================================================
   IT SKILLS
========================================================= */

.it-skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.it-skill-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.it-skill-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--ink);
    color: white;
    font-size: 11px;
}

.it-skill-left strong {
    display: block;
    font-size: 11px;
}

.it-skill-left small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 8px;
}

.it-experience {
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-section {
    background: var(--ink);
    color: white;
}

    .experience-section .section-number {
        color: #e69b73;
    }

    .experience-section .section-kicker {
        color: #9e94d7;
    }

    .experience-section .section-heading h2 {
        color: white;
    }

        .experience-section .section-heading h2 em {
            color: #a99fe3;
        }

.experience-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    padding: 45px 0;
    border-top: 1px solid rgba(255,255,255,.14);
}

    .experience-card:last-child {
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

.experience-type {
    display: inline-block;
    padding: 5px 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    color: #a99fe3;
    font-family: "DM Mono", monospace;
    font-size: 8px;
    margin-bottom: 17px;
}

.experience-left h3 {
    font-size: 25px;
    margin-bottom: 5px;
}

.experience-left p {
    color: #b9b2a9;
    font-size: 12px;
}

.experience-date {
    margin-top: 25px;
    color: #817b73;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    line-height: 1.8;
}

.experience-description {
    max-width: 650px;
    color: #c5bfb6;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .experience-tags span {
        padding: 7px 9px;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 5px;
        color: #aaa39a;
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {
    background: var(--paper-light);
}

.featured-project {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 500px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30,25,18,.07);
    margin-bottom: 25px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .6s ease;
}
    .featured-project:hover {
        transform: translateY(-8px) translateZ(15px);
        box-shadow: 0 35px 90px rgba(21,20,26,.12);
    }

.featured-project-image {
    position: relative;
    min-height: 500px;
    background: #ddd;
}

    .featured-project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

.featured-project:hover
.featured-project-image img {
    transform: scale(1.035);
}

.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 11px;
    background: var(--indigo);
    color: white;
    border-radius: 5px;
    font-family: "DM Mono", monospace;
    font-size: 8px;
}

.featured-project-content {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-period {
    color: var(--terra);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.featured-project-content h3 {
    color: var(--ink);
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 4px;
}

.project-client {
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 22px;
}

.project-description {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-features {
    list-style: none;
    margin-bottom: 22px;
}

    .project-features li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        color: var(--muted);
        font-size: 10px;
        margin-bottom: 8px;
    }

        .project-features li span {
            color: var(--sage);
            font-weight: 800;
        }

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .project-stack span {
        padding: 6px 8px;
        background: var(--sage-light);
        color: var(--sage);
        border-radius: 4px;
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: hidden;
    transition: .3s ease;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }

.project-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #ddd;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s ease;
    }

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-image span {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 8px;
    background: var(--ink);
    color: white;
    border-radius: 4px;
    font-family: "DM Mono", monospace;
    font-size: 7px;
}

.project-content {
    padding: 23px;
}

    .project-content small {
        color: var(--terra);
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }

    .project-content h3 {
        color: var(--ink);
        font-size: 19px;
        margin: 8px 0 10px;
    }

    .project-content p {
        color: var(--muted);
        font-size: 10px;
        line-height: 1.75;
        margin-bottom: 18px;
    }


/* =========================================================
   RESUME
========================================================= */

.resume-section {
    padding: 75px 0;
    background: var(--terra);
}

.resume-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 45px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 15px;
}

    .resume-banner p {
        color: rgba(255,255,255,.7);
        font-family: "DM Mono", monospace;
        font-size: 9px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .resume-banner h2 {
        color: white;
        font-family: "Space Grotesk", sans-serif;
        font-size: 25px;
        margin-bottom: 7px;
    }

    .resume-banner span {
        color: rgba(255,255,255,.75);
        font-size: 11px;
    }

.resume-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.resume-button,
.resume-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.resume-button {
    background: white;
    color: var(--terra);
}

    .resume-button:hover {
        color: var(--terra);
        transform: translateY(-2px);
    }

.resume-download {
    color: white;
    border: 1px solid rgba(255,255,255,.35);
}

    .resume-download:hover {
        background: rgba(255,255,255,.1);
        color: white;
    }


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.contact-info h3 {
    color: var(--ink);
    font-size: 27px;
    margin-bottom: 10px;
}

.contact-info > p {
    max-width: 390px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    transition: .25s ease;
}

    .contact-item:last-child {
        border-bottom: 1px solid var(--border);
    }

    .contact-item:hover {
        padding-left: 6px;
    }

.contact-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--indigo);
    color: white;
    font-size: 12px;
}

    .contact-icon.phone {
        background: var(--sage);
    }

.contact-item small {
    display: block;
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item strong {
    display: block;
    color: var(--ink);
    font-size: 11px;
    margin-top: 2px;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
    padding: 35px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(25,20,15,.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        color: var(--ink);
        font-size: 9px;
        font-weight: 700;
        margin-bottom: 7px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid var(--border);
        background: var(--paper-light);
        border-radius: 6px;
        padding: 12px;
        outline: none;
        color: var(--ink);
        font-size: 11px;
        transition: .25s ease;
        resize: vertical;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--indigo);
            background: white;
            box-shadow: 0 0 0 3px rgba(64,51,140,.08);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #aaa39b;
        }

.send-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 45px;
    padding: 0 20px;
    border-radius: 6px;
    background: var(--ink);
    color: white;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

    .send-button:hover {
        background: var(--indigo);
        transform: translateY(-2px);
    }


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 35px 0;
    background: #11100f;
    color: white;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    font-family: "DM Mono", monospace;
    font-size: 18px;
    font-weight: 700;
}

    .footer-brand span {
        color: var(--terra);
    }

.site-footer p {
    color: #827d75;
    font-size: 9px;
    margin-top: 3px;
}

.footer-copy {
    color: #716d67;
    font-size: 9px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.portfolio-section,
.resume-section {
    scroll-margin-top: 80px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 17px;
    }

    .hero-container {
        gap: 20px;
    }

    .hero-title {
        font-size: 68px;
    }

    .profile-circle {
        width: 410px;
        height: 410px;
    }

    .hero-profile {
        height: 580px;
    }

    .experience-circle {
        left: 0;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project-image {
        min-height: 390px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 850px) {

    .container {
        width: calc(100% - 28px);
    }

    .navbar-inner {
        height: 70px;
    }

    .desktop-nav,
    .nav-contact {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .mobile-nav {
        flex-direction: column;
        padding: 12px 20px 20px;
        background: var(--paper-light);
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.07);
    }

        .mobile-nav.active {
            display: flex;
        }

        .mobile-nav a {
            padding: 12px 0;
            color: var(--ink);
            font-size: 12px;
            font-weight: 600;
            border-bottom: 1px solid var(--border);
        }

    .hero-section {
        padding-top: 70px;
    }

    .hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 70px 0;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        padding: 20px 0;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stack,
    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-title {
        font-size: 62px;
        letter-spacing: -4px;
    }

    .hero-profile {
        height: 520px;
    }

    .profile-circle {
        width: 390px;
        height: 390px;
    }

    .profile-caption {
        bottom: 15px;
        right: 20px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-card {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-grid {
        gap: 35px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .portfolio-section {
        padding: 80px 0;
    }

    .hero-container {
        padding: 55px 0;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -3px;
    }

    .hero-kicker {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .availability {
        font-size: 8px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
    }

    .email-link {
        margin: 4px 0 0;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        text-align: left;
    }

    .stat-card {
        min-width: 0;
        margin: 0;
        padding: 0;
        border-right: 0;
    }

    .hero-profile {
        height: 430px;
    }

    .profile-circle {
        width: 310px;
        height: 310px;
    }

    .experience-circle {
        width: 82px;
        height: 82px;
        top: 45px;
        left: 2px;
    }

        .experience-circle strong {
            font-size: 18px;
        }

        .experience-circle span {
            font-size: 6px;
        }

    .floating-badge {
        font-size: 6px;
        padding: 7px 9px;
    }

    .badge-top-left {
        left: 0;
        top: 30px;
    }

    .badge-top-right {
        right: 0;
        top: 75px;
    }

    .badge-bottom-left {
        left: 15px;
        bottom: 55px;
    }

    .profile-caption {
        right: 0;
        bottom: 15px;
        font-size: 7px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 40px;
    }

        .section-heading h2 {
            font-size: 43px;
            letter-spacing: -2px;
        }

    .about-main-card {
        padding: 25px;
    }

    .about-summary {
        font-size: 14px;
    }

    .about-info {
        grid-template-columns: 1fr 1fr;
    }

    .info-card {
        padding: 16px;
        min-height: 110px;
    }

    .skill-grid,
    .it-skills {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 24px;
    }

    .experience-card {
        padding: 32px 0;
    }

    .experience-left h3 {
        font-size: 21px;
    }

    .featured-project-image {
        min-height: 230px;
    }

    .featured-project-content {
        padding: 25px;
    }

        .featured-project-content h3 {
            font-size: 28px;
        }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 230px;
    }

    .resume-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .resume-actions {
        width: 100%;
    }

    .resume-button,
    .resume-download {
        flex: 1;
    }

    .contact-form {
        padding: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}
.hero-title,
.section-heading h2,
.featured-project-content h3,
.project-content h3,
.experience-left h3,
.contact-info h3,
.resume-banner h2 {
    font-family: "Space Grotesk", sans-serif;
}
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================================================
   PREMIUM REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }


/* Hero animations */

.hero-content > * {
    opacity: 0;
    transform: translateY(25px);
    animation: heroReveal .8s cubic-bezier(.22, 1, .36, 1) forwards;
}

    .hero-content > *:nth-child(1) {
        animation-delay: .15s;
    }

    .hero-content > *:nth-child(2) {
        animation-delay: .25s;
    }

    .hero-content > *:nth-child(3) {
        animation-delay: .35s;
    }

    .hero-content > *:nth-child(4) {
        animation-delay: .45s;
    }

    .hero-content > *:nth-child(5) {
        animation-delay: .55s;
    }

    .hero-content > *:nth-child(6) {
        animation-delay: .65s;
    }

    .hero-content > *:nth-child(7) {
        animation-delay: .75s;
    }


@keyframes heroReveal {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Profile entrance */

.hero-profile {
    opacity: 0;
    transform: translateX(40px) scale(.96);
    animation: profileReveal 1s .35s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes profileReveal {

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}


/* Floating badges */

.floating-badge {
    animation: floatingBadge 4s ease-in-out infinite;
}

.badge-top-left {
    animation-delay: 0s;
}

.badge-top-right {
    animation-delay: .7s;
}

.badge-bottom-left {
    animation-delay: 1.2s;
}

/*@keyframes floatingBadge {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
*/

/* Experience circle */

.experience-circle {
    animation: experienceFloat 5s ease-in-out infinite;
}

@keyframes experienceFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* Profile image */

.profile-circle {
    transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease;
}

    .profile-circle:hover {
        transform: translateY(-8px) rotate(-1deg);
        box-shadow: 0 40px 100px rgba(30,25,20,.22);
    }


/* Cards */

.skill-card,
.info-card,
.project-card,
.featured-project,
.it-skill-card {
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

    .skill-card:hover,
    .info-card:hover,
    .project-card:hover,
    .it-skill-card:hover {
        transform: translateY(-7px);
        border-color: rgba(73,56,168,.25);
        box-shadow: 0 25px 60px rgba(30,25,20,.10);
    }


/* Buttons */

.btn-primary-custom,
.btn-outline-custom,
.resume-button,
.resume-download,
.send-button {
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

    .btn-primary-custom:hover,
    .resume-button:hover,
    .send-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(73,56,168,.18);
    }


/* Respect reduced motion */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   HERO ROLE
========================================================= */

.hero-role {
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: -18px;
    margin-bottom: 18px;
}


/* =========================================================
   .NET ENGINEERING
========================================================= */

.dotnet-section {
    background: var(--paper-light);
}

.engineering-intro {
    max-width: 720px;
    margin: -25px 0 45px 180px;
}

    .engineering-intro p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.9;
    }

.dotnet-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dotnet-stack-card {
    position: relative;
    padding: 28px;
    min-height: 310px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

    .dotnet-stack-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(30,25,20,.09);
    }

.stack-primary {
    background: linear-gradient( 145deg, var(--indigo), var(--indigo-dark) );
    color: white;
}

.stack-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 8px;
}

.stack-primary .stack-number {
    color: rgba(255,255,255,.45);
}

.stack-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    border-radius: 9px;
    background: var(--indigo-light);
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 500;
}

.stack-primary .stack-icon {
    background: rgba(255,255,255,.12);
    color: white;
}

.dotnet-stack-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 13px;
}

.dotnet-stack-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.stack-primary p {
    color: rgba(255,255,255,.7);
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .stack-tags span {
        padding: 6px 7px;
        background: var(--paper);
        color: var(--ink-soft);
        border-radius: 4px;
        font-family: "DM Mono", monospace;
        font-size: 7px;
    }

.stack-primary .stack-tags span {
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.8);
}


/* =========================================================
   ARCHITECTURE FLOW
========================================================= */

.architecture-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 55px;
    padding: 25px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.architecture-node {
    text-align: center;
}

    .architecture-node strong {
        display: block;
        color: var(--ink);
        font-family: "DM Mono", monospace;
        font-size: 10px;
    }

    .architecture-node span {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        font-size: 8px;
    }

.architecture-arrow {
    color: var(--terra);
    font-size: 20px;
}


/* =========================================================
   HOW I BUILD
========================================================= */

.build-section {
    padding: 110px 0;
    background: var(--ink);
    color: white;
}

.dark-heading .section-number {
    color: #e78a62;
}

.dark-heading .section-kicker {
    color: #aaa0e8;
}

.dark-heading h2 {
    color: white;
}

    .dark-heading h2 em {
        color: #a9a0e2;
    }

.build-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 10px;
}

.build-step {
    flex: 1;
    min-width: 145px;
    padding: 24px 20px;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
}

    .build-step span {
        color: #a8a0dd;
        font-family: "DM Mono", monospace;
        font-size: 9px;
    }

    .build-step h3 {
        margin: 17px 0 8px;
        font-family: "Space Grotesk", sans-serif;
        font-size: 17px;
    }

    .build-step p {
        color: #918b84;
        font-size: 9px;
        line-height: 1.7;
    }

.build-arrow {
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--terra);
    font-size: 18px;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.career-highlight {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    padding: 45px;
    background: linear-gradient( 135deg, rgba(255,255,255,.07), rgba(255,255,255,.025) );
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 15px;
}

.career-main h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    margin-bottom: 5px;
}

.career-company {
    color: #b9b3aa;
    font-size: 12px;
}

.career-period {
    margin-top: 28px;
    color: #807a73;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    line-height: 1.8;
}

.career-summary {
    border-left: 1px solid rgba(255,255,255,.12);
    padding-left: 35px;
}

    .career-summary p {
        color: #bcb6ae;
        font-size: 12px;
        line-height: 1.9;
        margin-bottom: 15px;
    }

.engineering-focus {
    margin-top: 55px;
}

.focus-title {
    color: #817b73;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.10);
}

.focus-item {
    padding: 25px;
    background: var(--ink);
}

    .focus-item span {
        color: var(--terra);
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }

    .focus-item strong {
        display: block;
        margin-top: 14px;
        font-family: "Space Grotesk", sans-serif;
        font-size: 14px;
    }

    .focus-item p {
        margin-top: 7px;
        color: #77716a;
        font-size: 8px;
        line-height: 1.7;
    }


/* =========================================================
   WHAT I BUILD
========================================================= */

.what-build-section {
    background: var(--paper);
}

.what-build-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.build-card {
    position: relative;
    padding: 35px;
    min-height: 240px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: .35s ease;
}

    .build-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }

.build-card-number {
    color: var(--terra);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    margin-bottom: 35px;
}

.build-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.build-card p {
    max-width: 450px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.build-card-tags {
    position: absolute;
    bottom: 25px;
    left: 35px;
    color: var(--indigo);
    font-family: "DM Mono", monospace;
    font-size: 8px;
}


/* =========================================================
   BACKEND ARCHITECTURE
========================================================= */

.architecture-section {
    background: var(--ink);
    color: white;
}

.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 45px 0;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.architecture-box {
    min-width: 145px;
    padding: 22px 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

    .architecture-box span {
        display: block;
        color: #88827b;
        font-family: "DM Mono", monospace;
        font-size: 7px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .architecture-box strong {
        color: white;
        font-family: "Space Grotesk", sans-serif;
        font-size: 12px;
    }

.active-box {
    background: var(--indigo);
    border-color: var(--indigo);
    box-shadow: 0 20px 45px rgba(73,56,168,.30);
}

    .active-box span {
        color: #c5bef0;
    }

.diagram-arrow {
    color: var(--terra);
    font-size: 18px;
}

.architecture-practices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.10);
}

    .architecture-practices span {
        padding: 8px 10px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 5px;
        color: #a19b93;
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }


/* =========================================================
   SECURITY
========================================================= */

.security-section {
    padding: 100px 0;
    background: var(--terra);
    color: white;
}

.security-header {
    max-width: 650px;
    margin-bottom: 50px;
}

    .security-header .section-kicker {
        color: rgba(255,255,255,.65);
    }

    .security-header h2 {
        font-family: "Space Grotesk", sans-serif;
        font-size: clamp(40px, 5vw, 62px);
        line-height: 1;
        letter-spacing: -2px;
        margin-bottom: 18px;
    }

        .security-header h2 em {
            font-style: normal;
            color: #ffe2d3;
        }

    .security-header > p:last-child {
        color: rgba(255,255,255,.72);
        font-size: 12px;
        line-height: 1.8;
    }

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.18);
}

.security-item {
    padding: 30px;
    background: var(--terra);
}

    .security-item > span {
        color: rgba(255,255,255,.55);
        font-family: "DM Mono", monospace;
        font-size: 8px;
    }

    .security-item h3 {
        margin-top: 25px;
        font-family: "Space Grotesk", sans-serif;
        font-size: 17px;
    }

    .security-item p {
        margin-top: 7px;
        color: rgba(255,255,255,.66);
        font-size: 9px;
        line-height: 1.7;
    }

/* =========================================================
   NEW SECTIONS RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .dotnet-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-line {
        flex-wrap: wrap;
    }

    .focus-grid,
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-diagram {
        flex-wrap: wrap;
    }
}


@media (max-width: 850px) {

    .engineering-intro {
        margin-left: 0;
        margin-right: 0;
    }

    .dotnet-stack-grid {
        grid-template-columns: 1fr;
    }

    .career-highlight {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .career-summary {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.12);
        padding-left: 0;
        padding-top: 30px;
    }

    .build-flow {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow: visible;
    }

    .build-arrow {
        display: none;
    }

    .what-build-grid {
        grid-template-columns: 1fr;
    }

    .architecture-diagram {
        flex-direction: column;
    }

    .diagram-arrow {
        transform: rotate(90deg);
    }
}


@media (max-width: 600px) {

    .dotnet-stack-card {
        min-height: 270px;
    }

    .architecture-line {
        flex-direction: column;
        align-items: stretch;
    }

    .architecture-arrow {
        text-align: center;
        transform: rotate(90deg);
    }

    .build-flow {
        grid-template-columns: 1fr;
    }

    .focus-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .career-highlight {
        padding: 25px;
    }

    .career-main h3 {
        font-size: 27px;
    }

    .architecture-box {
        width: 100%;
    }
}



/* =========================================================
   PREMIUM 3D SCROLL SYSTEM
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    perspective: 1400px;
    overflow-x: hidden;
}


/* ---------------------------------------------------------
   SCROLL PROGRESS
--------------------------------------------------------- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 99999;
    pointer-events: none;
    background: transparent;
}

#scrollProgress {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient( 90deg, var(--indigo), var(--terra) );
    box-shadow: 0 0 12px rgba(73, 56, 168, .35);
    transition: width .08s linear;
}


/* ---------------------------------------------------------
   SECTION 3D REVEAL
--------------------------------------------------------- */

.portfolio-section,
.build-section,
.security-section,
.resume-section,
.contact-section {
    transform-style: preserve-3d;
    will-change: transform, opacity;
}


/* Initial state */

.js-3d-reveal {
    opacity: 0;
    transform: translateY(80px) translateZ(-120px) rotateX(5deg);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}


    /* Visible */

    .js-3d-reveal.is-visible {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0);
    }


/* ---------------------------------------------------------
   STAGGER CHILDREN
--------------------------------------------------------- */

.js-3d-stagger > * {
    opacity: 0;
    transform: translateY(35px) translateZ(-50px);
    transition: opacity .75s ease, transform .85s cubic-bezier(.16, 1, .3, 1);
}


.js-3d-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}


    .js-3d-stagger.is-visible > *:nth-child(1) {
        transition-delay: .05s;
    }

    .js-3d-stagger.is-visible > *:nth-child(2) {
        transition-delay: .12s;
    }

    .js-3d-stagger.is-visible > *:nth-child(3) {
        transition-delay: .19s;
    }

    .js-3d-stagger.is-visible > *:nth-child(4) {
        transition-delay: .26s;
    }

    .js-3d-stagger.is-visible > *:nth-child(5) {
        transition-delay: .33s;
    }

    .js-3d-stagger.is-visible > *:nth-child(6) {
        transition-delay: .40s;
    }


/* ---------------------------------------------------------
   3D CARDS
--------------------------------------------------------- */

.dotnet-stack-card,
.build-card,
.project-card,
.it-skill-card,
.focus-item,
.security-item {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease;
}


    /* ---------------------------------------------------------
   CARD DEPTH
--------------------------------------------------------- */

    .dotnet-stack-card::after,
    .build-card::after,
    .project-card::after {
        content: "";
        position: absolute;
        inset: 10px;
        z-index: -1;
        border-radius: inherit;
        background: rgba(73, 56, 168, .12);
        filter: blur(25px);
        opacity: 0;
        transform: translateZ(-30px) scale(.9);
        transition: opacity .4s ease, transform .4s ease;
    }


    .dotnet-stack-card:hover::after,
    .build-card:hover::after,
    .project-card:hover::after {
        opacity: 1;
        transform: translateZ(-30px) scale(1);
    }


/* ---------------------------------------------------------
   PROJECT IMAGE DEPTH
--------------------------------------------------------- */

.project-image,
.featured-project-image {
    overflow: hidden;
    transform-style: preserve-3d;
}


    .project-image img,
    .featured-project-image img {
        transition: transform 1s cubic-bezier(.16, 1, .3, 1);
    }


.project-card:hover .project-image img,
.featured-project:hover .featured-project-image img {
    transform: scale(1.06) translateZ(20px);
}


/* ---------------------------------------------------------
   HERO PARALLAX
--------------------------------------------------------- */

.hero-profile {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .15s linear;
}


.profile-circle {
    transform-style: preserve-3d;
    will-change: transform;
}


.profile-circle-inner {
    transform-style: preserve-3d;
}


/* ---------------------------------------------------------
   FLOATING BADGES
--------------------------------------------------------- */

.floating-badge {
    transform-style: preserve-3d;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}


/* ---------------------------------------------------------
   EXPERIENCE CIRCLE
--------------------------------------------------------- */

.experience-circle {
    transform-style: preserve-3d;
    box-shadow: 0 25px 60px rgba(21, 20, 26, .10);
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease;
}


/* ---------------------------------------------------------
   ARCHITECTURE BOX
--------------------------------------------------------- */

.architecture-box {
    transform-style: preserve-3d;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, background .35s ease;
}


    .architecture-box:hover {
        transform: translateY(-8px) rotateX(5deg) translateZ(25px);
        border-color: rgba(255,255,255,.35);
    }


/* ---------------------------------------------------------
   BUTTON DEPTH
--------------------------------------------------------- */

.btn-primary-custom,
.btn-outline-custom,
.resume-button,
.resume-download,
.send-button {
    transform-style: preserve-3d;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease;
}


    .btn-primary-custom:hover,
    .resume-button:hover,
    .send-button:hover {
        transform: translateY(-4px) translateZ(10px);
        box-shadow: 0 18px 35px rgba(73, 56, 168, .20);
    }


    .btn-outline-custom:hover,
    .resume-download:hover {
        transform: translateY(-4px) translateZ(8px);
    }


/* ---------------------------------------------------------
   TECH MARQUEE
--------------------------------------------------------- */

.tech-marquee {
    overflow: hidden;
    transform-style: preserve-3d;
}


.marquee-content {
    will-change: transform;
    animation: portfolioMarquee 28s linear infinite;
}


@keyframes portfolioMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ---------------------------------------------------------
   BACKGROUND DEPTH
--------------------------------------------------------- */

.hero-section,
.dotnet-section,
.what-build-section,
.skills-section {
    position: relative;
    overflow: hidden;
}


    .hero-section::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        right: -180px;
        top: 100px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(73,56,168,.10), transparent 65% );
        pointer-events: none;
        transform: translateZ(-100px);
        animation: backgroundFloat 10s ease-in-out infinite;
    }


    .hero-section::after {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        left: -200px;
        bottom: -150px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(213,101,53,.08), transparent 65% );
        pointer-events: none;
        animation: backgroundFloat 13s ease-in-out infinite reverse;
    }


@keyframes backgroundFloat {

    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -25px, 0) scale(1.08);
    }
}


/* ---------------------------------------------------------
   MOBILE / REDUCED MOTION
--------------------------------------------------------- */

@media (max-width: 768px) {

    body {
        perspective: none;
    }

    .js-3d-reveal {
        transform: translateY(40px);
    }

        .js-3d-reveal.is-visible {
            transform: translateY(0);
        }

    .architecture-box:hover {
        transform: translateY(-4px);
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}