/*≡==--==≡≡≡≡≡==--=≡≡*\
||       HOME        ||
\*≡==---==≡≡≡==---==≡*/

/* Hero / centered invisible box */
.hero {
    display: block;
    /* remove large vertical spacing so content sits closer to the top */
    min-height: 0;
    padding: 0.6rem 0;
}

.hero-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-box {
    width: 100%;
    max-width: 900px;
    display: grid;
    gap: 1.25rem;
    /* slightly tighter grid gap */
    min-height: 0;
    padding: 0.25rem 0.5rem;
    /* left column holds name / avatar / links vertically, right column holds description */
    grid-template-columns: 200px 1fr;
    align-items: center;
    /* invisible box: no visible border or background */
}

.left {
    display: flex;
    flex-direction: column;
    /* tighter vertical spacing between name, avatar, links */
    align-items: center;
    /* center items horizontally */
    text-align: center;
    /* center text inside the left column */
}

.hero-name {
    margin: 0.05rem 0 0 0;
    /* very small top margin to sit close under avatar */
    font-size: 1.8rem;
    color: var(--text);
}

.avatar svg {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 0.05rem;
    /* small bottom margin to reduce gap to the name */
    /* center the SVG inside its container */
    border-radius: 8px;
}

/* Make the avatar image match the SVG sizing and behave responsively */
.avatar img,
.avatar-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto 0.05rem;
    border-radius: 8px;
}

.social-links {
    display: flex;
    flex-direction: row;
    /* horizontal links under the avatar */
    background: transparent;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    /* center the links horizontally */
    flex-wrap: wrap;
}

.social {
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    /* remove background / button-like appearance */
    padding: 0;
    border-radius: 0;
}

.social svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
    /* icon inherits the .social color */
}

.social:hover {
    text-decoration: underline;
}


/* Size of inline social SVG icons (adjust to taste) */
.social svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
    transition: transform 120ms ease;
}

/* Slightly larger on hover for a subtle effect */
.social:hover svg {
    transform: scale(1.08);
}

.description {
    align-self: stretch;
}

.desc-text {
    margin: 0;
    /* font-size: 1.05rem; */
    line-height: 1.7;
    color: var(--text);
}