@font-face { font-family: "Host Grotesk"; src: url("/fonts/host-grotesk.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "STIX Two Text"; src: url("/fonts/stix-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2212; }
@font-face { font-family: "STIX Two Text"; src: url("/fonts/stix-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "STIX Two Text"; src: url("/fonts/stix-italic-greek.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0370-03FF; }

:root {
  /* World: a darkened optics lab, bone-white ink, and the 632.8 nm line of a helium-neon laser. */
  --paper: #121211;
  --paper-2: #1b1b19;
  --ink: #ece9e1;
  --ink-2: rgba(236, 233, 225, 0.74);
  --ink-3: rgba(236, 233, 225, 0.56);
  --line: rgba(236, 233, 225, 0.16);
  --line-2: rgba(236, 233, 225, 0.3);
  --signal: #ee4b22;
  --field: #1d1d1b;
  --field-line: rgba(236, 233, 225, 0.34);
  --w-sag: #a98bff; --w-vibration: #45c8b8; --w-angle: #f0b340;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ece9e1' stroke-width='1.2'/%3E%3C/svg%3E");
  color-scheme: dark;
  --black: #090908;
  --bone: #ece9e1;
  --bone-2: rgba(236, 233, 225, 0.72);
  --bone-3: rgba(236, 233, 225, 0.54);
  --bone-line: rgba(236, 233, 225, 0.17);

  --sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --math: "STIX Two Text", "STIX Two Math", "Times New Roman", serif;

  --gutter: clamp(16px, 4.4vw, 64px);
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
  --fast: 180ms;
}

:root[data-theme="light"] {
  /* The same lab with the blinds open: drafting paper and graphite. */
  --paper: #f3f1ea;
  --paper-2: #e9e6dc;
  --ink: #171715;
  --ink-2: rgba(23, 23, 21, 0.74);
  --ink-3: rgba(23, 23, 21, 0.56);
  --line: rgba(23, 23, 21, 0.14);
  --line-2: rgba(23, 23, 21, 0.28);
  --signal: #d43a12;
  --field: #fbfaf6;
  --field-line: rgba(23, 23, 21, 0.34);
  --w-sag: #6a45e0; --w-vibration: #0d8576; --w-angle: #b07300;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23171715' stroke-width='1.2'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
canvas { display: block; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--signal); outline-offset: 3px; }

i, .math i { font-family: var(--math); font-style: italic; font-size: 1.08em; }
.math { font-family: var(--math); font-style: normal; font-size: 1.08em; }
.math i { font-size: 1em; }
.math sup, .math sub { font-size: 0.68em; }
sup, sub { line-height: 0; }

.sr-only, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 14px;
}
.skip:focus { top: 16px; }

.eyebrow, .note, .num, .mono, figcaption, .eq-name {
  font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0;
}
.eyebrow { color: var(--ink-3); }
.note { color: var(--ink-3); }

/* Navigation */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px var(--gutter) 22px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 500; letter-spacing: -0.03em;
}
.wordmark svg { overflow: visible; }
.wm-dot { fill: var(--signal); }
.nav nav { display: flex; gap: clamp(18px, 2.6vw, 36px); font-size: 14.5px; }
.nav nav a { color: var(--ink-2); padding: 6px 0; transition: color var(--fast) var(--ease); }
.nav nav a:hover { color: var(--ink); }
.nav nav { align-items: center; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: -8px;
  background: none; border: 0; border-radius: 50%; color: var(--ink-2); cursor: pointer;
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.theme-toggle:hover { color: var(--ink); background: var(--line); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: max(100svh, 780px);
  display: flex; align-items: flex-end;
  padding: 340px var(--gutter) clamp(28px, 4.6vh, 56px);
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: -18svh 0; width: 100%; height: calc(100% + 36svh);
  object-fit: cover; object-position: 50% 40%; opacity: 0.24; pointer-events: none;
}
/* The footage fades into the page so type and drawing stay readable over it. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(to bottom, var(--paper) 0%, transparent 22%, transparent 38%, var(--paper) 92%),
    linear-gradient(to right, var(--paper) 0%, transparent 46%);
  opacity: 0.94;
}
:root[data-theme="light"] .hero-video { opacity: 0.34; }
#hero-canvas { z-index: 2; position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-copy {
  position: relative; z-index: 3; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(24px, 5vw, 96px); align-items: end;
  pointer-events: none;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 6.9vw, 7rem);
  font-weight: 400; line-height: 0.94; letter-spacing: -0.05em; text-wrap: balance; max-width: 9.6em;
  margin-left: -0.045em; padding-bottom: 0.04em;
}
.hero-side { pointer-events: auto; }
.lede { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.42; letter-spacing: -0.012em; max-width: 26em; }

.bench { margin-top: clamp(20px, 3.4vh, 36px); }
.readout { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.readout > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px;
}
.readout > div:nth-child(odd) { padding-right: 14px; }
.readout > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.readout dt { color: var(--ink-3); white-space: nowrap; }
.readout dt i { color: var(--ink); font-size: 14.5px; margin-right: 3px; }
.readout dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout dd span { transition: color var(--fast) var(--ease); }
.readout .live { color: var(--signal); }

.rule { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0;
  background:
    linear-gradient(var(--line-2), var(--line-2)) center / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc((100% - 1px) / 30)) center / 100% 7px no-repeat;
  cursor: ew-resize;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 3px; height: 22px; background: var(--signal); border: 0; border-radius: 0;
  box-shadow: 0 0 0 8px transparent;
}
input[type="range"]::-moz-range-thumb { width: 3px; height: 22px; background: var(--signal); border: 0; border-radius: 0; }
input[type="range"]::-moz-range-track { background: transparent; }

.bench-foot, .btns { display: flex; align-items: baseline; gap: 22px; }
.bench-foot { margin-top: 8px; }
.textbtn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; color: inherit;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px;
  transition: text-decoration-color var(--fast) var(--ease);
}
.textbtn:hover { text-decoration-color: currentColor; }
.textbtn:active { transform: scale(0.97); }

/* Shared section rhythm */
section { padding-inline: var(--gutter); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.big { font-size: clamp(1.2rem, 1.9vw, 1.62rem); line-height: 1.32; letter-spacing: -0.022em; max-width: 30em; text-wrap: pretty; }

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 5vw, 96px);
  padding-block: clamp(56px, 9vw, 128px);
  border-top: 1px solid var(--line);
}
.split-head .eyebrow { margin-bottom: 18px; }

