/* 
==================================================
    SECTION HERO DENGAN CSS GRID
==================================================
*/

/* === Hero Grid Display Management === */
.hero {
    padding: 4.5rem 0 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas:
        "identity photo"
        "details  photo";
    gap: 1.5rem 3rem;
}

.hero-identity {
    grid-area: identity;
}

.hero-details {
    grid-area: details;
}
.hero-photo {
    grid-area: photo;
}

/* === Computer Science Universitas Indonesia === */
.hero-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fcd15a;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* === Name Section === */
.name {
    margin-top: 3.5rem;
    font-size: inherit;
}

.word {
    display: inline-block;
    margin: 0 0.3rem;
}

.word > span {
    font-family: "STIX Two Text", "Times New Roman", Times, serif;
    font-weight: normal;
    letter-spacing: 0.03em;
    font-size: clamp(3.5rem, 11vw, 5.5rem);

    background: linear-gradient(
        0deg,
        #dd00ff,
        #ff8800
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: white;

    display: inline-block;
    margin: 0 -0.05em;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease,
        transform 0.2s ease;
}

.word > span:hover {
    color: transparent;
}

/* === Bio Paragraph === */

.bio {
    font-family: "Inter", sans-serif;
    color: var(--text-muted);
    max-width: 480px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* === NPM & Program Studi === */
.meta-list {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.meta-row dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.meta-row dd {
    font-family: "Inter", sans-serif;
    font-weight: 600;
}
@media (max-width: 800px){
    .meta-list {
        flex-direction: column;
    }  
}

/* === Github, LinkedIn & Email links === */
.social-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: left;
}
.social-links .button-accent {
    padding: 0.5em 1em;
    font-size: 0.9em;
}

@media (max-width: 600px){
    .social-links {
        flex-direction: column;
    }  
}

/* === Profile Photo === */
.hero-photo {
    align-self: center;
    position: relative;
}

/* Photo Frame */
.photo-block {
    position: absolute;
    top: 2vw;
    left: 2vw;
    width: 100%;
    height: 100%;
    background-image: var(--bright-gradient);
    z-index: 0;
}

/* Photo Avatar */
.avatar {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Responsive Hero */
@media (max-width: 800px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "identity"
            "photo"
            "details";
    }

    .hero-photo {
        max-width: 220px;
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* Logo */

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10rem;
}

.logo {
    width: 50vmin;
    height:50vmin;
}
.brand-logo p {
    font-family: "Outfit", "Inter", sans-serif;
    font-weight: bold;
    font-size: 10vw;
    letter-spacing: 0.5vw;
    margin: 5vw;
    
    background-image: var(--bright-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
