/* Laadscherm. Bewust een eigen bestand: de CSP (style-src 'self') blokkeert inline <style>. */
:root { color-scheme: light; }
html, body { margin: 0; background: #EDF5F2; color: #10262B; }
.boot.splash { display: grid; place-items: center; position: fixed; inset: 0; background: #EDF5F2; z-index: 100; overflow: hidden; }
.splash-in { display: block; position: relative; width: min(62vw, 256px); transform-origin: 50% 50%; animation: splash-grow 2.5s cubic-bezier(.25,.6,.3,1) backwards; }
.splash-in img { display: block; width: 100%; height: auto; }
/* Glans: een lichtstreep die over logo en naam glijdt, alleen binnen de vorm van het plaatje. */
.splash-in::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(/assets/intro.png) center / 100% 100% no-repeat; mask: url(/assets/intro.png) center / 100% 100% no-repeat;
  background: linear-gradient(108deg, transparent 42%, rgba(255,255,255,.18) 47%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.18) 53%, transparent 58%) 100% 0 / 300% 100% no-repeat;
  visibility: hidden; animation: splash-shine 1.2s cubic-bezier(.4,0,.2,1) 2.5s; }
@keyframes splash-shine { from { visibility: visible; background-position: 100% 0; } to { visibility: visible; background-position: 0 0; } }
@keyframes splash-grow { from { transform: scale(.4); } to { transform: none; } }
.boot.splash.leaving { animation: splash-out .42s ease-in forwards; }
@keyframes splash-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .splash-in { animation: none; } .splash-in::after { display: none; } }
