/* R1-R7 homepage-specific styles for MNEOS.ai Rev 2
   Progressive-disclosure design system.
   All components self-contained, reduced-motion aware, mobile-first.
*/

/* ============================================================
   MOVEMENT 1 — HERO
   ============================================================ */
.r-hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.r-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/graphics/01-intelligence-field.webp');
  background-size: cover;
  background-position: 55% 60%;
  opacity: 0.55;
  z-index: -1;
  filter: saturate(90%);
  animation: heroFieldPulse 24s ease-in-out infinite;
}
@keyframes heroFieldPulse {
  0%, 100% { opacity: 0.55; filter: saturate(85%) brightness(0.95); }
  50% { opacity: 0.75; filter: saturate(100%) brightness(1.05); }
}
.r-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center 60%, rgba(11,13,15,0.0) 0%, rgba(11,13,15,0.45) 60%, rgba(11,13,15,0.85) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .r-hero-bg { animation: none; opacity: 0.6; }
}
.r-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.r-hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  color: #C4BDAE;
  text-transform: uppercase;
  margin: 0 0 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.r-hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #f3efe7;
  margin: 0 0 28px;
  text-shadow: 0 2px 20px rgba(11,13,15,0.8), 0 0 40px rgba(11,13,15,0.6);
}
.r-hero-explain, .r-hero-kicker {
  text-shadow: 0 1px 12px rgba(11,13,15,0.7);
}
.r-hero-definition {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: #d4b872;
  margin: 0 auto 24px;
  max-width: 720px;
  letter-spacing: -0.005em;
}
.r-hero-explain {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(243,239,231,0.82);
  margin: 0 0 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.r-hero-explain-institution {
  font-size: 15px;
  color: rgba(243,239,231,0.66);
  margin-bottom: 32px;
  font-style: italic;
}
.r-hero-quickfacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
  max-width: 760px;
  margin: 4px auto 36px;
  padding: 24px 28px;
  border: 1px solid rgba(74,125,255,0.18);
  border-radius: 10px;
  background: rgba(74,125,255,0.03);
  text-align: left;
}
.r-hero-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.r-hero-fact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #4a7dff;
  font-weight: 500;
}
.r-hero-fact-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #f3efe7;
  font-weight: 400;
}
.r-hero-fact-status {
  color: #d4b872;
  font-weight: 500;
}
.r-hero-signature {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: #4a7dff;
  text-transform: uppercase;
  margin: 0 0 36px;
}
.r-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.r-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 1px 2px rgba(0,0,0,0.35);
}
.r-btn-primary {
  background: #2d5fd0;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 2px 6px rgba(45,95,208,0.4);
}
.r-btn-primary:hover, .r-btn-primary:focus-visible {
  background: #244fb4;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 10px rgba(45,95,208,0.5);
  outline: none;
}
.r-btn-primary:focus-visible { box-shadow: 0 0 0 3px rgba(74,125,255,0.5), 0 1px 0 rgba(255,255,255,0.2) inset; }
.r-btn-primary:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 1px 2px rgba(45,95,208,0.3); }
.r-btn-ghost {
  border-color: rgba(243,239,231,0.28);
  color: #f3efe7;
  background: rgba(255,255,255,0.02);
}
.r-btn-ghost:hover, .r-btn-ghost:focus-visible {
  border-color: rgba(243,239,231,0.55);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
  outline: none;
}
.r-btn-ghost:active { transform: translateY(0); }

