/* Pragmatize
   Paper, ink, and a short nomenclature.
   The page, the type, and the double rule come from the
   guidebook manner of Werner's Nomenclature of Colours
   (and Nicholas Rougeux's recreation of it). The pigments
   and the catalog of ideas belong to this project. */

:root {
    --page: #ebe4cf;
    --ink: #14110e;
    --note: #5c5348;
    --line: rgba(20, 17, 14, 0.35);
    --wash: rgba(255, 255, 255, 0.38);
    --orpiment: #b8893a;
    --verditer: #3f6f68;
    --carmine: #7e3434;
    --indigo: #2a3a52;
    --measure: 36rem;
    --wide: 66rem;
    --nav: 3.35rem;
}

* { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Crimson Text", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.5;
    padding-top: var(--nav);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(20, 17, 14, 0.16); }

img { max-width: 100%; }

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--line);
    text-underline-offset: 0.16em;
}

a:hover { text-decoration-color: transparent; }

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

p { margin: 0 0 1em; }

strong { font-weight: 600; }

em, cite { font-style: italic; }

h1, h2, h3 { font-weight: 600; line-height: 1.25; margin: 0 0 0.8em; }

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.24em;
    padding-left: 0.24em;
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-size: 1.45rem;
    letter-spacing: 0.18em;
    padding-left: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

.essay-title {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    padding-left: 0;
    text-align: center;
    text-transform: none;
}

.essay-title.small { font-size: 1.7rem; }

.section-sample {
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.25;
    margin: 0 0 0.45rem;
    padding-left: 0.18em;
    text-align: center;
    text-transform: uppercase;
}

.wordmark {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.15;
    margin: 0 0 0.45rem;
    padding-left: 0.24em;
    text-align: center;
    text-transform: uppercase;
}

.follow { margin-top: 2.75rem; }

.slate-mini {
    aspect-ratio: auto;
    margin-bottom: 2rem;
    max-width: 28rem;
    min-height: 12rem;
}

.slate-mini .slate-title { font-size: 1.7rem; }

.panel h2 {
    font-size: 1rem;
    letter-spacing: 0.16em;
    margin: 0.8rem 0 0.35rem;
    padding-left: 0.16em;
    text-align: left;
}

.skip {
    background: var(--ink);
    color: var(--page);
    left: 1rem;
    padding: 0.35rem 0.7rem;
    position: absolute;
    text-decoration: none;
    top: -4rem;
    z-index: 40;
}

.skip:focus { top: 0.45rem; }

.site-nav {
    align-items: center;
    background: var(--page);
    border-bottom: 1px solid var(--ink);
    display: flex;
    height: var(--nav);
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.35rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0 1rem;
}

.site-nav a,
#menu-btn {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a { padding-left: 0.14em; }

.site-nav a:hover { opacity: 0.5; }

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

#menu-btn {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: none;
    font-family: inherit;
    padding: 0.85rem 1.25rem;
}

section {
    border-bottom: 1px solid var(--ink);
    padding: 4.5rem 8vw;
    scroll-margin-top: calc(var(--nav) + 0.75rem);
}

#title {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - var(--nav));
    min-height: calc(100svh - var(--nav));
    padding: 3rem 1.25rem;
}

#title.title-band {
    min-height: 0;
    padding: 4.5rem 1.25rem;
}

.plate {
    border: 6px double var(--ink);
    max-width: 40rem;
    padding: 4.2rem 3rem 3.4rem;
    text-align: center;
}

.plate h1 { margin-bottom: 0.35em; }

.plate-line {
    font-style: italic;
    margin-bottom: 0.4em;
}

.plate hr { margin: 1.4rem auto 1.5rem; }

.plate .btn { margin-top: 0.4rem; }

.measure { margin-left: auto; margin-right: auto; max-width: var(--measure); }

.wide { margin-left: auto; margin-right: auto; max-width: var(--wide); }

.lede { margin-left: auto; margin-right: auto; max-width: var(--measure); text-align: center; }

.deck {
    color: var(--note);
    font-style: italic;
    margin-bottom: 1.6em;
    text-align: center;
}

.note { color: var(--note); font-size: 0.92rem; font-style: italic; }

