:root {
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ink: #1a1a1a; --ink-2: #333333; --ink-3: #555555; --ink-muted: #686868;
  --paper: #ffffff; --cream: #faf6ed; --cream-dark: #f0ead6; --warm-bg: #f8f5ee;
  --border: #e8e4d9; --border-light: #f0ece3;
  --accent: #c9963a; --accent-dark: #a87a2a; --accent-soft: #f5edda;
  --max-w: 1280px; --content-w: 760px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--warm-bg); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }

/* Shared header/nav/search/footer chrome — see chrome.css, linked in
   the <head> alongside this file. One page-specific override: extra
   space above the footer to match this page's own vertical rhythm. */
.site-footer { margin-top: 40px; }


.progress-bar { position: sticky; top: 39px; height: 3px; background: var(--border-light); z-index: 99; }
.progress-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.1s linear; }

.section-jump { background: rgba(250,246,237,0.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); position: sticky; top: 42px; z-index: 90; }
.section-jump-scroll { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; justify-content: center; -ms-overflow-style: none; scrollbar-width: none; }
.section-jump-scroll::-webkit-scrollbar { display: none; }
.section-jump-link { padding: 5px 12px; border-radius: 20px; font-size: 10.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.section-jump-link:hover { background: var(--cream-dark); }
.section-jump-link.active { background: var(--ink); color: var(--cream); }

/* Series header — distinct from a standard article header */
.series-header { max-width: var(--content-w); margin: 32px auto 0; padding: 0 24px; }
.series-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.series-vol { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); margin-bottom: 6px; }
.article-title { font-family: var(--serif); font-size: 2.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.article-subtitle { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 16px; line-height: 1.5; }
.three-market-strip { display: flex; gap: 10px; margin-bottom: 20px; }
.market-pill { font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px; color: var(--ink-3); }
.article-meta-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.author-block { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; color: var(--accent-dark); }
.author-name { font-size: 13px; font-weight: 700; display: block; }
.author-role { font-size: 11px; color: var(--ink-muted); }
.meta-right { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); text-align: right; }

/* No media tabs rendered — this article has no video/podcast metadata, universal fallback applies (Section 14) */
.fallback-note { max-width: var(--content-w); margin: 0 auto 20px; padding: 8px 24px; font-family: var(--mono); font-size: 10px; color: var(--ink-muted); background: var(--cream-dark); border-radius: 3px; }

/* Article cover — restored from article.css (Urgent Brief, Section 3
   Item 2). crosscurrents.css uses the identical .article-cover markup
   as article.css but never carried its own rule for it, so the cover
   image rendered at native size with no width cap or centering —
   overstretched and inconsistently positioned depending on the
   uploaded image's own dimensions. Not a redesign, a restoration. */
.article-cover { max-width: var(--content-w); margin: 0 auto 32px; padding: 0 24px; }
.article-cover img { width: 100%; height: auto; border-radius: 4px; display: block; }
.article-cover figcaption { font-size: 11px; color: var(--ink-muted); margin-top: 8px; text-align: center; font-style: italic; }

.article-layout { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: var(--content-w) 1fr; gap: 48px; align-items: start; }
.article-body { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.article-body h2 { font-family: var(--serif); font-size: 1.5rem; margin: 36px 0 14px; color: var(--ink); scroll-margin-top: 100px; }
.article-body p { margin-bottom: 16px; }
/* Bullet points (publisher, 10 Sep 2026): same gap as article.css —
   no rule existed for <ul>/<ol>/<li>, falling back to the browser's
   default ~40px indent, misaligned against paragraph text. */
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; line-height: 1.6; }
/* FIXED (publisher feedback, 13 Sep 2026) — same gap as article.css's
   identical rule: the sitewide `a { color: inherit; text-decoration:
   none; }` reset left in-body prose links unstyled, indistinguishable
   from plain text. Crosscurrents item bodies/executive summary share
   this same .article-body class. */
.article-body a { color: var(--accent-dark); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.article-body a:hover { text-decoration-color: var(--accent-dark); }

/* Crosscurrents item block — repeating structure, not fixed skeleton */
.cc-item { padding: 26px 0; border-top: 1px solid var(--border); scroll-margin-top: 100px; }
.cc-item:first-of-type { border-top: none; }
.cc-item-num { font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); margin-bottom: 6px; }
.cc-item h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; position: relative; }
.cc-item h3 .anchor-hash { opacity: 0; font-size: 0.75em; color: var(--accent-dark); margin-left: 6px; }
.cc-item h3:hover .anchor-hash { opacity: 1; cursor: pointer; }
.cc-item p { font-size: 16px; }

/* Verdict Chip — full in-article version (reused pattern from homepage) */
.verdict-chip { margin-top: 12px; padding: 12px 14px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 2px; cursor: pointer; position: relative; }
.verdict-chip-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-dark); }
.verdict-chip-text { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); line-height: 1.45; margin-top: 5px; filter: blur(6px); user-select: none; transition: filter 0.2s; }
.verdict-chip.revealed .verdict-chip-text { filter: blur(0); user-select: text; }
.verdict-chip:not(.revealed)::after { content: 'Tap to reveal verdict'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink-3); background: rgba(245,237,218,0.55); border-radius: 2px; }
.verdict-chip.revealed::after { display: none; }

