/* =================================================================
 * 100 Word Fiction — editorial design system.
 *
 * Reference points: The New Yorker, The Paris Review, Granta, Harper's.
 * Palette: warm cream stock, punchy editorial red, ink-black, muted gold.
 * Type:    Fraunces (expressive display serif), Spectral (body serif), Inter (UI).
 * Voice:   a printed journal — confident, decorated, a bit funky.
 * ================================================================= */

/* ---- 1. Tokens -------------------------------------------------- */
:root {
    /* Paper and ink */
    --paper:        #f2e8d4;
    --paper-alt:    #ead9b3;
    --paper-deep:   #dcc68f;
    --card:         #faf2de;
    --ink:          #141210;
    --ink-soft:     #4a433c;
    --ink-muted:    #867868;
    --rule:         #b59e72;
    --rule-soft:    #d4c095;

    /* Accents */
    --red:          #c6392d;   /* punchy editorial red */
    --red-deep:     #9b241b;
    --red-soft:     #f1d5d0;
    --cobalt:       #1f3c74;   /* serif-italic link color */
    --gold:         #a47628;
    --mustard:      #d8a83a;

    --link:          var(--cobalt);
    --link-hover:    var(--red);

    /* Type */
    --serif-display: "Fraunces", "Cormorant Garamond", "EB Garamond", Georgia, serif;
    --serif-body:    "Spectral", "Lora", Georgia, "Times New Roman", serif;
    --sans:          "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono:          ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Shape */
    --radius-sm: 1px;
    --radius-md: 3px;
    --shadow-card:  0 1px 0 rgba(20,18,16,.04), 0 14px 30px -20px rgba(20,18,16,.18);
    --shadow-hover: 0 1px 0 rgba(20,18,16,.06), 0 20px 40px -20px rgba(20,18,16,.28);

    /* Container */
    --container-wide:   1240px;
    --container-narrow: 700px;
    --container-pad:    clamp(1.25rem, 2vw + .5rem, 2.5rem);
}

/* ---- 2. Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif-body);
    font-size: 1.0625rem;           /* 17px */
    line-height: 1.7;
    font-feature-settings: "kern", "liga", "onum";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Subtle paper grain using a tiled SVG — decorative only. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.06 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
    opacity: .45;
    mix-blend-mode: multiply;
    z-index: -1;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
    color: var(--link);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .25s ease, color .15s ease;
}
a:hover,
a:focus-visible {
    color: var(--link-hover);
    background-size: 100% 1px;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: .6rem 1rem;
    z-index: 100;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

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

::selection { background: var(--red); color: var(--paper); }

/* ---- 3. Headings & display type -------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--serif-display);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .4em;
    line-height: 1.05;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { font-size: .82rem; font-family: var(--sans); font-weight: 700;
     letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }

p { margin: 0 0 1em; }

em, i, .italic {
    font-family: var(--serif-display);
    font-style: italic;
    font-variation-settings: "opsz" 14, "SOFT" 60;
}

.eyebrow {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 .9em;
    font-weight: 700;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.8rem;
    height: 2px;
    background: var(--red);
    vertical-align: middle;
    margin: -2px .7rem 0 0;
}

.dateline {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-muted);
}

.smallcaps {
    font-family: var(--sans);
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
}

.by {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin-right: .4rem;
}

/* Ornamental fleuron divider — used between major sections. */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 3rem 0 2.5rem;
    color: var(--red);
    max-width: 320px;
}
.ornament::before,
.ornament::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--rule);
}
.ornament__mark {
    font-family: var(--serif-display);
    font-size: 1.6rem;
    line-height: 1;
    font-style: italic;
    color: var(--red);
}

/* Horizontal rule with an inset label — magazine department style. */
.rule-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2.25rem;
}
.rule-label::before,
.rule-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ink);
}
.rule-label::before { flex: 0 0 2rem; }
.rule-label__text {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.prose {
    font-size: 1.12rem;
    line-height: 1.85;
}
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.8rem; }
.prose a { border-bottom: 1px solid var(--rule); }

/* ---- 4. Layout primitives -------------------------------------- */
.container {
    width: min(100% - 2 * var(--container-pad), var(--container-wide));
    margin-inline: auto;
}
.container.narrow,
.container--narrow {
    max-width: var(--container-narrow);
}

.main { min-height: 40vh; }