/* =============================================================
   Interactive-vs-informational language.
   Anything the visitor can click uses .is-interactive.
   Informational cards stay flat.
============================================================= */
.is-interactive {
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 1px 3px rgba(0,0,0,0.4);
}
.is-interactive:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 10px rgba(0,0,0,0.5);
  border-color: rgba(74,125,255,0.55);
}
.is-interactive:focus-visible {
  outline: 2px solid #4a7dff;
  outline-offset: 2px;
}
.is-interactive:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 1px 2px rgba(0,0,0,0.5);
}
/* Small "tap" affordance chevron for interactive cards */
.is-interactive::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid rgba(74,125,255,0.55);
  border-top: 1.5px solid rgba(74,125,255,0.55);
  transform: rotate(45deg);
  opacity: 0.65;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.is-interactive:hover::after {
  opacity: 1;
  transform: rotate(45deg) translate(2px, -2px);
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.r-section {
  padding: 96px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.r-section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.r-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 2px;
  color: #C4BDAE;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.r-section h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f3efe7;
  margin: 0 0 24px;
  max-width: 780px;
}
.r-section p.r-lede {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(243,239,231,0.82);
  margin: 0 0 32px;
  max-width: 720px;
}

/* ============================================================
   MOVEMENT 2 — PROBLEM (split-screen Today vs. With MNEOS)
   ============================================================ */
.r-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 40px;
}
.r-split-col {
  padding: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #12151a;
}
.r-split-col.today { border-color: rgba(198,102,102,0.18); }
.r-split-col.mneos { border-color: rgba(74,125,255,0.28); background: linear-gradient(180deg,#151a24,#12151a); }
.r-split-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.r-split-col.today .r-split-header { color: #c66666; }
.r-split-col.mneos .r-split-header { color: #4a7dff; }
.r-split-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
.r-split-col li {
  padding: 8px 0;
  color: rgba(243,239,231,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-left: 20px;
  position: relative;
}
.r-split-col li:last-child { border-bottom: 0; }
.r-split-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(243,239,231,0.35);
}
.r-elevated-line {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  color: #f3efe7;
  text-align: center;
  padding: 32px 24px;
  margin: 12px auto 0;
  max-width: 720px;
  border-top: 1px solid rgba(74,125,255,0.25);
  border-bottom: 1px solid rgba(74,125,255,0.25);
}

/* ============================================================
   MOVEMENT 3 — CONVERGENCE (interactive 9-node)
   ============================================================ */
.r-convergence {
  margin-top: 36px;
}
.r-conv-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.r-conv-node {
  padding: 18px 18px;
  background: linear-gradient(180deg, #171a20, #12151a);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 2px 4px rgba(0,0,0,0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
}
.r-conv-node:hover, .r-conv-node:focus-visible {
  border-color: rgba(74,125,255,0.5);
  background: #171a20;
  transform: translateY(-1px);
  outline: none;
}
.r-conv-node.active {
  border-color: #4a7dff;
  background: linear-gradient(180deg,#161c2e,#12151a);
}
.r-conv-node-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #f3efe7;
  margin: 0 0 4px;
}
.r-conv-node-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #B0A899;
  margin: 0;
}
.r-conv-detail {
  margin-top: 16px;
  padding: 24px 26px;
  border-radius: 6px;
  background: linear-gradient(180deg,#151a24,#0e1119);
  border: 1px solid rgba(74,125,255,0.35);
  border-left-width: 3px;
  min-height: 92px;
}
.r-conv-detail-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #4a7dff;
  margin: 0 0 8px;
}
.r-conv-detail-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243,239,231,0.85);
  margin: 0;
}
.r-conv-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B0A899;
  margin: 16px 0 0;
  text-align: center;
}

/* ============================================================
   MOVEMENT 4 — INTELLIGENCE LOOP (interactive 8-stage)
   ============================================================ */
.r-loop-wrap {
  margin-top: 36px;
}
.r-loop-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.r-loop-stage {
  padding: 14px 12px;
  background: linear-gradient(180deg, #171a20, #12151a);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 2px 4px rgba(0,0,0,0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  color: inherit;
  font: inherit;
  position: relative;
}
.r-loop-stage:hover, .r-loop-stage:focus-visible {
  border-color: rgba(74,125,255,0.5);
  outline: none;
}
.r-loop-stage.active {
  border-color: #4a7dff;
  background: linear-gradient(180deg,#161c2e,#12151a);
}
.r-loop-stage-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #4a7dff;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}
.r-loop-stage-label {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #f3efe7;
}
.r-loop-detail {
  padding: 24px 26px;
  border-radius: 6px;
  background: linear-gradient(180deg,#151a24,#0e1119);
  border: 1px solid rgba(74,125,255,0.35);
  border-left-width: 3px;
  min-height: 100px;
}
.r-loop-detail-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #4a7dff;
  margin: 0 0 8px;
}
.r-loop-detail-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243,239,231,0.85);
  margin: 0;
}
.r-loop-return {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B0A899;
  text-align: center;
  margin-top: 20px;
}
.r-loop-return span { color: #4a7dff; }

/* ============================================================
   MOVEMENT 4 — REV 3 EVIDENCE-BEARING INTELLIGENCE LOOP (r-loop2)
   Visible loop: card grid + directional connectors (::after arrows)
   + return-arc SVG (desktop) + vertical chevrons (mobile).
   Rev 3 revision v3 — 2026-07-13 23:18 ET
   ============================================================ */
.r-section-loop { padding: 96px 0 88px; }

.r-loop2-diagram {
  position: relative;
  margin: 40px 0 8px;
  /* Bottom padding creates room for the return-arc SVG below the second row. */
}

.r-loop2-stages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  position: relative;
}

/* ---- DESKTOP: two-row serpentine + connectors ---- */
@media (min-width: 1080px) {
  .r-loop2-diagram { padding-left: 52px; padding-bottom: 12px; }
  .r-loop2-stages {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 40px;
    row-gap: 84px;
  }
  /* Top row 01–05 left→right. Bottom row 06–10 mapped to visual columns 5,4,3,2,1
     so the reading path snakes and ends at bottom-left (Act) — from which the return
     arc curves up and around to top-left (Observe). */
  .r-loop2-stages > li:nth-child(6)  { grid-row: 2; grid-column: 5; }
  .r-loop2-stages > li:nth-child(7)  { grid-row: 2; grid-column: 4; }
  .r-loop2-stages > li:nth-child(8)  { grid-row: 2; grid-column: 3; }
  .r-loop2-stages > li:nth-child(9)  { grid-row: 2; grid-column: 2; }
  .r-loop2-stages > li:nth-child(10) { grid-row: 2; grid-column: 1; }
}

/* ---- iPad landscape / medium — 2-column ---- */
@media (min-width: 760px) and (max-width: 1079.98px) {
  .r-loop2-stages { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile — single column vertical stack ---- */
@media (max-width: 759.98px) {
  .r-loop2-stages {
    grid-template-columns: 1fr;
    gap: 34px;   /* space for downward chevrons */
  }
}

/* ==================== CARDS ==================== */
.r-loop2-stage {
  position: relative;
  padding: 20px 20px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  border-top-width: 3px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}

.r-loop2-pos {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.45);
  margin: 0;
  text-transform: uppercase;
}
.r-loop2-pos span {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

.r-loop2-name {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px;
  font-weight: 500;
}

.r-loop2-def {
  color: rgba(255,255,255,0.90);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* The Predict card's registration-rule callout */
.r-loop2-rule {
  background: rgba(255,225,90,0.09);
  border: 1px solid rgba(255,225,90,0.35);
  border-left-width: 3px;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 6px 0 4px;
}
.r-loop2-rule-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffe08a;
  margin: 0 0 6px;
}
.r-loop2-rule-body {
  color: #fff8d1;
  font-size: 13px;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

/* Produces line — visually distinct but subordinate */
.r-loop2-out {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.55;
  margin: 6px 0 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.r-loop2-out-label {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}

.r-loop2-family {
  margin-top: auto;
  padding-top: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Family color coding — top border + family text */
.r-loop2-fam-perception   { border-top-color: #4a9eff; }
.r-loop2-fam-formal       { border-top-color: #6f95ff; }
.r-loop2-fam-empirical    { border-top-color: #d9a54a; }
.r-loop2-fam-revision     { border-top-color: #b378dc; }
.r-loop2-fam-construction { border-top-color: #8fdb7a; }

.r-loop2-fam-perception   .r-loop2-family { color: #4a9eff; }
.r-loop2-fam-formal       .r-loop2-family { color: #6f95ff; }
.r-loop2-fam-empirical    .r-loop2-family { color: #d9a54a; }
.r-loop2-fam-revision     .r-loop2-family { color: #b378dc; }
.r-loop2-fam-construction .r-loop2-family { color: #8fdb7a; }

/* ==================== DESKTOP CONNECTORS ==================== */
/* Horizontal arrows between cards in a row.
   Placed on the card as ::after; extends into the column-gap. */
@media (min-width: 1080px) {
  /* Top row: 01→02, 02→03, 03→04, 04→05 (arrows point right) */
  .r-loop2-stages > li:nth-child(1)::after,
  .r-loop2-stages > li:nth-child(2)::after,
  .r-loop2-stages > li:nth-child(3)::after,
  .r-loop2-stages > li:nth-child(4)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -36px;
    width: 30px;
    height: 2px;
    background: currentColor;
    color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
  }
  .r-loop2-stages > li:nth-child(1)::before,
  .r-loop2-stages > li:nth-child(2)::before,
  .r-loop2-stages > li:nth-child(3)::before,
  .r-loop2-stages > li:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -13px;
    width: 0;
    height: 0;
    border-left: 8px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    color: rgba(255,255,255,0.55);
    transform: translateY(-5px);
    z-index: 2;
  }
  /* Right-edge wrap: 05 → 06 (vertical arrow down from Predict to Experiment) */
  .r-loop2-stages > li:nth-child(5)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -68px;
    width: 2px;
    height: 60px;
    background: rgba(255,255,255,0.35);
    transform: translateX(-1px);
  }
  .r-loop2-stages > li:nth-child(5)::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 0;
    height: 0;
    border-top: 8px solid rgba(255,255,255,0.55);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transform: translateX(-5px);
    z-index: 2;
  }
  /* Bottom row: 06→07→08→09→10 arrows point LEFT (since visual columns are 5,4,3,2,1).
     Placed on the source card's LEFT edge extending into the column-gap on the left. */
  .r-loop2-stages > li:nth-child(6)::after,
  .r-loop2-stages > li:nth-child(7)::after,
  .r-loop2-stages > li:nth-child(8)::after,
  .r-loop2-stages > li:nth-child(9)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -36px;
    width: 30px;
    height: 2px;
    background: currentColor;
    color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
  }
  .r-loop2-stages > li:nth-child(6)::before,
  .r-loop2-stages > li:nth-child(7)::before,
  .r-loop2-stages > li:nth-child(8)::before,
  .r-loop2-stages > li:nth-child(9)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -13px;
    width: 0;
    height: 0;
    border-right: 8px solid rgba(255,255,255,0.55);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transform: translateY(-5px);
    z-index: 2;
  }
  /* Family-tinted connectors: color the source card's outgoing arrow by its family */
  .r-loop2-stages > li.r-loop2-fam-perception::after   { color: rgba(74,158,255,0.55); }
  .r-loop2-stages > li.r-loop2-fam-perception::before  { border-left-color: #4a9eff; border-right-color: #4a9eff; }
  .r-loop2-stages > li.r-loop2-fam-formal::after       { color: rgba(111,149,255,0.55); }
  .r-loop2-stages > li.r-loop2-fam-formal::before      { border-left-color: #6f95ff; border-right-color: #6f95ff; }
  .r-loop2-stages > li.r-loop2-fam-empirical::after    { color: rgba(217,165,74,0.55); }
  .r-loop2-stages > li.r-loop2-fam-empirical::before   { border-left-color: #d9a54a; border-right-color: #d9a54a; border-top-color: #d9a54a; }
  .r-loop2-stages > li.r-loop2-fam-revision::after     { color: rgba(179,120,220,0.55); }
  .r-loop2-stages > li.r-loop2-fam-revision::before    { border-left-color: #b378dc; border-right-color: #b378dc; }
  .r-loop2-stages > li.r-loop2-fam-construction::after { color: rgba(143,219,122,0.55); }
  .r-loop2-stages > li.r-loop2-fam-construction::before{ border-left-color: #8fdb7a; border-right-color: #8fdb7a; }
  /* The wrap arrow at 05 uses formal color */
  .r-loop2-stages > li:nth-child(5)::before { border-top-color: #6f95ff; }
  .r-loop2-stages > li:nth-child(5)::after { background: rgba(111,149,255,0.55); }
}

/* ==================== RETURN ARC (desktop) ==================== */
.r-loop2-returnarc { display: none; }
@media (min-width: 1080px) {
  .r-loop2-returnarc {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 100%;
    pointer-events: none;
  }
  .r-loop2-returnarc svg { width: 100%; height: 100%; }
}

/* ==================== MOBILE VERTICAL CHEVRONS ==================== */
@media (max-width: 759.98px) {
  /* Downward chevron between adjacent stages */
  .r-loop2-stages > li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -28px;
    width: 0;
    height: 0;
    border-top: 10px solid currentColor;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    transform: translateX(-7px);
    color: rgba(255,255,255,0.35);
  }
  /* Family color tint on mobile chevrons */
  .r-loop2-stages > li.r-loop2-fam-perception::after   { color: #4a9eff; }
  .r-loop2-stages > li.r-loop2-fam-formal::after       { color: #6f95ff; }
  .r-loop2-stages > li.r-loop2-fam-empirical::after    { color: #d9a54a; }
  .r-loop2-stages > li.r-loop2-fam-revision::after     { color: #b378dc; }
  .r-loop2-stages > li.r-loop2-fam-construction::after { color: #8fdb7a; }
}

/* ==================== LOOP-CLOSES MARKER ==================== */
.r-loop2-closes {
  margin: 34px 0 0;
  text-align: center;
  padding: 14px 18px;
  background: rgba(143,219,122,0.06);
  border: 1px solid rgba(143,219,122,0.28);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.r-loop2-closes-badge {
  font-size: 22px;
  color: #8fdb7a;
  line-height: 1;
}
.r-loop2-closes-text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a8e295;
}

/* ==================== HUMAN JUDGMENT ==================== */
.r-loop2-humanjudgment {
  margin: 36px auto 0;
  max-width: 900px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  border-left: 3px solid #cfa3ea;
}
.r-loop2-hj-heading {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cfa3ea;
  margin: 0 0 8px;
}
.r-loop2-hj-body {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ==================== EVIDENCE RULE ==================== */
.r-loop2-evidence-rule {
  margin: 32px auto 0;
  max-width: 900px;
  padding: 28px 30px 24px;
  background: rgba(74,158,255,0.05);
  border: 1px solid rgba(74,158,255,0.32);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(74,158,255,0.06) inset;
}
.r-loop2-evidence-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a9eff;
  margin: 0 0 12px;
}
.r-loop2-evidence-headline {
  color: #fff;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 14px;
}
.r-loop2-evidence-body {
  color: rgba(255,255,255,0.87);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.r-loop2-evidence-italic {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  font-style: italic;
  margin: 0;
}

/* ==================== REVISION PATHS ==================== */
.r-loop2-revisionpaths {
  margin: 28px auto 0;
  max-width: 900px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.r-loop2-rp-heading {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin: 0 0 10px;
}
.r-loop2-rp-lede {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.r-loop2-rp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.r-loop2-rp-list li {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  line-height: 1.55;
}
.r-loop2-rp-target {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  color: #d9a54a;
  padding-right: 8px;
  font-weight: 600;
}

/* ==================== MOVEMENT 5 LINK ==================== */
.r-loop2-m5-link {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.r-loop2-m5-link a {
  color: #82b8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.r-loop2-m5-link a:hover, .r-loop2-m5-link a:focus-visible {
  color: #b8d5ff;
}

   MOVEMENT 5 — GOVERNANCE / TRUST
   ============================================================ */
.r-doctrine {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 36px 0 20px;
}
/* Informational: labeled flow, not clickable. Subdued background. */
.r-doctrine-step {
  padding: 12px 10px;
  background: rgba(74,125,255,0.04);
  border: 1px solid rgba(74,125,255,0.18);
  border-radius: 4px;
  text-align: center;
  position: relative;
}
.r-doctrine-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #B0A899;
  letter-spacing: 1.5px;
  margin: 0 0 4px;
}
.r-doctrine-step-label {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #f3efe7;
}
.r-doctrine-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #4a7dff;
  text-align: center;
  margin: 8px 0 0;
}
.r-doctrine-line {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(243,239,231,0.85);
  text-align: center;
  margin: 4px 0 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.r-trust-facets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.r-trust-facet {
  padding: 16px 20px;
  background: linear-gradient(180deg, #17140e, #12151a);
  border: 1px solid rgba(201,162,75,0.35);
  border-left: 2px solid #c9a24b;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 2px 4px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.2s ease;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
}
.r-trust-facet:hover, .r-trust-facet:focus-visible {
  border-color: #c9a24b;
  background: #171a20;
  outline: none;
}
.r-trust-facet.active {
  background: linear-gradient(180deg,#1c1a13,#12151a);
  border-color: #c9a24b;
}
.r-trust-facet-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #c9a24b;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.r-trust-facet-body {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(243,239,231,0.75);
  margin: 0;
}

/* ============================================================
   MOVEMENT 6 — CURRENT BUILD (4 proof cards)
   ============================================================ */
.r-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
/* Informational card — intentionally flat, no shadow, no hover. */
.r-card {
  padding: 22px 24px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
}
.r-card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #f3efe7;
  margin: 0 0 10px;
}
.r-card-body {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(243,239,231,0.78);
  margin: 0;
}
.r-status-note {
  padding: 18px 22px;
  border-radius: 4px;
  border: 1px solid rgba(185,114,74,0.28);
  border-left: 2px solid #b9724a;
  background: linear-gradient(90deg,rgba(185,114,74,0.06),transparent);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(243,239,231,0.85);
  margin-top: 8px;
}
.r-status-note strong { color: #b9724a; }

/* Examples section — concrete use cases */
.r-section-examples { background: linear-gradient(180deg, rgba(74,125,255,0.02), transparent); }
.r-examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 36px 0 0;
}
.r-example {
  padding: 26px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.r-example-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #4a7dff;
  margin: 0;
  font-weight: 500;
}
.r-example-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  color: #f3efe7;
  margin: 0;
}
.r-example-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243,239,231,0.8);
  margin: 0;
}
.r-example-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: auto 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
}
.r-example-status-live { color: #7dd394; }
.r-example-status-build { color: #d4b872; }

/* DAS Architecture section — layered substrate */
.r-section-das { background: linear-gradient(180deg, transparent, rgba(212,184,114,0.02)); }
.r-das-layers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 36px 0 0;
  max-width: 880px;
}
.r-das-layer {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 2px solid #d4b872;
  border-radius: 6px;
  align-items: start;
}
.r-das-layer-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: #d4b872;
  margin: 0;
  line-height: 1;
}
.r-das-layer-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.r-das-layer-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #f3efe7;
  margin: 0;
}
.r-das-layer-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243,239,231,0.78);
  margin: 0;
}
.r-das-note {
  margin: 32px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: rgba(243,239,231,0.65);
  font-style: italic;
}
.r-das-note a { color: #d4b872; text-decoration: none; }
.r-das-note a:hover { text-decoration: underline; }

/* ============================================================
   MOVEMENT 7 — AUDIENCE PATHWAYS
   ============================================================ */
.r-pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.r-pathway {
  padding: 20px 22px;
  background: linear-gradient(180deg, #171a20, #12151a);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
  display: block;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 2px 4px rgba(0,0,0,0.4);
}
.r-pathway:hover, .r-pathway:focus-visible {
  border-color: #4a7dff;
  background: linear-gradient(180deg, #1a1e26, #14181f);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 6px 14px rgba(74,125,255,0.15);
  outline: none;
}
.r-pathway:active { transform: translateY(-1px); }
.r-pathway-audience {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B0A899;
  margin: 0 0 10px;
}
.r-pathway-action {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #f3efe7;
  margin: 0 0 4px;
  line-height: 1.3;
}
.r-pathway-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #4a7dff;
  margin-top: 12px;
  display: inline-block;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .r-section { padding: 56px 0; }
  .r-split { grid-template-columns: 1fr; gap: 12px; }
  .r-split-col { padding: 20px 22px; }
  .r-conv-nodes { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .r-conv-node { padding: 14px 14px; }
  .r-loop-stages { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .r-loop-stage { padding: 10px 8px; }
  .r-doctrine { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .r-doctrine-arrow { display: none; }
  .r-doctrine-step { padding: 10px 8px; }
  .r-trust-facets { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .r-trust-facet { padding: 14px 16px; }
  .r-cards { grid-template-columns: 1fr; gap: 10px; }
  .r-card { padding: 18px 20px; }
  .r-examples-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .r-example { padding: 22px 22px; gap: 10px; }
  .r-example-title { font-size: 17px; }
  .r-example-body { font-size: 14.5px; }
  .r-das-layers { margin-top: 24px; gap: 10px; }
  .r-das-layer { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 18px; }
  .r-das-layer-num { font-size: 22px; }
  .r-das-layer-name { font-size: 16px; }
  .r-das-layer-desc { font-size: 14.5px; }
  .r-pathways { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .r-pathway { padding: 16px 16px; min-height: auto; }
}
@media (max-width: 560px) {
  .r-hero { padding: 48px 0 36px; }
  .r-section { padding: 44px 0; }
  .r-hero-kicker { font-size: 12.5px; letter-spacing: 1.5px; margin-bottom: 14px; }
  .r-hero h1 { margin-bottom: 20px; }
  .r-hero-bg { opacity: 0.4; filter: saturate(85%); animation: none; }
  .r-hero-definition { font-size: 16.5px; line-height: 1.5; margin-bottom: 18px; }
  .r-hero-explain { font-size: 15.5px; line-height: 1.55; margin-bottom: 22px; }
  .r-hero-quickfacts { grid-template-columns: 1fr; gap: 14px; padding: 18px 20px; margin-bottom: 24px; }
  .r-hero-fact-value { font-size: 14.5px; }
  .r-hero-signature { margin-bottom: 22px; font-size: 12.5px; }
  .r-section h2 { margin-bottom: 14px; font-size: clamp(22px, 6vw, 30px); }
  .r-section p.r-lede { font-size: 15.5px; line-height: 1.55; margin-bottom: 20px; }
  .r-kicker { font-size: 12.5px; margin-bottom: 8px; }
  .r-conv-nodes { grid-template-columns: repeat(2, 1fr); }
  .r-conv-node { padding: 12px 12px; }
  .r-conv-node-title { font-size: 14px; }
  .r-conv-node-hint { font-size: 12px; margin-top: 3px; }
  .r-conv-detail { padding: 16px 18px; min-height: 0; margin-top: 12px; }
  .r-conv-detail-title { font-size: 16px; }
  .r-conv-detail-body { font-size: 14px; line-height: 1.5; }
  .r-loop-stages { grid-template-columns: repeat(2, 1fr); }
  .r-loop-stage { padding: 10px 8px; }
  .r-loop-stage-label { font-size: 13px; }
  .r-loop-detail { padding: 16px 18px; min-height: 0; }
  .r-loop-detail-title { font-size: 17px; }
  .r-loop-detail-body { font-size: 14px; line-height: 1.5; }
  .r-doctrine { grid-template-columns: repeat(2, 1fr); }
  .r-doctrine-step { padding: 9px 6px; }
  .r-doctrine-step-label { font-size: 12px; }
  .r-doctrine-line { font-size: 15px; margin-bottom: 24px; }
  .r-trust-facets { grid-template-columns: 1fr; gap: 8px; }
  .r-trust-facet { padding: 14px 16px; }
  .r-trust-facet-title { font-size: 13px; }
  .r-trust-facet-body { font-size: 13px; line-height: 1.45; }
  .r-cards { gap: 10px; }
  .r-card { padding: 16px 18px; }
  .r-card-title { font-size: 16px; margin-bottom: 6px; }
  .r-card-body { font-size: 13.5px; line-height: 1.5; }
  .r-status-note { padding: 14px 16px; font-size: 13.5px; line-height: 1.5; }
  .r-pathways { grid-template-columns: 1fr; gap: 8px; }
  .r-pathway { padding: 14px 16px; }
  .r-pathway-audience { font-size: 12px; margin-bottom: 4px; }
  .r-pathway-action { font-size: 15.5px; }
  .r-pathway-arrow { font-size: 12px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   MOBILE PERSISTENT ACTION BAR
   Shows only on mobile; floats at bottom
   ============================================================ */
.r-mobile-actions {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(15, 17, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  /* Reduced weight per David’s Rev 3 directive §7: shorter, lighter, less dominant. */
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}
.r-mobile-actions.is-collapsed {
  transform: translateY(calc(100% + 8px));
  opacity: 0;
  pointer-events: none;
}
.r-mobile-action {
  flex: 1;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  text-decoration: none;
  color: #d8d3c8;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.r-mobile-action:active,
.r-mobile-action:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.r-mobile-action-primary {
  background: rgba(74,125,255,0.18);
  border-color: rgba(74,125,255,0.42);
  color: #dfe7ff;
}
.r-mobile-action-primary:active,
.r-mobile-action-primary:focus-visible {
  background: rgba(74,125,255,0.28);
  border-color: rgba(74,125,255,0.60);
}
.r-mobile-action-label {
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .r-mobile-actions { display: flex; }
  /* Sufficient bottom padding so no card, Evidence Rule, citation, or footer content
     is hidden behind the mobile action bar. 88px covers 40px min-height + 16px padding + safe-area. */
  .site-footer { padding-bottom: 96px; }
  main { padding-bottom: 88px; }
}

/* ============================================================
   HERO — CLEAN VARIANT (image removed, image now lives in Movement 1)
   ============================================================ */
.r-hero-clean {
  background: #0b0d0f;
  padding: 96px 0 72px;
  position: relative;
}
.r-hero-clean .r-hero-bg { display: none !important; }
.r-hero-clean .r-hero-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   MOVEMENT 1 — THE INTELLIGENCE FIELD (standalone teaching graphic)
   ============================================================ */
.r-field {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #0b0d0f 0%, #10131a 40%, #0b0d0f 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.r-field-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.r-field-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  color: #6f95ff;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.r-field h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: #f3efe7;
  margin: 0 0 20px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.r-field-lede {
  font-family: 'Inter', sans-serif;
  font-size: 17.5px;
  line-height: 1.55;
  color: #b8b3a8;
  margin: 0 auto 40px;
  max-width: 780px;
}
.r-field-figure {
  margin: 0 auto 48px;
  max-width: 1120px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(74,125,255,0.04), rgba(74,125,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.r-field-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.r-field-caption {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #8f8b82;
  margin-top: 20px;
  padding: 0 12px;
  text-align: center;
}
.r-field-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}
.r-field-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  border-top: 2px solid rgba(74,125,255,0.5);
}
.r-field-stage:nth-child(1) { border-top-color: #4a9eff; }
.r-field-stage:nth-child(2) { border-top-color: #6f95ff; }
.r-field-stage:nth-child(3) { border-top-color: #d9a54a; }
.r-field-stage:nth-child(4) { border-top-color: #a86fdf; }
.r-field-stage:nth-child(5) { border-top-color: #57ba47; }
.r-field-stage-name {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: #f3efe7;
  font-weight: 500;
  text-transform: uppercase;
}
.r-field-stage-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #a09b8f;
}
@media (max-width: 900px) {
  .r-field { padding: 64px 0 56px; }
  .r-field-stages {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .r-field-figure { padding: 12px; margin-bottom: 32px; }
  .r-field-caption { font-size: 13.5px; }
  .r-field-lede { font-size: 16px; }
}
@media (max-width: 520px) {
  .r-field-stages { grid-template-columns: 1fr; }
  .r-field-stage { padding: 18px 18px; }
}

/* ============================================================
   OPTION A — LEFT / RIGHT SPLIT HERO (preview at /alt-hero-a)
   ============================================================ */
.r-hero-split {
  background: #0b0d0f;
  padding: 72px 0 56px;
}
.r-hero-split-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}
.r-hero-split-text {
  padding: 0;
  text-align: left;
  max-width: 620px;
}
.r-hero-split-text .r-hero-kicker { justify-content: flex-start; text-align: left; }
.r-hero-split-text h1 {
  text-align: left;
  font-size: clamp(28px, 3.4vw, 44px);
}
.r-hero-split-text .r-hero-explain { text-align: left; }
.r-hero-split-text .r-hero-quickfacts { grid-template-columns: 1fr; text-align: left; }
.r-hero-split-text .r-hero-signature { text-align: left; }
.r-hero-split-text .r-hero-actions { justify-content: flex-start; }
.r-hero-split-graphic {
  position: sticky;
  top: 96px;
  align-self: start;
}
.r-hero-graphic-figure {
  margin: 0;
  background: linear-gradient(180deg, rgba(74,125,255,0.05), rgba(74,125,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
}
.r-hero-graphic-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.r-hero-graphic-figure figcaption {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2.2px;
  color: #6f95ff;
  text-transform: uppercase;
  margin-top: 14px;
  padding: 0 4px;
  text-align: center;
  font-weight: 500;
}
@media (max-width: 1080px) {
  .r-hero-split-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .r-hero-split-graphic {
    position: static;
    order: 2;
  }
  .r-hero-split-text { max-width: 780px; margin: 0 auto; }
  .r-hero-split-text h1,
  .r-hero-split-text .r-hero-explain,
  .r-hero-split-text .r-hero-actions,
  .r-hero-split-text .r-hero-kicker,
  .r-hero-split-text .r-hero-signature { text-align: center; }
  .r-hero-split-text .r-hero-actions { justify-content: center; }
}

/* ============================================================
   FIELD FIGURE — tap-to-expand + mobile full-bleed
   ============================================================ */
.r-field-figure-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.r-field-figure-btn:focus-visible {
  outline: 2px solid #6f95ff;
  outline-offset: 4px;
}
.r-field-figure-btn img {
  transition: transform 0.3s ease;
}
.r-field-figure-btn:hover img,
.r-field-figure-btn:focus-visible img {
  transform: scale(1.015);
}
.r-field-figure-expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(11,13,15,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f3efe7;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none; /* whole button captures clicks */
}
.r-field-caption-strong {
  color: #6f95ff;
  font-weight: 500;
  display: inline;
}
@media (max-width: 640px) {
  .r-field { padding: 48px 0 40px; }
  .r-field-inner { padding: 0 18px; }
  /* Give the figure edge-to-edge on mobile — reclaim the ~40px lost to padding */
  .r-field-figure {
    padding: 6px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 6px;
  }
  .r-field-figure-btn img { border-radius: 3px; }
  .r-field-figure-expand {
    right: 10px; bottom: 10px;
    font-size: 10.5px;
    padding: 7px 11px;
    letter-spacing: 1px;
  }
  .r-field-caption { font-size: 13.5px; padding: 0 8px; }
}
/* Very narrow — true full-bleed */
@media (max-width: 420px) {
  .r-field-inner { padding: 0 12px; }
  .r-field-figure {
    margin-left: -12px;
    margin-right: -12px;
    padding: 4px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

/* ============================================================
   LIGHTBOX — full-screen diagram viewer with pinch-zoom support
   ============================================================ */
.r-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  overflow: hidden;
}
.r-lightbox[aria-hidden="false"] { display: block; }
.r-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,13,15,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.r-lightbox-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  pointer-events: none;
}
.r-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px 16px;
  pointer-events: auto;
}
.r-lightbox-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6f95ff;
  margin: 0;
  font-weight: 500;
}
.r-lightbox-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #f3efe7;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.r-lightbox-close:hover,
.r-lightbox-close:focus-visible {
  background: rgba(255,255,255,0.14);
  outline: none;
}
.r-lightbox-image-wrap {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pinch-zoom pan-x pan-y;
  pointer-events: auto;
  min-height: 0;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.r-lightbox-image {
  display: block;
  width: 100%;
  max-width: 1400px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}
/* Zoom controls */
.r-lightbox-image-wrap.is-zoomed { touch-action: pan-x pan-y; }
.r-lightbox-image-wrap.is-zoomed .r-lightbox-image {
  width: 220%;
  max-height: none;
  height: auto;
}
.r-lightbox-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(74,125,255,0.85);
  color: #fff;
  border: 0;
  border-radius: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.r-lightbox-zoom-btn:hover, .r-lightbox-zoom-btn:focus-visible {
  background: rgba(74,125,255,1);
  outline: none;
}
.r-lightbox-hint {
  text-align: center;
  color: #8f8b82;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  padding: 14px 8px 4px;
  margin: 0;
  pointer-events: auto;
}

/* ============================================================
   MOVEMENT 5 — LIVING MEMORY (Rev 3)
   ============================================================ */
.r-section-memory {
  background: linear-gradient(180deg, #0b0d0f 0%, #11151d 50%, #0b0d0f 100%);
}
.r-memory-elements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 32px 0 32px;
}
.r-memory-element {
  padding: 22px 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  border-top: 2px solid rgba(111,149,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.r-memory-element-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #6f95ff;
  margin: 0;
  font-weight: 500;
}
.r-memory-element-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #f3efe7;
  margin: 0;
  line-height: 1.25;
}
.r-memory-element-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: #a09b8f;
  margin: 0;
}
.r-memory-doctrine-box {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(111,149,255,0.05);
  border: 1px solid rgba(111,149,255,0.25);
  border-radius: 10px;
}
.r-memory-doctrine-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6f95ff;
  margin: 0 0 12px;
  font-weight: 500;
}
.r-memory-doctrine-text {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: #d5d0c4;
  margin: 0 0 16px;
}
.r-memory-doctrine-text em {
  font-style: normal;
  color: #f3efe7;
  font-weight: 500;
  padding: 1px 6px;
  background: rgba(111,149,255,0.1);
  border-radius: 3px;
  margin: 0 1px;
}
.r-memory-doctrine-status {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #a09b8f;
  margin: 0;
  line-height: 1.5;
}
.r-memory-doctrine-status .claim-status { margin-top: 0; margin-right: 6px; }
@media (max-width: 900px) {
  .r-memory-elements { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .r-memory-elements { grid-template-columns: 1fr; }
  .r-memory-doctrine-box { padding: 22px 20px; }
  .r-memory-doctrine-text { font-size: 15px; }
}

/* ============================================================
   MOVEMENT 6 — EXECUTIVE & ORGANIZATIONAL INTELLIGENCE (Rev 3)
   ============================================================ */
.r-section-exec {
  background: linear-gradient(180deg, #0b0d0f 0%, #0f131b 50%, #0b0d0f 100%);
}
.r-exec-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 64px;
}
.r-exec-question {
  padding: 28px 26px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  border-top: 3px solid rgba(217,165,74,0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.r-exec-question:nth-child(1) { border-top-color: #6f95ff; }
.r-exec-question:nth-child(2) { border-top-color: #d9a54a; }
.r-exec-question:nth-child(3) { border-top-color: #57ba47; }
.r-exec-q-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #6f95ff;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
}
.r-exec-question:nth-child(2) .r-exec-q-num { color: #d9a54a; }
.r-exec-question:nth-child(3) .r-exec-q-num { color: #57ba47; }
.r-exec-q-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #f3efe7;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.008em;
}
.r-exec-q-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #a09b8f;
  margin: 0;
}
.r-exec-h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: #f3efe7;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.r-exec-lede-2 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #b8b3a8;
  margin: 0 0 28px;
  max-width: 760px;
}
.r-exec-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 32px;
}
.r-exec-layer {
  padding: 22px 22px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.r-exec-layer-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #f3efe7;
  margin: 0;
  letter-spacing: -0.005em;
}
.r-exec-layer-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #a09b8f;
  margin: 0;
}
.r-exec-layer-desc em {
  font-style: normal;
  color: #d5d0c4;
  font-weight: 500;
}
.r-exec-status-box {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(109,218,95,0.05);
  border: 1px solid rgba(109,218,95,0.22);
  border-radius: 10px;
}
.r-exec-status-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6dda5f;
  margin: 0 0 12px;
  font-weight: 500;
}
.r-exec-status-text {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: #d5d0c4;
  margin: 0 0 16px;
}
.r-exec-status-badges {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.r-exec-status-badges .claim-status { margin-top: 0; }
@media (max-width: 900px) {
  .r-exec-questions { grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
  .r-exec-layers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .r-exec-layers { grid-template-columns: 1fr; }
  .r-exec-status-box { padding: 22px 20px; }
}
