/* =========================================================
   HARITHA BOBBURI — PORTFOLIO
   STYLE.CSS — PART 1 OF 2
========================================================= */


/* =========================================================
   01. RESET
========================================================= */

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

html {
    scroll-behavior: auto;
    font-size: 16px;
}

body {
    min-height: 100vh;

    font-family:
        "DM Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg);
    color: var(--text);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    transition:
        background-color 0.5s ease,
        color 0.5s ease;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}


/* =========================================================
   02. THEME SYSTEM
========================================================= */


/* ---------------------------------------------------------
   LIGHT
--------------------------------------------------------- */

body.theme-light {
    --bg: #f5f4ef;
    --bg-soft: #ecebe5;
    --surface: #ffffff;

    --text: #111111;
    --text-soft: #666660;
    --text-muted: #8a8982;

    --line: rgba(17, 17, 17, 0.14);
    --line-strong: rgba(17, 17, 17, 0.28);

    --accent: #111111;
    --accent-soft: #dcdad1;

    --card: #ebeae4;

    --cursor: #111111;
}


/* ---------------------------------------------------------
   DARK
--------------------------------------------------------- */

body.theme-dark {
    --bg: #101010;
    --bg-soft: #171717;
    --surface: #1b1b1b;

    --text: #f3f2ed;
    --text-soft: #aaa9a2;
    --text-muted: #77766f;

    --line: rgba(243, 242, 237, 0.14);
    --line-strong: rgba(243, 242, 237, 0.28);

    --accent: #f3f2ed;
    --accent-soft: #292929;

    --card: #1c1c1c;

    --cursor: #f3f2ed;
}


/* ---------------------------------------------------------
   HB LIGHT
--------------------------------------------------------- */

body.theme-hb-light {
    --bg: #f4efe7;
    --bg-soft: #e9e0d4;
    --surface: #fffaf3;

    --text: #171512;
    --text-soft: #696158;
    --text-muted: #92897f;

    --line: rgba(23, 21, 18, 0.15);
    --line-strong: rgba(23, 21, 18, 0.30);

    --accent: #8b5e3c;
    --accent-soft: #dfc9b5;

    --card: #e9ddd0;

    --cursor: #8b5e3c;
}


/* ---------------------------------------------------------
   HB DARK
--------------------------------------------------------- */

body.theme-hb-dark {
    --bg: #11100f;
    --bg-soft: #191715;
    --surface: #211d19;

    --text: #f2e9df;
    --text-soft: #b7aaa0;
    --text-muted: #81756c;

    --line: rgba(242, 233, 223, 0.14);
    --line-strong: rgba(242, 233, 223, 0.28);

    --accent: #d2a77f;
    --accent-soft: #3a2c21;

    --card: #211d19;

    --cursor: #d2a77f;
}


/* =========================================================
   03. GLOBAL
========================================================= */

::selection {
    background: var(--text);
    color: var(--bg);
}

body,
.nav,
.project-card,
.project-visual,
.capability,
.tech-category,
.contact-link,
.footer,
.marquee-section {
    transition:
        background-color 0.5s ease,
        color 0.5s ease,
        border-color 0.5s ease;
}

.section {
    width: 100%;
}

.section-index {
    font-size: 0.72rem;
    line-height: 1;

    color: var(--text-muted);

    letter-spacing: 0.08em;

    font-weight: 600;
}

.section-label {
    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--text-muted);
}


/* =========================================================
   04. CUSTOM CURSOR
========================================================= */

.cursor {
    position: fixed;

    width: 10px;
    height: 10px;

    left: 0;
    top: 0;

    border-radius: 50%;

    background: var(--cursor);

    pointer-events: none;

    z-index: 9999;

    transform:
        translate(-50%, -50%);

    mix-blend-mode: difference;

    opacity: 0;

    transition:
        width 0.25s ease,
        height 0.25s ease,
        opacity 0.25s ease;
}

body:hover .cursor {
    opacity: 1;
}

.cursor.active {
    width: 42px;
    height: 42px;

    opacity: 0.75;
}

.cursor span {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   05. NAVIGATION
========================================================= */

.nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding:
        26px 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    background:
        linear-gradient(
            to bottom,
            var(--bg) 0%,
            transparent 100%
        );
}