hr {
    background: none;
    border: 1px solid var(--ink);
    border-width: 1px 0 3px;
    height: 7px;
    margin: 2rem auto;
    width: 12rem;
}

blockquote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.4;
    margin: 1.6em 0;
    padding-left: 1.75em;
}

blockquote p:last-child { margin-bottom: 0; }

blockquote .note { font-style: normal; margin-top: 0.6em; }

.exchange { margin: 1.8em 0; }

.ask { font-style: italic; margin-bottom: 0.6em; }

.answer {
    border-left: 1px solid var(--line);
    font-size: 1.1rem;
    font-style: normal;
    line-height: 1.5;
    margin: 0;
    padding-left: 1.25em;
}

.versus {
    border-bottom: 1px solid var(--ink);
    border-collapse: collapse;
    border-top: 1px solid var(--ink);
    font-size: 1.05rem;
    margin: 1.8em 0;
    width: 100%;
}

.versus caption { caption-side: bottom; padding-top: 0.6em; text-align: left; }

.versus th {
    border-bottom: 1px solid var(--ink);
    font-style: italic;
    font-weight: 600;
    padding: 0.6rem 0.4rem;
    text-align: left;
}

.versus td {
    border-bottom: 1px solid var(--line);
    padding: 0.45rem 0.4rem;
    vertical-align: top;
    width: 50%;
}

.versus tr:last-child td { border-bottom: 0; }

.versus tbody tr:hover { background: var(--wash); }

.letter {
    border: 6px double var(--ink);
    margin: 2.25rem 0;
    padding: 2.6rem 2.4rem 2rem;
}

.letter > h2 { margin-bottom: 1.4rem; }

.letter-salute { font-style: italic; }

.proposals { margin: 1.4rem 0 1.6rem; padding-left: 1.3rem; }

.proposals li { margin-bottom: 1.2rem; padding-left: 0.35rem; }

.proposals li::marker { font-style: italic; }

.proposals h3 {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 0 0.3rem;
    text-align: left;
    text-transform: none;
}

.proposals p { margin-bottom: 0.6em; }

.refs { font-size: 0.95rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }

.refs li { margin-bottom: 0.8em; overflow-wrap: anywhere; }

.btn {
    border: 1px solid var(--ink);
    display: inline-block;
    font-size: 1rem;
    padding: 0.45em 1.7em;
    text-decoration: none;
}

.btn:hover,
.btn-on {
    background: var(--ink);
    color: var(--page);
    text-decoration: none;
}

.panels {
    display: grid;
    gap: 2.75rem;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: var(--wide);
}

.panel {
    color: inherit;
    display: block;
    text-decoration: none;
}

.panel p { margin: 0; }

.panel:hover h2,
.panel:focus-visible h2 {
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 0.2em;
}

.swatch {
    border: 1px solid rgba(20, 17, 14, 0.45);
    display: block;
    height: 2.25rem;
    width: 2.25rem;
}

.swatch-lg { height: 5.5rem; width: 5.5rem; }

.swatch-page { background: var(--page); }
.swatch-ink { background: var(--ink); }
.swatch-orpiment { background: var(--orpiment); }
.swatch-verditer { background: var(--verditer); }
.swatch-carmine { background: var(--carmine); }
.swatch-indigo { background: var(--indigo); }

.spec-head,
.specs li {
    align-items: center;
    column-gap: 1.25rem;
    display: grid;
    grid-template-columns: 4.5rem 11rem 1fr;
    padding: 0.85rem 0.4rem;
}

.spec-head {
    border-bottom: 1px solid var(--ink);
    border-top: 1px solid var(--ink);
    font-style: italic;
}

.specs { list-style: none; margin: 0; padding: 0; }

.specs li { border-bottom: 1px solid var(--line); }

.specs li:hover { background: var(--wash); }

.spec-name { font-weight: 600; }

.spec-where { font-style: italic; line-height: 1.35; }

.specs-plain li,
.specs-plain.spec-head { grid-template-columns: 8.5rem 1fr; }

.specs-plain .spec-name,
.specs-plain .spec-where { display: block; }

.desk { list-style: none; margin: 0 auto; max-width: var(--measure); padding: 0; }

.desk li { border-top: 1px solid var(--ink); padding: 1.2rem 0 1.15rem; }

