/* =====================================================================
   recycle.wiki — A Living Encyclopedia of Material Cycles
   Vintage broadsheet newspaper / encyclopedia plate aesthetic
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
    --c-cream: #FAF8F3;          /* Newsprint Cream, primary bg */
    --c-ink: #1A1A2E;            /* Ink Black, headings */
    --c-newsprint: #2C2C2C;      /* Newsprint Dark, body */
    --c-rule: #8C8C8C;           /* Column Rule Gray */
    --c-gold: #B8860B;           /* Archival Gold */
    --c-footnote: #5A5A5A;       /* Column Footnote */
    --c-parchment: #E8E2D6;      /* Aged Parchment */
    --c-leather: #3D1C02;        /* Leather Spine */

    --f-display: 'Playfair Display', 'Times New Roman', serif;
    --f-body: 'Libre Baskerville', 'Times New Roman', serif;
    --f-utility: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;

    --rail-w: 72px;
    --page-pad-x: clamp(28px, 5vw, 88px);
    --gutter: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
    background: var(--c-cream);
    color: var(--c-newsprint);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background:
        radial-gradient(circle at 22% 8%, rgba(184,134,11,0.04), transparent 40%),
        radial-gradient(circle at 78% 92%, rgba(61,28,2,0.04), transparent 50%),
        var(--c-cream);
    /* faint paper grain */
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(rgba(140,140,140,0.10) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.18;
    mix-blend-mode: multiply;
}

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

/* ---------- Rail (fixed wayfinding) ---------- */
.rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 48px;
    z-index: 50;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.rail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    pointer-events: auto;
}

.rail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--c-rule);
    font-family: var(--f-utility);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 280ms ease;
}

.rail-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--c-ink);
    width: 22px;
    border-bottom: 1px solid var(--c-rule);
    padding-bottom: 4px;
    text-align: center;
    transition: color 280ms ease, border-color 280ms ease;
}

.rail-label {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 320ms ease, transform 320ms ease, color 280ms ease;
    font-weight: 500;
}

.rail-item:hover .rail-label,
.rail-item.is-active .rail-label {
    opacity: 1;
    transform: translateX(0);
}

.rail-item:hover .rail-num,
.rail-item.is-active .rail-num {
    color: var(--c-gold);
    border-color: var(--c-gold);
}

@media (max-width: 900px) {
    .rail { display: none; }
}

/* ---------- Page container ---------- */
.broadsheet {
    position: relative;
    z-index: 1;
    padding-left: calc(var(--rail-w) + var(--page-pad-x));
    padding-right: var(--page-pad-x);
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .broadsheet {
        padding-left: var(--page-pad-x);
    }
}

.section {
    position: relative;
    padding: clamp(60px, 9vh, 110px) 0;
    border-bottom: 0;
}

.section-grid { background: linear-gradient(180deg, transparent 0%, transparent 100%); }
.section-plate {
    background: var(--c-parchment);
    margin-left: calc(-1 * (var(--rail-w) + var(--page-pad-x)));
    margin-right: calc(-1 * var(--page-pad-x));
    padding-left: calc(var(--rail-w) + var(--page-pad-x));
    padding-right: var(--page-pad-x);
}
@media (max-width: 900px) {
    .section-plate {
        margin-left: calc(-1 * var(--page-pad-x));
        padding-left: var(--page-pad-x);
    }
}

/* ---------- Watermark numerals ---------- */
.watermark-numeral {
    position: absolute;
    top: 18px;
    right: clamp(12px, 4vw, 64px);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(80px, 14vw, 160px);
    line-height: 0.85;
    color: var(--c-gold);
    opacity: 0.13;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.02em;
}

.watermark-numeral--colophon {
    top: 50%;
    right: 50%;
    transform: translate(50%, -55%);
    font-size: clamp(180px, 28vw, 360px);
    opacity: 0.07;
}

/* =====================================================================
   SECTION I — MASTHEAD
   ===================================================================== */
.section-masthead {
    padding-top: clamp(40px, 6vh, 70px);
}

.masthead {
    position: relative;
}

