/* ELARIS — Primary hero art (primary-page.css): a 3D open book with floating subjects */
.pr-scene { position: relative; width: min(500px, 100%); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; }
.pr-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(11, 138, 150, .22), transparent 66%); }
.pr-book { position: relative; width: 340px; height: 230px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-16deg) translateZ(-10px); }
.pr-base { position: absolute; inset: -14px -16px; border-radius: 16px; background: linear-gradient(135deg, #0b8a96, #075e67); transform: translateZ(-8px); box-shadow: 0 50px 60px -20px rgba(0, 41, 107, .55); }
.pr-pg { position: absolute; top: 0; width: 50%; height: 100%; background: linear-gradient(90deg, #fff, #f1f6fb); display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; }
.pr-l { left: 0; border-radius: 12px 0 0 12px; background: linear-gradient(90deg, #f1f6fb, #fff 20%); } .pr-r { right: 0; border-radius: 0 12px 12px 0; }
.pr-pg span, .pr-leaf span { display: block; height: 7px; border-radius: 6px; background: #cfdceb; }
.pr-pg span:nth-child(1) { width: 60%; background: #0b8a96; } .pr-pg span:nth-child(3) { width: 80%; } .pr-pg span:nth-child(4) { width: 50%; }
.pr-leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; border-radius: 0 12px 12px 0; background: linear-gradient(90deg, #e9f0f8, #fff 30%); display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; backface-visibility: visible; animation: pr-flip 7s ease-in-out infinite; box-shadow: 0 0 18px rgba(0, 41, 107, .18); }
.pr-leaf2 { animation-delay: -3.5s; }
@keyframes pr-flip { 0% { transform: rotateY(0) translateZ(1px); } 40% { transform: rotateY(-178deg) translateZ(1px); } 50%, 100% { transform: rotateY(-178deg) translateZ(1px); opacity: 0; } 51% { opacity: 0; transform: rotateY(0) translateZ(1px); } 60% { opacity: 1; } }
.pr-orb { position: absolute; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font: 800 18px/1 var(--font-heading); color: #fff; background: radial-gradient(circle at 32% 28%, #7be0e8, #0b8a96 60%, #075e67); box-shadow: 0 22px 36px -14px rgba(11, 138, 150, .7); animation: pr-bob 6s ease-in-out infinite; }
.pr-orb.o1 { left: 6%; top: 14%; } .pr-orb.o2 { right: 6%; top: 8%; animation-delay: -1.5s; background: radial-gradient(circle at 32% 28%, #ffe27a, #fdc500 60%, #d49f00); color: #00296b; box-shadow: 0 22px 36px -14px rgba(224, 168, 0, .7); }
.pr-orb.o3 { left: 2%; bottom: 18%; animation-delay: -3s; background: radial-gradient(circle at 32% 28%, #a9bdf5, #4a5fd1 60%, #34439a); } .pr-orb.o4 { right: 4%; bottom: 14%; animation-delay: -4.5s; background: radial-gradient(circle at 32% 28%, #f0b9c2, #d0364f 60%, #9d2339); }
@keyframes pr-bob { 50% { margin-top: -14px; } }
@media (max-width: 820px) { .pr-scene { width: min(340px, 100%); } .pr-book { width: 240px; height: 164px; } .pr-pg, .pr-leaf { padding: 18px 16px; gap: 9px; } .pr-orb { width: 54px; height: 54px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .pr-leaf, .pr-orb { animation: none; } }
