/* scratchme.com: one page, no scripts.
   Borrowed from three sites:
   - surya-aditya.com: huge condensed capitals, small "Label: value" lines;
   - asklionel.tech: black stat numbers in hairline cells, a big "Section." band, and Archivo,
     the one typeface used here (its condensed cut does the small labels: no monospace);
   - telemyr.com: centered chapter headings, a three-column grid, a player bar with chapters.
   One accent: the pink the image analysis draws its measurement in. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {                       /* the same Archivo, fixed at 62% width and weight 800, capitals and
                                      digits only: small, so the big headline draws early */
  font-family: "Archivo Display";
  src: url("fonts/archivo-display-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --ink-d2: #9b9b9b;        /* secondary text on black */
  --line-d: #262626;        /* hairlines on black */
  --ink-l2: #5c5c5c;        /* secondary text on white */
  --ink-l3: #6b6b6b;        /* labels on white (5.3:1) */
  --line-l: #e3e3e3;        /* hairlines on white */
  --pink: #ff1fa9;          /* the measurement color */
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo Display", "Archivo", "Arial Narrow", sans-serif;
  --pad: 16px;
  --bar: 84px;
  --wrap: 72rem;
}

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

html {
  background: var(--black);
  color: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font: 400 1rem/1.5 var(--sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--pink); color: var(--white); }

p { margin: 0 0 1em; }
figure { margin: 0; }
img { max-width: 100%; }
h1, h2 { margin: 0; font-weight: 500; text-wrap: balance; }

a { color: inherit; text-decoration: none; }
a:not(.plain)::after {               /* links: no underline; a small arrow after the words */
  content: "\2191";
  display: inline-block;
  margin-left: 0.15em;
  transform: rotate(45deg);
  color: var(--pink);
}
a:hover { color: var(--pink); }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
[id] { scroll-margin-top: 1rem; }

.lab {                               /* small labels: Archivo's condensed cut, bold capitals */
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  font-stretch: 75%;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.kicker { margin: 0 0 1rem; color: var(--ink-l3); font-weight: 400; }
.dark .kicker { color: var(--ink-d2); }

/* ---- the bar: the centered logo at the top of the black hero; it scrolls away with it ---- */

.bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: var(--bar);
  padding: 0 var(--pad);
  color: var(--white);
  background: var(--black);
}
.brand { grid-column: 2; }
.brand img { display: block; width: 88px; height: auto; }
.bar-nav { display: none; grid-column: 3; justify-self: end; }
.bar-nav a:hover { color: var(--pink); }

/* a thin line down the left that fills as you read (wide screens) */
.progress { display: none; }

/* ---- sections ---- */