.masthead-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--f-utility);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-footnote);
    padding-bottom: 10px;
}

.masthead-top span { white-space: nowrap; }

.masthead-rule {
    height: 1px;
    background: var(--c-ink);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.masthead-rule.is-drawn { transform: scaleX(1); }

.masthead-rule--thick {
    height: 3px;
    background: var(--c-ink);
    margin-top: 18px;
    position: relative;
}
.masthead-rule--thick::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: var(--c-ink);
}

.masthead-title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(72px, 17vw, 220px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    color: var(--c-ink);
    margin: 18px 0 12px;
    text-align: center;
}

.masthead-title span {
    display: inline-block;
    transform: translateY(8px);
    opacity: 0;
    animation: dropLetter 600ms cubic-bezier(.2,.7,.2,1) forwards;
}

.masthead-title .title-r  { animation-delay: 40ms; }
.masthead-title .title-e1 { animation-delay: 90ms; }
.masthead-title .title-c  { animation-delay: 140ms; }
.masthead-title .title-y  { animation-delay: 190ms; }
.masthead-title .title-c2 { animation-delay: 240ms; }
.masthead-title .title-l  { animation-delay: 290ms; }
.masthead-title .title-e2 { animation-delay: 340ms; }
.masthead-title .title-dot { animation-delay: 390ms; color: var(--c-gold); }
.masthead-title .title-w  { animation-delay: 440ms; }
.masthead-title .title-i  { animation-delay: 490ms; }
.masthead-title .title-k  { animation-delay: 540ms; }
.masthead-title .title-i2 { animation-delay: 590ms; }

@keyframes dropLetter {
    to { transform: translateY(0); opacity: 1; }
}

.masthead-subline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--f-utility);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-footnote);
    margin: 6px 0 12px;
}

.masthead-subline .motto {
    font-family: var(--f-body);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    color: var(--c-leather);
    font-size: 13px;
}

@media (max-width: 700px) {
    .masthead-top, .masthead-subline {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .masthead-meta-center { display: none; }
}

/* Lead Stories — 25/50/25 */
.lead-stories {
    display: grid;
    grid-template-columns: 25fr 50fr 25fr;
    gap: 0;
    margin-top: clamp(36px, 6vh, 58px);
    border-top: 1px solid var(--c-rule);
    border-bottom: 1px solid var(--c-rule);
}

.lead {
    padding: 28px 22px;
    border-right: 1px solid var(--c-rule);
}
.lead:last-child { border-right: 0; }

.lead-eyebrow {
    font-family: var(--f-utility);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 10px;
}

.lead-headline {
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-ink);
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
}

.lead-headline--xl {
    font-size: clamp(34px, 4.8vw, 60px);
    line-height: 1.04;
}

.lead-rule {
    height: 1px;
    background: var(--c-rule);
    margin-bottom: 14px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.lead-rule.is-drawn { transform: scaleX(1); }

.lead-deck {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-newsprint);
    margin: 0 0 14px;
}

.lead-center .lead-deck {
    font-size: 19px;
    line-height: 1.55;
    text-indent: 0;
    column-count: 1;
}

.lead-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-newsprint);
    margin: 0 0 12px;
    text-indent: 1.6em;
}

.byline {
    font-family: var(--f-utility);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-footnote);
    margin: 16px 0 0;
}

@media (max-width: 900px) {
    .lead-stories { grid-template-columns: 1fr; }
    .lead { border-right: 0; border-bottom: 1px solid var(--c-rule); }
    .lead:last-child { border-bottom: 0; }
}

/* Margin notes */
.margin-note {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--c-rule);
    max-width: 240px;
}

.margin-note--right {
    margin-left: auto;
    text-align: right;
    margin-top: 24px;
    padding-right: 8px;
}

.margin-note--inline {
    margin-top: 8px;
    color: var(--c-footnote);
}

.margin-note-mark {
    font-family: var(--f-display);
    color: var(--c-gold);
    font-style: normal;
    margin-right: 4px;
}

