@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Inter:wght@400;500;600;650&display=swap');
:root {
    color-scheme: light;
    --paper: #fff;
    --ink: #0f0f0c;
    --muted: #737373;
    --line: #e8e8e8;
    --accent: #a66b26;
}
:root.dark {
    color-scheme: dark;
    --paper: #0a0a0a;
    --ink: #f5f5f5;
    --muted: #a3a3a3;
    --line: #303030;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        16px/1.75 Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
}
a {
    color: inherit;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}
a:hover,
button:hover {
    color: var(--accent);
}
.site-header,
.site-footer {
    width: min(100% - 48px, 960px);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}
.site-header {
    min-height: 88px;
}
.wordmark {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-icon {
    flex-shrink: 0;
}
.brand-name {
    display: flex;
    align-items: center;
    font:
        600 30px/1.2 'Cormorant Garamond',
        Georgia,
        serif;
    letter-spacing: -0.025em;
}
.brand-name sup {
    margin-left: 4px;
    font-size: 0.55em;
    font-weight: 400;
    letter-spacing: normal;
}
nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    color: var(--muted);
}
nav a {
    text-decoration: none;
}
nav [aria-current] {
    font-weight: 600;
    color: var(--ink);
}
#theme-toggle {
    border: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 21px;
    display: grid;
    place-items: center;
    cursor: pointer;
}
main {
    width: min(100% - 48px, 880px);
    margin: 0 auto;
    padding: 100px 0 80px;
}
h1 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 650;
    line-height: 1.22;
    letter-spacing: -1.1px;
    text-wrap: balance;
    overflow-wrap: anywhere;
    margin: 18px 0 0;
}
h2 {
    font:
        600 27px/1.3 Inter,
        system-ui,
        sans-serif;
    letter-spacing: -0.5px;
    margin: 32px 0 18px;
}
h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 26px 0 12px;
}
p {
    margin: 0 0 20px;
}
.page-heading {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
}
.page-heading .lede {
    max-width: 680px;
    margin: 32px auto 24px;
    text-align: left;
    font-size: 19px;
    line-height: 1.75;
}
.page-heading > p:last-child {
    max-width: 680px;
    margin-inline: auto;
}
.eyebrow,
.muted,
.back {
    color: var(--muted);
    font-size: 14px;
}
.page-heading .muted {
    margin-top: 24px;
    font-size: 13px;
}
.back {
    display: block;
    max-width: 680px;
    margin: 0 auto 40px;
    text-decoration: none;
}
.search {
    max-width: 680px;
    margin: 40px auto 24px;
    display: flex;
    gap: 16px;
    align-items: end;
}
.search div:first-child {
    flex: 1;
}
label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    color: var(--muted);
}
input,
select,
button {
    font: inherit;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 12px;
    background: var(--paper);
    min-height: 44px;
}
input {
    width: 100%;
}
button {
    cursor: pointer;
}
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
    border-radius: 2px;
}
main > .muted {
    max-width: 680px;
    margin-inline: auto;
}
.article-list article {
    border-top: 1px solid var(--line);
    padding-top: 64px;
    margin-top: 64px;
}
.article-list h2 {
    text-align: center;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 650;
    line-height: 1.22;
    letter-spacing: -1.1px;
    margin: 18px auto 32px;
    max-width: 800px;
}
.article-list h2 a {
    text-decoration: none;
}
.article-list .eyebrow {
    text-align: center;
    margin: 0;
}
.article-list article > p:not(.eyebrow) {
    max-width: 680px;
    margin-inline: auto;
}
.article-list article > p:not(.eyebrow):not(.muted) {
    font-size: 19px;
    line-height: 1.75;
}
.edition {
    max-width: 680px;
    margin: 32px auto 44px;
    font-size: 13px;
    color: var(--muted);
}
.edition p {
    margin-bottom: 12px;
}
.edition a {
    color: var(--ink);
}
.editorial,
.connections,
.prose,
.invitation {
    max-width: 680px;
    margin: 44px auto 0;
}
.prose {
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.prose h2 {
    margin-top: 2.5em;
}
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.prose blockquote {
    border-left: 2px solid var(--line);
    padding-left: 24px;
    margin: 28px 0;
}
.prose pre,
.prose table {
    overflow-x: auto;
    display: block;
}
.invitation {
    border-top: 1px solid var(--line);
    margin-top: 64px;
    padding-top: 24px;
    font-size: 14px;
}
.invitation h2,
.connections h2 {
    font-size: 20px;
}
.site-footer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
    padding-block: 32px;
    color: var(--muted);
    font-size: 12px;
}
.site-footer p {
    margin: 0;
}
.site-footer nav {
    font-size: 12px;
    gap: 20px;
}
.skip {
    position: absolute;
    left: 16px;
    top: -100px;
    background: var(--paper);
    padding: 12px;
}
.skip:focus {
    top: 12px;
}
@media (max-width: 600px) {
    .site-header,
    .site-footer {
        width: calc(100% - 40px);
        gap: 12px;
    }
    .site-header {
        min-height: 76px;
    }
    .wordmark {
        gap: 7px;
    }
    .brand-name {
        font-size: 24px;
    }
    nav {
        gap: 14px;
        font-size: 12px;
    }
    #theme-toggle {
        width: 24px;
    }
    main {
        width: calc(100% - 40px);
        padding: 60px 0;
    }
    .page-heading {
        margin-bottom: 28px;
    }
    .page-heading .lede,
    .article-list article > p:not(.eyebrow):not(.muted) {
        font-size: 17px;
    }
    .article-list article {
        margin-top: 56px;
        padding-top: 56px;
    }
    .prose {
        font-size: 17px;
    }
    .search {
        flex-direction: column;
        align-items: stretch;
    }
    .site-footer {
        align-items: start;
        flex-direction: column;
    }
}

main:has(.archive-heading) {
    padding-top: 40px;
}
.archive-heading {
    max-width: 880px;
}
.film-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
}
.film-strip a {
    min-width: 0;
    text-decoration: none;
}
.film-strip img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
}
.film-strip a:first-child img {
    object-position: center 35%;
}
.film-strip span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}
.archive-heading .lede {
    margin-top: 24px;
    text-align: center;
}
@media (max-width: 640px) {
    .film-strip {
        gap: 5px;
        margin-top: 24px;
    }
    .film-strip img {
        aspect-ratio: 4 / 3;
    }
    .film-strip span {
        font-size: 10px;
    }
}
