@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf7f1;
  --ink: #214f50;
  --muted: #596562;
  --clay: #965644;
  --line: #d8c9ba;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
button,
input {
  font: inherit;
}
button,
a,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
button:not(:disabled),
summary {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 6px;
  border-radius: 0;
}
figure,
p,
h1,
h2 {
  margin: 0;
}
.svg-defs {
  position: absolute;
  pointer-events: none;
}
.page {
  width: min(100% - 64px, 800px);
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 38px;
}
.wordmark {
  --wordmark-shift: -54px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 124px;
  height: 44px;
  text-decoration: none;
}
.wordmark-lettering {
  display: block;
  width: 70px;
  height: 28px;
  flex: 0 0 auto;
  transform: translateX(var(--wordmark-shift));
  animation: header-wordmark-settle 700ms cubic-bezier(0.22, 1, 0.36, 1) 2700ms
    both;
}
.wordmark-mascot {
  display: block;
  width: 44px;
  height: 44px;
  overflow: visible;
  pointer-events: none;
  animation: header-mascot-goodbye 700ms cubic-bezier(0.4, 0, 0.2, 1) 2s both;
}
#header-arm-left {
  transform-box: view-box;
  transform-origin: 121px 420px;
  animation: header-mascot-wave 1100ms ease-in-out 450ms both;
}
@keyframes header-wordmark-settle {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--wordmark-shift));
  }
}
@keyframes header-mascot-wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  28%,
  66% {
    transform: rotate(30deg);
  }
  47%,
  82% {
    transform: rotate(20deg);
  }
}
@keyframes header-mascot-goodbye {
  from {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translateY(3px);
    visibility: hidden;
  }
}
nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
nav a,
.site-footer a {
  text-decoration: none;
}
nav a:hover,
.site-footer a:hover {
  color: var(--clay);
}
.intro {
  padding-top: 92px;
}
h1 {
  font-size: clamp(43px, 5.1vw, 60px);
  line-height: 1.08;
  font-weight: 420;
  letter-spacing: -0.045em;
}
.intro-copy {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.35px;
  margin-top: 24px;
}
.text-link {
  color: var(--clay);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  line-height: 1.5;
}
.intro > .text-link {
  margin-top: 23px;
  font-size: 17px;
}
.text-link span {
  transition: transform 180ms ease;
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
.hero-figure {
  margin-top: 40px;
  margin-bottom: 35px;
}
.hero-figure svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.svg-caption {
  font:
    11px Arial,
    sans-serif;
  fill: #596562;
}
/* Reveal the dotted evidence with a clip so its dash pattern stays intact. */
.hero-evidence {
  animation: hero-evidence-sweep 1800ms 100ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-threads path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: hero-thread-draw 1700ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-threads path:nth-child(1) {
  animation-delay: 0ms;
}
.hero-threads path:nth-child(2) {
  animation-delay: 14ms;
}
.hero-threads path:nth-child(3) {
  animation-delay: 28ms;
}
.hero-threads path:nth-child(4) {
  animation-delay: 42ms;
}
.hero-threads path:nth-child(5) {
  animation-delay: 56ms;
}
.hero-threads path:nth-child(6) {
  animation-delay: 70ms;
}
.hero-threads path:nth-child(7) {
  animation-delay: 84ms;
}
.hero-threads path:nth-child(8) {
  animation-delay: 98ms;
}
.hero-threads path:nth-child(9) {
  animation-delay: 112ms;
}
.hero-threads path:nth-child(10) {
  animation-delay: 126ms;
}
.hero-threads path:nth-child(11) {
  animation-delay: 140ms;
}
.hero-threads path:nth-child(12) {
  animation-delay: 154ms;
}
.hero-baseline {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: hero-thread-draw 1700ms 100ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-static-ball {
  display: none;
}
.hero-moving-ball {
  animation: hero-ball-appear 500ms 500ms cubic-bezier(0.4, 0, 0.6, 1) both;
}
.hero-shadow {
  animation: hero-shadow-arrive 600ms 3700ms ease-in-out both;
}
.hero-motion-complete .hero-moving-ball {
  display: none;
}
.hero-motion-complete .hero-static-ball {
  display: inline;
}
.hero-markers path {
  animation: hero-label-arrive 600ms ease both;
}
.hero-markers path:nth-child(1) {
  animation-delay: 280ms;
}
.hero-markers path:nth-child(2) {
  animation-delay: 850ms;
}
.hero-markers path:nth-child(3) {
  animation-delay: 1350ms;
}
.section-rule {
  border-top: 1px solid var(--line);
}
h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  font-weight: 400;
}
.small {
  font-size: 13px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
}
.research {
  padding: 30px 0 26px;
}
.research-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 1.6;
  text-transform: uppercase;
}
.research-hint {
  font-size: 11px;
  color: var(--muted);
}
.research-list {
  margin-top: 15px;
}
.research-entry {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 25px;
  align-items: center;
  min-height: 104px;
  position: relative;
}
.research-entry + .research-entry {
  border-top: 1px solid #d8c9ba66;
}
.research-trigger {
  display: grid;
  grid-template-columns: 20px 1fr 12px;
  gap: 10px;
  text-align: left;
  align-items: baseline;
  width: 100%;
  background: none;
  border: 0;
  padding: 19px 0;
}
.research-number {
  color: var(--clay);
  font:
    10px ui-monospace,
    SFMono-Regular,
    monospace;
  opacity: 0.6;
  transition: opacity 200ms;
}
.research-copy {
  display: block;
}
.research-title {
  display: block;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.45px;
  transition: color 240ms ease;
}
.research-description {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
  max-width: 290px;
}
.research-arrow {
  color: var(--clay);
  font-size: 12px;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition:
    opacity 220ms,
    transform 220ms;
}
.research-entry[data-active="true"] .research-number {
  opacity: 1;
}
.research-entry[data-active="true"] .research-title {
  color: var(--clay);
}
.research-entry[data-active="true"] .research-arrow {
  opacity: 1;
  transform: none;
}
.research-art {
  display: grid;
  grid-template-rows: 0fr;
  min-width: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    grid-template-rows 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.research-art-clip {
  min-height: 0;
  overflow: hidden;
}
.research-art svg {
  width: 100%;
  display: block;
  padding: 8px 0;
}
.research-entry[data-active="true"] .research-art {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  transition:
    grid-template-rows 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 340ms 60ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.art-caption {
  font:
    9px ui-monospace,
    SFMono-Regular,
    monospace;
  fill: #596562;
}
.research-entry[data-motion="true"].in-view .film-frame {
  animation: frame-arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.film-frame-2 {
  animation-delay: 80ms !important;
}
.film-frame-3 {
  animation-delay: 160ms !important;
}
.film-frame-4 {
  animation-delay: 240ms !important;
}
.research-entry[data-motion="true"].in-view .draw-line {
  animation: line-draw 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.research-entry[data-motion="true"].in-view .reconstructed-ball {
  animation: evidence-arrive 650ms 300ms both;
}
.research-entry[data-motion="true"].in-view .comparison-initial {
  animation: old-model-fade 1200ms ease both;
}
.research-entry[data-motion="true"].in-view .error-gaps {
  animation: old-model-fade 1100ms ease both;
}
.comparison-repaired {
  opacity: 0.8;
}
.research-entry[data-motion="true"].in-view .comparison-repaired {
  animation-delay: 180ms;
}
.research-entry[data-motion="true"].in-view .action-path {
  animation: branch-arrive 800ms ease both;
}
.path-2 {
  animation-delay: 80ms !important;
}
.path-3 {
  animation-delay: 160ms !important;
}
.path-4 {
  animation-delay: 240ms !important;
}
.research-entry[data-motion="true"].in-view .future-ball {
  animation: future-motion 1200ms 120ms ease-out both;
}
.about {
  padding: 32px 0 36px;
}
.about > p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 640px;
  margin-top: 17px;
}
.about > .small {
  font-size: 12px;
  line-height: 1.7;
  max-width: 650px;
  margin-top: 13px;
}
.back-to-top {
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 32px;
  margin-top: -10px;
  font-size: 17px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--paper);
  z-index: 5;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-hidden * {
  animation-play-state: paused !important;
}
@keyframes evidence-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-thread-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes hero-evidence-sweep {
  from {
    clip-path: inset(-8px 100% -8px -8px);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  to {
    clip-path: inset(-8px -8px -8px -8px);
    opacity: 1;
  }
}
@keyframes hero-ball-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-shadow-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.07;
  }
}
@keyframes hero-label-arrive {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes frame-arrive {
  from {
    opacity: 0;
    transform: translateX(-7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes line-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@keyframes old-model-fade {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 0.2;
  }
}
@keyframes branch-arrive {
  from {
    opacity: 0;
    stroke-dashoffset: 12;
  }
  to {
    opacity: 0.85;
    stroke-dashoffset: 0;
  }
}
@keyframes future-motion {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  25% {
    opacity: 0.55;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translate(205px, -10px);
  }
}
@media (max-width: 650px) {
  .page {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-top: 26px;
  }
  nav {
    gap: 20px;
    font-size: 12px;
  }
  .intro {
    padding-top: 64px;
  }
  h1 {
    letter-spacing: -0.04em;
  }
  .intro-copy {
    font-size: 18px;
    max-width: 390px;
  }
  .desktop-break {
    display: none;
  }
  .intro > .text-link {
    font-size: 15px;
  }
  .hero-figure {
    margin-top: 40px;
    margin-bottom: 28px;
  }
  .svg-caption {
    font-size: 14px;
  }
  h2 {
    font-size: 23px;
  }
  .research-hint {
    font-size: 10px;
  }
  .research-entry {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }
  .research-trigger {
    padding: 18px 0;
    grid-template-columns: 20px 1fr 12px;
  }
  .research-title {
    font-size: 20px;
  }
  .research-description {
    max-width: none;
    font-size: 12px;
  }
  .research-arrow {
    opacity: 0.65;
    transform: none;
  }
  .research-art {
    width: min(100%, 370px);
    margin-inline: auto;
  }
  .research-art svg {
    padding: 0 0 20px;
  }
  .site-footer {
    font-size: 10px;
  }
}
.hero-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 7px;
  position: relative;
  z-index: 2;
}
.hero-stage {
  position: relative;
  min-width: 0;
}
.hero-stage[data-active="true"] {
  z-index: 3;
}
.stage-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  transition: color 180ms ease;
}
.hero-stage:first-child .stage-trigger {
  justify-content: flex-start;
  text-align: left;
}
.hero-stage:last-child .stage-trigger {
  justify-content: flex-end;
  text-align: right;
}
.stage-trigger svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.35;
  transition:
    opacity 180ms,
    transform 250ms;
}
.hero-stage[data-active="true"] .stage-trigger {
  color: var(--clay);
}
.hero-stage[data-active="true"] .stage-trigger svg {
  opacity: 1;
  transform: translate(1px, -1px);
}
.stage-card {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  width: min(332px, calc(100vw - 40px));
  padding: 18px 18px 20px;
  border: 1px solid #cfc1b2;
  background: #fffcf7;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transform-origin: bottom left;
  transition:
    opacity 180ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 280ms;
}
.hero-stage:nth-child(2) .stage-card {
  left: 50%;
  transform: translate(-50%, 8px);
  transform-origin: bottom center;
}
.hero-stage:last-child .stage-card {
  left: auto;
  right: 0;
  transform-origin: bottom right;
}
.hero-stage[data-active="true"] .stage-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 240ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}
.hero-stage:nth-child(2)[data-active="true"] .stage-card {
  transform: translate(-50%, 0);
}
.stage-card::after {
  content: "";
  position: absolute;
  top: 100%;
  height: 15px;
  left: -1px;
  right: -1px;
}
.hero-stage[data-placement="below"] .stage-card {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translateY(-8px);
  transform-origin: top left;
}
.hero-stage:nth-child(2)[data-placement="below"] .stage-card {
  transform: translate(-50%, -8px);
  transform-origin: top center;
}
.hero-stage[data-placement="below"][data-active="true"] .stage-card {
  transform: translateY(0);
}
.hero-stage:nth-child(2)[data-placement="below"][data-active="true"]
  .stage-card {
  transform: translate(-50%, 0);
}
.hero-stage[data-placement="below"] .stage-card::after {
  top: auto;
  bottom: 100%;
}
.stage-card-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.stage-card-kicker > span:first-child {
  color: var(--clay);
  font:
    10px ui-monospace,
    monospace;
}
.stage-art {
  margin: 14px -2px 17px;
}
.stage-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.stage-art .mini-mono {
  fill: #68716c;
  font:
    7px ui-monospace,
    monospace;
  letter-spacing: 0.6px;
}
.stage-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  font-weight: 400;
}
.stage-card > p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-stage[data-motion="true"] .capture-frame {
  animation: card-frame-enter 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.capture-frame-2 {
  animation-delay: 90ms !important;
}
.capture-frame-3 {
  animation-delay: 180ms !important;
}
.hero-stage[data-motion="true"] .capture-scan {
  animation: card-scan 1350ms 120ms ease-in-out both;
}
.hero-stage[data-motion="true"] .measured-points {
  animation: evidence-arrive 700ms ease both;
}
.hero-stage[data-motion="true"] .model-fit {
  animation: line-draw 1100ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stage[data-motion="true"] .model-object {
  animation: card-frame-enter 800ms 250ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stage[data-motion="true"] .possible-actions {
  animation: evidence-arrive 750ms ease both;
}
.hero-stage[data-motion="true"] .chosen-action {
  animation: line-draw 1250ms 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stage[data-motion="true"] .action-ball {
  animation: card-action 1500ms 200ms cubic-bezier(0.45, 0, 0.35, 1) both;
}
@keyframes card-frame-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes card-scan {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: translateX(260px);
  }
}
@keyframes card-action {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(146px);
  }
}
@media (max-width: 650px) {
  .hero-stages {
    gap: 6px;
  }
  .stage-trigger {
    font-size: 10px;
    gap: 3px;
    min-height: 44px;
  }
  .stage-trigger svg {
    display: none;
  }
  .stage-card {
    padding: 16px;
  }
}

@media (max-width: 400px) {
  .wordmark {
    --wordmark-shift: -38px;
    width: 98px;
    gap: 6px;
  }
  .wordmark-lettering {
    width: 60px;
    height: 24px;
  }
  .wordmark-mascot {
    width: 32px;
    height: 32px;
  }
  .site-header nav {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark-mascot {
    visibility: hidden;
  }
  .hero-moving-ball {
    display: none;
  }
  .hero-static-ball {
    display: inline;
  }

  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
