/* Moire Labs prototype: the tokens of the Figma file "Moirelabs" (styles named Moire Labs/...). */
:root {
  --letters: #18181b;
  --white: #ffffff;
  --secondary-on-dark: #a1a1aa;
  --paper: #fafafa;
  --secondary: #52525b;
  --outline: #71717a;
  --hairline: #e4e4e7;
  --ink: #1f3bff;
  --margin: clamp(16px, 5.6vw, 80px);
  --section: 128px;
  --display: "Syne", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--letters);
  color: var(--white);
  font: 400 18px/1.45 var(--text);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

/* Loader: covers the page until the halftone opens it. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--letters);
}

.loader canvas,
.cover canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Once the canvas draws the cover, the element itself is see-through. */
.loader:has(canvas) {
  background: transparent;
}

.loader-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 48px);
  transform: translateX(-50%);
  margin: 0;
  font: 500 14px var(--mono);
  color: var(--secondary-on-dark);
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.4s;
}

.loader.is-open .loader-label {
  opacity: 0;
}

/* Motion (motion.js). The cover between pages: the head script holds it as a
   plain ground from the first paint until the canvas cover takes over. */
.cover {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.is-covered body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--letters);
}

.is-covered .loader {
  display: none;
}

/* What the intro prints in stays hidden until it starts. */
.is-intro .header > :not(.nav),
.is-intro .band .chip {
  visibility: hidden;
}

/* Lenis scrolls the page itself. */
html.lenis,
html.lenis body {
  height: auto;
}

/* A print developing: seen through a dot screen whose dots (--dot, set by
   motion.js) grow until they close up. */
