.site-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  place-items: center;
  background: #fff;
  opacity: 1;
  transition: opacity .24s ease;
}
html.is-loading { overflow: hidden; }
html.is-loading .site-loader { display: grid; }
.site-loader.is-leaving { opacity: 0; }
.loader-mark {
  width: clamp(58px, 6vw, 88px);
  aspect-ratio: 1;
  border: clamp(19px, 2vw, 29px) solid #101010;
  animation: logo-turns 1.6s infinite;
}
@keyframes logo-turns {
  0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.7, 0, .9, .4); }
  19% { transform: rotate(315deg); animation-timing-function: cubic-bezier(.1, .7, .2, 1); }
  25%, 32% { transform: rotate(360deg); animation-timing-function: cubic-bezier(.7, 0, .9, .4); }
  51% { transform: rotate(45deg); animation-timing-function: cubic-bezier(.1, .7, .2, 1); }
  57%, 64% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.7, 0, .9, .4); }
  83% { transform: rotate(315deg); animation-timing-function: cubic-bezier(.1, .7, .2, 1); }
  89%, 100% { transform: rotate(360deg); }
}
.who-story { background: #f5f4f1; color: #101010; position: relative; }
.story-stage { position: relative; padding: 80px 0; overflow: hidden; }
.story-label { margin: 0 0 48px; text-align: center; font-size: clamp(15px, 1.45vw, 21px); font-weight: 600; letter-spacing: .015em; }
.story-titles { margin: 0; font-family: Archivo, Arial, sans-serif; font-size: clamp(34px, 10.4vw, 160px); font-weight: 900; line-height: 1.06; letter-spacing: -.055em; }
.story-row { display: block; width: max-content; margin: 0 auto; white-space: nowrap; }
.story-squares { position: relative; height: 50vw; max-height: 680px; margin: 40px 0; overflow: hidden; pointer-events: none; }
.story-square {
  position: absolute;
  width: var(--size);
  aspect-ratio: 1;
  left: var(--left);
  top: 25%;
  border: calc(var(--size) * .27) solid #101010;
  transform: translateX(-50%) rotate(var(--angle));
}
.story-statement { margin: 0 auto; width: 84%; max-width: 1040px; font-family: Archivo, Arial, sans-serif; font-size: clamp(27px, 4.3vw, 62px); font-weight: 700; line-height: 1.17; letter-spacing: -.038em; }
.story-word { display: inline-block; }

/* The tall section supplies real scroll distance; its stage is pinned by CSS. */
.who-story.is-animated { height: var(--story-scroll-height, 400svh); }
.is-animated .story-stage { position: sticky; top: 0; height: 100svh; padding: 0; isolation: isolate; }
.is-animated .story-label { position: absolute; z-index: 5; top: 12%; left: 0; width: 100%; margin: 0; }
.is-animated .story-titles { position: absolute; z-index: 1; left: 0; top: 51%; width: 100%; transform: translateY(-50%); font-size: min(10.4vw, 17svh, 160px); }
.is-animated .story-row { will-change: transform; }
.is-animated .story-squares { position: absolute; z-index: 2; inset: 0; height: auto; max-height: none; margin: 0; overflow: visible; }
.is-animated .story-square { top: 0; transform: translate3d(-50%, 120svh, 0) rotate(var(--angle)); will-change: transform; }
.is-animated .story-statement { position: absolute; z-index: 3; top: 54%; left: 50%; margin: 0; opacity: 0; transform: translate(-50%, -30%); will-change: transform, opacity; }
.is-animated .story-word {
  color: transparent;
  background: linear-gradient(90deg, #101010 var(--fill, 0%), #c4c2bc var(--fill, 0%));
  -webkit-background-clip: text;
  background-clip: text;
}
@media (max-width: 800px) {
  .story-stage { padding: 60px 0; }
  .is-animated .story-titles { font-size: 10.4vw; line-height: 1.12; }
  .is-animated .story-label { top: 16%; }
  .story-statement { width: 86%; font-size: clamp(26px, 5.7vw, 44px); line-height: 1.2; }
}
@media (max-height: 500px) and (min-width: 801px) {
  .story-statement { font-size: 6.6svh; max-width: 800px; }
  .is-animated .story-label { top: 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-mark { animation: none; }
  .site-loader { transition-duration: .15s; }
}