.section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    position: relative;
}
.section--paper {
    background: linear-gradient(180deg, var(--paper-alt), var(--paper-alt));
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.section--callout {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(3rem, 5vw, 4.5rem) 0;
    position: relative;
    overflow: hidden;
}
.section--callout::before {
    content: "100";
    position: absolute;
    top: -1.2rem;
    right: -1rem;
    font-family: var(--serif-display);
    font-weight: 700;
    font-size: clamp(12rem, 22vw, 22rem);
    color: rgba(198, 57, 45, .12);
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    font-variation-settings: "opsz" 144, "SOFT" 20;
}

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.1rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 2rem;
}
.section__title {
    font-size: clamp(1.9rem, 2.4vw + .5rem, 2.6rem);
    margin: 0;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.section__title--small {
    font-size: clamp(1.4rem, 1vw + .8rem, 1.75rem);
}
.section__more {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--red);
    background-image: none;
    border-bottom: 1px solid transparent;
}
.section__more:hover { border-bottom-color: var(--red); color: var(--red); background-image: none; }

/* Grids */
.grid {
    display: grid;
    gap: clamp(1.5rem, 2.2vw, 2.5rem);
    list-style: none;
    padding: 0;
    margin: 0;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .grid--lists { grid-template-columns: 1fr; }
}

/* Columns with hairline dividers (editorial layout). */
.cols-rule {
    display: grid;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cols-rule > * {
    padding: 1.75rem 2rem;
    border-left: 1px solid var(--rule);
}
.cols-rule > *:first-child { border-left: 0; padding-left: 0; }
.cols-rule > *:last-child { padding-right: 0; }
@media (max-width: 900px) {
    .cols-rule { grid-template-columns: 1fr !important; }
    .cols-rule > * { border-left: 0; border-top: 1px solid var(--rule); padding: 1.5rem 0; }
    .cols-rule > *:first-child { border-top: 0; padding-top: 0; }
}

/* ---- 5. Issue stripe + masthead -------------------------------- */
.issue-stripe {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid var(--red);
}
.issue-stripe__inner {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .55rem 0;
    flex-wrap: wrap;
}
.issue-stripe__label { color: var(--mustard); }
.issue-stripe__sep { opacity: .35; }
.issue-stripe a {
    color: inherit;
    background-image: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.issue-stripe a:hover { border-bottom-color: var(--mustard); color: var(--mustard); }
@media (max-width: 620px) {
    .issue-stripe__sep { display: none; }
    .issue-stripe__label { flex-basis: 100%; }
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    position: relative;
}
.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 2.2rem 0 1.6rem;
    text-align: center;
}

.masthead {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: none;
    color: var(--ink);
    justify-self: center;
    text-align: left;
}
.masthead:hover, .masthead:focus-visible { background: none; color: var(--ink); }
.masthead__numeral {
    font-family: var(--serif-display);
    font-weight: 700;
    font-size: clamp(3.6rem, 6vw, 5.6rem);
    line-height: .85;
    color: var(--red);
    letter-spacing: -.05em;
    font-variation-settings: "opsz" 144, "SOFT" 10;
    font-style: italic;
    padding-right: 1.1rem;
    border-right: 1px solid var(--ink);
}
.masthead__wordmark { display: flex; flex-direction: column; gap: .15rem; line-height: 1; }
.masthead__title {
    font-family: var(--serif-display);
    font-size: clamp(1.9rem, 2.2vw + 1rem, 2.9rem);
    font-weight: 600;
    letter-spacing: -.015em;
    font-variation-settings: "opsz" 144, "SOFT" 15;
}
.masthead__tagline {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    padding-top: .35rem;
    border-top: 1px solid var(--rule);
    margin-top: .25rem;
}

.site-header__search {
    display: flex;
    align-items: center;
    justify-self: end;
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: .2rem .2rem .2rem .9rem;
    background: var(--card);
    max-width: 260px;
}
.site-header__search input {
    font: inherit;
    font-family: var(--sans);
    font-size: .82rem;
    border: 0;
    background: transparent;
    min-width: 0;
    width: 100%;
    padding: .3rem 0;
    color: var(--ink);
}
.site-header__search input:focus { outline: none; }
.site-header__search input::placeholder { color: var(--ink-muted); font-style: italic; }
.site-header__search button {
    border: 0;
    background: var(--ink);
    color: var(--paper);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease;
}
.site-header__search button:hover { background: var(--red); }

.nav-toggle {
    display: none;
    width: 40px; height: 36px;
    background: transparent;
    border: 1px solid var(--ink);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    justify-self: start;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.primary-nav {
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--ink);
}
.primary-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.primary-nav a {
    display: inline-block;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink);
    background-image: none;
    padding: .9rem 0;
    position: relative;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--red); }