.is-developing {
  --pitch: 8px;
  -webkit-mask: radial-gradient(circle, #000 var(--dot, 0px), transparent calc(var(--dot, 0px) + 1px)) 0 0 / var(--pitch) var(--pitch);
  mask: radial-gradient(circle, #000 var(--dot, 0px), transparent calc(var(--dot, 0px) + 1px)) 0 0 / var(--pitch) var(--pitch);
}

/* Arrows lean the way their link goes. */
@media (prefers-reduced-motion: no-preference) {
  .pill > span[aria-hidden],
  .link > span[aria-hidden],
  .back > span[aria-hidden] {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .pill:hover > span[aria-hidden],
  .link:hover > span[aria-hidden] {
    transform: translateX(4px);
  }

  .back:hover > span[aria-hidden] {
    transform: translateX(-4px);
  }

  .menu-icon::before,
  .menu-icon::after {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

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

/* Header v2: a full-width title, then the band. */
.header {
  padding: 0 var(--margin) 64px;
}

.nav {
  min-height: 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.nav > a {
  flex: 0 1 271px;
  min-width: 0;
}

.nav img {
  display: block;
  width: 100%;
  height: auto;
}

.nav ul {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul a {
  font: 500 18px var(--text);
  text-decoration: none;
}

.nav [aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* Shown on phones only, where it folds the links away: two bars that cross
   into a close mark while the links are open. The button is 44 px square for
   the thumb; its negative margin keeps the bars on the page margin. */
.menu {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background: currentColor;
}

.menu-icon::before {
  top: 7px;
}

.menu-icon::after {
  bottom: 7px;
}

.menu[aria-expanded="true"] .menu-icon::before {
  transform: translateY(4px) rotate(45deg);
}

.menu[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-4px) rotate(-45deg);
}

.back {
  display: inline-block;
  margin-top: 48px;
  font: 600 18px var(--text);
  text-decoration: none;
}

.kicker {
  margin: 48px 0 24px;
  font: 500 14px var(--mono);
  color: var(--secondary-on-dark);
  text-transform: uppercase;
}

.back + .kicker {
  margin-top: 24px;
}

.title {
  margin: 0 0 24px;
  font: 800 clamp(48px, 7vw, 101px) / 0.92 var(--display);
  text-transform: uppercase;
}

.standfirst {
  max-width: 880px;
  margin: 0 0 24px;
  font: 400 clamp(18px, 1.7vw, 24px) / 1.35 var(--text);
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

/* Pills: white on dark and ink, dark or outlined on paper. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--white);
  color: var(--letters);
  font: 600 18px/1.2 var(--text);
  text-decoration: none;
}

.pill-dark {
  background: var(--letters);
  color: var(--white);
}

.pill-outline {
  background: none;
  border-color: var(--outline);
}

.link {
  font: 600 18px var(--text);
  text-decoration: none;
}

.meta {
  margin: 0;
  font: 500 14px var(--mono);
  color: var(--secondary-on-dark);
}

/* The band: a three.js canvas behind labels placed on the 1440 x 440 design.
   It scales with its width and stays centred, as createBand() lays it out. */
.band {
  position: relative;
  height: clamp(280px, 30.5vw, 440px);
  overflow: hidden;
  cursor: crosshair;
  container-type: inline-size;
}

.band canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* A chip sits on the band at design point (--x, --y), centred on it. On a
   phone, chips marked .chip-m move to (--mx, --my) on the 390 wide design. */
.chip {
  position: absolute;
  left: calc(var(--x) * 100cqw / 1440);
  top: calc(50% + (var(--y) - 220) * 100cqw / 1440);
  transform: translate(-50%, -50%);
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--letters);
  font: 500 14px var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.chip-start {
  transform: translate(0, -50%);
}

.chip-end {
  transform: translate(-100%, -50%);
}

.chip-hint {
  top: auto;
  bottom: 32px;
  left: auto;
  right: var(--margin);
  transform: none;
}

/* Nothing to move through without a pointer. */
@media (hover: none) {
  .chip-hint {
    display: none;
  }
}

/* Sections. */
.section-title {
  margin: 0 0 24px;
  font: 800 clamp(40px, 5.3vw, 76px) / 1 var(--display);
  text-transform: uppercase;
}

.intro {
  max-width: 480px;
  margin: 0 0 48px;
  color: var(--secondary-on-dark);
}

.pair,
.note-kind {
  margin: 0;
  font: 500 14px var(--mono);
  color: var(--ink);
  text-transform: uppercase;
}

.label {
  margin: 0;
  font: 500 14px var(--mono);
  color: var(--secondary);
  text-transform: uppercase;
}

.paper {
  padding: var(--section) var(--margin);
  background: var(--paper);
  color: var(--letters);
}

.paper .intro {
  max-width: 560px;
  color: var(--secondary);
}

.paper .link {
  color: var(--ink);
}

/* Home: the angles, with each skill's screen as a tone wedge. */
.angles {
  padding: var(--section) var(--margin);
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.skills img {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: cover;
  margin-bottom: 16px;
}

.angle {
  font: 500 14px var(--mono);
  color: var(--secondary-on-dark);
}

.skills h3 {
  margin: 8px 0;
  font: 800 32px var(--display);
  text-transform: uppercase;
}

.skills p {
  margin: 0;
  color: var(--secondary-on-dark);
}

/* A product: its overlap print, pair, name and install command. */
.overlap-art {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.product-name {
  margin: 24px 0;
  font: 800 clamp(56px, 7vw, 101px) / 1 var(--display);
  text-transform: uppercase;
}

.tagline {
  max-width: 640px;
  margin: 0 0 32px;
  font: 400 clamp(18px, 1.7vw, 24px) / 1.35 var(--text);
}

.command {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 624px;
  margin-bottom: 24px;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--letters);
  color: var(--white);
  font: 500 18px var(--mono);
}

.command .prompt {
  color: var(--secondary-on-dark);
}

.command code {
  flex: 1;
  font: inherit;
  overflow-wrap: anywhere;
}

.command button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--secondary-on-dark);
  font: 500 14px var(--text);
  cursor: pointer;
}

/* Home: Figxel beside what comes next. */
.home-products {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 96px;
  align-items: start;
}

.next h3 {
  margin: 0 0 16px;
  font: 600 18px var(--text);
}

.next ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.next li {
  padding: 16px 0 24px;
  border-top: 1px solid var(--hairline);
}

.next h4 {
  margin: 8px 0;
  font: 800 32px var(--display);
}

.next p:not(.pair) {
  margin: 0;
  color: var(--secondary);
}

/* Home: who we build with. The overlap print of our two screens on the left,
   the partner's words on the right; on a phone the print comes between the
   standfirst and the facts. */
.collab {
  display: grid;
  grid-template-columns: minmax(0, 656fr) minmax(0, 560fr);
  grid-template-areas: "art head" "art foot";
  gap: 24px 64px;
  padding: var(--section) var(--margin);
}

.collab-head {
  grid-area: head;
  align-self: end;
}

.collab-foot {
  grid-area: foot;
  align-self: start;
}

.collab a:focus-visible {
  outline-color: var(--white);
  outline-offset: 3px;
}

.collab-kicker {
  margin: 0 0 24px;
  font: 500 14px var(--mono);
  color: var(--secondary-on-dark);
  text-transform: uppercase;
}

.collab-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px;
}

.collab-logos img {
  display: block;
  width: auto;
}

.collab-us {
  height: 20px;
}

.collab-partner {
  height: 64px;
}

.collab-times {
  font: 400 24px var(--mono);
  color: var(--secondary-on-dark);
}

.collab-title {
  line-height: 0.95;
}

.collab-standfirst {
  margin: 0;
  font: 400 clamp(18px, 1.7vw, 24px) / 1.35 var(--text);
}

/* The print with its labels, placed on its 656 x 560 design. main.js draws it
   live over the still, which keeps its size and stands in without WebGL. */
.collab-art {
  grid-area: art;
  align-self: center;
  position: relative;
  cursor: crosshair;
}

.collab-art img {
  display: block;
  width: 100%;
  height: auto;
}

.collab-art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.collab-art:has(canvas) picture {
  visibility: hidden;
}

.collab-art .chip {
  left: auto;
  top: auto;
  transform: none;
}

.collab-art .collab-chip-partner {
  top: 7.1%;
  right: 3.7%;
}

.collab-art .collab-chip-us {
  top: 83.9%;
  left: 3.7%;
}

.collab-art .collab-chip-lens {
  top: 85%;
  left: 56.1%;
  transform: translateX(-50%);
}

.collab-facts {
  margin: 0 0 24px;
}

.collab-facts div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 4px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--outline);
}

.collab-facts div:last-child {
  border-bottom: 1px solid var(--outline);
}

.collab-facts dt {
  padding-top: 3px;
  font: 500 14px var(--mono);
  color: var(--secondary-on-dark);
  text-transform: uppercase;
}

.collab-facts dd {
  margin: 0;
}

/* Team: the captions under the group print, one column per person. */
.people {
  padding: 48px var(--margin) var(--section);
}

.people ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.people h2 {
  margin: 8px 0;
  font: 800 24px var(--display);
}

.people p {
  margin: 0;
  color: var(--secondary-on-dark);
}

/* Team: each product credited to the pair whose angles met on it. */
.overlap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.overlap-list li {
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.overlap-list img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.overlap-list h3 {
  margin: 8px 0;
  font: 800 32px var(--display);
}

.credit {
  margin: 0 0 8px;
  font-weight: 600;
}

.overlap-list p:last-child {
  margin: 0;
  color: var(--secondary);
}

/* Products: Figxel opened up. */
.figxel-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
  align-items: start;
}

.lead {
  max-width: 624px;
  margin: 0 0 32px;
  color: var(--secondary);
}

.demo {
  margin: 0;
}

.demo img,
.article-column img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.demo figcaption,
.article-column figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--secondary);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 96px 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
  font-size: 14px;
  color: var(--secondary);
}

.figure {
  display: block;
  margin-bottom: 8px;
  font: 600 42px/1 var(--text);
  color: var(--letters);
}

.changelog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* A heading inside a section, set at the 42 px step so it fits half the grid. */
.changelog .section-title {
  font-size: clamp(32px, 2.9vw, 42px);
}

.changelog ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.changelog li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.version {
  font: 500 14px/1.9 var(--mono);
  color: var(--ink);
}

/* Products: what is in the lab, on dark. */
.lab {
  padding: var(--section) var(--margin);
}

.lab-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 32px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.lab-list img {
  display: block;
  width: 296px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.lab .pair {
  color: var(--secondary-on-dark);
}

.lab-list h3 {
  margin: 8px 0;
  font: 800 32px var(--display);
}

.lab-list p:last-child {
  margin: 0;
  color: var(--secondary-on-dark);
}

/* Lab notes: each note with a print of the overlap it came from. */
.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.note {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}

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

.note img {
  display: block;
}

.note h3 {
  margin: 8px 0;
  font: 800 32px var(--display);
}

.note h3 a {
  text-decoration: none;
}

.note p:not(.note-kind) {
  margin: 0;
  color: var(--secondary);
}

.read-time {
  font: 500 14px var(--mono);
  color: var(--secondary);
}

/* The note: its facts in a margin beside one reading column. */
.article {
  display: grid;
  grid-template-columns: 296px minmax(0, 720px);
  gap: 48px clamp(48px, 10vw, 144px);
  padding-top: 96px;
}

.article-margin img {
  display: block;
  margin-bottom: 32px;
}

.note-facts {
  display: grid;
  gap: 16px;
  margin: 0;
}

.note-facts dt {
  font: 500 14px var(--mono);
  color: var(--secondary);
}

.note-facts dd {
  margin: 4px 0 0;
  font-weight: 500;
}

.article-column p,
.article-column ol {
  margin: 0 0 16px;
  line-height: 1.6;
}

.article-column ol {
  padding-left: 1.4em;
}

.article-column .lead {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 1.4;
  color: var(--letters);
}

.article-column h2 {
  margin: 48px 0 16px;
  font: 800 clamp(24px, 2.2vw, 32px) / 1.1 var(--display);
}

.article-column .command {
  margin: 24px 0 0;
}

.article-column figure {
  margin: 48px 0;
}

/* The rest of what the CMS's editor can write into a note's body. */
.article-column a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 4px;
}

.article-column ul {
  margin: 0 0 16px;
  padding-left: 1.4em;
  line-height: 1.6;
}

.article-column h3 {
  margin: 32px 0 12px;
  font: 800 24px / 1.1 var(--display);
}

.article-column .signature {
  margin-top: 48px;
  font: 500 14px var(--mono);
  color: var(--secondary);
}

.earlier {
  padding-top: 0;
}

.earlier-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.earlier .note {
  border: 0;
}

/* The ink band that closes every page, with the bottom bar. */
.ink {
  padding: var(--section) var(--margin) 48px;
  background: var(--ink);
  color: var(--white);
}

.ink a:focus-visible {
  outline-color: var(--white);
}

.ink-title {
  margin: 0 0 40px;
  font: 800 clamp(56px, 7vw, 101px) / 0.95 var(--display);
  text-transform: uppercase;
}

.ink-line {
  max-width: 880px;
  margin: 0 0 40px;
  font: 400 clamp(18px, 1.7vw, 24px) / 1.35 var(--text);
}

.ink .pill {
  color: var(--ink);
}

.bottom-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
  padding-top: 48px;
  font: 500 14px var(--text);
}

.copyright {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.bottom-bar ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottom-bar ul a {
  text-decoration: none;
}

/* Phones: the 390 px frames of the Figma file. */
@media (max-width: 720px) {
  :root {
    --margin: 16px;
    --section: 64px;
  }

  .header {
    padding-bottom: 40px;
  }

  .nav {
    min-height: 64px;
  }

  .menu {
    display: grid;
    place-items: center;
  }

  .nav ul {
    display: none;
  }

  .menu[aria-expanded="true"] + ul {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav ul a {
    display: block;
    padding: 8px 0;
    font: 800 32px/1.1 var(--display);
    text-transform: uppercase;
  }

  .back {
    margin-top: 24px;
  }

  .kicker {
    margin: 24px 0 16px;
  }

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

  /* 42 px on a 390 wide phone; on narrower ones the type shrinks with the
     column, so the longest word ("OVERLAP.") still fits. */
  .title {
    margin-bottom: 16px;
    font-size: min(42px, (100vw - 32px) * 0.1173);
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .standfirst,
  .tagline,
  .ink-line {
    font-size: 18px;
    line-height: 1.4;
  }

  .actions {
    gap: 16px 24px;
  }

  /* Each band draws its phone layout, so it takes that design's shape. */
  .band {
    height: auto;
    aspect-ratio: 390 / 300;
    cursor: auto;
  }

  .band[data-band="home"],
  .band[data-band="products"] {
    aspect-ratio: 390 / 360;
  }

  .chip {
    display: none;
  }

  .chip-m {
    display: block;
    left: calc(var(--mx) * 100cqw / 390);
    top: calc(var(--my) * 100cqw / 390);
  }

  .section-title,
  .ink-title,
  .changelog .section-title {
    font-size: min(32px, (100vw - 32px) * 0.0894);
    line-height: 0.95;
  }

  .section-title {
    margin-bottom: 16px;
  }

  .intro {
    margin-bottom: 32px;
  }

  .skills h3,
  .note h3 {
    font-size: 24px;
  }

  .product-name {
    margin: 16px 0;
    font-size: min(42px, (100vw - 32px) * 0.1173);
  }

  .tagline {
    margin-bottom: 24px;
  }

  .command {
    font-size: 14px;
  }

  .home-products,
  .figxel-intro,
  .changelog {
    grid-template-columns: 1fr;
  }

  .home-products {
    gap: 24px;
  }

  .people {
    padding-top: 40px;
  }

  .people ul {
    gap: 24px;
  }

  .overlap-list {
    gap: 0;
  }

  .overlap-list li {
    padding: 24px 0;
  }

  .overlap-list li:last-child {
    border-bottom: 1px solid var(--hairline);
  }

  .overlap-list img {
    width: 240px;
    margin-bottom: 8px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin: 48px 0;
    padding-top: 24px;
  }

  .figure {
    font-size: 32px;
  }

  .changelog {
    gap: 0;
  }

  .changelog li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lab-list {
    gap: 32px;
    margin-bottom: 32px;
  }

  .note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .article-margin {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--hairline);
  }

  .note-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-column h2 {
    margin-top: 32px;
  }

  .article-column figure {
    margin: 32px 0;
  }

  .ink {
    padding-bottom: 40px;
  }

  .ink-title,
  .ink-line {
    margin-bottom: 24px;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    padding-top: 24px;
  }

  /* The partner: one column, the print on its 358 x 280 design, with our
     symbol in place of the lockup. The title keeps the product name's size. */
  .collab {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "art" "foot";
  }

  .collab-logos {
    gap: 16px;
  }

  .collab-us,
  .collab-partner {
    height: 40px;
  }

  .collab-title {
    margin-bottom: 24px;
    font-size: min(42px, (100vw - 32px) * 0.1173);
  }

  .collab-art {
    cursor: auto;
  }

  .collab-art .chip {
    display: block;
  }

  .collab-art .collab-chip-partner {
    top: 0;
    right: 0;
  }

  .collab-art .collab-chip-us {
    top: auto;
    bottom: 0;
    left: 0;
  }

  .collab-art .collab-chip-lens {
    top: auto;
    bottom: 0;
    left: auto;
    right: 21%;
    transform: none;
  }

  .collab-facts div {
    grid-template-columns: minmax(0, 1fr);
  }
}
