/* =========================================
   VARIABLES
========================================= */

:root {
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --card: #121212;
    --card-hover: #171717;

    --text: #f5f5f5;
    --text-secondary: #969696;

    --accent: #4f7cff;
    --accent-hover: #6d94ff;

    --border: #262626;

    --heading-font: "Space Grotesk", sans-serif;
    --body-font: "Inter", sans-serif;
    --mono-font: "JetBrains Mono", monospace;
}


/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: var(--body-font);

    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

h1,
h2,
h3 {
    font-family: var(--heading-font);
}

.eyebrow {
    color: var(--accent);

    font-family: var(--mono-font);
    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================
   REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   NAVBAR
========================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(10, 10, 10, 0.82);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

    transition: 0.3s ease;
}

.header.scrolled {
    border-color: var(--border);
}

.navbar {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--heading-font);

    font-size: 1.35rem;
    font-weight: 700;

    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    position: relative;

    color: var(--text-secondary);

    font-size: 0.87rem;

    transition: 0.3s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-socials {
    display: flex;

    align-items: center;

    gap: 18px;
}

.nav-socials a {
    color: var(--text-secondary);

    transition: 0.3s ease;
}

.nav-socials a:hover {
    color: var(--accent);

    transform: translateY(-2px);
}

.menu-btn {
    display: none;

    border: none;

    background: transparent;

    color: var(--text);

    font-size: 1.35rem;

    cursor: pointer;
}


/* =========================================
   ABOUT HERO
========================================= */

.about-hero {
    min-height: 90vh;

    display: flex;
    align-items: center;

    padding:
        165px
        0
        100px;

    border-bottom: 1px solid var(--border);
}

.about-hero-grid {
    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    align-items: end;

    gap: 90px;

    margin-top: 35px;
}

.hero-heading h1 {
    font-size: clamp(5rem, 9vw, 9rem);

    line-height: 0.86;

    letter-spacing: -7px;
}

.hero-heading h1 span {
    display: block;

    color: var(--text-secondary);
}

.hero-intro {
    padding-bottom: 8px;
}

.hero-large-text {
    color: var(--text) !important;

    font-family: var(--heading-font);

    font-size: 1.5rem !important;

    letter-spacing: -0.6px;

    line-height: 1.45 !important;
}

.hero-intro > p {
    margin-top: 22px;

    color: var(--text-secondary);

    font-size: 0.92rem;

    line-height: 1.9;
}

.hero-intro .hero-large-text {
    margin-top: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 22px;

    border: 1px solid var(--border);

    font-size: 0.87rem;
    font-weight: 600;

    transition: 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);

    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);

    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--text);

    transform: translateY(-3px);
}


/* =========================================
   QUICK INFO
========================================= */

.quick-info {
    border-bottom: 1px solid var(--border);
}

.quick-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-left: 1px solid var(--border);
}

.info-item {
    min-height: 230px;

    padding: 34px 28px;

    border-right: 1px solid var(--border);

    transition: 0.3s ease;
}

.info-item:hover {
    background: var(--bg-secondary);
}

.info-label {
    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.62rem;
}

.info-item h3 {
    margin-top: 48px;

    font-size: 1.2rem;
}

.info-item p {
    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 0.78rem;

    line-height: 1.7;
}

.available {
    display: flex;

    align-items: center;

    gap: 9px;
}

.status-dot {
    width: 8px;
    height: 8px;

    display: inline-block;

    background: #4ccd78;

    border-radius: 50%;

    box-shadow:
        0 0 12px
        rgba(76, 205, 120, 0.5);
}


/* =========================================
   STORY
========================================= */

.story-section {
    border-bottom: 1px solid var(--border);
}

.story-grid {
    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 100px;
}

.story-heading h2 {
    margin-top: 20px;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 0.95;

    letter-spacing: -4px;
}

.story-heading h2 span {
    display: block;

    color: var(--text-secondary);
}

.story-content p {
    margin-top: 25px;

    max-width: 680px;

    color: var(--text-secondary);

    line-height: 1.9;
}

.story-content p:first-child {
    margin-top: 0;
}

.story-large {
    color: var(--text) !important;

    font-family: var(--heading-font);

    font-size: 1.65rem;

    letter-spacing: -0.5px;

    line-height: 1.45 !important;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: clamp(3rem, 5vw, 5rem);

    letter-spacing: -4px;
}

.section-heading > p {
    max-width: 380px;

    color: var(--text-secondary);

    font-size: 0.86rem;

    line-height: 1.8;
}


/* =========================================
   SKILLS
========================================= */

.skills-section {
    background: var(--bg-secondary);

    border-bottom: 1px solid var(--border);
}

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.skill-category {
    min-height: 290px;

    padding: 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: 0.35s ease;
}

.skill-category:hover {
    background: var(--card-hover);
}

.skill-category-top {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.skill-category-top span {
    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.65rem;
}

.skill-category-top i {
    color: var(--accent);

    font-size: 1.4rem;
}

.skill-category h3 {
    margin-top: 46px;

    font-size: 1.35rem;
}

.skill-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;
}

.skill-list span {
    padding: 6px 9px;

    border: 1px solid var(--border);

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.61rem;

    transition: 0.3s ease;
}

