/* =========================================================================
   Hubrax — Design System
   Credibility-first "Explainer Hub". Clean editorial reference publication.
   Source Serif 4 headlines · Source Sans 3 body · IBM Plex Mono micro-labels.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper: #fbfcfd;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --ink: #14202e;
  --ink-soft: #3a4757;
  --muted: #677687;
  --faint: #8a97a6;
  --line: rgba(20, 32, 46, 0.10);
  --line-strong: rgba(20, 32, 46, 0.18);
  --accent: #1e56c8;
  --accent-strong: #1742a0;
  --accent-soft: #e7eefb;
  --verify: #1a7f5a;
  --verify-soft: #e3f3ec;
  --danger: #b3402e;

  --maxw: 1180px;
  --readw: 720px;
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20,32,46,.04), 0 1px 1px rgba(20,32,46,.03);
  --shadow: 0 1px 2px rgba(20,32,46,.04), 0 12px 32px -12px rgba(20,32,46,.16);
  --shadow-lg: 0 2px 6px rgba(20,32,46,.05), 0 32px 64px -24px rgba(20,32,46,.28);
  --ink-band: #11203a;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(.83rem, .80rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.30rem + .8vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.55rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.75rem + 2.6vw, 3.6rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.6vw, 4.4rem);
}

:root[data-theme="dark"] {
  --paper: #0e151e;
  --surface: #151e29;
  --surface-2: #1d2937;
  --ink: #e8edf3;
  --ink-soft: #c7d0db;
  --muted: #93a1b0;
  --faint: #7c8b9b;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #5b8def;
  --accent-strong: #7aa3f2;
  --accent-soft: #16243d;
  --verify: #3fae82;
  --verify-soft: #14271f;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 14px 34px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
}

/* ---------- 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; } * { animation: none !important; transition: none !important; } }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: hidden;
}
img, picture, video, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: #fff; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.4rem 0; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.wrap-read { width: min(100% - 2.4rem, var(--readw)); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-sm { padding: clamp(2rem, 4vw, 3rem) 0; }
.stack > * + * { margin-top: 1.1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); font-weight: 400; }
.eyebrow { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .45rem; }
.eyebrow svg { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: var(--step--1); letter-spacing: .01em;
  padding: .72rem 1.3rem; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-strong); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.4rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .58rem; font-family: var(--serif); font-size: 1.42rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: .3rem; margin-left: .6rem; }
.nav-links a {
  font-size: .94rem; font-weight: 480; color: var(--ink-soft);
  padding: .5rem .72rem; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: transparent; border: 1px solid transparent; color: var(--ink-soft); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-toggle { display: none; }

/* mobile nav */
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .mobile-menu {
    display: block; position: fixed; inset: 70px 0 auto 0; z-index: 49;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.6rem; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s; box-shadow: var(--shadow);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a { display: block; padding: .85rem .4rem; font-size: 1.06rem; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu a:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(2rem, 3vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.hero h1 { font-size: var(--step-5); margin: .8rem 0 1rem; }
.hero .lead { max-width: 46ch; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .8rem 1rem; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; max-width: 260px;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 20px; height: 20px; }
.hero-badge b { font-size: .92rem; }
.hero-badge span { font-size: .8rem; color: var(--muted); display: block; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16/10; }
  .hero-badge { left: 12px; }
}

/* ---------- Article cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.4rem, 2.6vw, 2.2rem); }
.card { display: flex; flex-direction: column; }
.card a.thumb { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/2; background: var(--surface-2); }
.card a.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.card:hover a.thumb img { transform: scale(1.045); }
.card .meta { display: flex; align-items: center; gap: .55rem; margin: 1rem 0 .55rem; font-size: .78rem; font-family: var(--mono); }
.cat-tag { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: var(--accent); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.card h3 { font-size: var(--step-1); line-height: 1.22; }
.card h3 a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.card:hover h3 a { background-size: 100% 1.5px; }
.card p.dek { color: var(--muted); font-size: .94rem; margin-top: .5rem; line-height: 1.55; }
.card .byline { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); }
.avatar { width: 26px; height: 26px; border-radius: 50%; flex: none; }

/* Featured / large card */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature .thumb { aspect-ratio: 16/11; border-radius: 0; }
.feature .feature-body { padding: clamp(1.4rem, 3vw, 2.6rem); }
.feature h2 { font-size: var(--step-3); margin: .7rem 0 .8rem; }
.feature .dek { color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature .thumb { aspect-ratio: 16/9; } }

/* ---------- Section heading ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.sec-head .titles h2 { font-size: var(--step-2); }
.sec-head p { color: var(--muted); margin-top: .3rem; }
.link-arrow { font-weight: 550; font-size: .92rem; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: .6rem; flex-wrap: wrap; }
.chip { font-size: .86rem; font-weight: 500; padding: .5rem .95rem; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-current="page"], .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Article page ---------- */
.article-head { padding: clamp(2.2rem, 4vw, 3.4rem) 0 0; }
.breadcrumb { font-family: var(--mono); font-size: .76rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .5; }
.article-head h1 { font-size: var(--step-4); margin: .7rem 0 1rem; }
.article-head .lead { max-width: 60ch; }
.article-byline { display: flex; align-items: center; gap: .8rem; margin: 1.6rem 0; flex-wrap: wrap; }
.article-byline .avatar { width: 46px; height: 46px; }
.article-byline .bi b { font-weight: 600; font-size: .96rem; }
.article-byline .bi span { display: block; font-family: var(--mono); font-size: .78rem; color: var(--accent); }
.share { margin-left: auto; display: flex; gap: .4rem; }
.figure-hero { margin: 1.4rem auto 0; }
.figure-hero img { border-radius: var(--radius-lg); aspect-ratio: 16/9; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
figcaption { font-size: .8rem; color: var(--faint); margin-top: .6rem; text-align: center; }

.prose { font-size: 1.12rem; line-height: 1.78; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.35rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.8rem; color: var(--ink); }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; color: var(--ink); }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 640; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: .55rem; padding-left: .3rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1.4rem; margin-left: 0;
  font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; color: var(--ink); font-style: italic;
}
.prose img { border-radius: var(--radius); margin-block: 1.8rem; }
.prose figure img { margin-bottom: .4rem; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .15em .4em; border-radius: 5px; }
.prose pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose h2 a.anchor, .prose h3 a.anchor { opacity: 0; margin-left: .4rem; color: var(--faint); text-decoration: none; font-size: .8em; }
.prose h2:hover a.anchor, .prose h3:hover a.anchor { opacity: 1; }

.callout { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.callout strong { color: var(--accent-strong); }
.key-takeaways { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.key-takeaways h2 { margin-top: 0 !important; font-size: var(--step-1); }
.key-takeaways ul { margin-top: .8rem; }

.tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2.6rem; }
.tag { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 100px; }
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* author box */
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; margin-top: 2.8rem; }
.author-box .avatar { width: 64px; height: 64px; }
.author-box b { font-size: 1.05rem; }
.author-box .role { font-family: var(--mono); font-size: .76rem; color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.author-box p { color: var(--muted); font-size: .94rem; margin-top: .5rem; }

/* TOC */
.toc { font-size: .9rem; }
.toc-title { font-family: var(--mono); font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: .8rem; }
.toc a { display: block; padding: .35rem 0; color: var(--muted); border-left: 2px solid var(--line); padding-left: .9rem; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--accent); border-color: var(--accent); }

.article-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1040px) {
  .article-layout { grid-template-columns: 1fr 230px; align-items: start; }
  .article-aside { position: sticky; top: 92px; }
}