/* Story */
.story { padding-top: clamp(72px, 11vw, 160px); border-top: 1px solid var(--line); }
.story-head { max-width: 44rem; }
.story-head .eyebrow { margin-bottom: 18px; }
.story-body {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 4vw, 72px);
  margin-top: clamp(24px, 4vw, 48px);
}
.steps { grid-column: 1; grid-row: 1; }
.stage {
  grid-column: 2; grid-row: 1;
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
#story-canvas { width: 100%; height: min(76svh, 720px); }
.step { min-height: 100svh; display: flex; align-items: center; }
.step > div { max-width: 25rem; }
.step .num { display: block; color: var(--signal); margin-bottom: 16px; }
.step p { margin-top: 16px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; text-wrap: pretty; }

/* Sensors */
.sensors { padding-top: clamp(24px, 4vw, 64px); }

.fields { counter-reset: f; columns: 2; column-gap: clamp(20px, 4vw, 64px); }
.fields li {
  counter-increment: f; break-inside: avoid;
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.1rem, 1.75vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.2;
}
.fields li::before { content: counter(f, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--ink-3); }

/* Lab */
.lab {
  background: var(--black); color: var(--bone);
  padding-top: clamp(72px, 11vw, 160px);
  --line: var(--bone-line); --line-2: rgba(236, 233, 225, 0.24);
  --ink: var(--bone); --ink-2: var(--bone-2); --ink-3: var(--bone-3); --signal: #ee4b22;
}
.lab ::selection { background: var(--bone); color: var(--black); }
.lab .eyebrow, .lab figcaption, .lab .eq-name { color: var(--bone-3); }
.lab-head { max-width: 46rem; }
.lab-head .eyebrow { margin-bottom: 18px; }
.lab-lede { margin-top: 20px; color: var(--bone-2); font-size: 1.06rem; max-width: 34em; }

.bench-grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  column-gap: clamp(24px, 4vw, 72px); row-gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 6vw, 80px);
}
.scope { grid-column: 1; grid-row: 1 / span 2; }
.controls { grid-column: 2; grid-row: 1; display: grid; gap: 14px; align-content: start; }
.results { grid-column: 2; grid-row: 2; }
.modes { grid-column: 1; }
.chart { grid-column: 2; }
#sim-canvas { width: 100%; height: clamp(270px, 33vw, 400px); touch-action: pan-y; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#modes-canvas { width: 100%; height: 190px; }
#chart-canvas { width: 100%; height: 230px; }
figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.chart figcaption, .modes figcaption { display: block; max-width: 34em; }
figcaption i { font-size: 13.5px; }

