/* Alkemya Luxembourg NODE-22 — refined design system */

:root {
  --void: #0A0F1E;
  --deep: #131A2E;
  --surface: #1A2138;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --gold: #C8A96E;
  --gold-glow: rgba(200,169,110,0.15);
  --text: #ECE8DF;
  --text-sub: #B0B5C4;
  --text-dim: #7E8497;
  --success: #6BAA7F;
  --warning: #D9A85F;
  --danger: #C77A5A;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --mono: 'JetBrains Mono', 'Menlo', monospace;

  /* KQAS state design tokens — the "accent" family is what changes per state.
     Everything else (surface, void, text, mono) stays constant across the site
     so the institutional identity remains coherent. */
  --accent: var(--gold);
  --accent-glow: var(--gold-glow);
  --accent-rgb: 200, 169, 110;  /* consumed by motion.js and gradient overlays */
  --hero-tint: rgba(10, 15, 30, 0.55);  /* mid-scrim over hero image, for text legibility */
}

/* --- Per-state palette variations (a restrained shift, not a total rebrand).
       We override --gold itself so every existing accent surface (nav hover,
       eyebrow labels, links, borders, badges) adopts the state color without
       having to hunt through the whole cascade. */
html[data-state="material"] {
  --gold: #8FB8C4;
  --gold-glow: rgba(143, 184, 196, 0.18);
  --accent: #8FB8C4;
  --accent-glow: rgba(143, 184, 196, 0.18);
  --accent-rgb: 143, 184, 196;
  --hero-tint: rgba(10, 20, 26, 0.50);
}
html[data-state="commercial"] {
  --gold: #E8A96B;
  --gold-glow: rgba(232, 169, 107, 0.15);
  --accent: #E8A96B;
  --accent-glow: rgba(232, 169, 107, 0.15);
  --accent-rgb: 232, 169, 107;
  --hero-tint: rgba(20, 15, 10, 0.50);
}
html[data-state="capital"] {
  --gold: #7B99E8;
  --gold-glow: rgba(123, 153, 232, 0.16);
  --accent: #7B99E8;
  --accent-glow: rgba(123, 153, 232, 0.16);
  --accent-rgb: 123, 153, 232;
  --hero-tint: rgba(10, 12, 24, 0.40);   /* even lighter — capital hero is already very dark */
}
html[data-state="evidence"] {
  --gold: #C0C6D4;
  --gold-glow: rgba(192, 198, 212, 0.14);
  --accent: #C0C6D4;
  --accent-glow: rgba(192, 198, 212, 0.14);
  --accent-rgb: 192, 198, 212;
  --hero-tint: rgba(14, 12, 10, 0.55);
}

html { scroll-behavior: smooth; }
html[dir="rtl"] { direction: rtl; text-align: right; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  opacity: 0;
  transition: opacity 240ms ease-out;
}
body.kqas-booted { opacity: 1; }

.skip-link {
  position: absolute; top: -60px; left: 8px;
  background: var(--gold); color: var(--void);
  padding: 0.5rem 1rem; border-radius: 2px;
  text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 8px; }

/* Non-authoritative machine-translation notice (shown on every non-English page) */
.translation-notice {
  background: rgba(200, 169, 110, 0.05);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--text-sub);
}
.translation-notice-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0.65rem clamp(1rem, 3vw, 3rem);
  display: flex; gap: 0.75rem; align-items: baseline; flex-wrap: wrap;
  font-size: 0.78rem; line-height: 1.5;
}
.translation-notice-label {
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
}
.translation-notice-body { flex: 1 1 auto; }
html[dir="rtl"] .translation-notice-inner { text-align: right; }

/* Legal-review placeholder card (used everywhere a LEGAL REVIEW block would have shipped) */
.legal-review-card {
  border: 1px dashed rgba(200, 169, 110, 0.35);
  background: rgba(200, 169, 110, 0.03);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.55;
}
.legal-review-card .lr-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

/* Global disclosure strip (site-wide status banner from the copy pack) */
.disclosure-strip {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--line);
  color: var(--text-sub);
  font-size: 0.72rem;
  line-height: 1.5;
}
.disclosure-strip-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0.55rem clamp(1rem, 3vw, 3rem);
}