/* prev/next */
.read-next { border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 2.5rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.4rem); position: relative; overflow: hidden; }
.newsletter h2 { color: #fff; font-size: var(--step-2); }
.newsletter p { color: rgba(255,255,255,.82); max-width: 48ch; margin-top: .6rem; }
.newsletter form { display: flex; gap: .6rem; margin-top: 1.4rem; max-width: 440px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; padding: .8rem 1.1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.7); }
.newsletter .btn { background: #fff; color: var(--accent-strong); }
.newsletter .btn:hover { background: #f1f1f1; }
.newsletter small { display: block; margin-top: .8rem; color: rgba(255,255,255,.7); font-size: .78rem; }
.newsletter .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.12); right: -90px; top: -120px; filter: blur(10px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: clamp(3rem, 6vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: clamp(2.6rem, 5vw, 4rem) 0 2.4rem; }
.footer-grid h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 1rem; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { display: block; padding: .5rem 0; color: var(--muted); font-size: .92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: .9rem 0 1.1rem; max-width: 34ch; }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.social a:hover { border-color: var(--accent); color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Page header (static pages) ---------- */
.page-head { padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(1.4rem, 2vw, 2rem); border-bottom: 1px solid var(--line); }
.page-head .eyebrow { margin-bottom: .8rem; }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; }
.page-head .lead { max-width: 60ch; margin-top: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 550; margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin-bottom: 1rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .dot { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-card .dot svg { width: 20px; height: 20px; }
.contact-card b { font-size: .96rem; }
.contact-card a, .contact-card span { color: var(--muted); font-size: .92rem; }
.contact-card a:hover { color: var(--accent); }

/* ---------- Author archive header ---------- */
.author-hero { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.author-hero .avatar { width: 92px; height: 92px; }
.author-hero .role { font-family: var(--mono); color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.author-hero p { color: var(--muted); max-width: 56ch; margin-top: .5rem; }

/* ---------- Misc ---------- */
.pill-row { display: flex; gap: 1.4rem; flex-wrap: wrap; color: var(--muted); font-size: .82rem; font-family: var(--mono); }
.pill-row .item { display: flex; align-items: center; gap: .5rem; }
.pill-row svg { width: 17px; height: 17px; color: var(--accent); }
.notice { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem; color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: .8rem 1.3rem; border-radius: 100px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s; z-index: 100; font-size: .9rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.value-card .dot { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.value-card .dot svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.18rem; }
.value-card p { color: var(--muted); font-size: .92rem; margin-top: .5rem; }

.stat-row { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: var(--step-3); display: block; line-height: 1; color: var(--accent); }
.stat span { font-family: var(--mono); color: var(--muted); font-size: .8rem; letter-spacing: .02em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }

/* progress bar */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 60; transition: width .1s linear; }

/* visually hidden (accessible) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* cookie consent banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 30px -16px rgba(23,24,27,.3); padding: 1rem 0; }
.consent[hidden] { display: none; }
.consent-inner { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.consent-inner p { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1 1 320px; line-height: 1.5; }
.consent-inner a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: .6rem; flex: none; }
.consent-actions .btn { padding: .6rem 1.2rem; }
@media (max-width: 600px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* =========================================================================
   Hubrax — Explainer Hub home components
   ========================================================================= */

/* ---------- 1. Masthead ---------- */
.masthead { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.4rem, 4vw, 3.4rem); border-bottom: 1px solid var(--line); }
.masthead .eyebrow { margin-bottom: 1rem; }
.masthead h1 { font-size: var(--step-5); max-width: 16ch; margin-bottom: 1.1rem; }
.masthead .lead { max-width: 60ch; }
.masthead-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.8rem; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; margin-top: 2rem;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.trust-item { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); }
.trust-item svg { width: 18px; height: 18px; flex: none; color: var(--verify); }

/* ---------- 2. Lead explainer (featured) ---------- */
.lead-explainer { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.lead-explainer .thumb { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.lead-explainer .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.lead-explainer:hover .thumb img { transform: scale(1.04); }
.lead-explainer .lead-body { padding: clamp(1.6rem, 3.4vw, 2.8rem); display: flex; flex-direction: column; }
.lead-explainer h2 { font-size: var(--step-3); margin: .55rem 0 .7rem; }
.lead-explainer h2 a:hover { color: var(--accent); }
.lead-explainer .dek { color: var(--ink-soft); font-size: 1.04rem; }
.lead-explainer .lead-byline { display: flex; align-items: center; gap: .65rem; margin-top: 1.3rem; }
.lead-explainer .lead-byline .avatar { width: 40px; height: 40px; }
.lead-explainer .lead-byline b { font-size: .92rem; display: block; }
.lead-explainer .lead-byline span { font-family: var(--mono); font-size: .76rem; color: var(--accent); }
.lead-explainer .read-link { margin-top: 1.5rem; }

.reviewed-badge {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .03em;
  color: var(--verify); background: var(--verify-soft);
  border: 1px solid color-mix(in srgb, var(--verify) 24%, transparent);
  padding: .34rem .7rem; border-radius: 100px; margin-bottom: 1rem;
}
.reviewed-badge svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 820px) { .lead-explainer { grid-template-columns: 1fr; } .lead-explainer .thumb { aspect-ratio: 16/9; } }

/* ---------- 3. Pillars (categories) ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.pillar {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pillar:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar .chip-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.1rem; }
.pillar .chip-icon svg { width: 23px; height: 23px; }
.pillar h3 { font-size: 1.22rem; line-height: 1.2; }
.pillar p { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.pillar .count { font-family: var(--mono); font-size: .74rem; color: var(--faint); letter-spacing: .03em; margin-top: 1rem; }
.pillar .link-arrow { margin-top: .9rem; }

/* ---------- 4. Standards band ---------- */
.standards { background: var(--surface-2); }
.standards .lead { max-width: 56ch; margin-top: .7rem; }
.standards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin: 2.2rem 0 1.8rem; }
.standard { display: flex; gap: .9rem; align-items: flex-start; }
.standard .s-icon { width: 38px; height: 38px; flex: none; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; }
.standard .s-icon svg { width: 19px; height: 19px; }
.standard b { display: block; font-size: 1rem; color: var(--ink); }
.standard span { color: var(--muted); font-size: .9rem; display: block; margin-top: .2rem; line-height: 1.45; }

/* ---------- 5. Team / experts ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.expert-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; text-align: center; align-items: center;
}
.expert-card .avatar { width: 76px; height: 76px; margin-bottom: 1rem; }
.expert-card h3 { font-size: 1.18rem; }
.expert-card .role { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-top: .25rem; }
.expert-card p { color: var(--muted); font-size: .9rem; margin-top: .7rem; line-height: 1.5; }
.expert-card .link-arrow { margin-top: 1rem; }

/* ---------- Article trust note ---------- */
.trust-note { font-family: var(--mono); font-size: .76rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; margin: 1rem 0 .2rem; padding: .5rem .8rem; background: var(--verify-soft); border: 1px solid color-mix(in srgb, var(--verify) 20%, transparent); border-radius: var(--radius-sm); }
.trust-note svg { width: 15px; height: 15px; flex: none; color: var(--verify); }

/* =========================================================================
   Hubrax — PREMIUM home (body.home only)
   Rotating hero carousel, ink standards band, curated picks, scroll reveal.
   ========================================================================= */

/* ---------- Premium type & rhythm on the home ---------- */
body.home main { --section-pad: clamp(3.4rem, 7vw, 6.5rem); }
body.home .section { padding: var(--section-pad) 0; }
body.home .sec-head .titles h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -.018em; }

/* mono micro-kicker with a 24px leading accent rule */
body.home .eyebrow::before {
  content: ""; width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent));
  flex: none; display: inline-block;
}

/* ---------- 1. Hero carousel ---------- */
.hero-carousel { padding-top: clamp(1.6rem, 3vw, 2.6rem); padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.carousel-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--ink-band);
}
.carousel-frame::after { /* inner ring */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.slides { position: relative; aspect-ratio: 16/8; }
@media (max-width: 760px) { .slides { aspect-ratio: 4/5; } }

.slide {
  position: absolute; inset: 0; display: block; color: #fff;
  opacity: 0; visibility: hidden; transform: scale(1.03);
  transition: opacity 1s cubic-bezier(.4,0,.15,1), transform 1.2s cubic-bezier(.22,1,.36,1), visibility 0s linear 1s;
  text-decoration: none;
}
.slide.is-active {
  opacity: 1; visibility: visible; transform: scale(1); z-index: 2;
  transition: opacity 1s cubic-bezier(.4,0,.15,1), transform 1.2s cubic-bezier(.22,1,.36,1), visibility 0s linear 0s;
}
.slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 8s ease-out;
}
.slide.is-active .slide-img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }

