/* Insight teaser — page-specific styles. Tokens live in tokens.css */

:root {
  --ember-glow: 0 0 0 4px rgba(199, 90, 42, 0.18);
  --grid-line: rgba(3, 60, 104, 0.06);
}

html, body {
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
}

body {
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--navy-700); color: var(--paper); }

/* ---------- Layout helpers ---------- */
.shell { width: 100%; max-width: var(--width-wide); margin: 0 auto; padding: 0 48px; }
.narrative { max-width: var(--width-narrative); }
.standard  { max-width: var(--width-standard); }

@media (max-width: 720px) {
  .shell { padding: 0 20px; }
}

section { position: relative; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(3, 60, 104, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brandline { display: flex; align-items: center; gap: 14px; }
.brandline .mark {
  width: 26px; height: 26px; display: block;
}
.brandline .insight-word {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--navy-700);
  line-height: 1;
}
.brandline .by {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  border-left: 1px solid var(--slate-300);
  padding-left: 14px;
}
.topbar nav { display: flex; align-items: center; gap: 32px; }
.topbar nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-700);
  letter-spacing: 0.04em;
  border: none;
}
.topbar nav a:hover { color: var(--navy-700); border-bottom: none; }
.topbar .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-600);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember-500);
  box-shadow: 0 0 0 0 rgba(199, 90, 42, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(199, 90, 42, 0.55); }
  60%  { box-shadow: 0 0 0 10px rgba(199, 90, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199, 90, 42, 0); }
}

@media (max-width: 720px) {
  .topbar nav a:not(.cta) { display: none; }
  .brandline .by { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  position: relative;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-300); }
.hero-meta .ember { color: var(--ember-600); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--navy-700);
  max-width: 14ch;
  margin: 0;
}
.hero h1 .ember-word {
  color: var(--ember-600);
  position: relative;
  white-space: nowrap;
}
.hero h1 .ember-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember-500) 30%, var(--ember-500) 70%, transparent);
  opacity: 0;
  animation: underline-in 1.6s var(--ease) 0.6s forwards;
}
@keyframes underline-in {
  to { opacity: 1; }
}

.hero-sub {
  margin-top: 36px;
  max-width: 60ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate-700);
}

.hero-sub em {
  font-style: normal;
  color: var(--navy-700);
  font-family: var(--font-display);
  font-size: 1.05em;
}

/* Hero counter ribbon */
.counter-ribbon {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--elev-1);
  max-width: 880px;
}
.counter-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.counter-cell .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0;
  font-weight: 500;
}
.counter-cell .value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--navy-700);
}
.counter-cell .value .num {
  font-size: 56px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 1.2ch;
  display: inline-block;
}
.counter-cell .value .of {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-500);
  letter-spacing: 0.04em;
}
.counter-cell.flipped .num { color: var(--ember-600); }
.counter-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate-400);
  letter-spacing: 0.2em;
}
.counter-meter {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--slate-100);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.counter-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-500), var(--ember-500));
  width: 0%;
  transition: width 600ms var(--ease);
}

