/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Base ── */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #545454;
    line-height: 1.5;
    text-transform: lowercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Logo ── */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
}

/* ── Header ── */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 20px 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid #545454;
}

h1 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* ── Nav ── */
nav {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 40px 0 40px;
}

.nav-link {
    font-size: 0.85rem;
    color: #545454;
    text-decoration: underline;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.5;
}

.contact {
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact a {
    color: #545454;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* ── Bio ── */
.bio {
    padding: 20px 40px 0 40px;
    max-width: 520px;
}

.bio p {
    font-size: 0.82rem;
    line-height: 1.15;
    margin-bottom: 16px;
    text-align: justify;
}

/* ── Contacts Page ── */
.contacts-page {
    padding: 30px 40px 0 40px;
}

.contacts-list {
    list-style: none;
}

.contacts-list li {
    margin-bottom: 8px;
}

.contacts-list a {
    color: #545454;
    text-decoration: underline;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.contacts-list a:hover {
    opacity: 0.5;
}

/* ── Image Section ── */
.image-section {
    margin-top: auto;
    width: 100%;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 680px) {
    header {
        flex-direction: column;
        padding: 28px 24px 0 24px;
        gap: 12px;
    }

    nav {
        order: 2;
        gap: 14px;
        flex-wrap: wrap;
    }

    .contact {
        text-align: left;
    }

    .bio {
        padding: 16px 24px 0 24px;
        max-width: 100%;
    }

    .bio p {
        text-align: left;
    }
}