.cluster-link { border-bottom: 1px dotted var(--accent-dark); color: var(--accent-dark); font-weight: 600; }

/* Key Takeaways card */
.uj-takeaways-card { background: var(--paper); border: 1px solid var(--border); border-radius: 4px; padding: 24px; margin: 32px 0; }
.uj-takeaways-card h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 14px; }
.uj-takeaways-card ol { list-style: none; counter-reset: takeaway; }
.uj-takeaways-card li { counter-increment: takeaway; display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border-light); font-size: 14px; line-height: 1.55; }
.uj-takeaways-card li:first-child { border-top: none; }
.uj-takeaways-card li::before { content: counter(takeaway); font-family: var(--serif); font-weight: 800; font-size: 1.05rem; color: var(--accent); flex-shrink: 0; }

/* REAL bleed bug (publisher, 10 Sep 2026 — "External References...
   have no bleeding on mobile", confirmed via computed bounding boxes:
   this wrapper measured x:0/width:390 at phone width while
   .article-body measured x:24/width:342 on the same page). Related
   Reading + External References were rendered as direct <body>
   siblings AFTER .article-layout closes (renderCrosscurrents.js),
   never inside any container with horizontal padding — every other
   section on this page (.series-header, .article-layout) has its own
   max-width+padding, these two just had none and ran edge-to-edge.
   Fixed by wrapping both in .related-external-wrap, matching
   .series-header's own max-width/padding treatment exactly. */
.related-external-wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }

/* Related Reading — 3-tier graph (this article needs more than pillar+sibling+stub) */
.related-graph { margin: 40px 0; }
.related-graph h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.related-tier-label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin: 18px 0 10px; }
.related-pillar { background: var(--paper); border: 2px solid var(--accent); border-radius: 4px; padding: 16px; margin-bottom: 10px; }
.related-pillar-label { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }
/* FIXED (publisher feedback, 13 Sep 2026 — "Related Reading... links
   still not hyperlinked visibly"): these two were explicitly
   `color: inherit; text-decoration: none` — indistinguishable from
   plain body text by design, the exact "text vs. hyperlink" complaint,
   worse here than the standard-article version (which at least had a
   color, just no underline). Same at-rest underline+color treatment as
   render/article.css's .related-card .story-title now applies here. */
