/* ========================================================
   GABS NEWS — late-1920s broadsheet, hard-edged, no gradients
   Palette:
     Newsprint     #f5f0e6
     Ink Black     #1a1a1a
     Editor's Red  #c23616
     Dateline Gold #c4a35a
     Column Gray   #8b8578
     Classified Tan#e8dcc8
     Broadsheet Navy #1b2838
     Copper Plate  #5a7c65
     Burnt Umber   #4a3f2f
     Pencil Brown  #6b5b3e
   ======================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: #f5f0e6;
    color: #1a1a1a;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
}

body {
    /* faint paper texture using two layered dot patterns */
    background-color: #f5f0e6;
    background-image:
        radial-gradient(rgba(26, 26, 26, 0.025) 1px, transparent 1px),
        radial-gradient(rgba(196, 163, 90, 0.04) 1px, transparent 1px);
    background-size: 4px 4px, 9px 9px;
    background-position: 0 0, 2px 2px;
}

/* ========== TICKER ========== */
.ticker-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 32px;
    width: 100%;
    background: #1b2838;
    border-bottom: 1px solid #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker 120s linear infinite;
    will-change: transform;
    padding-left: 100%;
}

.ticker-item {
    color: #c4a35a;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    margin-right: 28px;
    text-transform: uppercase;
}

.ticker-cat {
    color: #f5f0e6;
    background: #c23616;
    padding: 1px 6px;
    margin-right: 8px;
    letter-spacing: 0.18em;
    font-size: 11px;
}

.ticker-sep {
    color: #c4a35a;
    margin-right: 28px;
    font-size: 12px;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ========== CROP MARKS at viewport corners ========== */
.crop-mark {
    position: fixed;
    z-index: 30;
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0.35;
}
.crop-tl { top: 38px;    left: 14px; }
.crop-tr { top: 38px;    right: 14px; }
.crop-bl { bottom: 14px; left: 14px; }
.crop-br { bottom: 14px; right: 14px; }

.crop-mark::before,
.crop-mark::after {
    content: "";
    position: absolute;
    background: #8b8578;
}
.crop-mark::before { width: 20px; height: 1px; top: 50%; left: 0; }
.crop-mark::after  { width: 1px;  height: 20px; left: 50%; top: 0; }

/* ========== REGISTRATION MARKS ========== */
.reg-mark {
    position: fixed;
    z-index: 31;
    width: 22px;
    height: 22px;
    border: 1px solid #8b8578;
    border-radius: 50%;
    opacity: 0.18;
    pointer-events: auto;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reg-mark::before,
.reg-mark::after {
    content: "";
    position: absolute;
    background: #8b8578;
}
.reg-mark::before { width: 100%; height: 1px; top: 50%; left: 0; }
.reg-mark::after  { width: 1px; height: 100%; left: 50%; top: 0; }

.reg-mark:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.reg-tl { top: 60px;    left: 40px; }
.reg-tr { top: 60px;    right: 40px; }
.reg-bl { bottom: 40px; left: 40px; }
.reg-br { bottom: 40px; right: 40px; }

/* ========== VERTICAL CENTER FOLD ========== */
.vertical-fold {
    display: none;
}
@media (min-width: 1200px) {
    .vertical-fold {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        margin-left: -1px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(139, 119, 80, 0.08) 50%,
            transparent 100%
        );
        box-shadow:
            inset -1px 0 0 rgba(0, 0, 0, 0.04),
            inset 1px 0 0 rgba(255, 255, 255, 0.5);
        pointer-events: none;
        z-index: 1;
    }
}

/* ========== PAPER WRAPPER ========== */
.paper {
    position: relative;
    max-width: 1340px;
    margin: 0 auto;
    padding: 36px 56px 40px;
    z-index: 2;
}

@media (max-width: 880px) {
    .paper { padding: 24px 22px; }
}

/* ========== MASTHEAD ========== */
.masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 24px;
    padding: 18px 0 6px;
}

