/* ============================================
   TARIFF LITIGATION CLAIMS — Editorial Stylesheet
   Tone: Wall Street Journal / FT / legal-financial press
   ============================================ */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --body: #2b2b2b;
  --muted: #6b6b6b;
  --rule: #d9d3c7;
  --rule-strong: #9a9488;
  --paper: #f6f1e7;
  --paper-warm: #efe8d8;
  --card: #ffffff;
  --accent: #7a1616;        /* deep oxblood — legal/financial serious */
  --accent-dark: #5a0f0f;
  --navy: #1c2a44;
  --gold: #9a7a2e;
  --success: #2d5a3f;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

/* ===== TYPE SCALE ===== */
h1, h2, h3, h4, .display {
  font-family: 'Playfair Display', 'Libre Caslon Text', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2.2rem; margin-bottom: .8rem; }
h3 { font-size: 1.3rem; margin-top: 1.6rem; margin-bottom: .5rem; }

.eyebrow, .kicker {
  font-family: 'Inter Tight', 'Helvetica Neue', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.byline, .dateline {
  font-family: 'Inter Tight', 'Helvetica Neue', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.dateline { text-transform: uppercase; font-weight: 600; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== MASTHEAD ===== */
.masthead {
  background: var(--paper);
  border-bottom: 3px double var(--ink);
  padding: 10px 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(246, 241, 231, 0.96);
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.masthead-top .date { font-weight: 600; color: var(--ink-soft); }

.masthead-main {
  text-align: center;
  padding: 18px 0 10px;
}

.logotype {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-block;
}

.logotype .dot { color: var(--accent); }

.tagline {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

nav.primary {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin-top: 12px;
}

nav.primary ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 28px;
  list-style: none;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav.primary a {
  color: var(--ink-soft);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
nav.primary a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

nav.primary a.cta-nav {
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 2px;
  border-bottom: none;
}
nav.primary a.cta-nav:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* ===== TICKER / BREAKING BAR ===== */
.breaking-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 8px 0;
  overflow: hidden;
}
.breaking-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breaking-bar .badge {
  background: var(--accent);
  color: #fff;
  padding: 3px 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-shrink: 0;
  font-size: 0.7rem;
}
.breaking-bar .msg { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breaking-bar a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent); }

/* ===== HERO / FRONT PAGE ===== */
.front-page {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .front-page { grid-template-columns: 1fr; gap: 28px; }
}

.lead-story {
  border-right: 1px solid var(--rule);
  padding-right: 40px;
}
@media (max-width: 900px) {
  .lead-story { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 28px; }
}

.lead-story .eyebrow { margin-bottom: 12px; display: block; }
.lead-story h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}
.lead-story .deck {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-bottom: 18px;
  max-width: 62ch;
}
.lead-story .byline { margin-bottom: 24px; }

.lead-story .lead-body p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.lead-story .lead-body p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.4rem;
  float: left;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--accent);
  font-weight: 900;
}

.sidebar-front {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-front .side-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.sidebar-front .side-item:last-child { border-bottom: none; }

.sidebar-front .side-item .kicker { font-size: 0.68rem; margin-bottom: 6px; display: block; }
.sidebar-front .side-item h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 6px;
  line-height: 1.2;
}
.sidebar-front .side-item h3 a { color: var(--ink); }
.sidebar-front .side-item h3 a:hover { color: var(--accent); text-decoration: none; }
.sidebar-front .side-item p { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* ===== ARTICLE INDEX (row cards) ===== */
.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 22px;
}
.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 0;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-strong);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 820px) { .article-grid { grid-template-columns: 1fr; gap: 24px; } }

.article-card {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
  border-right: 1px solid var(--rule);
}
.article-card:last-child { border-right: none; padding-right: 0; }
@media (max-width: 820px) {
  .article-card { border-right: none; padding-right: 0; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
  .article-card:last-child { border-bottom: none; }
}

.article-card .kicker { margin-bottom: 8px; }
.article-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 10px;
}
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--accent); text-decoration: none; }
.article-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.article-card .byline { margin-top: auto; }

