/* Hallmark · macrostructure: Long Document (journal article) · tone: modern luxury telehealth · anchor hue: gold 85
 * theme: custom, matched to the main site (DM Sans only · warm ivory paper · espresso ink · #F0D27A gold)
 * nav: site nav (offer bar + logo + 3 links + 2 pills) · footer: compact statement
 * Shared stylesheet for Aurelius Journal articles (/blog/*.html). Pages keep their own content markup;
 * this file restyles the template classes (prose, takeaways, chart-wrap, timeline, faq, comp-table, ...).
 */

/* ── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --j-ink: #0d0d0d;
  --j-ink-2: #171512;
  --j-paper: #faf8f5;
  --j-sand: #f3ede3;
  --j-card: #ffffff;
  --j-text: #24201b;
  --j-text-soft: #4a433b;
  --j-muted: #6f6357;
  --j-faint: #9a8f80;
  --j-line: #e7e0d6;
  --j-line-soft: #efe9e0;
  --j-cream: #f5f0e8;
  --j-cream-dim: rgba(245, 240, 232, 0.62);
  --j-cream-faint: rgba(245, 240, 232, 0.38);
  --j-gold: #f0d27a;
  --j-gold-deep: #9a7426;
  --j-gold-soft: #f6e7bd;
  --j-green: #2e7d52;
  --j-green-soft: #e6f2ea;
  --j-blue: #1a4a7a;
  --j-blue-soft: #e8eff7;
  --j-amber: #8a5e1a;
  --j-amber-soft: #fbf1dc;
  --j-red: #a3341f;
  --j-red-soft: #fbedea;

  --j-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --j-space-1: 4px;  --j-space-2: 8px;  --j-space-3: 12px; --j-space-4: 16px;
  --j-space-5: 20px; --j-space-6: 24px; --j-space-8: 32px; --j-space-10: 40px;
  --j-space-12: 48px; --j-space-16: 64px; --j-space-20: 80px;

  --j-radius-s: 10px; --j-radius: 16px; --j-radius-l: 22px; --j-pill: 999px;
  --j-shadow: 0 1px 2px rgba(23, 21, 18, 0.04), 0 8px 24px rgba(23, 21, 18, 0.05);

  --j-measure: 680px;
  --j-wide: 1120px;
  --j-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  font-family: var(--j-font);
  background: var(--j-paper);
  color: var(--j-text);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--j-gold-deep); outline-offset: 3px; border-radius: 4px; }
@media (min-width: 900px) { body { font-size: 18px; } }

/* ── reading progress ───────────────────────────────────────────────────── */
.j-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none; }
.j-progress span { display: block; height: 100%; width: 100%; background: var(--j-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ── offer bar + nav (mirrors the main site's Navbar) ───────────────────── */
.j-offer {
  background: var(--j-ink); color: var(--j-cream-dim); text-align: center;
  font-size: 0.76rem; letter-spacing: 0.02em; padding: 9px var(--j-space-6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.j-offer strong { color: var(--j-gold); font-weight: 500; }
.j-nav {
  position: sticky; top: 0; z-index: 200; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--j-space-4);
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(13, 13, 13, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.j-nav-logo img { height: 30px; width: auto; }
.j-nav-links { display: none; gap: var(--j-space-1); list-style: none; }
.j-nav-links a {
  display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none;
  font-size: 0.875rem; color: rgba(245, 240, 232, 0.68); white-space: nowrap;
  transition: color 0.2s var(--j-ease-out), background 0.2s var(--j-ease-out);
}
.j-nav-links a:hover { color: var(--j-cream); background: rgba(255, 255, 255, 0.05); }
.j-nav-links a[aria-current="page"] { color: var(--j-gold); }
.j-nav-actions { display: flex; gap: var(--j-space-2); flex-shrink: 0; }
.j-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--j-pill); padding: 9px 18px; font-size: 0.8125rem; font-weight: 500;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
  transition: transform 0.2s var(--j-ease-out), background 0.2s var(--j-ease-out), border-color 0.2s var(--j-ease-out);
}
.j-pill:active { transform: translateY(1px); }
.j-pill-ghost { color: var(--j-cream); border: 1px solid rgba(245, 240, 232, 0.32); }
.j-pill-ghost:hover { border-color: rgba(245, 240, 232, 0.6); }
.j-pill-gold { color: var(--j-ink); background: var(--j-gold); border: 1px solid var(--j-gold); }
.j-pill-gold:hover { background: #f4dc95; }
.j-nav .j-pill-login { display: none; }
@media (min-width: 860px) {
  .j-nav-links { display: flex; }
  .j-nav .j-pill-login { display: inline-flex; }
}

/* ── hero ───────────────────────────────────────────────────────────────── */
.j-hero { background: var(--j-ink); color: var(--j-cream); padding: clamp(40px, 7vw, 72px) clamp(16px, 4vw, 40px) clamp(120px, 16vw, 200px); }
.j-hero-inner { max-width: var(--j-wide); margin: 0 auto; }
.j-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--j-gold); margin-bottom: var(--j-space-6); }
.j-crumbs a { color: var(--j-cream-faint); text-decoration: none; }
.j-crumbs a:hover { color: var(--j-cream); }
.j-crumbs span[aria-hidden] { color: var(--j-cream-faint); }
.j-hero h1 {
  font-weight: 300; font-size: clamp(1.95rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em;
  max-width: 22ch; overflow-wrap: anywhere; min-width: 0;
}
.j-hero h1 em { font-style: normal; color: var(--j-gold); }
.j-dek { margin-top: var(--j-space-6); max-width: 58ch; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.6; color: var(--j-cream-dim); }
.j-byline { margin-top: var(--j-space-8); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 0.8125rem; color: var(--j-cream-faint); }
.j-byline strong { color: var(--j-cream); font-weight: 500; }
.j-byline .j-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--j-cream-faint); }

.j-cover { max-width: var(--j-wide); margin: calc(-1 * clamp(96px, 13vw, 168px)) auto 0; padding: 0 clamp(16px, 4vw, 40px); }
.j-cover img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--j-radius-l); background: var(--j-sand); box-shadow: 0 24px 60px rgba(13, 13, 13, 0.22); }
@media (min-width: 720px) { .j-cover img { aspect-ratio: 21 / 9; } }