.logo {
    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.logo-image {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.logo-light {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

body.theme-dark .logo-light,
body.theme-hb-dark .logo-light {
    opacity: 0;
}

body.theme-dark .logo-dark,
body.theme-hb-dark .logo-dark {
    opacity: 1;
}

.nav-links {
    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    gap: 34px;
}

.nav-links a {
    position: relative;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--text-soft);

    transition:
        color 0.25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 100%;
    height: 1px;

    background: var(--text);

    transform:
        scaleX(0);

    transform-origin: right;

    transition:
        transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    transform:
        scaleX(1);

    transform-origin: left;
}


/* =========================================================
   06. THEME TOGGLE
========================================================= */

.theme-toggle {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);

    border-radius: 50%;

    background: transparent;

    color: var(--text);

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.theme-toggle:hover {
    background: var(--text);

    color: var(--bg);

    border-color: var(--text);

    transform:
        rotate(20deg);
}

.theme-icon {
    font-size: 0.95rem;

    line-height: 1;
}


/* =========================================================
   07. HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding:
        160px 38px 60px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;
}

.hero-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.eyebrow,
.hero-status {
    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.eyebrow {
    color: var(--text-muted);
}

.hero-status {
    color: var(--accent);
}

.hero-title {
    margin-top: auto;
    margin-bottom: auto;

    padding:
        70px 0 50px;

    overflow: visible;
}

.hero-title-line {
    overflow: visible;
}

.hero-title-offset {
    padding-left:
        clamp(
            40px,
            14vw,
            220px
        );
}

.hero-title-word {
    display: inline-block;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            5rem,
            15vw,
            15rem
        );

    font-weight: 500;

    line-height: 0.82;

    letter-spacing: -0.075em;

    color: var(--text);

    will-change: transform;
}

.hero-bottom {
    display: grid;

    grid-template-columns:
        minmax(280px, 520px)
        1fr
        auto;

    gap: 40px;

    align-items: end;
}

.hero-description {
    grid-column: 1;
}

.hero-description p {
    font-size:
        clamp(
            0.95rem,
            1.2vw,
            1.15rem
        );

    line-height: 1.55;

    color: var(--text-soft);

    max-width: 520px;
}

.hero-description p:first-child {
    color: var(--text);

    font-weight: 600;

    margin-bottom: 8px;
}

.hero-right {
    grid-column: 3;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 30px;
}

.hero-location {
    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.13em;

    color: var(--text-muted);
}

.hero-scroll {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(--text);
}

.hero-scroll-arrow {
    font-size: 1rem;

    transition:
        transform 0.3s ease;
}

.hero-scroll:hover .hero-scroll-arrow {
    transform:
        translateY(5px);
}


/* =========================================================
   08. MARQUEE
========================================================= */

.marquee-section {
    width: 100%;

    overflow: hidden;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

    background:
        var(--bg-soft);
}

.marquee {
    width: 100%;

    overflow: hidden;

    padding:
        24px 0;
}

.marquee-track {
    width: max-content;

    display: flex;

    align-items: center;

    gap: 42px;

    animation:
        marquee 30s linear infinite;
}

.marquee-track span {
    display: flex;

    align-items: center;

    gap: 42px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            1.1rem,
            2vw,
            1.7rem
        );

    font-weight: 500;

    letter-spacing: -0.03em;

    color: var(--text);
}

.marquee-track span::after {
    content: "✦";

    color: var(--accent);

    font-size: 0.8rem;
}

@keyframes marquee {

    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-50%);
    }

}


/* =========================================================
   09. INTRO
========================================================= */

.intro {
    padding:
        180px 38px;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    border-bottom:
        1px solid var(--line);
}

.intro-content {
    max-width: 1100px;
}

.intro-heading {
    margin-top:
        32px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            3rem,
            6.5vw,
            7rem
        );

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -0.065em;

    max-width: 1050px;
}

.intro-heading span {
    color:
        var(--accent);
}

.intro-details {
    margin-top:
        75px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        70px;

    max-width:
        900px;
}

.intro-details p {
    font-size:
        clamp(
            0.95rem,
            1.2vw,
            1.08rem
        );

    line-height:
        1.7;

    color:
        var(--text-soft);
}


/* =========================================================
   10. SECTION HEADINGS
========================================================= */

.section-heading {
    display:
        grid;

    grid-template-columns:
        100px 1fr;

    gap:
        50px;

    margin-bottom:
        55px;
}

.section-heading-main {
    max-width:
        900px;
}

