:root {
  --bg: #050608;
  --paper: #0d1116;
  --paper-2: #111821;
  --ink: #f4f7fb;
  --soft-ink: #c7d0da;
  --muted: #808b98;
  --line: #252d38;
  --faint: #171f2a;
  --cyan: #8be7ff;
  --acid: #cdfb6e;
  --amber: #ffbf63;
  --red: #ff5f79;
  --steel: #d8dee8;
  --max: 1280px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

code {
  background: rgba(139, 231, 255, 0.09);
  border: 1px solid rgba(139, 231, 255, 0.18);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 2px 5px;
}

.site-header {
  align-items: center;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 760;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand::before {
  background:
    linear-gradient(45deg, transparent 44%, var(--acid) 45%, var(--acid) 56%, transparent 57%),
    linear-gradient(-45deg, transparent 44%, var(--cyan) 45%, var(--cyan) 56%, transparent 57%);
  content: "";
  display: inline-block;
  height: 16px;
  width: 16px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
}

main {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 clamp(18px, 5vw, 64px) 88px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.82) 52%, rgba(5, 6, 8, 0.28)),
    url("../assets/external-brain-mesh.png") center / cover no-repeat;
  color: var(--ink);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  min-height: min(780px, 88vh);
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(rgba(139, 231, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 231, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent 86%);
  pointer-events: none;
  position: absolute;
}

.hero::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
  inset: 24px;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  align-self: end;
  max-width: 840px;
  position: relative;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
.display-title {
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 500;
  line-height: 0.94;
  margin: 0;
  max-width: 900px;
}

.page-title {
  font-size: 64px;
  line-height: 0.98;
  max-width: 980px;
}

.profile-title {
  font-size: 48px;
  max-width: 860px;
}

.about-hero {
  align-items: end;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.58fr);
}

.about-profile {
  max-width: 720px;
}