/* ── layout: sticky contents rail + article column ─────────────────────── */
.j-layout { max-width: var(--j-wide); margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 0; }
.j-article { max-width: var(--j-measure); min-width: 0; margin: 0 auto; }
.j-toc { display: none; }
@media (min-width: 1100px) {
  .j-layout { display: grid; grid-template-columns: 220px minmax(0, var(--j-measure)); gap: 0 clamp(48px, 7vw, 120px); justify-content: center; }
  .j-article { margin: 0; }
  .j-toc { display: block; }
  .j-toc-inner { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; padding-bottom: var(--j-space-6); }
}
.j-toc-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--j-faint); margin-bottom: var(--j-space-3); }
.j-toc ol { list-style: none; border-left: 1px solid var(--j-line); }
.j-toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 0.8125rem; line-height: 1.45; color: var(--j-muted); text-decoration: none;
  transition: color 0.2s var(--j-ease-out), border-color 0.2s var(--j-ease-out);
}
.j-toc a:hover { color: var(--j-text); }
.j-toc a[aria-current="true"] { color: var(--j-text); border-left-color: var(--j-gold-deep); font-weight: 500; }

/* mobile contents (collapsible) */
.j-toc-mobile { margin: var(--j-space-8) 0 0; border: 1px solid var(--j-line); border-radius: var(--j-radius); background: var(--j-card); }
.j-toc-mobile summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; font-weight: 600; }
.j-toc-mobile summary::-webkit-details-marker { display: none; }
.j-toc-mobile summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; color: var(--j-muted); transition: transform 0.2s var(--j-ease-out); }
.j-toc-mobile[open] summary::after { transform: rotate(45deg); }
.j-toc-mobile ol { list-style: none; padding: 0 18px 14px; }
.j-toc-mobile a { display: block; padding: 8px 0; border-top: 1px solid var(--j-line-soft); font-size: 0.875rem; color: var(--j-text-soft); text-decoration: none; }
@media (min-width: 1100px) { .j-toc-mobile { display: none; } }