.desk li:last-child { border-bottom: 1px solid var(--ink); }

.desk-q { font-size: 1.4rem; font-style: italic; line-height: 1.3; margin: 0 0 0.35rem; }

.catalog {
    list-style: none;
    margin: 0 auto;
    max-width: var(--wide);
    padding: 0;
}

.catalog li {
    align-items: start;
    border-top: 1px solid var(--ink);
    column-gap: 1.25rem;
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    padding: 1.35rem 0 1.15rem;
}

.catalog li:last-child { border-bottom: 1px solid var(--ink); }

.catalog .swatch { margin-top: 0.4rem; }

.catalog li.has-thumb { grid-template-columns: 6rem 1fr; }

.catalog .thumb {
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(20, 17, 14, 0.45);
    display: block;
    height: auto;
    margin-top: 0.4rem;
    object-fit: cover;
    width: 100%;
}

.essay-hero {
    border: 1px solid rgba(20, 17, 14, 0.45);
    display: block;
    height: auto;
    margin: 0 0 1.5rem;
    width: 100%;
}

.catalog p { margin: 0 0 0.35rem; }

.catalog p:last-child { margin: 0; }

.post-title {
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 0.3rem;
    padding: 0;
    text-align: left;
    text-transform: none;
}

.suite-title {
    font-size: 1.2rem;
    letter-spacing: 0.16em;
    margin: 2.6rem 0 1rem;
    padding-left: 0.16em;
    scroll-margin-top: calc(var(--nav) + 1rem);
    text-align: center;
    text-transform: uppercase;
}

.suite-title::after { content: "."; }

.suite-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.6rem;
    justify-content: center;
    margin: 1.75rem 0 0;
}

.suite-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    padding-left: 0.14em;
    text-transform: uppercase;
}

.suite {
    margin: 3.5rem auto 0;
    max-width: var(--wide);
    scroll-margin-top: calc(var(--nav) + 1rem);
}