/* Ornamental rule (double line + diamond) */
.ornamental-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: clamp(40px, 6vh, 70px) auto 0;
    width: min(420px, 100%);
    opacity: 0.85;
}

.ornamental-rule .orn-line {
    flex: 1;
    height: 0;
    border-top: 0.5px solid var(--c-rule);
    border-bottom: 0.5px solid var(--c-rule);
    background: transparent;
    box-sizing: border-box;
    padding-top: 3px;
}

.ornamental-rule .orn-diamond {
    width: 6px;
    height: 6px;
    background: var(--c-ink);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* =====================================================================
   SECTION HEAD (shared)
   ===================================================================== */
.section-head {
    margin-bottom: clamp(28px, 4vh, 50px);
    max-width: 900px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--f-utility);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(36px, 5.2vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    margin: 0 0 12px;
}

.section-rule {
    height: 1px;
    background: var(--c-rule);
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.section-rule.is-drawn { transform: scaleX(1); }
.section-rule--center { transform-origin: center; }

.section-deck {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 17px;
    color: var(--c-footnote);
    margin: 14px 0 0;
    max-width: 64ch;
}
.section-deck--center { margin-left: auto; margin-right: auto; }

/* =====================================================================
   SECTION II — KNOWLEDGE GRID
   ===================================================================== */
.grid-broadsheet {
    display: grid;
    grid-template-columns: 30fr 20fr 30fr 20fr;
    gap: 0;
    border-top: 2px solid var(--c-ink);
    border-bottom: 1px solid var(--c-ink);
    margin-top: 12px;
}

.grid-col {
    padding: 22px 22px 28px;
    border-right: 1px solid var(--c-rule);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.grid-col:last-child { border-right: 0; }
.grid-col.is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
    .grid-broadsheet { grid-template-columns: 1fr 1fr; }
    .grid-col { border-right: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }
    .grid-col:nth-child(2n) { border-right: 0; }
}

@media (max-width: 600px) {
    .grid-broadsheet { grid-template-columns: 1fr; }
    .grid-col { border-right: 0; }
}

/* Entry */
.entry {
    position: relative;
    padding: 16px 6px 22px;
    border-bottom: 1px solid var(--c-rule);
    margin-bottom: 18px;
}
.entry:last-child { margin-bottom: 0; border-bottom: 0; }

.entry-eyebrow {
    font-family: var(--f-utility);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 8px;
}

.entry-headline {
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-ink);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.entry-headline--sm {
    font-size: 19px;
    line-height: 1.15;
}

.entry-rule {
    height: 1px;
    background: var(--c-rule);
    margin-bottom: 12px;
}

.entry-body {
    font-family: var(--f-body);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--c-newsprint);
    margin: 0 0 10px;
}

.entry-narrow .entry-body {
    font-size: 13.5px;
    line-height: 1.65;
}

/* Corner ornaments */
.entry-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 0 solid var(--c-rule);
}
.entry-corner--tl { top: 0; left: -2px; border-top-width: 1px; border-left-width: 1px; }
.entry-corner--tr { top: 0; right: -2px; border-top-width: 1px; border-right-width: 1px; }
.entry-corner--bl { bottom: 6px; left: -2px; border-bottom-width: 1px; border-left-width: 1px; }
.entry-corner--br { bottom: 6px; right: -2px; border-bottom-width: 1px; border-right-width: 1px; }

/* Pull quote */
.pull-quote {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.45;
    color: var(--c-ink);
    margin: 18px 0 18px;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--c-gold);
}

/* Cross-section figure */
.cross-section {
    margin: 16px 0;
    text-align: center;
}

.cs-svg {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    overflow: visible;
}

.cs-svg--wide {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 200 / 80;
}

.cs-ring {
    fill: none;
    stroke: var(--c-ink);
    stroke-width: 1;
}
.cs-ring-a { stroke-opacity: 0.95; }
.cs-ring-b { stroke-opacity: 0.7; stroke-dasharray: 2 2; }
.cs-ring-c { stroke-opacity: 0.55; }
.cs-ring-d { stroke-opacity: 0.35; stroke-dasharray: 1 2; }
.cs-ring-e { fill: var(--c-gold); fill-opacity: 0.2; stroke: var(--c-gold); }