/* ── template blocks inside the article column ─────────────────────────── */
/* Old template blocks were centred 760px columns with their own side padding: let them fill the article column. */
.j-article .prose, .j-article .timeline, .j-article .faq, .j-article .source, .j-article .sources,
.j-article .comp-table-wrap, .j-article .stat-row, .j-article .container, .j-article .j-legacy-main,
.j-article .article-body, .j-article .tldr, .j-article .chart-section {
  max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0;
}
.j-article .takeaways, .j-article .chart-wrap, .j-article .disclaimer, .j-article .cta-block {
  max-width: none; margin-left: 0; margin-right: 0;
}

.prose { padding-top: 0; }
.prose + .prose { margin-top: 0; }
.prose p { margin: 0 0 1.25em; color: var(--j-text); }
.j-article > .prose:first-child p:first-child { font-size: 1.18em; line-height: 1.6; color: var(--j-text); letter-spacing: -0.005em; }
.prose h2 {
  font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.2; letter-spacing: -0.025em;
  color: var(--j-text); margin: 2.4em 0 0.7em; scroll-margin-top: 104px; border: 0; padding: 0;
}
.prose h3 { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; margin: 1.8em 0 0.5em; }
.prose strong { font-weight: 600; color: var(--j-text); }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin: 0 0 1.25em 1.2em; }
.prose li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose li::marker { color: var(--j-gold-deep); }
.prose blockquote {
  margin: 2em 0; padding: 0 0 0 1.25em; border-left: 2px solid var(--j-gold);
  font-size: 1.15em; line-height: 1.55; color: var(--j-text); font-style: normal; background: none; border-radius: 0;
}
.prose a, .faq-a a, .takeaways a, .chart-source a, .source a, .sources a, .disclaimer a, .timeline a {
  color: var(--j-gold-deep); text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: rgba(154, 116, 38, 0.4); text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--j-ease-out);
}
.prose a:hover, .faq-a a:hover, .takeaways a:hover, .chart-source a:hover, .source a:hover, .sources a:hover, .disclaimer a:hover { text-decoration-color: currentColor; }

/* key takeaways */
.takeaways { margin: var(--j-space-10) 0 var(--j-space-4); padding: clamp(22px, 3vw, 32px); background: var(--j-card); border: 1px solid var(--j-line); border-radius: var(--j-radius-l); box-shadow: var(--j-shadow); }
.takeaways h2 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--j-gold-deep); margin: 0 0 var(--j-space-4); }
.takeaways ul { list-style: none; margin: 0; display: grid; gap: var(--j-space-4); }
.takeaways li { position: relative; padding-left: 32px; font-size: 0.95rem; line-height: 1.6; color: var(--j-text-soft); margin: 0; }
.takeaways li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--j-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7426' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* figures */
.chart-wrap, .chart-block, .chart-box, .chart-section {
  margin: var(--j-space-10) 0; padding: clamp(20px, 3vw, 32px); background: var(--j-card);
  border: 1px solid var(--j-line); border-radius: var(--j-radius-l); box-shadow: var(--j-shadow);
}
.chart-fig-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--j-gold-deep); margin-bottom: 6px; }
.chart-title { font-family: var(--j-font); font-weight: 600; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--j-text); margin-bottom: var(--j-space-5); }
.chart-sub, .chart-subtitle { font-size: 0.85rem; color: var(--j-muted); margin: -12px 0 var(--j-space-4); }
.chart-source { font-size: 0.75rem; line-height: 1.55; color: var(--j-faint); margin-top: var(--j-space-4); padding-top: var(--j-space-3); border-top: 1px solid var(--j-line-soft); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: var(--j-space-4); }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--j-muted); }
.legend-line { width: 24px; height: 3px; border-radius: 2px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; }
svg.chart, .chart-svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 640px) {
  .chart-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  svg.chart { min-width: 640px; }
  svg.chart.chart-fit { min-width: 0; }
  .chart-title::after { content: "Swipe to see the full chart \2192"; display: block; font-weight: 400; font-size: 0.75rem; color: var(--j-faint); margin-top: 4px; }
  .chart-wrap:has(svg.chart-fit) .chart-title::after, .chart-wrap:not(:has(svg.chart)) .chart-title::after { display: none; }
}

