:root {
  --ink: #102a35;
  --muted: #55717a;
  --line: rgba(16, 42, 53, 0.22);
  --paper: #edf0e9;
  --panel: #f5f6f1;
  --cyan: #45bfc1;
  --teal: #356f73;
  --gold: #a78d45;
  --actic-red: #a75a5a;
  --lab-grid-dot: rgba(16, 42, 53, 0.1);
  --mono: "IBM Plex Mono", monospace;
  --sans: "Inter", sans-serif;
  --page: min(1280px, calc(100% - 48px));
  --layout-grid: repeat(12, minmax(0, 1fr));
  --layout-gap: clamp(1rem, 1.8vw, 1.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--lab-grid-dot) 0 1px, transparent 1.1px);
  background-position: 12px 12px;
  background-size: 24px 24px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: clamp(28px, 3vw, 52px);
  width: 2px;
  content: "";
  pointer-events: none;
  background: rgba(167, 90, 90, 0.72);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-header,
.site-footer,
main > section {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: var(--page);
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: 2rem;
  border-bottom: 0;
  background: rgba(237, 240, 233, 0.94);
}

.site-logo {
  font: 700 1.5rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a,
.hero__identity,
.hero__label,
.section-header p,
.section-kicker,
.practice-orientation__meta,
.practice-orientation__direction,
.practice-orientation__register-label,
.hero-instrument__caption,
.about__status,
dt,
.text-link,
.site-footer {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--teal); }

.hero {
  position: relative;
  overflow: clip;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--layout-grid);
  align-items: start;
  column-gap: var(--layout-gap);
  padding-block: clamp(4rem, 7vw, 7rem) clamp(6rem, 10vw, 9rem);
}

.hero__copy { position: relative; z-index: 1; grid-column: 2 / span 6; }
.hero__identity { margin-bottom: 1rem; color: var(--muted); }
.hero__statement {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 0;
}
.hero__label { margin-bottom: 1.15rem; color: var(--teal); }
.hero__statement-mark {
  display: none;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.65rem, 4.05vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 600;
}

.hero h1 span { display: block; }
.hero__state-trigger {
  width: fit-content;
  cursor: crosshair;
  transition: color 260ms ease, opacity 260ms ease, transform 260ms ease;
}
.hero__state-trigger:focus-visible {
  outline: 0;
  box-shadow: inset 0 -2px 0 var(--cyan);
}
.hero[data-input-state="capture"] .hero__state-trigger:not([data-hero-state="capture"]),
.hero[data-input-state="mediated"] .hero__state-trigger:not([data-hero-state="mediated"]),
.hero[data-input-state="response"] .hero__state-trigger:not([data-hero-state="response"]) { opacity: 0.34; }
.hero[data-input-state="capture"] [data-hero-state="capture"],
.hero[data-input-state="mediated"] [data-hero-state="mediated"],
.hero[data-input-state="response"] [data-hero-state="response"] { transform: translateX(0.08em); }
.hero[data-input-state="capture"] [data-hero-state="capture"] em { color: var(--ink); }
.hero[data-input-state="mediated"] [data-hero-state="mediated"] em { color: var(--cyan); }
.hero[data-input-state="response"] [data-hero-state="response"] em { color: var(--gold); }
.hero h1 em { font-style: normal; font-weight: 400; color: var(--teal); }
.hero h1 span:nth-child(2) em { color: var(--cyan); }
.hero h1 span:nth-child(3) em { color: var(--gold); }

.hero__intro {
  max-width: 540px;
  margin-top: 1.5rem;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero__technical {
  margin-top: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--muted);
  font: 400 0.67rem/1.6 var(--mono);
  letter-spacing: 0.09em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.4rem, 2.2vw, 1.9rem); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ink);
  font: 500 0.72rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.button--primary { color: var(--paper); background: var(--ink); }
.button--secondary { background: transparent; }
.button:hover { color: var(--ink); background: var(--cyan); }

.hero-ghost-field {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: -12%;
  width: min(980px, 78vw);
  pointer-events: none;
}

.hero-ghost-field__svg { width: 100%; overflow: visible; }
.body-ghost {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
  transform-origin: center;
}