/* Staggered content entrance — overlay children fade + rise in sequence on activation. */
.slide .slide-body > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.slide.is-active .slide-body > * { opacity: 1; transform: none; }
.slide.is-active .slide-body > *:nth-child(1) { transition-delay: .12s; }
.slide.is-active .slide-body > *:nth-child(2) { transition-delay: .20s; }
.slide.is-active .slide-body > *:nth-child(3) { transition-delay: .28s; }
.slide.is-active .slide-body > *:nth-child(4) { transition-delay: .36s; }
.slide.is-active .slide-body > *:nth-child(5) { transition-delay: .44s; }
.slide.is-active .slide-body > *:nth-child(6) { transition-delay: .52s; }

.slide-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,30,.05) 0%, rgba(10,18,30,.35) 45%, rgba(10,18,30,.9) 100%),
    linear-gradient(95deg, rgba(10,18,30,.55) 0%, rgba(10,18,30,0) 55%);
}
.slide-body {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  padding: clamp(1.5rem, 4vw, 3.2rem); max-width: 760px;
}
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
}
.slide-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }
.slide-title {
  font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.018em;
  color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); text-wrap: balance;
  text-shadow: 0 2px 18px rgba(8,14,24,.45);
}
.slide-dek { color: rgba(255,255,255,.86); font-size: clamp(.96rem, .9rem + .3vw, 1.1rem); max-width: 56ch; line-height: 1.5; }
.slide .reviewed-badge { color: #d6f4e6; background: rgba(26,127,90,.28); border-color: rgba(120,220,180,.5); margin: .3rem 0 0; }
.slide-byline { display: inline-flex; align-items: center; gap: .6rem; margin-top: .3rem; }
.slide-byline .avatar { width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,.7); }
.slide-byline b { display: block; font-size: .9rem; color: #fff; }
.slide-byline .role { font-family: var(--mono); font-size: .73rem; color: rgba(255,255,255,.72); }
.slide-cue { color: #fff; margin-top: .5rem; font-weight: 600; }
.slide-cue svg { transition: transform .2s; }
.slide:hover .slide-cue svg { transform: translateX(4px); }

/* carousel controls — refined circular arrows */
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  background: rgba(12,20,32,.34); color: #fff; cursor: pointer;
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 6px 22px rgba(8,14,24,.28);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.carousel-nav:hover { background: rgba(12,20,32,.72); border-color: rgba(255,255,255,.65); transform: translateY(-50%) scale(1.06); }
.carousel-nav:active { transform: translateY(-50%) scale(.96); }
.carousel-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.carousel-nav svg { width: 20px; height: 20px; }
.carousel-prev { left: clamp(.8rem, 2vw, 1.4rem); }
.carousel-prev svg { transform: rotate(180deg); }
.carousel-next { right: clamp(.8rem, 2vw, 1.4rem); }
@media (max-width: 600px) { .carousel-nav { width: 38px; height: 38px; } }

/* Progress-fill keyframe — drives the active indicator's 0→100% bar over the auto-advance interval. */
@keyframes carousel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Dots (mobile-first indicators, hidden on desktop where the thumb rail shows) */
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: clamp(.9rem, 2vw, 1.4rem); z-index: 4;
  display: flex; justify-content: center; gap: .5rem; padding: 0 1rem;
}
.carousel-dots .dot {
  position: relative; overflow: hidden;
  width: 26px; height: 5px; border-radius: 100px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.4); transition: background .2s, width .25s;
}
.carousel-dots .dot:hover { background: rgba(255,255,255,.7); }
.carousel-dots .dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.carousel-dots .dot.is-active { background: rgba(255,255,255,.35); width: 40px; }
.dot-progress {
  position: absolute; inset: 0; border-radius: inherit; background: #fff;
  transform: scaleX(0); transform-origin: left center;
}
.carousel-dots .dot.is-active .dot-progress {
  animation: carousel-progress var(--carousel-interval, 6000ms) linear forwards;
  animation-play-state: var(--carousel-play, running);
}