.profile-kicker {
  color: var(--soft-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.compact-profile-title {
  font-size: clamp(36px, 4.4vw, 50px);
  line-height: 1.02;
  max-width: 680px;
}

.about-lede {
  font-size: 18px;
  margin-top: 22px;
  max-width: 620px;
}

.about-panel {
  background:
    linear-gradient(140deg, rgba(139, 231, 255, 0.055), rgba(205, 251, 110, 0.035)),
    var(--paper);
  border: 1px solid rgba(139, 231, 255, 0.22);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.about-panel span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.about-panel strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 620;
  line-height: 1.42;
}

h2 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.03;
  margin: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.22;
  margin: 0;
}

p {
  line-height: 1.64;
}

.lede {
  color: var(--soft-ink);
  font-size: 20px;
  line-height: 1.54;
  max-width: 760px;
}

.hero .lede {
  color: rgba(244, 247, 251, 0.76);
  margin-top: 24px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #050608;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 780;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.button.dark {
  background: var(--acid);
  border-color: rgba(205, 251, 110, 0.48);
  color: #071009;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.hero-visual,
.agent-mesh-panel,
.axis-canvas,
.touch-stage {
  position: relative;
  z-index: 1;
}

.hero-visual {
  align-self: center;
  min-height: 520px;
}

.neural-lattice {
  background:
    linear-gradient(120deg, rgba(139, 231, 255, 0.08), transparent 48%),
    linear-gradient(300deg, rgba(205, 251, 110, 0.09), transparent 50%),
    rgba(13, 17, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.neural-lattice::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 18px);
  content: "";
  inset: 0;
  opacity: 0.5;
  position: absolute;
}

.neural-lattice svg {
  display: block;
  height: 520px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.lattice-line,
.axis-grid-lines path {
  fill: none;
  stroke: rgba(216, 222, 232, 0.18);
  stroke-width: 1;
}

.lattice-line.hot {
  animation: dashFlow 4.8s linear infinite;
  stroke: rgba(139, 231, 255, 0.72);
  stroke-dasharray: 8 18;
  stroke-width: 1.4;
}

.lattice-node {
  animation: nodePulse 3.2s ease-in-out infinite;
  fill: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(139, 231, 255, 0.7));
}

.lattice-node.alt {
  fill: var(--acid);
  filter: drop-shadow(0 0 12px rgba(205, 251, 110, 0.7));
}

.lattice-label {
  fill: rgba(244, 247, 251, 0.76);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}

.interface-panel {
  background: rgba(5, 6, 8, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 10px;
  left: 30px;
  max-width: 360px;
  padding: 18px;
  position: absolute;
  top: 30px;
  z-index: 2;
}

.interface-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 10px 1fr auto;
}

.interface-dot {
  background: var(--acid);
  height: 7px;
  width: 7px;
}

.interface-row span {
  color: rgba(244, 247, 251, 0.72);
  font-size: 12px;
}

.interface-row strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.section {
  border-top: 1px solid var(--line);
  margin-top: 86px;
  padding-top: 52px;
}

.section.compact {
  margin-top: 34px;
  padding-top: 24px;
}

.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thesis-band {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.thesis-copy {
  color: var(--soft-ink);
  font-size: 22px;
  line-height: 1.46;
  margin: 0;
}

.metric-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.metric {
  border-right: 1px solid var(--line);
  min-height: 132px;
  padding: 22px;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  color: var(--ink);
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.46;
  margin-top: 12px;
}

.model-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.card,
.model-card,
.connection-cell {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--paper);
  border: 1px solid var(--line);
  min-height: 220px;
  padding: 24px;
}

.model-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 258px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.model-card:hover {
  background:
    linear-gradient(140deg, rgba(139, 231, 255, 0.08), transparent 45%),
    var(--paper-2);
  border-color: rgba(139, 231, 255, 0.48);
  transform: translateY(-2px);
}

.card p,
.model-card p,
.connection-cell p {
  color: var(--muted);
  margin-bottom: 0;
}

.tag {
  color: var(--cyan);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  margin: 0 10px 14px 0;
  text-transform: uppercase;
}

.status {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.model-link {
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 760;
  margin-top: 20px;
  text-decoration: none;
}

.model-link::after {
  color: var(--acid);
  content: ">";
  margin-left: 8px;
}

.model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.model-meta-strip {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding: 18px 0;
}

.model-hero-split {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.model-signal-panel {
  align-self: end;
  background:
    linear-gradient(140deg, rgba(139, 231, 255, 0.07), rgba(205, 251, 110, 0.04)),
    var(--paper);
  border: 1px solid rgba(139, 231, 255, 0.28);
  display: grid;
  gap: 12px;
  padding: 22px;
}

.model-signal-panel span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.model-signal-panel strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.model-detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-detail-grid .card {
  min-height: 0;
}

.model-detail-grid ul,
.signal-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.model-detail-grid li,
.signal-list li {
  border-top: 1px solid var(--faint);
  color: var(--soft-ink);
  padding-top: 12px;
}

.model-body p {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.48;
  margin-top: 0;
}

.connection-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.connection-cell {
  min-height: 184px;
}

.connection-cell h3 {
  margin-bottom: 12px;
}

.signal-gateway {
  background:
    linear-gradient(90deg, rgba(139, 231, 255, 0.1), transparent 44%),
    linear-gradient(270deg, rgba(205, 251, 110, 0.1), transparent 42%),
    var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding: clamp(28px, 5vw, 50px);
}

.signal-gateway h2 {
  max-width: 760px;
}

.axis-section,
.w-axis-stage,
.adam-connection {
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  margin-top: 64px;
  min-height: 520px;
  overflow: hidden;
  padding: 46px;
  position: relative;
}

.axis-section::before,
.w-axis-stage::before,
.adam-connection::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0, rgba(255, 255, 255, 0.026) 1px, transparent 1px, transparent 28px);
  content: "";
  inset: 0;
  opacity: 0.64;
  pointer-events: none;
  position: absolute;
}

.axis-copy,
.adam-copy {
  align-self: end;
  max-width: 450px;
  position: relative;
  z-index: 1;
}

.axis-copy p,
.adam-copy .lede {
  color: rgba(244, 247, 251, 0.72);
}

.axis-canvas {
  align-self: center;
  min-height: 430px;
}

.axis-canvas svg {
  display: block;
  height: 100%;
  min-height: 430px;
  width: 100%;
}

.w-beam {
  animation: beamTrace 4.4s ease-in-out infinite;
  fill: none;
  stroke: url("#axisBeam");
  stroke-linecap: round;
  stroke-width: 16;
}

.w-shadow {
  animation: dashFlow 5.8s linear infinite;
  fill: none;
  opacity: 0.85;
  stroke: rgba(139, 231, 255, 0.78);
  stroke-dasharray: 10 20;
  stroke-linecap: round;
  stroke-width: 2;
}

.axis-node circle {
  animation: nodePulse 3.4s ease-in-out infinite;
  fill: var(--acid);
  filter: drop-shadow(0 0 14px rgba(205, 251, 110, 0.72));
}

.axis-node text {
  fill: rgba(244, 247, 251, 0.78);
  font-family: var(--mono);
  font-size: 12px;
}

.model-axis-stage {
  margin-top: 42px;
}

.adam-connection {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.touch-stage {
  align-self: center;
  min-height: 440px;
}

.touch-svg {
  display: block;
  height: 100%;
  min-height: 440px;
  width: 100%;
}

.fresco-wash {
  fill: rgba(216, 222, 232, 0.045);
}

.neural-thread {
  animation: dashFlow 8s linear infinite;
  fill: none;
  opacity: 0.6;
  stroke: rgba(139, 231, 255, 0.52);
  stroke-dasharray: 7 13;
  stroke-width: 1.2;
}

.hand-line {
  fill: none;
  stroke: rgba(244, 247, 251, 0.9);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 14;
}

.hand-detail {
  fill: none;
  stroke: rgba(244, 247, 251, 0.58);
  stroke-linecap: round;
  stroke-width: 4;
}

.left-hand {
  animation: reachLeft 3.8s ease-in-out infinite;
  transform-origin: 420px 224px;
}

.right-hand {
  animation: reachRight 3.8s ease-in-out infinite;
  transform-origin: 585px 207px;
}

.spark-line {
  stroke: rgba(205, 251, 110, 0.86);
  stroke-dasharray: 3 11;
  stroke-linecap: round;
  stroke-width: 2;
}

.spark-core {
  animation: sparkPulse 1.8s ease-in-out infinite;
  fill: var(--ink);
  filter: drop-shadow(0 0 18px rgba(205, 251, 110, 0.95));
}

.spark-ring {
  animation: ringPulse 1.8s ease-in-out infinite;
  fill: none;
  stroke: rgba(205, 251, 110, 0.86);
  stroke-width: 2;
  transform-origin: 508px 216px;
}

.data-node {
  animation: nodeBlink 2.8s ease-in-out infinite;
  fill: rgba(139, 231, 255, 0.9);
}

.data-node:nth-of-type(2n) {
  animation-delay: 0.4s;
}

.data-node:nth-of-type(3n) {
  animation-delay: 0.9s;
}

.intake-panel {
  background:
    linear-gradient(140deg, rgba(139, 231, 255, 0.055), transparent 38%),
    var(--paper);
  border: 1px solid var(--line);
  margin-top: 28px;
  padding: 28px;
}

.intake-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.return-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(205, 251, 110, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(139, 231, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(139, 231, 255, 0.24);
  margin-bottom: 24px;
  padding: 20px;
}

.return-panel h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
}

.return-panel p:last-child {
  color: var(--soft-ink);
  margin-bottom: 0;
}

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

.field,
.checkbox-group {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.checkbox-group legend {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #080b0f;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 13px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.checkbox-group {
  border: 1px solid var(--faint);
  margin: 0;
  padding: 16px;
}

.check-row {
  align-items: flex-start;
  color: var(--soft-ink);
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.check-row input {
  min-height: auto;
  margin-top: 4px;
  width: auto;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.form-status {
  color: var(--acid);
  font-size: 13px;
  font-weight: 700;
  min-height: 20px;
}

.hp-field {
  height: 1px;
  left: -10000px;
  opacity: 0;
  position: absolute;
  top: auto;
  width: 1px;
}

.stepper,
.form-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.step-pill {
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  padding: 8px 10px;
  text-transform: uppercase;
}

.step-pill.active {
  border-color: rgba(205, 251, 110, 0.7);
  color: var(--acid);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.advanced-context {
  border: 1px solid var(--faint);
  margin-top: 18px;
  padding: 16px;
}

.advanced-context summary {
  color: var(--cyan);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.advanced-context .field-grid {
  margin-top: 18px;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.report-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.report-card {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 260px;
  padding: 22px;
}

.report-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.report-card span,
.report-card p,
.report-card li {
  color: var(--muted);
}

.report-card details {
  border-top: 1px solid var(--faint);
  margin-top: 14px;
  padding-top: 12px;
}

.admin-table-wrap {
  border: 1px solid var(--line);
  margin-top: 24px;
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--faint);
  color: var(--soft-ink);
  font-size: 13px;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.admin-table tbody tr {
  cursor: pointer;
}

.admin-table tbody tr:hover {
  background: rgba(139, 231, 255, 0.06);
}

.json-dump {
  background: #080b0f;
  border: 1px solid var(--line);
  color: var(--soft-ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 20px;
  max-height: 520px;
  overflow: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 4px;
}

.filter-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--soft-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  min-height: 36px;
  padding: 0 12px;
}

.filter-button.active {
  background: var(--acid);
  border-color: var(--acid);
  color: #071009;
}

.note-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.note-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.note-item h3 {
  font-size: 24px;
}

.muted {
  color: var(--muted);
}

.page-intro {
  padding-top: clamp(52px, 9vw, 104px);
}

.legal-block {
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: 28px;
  padding: 28px;
}

.legal-block p {
  color: var(--soft-ink);
  max-width: 900px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 14px;
  justify-content: space-between;
  margin-top: 72px;
  padding-top: 18px;
}

.site-footer a {
  color: var(--soft-ink);
  text-decoration: none;
}

.disclaimer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin-top: 64px;
  padding-top: 18px;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -80;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes beamTrace {
  0%,
  100% {
    opacity: 0.74;
  }
  50% {
    opacity: 1;
  }
}

@keyframes reachLeft {
  0%,
  100% {
    transform: translateX(-5px) rotate(-0.5deg);
  }
  50% {
    transform: translateX(8px) rotate(0.3deg);
  }
}

@keyframes reachRight {
  0%,
  100% {
    transform: translateX(5px) rotate(0.5deg);
  }
  50% {
    transform: translateX(-8px) rotate(-0.3deg);
  }
}

@keyframes sparkPulse {
  0%,
  100% {
    opacity: 0.58;
    r: 4;
  }
  50% {
    opacity: 1;
    r: 8;
  }
}

@keyframes ringPulse {
  0% {
    opacity: 0.86;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes nodeBlink {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 28px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .neural-lattice,
  .neural-lattice svg {
    min-height: 360px;
    height: 360px;
  }

  h1,
  .display-title {
    font-size: 58px;
    max-width: 760px;
  }

  .page-title {
    font-size: 48px;
  }

  .profile-title {
    font-size: 40px;
  }

  h2 {
    font-size: 38px;
  }

  .thesis-band,
  .split,
  .adam-connection,
  .axis-section,
  .w-axis-stage,
  .model-hero-split,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .axis-canvas,
  .touch-stage,
  .touch-svg {
    min-height: 330px;
  }

  .grid,
  .model-grid,
  .model-detail-grid,
  .report-grid,
  .metric-strip,
  .connection-grid,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero::after {
    inset: 14px;
  }

  .interface-panel {
    display: none;
  }

  .grid,
  .model-grid,
  .model-detail-grid,
  .report-grid,
  .metric-strip,
  .connection-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
  }

  h1,
  .display-title {
    font-size: 44px;
  }

  .page-title {
    font-size: 38px;
  }

  .profile-title {
    font-size: 34px;
  }

  h2 {
    font-size: 32px;
  }

  .axis-section,
  .w-axis-stage,
  .adam-connection {
    padding: 28px;
  }
}