@media (max-width: 720px) {
  .counter-ribbon {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .counter-arrow { display: none; }
  .counter-cell .value .num { font-size: 44px; }
}

/* Hero margin scribble — file path callout */
.hero-aside {
  position: absolute;
  top: 96px;
  right: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
  text-align: right;
  line-height: 1.6;
  max-width: 260px;
}
.hero-aside .crosshair {
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
}
.hero-aside .crosshair::before, .hero-aside .crosshair::after {
  content: ""; position: absolute; background: var(--ember-500);
}
.hero-aside .crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.hero-aside .crosshair::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

@media (max-width: 1100px) { .hero-aside { display: none; } }

/* ---------- Section opener ---------- */
.section-pad {
  padding: 96px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: baseline;
  margin-bottom: 56px;
}
.section-head .index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.section-head .index .num { color: var(--ember-600); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--navy-700);
  margin: 0;
  max-width: 22ch;
}
.section-head .lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate-700);
  max-width: 56ch;
}

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Unknowns triad ---------- */
.unknowns {
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.unknowns-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--slate-200);
}
.unknowns-tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 28px 32px;
  border-right: 1px solid var(--slate-200);
  position: relative;
  transition: background var(--duration-sm) var(--ease);
  font-family: inherit;
}
.unknowns-tab:last-child { border-right: 0; }
.unknowns-tab:hover { background: rgba(3, 60, 104, 0.025); }
.unknowns-tab .hash {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  margin-bottom: 10px;
  display: block;
}
.unknowns-tab .name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy-700);
  display: block;
}
.unknowns-tab.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ember-500);
}
.unknowns-tab.active .hash { color: var(--ember-600); }
.unknowns-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  padding: 56px 32px;
  min-height: 280px;
  align-items: start;
}
.unknowns-panel .copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  color: var(--navy-700);
  line-height: 1.2;
  margin: 0 0 20px;
}
.unknowns-panel .copy p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate-700);
  margin: 0 0 16px;
}
.unknowns-panel .copy .quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ember-700);
  border-left: 2px solid var(--ember-500);
  padding-left: 20px;
  margin-top: 24px;
}
.unknowns-visual {
  background: var(--bone);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  height: 280px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 880px) {
  .unknowns-tabs { grid-template-columns: 1fr; }
  .unknowns-tab { border-right: 0; border-bottom: 1px solid var(--slate-200); padding: 20px 24px; }
  .unknowns-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
}

/* ---------- Digest preview ---------- */
.digest-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.digest-aside h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  color: var(--navy-700);
  margin: 0 0 16px;
}
.digest-aside p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate-700);
  margin: 0 0 16px;
}
.digest-aside .meta {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-600);
  letter-spacing: 0.02em;
}
.digest-aside .meta .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--slate-200); }
.digest-aside .meta .row span:first-child { color: var(--slate-500); }
.digest-aside .meta .row span:last-child { color: var(--navy-700); }

.digest {
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--elev-2);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-700);
}
.digest-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--slate-050);
  border-bottom: 1px solid var(--slate-200);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.digest-bar .traffic { display: flex; gap: 6px; }
.digest-bar .traffic span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300);
}
.digest-bar .traffic span:first-child { background: var(--ember-300); }
.digest-bar .traffic span:nth-child(2) { background: var(--navy-300); }

.digest-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--paper);
}
.digest-head .from {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 4px;
}
.digest-head .from b { color: var(--navy-700); font-weight: 600; }
.digest-head .subject {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-700);
  line-height: 1.25;
  margin: 4px 0 0;
}
.digest-head .subject .date { color: var(--slate-500); font-size: 14px; }

.digest-body { padding: 8px 0; max-height: 460px; overflow: hidden; position: relative; }
.digest-body::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.digest-item {
  padding: 14px 22px;
  border-top: 1px solid var(--slate-100);
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
@media (max-width: 1180px) {
  .digest-item {
    grid-template-columns: 64px 1fr;
    row-gap: 6px;
  }
  .digest-item .signal {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }
}
.digest-item.in {
  opacity: 1;
  transform: translateY(0);
}
.digest-item.flagged {
  background: linear-gradient(90deg, rgba(199,90,42,0.06), transparent 60%);
}
.digest-item .source {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
  padding-top: 2px;
}
.digest-item.flagged .source { color: var(--ember-600); }
.digest-item .body { color: var(--slate-800); line-height: 1.5; }
.digest-item .body .tag {
  display: inline-block;
  font-size: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  padding: 1px 7px;
  border-radius: 3px;
  margin-right: 6px;
  letter-spacing: 0.04em;
}
.digest-item .body .tag.ember { background: var(--ember-100); color: var(--ember-700); }
.digest-item .body .author { color: var(--navy-700); font-weight: 500; }
.digest-item .signal {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  white-space: nowrap;
}
.digest-item.flagged .signal {
  color: var(--ember-600);
  font-weight: 600;
}
.digest-item .signal .blink {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--ember-500);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.digest-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-050);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.digest-foot .pattern { color: var(--ember-600); }

