.olinia-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; min-height: 100svh; padding: 32px 24px; color: #373737;
  background: #ecede8; text-align: center; font-family: 'Inter', system-ui, sans-serif;
}
#olinia-startup {
  position: fixed;
  inset: 0;
  z-index: 50;
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
#olinia-startup.olinia-startup-exit {
  opacity: 0;
  transform: translateY(-8px) scale(1.01);
  pointer-events: none;
}
.olinia-loading-signature {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: 240px;
}
.olinia-loading-mark-stage {
  position: relative;
  width: 144px;
  aspect-ratio: 1042.39 / 681.97;
}
.olinia-loading-mark-stage::before {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 59, 29, 0.2) 0%, rgba(216, 59, 29, 0.06) 50%, transparent 72%);
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
  animation: olinia-glow-reveal 750ms 1050ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.olinia-loading-vector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.olinia-vector-body {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: olinia-draw-body 1300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.olinia-vector-ear {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: olinia-draw-ear 750ms 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.olinia-loading-emblem {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1042.39 / 681.97;
  background-color: #d83b1d;
  -webkit-mask: url('brand/emblem-black.svg') center / contain no-repeat;
  mask: url('brand/emblem-black.svg') center / contain no-repeat;
  animation: olinia-emblem-fill 600ms 1050ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.olinia-loading img { display: block; object-fit: contain; max-width: 100%; }
.olinia-loading p { max-width: 36rem; margin: 0; font-size: 16px; line-height: 1.5; }
.olinia-loading:not(.olinia-loading-failed) .olinia-loading-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.olinia-loading-title { max-width: 36rem; font-size: clamp(28px, 5vw, 40px); line-height: 1.2; letter-spacing: 0; }
.olinia-loading-action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid #373737; border-radius: 0; color: #373737; background: transparent; font: inherit; text-decoration: none; cursor: pointer; }
.olinia-loading-action:hover { color: #fff; background: #373737; }
.olinia-loading-action:focus-visible { outline: 2px solid #82190b; outline-offset: 4px; }
.olinia-loading-action[hidden] { display: none; }

@keyframes olinia-draw-body {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}
@keyframes olinia-draw-ear {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}
@keyframes olinia-emblem-fill {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes olinia-glow-reveal {
  0% { opacity: 0; transform: scale(0.88); }
  60% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 0.75; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  #olinia-startup { transition: none !important; }
  .olinia-loading-mark-stage::before { display: none !important; }
  .olinia-loading-vector { display: none !important; }
  .olinia-loading-emblem { opacity: 1 !important; transform: none !important; animation: none !important; }
}
.olinia-loading-failed .olinia-loading-signature { display: none; }
