:root {
    color-scheme: dark;
}
html {
    background: #0a0a0a;
}
body {
    max-width: 90ch;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font:
        16px/1.6 system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: #d4d4d4;
}
a {
    color: #f97316;
    text-decoration: underline;
    text-underline-offset: 2px;
}
a:hover {
    background: #f97316;
    color: #0a0a0a;
    text-decoration: none;
}
h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: #fff;
    line-height: 1.15;
}
h2 {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 2.5rem 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #888;
}
p {
    margin: 1rem 0;
}
ul {
    padding-left: 0;
    list-style: none;
}
li {
    margin: 0.25rem 0;
}

.service-list {
    columns: 2;
    column-gap: 2.5rem;
}
@media (max-width: 520px) {
    .service-list {
        columns: 1;
    }
}

.links a {
    margin-right: 1.25rem;
}
.links a:last-child {
    margin-right: 0;
}

.meta {
    color: #777;
    font-size: 0.85rem;
    margin: 0 0 2rem;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
    margin: 0 0 2rem;
}
.portrait {
    flex: 0 0 auto;
    display: block;
    width: clamp(180px, 28%, 240px);
    margin: 0;
}
.portrait img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
}
.profile-text {
    flex: 1 1 280px;
    max-width: 60ch;
}
.profile-text > * {
    margin: 0;
}
.profile-text > * + * {
    margin-top: 0.5rem;
}
.profile-text p:last-child {
    margin-top: 1rem;
}
.role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f97316;
}

/* stub.html */
.stub-page {
    max-width: 70ch;
    text-align: center;
}
