/* ==========================================================================
   PLI — components.css  ·  LIQUID GLASS variant
   Header/nav, heroes, cards, service catalog, research hub, FAQ, stats,
   quotable blocks, footer — restyled as a glassmorphism system.
   Depends on base.css tokens. Mobile-first. Theme-aware (light + dark).
   ========================================================================== */

/* ---------- Header & navigation (glass bar) ---------- */
.site-header {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  backdrop-filter: blur(16px) saturate(1.7);
  border-bottom: 1px solid var(--glass-border-ink);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(10, 20, 40, 0.16), inset 0 1px 0 var(--glass-hi);
  border-bottom-color: var(--gold-deep);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: 0.6rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; filter: drop-shadow(0 3px 8px rgba(10,20,40,0.16)); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-fill-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border-ink);
  border-radius: 999px;
  color: var(--text-heading);
  font: 650 0.95rem var(--sans);
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold-deep); color: var(--gold-ink); }
@media (prefers-color-scheme: dark) { .nav-toggle:hover { color: var(--gold-bright); border-color: var(--gold); } }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
}
.site-nav a {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  color: var(--text-heading);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold-ink); background: rgba(212,175,90,0.10); }
.site-nav a[aria-current="page"] { color: var(--gold-ink); border-bottom-color: var(--gold); }
@media (prefers-color-scheme: dark) {
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-bright); }
}
.site-nav .nav-cta { margin-top: 0.3rem; }

.js .site-nav { display: none; width: 100%; }
.js .site-nav.open { display: block; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 0.15rem; padding: 0; width: auto; }
  .brand img { height: 46px; }
  .site-nav .nav-cta { margin-top: 0; margin-left: 0.5rem; }
  .site-nav .nav-cta a {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
    color: var(--cream); border-bottom: 0;
    padding: 0.5rem 1.1rem; border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 14px rgba(10,20,40,0.20);
  }
  .site-nav .nav-cta a:hover { color: #fff; }
}

/* ---------- Hero (home) — deep glass, dark in both themes ---------- */
.hero {
  background:
    radial-gradient(58rem 30rem at 88% -18%, rgba(212, 175, 90, 0.22), transparent 62%),
    radial-gradient(40rem 30rem at 6% 116%, rgba(80, 130, 220, 0.16), transparent 60%),
    linear-gradient(158deg, #1c3057 0%, #0e1a30 60%, #0a1526 100%);
  color: var(--on-navy);
  padding-block: var(--space-6) var(--space-5);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(212,175,90,0.55);
  box-shadow: inset 0 -30px 60px -30px rgba(0,0,0,0.5);
}
/* faint circuit grid + refractive sheen */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,90,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,90,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60rem 40rem at 80% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(60rem 40rem at 80% 0%, #000, transparent 70%);
  pointer-events: none;
}
/* specular light streak across the hero */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 46%, rgba(255,255,255,0.10) 50%, transparent 62%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}
.hero h1 { margin-bottom: var(--space-3); }

/* Glass plinth behind the decorative mark */
.hero-art {
  justify-self: center;
  max-width: 340px;
  opacity: 0.99;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

.hero .domains {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  margin-top: var(--space-3);
}
.hero .domains strong { color: var(--gold-bright); font-weight: 650; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-3); }

.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--dark-hairline);
}
.cred-strip .cred {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.9rem; color: var(--on-navy);
}
.cred-strip .cred b { color: var(--gold-bright); font-weight: 650; }
.cred-strip .cred svg { flex: none; }

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(46rem 24rem at 92% -30%, rgba(212, 175, 90, 0.18), transparent 60%),
    linear-gradient(158deg, #1b2f52, #0e1a30 78%);
  color: var(--on-navy);
  padding-block: var(--space-5) var(--space-4);
  border-bottom: 1px solid rgba(212,175,90,0.5);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -26px 50px -30px rgba(0,0,0,0.5);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 34%, rgba(255,255,255,0.06) 50%, transparent 64%);
  pointer-events: none;
}
.page-hero > .container, .page-hero > .container-narrow, .page-hero > .container-wide { position: relative; z-index: 1; }
.page-hero .lede { max-width: 62ch; }

/* Breadcrumb */
.breadcrumb {
  font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 0.9rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; max-width: none; }
