/* =========================================
   HOME PAGE
   ========================================= */


/* =========================================
   HERO
   ========================================= */

.home-hero {
    padding: 34px;

    background:
        linear-gradient(
            135deg,
            rgba(123, 131, 235, 0.07),
            transparent 45%
        ),
        #29282e;

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

    border-radius:
        10px;

    box-shadow:
        0 4px 16px rgba(
            0,
            0,
            0,
            0.16
        );
}


/* =========================================
   HERO PROFILE
   ========================================= */

.home-hero-profile {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom:
        28px;
}


.home-hero-avatar {
    position: relative;

    width: 62px;
    height: 62px;

    flex-shrink: 0;
}


.home-hero-avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

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

    border-radius:
        50%;
}


.home-status-dot {
    position: absolute;

    right: 1px;
    bottom: 2px;

    width: 13px;
    height: 13px;

    background:
        #68c978;

    border:
        3px solid #29282e;

    border-radius:
        50%;
}


.home-eyebrow {
    display: block;

    margin-bottom:
        3px;

    color:
        var(--accent-light);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size:
        0.68rem;
}


.home-hero-profile h1 {
    margin: 0;

    font-size:
        clamp(
            1.65rem,
            3vw,
            2.2rem
        );

    font-weight:
        600;

    letter-spacing:
        -0.03em;
}


/* =========================================
   HERO COPY
   ========================================= */

.home-hero-copy {
    max-width:
        780px;
}


.home-hero-copy h2 {
    max-width:
        720px;

    margin:
        0 0 16px;

    font-size:
        clamp(
            1.7rem,
            3.3vw,
            2.6rem
        );

    font-weight:
        600;

    line-height:
        1.16;

    letter-spacing:
        -0.035em;
}


.home-hero-copy p {
    max-width:
        680px;

    margin: 0;

    color:
        var(--text-secondary);

    font-size:
        0.93rem;

    line-height:
        1.7;
}


/* =========================================
   HERO ACTIONS
   ========================================= */

.home-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top:
        26px;
}


/* =========================================
   GENERAL PANEL
   ========================================= */

.home-panel {
    padding: 24px;

    background:
        #29282e;

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

    border-radius:
        10px;

    box-shadow:
        0 4px 14px rgba(
            0,
            0,
            0,
            0.14
        );
}


/* =========================================
   SECTION HEADING
   ========================================= */

.home-section-heading {
    margin-bottom:
        20px;

    padding-bottom:
        17px;

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


.home-section-heading h2 {
    margin:
        4px 0 0;

    font-size:
        1.4rem;

    font-weight:
        600;

    letter-spacing:
        -0.02em;
}


/* =========================================
   RIGHT NOW
   ========================================= */

.home-now-grid {
    display: grid;

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

    gap: 12px;
}


.home-now-card {
    min-width: 0;

    min-height:
        200px;

    display: flex;

    flex-direction: column;

    align-items:
        flex-start;

    padding:
        20px;

    color:
        inherit;

    text-align:
        left;

    background:
        #25242a;

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

    border-radius:
        8px;

    cursor:
        pointer;

    font:
        inherit;

    transition:
        background 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}


.home-now-card:hover {
    background:
        var(--surface-hover);

    border-color:
        #55545e;

    transform:
        translateY(-2px);
}


.home-now-card:focus-visible {
    outline:
        2px solid var(--accent-light);

    outline-offset:
        3px;
}


.home-now-symbol {
    width: 38px;
    height: 38px;

    display: flex;

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

    margin-bottom:
        18px;

    color:
        var(--accent-light);

    background:
        #1f1e23;

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

    border-radius:
        7px;

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size:
        0.73rem;
}


.home-now-label {
    margin-bottom:
        6px;

    color:
        var(--accent-light);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size:
        0.61rem;

    font-weight:
        600;

    letter-spacing:
        0.08em;
}


.home-now-card h3 {
    margin:
        0 0 8px;

    font-size:
        1rem;

    font-weight:
        600;
}


.home-now-card p {
    margin: 0;

    color:
        var(--text-secondary);

    font-size:
        0.8rem;

    line-height:
        1.55;
}


/* =========================================
   BEYOND CODE
   ========================================= */

.home-personal {
    padding:
        28px;

    background:
        #29282e;

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

    border-radius:
        10px;

    box-shadow:
        0 4px 14px rgba(
            0,
            0,
            0,
            0.14
        );
}


.home-personal-copy {
    max-width:
        720px;
}


.home-personal-copy h2 {
    margin:
        5px 0 12px;

    font-size:
        clamp(
            1.35rem,
            2.4vw,
            1.8rem
        );

    font-weight:
        600;

    letter-spacing:
        -0.025em;
}


.home-personal-copy p {
    margin: 0;

    color:
        var(--text-secondary);

    font-size:
        0.88rem;

    line-height:
        1.7;
}


/* =========================================
   INTERESTS
   ========================================= */

.home-interest-list {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top:
        22px;
}


.home-interest-list span {
    padding:
        7px 10px;

    color:
        var(--text-secondary);

    background:
        #25242a;

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

    border-radius:
        5px;

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size:
        0.7rem;
}


/* =========================================
   TERMINAL LINE
   ========================================= */

.home-terminal-line {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top:
        24px;

    padding:
        13px 15px;

    color:
        var(--text-secondary);

    background:
        #1d1c21;

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

    border-radius:
        6px;

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size:
        0.7rem;
}


.home-terminal-line span:first-child {
    color:
        var(--accent-light);
}


/* =========================================
   RESPONSIVE - 750PX
   ========================================= */

@media (max-width: 750px) {

    .home-now-grid {
        grid-template-columns:
            1fr;
    }


    .home-now-card {
        min-height:
            auto;
    }

}


/* =========================================
   RESPONSIVE - 550PX
   ========================================= */

@media (max-width: 550px) {

    .home-hero,
    .home-panel,
    .home-personal {
        padding:
            20px;
    }


    .home-hero-copy h2 {
        font-size:
            1.7rem;
    }


    .home-hero-actions {
        flex-direction:
            column;
    }


    .home-hero-actions > * {
        width:
            100%;
    }


    .home-terminal-line {
        flex-wrap:
            wrap;
    }

}