:root {
  color-scheme: dark;
  --blue: #0b1538;
  --panel: #111f48;
  --gold: #e5b84b;
  --text: #f3f2ed;
  --muted: #abb5cf;
  --line: #30416a;
  font-family: Inter, Arial, sans-serif;
  background: var(--blue);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
.viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
h1,
h2,
p,
blockquote {
  margin: 0;
}
h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(36px, 4vw, 64px);
}
h2 {
  font-size: clamp(28px, 3vw, 44px);
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 0 4vw;
}
.mast {
  min-height: 96px;
  padding: 22px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.mast > a:last-child {
  font-size: 14px;
  color: var(--muted);
}
.wordmark {
  font-size: 18px;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.wordmark span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 36px 0 28px;
}
.intro h1 {
  margin: 12px 0;
}
.intro p:not(.overline) {
  color: var(--muted);
}
.overline {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 600;
}
.overline span {
  color: var(--muted);
  margin-left: 18px;
}
.gold {
  color: var(--gold);
}
.edition {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.06em;
  line-height: 1.9;
}
.edition strong {
  font-weight: 400;
  color: var(--text);
}
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  border: 1px solid var(--line);
  background: #0d193e;
}
.map-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.map-top,
.map-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-size: 12px;
  color: var(--muted);
}
.map-top {
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
}
.key {
  letter-spacing: 0;
}
.key i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  margin-right: 7px;
}
.viewport {
  position: relative;
  height: 470px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background-image: radial-gradient(#37486b 1px, transparent 1px);
  background-size: 24px 24px;
}
.viewport.dragging {
  cursor: grabbing;
}
.world {
  position: absolute;
  width: 900px;
  height: 450px;
  transform-origin: 0 0;
}
.boundary-label {
  position: absolute;
  top: 25px;
  left: 35px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.node {
  position: absolute;
  width: 190px;
  height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 18px;
  background: var(--panel);
  border: 1px solid #59688a;
  border-radius: 3px;
  box-shadow: 0 8px 22px #050a2066;
  line-height: 1.5;
}
.node:hover {
  background: #1d305e;
  border-color: var(--gold);
}
.node[aria-pressed='true'] {
  border: 2px solid var(--gold);
  background: #23325a;
  box-shadow: 0 0 25px #e5b84b0c;
}
.node-num {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.node strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  margin: 8px 0;
}
.node > span:last-child {
  font-size: 14px;
  color: #bcc7df;
}
.human {
  left: 35px;
  top: 92px;
}
.specialist {
  left: 248px;
  top: 92px;
}
.verification {
  left: 461px;
  top: 92px;
}
.outcome {
  left: 674px;
  top: 92px;
}
.control {
  left: 140px;
  top: 288px;
  width: 300px;
  height: 110px;
}
.models {
  left: 464px;
  top: 288px;
  width: 300px;
  height: 110px;
}
.flow-line {
  position: absolute;
  top: 160px;
  left: 50px;
  width: 770px;
  border-top: 1px solid #e5b84b;
}
.foundation-line {
  position: absolute;
  top: 260px;
  left: 140px;
  width: 624px;
  height: 50px;
  border: 1px solid #59688a;
  border-bottom: 0;
}
.map-caption {
  position: absolute;
  top: 417px;
  width: 900px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.map-bottom {
  border-top: 1px solid var(--line);
  margin-top: auto;
  font-size: 14px;
}
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.zoom-controls button,
.layer-navigation button {
  background: transparent;
  border: 1px solid var(--line);
  min-width: 44px;
  min-height: 44px;
}
.zoom-controls button:hover,
.layer-navigation button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.zoom-controls output {
  min-width: 55px;
  text-align: center;
  font-size: 12px;
}
.inspector {
  border-left: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.inspector h2 {
  font-family: Georgia, serif;
  letter-spacing: -0.035em;
  font-size: 32px;
  margin: 14px 0;
}
.detail-deck {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.inspector section {
  margin-top: 22px;
}
.inspector h3 {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin: 0 0 5px;
}
.inspector section p {
  font-size: 16px;
  line-height: 1.6;
}
.layer-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
  font-size: 12px;
  color: var(--muted);
}
.text-version {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
summary {
  cursor: pointer;
  font-size: 14px;
}
.text-version p {
  max-width: 85ch;
  margin: 16px 0;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 65px 0;
}
.editorial h2 {
  margin-top: 16px;
}
.editorial p + p {
  margin-top: 20px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.doctrine {
  border-top: 1px solid var(--gold);
  padding: 32px 0 48px;
}
.doctrine blockquote {
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 43px);
  line-height: 1.35;
  max-width: 1000px;
  margin: 20px 0 30px;
}
.doctrine-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.doctrine-bottom p {
  max-width: 70ch;
  color: var(--muted);
  font-size: 14px;
}
.doctrine-bottom a {
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
}
.artifact-footer {
  padding: 24px 4vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--gold);
  color: var(--blue);
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.collection {
  padding-top: 60px;
}
.collection h1 {
  margin: 15px 0;
}
.collection-lede {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 44px;
}
.feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: #101f48;
  padding: 45px;
  gap: 35px;
}
.feature:hover {
  background: #152650;
}
.feature h2 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  margin: 28px 0;
}
.feature h2 .gold {
  margin-left: 20px;
}
.feature p:not(.overline) {
  color: var(--muted);
}
.feature-link {
  display: block;
  color: var(--gold);
  margin-top: 30px;
}
.feature-index {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.feature-index strong {
  font-family: Georgia, serif;
  font-size: clamp(90px, 14vw, 210px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.3;
}
.collection-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 55px 0;
}
.collection-note p {
  color: var(--muted);
}
.collection-quote {
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding: 35px 0 60px;
}
.notice {
  padding: 20px;
  color: var(--gold);
}
@media (min-width: 1500px) {
  .viewport {
    height: 540px;
  }
}
@media (max-width: 1050px) {
  .explorer {
    grid-template-columns: minmax(0, 1fr) 295px;
  }
  .inspector {
    padding: 22px;
  }
  .map-top .key {
    display: none;
  }
  .map-bottom {
    flex-wrap: wrap;
  }
  .edition {
    display: none;
  }
}
@media (max-width: 760px) {
  main {
    padding: 0 20px;
  }
  .mast {
    padding: 20px;
    min-height: 80px;
  }
  .wordmark {
    font-size: 14px;
  }
  .wordmark span {
    font-size: 12px;
  }
  .intro {
    padding-top: 28px;
  }
  .overline span {
    display: block;
    margin: 5px 0 0;
  }
  .explorer {
    grid-template-columns: 1fr;
  }
  .viewport {
    height: 330px;
  }
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .map-top {
    font-size: 12px;
  }
  .map-bottom {
    padding: 12px;
  }
  .editorial,
  .collection-note {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .doctrine-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .artifact-footer {
    flex-wrap: wrap;
  }
  .artifact-footer > span:nth-child(2) {
    display: none;
  }
  .feature {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .feature-index {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .feature-index strong {
    font-size: 100px;
  }
  .collection {
    padding-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
/* Full architecture view, preserving the nested form of the technical master. */
.explorer {
  grid-template-columns: 1fr;
}
.viewport {
  height: min(82vw, 980px);
  min-height: 540px;
  background-color: #0b1538;
}
.world {
  width: 1730px;
  height: 1420px;
}
.map-group {
  position: absolute;
  border: 1.5px solid #51658f;
  border-radius: 10px;
  background: #101e45;
}
.map-group > span {
  position: absolute;
  top: 13px;
  left: 20px;
  right: 16px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #b8c5df;
}
.map-group.mac {
  background: #0e1a3b;
  border: 2px solid #e5b84b;
}
.map-group.mac > span,
.map-group.claude > span {
  color: #e5b84b;
}
.map-group.agents {
  border-color: #a982e6;
  background: #14234b;
}
.map-group.state {
  border-color: #a982e6;
}
.map-group.tools,
.map-group.codex {
  border-color: #6fd3e8;
}
.map-group.claude {
  border-color: #e5b84b;
}
.map-group.local {
  border-color: #65bd9e;
}
.connections {
  position: absolute;
  inset: 0;
  width: 1730px;
  height: 1420px;
  overflow: visible;
  pointer-events: none;
}
.edge {
  fill: none;
  stroke: #7da5c9;
  stroke-width: 2;
  opacity: 0.85;
}
.edge.gold {
  stroke: #e5b84b;
}
.edge.green {
  stroke: #65bd9e;
}
.node {
  padding: 12px 14px;
  border: 2px solid #7896bd;
  text-align: center;
  align-items: center;
  box-shadow: none;
  border-radius: 9px;
  background: #17285a;
  justify-content: center;
}
.node strong {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 8px;
}
.node > span:last-child {
  font-size: 19px;
  line-height: 1.35;
  color: #c3cee4;
}
.node.gold-node {
  border-color: #e5b84b;
}
.node.gold-node strong {
  color: #e5b84b;
}
.node.cyan-node {
  border-color: #6fd3e8;
}
.node.cyan-node strong {
  color: #6fd3e8;
}
.node.purple-node {
  border-color: #a982e6;
}
.node.purple-node strong {
  color: #bca0ec;
}
.node.green-node {
  border-color: #65bd9e;
}
.node.green-node strong {
  color: #65bd9e;
}
.node.red-node {
  border-color: #de7a8b;
}
.node.red-node strong {
  color: #ed94a2;
}
.node[aria-pressed='true'] {
  background: #314777;
  border: 3px solid #fff2c4;
  box-shadow: 0 0 0 5px #e5b84b22;
}
.node:hover {
  background: #293d6b;
}
.map-caption {
  top: 1400px;
  width: 1730px;
  font-size: 16px;
  letter-spacing: 0.1em;
}
.inspector {
  border-left: 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 0 32px;
  padding: 28px;
}
.inspector > .overline {
  grid-column: 1;
}
.inspector h2 {
  grid-column: 1;
  margin-top: 12px;
}
.detail-deck {
  grid-column: 1;
}
.inspector #detail-copy {
  grid-column: 2;
  grid-row: 1/5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.inspector section {
  margin: 0;
}
.layer-navigation {
  grid-column: 1;
  gap: 20px;
  max-width: 250px;
  padding-top: 20px;
}
.explorer:fullscreen {
  overflow: auto;
  background: var(--blue);
  display: block;
}
.explorer:fullscreen .viewport {
  height: calc(100dvh - 132px);
  min-height: 300px;
}
.explorer:fullscreen .inspector {
  display: none;
}
@media (max-width: 900px) {
  .inspector {
    grid-template-columns: 1fr;
  }
  .inspector #detail-copy {
    grid-column: 1;
    grid-row: auto;
    margin-top: 25px;
  }
  .viewport {
    height: 760px;
  }
  .map-bottom {
    align-items: flex-start;
  }
  .zoom-controls {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .viewport {
    height: 590px;
    min-height: 450px;
  }
  .inspector #detail-copy {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .map-top {
    padding: 12px;
  }
  .zoom-controls button {
    padding: 0 10px;
  }
  .map-bottom p {
    font-size: 12px;
  }
  .intro h1 {
    font-size: 36px;
  }
  .map-top .key {
    display: none;
  }
}

.memory-flow-note {
  position: absolute;
  left: 310px;
  top: 576px;
  width: 805px;
  text-align: center;
  font-size: 16px;
  color: #d5c397;
  line-height: 1.3;
}
.memory-story {
  border-top: 1px solid var(--line);
}
/* Wide flight-deck composition in the Obsidian Echo navy-and-gold system. */
:root {
  --gold: #d7ad43;
  --line: rgba(215, 173, 67, 0.22);
  --blue: #061a3a;
  --panel: #0a244a;
  --text: #f7f5ee;
  --muted: #a8b4cc;
}
.explorer {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #36517c;
  background: #081d40;
  box-shadow: 0 18px 70px #020d225c;
}
.viewport {
  height: 660px;
  min-height: 440px;
  background: #051735;
  background-image: none;
}
.world,
.connections {
  width: 4070px;
  height: 1430px;
}
.map-group,
.map-group.mac,
.map-group.claude,
.map-group.codex,
.map-group.local {
  background: #0b244a;
  border: 1px solid #36517c;
  border-radius: 12px;
}
.map-group > span {
  font-size: 21px;
  line-height: 1.4;
  top: 19px;
  left: 20px;
  right: 20px;
  color: #dce4ef;
  letter-spacing: 0.09em;
}
.node,
.node.gold-node,
.node.cyan-node,
.node.purple-node,
.node.green-node,
.node.red-node {
  background: #102d59;
  border: 1.5px solid #6880a8;
  border-radius: 6px;
  padding: 20px;
  gap: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.node strong,
.node.gold-node strong,
.node.cyan-node strong,
.node.purple-node strong,
.node.green-node strong,
.node.red-node strong {
  color: #f7f5ee;
  font-family: Arial, sans-serif;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: 0.015em;
  margin: 0;
  flex-shrink: 0;
  max-width: 100%;
  overflow-wrap: normal;
}
.node > span:last-child {
  color: #c5d0df;
  font-size: 21px;
  line-height: 1.4;
  max-width: 100%;
  flex-shrink: 0;
}
.node:hover {
  background: #173a68;
  border-color: var(--gold);
}
.node[aria-pressed='true'] {
  background: #183d6e;
  border: 2px solid #f1d47c;
  box-shadow: 0 0 0 5px rgba(215, 173, 67, 0.12);
}
.edge,
.edge.gold,
.edge.green {
  stroke: #b8cae3;
  stroke-width: 1.5;
  opacity: 0.75;
}
.edge.secondary {
  stroke-dasharray: 7 8;
  opacity: 0.48;
}
.map-caption {
  top: 1390px;
  width: 4070px;
  font-size: 18px;
  color: #91a2bf;
  letter-spacing: 0.12em;
}
.memory-flow-note {
  left: 860px;
  top: 1280px;
  width: 560px;
  color: #a8b4cc;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}
.map-top {
  background: #0a244a;
}
.key i {
  background: var(--gold);
}
.map-bottom {
  background: #0a244a;
}
.inspector {
  background: #081e40;
}
.explorer:fullscreen .viewport {
  height: calc(100dvh - 132px);
}
@media (max-width: 760px) {
  .viewport {
    height: 510px;
    min-height: 400px;
  }
  .explorer {
    border-radius: 10px;
  }
}
@media (min-width: 1600px) {
  .viewport {
    height: 760px;
  }
}
.world .node strong {
  font-size: 20px;
  line-height: 1.3;
}
.world .node > span:last-child {
  font-size: 18px;
  line-height: 1.4;
}

.doctrine .invitation-title {
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 43px);
  line-height: 1.35;
  max-width: 1000px;
  margin: 20px 0 30px;
  letter-spacing: -0.025em;
}

.intro > div:first-child {
  max-width: 920px;
}
.intro .house-context {
  margin-top: 12px;
  font-size: 16px;
}

.artifact-cta {
  display: flex;
  justify-content: flex-end;
  padding: 30px 0 54px;
}
.artifact-cta a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 9px;
}