.suite-head {
    border-top: 6px double var(--ink);
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.suite-head .suite-title { margin: 0 0 0.25rem; }

.suite-head .note { margin: 0; }

.interview-grid {
    display: grid;
    gap: 2.5rem 2.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interview-grid .interview { margin: 0; max-width: none; }

.interview {
    margin: 0 auto 2rem;
    max-width: var(--measure);
}

.interview .desk-q { margin-bottom: 0.3rem; }

.interview-shot {
    border: 6px double var(--ink);
    display: block;
    margin: 0 0 0.85rem;
    overflow: hidden;
}

.interview-shot img {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.interview-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    margin: 0.35rem 0 0.5rem;
    overflow: hidden;
}

.interview-text[hidden] { display: none; }

.back { margin-bottom: 1.2rem; text-align: center; }

.byline {
    color: var(--note);
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
}

.chip-line {
    align-items: center;
    display: flex;
    font-style: italic;
    gap: 0.65rem;
    justify-content: center;
    margin: 0 0 0.85rem;
}

.slate {
    align-items: center;
    aspect-ratio: 16 / 9;
    border: 6px double var(--ink);
    display: flex;
    justify-content: center;
    margin: 1.75rem auto 0;
    max-width: 52rem;
    padding: 8%;
    text-align: center;
}

.slate-inner { max-width: 38rem; }

.slate-mark {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    margin: 0 0 0.9rem;
    padding-left: 0.22em;
    text-transform: uppercase;
}

.slate-title {
    font-size: clamp(1.7rem, 4.2vw, 2.7rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0;
    text-transform: none;
}

.slate-chip {
    align-items: center;
    display: flex;
    font-style: italic;
    gap: 0.65rem;
    justify-content: center;
    margin: 1.2rem 0 0;
}

.slate-end {
    font-size: 1.05rem;
    font-style: italic;
    margin: 0.9rem 0 0;
}

.broadcast {
    aspect-ratio: 16 / 9;
    background: rgba(20, 17, 14, 0.06);
    border: 1px solid var(--ink);
    margin: 1.25rem auto 0;
    max-width: 52rem;
    position: relative;
}

.broadcast-standin {
    color: var(--note);
    font-style: italic;
    left: 0;
    margin: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 30%;
}

.lower-third {
    align-items: baseline;
    background: var(--page);
    bottom: 8%;
    display: flex;
    justify-content: space-between;
    left: 5%;
    padding: 0.75rem 1rem 0.6rem;
    position: absolute;
    right: 5%;
}

.lower-third::before {
    border-bottom: 3px solid var(--ink);
    border-top: 1px solid var(--ink);
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    top: -8px;
}

.lower-title { font-style: italic; margin: 0; }

.lower-mark {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin: 0;
    padding-left: 0.18em;
    text-transform: uppercase;
}

.chips { list-style: none; margin: 0 auto; max-width: var(--wide); padding: 0; }

.chips li {
    align-items: center;
    border-bottom: 1px solid var(--line);
    column-gap: 1.75rem;
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    padding: 1.25rem 0;
}

.chips li:first-child { border-top: 1px solid var(--ink); }

.chips li:last-child { border-bottom: 1px solid var(--ink); }

.chips h3 {
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 0 0.15rem;
    padding: 0;
    text-align: left;
    text-transform: none;
}

.chips p { margin: 0; }

.hex { color: var(--note); font-style: italic; margin-bottom: 0.3rem; }

.samples { list-style: none; margin: 0 auto; max-width: var(--measure); padding: 0; }

.samples li { border-top: 1px solid var(--line); padding: 1.35rem 0 1.15rem; }

.samples li:last-child { border-bottom: 1px solid var(--ink); }

.samples .rendered { margin: 0 0 0.45rem; }

.pair { margin: 0 auto 1.5rem; max-width: var(--measure); }

.pair p { margin: 0 0 0.2rem; }

.kept { font-size: 1.35rem; font-style: italic; margin-bottom: 0 !important; }

.states { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; margin-top: 1rem; }

.state { text-align: center; }

.state .note { display: block; margin-top: 0.55rem; }

.steps { margin: 0 auto; max-width: var(--measure); padding-left: 1.3rem; }

.steps li { margin-bottom: 0.75em; padding-left: 0.35rem; }

footer { padding: 2.5rem 8vw 3.5rem; }

.colophon { font-size: 0.95rem; }

@media (max-width: 860px) {
    .site-nav { display: block; height: auto; min-height: var(--nav); }

    #menu-btn { display: block; width: 100%; }

    .site-nav ul {
        background: var(--page);
        border-bottom: 1px solid var(--ink);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 0;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .menu-open .site-nav ul { display: flex; }

    .site-nav li { border-top: 1px solid var(--ink); }

    .site-nav a { display: block; padding: 0.85rem 1.1rem; }

    .menu-open { overflow: hidden; }

    .menu-open #menu-btn { background: var(--ink); color: var(--page); }

    .panels { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 700px) {
    body { font-size: 1.125rem; }

    section { padding: 3rem 1.25rem; }

    h1 { font-size: 1.7rem; letter-spacing: 0.14em; padding-left: 0.14em; }

    .essay-title { font-size: 1.75rem; }
    .essay-title.small { font-size: 1.45rem; }

    .plate { padding: 2.6rem 1.3rem 2.2rem; }

    .spec-head { display: none; }

    .specs li {
        align-items: start;
        grid-template-areas:
            "swatch name"
            "swatch where";
        grid-template-columns: 3rem 1fr;
        row-gap: 0.2rem;
    }

    .specs li .swatch { grid-area: swatch; margin-top: 0.2rem; }

    .spec-name { grid-area: name; }

    .spec-where { grid-area: where; }

    .specs-plain li { display: block; }

    .specs-plain .spec-name { margin-bottom: 0.15rem; }

    .lower-third { padding: 0.65rem 0.75rem 0.5rem; }

    .chips li { grid-template-columns: 3.5rem 1fr; column-gap: 1rem; }

    .swatch-lg { height: 3.5rem; width: 3.5rem; }

    .interview-grid { grid-template-columns: 1fr; gap: 2rem; }

    .letter { padding: 1.8rem 1.25rem 1.4rem; }

    footer { padding: 2rem 1.25rem 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        transition: none !important;
    }
}

@media print {
    .site-nav, #menu-btn, .skip { display: none; }

    body { background: #fff; padding-top: 0; }

    .slate, .broadcast, .plate { break-inside: avoid; }

    a { text-decoration: none; }
}
