/* Phase 2II - animated Sarimanok illustration, ONLY on Public Portal Home. */
body[data-prism-public-view="HOME"] .intro{isolation:isolate;min-height:388px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;overflow:hidden;background:radial-gradient(ellipse at 76% 49%,#b82b3452,transparent 60%),linear-gradient(120deg,#560716,#940d27 55%,#510816);}
body[data-prism-public-view="HOME"] .intro .heroCopy{z-index:4;max-width:680px;position:relative;}
body[data-prism-public-view="HOME"] .intro .heroCopy h2{font-size:clamp(36px,3.75vw,63px);line-height:1.05;max-width:540px;text-shadow:0 5px 12px #2d00115c;}
body[data-prism-public-view="HOME"] .intro .heroCopy > p:not(.overline){max-width:610px;}
body[data-prism-public-view="HOME"] .intro .prismSarimanokStage{
  position:relative!important;inset:auto!important;display:block!important;height:405px;min-width:0;z-index:2!important;overflow:visible!important;pointer-events:none;
}
body[data-prism-public-view="HOME"] .prismSarimanokFigure{
  position:absolute;display:block;width:min(110%,960px);max-width:none;height:112%;object-fit:contain;
  right:-4%;top:-7%;transform-origin:53% 49%;filter:drop-shadow(0 5px 12px #24020e66) drop-shadow(0 0 18px #ffac583d);
  animation:prismSarimanokFlight 8s ease-in-out infinite;
}
body[data-prism-public-view="HOME"] .prismSarimanokTailEcho{
  position:absolute;display:block!important;max-width:none;width:82%;height:90%;object-fit:contain;left:-23%;bottom:-23%;opacity:.46;
  transform-origin:65% 60%;filter:saturate(1.15) brightness(1.25);
  animation:prismSarimanokTrailFlow 12s ease-in-out infinite alternate;
}
body[data-prism-public-view="HOME"] .prismSarimanokStage:before{
  content:"";position:absolute;inset:8% -8% 12% -16%;z-index:-1;
  background:radial-gradient(ellipse at 52% 47%,#ffbe5760,transparent 50%),radial-gradient(ellipse at 76% 60%,#e241b055,transparent 44%);
  filter:blur(22px);animation:prismSarimanokAmbient 7s ease-in-out infinite alternate;
}
body[data-prism-public-view="HOME"] .prismSarimanokTrails{position:absolute;inset:4% -8% -5% -18%;width:120%;height:100%;z-index:3;overflow:visible;mix-blend-mode:screen;opacity:.75;}
body[data-prism-public-view="HOME"] .prismSarimanokTrails path{fill:none;stroke:url(#sarimanokGoldTrail);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:35 70 160;animation:prismSarimanokTrace 11s linear infinite;}
body[data-prism-public-view="HOME"] .prismSarimanokTrails .sarimanokTrailB{stroke-width:1.4;opacity:.6;animation-duration:14s;animation-direction:reverse;}
body[data-prism-public-view="HOME"] .prismSarimanokLight{position:absolute;inset:0;z-index:4;}
body[data-prism-public-view="HOME"] .prismSarimanokLight i{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff9c2;box-shadow:0 0 5px 2px #fff6b8,0 0 15px 4px #ffd466;opacity:0;animation:prismSarimanokGlitter 5.8s ease-in-out infinite;}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(1){left:23%;top:26%;animation-delay:-.3s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(2){left:56%;top:14%;animation-delay:-3.1s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(3){left:74%;top:29%;animation-delay:-1.8s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(4){left:39%;top:63%;animation-delay:-4.2s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(5){left:91%;top:72%;animation-delay:-2.2s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(6){left:65%;top:82%;animation-delay:-5s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(7){left:13%;top:75%;animation-delay:-2.9s}
body[data-prism-public-view="HOME"] .prismSarimanokLight i:nth-child(8){left:85%;top:42%;animation-delay:-1.1s}
@keyframes prismSarimanokFlight{0%,100%{transform:translate3d(0,4px,0) rotate(-.55deg) scale(.995)}50%{transform:translate3d(3px,-9px,0) rotate(.7deg) scale(1.008)}}
@keyframes prismSarimanokTrailFlow{0%{transform:translate3d(-9px,2px,0) rotate(-1.5deg) scale(.99)}100%{transform:translate3d(13px,-6px,0) rotate(2deg) scale(1.02)}}
@keyframes prismSarimanokAmbient{to{opacity:.58;transform:scale(1.07)}}
@keyframes prismSarimanokTrace{to{stroke-dashoffset:-530}}
@keyframes prismSarimanokGlitter{0%,38%,100%{opacity:0;transform:scale(.3) rotate(0)}45%,50%{opacity:.95;transform:scale(1.2) rotate(40deg)}61%{opacity:0;transform:scale(.4) rotate(90deg)}}
/* Non-Home screens preserve the existing Home-only hero hiding and start directly at their content. */
body:not([data-prism-public-view="HOME"]) .prismSarimanokStage{display:none!important}
@media(max-width:980px){body[data-prism-public-view="HOME"] .intro{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);min-height:340px;padding:22px;}body[data-prism-public-view="HOME"] .intro .prismSarimanokStage{height:330px}body[data-prism-public-view="HOME"] .intro h2{font-size:clamp(32px,4.4vw,46px)}}
@media(max-width:650px){body[data-prism-public-view="HOME"] .intro{grid-template-columns:minmax(0,1fr);min-height:0;display:block;padding:25px 20px 18px}body[data-prism-public-view="HOME"] .intro .heroCopy{z-index:4}body[data-prism-public-view="HOME"] .intro .prismSarimanokStage{height:260px;margin-top:4px}body[data-prism-public-view="HOME"] .prismSarimanokFigure{width:110%;height:118%;right:-6%;top:-7%}body[data-prism-public-view="HOME"] .prismSarimanokTailEcho{width:75%;left:-9%}body[data-prism-public-view="HOME"] .intro .heroCopy h2{font-size:clamp(33px,8vw,45px)}}
@media(prefers-reduced-motion:reduce){body[data-prism-public-view="HOME"] :is(.prismSarimanokFigure,.prismSarimanokTailEcho,.prismSarimanokStage:before,.prismSarimanokTrails path,.prismSarimanokLight i){animation:none!important}body[data-prism-public-view="HOME"] .prismSarimanokLight i{opacity:0!important}}
/* Final specificity pass: legacy Heritage CSS marked the old 280px art frame !important. */
body[data-prism-public-view="HOME"] main .intro{
 min-height:420px!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:12px!important;padding:20px 32px 22px!important;
}
body[data-prism-public-view="HOME"] main .intro > .heroCopy{max-width:100%!important;align-self:center!important;}
body[data-prism-public-view="HOME"] main .intro .heroArtFrame.prismPortalFeatherStage.prismSarimanokStage{
 width:100%!important;height:412px!important;min-height:0!important;max-width:none!important;display:block!important;
 margin:0!important;right:auto!important;left:auto!important;opacity:1!important;overflow:visible!important;
}
body[data-prism-public-view="HOME"] main .intro .prismSarimanokFigure{
 width:113%!important;height:110%!important;max-width:none!important;right:-6%!important;top:-4%!important;object-fit:contain!important;
}
body[data-prism-public-view="HOME"] main .intro .prismSarimanokTailEcho{
 width:85%!important;height:93%!important;max-width:none!important;left:-29%!important;bottom:-16%!important;opacity:.47!important;
}
body[data-prism-public-view="HOME"] main .intro .heroRibbon{display:none!important;}
@media(max-width:1000px){body[data-prism-public-view="HOME"] main .intro{min-height:360px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:18px 23px!important;}body[data-prism-public-view="HOME"] main .intro .heroArtFrame.prismPortalFeatherStage.prismSarimanokStage{height:330px!important;}}
@media(max-width:650px){body[data-prism-public-view="HOME"] main .intro{min-height:0!important;display:block!important;grid-template-columns:none!important;padding:24px 18px 16px!important;}body[data-prism-public-view="HOME"] main .intro .heroArtFrame.prismPortalFeatherStage.prismSarimanokStage{width:100%!important;height:260px!important;margin:8px 0 0!important;opacity:1!important;}body[data-prism-public-view="HOME"] main .intro > .heroCopy{max-width:100%!important;}}