.section-heading h2 {
    margin-top:
        22px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            2.7rem,
            5vw,
            5.7rem
        );

    font-weight:
        500;

    line-height:
        1;

    letter-spacing:
        -0.06em;
}


/* =========================================================
   11. PROJECT CAROUSEL
========================================================= */

.projects {
    position:
        relative;

    width:
        100%;

    min-height:
        590px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        hidden;

    padding:
        40px 0;
}


/* =========================================================
   PROJECT CARDS
========================================================= */

.projects .project-card {

    position:
        absolute;

    top:
        50%;

    left:
        50%;

    width:
       400px;

    height:
        800px;

    margin:
        0;

    flex:
        none;

    scroll-snap-align:
        none;

    background:
        var(--card);

    border:
        1px solid var(--line);

    overflow:
        hidden;

    transform:
        translate(
            -50%,
            -50%
        )
        scale(
            0.82
        );

    transform-origin:
        center;

    opacity:
        0;

    visibility:
        hidden;

    pointer-events:
        none;

    z-index:
        1;

    filter:
        brightness(
            0.85
        );

    transition:
        transform 0.8s
            cubic-bezier(
                0.22,
                0.61,
                0.36,
                1
            ),
        opacity 0.6s ease,
        filter 0.8s ease,
        visibility 0.8s ease,
        border-color 0.3s ease,
        background-color 0.5s ease;
}


/* =========================================================
   ACTIVE CARD
========================================================= */

.projects .project-card.carousel-active {

    opacity:
        1;

    visibility:
        visible;

    pointer-events:
        auto;

    z-index:
        5;

    filter:
        none;

    transform:
        translate(
            -50%,
            -50%
        )
        scale(
            0.9
        );
}


/* =========================================================
   PREVIOUS CARD
========================================================= */

.projects .project-card.carousel-prev-card {

    opacity:
        0.5;

    visibility:
        visible;

    pointer-events:
        auto;

    z-index:
        3;

    transform:
        translate(
            calc(
                -50% - 270px
            ),
            -50%
        )
        scale(
            0.80
        )
        perspective(
            1200px
        )
        rotateY(
            18deg
        );

    filter:
        brightness(
            0.82
        );
}


/* =========================================================
   NEXT CARD
========================================================= */

.projects .project-card.carousel-next-card {

    opacity:
        0.5;

    visibility:
        visible;

    pointer-events:
        auto;

    z-index:
        3;

    transform:
        translate(
            calc(
                -50% + 270px
            ),
            -50%
        )
        scale(
            0.80
        )
        perspective(
            1200px
        )
        rotateY(
            -18deg
        );

    filter:
        brightness(
            0.82
        );
}


/* =========================================================
   HIDDEN CARDS
========================================================= */

.projects .project-card.carousel-hidden {

    opacity:
        0;

    visibility:
        hidden;

    pointer-events:
        none;

    z-index:
        0;

    transform:
        translate(
            -50%,
            -50%
        )
        scale(
            0.7
        );
}


/* =========================================================
   ACTIVE CARD HOVER
========================================================= */

.projects .project-card.carousel-active:hover {

    transform:
        translate(
            -50%,
            -50%
        )
        scale(
            0.815
        );

    border-color:
        var(--line-strong);
}


/* =========================================================
   PROJECT VISUAL
========================================================= */

.projects .project-visual {

    position:
        relative;

    width:
        100%;

 

    min-height:
        345px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        hidden;

    background:
        var(--bg-soft);

    transform:
        translate3d(
            var(--mouse-x, 0px),
            var(--mouse-y, 0px),
            0
        );

    transition:
        transform 0.45s ease,
        background-color 0.5s ease;
}


.projects .project-logo {

    max-width:
        635px;

    max-height:
        505px;

    width:
        auto;

    height:
        auto;

    object-fit:
        cover;

    transition:
        transform 0.5s
            cubic-bezier(
                0.2,
                0.7,
                0.2,
                1
            );
}


.projects .carousel-active:hover .project-logo {

    transform:
        scale(
            0.86
        );
}


/* =========================================================
   PROJECT INFORMATION
========================================================= */

.projects .project-info {

    flex:
        1;

    display:
        flex;

    flex-direction:
        column;

    padding:
        24px 24px 26px;
}


.projects .project-title-area {

    display:
        flex;

    align-items:
        baseline;

    gap:
        12px;
}


