:root {
    --ink: #171717;
    --paper: #f5f4ef;
    --line: #c7c5bd;
    --muted: #686862;
    --signal: #d9432f;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body {
    min-width: 320px;
    margin: 0;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.55rem 0.75rem;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
.site-footer,
.section-shell {
    width: min(calc(100% - 3rem), var(--content-width));
    margin-inline: auto;
}

.site-header {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    display: grid;
    width: 2.5rem;
    aspect-ratio: 1;
    place-items: center;
    color: var(--paper);
    background: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.primary-nav {
    display: flex;
    gap: clamp(1rem, 4vw, 2.75rem);
}

.primary-nav a {
    padding-block: 0.4rem;
    color: var(--muted);
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.35rem;
}

.hero {
    display: grid;
    min-height: calc(100vh - 11rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 7vh, 5rem) clamp(2rem, 6vw, 6rem) clamp(3rem, 7vh, 5rem) 0;
}

.eyebrow,
.path-index,
.empty-index {
    margin: 0 0 1.25rem;
    color: var(--signal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.03;
}

.hero h1 {
    max-width: 9ch;
    margin-bottom: 1.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 7.5rem;
    font-weight: 400;
}

.hero-intro {
    max-width: 36rem;
    margin: 0;
    color: var(--muted);
    font-size: 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 3rem;
}

.text-link {
    font-weight: 700;
    text-underline-offset: 0.25rem;
}

.hero-field {
    position: relative;
    min-height: 32rem;
    margin: 0;
    overflow: hidden;
    border-left: 1px solid var(--line);
    background-color: #deddd6;
}

.hero-field img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.field-marker {
    position: absolute;
    padding: 0.3rem 0.45rem;
    color: var(--paper);
    background: var(--ink);
    font-size: 0.72rem;
}

.field-marker {
    top: 1.25rem;
    right: 1.25rem;
}

.home-paths,
.recent-writing,
.page-intro,
.articles-shell {
    padding-block: clamp(4rem, 9vw, 8rem);
}

.hero + .recent-writing,
.hero + .home-paths {
    padding-top: 2rem;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-heading h2,
.page-intro h1 {
    max-width: 18ch;
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    font-weight: 400;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.path-item {
    min-height: 18rem;
    padding: 2rem;
    border-right: 1px solid var(--line);
    text-decoration: none;
}

.path-item:first-child {
    padding-left: 0;
}

.path-item:last-child {
    border-right: 0;
}

.path-item:hover h3 {
    color: var(--signal);
}

.path-item h3 {
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
}

.path-item p,
.page-intro > p:last-child,
.about-copy {
    max-width: 36rem;
    color: var(--muted);
}

.page-intro {
    border-bottom: 1px solid var(--line);
}

.page-intro > p:last-child {
    margin-top: 2rem;
    font-size: 1.15rem;
}

.empty-state {
    min-height: 20rem;
    padding-block: 3rem;
}

.content-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.content-filters a {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line);
    text-decoration: none;
}

.content-filters a[aria-current="page"],
.content-filters a:hover {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
}

.writing-list {
    border-top: 1px solid var(--line);
}

.writing-item {
    display: grid;
    grid-template-columns: minmax(9rem, 0.25fr) minmax(0, 0.75fr);
    gap: 1.5rem 3rem;
    padding-block: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.writing-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.writing-item h3,
.writing-item .writing-excerpt,
.writing-item .note-body,
.writing-item > .text-link {
    grid-column: 2;
}

.writing-item h3 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.7rem;
    font-weight: 400;
}

.writing-item h3 a {
    text-underline-offset: 0.25rem;
}

.writing-excerpt,
.note-body {
    color: var(--muted);
}

.writing-excerpt > :first-child,
.note-body > :first-child {
    margin-top: 0;
}

.writing-excerpt > :last-child,
.note-body > :last-child {
    margin-bottom: 0;
}

.writing-item-note {
    background: #ebe9e2;
    padding-inline: 1.5rem;
}

.article-detail {
    max-width: 52rem;
    padding-block: clamp(4rem, 9vw, 8rem);
}

.article-header {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}

.article-header h1 {
    margin-bottom: 1.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.5rem;
    font-weight: 400;
}

.article-header time {
    color: var(--muted);
}

.article-body {
    padding-block: 3rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3 {
    margin-top: 2.2em;
    line-height: 1.2;
}

.prose a {
    text-underline-offset: 0.2rem;
}

.prose img {
    max-width: 100%;
    height: auto;
}

.prose pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 1rem;
    color: var(--paper);
    background: var(--ink);
}

.article-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: clamp(2rem, 8vw, 8rem);
    align-items: end;
}

.about-intro .eyebrow {
    grid-column: 1 / -1;
}

.about-copy p:first-child {
    color: var(--ink);
    font-size: 1.3rem;
}

.site-footer {
    display: flex;
    min-height: 8rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 1000px) {
    .hero h1 {
        font-size: 6rem;
    }

    .section-heading h2,
    .page-intro h1 {
        font-size: 4rem;
    }

    .article-header h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 760px) {
    .site-header,
    .site-footer,
    .section-shell {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    .site-header {
        min-height: auto;
        padding-block: 1rem;
        align-items: flex-start;
    }

    .primary-nav {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 0.25rem 1rem;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 3rem 0 2rem;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .hero-intro {
        font-size: 1.15rem;
    }

    .hero-field {
        min-height: 14rem;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .section-heading,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .path-grid,
    .about-intro {
        grid-template-columns: 1fr;
    }

    .writing-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .writing-item h3,
    .writing-item .writing-excerpt,
    .writing-item .note-body,
    .writing-item > .text-link {
        grid-column: 1;
    }

    .section-heading h2,
    .page-intro h1 {
        font-size: 3rem;
    }

    .writing-item h3 {
        font-size: 2rem;
    }

    .article-header h1 {
        font-size: 3.5rem;
    }

    .path-item,
    .path-item:first-child {
        min-height: auto;
        padding: 2rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .path-item h3 {
        margin-top: 2rem;
    }

    .about-intro .eyebrow {
        grid-column: auto;
    }

    .site-footer {
        justify-content: center;
        padding-block: 2rem;
    }
}
