/* Article pages – loaded after /assets/css/site.css. Each article uses its own layout-* class. */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.article-page main { padding-bottom: 0; }

/* ---------- Shared typographic pieces ---------- */
.kicker { margin: 0 0 12px; color: var(--accent-bright); font-size: 13px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.lead { max-width: 66ch; font-size: clamp(17px, 1.6vw, 20px); }
.prose h2, .rich h2 { margin: 0 0 14px; font-size: clamp(25px, 2.8vw, 32px); }
.prose h3, .rich h3 { margin: 26px 0 10px; font-size: 20px; }
.prose p, .prose li, .rich p, .rich li { color: var(--ink-soft); font-size: 17.5px; line-height: 1.72; }
.prose p, .rich p { max-width: 72ch; }
.prose a, .rich a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover, .rich a:hover { text-decoration-thickness: 2px; }
.prose strong, .rich strong { color: var(--ink); }
.fig-note { font-size: 14px !important; color: var(--muted) !important; margin-top: -6px; }
svg.diagram { display: block; width: 100%; height: auto; margin: 22px 0 14px; }
.figure { margin: 26px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.figure svg.diagram { margin: 0; }
.figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table-wrap caption { padding: 12px 16px; text-align: left; font-weight: 700; color: var(--ink); background: var(--surface-2); }
.table-wrap th, .table-wrap td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--accent); color: #fff; border-top: 0; }
.spec-table th { width: 38%; color: var(--ink); font-weight: 650; }
.price-table td:last-child { font-weight: 750; color: var(--accent); white-space: nowrap; }
.compat-table td, .compat-table th { text-align: center; }
.compat-table td:first-child, .compat-table th:first-child { text-align: left; }
.yes { color: var(--success); font-weight: 750; }
.no { color: var(--error); font-weight: 750; }
.part { color: #9a6700; font-weight: 750; }

.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding: 12px 16px 12px 46px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.check-list li::before { content: "!"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; }
.process-list { padding-left: 22px; }
.process-list li { margin-bottom: 10px; padding-left: 6px; }
.process-list li::marker { color: var(--accent); font-weight: 800; }

/* ---------- Order steps (variants) ---------- */
.order-steps h2 { margin-bottom: 18px; }
.order-steps ol { list-style: none; margin: 0; padding: 0; }
.os-n { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.order-steps li strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.order-steps li p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.order-timeline ol { display: grid; gap: 0; border-left: 3px solid var(--accent-soft); margin-left: 18px; }
.order-timeline li { display: flex; gap: 16px; margin-left: -20px; padding: 0 0 22px; }
.order-cards ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.order-cards li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.order-cards .os-n { margin-bottom: 14px; }
.order-rail ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: x; }
.order-rail li { position: relative; padding: 0 22px 0 0; }
.order-rail li::after { content: ""; position: absolute; top: 19px; left: 46px; right: 8px; height: 3px; background: var(--accent-soft); }
.order-rail li:last-child::after { display: none; }
.order-rail .os-n { margin-bottom: 14px; position: relative; z-index: 1; }
.order-dark { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--navy); }
.order-dark h2, .order-dark li strong { color: #fff; }
.order-dark li p { color: rgba(255,255,255,.78); }
.order-dark .os-n { background: #fff; color: var(--accent); }
.order-dark ol { display: grid; gap: 16px; }
.order-dark li { display: flex; gap: 16px; }
.order-numbers ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.order-numbers li { padding: 22px; background: var(--surface); }
.order-numbers .os-n { width: auto; height: auto; background: none; color: var(--accent); font-size: 40px; line-height: 1; margin-bottom: 10px; }
.order-compact ol { display: grid; gap: 10px; }
.order-compact li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-small); background: var(--accent-soft); }

/* ---------- FAQ ---------- */
.faq-block details { border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); margin-bottom: 10px; }
.faq-block summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
.faq-block details[open] summary::after { content: "–"; }
.faq-block details p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); }