/* ===== CTA BOX ===== */
.cta-box {
  background: var(--ink);
  color: var(--paper);
  padding: 32px 28px;
  border-left: 5px solid var(--accent);
  margin: 36px 0;
  position: relative;
}
.cta-box .kicker { color: #e8b04e; }
.cta-box h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.5rem;
  margin: 8px 0 10px;
  line-height: 1.15;
}
.cta-box p {
  color: #d8d2c3;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.55;
}
.cta-box .btn { background: var(--accent); }
.cta-box .btn:hover { background: #9a1c1c; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 13px 28px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
}
.btn.btn-ghost:hover { background: var(--ink); color: #fff !important; }

/* ===== SIDEBAR CTA WIDGET (in articles) ===== */
.widget {
  background: #fff;
  border-top: 3px solid var(--accent);
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 24px 0;
}
.widget .kicker { display: block; margin-bottom: 6px; font-size: 0.7rem; }
.widget h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.widget p { font-size: 0.9rem; color: var(--body); margin-bottom: 14px; line-height: 1.5; }
.widget .btn { padding: 10px 18px; font-size: 0.72rem; width: 100%; text-align: center; }
.widget ul { list-style: none; font-size: 0.88rem; margin-bottom: 12px; }
.widget ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dotted var(--rule);
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ===== ARTICLE LAYOUT ===== */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 40px 0 60px;
}
@media (max-width: 960px) { .article-wrap { grid-template-columns: 1fr; } }

.article-header {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.article-header .kicker { display: inline-block; margin-bottom: 16px; }
.article-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
  line-height: 1.08;
}
.article-header .deck {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 22px;
  max-width: 62ch;
}
.article-header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.article-header .meta .dateline { color: var(--ink-soft); }
.article-header .meta span::before { content: "·"; margin-right: 24px; color: var(--rule-strong); }
.article-header .meta span:first-child::before { content: none; margin-right: 0; }

.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body p { margin-bottom: 1.15rem; }
.article-body > p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.6rem;
  float: left;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--accent);
  font-weight: 900;
}
.article-body h2 {
  font-size: 1.7rem;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.article-body h3 { font-size: 1.3rem; margin-top: 1.8rem; margin-bottom: 0.6rem; color: var(--ink); }
.article-body ul, .article-body ol {
  margin: 0 0 1.3rem 1.4rem;
  padding-left: 0.4rem;
}
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 24px;
  margin: 28px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}
.article-body blockquote cite {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 10px;
}