/* timeline */
.timeline { margin: var(--j-space-8) 0; padding-left: 0; position: relative; }
.timeline-row { position: relative; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0 0 var(--j-space-6) 28px; border: 0; }
.timeline-row::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: -6px; width: 1px; background: var(--j-line); }
.timeline-row:last-child::before { display: none; }
.timeline-row::after { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--j-paper); border: 2px solid var(--j-gold-deep); }
.timeline-week { min-width: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--j-gold-deep); padding: 0; }
.timeline-desc { font-size: 0.95rem; line-height: 1.6; color: var(--j-text-soft); }
.source { font-size: 0.75rem; line-height: 1.55; color: var(--j-faint); margin: var(--j-space-2) 0 var(--j-space-8); }

/* FAQ (journal.js turns each item into a <details>) */
.faq { margin: var(--j-space-4) 0 var(--j-space-12); border-top: 1px solid var(--j-line); }
.faq-item { border-bottom: 1px solid var(--j-line); padding: 0; }
.faq-q { font-family: var(--j-font); font-weight: 500; font-size: 1.02rem; line-height: 1.45; color: var(--j-text); margin: 0; padding: 18px 0; }
.faq-a { font-size: 0.95rem; line-height: 1.7; color: var(--j-text-soft); padding: 0 0 20px; }
details.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--j-space-4); align-items: flex-start; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; flex-shrink: 0; font-size: 1.35rem; line-height: 1; font-weight: 300; color: var(--j-muted); margin-top: 1px; transition: transform 0.2s var(--j-ease-out); }
details.faq-item[open] summary::after { transform: rotate(45deg); }

/* comparison tables, pills, stat cards (used by other articles) */
.comp-table-wrap { margin: var(--j-space-8) 0; overflow-x: auto; border: 1px solid var(--j-line); border-radius: var(--j-radius); background: var(--j-card); }
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comp-table th { background: var(--j-ink); color: var(--j-cream); padding: 12px 16px; text-align: left; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.04em; }
.comp-table th:first-child, .comp-table th:last-child { border-radius: 0; }
.comp-table td { padding: 12px 16px; border-bottom: 1px solid var(--j-line-soft); vertical-align: top; line-height: 1.55; color: var(--j-text); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: #fcfbf8; }
.pill { display: inline-block; padding: 3px 10px; border-radius: var(--j-pill); font-size: 0.75rem; font-weight: 500; }
.pill-green { background: var(--j-green-soft); color: var(--j-green); }
.pill-amber { background: var(--j-amber-soft); color: var(--j-amber); }
.pill-blue { background: var(--j-blue-soft); color: var(--j-blue); }
.pill-red { background: var(--j-red-soft); color: var(--j-red); }
.pill-gold { background: var(--j-gold-soft); color: var(--j-gold-deep); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: var(--j-space-3); margin: var(--j-space-8) 0 var(--j-space-2); }
.stat-card { background: var(--j-card); border: 1px solid var(--j-line); border-radius: var(--j-radius); padding: 18px; }
.stat-num { font-weight: 300; font-size: 2rem; line-height: 1.1; letter-spacing: -0.03em; }
.stat-lbl { font-size: 0.8rem; color: var(--j-muted); margin-top: 6px; line-height: 1.45; }
.s-green { color: var(--j-green); } .s-blue { color: var(--j-blue); } .s-amber { color: var(--j-amber); } .s-gold { color: var(--j-gold-deep); }

/* disclaimer */
.disclaimer { margin: var(--j-space-12) 0 var(--j-space-6); padding: 18px 20px; background: var(--j-sand); border: 0; border-radius: var(--j-radius); font-size: 0.78rem; line-height: 1.65; color: var(--j-muted); }
.sources { margin: var(--j-space-8) 0; font-size: 0.8rem; color: var(--j-muted); }
.sources h2 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--j-gold-deep); margin-bottom: 10px; }
.sources li { margin: 0 0 8px 18px; line-height: 1.55; }