@media (max-width: 880px) {
  .digest-wrap { grid-template-columns: 1fr; }
}

/* ---------- Vault visualization ---------- */
.vault-section {
  background: var(--navy-900);
  color: var(--paper);
}
.vault-section .section-head h2 { color: var(--paper); }
.vault-section .section-head .index { color: rgba(255,255,255,0.55); }
.vault-section .section-head .index .num { color: var(--ember-400); }
.vault-section .section-head .lede { color: rgba(255,255,255,0.78); }

.vault-canvas {
  position: relative;
  width: 100%;
  height: 520px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 32px 100%,
    radial-gradient(circle at 30% 40%, rgba(199,90,42,0.08), transparent 50%),
    var(--navy-900);
  overflow: hidden;
}
.vault-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.vault-legend {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.vault-legend .key { display: inline-flex; align-items: center; gap: 8px; }
.vault-legend .swatch {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy-300);
}
.vault-legend .swatch.ember { background: var(--ember-500); box-shadow: 0 0 12px rgba(219, 122, 74, 0.6); }
.vault-legend .swatch.linked { background: transparent; border: 1px solid var(--navy-300); }

@media (max-width: 720px) {
  .vault-canvas { height: 380px; }
}

/* ---------- Outcomes (replaces vault graph) ---------- */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.outcome-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
}
.outcome-card .outcome-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ember-300);
}
.outcome-card .outcome-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.outcome-card .outcome-stat .big {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.05;
  color: var(--paper);
}
.outcome-card .outcome-stat .small {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: rgba(255,255,255,0.6);
}
.outcome-card p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
  margin-top: auto;
}
.outcomes-quote {
  margin-top: 32px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}
.outcomes-quote .quote-mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.6;
  color: var(--ember-500);
  padding-top: 18px;
}
.outcomes-quote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--paper);
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 880px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcomes-quote { grid-template-columns: 1fr; }
  .outcomes-quote .quote-mark { font-size: 56px; padding-top: 0; }
}

/* ---------- For your team (4-up cards) ---------- */
.for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--slate-200);
  border-left: 1px solid var(--slate-200);
}
.for-card {
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 36px 32px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--duration-md) var(--ease);
}
.for-card:hover { background: rgba(3,60,104,0.02); }
.for-card .ix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate-500);
  text-transform: uppercase;
}
.for-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-600);
  margin-bottom: 4px;
}
.for-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--navy-700);
  margin: 0 0 6px;
  text-wrap: balance;
}
.for-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.for-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--slate-700);
  align-items: baseline;
}
.for-card .bullet-mark {
  color: var(--ember-500);
  font-family: var(--font-mono);
  font-size: 14px;
}
@media (max-width: 720px) {
  .for-grid { grid-template-columns: 1fr; }
}

