/* 1 Train Digital motion kit: the few styles js/wow.js needs.
   Everything here only applies under html.wow (set by js/wow-boot.js),
   so reduced-motion visitors and no-JS visitors get the plain, finished page. */
@view-transition { navigation: auto; }

/* Load-time headlines stay hidden until the kit has set their start state.
   If the script never runs, the safety animation shows them after 2.5s. */
.wow [data-wow~="split"][data-wow-on="load"] { visibility: hidden; animation: wow-safe 0s 2.5s forwards; }
.wow.wow-go [data-wow~="split"][data-wow-on="load"] { visibility: visible; animation: none; }
@keyframes wow-safe { to { visibility: visible; } }
/* masks get a little room so italics, periods and descenders aren't clipped */
.wow .wow-ln-mask { padding: 0 .12em .08em 0; margin: 0 -.12em -.08em 0; }

/* Sideways loop: the kit adds .wow-h when it takes over the layout. */
.wow-h { overflow: clip; }
.wow-h [data-wow-track] { display: flex !important; flex-wrap: nowrap !important; width: max-content; gap: var(--wow-gap, 18px); will-change: transform; }
.wow-h [data-wow-track] > * { flex: 0 0 var(--wow-card, min(72vw, 340px)); }

/* Mask zoom stage: one full screen */
.wow [data-wow~="zoom"] .wow-stage { height: 100vh; height: 100svh; }

/* Press feedback on phones; "scale" adds to any transform the element already has. */
.wow .btn:active, .wow [data-wow-press]:active { scale: .96; }