/* Thumbnail navigation rail (desktop) + mono counter */
.carousel-rail { display: none; }
@media (min-width: 721px) {
  .carousel-dots { display: none; }
  .carousel-rail {
    display: flex; align-items: center; gap: 1rem;
    margin-top: clamp(.8rem, 1.6vw, 1.1rem);
  }
}
.carousel-thumbs { display: flex; gap: .6rem; flex: 1 1 auto; min-width: 0; }
.thumb {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .6rem; flex: 1 1 0; min-width: 0;
  padding: .5rem .7rem; cursor: pointer; text-align: left;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.thumb:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-1px); }
.thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.thumb-media {
  flex: none; width: 52px; height: 36px; border-radius: 7px; overflow: hidden;
  background: var(--line);
}
.thumb-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-title {
  flex: 1 1 auto; min-width: 0;
  font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.thumb-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 100px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
}
.thumb.is-active .thumb-progress {
  animation: carousel-progress var(--carousel-interval, 6000ms) linear forwards;
  animation-play-state: var(--carousel-play, running);
}
@media (max-width: 900px) { .carousel-thumbs .thumb-title { display: none; } .thumb { flex: 0 0 auto; } }
.carousel-counter {
  flex: none; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em;
  color: var(--muted); white-space: nowrap;
}
.carousel-counter b { color: var(--ink); font-weight: 600; }