.dark { background: var(--black); color: var(--white); }
.research { padding: 4.5rem var(--pad); }
.vh {                                /* for screen readers only */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
h2 {
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
/* ---- hero: the headline as big as the screen allows ---- */

.hero { padding: 2rem var(--pad) 4rem; }
.giant {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-size: calc((100vw - 2 * var(--pad)) / 5.27);   /* two lines: INTELLIGENCE (5.115 em) fills one */
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: wrap;
}
.giant span { display: block; }        /* break after COLLECTIBLE */
.hero-copy { max-width: 40rem; margin: 0 0 3rem; }
.hero-sub { margin: 0 0 1.5rem; color: var(--ink-d2); line-height: 1.45; text-wrap: balance; }
.hero-cta { margin: 0; }
.cta {                               /* the one call to action: a pill, not underlined text */
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7rem 1.15rem 0.65rem;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  font-stretch: 75%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cta:hover { border-color: var(--pink); }
.trio {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 57rem;
  margin: 0 auto;
  padding: 0;
}
.trio a { display: block; }
.trio img { display: block; width: 100%; height: auto; background: #111; }
.trio span { display: block; margin-top: 0.65rem; color: var(--ink-d2); text-align: center; }
.trio b { margin-right: 0.3em; color: var(--white); }
.trio a:hover span, .trio a:hover b { color: var(--pink); }

/* ---- the three chapters: what graders look for, in a few lines, then the zoom ---- */

.chapter { padding: 2.5rem var(--pad) 1rem; }
.chapter + .chapter { padding-top: 6rem; }
.chapter-head { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; }
.chapter-head .kicker { margin-bottom: 0.9rem; }
.chapter-head h2 { margin-bottom: 1.1rem; }
.lead {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.look { margin: 0 auto 0.35rem; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-d2); text-wrap: balance; }
.spec {                              /* research-note rows: label, then value */
  max-width: 34rem;
  margin: 1.5rem auto 0;
  text-align: left;
  border-top: 1px solid var(--line-d);
}
.spec div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.6rem 0 0.65rem;
  border-bottom: 1px solid var(--line-d);
}
.spec dt { padding-top: 0.15rem; color: var(--ink-d2); }
.spec dd { margin: 0; font-size: 0.9375rem; line-height: 1.4; }
.spec-wide { max-width: var(--wrap); margin-top: 2rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 26rem;
  margin: 0 auto 1.5rem;
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
}
.stats div { display: flex; flex-direction: column; padding: 1rem 0.5rem 1.1rem; }
.stats div + div { border-left: 1px solid var(--line-d); }
.stats dd {
  margin: 0;
  font-size: clamp(2.25rem, 11vw, 3.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats dt { order: 2; margin-top: 0.6rem; color: var(--ink-d2); }

/* ---- up close: three zooms on black. By default (no scroll-driven animation, or reduced
   motion), each zoom's frames appear one after another ---- */

.zoom { max-width: var(--wrap); margin: 0 auto; }
.zoom-sticky { width: 330px; max-width: 100%; margin: 0 auto; }
.zoom-stage { display: grid; gap: 1.5rem; }
.zoom-stage .z { display: block; position: relative; }
.zoom-stage .z img { display: block; width: 100%; height: auto; }
.z-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.z-ann { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }   /* wear marks on the close-ups */
.z-grid, .player { display: none; }

/* where the browser can drive animation from scrolling, and motion is welcome: one frame per
   zoom, pinned while you scroll past it. A camera moves over the layers (the whole card, a
   ninth, a full-size crop), which are all placed in the whole card's coordinates, so they move
   together; each closer layer fades in over its own place. tools/zooms.py writes each zoom's
   keyframes, below, from the image records. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .zoom-sticky {
      position: sticky;
      top: max(0.75rem, calc(50svh - 260px));
    }
    .zoom-stage {
      display: block;
      position: relative;
      aspect-ratio: 330 / 466;
      overflow: hidden;
      background: #111;
    }
    .zoom-stage .z {
      position: absolute;
      inset: 0;
      transform-origin: 0 0;
      will-change: transform, opacity;
    }
    .zoom-stage .z img { height: 100%; }
    .zoom-stage .z:not(.z-a) { opacity: 0; }     /* if the animation can't run, only the whole card shows */
    .z-grid {
      display: block;
      position: absolute;
      inset: 0;
      opacity: 0;
      pointer-events: none;
    }
    .z-grid::before,
    .z-grid::after { content: ""; position: absolute; }
    .z-grid::before {
      top: 0; bottom: 0; left: 33.333%; width: 33.333%;
      border-left: 1px solid rgba(255, 255, 255, 0.8);
      border-right: 1px solid rgba(255, 255, 255, 0.8);
    }
    .z-grid::after {
      left: 0; right: 0; top: 33.333%; height: 33.333%;
      border-top: 1px solid rgba(255, 255, 255, 0.8);
      border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    }
    .z-cell {
      position: absolute;
      width: 33.333%;
      height: 33.333%;
      border: 2px solid var(--pink);
      opacity: 0;
    }
    /* telemyr's player bar: the chapters, lighting up as the zoom gets to them */
    .player {
      display: block;
      margin-top: 0.9rem;
      font-size: 0.6875rem;
      color: #8c8c8c;
    }
    .player-bar { display: block; height: 2px; background: var(--line-d); }
    .player-fill { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0);
                   animation-name: z-fill; }
    .player-steps { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.55rem; }
    .za {
      animation-duration: 1ms;   /* required in some engines; the scroll timeline sets the pace */
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-range: contain 0% contain 100%;
    }
  }
}
@keyframes z-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* zooms:start (written by tools/zooms.py from the image records; edit there) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .zoom-topps .zoom-track { height: 380svh; view-timeline-name: --z-topps; view-timeline-axis: block; }
    .zoom-topps .za { animation-timeline: --z-topps; }
    .zoom-topps .z-a { animation-name: z-topps-a; }
    .zoom-topps .z-grid { animation-name: z-topps-grid; }
    .zoom-topps .s1 { animation-name: z-topps-s1; }
    .zoom-topps .s2 { animation-name: z-topps-s2; }
    .zoom-topps .z-lines { animation-name: z-topps-lines; }
    .zoom-topps .z-b0 { animation-name: z-topps-b-0; }
    .zoom-topps .z-c0 { animation-name: z-topps-c-0; }
    .zoom-topps .z-cell-0 { left: 0.000%; top: 33.333%; animation-name: z-topps-cell-0; }
    .zoom-topps .z-b1 { animation-name: z-topps-b-1; }
    .zoom-topps .z-c1 { animation-name: z-topps-c-1; }
    .zoom-topps .z-cell-1 { left: 33.333%; top: 0.000%; animation-name: z-topps-cell-1; }
    .zoom-corner .zoom-track { height: 240svh; view-timeline-name: --z-corner; view-timeline-axis: block; }
    .zoom-corner .za { animation-timeline: --z-corner; }
    .zoom-corner .z-a { animation-name: z-corner-a; }
    .zoom-corner .z-grid { animation-name: z-corner-grid; }
    .zoom-corner .s1 { animation-name: z-corner-s1; }
    .zoom-corner .s2 { animation-name: z-corner-s2; }
    .zoom-corner .z-b0 { animation-name: z-corner-b-0; }
    .zoom-corner .z-c0 { animation-name: z-corner-c-0; }
    .zoom-corner .z-cell-0 { left: 0.000%; top: 66.667%; animation-name: z-corner-cell-0; }
    .zoom-surface .zoom-track { height: 240svh; view-timeline-name: --z-surface; view-timeline-axis: block; }
    .zoom-surface .za { animation-timeline: --z-surface; }
    .zoom-surface .z-a { animation-name: z-surface-a; }
    .zoom-surface .z-grid { animation-name: z-surface-grid; }
    .zoom-surface .s1 { animation-name: z-surface-s1; }
    .zoom-surface .s2 { animation-name: z-surface-s2; }
    .zoom-surface .z-b0 { animation-name: z-surface-b-0; }
    .zoom-surface .z-c0 { animation-name: z-surface-c-0; }
    .zoom-surface .z-cell-0 { left: 0.000%; top: 33.333%; animation-name: z-surface-cell-0; }
  }
}
@keyframes z-topps-a {
  0% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  10% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  22% { transform: translate(0.0000%, -100.0000%) scale(3.00000, 3.00000); }
  26% { transform: translate(0.0000%, -100.0000%) scale(3.00000, 3.00000); }
  38% { transform: translate(0.0000%, -259.8712%) scale(6.20000, 6.19957); }
  46% { transform: translate(0.0000%, -259.8712%) scale(6.20000, 6.19957); }
  56% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  62% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  74% { transform: translate(-100.0000%, 0.0000%) scale(3.00000, 3.00000); }
  78% { transform: translate(-100.0000%, 0.0000%) scale(3.00000, 3.00000); }
  90% { transform: translate(-260.0000%, 0.0000%) scale(6.20000, 6.19957); }
  100% { transform: translate(-260.0000%, 0.0000%) scale(6.20000, 6.19957); }
}
@keyframes z-topps-b-0 {
  0% { transform: translate(0.0000%, 33.3333%) scale(0.33333, 0.33333); opacity: 0; }
  10% { transform: translate(0.0000%, 33.3333%) scale(0.33333, 0.33333); opacity: 0; }
  15% { opacity: 1; }
  22% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  26% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  38% { transform: translate(0.0000%, -53.2189%) scale(2.06667, 2.06652); }
  46% { transform: translate(0.0000%, -53.2189%) scale(2.06667, 2.06652); }
  50% { opacity: 1; }
  55% { opacity: 0; }
  56% { transform: translate(0.0000%, 33.3333%) scale(0.33333, 0.33333); }
  62% { transform: translate(0.0000%, 33.3333%) scale(0.33333, 0.33333); }
  74% { transform: translate(-100.0000%, 100.0000%) scale(1.00000, 1.00000); }
  78% { transform: translate(-100.0000%, 100.0000%) scale(1.00000, 1.00000); }
  90% { transform: translate(-260.0000%, 206.6524%) scale(2.06667, 2.06652); }
  100% { transform: translate(-260.0000%, 206.6524%) scale(2.06667, 2.06652); opacity: 0; }
}
@keyframes z-topps-c-0 {
  0% { transform: translate(0.0000%, 41.9176%) scale(0.16129, 0.16130); opacity: 0; }
  10% { transform: translate(0.0000%, 41.9176%) scale(0.16129, 0.16130); }
  22% { transform: translate(0.0000%, 25.7529%) scale(0.48387, 0.48390); }
  26% { transform: translate(0.0000%, 25.7529%) scale(0.48387, 0.48390); opacity: 0; }
  31% { opacity: 1; }
  38% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  46% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  49% { opacity: 1; }
  53% { opacity: 0; }
  56% { transform: translate(0.0000%, 41.9176%) scale(0.16129, 0.16130); }
  62% { transform: translate(0.0000%, 41.9176%) scale(0.16129, 0.16130); }
  74% { transform: translate(-100.0000%, 125.7529%) scale(0.48387, 0.48390); }
  78% { transform: translate(-100.0000%, 125.7529%) scale(0.48387, 0.48390); }
  90% { transform: translate(-260.0000%, 259.8712%) scale(1.00000, 1.00000); }
  100% { transform: translate(-260.0000%, 259.8712%) scale(1.00000, 1.00000); opacity: 0; }
}
@keyframes z-topps-b-1 {
  0% { transform: translate(33.3333%, 0.0000%) scale(0.33333, 0.33333); opacity: 0; }
  10% { transform: translate(33.3333%, 0.0000%) scale(0.33333, 0.33333); }
  22% { transform: translate(100.0000%, -100.0000%) scale(1.00000, 1.00000); }
  26% { transform: translate(100.0000%, -100.0000%) scale(1.00000, 1.00000); }
  38% { transform: translate(206.6667%, -259.8712%) scale(2.06667, 2.06652); }
  46% { transform: translate(206.6667%, -259.8712%) scale(2.06667, 2.06652); }
  56% { transform: translate(33.3333%, 0.0000%) scale(0.33333, 0.33333); }
  62% { transform: translate(33.3333%, 0.0000%) scale(0.33333, 0.33333); opacity: 0; }
  67% { opacity: 1; }
  74% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  78% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  90% { transform: translate(-53.3333%, 0.0000%) scale(2.06667, 2.06652); }
  100% { transform: translate(-53.3333%, 0.0000%) scale(2.06667, 2.06652); opacity: 1; }
}
@keyframes z-topps-c-1 {
  0% { transform: translate(41.9355%, 0.0000%) scale(0.16129, 0.16130); opacity: 0; }
  10% { transform: translate(41.9355%, 0.0000%) scale(0.16129, 0.16130); }
  22% { transform: translate(125.8065%, -100.0000%) scale(0.48387, 0.48390); }
  26% { transform: translate(125.8065%, -100.0000%) scale(0.48387, 0.48390); }
  38% { transform: translate(260.0000%, -259.8712%) scale(1.00000, 1.00000); }
  46% { transform: translate(260.0000%, -259.8712%) scale(1.00000, 1.00000); }
  56% { transform: translate(41.9355%, 0.0000%) scale(0.16129, 0.16130); }
  62% { transform: translate(41.9355%, 0.0000%) scale(0.16129, 0.16130); }
  74% { transform: translate(25.8065%, 0.0000%) scale(0.48387, 0.48390); }
  78% { transform: translate(25.8065%, 0.0000%) scale(0.48387, 0.48390); opacity: 0; }
  83% { opacity: 1; }
  90% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  100% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); opacity: 1; }
}
@keyframes z-topps-grid {
  0% { opacity: 0; }
  2% { opacity: 0; }
  5% { opacity: 1; }
  10% { opacity: 1; }
  15% { opacity: 0; }
  56% { opacity: 0; }
  58% { opacity: 1; }
  62% { opacity: 1; }
  67% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-topps-cell-0 {
  0% { opacity: 0; }
  3% { opacity: 0; }
  5% { opacity: 1; }
  10% { opacity: 1; }
  14% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-topps-cell-1 {
  0% { opacity: 0; }
  57% { opacity: 0; }
  58% { opacity: 1; }
  62% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-topps-lines {
  0% { opacity: 1; }
  10% { opacity: 1; }
  14% { opacity: 0; }
  52% { opacity: 0; }
  56% { opacity: 1; }
  62% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-topps-s1 {
  0% { color: #fff; }
  51% { color: #fff; }
  52% { color: #8c8c8c; }
  100% { color: #8c8c8c; }
}
@keyframes z-topps-s2 {
  0% { color: #8c8c8c; }
  51% { color: #8c8c8c; }
  52% { color: #ff1fa9; }
  100% { color: #ff1fa9; }
}
@keyframes z-corner-a {
  0% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  22% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  46% { transform: translate(0.0000%, -200.0000%) scale(3.00000, 3.00000); }
  54% { transform: translate(0.0000%, -200.0000%) scale(3.00000, 3.00000); }
  78% { transform: translate(0.0000%, -512.8755%) scale(6.12727, 6.12876); }
  100% { transform: translate(0.0000%, -512.8755%) scale(6.12727, 6.12876); }
}
@keyframes z-corner-b-0 {
  0% { transform: translate(0.0000%, 66.6667%) scale(0.33333, 0.33333); opacity: 0; }
  22% { transform: translate(0.0000%, 66.6667%) scale(0.33333, 0.33333); opacity: 0; }
  30% { opacity: 1; }
  46% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  54% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  78% { transform: translate(0.0000%, -104.2918%) scale(2.04242, 2.04292); }
  100% { transform: translate(0.0000%, -104.2918%) scale(2.04242, 2.04292); opacity: 1; }
}
@keyframes z-corner-c-0 {
  0% { transform: translate(0.0000%, 83.6835%) scale(0.16320, 0.16317); opacity: 0; }
  22% { transform: translate(0.0000%, 83.6835%) scale(0.16320, 0.16317); }
  46% { transform: translate(0.0000%, 51.0504%) scale(0.48961, 0.48950); }
  54% { transform: translate(0.0000%, 51.0504%) scale(0.48961, 0.48950); opacity: 0; }
  60% { opacity: 1; }
  78% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  100% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); opacity: 1; }
}
@keyframes z-corner-grid {
  0% { opacity: 0; }
  6% { opacity: 0; }
  12% { opacity: 1; }
  22% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-corner-cell-0 {
  0% { opacity: 0; }
  8% { opacity: 0; }
  12% { opacity: 1; }
  22% { opacity: 1; }
  28% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-corner-s1 {
  0% { color: #fff; }
  100% { color: #fff; }
}
@keyframes z-corner-s2 {
  0% { color: #8c8c8c; }
  77% { color: #8c8c8c; }
  78% { color: #ff1fa9; }
  100% { color: #ff1fa9; }
}
@keyframes z-surface-a {
  0% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  22% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  46% { transform: translate(0.0000%, -100.0000%) scale(3.00000, 3.00000); }
  54% { transform: translate(0.0000%, -100.0000%) scale(3.00000, 3.00000); }
  78% { transform: translate(-72.4242%, -206.6524%) scale(6.10000, 6.10300); }
  100% { transform: translate(-72.4242%, -206.6524%) scale(6.10000, 6.10300); }
}
@keyframes z-surface-b-0 {
  0% { transform: translate(0.0000%, 33.3333%) scale(0.33333, 0.33333); opacity: 0; }
  22% { transform: translate(0.0000%, 33.3333%) scale(0.33333, 0.33333); opacity: 0; }
  30% { opacity: 1; }
  46% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  54% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  78% { transform: translate(-72.4242%, -3.2189%) scale(2.03333, 2.03433); }
  100% { transform: translate(-72.4242%, -3.2189%) scale(2.03333, 2.03433); opacity: 1; }
}
@keyframes z-surface-c-0 {
  0% { transform: translate(11.8728%, 33.8608%) scale(0.16393, 0.16385); opacity: 0; }
  22% { transform: translate(11.8728%, 33.8608%) scale(0.16393, 0.16385); }
  46% { transform: translate(35.6185%, 1.5823%) scale(0.49180, 0.49156); }
  54% { transform: translate(35.6185%, 1.5823%) scale(0.49180, 0.49156); opacity: 0; }
  60% { opacity: 1; }
  78% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); }
  100% { transform: translate(0.0000%, 0.0000%) scale(1.00000, 1.00000); opacity: 1; }
}
@keyframes z-surface-grid {
  0% { opacity: 0; }
  6% { opacity: 0; }
  12% { opacity: 1; }
  22% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-surface-cell-0 {
  0% { opacity: 0; }
  8% { opacity: 0; }
  12% { opacity: 1; }
  22% { opacity: 1; }
  28% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes z-surface-s1 {
  0% { color: #fff; }
  100% { color: #fff; }
}
@keyframes z-surface-s2 {
  0% { color: #8c8c8c; }
  77% { color: #8c8c8c; }
  78% { color: #ff1fa9; }
  100% { color: #ff1fa9; }
}
/* zooms:end */

/* ---- research: the big band ---- */

.research { padding-top: 6rem; padding-bottom: 6rem; border-top: 1px solid var(--line-d); }
.wide {
  max-width: var(--wrap);
  margin: 0 auto 2rem;
  font-size: min(calc((100vw - 2 * var(--pad)) / 7.95), 9.25rem);   /* TECHNOLOGY. is 7.72 em wide */
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.research-line {
  max-width: var(--wrap);
  margin: 0 auto;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.research-line { padding-right: 10%; }

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

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding: 1.5rem var(--pad) 2rem;
  border-top: 1px solid var(--line-d);
}
.foot img { display: block; width: 152px; height: 28px; }
.foot p { order: 3; flex-basis: 100%; margin: 0; color: var(--ink-d2); }   /* phones: logo and Back to top on one line, the copyright under them */
.foot.lab { font-size: 0.6875rem; }
.to-top { margin-left: auto; color: var(--ink-d2); }

/* ---- wider screens ---- */

@media (min-width: 48rem) {
  :root { --pad: 24px; --bar: 96px; }
  body { font-size: 1.0625rem; }
  .brand img { width: 104px; }
  .hero-sub { font-size: 1.125rem; }
  .lead { font-size: 1.375rem; }
  .chapter { padding-top: 3.5rem; }
  .chapter + .chapter { padding-top: 8rem; }
  .trio { gap: 1.5rem; }
  .research-line { font-size: 1.75rem; padding-right: 30%; }
  .spec-wide div { grid-template-columns: 9rem minmax(0, 46rem); }
  .spec-wide dd { font-size: 1.0625rem; }
  .research { padding-top: 7rem; padding-bottom: 7rem; }
  .foot p { order: 0; flex-basis: auto; }   /* wider screens: logo, copyright and Back to top on one line */
}

@media (min-width: 64rem) {
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 64rem) {
    .progress {
      display: block;
      position: fixed;
      z-index: 29;
      left: 10px;
      top: 25vh;
      height: 50vh;
      width: 2px;
      background: rgba(128, 128, 128, 0.35);
    }
    .progress::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--pink);
      transform-origin: 50% 0;
      animation: grow 1ms linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (min-width: 80rem) {           /* six links need the room: shown from 1280 px */
  .bar-nav { display: flex; gap: 1.5rem; }
}