.body-ghost--back { opacity: 0.018; transform: translate(-25px, 9px); }
.body-ghost--middle { opacity: 0.035; transform: translate(-12px, 4px); }
.body-ghost--front { opacity: 0.07; }
.body-ghost .body-mass,
.body-ghost .body-head { fill: none; }
.body-trajectory { stroke-dasharray: 4 7; }
.body-joints { fill: var(--paper); stroke: var(--cyan); opacity: 0.42; }
.body-joints circle:nth-child(n + 6) { display: none; }
.body-signal { fill: var(--paper); stroke: var(--cyan); stroke-width: 1.1; opacity: 0.42; }
.body-signal-system { fill: none; pointer-events: none; }
.body-scan-field { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.body-scan-route { stroke: rgba(16, 42, 53, 0.16); stroke-width: 0.8; }
.body-scan-route--delay { stroke: rgba(69, 191, 193, 0.13); stroke-dasharray: 3 6; }
.body-scan-slices { stroke: rgba(69, 191, 193, 0.32); stroke-width: 1; }
.body-scan-sweep { stroke: var(--cyan); stroke-width: 1.35; stroke-dasharray: 0.045 0.955; stroke-dashoffset: 1; opacity: 0.28; }
.body-signal-path { stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.body-signal-path--raw { stroke: var(--cyan); stroke-width: 1.1; stroke-dasharray: 0.035 0.065; opacity: 0.12; }
.body-signal-path--mediated { stroke: var(--cyan); stroke-width: 1.45; stroke-dasharray: 0.16 0.84; stroke-dashoffset: 1; opacity: 0.3; }
.body-signal-path--response { stroke: var(--gold); stroke-width: 1.15; stroke-dasharray: 0.09 0.12; stroke-dashoffset: 1; opacity: 0; }
.body-signal-markers { fill: var(--paper); stroke: var(--cyan); stroke-width: 1.1; opacity: 0.35; }
.body-signal-hit-regions path { pointer-events: stroke; stroke: transparent; stroke-width: 34; cursor: crosshair; }
.hero.is-visible .body-signal-path--mediated { animation: body-signal-flow 7s linear infinite; }
.hero.is-visible .body-scan-sweep { animation: body-scan-flow 9s linear infinite; }
.hero[data-input-state="capture"] .body-scan-route { stroke: rgba(69, 191, 193, 0.42); }
.hero[data-input-state="capture"] .body-scan-slices { stroke: rgba(69, 191, 193, 0.68); }
.hero[data-input-state="mediated"] .body-scan-route { stroke: rgba(53, 111, 115, 0.26); }
.hero[data-input-state="mediated"] .body-scan-route--delay { opacity: 0.28; }
.hero[data-input-state="response"] .body-scan-route--delay { stroke: rgba(167, 141, 69, 0.48); opacity: 1; }
.hero[data-input-state="response"] .body-scan-sweep { stroke: var(--gold); opacity: 0.5; }
.hero[data-input-state="capture"] .body-signal-path--raw { opacity: 0.78; animation: body-signal-flow 3.8s steps(12) infinite; }
.hero[data-input-state="capture"] .body-signal-path--mediated { opacity: 0.14; }
.hero[data-input-state="mediated"] .body-signal-path--raw { opacity: 0.2; }
.hero[data-input-state="mediated"] .body-signal-path--mediated { opacity: 0.82; animation-duration: 4.8s; }
.hero[data-input-state="response"] .body-signal-path--mediated { opacity: 0.68; }
.hero[data-input-state="response"] .body-signal-path--response { opacity: 0.72; animation: body-signal-flow 6.2s 320ms linear infinite; }
.hero[data-body-region] .body-signal-path--mediated { stroke-width: 1.9; animation-duration: 2.9s; opacity: 0.9; }
.hero[data-body-region="head"] [data-signal-region="head"],
.hero[data-body-region="torso"] [data-signal-region="torso"],
.hero[data-body-region="arm"] [data-signal-region="arm"],
.hero[data-body-region="hand"] [data-signal-region="hand"] { fill: var(--cyan); opacity: 1; }
.hero[data-body-region="pelvis"] [data-signal-region="pelvis"],
.hero[data-body-region="leg"] [data-signal-region="leg"] { fill: var(--cyan); opacity: 1; }
.hero__body-readout { margin-top: 0.65rem; color: var(--teal); font: 400 0.58rem/1.5 var(--mono); letter-spacing: 0.07em; }

@keyframes body-signal-flow {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes body-scan-flow {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: -0.15; }
}

.hero-instrument {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin-left: auto;
  grid-column: 8 / -1;
  justify-self: start;
  margin-top: 2rem;
}

.hero-instrument__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 53, 0.68);
  border-radius: 10px;
  background: rgba(232, 237, 232, 0.94);
  box-shadow: none;
}

.hero-instrument__readout {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.2vw, 1.15rem);
  padding: 0.42rem 0.65rem;
  border-bottom: 1px solid rgba(16, 42, 53, 0.25);
  color: var(--muted);
  font: 400 0.58rem/1 var(--mono);
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.hero-instrument__readout b { color: var(--ink); font-weight: 500; }
.hero-instrument__field {
  --raw-x: 0px;
  --raw-y: 0px;
  --mediated-x: 0px;
  --mediated-y: 0px;
  --tracker-x: 50%;
  --tracker-y: 50%;
  position: relative;
  overflow: hidden;
  background: #e8ede8;
}

.hero-instrument__notation {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 445;
  fill: none;
}

.notation-register {
  stroke: rgba(16, 42, 53, 0.1);
  stroke-width: 0.8;
}

.notation-register__ticks { stroke: rgba(16, 42, 53, 0.18); }
.notation-register__axis {
  stroke: rgba(16, 42, 53, 0.18);
  stroke-dasharray: 3 7;
}
.notation-register .is-preserved-register-crosshair { display: none; }

.notation-register text {
  fill: rgba(16, 42, 53, 0.46);
  stroke: none;
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.04em;
}

.hero-instrument__notation marker path { fill: var(--ink); stroke: none; }

.hero-instrument .is-preserved-body-layer,
.hero-instrument .is-preserved-analysis-layer,
.hero-instrument .is-preserved-chart-layer,
.hero-instrument .is-preserved-vertical-score,
.hero-instrument .is-preserved-score-decoration { display: none; }

