/* Dual Resolution — structured edition only.
   A single document split between executive intent and engineering reality. */

body[data-mode="web"] {
  --dx-paper: #ede9df;
  --dx-paper-2: #e4dfd3;
  --dx-ink: #14201d;
  --dx-muted: #5d6761;
  --dx-faint: #606a64;
  --dx-carbon: #0c1412;
  --dx-carbon-2: #121d1a;
  --dx-white: #f4f1e9;
  --dx-white-muted: #aab2ac;
  --dx-signal: #ff8000;
  --dx-signal-dark: #9a3a00;
  --dx-papaya-soft: #ffb15c;
  --dx-green: #6fc49b;
  --dx-green-dark: #2b6f54;
  --dx-line-light: rgba(20, 32, 29, 0.18);
  --dx-line-dark: rgba(244, 241, 233, 0.17);
  --dx-gutter: max(32px, calc((100vw - 1480px) / 2));
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--dx-carbon);
  color: var(--dx-ink);
  font-family: "IBM Plex Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-mode="web"]::before,
body[data-mode="web"]::after {
  content: none !important;
}

body[data-mode="web"] .app,
body[data-mode="web"] .right-rail,
body[data-mode="web"] .cat-peek,
body[data-mode="web"] .paste-modal,
body[data-mode="web"] .cmd-palette,
body[data-mode="web"] #gateRoot,
body[data-mode="gate"] .app,
body[data-mode="gate"] .right-rail,
body[data-mode="gate"] .cat-peek,
body[data-mode="gate"] .paste-modal,
body[data-mode="gate"] .cmd-palette,
body[data-mode="gate"] #guiRoot {
  display: none !important;
}

body[data-mode="web"] #guiRoot {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 100svh;
  color: var(--dx-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

body[data-mode="web"] .skip-terminal,
body[data-mode="web"] .static-site-title,
body[data-mode="cli"] .skip-web,
body[data-mode="gate"] .skip-web,
body[data-mode="gate"] .skip-terminal {
  display: none !important;
}

#guiRoot [hidden],
#gateRoot [hidden] {
  display: none !important;
}

body[data-mode="web"] #guiRoot ::selection {
  background: var(--dx-signal);
  color: #101815;
}

body[data-mode="web"] #guiRoot :focus-visible {
  outline: 3px solid var(--dx-signal);
  outline-offset: 4px;
}

.dx-root,
.dx-root *,
.dx-root *::before,
.dx-root *::after {
  box-sizing: border-box;
}

.dx-root {
  --depth: 50%;
  min-height: 100svh;
  isolation: isolate;
}

.dx-root a {
  color: inherit;
}

.dx-root button,
.dx-root input {
  font: inherit;
}

.dx-main {
  overflow: clip;
}

.dx-split {
  display: grid;
  grid-template-columns: minmax(0, var(--depth)) minmax(0, calc(100% - var(--depth)));
  transition: grid-template-columns 100ms linear;
}

.dx-root.is-dragging,
.dx-root.is-dragging * {
  cursor: ew-resize !important;
  user-select: none !important;
}

.dx-root.is-dragging .dx-split,
.dx-root.is-dragging .dx-seam,
.dx-root.is-dragging .dx-depth-control {
  transition: none !important;
}

.dx-panel {
  position: relative;
  min-width: 0;
  container-type: inline-size;
  overflow: hidden;
}

.dx-left {
  background: var(--dx-paper);
  color: var(--dx-ink);
}

.dx-right {
  background: var(--dx-carbon);
  color: var(--dx-white);
}

.dx-panel-inner {
  width: 100%;
  min-width: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Every chapter uses the same outer and seam-side rails. Individual chapters
   may change vertical composition, never horizontal alignment. */
.dx-left .dx-panel-inner {
  padding-right: clamp(28px, 5vw, 90px);
  padding-left: var(--dx-gutter);
}

.dx-right .dx-panel-inner {
  padding-right: var(--dx-gutter);
  padding-left: clamp(28px, 5vw, 90px);
}

@container (max-width: 720px) {
  .dx-left .dx-panel-inner {
    padding-left: clamp(32px, 8cqw, 56px);
  }

  .dx-right .dx-panel-inner {
    padding-right: clamp(32px, 8cqw, 56px);
  }
}

.dx-root[data-depth-zone="intent"] .dx-right .dx-panel-inner {
  transform: translateX(6px);
}

.dx-root[data-depth-zone="runtime"] .dx-left .dx-panel-inner {
  transform: translateX(-6px);
}

.dx-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dx-left .dx-eyebrow {
  color: var(--dx-muted);
}

.dx-right .dx-eyebrow {
  color: var(--dx-white-muted);
}

.dx-eyebrow span {
  color: var(--dx-signal);
  font-size: 0.52rem;
}

/* Color law
   Paper: ink carries every major statement; burnt orange marks metadata.
   Carbon: McLaren Papaya carries every major technical statement; warm white
   carries supporting copy; grey is reserved for secondary detail.
   McLaren Papaya also owns interactive state on both halves. */

.dx-right .dx-chapter-title,
.dx-right .dx-intro-copy,
.dx-record .dx-right h3,
.dx-right .dx-authority-title,
.dx-resident .dx-right .dx-resident-title,
.dx-contact .dx-right h2 {
  color: var(--dx-signal);
}

.dx-arrow {
  --dx-arrow-angle: 0deg;
  position: relative;
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 0.95rem;
  color: currentColor;
  transform: rotate(var(--dx-arrow-angle));
  transition: transform 160ms ease;
}

.dx-arrow::before,
.dx-arrow::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dx-arrow::before {
  top: calc(50% - 0.5px);
  right: 0.1rem;
  left: 0.1rem;
  height: 1px;
  background: currentColor;
}

.dx-arrow::after {
  top: calc(50% - 0.25rem);
  right: 0.1rem;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.dx-arrow-external {
  --dx-arrow-angle: -45deg;
}

.dx-arrow-down {
  --dx-arrow-angle: 90deg;
}

a:hover .dx-arrow {
  transform: rotate(var(--dx-arrow-angle)) translateX(2px);
}

/* The boundary is the primary navigation instrument. */

.dx-seam {
  position: fixed;
  z-index: 72;
  top: 0;
  bottom: 0;
  left: var(--depth);
  width: 26px;
  transform: translateX(-13px);
  cursor: ew-resize;
  touch-action: none;
  transition: left 100ms linear;
}

.dx-seam-line,
.dx-seam-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
}

.dx-seam-line {
  background: rgba(255, 128, 0, 0.48);
}

.dx-seam-progress {
  background: var(--dx-signal);
  transform: scaleY(var(--scroll-progress, 0));
  transform-origin: top;
  box-shadow: 0 0 16px rgba(255, 128, 0, 0.42);
}

.dx-seam-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 68px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 128, 0, 0.72);
  background: var(--dx-signal);
  color: #111815;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.dx-seam-grip i {
  width: 8px;
  height: 1px;
  display: block;
  background: currentColor;
}