.projects .project-number {

    flex-shrink:
        0;

    font-size:
        0.65rem;

    color:
        var(--text-muted);

    font-weight:
        700;
}


.projects .project-title-area h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            1.45rem,
            2vw,
            2rem
        );

    font-weight:
        500;

    line-height:
        1;

    letter-spacing:
        -0.045em;
}


.projects .project-description {

    margin-top:
        18px;

    font-size:
        0.86rem;

    line-height:
        1.6;

    color:
        var(--text-soft);

    display:
        -webkit-box;

    -webkit-line-clamp:
        4;

    -webkit-box-orient:
        vertical;

    overflow:
        hidden;
}


/* =========================================================
   PROJECT META
========================================================= */

.projects .project-meta {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        6px;

    margin-top:
        20px;
}


.projects .project-meta span {

    padding:
        6px 9px;

    border:
        1px solid var(--line);

    border-radius:
        100px;

    font-size:
        0.59rem;

    font-weight:
        700;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;

    color:
        var(--text-soft);
}


/* =========================================================
   PROJECT STATUS
========================================================= */

.projects .project-status {

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    margin-top:
        14px;
}


.projects .project-status span {

    font-size:
        0.62rem;

    line-height:
        1.4;

    color:
        var(--text-muted);
}


/* =========================================================
   PROJECT CTA
========================================================= */

.projects .project-cta {

    margin-top:
        auto;

    padding-top:
        24px;

    display:
        flex;

    justify-content:
        space-between;
}


.projects .project-cta span {

    font-size:
        0.63rem;

    font-weight:
        700;

    letter-spacing:
        0.1em;

    text-transform:
        uppercase;

    color:
        var(--text);
}


/* =========================================================
   PROJECT VISUAL THEMES
========================================================= */

.project-storiweb {
    background:
        #dfe6df;
}

.project-storibeats {
    background:
        #e3dfeb;
}

.project-globetrot {
    background:
        #dce6ed;
}

.project-globetrot-live {
    background:
        #e7e0d8;
}

.project-agreetech {
    background:
        #dfe6d9;
}

.project-pharmaman {
    background:
        #e3e4e5;
}

.project-easyhealth {
    background:
        #dfe5e9;
}

.project-bookmyop {
    background:
        #e5dfd9;
}

.project-countrychicken {
    background:
        #e5e0d7;
}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.carousel-controls {

    width:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        28px;

    margin-top:
        8px;

    padding:
        0 18px;
}


/* =========================================================
   CAROUSEL ARROWS
========================================================= */

.carousel-arrow {

    width:
        46px;

    height:
        46px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    border:
        1px solid var(--line);

    border-radius:
        50%;

    background:
        transparent;

    color:
        var(--text);

    font-size:
        1rem;

    line-height:
        1;

    cursor:
        pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}


.carousel-arrow:hover:not(:disabled) {

    background:
        var(--text);

    color:
        var(--bg);

    border-color:
        var(--text);

    transform:
        scale(
            1.08
        );
}


.carousel-arrow:active:not(:disabled) {

    transform:
        scale(
            0.94
        );
}


.carousel-arrow:disabled {

    opacity:
        0.25;

    cursor:
        default;

    pointer-events:
        none;
}


/* =========================================================
   CAROUSEL DOTS
========================================================= */

.carousel-dots {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;
}