.primary-nav a[aria-current="page"] { color: var(--red); }
.primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: var(--red);
}

@media (max-width: 880px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        padding: 1rem 0;
        text-align: left;
    }
    .masthead { justify-self: start; }
    .masthead__numeral { font-size: 2.6rem; padding-right: .7rem; }
    .masthead__title { font-size: 1.35rem; }
    .masthead__tagline { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-header__search {
        display: none;
    }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        z-index: 10;
        background: var(--paper);
        border-top: 1px solid var(--rule);
    }
    .primary-nav.is-open { max-height: 80vh; }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 0;
    }
    .primary-nav li { border-bottom: 1px solid var(--rule-soft); }
    .primary-nav li:last-child { border-bottom: 0; }
    .primary-nav a { padding: 1rem 1.25rem; text-align: left; }
    .primary-nav a[aria-current="page"]::after { display: none; }
}

/* ---- 6. Broadsheet hero --------------------------------------- */
.hero {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
}
.hero__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
}
.hero__kicker {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--red);
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.hero__kicker::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: var(--red);
}
.hero__title {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(2.8rem, 6vw + 1rem, 6rem);
    line-height: .98;
    margin: 0 0 1.5rem;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 144, "SOFT" 40;
}
.hero__title a { color: inherit; background: none; }
.hero__title a:hover { color: var(--red); }
.hero__title em {
    font-style: italic;
    color: var(--red);
    font-variation-settings: "opsz" 14, "SOFT" 80;
}
.hero__byline {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
}
.hero__byline a {
    color: var(--ink);
    font-style: normal;
    font-family: var(--sans);
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid var(--red);
    background: none;
    padding-bottom: 1px;
}
.hero__byline a:hover { color: var(--red); }
.hero__meta {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-muted);
    margin-left: .6rem;
}
.hero__excerpt {
    font-family: var(--serif-body);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--ink);
    font-style: italic;
    max-width: 42ch;
    margin: 0 0 2rem;
}
.hero__excerpt::first-letter {
    font-family: var(--serif-display);
    font-size: 3.6em;
    float: left;
    line-height: .88;
    padding: .05em .15em 0 0;
    color: var(--red);
    font-style: normal;
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__cta { margin-top: 2rem; }

.hero__aside {
    position: sticky;
    top: 1rem;
    padding-left: clamp(0rem, 2vw, 2rem);
    border-left: 1px solid var(--rule);
}
@media (max-width: 900px) {
    .hero__aside { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 2rem; }
}

.editor-note {
    margin: 0;
    padding: 0;
    font-family: var(--serif-body);
    font-style: italic;
    line-height: 1.65;
    color: var(--ink);
    position: relative;
}
.editor-note p {
    margin: 0 0 1rem;
    font-size: 1.08rem;
}
.editor-note p::first-letter {
    font-family: var(--serif-display);
    font-size: 4rem;
    float: left;
    line-height: .85;
    padding: .05em .12em 0 0;
    color: var(--ink);
    font-style: italic;
    font-weight: 500;
    font-variation-settings: "opsz" 14, "SOFT" 80;
}
.editor-note cite {
    display: block;
    font-style: normal;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin-top: 1rem;
}

/* ---- 7. Trending strip ---------------------------------------- */
.trending {
    background: var(--ink);
    color: var(--paper);
    border-bottom: 3px double var(--red);
}
.trending__inner { padding: 1.1rem 0 1.3rem; }
.trending .eyebrow {
    color: var(--mustard);
    margin: 0 0 .7rem;
}
.trending .eyebrow::before { background: var(--mustard); }
.trending__scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .25rem;
    scrollbar-width: thin;
}
.trending__scroller::-webkit-scrollbar { height: 6px; }
.trending__scroller::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }

.trending__card {
    scroll-snap-align: start;
    background: transparent;
    padding: .2rem 1.5rem;
    border-left: 1px solid rgba(242,232,212,.2);
    display: flex;
    flex-direction: column;
    gap: .35rem;
    align-items: flex-start;
    background-image: none;
    color: var(--paper);
    min-height: 90px;
}
.trending__card:first-child { border-left: 0; padding-left: 0; }
.trending__card:hover .trending__title { color: var(--mustard); }
.trending__title {
    font-family: var(--serif-display);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
    transition: color .2s ease;
}
.trending__byline {
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mustard);
    font-weight: 600;
}

