/* === system-site v3 · system.css ==================================
   The Stage 0 design language ported to system.mods.group [2026-07-13].
   Dark field, a red light with mass rides beneath, type is light with a
   faint red halo [the SYSTEM-host variant of the language, tuned to read
   as running copy], the featured block is a frosted glass pane.
   Foundation: tokens.css (palette/type) + backlight.css (the light).
   Companion runtime: scripts/backlight.js */

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

html { color-scheme: dark; }
body {
  background: #0a0a0a;
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* --- page chrome: wordmark + runner, mono, quiet ------------------- */
.sys-chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 4vw, 48px);
  font-family: var(--font-mono);
  pointer-events: none;
}
.sys-mark {
  font-size: var(--fs-mono-lg);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
}
.sys-mark-dot { color: var(--seal); }
.sys-runner {
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.24em;
  color: var(--text-muted);
}

/* --- HERO · dark field, light beneath the type -------------------- */
.hero {
  --szb-surface: #0a0a0a;
  --szb-ink: #0a0a0a;
  --szb-gx: 50%;
  --szb-gy: 44%;
  --szb-glow-a: 0;
  position: relative;
  min-height: 100svh;
  background: var(--szb-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vh, 160px) clamp(24px, 6vw, 96px);
}
/* content rides above the light [light is z0, injected first-child] */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
  min-width: 0;        /* defeat flex min-content floor so copy wraps to viewport */
  margin: 0 auto;
}

/* --- 00 + 01 = ONE pool -------------------------------------------
   The two pages share a single light field (data-pool). Two halos swim
   the whole wrapper: called together to the cursor on move, split to
   their own drift when the finger leaves. The wrapper is the host that
   clips the pool; both sections go transparent so the light rides behind
   both. Each section keeps its own eyebrow, so they still read as two
   distinct pages. Runtime: scripts/backlight.js initPool(). */
.heart-field {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  --szb-surface: #0a0a0a;
  --szb-ink: #0a0a0a;
  --szb-gx: 50%;
  --szb-gy: 40%;
  --szb-glow-a: 0;
}
.heart-field > .hero,
.heart-field > #surface { background: transparent; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 236, 232, 0.62);
  margin-bottom: clamp(20px, 3vh, 34px);
}

.hero-title {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: var(--fs-h-xl);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 0 38px rgba(220, 38, 38, 0.20);
}

.hero-lead {
  margin-top: clamp(20px, 3vh, 30px);
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.66);
  max-width: min(46ch, 100%);
}

/* --- the featured block: a frosted glass pane over the light ------- */
.glass {
  margin-top: clamp(36px, 6vh, 64px);
  max-width: min(52ch, 100%);
  padding: 28px 30px;
  border: 1px solid rgba(255, 222, 216, 0.06);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.15);
  backdrop-filter: blur(60px) saturate(1.15);
  -webkit-backdrop-filter: blur(60px) saturate(1.15);
  box-shadow: 0 0 140px rgba(220, 38, 38, 0.06);
}
.glass-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--brass);
  margin-bottom: 14px;
}
.glass-body {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.74);
}

/* --- CTA: mono, rim red ------------------------------------------- */
.cta {
  display: inline-block;
  margin-top: clamp(32px, 5vh, 52px);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-md);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: rgba(255, 96, 84, 0.92);
  transition: color 0.25s ease;
}
.cta:hover { color: #ffdad6; }

@media (max-width: 1199px) {
  .hero { align-items: flex-end; padding-bottom: clamp(64px, 12vh, 120px); }
  .hero-title { font-size: clamp(30px, 8.5vw, 60px); }
  .hero-lead, .glass { max-width: 100%; }
  .sys-runner { display: none; }
}

/* ===================================================================
   v3 FULL SCROLL — the Stage 0 language carried across all 7 sections
   [2026-07-13]. Same dark field, Outfit-800 headlines light-with-halo,
   mono labels in brass/dim, Lora body, frosted .glass panes, rim-red
   accents. Foundation stays tokens.css + backlight.css. Restraint on
   the light: flare rides only the hero + the "Live Runtime" heart.
   =================================================================== */

html { scroll-behavior: smooth; }
.hero, .sys-section { scroll-margin-top: 72px; }

/* --- chrome extended: wordmark group + nav + live clock ------------ */
.sys-chrome-left {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 24px);
  min-width: 0;
}
.sys-nav {
  display: flex;
  gap: clamp(16px, 2.2vw, 30px);
  pointer-events: auto;
  /* centered on the PAGE as one unit, independent of the wordmark/clock widths
     [space-between put it off to the right]. Reset for the mobile overlay. */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.sys-nav a {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.sys-nav a:hover,
.sys-nav a.is-active { color: rgba(245, 245, 245, 0.92); }
.sys-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--seal);
}
/* the 00-06 index only surfaces in the full-page mobile menu */
.sys-nav .nav-idx { display: none; }