/* headings that sit outside .prose in older articles */
.j-article > h2, .j-article .container > h2, .j-article .j-legacy-main > h2, .j-article .faq > h2 {
  font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.2; letter-spacing: -0.025em;
  color: var(--j-text); margin: 2.4em 0 0.7em; scroll-margin-top: 104px; border: 0; padding: 0; font-family: var(--j-font);
}
.j-article h2, .j-article h3, .j-article h4 { font-family: var(--j-font); }

/* keep reading (links carried over from the old call-to-action block) */
.j-related { margin: var(--j-space-12) 0 0; padding-top: var(--j-space-8); border-top: 1px solid var(--j-line); }
.j-related-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--j-faint); margin-bottom: var(--j-space-4); }
.j-related ul { list-style: none; display: grid; gap: 0; }
.j-related li a { display: flex; justify-content: space-between; gap: var(--j-space-4); padding: 14px 0; border-bottom: 1px solid var(--j-line-soft); font-size: 0.95rem; color: var(--j-text); text-decoration: none; }
.j-related li a::after { content: "\2192"; color: var(--j-gold-deep); }
.j-related li a:hover { color: var(--j-gold-deep); }
.j-related .protocol-cta-grid { display: flex; flex-wrap: wrap; gap: var(--j-space-2); margin: 0 0 var(--j-space-6) !important; }
.j-related .protocol-cta-link { display: inline-flex; padding: 9px 16px !important; border-radius: var(--j-pill) !important; border: 1px solid var(--j-line) !important; background: var(--j-card) !important; color: var(--j-text) !important; font-size: 0.875rem; text-decoration: none; }
.j-related .protocol-cta-link:hover { border-color: var(--j-gold-deep) !important; }

/* call to action (site style) */
.j-cta {
  margin: var(--j-space-12) 0 0; background: var(--j-ink); color: var(--j-cream); border-radius: var(--j-radius-l);
  overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr);
}
.j-cta-body { padding: clamp(28px, 5vw, 44px); }
.j-cta-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--j-gold); margin-bottom: var(--j-space-3); }
.j-cta h2 { font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--j-cream); margin: 0 0 var(--j-space-4); }
.j-cta p { font-size: 0.95rem; line-height: 1.6; color: var(--j-cream-dim); margin: 0 0 var(--j-space-6); max-width: 46ch; }
.j-cta .j-price { font-size: 0.875rem; color: var(--j-cream); margin: 0 0 var(--j-space-5); }
.j-cta .j-price strong { color: var(--j-gold); font-weight: 500; }
.j-cta .j-pill-gold { padding: 13px 26px; font-size: 0.9375rem; }
.j-cta-note { display: block; margin-top: var(--j-space-4); font-size: 0.75rem; color: var(--j-cream-faint); }
.j-cta-media { display: none; background: #12100d; }
.j-cta-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) {
  .j-cta { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .j-cta-media { display: block; }
}

/* ── footer ────────────────────────────────────────────────────────────── */
.j-footer { margin-top: var(--j-space-20); background: var(--j-ink); color: var(--j-cream-faint); padding: var(--j-space-12) clamp(16px, 4vw, 40px) var(--j-space-10); }
.j-footer-inner { max-width: var(--j-wide); margin: 0 auto; display: grid; gap: var(--j-space-6); }
.j-footer img { height: 28px; width: auto; }
.j-footer p { font-size: 0.75rem; line-height: 1.65; max-width: 72ch; }
.j-footer nav { display: flex; flex-wrap: wrap; gap: var(--j-space-2) var(--j-space-6); }
.j-footer nav a { font-size: 0.8125rem; color: var(--j-cream-dim); text-decoration: none; white-space: nowrap; }
.j-footer nav a:hover { color: var(--j-cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.j-hero--flat { padding-bottom: clamp(40px, 6vw, 64px); }