/* Inline status badges (shown next to EVIDENCE REQUIRED / PENDING NODE-1 blocks) */
.inline-status {
  display: inline-block;
  margin-left: 0.6em;
  padding: 0.15em 0.55em;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(200, 169, 110, 0.35);
  color: var(--gold); border-radius: 2px;
  vertical-align: middle;
  white-space: nowrap;
}
.status-inline-evidence_required { border-color: rgba(217, 168, 95, 0.5); color: #d9a85f; }
.status-inline-pending_node_1    { border-color: rgba(123, 153, 232, 0.5); color: #9BB5E8; }
.status-inline-company_reported  { border-color: rgba(255, 255, 255, 0.25); color: var(--text-sub); }

/* Two-column card layout for home-page paired sections */
.two-col {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}
.col-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  padding: 1.75rem;
}
.col-card h2 { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; margin: 0.4rem 0 0.75rem; letter-spacing: -0.01em; }
.col-card p { color: var(--text-sub); margin-bottom: 1.25rem; }

/* Disclosure body (bottom of pages) */
.section-disclosure {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--text-dim);
}
.disclosure-body {
  font-size: 0.78rem; line-height: 1.6;
  color: var(--text-dim);
  max-width: 78ch;
}

/* Coordinated bullets list (About §"What the platform coordinates") */
.coord-bullets {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; gap: 0.6rem;
}
.coord-bullets li {
  padding: 0.85rem 1rem 0.85rem 2rem;
  background: var(--surface); border-left: 2px solid var(--gold);
  position: relative;
  color: var(--text-sub);
  font-size: 0.95rem; line-height: 1.5;
}
.coord-bullets li::before {
  content: '/'; font-family: var(--mono); color: var(--gold);
  position: absolute; left: 0.75rem;
}
html[dir="rtl"] .coord-bullets li {
  border-left: none; border-right: 2px solid var(--gold);
  padding: 0.85rem 2rem 0.85rem 1rem;
}
html[dir="rtl"] .coord-bullets li::before { left: auto; right: 0.75rem; }

a { color: var(--gold); text-decoration: none; transition: color 180ms; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
h4 { font-size: 0.85rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
em { font-family: var(--serif); font-style: italic; color: var(--gold); }
p { margin-bottom: 1rem; color: var(--text-sub); max-width: 68ch; }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text); line-height: 1.55; max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 1.2vw, 1.2rem); color: var(--text); line-height: 1.6; max-width: 68ch; }
strong, b { color: var(--text); font-weight: 500; }
code { font-family: var(--mono); font-size: 0.85em; background: rgba(200,169,110,0.08); padding: 0.15em 0.4em; border-radius: 2px; color: var(--gold); }
ul, ol { padding-left: 1.4rem; color: var(--text-sub); margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--gold); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 3rem); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-what { padding-top: clamp(2rem, 4vw, 3rem); }
.bg-deep { background: var(--deep); }
.bg-void { background: var(--void); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { max-width: 24ch; }
.section-sub { margin-top: 1rem; max-width: 60ch; color: var(--text-sub); }

.mono-label {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gold); display: block; margin-bottom: 1rem;
}
.mono-inline {
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--text-dim); letter-spacing: 0.08em;
}

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--text); font-family: var(--serif); font-size: 1.25rem;
}
.brand:hover { color: var(--gold); }
.brand-symbol {
  width: 32px; height: 32px; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500;
}
.brand-name { font-weight: 400; letter-spacing: -0.01em; }
.primary-nav {
  display: flex; gap: 1.2rem; justify-content: flex-end;
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  flex-wrap: wrap;
}
.primary-nav a { color: var(--text-sub); padding: 0.4rem 0; }
.primary-nav a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr; gap: 0.75rem; text-align: center; }
  .primary-nav { justify-content: center; }
}

/* HERO */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  background: linear-gradient(180deg, var(--void) 0%, var(--deep) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}