.carousel-dot {

    width:
        6px;

    height:
        6px;

    padding:
        0;

    border:
        0;

    border-radius:
        50%;

    background:
        var(--text-muted);

    opacity:
        0.35;

    cursor:
        pointer;

    transition:
        width 0.35s ease,
        opacity 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.carousel-dot:hover {

    opacity:
        0.7;

    transform:
        scale(
            1.2
        );
}


.carousel-dot.active {

    width:
        24px;

    border-radius:
        10px;

    background:
        var(--accent);

    opacity:
        1;
}


/* =========================================================
   12. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    .projects {

        min-height:
            560px;
    }


    .projects .project-card {

        width:
            360px;

        height:
            510px;
    }


    .projects .project-card.carousel-prev-card {

        transform:
            translate(
                calc(
                    -50% - 220px
                ),
                -50%
            )
            scale(
                0.77
            )
            perspective(
                1200px
            )
            rotateY(
                16deg
            );
    }


    .projects .project-card.carousel-next-card {

        transform:
            translate(
                calc(
                    -50% + 220px
                ),
                -50%
            )
            scale(
                0.77
            )
            perspective(
                1200px
            )
            rotateY(
                -16deg
            );
    }

}


/* =========================================================
   13. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .projects {

        min-height:
            510px;

        padding:
            20px 0;
    }


    .projects .project-card {

        width:
            min(
                82vw,
                350px
            );

        height:
            480px;
    }


    .projects .project-card.carousel-prev-card {

        transform:
            translate(
                calc(
                    -50% - 155px
                ),
                -50%
            )
            scale(
                0.72
            )
            perspective(
                1000px
            )
            rotateY(
                12deg
            );

        opacity:
            0.32;
    }


    .projects .project-card.carousel-next-card {

        transform:
            translate(
                calc(
                    -50% + 155px
                ),
                -50%
            )
            scale(
                0.72
            )
            perspective(
                1000px
            )
            rotateY(
                -12deg
            );

        opacity:
            0.32;
    }


    .projects .project-visual {

        flex-basis:
            205px;

        min-height:
            205px;
    }


    .projects .project-logo {

        max-width:
            100px;

        max-height:
            100px;
    }


    .projects .project-info {

        padding:
            22px 20px 24px;
    }


    .projects .project-description {

        font-size:
            0.83rem;

        -webkit-line-clamp:
            5;
    }


    .carousel-controls {

        gap:
            18px;

        margin-top:
            8px;
    }


    .carousel-arrow {

        width:
            38px;

        height:
            38px;

        font-size:
            0.9rem;
    }


    .carousel-dot {

        width:
            5px;

        height:
            5px;
    }


    .carousel-dot.active {

        width:
            18px;
    }

}

/* =========================================================
   END OF PART 1
========================================================= */
/* =========================================================
   HARITHA BOBBURI — PORTFOLIO
   STYLE.CSS — PART 2 OF 2
========================================================= */


/* =========================================================
   16. ABOUT
========================================================= */

.about {
    padding:
        180px 38px;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    border-bottom:
        1px solid var(--line);
}

.about-content {
    max-width: 1100px;
}

.about-heading {
    margin-top: 32px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            3.5rem,
            7vw,
            8rem
        );

    font-weight: 500;

    line-height: 0.92;

    letter-spacing: -0.07em;
}

.about-grid {
    margin-top: 80px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 80px;

    max-width: 950px;
}

.about-column p {
    font-size:
        clamp(
            0.95rem,
            1.15vw,
            1.08rem
        );

    line-height: 1.75;

    color: var(--text-soft);
}


/* =========================================================
   17. CAPABILITIES
========================================================= */

.capabilities {
    padding:
        180px 38px;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    border-bottom:
        1px solid var(--line);
}

.capabilities-content {
    max-width: 1100px;
}

.capability-list {
    margin-top: 50px;

    border-top:
        1px solid var(--line);
}

.capability {
    display: grid;

    grid-template-columns:
        70px 1fr;

    align-items: center;

    gap: 20px;

    padding:
        28px 0;

    border-bottom:
        1px solid var(--line);

    transition:
        padding-left 0.3s ease,
        background-color 0.3s ease;
}

.capability > span {
    font-size: 0.68rem;

    font-weight: 700;

    color: var(--text-muted);
}

.capability h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            1.8rem,
            3vw,
            3.4rem
        );

    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.045em;
}


/* =========================================================
   18. TECH STACK
========================================================= */

.tech-stack {
    padding:
        180px 38px;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    border-bottom:
        1px solid var(--line);
}

.tech-stack-content {
    max-width: 1100px;
}

.tech-stack-intro {
    margin-top: 32px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(250px, 0.6fr);

    gap: 80px;

    align-items: end;
}

.tech-stack-heading {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            3.5rem,
            7vw,
            8rem
        );

    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -0.07em;
}

.tech-stack-description {
    max-width: 390px;

    font-size: 0.98rem;

    line-height: 1.7;

    color: var(--text-soft);
}

.tech-stack-list {
    margin-top: 100px;

    border-top:
        1px solid var(--line);
}

.tech-category {
    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 30px;

    padding:
        34px 0;

    border-bottom:
        1px solid var(--line);
}

.tech-category-number {
    padding-top: 5px;

    font-size: 0.68rem;

    font-weight: 700;

    color: var(--text-muted);
}

