/* Isomer — v26 */

@font-face {
  font-family: "Isomer Sans";
  src: url("fonts/HelveticaNeueRoman.woff2") format("woff2"), url("fonts/HelveticaNeueRoman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070708;
  --fg: #E8E8F2;
  --fg-2: #8E8D93;
  --fg-3: #6E6D73;
  --fg-4: #4E4D52;
  --fg-5: #2D2D2F;
  --fg-6: #18181A;
  --line: #222126;
  --line-2: #2D2D2F;
  --line-3: #34343C;
  --accent: #9EE561;
  --surface: #0D0D0F;
  --ink: #020203;

  --sans: "Isomer Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Layout is drawn on a 1440 frame: content starts at 48, grid content ends 87 from the right */
  --pad: clamp(20px, 3.333vw, 64px);
  --pad-r: clamp(20px, 6.04vw, 116px);
  --indent-s: clamp(76px, 6.94vw, 140px);
  --indent-l: clamp(110px, 10.6vw, 210px);
  --banner-h: clamp(560px, 55.9vw, 1000px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, p, ol, ul, dl, dd, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, th { font-weight: 400; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */

.mono {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0;
}
.caps { text-transform: uppercase; }

.tag {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--accent);
}

.display {
  font-size: clamp(64px, 7.222vw, 150px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.display .line { display: block; }

.statement {
  font-size: clamp(28px, 3.75vw, 78px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.statement .tag { min-width: var(--indent-l); }

.title {
  font-size: clamp(36px, 3.889vw, 80px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

/* Corner marks */
.tri {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--fg);
}
.tri--tl { clip-path: polygon(0 0, 100% 0, 0 100%); }
.tri--tr { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.tri--bl { clip-path: polygon(0 0, 0 100%, 100% 100%); }
.tri--br { clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* Empty media slots, filled later */
[data-slot] { position: relative; overflow: hidden; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 var(--pad);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;   /* the bar is transparent over the hero cells; only its links take the pointer */
}
.nav a,
.nav button { pointer-events: auto; }

.nav__logo {
  font-size: 24px;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.nav__menu,
.nav__logo { transition: color .25s; }
.nav__menu:hover,
.nav__logo:hover { color: var(--accent); }

.nav__menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1;
}
.nav__menu .mono { font-size: 15px; line-height: 1; }

/* ---------- Menu overlay ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--pad) var(--pad);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s var(--ease);
}
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2.2vw, 32px);
  /* capped by height too: five lines plus the top padding and footer must fit a short laptop screen */
  font-size: clamp(44px, min(7.222vw, (100svh - 260px) / 5.4), 150px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--fg-4);
  transform: translateY(40%);
  opacity: 0;
  transition: color .25s, transform .7s var(--ease), opacity .7s var(--ease);
}
.menu__list .mono { font-size: 12px; letter-spacing: 0; color: var(--accent); }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0s, .04s, .04s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0s, .08s, .08s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0s, .12s, .12s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 0s, .16s, .16s; }
.menu__list a:hover,
.menu__list a:focus-visible { color: var(--fg); }

.menu__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
}
.menu__foot a:hover { color: var(--accent); }

/* ---------- Hero ---------- */

/* Scroll length of the cell story (Tracklength 400); the hero stays pinned until it ends */
.hero-track { position: relative; height: 325vh; }

.hero {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
/* Dims only the cell animation; the hero text sits above it. Raise the alpha to darken more */
.hero__shade { position: absolute; inset: 0; z-index: 0; background: rgba(7, 7, 8, .35); pointer-events: none; }

/* The cells react to the pointer, so the hero's plain text lets it through; links and buttons stay clickable */
.hero__note,
.hero__state,
.hero__title,
.hero .tri,
.hero__tabs { pointer-events: none; }
.hero__tabs .tab { pointer-events: auto; }

.hero__note,
.hero__state {
  position: absolute;
  z-index: 1;
  line-height: 14px;
}
.hero__note { left: var(--pad); top: 47.8%; max-width: calc(31ch + 2px); }   /* +2px: the per-letter decode spans round wider, keep the same wrap */
.hero__state { left: 79.17%; top: 27.5%; }
.hero__state > span { display: block; }
.hero__state [data-state-name],
.hero__state [data-state-meta] { white-space: nowrap; }

.hero__tri1 { z-index: 1; left: var(--pad); top: 26.8%; }
.hero__tri2 { z-index: 1; right: 34px; top: 50.8%; }

.hero__panel { display: contents; }   /* only a box on phones */

.hero__title {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad);
  margin-bottom: 16px;
}
.hero__title .indent { padding-left: 1.54em; }

.btn {
  --btn-line: #141416;   /* the [+] divider and the outline share one colour */
  display: inline-flex;
  align-items: stretch;
  height: 55px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--btn-line);   /* inset: keeps the 55px box, and the divider meets it */
  font-size: 16px;
  line-height: 1;
  transition: background-color .3s;
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 54px;
  border-right: 1px solid var(--btn-line);
  font-size: 15px;
  line-height: 1;
  transition: color .3s;
}
.btn__label { display: flex; align-items: center; padding: 0 25px; }
.btn:hover { background: #111113; }
.btn:hover .btn__icon { color: var(--accent); }

.hero__cta {
  --btn-line: #26252B;
  position: absolute;
  z-index: 2;
  right: 35px;
  bottom: 71px;
  background: #141416;   /* a step lighter than the base button so it lifts off the dark cells */
}
.hero__cta:hover { background: #1D1D21; }

.hero__tabs { position: relative; z-index: 2; }
.tabs__labels {
  display: flex;
  justify-content: space-between;
  padding: 0 64px 0 var(--pad);
}
.tab {
  padding: 6px 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  color: #85888A;
  white-space: nowrap;
  transition: color .3s;
}
.tab:hover,
.tab[aria-pressed="true"] { color: var(--fg); }

.tabs__bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.tabs__bars span {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}
.tabs__bars i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* Hero entrance (the headline uses the split-line entry) */
.js .hero__note,
.js .hero__state,
.js .hero__cta,
.js .hero__tabs,
.js .hero .tri {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .hero .tri,
.js .hero__tabs { transform: none; }   /* the tabs move per label instead, below */

/* Nav, and the state steps along the hero's foot: each label rises in turn and its bar draws from the left */
@media (prefers-reduced-motion: no-preference) {
  .js .nav__logo,
  .js .nav__menu,
  .js .hero__tabs .tab { opacity: 0; }
  .js .tabs__bars span { transform: scaleX(0); transform-origin: left; }

  .is-ready .nav__logo { animation: drop-in .9s var(--ease) .1s both; }
  .is-ready .nav__menu { animation: drop-in .9s var(--ease) .22s both; }
  .is-ready .hero__tabs .tab { animation: rise-in .8s var(--ease) both; }
  .is-ready .tabs__bars span { animation: draw-in 1s var(--ease) both; }
  .is-ready .hero__tabs :nth-child(1) { animation-delay: .45s; }
  .is-ready .hero__tabs :nth-child(2) { animation-delay: .53s; }
  .is-ready .hero__tabs :nth-child(3) { animation-delay: .61s; }
  .is-ready .hero__tabs :nth-child(4) { animation-delay: .69s; }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes draw-in { from { transform: scaleX(0); } to { transform: none; } }
.is-ready .hero__note,
.is-ready .hero__state,
.is-ready .hero__cta,
.is-ready .hero__tabs,
.is-ready .hero .tri { opacity: 1; transform: none; }
.is-ready .hero__note,
.is-ready .hero__state,
.is-ready .hero .tri { transition-delay: .25s; }
.is-ready .hero__cta,
.is-ready .hero__tabs { transition-delay: .35s; }

/* ---------- Structure ---------- */

.lede {
  padding: clamp(160px, 17.5vw, 360px) var(--pad-r) clamp(180px, 28vw, 540px) var(--pad);
}
.lede__text {
  font-size: clamp(24px, 2.986vw, 62px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.lede__text .tag { min-width: var(--indent-s); }
.js .lede__text .w { color: var(--fg-3); transition: color .45s var(--ease); }
.js .lede__text .w.is-lit { color: var(--fg); }

/* ---------- Platform steps ---------- */

.steps { position: relative; }

.step__desc {
  max-width: 320px;
  font-size: 14px;
  line-height: 21px;
  color: var(--fg-2);
}
.step__media { background: var(--surface); }
.step__art { display: block; width: 100%; height: 100%; object-fit: cover; }

.step__io {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.step__io dt { color: var(--fg-3); }

@media (min-width: 900px) {
  .steps { height: calc(100vh + 3 * 65vh); }   /* one 65vh stretch of scroll per tab */

  .steps__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 22.22vw minmax(0, 1fr);
    /* the image row takes what's left (up to its full size), so short laptop screens never cut the labels off */
    grid-template-rows: auto minmax(0, min(28.125vw, 40vh)) auto;
    grid-template-areas:
      "list head"
      "meta media"
      ".    io";   /* meta only in the image row: spanning both rows it inflated the labels row and squeezed the image */
    column-gap: 8.89vw;
    align-content: center;
    padding: 84px var(--pad-r) 40px var(--pad);   /* top: clear the fixed nav */
  }

  /* start the tabs so "Neurons" shares its cap line with the headline's first line
     (headline margin 30px, less the difference in where each font's caps sit; .195em measured) */
  .steps__list {
    grid-area: list;
    align-self: start;
    margin-top: calc(30.6px - .195em);
    padding-bottom: 26px;
    font-size: clamp(26px, 2.778vw, 58px);
  }
  .steps__list button {
    position: relative;
    display: block;
    width: fit-content;   /* the cursor frame wraps the word, not the whole column */
    padding: .2em 0 .27em;
    font-size: 1em;
    line-height: 1.1;
    letter-spacing: -.035em;
    text-align: left;
    color: var(--fg-4);
    transition: color .45s var(--ease), transform .6s var(--ease);
  }
  .steps__list button::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 50%;
    width: 7px;
    height: 10px;
    margin-top: -6px;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    opacity: 0;
    transition: opacity .3s;
  }
  .steps__list button:hover { color: var(--fg-2); }
  .steps__list button[aria-current="step"] { color: var(--fg); transform: translateX(32px); }
  .steps__list button[aria-current="step"]::before { opacity: 1; }

  .steps__meta { grid-area: meta; align-self: start; }
  /* one segment per tab; the current tab and the ones before it are lit, each filling in from the left */
  .steps__bar { display: flex; gap: 4px; }
  .steps__bar span { position: relative; flex: 1; height: 1px; overflow: hidden; background: var(--fg-6); }
  .steps__bar i {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .steps__bar .is-on i { transform: none; transition-duration: .7s; }
  .steps__count { margin-top: 14px; color: #78777D; }

  .step { display: contents; }
  .step__head { grid-area: head; align-self: start; margin-top: 30px; }
  .step__desc { grid-area: meta; align-self: start; margin-top: 64px; }
  .step__media { grid-area: media; min-height: 0; margin-top: 17px; }
  .step__io { grid-area: io; margin-top: min(64px, 5vh); }   /* tighter on short screens, the image gets the room */

  .js .step > * {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .7s var(--ease), visibility 0s linear .45s;
  }
  .js .step__media,
  .js .step__head { transform: none; }
  .js .step.is-active > * {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .6s var(--ease) .12s, transform .8s var(--ease) .12s, visibility 0s;
  }
  /* images stack instead of fading: the previous one stays put while main.js grows the new one over it */
  .js .steps .step .step__media { opacity: 1; visibility: hidden; transition: none; z-index: 0; }
  .js .steps .step.is-prev .step__media { visibility: visible; z-index: 1; }
  .js .steps .step.is-active .step__media { visibility: visible; z-index: 2; }
}

@media (max-width: 899px) {
  .steps { padding: 0 var(--pad); }
  .steps__list,
  .steps__meta { display: none; }
  .step { padding-bottom: 128px; }
  .step__desc { margin-top: 20px; }
  .step__media { aspect-ratio: 857 / 405; margin-top: 28px; }
  .step__io { margin-top: 28px; flex-wrap: wrap; }
}

/* ---------- Lab workflow ---------- */

/* The track runs on under the banner, so the words stay pinned while the banner card slides over them */
.flow { position: relative; margin-top: clamp(80px, 10vw, 200px); height: calc(100vh + 3 * 55vh + var(--banner-h)); }
.flow__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.flow__inner { will-change: transform, opacity; }
.flow__tag { margin-bottom: 6px; }
.flow__words li {
  font-size: clamp(56px, 9.028vw, 188px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.js .flow__words li { opacity: .075; }
.js .flow__words li:first-child { opacity: 1; }
.js .flow__words li:nth-child(2) { opacity: .17; }

/* ---------- Lab banner ---------- */

.banner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--banner-h);
  margin-top: calc(-1 * var(--banner-h));
  padding: 46px var(--pad) 45px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 -32px 80px rgba(0, 0, 0, .55);
}
.banner__media { position: absolute; inset: 0; z-index: -1; }   /* under the banner text, over its background */
.banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }   /* phones crop the sides, keep the pipette in */
.banner .k { color: var(--fg-3); }

.banner__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.banner__top p > span { display: block; }
.banner__form { text-align: right; }

.banner__title {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 50%;
  margin-top: -1.04em;
}
.banner__title .indent { padding-left: 2.54em; }

.banner__tri1 { right: 42px; top: 37.6%; }
.banner__tri2 { left: 57px; top: 58.5%; }

.banner__stats {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.banner__stats div { display: flex; gap: 2ch; white-space: nowrap; }
.banner__stats dt { color: var(--fg-3); }

/* ---------- Results ---------- */

.results { padding: clamp(160px, 23vw, 440px) var(--pad-r) 0 var(--pad); }
.results__title { margin-top: 4px; }

.table {
  width: 100%;
  margin-top: clamp(48px, 6.15vw, 118px);
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 18px;
  line-height: 1.2;
}
.c1 { width: 29.04%; }
.c2 { width: 22.8%; }
.c3 { width: 22.64%; }
.c4 { width: 12.26%; }
.c5 { width: 13.26%; }

.table th,
.table td { padding: 0 16px; text-align: left; }
.table thead th {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 18px;
}
/* hover: the fill drops in from the top of the row and grows to its full height
   (painted per cell, all growing together, since a row's own background can't be sized) */
.table tbody > tr > * {
  height: 117px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  background: linear-gradient(rgba(232, 232, 242, .025), rgba(232, 232, 242, .025)) top / 100% 0 no-repeat;
  transition: background-size .5s var(--ease);
}
.table tbody tr:hover > * { background-size: 100% 100%; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .name {
  font-size: clamp(26px, 2.778vw, 58px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.table .status { text-align: right; }
.table tbody .status { color: var(--accent); white-space: nowrap; }
.table tbody .status::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 8px;
  margin-right: 12px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  vertical-align: 1px;
}

/* ---------- Lab notes ---------- */

.notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 48px;
  padding: clamp(180px, 24vw, 460px) var(--pad-r) clamp(160px, 17.5vw, 340px) var(--pad);
}
.notes__title { max-width: 14.2em; }

.notes__form {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(418px, 100%);
  margin-top: clamp(36px, 3.96vw, 76px);
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-3);
  transition: border-color .3s;
}
.notes__form:focus-within { border-color: var(--fg-3); }
.notes__form input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
}
.notes__form input::placeholder { color: #37373F; }
.notes__form input[aria-invalid="true"] { color: #F28B82; }
.notes__form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: color .25s;
}
.notes__form button .mono { font-size: 15px; line-height: 1; }
.notes__form button:hover { color: var(--accent); }
.notes__form.is-done button { color: var(--accent); pointer-events: none; }
.notes__msg { min-height: 18px; margin-top: 14px; color: var(--fg-2); }

.tile {
  position: relative;
  width: 177px;
  height: 250px;
  border: 1px solid var(--fg);
}
.tile > span { position: absolute; line-height: 1; }
.tile__num { left: 17px; top: 15px; font-size: 14px; }
.tile__ver { right: 16px; top: 16px; font-size: 10px; line-height: 1; color: var(--fg-3); }
.tile__sym { left: 14px; top: 83px; font-size: 58px; letter-spacing: -.02em; }
.tile__name { left: 17px; bottom: 32px; font-size: 18px; letter-spacing: -.01em; }
.tile__sub { left: 17px; bottom: 15px; font-size: 12px; line-height: 1; color: var(--fg-3); }
.tile__tri { right: 16px; bottom: 16px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-3);
  overflow: hidden;
}
.footer__cols {
  display: grid;
  grid-template-columns: 196fr 233fr 187fr 465fr 224fr;
  padding: 50px var(--pad-r) 0 var(--pad);
}
.footer__head { margin-bottom: 18px; color: #79787D; }
.footer__cols li a {
  display: inline-block;
  font-size: 16px;
  line-height: 29px;
  transition: color .25s;
}
.footer__cols a:hover { color: var(--accent); }
.footer__lab { font-size: 18px; line-height: 31px; }
.footer__lab > a { display: inline-block; margin-top: 20px; transition: color .25s; }

.wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(80px, 9.8vw, 190px);
  overflow: hidden;
}
.wordmark text {
  font-family: var(--sans);
  font-size: 392px;
  letter-spacing: -4.5px;
  fill: var(--fg);
}

/* ---------- Split-line headline entry ---------- */

/* Hidden until main.js has measured the lines, so nothing flashes before the entry */
.js [data-split]:not(.is-split) { visibility: hidden; }

.sl {
  display: block;
  overflow: hidden;
  /* room for descenders, given back so the line spacing stays the same */
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.sl__in {
  display: block;
  transform: translateY(110%);
  transition: transform 1.15s var(--ease) calc(var(--split-base, 0s) + var(--i, 0) * 90ms);
}
.is-in > .sl > .sl__in { transform: none; }

.flow__words li:nth-child(2) { --split-base: .1s; }
.flow__words li:nth-child(3) { --split-base: .2s; }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js tbody .reveal:nth-child(2) { transition-delay: .06s; }
.js tbody .reveal:nth-child(3) { transition-delay: .12s; }
.js tbody .reveal:nth-child(4) { transition-delay: .18s; }
.js tbody .reveal:nth-child(5) { transition-delay: .24s; }

/* ---------- Custom cursor (mouse and trackpad only; built by main.js) ---------- */

html.has-cursor,
html.has-cursor * { cursor: none !important; }
html.has-cursor input,
html.has-cursor textarea { cursor: text !important; }

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 300;
  pointer-events: none;
  mix-blend-mode: difference;   /* stays visible over the bright cells */
  opacity: 0;
  transition: opacity .3s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-text { opacity: 0; }
.cursor > * {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}
/* sizes come from main.js (--dot, --corner, --stroke), which scales them over 2048 wide */
.cursor__dot {
  width: var(--dot, 4px);
  height: var(--dot, 4px);
  border-radius: 50%;
  background: #fff;
}
/* four corner brackets, the same marks as the hero and banner corners */
.cursor i {
  width: var(--corner, 7px);
  height: var(--corner, 7px);
  border: 0 solid #fff;
  transition: border-color .25s;
}
.cursor i:nth-of-type(1) { border-width: var(--stroke, 1px) 0 0 var(--stroke, 1px); }
.cursor i:nth-of-type(2) { border-width: var(--stroke, 1px) var(--stroke, 1px) 0 0; }
.cursor i:nth-of-type(3) { border-width: 0 0 var(--stroke, 1px) var(--stroke, 1px); }
.cursor i:nth-of-type(4) { border-width: 0 var(--stroke, 1px) var(--stroke, 1px) 0; }
.cursor.is-active i { border-color: var(--accent); }
.cursor__label {
  font: 10px/1 var(--mono);
  letter-spacing: .04em;
  color: #fff;
  white-space: pre;
  opacity: 0;
  transition: opacity .2s;
}
.cursor.has-label .cursor__label { opacity: .75; }

/* ---------- Narrow screens ---------- */

@media (max-width: 899px) {
  .nav { height: 64px; }
  .nav__logo { font-size: 20px; }

  .display { font-size: clamp(36px, 10.4vw, 72px); }
  .hero__panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100vw;
    pointer-events: none;   /* the button and tabs switch it back on */
  }
  .hero__title { margin-bottom: 20px; }
  .hero__title .indent { padding-left: .6em; }
  .hero__note { top: 40%; }
  .hero__state { left: var(--pad); top: 96px; }
  .hero .tri { display: none; }
  .hero__cta {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-start;
    margin: 0 var(--pad) 28px;
  }
  .tabs__labels { padding: 0 var(--pad); }

  .lede__text .tag { display: block; min-width: 0; margin-bottom: 16px; }
  /* section gaps on phones: twice the desktop minimums */
  .lede { padding-top: 320px; padding-bottom: 360px; }
  .flow { margin-top: 288px; }   /* + the last step's 128px = 416px */
  .results { padding-top: 320px; }
  .notes { padding-top: 360px; padding-bottom: 320px; }
  .statement .tag { display: block; min-width: 0; margin-bottom: 14px; }

  :root { --banner-h: max(560px, 100svh); }
  .banner { gap: 120px; }
  .banner__title { position: relative; left: auto; right: auto; top: auto; margin: 0; }
  .banner__title .indent { padding-left: 1.2em; }
  .banner__tri1, .banner__tri2 { display: none; }
  .banner__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }

  .table colgroup, .table thead { display: none; }
  .table, .table tbody { display: block; }
  .table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }
  .table tbody tr:last-child { border-bottom: 0; }
  .table tbody > tr > * { height: auto; padding: 0; border: 0; font-size: 16px; background: none; }
  .table tbody tr {
    background: linear-gradient(rgba(232, 232, 242, .025), rgba(232, 232, 242, .025)) top / 100% 0 no-repeat;
    transition: background-size .5s var(--ease);
  }
  .table tbody tr:hover { background-size: 100% 100%; }
  .table tbody .name { grid-column: 1 / -1; margin-bottom: 6px; font-size: 30px; }
  .table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--fg-3);
  }
  .table tbody .status { grid-column: 2; grid-row: 2; align-self: start; }
  .table tbody td[data-label="Above hull"] { text-align: right; }   /* right column: line up with the status */

  .notes { grid-template-columns: 1fr; gap: 72px; }

  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__lab { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .tab:not([aria-pressed="true"]) .tab__name { display: none; }
  .hero__note { max-width: calc(26ch + 2px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
  }
}
/* lower PCs (main.js): no blending, which made the browser re-blend the whole screen on every frame of the hero */
html.low-pc .cursor { mix-blend-mode: normal; }

/* ---------- Wide screens (over 2048 wide, e.g. 4K) ---------- */

/* The page keeps growing as a 2048 layout scaled up: every fixed px size below is N * --u
   (1px at 2048, 1.875px at 3840), and the fluid headlines drop their caps and follow vw */
@media (min-width: 2049px) {
  :root {
    --u: calc(100vw / 2048);
    --pad: calc(64 * var(--u));
    --pad-r: calc(116 * var(--u));
    --indent-s: calc(140 * var(--u));
    --indent-l: calc(210 * var(--u));
    --banner-h: calc(1000 * var(--u));
  }

  body { font-size: calc(16 * var(--u)); }
  .mono { font-size: calc(14 * var(--u)); line-height: calc(18 * var(--u)); }
  .tag { font-size: calc(14 * var(--u)); }
  .display { font-size: 7.222vw; }
  .statement { font-size: 3.75vw; }
  .title { font-size: 3.889vw; }
  .tri { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

  .nav { height: calc(84 * var(--u)); font-size: calc(15 * var(--u)); }
  .nav__logo { font-size: calc(24 * var(--u)); }
  .nav__menu { gap: calc(10 * var(--u)); font-size: calc(15 * var(--u)); }
  .nav__menu .mono { font-size: calc(15 * var(--u)); }

  .menu { padding-top: calc(120 * var(--u)); }
  .menu__list a {
    gap: calc(32 * var(--u));
    font-size: max(calc(44 * var(--u)), min(7.222vw, (100svh - 260 * var(--u)) / 5.4));
  }
  .menu__list .mono { font-size: calc(12 * var(--u)); }
  .menu__foot { gap: calc(24 * var(--u)); margin-top: calc(48 * var(--u)); padding-top: calc(18 * var(--u)); }

  .hero__note,
  .hero__state { line-height: calc(14 * var(--u)); }
  .hero__tri2 { right: calc(34 * var(--u)); }
  .hero__title { margin-bottom: calc(16 * var(--u)); }

  .btn { height: calc(55 * var(--u)); font-size: calc(16 * var(--u)); }
  .btn__icon { width: calc(54 * var(--u)); font-size: calc(15 * var(--u)); }
  .btn__label { padding: 0 calc(25 * var(--u)); }
  .hero__cta { right: calc(35 * var(--u)); bottom: calc(71 * var(--u)); }

  .tabs__labels { padding-right: calc(64 * var(--u)); }
  .tab {
    padding: calc(6 * var(--u)) 0 calc(14 * var(--u));
    font-size: calc(12 * var(--u));
    line-height: calc(12 * var(--u));
  }
  .tabs__bars { gap: calc(4 * var(--u)); }
  .tabs__bars span { height: calc(2 * var(--u)); }

  .lede { padding-top: calc(360 * var(--u)); padding-bottom: calc(540 * var(--u)); }
  .lede__text { font-size: 2.986vw; }

  .step__desc { max-width: calc(320 * var(--u)); font-size: calc(14 * var(--u)); line-height: calc(21 * var(--u)); }
  .step__io { gap: calc(24 * var(--u)); padding-top: calc(24 * var(--u)); }
  .steps__sticky { padding-top: calc(84 * var(--u)); padding-bottom: calc(40 * var(--u)); }
  .steps__list {
    margin-top: calc(30.6 * var(--u) - .195em);
    padding-bottom: calc(26 * var(--u));
    font-size: 2.778vw;
  }
  .steps__list button::before {
    left: calc(-32 * var(--u));
    width: calc(7 * var(--u));
    height: calc(10 * var(--u));
    margin-top: calc(-6 * var(--u));
  }
  .steps__list button[aria-current="step"] { transform: translateX(calc(32 * var(--u))); }
  .steps__bar { gap: calc(4 * var(--u)); }
  .steps__count { margin-top: calc(14 * var(--u)); }
  .step__head { margin-top: calc(30 * var(--u)); }
  .step__desc { margin-top: calc(64 * var(--u)); }
  .step__media { margin-top: calc(17 * var(--u)); }
  .step__io { margin-top: min(calc(64 * var(--u)), 5vh); }

  .flow { margin-top: calc(200 * var(--u)); }
  .flow__tag { margin-bottom: calc(6 * var(--u)); }
  .flow__words li { font-size: 9.028vw; }

  .banner { padding: calc(46 * var(--u)) var(--pad) calc(45 * var(--u)); }
  .banner__top,
  .banner__stats { gap: calc(24 * var(--u)); }
  .banner__tri1 { right: calc(42 * var(--u)); }
  .banner__tri2 { left: calc(57 * var(--u)); }

  .results { padding-top: calc(440 * var(--u)); }
  .table { margin-top: calc(118 * var(--u)); font-size: calc(18 * var(--u)); }
  .table th,
  .table td { padding: 0 calc(16 * var(--u)); }
  .table thead th { padding-bottom: calc(22 * var(--u)); font-size: calc(14 * var(--u)); line-height: calc(18 * var(--u)); }
  .table tbody > tr > * { height: calc(117 * var(--u)); }
  .table .name { font-size: 2.778vw; }
  .table tbody .status::before { width: calc(5 * var(--u)); height: calc(8 * var(--u)); margin-right: calc(12 * var(--u)); }

  .notes { gap: calc(48 * var(--u)); padding-top: calc(460 * var(--u)); padding-bottom: calc(340 * var(--u)); }
  .notes__form {
    gap: calc(16 * var(--u));
    width: min(calc(418 * var(--u)), 100%);
    margin-top: calc(76 * var(--u));
    padding-bottom: calc(13 * var(--u));
  }
  .notes__form input,
  .notes__form button { font-size: calc(16 * var(--u)); }
  .notes__form button { gap: calc(10 * var(--u)); }
  .notes__form button .mono { font-size: calc(15 * var(--u)); }
  .notes__msg { min-height: calc(18 * var(--u)); margin-top: calc(14 * var(--u)); }

  .tile { width: calc(177 * var(--u)); height: calc(250 * var(--u)); }
  .tile__num { left: calc(17 * var(--u)); top: calc(15 * var(--u)); font-size: calc(14 * var(--u)); }
  .tile__ver { right: calc(16 * var(--u)); top: calc(16 * var(--u)); font-size: calc(10 * var(--u)); }
  .tile__sym { left: calc(14 * var(--u)); top: calc(83 * var(--u)); font-size: calc(58 * var(--u)); }
  .tile__name { left: calc(17 * var(--u)); bottom: calc(32 * var(--u)); font-size: calc(18 * var(--u)); }
  .tile__sub { left: calc(17 * var(--u)); bottom: calc(15 * var(--u)); font-size: calc(12 * var(--u)); }
  .tile__tri { right: calc(16 * var(--u)); bottom: calc(16 * var(--u)); }

  .footer__cols { padding-top: calc(50 * var(--u)); }
  .footer__head { margin-bottom: calc(18 * var(--u)); }
  .footer__cols li a { font-size: calc(16 * var(--u)); line-height: calc(29 * var(--u)); }
  .footer__lab { font-size: calc(18 * var(--u)); line-height: calc(31 * var(--u)); }
  .footer__lab > a { margin-top: calc(20 * var(--u)); }
  .wordmark { margin-top: calc(190 * var(--u)); }

  .cursor__label { font-size: calc(10 * var(--u)); }
}
