/* Accessible text survives disabled effects, missing APIs and reduced motion. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Hero: reserve the original word, paint the changing letters without a clip. */
.hero-portrait {
  width: 75%;
  justify-self: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  min-height: clamp(322.5px, 33.75vw, 472.5px);
}
.hero-credentials {
  margin-top: auto;
  padding-top: 24px;
}
.hero .hero-credentials p {
  margin: 0;
}
.hero .hero-credentials p + p {
  margin-top: 8px;
}
.link-tail {
  white-space: nowrap;
}
@media (min-width: 761px) {
  .hero-portrait {
    align-self: end;
  }
}
.hero-portrait img {
  height: clamp(322.5px, 33.75vw, 472.5px);
}
.scramble-visual {
  left: 0;
  width: max-content;
  padding-right: 0.12em;
  background: none;
  color: #fff;
  transform-origin: left center;
}
.hero h1 {
  padding-right: 0.12em;
}
.hero-role .glitch-active {
  color: #57ff8e;
}

/* Ticker: both the gradient paint box and the mask allow for descenders. */
.news-banner {
  padding-block: 0.16em;
}
.news-track > span {
  padding-top: 0.14em;
  padding-bottom: 0.2em;
  line-height: 1.2;
}

/* Ownership and the commercial evidence. */
.numbers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.numbers > div > strong {
  font-size: clamp(54px, 5.4vw, 76px);
  white-space: nowrap;
}
.numbers .download-metric > strong {
  font-size: clamp(46px, 4.6vw, 64px);
  letter-spacing: -0.055em;
}
.numbers > div {
  display: grid;
  grid-template-rows: 92px auto 1fr;
  align-content: start;
}
.numbers > div > strong {
  align-self: center;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .numbers {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .numbers > div > strong {
    font-size: 64px;
    grid-row: auto;
  }
  .numbers .download-metric > strong {
    font-size: 56px;
  }
}
.numbers > div {
  min-width: 0;
}
.numbers p {
  max-width: min(310px, 100%);
}
.numbers p strong {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.ownership-tile {
  line-height: 1.2;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.ownership-tile:nth-of-type(3) {
  color: #0a0a0a;
  background: none;
}

/* Private Board case study: demonstration-only asset, no live data connection. */
.board-project {
  padding-block: var(--section-space);
}
.board-project .split {
  align-items: start;
}
.board-project .split p:first-child {
  margin-top: 0;
}
.board-preview {
  margin: 40px 0 0;
}
.board-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}
.board-preview figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.work:has(.spotlight-layer) {
  position: relative;
  z-index: 6;
}
.product.visible.spotlight {
  transform: scale(1.015);
}
.work .product .product-image img {
  animation: none;
}
@media (max-width: 760px) {
  .hero-portrait img {
    height: 300px;
  }
  .board-project {
    padding-block: var(--section-space);
  }
  .hero-copy {
    min-height: 0;
  }
  .persistent-navigation nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .board-preview {
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .board-preview img {
    min-width: 720px;
  }
  .board-preview figcaption {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product.visible.spotlight {
    transform: none;
  }
}
