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

  /* ================================================================
     SOUTHERN QUARTERLY — sq-styles.css
     ================================================================
     TOKEN SYSTEM

     All colour is expressed through CSS custom properties on :root.
     Dark mode overrides every token on [data-theme="dark"].
     Nothing else in the stylesheet references raw hex values —
     only var(--token), so the theme switch is one block.

     --ink          Primary text + UI chrome
     --ink-light    Secondary text, pull quotes, captions
     --paper        Page background
     --paper-dark   Inset panels, photo placeholders, editor's note
     --rule         All dividing lines
     --accent       Kickers, highlights, classified footers
     --muted        Bylines, metadata, footnotes
     --redact       Obfuscated text fill
     --shadow-rgb   Box-shadow colour as R,G,B for rgba() use

     SPACING
     --gutter        2.5rem  (40px) — standard horizontal padding
     --gutter-sm     1.25rem (20px) — mobile horizontal padding
  ================================================================ */

  /* ── Light mode (default) ─────────────────────────────────────── */
  :root {
    --ink:        #1a1208;
    --ink-light:  #3a2e1a;
    --paper:      #f4f0e8;
    --paper-dark: #e8e2d4;
    --rule:       #2a1f0e;
    --accent:     #8b1a1a;
    --muted:      #6b5e48;
    --redact:     #111111;
    --shadow-rgb: 42, 31, 14;
    --gutter:     2.5rem;
    --gutter-sm:  1.25rem;
  }

  /* ── Dark mode ────────────────────────────────────────────────── */
  [data-theme="dark"] {
    --ink:        #e8e0d0;
    --ink-light:  #b8aa94;
    --paper:      #161209;
    --paper-dark: #1e1810;
    --rule:       #3a3020;
    --accent:     #c0392b;
    --muted:      #7a6e58;
    --redact:     #0a0806;
    --shadow-rgb: 0, 0, 0;
  }

  /* Smooth transition when toggling — applied to the elements that
     carry background/color directly. Keep to 200ms so it feels snappy
     rather than slow. Don't transition images or SVGs. */
  body,
  .page,
  .masthead,
  .section-label,
  .sq-quote,
  .editors-note,
  .weather-section,
  .weather-stat,
  .weather-grid,
  .sq-nav-btn,
  .sq-theme-btn {
    transition:
      background-color 0.2s ease,
      color            0.2s ease,
      border-color     0.2s ease,
      box-shadow       0.2s ease;
  }

  /* ── Base ─────────────────────────────────────────────────────── */

  body {
    background: var(--paper-dark);
    font-family: 'Source Serif 4', Georgia, serif;
    color: var(--ink);
    min-height: 100vh;
  }

  /* Full-page noise texture — very subtle, adds print grain */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

  /* ── Page container ───────────────────────────────────────────── */

  .page {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: var(--paper);
    box-shadow:
      0 0 0 1px rgba(var(--shadow-rgb), 0.12),
      0 2px 4px rgba(var(--shadow-rgb), 0.08),
      0 8px 24px rgba(var(--shadow-rgb), 0.10),
      0 32px 80px rgba(var(--shadow-rgb), 0.08);
    padding: 0 0 5rem;
  }



  /* ── Masthead ─────────────────────────────────────────────────── */

  .masthead {
    padding: 1.5rem var(--gutter) 1rem;
    text-align: center;
    /* Faint top border accent — thin line before the edition info */
    border-top: 2px solid var(--ink);
    border-bottom: 3px double var(--rule);
  }

  .masthead-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Source Serif 4', serif;
  }

  .publication-name {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    color: var(--ink);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
  }

  .masthead-tagline {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
  }

  .edition-bar {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--rule);
    padding-top: 0.5rem;
    font-family: 'Source Serif 4', serif;
  }

  /* ── Section labels & dividers ────────────────────────────────── */

  /* Major section label — full black bar */
  .section-label {
    background: var(--ink);
    color: var(--paper);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 5px var(--gutter);
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    /* Hairline inner rule below the bar */
    border-bottom: 1px solid rgba(244,240,232,0.1);
  }

  .section-divider {
    margin-top: 3rem;
  }

  /* The heavy rule used as a section opener */
  .rule-heavy {
    border: none;
    /* Triple rule effect: a thick bar with hairlines either side */
    border-top: 1px solid var(--rule);
    box-shadow:
      0 2px 0 var(--rule),
      0 4px 0 var(--rule),
      0 5px 0 var(--rule);
    margin: 0 var(--gutter);
    height: 0;
  }

  /* ── Footer ───────────────────────────────────────────────────── */

  .footer-rule {
    /* Double-rule close, matching the masthead bottom */
    border-top: 3px double var(--rule);
    margin: 3rem var(--gutter) 0;
    padding-top: 0.75rem;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    font-family: 'Source Serif 4', serif;
    /* Ornamental close: the SQ monogram between two rules */
    position: relative;
  }

  .footer-rule::before {
    content: '✦  S·Q  ✦';
    display: block;
    font-family: 'Source Serif 4', serif;
    font-size: 9px;
    letter-spacing: 0.35em;
    color: var(--muted);
    opacity: 0.5;
    margin-bottom: 0.5rem;
  }

  /* ── Main article ─────────────────────────────────────────────── */

  .article-wrap {
    padding: 2rem var(--gutter) 0;
  }

  .article-kicker {
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Source Serif 4', serif;
    /* A thin left accent rule */
    border-left: 2px solid var(--accent);
    padding-left: 0.5rem;
  }

  .article-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 0.6rem;
    /* Triple rule under the headline — echoes the section divider */
    border-bottom: 1px solid var(--rule);
    box-shadow: inset 0 -3px 0 var(--rule), inset 0 -5px 0 var(--paper), inset 0 -6px 0 var(--rule);
    padding-bottom: 0.75rem;
  }

  .article-deck {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--ink-light);
    line-height: 1.55;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .byline-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    border-bottom: 3px double var(--rule);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Source Serif 4', serif;
  }

  .byline-row strong { color: var(--ink); font-weight: 600; }

  /* ── Three-column body text ───────────────────────────────────── */

  .columns {
    column-count: 3;
    column-gap: 2rem;
    column-rule: 1px solid var(--rule);
    padding-bottom: 2rem;
  }

  .columns p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 0.875rem;
    text-align: justify;
    hyphens: auto;
    color: var(--ink);
    font-weight: 300;
  }

  /* Drop cap — unified size across all uses */
  .columns p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    float: left;
    line-height: 0.78;
    margin-right: 6px;
    margin-top: 6px;
    color: var(--ink);
  }

  /* Pull quote — uses thick rules to break the column flow */
  .pull-quote {
    break-inside: avoid;
    border-top: 2px solid var(--rule);
    border-bottom: 2px solid var(--rule);
    padding: 0.75rem 0.25rem;
    margin: 0.75rem 0 1rem;
  }

  .pull-quote p {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin: 0 !important;
    color: var(--ink-light) !important;
  }

  .pull-quote p::before { content: '\201C'; font-size: 1.6rem; line-height: 0; vertical-align: -0.4rem; opacity: 0.35; margin-right: 3px; }
  .pull-quote p::after  { content: '\201D'; font-size: 1.6rem; line-height: 0; vertical-align: -0.4rem; opacity: 0.35; margin-left: 3px; }

  @media (max-width: 640px) {
    .columns { column-count: 1; }
    .page { padding-bottom: 3rem; }
    .article-wrap { padding: 1.5rem var(--gutter-sm) 0; }
    .masthead { padding: 1rem var(--gutter-sm) 0.75rem; }
    .section-label { padding: 5px var(--gutter-sm); }
  }

  /* ── Chronicle section ────────────────────────────────────────── */

  /* Lead story: two-column grid, header spanning both */
  .lead-story {
    padding: 1.5rem var(--gutter) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0 2rem;
  }

  .lead-story .lead-header {
    grid-column: 1 / -1;
    border-bottom: 2px solid var(--rule);
    padding-bottom: 0.6rem;
    margin-bottom: 0.75rem;
  }

  .lead-story .lead-kicker {
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-family: 'Source Serif 4', serif;
    border-left: 2px solid var(--accent);
    padding-left: 0.5rem;
  }

  .lead-story .lead-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 0.4rem;
  }

  .lead-story .lead-deck {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.5;
  }

  .lead-story .lead-byline {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 0.4rem;
    font-family: 'Source Serif 4', serif;
  }

  .lead-story .lead-byline strong { color: var(--ink); font-weight: 600; }

  .lead-story .lead-body {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--ink);
    font-weight: 300;
    text-align: justify;
    hyphens: auto;
  }

  .lead-story .lead-body p { margin-bottom: 0.875rem; }

  .lead-story .lead-body p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    float: left;
    line-height: 0.78;
    margin-right: 6px;
    margin-top: 6px;
    color: var(--ink);
  }

  .lead-story .lead-figure {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* News photo block */
  .news-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--paper-dark);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }

  .news-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.35) contrast(1.05) brightness(0.97);
    display: block;
  }

  .news-photo-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
      45deg,
      var(--paper-dark) 0px,
      var(--paper-dark) 4px,
      var(--paper) 4px,
      var(--paper) 8px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Source Serif 4', serif;
  }

  .photo-caption {
    font-size: 10px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
    margin-top: 0.4rem;
    font-family: 'Source Serif 4', serif;
    border-left: 2px solid var(--rule);
    padding-left: 0.5rem;
  }

  .photo-caption strong {
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-light);
    font-size: 9px;
  }

  /* ── Briefs strip ─────────────────────────────────────────────── */

  .briefs-wrap {
    padding: 1.5rem var(--gutter) 0;
  }

  .briefs-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.35rem;
    margin-bottom: 1rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    /* Accent dot before label — a tiny editorial ornament */
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .briefs-label::before {
    content: '◆';
    font-size: 6px;
    color: var(--accent);
    flex-shrink: 0;
  }

  .briefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2rem;
  }

  .brief-item {
    border-right: 1px solid var(--rule);
    padding-right: 2rem;
    padding-bottom: 0.5rem;
    /* Subtle rule at top of each brief to anchor it */
    border-top: 2px solid var(--rule);
    padding-top: 0.75rem;
  }

  .brief-item:last-child { border-right: none; padding-right: 0; }

  .brief-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 0.35rem;
  }

  .brief-item .brief-date {
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.4rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
  }

  .brief-item p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--ink);
    font-weight: 300;
    text-align: justify;
    hyphens: auto;
  }

  /* ── Editor's note ────────────────────────────────────────────── */

  .editors-note {
    margin: 2rem var(--gutter) 0;
    /* Stepped border treatment: thicker on top, hairline on bottom */
    border-top: 2px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 1.25rem 1.5rem;
    background: var(--paper-dark);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.5rem;
    align-items: start;
    /* Right-side accent: faint diagonal stripe */
    position: relative;
    overflow: hidden;
  }

  /* Watermark-style decorative corner mark */
  .editors-note::after {
    content: '§';
    position: absolute;
    bottom: -0.5rem;
    right: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--rule);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    user-select: none;
  }

  .editors-note-label {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-family: 'Source Serif 4', serif;
    color: var(--muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-right: 1px solid var(--rule);
    padding-right: 0.75rem;
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  .editors-note-body p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--ink-light);
    margin-bottom: 0.6rem;
  }

  .editors-note-body p:last-child { margin-bottom: 0; }

  .editors-note-body .note-sig {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'Source Serif 4', serif;
  }

  /* ── Classifieds ──────────────────────────────────────────────── */

  .classifieds-wrap {
    padding: 1.5rem var(--gutter) 0;
  }

  .classifieds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }

  .classified-item {
    border: 1px solid var(--rule);
    padding: 0.875rem;
    /* Hatched top-right corner ornament — a nod to real classifieds */
    position: relative;
    overflow: hidden;
  }

  .classified-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: repeating-linear-gradient(
      -45deg,
      var(--paper-dark) 0px,
      var(--paper-dark) 2px,
      var(--rule)       2px,
      var(--rule)       3px
    );
    opacity: 0.4;
  }

  .classified-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--paper-dark);
    padding-bottom: 0.35rem;
    margin-bottom: 0.45rem;
    color: var(--ink);
  }

  .classified-item p {
    font-size: 0.78rem;
    line-height: 1.65;
    color: var(--ink-light);
    font-weight: 300;
    font-family: 'Source Serif 4', serif;
  }

  .classified-item .classified-footer {
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.4rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
  }

  @media (max-width: 640px) {
    .lead-story { grid-template-columns: 1fr; }
    .lead-story .lead-header { grid-column: 1; }
    .briefs-grid { grid-template-columns: 1fr; }
    .brief-item {
      border-right: none; padding-right: 0;
      border-bottom: 1px solid var(--paper-dark);
      padding-bottom: 1rem; margin-bottom: 0.5rem;
    }
    .classifieds-grid { grid-template-columns: 1fr; }
    .editors-note { grid-template-columns: 1fr; }
    .editors-note-label {
      writing-mode: horizontal-tb; transform: none;
      border-right: none; border-bottom: 1px solid var(--rule);
      padding-right: 0; padding-bottom: 0.5rem; margin-bottom: 0.5rem;
    }
    .rule-heavy { margin: 0 var(--gutter-sm); }
    .lead-story, .briefs-wrap, .classifieds-wrap { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
    .editors-note { margin-left: var(--gutter-sm); margin-right: var(--gutter-sm); }
  }

  /* ── Span article layouts ─────────────────────────────────────── */

  .span-article {
    padding: 1.5rem var(--gutter) 0;
  }

  .span-article__header {
    border-bottom: 2px solid var(--rule);
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
  }

  .span-article__kicker {
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-family: 'Source Serif 4', serif;
    border-left: 2px solid var(--accent);
    padding-left: 0.5rem;
  }

  .span-article__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 0.35rem;
  }

  .span-article--2col .span-article__headline { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
  .span-article--3col .span-article__headline { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

  .span-article__deck {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.92rem;
    color: var(--ink-light);
    line-height: 1.55;
    margin-bottom: 0.35rem;
  }

  .span-article__byline {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    font-family: 'Source Serif 4', serif;
  }

  .span-article__byline strong { color: var(--ink); font-weight: 600; }

  /* 2-col: photo left, text right */
  .span-article--2col .span-article__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    align-items: start;
  }

  .span-article--2col .span-article__text {
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
  }

  /* 3-col: full-width photo above, 3-column text below */
  .span-article--3col .span-article__figure { width: 100%; margin-bottom: 1rem; }

  .span-article--3col .span-article__text {
    column-count: 3;
    column-gap: 2rem;
    column-rule: 1px solid var(--rule);
  }

  .span-article__text p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--ink);
    font-weight: 300;
    text-align: justify;
    hyphens: auto;
    margin-bottom: 0.875rem;
  }

  .span-article__text p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    float: left;
    line-height: 0.78;
    margin-right: 6px;
    margin-top: 6px;
    color: var(--ink);
  }

  .span-article__photo {
    width: 100%;
    background: var(--paper-dark);
    border: 1px solid var(--rule);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/2;
  }

  .span-article--3col .span-article__photo { aspect-ratio: 16/7; }

  .span-article__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.35) contrast(1.05) brightness(0.97);
    display: block;
  }

  .span-article__photo-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
      45deg,
      var(--paper-dark) 0px,
      var(--paper-dark) 4px,
      var(--paper) 4px,
      var(--paper) 8px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Source Serif 4', serif;
    position: absolute;
    inset: 0;
  }

  .span-article__caption {
    font-size: 10px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
    margin-top: 0.4rem;
    font-family: 'Source Serif 4', serif;
    border-left: 2px solid var(--rule);
    padding-left: 0.5rem;
  }

  .span-article__caption strong {
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-light);
    font-size: 9px;
  }

  @media (max-width: 640px) {
    .span-article { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
    .span-article--2col .span-article__body { grid-template-columns: 1fr; }
    .span-article--2col .span-article__text {
      border-left: none; padding-left: 0;
      border-top: 1px solid var(--rule);
      padding-top: 1rem; margin-top: 0.5rem;
    }
    .span-article--3col .span-article__text { column-count: 1; }
    .span-article--3col .span-article__photo { aspect-ratio: 4/3; }
  }

  /* ── Markets section ──────────────────────────────────────────── */

  .markets-section {
    padding: 0 var(--gutter);
    margin-top: 2.5rem;
  }

  .markets-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    margin-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
  }

  .markets-intro p {
    font-size: 0.86rem;
    line-height: 1.8;
    color: var(--ink);
    font-weight: 300;
    text-align: justify;
    hyphens: auto;
  }

  .markets-intro p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    float: left;
    line-height: 0.78;
    margin-right: 5px;
    margin-top: 6px;
    color: var(--ink);
  }

  .markets-intro p + p {
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
  }

  .charts-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0 2rem;
    margin-top: 1.25rem;
    align-items: start;
  }

  .chart-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .chart-block + .chart-block {
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
  }

  .chart-label {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'Source Serif 4', serif;
    border-bottom: 1px solid var(--paper-dark);
    padding-bottom: 0.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .chart-label::before {
    content: '◆';
    font-size: 5px;
    color: var(--accent);
    flex-shrink: 0;
  }

  .chart-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
  }

  .chart-subtitle {
    font-size: 10px;
    color: var(--muted);
    font-style: italic;
    font-family: 'Source Serif 4', serif;
    line-height: 1.4;
  }

  .chart-svg-wrap {
    width: 100%;
    overflow: visible;
  }

  .chart-svg-wrap svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
  }

  /* Ticker strip */
  .ticker-strip {
    margin-top: 1.25rem;
    border-top: 2px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 0.4rem 0;
    overflow: hidden;
    position: relative;
  }

  .ticker-inner {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: ticker-scroll 22s linear infinite;
    padding-right: 2.5rem;
  }

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

  .ticker-item {
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: 'Source Serif 4', serif;
    color: var(--ink-light);
    flex-shrink: 0;
  }

  .ticker-item .t-sym  { font-weight: 600; color: var(--ink); margin-right: 4px; }
  .ticker-item .t-up   { color: #2a7a2a; }
  .ticker-item .t-down { color: var(--accent); }

  [data-theme="dark"] .ticker-item .t-up { color: #4caf50; }

  .markets-footnote {
    font-size: 9px;
    color: var(--muted);
    font-style: italic;
    font-family: 'Source Serif 4', serif;
    margin-top: 0.75rem;
    text-align: right;
    line-height: 1.5;
  }

  @media (max-width: 640px) {
    .markets-section { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
    .markets-intro { grid-template-columns: 1fr; }
    .markets-intro p + p { border-left: none; padding-left: 0; border-top: 1px solid var(--paper-dark); padding-top: 0.75rem; margin-top: 0.25rem; }
    .charts-row { grid-template-columns: 1fr; }
    .chart-block + .chart-block { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.25rem; margin-top: 1rem; }
  }

  /* ── Obfuscated / redacted text ───────────────────────────────── */

  .obfuscated {
    display: inline-block;
    background: var(--redact);
    color: transparent;
    border-radius: 1px;
    cursor: default;
    user-select: none;
    position: relative;
    letter-spacing: 0.05em;
    transition: background 0.15s;
    font-size: inherit;
    line-height: inherit;
    vertical-align: baseline;
    padding: 0 2px;
  }

  .obfuscated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 3px
    );
  }

  /* ── Weather / Field Conditions ───────────────────────────────── */

  .weather-section {
    padding: 0;
    margin-top: 0;
  }

  .weather-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--paper-dark);
    overflow: hidden;
  }

  .weather-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: sepia(0.25) contrast(1.05) brightness(0.95);
  }

  .weather-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.5rem 1.5rem 0.875rem;
    background: linear-gradient(to top, rgba(26,18,8,0.78) 0%, transparent 100%);
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244,240,232,0.9);
  }

  .weather-header {
    padding: 1.25rem var(--gutter) 1rem;
    /* border-bottom: 1px solid var(--rule); */
  }

  .weather-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    margin: 0 var(--gutter);
  }

  .weather-stat {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.25rem;
  }

  /* Accent bar at top of each stat cell */
  .weather-stat:nth-child(1),
  .weather-stat:nth-child(2),
  .weather-stat:nth-child(3) {
    border-top: 2px solid var(--ink);
  }

  .weather-stat__label {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'Source Serif 4', serif;
    margin-bottom: 0.4rem;
    font-weight: 600;
  }

  .weather-stat__value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .weather-stat__value--text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    padding-top: 0.2rem;
  }

  .weather-stat__unit {
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'Source Serif 4', serif;
  }

  .weather-editorial {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.75;
    /* border-top: 1px solid var(--rule); */
    padding: 0.875rem var(--gutter) 0;
    text-align: justify;
    hyphens: auto;
  }

  .weather-loading,
  .weather-error {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 0.875rem;
    color: var(--muted);
    padding: 1.5rem var(--gutter);
    letter-spacing: 0.04em;
  }

  @media (max-width: 640px) {
    .weather-photo-wrap { aspect-ratio: 4 / 3; }
    .weather-header { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
    .weather-grid { grid-template-columns: repeat(2, 1fr); margin: 0 var(--gutter-sm); }
    .weather-editorial { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
    .weather-loading, .weather-error { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
  }

  /* ── Section navigation arrows ────────────────────────────────── */

  .sq-section-nav {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
  }

  .sq-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--ink);
    cursor: pointer;
    border-radius: 0;
    box-shadow: 2px 2px 0 var(--rule);
    transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
  }

  .sq-nav-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
  }

  .sq-nav-btn:hover:not(:disabled) {
    background: var(--ink);
    color: var(--paper);
  }

  .sq-nav-btn:active:not(:disabled) {
    box-shadow: none;
    transform: translate(2px, 2px);
  }

  .sq-nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
    box-shadow: none;
  }

  @media (max-width: 768px) {
    .sq-section-nav { right: 0.75rem; bottom: 1rem; }
    .sq-nav-btn { width: 64px; height: 64px; }
    .sq-nav-btn svg { width: 24px; height: 24px; }
  }

  /* ── Theme toggle button ──────────────────────────────────────── */
  /* Placed top-left, fixed — opposite corner from the nav arrows   */

  .sq-theme-btn {
    position: fixed;
    left: 1.25rem;
    top: 1.25rem;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--ink);
    cursor: pointer;
    border-radius: 0;
    box-shadow: 2px 2px 0 var(--rule);
    /* Inherits the 0.2s transition from the shared transition block */
  }

  .sq-theme-btn svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
  }

  .sq-theme-btn:hover {
    background: var(--ink);
    color: var(--paper);
  }

  .sq-theme-btn:active {
    box-shadow: none;
    transform: translate(2px, 2px);
  }

  /* Slightly larger on mobile — same thumb-target philosophy as nav */
  @media (max-width: 768px) {
    .sq-theme-btn {
      left: 0.75rem;
      top: 0.75rem;
      width: 52px;
      height: 52px;
    }
    .sq-theme-btn svg { width: 20px; height: 20px; }
  }

  /* ── Quote plaque ─────────────────────────────────────────────── */

  .sq-quote {
    background: var(--ink);
    color: var(--paper);
    width: 100%;
    padding: 0;
  }

  .sq-quote__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 5rem var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sq-quote__rule {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(244,240,232,0.18);
    box-shadow: 0 2px 0 rgba(244,240,232,0.06);
  }

  .sq-quote__rule--top  { margin-bottom: 2.5rem; }
  .sq-quote__rule--bottom { margin-top: 2.5rem; }

  .sq-quote__ornament {
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: rgba(244,240,232,0.3);
    margin-bottom: 1.75rem;
    padding-left: 0.5em;
  }

  .sq-quote__ornament--bottom {
    margin-bottom: 0;
    margin-top: 1.75rem;
  }

  .sq-quote__text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.55rem, 4vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.45;
    color: var(--paper);
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0;
    text-shadow:
      0 1px 0 rgba(0,0,0,0.6),
      0 -1px 0 rgba(255,255,255,0.04);
  }

  .sq-quote__attribution {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 2rem;
    font-family: 'Source Serif 4', serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244,240,232,0.45);
  }

  .sq-quote__dash {
    font-family: 'Playfair Display', serif;
    color: rgba(244,240,232,0.25);
  }

  .sq-quote__author {
    color: rgba(244,240,232,0.65);
    font-weight: 600;
  }

  .sq-quote__source::before {
    content: "·";
    margin: 0 0.4em;
    color: rgba(244,240,232,0.2);
  }

  @media (max-width: 640px) {
    .sq-quote__inner { padding: 3.5rem var(--gutter-sm); }
    .sq-quote__text  { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  }

  /* ================================================================
     EDITION INDEX — sq-index, sq-card
     ================================================================
     Used on index.html to display links to all pages.

     .sq-index          Wrapper with consistent gutter padding.
     .sq-card--lead     Full-width hero card for the main edition.
     .sq-card-row       Flex row holding two .sq-card--secondary.
     .sq-card--secondary  Half-width card for supporting editions.

     Cards are <a> elements — the whole card is clickable.
     Photo placeholders use the same hatch pattern as other
     photo placeholders in the system.
     ================================================================ */

  .sq-index {
    padding: 2rem var(--gutter) 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Shared card base */
  .sq-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--rule);
    transition: box-shadow 0.15s, transform 0.15s;
    position: relative;
    background: var(--paper);
    /* Subtle press-in on hover — like lifting a newspaper page */
  }

  .sq-card:hover {
    box-shadow: 4px 4px 0 var(--rule);
    transform: translate(-2px, -2px);
  }

  .sq-card:active {
    box-shadow: none;
    transform: translate(0, 0);
  }

  /* ── Lead card — full width ───────────────────────────────── */

  .sq-card--lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: none; /* row below provides the bottom rule */
  }

  .sq-card--lead .sq-card__photo-wrap {
    aspect-ratio: 4 / 3;
    border-right: 1px solid var(--rule);
    overflow: hidden;
  }

  /* ── Secondary cards row ──────────────────────────────────── */

  .sq-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
  }

  .sq-card--secondary {
    border: none;
    border-right: 1px solid var(--rule);
  }

  .sq-card--secondary:last-child {
    border-right: none;
  }

  .sq-card__photo-wrap--short {
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
  }

  /* ── Shared photo / placeholder styles ───────────────────── */

  .sq-card__photo-wrap {
    overflow: hidden;
    background: var(--paper-dark);
    position: relative;
  }

  .sq-card__photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(0.3) contrast(1.05) brightness(0.95);
    transition: filter 0.2s;
  }

  .sq-card:hover .sq-card__photo-wrap img {
    filter: sepia(0.1) contrast(1.05) brightness(1);
  }

  .sq-card__photo-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      45deg,
      var(--paper-dark) 0px,
      var(--paper-dark) 4px,
      var(--paper) 4px,
      var(--paper) 8px
    );
  }

  /* ── Card body text ───────────────────────────────────────── */

  .sq-card__body {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  /* Lead card body gets more breathing room */
  .sq-card--lead .sq-card__body {
    padding: 1.75rem 1.75rem 1.25rem;
    justify-content: center;
  }

  .sq-card__kicker {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    border-left: 2px solid var(--accent);
    padding-left: 0.5rem;
    line-height: 1.4;
  }

  .sq-card__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    line-height: 1.15;
    color: var(--ink);
    margin-top: 0.15rem;
  }

  .sq-card--lead    .sq-card__headline { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
  .sq-card--secondary .sq-card__headline { font-size: clamp(0.95rem, 1.8vw, 1.15rem); }

  .sq-card__deck {
    font-family: 'Source Serif 4', serif;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--ink-light);
    font-weight: 300;
    font-style: italic;
  }

  .sq-card--lead .sq-card__deck {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
  }

  .sq-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.5rem;
    border-top: 1px solid var(--paper-dark);
    padding-top: 0.5rem;
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'Source Serif 4', serif;
  }

  .sq-card__read {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: letter-spacing 0.15s;
  }

  .sq-card:hover .sq-card__read {
    letter-spacing: 0.16em;
  }

  @media (max-width: 640px) {
    .sq-index { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
    .sq-card--lead { grid-template-columns: 1fr; }
    .sq-card--lead .sq-card__photo-wrap {
      aspect-ratio: 16 / 9;
      border-right: none;
      border-bottom: 1px solid var(--rule);
    }
    .sq-card-row { grid-template-columns: 1fr; }
    .sq-card--secondary { border-right: none; border-top: 1px solid var(--rule); }
    .sq-card--secondary:first-child { border-top: none; }
  }
