/* ============================================================================
   KnowTheAngels — Phase 0 slice stylesheet.
   Celestial editorial library: calm, scholarly, zero hype, no emoji.
   .container is the single width owner; .article-col is the readable column.
   ========================================================================== */
:root {
  --accent: #3D6BA5;
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --text: #1A2744;
  --muted: #5A6B8A;
  --border: #E0E6EF;
  --gold: #D4A843;
  --dark: #1A2744;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(26,39,68,.05), 0 8px 24px rgba(26,39,68,.06);
  --maxw: 1200px;
  --readw: 720px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* -------- width owner -------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* -------- headings -------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .6rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 100; border-radius: 6px; }

/* -------- buttons -------- */
.btn { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem;
  padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #33578a; text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); text-decoration: none; }

/* -------- header -------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.utility-strip { background: var(--dark); color: #cdd7e8; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; }
.utility-strip .container { display: flex; justify-content: space-between; padding-block: .35rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--gold); font-size: 1.4rem; display: inline-flex; }
.brand-accent { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .93rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); text-decoration: none; }
.site-nav .nav-icon { flex-shrink: 0; color: var(--accent); font-size: .95em; opacity: .72; }
.site-nav a:hover .nav-icon, .site-nav a.active .nav-icon { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--text); cursor: pointer; }

/* -------- reading progress -------- */
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 50; pointer-events: none; }
.reading-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); will-change: width; }

/* -------- breadcrumb -------- */
.breadcrumb { background: transparent; font-size: .82rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 1.25rem 0 0; padding: 0; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: .35rem; }
.breadcrumb li:not(:last-child)::after { content: "\e137"; font-family: "Phosphor"; font-size: .6rem; color: var(--border); margin-left: .15rem; }
.breadcrumb a { color: var(--muted); display: inline-flex; align-items: center; gap: .25rem; }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* -------- bands -------- */
.band { padding: 4rem 0; }
.band-muted { background: var(--bg); }
.band-dark { background: var(--dark); color: #dbe3f1; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-head { margin-bottom: 1.75rem; }

/* -------- hero -------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 4.5rem 0; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 15ch; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero--split .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-image img { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; max-height: 400px; box-shadow: var(--shadow); }

.collection-hero { background: linear-gradient(170deg, var(--surface) 60%, color-mix(in srgb, var(--accent) 4%, var(--bg))); border-bottom: 1px solid var(--border); padding: 4rem 0; }
.collection-hero-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.collection-hero--has-image .collection-hero-inner { grid-template-columns: 1fr 1fr; }
.collection-hero-text h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0.5rem 0; }
.collection-hero-text .lead { font-size: 1.05rem; color: var(--muted); max-width: 50ch; }
.collection-hero-count { font-family: var(--font-mono); font-size: .82rem; color: var(--accent); margin-top: 0.75rem; }
.collection-hero-image img { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; max-height: 320px; }
@media (max-width: 768px) {
  .collection-hero--has-image .collection-hero-inner { grid-template-columns: 1fr; }
  .collection-hero-image { order: -1; }
  .collection-hero-image img { max-height: 200px; }
}

/* -------- silo grid (home) -------- */
.silo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.silo-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; box-shadow: var(--shadow); border-top: 3px solid var(--silo-accent, var(--accent)); }
.silo-tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(61,107,165,.12); transition: transform .15s, box-shadow .15s; }
.silo-tile strong { font-family: var(--font-head); font-size: 1.25rem; }
.silo-icon { font-size: 1.6rem; color: var(--silo-accent, var(--accent)); }
.silo-count { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.card-more { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); display: inline-flex; align-items: center; gap: .3rem; }

/* -------- principles -------- */
.principle-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.principle h3 { color: inherit; }