/* ---------- CTA + related ---------- */
.article-cta { width: var(--container); margin: clamp(40px, 6vw, 72px) auto; display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--accent); color: #fff; }
.article-cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.article-cta p { margin: 0; color: rgba(255,255,255,.88); max-width: 60ch; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.related { padding: clamp(40px, 6vw, 64px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.related h2 { margin-bottom: 18px; font-size: 26px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rel-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .15s, transform .15s; }
.rel-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rel-card strong { font-size: 19px; }
.rel-card span { color: var(--muted); font-size: 15px; }
.rel-card em { margin-top: auto; color: var(--accent); font-style: normal; font-weight: 750; }
.rel-all { background: var(--accent-soft); }

/* ---------- Hero variants ---------- */
.art-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); }
.art-hero h1 { margin: 0 0 16px; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.07; letter-spacing: -0.03em; max-width: 22ch; }
.art-hero--image { color: #fff; background: linear-gradient(90deg, rgba(8,22,44,.95), rgba(8,22,44,.82) 55%, rgba(8,22,44,.55)), url("../assets/images/hero-umatic-1200.webp") center 60% / cover var(--navy); }
.art-hero--image .lead { color: rgba(255,255,255,.86); }
.quick-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin: 30px 0 0; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.2); }
.quick-facts div { padding: 14px 18px; background: rgba(8,22,44,.6); }
.quick-facts dt { font-size: 13px; color: rgba(255,255,255,.7); }
.quick-facts dd { margin: 2px 0 0; font-weight: 700; color: #fff; }

/* ---------- Layout: pillar (VHS) – sticky TOC on the left ---------- */
.pillar-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-top: clamp(36px, 5vw, 56px); align-items: start; }
.toc { position: sticky; top: 92px; padding: 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-small) var(--radius-small) 0; }
.toc strong { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--accent); }
.layout-pillar .prose section { padding: 0 0 clamp(30px, 4vw, 44px); margin-bottom: clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.layout-pillar .prose section:last-child { border-bottom: 0; }


/* shared bits used by several layouts */
.after-order { margin: 14px 0 0; color: var(--ink-soft); }
.after-order a { color: var(--accent); text-decoration: underline; }
.faq-block { padding: clamp(36px, 5vw, 60px) 0 0; }
.faq-block > h2 { margin-bottom: 18px; font-size: clamp(25px, 2.8vw, 32px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: start; }
.faq-grid > h2 { grid-column: 1 / -1; }
.faq-narrow { max-width: 780px; }
.mini-list { padding-left: 20px; display: grid; gap: 8px; }
.mini-list li::marker { color: var(--accent); }
.mini-list.numbered li::marker { font-weight: 800; }
.order-steps { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Layout: compare (VHS-C) – split hero, comparison band, card pairs ---------- */
.art-hero--split { background: linear-gradient(180deg, var(--accent-soft), var(--bg)); }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-figure { padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.split-figure svg.diagram { margin: 0; }
.hero-actions-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.compare-band { margin-top: clamp(36px, 5vw, 56px); padding: clamp(36px, 5vw, 56px) 0; background: var(--navy); color: #fff; }
.compare-band h2 { color: #fff; }
.compare-band .band-intro { color: rgba(255,255,255,.8); }
.compare-band .table-wrap { border-color: rgba(255,255,255,.18); }
.band-intro { max-width: 70ch; color: var(--ink-soft); font-size: 17.5px; }
.vs-table td:nth-child(3), .vs-table th:nth-child(3) { background: var(--accent-soft); }
.vs-table thead th:nth-child(3) { background: var(--accent-hover); }
.card-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(32px, 5vw, 52px); }
.pair-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pair-card h2 { font-size: clamp(22px, 2.4vw, 27px); }
.pair-wide { grid-column: auto; }
.price-card { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 32px; align-items: center; background: var(--accent); border: 0; color: #fff; }
.price-card h2, .price-card p, .price-card li, .price-card strong { color: #fff !important; }
.price-card h2 { grid-column: 1 / -1; }
.big-price { margin: 0; font-size: clamp(54px, 7vw, 84px); font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.big-price span { font-size: 20px; font-weight: 600; letter-spacing: 0; opacity: .85; }
.wide-figure { margin-top: clamp(32px, 5vw, 52px); }

/* ---------- Layout: data (S-VHS) – centred hero, stat row, narrow reading column ---------- */
.art-hero--center { text-align: center; background: var(--surface); border-bottom: 1px solid var(--line); }
.art-hero--center h1, .art-hero--center .lead { margin-left: auto; margin-right: auto; }
.stat-row { list-style: none; padding: 0; margin: 30px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; }
.stat-row li { padding: 18px; border-radius: var(--radius); background: var(--accent-soft); }
.stat-row b { display: block; font-size: clamp(30px, 4vw, 40px); color: var(--accent); line-height: 1.1; }
.stat-row span { font-size: 14px; color: var(--ink-soft); }
.reading { max-width: 760px; padding-top: clamp(32px, 5vw, 52px); }
.dropcap::first-letter { float: left; font-size: 68px; line-height: .86; padding: 6px 10px 0 0; font-weight: 850; color: var(--accent); }
.pull { margin: 30px 0; padding: 4px 0 4px 24px; border-left: 5px solid var(--accent); font-size: clamp(21px, 2.4vw, 26px); font-weight: 650; line-height: 1.35; color: var(--ink); }
.chart-band { margin-top: 28px; }
.chart-band .figure { background: var(--surface-2); }
.id-band { margin-top: clamp(36px, 5vw, 56px); padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.id-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.id-grid .figure { margin: 0; }
.callouts { list-style: none; counter-reset: c; padding: 0; display: grid; gap: 12px; }
.callouts li { counter-increment: c; position: relative; padding-left: 44px; }
.callouts li::before { content: counter(c); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; }
.steps-inline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px dashed var(--accent); }
.steps-inline li { padding: 10px 0 10px 20px; }
.spec-band { max-width: 760px; }

/* ---------- Layout: chapters (Video8) – chapter index + alternating chapters ---------- */
.art-hero--chapters { background: var(--navy); color: #fff; }
.art-hero--chapters h1 { color: #fff; }
.art-hero--chapters .lead { color: rgba(255,255,255,.84); }
.ch-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: end; }
.chapter-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.chapter-index a { display: flex; gap: 14px; align-items: baseline; padding: 10px 14px; border-radius: var(--radius-small); color: #fff; background: rgba(255,255,255,.06); }
.chapter-index a:hover { background: rgba(255,255,255,.14); }
.chapter-index span { color: var(--accent-bright); font-weight: 800; font-variant-numeric: tabular-nums; }
.chapter { display: grid; grid-template-columns: 90px minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.chapter--flip { grid-template-columns: 90px 300px minmax(0, 1fr); }
.chapter--flip .ch-body { order: 3; }
.chapter--flip .ch-aside, .chapter--flip .ch-figure { order: 2; }
.ch-num { font-size: 56px; font-weight: 850; line-height: 1; color: var(--accent); opacity: .25; letter-spacing: -.04em; }
.ch-aside { position: sticky; top: 92px; padding: 20px; border-radius: var(--radius); background: var(--accent-soft); }
.ch-aside strong { display: block; margin-bottom: 8px; color: var(--accent); }
.ch-aside p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.ch-figure .figure { margin: 0; }
.mini-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 15px; }
.mini-dl dt { color: var(--muted); }
.mini-dl dd { margin: 0; font-weight: 650; color: var(--ink); }

/* ---------- Layout: factsheet (Hi8) – answer box + sticky fact sheet ---------- */
.art-hero--answer { background: linear-gradient(135deg, var(--surface) 55%, var(--accent-soft)); border-bottom: 1px solid var(--line); }
.answer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.answer-box { padding: 24px; border-radius: var(--radius); border: 2px solid var(--accent); background: var(--surface); box-shadow: var(--shadow); }
.answer-box strong { display: block; margin-bottom: 6px; color: var(--accent); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.answer-box ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; }
.answer-box li b { color: var(--accent); font-size: 20px; }
.factsheet-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 60px); padding-top: clamp(36px, 5vw, 56px); align-items: start; }
.factsheet-grid .prose > section { margin-bottom: clamp(30px, 4vw, 44px); }
.fact-sheet { position: sticky; top: 92px; padding: 22px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.fact-sheet > strong { display: block; margin-bottom: 12px; font-size: 18px; }
.fact-sheet dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0 0 16px; font-size: 14.5px; }
.fact-sheet dt { color: rgba(255,255,255,.65); }
.fact-sheet dd { margin: 0; font-weight: 650; }
.fact-sheet a { display: block; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.15); color: var(--accent-bright); font-weight: 650; }
.risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.risk-grid > div { padding: 18px; border-radius: var(--radius-small); border-top: 4px solid var(--accent); background: var(--surface); box-shadow: var(--shadow); }
.risk-grid strong { color: var(--ink); }
.risk-grid p { margin: 6px 0 0; font-size: 15.5px !important; }

/* ---------- Layout: explainer (Digital8) – diagram hero + labelled rows ---------- */
.art-hero--diagram { background: radial-gradient(circle at 80% 0%, #0d3a7a, var(--navy) 60%); color: #fff; }
.art-hero--diagram h1 { color: #fff; max-width: 26ch; }
.art-hero--diagram .lead { color: rgba(255,255,255,.85); }
.hero-diagram { margin-top: 30px; padding: 18px; border-radius: var(--radius); background: #fff; max-width: 860px; }
.hero-diagram svg.diagram { margin: 0; }
.explainer { padding-top: clamp(24px, 4vw, 40px); }
.ex-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(30px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.ex-label { position: sticky; top: 92px; align-self: start; font-size: 14px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ex-label span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 20px; letter-spacing: 0; }
.myth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.myth, .fact { padding: 16px 18px; border-radius: var(--radius-small); }
.myth { background: #fdf0ef; border-left: 4px solid var(--error); }
.fact { background: #ecf6f0; border-left: 4px solid var(--success); }
.myth b { color: var(--error); } .fact b { color: var(--success); }
.myth p, .fact p { margin: 4px 0 0; font-size: 16px !important; }
.price-pills { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.price-pills li { padding: 16px; border-radius: var(--radius); background: var(--accent-soft); font-size: 14px !important; }
.price-pills b { display: block; font-size: 30px; color: var(--accent); }

/* ---------- Layout: process (MiniDV) – step navigator + vertical stage rail ---------- */
.art-hero--process { background: var(--surface); border-bottom: 1px solid var(--line); }
.proc-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.proc-nav { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 8px; }
.proc-nav li { counter-increment: p; }
.proc-nav a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 650; background: var(--bg); }
.proc-nav a::before { content: counter(p); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; }
.proc-nav a:hover { border-color: var(--accent); }
.process-flow { position: relative; padding-top: clamp(30px, 5vw, 56px); }
.process-flow::before { content: ""; position: absolute; left: 27px; top: clamp(30px, 5vw, 56px); bottom: 0; width: 3px; background: linear-gradient(var(--accent), var(--accent-soft)); }
.stage { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); padding-bottom: clamp(34px, 5vw, 56px); }
.stage-num { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 24px; font-weight: 850; box-shadow: 0 0 0 6px var(--bg); }
.stage-body { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stage--order .stage-body { background: var(--accent); border: 0; }
.stage--order .stage-body h2, .stage--order .stage-body p, .stage--order .stage-body li, .stage--order .stage-body b, .stage--order .stage-body a { color: #fff !important; }
.substeps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.substeps li { counter-increment: s; padding: 18px; border-radius: var(--radius-small); background: rgba(255,255,255,.1); font-size: 16px !important; }
.substeps li::before { content: counter(s); display: block; margin-bottom: 6px; font-size: 26px; font-weight: 850; color: var(--accent-bright); }
.substeps b { display: block; }
.spec-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.spec-chips div { padding: 14px 16px; border-radius: var(--radius-small); background: var(--surface-2); }
.spec-chips b { display: block; font-size: 22px; color: var(--accent); }
.spec-chips span { font-size: 14px; color: var(--muted); }

/* ---------- Article hub ---------- */
.hub-hero { background: var(--navy); color: #fff; }
.hub-hero h1 { color: #fff; }
.hub-hero .lead { color: rgba(255,255,255,.85); }
.hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: clamp(32px, 5vw, 52px) 0; }
.hub-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, transform .15s; }
.hub-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.hub-card .hub-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.hub-card strong { font-size: 20px; color: var(--ink); }
.hub-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.hub-card em { margin-top: auto; font-style: normal; font-weight: 750; color: var(--accent); }
.hub-section { padding-bottom: clamp(32px, 5vw, 52px); }
.hub-section h2 { font-size: clamp(25px, 2.8vw, 32px); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hub-table th { width: auto !important; }
.hub-table td:first-child a { font-weight: 750; color: var(--accent); }
.hub-table td:last-child { font-weight: 750; color: var(--accent); white-space: nowrap; }
.chapter:has(.ch-figure) { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); }

.pillar-grid > *, .ex-row > *, .chapter > *, .factsheet-grid > *, .answer-grid > *, .split-grid > *, .ch-hero > *, .proc-hero > *, .id-grid > *, .stage > *, .card-pairs > * { min-width: 0; }

/* ---------- Neutralise the generic site.css section padding inside articles ---------- */
.article-page main section { padding: 0; }
.article-page .chapter { padding: clamp(40px, 6vw, 72px) 0; }
.article-page .stage { padding: 0 0 clamp(28px, 4vw, 44px); }
.article-page .faq-block { padding: clamp(36px, 5vw, 60px) 0 0; }
.article-page .pair-card { padding: clamp(22px, 3vw, 32px); }
.article-page .compare-band { padding: clamp(36px, 5vw, 56px) 0; }
.article-page .related { padding: clamp(40px, 6vw, 64px) 0; }
.article-page .order-dark { padding: clamp(26px, 4vw, 40px); }
.article-page .id-band { padding: clamp(26px, 4vw, 40px); }
.article-page .hub-section { padding: 0 0 clamp(32px, 5vw, 52px); }

@media (max-width: 960px) {
  .pillar-grid, .split-grid, .ch-hero, .answer-grid, .factsheet-grid, .proc-hero, .id-grid { grid-template-columns: 1fr; }
  .toc, .ch-aside, .fact-sheet, .ex-label { position: static; }
  .quick-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .article-cta { grid-template-columns: 1fr; }
  .order-cards ol, .order-rail ol, .order-numbers ol, .substeps { grid-template-columns: 1fr; }
  .order-rail li { padding: 0 0 18px; }
  .order-rail li::after { display: none; }
  .chapter, .chapter--flip, .chapter:has(.ch-figure) { grid-template-columns: 1fr; gap: 16px; }
  .chapter--flip .ch-body { order: 0; }
  .chapter--flip .ch-aside, .chapter--flip .ch-figure { order: 0; }
  .ex-row { grid-template-columns: 1fr; gap: 10px; }
  .ex-label { display: flex; align-items: center; gap: 12px; }
  .ex-label span { margin: 0; }
  .price-pills { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .quick-facts, .rel-grid, .card-pairs, .stat-row, .risk-grid, .myth-grid { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .spec-chips { grid-template-columns: 1fr 1fr; }
  .prose p, .prose li, .rich p, .rich li { font-size: 16.5px; }
  .process-flow::before { left: 19px; }
  .stage { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .stage-num { width: 40px; height: 40px; font-size: 18px; }
  .stage-body { padding: 18px; }
  .art-hero--image { background-image: linear-gradient(180deg, rgba(8,22,44,.85), rgba(8,22,44,.95)), url("../assets/images/hero-umatic-800.webp"); }
}
