/* CAE progressive reveal — the `progressive-reveal` behaviour's own sheet.
 *
 * KATE SHAWVER, Mission Vision and Values (About Us), 2026-09-19 12:17, verbatim: "Can you
 * progressive load the values as they come into view to add some movement/interest to the
 * page." The visible paint is: opacity 0 to 1 and a 10px rise (translateY), ONCE, as a tile
 * first enters the viewport — d ruling plate #166 2026-09-20: "each value tile fades in and
 * rises a few px once as it enters the viewport".
 *
 * THE GATE. Every rule keys on the `is-cae-intsurf-reveal-live` class the behaviour's script
 * writes AND the `data-cae-reveal-state="wait"` word it stamps. With the script absent, or
 * with the declaration refused, neither exists and this sheet paints NOTHING — the band is
 * the band the compiler drew, and this file costs the page no behaviour it did not declare.
 * The transition lives on the STATE selectors so a target that goes wait -> entered animates
 * by attribute change alone; no keyframe, no repaint beyond the two compositor properties.
 *
 * THE MOTION IS NOT A LAYOUT EFFECT. Only `opacity` and `transform` animate; the settled
 * state is opacity 1 / transform none — the tiles' final boxes are geometry-identical to the
 * band served without this file, which is what the corpus A/B and the 0-movers check assert.
 *
 * PREFERS-REDUCED-MOTION: the script already refuses to arm; this block is the promise for
 * a visit where the media query flips mid-session — wait-state targets are forced back to
 * the drawn, settled paint with no transition.
 */

.is-cae-intsurf-reveal-live [data-cae-reveal-state="wait"] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}

.is-cae-intsurf-reveal-live [data-cae-reveal-state="entered"] {
  opacity: 1;
  transform: none;
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .is-cae-intsurf-reveal-live [data-cae-reveal-state] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
