/* =========================================================
   ACCUTRUST — animations.css
   ========================================================= */
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes arw { 0% { transform: translate(-30px, 30px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }

[data-rv] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-rv="fade"] { transform: none; }
[data-rv].in { opacity: 1; transform: none; }
.tw .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.tw .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.tw.in .w > span { transform: none; }
.hero [data-hi] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero.in [data-hi] { opacity: 1; transform: none; }
.hero.in [data-hi="1"] { transition-delay: .1s; } .hero.in [data-hi="3"] { transition-delay: .6s; } .hero.in [data-hi="4"] { transition-delay: .8s; } .hero.in [data-hi="5"] { transition-delay: 1s; }

/* Loader: arrows + bars → logo */
.ld { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--blue); transition: opacity .7s var(--ease), visibility .7s; overflow: hidden; }
.ld::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,.06) 39px 40px); }
.ld.done { opacity: 0; visibility: hidden; }
.ld__in { position: relative; text-align: center; padding: 0 20px; }
.ld__viz { width: 220px; height: 120px; margin: 0 auto 26px; overflow: visible; }
.ld__viz .bar { transform-box: fill-box; transform-origin: bottom; animation: rise .7s var(--ease) both; fill: rgba(255,255,255,.85); }
.ld__viz .bar:nth-of-type(2) { animation-delay: .65s; } .ld__viz .bar:nth-of-type(3) { animation-delay: .75s; } .ld__viz .bar:nth-of-type(4) { animation-delay: .85s; } .ld__viz .bar:nth-of-type(1) { animation-delay: .55s; }
.ld__viz .a1 { animation: arw .7s var(--ease) .05s both; } .ld__viz .a2 { animation: arw .7s var(--ease) .25s both; }
.ld__logo { display: inline-flex; background: #fff; padding: 12px 18px; animation: up .6s var(--ease) 1.05s both; }
.ld__logo img { height: 58px; width: auto; }
.ld__txt { margin-top: 20px; font-family: var(--f-ui); font-weight: 700; font-size: .7rem; letter-spacing: .24em; color: #d6e6f3; animation: fade .6s 1.2s both; }

/* Page transition: ledger shutters */
.ptr { position: fixed; inset: 0; z-index: 9500; pointer-events: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.ptr i { background: var(--navy); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-io); }
.ptr i:nth-child(2) { transition-delay: .05s; } .ptr i:nth-child(3) { transition-delay: .1s; background: var(--blue); } .ptr i:nth-child(4) { transition-delay: .15s; background: var(--orange); }
.ptr.out i { transform: scaleY(1); }
.ptr.in i { transform: scaleY(1); transition: none; transform-origin: bottom; }
.ptr.in.go i { transform: scaleY(0); transition: transform .55s var(--ease-io); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-rv], .tw .w > span, .hero [data-hi], .reveal, .reveal img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .ptr { display: none; }
  .tape__t { animation: none; }
}
