/* Atlas4D.tech V2 - Direction C "Evidence Ledger". Static site stylesheet (WEBSITE_V2 W4). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-band: #080c18;
  --panel: #0f1528;
  --text: #eef1f7;
  --text-2: #cfd5e3;
  --text-3: #aab2c6;
  --muted: #8891a8;
  --nav-link: #9aa3b8;
  --amber: #e0a13a;
  --amber-hover: #f0bb63;
  --amber-ink: #1a1204;
  --amber-chip: #f0bb63;
  --amber-label: #f5c46b;
  --blue: #9db8ff;
  --green: #6ee7b7;
  --red: #fca5a5;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.09);
  --line-3: rgba(255, 255, 255, 0.18);
  --card: rgba(255, 255, 255, 0.02);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: 32px;
  --nav-h: 74px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--amber); }
a:hover { color: var(--amber-hover); }

:focus-visible {
  outline: 2px solid var(--amber-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--amber-ink); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section[id], header[id] { scroll-margin-top: var(--nav-h); }

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand__word { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0 auto 0 8px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.site-nav__links a { color: var(--nav-link); text-decoration: none; }
.site-nav__links a:hover { color: var(--text); }
.site-nav__signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav__signin:hover { color: var(--amber-hover); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn--primary { background: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: var(--amber-hover); color: var(--amber-ink); }
.btn--ghost { color: var(--text); font-weight: 600; border: 1px solid var(--line-3); }
.btn--ghost:hover { color: var(--text); border-color: rgba(224, 161, 58, 0.6); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 8px; }

.mnav { display: none; margin-left: auto; }
.mnav > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-3);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav[open] > summary { border-color: rgba(224, 161, 58, 0.6); }
.mnav__panel {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 4px);
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.mnav__panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
}
.mnav__panel a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.mnav__panel .mnav__cta { margin-top: 6px; background: var(--amber); color: var(--amber-ink); font-weight: 700; }
.mnav__panel .mnav__cta:hover { background: var(--amber-hover); color: var(--amber-ink); }

/* ---------- Shared section type ---------- */