.cs-leader { stroke: var(--c-rule); stroke-width: 0.6; }
.cs-dot { fill: var(--c-gold); }

.cs-flow { stroke: var(--c-ink); stroke-width: 1; stroke-dasharray: 3 3; }
.cs-box { fill: none; stroke: var(--c-ink); stroke-width: 1; }
.cs-label {
    font-family: var(--f-utility);
    font-size: 9px;
    fill: var(--c-footnote);
    text-anchor: middle;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cs-caption {
    font-family: var(--f-utility);
    font-size: 10px;
    color: var(--c-footnote);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 6px;
    text-align: center;
}

/* =====================================================================
   SECTION III — THE PLATE
   ===================================================================== */
.section-plate {
    text-align: left;
}

.plate-figure {
    margin: 0 auto;
    max-width: 1100px;
    background: var(--c-cream);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--c-rule);
    position: relative;
}

.plate-figure::before,
.plate-figure::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--c-ink);
}
.plate-figure::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.plate-figure::after  { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }

.plate-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.plate-frame {
    fill: none;
    stroke: var(--c-ink);
    stroke-width: 0.75;
}
.plate-frame--inner { stroke-width: 0.4; stroke-opacity: 0.7; }

.plate-line {
    fill: none;
    stroke: var(--c-ink);
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.plate-line--dashed { stroke-dasharray: 4 3; }
.plate-line--dotted { stroke-dasharray: 1 3; }

.plate-leader {
    stroke: var(--c-rule);
    stroke-width: 0.6;
    fill: none;
}

.plate-dot { fill: var(--c-gold); }

.plate-arrow-line {
    stroke: var(--c-ink);
    stroke-width: 1;
    fill: none;
}
.plate-arrow-line--curve { stroke: var(--c-gold); stroke-dasharray: 3 3; }
.plate-arrow-head {
    stroke: var(--c-ink);
    stroke-width: 1;
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.plate-arrow--loop .plate-arrow-head { stroke: var(--c-gold); }

.plate-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 14px;
    fill: var(--c-gold);
    text-anchor: middle;
}

.plate-caption {
    font-family: var(--f-utility);
    font-size: 11px;
    fill: var(--c-footnote);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-anchor: middle;
}

.plate-group {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 700ms ease, transform 700ms ease;
    transform-box: fill-box;
    transform-origin: center;
}
.plate-figure.is-revealed .plate-group { opacity: 1; transform: translateY(0); }
.plate-figure.is-revealed .plate-group[data-step="1"]    { transition-delay: 80ms; }
.plate-figure.is-revealed .plate-group[data-step="a1"]   { transition-delay: 220ms; }
.plate-figure.is-revealed .plate-group[data-step="2"]    { transition-delay: 360ms; }
.plate-figure.is-revealed .plate-group[data-step="a2"]   { transition-delay: 500ms; }
.plate-figure.is-revealed .plate-group[data-step="3"]    { transition-delay: 640ms; }
.plate-figure.is-revealed .plate-group[data-step="a3"]   { transition-delay: 780ms; }
.plate-figure.is-revealed .plate-group[data-step="4"]    { transition-delay: 920ms; }
.plate-figure.is-revealed .plate-group[data-step="a4"]   { transition-delay: 1060ms; }
.plate-figure.is-revealed .plate-group[data-step="5"]    { transition-delay: 1200ms; }
.plate-figure.is-revealed .plate-group[data-step="6"]    { transition-delay: 1340ms; }
.plate-figure.is-revealed .plate-group[data-step="a-loop"] { transition-delay: 1480ms; }

.plate-caption-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--c-rule);
}
.plate-caption-line {
    font-family: var(--f-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-newsprint);
    margin: 0;
}
.plate-caption-line strong {
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: 0.04em;
}

/* =====================================================================
   SECTION IV — THE INDEX
   ===================================================================== */
.section-index { background: var(--c-cream); }

