/* Home stats band (#builds-itself), directly under the hero: the band colour with film grain, white text and the
   5,263 total as a split-flap poster. home-band.js turns the number into flap cells; without script it stays plain. */
html.da-home .subhero:has(+ #builds-itself) .hero-wave path {
  fill: var(--band);
}
html.da-home #builds-itself {
  position: relative;
  isolation: isolate;
  padding-block: 88px 80px;
  background: var(--band);
  color: #fff;
}
html.da-home #builds-itself > .wrap {
  position: relative;
  z-index: 1;
}
html.da-home #builds-itself .hs-poster {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 28px;
  margin: 0;
}
html.da-home #builds-itself .hs-n {
  font: 600 clamp(80px, 26vw, 160px) / 1 var(--display);
  letter-spacing: -0.035em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html.da-home #builds-itself .hs-l {
  font: 500 clamp(24px, 2.6vw, 34px) / 1.2 var(--display);
  color: #fff;
  text-wrap: balance;
}
html.da-home #builds-itself .hs-l small {
  display: block;
  margin-block-start: 6px;
  font: 400 clamp(17px, 1.6vw, 20px) / 1.3 var(--body);
  color: rgba(255, 255, 255, 0.95);
}
html.da-home #builds-itself .hs-title {
  margin: 32px 0 0;
  font: 600 22px / 1.3 var(--display);
  letter-spacing: 0;
  color: #fff;
}
html.da-home #builds-itself .hs-note {
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
}
html.da-home #builds-itself .hs-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.da-home #builds-itself .hs-note a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Split-flap cells: each digit on a glass tile split by a hinge line */
html.da-home #builds-itself .hs-flap {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.06em;
  perspective: 600px;
}
html.da-home #builds-itself .hs-flap i {
  font-style: normal;
}
html.da-home #builds-itself .hs-flap .fd {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 0.68em;
  height: 1.06em;
  border-radius: 0.07em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0 50%, rgba(255, 255, 255, 0.13) 50% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 18px 30px -18px rgba(0, 10, 40, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html.da-home #builds-itself .hs-flap .fd::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 0.012em;
  min-height: 1px;
  background: rgba(4, 20, 70, 0.35);
}
html.da-home #builds-itself .hs-flap .fc {
  width: 0.22em;
  text-align: center;
}
html.da-home.motion #builds-itself .hs-flap .fd.flip {
  animation: hs-flip 0.11s ease-in;
}
@keyframes hs-flip {
  50% {
    transform: rotateX(-80deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.da-home #builds-itself .hs-flap .fd.flip {
    animation: none;
  }
}
/* Three client-software figures from the case study under the total: big white number over a short label, a thin
   line above, three columns on desktop and stacked on phones. */
html.da-home #builds-itself .hs-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 48px;
  margin: 48px 0 0;
  padding-block-start: 28px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.4);
}
html.da-home #builds-itself .hs-figs > div {
  display: flex;
  flex-direction: column;
}
html.da-home #builds-itself .hs-figs dd {
  margin: 0;
  font: 500 44px / 1.1 var(--display);
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html.da-home #builds-itself .hs-figs dt {
  order: 2;
  margin-block-start: 8px;
  max-width: 22em;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
}
html.da-home #builds-itself .hs-foot {
  margin: 24px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
}
html.da-home #builds-itself .hs-foot a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.da-home #builds-itself .hs-foot a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  html.da-home #builds-itself {
    padding-block: 56px 52px;
  }
  html.da-home #builds-itself .hs-figs {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-block-start: 40px;
  }
  html.da-home #builds-itself .hs-figs dd {
    font-size: 36px;
  }
  html.da-home #builds-itself .hs-figs dt {
    font-size: 14.5px;
  }
}
