/* Atheron. Hand-written styles, no build step.
   Two typefaces (self-hosted, SIL OFL): Schibsted Grotesk and Martian Mono.
   Palette: signal black, signal white, signal yellow. One accent, used sparingly. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Martian Mono";
  src: url("fonts/martian-mono.woff2") format("woff2");
  font-weight: 300 600;
  font-stretch: 75% 87.5%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --ink: #edeae3;
  --ink-2: #bcb7ae;
  --ink-3: #948f86;
  --line: #262523;
  --line-2: #3d3b37;
  --signal: #f9a900;
  --signal-hover: #ffbd2e;
  --on-signal: #151002;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: 1rem;
  --wrap: 82rem;
  --header-h: 3.5rem;
  --micro: 0.6875rem;
  --lede: 1.125rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 1.2rem + 6.4vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

svg {
  flex: none;
}

::selection {
  background: var(--signal);
  color: var(--on-signal);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* Utilities */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-right: auto;
  margin-left: auto;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.5rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.defs {
  position: absolute;
}

.arrow-head {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1;
}

.arrow-head-out {
  stroke: var(--signal);
}

/* Small uppercase labels: the monospace voice of the page. */

.fig-no,
.product-tag,
.tier-name,
.system-head,
.contact-list dt,
.refs,
.family .no {
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-size: var(--micro);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
}

.logo {
  display: block;
  width: auto;
  height: 0.8125rem;
  aspect-ratio: 3929 / 416;
}

.logo-mark {
  fill: var(--signal);
}

.logo-word {
  fill: currentColor;
}

.nav ul {
  display: flex;
  gap: 0.125rem;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

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

.nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  right: 0.625rem;
  bottom: 0.5rem;
  left: 0.625rem;
  height: 1px;
  background: var(--signal);
}

.nav-wide,
.bar-phone {
  display: none;
}

.bar-phone {
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.bar-phone:hover {
  color: var(--signal);
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn svg {
  transition: transform 0.18s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--signal);
  color: var(--on-signal);
}

.btn-primary:hover {
  background: var(--signal-hover);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-3);
}

/* Hero */