.breadcrumb li { margin: 0; color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--gold); }
.breadcrumb a { color: var(--on-navy); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb [aria-current="page"] { color: var(--gold-bright); }

/* ---------- Bands ---------- */
.band-navy {
  background: var(--dark-glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  color: var(--on-navy);
  position: relative;
  border-block: 1px solid var(--dark-hairline);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
/* deep-navy underlay so the slab reads dark even where mesh is light */
.band-navy::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(20,34,58,0.94), rgba(10,20,40,0.96));
}
.band-sunk {
  background: var(--glass-fill-soft);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-block: 1px solid var(--hairline-soft);
}

/* ---------- Card grids ---------- */
.card-grid { display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 760px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  overflow: hidden;
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
/* gold top accent line */
.card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  opacity: 0.85;
}
.card h3 { margin-top: 0.4rem; position: relative; z-index: 1; }
.card > * { position: relative; z-index: 1; }
.card .card-cta { font-weight: 650; }
.card.hover-lift:hover { box-shadow: var(--glass-shadow-lg), inset 0 1px 0 var(--glass-hi); transform: translateY(-4px); border-color: var(--glass-border); }

.on-dark .card {
  background: rgba(255,255,255,0.055);
  border-color: var(--dark-glass-border);
  box-shadow: 0 12px 34px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.08);
}
.on-dark .card h3 { color: var(--cream); }
.on-dark .card p, .on-dark .card li { color: var(--on-navy); }

.arm-card { display: flex; flex-direction: column; }
.arm-card .card-cta { margin-top: auto; margin-bottom: 0.2rem; }
.arm-card .card-cta:last-child { margin-bottom: 0; }

/* ---------- Feature / value rows ---------- */
.feature-grid { display: grid; gap: var(--space-3) var(--space-4); }
@media (min-width: 820px) { .feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.feature .feature-ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 0.9rem;
  background: linear-gradient(160deg, rgba(212,175,90,0.28), rgba(212,175,90,0.10));
  border: 1px solid rgba(212,175,90,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 6px 16px rgba(168,132,58,0.18);
}
.on-dark .feature .feature-ico {
  background: linear-gradient(160deg, rgba(212,175,90,0.22), rgba(212,175,90,0.06));
  border-color: rgba(212,175,90,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 6px 16px rgba(0,0,0,0.3);
}
.feature h3 { font-size: 1.2rem; }

/* ---------- Service catalog ---------- */
.service-list { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .service-list { grid-template-columns: 1fr 1fr; } }

.service {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  overflow: hidden;
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  scroll-margin-top: 6rem;
}
.service > * { position: relative; z-index: 1; }
.service:hover { box-shadow: var(--glass-shadow-lg), inset 0 1px 0 var(--glass-hi); transform: translateY(-2px); }
.service .service-num {
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  color: var(--gold-ink); letter-spacing: 0.05em;
}
@media (prefers-color-scheme: dark) { .service .service-num { color: var(--gold-bright); } }
.service h3 { margin: 0.3rem 0 0.6rem; }
.service .service-what { color: var(--text-muted); font-size: 0.98rem; }
.service .service-deliver {
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--hairline);
  font-size: 0.94rem;
}
.service .service-deliver strong { display: block; margin-bottom: 0.3rem; color: var(--text-heading); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.service ul { margin-bottom: 0; }

/* Flagship service — deep glass, dramatic in both themes */
.service.flagship {
  grid-column: 1 / -1;
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(212,175,90,0.16), transparent 60%),
    linear-gradient(158deg, rgba(28,48,82,0.96), rgba(10,20,40,0.97));
  border: 1px solid var(--dark-glass-border);
  color: var(--on-navy);
  box-shadow: var(--glass-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
}
.service.flagship::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 36%, rgba(255,255,255,0.05) 50%, transparent 64%);
}
.service.flagship h3, .service.flagship .flagship-tag { color: var(--cream); }
.service.flagship .service-what { color: var(--on-navy); }
.service.flagship .service-num { color: var(--gold-bright); }
.service.flagship .service-deliver { border-top-color: var(--dark-hairline); }
.service.flagship .service-deliver strong { color: var(--gold-bright); }
.service.flagship li { color: var(--on-navy); }
.flagship-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-deep);
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  padding: 0.28rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
@media (min-width: 900px) {
  .service.flagship .flagship-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); align-items: start; }
  .service.flagship .service-deliver { border-top: 0; border-left: 1px solid var(--dark-hairline); padding-top: 0; padding-left: var(--space-4); margin-top: 0; }
}