/* --- mobile nav toggle: hidden on desktop, becomes a full-page menu below 1100 - */
.sys-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}
.sys-nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
body.nav-open .sys-nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .sys-nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .sys-nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.sys-clock {
  display: flex;
  align-items: center;
  gap: 9px;
  pointer-events: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.18em;
  color: var(--text-2);
  white-space: nowrap;
}
.sys-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 0 8px rgba(224, 32, 38, 0.7);
  animation: sys-pulse 2.4s ease-in-out infinite;
}
@keyframes sys-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* --- generic section shell ---------------------------------------- */
.sys-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vh, 132px) clamp(24px, 6vw, 96px);
}
.sys-section-inner {
  position: relative;
  z-index: 2;            /* rides above the injected light layers [z0] */
  max-width: 1180px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
/* data-backlight hosts inherit the hero's field vars so the light reads */
.sys-section[data-backlight],
.sys-section[data-backlight="no-flare"] {
  --szb-surface: #0a0a0a;
  --szb-ink: #0a0a0a;
  --szb-gx: 50%;
  --szb-gy: 44%;
  --szb-glow-a: 0;
}

/* --- section head: eyebrow + title left, lede right --------------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(38px, 6vh, 68px);
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 236, 232, 0.55);
  margin-bottom: clamp(16px, 2.4vh, 26px);
}
.sec-title {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: var(--fs-h-lg);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 0 34px rgba(220, 38, 38, 0.16);
}
.dot { color: var(--seal); }
.sec-lede {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  line-height: 1.62;
  color: rgba(245, 245, 245, 0.6);
  max-width: min(48ch, 100%);
}

/* --- shared card primitive [capabilities / roster / cases] -------- */
.card-frost {
  min-width: 0;
  border: 1px solid rgba(255, 222, 216, 0.07);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.22);
}

/* --- 01 · capabilities -------------------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.cap-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  min-height: 280px;
}
.cap-num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass);
}
.cap-title {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: var(--fs-h-sm);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text);
}
.cap-body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.62);
  margin-top: auto;
}
.cap-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.16em;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 222, 216, 0.06);
  padding-top: 14px;
}

/* --- 02 · live runtime · the heart behind glass ------------------- */
.runtime-glass {
  padding: clamp(26px, 3vw, 34px) clamp(26px, 3vw, 34px);
  border: 1px solid rgba(255, 222, 216, 0.07);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.15);
  backdrop-filter: blur(60px) saturate(1.15);
  -webkit-backdrop-filter: blur(60px) saturate(1.15);
  box-shadow: 0 0 140px rgba(220, 38, 38, 0.06);
}
.rt-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--brass);
  margin-bottom: 6px;
}
.rt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: 18px;
}
.readout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 222, 216, 0.06);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-md);
  min-width: 0;
}
.readout .lbl {
  color: var(--text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.readout .val {
  color: rgba(245, 245, 245, 0.82);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}
.readout.alert .val { color: rgba(255, 96, 84, 0.95); }
.rt-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(176, 136, 66, 0.7);
}
.rt-dot.red {
  background: var(--seal);
  box-shadow: 0 0 8px rgba(224, 32, 38, 0.7);
  animation: sys-pulse 1.8s ease-in-out infinite;
}

/* --- 03 · agent roster · minimal role modules, no mascots --------- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.role-mod {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  min-height: 208px;
}
.role-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.role-idx {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass);
}
.role-name {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text);
}
.role-desc {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.58);
  margin-top: auto;
}
.role-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 222, 216, 0.06);
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.role-meta b { color: var(--text-2); font-weight: 500; }

/* --- 04 · operating principles · constraints --------------------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  min-height: 250px;
}
.pr-num {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.78;
  color: rgba(255, 255, 255, 0.09);
}
.pr-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.pr-title {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pr-body {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: 1.58;
  color: rgba(245, 245, 245, 0.6);
  margin-top: auto;
}

/* --- 05 · engagements · case lanes -------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.case {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  min-height: 320px;
  background: rgba(20, 20, 20, 0.2);
}
.case-num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass);
}
.case-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 222, 216, 0.1);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.case-badge.open {
  border-color: rgba(224, 32, 38, 0.5);
  color: rgba(255, 96, 84, 0.9);
}
/* each case its own tier: live green, self brass, open red. Static dots
   (no pulse) so a case badge never reads as live telemetry. */
.case-badge .rt-dot { animation: none; }
.case-badge.live {
  border-color: rgba(53, 208, 127, 0.4);
  color: rgba(53, 208, 127, 0.9);
}
.case-badge.live .rt-dot { background: var(--online); box-shadow: none; }
.case-badge.self {
  border-color: rgba(176, 136, 66, 0.5);
  color: var(--brass);
}
.case-badge.self .rt-dot { background: var(--brass); }
.case-badge.open .rt-dot.red { animation: none; }
.case-title {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text);
}
.case-body {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: 1.58;
  color: rgba(245, 245, 245, 0.6);
}
.case-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  border-top: 1px solid rgba(255, 222, 216, 0.06);
  padding-top: 16px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.case-specs b {
  display: block;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 4px;
}

