/* the loading screen (index.html): the OG Vegy mark and tagline while the site starts */
#og-splash { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #ffffff; transition: opacity .45s ease, visibility .45s ease; }
html.dark #og-splash { background: #0b1120; }
#og-splash.og-hide { opacity: 0; visibility: hidden; }
.og-splash-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.og-splash-inner img { width: min(180px, 46vw); height: auto; animation: og-breathe 1.6s ease-in-out infinite; }
html.dark .og-splash-inner img { content: url(/brand/og-vegy-mark-dark.svg); }
.og-splash-tag { margin-top: -8px; font: italic 600 17px/1.3 Georgia, 'Times New Roman', serif; color: #15803d; }
.og-splash-tag.hi, html[lang='hi'] .og-splash-tag.en { display: none; }
html[lang='hi'] .og-splash-tag.hi { display: inline; font-style: normal; }
html.dark .og-splash-tag { color: #4ade80; }
.og-splash-bar { width: 96px; height: 3px; border-radius: 3px; background: rgba(22, 163, 74, .15); overflow: hidden; }
.og-splash-bar span { display: block; width: 40%; height: 100%; border-radius: 3px; background: #16a34a; animation: og-slide 1.1s ease-in-out infinite; }
@keyframes og-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes og-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .og-splash-inner img, .og-splash-bar span { animation: none; } }
