/* ============================================================
   shrinkiatry.com — design system
   Slate + muted blue, editorial. Light + dark themes.
   Built for WCAG 2.2 AA.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* light theme palette */
  --paper: #f4f2ed;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --surface-3: #efece5;
  --ink: #1d2026;
  --ink-2: #44484f;
  --ink-3: #5d626b;
  --slate: #3b3c46;
  --slate-2: #2c2d35;
  --blue: #2c6285;
  --blue-strong: #214c69;
  --blue-soft: #86b3d1;
  --blue-tint: #e9f1f6;
  --clay: #8a4b33;
  --olive: #6c6748;
  --sand: #a7a09a;
  --line: #e2ddd4;
  --line-2: #d4cdc1;
  --focus: #2c6285;
  --good: #2f6f4f;
  --warn: #8a5a1c;

  --maxw: 1180px;
  --readw: 720px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(28, 30, 36, .06), 0 1px 3px rgba(28, 30, 36, .05);
  --shadow-md: 0 6px 22px rgba(28, 30, 36, .09);
  --shadow-lg: 0 18px 50px rgba(28, 30, 36, .14);
  --step: 1.5rem;
}

[data-theme="dark"] {
  --paper: #15171c;
  --surface: #1e2128;
  --surface-2: #242832;
  --surface-3: #2b303a;
  --ink: #eceae4;
  --ink-2: #bcc0c8;
  --ink-3: #9aa0a9;
  --slate: #2a2d35;
  --slate-2: #14161a;
  --blue: #8fc1df;
  --blue-strong: #abd0e8;
  --blue-soft: #86b3d1;
  --blue-tint: #1d2a33;
  --clay: #cf9479;
  --olive: #b3ad84;
  --sand: #7c828c;
  --line: #313640;
  --line-2: #3c424d;
  --focus: #8fc1df;
  --good: #7fc6a1;
  --warn: #d6a96a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 6px 22px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .16em; text-decoration-thickness: .07em; }
a:hover { color: var(--blue-strong); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
  font-family: var(--font-sans); font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 560; line-height: 1.12; color: var(--ink); letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.16; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.22; }
h4 { font-size: 1.12rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; }
p { font-size: inherit; }
.eyebrow {
  font-family: var(--font-sans); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.lede { font-size: clamp(1.2rem, 2.3vw, 1.45rem); line-height: 1.5; color: var(--ink-2); }
.font-sans { font-family: var(--font-sans); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--slate { background: var(--slate); color: #f3f1ec; }
.section--slate h1, .section--slate h2, .section--slate h3 { color: #fff; }
.section--slate .eyebrow { color: var(--blue-soft); }
.section--slate a { color: var(--blue-soft); }
.section--surface { background: var(--surface); }
.section--tint { background: var(--surface-2); }
.divider { border-top: 1px solid var(--line); }
.center { text-align: center; }
.measure { max-width: 56ch; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-strong); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--onslate { background: var(--blue-soft); color: #16242e; }
.btn--onslate:hover { background: #a3c6dd; color: #16242e; }
.btn--lg { font-size: 1.05rem; padding: .95rem 1.7rem; }

/* ---------- Tags / chips ---------- */
.tag {
  display: inline-block; font-family: var(--font-sans); font-weight: 600;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); padding: .25rem .55rem; border: 1px solid var(--line-2);
  border-radius: 6px; background: var(--surface);
}
.tag--blue { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 35%, transparent); background: var(--blue-tint); }
.tag--clay { color: var(--clay); border-color: color-mix(in srgb, var(--clay) 35%, transparent); }
.tag--olive { color: var(--olive); border-color: color-mix(in srgb, var(--olive) 40%, transparent); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s; height: 100%;
}
a.card, .card a.card-link { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-2); }
.card h3 { margin-bottom: .4rem; }
.card .tag { margin-bottom: .85rem; }
.card p { color: var(--ink-2); font-size: 1rem; }
.card__more { font-family: var(--font-sans); font-weight: 600; font-size: .92rem; color: var(--blue); margin-top: 1rem; display: inline-block; }

/* ---------- Header ---------- */
.topbar {
  background: var(--slate-2); color: #d8d4cc;
  font-family: var(--font-sans); font-size: .82rem;
}
.topbar a { color: #e7e3db; text-decoration: underline; }
.topbar a:hover { color: #fff; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: center; padding-block: .5rem; text-align: center; }
.topbar strong { color: #fff; }

.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.masthead__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--blue); }
.brand__sub { display: block; font-family: var(--font-sans); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .2rem; padding: 0; }
.nav__list a { font-family: var(--font-sans); font-weight: 550; font-size: .95rem; color: var(--ink-2); text-decoration: none; padding: .5rem .7rem; border-radius: 7px; display: block; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }
.nav__cta { margin-left: .4rem; }
.iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-2); cursor: pointer;
}
.iconbtn:hover { color: var(--blue); border-color: var(--blue); }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--surface);
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
    padding: 5rem 1.4rem 2rem; overflow-y: auto; z-index: 120; }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__list a { padding: .85rem .8rem; font-size: 1.05rem; }
  .nav__cta { margin: .6rem 0 0; }
  .menu-toggle { display: inline-grid; margin-left: auto; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(16,18,22,.45); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { background: var(--slate); color: #f3f1ec; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 85% -10%, rgba(134,179,209,.22), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--blue-soft); }
.hero__sub { color: #d7d4cd; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; margin-top: 1.1rem; max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4/3; background: var(--slate-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__label { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-soft); }

/* ---------- Article ---------- */
.article { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.article__head { max-width: var(--readw); margin-inline: auto; }
.breadcrumb { font-family: var(--font-sans); font-size: .85rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; color: var(--line-2); }
.article__meta { font-family: var(--font-sans); font-size: .9rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.1rem; align-items: center; }
.article__body { max-width: var(--readw); margin-inline: auto; }
.article__body > * + * { margin-top: 1.3rem; }
.article__body h2 { margin-top: 2.6rem; padding-top: .4rem; }
.article__body h3 { margin-top: 1.8rem; }
.article__body ul, .article__body ol { padding-left: 1.3rem; }
.article__body li { margin-top: .5rem; }
.article__body a { font-weight: 550; }

.keytakeaways { background: var(--blue-tint); border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.keytakeaways h2 { margin: 0 0 .6rem; font-size: 1.15rem; font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
.keytakeaways ul { margin: 0; padding-left: 1.2rem; }
.keytakeaways li { font-size: 1rem; }

.quickanswer { border-left: 4px solid var(--blue); background: var(--surface-2); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; }
.quickanswer .eyebrow { display: block; margin-bottom: .35rem; }

.toc { font-family: var(--font-sans); font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.toc strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li { margin-top: .35rem; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--blue); }

.callout { border: 1px solid var(--line); border-left: 4px solid var(--olive); background: var(--surface-2); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; }
.callout--ethics { border-left-color: var(--clay); }
.callout strong.callout__label { display: block; font-family: var(--font-sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .35rem; }

blockquote { border-left: 3px solid var(--blue-soft); padding-left: 1.2rem; font-style: italic; color: var(--ink-2); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; font-family: var(--font-sans); }
caption { text-align: left; font-size: .85rem; color: var(--ink-3); padding: .6rem .9rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-2); font-weight: 650; color: var(--ink); border-bottom: 2px solid var(--line-2); }
tbody tr:last-child td { border-bottom: 0; }

/* reviewer + sources */
.reviewer { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.reviewer__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-tint); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--blue); flex: none; border: 1px solid var(--line-2); }
.reviewer__name { font-family: var(--font-sans); font-weight: 700; }
.reviewer__role { font-family: var(--font-sans); font-size: .9rem; color: var(--ink-3); }
.reviewer p { font-size: .98rem; color: var(--ink-2); margin-top: .4rem; }

.sources { font-family: var(--font-sans); font-size: .92rem; }
.sources ol { padding-left: 1.3rem; }
.sources li { margin-top: .55rem; color: var(--ink-2); }
.sources a { word-break: break-word; }

.disclaimer-box { font-family: var(--font-sans); font-size: .88rem; color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }

/* continue-through-network */
.network-continue { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.network-continue .eyebrow { display: block; margin-bottom: .8rem; }
.network-continue ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.network-continue li a { display: flex; gap: .6rem; align-items: baseline; text-decoration: none; font-family: var(--font-sans); }
.network-continue li a:hover { text-decoration: underline; }
.network-continue .nc-site { font-weight: 700; color: var(--ink); }
.network-continue .nc-desc { color: var(--ink-3); font-size: .92rem; }

/* ---------- Operating Room ---------- */
.or-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; }
.or-filter {
  font-family: var(--font-sans); font-weight: 600; font-size: .9rem;
  padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--surface); color: var(--ink-2); cursor: pointer;
}
.or-filter[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.or-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.or-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.4rem; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; min-height: 200px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.or-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-soft); }
.or-card__num { font-family: var(--font-sans); font-size: .76rem; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.or-card h3 { margin: .5rem 0 .4rem; font-size: 1.3rem; }
.or-card p { color: var(--ink-2); font-size: .96rem; }
.or-card__stage { margin-top: auto; padding-top: .9rem; font-family: var(--font-sans); font-size: .8rem; color: var(--ink-3); }
.or-card[hidden] { display: none; }
.or-stage-bar { display: flex; flex-wrap: wrap; gap: .35rem; font-family: var(--font-sans); font-size: .8rem; color: var(--ink-3); margin-top: .4rem; }

/* ---------- Tool ---------- */
.tool { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .tool { grid-template-columns: 1fr; } }
.tool__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.field { margin-top: 1.1rem; }
.field:first-child { margin-top: 0; }
.field label { display: block; font-family: var(--font-sans); font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input[type="range"] { width: 100%; accent-color: var(--blue); }
.field select, .field input[type="number"], .field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; padding: .65rem .8rem;
  border: 1.5px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink);
}
.field select:focus, .field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
.field__val { font-family: var(--font-sans); font-weight: 700; color: var(--blue); }
.tool__out { display: grid; gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ink); line-height: 1; }
.stat__label { font-family: var(--font-sans); font-size: .85rem; color: var(--ink-3); margin-top: .4rem; }
.databar { height: 12px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.databar > span { display: block; height: 100%; background: var(--blue); }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stats-strip .stat__num { color: #fff; }
.stats-strip .stat__label { color: #cdd6dd; }
.stats-strip .stat { background: transparent; border: 0; border-left: 2px solid var(--blue-soft); border-radius: 0; padding: .2rem 0 .2rem 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-family: var(--font-sans); }
.footer-main { padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-top { display: grid; grid-template-columns: 1.25fr 2.75fr; gap: 2.4rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-brand .brand { font-size: 1.4rem; }
.footer-brand p { font-size: .95rem; color: var(--ink-3); margin-top: .7rem; max-width: 32ch; font-family: var(--font-serif); }
.footer-col h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }

.network-bar { background: var(--slate); color: #e7e4dd; }
.network-bar .wrap { padding-block: clamp(2.2rem, 4vw, 3rem); }
.network-bar__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1.4rem; }
.network-bar__head .brandline { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.network-bar__head .tagline { font-style: italic; color: var(--blue-soft); }
.network-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 760px) { .network-groups { grid-template-columns: 1fr 1fr; } }
.network-groups h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: .7rem; }
.network-groups ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.network-groups a { color: #d8d4cc; text-decoration: none; font-size: .94rem; }
.network-groups a:hover { color: #fff; text-decoration: underline; }
.network-bar__links { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.network-bar__links a { color: var(--blue-soft); text-decoration: none; }
.network-bar__links a:hover { color: #fff; text-decoration: underline; }
.network-bar__copy { margin-top: 1rem; color: #aeb6bd; font-size: .85rem; }

.legal-strip { background: var(--surface-2); border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); }
.legal-strip .wrap { padding-block: 1.6rem; display: grid; gap: .8rem; }
.legal-strip a { color: var(--ink-2); }
.legal-strip strong { color: var(--ink-2); }

/* lists of links */
.linklist { columns: 2; column-gap: 2rem; }
@media (max-width: 620px) { .linklist { columns: 1; } }
.linklist a { display: inline-block; padding: .15rem 0; }

/* utilities */
.flow > * + * { margin-top: 1.1rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.maxread { max-width: var(--readw); margin-inline: auto; }
[hidden] { display: none !important; }

/* ============================================================
   v2 refinements: color pops, motion, redesigned sections
   ============================================================ */
:root {
  --amber: #e7a93f;
  --amber-deep: #b9791f;
  --blue-bright: #2f80b5;
  --or-card: #23252e;
}
[data-theme="dark"] { --or-card: #171a20; }

/* ---- Fix button text contrast (override link-color specificity) ---- */
.nav__list a.btn { color: #fff; }
.nav__list a.btn--primary { color: #fff; font-weight: 650; }
.nav__list a.btn--ghost { color: var(--ink); }
.nav__list a.btn--ghost:hover { color: var(--blue); }
.section--slate a.btn--onslate { color: #122430; }
.section--slate a.btn--primary { color: #fff; }
.section--slate a.btn--ghost { color: #fff; }
.hero a.btn--ghost { color: #fff; }
.btn--primary { box-shadow: 0 6px 18px rgba(44, 98, 133, .26); }
.btn--onslate { font-weight: 700; }

/* ---- Eyebrow gets an amber tick for a subtle editorial pop ---- */
.eyebrow::before {
  content: ""; display: inline-block; width: .5rem; height: .5rem;
  background: var(--amber); border-radius: 2px; margin-right: .55rem;
  vertical-align: middle; transform: translateY(-1px);
}
.breadcrumb .eyebrow::before, .eyebrow.no-tick::before { display: none; }

/* ===================== HERO ===================== */
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.15rem); }
.hero__sub { font-size: clamp(1.18rem, 2.2vw, 1.45rem); max-width: 44ch; }
.hero__grid { grid-template-columns: 1.02fr .98fr; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__art { position: relative; }
.hero__media { aspect-ratio: 4 / 3.05; box-shadow: 0 30px 70px rgba(8, 10, 14, .5); position: relative; z-index: 2; }
.hero__glow {
  position: absolute; z-index: 0; inset: -14% -10%;
  background:
    radial-gradient(42% 46% at 80% 18%, rgba(231, 169, 63, .45), transparent 70%),
    radial-gradient(52% 52% at 16% 88%, rgba(134, 179, 209, .55), transparent 72%);
  filter: blur(20px); border-radius: 40%;
}
.hero__spark {
  position: absolute; z-index: 3; width: clamp(58px, 8.5vw, 104px); height: auto;
  top: -24px; left: -22px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4));
  transform-origin: 50% 50%;
}
.hero__medallion {
  position: absolute; z-index: 3; right: -20px; bottom: -22px;
  width: clamp(72px, 9.5vw, 110px); height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .45));
}
@media (prefers-reduced-motion: no-preference) {
  .hero__spark { animation: sk-spin 20s linear infinite; }
  .hero__medallion { animation: sk-coin 9s ease-in-out infinite; }
  .hero__glow { animation: sk-breathe 8s ease-in-out infinite; }
}
@keyframes sk-spin { to { transform: rotate(360deg); } }
@keyframes sk-coin { 0%, 100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-10px) rotate(7deg); } }
@keyframes sk-breathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }

/* ===================== OPERATING ROOM promo ===================== */
.or-promo { position: relative; overflow: hidden; }
.or-promo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 75% at 92% 8%, rgba(231, 169, 63, .14), transparent 60%);
}
.or-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
@media (max-width: 820px) { .or-mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .or-mini { grid-template-columns: 1fr; } }
.or-mini__card {
  position: relative; display: block; text-decoration: none; color: #eef1f4;
  background: var(--or-card); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px; padding: 1.05rem 1.1rem 1.1rem; overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.or-mini__card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--blue-soft)); opacity: 0; transition: opacity .2s;
}
.or-mini__card:hover { transform: translateY(-4px); border-color: rgba(134, 179, 209, .55); box-shadow: 0 16px 30px rgba(0, 0, 0, .4); }
.or-mini__card:hover::before { opacity: 1; }
.or-mini__num { font-family: var(--font-sans); font-weight: 800; font-size: .78rem; letter-spacing: .12em; color: var(--amber); }
.or-mini__card h3 { color: #fff; font-size: 1.14rem; margin: .4rem 0 .25rem; }
.or-mini__card p { color: #b7c0c9; font-size: .9rem; }
.or-mini__card .arrow { color: var(--blue-soft); font-family: var(--font-sans); font-weight: 700; font-size: .88rem; margin-top: .65rem; display: inline-block; }

/* ===================== START-HERE (what part) ===================== */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .qgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .qgrid { grid-template-columns: 1fr; } }
.qcard {
  position: relative; display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue-soft);
  border-radius: 12px; padding: 1.3rem; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.qcard:nth-child(3n+1) { border-left-color: var(--amber); }
.qcard:nth-child(3n+2) { border-left-color: var(--blue); }
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.qcard .tag { margin-bottom: .7rem; }
.qcard h3 { font-size: 1.16rem; }
.qcard .go { font-family: var(--font-sans); font-weight: 700; font-size: .9rem; color: var(--blue); margin-top: .9rem; display: inline-block; }
.qcard .go .ar { color: var(--amber); }

/* ===================== NETWORK-CONTINUE cleanup ===================== */
.network-continue { background: var(--surface); box-shadow: var(--shadow-sm); }
.network-continue ul { gap: 0; }
.network-continue li { border-top: 1px solid var(--line); }
.network-continue li:first-child { border-top: 0; }
.network-continue li a { display: grid; grid-template-columns: 10.5rem 1fr; gap: .3rem 1rem; align-items: baseline; padding: .85rem 0; }
@media (max-width: 520px) { .network-continue li a { grid-template-columns: 1fr; gap: .1rem; } }
.network-continue .nc-site { color: var(--ink); }
.network-continue li a:hover .nc-site { color: var(--blue); }

/* ===================== FOOTER: dark + intentional ===================== */
.site-footer { border-top: 0; }
.footer-main { background: var(--slate); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .dot { color: var(--amber); }
.footer-brand p { color: #c2c9d0; }
.footer-col h4 { color: var(--blue-soft); }
.footer-col a { color: #cfd5db; }
.footer-col a:hover { color: #fff; }
.network-bar { background: var(--slate-2); }
.legal-strip { background: #1b1c22; border-top: 1px solid rgba(255, 255, 255, .07); color: #aeb4bc; }
.legal-strip a { color: #cfd5db; }
.legal-strip strong { color: #e7eaee; }

/* ===================== misc polish ===================== */
.card { transition: box-shadow .2s, transform .2s, border-color .2s; }
a.card:hover h3, .card--link:hover h3 { color: var(--blue); }
.stats-strip .stat { border-left-color: var(--amber); }
.section--slate .stats-strip .stat__num { color: #fff; }

/* ============================================================
   v4: brand pop, editorial kickers, beautiful cards, OR control room
   ============================================================ */
:root { --amber-text: #8a5d12; --ink-tile: #2a2d37; }
[data-theme="dark"] { --amber-text: #e7a93f; --ink-tile: #232732; }

/* ---- Brand wordmark ---- */
.brand .dot { color: #c8861f; }
[data-theme="dark"] .brand .dot { color: var(--amber); }
.brand__sub { color: var(--amber-text); font-weight: 700; }
.footer-brand .brand .dot { color: var(--amber); }

/* ---- Editorial kicker eyebrows (amber rule) ---- */
.eyebrow { display: inline-flex; align-items: center; }
.eyebrow::before {
  content: ""; display: inline-block; width: 1.7rem; height: 3px;
  background: var(--amber); border-radius: 2px; margin-right: .65rem; transform: none;
}
.eyebrow.no-tick::before { display: none; }
.breadcrumb .eyebrow::before { display: none; }
.center .eyebrow { display: inline-block; }
.center .eyebrow::before { display: none; }
.center .eyebrow::after {
  content: ""; display: block; width: 2.6rem; height: 3px; border-radius: 2px;
  background: var(--amber); margin: .6rem auto 0;
}

/* ---- Beautiful cards (global) ---- */
.card {
  border-radius: 16px; padding: 1.55rem 1.5rem; position: relative; overflow: hidden;
  background: var(--surface);
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue-soft));
  opacity: .55; transition: opacity .25s, height .25s;
}
a.card:hover::before, .card--link:hover::before { opacity: 1; height: 4px; }
a.card:hover, .card--link:hover {
  transform: translateY(-5px); box-shadow: 0 18px 42px rgba(28, 30, 36, .14); border-color: var(--line-2);
}
[data-theme="dark"] a.card:hover, [data-theme="dark"] .card--link:hover { box-shadow: 0 18px 42px rgba(0, 0, 0, .5); }
.card .tag { border-radius: 7px; }
.card__more { transition: gap .2s; letter-spacing: .01em; }
a.card:hover .card__more { color: var(--amber-text); }
[data-theme="dark"] a.card:hover .card__more { color: var(--amber); }

/* tag pills a touch more refined */
.tag { border-radius: 7px; padding: .28rem .6rem; }
.tag--blue { background: var(--blue-tint); }

/* ---- what-part qcards: extra polish ---- */
.qcard { border-radius: 14px; border-left-width: 5px; }
.qcard::after {
  content: ""; position: absolute; right: 1.2rem; bottom: 1.2rem; width: 8px; height: 8px;
  border-radius: 50%; background: var(--amber); opacity: 0; transition: opacity .2s, transform .2s;
}
.qcard:hover::after { opacity: .9; transform: scale(1.4); }
.qcard:hover .go { gap: .5rem; }
.qcard:hover .go .ar { display: inline-block; transform: translateX(3px); transition: transform .2s; }

/* ---- network-continue: more design ---- */
.network-continue { border-left: 4px solid var(--amber); border-radius: 0 16px 16px 0; }
.network-continue li a { padding-inline: .6rem; border-radius: 8px; transition: background .15s; }
.network-continue li a:hover { background: var(--surface-2); }
.network-continue .nc-site { transition: color .15s; }

/* ---- Footer pizazz ---- */
.footer-main { position: relative; }
.footer-main::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue-soft), var(--amber));
}
.footer-col a:hover { color: var(--amber); }
.network-bar a:hover { color: var(--amber); }

/* ---- Slate hero bands: subtle depth so hub pages aren't flat ---- */
.section--slate { position: relative; overflow: hidden; }
.section--slate > .wrap { position: relative; z-index: 1; }
.section--slate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 70% at 96% 0%, rgba(231, 169, 63, .12), transparent 60%),
    radial-gradient(46% 80% at 2% 100%, rgba(134, 179, 209, .14), transparent 62%);
}
.hero::after { z-index: 0; }

/* ============================================================
   Operating Room: control-room treatment
   ============================================================ */
.or-controls { gap: .55rem; padding: .2rem 0 .3rem; }
.or-filter {
  border-radius: 999px; border-width: 1.5px; font-weight: 650;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.or-filter:hover { border-color: var(--amber); color: var(--amber-text); }
[data-theme="dark"] .or-filter:hover { color: var(--amber); }
.or-filter[aria-pressed="true"] {
  background: var(--amber); color: #20160a; border-color: var(--amber);
}
.or-filter[aria-pressed="true"]:hover { color: #20160a; }

.or-grid {
  background: linear-gradient(180deg, #23252e 0%, #1b1d25 100%);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px;
  padding: clamp(1rem, 2.5vw, 1.6rem); margin-top: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 20px 50px rgba(12, 14, 20, .18);
}
.or-card {
  background: var(--ink-tile); border: 1px solid rgba(255, 255, 255, .08); color: #eef1f4;
  border-radius: 14px; overflow: hidden;
}
.or-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: linear-gradient(180deg, var(--amber), var(--blue-soft));
  opacity: 0; transition: opacity .2s;
}
.or-card:hover::after { opacity: 1; }
.or-card:hover { transform: translateY(-5px); border-color: rgba(134, 179, 209, .55); box-shadow: 0 18px 36px rgba(0, 0, 0, .5); }
.or-card__num { color: var(--amber); font-weight: 800; font-size: .82rem; letter-spacing: .14em; }
.or-card h3 { color: #fff; font-size: 1.32rem; }
.or-card p { color: #b8c1cb; }
.or-card__stage { color: var(--blue-soft); font-weight: 600; }

/* article cards / hub grids inherit the global .card upgrades automatically */

/* ============================================================
   v5: showpiece hero
   ============================================================ */
.hero--xl { position: relative; isolation: isolate; }
.hero--xl .hero__grid { padding-block: clamp(3.2rem, 7vw, 6rem); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hero--xl h1 { font-size: clamp(2.6rem, 6.6vw, 4.7rem); line-height: 1.03; letter-spacing: -.025em; }
.hero--xl .hero__sub { color: #d9dde3; max-width: 46ch; }

/* animated background layers */
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero--xl > .wrap { position: relative; z-index: 1; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; will-change: transform; }
.hero__blob--amber { width: 44vw; height: 44vw; top: -16%; right: -8%;
  background: radial-gradient(circle, rgba(231, 169, 63, .55), transparent 70%); }
.hero__blob--blue { width: 48vw; height: 48vw; bottom: -22%; left: -12%;
  background: radial-gradient(circle, rgba(134, 179, 209, .6), transparent 70%); }
.hero__gridlines { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(75% 65% at 55% 25%, #000, transparent 80%);
  mask-image: radial-gradient(75% 65% at 55% 25%, #000, transparent 80%); }
.hero__dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); opacity: .0; box-shadow: 0 0 10px rgba(231, 169, 63, .8); }
.hero__dot.b { background: var(--blue-soft); box-shadow: 0 0 10px rgba(134, 179, 209, .8); }
.hero__dot:nth-child(4) { top: 22%; left: 30%; }
.hero__dot:nth-child(5) { top: 68%; left: 18%; }
.hero__dot:nth-child(6) { top: 40%; left: 62%; }
.hero__dot:nth-child(7) { top: 78%; left: 52%; }
.hero__dot:nth-child(8) { top: 16%; left: 80%; }

/* shimmering accent word */
.hero__accent { color: #f2c879; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__accent {
    background: linear-gradient(100deg, #e7a93f, #f4cf86, #9cc4de, #e7a93f);
    background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}

/* trust chips */
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin-top: 1.7rem; }
.hero__chips li { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; color: #e3e7ec;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .42rem .85rem;
  display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .04); }
.hero__chips li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amber); }

/* floating glass stat cards over the image */
.hero__art { position: relative; }
.hero__stat { position: absolute; z-index: 4; background: rgba(24, 26, 33, .68);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: .72rem .9rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--amber); }
.hero__stat span { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #cdd6dd; }
/* stat chips sit in the corners opposite the spark (top-left) and medallion (bottom-right) */
.hero__stat--a { top: 7%; right: -5%; }
.hero__stat--b { bottom: 9%; left: -5%; }
.hero__stat--b strong { color: var(--blue-soft); }
@media (max-width: 1080px) { .hero__stat { display: none; } }

/* cross-browser hardening */
.hero--xl .hero__grid > div, .hero__col { min-width: 0; }
.hero__media { background: linear-gradient(150deg, #3b3c46, #21232b); }
.hero__art { min-width: 0; }

/* scroll cue */
.hero__scroll { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  color: #cdd6dd; display: grid; place-items: center; gap: .25rem; font-family: var(--font-sans);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hero__scroll svg { width: 20px; height: 20px; }
.hero__scroll:hover { color: var(--amber); }
@media (max-width: 880px) { .hero__scroll { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__blob--amber { animation: hb-drift1 17s ease-in-out infinite; }
  .hero__blob--blue { animation: hb-drift2 21s ease-in-out infinite; }
  .hero__accent { animation: hb-shimmer 9s linear infinite; }
  .hero__dot { animation: hb-twinkle 4s ease-in-out infinite; }
  .hero__dot:nth-child(5) { animation-delay: .8s; }
  .hero__dot:nth-child(6) { animation-delay: 1.6s; }
  .hero__dot:nth-child(7) { animation-delay: 2.3s; }
  .hero__dot:nth-child(8) { animation-delay: 3s; }
  .hero__stat--a { animation: hb-float 7s ease-in-out infinite; }
  .hero__stat--b { animation: hb-float 8s ease-in-out infinite .6s; }
  .hero__scroll svg { animation: hb-bob 1.8s ease-in-out infinite; }
}
@keyframes hb-drift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-28px, 22px); } }
@keyframes hb-drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(26px, -20px); } }
@keyframes hb-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes hb-twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1); } }
@keyframes hb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes hb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ============================================================
   v6: pillar components (why-trust, review panel, related pills)
   ============================================================ */
.why-trust {
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--good);
  border-radius: 0 14px 14px 0; padding: 1.15rem 1.4rem; font-family: var(--font-sans);
}
.why-trust .eyebrow { display: block; margin-bottom: .6rem; }
.why-trust__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.why-trust__list li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.why-trust__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }
.why-trust a { font-weight: 600; }

.review-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.45rem; font-family: var(--font-sans); }
.review-panel .eyebrow { display: block; margin-bottom: .85rem; }
.review-panel__grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.8rem; }
@media (max-width: 560px) { .review-panel__grid { grid-template-columns: 1fr; } }
.review-panel__grid dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.review-panel__grid dd { margin: .15rem 0 0; font-size: .96rem; color: var(--ink); }

.related-cluster h2 { margin-bottom: .9rem; }
.relpills { display: flex; flex-wrap: wrap; gap: .55rem; }
.relpill {
  font-family: var(--font-sans); font-weight: 600; font-size: .9rem; text-decoration: none;
  color: var(--blue); background: var(--blue-tint); border: 1px solid color-mix(in srgb, var(--blue) 24%, transparent);
  padding: .42rem .85rem; border-radius: 999px; transition: background .15s, color .15s;
}
.relpill:hover { background: var(--blue); color: #fff; }

/* ============================================================
   v7: banded pillar hub layout + sticky on-page nav
   ============================================================ */
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 920px) { .pillar { grid-template-columns: 1fr; } }
.pillar__main { min-width: 0; max-width: 760px; }
.pillar__main > * + * { margin-top: 1.3rem; }
.pillar__main h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.18;
  margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); scroll-margin-top: 90px;
}
.pillar__main h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.2rem; }
.pillar__main h2::before { content: ""; display: block; width: 2rem; height: 3px; background: var(--amber); border-radius: 2px; margin-bottom: .75rem; }
.pillar__main h3 { margin-top: 1.5rem; }
.pillar__main p { color: var(--ink-2); }
.pillar__main ul, .pillar__main ol { padding-left: 1.3rem; }
.pillar__main li { margin-top: .5rem; color: var(--ink-2); }
.pillar__aside { position: sticky; top: 86px; display: grid; gap: 1.1rem; }
@media (max-width: 920px) { .pillar__aside { position: static; } }
.pillar__aside .toc { background: var(--surface); }

.pillar-hero { position: relative; overflow: hidden; }
.pillar-hero .article__meta { color: #c9cdd4; }
.pillar-hero .article__meta span { color: #c9cdd4; }
.pillar-byline { font-family: var(--font-sans); font-size: .9rem; color: #c9cdd4; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

.bandhead { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pillar-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 760px) { .pillar-two { grid-template-columns: 1fr; } }

/* break up long article bodies too (articles are single-column by design) */
.article__body h2 { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.6rem; }
.article__body > h2:first-of-type, .article__body .keytakeaways + h2 { border-top: 0; }
.article__body h2::before { content: ""; display: block; width: 2rem; height: 3px; background: var(--amber); border-radius: 2px; margin-bottom: .7rem; }
.article__body h2#faq::before, .article__body #sources-h::before { display: none; }

/* Shrink Network mentions as links */
a.brand__sub { text-decoration: none; }
a.brand__sub:hover { text-decoration: underline; }
a.brandline { text-decoration: none; color: #fff; }
a.brandline:hover { text-decoration: underline; }
.hero .eyebrow a, .eyebrow a { color: inherit; text-decoration: none; }
.hero .eyebrow a:hover, .eyebrow a:hover { text-decoration: underline; }
.idents { font-family: var(--font-sans); font-size: .9rem; color: var(--ink-3); }
.idents a { color: var(--blue); }
.brandwrap { display: inline-flex; flex-direction: column; line-height: 1.15; }

/* translate menu in footer network bar */
.langbar { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-family: var(--font-sans); font-size: .88rem; }
.langbar__label { color: var(--blue-soft); font-weight: 600; }
.langbar a { color: #d8d4cc; text-decoration: none; }
.langbar a:hover { color: #fff; text-decoration: underline; }