.article-body .pull-stat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 32px 0;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding: 22px 0;
}
.article-body .pull-stat .stat {
  padding: 8px 18px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.article-body .pull-stat .stat:last-child { border-right: none; }
.article-body .pull-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.article-body .pull-stat .lbl {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.92rem;
}
.article-body table th,
.article-body table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.article-body table th {
  background: var(--paper-warm);
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-body table tr:hover td { background: rgba(122, 22, 22, 0.03); }

/* article sidebar */
.article-aside {
  position: sticky;
  top: 140px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 960px) { .article-aside { position: static; } }

/* ===== INLINE CTA BANNER ===== */
.inline-cta {
  background: var(--paper-warm);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 24px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 640px) { .inline-cta { grid-template-columns: 1fr; } }
.inline-cta .kicker { display: block; margin-bottom: 6px; }
.inline-cta h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.25;
}
.inline-cta p {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0;
}

/* ===== HERO BANNER (article detail) ===== */
.hero-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--paper);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.015) 2px 3px),
    radial-gradient(circle at 80% 20%, rgba(122,22,22,.22), transparent 60%);
  pointer-events: none;
}
.hero-banner .container { position: relative; }
.hero-banner .kicker { color: #e8b04e; display: block; margin-bottom: 14px; }
.hero-banner h1 { color: #fff; max-width: 22ch; margin-bottom: 14px; }
.hero-banner .deck {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #d8d2c3;
  max-width: 58ch;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--ink);
  color: #b8b1a2;
  padding: 56px 0 24px;
  margin-top: 60px;
  font-family: 'Inter Tight', sans-serif;
}
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #2a2a2a;
}
@media (max-width: 820px) { footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { footer.site-footer .footer-grid { grid-template-columns: 1fr; } }

footer.site-footer .foot-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
footer.site-footer .foot-logo .dot { color: var(--accent); }
footer.site-footer p { font-size: 0.88rem; line-height: 1.6; color: #8a8478; }
footer.site-footer h5 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
footer.site-footer ul { list-style: none; font-size: 0.88rem; }
footer.site-footer ul li { margin-bottom: 8px; }
footer.site-footer a { color: #b8b1a2; }
footer.site-footer a:hover { color: #fff; }

.legal-bar {
  padding-top: 20px;
  font-size: 0.75rem;
  color: #6a6458;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.legal-bar .disclaimer {
  max-width: 62ch;
  font-style: italic;
}

/* ===== SECTOR GRID (qualifying sectors page/section) ===== */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 28px 0;
}
.sector-grid .sector-cell {
  background: #fff;
  padding: 22px 20px;
  transition: background .15s;
}
.sector-grid .sector-cell:hover { background: var(--paper-warm); }
.sector-grid .sector-cell .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.sector-grid .sector-cell h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin: 10px 0 6px;
  color: var(--ink);
}
.sector-grid .sector-cell p { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }

/* ===== TIMELINE (litigation process) ===== */
.timeline {
  position: relative;
  margin: 32px 0;
  padding-left: 0;
}
.timeline .tl-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.timeline .tl-step:last-child { border-bottom: none; }
.timeline .tl-step .tl-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 0.9;
  border-right: 2px solid var(--ink);
  padding-right: 20px;
  text-align: right;
}
.timeline .tl-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-top: 4px;
  margin-bottom: 6px;
  color: var(--ink);
}
.timeline .tl-step p { font-size: 0.98rem; color: var(--body); line-height: 1.55; }

/* ===== FAQ ===== */
.faq {
  margin: 28px 0;
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.faq summary {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'Inter Tight', sans-serif;
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { content: "–"; transform: rotate(0deg); }
.faq details p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
}

/* ===== INTAKE PAGE ===== */
.intake-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(122,22,22,.18), transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, #15151a 100%);
  color: var(--paper);
  padding: 72px 0 60px;
  border-bottom: 4px double var(--accent);
}
.intake-hero .kicker { color: #e8b04e; }
.intake-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 18ch;
  margin: 14px 0 18px;
}
.intake-hero .deck {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.28rem;
  color: #d8d2c3;
  max-width: 56ch;
  line-height: 1.45;
}

.intake-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  padding: 50px 0;
}
@media (max-width: 900px) { .intake-cols { grid-template-columns: 1fr; } }

.intake-card {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 36px 32px;
  border-top: 4px solid var(--accent);
}
.intake-card h2 { font-size: 1.8rem; margin-top: 0; margin-bottom: 12px; }
.intake-card p { margin-bottom: 1rem; }
.intake-card .big-btn {
  display: block;
  text-align: center;
  padding: 20px 28px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 20px;
  transition: background .15s;
}
.intake-card .big-btn:hover { background: var(--accent-dark); }

