:root {
    color-scheme: light;
    --bg: #f6f1e9;
    --bg-accent: #efe6d6;
    --text: #1f1b16;
    --muted: #6c645a;
    --card: #fcfaf6;
    --card-border: rgba(31, 27, 22, 0.08);
    --accent: #2e6f6a;
    --accent-strong: #245a56;
    --shadow: 0 18px 45px rgba(31, 27, 22, 0.12);
}

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

body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background: radial-gradient(circle at top, rgba(46, 111, 106, 0.08), transparent 55%),
        linear-gradient(135deg, var(--bg) 0%, var(--bg-accent) 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 2.5rem;
    text-align: left;
}

.site-header {
    margin: 0 auto;
    padding: 1.5rem 0 2rem;
    width: 100%;
    max-width: 800px;
}

.header-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 auto;
    gap: 1rem;
}

.brand {
    font-family: Arimo, sans-serif;
    font-weight: normal;
    font-size: 2.4rem;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: right;
}

p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
}

section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
}

.card {
    background: var(--card);
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 55px rgba(31, 27, 22, 0.16);
}

.card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text);
}

.card p {
    font-size: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.bio-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.bio-card__photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(46, 111, 106, 0.25);
}

.bio-card__content {
    flex: 1;
}

footer {
    margin-top: 3.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 700px;
}

footer p {
    font-size: 0.95rem;
}

.social-bar {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-bar a img {
    width: 28px;
    height: 28px;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.3s ease;
}

.social-bar a:hover img {
    filter: grayscale(0%) brightness(1);
}

.hidden-link,
.hidden-link:visited,
.hidden-link:hover,
.hidden-link:active,
.hidden-link:focus {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
    cursor: text;
}


.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
    padding: 0 !important;
}

@media (max-width: 720px) {
    body {
        padding: 2.5rem 1.25rem 2rem;
        text-align: left;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bio-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .bio-card__photo {
        width: 96px;
        height: 96px;
    }
}