/* ---------- (legacy) Architecture strip ---------- */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.arch-card {
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--duration-md) var(--ease);
}
.arch-card:hover {
  border-color: var(--navy-300);
  box-shadow: var(--elev-2);
}
.arch-card .layer {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.arch-card .layer .num {
  width: 22px; height: 22px;
  border: 1px solid var(--ember-300);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--ember-600);
}
.arch-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy-700);
  margin: 0;
}
.arch-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate-700);
  margin: 0;
}
.arch-card .terminal {
  margin-top: 4px;
  background: var(--slate-900);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre;
  overflow-x: auto;
}
.arch-card .terminal .k { color: #8fb9d6; }
.arch-card .terminal .v { color: #e9a17a; }
.arch-card .terminal .c { color: rgba(255,255,255,0.4); }
.arch-card .terminal .b { color: var(--paper); font-weight: 500; }

@media (max-width: 880px) {
  .arch-grid { grid-template-columns: 1fr; }
}

/* ---------- Who it's for ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--slate-200);
  border-left: 1px solid var(--slate-200);
}
.who-cell {
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 32px;
  background: var(--paper);
}
.who-cell .ix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  display: block;
  margin-bottom: 16px;
}
.who-cell h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy-700);
  margin: 0 0 12px;
}
.who-cell p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate-700);
  margin: 0;
}

@media (max-width: 720px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ---------- Briefing CTA ---------- */
.briefing {
  background: var(--gradient-brand);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.briefing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(255,255,255,0.06), transparent 40%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 100% 64px;
  pointer-events: none;
}
.briefing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.briefing .pre {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-300);
  margin-bottom: 18px;
}
.briefing h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  color: var(--paper);
  margin: 0 0 24px;
  max-width: 16ch;
}
.briefing p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 48ch;
  margin: 0 0 20px;
}
.briefing .who {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.briefing .who-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  align-items: baseline;
}
.briefing .who-row .check { color: var(--ember-300); }

.briefing-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.briefing-form .row { display: grid; gap: 8px; margin-bottom: 16px; }
.briefing-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.briefing-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--paper);
  transition: all 200ms var(--ease);
}
.briefing-form input::placeholder { color: rgba(255,255,255,0.35); }
.briefing-form input:focus {
  outline: none;
  border-color: var(--ember-300);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(199, 90, 42, 0.22);
}
.briefing-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--paper);
  resize: vertical;
  min-height: 80px;
}
.briefing-form textarea:focus {
  outline: none;
  border-color: var(--ember-300);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(199, 90, 42, 0.22);
}
.briefing-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.briefing-form .submit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 8px;
}
.briefing-form .submit-row .fine {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.briefing-form button {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: var(--ember-500);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--duration-sm) var(--ease), transform var(--duration-xs) var(--ease);
}
.briefing-form button:hover { background: var(--ember-600); }
.briefing-form button:active { transform: translateY(1px); }
.briefing-form .arrow { font-family: var(--font-mono); }

.form-success {
  text-align: center;
  padding: 24px 16px;
}
.form-success .check-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--ember-300);
  margin: 0 auto 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ember-300);
  font-size: 24px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 10px;
}
.form-success p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

@media (max-width: 880px) {
  .briefing-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer .logo-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .logo-line .insight {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--paper);
}
.footer p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0 0 8px; max-width: 36ch; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  border-bottom: none;
}
.footer ul a:hover { color: var(--ember-300); }
.footer .micro {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .micro { flex-direction: column; gap: 8px; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Ember intensity modes (driven by Tweaks) ---------- */
body[data-ember="subtle"] .hero h1 .ember-word { color: var(--navy-700); }
body[data-ember="subtle"] .hero h1 .ember-word::after { background: var(--slate-300); }
body[data-ember="subtle"] .digest-item.flagged { background: var(--slate-050); }
body[data-ember="subtle"] .digest-item.flagged .source,
body[data-ember="subtle"] .digest-item.flagged .signal { color: var(--navy-600); }
body[data-ember="subtle"] .arch-card .layer,
body[data-ember="subtle"] .section-head .index .num { color: var(--navy-600); }
body[data-ember="subtle"] .briefing .pre { color: rgba(255,255,255,0.7); }
body[data-ember="subtle"] .topbar .status-dot { background: var(--navy-500); animation: none; }

body[data-ember="heavy"] .hero h1 .ember-word { color: var(--ember-500); }
body[data-ember="heavy"] .digest-item.flagged { background: rgba(199,90,42,0.12); }
body[data-ember="heavy"] .counter-cell.flipped .num { color: var(--ember-500); text-shadow: 0 0 24px rgba(199,90,42,0.35); }