/* --- 06 · engage · one open lane --------------------------------- */
.engage-glass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(255, 222, 216, 0.07);
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.16);
  backdrop-filter: blur(60px) saturate(1.15);
  -webkit-backdrop-filter: blur(60px) saturate(1.15);
  box-shadow: 0 0 140px rgba(220, 38, 38, 0.06);
}
.engage-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 236, 232, 0.55);
  margin-bottom: clamp(16px, 2.4vh, 24px);
}
.engage-title {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: var(--fs-h-lg);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 0 34px rgba(220, 38, 38, 0.18);
}
.engage-lead {
  margin-top: clamp(18px, 3vh, 26px);
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.64);
  max-width: min(46ch, 100%);
}
.engage-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: min(280px, 100%);
}
.engage-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 222, 216, 0.1);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.8);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.engage-link:hover {
  border-color: rgba(224, 32, 38, 0.6);
  color: rgba(255, 96, 84, 0.95);
}

/* --- footer ------------------------------------------------------- */
.sys-footer {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 6vw, 96px);
  border-top: 1px solid rgba(255, 222, 216, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-inner a {
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 222, 216, 0.14);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-inner a:hover {
  color: rgba(255, 96, 84, 0.9);
  border-color: rgba(224, 32, 38, 0.5);
}

/* --- responsive · no horizontal overflow at 390 / 1280 ----------- */
@media (max-width: 1100px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .cap-grid,
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster-grid,
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-grid { grid-template-columns: 1fr; }
  .engage-glass { grid-template-columns: 1fr; align-items: start; }

  /* nav becomes a FULL-PAGE black menu. Chrome (wordmark, clock, the X)
     stays floating above it; the active section is marked with a red
     index + white label + a pulsing dot = "you are here". */
  /* right cluster order: clock first, then the hamburger hard in the corner */
  .sys-chrome-left { order: 1; }
  .sys-clock { order: 2; margin-left: auto; }
  .sys-nav-toggle { display: flex; order: 3; margin-left: clamp(12px, 3.5vw, 20px); }
  .sys-chrome-left,
  .sys-clock,
  .sys-nav-toggle { position: relative; z-index: 95; }

  .sys-nav {
    position: fixed;
    inset: 0;
    transform: none;
    z-index: 90;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: clamp(4px, 1vh, 14px);
    padding: clamp(84px, 15vh, 140px) clamp(28px, 8vw, 96px) clamp(40px, 8vh, 88px);
    background: #08080a;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.nav-open .sys-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  .sys-nav a {
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 5vw, 30px);
    padding: clamp(6px, 1.1vh, 13px) 0;
    letter-spacing: 0;
  }
  .sys-nav .nav-idx {
    display: block;
    flex: none;
    min-width: 2.6em;
    font-family: var(--font-mono);
    font-size: clamp(11px, 1.5vh, 14px);
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--brass);
  }
  .sys-nav .nav-label {
    font-family: var(--font-mark);
    font-weight: 800;
    font-size: clamp(30px, 8.5vw, 56px);
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(245, 245, 245, 0.42);
    transition: color 0.2s ease;
  }
  .sys-nav a.is-active .nav-idx { color: var(--seal); }
  .sys-nav a.is-active .nav-label { color: #fff; }
  .sys-nav a.is-active::after {
    content: "";
    position: static;
    display: block;
    width: 9px; height: 9px;
    margin-left: auto;
    align-self: center;
    border-radius: 50%;
    background: var(--seal);
    box-shadow: 0 0 12px rgba(224, 32, 38, 0.85);
    animation: sys-pulse 2s ease-in-out infinite;
  }
}
@media (max-width: 720px) {
  .cap-grid,
  .principle-grid,
  .roster-grid,
  .case-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sys-dot, .rt-dot.red { animation: none; }
}

/* === v3.1 (Moreno 2026-07-13) ====================================
   Hero becomes the MODOS wordmark with a mono subtitle; green =
   online/live signal (loyal-to-live: a breathing pulse) in the
   Live Runtime readouts and the Roster units. */
.hero-wordmark {
  font-size: clamp(60px, 15vw, 190px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  margin-top: clamp(12px, 2vh, 22px);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(245, 245, 245, 0.78);
}
/* demoted category line, quiet under the position line */
.hero-tagline {
  margin-top: clamp(8px, 1.4vh, 14px);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.05vw, 12px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.34);
}

:root { --online: #35d07f; }
.rt-dot.online {
  background: var(--online);
  box-shadow: 0 0 7px rgba(53, 208, 127, 0.5);
  animation: online-pulse 2.4s ease-in-out infinite;
}
@keyframes online-pulse {
  0%, 100% { opacity: 1;    box-shadow: 0 0 6px rgba(53, 208, 127, 0.42); }
  50%      { opacity: 0.5;  box-shadow: 0 0 12px rgba(53, 208, 127, 0.75); }
}
@media (prefers-reduced-motion: reduce) { .rt-dot.online { animation: none; } }