.controls label { display: grid; grid-template-columns: 1fr auto; row-gap: 0; font-family: var(--mono); font-size: 12px; color: var(--bone-3); }
.controls label i { color: var(--bone); font-size: 14.5px; margin-right: 3px; }
.controls output { color: var(--bone); font-variant-numeric: tabular-nums; }
.controls input { grid-column: 1 / -1; }
.readout.dark { grid-template-columns: 1fr; }
.readout.dark > div { padding-inline: 0 !important; border-left: 0 !important; }
.readout.dark dt { color: var(--bone-3); }
.readout.dark dt i { color: var(--bone); }

.equations {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(40px, 6vw, 88px); padding-block: 28px;
  border-top: 1px solid var(--line);
}
.eq { display: grid; gap: 8px; }
.eq .math { font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.4; color: var(--bone); }
.split.dark { border-top-color: var(--line); }
.questions { counter-reset: q; }
.questions li {
  counter-increment: q; display: grid; grid-template-columns: 2.6rem 1fr;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.08rem, 1.6vw, 1.36rem); line-height: 1.3; letter-spacing: -0.02em; text-wrap: pretty;
}
.questions li:first-child { border-top: 1px solid var(--line-2); }
.questions li::before { content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--ink-3); padding-top: 0.45em; }
.note.light { color: var(--bone-3); margin-top: 22px; max-width: 46em; }

/* Mission */
.mission { padding-block: clamp(72px, 10vw, 150px); border-top: 1px solid var(--line); }
.mission .eyebrow { margin-bottom: 26px; }
.mission-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 5vw, 96px); }
.mission-text p { font-size: clamp(1.25rem, 2.15vw, 1.9rem); line-height: 1.26; letter-spacing: -0.028em; max-width: 24em; text-wrap: pretty; }
.mission-text p + p { color: var(--ink-2); }
.closing-wrap { padding-block: clamp(80px, 13vw, 200px) clamp(72px, 11vw, 168px); border-top: 1px solid var(--line); }
.closing {
  font-size: clamp(2.35rem, 7.3vw, 7.2rem); line-height: 0.95; letter-spacing: -0.05em;
  max-width: 13.5em; margin-left: -0.04em; text-wrap: balance;
}
.tech-end { padding-block: clamp(56px, 8vw, 110px); }

/* How it works, in brief */
.how { padding-block: clamp(72px, 10vw, 150px); border-top: 1px solid var(--line); }
.how-head .eyebrow { margin-bottom: 18px; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); margin-top: clamp(36px, 5vw, 72px); }
.how-steps li { border-top: 1px solid var(--line-2); padding-top: 18px; }
.how-steps .num { display: block; color: var(--signal); margin-bottom: 26px; }
.how-steps p { margin-top: 12px; color: var(--ink-2); max-width: 22em; text-wrap: pretty; }
.how-more { margin-top: clamp(32px, 4vw, 56px); font-size: 1.06rem; }

/* Technology page */
.page-head { padding-top: clamp(130px, 17vw, 220px); padding-bottom: clamp(40px, 6vw, 88px); }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.05em; margin-left: -0.04em; max-width: 11em; text-wrap: balance; }
.page-head .big { margin-top: clamp(20px, 3vw, 36px); color: var(--ink-2); }
.nav nav a[aria-current="page"] { color: var(--ink); }