.linear-score {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.linear-score__staff {
  stroke: rgba(16, 42, 53, 0.085);
  stroke-width: 0.75;
}
.linear-score__staff .linear-score__measures {
  stroke: rgba(16, 42, 53, 0.12);
  stroke-width: 0.9;
}

.linear-score__mediated {
  stroke: var(--ink);
  stroke-width: 2.15;
  transform: translate(var(--mediated-x), var(--mediated-y));
  transition: transform 520ms cubic-bezier(.22,.68,.25,1), opacity 320ms ease, stroke 320ms ease;
  vector-effect: non-scaling-stroke;
}

.linear-score__raw {
  stroke: var(--cyan);
  stroke-width: 0.95;
  stroke-linejoin: bevel;
  opacity: 0.28;
  transform: translate(var(--raw-x), var(--raw-y));
  transition: transform 110ms linear, opacity 280ms ease, stroke-width 280ms ease;
  vector-effect: non-scaling-stroke;
}

.linear-score__raw-artifacts {
  stroke: var(--cyan);
  stroke-width: 0.9;
  opacity: 0.08;
  vector-effect: non-scaling-stroke;
}

.linear-score__raw-samples {
  fill: var(--cyan);
  stroke: none;
  opacity: 0.12;
  transition: opacity 280ms ease;
}
.linear-score__raw-samples circle:nth-child(3n) { opacity: 0.52; }
.linear-score__raw-samples circle:nth-child(4n) { opacity: 0.72; }

.linear-score__loss {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 0.8;
  stroke-dasharray: 2 4;
  opacity: 0.08;
  transition: opacity 320ms ease;
  vector-effect: non-scaling-stroke;
}
.linear-score__loss .linear-score__loss-marks {
  stroke: rgba(85, 113, 122, 0.7);
  stroke-dasharray: none;
}

.linear-score__coupling {
  fill: #e8ede8;
  stroke: var(--gold);
  stroke-width: 0.9;
  opacity: 0.06;
  transition: opacity 340ms ease;
  vector-effect: non-scaling-stroke;
}
.linear-score__coupling path { stroke-dasharray: 2 4; }

.linear-score__response {
  stroke: var(--teal);
  stroke-width: 1.25;
  opacity: 0.24;
  transition: opacity 340ms ease, stroke 340ms ease;
  vector-effect: non-scaling-stroke;
}

.linear-score__residue {
  stroke: rgba(53, 111, 115, 0.34);
  stroke-width: 0.85;
  stroke-dasharray: 2 7;
}

.linear-score__marks {
  stroke: rgba(16, 42, 53, 0.58);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.linear-score__marks .linear-score__arc {
  stroke: rgba(53, 111, 115, 0.28);
  stroke-width: 0.8;
  stroke-dasharray: 3 8;
}

.linear-score__events circle {
  fill: #e8ede8;
  stroke: var(--teal);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 220ms ease, opacity 220ms ease, stroke 220ms ease, transform 220ms ease;
  vector-effect: non-scaling-stroke;
}
.linear-score__events circle:not(.is-current):not(.is-nearest):not(.is-echo-event) { opacity: 0.38; }
.linear-score__events circle.is-current { fill: rgba(69, 191, 193, 0.16); stroke: var(--cyan); transform: scale(1.18); }
.linear-score__events circle.is-nearest { fill: rgba(69, 191, 193, 0.2); stroke: var(--cyan); stroke-width: 2; transform: scale(1.24); }
.linear-score__events circle.is-echo-event { opacity: 0; stroke: var(--gold); }
.linear-score__events circle.is-echo-event.is-corresponding { opacity: 0.78; }

.linear-score__playhead line {
  stroke: var(--cyan);
  stroke-width: 0.8;
  opacity: 0.2;
  vector-effect: non-scaling-stroke;
}
.linear-score__playhead circle {
  fill: #e8ede8;
  stroke: var(--cyan);
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
}
.linear-score__playhead .linear-score__playhead-ring {
  fill: none;
  stroke-width: 0.75;
  opacity: 0.32;
}
.hero.is-visible .linear-score__playhead-ring { animation: linear-score-pulse 2.4s ease-in-out infinite; }

@keyframes linear-score-pulse {
  0%, 100% { opacity: 0.18; r: 9px; }
  50% { opacity: 0.4; r: 11px; }
}

/* The visible instrument reads as a sequence of scored body states, not a chart. */
.notation-score {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notation-state {
  opacity: 0.48;
  transition: opacity 420ms ease;
}

.notation-state--02,
.notation-state--05 { opacity: 0.62; }
.notation-state--03 { opacity: 0.94; }
.notation-state--04 { opacity: 0.74; }

.notation-state__axis {
  stroke: rgba(16, 42, 53, 0.42);
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
}

.notation-state__raw {
  stroke: rgba(69, 191, 193, 0.56);
  stroke-width: 1.05;
  transform: translate(var(--raw-x), var(--raw-y));
  transition: transform 110ms linear, opacity 280ms ease, stroke 280ms ease;
  vector-effect: non-scaling-stroke;
}

.notation-state__mediated {
  stroke: var(--ink);
  stroke-width: 1.65;
  transform: translate(var(--mediated-x), var(--mediated-y));
  transition: transform 520ms cubic-bezier(.22,.68,.25,1), opacity 320ms ease;
  vector-effect: non-scaling-stroke;
}

.notation-state__echo {
  stroke: rgba(53, 111, 115, 0.52);
  stroke-width: 0.9;
  stroke-dasharray: 3 7;
  transition: opacity 360ms ease;
  vector-effect: non-scaling-stroke;
}

.notation-state circle {
  fill: #e8ede8;
  stroke: var(--teal);
  stroke-width: 1.15;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 240ms ease, opacity 240ms ease, stroke 240ms ease, transform 240ms ease;
  vector-effect: non-scaling-stroke;
}

.notation-state circle.is-active {
  fill: rgba(69, 191, 193, 0.12);
  stroke: var(--cyan);
  stroke-width: 1.8;
}

.notation-state circle.is-nearest {
  fill: rgba(69, 191, 193, 0.2);
  stroke: var(--cyan);
  stroke-width: 2;
  transform: scale(1.24);
}

.notation-state circle.is-echo-event {
  opacity: 0;
  stroke: var(--gold);
}

.notation-state circle.is-echo-event.is-corresponding { opacity: 0.78; }

.hero-instrument__tracker {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(var(--tracker-x) - 50%), calc(var(--tracker-y) - 50%));
  transition: opacity 260ms ease, transform 220ms cubic-bezier(.22,.68,.25,1);
}

.hero-instrument__tracker::before,
.hero-instrument__tracker::after {
  position: absolute;
  content: "";
  background: var(--cyan);
  opacity: 0.6;
}
.hero-instrument__tracker::before { top: 4px; left: -5px; width: 18px; height: 1px; }
.hero-instrument__tracker::after { top: -5px; left: 4px; width: 1px; height: 18px; }

.hero-instrument__ghost,
.hero-instrument__construction {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
}

.hero-instrument__ghost--past { opacity: 0.045; }
.hero-instrument__ghost--recent { opacity: 0.085; }
.hero-instrument__construction { opacity: 0.21; }
.hero-instrument__construction .body-axis { stroke: var(--gold); opacity: 0.72; }
.hero-instrument__construction .body-trajectory { stroke: var(--teal); opacity: 0.68; }
.hero-instrument__construction .body-joints { fill: #e8ede8; stroke: var(--cyan); opacity: 0.78; }

.notation-direction {
  fill: none;
  stroke: rgba(53, 111, 115, 0.46);
  stroke-width: 1.15;
  stroke-dasharray: 4 7;
}

.notation-trace { fill: none; }
.notation-trace__raw {
  stroke: rgba(85, 113, 122, 0.48);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-dasharray: 2 5 1 8;
  transform: translate(var(--raw-x), var(--raw-y));
  transition: transform 90ms linear, opacity 240ms ease;
  opacity: 0.2;
}

.notation-trace__raw-fragment {
  stroke: rgba(69, 191, 193, 0.32);
  stroke-width: 0.85;
  stroke-dasharray: 1 7;
  transform: translate(var(--raw-x), var(--raw-y));
  transition: transform 90ms linear, opacity 240ms ease;
}

.notation-trace__echo {
  stroke: rgba(53, 111, 115, 0.44);
  stroke-width: 1.2;
  stroke-dasharray: 4 9;
  opacity: 0.52;
  transition: opacity 280ms ease;
}

.notation-trace__main {
  stroke: var(--ink);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: none;
  opacity: 0.86;
  transform: translate(var(--mediated-x), var(--mediated-y));
  transition: transform 420ms cubic-bezier(.22,.68,.25,1), opacity 300ms ease;
}

.notation-trace__accent {
  stroke: var(--cyan);
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: 0.78;
  transform: translate(var(--mediated-x), var(--mediated-y));
  transition: transform 460ms cubic-bezier(.22,.68,.25,1), opacity 300ms ease;
}

.notation-trace__response {
  stroke: rgba(167, 141, 69, 0.58);
  stroke-width: 1.25;
  stroke-dasharray: 8 5 2 6;
  transform: translate(var(--mediated-x), var(--mediated-y));
  transition: transform 520ms cubic-bezier(.22,.68,.25,1), opacity 300ms ease;
}

.notation-trace__residue {
  stroke: rgba(53, 111, 115, 0.23);
  stroke-width: 1;
  stroke-dasharray: 3 9;
}

.notation-weight {
  fill: none;
  stroke: rgba(167, 141, 69, 0.38);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.notation-joints circle {
  fill: #e8ede8;
  stroke: var(--teal);
  stroke-width: 1.2;
}

.notation-joints .is-active { stroke: var(--cyan); stroke-width: 1.8; }
.notation-joints .is-temporal { opacity: 0.3; stroke-dasharray: 2 3; }
.notation-joints .is-nearest { fill: rgba(69, 191, 193, 0.14); stroke: var(--cyan); stroke-width: 2.2; }
.notation-joints .is-echo-event { opacity: 0; stroke: var(--gold); transition: opacity 220ms ease; }
.notation-joints .is-echo-event.is-corresponding { opacity: 0.72; }

.hero-instrument__event {
  position: absolute;
  left: 0.7rem;
  bottom: 2.15rem;
  color: rgba(16, 42, 53, 0.5);
  font: 400 0.52rem/1 var(--mono);
  letter-spacing: 0.06em;
}

.hero-instrument__grammar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 28px;
  padding: 0.52rem 0.65rem 0.35rem;
  border-top: 1px solid rgba(16, 42, 53, 0.18);
  color: rgba(16, 42, 53, 0.42);
  background: rgba(232, 237, 232, 0.92);
  font: 400 0.52rem/1 var(--mono);
  letter-spacing: 0.065em;
  text-align: right;
}

.hero-instrument .is-preserved-mode-control { display: none !important; }

.hero-instrument__mode {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  min-height: 28px;
  padding: 0.35rem 0.65rem;
  border-top: 1px solid rgba(16, 42, 53, 0.18);
  background: rgba(232, 237, 232, 0.92);
  color: rgba(16, 42, 53, 0.42);
  font: 400 0.54rem/1 var(--mono);
  letter-spacing: 0.07em;
}

.hero-instrument__mode button {
  padding: 0.16rem 0.3rem;
  border: 0;
  color: rgba(16, 42, 53, 0.42);
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.hero-instrument__mode button[aria-pressed="true"] { color: var(--teal); }
.hero-instrument__mode button:hover { color: var(--ink); }
.hero-instrument__mode button:focus-visible { outline: 1px solid var(--cyan); outline-offset: 2px; }

.hero-instrument__field[data-mode="mediated"] .notation-trace__raw { opacity: 0.22; }
.hero-instrument__field[data-mode="mediated"] .notation-trace__main { opacity: 0.9; }
.hero-instrument__field[data-mode="mediated"] .notation-trace__echo { opacity: 0.52; }
.hero-instrument__field[data-mode="mediated"] .notation-state__raw { opacity: 0.34; }
.hero-instrument__field[data-mode="mediated"] .notation-state__mediated { opacity: 0.92; }
.hero-instrument__field[data-mode="mediated"] .notation-state__echo { opacity: 0.42; }
.hero-instrument__field[data-mode="raw"] .notation-trace__raw { opacity: 0.95; stroke: var(--cyan); stroke-width: 1.55; }
.hero-instrument__field[data-mode="raw"] .notation-trace__main { opacity: 0.22; }
.hero-instrument__field[data-mode="raw"] .notation-trace__echo { opacity: 0.16; }
.hero-instrument__field[data-mode="raw"] .notation-state__raw { opacity: 0.92; stroke: var(--cyan); stroke-width: 1.4; }
.hero-instrument__field[data-mode="raw"] .notation-state__mediated { opacity: 0.18; }
.hero-instrument__field[data-mode="raw"] .notation-state__echo { opacity: 0.12; }

/* Semantic input on the left selects the panel response; RAW/MEDIATED/RESPONSE remain layers of one score. */
.hero-instrument__field[data-branch="idle"] .notation-state__raw { opacity: 0.18; }
.hero-instrument__field[data-branch="idle"] .notation-state__mediated { opacity: 0.68; }
.hero-instrument__field[data-branch="idle"] .notation-state__echo { opacity: 0.18; }
.hero-instrument__field[data-branch="idle"] .linear-score__raw { opacity: 0.16; }
.hero-instrument__field[data-branch="idle"] .linear-score__raw-artifacts,
.hero-instrument__field[data-branch="idle"] .linear-score__raw-samples { opacity: 0.05; }
.hero-instrument__field[data-branch="idle"] .linear-score__loss { opacity: 0.1; }
.hero-instrument__field[data-branch="idle"] .linear-score__coupling { opacity: 0.04; }
.hero-instrument__field[data-branch="idle"] .linear-score__mediated { opacity: 0.78; }
.hero-instrument__field[data-branch="idle"] .linear-score__response,
.hero-instrument__field[data-branch="idle"] .linear-score__residue { opacity: 0.04; }

.hero-instrument__field[data-branch="capture"] .notation-state__axis { stroke: rgba(16, 42, 53, 0.56); }
.hero-instrument__field[data-branch="capture"] .notation-state__raw { opacity: 0.94; stroke: var(--cyan); stroke-width: 1.45; }
.hero-instrument__field[data-branch="capture"] .notation-state__mediated { opacity: 0.13; }
.hero-instrument__field[data-branch="capture"] .notation-state__echo { opacity: 0.06; }
.hero-instrument__field[data-branch="capture"] .notation-state circle:not(.is-echo-event) { opacity: 0.92; stroke: var(--cyan); }
.hero-instrument.is-panel-active .hero-instrument__field[data-branch="capture"] .hero-instrument__tracker { opacity: 0.86; }
.hero-instrument__field[data-branch="capture"] .linear-score__raw { opacity: 0.94; stroke-width: 1.45; }
.hero-instrument__field[data-branch="capture"] .linear-score__raw-artifacts { opacity: 0.72; stroke-width: 1.05; }
.hero-instrument__field[data-branch="capture"] .linear-score__raw-samples { opacity: 0.92; }
.hero-instrument__field[data-branch="capture"] .linear-score__loss,
.hero-instrument__field[data-branch="capture"] .linear-score__coupling { opacity: 0; }
.hero-instrument__field[data-branch="capture"] .linear-score__mediated { opacity: 0.13; }
.hero-instrument__field[data-branch="capture"] .linear-score__response { opacity: 0.06; }
.hero-instrument__field[data-branch="capture"] .linear-score__residue { opacity: 0; }
.hero-instrument__field[data-branch="capture"] .linear-score__events circle:not(.is-echo-event) { opacity: 0.95; stroke: var(--cyan); }

.hero-instrument__field[data-branch="mediated"] .notation-state__raw { opacity: 0.52; stroke: var(--cyan); }
.hero-instrument__field[data-branch="mediated"] .notation-state__mediated { opacity: 0.94; stroke: var(--teal); }
.hero-instrument__field[data-branch="mediated"] .notation-state__echo { opacity: 0.38; }
.hero-instrument__field[data-branch="mediated"] .linear-score__raw { opacity: 0.48; }
.hero-instrument__field[data-branch="mediated"] .linear-score__raw-artifacts { opacity: 0.14; }
.hero-instrument__field[data-branch="mediated"] .linear-score__raw-samples { opacity: 0.2; }
.hero-instrument__field[data-branch="mediated"] .linear-score__loss { opacity: 0.58; }
.hero-instrument__field[data-branch="mediated"] .linear-score__coupling { opacity: 0.04; }
.hero-instrument__field[data-branch="mediated"] .linear-score__mediated { opacity: 0.96; stroke: var(--teal); }
.hero-instrument__field[data-branch="mediated"] .linear-score__response { opacity: 0.06; }
.hero-instrument__field[data-branch="mediated"] .linear-score__residue { opacity: 0.05; }
.hero-instrument__field[data-branch="mediated"] .linear-score__playhead circle { stroke: var(--teal); }

.hero-instrument__field[data-branch="response"] .notation-state__raw { opacity: 0.34; stroke: var(--cyan); }
.hero-instrument__field[data-branch="response"] .notation-state__mediated { opacity: 0.86; stroke: var(--teal); }
.hero-instrument__field[data-branch="response"] .notation-state__echo { opacity: 0.9; stroke: var(--gold); stroke-width: 1.25; stroke-dasharray: 5 6; }
.hero-instrument__field[data-branch="response"] .notation-state circle.is-echo-event { opacity: 0.62; stroke: var(--gold); }
.hero-instrument__field[data-branch="response"] .linear-score__raw { opacity: 0.28; }
.hero-instrument__field[data-branch="response"] .linear-score__raw-artifacts,
.hero-instrument__field[data-branch="response"] .linear-score__raw-samples { opacity: 0.08; }
.hero-instrument__field[data-branch="response"] .linear-score__loss { opacity: 0.08; }
.hero-instrument__field[data-branch="response"] .linear-score__coupling { opacity: 0.82; }
.hero-instrument__field[data-branch="response"] .linear-score__mediated { opacity: 0.82; stroke: var(--cyan); }
.hero-instrument__field[data-branch="response"] .linear-score__response { opacity: 0.92; stroke: var(--gold); stroke-width: 1.45; }
.hero-instrument__field[data-branch="response"] .linear-score__residue { opacity: 0.46; }
.hero-instrument__field[data-branch="response"] .linear-score__residue { stroke: rgba(167, 141, 69, 0.42); }
.hero-instrument__field[data-branch="response"] .linear-score__events circle.is-echo-event { opacity: 0.62; stroke: var(--gold); }
.hero-instrument__field[data-branch="response"] .linear-score__playhead line,
.hero-instrument__field[data-branch="response"] .linear-score__playhead circle { stroke: var(--gold); }

.hero[data-input-state="capture"] .body-ghost--front { opacity: 0.105; }
.hero[data-input-state="capture"] .body-joints,
.hero[data-input-state="capture"] .body-signal { opacity: 0.72; }

.hero-instrument:is(:hover, :focus-within) .notation-trace__main,
.hero-instrument.is-panel-active .notation-trace__main { stroke-width: 2.45; }
.hero-instrument:is(:hover, :focus-within) .notation-state--03,
.hero-instrument.is-panel-active .notation-state--03 { opacity: 1; }
.hero-instrument:is(:hover, :focus-within) .notation-state__mediated,
.hero-instrument.is-panel-active .notation-state__mediated { stroke-width: 1.82; }
.hero-instrument.is-panel-active .hero-instrument__ghost--past { opacity: 0.06; }
.hero-instrument.is-panel-active .hero-instrument__ghost--recent { opacity: 0.11; }
.hero-instrument:is(:hover, :focus-within) .notation-joints .is-active { stroke-width: 2.2; }

.hero.is-visible .hero-instrument__ghost--past { animation: notation-ghost-past 16s ease-in-out infinite alternate; }
.hero.is-visible .hero-instrument__ghost--recent { animation: notation-ghost-recent 19s ease-in-out infinite alternate-reverse; }
.hero.is-visible .notation-direction path:first-child { animation: notation-limb-offset 14s ease-in-out infinite alternate; }
.hero.is-visible .notation-trace__main { animation: notation-trace-drift 12s ease-in-out infinite alternate; }
.hero.is-visible .notation-trace__response { animation: notation-response-variation 17s ease-in-out infinite alternate; }
.hero.is-visible .notation-joints .is-active { animation: notation-joint-state 6s ease-in-out infinite; }
.hero.is-visible .notation-state--03 .notation-state__mediated { animation: notation-score-drift 14s ease-in-out infinite alternate; }
.hero.is-visible .notation-state--04 { animation: notation-state-residue 11s ease-in-out infinite alternate; }
.hero.is-visible .notation-state circle.is-active { animation: notation-joint-state 7s ease-in-out infinite; }

@keyframes notation-ghost-past {
  from { opacity: 0.035; }
  to { opacity: 0.075; }
}

@keyframes notation-ghost-recent {
  from { opacity: 0.065; }
  to { opacity: 0.11; }
}

@keyframes notation-limb-offset {
  from { transform: translate(0, 0); opacity: 0.35; }
  to { transform: translate(2px, -1px); opacity: 0.52; }
}

@keyframes notation-trace-drift {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -12px; }
}

@keyframes notation-joint-state {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}

@keyframes notation-score-drift {
  from { transform: translate(var(--mediated-x), var(--mediated-y)); }
  to { transform: translate(calc(var(--mediated-x) + 1.2px), calc(var(--mediated-y) - 0.7px)); }
}

@keyframes notation-state-residue {
  from { opacity: 0.58; }
  to { opacity: 0.76; }
}

@keyframes notation-response-variation {
  0%, 100% { stroke-dashoffset: 0; opacity: 0.42; }
  46% { stroke-dashoffset: -3px; opacity: 0.62; }
  53% { stroke-dashoffset: -5px; opacity: 0.48; }
}

.hero-instrument__caption {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.75rem;
  color: var(--muted);
}

.hero-instrument__caption > span { display: grid; gap: 0.25rem; }
.hero-instrument__caption strong { color: var(--ink); font-weight: 500; }
.hero-instrument__caption small { font: inherit; }
.hero-instrument__caption > small { text-align: right; }

.practice-orientation {
  display: grid;
  grid-template-columns: var(--layout-grid);
  column-gap: var(--layout-gap);
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  border-block: 1px solid var(--line);
  border-inline: 1px solid var(--line);
  border-radius: 10px;
}

.practice-orientation h2 {
  grid-column: 1 / -1;
  font: 500 clamp(1.05rem, 1.75vw, 1.55rem)/1.5 var(--mono);
  letter-spacing: 0.055em;
}

.practice-orientation h2 span { color: var(--cyan); }
.practice-orientation > p:not([class]) { grid-column: 1 / span 8; max-width: 820px; margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.55; }
.practice-orientation__meta { grid-column: 1 / span 9; margin-top: 1.65rem; color: var(--muted); text-transform: none; }
.practice-orientation__register-label { grid-column: 1 / -1; margin-top: clamp(2.8rem, 5vw, 4.5rem); color: var(--ink); }

.practice-registers {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--layout-grid);
  column-gap: var(--layout-gap);
  margin-top: 1rem;
}

.practice-register { grid-column: span 4; }

.practice-register {
  position: relative;
  min-width: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.practice-register::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

.practice-register--culture::before { background: var(--gold); }
.practice-register--xr::before { width: 30px; background: var(--teal); }

.practice-register__toggle {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.practice-register__name {
  display: block;
  color: var(--muted);
  font: 500 0.68rem/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.practice-register__formula {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink);
  font: 500 clamp(0.86rem, 1.2vw, 1.05rem)/1.4 var(--mono);
  letter-spacing: 0.035em;
}

.practice-register__formula i { color: var(--cyan); font-style: normal; }
.practice-register--culture .practice-register__formula i { color: var(--gold); }
.practice-register--xr .practice-register__formula i { color: var(--teal); }
.practice-register__toggle-icon { display: none; }

.practice-register__detail {
  max-width: 38ch;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.selected-work {
  display: grid;
  grid-template-columns: var(--layout-grid);
  column-gap: var(--layout-gap);
  padding-block: clamp(6rem, 10vw, 10rem);
}
.section-header { margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.selected-work > .section-header { grid-column: 1 / span 4; }
.section-header p, .section-kicker { color: var(--muted); }
.section-header h2 { margin-top: 0.55rem; font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; }
.project-list {
  grid-column: 2 / -2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3rem, 5vw, 5.5rem) var(--layout-gap);
}

.project-card {
  --card-accent: var(--cyan);
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.project-card--method { --card-accent: var(--teal); }
.project-card--cultural { --card-accent: var(--gold); }

.project-card--lead {
  grid-column: auto;
  display: flex;
  flex-direction: column;
}

.project-card--lead .project-card__image,
.project-card--lead .project-card__copy { grid-column: auto; }

.project-card--secondary { grid-column: auto; display: flex; flex-direction: column; }
.project-card__visual-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 53, 0.55);
  border-radius: 8px;
  background: rgba(245, 246, 241, 0.5);
}
.project-card__visual-shell::before {
  position: absolute;
  z-index: 4;
  top: -1px;
  left: -1px;
  width: 44%;
  height: 3px;
  content: "";
  background: var(--card-accent);
}
.project-card__visual-shell::after,
.project-card__image::before {
  position: absolute;
  z-index: 4;
  width: 28px;
  height: 28px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(var(--card-accent), var(--card-accent)) center / 1px 100% no-repeat,
    linear-gradient(90deg, var(--card-accent), var(--card-accent)) center / 100% 1px no-repeat;
  opacity: 0.48;
}
.project-card__visual-shell::after { top: 0.85rem; right: 0.85rem; }
.project-card__image::before { top: 0.85rem; left: 0.85rem; }
.project-card__visual-meta {
  position: relative;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 3.75rem 1rem 2.6rem;
  border-bottom: 1px solid var(--line);
}
.project-card__visual-meta::before {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--card-accent);
  transform: translateY(-50%);
}
.project-card__image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #d9ded8; }
.project-card--lead .project-card__image { aspect-ratio: 16 / 10; }
.project-card__image::after {
  position: absolute;
  z-index: 3;
  top: 52%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  pointer-events: none;
  background: var(--card-accent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 180ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms ease; }
.project-card:is(:hover, :focus-within) { border-top-color: var(--teal); }
.project-card:is(:hover, :focus-within) .project-card__image img { transform: scale(1.012); }
.project-card:is(:hover, :focus-within) .project-card__image::after { opacity: 0.72; transform: scaleX(1); }
.project-card__copy { position: relative; min-width: 0; }
.project-card .project-card__copy { display: grid; flex: 1; grid-template-rows: auto minmax(7.2em, auto) auto auto; align-content: start; padding: 3.5rem 0 0; }
.project-card__copy::before,
.project-card__copy::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}
.project-card__copy::before {
  top: -1px;
  width: 28%;
  height: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--card-accent) 50%, transparent);
  border-top: 0;
  border-radius: 0 0 50% 50%;
}
.project-card__copy::after {
  top: 1.1rem;
  width: 32%;
  height: 1.45rem;
  background:
    linear-gradient(var(--card-accent), var(--card-accent)) 50% 0 / 1px 0.9rem no-repeat,
    linear-gradient(90deg, transparent 0, var(--card-accent) 18%, var(--card-accent) 82%, transparent 100%) 50% 100% / 100% 1px no-repeat;
  opacity: 0.44;
}
.project-card__index,
.project-card__category {
  font: 400 0.62rem/1.5 var(--mono);
  letter-spacing: 0.06em;
}

.project-card__index { color: var(--muted); }
.project-card__category { color: var(--ink); transition: color 220ms ease; }
.project-card__category span { position: absolute; right: 1rem; bottom: 0.55rem; color: var(--card-accent); font-size: 0.48rem; opacity: 0; transition: opacity 220ms ease; }
.project-card--cultural .project-card__category span { color: var(--gold); }
.project-card:is(:hover, :focus-within) .project-card__category { color: var(--teal); }
.project-card--cultural:is(:hover, :focus-within) .project-card__category { color: var(--gold); }
.project-card:is(:hover, :focus-within) .project-card__category span { opacity: 1; }
.project-card__copy h3,
.project-card--secondary .project-card__copy h3 { min-height: 1.1em; margin-top: 0; font-size: clamp(1.35rem, 1.55vw, 1.8rem); line-height: 1; letter-spacing: -0.035em; overflow-wrap: normal; white-space: nowrap; }
.project-card__copy > p { min-height: 0; max-width: 560px; margin-top: 1.4rem; font-size: 1rem; line-height: 1.6; }
.project-card__copy > .project-card__index,
.project-card__copy > .project-card__category { margin-top: 0; }
.project-card dl { margin-top: auto; padding-top: 2rem; border-top: 0; }
.project-card dl > div { min-height: 4.8rem; display: grid; grid-template-columns: 80px 1fr; align-content: center; gap: 1rem; padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { font-size: 0.82rem; line-height: 1.5; }
.text-link { align-self: flex-start; display: inline-block; margin-top: 1.6rem; text-decoration: none; }
.text-link::after { content: ""; display: block; width: 1.4rem; margin-top: 0.35rem; border-bottom: 1px solid currentColor; transition: width 220ms ease; }
.text-link:hover { color: var(--teal); }
.project-card:is(:hover, :focus-within) .text-link::after { width: 100%; }

.project-card__trace,
.project-card__echo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  pointer-events: none;
}

.project-card__trace path { stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 5 10; stroke-dashoffset: 75; opacity: 0; transition: opacity 220ms ease, stroke-dashoffset 700ms ease; }
.project-card__marker { position: absolute; top: 47%; left: 62%; width: 9px; height: 9px; border: 1px solid var(--cyan); border-radius: 50%; opacity: 0; }
.project-card--signal:is(:hover, :focus-within) .project-card__trace path { stroke-dashoffset: 0; opacity: 0.72; }
.project-card--signal:is(:hover, :focus-within) .project-card__marker { opacity: 1; animation: project-marker-pulse 900ms ease-out 1; }

.project-card__comparison { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 0.55rem 0.65rem; color: var(--paper); background: rgba(16, 42, 53, 0.64); font: 400 0.58rem/1 var(--mono); letter-spacing: 0.07em; opacity: 0; transition: opacity 220ms ease; }
.project-card--method:is(:hover, :focus-within) .project-card__comparison { opacity: 1; }

.project-card__echo path { stroke: var(--gold); stroke-width: 1.1; stroke-dasharray: 4 9; stroke-dashoffset: 48; opacity: 0; transition: opacity 240ms ease, stroke-dashoffset 720ms ease; }
.project-card__echo path + path { opacity: 0; transition-delay: 80ms; }
.project-card--cultural:is(:hover, :focus-within) .project-card__echo path { stroke-dashoffset: 0; opacity: 0.68; }
.project-card--cultural:is(:hover, :focus-within) .project-card__echo path + path { opacity: 0.34; }

@keyframes project-marker-pulse {
  0% { transform: scale(0.72); opacity: 0; }
  45% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(1); opacity: 0.82; }
}