.tech-category-content h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            1.3rem,
            2vw,
            1.8rem
        );

    font-weight: 500;

    letter-spacing: -0.035em;
}

.tech-items {
    margin-top: 18px;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.tech-items span {
    padding:
        8px 11px;

    border:
        1px solid var(--line);

    border-radius: 100px;

    font-size: 0.68rem;

    font-weight: 600;

    color: var(--text-soft);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.tech-items span:hover {
    background:
        var(--text);

    color:
        var(--bg);

    border-color:
        var(--text);
}


/* =========================================================
   19. CONTACT
========================================================= */

.contact {
    padding:
        200px 38px;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    border-bottom:
        1px solid var(--line);
}

.contact-content {
    max-width: 1000px;
}

.contact-heading {
    margin-top: 32px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            4rem,
            10vw,
            11rem
        );

    font-weight: 500;

    line-height: 0.85;

    letter-spacing: -0.08em;
}

.contact-divider {
    width: 100%;

    max-width: 720px;

    height: 1px;

    margin:
        48px 0 0;

    background:
        var(--line);
}

.contact-description {
    max-width: 560px;

    margin-top: 28px;

    font-size: 1rem;

    line-height: 1.7;

    color: var(--text-soft);
}

.contact-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 38px;

    padding-bottom: 8px;

    border-bottom:
        1px solid var(--text);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--text);

    transition:
        gap 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.contact-link span {
    font-size: 1rem;

    transition:
        transform 0.3s ease;
}

.contact-link:hover {
    gap: 22px;

    color:
        var(--accent);

    border-color:
        var(--accent);
}

.contact-link:hover span {
    transform:
        translate(3px, -3px);
}


/* =========================================================
   20. FOOTER
========================================================= */