.related-pillar .rtitle { font-family: var(--serif); font-size: 1.05rem; margin-top: 3px; display: block; color: var(--accent-dark); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.related-pillar .rtitle:hover { color: var(--ink); text-decoration-color: currentColor; }
.related-siblings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-card { display: block; background: var(--paper); border: 1px solid var(--border); border-radius: 4px; padding: 13px; font-size: 13px; }
/* .related-card is the <a> itself for real siblings/alsoConsider/
   primaryCluster links, but also wraps the non-clickable Forthcoming
   stub (a <div>, see .related-stub below) — scoped to the anchor tag
   specifically so the stub never picks up link styling it shouldn't. */
a.related-card { color: var(--accent-dark); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
a.related-card:hover { color: var(--ink); text-decoration-color: currentColor; }
.related-card .rank { font-family: var(--mono); font-size: 10px; color: var(--ink-muted); }
.related-stub { opacity: 0.55; border-style: dashed; }
.related-stub .rtitle { color: var(--ink-muted); }
.related-stub-label { font-size: 9.5px; font-family: var(--mono); color: var(--ink-muted); margin-top: 4px; }

.external-refs { margin: 32px 0; background: var(--cream-dark); border: 1px dashed var(--border); border-radius: 4px; padding: 18px; }
/* Ad slot base CSS now lives in chrome.css — shared, not per-page. */
.external-refs h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.external-refs p { font-size: 12.5px; color: var(--ink-muted); font-family: var(--mono); margin: 0; }
.external-refs ul { margin: 0; padding-left: 18px; }
.external-refs li { font-size: 13px; margin-bottom: 6px; }
/* Same "indistinguishable from plain text" issue flagged for Related
   Reading (Section 3 Item 3) — these are plain <a> tags with no class,
   so they only ever got the sitewide `a { color: inherit; text-decoration:
   none }` reset and nothing else. Confirmed the same pattern here while
   checking the plan's own "check other tiers" ask, not assumed. */
.external-refs li a { color: var(--accent-dark); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.external-refs li a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Answer Index right rail */
.answer-index { position: sticky; top: 100px; }
.answer-index-head { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.answer-item { display: block; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.answer-item:hover { color: var(--accent-dark); }
.answer-item::before { content: '?'; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 9.5px; font-weight: 800; margin-right: 7px; }
.answer-index-note { font-size: 10.5px; color: var(--ink-muted); margin-top: 12px; font-style: italic; }
.answer-index-body { display: block; }
.answer-index-arrow { display: none; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .answer-index { position: static; margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }
}

/* Phone width: same expandable dark-card + order-based repositioning
   as article.css — found missing during mobile parity check. */
@media (max-width: 640px) {
  .answer-index {
    order: -1;
    margin-top: 0;
    margin-bottom: 18px;
    padding: 0;
    border-top: none;
    background: var(--ink);
    color: var(--cream);
    border-radius: 4px;
    overflow: hidden;
  }
  .answer-index-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; margin: 0; border: none; color: var(--cream); font-size: 12.5px; cursor: pointer; }
  .answer-index-arrow { display: inline-block; transition: transform 0.2s; }
  .answer-index.open .answer-index-arrow { transform: rotate(180deg); }
  .answer-index-body { display: none; padding: 0 16px 14px; }
  .answer-index.open .answer-index-body { display: block; }
  .answer-item { color: var(--cream); border-bottom-color: #333; font-size: 12px; }
  .answer-item::before { background: var(--accent); color: var(--ink); }
  .answer-index-note { color: #999; }

  /* Related Reading's sibling grid (publisher, 10 Sep 2026 — "no
     bleeding on mobile"): hardcoded 2-column grid at every viewport,
     same gap as article.css. Collapsed to 1 column below 640px. */
  .related-siblings { grid-template-columns: 1fr; }
}



/* ══════════════════════════════════════════════════════════════
   MEDIA TABS — reused verbatim from article.css. The Crosscurrents
   mockup never needed to style these (its demo content had no video/
   podcast), but renderCrosscurrents.js DOES conditionally render them
   when youtubeUrl/podcastUrl is present. These are article.css's
   values, copied here rather than cross-linking the whole stylesheet
   (avoids pulling in Article-specific rules that don't apply to
   Crosscurrents' layout). If these ever need to diverge between the
   two templates, that's a real design decision to make explicitly,
   not something that should happen by accident of file structure.
   ══════════════════════════════════════════════════════════════ */
.media-tabs { max-width: var(--content-w); margin: 0 auto 24px; padding: 0 24px; }
.media-tab-row { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.media-tab { padding: 10px 18px; font-weight: 600; font-size: 13.5px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; }
.media-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.media-panel { display: none; padding-top: 16px; }
.media-panel.active { display: block; }
.watch-thumb { position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; background: var(--ink); }
.watch-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.watch-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.watch-play-btn { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--ink); }
.listen-embed { background: var(--cream-dark); border: 1px dashed var(--border); border-radius: 4px; height: 152px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }

/* ══════════════════════════════════════════════════════════════
   /crosscurrents ARCHIVE/LISTING TEMPLATE (renderCrosscurrentsArchive,
   10 Sep 2026) — its own dedicated page, distinct from a single
   edition's article page above. Hero Grid reuses Pattern B's visual
   (grid-b-lead/grid-b-row), Full Archive reuses Pattern C's ranked-
   list — same classes column.css/homepage.css already use for those
   patterns, kept in sync deliberately rather than diverging.
   ══════════════════════════════════════════════════════════════ */
.breadcrumb { padding: 14px 0; font-size: 11.5px; color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.empty-state { text-align: center; padding: 60px 24px; font-size: 14px; color: var(--ink-muted); }

.grid-b-lead { display: block; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 28px; color: inherit; text-decoration: none; }
.grid-b-lead img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.grid-b-lead .l-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }
.grid-b-lead .l-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; line-height: 1.18; margin: 8px 0; }
.grid-b-lead .l-dek { font-size: 14.5px; color: var(--ink-3); margin-bottom: 8px; max-width: 640px; }
.grid-b-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.grid-b-row > a { display: block; color: inherit; text-decoration: none; min-width: 0; }
.grid-b-row img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.grid-b-row .b-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.grid-b-row .b-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); }

.archive-section { padding-bottom: 20px; }
.archive-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.archive-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 800; }
.archive-sub { font-size: 11.5px; color: var(--ink-muted); }
.ranked-list { display: flex; flex-direction: column; }
.ranked-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-light); color: inherit; text-decoration: none; }
.ranked-item:last-child { border-bottom: none; }
.ranked-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; color: var(--border); width: 34px; flex-shrink: 0; }
.ranked-thumb { width: 96px; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; flex-shrink: 0; background: var(--cream-dark); }
.ranked-body { flex: 1; }
.r-title { font-family: var(--serif); font-size: 0.96rem; font-weight: 700; line-height: 1.3; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.r-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 30px 0 50px; }
.page-link { min-width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 4px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding: 0 8px; }
.page-link:hover { border-color: var(--ink-muted); }
.page-link.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.page-link.disabled { opacity: 0.35; pointer-events: none; }
.pagination-note { text-align: center; font-family: var(--mono); font-size: 9.5px; color: var(--ink-muted); margin-top: -20px; margin-bottom: 30px; }

@media (max-width: 720px) {
  .grid-b-row { grid-template-columns: 1fr; gap: 16px; }
  .pagination { flex-wrap: wrap; }
}