.about {
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-columns: var(--layout-grid);
  column-gap: var(--layout-gap);
  align-items: center;
  padding-block: clamp(6rem, 10vw, 10rem);
  border-top: 1px solid var(--line);
}

.about__portrait { position: relative; z-index: 2; grid-column: 2 / span 4; grid-row: 1; width: min(100%, 360px); aspect-ratio: 4 / 5; justify-self: start; overflow: hidden; border: 1px solid rgba(16, 42, 53, 0.68); border-radius: 10px; background: #d9ded8; }
.about__copy { position: relative; z-index: 2; grid-column: 7 / span 4; grid-row: 1; min-height: 330px; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.75rem, 3vw, 3rem); border: 1px solid rgba(16, 42, 53, 0.68); border-radius: 10px; background: rgba(245, 246, 241, 0.94); }
.about__connection {
  position: relative;
  z-index: 3;
  grid-column: 5 / span 4;
  grid-row: 1;
  width: 100%;
  align-self: center;
  pointer-events: none;
}
.about__connection svg { width: 100%; height: 92px; overflow: visible; fill: var(--paper); stroke: var(--cyan); vector-effect: non-scaling-stroke; }
.about__connection-base { fill: none; stroke: rgba(69, 191, 193, 0.18); stroke-width: 1; stroke-dasharray: 3 7; }
.about__connection-trace { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.about__connection circle { stroke-width: 1.2; opacity: 0.35; }
.about__connection p { position: absolute; top: calc(50% + 17px); left: 50%; width: max-content; color: var(--muted); font: 400 0.55rem/1.4 var(--mono); letter-spacing: 0.07em; transform: translateX(-50%); }
.about[data-relation-state="capture"] .about__connection-trace--forward { opacity: 1; animation: about-trace 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.about[data-relation-state="response"] .about__connection-trace--return { opacity: 1; animation: about-trace 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.about[data-relation-state="coordination"] .about__connection-trace { opacity: 0.82; stroke-dashoffset: 0; }
.about[data-relation-state="capture"] .about__portrait,
.about[data-relation-state="coordination"] .about__portrait { border-color: rgba(69, 191, 193, 0.75); }
.about__copy h2 span { transition: color 240ms ease, background-size 440ms ease; background: linear-gradient(rgba(69, 191, 193, 0.18), rgba(69, 191, 193, 0.18)) 0 100% / 0 0.22em no-repeat; }
.about[data-relation-state="response"] .about__copy h2 span,
.about[data-relation-state="coordination"] .about__copy h2 span { color: var(--teal); background-size: 100% 0.22em; }
.about__portrait,
.about__copy { transition: border-color 220ms ease; }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__copy h2 { max-width: 900px; margin-top: 1rem; font-size: clamp(1.5rem, 2.15vw, 2.3rem); line-height: 1.08; letter-spacing: -0.035em; }
.about__copy > p:not([class]) { max-width: 720px; margin-top: 1.7rem; font-size: 1.05rem; line-height: 1.6; }
.about__status { margin-top: 2rem; color: var(--gold); }
.about .button { margin-top: 1.2rem; }

@keyframes about-trace {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.site-footer { display: grid; grid-template-columns: var(--layout-grid); column-gap: var(--layout-gap); padding-block: 0 4rem; border-top: 0; color: var(--muted); }
.site-footer p { grid-column: 1 / span 3; width: fit-content; padding: 1.25rem 1.5rem; border: 1px solid rgba(16, 42, 53, 0.68); border-radius: 10px; }
.site-footer a { text-underline-offset: 0.25em; }

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__copy { display: contents; }
  .hero__identity,
  .hero__statement,
  .hero__intro,
  .hero__technical,
  .hero__body-readout,
  .hero__actions { position: relative; z-index: 1; }
  .hero__identity { order: 1; margin-bottom: 1.25rem; }
  .hero-instrument { order: 2; }
  .hero__statement { order: 3; padding-top: clamp(1.5rem, 5vw, 2.25rem); }
  .hero__intro { order: 4; }
  .hero__technical { order: 5; }
  .hero__body-readout { order: 6; }
  .hero__actions { order: 7; }
  .hero-ghost-field { top: 12rem; bottom: auto; left: -26%; width: min(820px, 110vw); }
  .hero-instrument { width: min(560px, 100%); margin: 0 auto; }
  .practice-orientation,
  .selected-work,
  .project-list,
  .project-card--lead,
  .about,
  .site-footer { grid-template-columns: 1fr; }
  .practice-orientation h2,
  .practice-orientation > p:not([class]),
  .practice-orientation__meta,
  .practice-orientation__register-label,
  .practice-registers,
  .selected-work > .section-header,
  .project-list,
  .project-card,
  .project-card--lead .project-card__image,
  .project-card--lead .project-card__copy,
  .about__portrait,
  .about__connection,
  .about__copy,
  .site-footer p { grid-column: 1; }
  .practice-registers { grid-template-columns: 1fr; gap: 0; }
  .practice-register {
    padding-top: 0;
    border-top-color: var(--line);
  }
  .practice-register::before { width: 38px; }
  .practice-register__toggle {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 1rem;
    padding: 1.05rem 2.4rem 1.05rem 0;
    cursor: pointer;
  }
  .practice-register__toggle:focus-visible {
    outline: 1px solid var(--cyan);
    outline-offset: 4px;
  }
  .practice-register__name,
  .practice-register__formula { grid-column: 1; }
  .practice-register__formula { margin-top: 0; }
  .practice-register__toggle-icon {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    width: 0.9rem;
    height: 0.9rem;
    display: block;
    transform: translateY(-50%);
  }
  .practice-register__toggle-icon::before,
  .practice-register__toggle-icon::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    background: currentColor;
    transition: transform 180ms ease;
  }
  .practice-register__toggle-icon::after { transform: rotate(90deg); }
  .practice-register__toggle[aria-expanded="true"] .practice-register__toggle-icon::after { transform: rotate(0); }
  .practice-register__detail {
    max-width: 34ch;
    margin: 0;
    padding: 0 2.4rem 1.2rem 0;
  }
  .project-card__copy h3,
  .project-card--secondary .project-card__copy h3,
  .project-card__copy > p { min-height: 0; white-space: normal; }
  .project-card .project-card__copy { display: flex; flex-direction: column; }
  .about { row-gap: 0; }
  .about__portrait { grid-row: 1; width: min(420px, 100%); }
  .about__connection { grid-row: 2; width: min(360px, 76%); height: 84px; justify-self: center; transform: rotate(90deg); }
  .about__connection p { transform: translateX(-50%) rotate(-90deg); }
  .about__copy { grid-row: 3; }
}

@media (max-width: 780px) {
  /* Keep the mobile composition on the writing side of the labbook margin. */
  .site-header,
  .site-footer,
  main > section {
    width: auto;
    margin-left: 44px;
    margin-right: 16px;
  }

  .site-header { padding-inline: 0; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 24px); }
  .site-header,
  .site-footer,
  main > section { margin-right: 12px; }
  .site-header { min-height: 104px; align-items: flex-start; padding-block: 1.1rem; }
  .site-nav { max-width: 260px; justify-content: flex-end; flex-wrap: wrap; gap: 0.65rem 1rem; }
  .site-nav a { font-size: 0.62rem; }
  .hero { padding-top: 2.25rem; }
  .hero h1 { font-size: clamp(2rem, 9.3vw, 2.75rem); line-height: 1.02; }
  .hero-ghost-field { top: 10rem; bottom: auto; left: -70%; width: 175%; opacity: 0.45; }
  .body-ghost--back, .body-ghost--middle { display: none; }
  .body-ghost--front { opacity: 0.075; }
  .body-signal { opacity: 0.2; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero-instrument { margin-top: 0; }
  .hero-instrument__readout { gap: 0.55rem; font-size: 0.5rem; }
  .hero-instrument__caption { display: grid; gap: 0.45rem; font-size: 0.58rem; }
  .hero-instrument__caption > small { text-align: left; }
  .project-list { grid-template-columns: 1fr; }
  .project-card--lead { grid-column: auto; }
  .project-card__category span { display: block; margin: 0.2rem 0 0; }
  .practice-orientation h2 { font-size: 0.92rem; }
  .practice-orientation__register-label { margin-top: 2rem; }
  .practice-registers { grid-template-columns: 1fr; gap: 0; }
  .project-card dl > div { grid-template-columns: 64px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .hero-instrument__ghost,
  .notation-direction path,
  .notation-trace__main,
  .notation-trace__response,
  .notation-joints circle,
  .notation-state,
  .notation-state__mediated,
  .notation-state circle,
  .linear-score__playhead-ring { animation: none !important; }
  .about__connection-trace { animation: none !important; stroke-dashoffset: 0; }
  .body-signal-path,
  .body-scan-sweep { animation: none !important; }
}