/* ---- 8. Buttons ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 1em 1.8em;
    border-radius: 0;
    border: 1.5px solid transparent;
    background-image: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}
.btn + .btn { margin-left: .6rem; }
.btn--primary {
    background: var(--red);
    color: var(--paper);
    border-color: var(--red);
}
.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--red-deep);
    border-color: var(--red-deep);
    color: var(--paper);
    transform: translateY(-1px);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: var(--ink);
    color: var(--paper);
}
.btn--small { font-size: .7rem; padding: .75em 1.25em; letter-spacing: .18em; }

.inline-link {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    background-image: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 1px;
}
.inline-link:hover { color: var(--red-deep); background-image: none; }

/* ---- 9. Story cards & lists ----------------------------------- */
.dot {
    display: inline-block;
    width: 3px; height: 3px;
    background: currentColor;
    border-radius: 50%;
    margin: 0 .5rem .2rem;
    vertical-align: middle;
    opacity: .5;
}

.story-grid { margin-top: 0; }

.story-card {
    padding: 1.4rem 0 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    background: transparent;
    border-top: 1px solid var(--ink);
}
.story-card__meta {
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .2em;
    color: var(--ink-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}
.story-card__title {
    font-family: var(--serif-display);
    font-size: clamp(1.5rem, 1.4vw + .8rem, 1.8rem);
    font-weight: 500;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -.01em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.story-card__title a { color: var(--ink); background-image: none; }
.story-card__title a:hover,
.story-card__title a:focus-visible { color: var(--red); }
.story-card__excerpt {
    color: var(--ink-soft);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    font-family: var(--serif-body);
}
.story-card__byline {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    margin: auto 0 0;
    padding-top: .35rem;
    font-weight: 600;
}
.story-card__byline a { color: var(--red); border-bottom: 0; background: none; }
.story-card__byline a:hover { color: var(--red-deep); }
.story-card__byline::before {
    content: "By";
    color: var(--ink-muted);
    font-weight: 400;
    margin-right: .4rem;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--serif-body);
    font-size: .85rem;
}
.story-card--compact .story-card__title { font-size: 1.25rem; }

/* List layout used by popular / top-rated blocks on the home. */
.ranked-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ranked-list li {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule-soft);
}
.ranked-list li:last-child { border-bottom: 0; }
.ranked-list__body { display: flex; flex-direction: column; gap: .2rem; }
.ranked-list__title {
    font-family: var(--serif-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    background-image: none;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.ranked-list__title:hover { color: var(--red); }
.ranked-list__meta {
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
}

/* Full-width story list (archive) */
.story-list { list-style: none; margin: 0; padding: 0; }
.story-list__item {
    padding: 2.25rem 0;
    border-top: 1px solid var(--ink);
}
.story-list__item:last-child { border-bottom: 1px solid var(--ink); }
.story-list__body { min-width: 0; }
.story-list__meta {
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin: 0 0 .3rem;
}
.story-list__title {
    font-family: var(--serif-display);
    font-size: clamp(1.7rem, 2vw + .6rem, 2.25rem);
    font-weight: 500;
    line-height: 1.08;
    margin: 0 0 .5rem;
    letter-spacing: -.015em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.story-list__title a { color: var(--ink); background-image: none; }
.story-list__title a:hover { color: var(--red); }
.story-list__excerpt {
    max-width: 62ch;
    color: var(--ink-soft);
    font-style: italic;
    font-family: var(--serif-body);
    margin: 0 0 .5rem;
    font-size: 1.02rem;
}
.story-list__byline {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 600;
    margin: 0;
}
.story-list__byline a { color: var(--red); border-bottom: 0; background: none; }
.story-list__byline::before {
    content: "By";
    color: var(--ink-muted);
    font-weight: 400;
    margin-right: .4rem;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--serif-body);
    font-size: .88rem;
}

/* ---- 10. Callout (submission) --------------------------------- */
.callout {
    text-align: center;
    max-width: 52rem;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}
.callout__title {
    font-size: clamp(2.4rem, 4vw + .6rem, 3.6rem);
    color: var(--paper);
    margin-bottom: 1.25rem;
    font-family: var(--serif-display);
    font-style: italic;
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 60;
}
.callout__body {
    color: var(--paper);
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: .92;
}
.section--callout .btn--ghost {
    color: var(--paper);
    border-color: var(--paper);
}
.section--callout .btn--ghost:hover {
    background: var(--paper);
    color: var(--ink);
}

/* ---- 11. Page head (archive / author / about) ----------------- */
.page-head {
    padding: clamp(3rem, 5vw, 5rem) 0 2.5rem;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    position: relative;
}
.page-title {
    font-size: clamp(2.8rem, 5vw + 1rem, 5.5rem);
    line-height: .98;
    margin: 0 0 1rem;
    font-family: var(--serif-display);
    font-weight: 500;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.page-title em {
    font-style: italic;
    color: var(--red);
    font-variation-settings: "opsz" 14, "SOFT" 80;
}
.page-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0;
    font-style: italic;
    font-family: var(--serif-body);
}

/* ---- 12. Toolbar (archive filters) ---------------------------- */
.toolbar {
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: saturate(140%) blur(6px);
    background-color: rgba(242, 232, 212, 0.94);
}
.toolbar__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}
.toolbar__search {
    display: flex;
    align-items: center;
    flex: 1 1 260px;
    min-width: 0;
    gap: .75rem;
}
.toolbar__search input {
    flex: 1;
    font: inherit;
    font-family: var(--serif-body);
    font-size: 1.05rem;
    padding: .75rem 1rem;
    border: 1px solid var(--ink);
    background: var(--card);
    border-radius: 0;
    color: var(--ink);
    font-style: italic;
}
.toolbar__search input::placeholder { color: var(--ink-muted); }
.toolbar__search input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-soft);
}
.toolbar__filters {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-wrap: wrap;
}
.toolbar__filters label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    color: var(--ink);
    text-transform: uppercase;
    font-weight: 700;
}
.toolbar__filters select {
    font: inherit;
    font-family: var(--sans);
    font-size: .82rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    padding: .5rem .7rem;
    border: 1px solid var(--ink);
    background: var(--card);
    border-radius: 0;
    color: var(--ink);
    cursor: pointer;
}
.toolbar__reset {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--red);
    border-bottom: 1px solid var(--red);
    background-image: none;
    padding-bottom: 2px;
}
.toolbar__view {
    display: inline-flex;
    border: 1px solid var(--ink);
    overflow: hidden;
    margin-left: auto;
}
.toolbar__view-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .55rem .85rem;
    color: var(--ink);
    background: var(--card);
    background-image: none;
    border-right: 1px solid var(--ink);
}
.toolbar__view-btn:last-child { border-right: 0; }
.toolbar__view-btn.is-active { background: var(--ink); color: var(--paper); }