.checklist {
  list-style: none;
  margin: 20px 0;
}
.checklist li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
}
.checklist li::after {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 11px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* ===== UTILITY ===== */
.hide-mobile { display: block; }
.hide-desktop { display: none; }
@media (max-width: 700px) {
  .hide-mobile { display: none; }
  .hide-desktop { display: block; }
}

.tag {
  display: inline-block;
  background: var(--paper-warm);
  color: var(--ink-soft);
  padding: 3px 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2px 4px 2px 0;
  border: 1px solid var(--rule);
}

.tags-list { margin: 28px 0 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
.tags-list .lbl {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}

/* ===== BACK TO TOP / PROGRESS ===== */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 200;
  transition: width .1s;
}

/* ============================================
   SHIM LAYER — maps HTML class names used in
   index, intake, about, and article pages to
   consistent working styles.
   ============================================ */

/* --- read progress bar inner --- */
.read-progress .read-progress-bar { display: none; } /* outer .read-progress already acts as the bar */

/* --- breaking bar (new naming) --- */
.breaking-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.breaking-label {
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-family: 'Inter Tight', sans-serif;
}
.breaking-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Inter Tight', sans-serif;
}
.breaking-text a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent); font-weight: 600; }
.breaking-text a:hover { color: #fff; }

/* --- masthead (new naming) --- */
.masthead-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.masthead-date { font-weight: 600; color: var(--ink-soft); }
.masthead-edition { color: var(--muted); }
.masthead-title {
  display: block;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 18px 0 10px;
  text-decoration: none;
}
.masthead-title:hover { color: var(--accent); text-decoration: none; }
.masthead-tagline {
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.masthead-nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.masthead-nav a {
  color: var(--ink-soft);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: all .15s;
  text-decoration: none;
}
.masthead-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.masthead-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.masthead-nav a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 2px;
  border-bottom: none;
}
.masthead-nav a.nav-cta:hover {
  background: var(--accent-dark);
  color: #fff;
  border-bottom: none;
}

/* --- page wrap for intake and article pages --- */
.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- article (new naming) --- */
.article-main { min-width: 0; }

.article-kicker {
  display: inline-block;
  font-family: 'Inter Tight', 'Helvetica Neue', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-top: 32px;
}

.article-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.article-deck {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 22px;
  max-width: 62ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 30px;
}
.article-meta .dateline {
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 600;
}

/* article-body dropcap (new naming) */
.article-body p.dropcap::first-letter,
.article-body > p.dropcap:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.6rem;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 900;
}

/* article-body section-title (both heading and as styled element) */
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

/* section-title utility (used in intake.html) */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  display: block;
}
/* override the earlier .section-title that was flex/gap */
.section-title::after { display: none; content: none; }

/* numbered-steps (intake, articles) */
.numbered-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 24px 0;
}
.numbered-steps li {
  counter-increment: step-counter;
  position: relative;
  padding: 18px 0 18px 72px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.65;
}
.numbered-steps li:last-child { border-bottom: none; }
.numbered-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 0.85;
  width: 56px;
  text-align: right;
  padding-right: 12px;
  border-right: 2px solid var(--ink);
}

/* pull-stat grid variant */
.pull-stat {
  background: var(--paper-warm);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  margin: 32px 0;
}
.pull-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.pull-stat-grid > div { text-align: center; padding: 0 12px; border-right: 1px solid var(--rule-strong); }
.pull-stat-grid > div:last-child { border-right: none; }
.pull-stat-grid strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.pull-stat-grid span {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .pull-stat-grid { grid-template-columns: 1fr; }
  .pull-stat-grid > div { border-right: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 16px; }
  .pull-stat-grid > div:last-child { border-bottom: none; }
}

/* inline-cta (new naming overrides earlier) */
.inline-cta {
  background: var(--paper-warm);
  border-left: 5px solid var(--accent);
  padding: 22px 26px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 640px) { .inline-cta { grid-template-columns: 1fr; } }
.inline-cta-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.5;
}
.inline-cta-text strong { color: var(--ink); }
.inline-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 24px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s;
}
.inline-cta-btn:hover { background: var(--accent-dark); }