.masthead-meta-left,
.masthead-meta-right {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    color: #6b5b3e;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.masthead-meta-right { text-align: right; }

.masthead-center {
    text-align: center;
    overflow: hidden;
}

.wordmark {
    font-family: "Playfair Display SC", "Playfair Display", Georgia, serif;
    font-weight: 900;
    font-size: clamp(6rem, 14vw, 11rem);
    line-height: 0.85;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    transform: translateY(-100%);
    opacity: 0;
}

.wordmark.stamp-in {
    animation: stampDown 380ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stampDown {
    0%   { transform: translateY(-100%) scale(1.02); opacity: 0; filter: blur(1px); }
    60%  { transform: translateY(0) scale(1.02); opacity: 1; filter: blur(0); box-shadow: 0 0 0 0 rgba(26,26,26,0.10); }
    100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); box-shadow: 0 8px 40px 0 rgba(26,26,26,0); }
}

.wordmark-sub {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: #1a1a1a;
    letter-spacing: 0.6em;
    margin-top: 6px;
    padding-left: 0.6em;
}

.masthead-rule {
    height: 4px;
    background: #1a1a1a;
    margin: 12px 0 4px;
    box-shadow: 0 6px 0 #f5f0e6, 0 7px 0 #1a1a1a;
}

.masthead-rule.thin {
    height: 1px;
    background: #1a1a1a;
    box-shadow: none;
    margin: 4px 0 12px;
}

.dateline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 2px;
}

.dateline {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    letter-spacing: 0.18em;
    color: #1a1a1a;
    text-transform: uppercase;
}

.dateline-tag {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #6b5b3e;
    text-transform: uppercase;
}

@media (max-width: 720px) {
    .dateline-tag { display: none; }
}

/* ========== FRONT PAGE GRID ==========
   18% | 26% | 2% | 28% | 26% (rule column at index 3)
   ====================================== */
.front-page {
    display: grid;
    grid-template-columns: 18% 26% 2% 28% 26%;
    gap: 12px;
    padding-top: 22px;
    align-items: start;
}

