:root {
    --bg: #fefefe;
    --surface: #fefefe;
    --text-primary: #111111;
    --text-muted: #5b5b5b;
    --link: #565656;
    --divider: #d9d9d9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Source Serif 4", "Times New Roman", serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--text-primary);
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

main {
    display: block;
}

.container {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container.narrow {
    width: min(100%, 720px);
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--divider);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.brand {
    font-family: "Source Serif 4", "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-transform: none;
}

.site-header--deferred {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header--deferred.nav-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.page-home .site-header--deferred:not(.nav-visible) {
    height: 30px;
    overflow: hidden;
}

.page-home .site-header--deferred.nav-visible {
    height: auto;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.site-nav a {
    color: var(--text-primary);
}

.site-nav a[aria-current="page"] {
    font-weight: 600;
}

.hero {
    padding: 3.25rem 0 2.5rem;
}

.page-home .hero {
    padding-top: 1.65rem;
}

.hero-grid {
    display: grid;
    gap: 2.75rem;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hero-role {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.hero-media {
    display: flex;
    justify-content: center;
}

.hero-media img {
    width: min(100%, 320px);
    border-radius: 50%;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links-hero {
    margin-top: 1.75rem;
    justify-content: center;
}

.hero-links {
    margin-top: 1.5rem;
    display: inline-flex;
    gap: 0.75rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-links a {
    color: var(--text-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hero-links-separator {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    letter-spacing: 0;
}

.bio-section h2 {
    text-align: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.social-links-footer {
    margin-top: 1.25rem;
    justify-content: center;
}

.social-links li {
    margin: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--divider);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1rem;
}

.social-link i {
    font-size: 1.05rem;
}

.social-link:hover,
.social-link:focus {
    background: #efefef;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-title {
    padding-bottom: 0.8rem;
}

.section-title h1 {
    margin: 0;
}

.section {
    padding: 3.2rem 0;
}

.section.section-title + .section {
    padding-top: 0.2rem;
}

.section h2 {
    margin-top: 0;
}
.feature-card h3 a {
    text-decoration: none;
}

.article-item a.article-title {
    text-decoration: none;
}

.article-item p a {
    text-decoration: underline;
}

.section-title p {
    margin: 0;
}

main p a {
    text-decoration: underline;
}

.section-intro {
    margin-top: 0.85rem;
    color: var(--text-muted);
    max-width: 62ch;
}

.feature-grid {
    display: grid;
    gap: 2.5rem;
}

.feature-card {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--divider);
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feature-content h3 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

.feature-content p {
    margin: 0;
    color: var(--text-muted);
}

.feature-link {
    margin-top: auto;
    font-weight: 600;
}

.article-list {
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 2rem;
}

.article-item {
    display: grid;
    gap: 0.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--divider);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.article-item p {
    margin: 0;
    color: var(--text-muted);
}

.empty-state {
    border: 1px solid var(--divider);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--divider);
    padding: 2.75rem 0;
    margin-top: 2rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

@media (min-width: 680px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .feature-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        align-items: center;
    }
}

@media (min-width: 960px) {
    .article-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }
}