/* ---------- Stats ---------- */
.stat-grid { display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { border-left: 3px solid var(--gold); padding-left: var(--space-2); }
.stat .stat-num {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-heading); line-height: 1.05;
}
.on-dark .stat .stat-num { color: var(--gold-bright); }
@media (prefers-color-scheme: dark) { .stat .stat-num { color: var(--gold-bright); } }
.stat .stat-label { font-family: var(--sans); font-weight: 650; margin-top: 0.3rem; color: var(--text-heading); }
.stat .stat-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }
.on-dark .stat .stat-label { color: var(--cream); }
.on-dark .stat .stat-note { color: var(--on-navy-muted); }

/* ---------- Quotable "answer" block ---------- */
.answer {
  position: relative;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-3);
  overflow: hidden;
  margin: var(--space-3) 0;
}
.answer > * { position: relative; z-index: 1; }
.answer > :last-child { margin-bottom: 0; }
.answer .answer-q { font-family: var(--serif); font-weight: 700; color: var(--text-heading); font-size: 1.15rem; margin-bottom: 0.5rem; }
.on-dark .answer {
  background: rgba(255,255,255,0.055); border-color: var(--dark-glass-border); border-left-color: var(--gold);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}
.on-dark .answer .answer-q { color: var(--cream); }

/* Pull quote */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.35;
  color: var(--text-heading);
  border-left: 4px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: var(--space-4) 0;
  max-width: 46ch;
}
.on-dark .pull-quote { color: var(--cream); }
.pull-quote cite { display: block; font-family: var(--sans); font-size: 0.9rem; font-style: normal; color: var(--text-muted); margin-top: 0.7rem; letter-spacing: 0.02em; }
.on-dark .pull-quote cite { color: var(--on-navy-muted); }

/* ---------- FAQ (glass panel accordion) ---------- */
.faq {
  max-width: 60rem; margin-inline: auto;
  border-radius: var(--radius-lg);
  padding: 0.4rem var(--space-3);
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--glass-border-ink);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-hi);
}
.faq details { border-bottom: 1px solid var(--hairline); padding: 0.3rem 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 2.2rem 0.9rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0.2rem; top: 0.75rem;
  font-family: var(--sans); font-weight: 400; font-size: 1.5rem;
  color: var(--gold-deep); transition: transform var(--t-med) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-ink); }
@media (prefers-color-scheme: dark) { .faq summary:hover { color: var(--gold-bright); } }
.faq .faq-a { padding: 0 0 1rem; }
.faq .faq-a > :last-child { margin-bottom: 0; }
.on-dark .faq {
  background: rgba(255,255,255,0.05);
  border-color: var(--dark-glass-border);
}
.on-dark .faq details { border-color: var(--dark-hairline); }
.on-dark .faq summary { color: var(--cream); }

/* ---------- Research / article pages ---------- */
.article-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--space-2);
}
.on-dark .article-meta { color: var(--gold-bright); }
@media (prefers-color-scheme: dark) { .article-meta { color: var(--gold-bright); } }

.article-body { font-size: 1.075rem; }
.article-body h2 { margin-top: var(--space-4); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: var(--space-3); }
.article-body > p, .article-body > ul, .article-body > ol { max-width: var(--measure); }
.article-body figure { margin: var(--space-3) 0; }

.article-head-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; align-items: center;
  font-family: var(--sans); font-size: 0.88rem; color: var(--on-navy-muted);
  margin-top: var(--space-2);
}
.article-head-meta .tag { color: var(--navy-deep); }

/* Post list / hub */
.post-list { display: grid; gap: var(--space-3); }
@media (min-width: 780px) { .post-list.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .post-list.cols-3 { grid-template-columns: repeat(3,1fr); } }

.post-card { display: flex; flex-direction: column; }
.post-card .post-tags { margin-top: auto; padding-top: 0.8rem; }
.post-card h3 { font-size: 1.22rem; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold-deep); }

/* Tag chips (glass) */
.tag {
  display: inline-block;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-ink);
  background: linear-gradient(160deg, rgba(212,175,90,0.22), rgba(212,175,90,0.10));
  border: 1px solid rgba(212,175,90,0.4);
  padding: 0.2rem 0.6rem; border-radius: 999px;
  margin: 0 0.35rem 0.35rem 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
@media (prefers-color-scheme: dark) {
  .tag { color: var(--gold-bright); background: linear-gradient(160deg, rgba(212,175,90,0.16), rgba(212,175,90,0.05)); border-color: rgba(212,175,90,0.3); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }
}
.on-dark .tag { color: var(--gold-bright); background: rgba(212,175,90,0.1); border-color: rgba(212,175,90,0.3); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }

/* Hub section navigation (glass pills) */
.hub-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-3); }
.hub-nav a {
  font-family: var(--sans); font-weight: 650; font-size: 0.92rem; text-decoration: none;
  padding: 0.5rem 1.05rem; border-radius: 999px;
  color: var(--text-heading);
}
.hub-nav a:hover { border-color: var(--gold-deep); color: var(--gold-ink); }
@media (prefers-color-scheme: dark) { .hub-nav a:hover { color: var(--gold-bright); border-color: var(--gold); } }

/* Source list */
.source-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; max-width: none; }
.source-list li { border-bottom: 1px solid var(--hairline); margin: 0; padding: 0.6rem 0; }
.source-group { margin-top: var(--space-4); }
.source-group h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }

/* Notice / callout (glass) */
.notice {
  position: relative;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-2) var(--space-3);
  margin: var(--space-3) 0;
  background: linear-gradient(160deg, rgba(212,175,90,0.16), rgba(212,175,90,0.07)) !important;
}
.notice p:last-child { margin-bottom: 0; }
.on-dark .notice { background: rgba(212,175,90,0.12) !important; border-color: var(--gold); }

/* Disclaimer box (glass, muted) */
.disclaimer {
  font-size: 0.92rem; color: var(--text-muted);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin: var(--space-3) 0;
  background: var(--glass-fill-soft);
}
.disclaimer p { max-width: none; margin-bottom: 0.5rem; }
.disclaimer p:last-child { margin-bottom: 0; }

/* Tables (glass scroll) */
.table-scroll { margin: var(--space-3) 0; overflow-x: auto; border-radius: var(--radius); }
.article-body table { border-collapse: collapse; font-family: var(--sans); font-size: 0.92rem; min-width: 40rem; width: 100%; }
.article-body th, .article-body td { border-bottom: 1px solid var(--hairline); padding: 0.7rem 0.8rem; text-align: left; vertical-align: top; }
.article-body thead th { background: rgba(212,175,90,0.12); color: var(--text-heading); font-weight: 700; }

/* Numbered process list */
.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
@media (min-width: 860px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { counter-increment: step; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700;
  color: var(--gold-deep); border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.4rem; margin-bottom: 0.7rem;
}
.on-dark .process li::before { color: var(--gold-bright); border-color: var(--dark-hairline); }
@media (prefers-color-scheme: dark) { .process li::before { color: var(--gold-bright); } }
.process h3 { font-size: 1.12rem; }

/* Definition-style fact rows */
.fact-list { border-top: 1px solid var(--hairline); max-width: var(--measure); margin: 0; }
.fact-list div { display: grid; gap: 0.2rem 1.5rem; padding-block: 0.95rem; border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) { .fact-list div { grid-template-columns: 13rem 1fr; } }
.fact-list dt { font-weight: 700; color: var(--text-heading); font-family: var(--serif); }
.fact-list dd { margin: 0; color: var(--text-muted); }

/* Founder photo (glass frame) */
.founder-photo { margin: 0; }
.founder-photo img { border-radius: var(--radius-lg); padding: 6px; }
.founder-photo figcaption { color: var(--text-muted); font-family: var(--sans); font-size: 0.9rem; margin-top: 0.6rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.timeline li { position: relative; padding: 0 0 var(--space-3) var(--space-3); border-left: 2px solid var(--hairline); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg-base); box-shadow: 0 0 10px rgba(212,175,90,0.6); }
.timeline .tl-year { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
@media (prefers-color-scheme: dark) { .timeline .tl-year { color: var(--gold-bright); } }
.timeline h3 { margin: 0.2rem 0 0.4rem; font-size: 1.15rem; }

/* CTA band content */
.cta-band { text-align: center; }
.cta-band .cta-row { justify-content: center; }
.cta-band p { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(12,22,42,0.96), rgba(8,16,32,0.98));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--on-navy-muted);
  padding-block: var(--space-4) var(--space-3);
  margin-top: 0;
  border-top: 1px solid rgba(212,175,90,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: var(--space-3) var(--space-4); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1.2fr; } }
.site-footer h4 {
  color: var(--cream); font-size: 0.85rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: var(--sans); margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--on-navy); text-decoration-color: var(--gold-deep); }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .brand img { height: 40px; }
.site-footer .footer-about { max-width: 34ch; margin-top: 0.9rem; }
.site-footer .footer-domains { margin-top: 0.7rem; font-size: 0.88rem; }
.site-footer .footer-domains strong { color: var(--gold-bright); }

.footer-legal {
  border-top: 1px solid var(--dark-hairline);
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  font-size: 0.84rem;
  color: #8793a8;
}
.footer-legal p { max-width: none; margin-bottom: 0.5rem; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Reveal animation (progressive, motion-safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