@media (max-width: 980px) {
    .front-page {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .front-page .col-rule { display: none; }
    .front-page .col-lead { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .front-page { grid-template-columns: 1fr; }
}

.col {
    min-width: 0;
}

.col-1 {
    border-right: 1px solid #1a1a1a;
    padding-right: 14px;
}

.col-rule {
    border-left: 1px solid #1a1a1a;
    height: 100%;
    min-height: 320px;
    margin: 0 auto;
}

.col-lead {
    grid-column: 2 / span 3;
    /* but visually we want it spanning columns 2..4. Override grid-column to 4 cells: */
}

/* Recompute: col-1 (1), col-2 (2), col-rule (3), col-lead actually goes to col 4, col-5 (5).
   Adjust assignment via explicit columns. */
.col-1     { grid-column: 1 / 2; }
.col-rule  { grid-column: 3 / 4; }
.col-lead  { grid-column: 4 / 5; }
.col-5     { grid-column: 5 / 6; }
/* The 26% col-2 area we will leave for headline overflow / breathing — fill with secondary stack inside lead */

/* Actually we have 5 columns. Lead spans col 2 and col 4 (since col 3 is rule). Re-do: */
@media (min-width: 981px) {
    .front-page {
        grid-template-columns: 18% 26% 2% 28% 26%;
    }
    .col-1     { grid-column: 1 / 2; grid-row: 1; }
    .col-rule  { grid-column: 3 / 4; grid-row: 1; }
    .col-lead  { grid-column: 2 / 3; grid-row: 1; }
    .col-5     { grid-column: 4 / 6; grid-row: 1; display: grid; grid-template-columns: 28fr 26fr; gap: 18px; }
}

/* On smaller, .col-5 stacks normally */
@media (max-width: 980px) {
    .col-5 { display: block; }
}

/* ========== KICKERS / BYLINES ========== */
.kicker {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.18em;
    color: #6b5b3e;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid #8b8578;
    padding-bottom: 4px;
    display: inline-block;
}

.kicker.red {
    color: #c23616;
    border-bottom-color: #c23616;
}

.kicker.centered {
    display: block;
    text-align: center;
    border-bottom: none;
    margin-bottom: 18px;
}

.byline {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #6b5b3e;
    text-transform: uppercase;
    margin: 8px 0;
}

.byline.lead-byline {
    color: #1a1a1a;
    font-size: 12px;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 6px 0;
    margin: 14px 0;
}

.byline.centered { text-align: center; }

/* ========== BRIEFS (col 1) ========== */
.brief {
    margin-bottom: 14px;
}

.brief-headline {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.18;
    color: #1a1a1a;
    margin-bottom: 6px;
    transform: translateX(-2px);
}

.brief-body {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #2c2c2c;
}

.rule-faint {
    height: 1px;
    background: #8b8578;
    opacity: 0.5;
    margin: 12px 0;
}

/* ========== LEAD STORY ========== */
.lead-headline {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    line-height: 1.05;
    color: #1a1a1a;
    margin: 6px 0 8px;
    letter-spacing: -0.01em;
    /* Slight off-grid shift */
    transform: translateX(-3px);
}

.first-word {
    position: relative;
    display: inline-block;
}

.first-word.circled::after {
    content: "";
    position: absolute;
    inset: -8% -10%;
    border: 2px solid #c23616;
    border-radius: 50%;
    opacity: 0.6;
    animation: drawCircle 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    transform-origin: center;
}

@keyframes drawCircle {
    0%   { transform: scale(0.4) rotate(-30deg); opacity: 0; }
    60%  { transform: scale(1.05) rotate(2deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(-3deg); opacity: 0.6; }
}

.hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    margin: 14px 0;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-color: #4a3f2f;
    background-image:
        repeating-linear-gradient(
            115deg,
            rgba(26,26,26,0.55) 0px,
            rgba(26,26,26,0.55) 14px,
            rgba(74, 63, 47, 0.4) 14px,
            rgba(74, 63, 47, 0.4) 28px,
            rgba(196,163,90,0.20) 28px,
            rgba(196,163,90,0.20) 42px,
            rgba(26,26,26,0.55) 42px,
            rgba(26,26,26,0.55) 60px
        ),
        radial-gradient(circle at 30% 35%, rgba(245,240,230,0.22) 0%, transparent 35%),
        radial-gradient(circle at 75% 70%, rgba(26,26,26,0.6) 0%, transparent 50%);
    background-blend-mode: multiply, screen, normal;
}

.hero-halftone {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#f5f0e6 1px, transparent 1.4px);
    background-size: 4px 4px;
    background-position: 0 0;
    mix-blend-mode: screen;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.1s linear;
}

.hero-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 6px 10px;
    background: rgba(26,26,26,0.85);
    color: #f5f0e6;
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    border-top: 1px solid #c4a35a;
}

.lead-lede,
.lead-body {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.65;
    color: #2c2c2c;
    margin-bottom: 14px;
    /* two-column for the lead body where space allows */
    column-count: 2;
    column-gap: 18px;
    column-rule: 1px solid #8b8578;
}

@media (max-width: 1100px) {
    .lead-lede, .lead-body { column-count: 1; }
}

.lead-lede { font-weight: 400; }

.dropcap {
    float: left;
    font-family: "Playfair Display SC", "Playfair Display", Georgia, serif;
    font-weight: 900;
    font-size: 4.2em;
    line-height: 0.85;
    padding: 6px 8px 0 0;
    color: #c23616;
    column-span: all;
}
.dropcap.big {
    font-size: 5em;
    color: #1a1a1a;
}

.story-link {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: #c23616;
    text-transform: uppercase;
    border-top: 1px solid #1a1a1a;
    padding-top: 8px;
    margin-top: 10px;
}

/* ========== COL-5: feature cards + pull quote ========== */
.col-5 .feature-card,
.col-5 .pull-quote,
.col-5 .ornament-row {
    grid-column: 1 / -1;
}

.feature-card {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #8b8578;
    transition: transform 0.3s ease, border-bottom-color 0.3s ease;
    position: relative;
}

.feature-card::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 0;
    height: 1px;
    background: #c23616;
    transition: width 0.3s ease-out;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-card:hover::after {
    width: 100%;
}

.feature-headline {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.3vw, 1.7rem);
    line-height: 1.08;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}