.index-grid {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    border-top: 2px solid var(--c-ink);
    border-bottom: 1px solid var(--c-ink);
    counter-reset: ie;
}

@media (max-width: 1300px) { .index-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .index-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .index-grid { grid-template-columns: 1fr; } }

.index-entry {
    counter-increment: ie;
    padding: 14px 14px 16px;
    border-right: 1px solid var(--c-rule);
    border-bottom: 1px solid var(--c-rule);
    position: relative;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 380ms ease, transform 380ms ease;
}

.index-entry.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.index-entry::before {
    content: counter(ie, decimal-leading-zero);
    position: absolute;
    top: 6px;
    right: 8px;
    font-family: var(--f-utility);
    font-size: 9px;
    color: var(--c-rule);
    letter-spacing: 0.1em;
}

.ie-term {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--c-ink);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}

.ie-text {
    /* fallback for any entry that uses ie-text instead of ie-term */
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--c-ink);
    line-height: 1.2;
    margin-bottom: 4px;
}

.ie-def {
    display: block;
    font-family: var(--f-utility);
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--c-footnote);
    letter-spacing: 0.01em;
}
.ie-def em {
    font-family: var(--f-body);
    font-style: italic;
    color: var(--c-gold);
}

.index-entry .ie-typing {
    border-right: 1px solid transparent;
}

/* =====================================================================
   SECTION V — THE COLOPHON
   ===================================================================== */
.section-colophon {
    background: var(--c-leather);
    color: var(--c-cream);
    margin-left: calc(-1 * (var(--rail-w) + var(--page-pad-x)));
    margin-right: calc(-1 * var(--page-pad-x));
    padding-left: calc(var(--rail-w) + var(--page-pad-x));
    padding-right: var(--page-pad-x);
    padding-top: clamp(80px, 14vh, 160px);
    padding-bottom: clamp(80px, 14vh, 160px);
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) {
    .section-colophon {
        margin-left: calc(-1 * var(--page-pad-x));
        padding-left: var(--page-pad-x);
    }
}

.section-colophon .watermark-numeral { color: var(--c-cream); opacity: 0.06; }

.colophon-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.colophon-mark {
    width: 56px;
    margin: 0 auto 18px;
}
.cm-svg { width: 100%; height: auto; }
.cm-ring { fill: none; stroke: var(--c-cream); stroke-width: 0.7; stroke-opacity: 0.6; }
.cm-leaf { fill: none; stroke: var(--c-gold); stroke-width: 0.8; }
.cm-axis { stroke: var(--c-cream); stroke-opacity: 0.25; stroke-width: 0.5; stroke-dasharray: 2 3; }

.colophon-eyebrow {
    display: inline-block;
    font-family: var(--f-utility);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 18px;
}

.colophon-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-style: italic;
    color: var(--c-cream);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.005em;
    margin: 0 0 22px;
}

.colophon-rule {
    height: 1px;
    background: var(--c-cream);
    opacity: 0.4;
    width: 80px;
    margin: 0 auto 24px;
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.colophon-rule.is-drawn { transform: scaleX(1); }

.colophon-body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-cream);
    opacity: 0.88;
    margin: 0 0 18px;
}
.colophon-body em { color: var(--c-gold); font-style: italic; }

.colophon-signoff {
    margin: 30px 0 22px;
    font-family: var(--f-body);
    font-style: italic;
    color: var(--c-cream);
    opacity: 0.78;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.signoff-line { font-size: 14px; }
.signoff-mark {
    font-size: 22px;
    color: var(--c-gold);
    line-height: 1;
}

.colophon-fineprint {
    font-family: var(--f-utility);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-cream);
    opacity: 0.5;
    margin: 18px 0 0;
}

/* =====================================================================
   Misc
   ===================================================================== */

::selection {
    background: var(--c-gold);
    color: var(--c-ink);
}

@media (max-width: 600px) {
    .section-title { font-size: clamp(28px, 8vw, 40px); }
    .masthead-title { font-size: clamp(48px, 18vw, 90px); }
    .lead-headline--xl { font-size: clamp(28px, 8vw, 42px); }
}
