.brand-loader {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  color: #292929; background: #fdfdfd; isolation: isolate;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  transition: opacity var(--loader-exit, 300ms) ease, visibility var(--loader-exit, 300ms);
  /* Independent escape hatch: even a stopped script cannot leave an opaque overlay. */
  animation: loader-safety 0s 3.4s forwards;
}
.brand-loader.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.brand-loader__composition { width: min(620px, calc(100vw - 48px)); text-align: center; transform: translateY(-3vh); }
.brand-loader__eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 28px; font-size: 11px; font-weight: 500; letter-spacing: .2em; color: #878b90; }
.brand-loader__eyebrow > i { width: 5px; height: 5px; background: #f10303; border-radius: 50%; }
.brand-loader__art { position: relative; width: 100%; aspect-ratio: 620 / 132; }
.brand-loader__art canvas { display: block; width: 100%; height: 100%; opacity: 0; }
.brand-loader.is-drawing canvas { opacity: 1; }
.brand-loader__art img { position: absolute; width: calc(100% - 24px); height: 100%; left: 12px; top: 0; object-fit: contain; opacity: .13; }
.brand-loader.is-drawing .brand-loader__art img { opacity: 0; }
.brand-loader__tagline { margin: 21px 0 0; font-size: 12px; font-weight: 400; letter-spacing: .24em; line-height: 1.6; color: #767b82; }
.brand-loader__status { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 52px; color: #737880; font-size: 13px; letter-spacing: .02em; }
.brand-loader__signal { height: 13px; display: inline-flex; align-items: center; gap: 3px; }
.brand-loader__signal i { width: 2px; height: 5px; border-radius: 2px; background: #f10303; animation: loader-signal 1.2s ease-in-out infinite; }
.brand-loader__signal i:nth-child(2) { height: 11px; animation-delay: .12s; }
.brand-loader__signal i:nth-child(3) { height: 7px; animation-delay: .24s; }
.brand-loader__edition { position: absolute; bottom: max(34px, env(safe-area-inset-bottom)); left: 40px; font-size: 10px; letter-spacing: .15em; color: #9a9ea3; }
.brand-loader__skip { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); right: 28px; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: #6a7078; font: inherit; font-size: 13px; cursor: pointer; }
.brand-loader__skip:hover { color: #f10303; }
.brand-loader__skip:focus-visible { outline: 2px solid #f10303; outline-offset: 2px; border-radius: 5px; }
@keyframes loader-signal { 0%, 100% { transform: scaleY(.65); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes loader-safety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (max-width: 600px) {
  .brand-loader__eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 20px; }
  .brand-loader__tagline { margin-top: 18px; font-size: 9px; letter-spacing: .17em; }
  .brand-loader__status { margin-top: 36px; font-size: 13px; }
  .brand-loader__edition { left: 24px; bottom: 33px; font-size: 8px; letter-spacing: .08em; }
  .brand-loader__skip { right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .brand-loader { display: none; } }