.feature-body {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2c2c2c;
}

.ornament-row {
    text-align: center;
    color: #c4a35a;
    font-size: 1.4rem;
    letter-spacing: 0.5em;
    padding: 4px 0;
    margin: 6px 0;
}
.ornament-row.small { font-size: 1rem; letter-spacing: 0.4em; }

/* ========== PULL QUOTE ========== */
.pull-quote {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
    line-height: 1.3;
    color: #4a3f2f;
    border-left: 3px solid #c4a35a;
    padding: 12px 6px 12px 18px;
    margin: 16px 0;
    transform: rotate(-1.5deg);
    background: rgba(232, 220, 200, 0.4);
}

.pull-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #6b5b3e;
}

.pull-quote.in-card {
    transform: rotate(-2deg);
    margin: 14px -6px;
    background: #e8dcc8;
}

/* ========== HORIZONTAL FOLD LINE ========== */
.fold-line {
    position: relative;
    width: calc(100% + 60px);
    margin-left: -30px;
    height: 6px;
    margin-top: 56px;
    margin-bottom: 36px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(139, 119, 80, 0.30) 50%,
        transparent 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(0, 0, 0, 0.05),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

/* ========== SECTION BANNERS ========== */
.section-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    margin: 28px 0 22px;
    border-top: 2px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}

.section-banner.navy {
    background: #1b2838;
    border-top-color: #1b2838;
    border-bottom-color: #1b2838;
    padding: 18px 18px;
    color: #f5f0e6;
}

.ornament-left,
.ornament-right {
    font-size: 1.6rem;
    color: #c4a35a;
    transform: scale(0);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-banner.in-view .ornament-left,
.section-banner.in-view .ornament-right {
    transform: scale(1);
}

.section-rule {
    flex: 1;
    height: 1px;
    background: #1a1a1a;
    width: 0%;
    transition: width 0.5s ease-out;
}
.section-rule.navy {
    background: #c4a35a;
}
.section-banner.in-view .section-rule {
    width: 100%;
}

.section-name {
    font-family: "Playfair Display SC", "Playfair Display", Georgia, serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 0.12em;
    color: #1a1a1a;
    text-align: center;
    white-space: nowrap;
    min-width: 280px;
    /* typed text container */
}

.section-banner.navy .section-name {
    color: #f5f0e6;
}

/* ========== MASONRY (3-column below the fold) ========== */
.masonry {
    column-count: 3;
    column-gap: 24px;
    column-rule: 1px solid #8b8578;
}

@media (max-width: 980px) { .masonry { column-count: 2; } }
@media (max-width: 640px) { .masonry { column-count: 1; } }

.card {
    break-inside: avoid;
    margin-bottom: 24px;
    padding: 14px 14px 18px;
    background: rgba(232, 220, 200, 0.35);
    border-top: 2px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    display: inline-block;
    width: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
}

.card::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 0;
    height: 1px;
    background: #c23616;
    transition: width 0.35s ease-out;
}

.card:hover {
    transform: translateY(-2px);
    background: rgba(232, 220, 200, 0.6);
}

.card:hover::after { width: 100%; }