/* cta-box (new naming overrides earlier) */
.cta-box .cta-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8b04e;
  margin-bottom: 10px;
}
.cta-box .cta-headline {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 700;
}
.cta-box .cta-sub {
  color: #d8d2c3;
  font-family: 'Source Serif 4', Georgia, serif;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.55;
}
.cta-box .cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 14px 30px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
}
.cta-box .cta-btn:hover { background: #9a1c1c; transform: translateY(-1px); }

/* article-sidebar (new naming) */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Inter Tight', sans-serif;
}
.sidebar-widget {
  background: #fff;
  border-top: 3px solid var(--rule-strong);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.sidebar-widget.widget-intake {
  border-top-color: var(--accent);
  background: var(--ink);
  color: var(--paper);
}
.sidebar-widget.widget-intake .kicker { color: #e8b04e; }
.sidebar-widget.widget-intake h3 { color: #fff; }
.sidebar-widget.widget-intake p { color: #c8c2b2; }
.sidebar-widget.widget-cja {
  border-top-color: var(--gold);
  background: var(--paper-warm);
}
.sidebar-widget .kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
  margin-top: 0;
}
.sidebar-widget p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.92rem;
  color: var(--body);
  margin-bottom: 14px;
  line-height: 1.5;
}
.sidebar-widget .sidebar-btn {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  padding: 11px 16px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .15s;
}
.sidebar-widget .sidebar-btn:hover { background: var(--accent-dark); }
.sidebar-widget .sidebar-btn-alt {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff !important;
  padding: 11px 16px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .15s;
}
.sidebar-widget .sidebar-btn-alt:hover { background: var(--navy); }

.sidebar-widget .sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
}
.sidebar-widget .sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.4;
}
.sidebar-widget .sidebar-list li:last-child { border-bottom: none; }
.sidebar-widget .sidebar-list a { color: var(--ink); text-decoration: none; }
.sidebar-widget .sidebar-list a:hover { color: var(--accent); text-decoration: underline; }

.widget-rule {
  border-top: 1px dashed var(--rule);
  margin: 16px 0 8px;
  height: 0;
}

/* tags row */
.tags {
  margin: 36px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.tags .tag-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
  font-weight: 700;
}
.tags .tag {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  color: var(--ink-soft);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin: 2px 4px 2px 0;
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: all .15s;
}
.tags .tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); text-decoration: none; }

/* site-footer (new naming, light override) */
footer.site-footer .footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #2a2a2a;
}
@media (max-width: 820px) { footer.site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { footer.site-footer .footer-inner { grid-template-columns: 1fr; } }

footer.site-footer .footer-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
footer.site-footer .footer-col p,
footer.site-footer .footer-col ul { font-size: 0.88rem; }
footer.site-footer .footer-base {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 0.78rem;
  color: #6a6458;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer .footer-base a { color: #8a8478; }
footer.site-footer .footer-base a:hover { color: #fff; }

/* checklist overrides - ensures visible check marks and consistent style */
.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  font-family: 'Source Serif 4', Georgia, serif;
}
.checklist li {
  position: relative;
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.6;
  font-size: 1rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  top: 13px;
  color: var(--success);
  font-weight: 900;
  font-size: 1.15rem;
  font-family: 'Inter Tight', sans-serif;
}
.sidebar-widget .checklist li { font-size: 0.9rem; padding: 10px 0 10px 28px; }
.sidebar-widget .checklist li::before { top: 9px; left: 4px; font-size: 1rem; }

/* dropcap utility — also support the standalone .dropcap class used in homepage */
p.dropcap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.6rem;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 900;
}

/* intake-card button big-btn */
.intake-card .big-btn {
  display: block;
  background: var(--accent);
  color: #fff !important;
  padding: 18px 28px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-align: center;
  margin: 8px 0 20px;
  transition: background .15s;
}
.intake-card .big-btn:hover { background: var(--accent-dark); }

/* --- intake-hero inner container --- */
.intake-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* intake page uses left column ID/class for content */
.intake-left { min-width: 0; }

/* override: the original .article-wrap was grid-template-columns: minmax(0,1fr) 300px */
/* this is fine — keep, but ensure aside has good width */
.article-sidebar { width: 100%; }