/* Hero media layer — image + canvas motion + dark scrim.
   Sits underneath the .hero::before grid overlay and the hero-atom content.
   State determines which image URL is loaded via the inline style="--hero-img:..." set on the wrapper.
   Absent state / absent image URL: the layer stays hidden and hero uses the plain deep-navy gradient. */
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-media::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.02);           /* extra room so subtle motion has no exposed edge */
  transition: opacity 800ms ease-out;
  opacity: 1;                        /* let the image show — scrim on ::after controls legibility */
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  /* Single-purpose vertical scrim: image stays legible at top, darkens toward the bottom
     so hero text (which sits in the lower half) has solid contrast. No radial overlay — that
     was fighting the hero photo and hiding it. */
  background: linear-gradient(180deg,
    rgba(10, 15, 30, 0.15) 0%,
    var(--hero-tint) 55%,
    var(--void) 100%);
}
.hero-motion-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
/* Motion is off by default. JS turns it on by setting data-motion="on" on <html>
   after checking prefers-reduced-motion and viewport width. */
.hero-motion-canvas { display: none; }
html[data-motion="on"] .hero-motion-canvas { display: block; }

/* Hero content sits ABOVE the media + grid overlay */
.hero > .container, .hero > .hero-atom, .page-hero > .container { position: relative; z-index: 3; }
.hero-atom {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  display: none;
}
.hero-atom[data-active="1"] { display: block; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase;
  display: block; margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.025em;
  max-width: 22ch; margin-bottom: 1.5rem; color: var(--text);
}
.hero-sub {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--text-sub); max-width: 60ch;
  line-height: 1.55; margin-bottom: 2rem;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* PAGE HERO */
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--void), var(--deep));
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { max-width: 26ch; }
.page-hero .lede { margin-top: 1.5rem; }
.hero-meta {
  display: flex; gap: 1rem; margin-top: 1.5rem;
  align-items: center; flex-wrap: wrap;
}
/* Subtle state-colored accent line at the bottom of every hero */
.hero::after, .page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.5;
  z-index: 4;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; text-decoration: none; transition: all 200ms;
}
.btn-primary { background: var(--gold); color: var(--void); border-color: var(--gold); }
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--void); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* KPIs */
.kpi-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.kpi {
  padding: 1.5rem; border: 1px solid var(--line);
  background: var(--surface); border-radius: 2px;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.kpi-value {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--gold); line-height: 1;
}
.kpi-label {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.14em;
}

/* LAYER STACK */
.layer-stack { display: flex; flex-direction: column; gap: 1rem; }
.layer {
  padding: 1.5rem 2rem; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 2px;
  display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.5rem;
  align-items: start;
}
.layer:hover { border-color: var(--line-strong); border-left-color: var(--gold); }
.layer-num {
  font-family: var(--mono); color: var(--gold);
  font-size: 0.72rem; letter-spacing: 0.16em; padding-top: 0.35rem;
  white-space: nowrap;
}
.layer-body { min-width: 0; }
.layer-body h3 { margin-bottom: 0.4rem; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; }
.layer-body p { color: var(--text-sub); margin: 0; max-width: none; line-height: 1.6; }

/* PLATFORM DRAWER (collapsible, footer of every page) */
.platform-drawer {
  border-top: 1px solid var(--line);
  background: var(--void);
  margin-top: 3rem;
}
.platform-drawer summary {
  cursor: pointer;
  padding: 1.5rem clamp(1.25rem, 3vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  list-style: none;
  max-width: 1280px; margin: 0 auto;
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  transition: color 200ms;
}
.platform-drawer summary::-webkit-details-marker { display: none; }
.platform-drawer summary::before {
  content: '// the platform';
  font-family: var(--mono);
  color: var(--text-dim);
  margin-right: 1rem;
}
.platform-drawer summary::after {
  content: '＋';
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 200ms;
  margin-left: auto;
}
.platform-drawer[open] summary::after { content: '−'; }
.platform-drawer summary:hover { color: var(--text); }
.platform-drawer summary .drawer-label {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 400;
  flex-grow: 1;
}
.platform-drawer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem) 3rem;
}
.platform-drawer-inner .drawer-lead {
  color: var(--text-sub);
  max-width: 68ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* AUDIENCE GRID */
.audience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.audience-card {
  padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--text); display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 200ms, border-color 200ms;
}
.audience-card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--text); }
.audience-card h3 { color: var(--text); }
.audience-card p { color: var(--text-sub); flex-grow: 1; }
.card-cta { color: var(--gold); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.card-link { color: var(--gold); display: block; margin-top: 0.5rem; font-family: var(--mono); font-size: 0.75rem; }

/* METALS GRID */
.metals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.metal-card {
  padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--text); display: flex; flex-direction: column; gap: 0.6rem;
  transition: all 200ms;
  position: relative;
}
.metal-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.metal-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.5rem;
}
.metal-symbol { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.metal-index { font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim); }
.metal-eyebrow { font-family: var(--mono); font-size: 0.68rem; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; }
.metal-card h3 { color: var(--text); }
.metal-card p { color: var(--text-sub); flex-grow: 1; }
.metal-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }

/* STAGE BADGES */
.stage-badge {
  display: inline-block; padding: 0.3rem 0.7rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; border-radius: 2px;
  border: 1px solid;
}
.stage-badge.stage-candidate    { color: var(--text-dim); border-color: var(--line-strong); }
.stage-badge.stage-technical    { color: var(--warning); border-color: var(--warning); }
.stage-badge.stage-custody      { color: var(--warning); border-color: var(--warning); }
.stage-badge.stage-commercial   { color: var(--gold); border-color: var(--gold); }
.stage-badge.stage-valuation    { color: var(--gold); border-color: var(--gold); }
.stage-badge.stage-legal        { color: var(--gold); border-color: var(--gold); background: rgba(200,169,110,0.08); }
.stage-badge.stage-instrument   { color: var(--success); border-color: var(--success); }
.stage-badge.stage-market       { color: var(--success); border-color: var(--success); background: rgba(107,170,127,0.1); }
.stage-badge.stage-retired      { color: var(--text-dim); border-color: var(--line); }

/* CLAIM BADGES */
.claim-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  font-family: var(--mono); font-size: 0.68rem;
  border: 1px solid var(--line-strong); border-radius: 2px;
  background: rgba(255,255,255,0.03);
}
.claim-id { color: var(--gold); font-weight: 500; letter-spacing: 0.06em; }
.claim-status-label { color: var(--text-sub); letter-spacing: 0.08em; }
.claim-status {
  padding: 0.2rem 0.55rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; border-radius: 2px;
  display: inline-block;
}
.claim-status.status-verified_primary   { color: var(--success); background: rgba(107,170,127,0.1); }
.claim-status.status-verified_independent { color: var(--success); background: rgba(107,170,127,0.08); }
.claim-status.status-reviewed           { color: var(--gold); background: rgba(200,169,110,0.08); }
.claim-status.status-declared           { color: var(--text-sub); background: rgba(176,181,196,0.05); }
.claim-status.status-provisional        { color: var(--warning); background: rgba(217,168,95,0.08); }
.claim-status.status-disputed           { color: var(--danger); background: rgba(199,122,90,0.1); }
.claim-status.status-superseded         { color: var(--text-dim); background: rgba(126,132,151,0.05); }
.claim-status.status-withdrawn          { color: var(--text-dim); background: rgba(126,132,151,0.05); text-decoration: line-through; }

/* AED BLOCK */
.aed-block {
  background: var(--surface); border: 1px solid var(--line);
  padding: 2rem; border-radius: 2px;
  display: grid; gap: 1.5rem;
}
.aed-label {
  font-family: var(--mono); font-size: 0.68rem;
  color: var(--gold); letter-spacing: 0.16em;
  text-transform: uppercase; display: block; margin-bottom: 0.6rem;
}
.aed-answer p { font-size: 1.1rem; color: var(--text); max-width: 70ch; }
.aed-evidence ul, .aed-disambig ul { list-style: none; padding: 0; }
.aed-evidence li, .aed-disambig li {
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
  color: var(--text-sub); font-size: 0.95rem;
}
.aed-canonical a { font-family: var(--mono); font-size: 0.85rem; }
.claim-list { list-style: none; padding: 0; }
.claim-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.claim-inline { margin-top: 1rem; }