/* ---------- Trust bar (full-width under carousel) ---------- */
.trust-bar { padding: clamp(1.2rem, 2.4vw, 1.8rem) 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-bar .trust-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.6rem;
  margin: 0; padding: 0; border: none;
}
.trust-bar .trust-item { flex: 1 1 auto; justify-content: center; position: relative; }
.trust-bar .trust-item + .trust-item::before {
  content: ""; position: absolute; left: -.8rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px; background: var(--line);
}
@media (max-width: 760px) {
  .trust-bar .trust-strip { justify-content: flex-start; }
  .trust-bar .trust-item { flex: 1 1 44%; justify-content: flex-start; }
  .trust-bar .trust-item + .trust-item::before { display: none; }
}

/* ---------- 2. Pillars (premium, image-backed) ---------- */
.pillar { padding: 0; overflow: hidden; }
.pillar:hover { box-shadow: var(--shadow-lg); }
.pillar-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pillar:hover .pillar-media img { transform: scale(1.06); }
.pillar-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,30,0) 40%, rgba(10,18,30,.4) 100%); }
.pillar-media .chip-icon {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; margin: 0;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--accent);
  display: grid; place-items: center; box-shadow: var(--shadow);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.pillar-media .chip-icon svg { width: 23px; height: 23px; }