.skill-list span:hover {
    color: var(--text);

    border-color:
        rgba(79, 124, 255, 0.6);
}


/* =========================================
   EDUCATION
========================================= */

.education-section {
    border-bottom: 1px solid var(--border);
}

.education-grid {
    display: grid;

    grid-template-columns:
        0.75fr
        1.25fr;

    gap: 100px;
}

.education-heading h2 {
    margin-top: 20px;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 0.95;

    letter-spacing: -4px;
}

.education-heading h2 span {
    display: block;

    color: var(--text-secondary);
}

.education-content {
    border-top: 1px solid var(--border);
}

.education-item {
    display: grid;

    grid-template-columns:
        70px
        1fr;

    gap: 25px;

    padding: 38px 0;

    border-bottom: 1px solid var(--border);
}

.education-number {
    color: var(--accent);

    font-family: var(--mono-font);

    font-size: 0.7rem;

    padding-top: 4px;
}

.education-type {
    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.61rem;

    letter-spacing: 1px;
}

.education-details h3 {
    margin-top: 8px;

    font-size: 1.35rem;
}

.education-details p {
    margin-top: 10px;

    max-width: 590px;

    color: var(--text-secondary);

    font-size: 0.84rem;

    line-height: 1.8;
}


/* =========================================
   PRINCIPLES
========================================= */

.principles-section {
    padding: 120px 0;

    background: #0d0d0d;

    border-bottom: 1px solid var(--border);
}

.principles-top h2 {
    max-width: 950px;

    margin-top: 25px;

    font-size: clamp(3.5rem, 7vw, 7rem);

    line-height: 0.9;

    letter-spacing: -5px;
}

.principles-top h2 span {
    color: var(--accent);
}

.principles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    margin-top: 70px;

    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.principle {
    min-height: 260px;

    padding: 32px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.principle > span {
    color: var(--accent);

    font-family: var(--mono-font);

    font-size: 0.65rem;
}

.principle h3 {
    margin-top: 70px;

    font-size: 1.3rem;
}

.principle p {
    margin-top: 12px;

    color: var(--text-secondary);

    font-size: 0.82rem;

    line-height: 1.75;
}


/* =========================================
   CTA
========================================= */

.about-cta {
    padding: 120px 0;

    background: var(--accent);

    text-align: center;
}

.about-cta .eyebrow {
    color:
        rgba(255, 255, 255, 0.7);
}

.about-cta h2 {
    margin-top: 20px;

    font-size: clamp(4rem, 8vw, 8rem);

    line-height: 0.88;

    letter-spacing: -6px;
}

.about-cta h2 span {
    display: block;
}

.cta-description {
    margin-top: 28px;

    color:
        rgba(255, 255, 255, 0.75);
}

.btn-light {
    margin-top: 35px;

    background: white;

    border-color: white;

    color: #111;
}

.btn-light:hover {
    background: #111;

    border-color: #111;

    color: white;

    transform: translateY(-3px);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 34px 0;

    background: #070707;
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-links {
    display: flex;

    gap: 28px;
}

.footer-links a,
.footer p {
    color: var(--text-secondary);

    font-size: 0.73rem;
}

.footer-links a {
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .about-hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero-intro {
        max-width: 650px;
    }

    .quick-info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .story-grid,
    .education-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   MOBILE NAV
========================================= */

@media (max-width: 750px) {

    .nav-socials {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        flex-direction: column;

        gap: 0;

        padding:
            10px
            5%
            25px;

        background: #0b0b0b;

        border-bottom:
            1px solid
            var(--border);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-15px);

        transition: 0.3s ease;
    }

    .nav-links.show {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        padding: 16px 0;

        border-bottom:
            1px solid
            #171717;
    }

    .nav-links a::after {
        display: none;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 90px 0;
    }


    /* HERO */

    .about-hero {
        min-height: auto;

        padding:
            140px
            0
            85px;
    }

    .hero-heading h1 {
        font-size:
            clamp(
                4.2rem,
                18vw,
                6rem
            );

        letter-spacing: -5px;
    }

    .hero-large-text {
        font-size: 1.3rem !important;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }


    /* QUICK INFO */

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        min-height: 190px;
    }


    /* STORY */

    .story-heading h2,
    .education-heading h2 {
        letter-spacing: -3px;
    }


    /* SKILLS */

    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        min-height: 250px;
    }


    /* EDUCATION */

    .education-item {
        grid-template-columns:
            45px
            1fr;

        gap: 15px;
    }


    /* PRINCIPLES */

    .principles-section {
        padding: 90px 0;
    }

    .principles-top h2 {
        letter-spacing: -3px;
    }

    .principles-grid {
        margin-top: 50px;
    }

    .principle {
        min-height: 220px;
    }


    /* CTA */

    .about-cta {
        padding: 90px 0;
    }

    .about-cta h2 {
        letter-spacing: -4px;
    }


    /* FOOTER */

    .footer-content {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .hero-heading h1 {
        font-size: 3.9rem;
    }

    .story-large {
        font-size: 1.35rem;
    }

    .about-cta h2 {
        font-size: 3.7rem;
    }

}