* {
    box-sizing: border-box
}

:root {
    --paper: #e7e1d2;
    --ink: #24231f;
    --faint: rgba(36, 35, 31, .56);
    --rule: rgba(36, 35, 31, .34)
}

html {
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif
}

body {
    margin: 0
}

a {
    color: inherit
}

main {
    width: min(780px, calc(100% - 40px));
    margin: 60px auto 90px
}

.archive-header {
    border-top: 3px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 13px 0 12px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .09em
}

.archive-header a {
    text-decoration: none
}

.home-title {
    margin: 68px 0 16px;
    font-size: clamp(42px, 8vw, 72px);
    line-height: .94;
    font-weight: normal;
    letter-spacing: -.03em
}

.home-intro {
    max-width: 620px;
    margin: 0 0 58px;
    color: var(--faint);
    font-size: 18px;
    line-height: 1.7
}

.archive-list {
    border-top: 1px solid var(--ink)
}

.archive-entry {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none
}

.archive-entry:hover .entry-title {
    text-decoration: underline;
    text-underline-offset: 4px
}

.entry-meta {
    color: var(--faint);
    font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em
}

.entry-title {
    font-size: 25px;
    line-height: 1.15;
    margin-bottom: 7px
}

.entry-desc {
    color: var(--faint);
    font-size: 15px;
    line-height: 1.55
}

h1.article-title {
    margin: 68px 0 16px;
    max-width: 700px;
    font-size: clamp(38px, 7vw, 64px);
    line-height: .98;
    font-weight: normal;
    letter-spacing: -.025em
}

.classification {
    margin-bottom: 34px;
    color: var(--faint);
    font: 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .1em
}

.archive-image {
    margin: 42px 0 62px
}

.archive-image img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(.88) contrast(.98)
}

.archive-image figcaption {
    border-bottom: 1px solid var(--rule);
    padding: 10px 0;
    color: var(--faint);
    font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em
}

.story {
    font-size: 19px;
    line-height: 1.82
}

.story p {
    margin: 0 0 1.45em
}

.story hr {
    border: 0;
    border-top: 1px solid var(--rule);
    margin: 3.1em 0
}

.story .emphasis {
    margin: 2.2em 0;
    font-size: 1.16em;
    font-style: italic
}

.story .document-code,
.story .sound,
.story .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    letter-spacing: .08em
}

.back {
    display: inline-block;
    margin-top: 45px;
    color: var(--faint);
    font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em;
    text-decoration: none
}

.back:hover {
    text-decoration: underline
}

.archive-note {
    margin-top: 52px;
    color: var(--faint);
    font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em
}

footer {
    margin-top: 100px;
    border-top: 1px solid var(--ink);
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--faint);
    font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em
}

@media(max-width:600px) {
    main {
        width: min(100% - 28px, 780px);
        margin-top: 28px
    }

    .archive-header,
    footer {
        display: block
    }

    .archive-header span+span,
    footer span+span {
        display: block;
        margin-top: 5px
    }

    .home-title,
    h1.article-title {
        margin-top: 48px
    }

    .archive-entry {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .story {
        font-size: 18px;
        line-height: 1.75
    }
}