/* Contact */
.contact .split { border-top-color: var(--line-2); }
.contact-lede { margin-top: 20px; color: var(--ink-2); max-width: 24em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px clamp(18px, 3vw, 40px); }
.field { display: grid; gap: 6px; }
.wide { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.opt { color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--field); border: 1px solid var(--field-line);
  border-radius: 6px; padding: 12px 14px; font-size: 17px; line-height: 1.4; outline: none;
  transition: border-color var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5em; }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--field) var(--chev) right 14px center no-repeat; padding-right: 36px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--signal); }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn {
  background: var(--ink); color: var(--paper); border: 0; border-radius: 2px;
  padding: 14px 22px; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { opacity: 0.86; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.form-status { font-size: 15px; color: var(--ink-2); min-height: 1.5em; flex: 1 1 14em; }
.form-status.err { color: var(--signal); }

/* Footer */
.foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
}
.foot .wordmark { color: var(--ink); align-self: center; }
.foot .mono { color: var(--ink-3); }

/* Entrance, once */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1, .hero-side, .nav { animation: rise 900ms var(--ease) both; }
  .hero-side { animation-delay: 120ms; }
  .nav { animation-name: fade; animation-delay: 200ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes fade { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* Tablet and phone */
@media (max-width: 960px) {
  .hero { padding-top: 410px; min-height: 100svh; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-side { min-width: 0; }
  .hero-copy h1 { font-size: clamp(2.6rem, 11.4vw, 6rem); }
  .lede { max-width: 30em; }
  .bench { max-width: 34rem; }
  .split { grid-template-columns: 1fr; }
  .story-body { display: block; margin-top: 8px; }
  .stage {
    height: auto; z-index: 2; background: var(--paper);
    padding-top: 12px; padding-bottom: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  #story-canvas { height: 52svh; }
  .step { min-height: 92svh; align-items: flex-end; padding-bottom: 7svh; }
  .step:first-child { min-height: 44svh; }
  .step > div { max-width: 30rem; }
  .bench-grid { grid-template-columns: 1fr; }
  .scope, .controls, .results, .modes, .chart { grid-column: 1; grid-row: auto; }
  .controls { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .readout.dark { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .equations { grid-template-columns: 1fr; }
  .mission-text { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 28px; }
  .how-steps .num { margin-bottom: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding-block: 26px 16px; }
  .nav nav { gap: 16px; font-size: 13.5px; }
  .wordmark { font-size: 18px; }
  .wordmark svg { width: 28px; }
  .hero { padding-top: 296px; }
  .readout { font-size: 11px; }
  .readout > div { font-size: 11.5px; }
  .readout dt .long { display: none; }
  .fields { columns: 1; }
  .controls, .readout.dark { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .questions li { grid-template-columns: 2.2rem 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
}

#hero-spectrum { width: 100%; height: 64px; margin-bottom: 6px; }

/* Product concept */
.product { padding-block: clamp(72px, 11vw, 160px); border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 112px); align-items: center; }
.product-copy .eyebrow { margin-bottom: 18px; }
.product-copy .big { margin-top: 24px; }
.mode-list { display: flex; flex-wrap: wrap; gap: 4px clamp(18px, 2.4vw, 34px); margin: clamp(28px, 4vw, 52px) 0 20px; }
.mode-list button {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-size: clamp(1.5rem, 2.9vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.15;
  color: var(--ink-3); transition: color var(--fast) var(--ease);
}
.mode-list button:hover { color: var(--ink-2); }
.mode-list button[aria-pressed="true"] { color: var(--ink); }
.mode-list button:active { transform: scale(0.98); }
.phone {
  justify-self: center; width: min(320px, 78vw); aspect-ratio: 9 / 18.6;
  background: #000; border-radius: 46px; padding: 9px;
  box-shadow: 0 0 0 1px var(--line-2);
}
#product-canvas { width: 100%; height: 100%; border-radius: 37px; }
.big.second { margin-top: 1em; color: var(--ink-2); }
.stack { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 4vw, 64px); margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.stack > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.stack dt { font-weight: 500; }
.stack dd { color: var(--ink-2); }
@media (max-width: 960px) {
  .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .stack { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stack > div { grid-template-columns: 8.5em 1fr; }
}

.missing { margin-top: 40px; }
.textlink { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.textlink:hover { text-decoration-color: currentColor; }
@media (max-width: 960px) { .contact .split { gap: 40px; } }

main.mission { padding-inline: var(--gutter); border-top: 0; }

@media (max-width: 1180px) { .stack { grid-template-columns: 1fr; } }

/* Scroll-linked motion. --p and --in are set by js/scroll.js. */
.scroll-fx [data-scroll] { will-change: transform; }
.scroll-fx [data-scroll="lag"] { transform: translate3d(0, calc(var(--p, 0) * -34svh), 0); }
.scroll-fx [data-scroll="lift"] { transform: translate3d(0, calc(var(--p, 0) * -9svh), 0); }
.scroll-fx [data-scroll="rise"] { transform: translate3d(0, calc(var(--p, 0) * 44px), 0); }
.scroll-fx [data-scroll="rise-more"] { transform: translate3d(0, calc(var(--p, 0) * 110px), 0); }
.scroll-fx [data-scroll="drift"] { transform: translate3d(0, calc(var(--p, 0) * -90px), 0) rotate(calc(var(--p, 0) * -3deg)); }
.scroll-fx [data-scroll="words"] { will-change: auto; }
.scroll-fx [data-scroll="words"] .w { opacity: clamp(0.38, calc(var(--read, 1) * 14 - var(--w, 0)), 1); }
/* Lists rule themselves in: each row's hairline is drawn by the scroll, one after another. */
.scroll-fx [data-scroll="draw"] { will-change: auto; }
.scroll-fx [data-scroll="draw"] > * { position: relative; border-color: transparent !important; }
.scroll-fx [data-scroll="draw"] > *::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line);
  transform-origin: left; transform: scaleX(clamp(0, calc(var(--in, 1) * 2.4 - var(--i, 0) * 0.16), 1));
}
.scroll-fx .how-steps[data-scroll="draw"] > *::after { bottom: auto; top: 0; background: var(--line-2); }
.scroll-fx [data-scroll="draw"] > * { opacity: clamp(0.12, calc(var(--in, 1) * 2.4 - var(--i, 0) * 0.16), 1); }
[data-scroll="draw"] > :nth-child(2) { --i: 1; } [data-scroll="draw"] > :nth-child(3) { --i: 2; }
[data-scroll="draw"] > :nth-child(4) { --i: 3; } [data-scroll="draw"] > :nth-child(5) { --i: 4; }
[data-scroll="draw"] > :nth-child(6) { --i: 5; } [data-scroll="draw"] > :nth-child(7) { --i: 6; }
[data-scroll="draw"] > :nth-child(8) { --i: 7; } [data-scroll="draw"] > :nth-child(9) { --i: 8; }
[data-scroll="draw"] > :nth-child(10) { --i: 9; }
@media (max-width: 960px) {
  .scroll-fx [data-scroll="lag"] { transform: translate3d(0, calc(var(--p, 0) * -18svh), 0); }
  .scroll-fx [data-scroll="rise-more"] { transform: translate3d(0, calc(var(--p, 0) * 44px), 0); }
  .scroll-fx [data-scroll="drift"] { transform: translate3d(0, calc(var(--p, 0) * -40px), 0) rotate(calc(var(--p, 0) * -2deg)); }
}

/* The rotating word in the headline. */
.swap { display: inline-block; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
.swap.out { transform: translateY(-0.28em); opacity: 0; }
.swap.in { transform: translateY(0.28em); opacity: 0; transition: none; }
.swap[data-word="tension"] { color: var(--signal); }
.swap[data-word="sag"] { color: var(--w-sag); }
.swap[data-word="vibration"] { color: var(--w-vibration); }
.swap[data-word="angle"] { color: var(--w-angle); }

/* Research page */
.research .note { margin-top: 22px; max-width: 46em; }
.ref-group { font-family: var(--mono); font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin: 44px 0 12px; }
.ref-group:first-child { margin-top: 0; }
.refs li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.refs li:last-child { border-bottom: 1px solid var(--line); }
.refs a {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.28; letter-spacing: -0.02em; text-wrap: pretty;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; justify-self: start;
}
.refs a:hover { text-decoration-color: currentColor; }
.ref-meta { font-size: 14.5px; color: var(--ink-3); }
.ref-why { color: var(--ink-2); max-width: 38em; }

/* Affiliations */
.affil {
  display: flex; align-items: center; gap: clamp(20px, 5vw, 72px); flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px) var(--gutter); border-top: 1px solid var(--line);
}
.affil-item { display: inline-flex; align-items: center; gap: 12px; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink-2); transition: color var(--fast) var(--ease); }
.affil-item:hover { color: var(--ink); }

.contact-mail { margin-top: 16px; color: var(--ink-2); }
.foot-mail { color: var(--ink-2); transition: color var(--fast) var(--ease); }
.foot-mail:hover { color: var(--ink); }

/* Notify me */
.notify {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 96px); align-items: end;
  padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line);
}
.notify-copy .eyebrow { margin-bottom: 18px; }
.notify-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: stretch; }
.notify-form input[type="email"] {
  width: 100%; background: var(--field); border: 1px solid var(--field-line); border-radius: 6px;
  padding: 13px 14px; font-size: 17px; line-height: 1.4; outline: none; transition: border-color var(--fast) var(--ease);
}
.notify-form input[type="email"]::placeholder { color: var(--ink-3); }
.notify-form input[type="email"]:hover { border-color: var(--ink-2); }
.notify-form input[type="email"]:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.notify-form input[aria-invalid="true"] { border-color: var(--signal); }
.notify-form .form-status, .notify-form .fineprint { grid-column: 1 / -1; }
.notify-form .form-status:empty { display: none; }
.fineprint { font-size: 14px; color: var(--ink-3); max-width: 44em; }
.fineprint .textlink { color: var(--ink-2); }
.prose p { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.prose p + p { margin-top: 1em; }
.prose .textlink { color: var(--ink); }
.foot { gap: 14px 28px; }
@media (max-width: 960px) { .notify { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 560px) { .notify-form { grid-template-columns: 1fr; } }
.unsub { margin-top: 28px; }
@media (max-width: 560px) { .hero-video { opacity: 0.19; } :root[data-theme="light"] .hero-video { opacity: 0.3; } }
.page-head .form-status { margin-top: 18px; font-size: 1.05rem; }
