/* ════════════════════════════════
   PIXELATED SCROLL TRANSITION (Osmo)
   Reveal mode overlay at top of About hero — dark pixels fade away as user scrolls in
════════════════════════════════ */

/* Pixelated overlay positioned at top of about hero */
.about__hero-pixels {
  z-index: 2;             /* above bg image, below tagline (z-index: 1) — wait, tagline z-index 1 too. set higher */
  pointer-events: none;
  color: var(--color-bg); /* pixel color = same as previous section bg (dark) */
  position: absolute;
  inset: 0% 0% auto;      /* anchor to top */
}

/* Generated pixel grid */
[data-pixelated-scroll-panel] {
  display: flex;
  flex-direction: row;
  width: 100%;
}

[data-pixelated-scroll-column] {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* reveal mode: pixels start from top */
  align-items: stretch;
  flex: 1 1 0%;
  min-width: 0;
}

[data-pixelated-scroll-pixel] {
  aspect-ratio: 1;
  width: 100%;
  background-color: currentColor;
  backface-visibility: hidden;
  will-change: opacity;
}

/* Reveal mode wrapper anchors to top */
[data-pixelated-scroll-transition][data-mode="reveal"] {
  inset: 0% 0% auto;
}