/* -------- cards -------- */
.page-head { padding: 2.25rem 0 .5rem; max-width: var(--readw); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(26,39,68,.1), 0 12px 32px rgba(26,39,68,.08); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-media { display: flex; align-items: center; justify-content: center; height: 120px; font-size: 2.4rem;
  background: color-mix(in srgb, var(--silo-accent, var(--accent)) 10%, #fff); color: var(--silo-accent, var(--accent)); }
.card-body { padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.card-title { font-size: 1.2rem; margin: 0; }
.card-desc { color: var(--muted); font-size: .92rem; margin: 0; }
.card-grid--has-thumb { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card--thumb .card-link { flex-direction: column; }
.card-media--image { height: auto; padding: 0; background: var(--bg); }
.card-media--image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 2rem 0 0.5rem; }
.pagination-link { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); display: inline-flex; align-items: center; gap: .3rem; }
.pagination-link:hover { text-decoration: underline; }
.pagination-info { font-size: .85rem; color: var(--muted); }

.empty-note { color: var(--muted); padding: 2rem 0; }

.feature-card { display: block; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); color: inherit; max-width: var(--readw); }
.feature-card:hover { text-decoration: none; }
.feature-kicker { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }

/* ============================ ARTICLE ============================ */
.article-wrap { padding-bottom: 3rem; }
.article-col { max-width: var(--readw); margin: 0 auto; }
.article-head { padding-top: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .85rem; font-family: var(--font-mono); margin-bottom: 1.25rem; }
.article-meta i { color: var(--accent); }

.byline { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.byline-person { display: flex; align-items: center; gap: .6rem; }
.byline-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.byline-reviewer .byline-avatar { background: var(--gold); }
.byline-text { display: flex; flex-direction: column; line-height: 1.3; }
.byline-role { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--font-mono); }
.byline-cred { font-size: .8rem; color: var(--muted); }

.page-hero-img { margin: 1.75rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.page-hero-img img { width: 100%; }

.tldr { background: color-mix(in srgb, var(--accent) 7%, #fff); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.tldr-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.tldr p { margin: .35rem 0 0; }

.prose { font-size: 1.06rem; }
.prose h2, .article-h2 { margin-top: 2.25rem; scroll-margin-top: 90px; }
.article-intro { font-size: 1.14rem; color: var(--text); }
.article-bullets { padding-left: 1.2rem; }
.article-bullets li { margin-bottom: .5rem; }
.prose mark.highlight { background: color-mix(in srgb, var(--gold) 35%, #fff); padding: 0 .15em; border-radius: 3px; }

/* quick facts */
.quick-facts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.75rem 0; box-shadow: var(--shadow); }
.qf-title { font-size: 1.35rem; margin-bottom: .75rem; }
.qf-list { margin: 0; }
.qf-row { display: grid; grid-template-columns: 200px 1fr; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--border); }
.qf-row:first-child { border-top: 0; }
.qf-row dt { font-weight: 600; color: var(--text); }
.qf-row dd { margin: 0; color: var(--muted); }

/* TOC */
.page-toc { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin: 1.75rem 0; overflow: hidden; }
.toc-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 1.4rem; background: none; border: none; cursor: pointer; font-family: inherit; }
.toc-toggle:hover { background: color-mix(in srgb, var(--accent) 4%, var(--bg)); }
.toc-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 0; }
.toc-chevron { color: var(--muted); font-size: 1.2rem; transition: transform .2s ease; }
.toc-toggle[aria-expanded="false"] .toc-chevron { transform: rotate(-90deg); }
.toc-list { margin: 0; padding: 0 1.4rem 1.1rem; list-style: none; counter-reset: toc-counter; }
.toc-list[hidden] { display: none; }
.toc-list li { counter-increment: toc-counter; border-top: 1px solid var(--border); }
.toc-list li a { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .93rem; padding: .55rem 0; transition: color .15s; }
.toc-list li a::before { content: counter(toc-counter); flex-shrink: 0; width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-mono); font-size: .68rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.toc-list li a:hover { color: var(--accent); text-decoration: none; }
.toc-list li a:hover::before { border-color: var(--accent); color: var(--accent); }
.toc-list li a.toc-active { color: var(--accent); font-weight: 600; }
.toc-list li a.toc-active::before { background: var(--accent); border-color: var(--accent); color: #fff; }

/* callouts + quotes */
.callout { background: color-mix(in srgb, var(--accent) 6%, #fff); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.callout strong { display: block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin-bottom: .3rem; }
.callout p { margin: 0; }
.pull-quote { border-left: 4px solid var(--gold); margin: 1.75rem 0; padding: .5rem 0 .5rem 1.5rem; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.4; color: var(--text); }
.pull-quote cite { display: block; font-family: var(--font-mono); font-size: .78rem; font-style: normal; color: var(--muted); margin-top: .5rem; }
.expert-citation { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.75rem 0; box-shadow: var(--shadow); }
.expert-citation p { font-style: italic; font-size: 1.1rem; margin: 0; }
.expert-citation cite { display: block; font-style: normal; margin-top: .6rem; font-weight: 600; }
.expert-citation .cred { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; margin: 1.75rem 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.data-table caption { text-align: left; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .5rem; color: var(--text); }
.data-table th, .data-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table thead th { background: var(--bg); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.data-table tbody th { font-weight: 600; }

/* article inline images */
.article-inline-image { margin: 2rem 0; }
.article-inline-image img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-inline-image figcaption { margin-top: .65rem; color: var(--muted); font-size: .84rem; line-height: 1.5; text-align: center; }

/* method steps */
.method-steps { margin: 1.75rem 0; padding: 1.4rem; background: color-mix(in srgb, var(--accent) 5%, var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); }
.method-steps h3, .concept-grid-block h3 { margin-bottom: .35rem; font-size: 1.25rem; }
.method-description, .concept-description { color: var(--muted); font-size: .92rem; }
.method-step-list { display: grid; gap: .8rem; margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: method-step; }
.method-step-list > li { counter-increment: method-step; position: relative; padding: 1rem 1rem 1rem 3.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); }
.method-step-list > li::before { content: counter(method-step); position: absolute; left: 1rem; top: 1rem; width: 1.45rem; height: 1.45rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; }
.method-step-label { display: block; margin-bottom: .55rem; font-family: var(--font-head); font-size: 1.08rem; }
.method-step-list dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem .7rem; margin: 0; }
.method-step-list dt { color: var(--muted); font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.method-step-list dd { margin: 0; font-size: .9rem; }

/* concept grid */
.article-section { margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--border); }
.article-section .article-h2 { margin-top: 0; }
.article-section--soft { margin-inline: -1.25rem; padding: 2.25rem 1.25rem 1.25rem; background: color-mix(in srgb, var(--accent) 4%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border)); border-radius: var(--radius); }
.article-section--soft > :last-child { margin-bottom: 0; }

.concept-grid-block { margin: 1.75rem 0; }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.concept-card { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.concept-label { color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.concept-value { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.concept-card p { margin: .25rem 0 0; color: var(--muted); font-size: .86rem; }

@media (max-width: 560px) {
  .method-steps { padding: 1rem; }
  .method-step-list > li { padding-left: 2.8rem; }
  .method-step-list dl { grid-template-columns: 1fr; gap: .15rem; }
  .method-step-list dd + dt { margin-top: .35rem; }
}

/* inline related */
.inline-related { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.inline-related-card { display: inline-flex; align-items: center; gap: .9rem; max-width: 100%; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 999px; padding: .65rem .9rem .65rem 1rem; color: inherit; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.inline-related-card:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 4px 12px rgba(26,39,68,.1); text-decoration: none; }
.inline-related-card > i { flex-shrink: 0; color: var(--accent); font-size: 1rem; }
.ir-copy { display: flex; min-width: 0; flex-direction: column; }
.ir-eyebrow { display: block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.ir-label { overflow: hidden; font-family: var(--font-head); font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }

/* faq */
.section-title { margin-top: 2.5rem; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .35rem 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: .6rem 0; font-family: var(--font-head); font-size: 1.15rem; }
.faq-answer { color: var(--muted); padding-bottom: .8rem; }

/* sources + editorial + related */
.source-list { color: var(--muted); font-size: .9rem; padding-left: 0; list-style: none; counter-reset: src-counter; }
.source-list li { counter-increment: src-counter; position: relative; padding: .65rem 0 .65rem 2.5rem; border-bottom: 1px solid var(--border); }
.source-list li:last-child { border-bottom: 0; }
.source-list li::before { content: counter(src-counter); position: absolute; left: 0; top: .7rem; width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .65rem; font-weight: 600; }
.about-editorial { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-top: 2rem; }
.editorial-icon { flex-shrink: 0; font-size: 2rem; color: var(--gold); line-height: 1; }
.editorial-body h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.editorial-body p { font-size: .93rem; color: var(--muted); margin: 0 0 .6rem; }
.editorial-link { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); display: inline-flex; align-items: center; gap: .3rem; }
.related-links ul, .cross-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.related-link-card { display: flex; flex-direction: column; gap: .25rem; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.2rem; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.related-link-card--has-img { flex-direction: row; gap: 0; padding: 0; overflow: hidden; }
.related-card-media { flex-shrink: 0; width: 140px; }
.related-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card-body { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; justify-content: center; }
.related-link-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,39,68,.08); border-left-color: var(--gold); text-decoration: none; }
.rl-kind { display: block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.related-link-title { font-family: var(--font-head); font-size: 1.1rem; }
.cross-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .75rem; }
.cross-links li { background: transparent; }
.cross-link-card { display: flex; flex-direction: column; gap: .2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1.1rem; color: inherit; transition: transform .15s ease, box-shadow .15s ease; height: 100%; }
.cross-link-card--has-img { flex-direction: row; gap: 0; padding: 0; overflow: hidden; }
.cross-card-media { flex-shrink: 0; width: 100px; }
.cross-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cross-card-body { padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; justify-content: center; }
.cross-link-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,39,68,.08); text-decoration: none; }
.cross-link-title { font-family: var(--font-head); font-size: 1.05rem; }
.cl-eyebrow { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; color: var(--accent); }
.ext-link::after { content: " \2197"; font-size: .7em; color: var(--muted); }
.page-updated { color: var(--muted); font-size: .85rem; font-family: var(--font-mono); margin-top: 2rem; }

/* sitemap */
.sitemap-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.sitemap-group ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.sitemap-group li { padding: .2rem 0; }

/* -------- footer -------- */
.site-footer { background: var(--dark); color: #b7c2d8; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: .88rem; max-width: 28ch; }
.footer-col h2 { font-size: .78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: #8fa1c0; margin-bottom: .75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: #cdd7e8; font-size: .9rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; }
.footer-bottom p { font-size: .82rem; color: #8fa1c0; margin: 0; }

/* ============================ TOOL WIDGETS ============================ */
.tool-widget {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; margin: 2rem 0; box-shadow: var(--shadow);
}
.tool-header { margin-bottom: 1.25rem; }
.tool-title { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); margin: 0 0 .4rem; }
.tool-desc { color: var(--muted); font-size: .95rem; margin: 0; }

.tool-form { display: flex; flex-direction: column; gap: 1rem; }
.tool-field { display: flex; flex-direction: column; gap: .3rem; }
.tool-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tool-input, .tool-select {
  font-family: var(--font-body); font-size: 1rem; padding: .6rem .9rem;
  border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text);
  width: 100%; max-width: 320px;
}
.tool-input:focus, .tool-select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.tool-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.tool-row .tool-field { flex: 1; min-width: 80px; }
.tool-radio-group { display: flex; gap: 1rem; align-items: center; }
.tool-radio-group label { display: flex; align-items: center; gap: .35rem; font-size: .93rem; cursor: pointer; }
.tool-checkbox { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); }
.tool-checkbox input { accent-color: var(--accent); }
.tool-submit { margin-top: .5rem; }

.tool-result { display: none; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tool-result.visible { display: block; }
.tool-result-number { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: .5rem; }
.tool-result-number .master-badge { display: inline-block; font-family: var(--font-mono); font-size: .7rem;
  background: var(--gold); color: #fff; padding: .15rem .5rem; border-radius: 999px; vertical-align: middle; margin-left: .5rem; letter-spacing: .04em; }
.tool-reduction { font-family: var(--font-mono); font-size: .88rem; color: var(--muted); margin-bottom: .75rem; }
.tool-theme { font-size: 1.05rem; color: var(--text); margin-bottom: 1rem; }
.tool-followup { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; }

.tool-letter-grid { display: flex; flex-wrap: wrap; gap: .25rem; margin: .75rem 0; }
.tool-letter-cell { display: flex; flex-direction: column; align-items: center; background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: .3rem .45rem; min-width: 28px; }
.tool-letter-cell .letter { font-weight: 600; font-size: .9rem; }
.tool-letter-cell .value { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); }

.tool-chart { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; margin: 1rem 0; }
.tool-chart-item { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: .9rem; }
.tool-chart-label { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tool-chart-value { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.tool-chart-reduction { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }

/* Quiz steps */
.tool-quiz-step { display: none; }
.tool-quiz-step.active { display: block; }
.tool-quiz-progress { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-bottom: .75rem; }
.tool-quiz-question { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 1rem; }
.tool-quiz-options { display: flex; flex-direction: column; gap: .5rem; }
.tool-quiz-option { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: .75rem 1rem; cursor: pointer; font-size: .95rem; text-align: left; }
.tool-quiz-option:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
.tool-quiz-option.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); font-weight: 600; }

@media (max-width: 760px) {
  .tool-widget { padding: 1.25rem 1rem; }
  .tool-row { flex-direction: column; }
  .tool-input, .tool-select { max-width: 100%; }
  .tool-result-number { font-size: 2.4rem; }
  .tool-chart { grid-template-columns: 1fr 1fr; }
}

/* -------- tool-first product pages -------- */
.tool-product-page .article-col { max-width: 1120px; }
.tool-product-hero { max-width: 820px; margin: 0 auto; padding: 2.25rem 0 1.25rem; text-align: center; }
.tool-product-hero h1 { font-size: clamp(2.35rem, 6vw, 4.5rem); margin-bottom: .65rem; }
.tool-product-hero .lead { max-width: 720px; margin-inline: auto; color: var(--muted); }
.tool-product-workspace {
  background: linear-gradient(145deg, #f8faff 0%, #eef3fa 100%);
  border: 1px solid #d9e2ef;
  border-radius: 24px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 22px 60px rgba(26,39,68,.11);
  margin: 1rem 0 3rem;
}
.tool-product-workspace .tool-widget {
  --accent: #3D6BA5;
  --gold: #D4A843;
  --surface: #FFFFFF;
  --bg: #F4F7FB;
  --border: #E0E6EF;
  --text: #1A2744;
  --muted: #5A6B8A;
  --radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  margin: 0;
  box-shadow: 0 12px 36px rgba(26,39,68,.08);
  overflow: hidden;
}
.calc-form {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--surface);
}
.calc-form > :not(.calc-title):not(.calc-desc):not(.calc-result) { grid-column: 1; }
.calc-title {
  grid-column: 1 / -1;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--text);
  margin: 0 0 .45rem;
  font-weight: 700;
}
.calc-desc {
  grid-column: 1 / -1;
  max-width: 760px;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
}
.calc-date-row { display: flex; gap: .65rem; margin-bottom: 1rem; flex-wrap: wrap; }
.calc-select,
.calc-input {
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px;
  padding: .72rem .9rem;
  border: 1px solid #cbd6e5;
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
}
.calc-select { flex: 1; min-width: 88px; }
.calc-input { width: 100%; }
.calc-select:focus-visible,
.calc-input:focus-visible,
.calc-quiz-option:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.calc-name-row,
.calc-checkbox-row { margin-bottom: 1rem; }
.calc-field-group {
  margin-bottom: 1.15rem;
  padding: 1rem;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #f9fbfe;
}
.calc-field-group-label { color: var(--text); font-size: .9rem; font-weight: 700; }
.calc-helper { margin: .2rem 0 .75rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.calc-field-group .calc-date-row,
.calc-field-group .calc-name-row,
.calc-field-group .calc-checkbox-row { margin-bottom: 0; }
.calc-target-period { border-color: #cfdced; background: #f3f7fc; }
.calc-form-error {
  margin-bottom: 1rem;
  padding: .7rem .85rem;
  border: 1px solid #efc7c4;
  border-radius: 8px;
  background: #fff2f1;
  color: #943f3a;
  font-size: .84rem;
}
.calc-form-error.hidden { display: none; }
.calc-examples { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .65rem; }
.calc-examples-label { margin-right: .15rem; color: var(--muted); font-size: .76rem; }
.calc-example-chip {
  padding: .3rem .65rem;
  border: 1px solid #d6e0ed;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font: 700 .76rem var(--font-mono);
  cursor: pointer;
}
.calc-example-chip:hover { border-color: var(--accent); background: #eef4fb; }
.calc-radio-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.calc-radio-label,
.calc-checkbox-label { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .88rem; }
.calc-radio-label input,
.calc-checkbox-label input { accent-color: var(--accent); }
.calc-field-label { display: block; margin: .8rem 0 .4rem; color: var(--muted); font-size: .86rem; font-weight: 600; }
.calc-submit.btn-primary {
  width: fit-content;
  min-height: 48px;
  margin-top: .4rem;
  padding: .75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 700 .95rem var(--font-body);
  cursor: pointer;
}
.calc-submit.btn-primary:hover { background: #315b8f; }
.calc-submit.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.calc-actions { display: flex; align-items: center; gap: .8rem; }
.calc-clear {
  min-height: 44px;
  padding: .65rem .9rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 .85rem var(--font-body);
  cursor: pointer;
}
.calc-clear:hover { color: var(--accent); }
.calc-clear:focus-visible,
.calc-example-chip:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent); outline-offset: 2px; }
.calc-result {
  grid-column: 2;
  grid-row: 3 / span 30;
  align-self: stretch;
  min-height: 260px;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #d8e2ef;
  border-radius: 14px;
  background: linear-gradient(160deg, #f9fbfe 0%, #eef4fb 100%);
}
.calc-result--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
}
.calc-result-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(26,39,68,.09);
}
.calc-result-empty-copy { max-width: 28ch; margin: .35rem auto 0; font-size: .9rem; line-height: 1.55; }
.calc-result-label { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.calc-result-number { font-family: var(--font-head); font-size: clamp(2.7rem, 6vw, 4.5rem); font-weight: 700; color: var(--accent); line-height: 1; margin: .35rem 0 .7rem; }
.calc-result-title { font-size: 1.7rem; }
.calc-master-badge,
.calc-pattern-badge {
  display: inline-block;
  width: fit-content;
  margin: 0 0 .7rem;
  padding: .25rem .65rem;
  border: 1px solid #d3deec;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font: 700 .7rem var(--font-mono);
}
.calc-result-path,
.calc-letter-map { margin-bottom: .75rem; color: var(--muted); font: .82rem/1.55 var(--font-mono); word-break: break-word; }
.calc-result-theme { color: var(--text); font-size: .92rem; line-height: 1.55; margin-bottom: .85rem; }
.calc-result-section { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.calc-result-section:last-of-type { border-bottom: 0; }
.calc-result-section .calc-result-number { font-size: 2rem; }
.calc-result-hierarchy { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: .55rem; margin: .9rem 0; }
.calc-result-hierarchy-card { padding: .7rem; border: 1px solid #d8e2ef; border-radius: 9px; background: rgba(255,255,255,.75); }
.calc-result-hierarchy-card span { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.calc-result-hierarchy-card strong { display: block; margin-top: .15rem; color: var(--accent); font-family: var(--font-head); font-size: 1.45rem; line-height: 1; }
.calc-result-hierarchy-card small { display: block; margin-top: .3rem; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.calc-result-note { margin: .9rem 0 0; padding: .7rem .8rem; border-left: 3px solid var(--gold); background: rgba(255,255,255,.72); color: var(--muted); font-size: .78rem; line-height: 1.5; }
.calc-result-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: .9rem 0; }
.calc-result-metric { padding: .65rem; border: 1px solid #d8e2ef; border-radius: 9px; background: rgba(255,255,255,.72); }
.calc-result-metric span { display: block; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .05em; }
.calc-result-metric strong { display: block; margin-top: .18rem; color: var(--text); font-size: .9rem; text-transform: capitalize; }
.calc-error { padding: .75rem .9rem; border: 1px solid #efc7c4; border-radius: 8px; background: #fff2f1; color: #943f3a; font-size: .88rem; }
.calc-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.calc-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .58rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.calc-result-action--primary { background: var(--accent); color: #fff; }
.calc-result-action--primary:hover { background: #315b8f; color: #fff; text-decoration: none; }
.calc-result-action--secondary { background: #fff; color: var(--accent); }
.calc-result-action--secondary:hover { background: #eef4fb; text-decoration: none; }
.calc-result-action:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-outline.calc-followup {
  display: inline-flex;
  margin-top: .65rem;
  padding: .58rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-outline.calc-followup:hover { background: var(--accent); color: #fff; }
.calc-quiz-steps.hidden,
.calc-quiz-progress.hidden { display: none; }
.calc-quiz-card { margin-bottom: 1rem; }
.calc-quiz-step-label { margin-bottom: .45rem; color: var(--muted); font: .7rem var(--font-mono); text-transform: uppercase; }
.calc-quiz-question { margin-bottom: 1rem; color: var(--text); font-size: 1.05rem; }
.calc-quiz-options { display: flex; flex-direction: column; gap: .55rem; }
.calc-quiz-option { padding: .75rem 1rem; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--text); text-align: left; cursor: pointer; }
.calc-quiz-option:hover { border-color: var(--accent); background: #eef4fb; }
.calc-quiz-progress { height: 4px; margin-top: 1rem; overflow: hidden; border-radius: 2px; background: var(--border); }
.calc-quiz-progress-fill { height: 100%; width: 0; border-radius: 2px; background: var(--accent); transition: width .3s ease; }
.tool-method-trail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
.tool-method-trail > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 0 .65rem; padding: .8rem 1rem; }
.tool-method-trail span { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--accent); font: 700 .75rem var(--font-mono); }
.tool-method-trail strong { color: var(--text); font-size: .85rem; }
.tool-method-trail small { color: var(--muted); font-size: .75rem; }
.tool-boundary-note { display: flex; align-items: flex-start; gap: .45rem; max-width: 760px; margin: 1rem auto 0; color: var(--muted); font-size: .78rem; line-height: 1.5; text-align: center; }
.tool-boundary-note i { flex: 0 0 auto; margin-top: .1rem; color: var(--accent); }
.tool-supporting-content { max-width: var(--readw); margin: 0 auto; }
.tool-article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-bottom: 1rem; color: var(--muted); font: .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 760px) {
  .tool-product-hero { padding-top: 1.5rem; text-align: left; }
  .tool-product-hero .lead { margin-inline: 0; }
  .tool-product-workspace { margin-inline: -.35rem; padding: .65rem; border-radius: 16px; }
  .tool-product-workspace .tool-widget { padding: 0; border-radius: 13px; }
  .calc-form { grid-template-columns: 1fr; padding: 1.2rem; }
  .calc-title,
  .calc-desc,
  .calc-form > :not(.calc-title):not(.calc-desc):not(.calc-result),
  .calc-result { grid-column: 1; }
  .calc-result { grid-row: auto; min-height: 220px; margin-top: 1.2rem; }
  .tool-method-trail { grid-template-columns: 1fr; gap: .2rem; }
  .tool-method-trail > div { padding: .55rem .7rem; }
  .tool-boundary-note { text-align: left; padding-inline: .5rem; }
  .calc-result-actions { align-items: stretch; flex-direction: column; }
  .calc-result-action { width: 100%; }
}

/* -------- featured guide (hub) -------- */
.featured-guide { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.featured-guide:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(26,39,68,.1), 0 12px 32px rgba(26,39,68,.08); text-decoration: none; }
.featured-guide-image img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.featured-guide-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.featured-guide-body h3 { font-size: 1.5rem; margin: 0; }
.featured-guide-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.featured-guide-body .btn { align-self: flex-start; margin-top: .5rem; }
@media (max-width: 760px) {
  .featured-guide { grid-template-columns: 1fr; }
  .featured-guide-image img { min-height: 180px; max-height: 220px; }
}

/* -------- category chips -------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.cat-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .6rem 1.25rem; font-size: .9rem; font-weight: 500; color: var(--text); box-shadow: var(--shadow); transition: all .15s ease; }
.cat-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.cat-chip i { font-size: .75rem; color: var(--accent); }

/* -------- trust strip -------- */
.trust-strip { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; }
.trust-items { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: #b7c2d8; }
.trust-item i { font-size: 1.3rem; color: var(--gold); }
.trust-item strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }

/* -------- card silo label -------- */
.card-silo { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }

/* -------- principle icons -------- */
.principle-icon { font-size: 2rem; color: var(--gold); margin-bottom: .5rem; display: block; }

/* -------- band head center -------- */
.band-head--center { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.band-lead { font-size: 1.05rem; color: var(--muted); margin-top: .5rem; }
.band-dark .band-lead { color: #b7c2d8; }

/* -------- stats strip -------- */
.stats-strip { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3.5rem 0; }
.stats-items { display: flex; justify-content: space-around; gap: 2rem; text-align: center; }
.stat-item { display: flex; flex-direction: column; gap: .25rem; }
.stat-number { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* -------- CTA band -------- */
.cta-band { text-align: center; background: var(--surface); border-top: 1px solid var(--border); }
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-content p { color: var(--muted); font-size: 1.1rem; }
.cta-content .hero-actions { justify-content: center; }

/* -------- band accent (gold top line) -------- */
.band-accent { background: var(--surface); border-top: 3px solid var(--gold); }

/* -------- icon circle (unified: 48px, solid accent bg, white icon) -------- */
.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #fff; flex-shrink: 0; }
.icon-circle--gold { background: var(--gold); }
.icon-circle--silo { background: var(--silo-accent, var(--accent)); }

/* -------- icon strip (trust signals) -------- */
.band--slim { padding: 1.75rem 0; }
.icon-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.75rem 3rem; padding: 0; }
.icon-strip--compact { gap: 1.25rem 2rem; }
.icon-strip-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.icon-strip-item span:not(.icon-circle) { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.icon-strip-item:hover .icon-circle { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(61,107,165,.2); }
.icon-circle { transition: transform .2s ease, box-shadow .2s ease; }

/* -------- latest/recent articles (home) -------- */
.recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
.recent-item { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.recent-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,39,68,.1); text-decoration: none; }
.recent-item-body { display: flex; flex-direction: column; gap: .15rem; }
.recent-item-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--text); }
.recent-item-meta { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* -------- brand page hero -------- */
.brand-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 3.5rem 0 3rem; }
.brand-hero-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand-hero .icon-circle { width: 56px; height: 56px; font-size: 1.5rem; }
.brand-hero-text h1 { margin: 0 0 .35rem; }
.brand-hero-text .lead { margin: 0; max-width: 56ch; }

/* -------- brand feature grid -------- */
.brand-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1.25rem; margin: 0; }
.brand-feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.brand-feature:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(26,39,68,.1); }
.brand-feature h3 { font-size: .75rem; margin: 0; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.brand-feature p { display: none; }

/* -------- brand related pages -------- */
.brand-related { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.brand-related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.brand-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.brand-related-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; color: inherit; display: flex; align-items: center; gap: 1rem; transition: border-color .15s, transform .15s; }
.brand-related-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.brand-related-card .icon-circle { width: 40px; height: 40px; font-size: 1.1rem; }
.brand-related-body { display: flex; flex-direction: column; gap: .15rem; }
.brand-related-body strong { font-family: var(--font-head); font-size: 1.05rem; }
.brand-related-body span { font-size: .8rem; color: var(--muted); }

/* -------- hub tagline (silo identity) -------- */
.hub-tagline { display: flex; align-items: center; gap: 1rem; max-width: var(--readw); }
.hub-tagline p { font-size: 1rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* -------- responsive -------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem 1.5rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .75rem; }
  .site-nav a { width: 100%; padding: .2rem 0; }
  .site-nav .nav-icon { width: 1.15rem; font-size: 1rem; }
  .qf-row { grid-template-columns: 1fr; gap: .15rem; }
  .utility-strip { display: none; }
  .hero--split .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 240px; }
  .trust-items { justify-content: center; gap: 1rem .5rem; }
  .trust-item { flex: 0 0 auto; font-size: .8rem; }
  .trust-item i { font-size: 1.1rem; }
  .trust-item strong { font-size: .95rem; }
  .stats-items { flex-wrap: wrap; }
  .stat-item { flex: 1 0 40%; }
  .stat-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .brand-hero-inner { flex-direction: column; text-align: center; }
  .brand-hero .icon-circle { width: 48px; height: 48px; font-size: 1.3rem; }
  .icon-strip { gap: 1rem 1.5rem; }
  .icon-strip .icon-circle { width: 40px; height: 40px; font-size: 1.05rem; }
  .icon-strip-item span:not(.icon-circle) { font-size: .62rem; }
  .recent-list { grid-template-columns: 1fr; }
  .brand-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .article-section--soft { margin-inline: -.75rem; padding-inline: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { flex-direction: column; align-items: center; }
}