/* FEDERATION STRIP */
.fed-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.fed-strip h2 { max-width: 20ch; }
.fed-manifest-preview {
  background: var(--void); border: 1px solid var(--line);
  padding: 1.5rem; border-radius: 2px; overflow-x: auto;
}
.fed-manifest-preview pre { font-family: var(--mono); font-size: 0.82rem; color: var(--text-sub); line-height: 1.6; }
.fed-manifest-preview code { background: none; padding: 0; color: var(--text-sub); font-size: inherit; }
@media (max-width: 900px) { .fed-strip { grid-template-columns: 1fr; } }

/* FACT TABLE */
.fact-table {
  width: 100%; border-collapse: collapse;
  margin-top: 1rem; font-size: 0.95rem;
}
.fact-table th, .fact-table td {
  padding: 1rem 1.25rem; text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table thead th {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 0.14em; border-bottom: 1px solid var(--gold);
}
.fact-table tbody th {
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 0.1em; width: 30%; font-weight: 400;
}
.fact-table tbody td { color: var(--text); }
.claims-table td code { color: var(--gold); }

/* ENTITY GRID */
.entity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.entity-card {
  padding: 1.75rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
}
.entity-jurisdiction { font-family: var(--mono); font-size: 0.75rem; color: var(--gold); }
.entity-card h3 { margin: 0.5rem 0; }
.entity-card .role { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.team-card {
  padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
}
.team-role {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0.5rem 0 1rem 0;
}

/* ADMISSION STAGES */
.admission-stages { list-style: none; padding: 0; counter-reset: stg; display: grid; gap: 0.5rem; }
.admission-stages li {
  padding: 0.9rem 1.2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 0.95rem;
}
.admission-stages li b { color: var(--gold); font-family: var(--mono); font-size: 0.85em; letter-spacing: 0.08em; margin-right: 0.75rem; }

/* ARTIFACT LIST */
.artifact-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.5rem; }
.artifact-list li {
  padding: 0.85rem 1.1rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 0.9rem; color: var(--text-sub);
}
.artifact-list li::before { content: '·'; color: var(--gold); margin-right: 0.5rem; }
.artifact-list li a { color: var(--text); }

/* ENDPOINT LIST */
.endpoint-list { list-style: none; padding: 0; }
.endpoint-list li { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.endpoint-list a { font-family: var(--mono); font-size: 0.85rem; }

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-channel {
  padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px;
}
.contact-form { max-width: 640px; }
.form-row { margin-bottom: 1.5rem; }
.form-row label { display: block; font-family: var(--mono); font-size: 0.72rem; color: var(--text-sub); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.5rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.85rem 1rem;
  font-family: var(--sans); font-size: 1rem;
  background: var(--void); border: 1px solid var(--line); color: var(--text);
  border-radius: 2px;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }

/* PROSE */
.prose-narrow { max-width: 760px; margin: 0 auto; }
.prose-narrow h2 { margin-top: 2rem; }

/* CONTENT BLOCKS on detail pages */
.content-block { margin-bottom: 2.5rem; max-width: 78ch; }

/* PAGER */
.pager { display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { font-family: var(--mono); font-size: 0.85rem; color: var(--gold); }

/* FOOTER */
.site-footer {
  background: var(--void); border-top: 1px solid var(--line);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-tagline { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-node-badge {
  font-family: var(--mono); font-size: 0.62rem;
  color: var(--text-dim); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.footer-address { color: var(--text-sub); font-size: 0.88rem; line-height: 1.6; }
.footer-nav-block h4 { font-family: var(--mono); font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1rem; }
.footer-nav-block ul { list-style: none; padding: 0; }
.footer-nav-block li { padding: 0.25rem 0; font-family: var(--mono); font-size: 0.78rem; }
.footer-lang-block select {
  width: 100%;
  background: var(--void); color: var(--text);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 0.55rem 0.75rem; font-family: var(--mono); font-size: 0.78rem;
  cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.footer-lang-block select:hover { border-color: var(--line-strong); }
.footer-lang-block select:focus { outline: 1px solid var(--gold); outline-offset: 2px; }
.footer-lang-label { display: block; }
.footer-disclosures {
  max-width: 780px; margin: 2.5rem auto 0;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--line);
  font-size: 0.72rem; line-height: 1.55;
  color: var(--text-dim);
  text-align: center;
}
.footer-disclosures p { margin: 0 auto; max-width: 68ch; }
.footer-signal {
  font-family: var(--mono); font-size: 0.62rem;
  margin-top: 0.75rem; color: var(--text-dim); opacity: 0.55;
  letter-spacing: 0.02em;
  text-align: center;
  word-break: break-word;
}
/* Arabic (RTL) — keep centered, override any inherited alignment */
html[dir="rtl"] .footer-disclosures,
html[dir="rtl"] .footer-disclosures p,
html[dir="rtl"] .footer-signal { text-align: center; }
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-lang-block { grid-column: 1 / -1; max-width: 320px; }
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-lang-block { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Utility */
.mt-2 { margin-top: 2rem; }

/* ============================================================================
   PRESS PAGE — /press/ (Turn 19 · docs/five-sites-wireframes.md §Site 4)
   Reuses .two-col + .col-card + .inline-status where possible; adds only
   the factsheet grid + empty-state card that are specific to /press/.
   ============================================================================ */
.section-intro {
  max-width: 66ch;
  color: var(--text-sub);
  margin-bottom: 2rem;
}
.micro-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 0.75rem;
}
.micro-note code { font-size: inherit; }

/* --- Factsheet grid (6 evidence-locker cards) --- */
.factsheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}
.factsheet-card {
  background: var(--surface-raised, rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent, #7B99E8);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.factsheet-card:hover {
  border-color: rgba(123,153,232,0.35);
}
.factsheet-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.factsheet-category { color: var(--accent, #7B99E8); }
.factsheet-id { opacity: 0.7; }
.factsheet-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.005em;
}
.factsheet-issuer {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin: 0;
  font-style: italic;
}
.factsheet-summary {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}
.factsheet-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 0.25rem 0 0.5rem;
  font-size: 0.72rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.factsheet-meta > div { display: contents; }
.factsheet-meta dt {
  font-family: var(--mono);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.62rem;
  margin: 0;
}
.factsheet-meta dd {
  margin: 0;
  color: var(--text-sub);
}
.factsheet-meta dd code {
  font-size: 0.72rem;
}
.factsheet-meta dd code.hash {
  color: var(--text-dim);
  word-break: break-all;
  letter-spacing: -0.02em;
}
.factsheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* --- Empty state card (press releases: "No releases issued to date") --- */
.empty-state-card {
  background: rgba(255,255,255,0.015);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  text-align: center;
  max-width: 62ch;
  margin: 1rem auto 0;
}
.empty-state-card .mono-label {
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.65;
}
.empty-state-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  letter-spacing: -0.005em;
}
.empty-state-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin: 0;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

/* RTL adjustments */
html[dir="rtl"] .factsheet-card { border-left: none; border-right: 3px solid var(--accent, #7B99E8); }

/* ============================================================================
   KQAS SCORING SECTION — /evidence/#kqas-scoring (Turn 19)
   ============================================================================ */
.kqas-formula {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent, #C0C6D4);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: auto;
  color: var(--text-main);
  letter-spacing: 0.02em;
}
.kqas-streams td { vertical-align: top; }
.kqas-streams td:nth-child(1),
.kqas-streams td:nth-child(2) { width: 1%; white-space: nowrap; }
.kqas-stream-key {
  display: inline-block;
  min-width: 1.5rem;
  text-align: center;
  padding: 0.15rem 0.4rem;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  font-weight: 500;
}
.subhead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.005em;
  color: var(--text-main);
}
.endpoint-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.6rem 1.5rem;
}
.endpoint-list li {
  font-size: 0.88rem;
  color: var(--text-sub);
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.endpoint-list li code { font-size: 0.8rem; }
