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

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f5f6f8;
    color: #1a1a2e;
}

/* ── Header ── */
header {
    background: linear-gradient(150deg, #0d0d1a 0%, #1a1a2e 55%, #12192e 100%);
    color: #fff;
    text-align: center;
    padding: 64px 24px 56px;
}

.header-content {
    max-width: 480px;
    margin: 0 auto;
}

.photo-ring {
    display: inline-block;
    padding: 3px;
    background: linear-gradient(135deg, #4a9eff 0%, #a855f7 100%);
    border-radius: 50%;
    margin-bottom: 28px;
}

.profile-photo {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #0d0d1a;
}

h1 {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0 0 18px;
}

.divider {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, #4a9eff, #a855f7);
    border-radius: 2px;
    margin: 0 auto 18px;
}

h2 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2px;
    opacity: 0.82;
    margin: 0 0 8px;
}

.company {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.5;
    margin: 0;
}

/* ── Main ── */
main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 52px 24px 40px;
    gap: 40px;
}

.bio {
    max-width: 520px;
    text-align: center;
}

.bio p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #555;
    margin: 0;
}

/* ── Social ── */
.social {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #777;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #1a1a2e;
}

.social-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.85);
    transition: filter 0.2s ease;
}

.social-link:hover img {
    filter: grayscale(0%) opacity(1);
}

.social-link span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ── Footer ── */
footer {
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
    font-size: 0.78rem;
    color: #aaa;
    border-top: 1px solid #e4e6ea;
}

footer p { margin: 0; }
