:root {
    --bg: #fbf7f2;
    --bg-accent: #f2ebe2;
    --text: #2f2a25;
    --muted: #6f665e;
    --line: #e2d7cc;
    --accent: #8b6a49;
    --accent-hover: #6f5237;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 48px 20px 40px;
    font-size: 16px;
}

.container {
    width: 92%;
    max-width: 720px;
    padding: 0;
    text-align: left;
}

header {
    margin-bottom: 28px;
}

.profile-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 1px solid var(--line);
}

.kicker {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

h1 {
    font-family: "Source Serif 4", "Times New Roman", serif;
    font-size: 34px;
    margin: 0 0 8px;
    font-weight: 600;
    color: var(--text);
}

.tagline {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
    max-width: 520px;
}

h2 {
    font-family: "Source Serif 4", "Times New Roman", serif;
    font-size: 20px;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    font-weight: 600;
}

.about p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
    color: var(--text);
}

.contact ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.contact a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact a:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

footer {
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    body {
        padding: 36px 18px 32px;
    }

    h1 {
        font-size: 30px;
    }

    .profile-photo {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 28px 16px 28px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 19px;
    }

    .profile-photo {
        width: 76px;
        height: 76px;
    }
}