/* Fixed identity and resolution control. */

.dx-header {
  position: fixed;
  z-index: 82;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  pointer-events: none;
  border-bottom: 1px solid rgba(244, 241, 233, 0.12);
  background: linear-gradient(
    90deg,
    var(--dx-paper) 0,
    var(--dx-paper) var(--depth),
    var(--dx-carbon) var(--depth),
    var(--dx-carbon) 100%
  );
}

.dx-brand,
.dx-terminal,
.dx-current-chapter {
  pointer-events: auto;
}

.dx-depth-control {
  pointer-events: none;
}

.dx-depth-preset,
.dx-range {
  pointer-events: auto;
}

.dx-brand {
  position: absolute;
  top: 16px;
  left: max(24px, calc(var(--dx-gutter) - 130px));
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--dx-ink);
  text-decoration: none;
}

.dx-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
}

.dx-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.dx-depth-control {
  position: absolute;
  top: 13px;
  right: 0;
  left: 0;
  width: 100%;
  height: 48px;
  display: block;
  color: var(--dx-white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dx-control-left,
.dx-control-right {
  position: absolute;
  z-index: 1;
  top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.dx-control-left {
  right: calc(100% - var(--depth) + 18px);
  color: var(--dx-ink);
  text-align: right;
  transition: right 100ms linear, color 160ms ease;
}

.dx-control-right {
  left: calc(var(--depth) + 18px);
  color: var(--dx-white);
  text-align: left;
  transition: left 100ms linear, color 160ms ease;
}

.dx-control-left:hover,
.dx-control-left[aria-pressed="true"] {
  color: var(--dx-signal-dark);
}

.dx-control-right:hover,
.dx-control-right[aria-pressed="true"] {
  color: var(--dx-signal);
}

.dx-control-left[aria-pressed="true"]::after,
.dx-control-right[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: currentColor;
}

.dx-resolution-state {
  display: none;
}

.dx-range {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: auto;
  bottom: auto;
  left: 30vw;
  width: 40vw;
  height: 30px;
  margin: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.dx-range::-webkit-slider-runnable-track {
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 32, 29, 0.5), rgba(255, 128, 0, 0.88) 50%, rgba(244, 241, 233, 0.5));
}

.dx-range::-moz-range-track {
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 32, 29, 0.5), rgba(255, 128, 0, 0.88) 50%, rgba(244, 241, 233, 0.5));
}

.dx-range::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  margin-top: -8px;
  appearance: none;
  border: 2px solid var(--dx-signal);
  border-radius: 50%;
  background: #121a18;
  box-shadow: 0 0 0 4px rgba(255, 128, 0, 0.14);
}

.dx-range::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 2px solid var(--dx-signal);
  border-radius: 50%;
  background: #121a18;
  box-shadow: 0 0 0 4px rgba(255, 128, 0, 0.14);
}

.dx-current-chapter {
  position: absolute;
  top: 27px;
  right: calc(var(--dx-gutter) + 110px);
  color: rgba(244, 241, 233, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dx-root .dx-terminal {
  position: absolute;
  top: 22px;
  right: var(--dx-gutter);
  min-width: 72px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.36rem;
  padding: 0.28rem 0.48rem;
  border: 1px solid var(--dx-signal);
  background: rgba(255, 128, 0, 0.08);
  color: var(--dx-signal);
  font-size: 0.54rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 128, 0, 0.08);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dx-terminal .dx-arrow {
  width: 0.78rem;
  height: 0.78rem;
  flex-basis: 0.78rem;
}

.dx-root .dx-terminal:hover,
.dx-root .dx-terminal:focus-visible {
  border-color: var(--dx-papaya-soft);
  background: var(--dx-signal);
  color: var(--dx-carbon);
}

.dx-chapter-nav {
  position: fixed;
  z-index: 78;
  top: 50%;
  right: 20px;
  color: var(--dx-white);
  transform: translateY(-50%);
}

.dx-chapter-nav ol {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dx-chapter-nav a {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  opacity: 0.55;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}

.dx-chapter-nav a::after {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
  transition: width 160ms ease, background 160ms ease;
}

.dx-chapter-nav a:hover,
.dx-chapter-nav a.is-active {
  opacity: 1;
}

.dx-chapter-nav a.is-active::after {
  width: 28px;
  background: var(--dx-signal);
}

.dx-chapter-nav b {
  display: none;
  font-weight: 500;
}

.dx-chapter-nav a:hover b,
.dx-chapter-nav a.is-active b {
  display: inline;
}

/* Opening */

.dx-hero {
  position: relative;
  min-height: 100svh;
}

.dx-hero-split {
  min-height: 100svh;
}

.dx-hero-half {
  min-height: 100svh;
}

.dx-hero-half .dx-panel-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 86px;
}

.dx-left.dx-hero-half .dx-panel-inner {
  padding-right: clamp(28px, 5vw, 90px);
  padding-left: var(--dx-gutter);
}

.dx-right.dx-hero-half .dx-panel-inner {
  padding-right: var(--dx-gutter);
  padding-left: clamp(28px, 5vw, 90px);
}

.dx-left.dx-hero-half {
  background:
    radial-gradient(circle at 14% 78%, rgba(255, 128, 0, 0.11), transparent 24%),
    var(--dx-paper);
}

.dx-right.dx-hero-half {
  background:
    linear-gradient(rgba(244, 241, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 233, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 82% 25%, rgba(255, 128, 0, 0.17), transparent 27%),
    var(--dx-carbon);
  background-size: 76px 76px, 76px 76px, auto, auto;
}

.dx-hero-context {
  max-width: 66ch;
  margin: clamp(1.5rem, 3.5vh, 2.6rem) 0 0;
  color: var(--dx-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.58rem, 1.05cqw, 0.74rem);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.dx-right .dx-hero-context {
  color: var(--dx-white-muted);
}

.dx-hero-statement {
  max-width: 11.4ch;
  margin: clamp(1.8rem, 4vh, 3.2rem) 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 8cqw, 7.1rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.dx-right .dx-hero-statement {
  color: var(--dx-signal);
}

.dx-hero-body {
  max-width: 58ch;
  margin: clamp(2rem, 4vh, 3.2rem) 0 0;
  color: var(--dx-muted);
  font-size: clamp(0.88rem, 1.8cqw, 1.12rem);
  line-height: 1.75;
}

.dx-right .dx-hero-body {
  color: #d8d9d3;
}

.dx-hero-meta,
.dx-hero-bridge {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--dx-line-light);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.dx-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--dx-muted);
}

.dx-hero-controls {
  margin: 0.65rem 0 0;
  color: var(--dx-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.035em;
}

.dx-mobile-controls {
  display: none;
}

.dx-hero-bridge {
  border-color: var(--dx-line-dark);
  color: var(--dx-white-muted);
}

.dx-live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dx-green);
  box-shadow: 0 0 0 4px rgba(111, 196, 155, 0.12);
  animation: dxPulse 2.6s ease-in-out infinite;
}

.dx-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: var(--depth);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.7rem;
  background: var(--dx-signal);
  color: #111815;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  text-decoration: none;
  transform: translateX(-50%);
  transition: left 100ms linear;
}

/* Shared chapter system */

.dx-chapter {
  position: relative;
  scroll-margin-top: 74px;
}

.dx-left .dx-eyebrow span,
.dx-left .dx-chapter-label span,
.dx-left .dx-record-number,
.dx-left .dx-authority-list span,
.dx-left .dx-career-index,
.dx-left .dx-access-item-state,
.dx-left .dx-career-locked-index {
  color: var(--dx-signal-dark);
}

.dx-chapter-split .dx-panel-inner {
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(8rem, 12vw, 13rem);
  padding-bottom: clamp(7rem, 11vw, 12rem);
}

.dx-chapter-label {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 8rem);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid currentColor;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dx-left .dx-chapter-label {
  border-color: var(--dx-line-light);
  color: var(--dx-muted);
}

.dx-right .dx-chapter-label {
  border-color: var(--dx-line-dark);
  color: var(--dx-white-muted);
}

.dx-chapter-label span {
  color: var(--dx-signal);
}

.dx-chapter-label b {
  font-weight: 500;
}

.dx-chapter-label small {
  opacity: 1;
}

.dx-resolution-detail {
  max-width: 60ch;
  margin-top: 2rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--dx-line-light);
}