.card-tall  { padding-bottom: 28px; }
.card-wide  { background: #e8dcc8; }
.card-classified {
    background: #1a1a1a;
    color: #f5f0e6;
    border-top-color: #c4a35a;
    border-bottom-color: #c4a35a;
}
.card-classified .kicker {
    color: #c4a35a;
    border-bottom-color: #c4a35a;
}
.card-classified .classified-h {
    color: #f5f0e6;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.card-classified .classified-body {
    color: #c4a35a;
    font-size: 0.86rem;
    line-height: 1.5;
}
.card-classified .rule-faint { background: #c4a35a; opacity: 0.4; }

.card-headline {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.card-body {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.card-tag {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #c23616;
    text-transform: uppercase;
    margin-top: 8px;
    border-top: 1px solid #c23616;
    padding-top: 6px;
    display: inline-block;
}

/* ========== EDITORIAL WELL (long form, single column) ========== */
.editorial-well {
    max-width: 38rem;
    margin: 0 auto;
    padding: 18px 0 40px;
}

.long-headline {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.12;
    color: #1a1a1a;
    text-align: center;
    margin: 8px 0 12px;
    letter-spacing: -0.005em;
}

.long-body {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: justify;
    hyphens: auto;
}

.long-body em {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    color: #4a3f2f;
}

.long-pull {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.35;
    color: #4a3f2f;
    border-left: 3px solid #c4a35a;
    padding: 14px 0 14px 22px;
    margin: 28px -10% 28px 0;
    transform: rotate(-2deg);
    background: rgba(232, 220, 200, 0.5);
}

.long-divider {
    text-align: center;
    color: #c4a35a;
    letter-spacing: 0.6em;
    font-size: 1.2rem;
    margin: 36px 0;
}

.signoff {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    text-align: center;
    color: #6b5b3e;
    letter-spacing: 0.22em;
    font-size: 12px;
    margin-top: 16px;
    border-top: 1px solid #8b8578;
    padding-top: 14px;
}

/* ========== ARCHIVE GRID ========== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 12px 0 36px;
    border-top: 1px solid #1a1a1a;
    margin-top: 12px;
    padding-top: 24px;
}
@media (max-width: 880px) { .archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .archive-grid { grid-template-columns: 1fr; } }

.archive-card {
    border-left: 2px solid #5a7c65;
    padding: 6px 10px 10px 14px;
    background: rgba(90, 124, 101, 0.06);
}

.archive-date {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #5a7c65;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.archive-h {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.18;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.archive-body {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a3f2f;
}

/* ========== COLOPHON ========== */
.colophon {
    margin-top: 50px;
    padding-bottom: 30px;
}

.colophon-rule {
    height: 1px;
    background: #1a1a1a;
    margin: 12px 0;
}

.colophon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px 0;
}
@media (max-width: 880px) { .colophon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .colophon-grid { grid-template-columns: 1fr; } }

.colophon-block {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    color: #6b5b3e;
    letter-spacing: 0.16em;
    font-size: 12px;
    line-height: 1.85;
    text-transform: uppercase;
}

.colophon-h {
    font-family: "Playfair Display SC", "Playfair Display", Georgia, serif;
    font-weight: 900;
    color: #1a1a1a;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    border-bottom: 1px solid #c4a35a;
    padding-bottom: 4px;
}

.colophon-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    color: #6b5b3e;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 0;
    flex-wrap: wrap;
    gap: 8px;
}

/* ========== REVEAL ANIMATION (clip-path mask) ========== */
.reveal {
    position: relative;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: clip-path;
}

.reveal.in-view {
    clip-path: inset(0 0% 0 0);
}

/* slight off-grid jitter for masonry cards (deliberate broken-grid feel) */
.masonry .card:nth-child(odd)  { transform: translateY(-1px) rotate(-0.15deg); }
.masonry .card:nth-child(even) { transform: translateY(2px)  rotate(0.18deg); }
.masonry .card:hover { transform: translateY(-2px) rotate(0deg); }

/* ========== SMALL UTILITIES ========== */
::selection {
    background: #c23616;
    color: #f5f0e6;
}

/* Initial loading veil — page appears blank for ~600ms */
.paper {
    opacity: 0;
    transition: opacity 0.2s linear 0.6s;
}
.paper.loaded {
    opacity: 1;
}