.pillar-body { display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.pillar-body h3 { font-size: 1.22rem; line-height: 1.2; }

/* ---------- 3. Editor's picks (curated numbered list) ---------- */
.editors-picks .picks-list {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.pick {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.2rem, 3vw, 2rem);
  border-top: 1px solid var(--line); transition: background .18s;
}
.pick:first-child { border-top: none; }
.pick:hover { background: var(--surface-2); }
.pick-num {
  font-family: var(--mono); font-weight: 400; line-height: 1;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); color: var(--faint);
  flex: none; width: 2.4ch; text-align: right; font-feature-settings: "tnum";
  transition: color .18s;
}
.pick:hover .pick-num { color: var(--accent); }
.pick-body { flex: 1; min-width: 0; }
.pick-title { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.25; color: var(--ink); letter-spacing: -.012em; }
.pick:hover .pick-title { color: var(--accent); }
.pick-meta { display: flex; align-items: center; gap: .55rem; margin-top: .45rem; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.pick-cue { flex: none; color: var(--faint); transition: transform .2s, color .18s; }
.pick-cue svg { width: 18px; height: 18px; }
.pick:hover .pick-cue { color: var(--accent); transform: translateX(4px); }

/* ---------- 4. Standards — deep ink band (credibility centrepiece) ---------- */
.standards { position: relative; background: var(--ink-band); color: #eef3fb; overflow: hidden; isolation: isolate; }
.standards-glow {
  position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%;
  top: -260px; right: -160px; pointer-events: none;
  background: radial-gradient(circle, rgba(91,141,239,.32) 0%, rgba(91,141,239,0) 70%);
  filter: blur(8px);
}
.standards .eyebrow { color: #9fc1ff; }
.standards .eyebrow::before { background: linear-gradient(90deg, #5b8def, rgba(91,141,239,.3)); }
.standards .eyebrow svg { color: #9fc1ff; }
.standards h2 { color: #fff; }
.standards .lead { color: rgba(255,255,255,.78); }
.standards .standard b { color: #fff; }
.standards .standard span { color: rgba(255,255,255,.66); }
.standards .standard .s-icon {
  background: rgba(63,174,130,.18); border: 1px solid rgba(63,174,130,.5); color: #5fd6a5;
}
.standards .btn-primary { background: #fff; color: var(--ink-band); }
.standards .btn-primary:hover { background: #eef3fb; }

/* ---------- Scroll reveal (home only, reduced-motion-safe) ---------- */
body.home .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
body.home .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.home .reveal { opacity: 1; transform: none; }
  .slide.is-active .slide-img { animation: none; }
  .slide-img { transform: none; }
  /* Carousel: no scale, no Ken-Burns, no stagger transforms, no progress fill — shown instantly. */
  .slide { transform: none; transition: opacity .3s linear, visibility 0s linear; }
  .slide.is-active { transform: none; transition: opacity .3s linear; }
  .slide .slide-body > *,
  .slide.is-active .slide-body > * { opacity: 1; transform: none; transition: none; transition-delay: 0s; }
  .dot-progress, .thumb-progress { animation: none !important; transform: scaleX(0); }
}
