/* Bârgău.ro · intro 3 secunde. Fara dependente externe. */
html.bg-intro-active { background: #000 !important; }
html.bg-intro-active body { overflow: hidden !important; }
#bg-site-intro {
  position: fixed; inset: 0; z-index: 2147483000; display: none;
  align-items: center; justify-content: center; background: #000;
  padding: 24px; box-sizing: border-box; text-align: center;
  opacity: 1; transition: opacity .38s ease; isolation: isolate;
}
html.bg-intro-active #bg-site-intro { display: flex; }
html.bg-intro-leaving #bg-site-intro { opacity: 0; pointer-events: none; }
.bg-intro-identity {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; width: 100%; max-width: 1100px;
  animation: bg-intro-appear .6s cubic-bezier(.22,1,.36,1) both;
}
.bg-intro-logo { display: block; max-width: min(92vw, 1080px); max-height: min(65dvh, 620px); width: auto; height: auto; object-fit: contain; }
.bg-intro-fallback { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #f4f4f1; }
.bg-intro-mark { display: block; width: 116px; height: 116px; color: #d4dce0; }
.bg-intro-wordmark { font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-size: clamp(38px, 8vw, 68px); font-weight: 750; letter-spacing: -.055em; line-height: 1.12; white-space: nowrap; }
.bg-intro-wordmark span { color: #dcbf83; }
@keyframes bg-intro-appear { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  #bg-site-intro { transition: none; }
  .bg-intro-identity { animation: none; }
}
