.studio-art:has(.bio-composition) { min-width: 0; mix-blend-mode: screen; }
.home-page .studio-hero:has(.bio-flock) {
  /* Scope the glow to the artwork; its colour and scale follow the flock on either layout. */
  background: #102d36;
  isolation: isolate;
}
.studio-art:has(.bio-flock) {
  isolation: auto;
  mix-blend-mode: normal;
}
.bio-flock .bio-frame {
  isolation: isolate;
  background-color: #102d36;
}
.bio-flock .bio-frame::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -10% -50%;
  background: radial-gradient(ellipse 50% 50% at 56% 50%, #205461, rgba(32,84,97,0) 100%);
}
.bio-flock .bio-frame picture { position: relative; mix-blend-mode: screen; }
.bio-composition {
  position: relative;
  container-type: inline-size;
  width: 100%;
  margin: 0;
  color: #e0eceb;
  font-family: var(--font);
}
.bio-frame { position: relative; aspect-ratio: 720 / 500; }
.bio-frame picture, .bio-frame img { display: block; width: 100%; height: auto; }
.bio-frame picture { filter: brightness(1.18) contrast(1.04); }
.bio-traces { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bio-traces path {
  vector-effect: non-scaling-stroke;
  stroke: #a9dfd1;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.bio-label {
  position: absolute;
  margin: 0;
  right: 1%;
  font: 500 clamp(1.12rem, 4.05cqi, 1.75rem)/1.12 var(--font);
  letter-spacing: -.036em;
}
.bio-gap { left: 56%; top: 60%; }
.bio-join { left: 55%; top: 64%; }
.bio-end { left: 53%; top: 69%; }
.bio-origin { left: 6.6%; top: 18%; }
.bio-check, .bio-origin {
  display: none;
  color: #b9dcd4;
  font-size: clamp(.875rem, 2.65cqi, 1.1rem);
  font-weight: 400;
  letter-spacing: -.012em;
}
.bio-title, .bio-detail { display: block; }
.bio-detail {
  max-width: 28ch;
  margin: .45em 0 0;
  color: #c2d9d4;
  font: 400 clamp(.875rem, 2.6cqi, 1.08rem)/1.36 var(--font);
  letter-spacing: -.014em;
  text-wrap: pretty;
}
.bio-detail b { font-weight: 500; color: #e0eceb; }
.bio-comparison {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: baseline;
  gap: .09em 1.1em;
}
.bio-comparison dd {
  margin: 0;
  justify-self: end;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #e0eceb;
}
.bio-closing {
  display: flex;
  gap: 1.8cqi;
  align-items: center;
  margin: 1rem 2% 1.2rem 11.11%;
  font: 500 clamp(1.15rem, 4.65cqi, 1.95rem)/1.14 var(--font);
  letter-spacing: -.036em;
}
.bio-mark { display: block; flex: none; width: 6.88cqi; height: 6.88cqi; overflow: visible; color: #a9dfd1; }
.bio-phrases { display: flex; flex-wrap: wrap; gap: .06em .24em; min-width: 0; }
.bio-phrase { white-space: nowrap; }
.bio-phrase:first-child { font-weight: 400; color: #b9dcd4; }
.bio-phrase + .bio-phrase { color: #e0eceb; }

@media (prefers-reduced-motion: no-preference) {
  .bio-composition.is-timed .bio-closing {
    position: absolute;
    top: 74.5%; left: 11.11%; right: 2%;
    transform: translateY(-50%);
    margin: 0;
  }
  .bio-composition.is-timed :is(.bio-check, .bio-origin) { display: block; }
  .bio-composition.is-timed :is(.bio-finding, .bio-mark, .bio-letter) { opacity: 0; }
  .motion-ready .bio-frame picture { animation: bio-settle 1.4s ease-in-out 8.1s forwards; }
  .motion-ready :is(.bio-check, .bio-origin) { animation: bio-reading 2.3s ease both; }
  .bio-network.motion-ready .bio-origin { animation-duration: 4.15s; }
  .motion-ready .bio-leader { animation: bio-locate 6.15s ease 1.9s both; }
  .bio-network.motion-ready .bio-leader { animation-delay: 3.7s; animation-duration: 4.35s; }
  .motion-ready .bio-finding { animation: bio-result 5.75s ease 2.35s both; }
  .bio-network.motion-ready .bio-finding { animation-delay: 4.2s; animation-duration: 3.9s; }
  .motion-ready .bio-handoff { animation: bio-pass 1.6s cubic-bezier(.4,0,.28,1) 7.9s both; }
  .motion-ready .bio-mark {
    transform-box: fill-box;
    transform-origin: center 100%;
    animation: bio-sign .66s cubic-bezier(.2,.72,.2,1) 9.12s forwards;
  }
  .motion-ready .bio-mark circle { animation: bio-ink .3s ease 9.48s both; }
  .motion-ready .bio-letter { animation: bio-ink .11s linear var(--at) forwards; }
}
@keyframes bio-reading {
  0%, 72% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes bio-locate {
  0% { opacity: 0; stroke-dasharray: 0 1; }
  12% { opacity: .75; stroke-dasharray: 1 1; }
  82% { opacity: .35; stroke-dasharray: 1 1; }
  100% { opacity: 0; stroke-dasharray: 1 1; }
}
@keyframes bio-result {
  0% { opacity: 0; transform: translateY(.15em); }
  10%, 87% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-.08em); }
}
@keyframes bio-pass {
  0% { opacity: 0; stroke-dasharray: 0 2; stroke-dashoffset: 0; }
  18% { opacity: .7; }
  72% { opacity: .78; stroke-dasharray: .64 2; stroke-dashoffset: -.36; }
  100% { opacity: 0; stroke-dasharray: 0 2; stroke-dashoffset: -1; }
}
@keyframes bio-sign {
  from { opacity: 0; transform: scaleY(.12); }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes bio-ink { from { opacity: 0; } to { opacity: 1; } }
@keyframes bio-settle { to { opacity: .83; } }
@container (max-width: 31rem) {
  .bio-phrases { flex-direction: column; }
  .bio-comparison { column-gap: .65em; }
}
@container (max-width: 24rem) {
  .bio-finding { left: 43%; }
  .bio-end { left: 37%; }
}
@container (max-width: 19rem) {
  .bio-end { left: 29%; top: 66%; }
}
@media (max-width: 680px) {
  .studio-art:has(.bio-composition) { aspect-ratio: auto; padding: .65rem 0 2rem; }
}