.hero .wrap {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero h1 span {
  display: block;
}

.hero h1 .dim {
  color: var(--ink-3);
}

.hero-sub {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.hero-sub p {
  max-width: 37rem;
  font-size: var(--lede);
  line-height: 1.5;
  color: var(--ink-2);
}

/* The system figure: six lanes, one pattern. Stations are dots, signals are dashes. */

.system {
  margin-top: 2.5rem;
}

.system-head {
  display: grid;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}

.head-src,
.head-track,
.head-out {
  grid-area: 1 / 1;
}

.head-out {
  justify-self: end;
}

.head-track {
  position: relative;
  height: 1rem;
}

.head-track .at {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.at-agent {
  left: 34%;
}

.at-gate {
  left: 67%;
}

.lane {
  display: grid;
  gap: 0.375rem;
  padding: 0.8125rem 0;
  border-top: 1px solid var(--line);
}

.lanes .lane:last-child {
  border-bottom: 1px solid var(--line);
}

.lane-src,
.lane-out {
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.lane-out {
  justify-self: end;
  text-align: right;
}

.lane-src b,
.lane-out a {
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.lane-src b {
  margin-right: 0.375rem;
}

.lane-out a {
  display: inline-block;
  margin: -0.875rem 0 -0.875rem 0.5rem;
  padding: 0.875rem 0;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

.lane-out a:hover {
  color: var(--signal);
  text-decoration-color: var(--signal);
}

.lane-track {
  position: relative;
  display: block;
  height: 1.25rem;
  isolation: isolate;
}

.lane-track::before,
.lane-track::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line-2);
}

.lane-track::after {
  display: none;
}

.st {
  position: absolute;
  top: 50%;
}

.st-agent {
  left: 34%;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4.5px;
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  background: var(--bg);
}

.st-gate {
  left: 67%;
  width: 7px;
  height: 15px;
  margin: -7px 0 0 -3.5px;
  border-right: 1px solid var(--ink-2);
  border-left: 1px solid var(--ink-2);
  background: var(--bg);
}

.st-end {
  right: 0;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--ink-3);
}

.lane-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  margin-top: -1px;
  pointer-events: none;
  transform: translateX(var(--rest, 0%));
}

.lane-pulse::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.25rem;
  border-radius: 0 1.5px 1.5px 0;
  background: linear-gradient(90deg, transparent, var(--signal) 60%);
}

.lane--held .lane-track::before {
  right: 33%;
}

.lane--held .lane-track::after {
  display: block;
  left: 67%;
  border-top-style: dashed;
}

.lane--held .st-gate {
  background: var(--ink-2);
}

.lane--held .st-end {
  border: 1px solid var(--ink-3);
  background: var(--bg);
}

.lane--held .lane-out {
  color: var(--ink-3);
}

.system figcaption {
  max-width: 46rem;
  margin-top: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.fig-no {
  margin-right: 0.625rem;
  color: var(--ink-2);
}

/* Sections */

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

.section > .wrap {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-head,
.split-head {
  display: grid;
  gap: 1.25rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head p,
.split-head p {
  max-width: 36rem;
  font-size: var(--lede);
  line-height: 1.5;
  color: var(--ink-2);
}

.split {
  display: grid;
  gap: 2.5rem;
}

/* What we build */

.caps li {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 0 1.625rem;
  border-top: 1px solid var(--line);
}

.caps li:last-child {
  border-bottom: 1px solid var(--line);
}

.caps h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.caps p {
  max-width: 35rem;
  color: var(--ink-2);
}

.refs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin-top: 0.25rem;
}

.refs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

.refs a:hover {
  color: var(--signal);
  text-decoration-color: var(--signal);
}

/* Product index: the family drawn as a stack */

.family {
  border: 1px solid var(--line-2);
}

.tier + .tier {
  border-top: 1px solid var(--line-2);
}

.tier--base {
  background: var(--bg-2);
}

.tier.tier--bench {
  border-top-style: dashed;
}

.tier-name {
  padding: 0.875rem 1rem 0;
}

.family a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 0.5rem;
  min-height: 2.75rem;
  padding: 0.875rem 1rem;
  text-decoration: none;
  transition: background-color 0.18s var(--ease);
}

.family li + li a {
  border-top: 1px solid var(--line);
}

.family a:hover {
  background: var(--bg-2);
}

.tier--base a:hover {
  background: var(--bg);
}

.family .name {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}

.family .what {
  grid-column: 2;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.family svg {
  grid-area: 1 / 3;
  align-self: center;
  color: var(--ink-3);
  transform: rotate(90deg);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.family a:hover .name,
.family a:hover svg {
  color: var(--signal);
}

.family a:hover svg {
  transform: rotate(90deg) translateX(3px);
}

/* Product sheets */

.product {
  display: grid;
  grid-template-areas: "no" "head" "fig" "how";
  gap: 1.75rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-no {
  grid-area: no;
  margin-bottom: -0.75rem;
  font-family: var(--mono);
  font-stretch: 75%;
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-3);
}

.product-head {
  grid-area: head;
}

.product-tag {
  margin-top: 0.75rem;
}

.product-lede {
  max-width: 30rem;
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.product-head > p:not([class]),
.notice {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--ink-2);
}

.notice {
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--line-2);
  font-size: 0.875rem;
  color: var(--ink);
}

.product-how {
  grid-area: how;
}

.product h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.steps {
  max-width: 34rem;
  margin-top: 0.75rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  padding: 0.6875rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  counter-increment: step;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  padding-top: 0.25em;
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-size: var(--micro);
  line-height: 1.5;
  color: var(--ink-3);
}

/* Figures. Labels are sized in drawing units, so they scale with the drawing. */

.fig {
  grid-area: fig;
  align-self: start;
  max-width: 30rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.fig-canvas {
  padding: 1rem 0.625rem 0.75rem;
}

.fig svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.fig figcaption {
  padding: 0.75rem 0.875rem 0.8125rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.fig text {
  font-family: var(--mono);
  font-stretch: 75%;
  font-size: 11.2px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  fill: var(--ink-2);
}

.fig .t-hi {
  font-weight: 500;
  fill: var(--ink);
}

.fig .t-dim {
  fill: var(--ink-3);
}

.fig .t-s {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  fill: var(--ink);
}

.fig .ln,
.fig .bx,
.fig .chip {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.fig .ln {
  fill: none;
  stroke: var(--ink-3);
}

.fig .ln-soft {
  stroke: var(--line-2);
}

.fig .ln-gate {
  stroke: var(--ink);
}

.fig .ln-dash {
  stroke-dasharray: 3 3;
}

.fig .ln-out {
  stroke: var(--signal);
}

.fig .bx {
  fill: var(--bg);
  stroke: var(--line-2);
}

.fig .bx-hi {
  stroke: var(--ink-3);
}

.fig .bx-out {
  stroke: var(--signal);
}

.fig .chip {
  fill: var(--bg-2);
  stroke: var(--line-2);
}

.fig .bar {
  fill: var(--line-2);
}

.fig .bar-out,
.fig .dot-out {
  fill: var(--signal);
}

.fig .dot {
  fill: var(--ink-2);
}

.fig .pulse {
  fill: none;
  stroke: var(--signal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 5 105;
  stroke-dashoffset: 5;
  opacity: 0;
}

/* Principles */

.principles li {
  display: grid;
  padding: 1.75rem 0 1.875rem;
  border-top: 1px solid var(--line);
}

.principles li:last-child {
  border-bottom: 1px solid var(--line);
}

.principles h3 {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  line-height: 1.12;
}

.principles p {
  max-width: 34rem;
  margin-top: 0.625rem;
  color: var(--ink-2);
}

.glyph {
  width: 5.5rem;
  height: 1.5rem;
  margin-bottom: 1.125rem;
  overflow: visible;
}

.g-ln,
.g-key {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1;
}

.g-strong {
  stroke: var(--ink);
}

.g-faint {
  stroke: var(--line-2);
  stroke-dasharray: 2 4;
}

.g-key {
  stroke: var(--signal);
  stroke-width: 1.25;
}

.g-dash {
  stroke-dasharray: 3 3;
}

.g-dot {
  fill: var(--ink-2);
}

.g-fill {
  fill: var(--signal);
}

/* Engagement */

.phases {
  display: grid;
}

.phases li {
  position: relative;
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--line-2);
}

.phases li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.phase-no {
  display: block;
  font-family: var(--mono);
  font-stretch: 75%;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-3);
}

.phases h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
}

.phases p {
  max-width: 30rem;
  margin-top: 0.625rem;
  color: var(--ink-2);
}

/* Contact */

.contact-list > div {
  display: grid;
  gap: 0.25rem;
  padding: 1.125rem 0 1.25rem;
  border-top: 1px solid var(--line-2);
}

.contact-list > div:last-child {
  border-bottom: 1px solid var(--line-2);
}

.contact-list dd {
  font-size: clamp(1.5rem, 0.85rem + 3.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 2.75rem;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.contact-list a svg {
  width: 0.5em;
  height: 0.5em;
  color: var(--ink-3);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.contact-list a:hover {
  color: var(--signal);
}

.contact-list a:hover svg {
  color: var(--signal);
  transform: translateX(0.12em);
}

.place {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}

.clock {
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.foot-main {
  display: grid;
  gap: 2rem;
}

.foot-brand p {
  max-width: 22rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.site-footer li a:hover {
  color: var(--signal);
}

.foot-contact li {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.foot-contact li:last-child {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-stretch: 87.5%;
  font-size: var(--micro);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.morse {
  width: 10.6875rem;
  height: auto;
  fill: var(--ink-3);
}

/* Phones wider than the narrowest */

@media (min-width: 24rem) {
  :root {
    --gutter: 1.25rem;
  }
}

/* Tablet and up */

@media (min-width: 48rem) {
  :root {
    --gutter: 2rem;
    --lede: 1.1875rem;
  }

  .nav-wide {
    display: block;
  }

  .hero .wrap {
    padding-top: 3.25rem;
    padding-bottom: 3rem;
  }

  .hero-sub {
    margin-top: 1.5rem;
  }

  .system {
    margin-top: 3rem;
  }

  .section > .wrap {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-head {
    margin-bottom: 3.25rem;
  }

  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    grid-template-areas: "no no" "head fig" "how fig";
    column-gap: 2.5rem;
    padding: 4.5rem 0;
  }

  .fig-canvas {
    padding: 1.125rem 0.875rem 0.875rem;
  }

  .tier {
    display: grid;
    grid-template-columns: 10.5rem minmax(0, 1fr);
  }

  .tier-name {
    padding: 1.125rem 1rem;
    border-right: 1px solid var(--line-2);
  }

  .tier ul {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  .family a {
    height: 100%;
    padding: 1rem 1.125rem 1.125rem;
  }

  .family li + li a {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phases li {
    padding-right: 2rem;
  }

  .contact-list > div {
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: baseline;
  }

  .foot-main {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Desktop: the page sits inside a drawn frame */

@media (min-width: 64rem) {
  :root {
    --header-h: 4rem;
  }

  .wrap {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  /* Registration marks where a section rule crosses the frame. */
  .section > .wrap,
  .site-footer .wrap {
    position: relative;
  }

  .section > .wrap::before,
  .section > .wrap::after,
  .site-footer .wrap::before,
  .site-footer .wrap::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 9px;
    height: 9px;
    background:
      linear-gradient(var(--ink-3), var(--ink-3)) 50% 50% / 9px 1px no-repeat,
      linear-gradient(var(--ink-3), var(--ink-3)) 50% 50% / 1px 9px no-repeat;
  }

  .section > .wrap::before,
  .site-footer .wrap::before {
    left: -5px;
  }

  .section > .wrap::after,
  .site-footer .wrap::after {
    right: -5px;
  }

  .bar-phone {
    display: inline-flex;
  }

  .nav ul {
    gap: 0.75rem;
  }

  .logo {
    height: 0.875rem;
  }

  .hero .wrap {
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
  }

  .hero-sub {
    grid-template-columns: minmax(0, 37rem) auto;
    align-items: end;
    justify-content: space-between;
    margin-top: 1.75rem;
  }

  .system {
    margin-top: 3.25rem;
  }

  .system-head,
  .lane {
    grid-template-columns: 19rem minmax(0, 1fr) 22rem;
    align-items: center;
    gap: 0;
  }

  .head-src,
  .head-track,
  .head-out {
    grid-area: auto;
  }

  .lane-track {
    align-self: stretch;
    height: auto;
    min-height: 2.75rem;
    margin: -0.8125rem 0;
  }

  .st-agent::before,
  .st-gate::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    height: 2.75rem;
    margin-top: -1.375rem;
    border-left: 1px dashed var(--line-2);
  }

  .section > .wrap {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .section-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 4rem;
    margin-bottom: 4rem;
  }

  .contact .section-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }

  .split-head {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    align-self: start;
  }

  .caps li {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
  }

  .caps h3,
  .caps p:not(.refs) {
    grid-column: 1;
  }

  .caps .refs {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-content: start;
    justify-content: end;
    margin-top: 0;
  }

  .tier {
    grid-template-columns: 13.5rem minmax(0, 1fr);
  }

  .product {
    grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 25rem);
    grid-template-areas: "no head fig" "no how fig";
    column-gap: 2.5rem;
    padding: 5.5rem 0;
  }

  .product-no {
    margin-bottom: 0;
  }

  .fig {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .fig-canvas {
    padding: 1.5rem 1.375rem 1.25rem;
  }

  .fig figcaption {
    padding-right: 1.375rem;
    padding-left: 1.375rem;
  }

  .principles li {
    grid-template-columns: 7.5rem minmax(0, 5fr) minmax(0, 6fr);
    align-items: baseline;
    column-gap: 2.5rem;
  }

  .principles p {
    margin-top: 0;
  }

  .glyph {
    align-self: start;
    margin: 0.5rem 0 0;
  }

  .phases li {
    padding-right: 3rem;
  }
}

@media (min-width: 80rem) {
  .product {
    grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 28rem);
    grid-template-areas: "no head fig" "how how how";
    gap: 3rem 3.5rem;
  }

  .fig {
    position: static;
  }

  /* On wide screens the steps run left to right, as stations along one lane. */
  .product-how {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    column-gap: 3.5rem;
    align-items: start;
  }

  .product h4 {
    padding-top: 1.125rem;
  }

  .steps {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    column-gap: 2rem;
    max-width: none;
    margin-top: 0;
    border-top: 1px solid var(--line-2);
  }

  .steps li,
  .steps li:last-child {
    position: relative;
    display: block;
    padding: 1.125rem 0 0;
    border: 0;
  }

  .steps li::before {
    display: block;
    margin-bottom: 0.5rem;
    padding-top: 0;
    line-height: 1.4;
  }

  .steps li::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border: 1px solid var(--ink-3);
    border-radius: 50%;
    background: var(--bg);
  }

  .fig text {
    font-size: 9.6px;
    letter-spacing: 0.04em;
  }
}

/* Motion. Everything below is switched off when the visitor asks for less. */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .lane-pulse {
    animation: lane-pass var(--dur, 9s) cubic-bezier(0.45, 0, 0.3, 1) var(--delay, 0s) infinite;
  }

  .st-agent {
    animation: lane-agent var(--dur, 9s) linear var(--delay, 0s) infinite;
  }

  .st-gate {
    animation: lane-gate var(--dur, 9s) linear var(--delay, 0s) infinite;
  }

  .lane-out {
    animation: lane-land var(--dur, 9s) linear var(--delay, 0s) infinite;
  }

  .lane--held .lane-pulse {
    animation-name: lane-held;
  }

  .lane--held .st-gate {
    animation-name: lane-gate-held;
  }

  .lane--held .lane-out {
    animation: none;
  }

  .system.is-paused .lane-pulse,
  .system.is-paused .st,
  .system.is-paused .lane-out {
    animation-play-state: paused;
  }

  .fig.is-live .pulse {
    opacity: 1;
    animation: fig-run 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
}

/* A signal crosses its lane: it pauses at the agent, pauses at the guardrail, then lands. */

@keyframes lane-pass {
  0% {
    transform: translateX(calc(-100% + 2.25rem));
    opacity: 0;
  }

  3% {
    opacity: 1;
  }

  26%,
  36% {
    transform: translateX(-66%);
  }

  56%,
  66% {
    transform: translateX(-33%);
  }

  92% {
    transform: translateX(0%);
    opacity: 1;
  }

  100% {
    transform: translateX(0%);
    opacity: 0;
  }
}

/* The run that cannot be verified: it reaches the guardrail and stays there. */

@keyframes lane-held {
  0% {
    transform: translateX(calc(-100% + 2.25rem));
    opacity: 0;
  }

  3% {
    opacity: 1;
  }

  26%,
  36% {
    transform: translateX(-66%);
  }

  56% {
    transform: translateX(-33%);
    opacity: 1;
  }

  88% {
    transform: translateX(-33%);
    opacity: 1;
  }

  100% {
    transform: translateX(-33%);
    opacity: 0;
  }
}

@keyframes lane-agent {
  0%,
  24%,
  40%,
  100% {
    border-color: var(--ink-3);
    background-color: var(--bg);
  }

  27%,
  35% {
    border-color: var(--signal);
    background-color: var(--signal);
  }
}

@keyframes lane-gate {
  0%,
  54%,
  70%,
  100% {
    border-color: var(--ink-2);
  }

  57%,
  65% {
    border-color: var(--signal);
  }
}

@keyframes lane-gate-held {
  0%,
  54%,
  96%,
  100% {
    border-color: var(--ink-2);
    background-color: var(--ink-2);
  }

  57%,
  90% {
    border-color: var(--signal);
    background-color: var(--signal);
  }
}

@keyframes lane-land {
  0%,
  90%,
  100% {
    color: var(--ink-2);
  }

  93%,
  98% {
    color: var(--ink);
  }
}

@keyframes fig-run {
  from {
    stroke-dashoffset: 5;
  }

  to {
    stroke-dashoffset: -100;
  }
}