.section { border-top: 1px solid var(--line); }
.section--band { background: linear-gradient(180deg, var(--bg-band), var(--bg)); }
.section__inner { padding-top: 96px; padding-bottom: 96px; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 920px;
  text-wrap: balance;
}
.lead {
  margin: 24px 0 48px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-3);
  max-width: 760px;
}
.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--card);
  transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 161, 58, 0.45);
  background-color: rgba(224, 161, 58, 0.04);
}
.card h3 { margin: 16px 0 10px; font-size: 21px; font-weight: 700; line-height: 1.25; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.card > .mono-label { margin: 0; font-size: 11px; line-height: 1.5; color: var(--amber); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(224, 161, 58, 0.11), transparent 52%),
    radial-gradient(70% 60% at 100% 30%, rgba(90, 120, 200, 0.14), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero__copy { flex: 1 1 min(520px, 100%); min-width: 0; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: a-pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.0;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__sub {
  margin: 0 0 36px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 600px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  --rx: 56deg;
  --rz: -38deg;
  position: relative;
  flex: 1 1 min(420px, 100%);
  min-width: 0;
  height: 440px;
  perspective: 1100px;
}
.hero__glow {
  position: absolute;
  top: 46%; left: 50%;
  width: 240px; height: 240px;
  margin: -120px 0 0 -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 161, 58, 0.28), transparent 68%);
  filter: blur(4px);
  animation: a-pulse 4s ease-in-out infinite;
}
.hero__float {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: a-floaty 6s ease-in-out infinite;
}
.ledger {
  position: relative;
  width: 290px;
  height: 190px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateZ(var(--rz));
  transition: transform 0.25s ease-out;
}
.ledger__layer {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ledger__layer--1 { background: rgba(70, 88, 130, 0.22); transform: translateZ(-40px); }
.ledger__layer--2 { background: rgba(90, 110, 160, 0.26); border-color: rgba(255, 255, 255, 0.12); transform: translateZ(-14px); }
.ledger__layer--3 { background: rgba(120, 140, 190, 0.32); border-color: rgba(255, 255, 255, 0.18); transform: translateZ(12px); }
.ledger__top {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(224, 161, 58, 0.94), rgba(224, 161, 58, 0.48));
  box-shadow: 0 0 44px rgba(224, 161, 58, 0.4);
  transform: translateZ(40px);
  color: var(--amber-ink);
  text-align: center;
}
.ledger__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: a-scan 3.6s linear infinite;
}
.ledger__kicker { position: relative; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.ledger__title { position: relative; font-family: var(--serif); font-size: 30px; line-height: 1; margin-top: 4px; }
.ledger__chip {
  position: absolute;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.ledger__chip--a { top: -62px; left: 4px; transform: translateZ(92px); border: 1px solid rgba(224, 161, 58, 0.5); color: var(--amber); animation: a-floaty-s 4.5s ease-in-out infinite; }
.ledger__chip--b { bottom: -50px; right: -10px; transform: translateZ(104px); border: 1px solid rgba(120, 150, 220, 0.5); color: var(--blue); animation: a-floaty-s 5.2s ease-in-out infinite; }
.ledger__chip--c { top: 34px; right: -78px; transform: translateZ(70px); border: 1px solid rgba(16, 185, 129, 0.5); color: var(--green); animation: a-floaty-s 6.1s ease-in-out infinite; }

/* ---------- Problem ---------- */

.problem .grid { --min: 300px; }

/* ---------- Trust core ---------- */

.steps { --min: 250px; margin: 0; padding: 0; list-style: none; }
.steps .card { padding: 26px; }
.steps p { margin-top: 14px; color: var(--text-2); }
.derivations { margin-top: 72px; }
.derivations h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1.15;
}
.derivations__lead { margin: 0 0 32px; font-size: 16px; line-height: 1.6; color: var(--text-3); max-width: 760px; }
.topology { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.topology__root {
  flex: 0 1 220px;
  padding: 26px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(224, 161, 58, 0.92), rgba(224, 161, 58, 0.45));
  color: var(--amber-ink);
  box-shadow: 0 0 40px rgba(224, 161, 58, 0.35);
  text-align: center;
}
.topology__root-kicker { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.topology__root-title { font-family: var(--serif); font-size: 28px; margin-top: 4px; }
.topology__root-note { font-family: var(--mono); font-size: 10px; font-weight: 700; margin-top: 8px; }
.topology__links { position: relative; flex: 1 1 min(420px, 100%); min-width: 0; padding-left: 22px; }
.topology__rail {
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  overflow: hidden;
  background: rgba(224, 161, 58, 0.35);
}
.topology__rail::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 40%;
  background: linear-gradient(180deg, transparent, var(--amber), transparent);
  animation: a-scan-rail 2.8s linear infinite;
}
.topology__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.topology__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(120, 140, 190, 0.18), rgba(255, 255, 255, 0.02));
}
.topology__parent { font-family: var(--mono); font-size: 11px; color: var(--amber); white-space: nowrap; }
.topology__type { font-family: var(--mono); font-size: 14px; font-weight: 700; min-width: 130px; }
.topology__desc { font-size: 14px; color: var(--text-3); }
.boundary { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Solutions ---------- */

.solutions .h2 { margin-bottom: 24px; }
.solutions .lead { margin: 0 0 24px; }
.scene-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.scene-row--rev { flex-direction: row-reverse; }
.scene {
  position: relative;
  flex: 1.2 1 min(480px, 100%);
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: #0a0f1d;
}
.scene__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: a-kenburns 26s ease-in-out infinite alternate;
}
.scene__rain {
  position: absolute;
  left: 0; right: 0;
  top: -420px;
  height: calc(100% + 420px);
  background-image: repeating-linear-gradient(104deg, rgba(210, 222, 245, 0.13) 0 1px, transparent 1px 11px);
  background-size: 420px 420px;
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: a-rain 0.9s linear infinite;
  pointer-events: none;
}
.scene__fog {
  position: absolute;
  inset: -10% -20%;
  background:
    radial-gradient(60% 40% at 30% 60%, rgba(214, 222, 240, 0.22), transparent 70%),
    radial-gradient(50% 35% at 75% 45%, rgba(214, 222, 240, 0.16), transparent 70%);
  animation: a-fog 18s ease-in-out infinite;
  pointer-events: none;
}
.scene__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 12, 24, 0.82) 0%, rgba(8, 12, 24, 0.25) 38%, transparent 62%);
}
.scene__sensor { position: absolute; width: 0; height: 0; }
.scene__sensor::before,
.scene__sensor::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  margin: -5px;
  border-radius: 50%;
}
.scene__sensor::before { background: var(--amber); box-shadow: 0 0 14px rgba(224, 161, 58, 0.9); }
.scene__sensor::after { border: 1px solid var(--amber); animation: a-ring 2.2s ease-out infinite; }
.scene__label {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.8);
  border: 1px solid rgba(224, 161, 58, 0.4);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--amber-label);
}
.scene__chips {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(8, 12, 24, 0.88);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.chip--forecast { border: 1px solid rgba(157, 184, 255, 0.45); color: var(--blue); }
.chip--observed { border: 1px solid rgba(224, 161, 58, 0.5); color: var(--amber-chip); }
.chip--alarm { border: 1px solid rgba(248, 113, 113, 0.5); color: var(--red); }
.chip--decision { background: var(--amber); color: var(--amber-ink); animation: a-pop 6s ease-in-out infinite; }
.scene-copy { flex: 1 1 min(380px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.scene-copy h3 { font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); line-height: 1.08; font-weight: 400; }
.scene-copy__lead { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.scene-copy__body { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.decisions { font-size: 14px; line-height: 1.6; color: var(--muted); }
.decisions strong { color: var(--text-2); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.capability {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.capability[data-status="available"] { background: rgba(16, 185, 129, 0.12); color: var(--green); }
.capability[data-status="rolling-out"] { background: rgba(157, 184, 255, 0.12); color: var(--blue); }
.capability[data-status="planned"] { background: rgba(224, 161, 58, 0.14); color: var(--amber-chip); }
.note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.sector-cards { --min: 340px; margin-top: 24px; }
.sector-cards .card { display: flex; flex-direction: column; gap: 12px; }
.sector-cards h3 { margin: 0; font-size: 22px; }
.sector-cards .card > p:first-of-type { color: var(--text-2); }
.sector-cards .card p { font-size: 14px; }
.sector-cards .card > p.sector-lead { font-size: 15px; color: var(--text-2); }
.sector-cards .pills { margin-top: auto; }
.sector-cards .note { margin-top: 0; }
.reference { margin-top: 28px; font-size: 15px; line-height: 1.6; color: var(--text-3); }
.reference .mono-label { margin-right: 12px; letter-spacing: 0.1em; }

/* ---------- Ontology ---------- */

.ontology { position: relative; overflow: hidden; }
.ontology .lead { margin-bottom: 0; max-width: 740px; }
.ontology__body { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-top: 56px; }
.orbit {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit__stage { position: absolute; width: 300px; height: 300px; perspective: 800px; }
.orbit__rings {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(66deg);
  animation: a-spin 22s linear infinite;
}
.orbit__ring { position: absolute; border-radius: 50%; }
.orbit__ring--1 { inset: 0; border: 1px solid rgba(224, 161, 58, 0.4); }
.orbit__ring--2 { inset: 36px; border: 1px solid rgba(224, 161, 58, 0.25); }
.orbit__ring--3 { inset: 72px; border: 1px dashed rgba(120, 150, 220, 0.35); }
.orbit__dots { position: absolute; width: 0; height: 0; }
.orbit__dot { position: absolute; border-radius: 50%; }
.orbit__dot--a { width: 12px; height: 12px; margin: -6px; background: var(--amber); box-shadow: 0 0 14px rgba(224, 161, 58, 0.8); animation: a-orbit 9s linear infinite; }
.orbit__dot--b { width: 9px; height: 9px; margin: -4.5px; background: var(--blue); box-shadow: 0 0 12px rgba(157, 184, 255, 0.8); animation: a-orbit2 14s linear infinite reverse; }
.orbit__label { position: relative; z-index: 2; text-align: center; }
.orbit__kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }
.orbit__title { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-top: 8px; }
.orbit__flow { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--amber); }
.principles { --min: 220px; flex: 1.3 1 min(480px, 100%); min-width: 0; gap: 14px; margin: 0; padding: 0; list-style: none; }
.principles .card { padding: 20px; border-radius: 12px; }
.principles h3 { margin: 6px 0; font-size: 16px; font-weight: 700; }
.principles p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Trust engine ---------- */

.methods { --min: 270px; margin: 0; padding: 0; list-style: none; }
.methods .card { padding: 24px; }
.method__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.methods h3 { margin: 12px 0 8px; font-size: 18px; }
.methods p { font-size: 14px; line-height: 1.55; }
.flow { --min: 210px; gap: 12px; margin: 48px 0 0; padding: 0; list-style: none; }
.flow li { padding: 20px; border-radius: 12px; border: 1px solid var(--line-2); }
.flow li.flow__key { border-color: rgba(224, 161, 58, 0.5); background: rgba(224, 161, 58, 0.06); }
.flow__title { display: block; font-weight: 700; font-size: 15px; }
.flow li.flow__key .flow__title { color: var(--amber); }
.flow p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.flow li.flow__key p { color: var(--text-3); }

/* ---------- In action ---------- */

.action .h2 { margin-bottom: 40px; }
.action__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.action__media { flex: 999 1 min(560px, 100%); min-width: 0; }
.demo-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  aspect-ratio: 16 / 9;
  padding: clamp(20px, 4vw, 40px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(224, 161, 58, 0.14), transparent 60%),
    radial-gradient(60% 80% at 10% 100%, rgba(90, 120, 200, 0.16), transparent 60%),
    #070b16;
}
.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.demo-panel > * { position: relative; }
.demo-panel__title { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; font-weight: 400; max-width: 520px; }
.demo-panel__text { font-size: 15px; line-height: 1.6; color: var(--text-3); max-width: 520px; }
.demo-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: #070b16; }
.demo-caption { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.action__steps { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.action__steps li { display: flex; gap: 14px; }
.action__num { min-width: 22px; font-family: var(--mono); font-size: 13px; color: var(--amber); line-height: 1.8; }
.action__text { font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* ---------- Foundation ---------- */

.foundation .h2 { margin-bottom: 48px; }
.pillars { --min: 210px; gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.pillars li { padding-top: 18px; border-top: 1px solid rgba(224, 161, 58, 0.5); }
.pillars h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.pillars p { font-size: 15px; line-height: 1.6; color: var(--text-3); }

/* ---------- Engagement ---------- */

.contact {
  position: relative;
  overflow: hidden;
  background: radial-gradient(80% 100% at 50% 0%, rgba(224, 161, 58, 0.10), transparent 60%);
  text-align: center;
}
.contact .section__inner { padding-top: 112px; padding-bottom: 112px; }
.contact .h2 { margin: 0 auto 18px; max-width: 860px; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; }
.contact__text { margin: 0 auto 36px; font-size: 18px; line-height: 1.6; color: var(--text-3); max-width: 640px; }
.contact .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

.contact__mail { margin-top: 24px; font-size: 16px; color: var(--text-3); }
.contact__mail a { font-weight: 600; }

/* ---------- Investor brief ---------- */

.hero--compact .hero__inner { padding-top: 96px; padding-bottom: 88px; }
.hero--compact h1 { max-width: 900px; }
.hero--compact .hero__sub { max-width: 720px; }
.why-grid { --min: 240px; }
.h2 + .grid { margin-top: 40px; }
.facts { --min: 260px; margin: 0; padding: 0; list-style: none; }
.fact { padding: 22px 0 0; border-top: 1px solid rgba(224, 161, 58, 0.5); }
.fact h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.fact p { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.roadmap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 40px; }
.roadmap .mono-label { margin: 0; }

/* ---------- Team ---------- */

.people { --min: 240px; margin: 0; padding: 0; list-style: none; }
.person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--card);
}
.person__mono {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(224, 161, 58, 0.55);
  background: rgba(224, 161, 58, 0.08);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.person__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.person__role { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-3); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px 40px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.site-footer__col p { line-height: 1.7; }
.site-footer__mark { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.site-footer__title { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-3); text-decoration: none; }
.site-footer__list a:hover { color: var(--amber-hover); text-decoration: underline; }
.site-footer__bottom { padding-bottom: 28px; }
.site-footer__bottom p { padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Animation ---------- */

@keyframes a-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes a-floaty-s { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes a-pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes a-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes a-scan-rail { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@keyframes a-spin { to { transform: rotateX(66deg) rotate(360deg); } }
@keyframes a-orbit { to { transform: rotate(360deg) translateX(118px) rotate(-360deg); } }
@keyframes a-orbit2 { to { transform: rotate(360deg) translateX(150px) rotate(-360deg); } }
@keyframes a-ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes a-pop { 0%, 100% { transform: translateY(4px); opacity: 0; } 15%, 70% { transform: none; opacity: 1; } }
@keyframes a-kenburns { from { transform: scale(1.03); } to { transform: scale(1.11) translate(-1.5%, -1%); } }
@keyframes a-rain { from { transform: translateY(0); } to { transform: translateY(420px); } }
@keyframes a-fog { 0%, 100% { transform: translateX(-8%); } 50% { transform: translateX(8%); } }

/* Animations pause while off-screen (site.js adds .is-offscreen). */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .chip--decision { opacity: 1; transform: none; }
  .orbit__dot--a { transform: translate(-96px, 70px); }
  .orbit__dot--b { transform: translate(132px, -58px); }
  .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav__bar { gap: 12px 18px; }
  .site-nav__links { gap: 6px 16px; margin-left: 4px; font-size: 13px; }
}

@media (max-width: 760px) {
  .site-nav__links { display: none; }
  .mnav { display: block; }
  .site-nav__bar { gap: 12px 12px; }
  :root { --gutter: 20px; }
  .section__inner { padding-top: 64px; padding-bottom: 64px; }
  .hero__inner { padding-top: 48px; padding-bottom: 56px; gap: 24px; }
  .hero__visual { height: 300px; }
  .orbit { display: none; }
  .scene-row, .scene-row--rev { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 0; }
  .scene { flex-basis: auto; width: 100%; }
  .scene-copy { flex-basis: auto; }
  .contact .section__inner { padding-top: 80px; padding-bottom: 80px; }
  .derivations { margin-top: 56px; }
  .topology__root { flex: 1 1 100%; }
  .demo-panel { aspect-ratio: auto; min-height: 300px; padding: 24px; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .site-nav__cta { display: none; }
  .ledger { scale: 0.82; }
  .hero__visual { height: 260px; }
  .scene { aspect-ratio: 4 / 3; }
  .scene__label { top: 10px; left: 10px; }
  .scene__chips { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .chip { padding: 4px 8px; font-size: 10px; }
  .ledger__chip--c { right: -40px; }
  .card { padding: 22px; }
  .topology__type { min-width: 0; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
}
