:root {
    --color-background: #121212;
    --color-text: #f7f3ea;
    --color-accent-1: #6f5a47;
    --color-accent-2: #d6c3a5;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
    padding: 3rem 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    width: 100%;
    max-width: 720px;
    min-height: calc(100vh - 4.5rem);
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

.banner {
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

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

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -2.75rem;
}

.title {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.05;
    font-weight: 600;
    margin-top: 0.4rem;
}

.name {
    font-family: var(--font-title);
}

.bio {
    margin-top: 0.45rem;
    color: var(--color-text-secondary);
    font-size: 1.5rem;

}

.tagline {
    font-family: var(--font-title);
    color: var(--color-accent-2);
   
}

footer {
    margin-top: 3rem;
    text-align: center;
}

main {
    flex: 1;
}

.social-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    margin-top: 0.8rem;

}

.social-icon {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    color: var(--color-accent-2);
    border-radius: 999px;
    font-size: 2.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover,
.social-icon:focus {
    color: var(--color-accent-1);
    transform: translateY(-1px);
}

.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.link-button {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 0.75rem 1rem;
    background-color: var(--color-accent-1);
    color: var(--color-text);
    border-radius: 0.6rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.link-button:hover,
.link-button:focus {
    background-color: var(--color-accent-2);
    color: #121212;
    transform: translateY(-1px);
}

.copyright {
    margin-top: auto;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(247, 243, 234, 0.45);
}

.cookie-preferences:hover,
.cookie-preferences:focus {
    color: var(--color-accent-2);
}

@media (max-width: 768px) {
    body {
        padding: 2rem 0.95rem 1.25rem;
    }

    .container {
        min-height: calc(100vh - 3.25rem);
    }

    .title {
        font-size: clamp(1.65rem, 8vw, 2.3rem);
    }

    .profile-image {
        width: 88px;
        height: 88px;
        margin-top: -2.45rem;
    }

    .bio {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 1.75rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-icon {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1rem;
    }

    .link-button {
        font-size: 1rem;
    }
}