.dx-right .dx-resolution-detail {
  border-color: var(--dx-line-dark);
}

.dx-resolution-label {
  margin: 0;
  color: var(--dx-signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dx-right .dx-resolution-label {
  color: var(--dx-signal);
}

.dx-resolution-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.dx-resolution-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--dx-muted);
  font-size: clamp(0.68rem, 1.2cqw, 0.78rem);
  line-height: 1.55;
}

.dx-right .dx-resolution-list li {
  color: var(--dx-white-muted);
}

.dx-resolution-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--dx-signal-dark);
  font-family: "IBM Plex Mono", monospace;
}

.dx-right .dx-resolution-list li::before {
  color: var(--dx-signal);
}

.dx-hero-resolution {
  margin-top: clamp(1.4rem, 3vh, 2.2rem);
}

.dx-chapter-title {
  max-width: 10ch;
  margin: 1.7rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 8.3cqw, 7rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.dx-chapter-body {
  max-width: 57ch;
  margin: 2.2rem 0 0;
  color: var(--dx-muted);
  font-size: clamp(0.9rem, 1.7cqw, 1.08rem);
  line-height: 1.72;
}

.dx-right .dx-chapter-body {
  color: var(--dx-white-muted);
}

.dx-ledger {
  margin: clamp(3rem, 7vw, 6rem) 0 0;
  border-top: 1px solid var(--dx-line-light);
}

.dx-ledger > div {
  display: grid;
  grid-template-columns: minmax(80px, 0.32fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--dx-line-light);
}

.dx-ledger dt {
  color: var(--dx-signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-ledger dd {
  margin: 0;
  color: var(--dx-muted);
  font-size: 0.76rem;
  line-height: 1.58;
}

.dx-pipeline {
  margin: clamp(3rem, 7vw, 6rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-dark);
  list-style: none;
}

.dx-pipeline li {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: 36px minmax(90px, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--dx-line-dark);
}

.dx-pipeline li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  z-index: 1;
  bottom: -9px;
  left: 8px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dx-line-dark);
  border-radius: 50%;
  background: var(--dx-carbon);
  color: var(--dx-signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
}

.dx-pipeline-index {
  color: var(--dx-signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
}

.dx-pipeline b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 540;
}

.dx-pipeline small {
  color: var(--dx-white-muted);
  font-size: 0.67rem;
  line-height: 1.55;
}

.dx-metrics {
  border-top: 1px solid var(--dx-signal);
  border-bottom: 1px solid var(--dx-signal);
}

.dx-metrics > div {
  min-height: 190px;
  padding-block: 2.3rem;
}

.dx-metrics > .dx-left {
  display: grid;
  align-items: center;
}

.dx-metrics > .dx-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.dx-metrics > .dx-left {
  padding-right: clamp(28px, 5vw, 90px);
  padding-left: var(--dx-gutter);
}

.dx-metrics > .dx-right {
  padding-right: var(--dx-gutter);
  padding-left: clamp(28px, 5vw, 90px);
}

.dx-metric dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 6cqw, 5rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.dx-metric dd {
  max-width: 45ch;
  margin: 0.75rem 0 0;
  color: var(--dx-muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.dx-metrics .dx-right dd {
  color: var(--dx-white-muted);
}

/* Operating proof */

.dx-split-intro .dx-panel-inner {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.dx-intro-copy {
  max-width: 28ch;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 5cqw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.dx-record {
  min-height: 740px;
  border-top: 1px solid var(--dx-signal);
}

.dx-record-side .dx-panel-inner {
  min-height: 740px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.dx-record-number {
  color: var(--dx-signal);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 10cqw, 9rem);
  font-weight: 520;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.dx-record-company,
.dx-record-role {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dx-record-company {
  margin-top: 2.2rem;
  color: var(--dx-signal-dark);
}

.dx-right .dx-record-company {
  color: var(--dx-signal);
}

.dx-record-role {
  margin-top: 0.4rem;
  color: var(--dx-faint);
}

.dx-right .dx-record-role {
  color: rgba(244, 241, 233, 0.52);
}

.dx-record h3 {
  max-width: 11ch;
  margin: 2.5rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 7.4cqw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.dx-record-body {
  max-width: 54ch;
  margin: 2rem 0 0;
  color: var(--dx-muted);
  font-size: clamp(0.88rem, 1.65cqw, 1.03rem);
  line-height: 1.7;
}

.dx-right .dx-record-body {
  color: var(--dx-white-muted);
}

.dx-evidence-list {
  display: grid;
  gap: 0;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-light);
  list-style: none;
}

.dx-right .dx-evidence-list {
  border-color: var(--dx-line-dark);
}

.dx-evidence-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.3rem;
  border-bottom: 1px solid var(--dx-line-light);
  color: var(--dx-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  line-height: 1.55;
}

.dx-right .dx-evidence-list li {
  border-color: var(--dx-line-dark);
  color: var(--dx-white-muted);
}

.dx-evidence-list li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--dx-signal);
}

/* Authority */

.dx-authority {
  border-top: 1px solid var(--dx-signal);
}

.dx-authority-split .dx-panel-inner {
  min-height: 1040px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.dx-authority-title {
  max-width: 11ch;
  margin: 1.8rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem, 9cqw, 8rem);
  font-weight: 520;
  letter-spacing: -0.078em;
  line-height: 0.84;
}

.dx-authority-body {
  max-width: 48ch;
  margin: 2.5rem 0 0;
  color: var(--dx-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.dx-right .dx-authority-body {
  color: var(--dx-white-muted);
}

.dx-authority-list {
  margin: clamp(4rem, 8vw, 8rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-light);
  list-style: none;
}

.dx-right .dx-authority-list {
  border-color: var(--dx-line-dark);
}

.dx-authority-list li {
  display: grid;
  grid-template-columns: 34px minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--dx-line-light);
}

.dx-right .dx-authority-list li {
  border-color: var(--dx-line-dark);
}

.dx-authority-list span {
  color: var(--dx-signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
}

.dx-authority-list b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 550;
}

.dx-authority-list p {
  margin: 0;
  color: var(--dx-muted);
  font-size: 0.7rem;
  line-height: 1.58;
}

.dx-right .dx-authority-list p {
  color: var(--dx-white-muted);
}

.dx-authority-center {
  position: absolute;
  z-index: 4;
  bottom: 42px;
  left: var(--depth);
  width: max-content;
  margin: 0;
  padding: 0.65rem 0.8rem;
  background: var(--dx-signal);
  color: #111815;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  transform: translateX(-50%);
  transition: left 100ms linear;
}

/* Compounding record */

.dx-career {
  border-top: 1px solid var(--dx-signal);
}

.dx-career-lines {
  border-top: 1px solid var(--dx-signal);
}

.dx-career-row {
  min-height: 260px;
  border-bottom: 1px solid var(--dx-signal);
}

.dx-career-row .dx-panel-inner {
  min-height: 260px;
  display: grid;
  grid-template-columns: 38px minmax(120px, 0.45fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0.35rem clamp(1rem, 3vw, 2.4rem);
  align-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.dx-career-index {
  grid-row: 1 / 4;
  color: var(--dx-signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
}

.dx-career-company {
  margin: 0;
  color: var(--dx-signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-right .dx-career-company {
  color: var(--dx-signal);
}

.dx-career-row h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3.2cqw, 2.4rem);
  font-weight: 530;
  letter-spacing: -0.045em;
  line-height: 1;
}

.dx-career-dates {
  margin: 0;
  color: var(--dx-faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
}

.dx-career-detail {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: center;
  margin: 0;
  color: var(--dx-muted);
  font-size: clamp(0.7rem, 1.4cqw, 0.84rem);
  line-height: 1.65;
}

.dx-career-resolution {
  grid-column: 3;
  grid-row: 4;
  align-self: start;
  margin-top: 1rem;
}

.dx-right .dx-career-detail {
  color: var(--dx-white-muted);
}

.dx-career-conclusion p {
  min-height: 210px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5cqw, 4.5rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.dx-career-conclusion .dx-left {
  justify-content: flex-end;
  padding-left: var(--dx-gutter);
}

.dx-career-conclusion .dx-right {
  padding-right: var(--dx-gutter);
}

.dx-career-locked-stack {
  border-top: 1px solid var(--dx-signal);
}

.dx-career-locked-row {
  min-height: 96px;
  border-bottom: 1px solid var(--dx-signal);
}

.dx-career-locked-cell {
  min-height: 96px;
  display: grid;
  grid-template-columns: 38px minmax(150px, 0.7fr) minmax(80px, 1fr);
  gap: clamp(0.8rem, 2.5vw, 2rem);
  align-items: center;
}

.dx-career-locked-row .dx-left .dx-career-locked-cell {
  padding-right: clamp(28px, 5vw, 90px);
  padding-left: var(--dx-gutter);
}

.dx-career-locked-row .dx-right .dx-career-locked-cell {
  padding-right: var(--dx-gutter);
  padding-left: clamp(28px, 5vw, 90px);
}

.dx-career-locked-index,
.dx-career-locked-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-career-locked-index {
  color: var(--dx-signal);
}

.dx-career-locked-label {
  color: var(--dx-muted);
  font-weight: 500;
  line-height: 1.5;
}

.dx-right .dx-career-locked-label {
  color: var(--dx-white-muted);
}

.dx-career-lock-line {
  width: 100%;
  height: 4px;
  opacity: 0.34;
  background: repeating-linear-gradient(90deg, currentColor 0 20px, transparent 20px 28px);
}

.dx-left .dx-career-lock-line {
  color: var(--dx-muted);
}

.dx-right .dx-career-lock-line {
  color: var(--dx-white-muted);
}

.dx-career-gate {
  border-top: 1px solid var(--dx-signal);
  border-bottom: 1px solid var(--dx-signal);
}

.dx-career-gate > div {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.dx-career-gate > .dx-left {
  padding-right: clamp(28px, 5vw, 90px);
  padding-left: var(--dx-gutter);
}

.dx-career-gate > .dx-right {
  padding-right: var(--dx-gutter);
  padding-left: clamp(28px, 5vw, 90px);
}

.dx-career-gate h3 {
  max-width: 15ch;
  margin: 1.6rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 6.2cqw, 5rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.dx-career-gate .dx-right > p {
  max-width: 52ch;
  margin: 0;
  color: var(--dx-white-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.dx-career-gate-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--dx-signal);
  color: var(--dx-white);
  font-size: 0.73rem;
  text-decoration: none;
}

.dx-career-gate-action:hover,
.dx-career-gate-action:focus-visible {
  background: var(--dx-signal);
  color: #111815;
}

/* Briefing follows the depth setting. */

.dx-briefing {
  border-top: 1px solid var(--dx-signal);
}

.dx-briefing-split .dx-panel-inner {
  min-height: 880px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.dx-brief-mode {
  margin: 0;
  color: var(--dx-signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dx-brief-title {
  max-width: 12ch;
  margin: 2rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.9rem, 7.2cqw, 6.2rem);
  font-weight: 510;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.dx-brief-lead {
  max-width: 54ch;
  margin: 2.5rem 0 0;
  color: var(--dx-muted);
  font-size: clamp(0.9rem, 1.7cqw, 1.05rem);
  line-height: 1.72;
}

.dx-brief-points {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-dark);
  list-style: none;
}

.dx-brief-points li {
  position: relative;
  padding: 1.7rem 0 1.7rem 1.8rem;
  border-bottom: 1px solid var(--dx-line-dark);
  color: var(--dx-white-muted);
  font-size: clamp(0.78rem, 1.5cqw, 0.92rem);
  line-height: 1.65;
}

.dx-brief-points li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1.9rem;
  color: var(--dx-signal);
  font-size: 0.5rem;
}

.dx-copy,
.dx-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--dx-signal);
  border-radius: 0;
  background: var(--dx-signal);
  color: #111815;
  font-size: 0.73rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dx-copy:hover,
.dx-action:hover {
  border-color: var(--dx-papaya-soft);
  background: var(--dx-papaya-soft);
  transform: translateY(-2px);
}

.dx-copy[disabled],
.dx-action[disabled] {
  opacity: 0.55;
  transform: none;
  cursor: wait;
}

.dx-source-note {
  margin: 1rem 0 0;
  color: rgba(244, 241, 233, 0.52);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  line-height: 1.55;
}

/* Optional full-resolution record */

.dx-verification {
  border-top: 1px solid var(--dx-signal);
  border-bottom: 1px solid var(--dx-signal);
}

.dx-verification .dx-panel-inner {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.dx-verification .dx-right .dx-panel-inner {
  padding-right: max(var(--dx-gutter), 100px);
}

.dx-verification h2 {
  max-width: 12ch;
  margin: 1.8rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 6.5cqw, 5.4rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.dx-verification-body {
  max-width: 52ch;
  margin: 2rem 0 0;
  color: var(--dx-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.dx-access-manifest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-light);
  border-left: 1px solid var(--dx-line-light);
  list-style: none;
}

.dx-access-item {
  min-width: 0;
  padding: 1.15rem 1rem 1.2rem;
  border-right: 1px solid var(--dx-line-light);
  border-bottom: 1px solid var(--dx-line-light);
}

.dx-access-item-state {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--dx-signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dx-access-manifest.is-open .dx-access-item-state {
  color: var(--dx-green-dark);
}

.dx-access-item b {
  color: var(--dx-ink);
  font-size: 0.75rem;
  font-weight: 520;
}

.dx-access-item p {
  margin: 0.55rem 0 0;
  color: var(--dx-muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

.dx-access-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--dx-signal);
  border-bottom: 1px solid var(--dx-line-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-access-status span {
  color: var(--dx-signal);
}

.dx-access-status b {
  color: var(--dx-white-muted);
  font-weight: 400;
  text-align: right;
}

.dx-verify-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dx-field {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--dx-line-dark);
  border-radius: 0;
  background: rgba(244, 241, 233, 0.04);
  color: var(--dx-white);
  font-size: 0.76rem;
}

.dx-field:nth-child(3),
.dx-verify-form .dx-action {
  grid-column: 1 / -1;
}

.dx-field::placeholder {
  color: rgba(244, 241, 233, 0.52);
}

.dx-field:focus {
  border-color: var(--dx-signal);
}

.dx-verify-form .dx-action {
  width: 100%;
  margin-top: 0;
}

.dx-otp-form .dx-field {
  grid-column: 1 / -1;
  letter-spacing: 0.25em;
  text-align: center;
}

.dx-verify-secondary {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.dx-verify-secondary button {
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid var(--dx-line-dark);
  background: transparent;
  color: var(--dx-white-muted);
  font-size: 0.63rem;
  cursor: pointer;
}

.dx-verify-message {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--dx-green);
  font-size: 0.68rem;
}

.dx-verify-message.is-error {
  color: #f18b77;
}

.dx-session-state {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--dx-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
}

.dx-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dx-action-quiet {
  border-color: var(--dx-line-dark);
  background: transparent;
  color: var(--dx-white);
}

.dx-action-quiet:hover {
  border-color: var(--dx-white);
  background: transparent;
}

/* Resident: a compact paper-side interlude with the original ASCII cat. */

.dx-resident {
  border-top: 1px solid var(--dx-signal);
}

.dx-resident .dx-panel-inner {
  min-height: clamp(440px, 50svh, 540px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3.75rem;
  padding-bottom: 2.75rem;
}

.dx-resident .dx-chapter-label {
  margin-bottom: 1.5rem;
}

.dx-resident-title {
  max-width: 12ch;
  margin: 1.25rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.25rem, 5.2cqw, 4.5rem);
  font-weight: 510;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.dx-resident-body {
  max-width: 52ch;
  margin: 1.4rem 0 0;
  color: var(--dx-muted);
  font-size: clamp(0.78rem, 1.45cqw, 0.94rem);
  line-height: 1.65;
}

.dx-right .dx-resident-body {
  color: var(--dx-white-muted);
}

.dx-resident-ground {
  --dx-resident-floor-depth: 22px;
  --dx-resident-ball-size: 7.8px;
  --dx-resident-ball-shadow-size: 10.8px;
  --dx-resident-ball-pop-size: 16.8px;
  position: relative;
  width: 100%;
  height: clamp(195px, 16vw, 220px);
  min-height: 195px;
  margin: 1.4rem 0 0;
  overflow: hidden;
  border: 1px solid var(--dx-line-light);
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 128, 0, 0.09), transparent 27%),
    linear-gradient(90deg, rgba(20, 32, 29, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 58%),
    var(--dx-paper-2);
  background-size: auto, 48px 100%, auto, auto;
  color: var(--dx-ink);
  cursor: crosshair;
  touch-action: manipulation;
  box-shadow: 0 14px 34px rgba(20, 32, 29, 0.1);
}

.dx-resident-ground:focus-visible {
  outline: 3px solid var(--dx-papaya-soft) !important;
  outline-offset: 5px !important;
}

.dx-resident-meta {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.5rem;
  pointer-events: none;
}

.dx-resident-instruction,
.dx-resident-state {
  min-width: 0;
  color: var(--dx-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dx-resident-instruction {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dx-resident-state {
  color: var(--dx-signal-dark);
  text-align: right;
  white-space: nowrap;
}

.dx-resident-floor {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--dx-resident-floor-depth);
  background:
    radial-gradient(ellipse at 50% 0, rgba(20, 32, 29, 0.09), transparent 64%),
    linear-gradient(180deg, rgba(20, 32, 29, 0.025), rgba(20, 32, 29, 0.07));
}

.dx-ball,
.dx-ball-shadow,
.dx-cat,
.dx-cat-shadow,
.dx-ball-pop {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: none;
}

.dx-ball {
  width: var(--dx-resident-ball-size);
  height: var(--dx-resident-ball-size);
  border: 1px solid rgba(109, 43, 0, 0.42);
  border-radius: 50%;
  background: var(--dx-signal);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 3px 7px rgba(113, 46, 0, 0.2);
  transform-origin: center bottom;
}

.dx-ball-shadow,
.dx-cat-shadow {
  z-index: 1;
  height: 3.6px;
  border-radius: 50%;
  background: rgba(20, 32, 29, 0.3);
  filter: blur(1.8px);
  transform-origin: center;
}

.dx-ball-shadow {
  width: var(--dx-resident-ball-shadow-size);
}

.dx-cat-shadow {
  width: 72px;
  opacity: 0.3;
}

.dx-cat {
  z-index: 3;
  margin: 0;
  color: var(--dx-ink);
  font: 500 clamp(0.72rem, 1.55cqw, 0.96rem)/1.05 "IBM Plex Mono", monospace;
  letter-spacing: 0;
  white-space: pre;
  filter: drop-shadow(0 2px 0 rgba(20, 32, 29, 0.14));
}

.dx-ball-pop {
  z-index: 4;
  width: var(--dx-resident-ball-pop-size);
  height: var(--dx-resident-ball-pop-size);
  border: 1px solid var(--dx-papaya-soft);
  border-radius: 50%;
  opacity: 0;
}

.dx-ball-pop.is-popping {
  animation: dxResidentPop 420ms ease-out;
}

@keyframes dxResidentPop {
  0% { opacity: 0.8; transform: scale(0.2); }
  100% { opacity: 0; transform: scale(1.6); }
}

.dx-resident-system .dx-resident-title {
  max-width: 12ch;
  font-size: clamp(2rem, 4cqw, 3.35rem);
  line-height: 0.98;
}

.dx-resident-system .dx-resident-body {
  max-width: 44ch;
}

.dx-resident-loop {
  position: relative;
  max-width: 36rem;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-dark);
  border-bottom: 1px solid var(--dx-line-dark);
  list-style: none;
}

.dx-resident-loop::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 4px;
  width: 1px;
  background: var(--dx-line-dark);
}

.dx-resident-loop li {
  position: relative;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: center;
  min-height: 3.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--dx-line-dark);
}

.dx-resident-loop li:last-child {
  border-bottom: 0;
}

.dx-resident-loop li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--dx-signal);
  border-radius: 50%;
  background: var(--dx-carbon);
  transform: translateY(-50%);
  animation: dxResidentLoopNode 4.8s ease-in-out infinite;
}

.dx-resident-loop li:nth-child(2)::before { animation-delay: 1.2s; }
.dx-resident-loop li:nth-child(3)::before { animation-delay: 2.4s; }
.dx-resident-loop li:nth-child(4)::before { animation-delay: 3.6s; }

@keyframes dxResidentLoopNode {
  0%, 18%, 100% {
    background: var(--dx-carbon);
    box-shadow: 0 0 0 0 rgba(255, 128, 0, 0);
  }
  5%, 12% {
    background: var(--dx-signal);
    box-shadow: 0 0 0 5px rgba(255, 128, 0, 0.1);
  }
}

.dx-resident-loop-index {
  padding-left: 1rem;
  color: var(--dx-signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.dx-resident-loop-copy {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.55fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
}

.dx-resident-loop-copy b,
.dx-resident-loop-copy small {
  min-width: 0;
  font-style: normal;
  font-weight: 400;
}

.dx-resident-loop-copy b {
  color: var(--dx-white);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.dx-resident-loop-copy small {
  color: var(--dx-white-muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

/* Close */

.dx-contact {
  position: relative;
  min-height: 100svh;
  border-top: 1px solid var(--dx-signal);
}

.dx-contact-split,
.dx-contact-split .dx-panel,
.dx-contact-split .dx-panel-inner {
  min-height: 100svh;
}

.dx-contact-split .dx-panel-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.dx-contact h2 {
  max-width: 12ch;
  margin: 2rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.4rem, 8.4cqw, 7.2rem);
  font-weight: 510;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.dx-contact-body {
  max-width: 48ch;
  margin: 2.5rem 0 0;
  color: var(--dx-muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.dx-right .dx-contact-body {
  color: var(--dx-white-muted);
}

.dx-contact-list {
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--dx-line-light);
  list-style: none;
}

.dx-right .dx-contact-list {
  border-color: var(--dx-line-dark);
}

.dx-contact-list li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--dx-line-light);
}

.dx-right .dx-contact-list li {
  border-color: var(--dx-line-dark);
}

.dx-contact-list span {
  color: var(--dx-signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
}

.dx-right .dx-contact-list span {
  color: var(--dx-signal);
}

.dx-contact-list b {
  color: var(--dx-muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.dx-right .dx-contact-list b {
  color: var(--dx-white-muted);
}

.dx-contact-action {
  position: absolute;
  /* The CTA bridges both views, so it must mask the draggable partition where
     they intersect while remaining below the fixed chapter navigation/header. */
  z-index: 74;
  bottom: 110px;
  left: var(--depth);
  min-width: 270px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--dx-signal);
  background: var(--dx-signal);
  color: #111815;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 560;
  text-decoration: none;
  transform: translateX(-50%);
  transition: left 100ms linear, background 160ms ease, transform 160ms ease;
}

.dx-contact-action:hover {
  background: var(--dx-papaya-soft);
  transform: translateX(-50%) translateY(-2px);
}

.dx-footer {
  position: relative;
  min-height: 180px;
}

.dx-footer > .dx-left,
.dx-footer > .dx-right {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding-block: 2rem;
}

.dx-footer > .dx-left {
  align-items: flex-start;
  padding-right: 2rem;
  padding-left: var(--dx-gutter);
}

.dx-footer > .dx-right {
  align-items: flex-end;
  padding-right: var(--dx-gutter);
  padding-left: 2rem;
  text-align: right;
}

.dx-footer b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dx-footer span {
  color: var(--dx-muted);
  font-size: 0.62rem;
}

.dx-footer .dx-right span {
  color: var(--dx-white-muted);
}

.dx-footer-policies {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: var(--depth);
  display: flex;
  gap: 1rem;
  color: var(--dx-white-muted);
  font-size: 0.58rem;
  transform: translateX(-50%);
  transition: left 100ms linear;
}

.dx-footer-policies a {
  text-decoration: none;
}

.dx-load-error {
  max-width: 52ch;
  margin: 20vh auto;
  padding: 2rem;
  color: var(--dx-white-muted);
  text-align: center;
}

/* A complete, calm record remains readable when JavaScript is unavailable. */

.nojs-record {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  color: var(--dx-white);
}

.nojs-record h1,
.nojs-record h2 {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-weight: 520;
  letter-spacing: -0.055em;
}

.nojs-record h1 {
  max-width: 12ch;
  margin: 1.5rem 0 0;
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.9;
}

.nojs-record h2 {
  margin: 4.5rem 0 1.2rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
}

.nojs-record p,
.nojs-record li {
  color: var(--dx-white-muted);
  line-height: 1.75;
}

.nojs-record ul {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
}

.nojs-record .nojs-eyebrow,
.nojs-record .nojs-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.nojs-record .nojs-eyebrow {
  color: var(--dx-signal-dark);
  text-transform: uppercase;
}

.nojs-record .nojs-lead {
  max-width: 28ch;
  margin: 3rem 0;
  color: var(--dx-white);
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.nojs-contact {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  padding: 0.9rem 1rem;
  background: var(--dx-signal);
  color: #111815;
  font-weight: 550;
  text-decoration: none;
}

.nojs-record .nojs-note {
  margin-top: 2rem;
  color: var(--dx-white-muted);
}

/* Meaningful entrances: each resolution arrives from its own side. */

[data-reveal] {
  opacity: 0;
  transition: opacity 620ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* The opening carries the page's critical meaning. It must never wait behind
   decorative entrance motion; later chapters retain the directional reveal. */
.dx-hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes dxPulse {
  50% { opacity: 0.45; box-shadow: 0 0 0 7px rgba(111, 196, 155, 0.03); }
}

/* The first-visit edition gate. */

body[data-mode="gate"] {
  margin: 0;
  background: #0c1412;
  color: #f4f1e9;
  font-family: "IBM Plex Sans", "Avenir Next", sans-serif;
}

body[data-mode="gate"] .g-gate {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 4rem max(1.25rem, 5vw);
  background: linear-gradient(90deg, #ede9df 0 50%, #0c1412 50% 100%);
}

body[data-mode="gate"] .g-q {
  max-width: 11ch;
  margin: 0 auto;
  color: #ff8000;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
  text-align: center;
}

body[data-mode="gate"] .g-doors {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

body[data-mode="gate"] .g-door {
  min-height: 240px;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

body[data-mode="gate"] .g-door-cli {
  color: #14201d;
}

body[data-mode="gate"] .g-door-web {
  color: #f4f1e9;
}

body[data-mode="gate"] .g-door:focus-visible {
  outline: 2px solid #ff8000;
  outline-offset: 4px;
}

body[data-mode="gate"] .g-door-word {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 520;
  letter-spacing: -0.055em;
}

body[data-mode="gate"] .g-door-sub,
body[data-mode="gate"] .g-door-go,
body[data-mode="gate"] .g-note {
  font-size: 0.72rem;
}

body[data-mode="gate"] .g-door-sub {
  opacity: 0.66;
}

body[data-mode="gate"] .g-door kbd {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-top: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
}

body[data-mode="gate"] .g-door-go {
  margin-top: 0.5rem;
  color: #ff8000;
}

body[data-mode="gate"] .g-note {
  justify-self: center;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(20, 32, 29, 0.24);
  background: #ede9df;
  color: #14201d;
  font-family: "IBM Plex Mono", monospace;
  text-align: center;
}

/* Responsive dual-resolution behavior. */

@media (max-width: 1180px) {
  body[data-mode="web"] {
    --dx-gutter: 24px;
  }

  .dx-brand-name,
  .dx-current-chapter {
    display: none;
  }

  .dx-chapter-nav {
    right: 10px;
  }

  .dx-chapter-nav b {
    display: none !important;
  }

  .dx-career-row .dx-panel-inner {
    grid-template-columns: 30px minmax(105px, 0.45fr) minmax(0, 1fr);
    gap: 0.35rem 1rem;
  }
}

@media (max-width: 760px) {
  body[data-mode="web"] {
    --dx-gutter: 20px;
    font-size: 15px;
  }

  .dx-seam,
  .dx-chapter-nav {
    display: none;
  }

  .dx-header {
    height: 64px;
    background: rgba(12, 20, 18, 0.94);
    border-bottom: 1px solid var(--dx-line-dark);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .dx-brand {
    top: 11px;
    left: 14px;
    color: var(--dx-white);
  }

  .dx-brand-mark {
    width: 40px;
    height: 40px;
  }

  .dx-depth-control {
    top: 12px;
    right: 82px;
    left: 68px;
    width: auto;
    height: 40px;
    align-items: start;
  }

  .dx-control-left,
  .dx-control-right {
    display: block;
    top: 0;
    padding-bottom: 0;
    color: var(--dx-white-muted);
    font-size: 0.44rem;
    line-height: 1;
    white-space: nowrap;
  }

  .dx-control-left {
    right: auto;
    left: 0;
    text-align: left;
  }

  .dx-control-right {
    right: 0;
    left: auto;
    text-align: right;
  }

  .dx-range {
    top: 12px;
    right: 0;
    left: 0;
    width: 100%;
    height: 28px;
  }

  .dx-range::-webkit-slider-runnable-track,
  .dx-range::-moz-range-track {
    background: linear-gradient(90deg, var(--dx-paper), var(--dx-signal) 50%, var(--dx-white-muted));
  }

  .dx-root .dx-terminal {
    top: 17px;
    right: 12px;
    width: 50px;
    min-width: 50px;
    min-height: 30px;
    justify-content: space-between;
    gap: 0.22rem;
    padding: 0.25rem 0.34rem;
    font-size: 0.5rem;
  }

  .dx-terminal-label {
    font-size: 0;
  }

  .dx-terminal-label::after {
    content: "CLI";
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .dx-terminal .dx-arrow {
    width: 0.72rem;
    height: 0.72rem;
    flex-basis: 0.72rem;
  }

  .dx-split {
    display: block;
  }

  .dx-panel {
    width: 100%;
  }

  .dx-left .dx-panel-inner,
  .dx-right .dx-panel-inner {
    padding-right: var(--dx-gutter);
    padding-left: var(--dx-gutter);
  }

  .dx-root[data-depth-zone="intent"] .dx-right .dx-panel-inner,
  .dx-root[data-depth-zone="runtime"] .dx-left .dx-panel-inner {
    transform: none;
  }

  .dx-hero-split,
  .dx-hero-half,
  .dx-hero-half .dx-panel-inner {
    min-height: 84svh;
  }

  .dx-hero-half .dx-panel-inner {
    padding-top: 96px;
    padding-bottom: 54px;
  }

  .dx-left.dx-hero-half .dx-panel-inner,
  .dx-right.dx-hero-half .dx-panel-inner {
    padding-right: var(--dx-gutter);
    padding-left: var(--dx-gutter);
  }

  .dx-hero-context {
    font-size: 0.6rem;
  }

  .dx-hero-statement {
    max-width: 9ch;
    font-size: clamp(3.8rem, 18vw, 6.3rem);
  }

  .dx-hero-body {
    font-size: 0.91rem;
  }

  .dx-desktop-controls {
    display: none;
  }

  .dx-mobile-controls {
    display: inline;
  }

  .dx-scroll-cue {
    bottom: 16px;
    left: 50%;
  }

  .dx-chapter-split .dx-panel-inner {
    min-height: 760px;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .dx-chapter-label {
    margin-bottom: 4rem;
  }

  .dx-chapter-title {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }

  .dx-ledger > div {
    grid-template-columns: 78px 1fr;
  }

  .dx-pipeline li {
    grid-template-columns: 32px 86px 1fr;
  }

  .dx-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dx-metrics > .dx-left,
  .dx-metrics > .dx-right {
    min-height: 170px;
    display: grid;
    padding: 2rem var(--dx-gutter);
  }

  .dx-metrics > .dx-right {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .dx-metrics dt {
    font-size: 3rem;
  }

  .dx-split-intro .dx-panel-inner {
    min-height: 390px;
    padding-top: 5rem;
    padding-bottom: 3.5rem;
  }

  .dx-intro-copy {
    font-size: 2.7rem;
  }

  .dx-record,
  .dx-record-side .dx-panel-inner {
    min-height: 690px;
  }

  .dx-record-side .dx-panel-inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .dx-record-number {
    font-size: 5rem;
  }

  .dx-record h3 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .dx-authority-split .dx-panel-inner {
    min-height: 880px;
    padding-top: 6rem;
    padding-bottom: 7rem;
  }

  .dx-authority-title {
    font-size: clamp(4.2rem, 18vw, 6.5rem);
  }

  .dx-authority-list li {
    grid-template-columns: 30px 110px 1fr;
  }

  .dx-authority-center {
    position: static;
    width: 100%;
    padding: 1rem var(--dx-gutter);
    text-align: center;
    transform: none;
  }

  .dx-career-row {
    display: block;
    min-height: 0;
  }

  .dx-career-locked-row {
    display: block;
  }

  .dx-career-locked-row .dx-right {
    display: none;
  }

  .dx-career-locked-cell,
  .dx-career-locked-row .dx-left .dx-career-locked-cell {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 0 var(--dx-gutter);
  }

  .dx-career-lock-line {
    grid-column: 2;
    width: min(100%, 190px);
  }

  .dx-career-row .dx-panel-inner {
    min-height: 230px;
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto auto auto auto;
  }

  .dx-career-index {
    grid-row: 1 / 6;
  }

  .dx-career-detail {
    grid-column: 2;
    grid-row: auto;
    margin-top: 0.7rem;
    font-size: 0.76rem;
  }

  .dx-career-resolution {
    grid-column: 2;
    grid-row: auto;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
  }

  .dx-career-conclusion {
    display: block;
  }

  .dx-career-conclusion p {
    min-height: 170px;
    justify-content: flex-start !important;
    padding: 2rem var(--dx-gutter) !important;
    font-size: 3rem;
  }

  .dx-career-gate {
    display: block;
  }

  .dx-career-gate > div {
    min-height: 250px;
    padding: 3rem var(--dx-gutter);
  }

  .dx-career-gate h3 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .dx-briefing-split .dx-panel-inner {
    min-height: 700px;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .dx-brief-title {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .dx-verification {
    display: block;
  }

  .dx-verification .dx-panel-inner {
    min-height: 560px;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .dx-verification h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .dx-verification .dx-right .dx-panel-inner {
    padding-right: var(--dx-gutter);
  }

  .dx-access-manifest {
    grid-template-columns: 1fr;
  }

  .dx-access-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .dx-access-status b {
    text-align: left;
  }

  .dx-verify-form {
    grid-template-columns: 1fr;
  }

  .dx-field:nth-child(3),
  .dx-verify-form .dx-action,
  .dx-otp-form .dx-field {
    grid-column: auto;
  }

  .dx-contact-split,
  .dx-contact-split .dx-panel,
  .dx-contact-split .dx-panel-inner {
    min-height: 76svh;
  }

  .dx-resident .dx-panel-inner {
    min-height: 0;
    padding-top: 3.75rem;
    padding-bottom: 2.75rem;
  }

  .dx-resident .dx-chapter-label {
    margin-bottom: 1.4rem;
  }

  .dx-resident-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .dx-resident-body {
    margin-top: 1rem;
    font-size: 0.78rem;
  }

  .dx-resident-ground {
    height: 190px;
    min-height: 190px;
    margin: 1.4rem 0 0;
  }

  .dx-resident-meta {
    top: 14px;
    right: 14px;
    left: 14px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  .dx-resident-instruction,
  .dx-resident-state {
    font-size: 0.5rem;
    text-align: left;
  }

  .dx-resident-state {
    white-space: normal;
  }

  .dx-resident-loop {
    margin: 1.5rem 0 0;
  }

  .dx-resident-loop li {
    min-height: 3.45rem;
  }

  .dx-resident-loop-copy {
    grid-template-columns: minmax(4.7rem, 0.5fr) minmax(0, 1fr);
    gap: 0.65rem;
  }

  .dx-contact h2 {
    font-size: clamp(3.5rem, 16vw, 5.6rem);
  }

  .dx-contact-action {
    position: static;
    width: calc(100% - 40px);
    margin: 0 auto;
    transform: none;
  }

  .dx-contact-action:hover {
    transform: translateY(-2px);
  }

  .dx-footer {
    display: block;
  }

  .dx-footer > .dx-left,
  .dx-footer > .dx-right {
    min-height: 120px;
    align-items: flex-start;
    padding: 2rem var(--dx-gutter);
    text-align: left;
  }

  .dx-footer-policies {
    position: static;
    justify-content: center;
    padding: 1.2rem;
    background: var(--dx-carbon);
    transform: none;
  }

  body[data-mode="gate"] .g-gate {
    background: #0c1412;
  }

  body[data-mode="gate"] .g-doors {
    grid-template-columns: 1fr;
  }

  body[data-mode="gate"] .g-door-cli {
    background: #ede9df;
    color: #14201d;
  }

  body[data-mode="gate"] .g-door-web {
    background: #0c1412;
    color: #f4f1e9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dx-root *,
  .dx-root *::before,
  .dx-root *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .dx-seam,
  .dx-depth-control,
  .dx-chapter-nav {
    forced-color-adjust: none;
  }

  .dx-live-dot {
    background: Highlight;
  }
}

@media print {
  .dx-header,
  .dx-seam,
  .dx-chapter-nav,
  .dx-scroll-cue,
  .dx-verification,
  .dx-resident,
  .dx-contact,
  .dx-footer {
    display: none !important;
  }

  .dx-split {
    grid-template-columns: 1fr 1fr !important;
  }

  .dx-left,
  .dx-right {
    background: white !important;
    color: black !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
