:root {
  color-scheme: dark;
  --ink: #eef5f2;
  --muted: #92a3a0;
  --line: rgba(218, 239, 231, 0.14);
  --panel: #101a1b;
  --acid: #87f2c9;
  --orange: #ff9e55;
  --bg: #071011;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 70% -20%, #193534 0, transparent 35%), var(--bg);
  color: var(--ink);
}
a {
  color: inherit;
}
.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(7, 16, 17, 0.88);
  backdrop-filter: blur(18px);
  z-index: 10;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}
.mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: var(--acid);
  color: #071011;
  font:
    900 17px Georgia,
    serif;
}
.status {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}
.hero {
  max-width: 1440px;
  margin: auto;
  padding: clamp(64px, 9vw, 140px) clamp(20px, 6vw, 92px)
    clamp(48px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}
.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--acid);
  font-weight: 750;
}
.hero h1 {
  font-size: clamp(58px, 9vw, 138px);
  letter-spacing: -0.07em;
  line-height: 0.82;
  margin: 0;
  max-width: 980px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--acid);
}
.lede {
  max-width: 760px;
  color: #b9c6c3;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.55;
  margin: 38px 0;
}
.truth-row {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 68px 1fr;
  padding-top: 20px;
  max-width: 760px;
}
.truth-row > span {
  color: var(--orange);
  font:
    700 12px ui-monospace,
    monospace;
}
.truth-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.principle {
  padding: 28px;
  border-left: 1px solid var(--acid);
  background: linear-gradient(90deg, rgba(135, 242, 201, 0.06), transparent);
}
.principle span {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.principle blockquote {
  font:
    400 clamp(22px, 2.4vw, 36px) / 1.28 Georgia,
    serif;
  margin: 18px 0 0;
}
.viewer-shell {
  border-block: 1px solid var(--line);
  background: #040909;
}
.viewer-topbar,
.transport {
  min-height: 52px;
  padding: 0 clamp(16px, 3vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font:
    650 10px ui-monospace,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.viewer-topbar > div:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
}
.live-dot {
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}
.canvas-wrap {
  height: min(68vw, 760px);
  min-height: 440px;
  position: relative;
  overflow: hidden;
  touch-action: none;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.overlay {
  position: absolute;
  top: 26px;
  border: 1px solid var(--line);
  background: rgba(6, 14, 15, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 10px;
  padding: 14px 16px;
  font:
    11px ui-monospace,
    monospace;
}
.overlay-left {
  left: clamp(14px, 3vw, 38px);
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 18px;
}
.overlay-left span,
.overlay-right span {
  color: var(--muted);
}
.overlay-left strong {
  font-weight: 600;
}
.overlay-right {
  right: clamp(14px, 3vw, 38px);
  display: grid;
  gap: 9px;
  min-width: 190px;
}
.overlay-right div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.overlay-right strong {
  color: var(--acid);
}
.gesture-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font:
    10px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.fallback {
  position: absolute;
  inset: 0;
  background: #091213;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  z-index: 4;
}
.fallback p {
  color: var(--muted);
  max-width: 560px;
}
.transport {
  justify-content: flex-start;
  gap: 18px;
  border-top: 1px solid var(--line);
}
.transport button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  height: 34px;
  border-radius: 7px;
  padding: 0 13px;
  cursor: pointer;
}
.transport button:hover {
  border-color: var(--acid);
}
#play {
  width: 42px;
  font-size: 16px;
}
#timeline {
  flex: 1;
  accent-color: var(--acid);
}
#reset-camera {
  margin-left: auto;
}
.grid-section {
  max-width: 1340px;
  margin: auto;
  padding: clamp(78px, 9vw, 140px) clamp(20px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 150px);
  border-bottom: 1px solid var(--line);
}
.grid-section h2,
.ledger h2 {
  font:
    400 clamp(38px, 5vw, 72px) / 1.02 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0;
}
.definition-copy {
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.48;
  color: #c3cfcc;
}
.definition-copy p:first-child {
  margin-top: 0;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.steps li > span {
  font:
    11px ui-monospace,
    monospace;
  color: var(--acid);
}
.steps strong {
  font-size: 20px;
}
.steps p {
  color: var(--muted);
  line-height: 1.55;
  margin: 7px 0 0;
}
.ledger {
  padding: clamp(78px, 9vw, 140px) clamp(20px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
}
.ledger-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 56px;
}
.ledger-heading > p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.55;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}
th {
  text-align: left;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
  color: #b8c5c2;
}
td:nth-child(2) {
  color: var(--ink);
  font-weight: 650;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 8px;
  font:
    9px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.done {
  border-color: rgba(135, 242, 201, 0.5);
  color: var(--acid);
}
.baseline {
  border-color: rgba(255, 158, 85, 0.5);
  color: var(--orange);
}
.planned {
  color: var(--muted);
}
.research-cards {
  display: grid;
  gap: 14px;
}
.research-cards article {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 12px;
  background: var(--panel);
}
.research-cards article span {
  font:
    10px ui-monospace,
    monospace;
  color: var(--acid);
  text-transform: uppercase;
}
.research-cards h3 {
  font-size: 20px;
  margin: 14px 0 8px;
}
.research-cards p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.research-cards a {
  color: var(--acid);
  font-size: 13px;
  text-underline-offset: 4px;
}
footer {
  padding: 42px clamp(20px, 6vw, 92px);
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 30px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
footer p {
  margin: 0;
}
footer a {
  color: var(--acid);
}
@media (max-width: 800px) {
  .hero,
  .grid-section {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 70px;
  }
  .principle {
    max-width: 580px;
  }
  .viewer-topbar #adapter,
  .overlay-left,
  .gesture-hint {
    display: none;
  }
  .canvas-wrap {
    height: 68vh;
    min-height: 430px;
  }
  .overlay-right {
    top: 14px;
    right: 14px;
  }
  .transport {
    gap: 10px;
  }
  #reset-camera {
    display: none;
  }
  .ledger-heading {
    display: block;
  }
  .ledger-heading > p {
    margin-top: 24px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer p {
    max-width: 500px;
  }
}