.footer {
    padding:
        35px 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-left {
    display: flex;

    align-items: center;

    gap: 22px;
}

.footer-logo {
    position: relative;

    width: 38px;
    height: 38px;

    display: block;
}

.footer-logo-image {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        opacity 0.4s ease;
}

.footer-left > span {
    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    color: var(--text-muted);
}

.footer-links {
    display: flex;

    gap: 24px;
}

.footer-links a {
    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    color: var(--text-muted);

    transition:
        color 0.25s ease;
}

.footer-links a:hover {
    color:
        var(--text);
}


/* =========================================================
   21. SCROLL REVEAL
========================================================= */

.fade-in {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   22. MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .nav {
        padding:
            20px 24px;
    }


    .hero {
        padding:
            130px 24px 45px;
    }


    .hero-title-word {
        font-size:
            clamp(
                4rem,
                14vw,
                8rem
            );
    }


    .hero-bottom {
        grid-template-columns:
            1fr auto;
    }


    .hero-right {
        grid-column: 2;
    }


    .intro,
    .about,
    .capabilities,
    .tech-stack,
    .contact {
        padding:
            130px 24px;
    }


    .products,
    .client-work,
    .part-time {
        padding:
            130px 24px;
    }


    .section-heading {
        grid-template-columns:
            70px 1fr;

        gap: 30px;
    }


    .intro {
        grid-template-columns:
            70px 1fr;

        gap: 30px;
    }


    .about {
        grid-template-columns:
            70px 1fr;

        gap: 30px;
    }


    .capabilities {
        grid-template-columns:
            70px 1fr;

        gap: 30px;
    }


    .tech-stack {
        grid-template-columns:
            70px 1fr;

        gap: 30px;
    }


    .contact {
        grid-template-columns:
            70px 1fr;

        gap: 30px;
    }


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


    .tech-stack-intro {
        grid-template-columns:
            1fr;

        gap: 35px;
    }


    .tech-stack-list {
        margin-top: 70px;
    }


    .about-grid,
    .intro-details {
        gap: 45px;
    }

}


/* =========================================================
   23. MOBILE
========================================================= */

@media (max-width: 600px) {

    html {
        font-size: 15px;
    }


    .nav {
        padding:
            16px 18px;
    }


    .logo {
        width: 40px;
        height: 40px;
    }


    .nav-links {
        position: static;

        transform: none;

        margin-left: auto;
        margin-right: 18px;

        gap: 16px;
    }


    .nav-links a {
        font-size: 0.58rem;
    }


    .theme-toggle {
        width: 38px;
        height: 38px;
    }


    .hero {
        min-height:
            100svh;

        padding:
            115px 18px 35px;
    }


    .hero-top {
        align-items: flex-start;
    }


    .eyebrow,
    .hero-status {
        font-size: 0.56rem;

        line-height: 1.5;
    }


    .hero-status {
        text-align: right;
    }


    .hero-title {
        padding:
            60px 0 40px;
    }


    .hero-title-word {
        font-size:
            clamp(
                3.7rem,
                18vw,
                6rem
            );

        letter-spacing:
            -0.08em;
    }


    .hero-title-offset {
        padding-left:
            8vw;
    }


    .hero-bottom {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }


    .hero-right {
        width: 100%;

        display: flex;

        flex-direction: row;

        justify-content: space-between;

        align-items: center;

        gap: 20px;
    }


    .hero-description p {
        font-size:
            0.9rem;
    }


    .hero-location {
        font-size:
            0.58rem;
    }


    .hero-scroll {
        font-size:
            0.58rem;
    }


    .marquee {
        padding:
            18px 0;
    }


    .marquee-track {
        gap:
            28px;

        animation-duration:
            24s;
    }


    .marquee-track span {
        gap:
            28px;

        font-size:
            1rem;
    }


    .intro,
    .about,
    .capabilities,
    .tech-stack,
    .contact,
    .products,
    .client-work,
    .part-time {
        padding:
            100px 18px;
    }


    .intro,
    .about,
    .capabilities,
    .tech-stack,
    .contact {
        display: block;
    }


    .intro > .section-index,
    .about > .section-index,
    .capabilities > .section-index,
    .tech-stack > .section-index,
    .contact > .section-index {
        margin-bottom:
            32px;
    }


    .section-heading {
        display: block;

        margin-bottom:
            50px;
    }


    .section-heading .section-index {
        margin-bottom:
            28px;
    }


    .section-heading h2 {
        font-size:
            clamp(
                2.5rem,
                12vw,
                4rem
            );
    }


    .intro-heading {
        font-size:
            clamp(
                2.5rem,
                11vw,
                4.5rem
            );
    }


    .intro-details {
        margin-top:
            50px;

        grid-template-columns:
            1fr;

        gap:
            30px;
    }


    .about-heading {
        font-size:
            clamp(
                3rem,
                13vw,
                5rem
            );
    }


    .about-grid {
        margin-top:
            50px;

        grid-template-columns:
            1fr;

        gap:
            30px;
    }


    .project-visual {
        min-height:
            300px;
    }


    .project-info {
        padding:
            24px 20px 26px;
    }


    .project-title-area h3 {
        font-size:
            1.55rem;
    }


    .project-description {
        font-size:
            0.88rem;
    }


    .capability {
        grid-template-columns:
            42px 1fr;

        padding:
            23px 0;

        gap:
            12px;
    }


    .capability h3 {
        font-size:
            clamp(
                1.45rem,
                7vw,
                2rem
            );
    }


    .tech-stack-intro {
        margin-top:
            28px;
    }


    .tech-stack-heading {
        font-size:
            clamp(
                3rem,
                14vw,
                5rem
            );
    }


    .tech-stack-list {
        margin-top:
            55px;
    }


    .tech-category {
        grid-template-columns:
            42px 1fr;

        gap:
            15px;

        padding:
            25px 0;
    }


    .tech-category-content h3 {
        font-size:
            1.25rem;
    }


    .tech-items span {
        font-size:
            0.61rem;

        padding:
            7px 9px;
    }


    .contact-heading {
        font-size:
            clamp(
                4rem,
                18vw,
                7rem
            );
    }


    .contact-divider {
        margin-top:
            36px;
    }


    .contact-description {
        font-size:
            0.9rem;

        margin-top:
            22px;
    }


    .contact-link {
        margin-top:
            30px;
    }


    .footer {
        padding:
            28px 18px;

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .footer-links {
        gap:
            18px;
    }

}


/* =========================================================
   24. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }


    .marquee-track {
        animation:
            none;
    }


    .fade-in {
        opacity: 1;

        transform:
            none;
    }


    .cursor {
        display:
            none;
    }

}


/* =========================================================
   25. TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .cursor {
        display:
            none;
    }


    .project-card:hover {
        transform:
            none;
    }


    .project-card:hover .project-logo {
        transform:
            none;
    }


    .theme-toggle:hover {
        transform:
            none;
    }

}


/* =========================================================
   END OF STYLE.CSS
========================================================= */