/* PROOF.

   The same palette and the same measure as The Mind — this is the second
   room of one building, not a second building. What is different here is
   the rhythm: the page is evidence, so it is built out of records rather
   than claims, and almost every block on it is a drawing of a number the
   copy also states.

   Two rules the page is composed under. First, nothing is gated on a
   shader: every canvas has real text and real marks beside it, so a failed
   WebGL context costs atmosphere and never costs a fact. Second, where
   columns sit side by side to be compared — the record's entries, the two
   reversals, the without/with table — the roles share a baseline across
   every column, by reserving the space rather than hoping the copy fits.

   Type: PP Mori carries the page. The mono appears only where the content
   is genuinely data: a timestamp, a date range, a domain name, a column
   label. Never as a costume for prose. */

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --page: #101010;
  --card: #141a23;
  --rule: #202936;
  --deep: #171e28;
  --edge: #2a3442;

  /* state */
  --hot: #e8a33d;
  --wait: #8fb4e0;
  --brand: #4a90e2;

  /* the trace's own two series, so a legend swatch and the shader agree */
  --sig: #5f6b7d;
  --quiet: #394452;
  --faint: #313c4b;

  /* ink */
  --ink: #ffffff;
  --ink-2: #c9cfd4;
  --ink-3: #a2aab1;
  --ink-4: #8a93a0;
  --ink-5: #737d88;
  --ink-6: #5f6874;
  --ink-7: #4a535f;

  --sans: "PP Mori", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --h2: clamp(26px, 2.55vw, 44px);
  --sub: clamp(15px, 1.15vw, 20px);
  --body: clamp(14px, 1vw, 17px);
  --cap: clamp(11px, .85vw, 15px);

  --gap: clamp(88px, 9vw, 200px);
  --gut: clamp(20px, 4.2vw, 72px);
  --nav-h: 80px;
  --pane-r: clamp(18px, 1.6vw, 24px);
  --pane-p: clamp(20px, 2.6vw, 44px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

b {
  font-weight: 400;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.wrap {
  width: 100%;
  max-width: calc(1584px + var(--gut) * 2);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.mono {
  font-family: var(--mono);
  letter-spacing: .12em;
}

.dim {
  color: var(--ink-6);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 4px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

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

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sig);
  flex: none;
}

.dot--wait {
  background: var(--wait);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1;
  padding: 12px 20px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  background: none;
  color: var(--ink-3);
  transition: background-color .22s ease, color .22s ease;
}

.btn--brand {
  background: #478fc6;
  color: #fff;
}

.btn--brand:hover {
  background: #5a9fd6;
}

.btn--big {
  padding: 16px 28px;
  font-size: clamp(15px, 1.15vw, 18px);
}

/* ---- nav ------------------------------------------------------------ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 26px 0 38px;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(16, 16, 16, .97) 0%, rgba(16, 16, 16, .96) 40%, rgba(16, 16, 16, .78) 60%,
      rgba(16, 16, 16, .44) 76%, rgba(16, 16, 16, .16) 89%, rgba(16, 16, 16, 0) 100%);
}

.nav a {
  pointer-events: auto;
}

.nav__mark,
.nav__sign,
.nav__links a {
  text-shadow: 0 1px 8px rgba(16, 16, 16, .8);
}

.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__mark {
  font-size: clamp(19px, 1.5vw, 26px);
  color: var(--ink);
  letter-spacing: .02em;
}

.nav__links {
  display: flex;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 15px;
  color: var(--ink-3);
}

.nav__links a:hover,
.nav__links a[aria-current] {
  color: var(--ink);
}

.nav__cta {
  padding: 10px 22px;
  border-radius: 4px;
}

/* The way back in, beside the way in. Deliberately not an outlined twin of the
   filled button: someone who already has an account needs a door, not a second
   offer, so it carries the nav's own weight and lets Apply keep all the colour. */
.nav__act {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}

.nav__sign {
  font-size: 15px;
  color: var(--ink-3);
  transition: color .22s ease;
}

.nav__sign:hover {
  color: var(--ink);
}

@media (max-width: 899px) {
  .nav {
    padding: 18px 0 30px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    padding: 8px 16px;
    font-size: 14px;
  }

  .nav__sign {
    font-size: 14px;
  }
}
/* ---- the way through, in the hand ------------------------------------

   Below 1024 the six links stand down and this takes their place. It is a
   native <details>, so it works with no JavaScript at all; nav.js only adds
   what a disclosure cannot do for itself (Escape, close-on-choose, a lock
   on the page behind it).

   The trigger is deliberately not three equal lines turning into a cross.
   It is the site's own index: six marks for six sections, with the one you
   are on carried at full length in brand. Opening extends every mark to
   that same length, and those marks are the same object that rules each row
   of the panel, so the control reads as a compressed form of what it opens.
   Every bar keeps its rounded caps in both states and travels its whole
   track, so nothing flips or stops half way.
   --------------------------------------------------------------------- */

.mnu {
  /* the component's own palette and measure, so every rule below is identical
     wherever this ships and only this header changes with the page's system */
  --mnu-surface: var(--card);
  --mnu-mark: var(--ink-4);
  --mnu-here: var(--brand);
  --mnu-link: var(--ink-2);
  --mnu-lit: var(--ink);
  --mnu-word: var(--ink-3);
  --mnu-gut: var(--gut);
  --mnu-bleed: 0px;
  --mnu-ring: var(--wait);
  --mnu-shade: rgba(16, 16, 16, .8);

  display: none;
  position: static;
  pointer-events: auto;
}

/* the bar is inert by default; the control and its panel have to opt back in */
.mnu__t,
.mnu__p {
  pointer-events: auto;
}

/* The summary keeps its own display: WebKit hangs the disclosure role off
   list-item, and changing it there can cost the control its semantics. The
   marker goes without touching display, and an inner span does the layout. */
.mnu__t {
  position: relative;
  /* the summary stays a list-item for its role, so its line box would otherwise
     add leading around the control and push the mark off centre */
  line-height: 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

/* The target is 44px without the bar being 44px tall. The control's own box
   stays the height of its mark and the hit area is cast around it, so adding
   the menu never pushed the header down over the hero behind it. */
.mnu__t::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.mnu__tin {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  gap: 10px;
  line-height: 1;
  padding-left: 2px;
}

.mnu__t::-webkit-details-marker {
  display: none;
}

.mnu__t::marker {
  content: "";
}

/* a fixed 18px slot per mark, so a short bar and a full one start on the
   same axis and the row beside them never shifts */
.mnu__i {
  filter: drop-shadow(0 1px 6px var(--mnu-shade));
  display: grid;
  gap: 2px;
  width: 18px;
  flex: none;
}

.mnu__b {
  width: 11px;
  height: 2px;
  border-radius: 1px;
  background: var(--mnu-mark);
  justify-self: start;
  transition: width .26s cubic-bezier(.33, .9, .3, 1), background-color .22s ease;
}

.mnu__b--here {
  width: 18px;
  background: var(--mnu-here);
}

/* only the trigger's own marks extend; the panel's rows keep encoding where
   you are, which is the whole point of them */
.mnu[open] .mnu__i .mnu__b {
  width: 18px;
}

.mnu__w {
  text-shadow: 0 1px 6px var(--mnu-shade);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--mnu-word);
  transition: color .22s ease;
}

/* Focus and press answer everywhere. Hover is gated behind a device that has
   one, because on a touch screen it latches: tap the control and it stays lit
   until you tap something else. */
.mnu__t:focus-visible .mnu__w,
.mnu__t:active .mnu__w {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__t:hover .mnu__w {
    color: var(--mnu-lit);
  }
}

/* one word is in the accessible name at a time, never both */
.mnu[open] .mnu__w--shut,
.mnu:not([open]) .mnu__w--open {
  display: none;
}

/* ---- the panel ---- */

/* A sheet, not a section: it is lifted a step off the page rather than drawn
   with a line, and the bar lifts with it so the two read as one object. A fade
   was tried here first and was wrong, because as soon as the sheet has to
   scroll the fade lands on a live row and the page ghosts through it. */
.mnu__p {
  position: absolute;
  left: calc(-1 * var(--mnu-bleed));
  right: calc(-1 * var(--mnu-bleed));
  top: calc(100% + 16px);
  padding: 6px var(--mnu-gut) 26px;
  background: var(--mnu-surface);
  max-height: calc(100vh - 148px);
  max-height: calc(100dvh - 148px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mnu__l {
  display: grid;
}

.mnu__l a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  font-size: 19px;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--mnu-link);
  transition: color .2s ease;
}

.mnu__l a:focus-visible,
.mnu__l a:active {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__l a:hover {
    color: var(--mnu-lit);
  }
}

/* Where you are is carried by the type and its own mark, never by a dot tacked
   underneath. Reading it off aria-current means the markup states it once. */
.mnu__l a[aria-current] {
  color: var(--mnu-lit);
}

.mnu__l a[aria-current] .mnu__b {
  width: 18px;
  background: var(--mnu-here);
}

/* an account action, not a seventh section, so it carries no section mark and
   sits off the run of six on its own air */
.mnu__f {
  margin-top: 26px;
}

.mnu__f a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: var(--mnu-word);
  transition: color .2s ease;
}

.mnu__f a:focus-visible,
.mnu__f a:active {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__f a:hover {
    color: var(--mnu-lit);
  }
}

/* The six section pages carry a site-wide focus ring; the home page carries
   none, so the component brings its own rather than leaving a new keyboard
   control relying on the browser default over a dark hero. */
.mnu__t:focus-visible,
.mnu__l a:focus-visible,
.mnu__f a:focus-visible {
  outline: 2px solid var(--mnu-ring);
  outline-offset: 3px;
}

/* The entrance moves the sheet only. Opacity stays at 1 the whole way, so a
   transition that never runs still leaves every link fully readable. */
@media (prefers-reduced-motion: no-preference) {
  .mnu__p {
    transition: transform .24s cubic-bezier(.33, .9, .3, 1);
  }

  @starting-style {
    .mnu[open] .mnu__p {
      transform: translateY(-8px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {

  .mnu__b,
  .mnu__w,
  .mnu__l a,
  .mnu__f a {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .nav__in {
    position: relative;
  }

  .nav__links {
    display: none;
  }

  /* the way back in moves into the panel; the bar keeps only the way in */
  .nav__sign {
    display: none;
  }

  .mnu {
    display: block;
  }

  /* Open, the scrim has nothing left to fade into, so it takes the sheet's own
     surface and the two become one object with a single edge at the bottom.
     An opaque sheet must also stop passing clicks through to the page under it.
     The class is set by nav.js; :has covers the no-JavaScript path. */
  .nav.is-menu,
  .nav:has(.mnu[open]) {
    background: var(--card);
    pointer-events: auto;
  }

  /* the page behind an open sheet should not travel under it */
  html.is-locked,
  html.is-locked body {
    overflow: hidden;
  }
}

/* Measured, not guessed: the bar needs 377px to hold the wordmark, Apply and a
   worded control on one line, and 329px without the word. Below that the
   wordmark is what breaks, so the word gives up its pixels and keeps its place
   in the accessible name. The hit area is unaffected: it is cast, not measured. */
@media (max-width: 379px) {
  .mnu__w {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}

/* On paper the control is dead and the sheet is not the page, so neither prints. */
@media print {
  .mnu {
    display: none;
  }
}



/* ---- section rhythm -------------------------------------------------- */

.sec {
  padding-top: var(--gap);
}

.hero {
  padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 86px));
}

.head {
  max-width: 760px;
}

.head--mid {
  margin-inline: auto;
  text-align: center;
}

.head h2 {
  font-size: var(--h2);
  line-height: 1.26;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 400;
}

.head .kicker+h2 {
  margin-top: 16px;
}

.head .sub {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-3);
  margin-top: 16px;
}

.kicker {
  font-size: var(--cap);
}

.cta__go {
  margin-top: 32px;
}

.note {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-5);
  margin-top: clamp(28px, 3vw, 48px);
}

.note--mid {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

/* The panel: a surface a shade off the page, edged in its own colour. */
.pane {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--pane-r);
  padding: var(--pane-p);
}

/* The two header shapes this page uses: the hero's, and every section's. */
.statement,
.split {
  display: grid;
  gap: clamp(32px, 4vw, 100px);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* The hero line is long; give it the room rather than let it stair-step. */
@media (min-width: 900px) {
  .statement {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

.statement__h,
.split__h {
  font-size: clamp(28px, 2.9vw, 50px);
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 400;
}

.split__h {
  font-size: var(--h2);
}

.statement__body,
.split__body {
  display: grid;
  gap: 20px;
  align-content: start;
}

.statement__body p,
.split__body p {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---- the trace's header ---------------------------------------------- */

/* The span the trace covers and the two series it draws, sitting on the
   same measure as the drawing so they read as one object. */
.mon {
  margin-top: clamp(44px, 5.5vw, 96px);
}

.mon__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.mon__lab {
  font-size: var(--cap);
  color: var(--ink-6);
}

.mon__key {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  margin-top: 16px;
}

.mon__key span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--sub);
  color: var(--ink-3);
}

/* ---- the trace and its axis ------------------------------------------ */

.trace {
  --case: 10.345%;
  position: relative;
  margin-top: clamp(20px, 2.2vw, 34px);
  height: clamp(190px, 19vw, 300px);
}

.trace__gl {
  position: absolute;
  inset: 0;
}

/* The morning the page is about, marked on the month. Drawn in the
   document, so it survives a missing shader. */
.trace__mark {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  width: 1px;
  background: var(--hot);
}

.trace__note {
  position: absolute;
  top: clamp(16px, 2vw, 34px);
  left: calc(var(--case) + 28px);
  max-width: min(400px, 46vw);
  background: var(--deep);
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: clamp(14px, 1.4vw, 20px) clamp(16px, 1.7vw, 24px);
}

.trace__when {
  font-size: var(--cap);
  color: var(--hot);
}

.trace__what {
  font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.45;
  color: var(--ink);
  margin-top: 10px;
}

.axis {
  position: relative;
  margin-top: clamp(22px, 2.4vw, 34px);
  border-top: 1px solid var(--rule);
}

.axis__d {
  position: absolute;
  top: 0;
  left: var(--x);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wait);
}

.axis__d--on {
  width: 12px;
  height: 12px;
  background: var(--hot);
}

.axis__labs {
  position: relative;
  height: 26px;
  margin-top: 22px;
  font-size: var(--cap);
  color: var(--ink-6);
}

.axis__l {
  position: absolute;
  left: var(--x);
  white-space: nowrap;
}

.axis__l--mid {
  transform: translateX(-50%);
}

.axis__l--end {
  transform: translateX(-100%);
}

/* Five date marks crowd into each other in the hand; the month still
   reads off its two ends and its middle. */
@media (max-width: 599px) {
  .axis__l--opt {
    display: none;
  }
}

.axis__cap {
  font-size: var(--sub);
  color: var(--ink-5);
  margin-top: 18px;
}

/* ---- the run record -------------------------------------------------- */

.rec {
  margin-top: clamp(44px, 5vw, 90px);
}

.rec__strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--cap);
}

.rec__who {
  margin-top: 22px;
}

.rec__who h2 {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
}

.rec__who p {
  font-size: clamp(14px, 1.15vw, 19px);
  color: var(--ink-5);
  margin-top: 9px;
}

/* The funnel, four panels divided rather than four tiles. Each figure
   carries a line derived from the others, so the row reads as one
   narrowing rather than four unrelated counts. */
.rec__counts {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(26px, 3vw, 36px);
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 760px) {
  .rec__counts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .rec__counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rec__count+.rec__count {
  padding-left: clamp(20px, 2.4vw, 32px);
  border-left: 1px solid var(--rule);
}

@media (max-width: 759px) {
  .rec__count:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

.rec__n {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.02em;
}

.rec__n--wait {
  color: var(--wait);
}

.rec__lab {
  font-size: clamp(14px, 1.1vw, 18px);
  color: var(--ink-3);
  margin-top: 8px;
}

.rec__note {
  font-size: clamp(12px, .95vw, 16px);
  line-height: 1.4;
  color: var(--ink-6);
  margin-top: 6px;
}

/* Ninety-six decisions, one mark each. */
.rec__field {
  display: grid;
  gap: 5px;
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  grid-template-columns: repeat(96, minmax(0, 1fr));
}

@media (max-width: 1099px) {
  .rec__field {
    grid-template-columns: repeat(48, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .rec__field {
    grid-template-columns: repeat(24, minmax(0, 1fr));
  }
}

.pip {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--quiet);
}

.pip.is-maya {
  background: var(--wait);
}

.pip.is-back {
  background: var(--hot);
}

.rec__key {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 38px);
  margin-top: 18px;
  font-size: clamp(13px, 1.05vw, 17px);
  color: var(--ink-5);
}

.rec__key--maya {
  color: var(--wait);
}

.rec__key--back {
  color: var(--hot);
}

.rec__entries {
  display: grid;
  gap: clamp(34px, 3vw, 46px) clamp(40px, 5vw, 80px);
  margin-top: clamp(34px, 3.6vw, 48px);
  padding-top: clamp(34px, 3.6vw, 48px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .rec__entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.entry__when {
  display: flex;
  gap: 14px;
  font-size: var(--cap);
  color: var(--ink-6);
}

.entry__when .mono {
  letter-spacing: .12em;
}

.entry__saw {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.45;
  color: var(--ink-5);
  margin-top: 10px;
}

.entry__did {
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.4;
  color: var(--ink);
  margin-top: 10px;
}

.entry__res {
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.45;
  color: var(--wait);
  margin-top: 10px;
}

/* ---- the business ---------------------------------------------------- */

.biz {
  margin-top: clamp(40px, 4.5vw, 72px);
}

.biz .rec__counts {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.biz__foot {
  display: grid;
  gap: clamp(28px, 3.5vw, 56px);
  margin-top: clamp(30px, 3.4vw, 44px);
  padding-top: clamp(30px, 3.4vw, 44px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 760px) {
  .biz__foot {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.cat {
  display: grid;
  grid-template-columns: repeat(24, 8px);
  gap: 4px;
  width: max-content;
}

.sq {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 1.5px;
  background: var(--faint);
}

.sq.is-one {
  background: var(--hot);
}

.cat__cap {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.45;
  color: var(--ink-5);
  margin-top: 18px;
  max-width: 330px;
}

.biz__facts {
  display: grid;
  gap: clamp(20px, 2vw, 26px);
  align-content: start;
}

.biz__facts dt {
  font-size: var(--cap);
}

.biz__facts dd {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink);
  margin-top: 10px;
}

/* ---- the three situations -------------------------------------------- */

.sits {
  margin-top: clamp(44px, 5vw, 80px);
}

.sit {
  display: grid;
  gap: clamp(20px, 3vw, 60px);
  padding: clamp(28px, 3vw, 38px) 0;
}

@media (min-width: 900px) {
  .sit {
    grid-template-columns: clamp(230px, 19vw, 300px) minmax(0, 1fr);
  }
}

.sit+.sit {
  border-top: 1px solid var(--rule);
}

.sit__lab {
  font-size: var(--cap);
  color: var(--wait);
  margin-top: 12px;
}

.sit__body h3 {
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
}

.sit__body p {
  font-size: var(--sub);
  line-height: 1.6;
  color: var(--ink-3);
  margin-top: 14px;
}

/* The marks are diagrams of each situation's logic — two sources resolving
   into one, eleven days that break at six, a line that stops short of the
   path it could have taken — drawn in the same rails and dots the rest of
   the page uses rather than lifted off an icon shelf. */
.mk {
  display: block;
  width: clamp(180px, 15vw, 230px);
  height: auto;
  margin-top: 20px;
  overflow: visible;
}

.mk path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.mk__lit {
  stroke: var(--sig);
  stroke-width: 1.5;
}

.mk__lit--w2 {
  stroke-width: 2;
}

.mk__arm {
  stroke: #3c4859;
  stroke-width: 1.5;
}

.mk__out {
  stroke: var(--wait);
  stroke-width: 2;
}

.mk__rail {
  stroke: var(--rule);
  stroke-width: 1;
}

.mk__tick {
  stroke: var(--sig);
  stroke-width: 2;
}

.mk__tick--dim {
  stroke: #2f3a48;
}

.mk__d {
  fill: var(--sig);
}

.mk__d--on {
  fill: var(--wait);
}

/* ---- what she saw ---------------------------------------------------- */

.merge {
  height: clamp(150px, 16vw, 260px);
  margin-top: clamp(34px, 4vw, 60px);
}

.reads {
  display: grid;
  gap: clamp(28px, 3vw, 38px) clamp(40px, 5vw, 60px);
  margin-top: clamp(28px, 3vw, 40px);
}

@media (min-width: 760px) {
  .reads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.read__from {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--cap);
  color: var(--ink-6);
}

/* Reserve the two lines the longest reading needs, so the six sit on one
   grid however they wrap. */
.read__what {
  font-size: clamp(16px, 1.45vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  margin-top: 10px;
  min-height: 2.7em;
}

/* ---- what she did ---------------------------------------------------- */

.acts {
  display: grid;
  gap: clamp(28px, 3vw, 60px);
  margin-top: clamp(34px, 4vw, 56px);
}

@media (min-width: 900px) {
  .acts {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .acts__col--not {
    padding-left: clamp(28px, 3vw, 60px);
    border-left: 1px solid var(--rule);
  }
}

@media (max-width: 899px) {
  .acts__col--not {
    padding-top: 28px;
    border-top: 1px solid var(--rule);
  }
}

.acts__cap {
  font-size: var(--cap);
}

.acts__cap--wait {
  color: var(--wait);
}

.acts__list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.acts__list li {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink);
}

.acts__col--not .acts__list li {
  color: var(--ink-3);
}

/* The fourteen minutes. The axis is a real minute scale: the long run
   between 06:12 and 06:18 is six minutes of reading, and the crowd at the
   right is four actions in five. Leaders carry each event down to one of
   five even columns so the labels never collide. */
.tl {
  position: relative;
  height: clamp(215px, 17.5vw, 280px);
  margin-top: clamp(40px, 4.5vw, 70px);
}

.tl__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tl__gl path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.tl__rail {
  stroke: var(--rule);
  stroke-width: 1;
}

.tl__lead {
  stroke: #39465a;
  stroke-width: 1;
}

.tl__d {
  position: absolute;
  top: 38.71%;
  left: var(--x);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wait);
}

.tl__d--on {
  width: 14px;
  height: 14px;
  background: var(--hot);
}

.tl__t {
  position: absolute;
  top: 23.4%;
  left: var(--x);
  transform: translate(-50%, -50%);
  font-size: var(--cap);
  color: var(--ink-6);
  white-space: nowrap;
}

.tl__t--on {
  color: var(--hot);
}

.tl__names {
  position: absolute;
  top: 59.7%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tl__names span {
  text-align: center;
  padding: 0 8px;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.4;
  color: var(--ink-3);
}

.tl__n--on {
  color: var(--ink);
}

.tl__end {
  font-size: var(--sub);
  color: var(--ink-5);
  text-align: center;
  margin-top: clamp(14px, 1.6vw, 24px);
}

/* In the hand the same scale runs top to bottom. */
.tlv {
  position: relative;
  height: 420px;
  margin-top: 34px;
  margin-left: 54px;
}

.tlv::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.tlv__i {
  position: absolute;
  top: var(--y);
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.tlv__i::before {
  content: "";
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wait);
}

.tlv__i--on::before {
  width: 14px;
  height: 14px;
  background: var(--hot);
}

.tlv__t {
  position: absolute;
  right: calc(100% + 14px);
  left: auto;
  font-size: 12px;
  color: var(--ink-6);
}

.tlv__i--on .tlv__t {
  color: var(--hot);
}

.tlv__n {
  margin-left: 22px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-3);
}

.tlv__i--on .tlv__n {
  color: var(--ink);
}

.tlv__end {
  font-size: 16px;
  color: var(--ink-5);
  margin-top: 34px;
}

/* ---- what changed ---------------------------------------------------- */

/* Cumulative sales, not stock on hand: a stockout flatters a stock chart,
   because you keep what you fail to sell. The filled wedge between the two
   lines is the only thing that matters here — it is the month that did not
   happen, and it never closes. */
.chart {
  margin-top: clamp(40px, 4.5vw, 70px);
}

.chart__cap {
  font-size: var(--cap);
}

.chart__plot {
  position: relative;
  height: clamp(200px, 19vw, 300px);
  margin-top: 20px;
}

.chart__plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart__plot path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ch__gap {
  fill: #17212d;
  stroke: none;
}

.ch__base {
  stroke: var(--rule);
  stroke-width: 1;
}

.ch__share {
  stroke: #6e7681;
  stroke-width: 2;
}

.ch__wo {
  stroke: var(--ink-7);
  stroke-width: 2;
}

.ch__wi {
  stroke: var(--wait);
  stroke-width: 2.5;
}

.ch__d {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ch__d--wi {
  background: var(--wait);
}

.ch__d--wo {
  background: var(--ink-7);
}

.ch__lab {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translateY(-50%);
  font-size: var(--cap);
  white-space: nowrap;
}

.ch__lab--wi {
  color: var(--wait);
}

.ch__lab--wo {
  color: var(--ink-5);
}

/* In the hand there is no room to label the line ends beside them without
   running off the measure, so the two series are named underneath instead. */
.ch__key {
  display: flex;
  gap: 26px;
  margin-top: 16px;
  font-size: 13px;
}

.ch__key--wi {
  color: var(--wait);
}

.ch__key--wo {
  color: var(--ink-5);
}

@media (max-width: 899px) {
  .ch__lab {
    display: none;
  }
}

.ch__note {
  position: absolute;
  left: var(--l);
  right: calc(100% - var(--r));
  top: 64%;
  text-align: center;
}

.ch__note b {
  display: block;
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--ink-2);
}

.ch__note span {
  display: block;
  font-size: clamp(12px, 1.05vw, 16px);
  color: var(--ink-5);
  margin-top: 6px;
}

.cmp {
  margin-top: clamp(44px, 5vw, 80px);
}

.cmp__head,
.cmp__row {
  display: grid;
  gap: clamp(16px, 2vw, 40px);
  padding: clamp(18px, 2vw, 26px) 0;
}

@media (min-width: 900px) {

  .cmp__head,
  .cmp__row {
    grid-template-columns: clamp(120px, 11vw, 170px) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.cmp__head {
  padding-top: 0;
  font-size: var(--cap);
}

.cmp__with {
  color: var(--wait);
}

.cmp__row {
  border-top: 1px solid var(--rule);
}

.cmp__row:last-child {
  border-bottom: 1px solid var(--rule);
}

.cmp dt {
  font-size: var(--cap);
}

.cmp__row:last-child dt {
  color: var(--ink);
}

.cmp__wo {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.45;
  color: var(--ink-5);
}

.cmp__wi {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.45;
  color: var(--ink);
}

@media (max-width: 899px) {
  .cmp__head {
    display: none;
  }

  .cmp__wo::before {
    content: "WITHOUT HER";
    display: block;
    font-family: var(--mono);
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--ink-6);
    margin-bottom: 7px;
  }

  .cmp__wi::before {
    content: "WITH HER";
    display: block;
    font-family: var(--mono);
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--wait);
    margin-bottom: 7px;
  }
}

/* ---- case 02: the decision ------------------------------------------- */

/* The other half of the promise. Case 01 proves she acts alone; this
   proves she knows when not to. It is drawn as the surface the product
   actually hands over — the lane it arrives in, both options with what
   each one costs, and Maya's answer at the bottom — so the page shows the
   decision rather than describing one. */
.dec { margin-top: clamp(40px, 4.5vw, 70px); }
.dec__kick { color: var(--wait); }
.dec__strip { display: flex; justify-content: space-between; gap: 20px; font-size: var(--cap); }
.dec__lane { color: var(--wait); white-space: nowrap; }
/* In the hand the lane name alone carries it; the full label and the
   timestamp will not sit on one line at 375. */
@media (max-width: 599px) { .dec__long { display: none; } }
.dec__sit {
  font-size: clamp(15px, 1.35vw, 22px); line-height: 1.5; color: var(--ink-3);
  margin-top: clamp(20px, 2.2vw, 28px);
}
.dec__q { font-size: clamp(19px, 1.9vw, 30px); line-height: 1.3; color: var(--ink); margin-top: 14px; }

/* Both options get the same weight: the page is claiming she prepared a
   choice, not that she argued for one. */
.dec__opts {
  display: grid; gap: clamp(24px, 3vw, 56px);
  margin-top: clamp(28px, 3.2vw, 38px); padding-top: clamp(28px, 3.2vw, 38px);
  border-top: 1px solid var(--rule);
}
@media (min-width: 760px) { .dec__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .dec__o + .dec__o { padding-left: clamp(24px, 3vw, 56px); border-left: 1px solid var(--rule); } }
@media (max-width: 759px) { .dec__o + .dec__o { padding-top: 24px; border-top: 1px solid var(--rule); } }
.dec__k { font-size: var(--cap); color: var(--ink-3); }
.dec__l { display: grid; gap: 14px; margin-top: 18px; }
.dec__l li { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.45; color: var(--ink); }

.dec__ans {
  margin-top: clamp(28px, 3.2vw, 38px); padding-top: clamp(28px, 3.2vw, 38px);
  border-top: 1px solid var(--rule);
}
.dec__chose { font-size: var(--cap); color: var(--hot); }
.dec__said { font-size: clamp(16px, 1.35vw, 22px); line-height: 1.45; color: var(--ink); margin-top: 12px; }
.dec__how { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45; color: var(--ink-5); margin-top: 9px; }

/* ---- outcomes -------------------------------------------------------- */

.outs {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(40px, 4.5vw, 70px);
}

@media (min-width: 900px) {
  .outs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.out__cap {
  font-size: var(--cap);
  color: var(--wait);
}

.out__fig {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: clamp(20px, 2.2vw, 30px);
}

.out__fig b {
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
  color: var(--ink);
  min-width: 1.6em;
}

.out__fig span {
  font-size: clamp(14px, 1.3vw, 21px);
  line-height: 1.4;
  color: var(--ink-3);
}

.out__say {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
  color: var(--ink-5);
  margin-top: clamp(22px, 2.4vw, 32px);
  padding-top: clamp(22px, 2.4vw, 32px);
  border-top: 1px solid var(--rule);
}

/* ---- the evidence ---------------------------------------------------- */

/* Both reversals in full, laid row-wise so reason, ruling and consequence
   each share a baseline across the two. Row-wise is the point: the grid is
   what lets you read them against each other rather than one after the
   other. */
.revs {
  margin-top: clamp(40px, 4.5vw, 70px);
}

.revs__strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--cap);
  padding-bottom: 18px;
}

.revs__r {
  display: grid;
  gap: clamp(14px, 2vw, 40px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .revs__r {
    grid-template-columns: clamp(140px, 12vw, 180px) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.revs__r:last-child {
  border-bottom: 1px solid var(--rule);
}

.revs__k {
  font-size: var(--cap);
  color: var(--ink-6);
}

.revs__k--back {
  color: var(--hot);
}

.revs__when {
  font-size: var(--cap);
  color: var(--ink-6);
}

.revs__did {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.3;
  color: var(--ink);
  margin-top: 10px;
}

.revs__c p {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
  color: var(--ink-3);
}

@media (max-width: 899px) {
  .revs__r--top .revs__k {
    display: none;
  }

  .revs__c+.revs__c {
    padding-top: 18px;
    border-top: 1px solid var(--rule);
  }
}

.insp {
  display: grid;
  margin-top: clamp(34px, 4vw, 60px);
}

.insp__r {
  display: grid;
  gap: 10px;
  padding: clamp(14px, 1.6vw, 20px) 0;
}

@media (min-width: 760px) {
  .insp__r {
    grid-template-columns: clamp(150px, 14vw, 230px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: baseline;
  }
}

.insp__r dt {
  font-size: var(--cap);
}

.insp__r dd {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.45;
  color: var(--ink);
}

/* ---- footer ---------------------------------------------------------- */

.foot {
  margin-top: var(--gap);
  padding-bottom: clamp(32px, 3vw, 56px);
}

.foot__top {
  display: grid;
  gap: clamp(28px, 3vw, 56px);
  padding-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .foot__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.foot__mark {
  font-size: clamp(24px, 2.2vw, 34px);
  color: var(--ink);
  letter-spacing: .02em;
}

.foot__say {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--ink-5);
  margin-top: 12px;
  max-width: 420px;
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 64px);
}

.foot__cols div {
  display: grid;
  gap: 11px;
  align-content: start;
}

.foot__cap {
  font-size: 9px;
  color: var(--ink-6);
}

.foot__cols a {
  font-size: clamp(13px, 1.05vw, 16px);
  color: var(--ink-3);
}

.foot__cols a:hover {
  color: var(--ink);
}

.foot__base {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 40px);
  padding-top: clamp(16px, 1.8vw, 26px);
  border-top: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .foot__base {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
  }
}

.foot__legal {
  display: flex;
  gap: 20px;
}

.foot__legal a,
.foot__c {
  font-size: clamp(13px, 1vw, 14px);
  color: var(--ink-5);
}

.foot__legal a:hover {
  color: var(--ink-2);
}

.foot__c {
  color: var(--ink-6);
}

/* ---- which composition ----------------------------------------------- */

@media (min-width: 900px) {
  .only-tall {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .only-wide {
    display: none !important;
  }
}
/* Headings break into lines of even length rather than wherever the line
   runs out, so a narrow screen never strands one word on a line of its own;
   running text avoids a lone last word the same way. */
h1,
h2,
h3 {
  text-wrap: balance
}

p,
li {
  text-wrap: pretty
}

/* ---- in the hand: parallel sets become rails ----------------------------
   On a phone a set of parallel things (entries, situations, tiers, records)
   stacked into one column runs two screens long, and every one of them reads
   as more of the same. Turned on its side it is one row you swipe through, the
   next card always showing at the edge so the row says there is more. Every
   card is still in the page; nothing is hidden behind a control. The count
   under each rail is drawn by js/rail.js. */
@media (max-width: 759px) {
  :root {
    --gap: 64px;
  }

  [data-rail] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  [data-rail]::-webkit-scrollbar {
    display: none;
  }

  [data-rail] > * {
    flex: 0 0 min(86%, 340px);
    min-width: 0;
    scroll-snap-align: start;
  }

  /* a rail that stands on the page, not inside a card, runs to the screen's
     edges so the next card is cut by the glass, not by the gutter */
  [data-rail].rail--bleed {
    margin-left: calc(-1 * var(--gut));
    margin-right: calc(-1 * var(--gut));
    padding-left: var(--gut);
    padding-right: var(--gut);
    scroll-padding-left: var(--gut);
  }

  [data-rail]:focus-visible {
    outline: 2px solid var(--ink-5);
    outline-offset: 4px;
    border-radius: 6px;
  }

  /* inside a card the rail runs to the card's own edge, for the same reason */
  .pane > [data-rail] {
    margin-left: calc(-1 * var(--pane-p));
    margin-right: calc(-1 * var(--pane-p));
    padding-left: var(--pane-p);
    padding-right: var(--pane-p);
    scroll-padding-left: var(--pane-p);
  }

  /* a rail that is itself a card snaps each item inside the card's padding */
  .pane[data-rail] {
    scroll-padding-left: var(--pane-p);
  }

  /* Each thing in a rail is its own card, so the one peeking in at the edge
     reads as the next card and not as a column of text cut in half. The rules
     that separated them when they were stacked have nothing left to separate. */
  .rec__entries {
    border-top: 0;
    padding-top: 0;
  }

  .entry,
  .read {
    padding: 16px;
    border-radius: 14px;
    background: var(--deep);
  }

  .sit {
    padding: 20px 18px;
    border: 0;
    border-radius: 16px;
    background: var(--card);
  }

  .sit+.sit {
    border: 0;
  }

  .rail-n {
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    color: var(--ink-5);
  }
}

/* ---- in the hand: one type scale ----------------------------------------
   Stacked on a phone the page headline, the section headings and the card
   headings had all come out between 26 and 30 pixels, so nothing outranked
   anything and a section heading read as loud as the page's own claim. Three
   clear steps instead: the page's headline, a section's, a card's. Section
   headings also lose the narrow measures they were set to on a wide frame,
   which stacked them three and four lines deep in a column this narrow. */
@media (max-width: 759px) {
  main h1,
  h1.statement__h,
  h1.belief__h {
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -.022em;
  }

  .head h2,
  h2.split__h,
  h2.band__h,
  h2.statement__h,
  h2.fic__h {
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -.012em;
    max-width: none;
  }
}

/* The company line and the way to reach it, in the footer's own words: the
   links sit in the sentence, so they are underlined to read as links. */
.foot__say a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.foot__say a:hover,
.foot__say a:focus-visible {
  color: var(--ink);
}

/* the footer's small captions and copyright line at a readable contrast
   (ink-6 measured 3.4 to 1 on the page; ink-4 clears 4.5) */
.foot__cap,
.foot__c {
  color: var(--ink-4);
}