.result-count {
    font-family: var(--sans);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.result-count strong { color: var(--red); font-weight: 700; }
.result-count em { font-style: normal; color: var(--ink); }

/* ---- 13. Breadcrumbs ------------------------------------------ */
.breadcrumbs {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumbs li + li::before {
    content: "/";
    color: var(--rule);
    margin-right: .5rem;
    font-family: var(--serif-display);
    font-style: italic;
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: 0;
}
.breadcrumbs li[aria-current="page"] { color: var(--red); }
.breadcrumbs a { color: var(--ink); background-image: none; border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---- 14. Story page ------------------------------------------ */
.story { padding: clamp(2.5rem, 4vw, 4rem) 0 1rem; }
.story__head {
    padding: 1.5rem 0 2.5rem;
    border-bottom: 1px solid var(--ink);
    margin-bottom: 3rem;
    text-align: center;
}
.story__kicker {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 1.25rem;
    font-weight: 700;
}
.story__kicker a { color: inherit; background-image: none; }
.story__kicker::before,
.story__kicker::after {
    content: "·";
    display: inline-block;
    color: var(--ink-muted);
    margin: 0 .6rem;
}
.story__title {
    font-family: var(--serif-display);
    font-size: clamp(2.8rem, 6vw + 1rem, 5.5rem);
    line-height: .98;
    margin: 0 0 1.25rem;
    letter-spacing: -.02em;
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.story__title em {
    font-style: italic;
    color: var(--red);
    font-variation-settings: "opsz" 14, "SOFT" 80;
}
.story__byline {
    font-family: var(--serif-body);
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0 0 .5rem;
    font-style: italic;
}
.story__byline::before {
    content: "by";
    font-family: var(--sans);
    font-style: normal;
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin-right: .6rem;
}
.story__author-link {
    color: var(--ink);
    font-style: normal;
    font-family: var(--sans);
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1.5px solid var(--red);
    background-image: none;
    padding-bottom: 1px;
}
.story__author-link:hover { color: var(--red); }
.story__meta {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    color: var(--ink-muted);
    margin: 1.25rem 0 0;
    text-transform: uppercase;
    font-weight: 600;
}

.story__body {
    font-family: var(--serif-body);
    font-size: 1.28rem;
    line-height: 1.85;
    color: var(--ink);
    max-width: 62ch;
    margin-inline: auto;
    font-feature-settings: "kern", "liga", "onum";
}
.story__body p { margin: 0 0 1.4rem; }
.story__body > p:first-of-type::first-letter {
    font-family: var(--serif-display);
    font-size: 5em;
    float: left;
    line-height: .84;
    padding: .05em .12em 0 0;
    color: var(--red);
    font-weight: 700;
    font-variation-settings: "opsz" 144, "SOFT" 0;
}
.story__body em, .story__body i {
    font-family: var(--serif-display);
    font-style: italic;
    font-variation-settings: "opsz" 14, "SOFT" 80;
}
.story__body blockquote {
    border-left: 3px solid var(--red);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--ink);
    margin: 2rem 0;
    font-size: 1.35rem;
    line-height: 1.55;
}

.story__tags {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.story__tags a {
    display: inline-block;
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
    padding: .45rem .9rem;
    background-image: none;
    border-radius: 0;
}
.story__tags a:hover { background: var(--red); color: var(--paper); border-color: var(--red); }

.story__share {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
}
.story__share::before {
    content: "Share";
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-muted);
    margin-right: .5rem;
}
.js-copy-link.is-copied { background: var(--red); color: var(--paper); border-color: var(--red); }

/* ---- 15. Author bio box --------------------------------------- */
.author-bio {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    align-items: start;
    padding: 2.5rem 0 0;
    border-top: 3px double var(--ink);
    margin: 3.5rem 0 2.5rem;
}
.author-bio__eyebrow {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 .5rem;
    font-weight: 700;
}
.author-bio__name {
    font-family: var(--serif-display);
    font-size: 1.8rem;
    margin: 0 0 .75rem;
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.author-bio__name a { color: var(--ink); background-image: none; }
.author-bio__name a:hover { color: var(--red); }
.author-bio p {
    color: var(--ink-soft);
    margin: 0 0 .75rem;
    font-family: var(--serif-body);
    font-size: 1rem;
    line-height: 1.65;
}

@media (max-width: 620px) {
    .author-bio { grid-template-columns: 1fr; }
}

/* ---- 16. Avatars --------------------------------------------- */
.avatar {
    width: var(--avatar-size, 56px);
    height: var(--avatar-size, 56px);
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-deep);
    color: var(--ink);
    font-family: var(--serif-display);
    font-size: calc(var(--avatar-size, 56px) * .36);
    font-weight: 500;
    letter-spacing: -.01em;
    font-style: italic;
    border: 1.5px solid var(--ink);
    flex-shrink: 0;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--initials { background: var(--card); color: var(--red); }

/* ---- 17. Prev / next navigation ------------------------------ */
.prevnext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2.5rem 0 3rem;
}
.prevnext__card {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1.75rem 1.85rem;
    background: var(--card);
    border: 1px solid var(--ink);
    border-radius: 0;
    min-height: 7rem;
    background-image: none;
    color: var(--ink);
    transition: background-color .2s ease, color .2s ease, transform .15s ease;
    position: relative;
    overflow: hidden;
}
.prevnext__card:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}
.prevnext__card:hover .prevnext__title { color: var(--paper); }
.prevnext__card:hover .prevnext__byline { color: var(--mustard); }
.prevnext__card:hover .prevnext__label { color: var(--red); }

.prevnext__card--next { text-align: right; align-items: flex-end; }
.prevnext__card--disabled {
    background: transparent;
    border-style: dashed;
    pointer-events: none;
    opacity: .5;
}
.prevnext__label {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
}
.prevnext__title {
    font-family: var(--serif-display);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -.01em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.prevnext__byline {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
}

@media (max-width: 620px) {
    .prevnext { grid-template-columns: 1fr; }
    .prevnext__card--next { text-align: left; align-items: flex-start; }
}

/* ---- 18. Authors directory ----------------------------------- */
.alpha-jump {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
    list-style: none;
    padding: .5rem;
    margin: 0 0 3rem;
    font-family: var(--sans);
    font-size: .85rem;
    font-weight: 700;
    background: var(--card);
    border: 1px solid var(--ink);
    justify-content: center;
}
.alpha-jump li { display: inline-block; }
.alpha-jump a, .alpha-jump span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-image: none;
    letter-spacing: 0;
}
.alpha-jump a { color: var(--ink); }
.alpha-jump a:hover { background: var(--red); color: var(--paper); }
.alpha-jump span { color: var(--rule); }

.alpha-group { margin-bottom: 3.5rem; }
.alpha-group__letter {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 4rem;
    font-weight: 500;
    color: var(--red);
    margin: 1.5rem 0 1rem;
    padding-bottom: .25rem;
    border-bottom: 2px solid var(--ink);
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 144, "SOFT" 60;
    line-height: 1;
}

.author-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--rule);
}
.author-card {
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
}
.author-card:nth-child(3n) { border-right: 0; }
.author-card__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem;
    color: var(--ink);
    background-image: none;
    transition: background-color .2s ease;
    align-items: start;
    height: 100%;
}
.author-card__inner:hover {
    background: var(--card);
}
.author-card__inner:hover .author-card__name { color: var(--red); }
.author-card__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.author-card__name {
    font-family: var(--serif-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.15;
    transition: color .15s ease;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.author-card__meta {
    font-family: var(--sans);
    font-size: .65rem;
    color: var(--red);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: .2rem;
}
.author-card__bio {
    font-size: .92rem;
    color: var(--ink-soft);
    font-style: italic;
    font-family: var(--serif-body);
    line-height: 1.5;
    margin-top: .4rem;
}

/* ---- 19. Author profile -------------------------------------- */
.author-profile { padding: clamp(2.5rem, 4vw, 4rem) 0 1rem; }
.author-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 1rem 0 3rem;
    border-bottom: 2px solid var(--ink);
}
.author-hero__name {
    font-family: var(--serif-display);
    font-size: clamp(2.8rem, 5vw + 1rem, 5rem);
    margin: 0 0 .4rem;
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.author-hero__count {
    font-family: var(--sans);
    font-size: .75rem;
    letter-spacing: .3em;
    color: var(--red);
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--red);
    padding-bottom: 4px;
}
.author-hero__bio {
    font-family: var(--serif-body);
    font-size: 1.1rem;
    color: var(--ink);
    line-height: 1.7;
    max-width: 56ch;
    font-style: italic;
}
.author-hero__links {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
}
.author-hero__links a { color: var(--red); border-bottom: 1.5px solid var(--red); background-image: none; padding-bottom: 2px; }

@media (max-width: 720px) {
    .author-hero { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---- 20. Paperbacks ------------------------------------------ */
.books {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
.book {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    padding-top: 2rem;
    border-top: 3px double var(--ink);
}
.book:first-child { border-top: 0; padding-top: 0; }
.book__cover {
    aspect-ratio: 2/3;
    background: var(--paper-alt);
    border: 1px solid var(--ink);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.book__cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 2rem;
    text-align: center;
    background: var(--ink);
    color: var(--paper);
    width: 100%;
    height: 100%;
}
.book__cover-mark {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 5rem;
    color: var(--red);
    line-height: 1;
    font-variation-settings: "opsz" 144, "SOFT" 60;
}
.book__cover-word {
    font-family: var(--serif-display);
    font-size: 1.35rem;
    letter-spacing: -.01em;
    font-weight: 500;
}
.book__cover-year {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--mustard);
    font-weight: 600;
    margin-top: auto;
}
.book__cover-placeholder--forthcoming { position: relative; }
.book__cover-stamp {
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: var(--red);
    color: var(--paper);
    font-family: var(--sans);
    font-weight: 700;
    font-size: .68rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    padding: .4rem 2.5rem;
    transform: rotate(12deg);
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.book__year {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin: 0 0 .75rem;
}
.book__title {
    font-family: var(--serif-display);
    font-size: clamp(2rem, 2.5vw + .5rem, 2.9rem);
    margin: 0 0 .5rem;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.book__subtitle {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink-soft);
    margin: 0 0 1.25rem;
}
.book__blurb {
    color: var(--ink);
    max-width: 50ch;
    margin: 0 0 1.25rem;
    font-size: 1.02rem;
}
.book__specs {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin: 0 0 1.5rem;
}

@media (max-width: 720px) {
    .book { grid-template-columns: 1fr; gap: 1.5rem; }
    .book__cover { max-width: 240px; }
}

/* ---- 21. Pagination ------------------------------------------ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 3rem 0 .5rem;
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
}
.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    border: 1px solid var(--ink);
}
.pagination ul li { border-right: 1px solid var(--ink); }
.pagination ul li:last-child { border-right: 0; }
.pagination a,
.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .9rem;
    color: var(--ink);
    background-image: none;
}
.pagination__link {
    border: 1px solid var(--ink);
    margin: 0 .3rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 700;
}
.pagination a:hover,
.pagination__link:hover { background: var(--ink); color: var(--paper); }
.pagination .is-current {
    background: var(--red);
    color: var(--paper);
}
.pagination .is-disabled { opacity: .3; pointer-events: none; }
.pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .3rem;
    color: var(--ink-muted);
}

.empty {
    padding: 3rem 0;
    text-align: center;
    color: var(--ink-soft);
    font-style: italic;
    font-size: 1.1rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cta-row .btn + .btn { margin-left: 0; }

.pull-quote {
    font-family: var(--serif-display);
    font-size: clamp(1.6rem, 2.2vw + .5rem, 2.1rem);
    line-height: 1.25;
    color: var(--ink);
    font-style: italic;
    border-left: 3px solid var(--red);
    padding: .25rem 0 .25rem 1.5rem;
    margin: 2.5rem 0;
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 70;
}
.pull-quote::before {
    content: "“";
    font-family: var(--serif-display);
    color: var(--red);
    font-weight: 700;
    margin-right: .1em;
}
.pull-quote::after {
    content: "”";
    font-family: var(--serif-display);
    color: var(--red);
    font-weight: 700;
    margin-left: .05em;
}

/* ---- 22. Footer ---------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: 4rem 0 1.5rem;
    margin-top: 2rem;
    position: relative;
    border-top: 6px solid var(--red);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(242,232,212,.12);
}
@media (max-width: 760px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .site-footer__col--about { grid-column: 1 / -1; }
}
.site-footer__mark {
    font-family: var(--serif-display);
    font-size: 2rem;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
    color: var(--paper);
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.site-footer__mark span {
    color: var(--red);
    font-style: italic;
    font-weight: 700;
    font-size: 1.3em;
    padding-right: .25rem;
    font-variation-settings: "opsz" 144, "SOFT" 10;
}
.site-footer__blurb {
    color: var(--paper);
    opacity: .72;
    max-width: 32ch;
    line-height: 1.6;
    font-size: .95rem;
    font-style: italic;
    font-family: var(--serif-body);
}
.site-footer h4 {
    color: var(--mustard);
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 1rem;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.site-footer a {
    color: var(--paper);
    opacity: .8;
    font-family: var(--sans);
    font-size: .85rem;
    font-weight: 500;
    background-image: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}
.site-footer a:hover {
    color: var(--mustard);
    opacity: 1;
    border-bottom-color: var(--mustard);
}

.site-footer__rule {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: .55;
    font-weight: 500;
}

/* ---- 23. Home-specific helpers ------------------------------- */
.dept {
    position: relative;
    padding-top: 1rem;
}
.dept__label {
    display: inline-block;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--paper);
    background: var(--ink);
    padding: .45rem 1rem;
    margin-bottom: 1.5rem;
}
.dept__label--red { background: var(--red); }

.lede-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    border-top: 3px double var(--ink);
    border-bottom: 3px double var(--ink);
    margin: 0 0 3rem;
    counter-reset: none;
}
.lede-card__title {
    font-family: var(--serif-display);
    font-size: clamp(2.2rem, 3vw + 1rem, 3.5rem);
    line-height: 1;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.lede-card__title a { color: var(--ink); background: none; }
.lede-card__title a:hover { color: var(--red); }
.lede-card__excerpt {
    font-family: var(--serif-body);
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ink);
    max-width: 44ch;
    margin: 0 0 1rem;
}
.lede-card__byline {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
}
.lede-card__byline a { color: var(--red); background: none; }
.lede-card__aside {
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink-soft);
}
@media (max-width: 900px) {
    .lede-card { grid-template-columns: 1fr; gap: 1.5rem; }
    .lede-card__aside { border-left: 0; border-top: 1px solid var(--rule); padding: 1.5rem 0 0; }
}

/* ---- 24. Utility animations ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
