:root {
  --ink: #14221c;
  --muted: #5b6b63;
  --line: #dce6e0;
  --line-strong: #b8cbc0;
  --paper: #ffffff;
  --paper-soft: #f7faf8;
  --emerald: #006b4f;
  --emerald-bright: #008f69;
  --emerald-tint: #e8f5ef;
  --danger: #9f1239;
  --shadow: 0 18px 60px rgba(26, 55, 42, 0.08);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(0, 107, 79, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 107, 79, 0.027) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: var(--emerald);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 0.85rem;
  color: #fff;
  background: var(--emerald);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-chrome {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: 0.75rem clamp(1rem, 3.5vw, 4rem);
  border-bottom: 1px solid rgba(0, 107, 79, 0.18);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--emerald);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.prompt-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid currentColor;
  color: var(--emerald);
  background: var(--emerald-tint);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.wordmark-sub {
  padding-left: 0.55rem;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.slide-meta {
  display: flex;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

#current-slide {
  color: var(--emerald);
}

.meta-divider {
  color: var(--line-strong);
}

.deck-nav {
  position: fixed;
  top: 50%;
  right: clamp(0.65rem, 1.5vw, 1.6rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  max-height: calc(100svh - 2rem);
  padding: 0.55rem 0.38rem;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(21, 51, 38, 0.07);
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.deck-nav a {
  display: grid;
  width: 2.15rem;
  height: 1.28rem;
  place-items: center;
  border-left: 2px solid transparent;
  color: #52645a;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.deck-nav a:hover,
.deck-nav a:focus-visible {
  color: var(--emerald);
  background: var(--emerald-tint);
  outline: none;
}

.deck-nav a[aria-current="true"] {
  color: #fff;
  border-color: #004c38;
  background: var(--emerald);
}

.deck-progress {
  position: fixed;
  inset: auto 0 0;
  z-index: 110;
  height: 3px;
  background: #e9f0ec;
}

.deck-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--emerald);
  transition: width 220ms ease;
}

.slide {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: clamp(5.5rem, 9vh, 7.5rem) clamp(3.5rem, 6vw, 7rem) clamp(3.4rem, 6vh, 5rem);
  overflow: hidden;
}

.slide::before {
  position: absolute;
  top: 5.2rem;
  left: clamp(1rem, 2.4vw, 2.5rem);
  width: 1px;
  height: calc(100% - 8rem);
  content: "";
  background: linear-gradient(to bottom, var(--emerald), transparent 72%);
  opacity: 0.3;
}

.slide-inner {
  width: min(1280px, 100%);
  margin: auto;
}

.slide-inner.wide {
  width: min(1460px, 100%);
}

html.js-observer .slide .slide-inner {
  opacity: 0.28;
  transform: translateY(18px);
  transition: opacity 460ms ease, transform 460ms ease;
}

html.js-observer .slide.is-active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.panel-label {
  margin: 0 0 0.65rem;
  color: var(--emerald);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slide-heading {
  max-width: 1020px;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}

.slide-heading.compact {
  margin-bottom: clamp(1.6rem, 3.5vh, 2.6rem);
}

.slide-heading h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.slide-heading p:last-child {
  max-width: 900px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.15vw, 1.08rem);
}

.hero {
  background:
    radial-gradient(circle at 76% 46%, rgba(0, 143, 105, 0.1), transparent 30%),
    linear-gradient(120deg, #fff 0%, #fff 60%, #f5fbf8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.hero-copy h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.85rem, 6.35vw, 7.4rem);
  font-weight: 680;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-copy h1 em {
  color: var(--emerald);
  font-style: normal;
}

.hero-lede {
  max-width: 830px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.status-line span {
  padding: 0.45rem 0.58rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-line b {
  color: var(--emerald);
}

.hero-system {
  position: relative;
  min-height: 510px;
}

.emerald-core,
.orbit {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.emerald-core {
  top: 43%;
  left: 50%;
  gap: 0.65rem;
  width: 300px;
  padding: 1.2rem;
  border: 2px solid var(--emerald);
  color: var(--emerald);
  transform: translate(-50%, -50%);
}

.emerald-core div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.emerald-core strong {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.emerald-core small {
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.02em;
}

.core-bracket {
  font-size: 2rem;
  font-weight: 300;
}

.orbit {
  flex-direction: column;
  align-items: flex-start;
  width: 220px;
  padding: 1rem;
}

.orbit strong {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.orbit small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.56rem;
}

.orbit-code {
  margin-bottom: 0.45rem;
  color: var(--emerald);
  font-size: 0.58rem;
  font-weight: 800;
}

.orbit-data {
  top: 7%;
  left: 0;
}

.orbit-ai {
  top: 7%;
  right: 0;
}

.orbit-machine {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.route-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--emerald);
  stroke-dasharray: 4 7;
  stroke-width: 1.3;
  opacity: 0.55;
}

.scroll-cue {
  position: absolute;
  bottom: 1.7rem;
  left: 50%;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue i {
  color: var(--emerald);
  font-size: 1rem;
  font-style: normal;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.signal-card {
  position: relative;
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 38px rgba(22, 55, 40, 0.05);
}

.signal-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: var(--emerald);
}

.signal-card[data-signal="agents"]::before { background: #6a34a3; }
.signal-card[data-signal="machines"]::before { background: #0047ab; }
.signal-card[data-signal="vendors"]::before { background: #93420b; }

.card-index {
  color: var(--emerald);
  font-size: 0.62rem;
  font-weight: 900;
}

.signal-card h3 {
  margin: 1.1rem 0 0.9rem;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.micro-list,
.term-list,
.check-list,
.mode-card ul,
.quantum-horizons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.micro-list li,
.term-list li,
.check-list li,
.mode-card li,
.quantum-horizons li {
  position: relative;
  padding: 0.38rem 0 0.38rem 0.95rem;
  border-top: 1px solid rgba(184, 203, 192, 0.55);
  color: var(--muted);
  font-size: 0.7rem;
}

.micro-list li::before,
.term-list li::before,
.check-list li::before,
.mode-card li::before,
.quantum-horizons li::before {
  position: absolute;
  top: 0.42rem;
  left: 0;
  color: var(--emerald);
  content: "+";
  font-weight: 900;
}

.equation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.2rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  font-size: clamp(0.62rem, 0.92vw, 0.82rem);
  letter-spacing: 0.08em;
}

.equation span {
  padding: 0.35rem 0.48rem;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.equation i,
.equation b {
  color: #83948b;
  font-style: normal;
}

.equation strong {
  padding: 0.45rem 0.6rem;
  color: #fff;
  background: var(--emerald);
}

.route-map {
  display: grid;
  grid-template-columns: repeat(15, auto);
  gap: 0.35rem;
  align-items: stretch;
}

.route-map > i {
  align-self: center;
  color: var(--emerald);
  font-size: 0.9rem;
  font-style: normal;
}

.route-node {
  display: flex;
  min-width: 112px;
  padding: 0.85rem 0.7rem;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
}

.route-node span {
  margin-bottom: 1rem;
  color: var(--emerald);
  font-size: 0.54rem;
  font-weight: 800;
}

.route-node strong {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.route-node small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.54rem;
}

.route-node.featured {
  border-color: var(--emerald);
  background: var(--emerald-tint);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.rule-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.18rem 0.7rem;
  padding: 1rem;
  border-top: 2px solid var(--emerald);
  background: var(--paper-soft);
}

.rule-grid strong {
  font-size: 0.75rem;
}

.rule-grid small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.62rem;
}

.rule-id {
  grid-row: 1 / span 2;
  color: var(--emerald);
  font-size: 0.58rem;
  font-weight: 800;
}

.stack-shell {
  padding: 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.cross-rail {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid currentColor;
  font-size: 0.6rem;
}

.cross-rail b {
  letter-spacing: 0.1em;
}

.cross-rail span {
  opacity: 0.78;
}

.diamond-rail,
.alloy-rail { color: #0f6f70; background: #eafafa; }
.garnet-rail { color: #6f1d55; background: #fff0f4; }
.platinum-rail { color: #66546e; background: #f6f2f7; }
.zircon-rail,
.copper-rail { color: #935614; background: #fff7e8; }

.runtime-stack {
  display: grid;
  grid-template-columns: repeat(17, auto);
  gap: 0.3rem;
  align-items: stretch;
  margin: 0.7rem 0;
}

.runtime-stack > i {
  align-self: center;
  color: #8ea097;
  font-size: 0.7rem;
  font-style: normal;
}

.domain-card,
.detail-card {
  --accent: var(--emerald);
  --tint: var(--emerald-tint);
}

.graphite { --accent: #3f4a55; --tint: #eef0f2; }
.aluminum { --accent: #526777; --tint: #eef2f4; }
.silicon { --accent: #45515d; --tint: #edf1f4; --accent-rgb: 69, 81, 93; }
.agate { --accent: #a44f28; --tint: #fff2ea; --accent-rgb: 164, 79, 40; }
.sapphire { --accent: #174ea6; --tint: #eff6ff; }
.emerald { --accent: var(--emerald); --tint: var(--emerald-tint); }
.opal { --accent: #6a34a3; --tint: #f7f1ff; }
.onyx { --accent: #111827; --tint: #f3f4f6; }
.titanium { --accent: #5b6976; --tint: #f0f3f5; }
.cobalt { --accent: #0047ab; --tint: #ebf2ff; }
.lodestone { --accent: #315b6e; --tint: #edf6f8; --accent-rgb: 49, 91, 110; }
.amber { --accent: #8a4b00; --tint: #fff7e6; }
.alloy { --accent: #0f6f70; --tint: #eafafa; --accent-rgb: 15, 111, 112; }
.platinum { --accent: #66546e; --tint: #f6f2f7; --accent-rgb: 102, 84, 110; }
.copper { --accent: #935114; --tint: #fff5e8; --accent-rgb: 147, 81, 20; }
.garnet { --accent: #7b204f; --tint: #fff0f5; --accent-rgb: 123, 32, 79; }

.sapphire { --accent-rgb: 23, 78, 166; }
.emerald { --accent-rgb: 0, 107, 79; }
.opal { --accent-rgb: 106, 52, 163; }
.onyx { --accent-rgb: 17, 24, 39; }
.titanium { --accent-rgb: 91, 105, 118; }
.amber { --accent-rgb: 138, 75, 0; }

.domain-card {
  min-width: 92px;
  padding: 0.75rem 0.58rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--tint);
}

.domain-card h3 {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
}

.domain-card p {
  margin: 0.12rem 0 0;
  font-size: 0.62rem;
}

.domain-code {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.support-rails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stack-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stack-legend span {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 0.64rem;
}

.stack-legend b {
  color: var(--ink);
}

.triple-domain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

.detail-card {
  position: relative;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  border: 1px solid var(--accent);
  background: linear-gradient(155deg, #fff 20%, var(--tint) 100%);
  box-shadow: 0 14px 42px rgba(23, 48, 37, 0.06);
}

.detail-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--accent);
}

.detail-card > header {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  min-height: 98px;
}

.material-swatch {
  display: block;
  width: 2rem;
  height: 2rem;
  flex: none;
  border: 1px solid var(--accent);
  background: var(--tint);
  box-shadow: inset 0 0 0 0.4rem rgba(255, 255, 255, 0.62);
}

.detail-card header p {
  margin: 0 0 0.18rem;
  color: var(--accent);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.detail-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-card header small {
  display: block;
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.detail-card .term-list li::before {
  color: var(--accent);
}

.domain-rule {
  margin: 1.2rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--accent);
  color: var(--muted);
  font-size: 0.62rem;
}

.domain-rule b {
  color: var(--accent);
}

.assurance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 1rem;
}

.evidence-card > header {
  min-height: 82px;
}

.evidence-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0.4rem 0 1rem;
}

.evidence-stream span {
  padding: 0.32rem 0.42rem;
  border: 1px solid rgba(138, 75, 0, 0.4);
  color: #6c3d05;
  background: #fff;
  font-size: 0.54rem;
}

.evidence-stream i {
  color: #8a4b00;
  font-size: 0.64rem;
  font-style: normal;
}

.term-list.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.rail-cards {
  display: grid;
  gap: 0.7rem;
}

.rail-card {
  padding: 1rem;
  border: 1px solid currentColor;
}

.rail-card span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rail-card h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 0.88rem;
}

.rail-card p {
  margin: 0;
  font-size: 0.66rem;
}

.rail-card.diamond { color: #006b73; background: #e9fbfc; }
.rail-card.garnet { color: #6f1d55; background: #fff0f4; }
.rail-card.platinum { color: #66546e; background: #f6f2f7; }
.rail-card.zircon { color: #935614; background: #fff7e8; }

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.mode-card {
  padding: 1.15rem;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.mode-card > span {
  color: var(--emerald);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mode-card h3 {
  min-height: 42px;
  margin: 0.75rem 0 0.6rem;
  font-size: 0.94rem;
}

.mode-card > p {
  min-height: 86px;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.66rem;
}

.mode-external { border-top: 4px solid #08758a; }
.mode-confidential { border-top: 4px solid #006b73; }
.mode-sovereign { border-top: 4px solid var(--emerald); }
.mode-denied { border-top: 4px solid #9f1239; }

.opaque-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1.3rem;
}

.opaque-demo > i {
  color: var(--emerald);
  font-size: 0.58rem;
  font-style: normal;
  text-align: center;
}

.raw-record,
.capsule-record,
.action-record {
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.raw-record span,
.capsule-record span,
.action-record span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.raw-record code,
.capsule-record code,
.action-record code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.59rem;
  line-height: 1.6;
}

.capsule-record {
  border-color: var(--emerald);
  background: var(--emerald-tint);
}

.technical-note {
  margin: 1rem 0 0;
  padding: 0.72rem 0.85rem;
  border-left: 3px solid var(--emerald);
  color: var(--muted);
  background: var(--paper-soft);
  font-size: 0.6rem;
}

.technical-note b {
  color: var(--emerald);
}

.machine-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
}

.machine-route > i {
  align-self: center;
  color: var(--emerald);
  font-style: normal;
}

.machine-node {
  display: flex;
  min-height: 132px;
  padding: 0.9rem;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.machine-node span {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.machine-node strong {
  font-size: 0.72rem;
}

.machine-node small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.52rem;
}

.machine-node.focus {
  border: 2px solid #315b6e;
  color: #315b6e;
  background: #edf6f8;
}

.machine-node.focus span,
.machine-node.focus small {
  color: #315b6e;
}

.constraint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.constraint-grid > * {
  display: grid;
  grid-template-columns: minmax(95px, 0.35fr) 1fr;
  gap: 0.7rem;
  padding: 0.8rem;
  border-top: 1px solid #315b6e;
  background: #f7f9fc;
  font-size: 0.58rem;
}

.constraint-grid b {
  color: #315b6e;
}

.constraint-grid span {
  color: var(--muted);
}

.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(11, auto);
  gap: 0.4rem;
  align-items: stretch;
}

.lifecycle-track > div {
  display: flex;
  min-width: 130px;
  padding: 0.8rem;
  flex-direction: column;
  border: 1px solid #6f1d55;
  background: #fff0f4;
}

.lifecycle-track > div span {
  margin-bottom: 0.9rem;
  color: #6f1d55;
  font-size: 0.52rem;
  font-weight: 800;
}

.lifecycle-track > div b {
  font-size: 0.62rem;
}

.lifecycle-track > div small {
  margin-top: 0.35rem;
  color: #765667;
  font-size: 0.5rem;
}

.lifecycle-track > i {
  align-self: center;
  color: #6f1d55;
  font-style: normal;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.split-panel article {
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.split-panel article:first-child {
  border-top: 3px solid #6f1d55;
}

.split-panel article:last-child {
  border-top: 3px solid #526777;
}

.split-panel .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.application-grid article {
  position: relative;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.application-grid article::after {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: var(--emerald);
}

.application-grid article:nth-child(2)::after { background: #0047ab; }
.application-grid article:nth-child(3)::after { background: #6b4f3b; }
.application-grid article:nth-child(4)::after { background: #08758a; }
.application-grid article:nth-child(5)::after { background: #6a34a3; }
.application-grid article:nth-child(6)::after { background: #9f1239; }
.application-grid article:nth-child(7)::after { background: #174ea6; }
.application-grid article:nth-child(8)::after { background: #6f1d55; }

.application-grid span {
  color: var(--emerald);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.application-grid h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.87rem;
}

.application-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.58rem;
}

.deployment-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(500px, 1.25fr);
  gap: 1.4rem;
}

.deployment-modes {
  display: grid;
  gap: 0.55rem;
}

.deployment-modes article {
  display: grid;
  grid-template-columns: auto 0.35fr 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
}

.deployment-modes span {
  color: var(--emerald);
  font-size: 0.54rem;
  font-weight: 800;
}

.deployment-modes h3,
.deployment-modes p {
  margin: 0;
}

.deployment-modes h3 {
  font-size: 0.75rem;
}

.deployment-modes p {
  color: var(--muted);
  font-size: 0.57rem;
}

.boundary-map {
  display: flex;
  padding: 1.2rem;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.control-plane-box {
  display: flex;
  padding: 1.3rem;
  flex-direction: column;
  border: 2px solid var(--emerald);
  color: var(--emerald);
  background: var(--emerald-tint);
}

.control-plane-box span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.control-plane-box strong {
  margin: 0.4rem 0;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
}

.control-plane-box small {
  color: var(--muted);
  font-size: 0.58rem;
}

.adapter-band {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0.7rem 0;
  padding: 0.55rem;
  border: 1px solid #93420b;
  color: #93420b;
  background: #fff3e8;
  font-size: 0.54rem;
}

.integration-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.integration-cloud span {
  padding: 0.7rem 0.4rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 0.58rem;
  text-align: center;
}

.quantum-horizons {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.quantum-horizons > i {
  align-self: center;
  color: #006b73;
  font-style: normal;
}

.quantum-horizons article {
  padding: 1.2rem;
  border: 1px solid #006b73;
  background: #e9fbfc;
}

.quantum-horizons article > span {
  color: #006b73;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quantum-horizons h3 {
  margin: 0.8rem 0;
  color: #005c63;
  font-size: 1rem;
}

.quantum-horizons li::before {
  color: #006b73;
}

.crypto-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.crypto-scope span {
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(0, 107, 115, 0.45);
  color: #006b73;
  background: #fff;
  font-size: 0.52rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.category-grid article {
  min-height: 145px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.category-grid article > span {
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.category-grid h3 {
  margin: 1.3rem 0 0.45rem;
  font-size: 0.95rem;
}

.category-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.57rem;
}

.position-band {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0.8rem 0;
  padding: 1rem;
  border: 2px solid var(--emerald);
  background: var(--emerald-tint);
}

.position-band b {
  color: var(--emerald);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.position-band p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.61rem;
}

.expansion-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.8rem;
}

.expansion-layout article {
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
}

.expansion-route,
.commercial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.expansion-route span,
.commercial-tags span {
  padding: 0.38rem 0.46rem;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--paper-soft);
  font-size: 0.53rem;
}

.expansion-route i {
  color: var(--emerald);
  font-size: 0.62rem;
  font-style: normal;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}

.founder-portrait {
  position: relative;
  width: min(100%, 470px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #26352e;
  background: #161a18;
  box-shadow: 18px 18px 0 var(--emerald-tint), 0 30px 70px rgba(17, 29, 23, 0.18);
}

.founder-portrait::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.founder-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 3.2rem 1rem 1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(7, 14, 11, 0.92), transparent);
}

.founder-portrait figcaption span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.founder-portrait figcaption b {
  color: #9ef0cf;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.founder-copy {
  min-width: 0;
}

.founder-role {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.85rem 0 0;
  color: var(--emerald);
  font-size: 0.75rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.founder-role span {
  color: var(--muted);
}

.founder-lede {
  max-width: 780px;
  margin: 1.2rem 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

.founder-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.founder-facts > * {
  padding: 1.1rem;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--emerald);
  background: linear-gradient(155deg, #fff 25%, var(--emerald-tint));
}

.founder-facts .panel-label {
  margin-bottom: 0.8rem;
}

.founder-bridge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--emerald);
  background: var(--paper-soft);
}

.founder-bridge span {
  color: var(--emerald);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.founder-bridge p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.founder-sources {
  margin: 0.8rem 0 0;
  color: #4f6258;
  font-size: 0.66rem;
  line-height: 1.75;
}

.founder-sources b {
  color: var(--ink);
  letter-spacing: 0.08em;
}

.founder-sources a {
  color: var(--emerald);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.founder-sources span {
  color: var(--muted);
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ownership-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line);
}

.ownership-grid span {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ownership-grid h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1rem;
}

.ownership-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.ownership-build {
  border-top: 3px solid var(--emerald) !important;
  background: var(--emerald-tint);
}

.ownership-build span { color: var(--emerald); }

.ownership-integrate {
  border-top: 3px solid #93420b !important;
  background: #fff3e8;
}

.ownership-integrate span { color: #93420b; }

.roadmap-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.45rem;
  align-items: stretch;
  margin-top: 1.3rem;
}

.roadmap-track > i {
  align-self: center;
  color: var(--emerald);
  font-style: normal;
}

.roadmap-track article {
  position: relative;
  min-height: 135px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
}

.roadmap-track article > span {
  color: var(--emerald);
  font-size: 0.5rem;
  font-weight: 800;
}

.roadmap-track h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 0.72rem;
}

.roadmap-track p {
  margin: 0;
  color: var(--muted);
  font-size: 0.53rem;
}

.roadmap-track .current {
  border-color: var(--emerald);
  background: var(--emerald-tint);
}

.roadmap-track article > b {
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  color: var(--emerald);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.final-statement {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--emerald);
  background: var(--emerald-tint);
}

.final-statement p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.final-statement b {
  color: var(--emerald);
  letter-spacing: 0.12em;
}

.page-footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  color: #4f6258;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  max-width: 330px;
  padding: 0.75rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.65rem;
}

/* FortEmerald material-domain reveals */
.material-slide {
  --accent: var(--emerald);
  --tint: var(--emerald-tint);
  --accent-rgb: 0, 107, 79;
  background:
    radial-gradient(circle at 88% 22%, rgba(var(--accent-rgb), 0.12), transparent 26%),
    linear-gradient(118deg, #fff 0%, #fff 58%, var(--tint) 100%);
}

.material-slide::before {
  background: linear-gradient(to bottom, var(--accent), transparent 72%);
  opacity: 0.7;
}

.layer-atmosphere {
  position: absolute;
  inset: 4rem 0 0;
  overflow: hidden;
  pointer-events: none;
}

.layer-atmosphere::before,
.layer-atmosphere::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  transform: rotate(38deg);
}

.layer-atmosphere::before {
  top: 10%;
  right: 4%;
  width: min(31vw, 500px);
  aspect-ratio: 1;
}

.layer-atmosphere::after {
  right: 13%;
  bottom: -18%;
  width: min(21vw, 330px);
  aspect-ratio: 1;
}

.layer-ghost {
  position: absolute;
  right: -0.03em;
  bottom: -0.22em;
  color: rgba(var(--accent-rgb), 0.055);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.layer-header {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: clamp(1.1rem, 2.5vh, 2rem);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
}

.layer-index {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.layer-index::before {
  display: block;
  width: 1.5rem;
  height: 2px;
  content: "";
  background: var(--accent);
}

.layer-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(560px, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4.6rem);
  align-items: start;
}

.layer-story {
  padding-top: 0.35rem;
}

.layer-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.layer-purpose {
  margin: 0;
  color: var(--accent);
  font-size: clamp(3.15rem, 7vw, 7.5rem);
  font-weight: 740;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.layer-tagline {
  max-width: 520px;
  margin: 1.15rem 0 0;
  color: var(--ink);
  font-size: clamp(0.9rem, 1.3vw, 1.18rem);
  line-height: 1.5;
}

.layer-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.layer-spec {
  min-height: 122px;
  padding: 0.85rem;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(var(--accent-rgb), 0.045);
}

.layer-spec > span,
.layer-example > span,
.layer-relations > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.layer-spec strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.73rem;
}

.layer-spec p {
  margin: 0;
  color: var(--muted);
  font-size: 0.59rem;
  line-height: 1.55;
}

.layer-example,
.layer-relations {
  margin-top: 0.65rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  background: var(--tint);
}

.layer-example p {
  margin: 0;
  color: var(--ink);
  font-size: 0.65rem;
  line-height: 1.55;
}

.relation-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.relation-flow b,
.relation-flow code {
  padding: 0.28rem 0.38rem;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  color: var(--accent);
  background: #fff;
  font-family: var(--mono);
  font-size: 0.54rem;
}

.relation-flow i {
  color: var(--accent);
  font-size: 0.6rem;
  font-style: normal;
}

/* Opal is intentionally the one iridescent layer; its many views represent many model endpoints. */
.material-slide.opal {
  background:
    radial-gradient(circle at 86% 20%, rgba(24, 183, 183, 0.13), transparent 19%),
    radial-gradient(circle at 76% 63%, rgba(166, 70, 203, 0.13), transparent 24%),
    linear-gradient(118deg, #fff 0%, #fff 57%, #f7f1ff 100%);
}

.material-slide.onyx {
  background:
    radial-gradient(circle at 88% 22%, rgba(17, 24, 39, 0.13), transparent 28%),
    linear-gradient(118deg, #fff 0%, #fff 60%, #eef0f3 100%);
}

.material-slide.alloy .layer-atmosphere::before,
.material-slide.alloy .layer-atmosphere::after {
  border-style: dashed;
}

/* Opening and synthesis slides */
.definition-grid,
.verb-grid,
.problem-grid,
.boundary-grid,
.flow-grid {
  display: grid;
  gap: 0.75rem;
}

.definition-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
}

.definition-card,
.verb-card,
.problem-card,
.boundary-card,
.flow-card {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.definition-card > span,
.verb-card > span,
.problem-card > span,
.boundary-card > span,
.flow-card > span {
  color: var(--emerald);
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.definition-card h3,
.verb-card h3,
.problem-card h3,
.boundary-card h3,
.flow-card h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 0.9rem;
}

.definition-card p,
.verb-card p,
.problem-card p,
.boundary-card p,
.flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.63rem;
}

.verb-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.verb-card {
  min-height: 164px;
  border-top: 3px solid var(--emerald);
}

.verb-card h3 {
  color: var(--emerald);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.problem-grid,
.boundary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-card {
  border-top: 3px solid var(--emerald);
}

.flow-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  align-items: center;
  margin-top: 0.8rem;
}

.flow-line code {
  padding: 0.3rem 0.38rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--paper-soft);
  font-family: var(--mono);
  font-size: 0.53rem;
}

.flow-line i {
  color: var(--emerald);
  font-style: normal;
}

.stage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stage-legend span {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: #fff;
  font-size: 0.58rem;
}

.stage-legend b {
  color: var(--emerald);
}

@media (max-width: 1320px) {
  .runtime-stack {
    grid-template-columns: repeat(9, minmax(82px, 1fr));
  }

  .runtime-stack > i {
    display: none;
  }

  .route-map {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .route-map > i {
    display: none;
  }

  .lifecycle-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lifecycle-track > i {
    display: none;
  }

  .verb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layer-layout {
    grid-template-columns: minmax(250px, 0.65fr) minmax(500px, 1.35fr);
    gap: 1.5rem;
  }
}

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

  .hero-system {
    display: none;
  }

  .signal-grid,
  .application-grid,
  .category-grid,
  .problem-grid,
  .boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-card {
    min-height: 190px;
  }

  .triple-domain,
  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assurance-layout,
  .deployment-layout,
  .definition-grid,
  .layer-layout {
    grid-template-columns: 1fr;
  }

  .layer-purpose {
    font-size: clamp(3.1rem, 10vw, 6.4rem);
  }

  .layer-story {
    display: block;
  }

  .machine-route {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .machine-route > i {
    display: none;
  }

  .deck-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .founder-slide {
    min-height: auto;
    overflow: visible;
  }

  .founder-layout,
  .founder-facts,
  .founder-bridge {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    width: min(100%, 380px);
  }
}

@media (max-width: 760px) {
  body {
    background-size: 24px 24px;
  }

  .site-chrome {
    min-height: 3.5rem;
    padding: 0.6rem 0.8rem;
  }

  .wordmark-sub {
    display: none;
  }

  .prompt-mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .slide {
    min-height: auto;
    padding: 5.3rem 1rem 3.7rem;
    overflow: visible;
  }

  .slide::before {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4.9rem);
  }

  .slide-heading h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .status-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid,
  .rule-grid,
  .triple-domain,
  .mode-grid,
  .application-grid,
  .constraint-grid,
  .ownership-grid,
  .category-grid,
  .expansion-layout,
  .support-rails,
  .split-panel,
  .verb-grid,
  .problem-grid,
  .boundary-grid,
  .flow-grid,
  .layer-spec-grid,
  .layer-story {
    grid-template-columns: 1fr;
  }

  .layer-header {
    align-items: flex-start;
  }

  .layer-purpose {
    font-size: clamp(3rem, 17vw, 5.5rem);
  }

  .layer-ghost {
    display: none;
  }

  .layer-spec {
    min-height: 0;
  }

  .route-map,
  .runtime-stack,
  .machine-route,
  .lifecycle-track,
  .roadmap-track,
  .quantum-horizons {
    grid-template-columns: 1fr;
  }

  .route-map > i,
  .runtime-stack > i,
  .machine-route > i,
  .lifecycle-track > i,
  .roadmap-track > i,
  .quantum-horizons > i {
    display: block;
    transform: rotate(90deg);
    text-align: center;
  }

  .domain-card,
  .route-node,
  .lifecycle-track > div {
    min-width: 0;
  }

  .domain-card {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr;
    gap: 0.7rem;
    align-items: center;
  }

  .domain-card h3,
  .domain-card p {
    margin: 0;
  }

  .opaque-demo {
    grid-template-columns: 1fr;
  }

  .opaque-demo > i {
    transform: rotate(90deg);
  }

  .mode-card h3,
  .mode-card > p {
    min-height: 0;
  }

  .term-list.columns,
  .split-panel .check-list {
    grid-template-columns: 1fr;
  }

  .integration-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deployment-modes article {
    grid-template-columns: auto 1fr;
  }

  .deployment-modes p {
    grid-column: 2;
  }

  .page-footer {
    flex-direction: column;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  html,
  body {
    background: #fff;
  }

  body {
    font-size: 10px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-chrome,
  .deck-nav,
  .deck-progress,
  .scroll-cue,
  .noscript-note {
    display: none !important;
  }

  .slide {
    min-height: 180mm;
    padding: 10mm;
    overflow: hidden;
    break-after: page;
  }

  .slide::before {
    display: none;
  }

  html.js-observer .slide .slide-inner {
    opacity: 1;
    transform: none;
  }

  .founder-layout {
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
    gap: 8mm;
  }

  .founder-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-bridge {
    grid-template-columns: auto 1fr;
  }

  .founder-portrait {
    width: min(100%, 72mm);
    box-shadow: 3mm 3mm 0 var(--emerald-tint);
  }

  .material-slide {
    min-height: 180mm;
  }

  .layer-layout {
    grid-template-columns: minmax(210px, 0.68fr) minmax(0, 1.32fr);
    gap: 6mm;
  }

  .layer-purpose {
    font-size: 13mm;
  }

  .layer-spec {
    min-height: 25mm;
  }
}

/* 2026 deck refresh: hard-color material reveals + nested section index */

/*
 * Canonical presentation colors. These variables deliberately live on the
 * material classes so the same layer language can color slides, references,
 * index entries, and inline chips without duplicating component rules.
 */
.silicon {
  --accent: #3f4b59;
  --tint: #eef2f5;
  --accent-rgb: 63, 75, 89;
}

.agate {
  --accent: #9f3f18;
  --tint: #fff1e9;
  --accent-rgb: 159, 63, 24;
}

.sapphire {
  --accent: #1248a0;
  --tint: #edf4ff;
  --accent-rgb: 18, 72, 160;
}

.emerald {
  --accent: #006b4f;
  --tint: #e8f5ef;
  --accent-rgb: 0, 107, 79;
}

.opal {
  --accent: #6d28d9;
  --tint: #f5efff;
  --accent-rgb: 109, 40, 217;
}

.onyx {
  --accent: #0b1020;
  --tint: #f0f2f6;
  --accent-rgb: 11, 16, 32;
}

.titanium {
  --accent: #485563;
  --tint: #eef2f5;
  --accent-rgb: 72, 85, 99;
}

.lodestone {
  --accent: #23536a;
  --tint: #eaf5f8;
  --accent-rgb: 35, 83, 106;
}

.amber {
  --accent: #9b4d00;
  --tint: #fff4df;
  --accent-rgb: 155, 77, 0;
}

.alloy {
  --accent: #006c70;
  --tint: #e7f8f8;
  --accent-rgb: 0, 108, 112;
}

.platinum {
  --accent: #5c4768;
  --tint: #f4eff7;
  --accent-rgb: 92, 71, 104;
}

.copper {
  --accent: #91420d;
  --tint: #fff2e6;
  --accent-rgb: 145, 66, 13;
}

.garnet {
  --accent: #7a1747;
  --tint: #fff0f6;
  --accent-rgb: 122, 23, 71;
}

/* Compact, canonical material references for diagrams, prose, and the index. */
.layer-ref,
.inline-layer {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(var(--accent-rgb, 0, 107, 79), 0.42);
  color: var(--accent, var(--emerald));
  background: var(--tint, var(--emerald-tint));
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 3px 0 0 var(--accent, var(--emerald));
}

.layer-ref {
  gap: 0.4rem;
  padding: 0.42rem 0.56rem 0.42rem 0.68rem;
  font-size: 0.58rem;
}

.inline-layer {
  gap: 0.3rem;
  padding: 0.2rem 0.38rem 0.2rem 0.48rem;
  font-size: 0.54rem;
  vertical-align: 0.08em;
}

.layer-ref::before,
.inline-layer::before {
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 auto;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--accent, var(--emerald));
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb, 0, 107, 79), 0.22);
}

a.layer-ref:hover,
a.inline-layer:hover,
a.layer-ref:focus-visible,
a.inline-layer:focus-visible {
  color: #fff;
  background: var(--accent, var(--emerald));
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Material slides are full fields of canonical color, not pale accents. */
.material-slide {
  color: #fff;
  background-color: var(--accent);
  background-image:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.13), transparent 27%),
    linear-gradient(132deg, rgba(0, 0, 0, 0.14) 0%, transparent 42%, rgba(255, 255, 255, 0.055) 100%);
  isolation: isolate;
}

.material-slide::before {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent 78%);
  opacity: 0.9;
}

.material-slide .slide-inner {
  position: relative;
  z-index: 2;
}

.material-slide .layer-atmosphere {
  z-index: 0;
}

.material-slide .layer-atmosphere::before,
.material-slide .layer-atmosphere::after {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 1.1rem rgba(255, 255, 255, 0.025);
}

.material-slide .layer-ghost {
  color: rgba(255, 255, 255, 0.095);
  text-shadow: 0 0 3rem rgba(0, 0, 0, 0.08);
}

.material-slide .layer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
}

.material-slide .layer-index,
.material-slide .layer-kicker,
.material-slide .layer-purpose,
.material-slide .layer-tagline {
  color: #fff;
}

.material-slide .layer-index::before {
  background: #fff;
}

.material-slide .layer-purpose {
  text-shadow: 0 0.08em 0 rgba(0, 0, 0, 0.13);
}

.material-slide .layer-tagline {
  max-width: 560px;
  font-weight: 650;
  text-wrap: balance;
}

.material-slide .layer-spec {
  min-height: 126px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--tint) 145%);
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.18),
    inset 0 4px 0 rgba(var(--accent-rgb), 0.13);
}

.material-slide .layer-spec > span,
.material-slide .layer-example > span {
  color: var(--accent);
}

.material-slide .layer-spec strong {
  color: var(--accent);
  font-weight: 900;
}

.material-slide .layer-spec p {
  color: #35423c;
}

.material-slide .layer-example {
  position: relative;
  border: 2px solid #fff;
  color: var(--ink);
  background: #fff;
  box-shadow:
    inset 6px 0 0 var(--accent),
    0 14px 32px rgba(0, 0, 0, 0.2);
}

.material-slide .layer-example p {
  color: #24312b;
  font-weight: 620;
}

.material-slide .layer-relations {
  border: 2px solid rgba(255, 255, 255, 0.82);
  color: #fff;
  background: rgba(5, 13, 10, 0.58);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.material-slide .layer-relations > span {
  color: #fff;
}

.material-slide .relation-flow b,
.material-slide .relation-flow code {
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--accent);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.material-slide .relation-flow i {
  color: #fff;
  font-weight: 900;
}

.material-slide .layer-ref,
.material-slide .inline-layer {
  border-color: #fff;
  color: var(--accent);
  background: #fff;
}

/* Opal and Onyx remain deliberately saturated while retaining distinct depth. */
.material-slide.opal {
  background-color: var(--accent);
  background-image:
    radial-gradient(circle at 85% 18%, rgba(0, 215, 216, 0.46), transparent 24%),
    radial-gradient(circle at 70% 72%, rgba(236, 72, 153, 0.34), transparent 31%),
    linear-gradient(132deg, #4b168f 0%, var(--accent) 56%, #7728b9 100%);
}

.material-slide.onyx {
  background-color: var(--accent);
  background-image:
    radial-gradient(circle at 84% 18%, rgba(78, 106, 167, 0.34), transparent 28%),
    linear-gradient(132deg, #05070d 0%, var(--accent) 52%, #18243c 100%);
}

.material-slide.alloy .layer-atmosphere::before,
.material-slide.alloy .layer-atmosphere::after {
  border-style: dashed;
}

/* Fixed nested section index. The direct-link rule keeps the legacy flat nav legible. */
.deck-nav {
  --accent: var(--emerald);
  --tint: var(--emerald-tint);
  --accent-rgb: 0, 107, 79;
  top: 4.8rem;
  right: 1rem;
  bottom: 0.9rem;
  display: block;
  width: 240px;
  max-height: none;
  padding: 0.65rem;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(0, 76, 56, 0.22);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 54px rgba(18, 45, 34, 0.14);
  transform: none;
  scrollbar-color: rgba(0, 107, 79, 0.42) transparent;
  scrollbar-width: thin;
  backdrop-filter: blur(14px);
}

.deck-nav::-webkit-scrollbar {
  width: 6px;
}

.deck-nav::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(0, 107, 79, 0.35);
}

.index-group {
  margin: 0 0 0.42rem;
  padding: 0.34rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 150ms ease, background 150ms ease;
}

.index-group:last-child {
  margin-bottom: 0;
}

.index-heading {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.42rem;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.22rem 0.28rem;
  color: #5b6b63;
}

.index-number {
  display: grid;
  width: 1.55rem;
  height: 1.25rem;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  background: var(--tint);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.index-title {
  min-width: 0;
  overflow: hidden;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.index-slides {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.12rem;
  padding-left: 0.3rem;
  border-left: 1px solid rgba(var(--accent-rgb), 0.2);
}

.deck-nav a[data-slide-link],
.deck-nav > a:not([data-slide-link]) {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
  width: 100%;
  min-height: 1.45rem;
  height: auto;
  padding: 0.2rem 0.28rem;
  border: 0;
  border-left: 3px solid transparent;
  color: #526159;
  background: transparent;
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.deck-nav > a:not([data-slide-link]) {
  grid-template-columns: 1fr;
  margin-bottom: 0.08rem;
  text-align: center;
}

.index-slide-number {
  color: var(--accent);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.index-slide-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-layer {
  border-left-color: rgba(var(--accent-rgb), 0.42) !important;
}

.nav-layer .index-slide-number,
.nav-layer .index-title,
.nav-layer > .index-number {
  color: var(--accent);
}

.deck-nav a[data-slide-link]:hover,
.deck-nav a[data-slide-link]:focus-visible,
.deck-nav > a:not([data-slide-link]):hover,
.deck-nav > a:not([data-slide-link]):focus-visible {
  border-left-color: var(--accent);
  color: var(--accent);
  background: var(--tint);
  outline: none;
}

.deck-nav a[data-slide-link]:focus-visible,
.deck-nav > a:not([data-slide-link]):focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.index-group.is-current {
  border-color: rgba(var(--accent-rgb), 0.34);
  background: rgba(var(--accent-rgb), 0.065);
}

.index-group.is-current .index-heading {
  color: var(--accent);
}

.index-group.is-current .index-number {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.deck-nav a[data-slide-link][aria-current="true"],
.deck-nav > a:not([data-slide-link])[aria-current="true"] {
  border-left-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.deck-nav a[data-slide-link][aria-current="true"] .index-slide-number,
.deck-nav a[data-slide-link][aria-current="true"] .index-slide-title {
  color: #fff;
}

/* Keep the fixed index out of the slide canvas at desktop widths. */
@media (min-width: 1241px) {
  .slide {
    padding-right: clamp(18.25rem, 20vw, 21rem);
  }

  .site-chrome {
    padding-right: 17.5rem;
  }
}

/* Below desktop, content gets the full canvas and the index leaves layout entirely. */
@media (max-width: 1240px) {
  .deck-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .material-slide {
    background-image:
      radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.12), transparent 23%),
      linear-gradient(145deg, rgba(0, 0, 0, 0.12), transparent 62%);
  }

  .material-slide.opal {
    background-image:
      radial-gradient(circle at 90% 10%, rgba(0, 215, 216, 0.38), transparent 26%),
      linear-gradient(145deg, #4b168f, var(--accent) 58%, #7728b9);
  }

  .material-slide.onyx {
    background-image:
      radial-gradient(circle at 90% 10%, rgba(78, 106, 167, 0.28), transparent 28%),
      linear-gradient(145deg, #05070d, var(--accent) 58%, #18243c);
  }

  .material-slide .layer-tagline {
    max-width: none;
  }

  .material-slide .layer-spec,
  .material-slide .layer-example,
  .material-slide .layer-relations {
    break-inside: avoid;
  }

  .layer-ref,
  .inline-layer {
    white-space: normal;
  }
}

@media print {
  .material-slide {
    color: #fff;
    background-color: var(--accent) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .material-slide .layer-atmosphere::before,
  .material-slide .layer-atmosphere::after {
    border-color: rgba(255, 255, 255, 0.25);
  }

  .material-slide .layer-ghost {
    color: rgba(255, 255, 255, 0.08);
  }

  .material-slide .layer-spec,
  .material-slide .layer-example {
    color: #14221c;
    background: #fff !important;
    break-inside: avoid;
  }

  .material-slide .layer-relations {
    color: #fff;
    background: rgba(5, 13, 10, 0.62) !important;
    break-inside: avoid;
  }

  .layer-ref,
  .inline-layer {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Compact section-composition layouts used by the 21-slide edition. */
.system-stack {
  margin-top: 1rem;
}

.boundary-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.boundary-pair > article:first-child,
.boundary-pair > article:last-child {
  border-top: 3px solid var(--emerald);
  background: linear-gradient(155deg, #fff 30%, var(--paper-soft));
}

.boundary-pair h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: -0.035em;
}

.compact-mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.compact-mode-list > div {
  display: grid;
  gap: 0.18rem;
  min-height: 74px;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
}

.compact-mode-list b {
  color: var(--emerald);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compact-mode-list span {
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.45;
}

.boundary-flow {
  margin: 0 0 0.8rem;
}

.reach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reach-grid article {
  min-height: 132px;
}

.reach-rails {
  margin-top: 0.75rem;
}

.reach-rails > article {
  padding: 0.75rem;
}

.reach-rails .technical-note {
  margin-top: 0.6rem;
}

/* Canonical material colors override legacy rail approximations. */
.alloy-rail { color: #006c70; background: #e7f8f8; }
.platinum-rail { color: #5c4768; background: #f4eff7; }
.copper-rail { color: #91420d; background: #fff2e6; }
.garnet-rail { color: #7a1747; background: #fff0f6; }

/* A referenced layer always carries its own color, even inside another layer. */
.flow-line .layer-ref,
.material-slide .relation-flow .layer-ref {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.flow-line .layer-ref::before,
.material-slide .relation-flow .layer-ref::before {
  border-color: rgba(255, 255, 255, 0.72);
  background: #fff;
  box-shadow: none;
}

@media (max-width: 1080px) {
  .boundary-pair,
  .reach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .boundary-pair,
  .compact-mode-list,
  .reach-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .boundary-pair,
  .reach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
