/* Chris Pawlus — Hero Reel. Set the reel's shape with aspect-ratio; it reframes itself to keep Chris's head clear. */
.cp-reel{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;overflow:hidden;background:#0C0D0F;isolation:isolate}
@media (max-width:640px){.cp-reel{aspect-ratio:4/5}}
.cp-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.8s ease-in-out}
.cp-slide.on{opacity:1}
.cp-slide img,.cp-slide canvas{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;will-change:transform}
.cp-soft{filter:var(--soft-f,none)}
.cp-ht{opacity:var(--ht-op,0);filter:var(--ht-f,none)}
.cp-sharp{-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.cp-vig{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,transparent 45%,rgba(0,0,0,.9) 100%);opacity:var(--vig,0)}
@media (prefers-reduced-motion:reduce){.cp-slide{transition-duration:.6s}}
/* Homepage band (chrispawlus.com) */
.cp-reel-band{position:relative;padding:0 24px 56px;max-width:1440px;margin:0 auto}
.cp-reel-band .cp-reel{border:1px solid rgba(237,233,227,.08)}
.cp-reel-cap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(237,233,227,.55)}
.cp-reel-cap b{color:#C6EF4B;font-weight:500}
@media (max-width:640px){.cp-reel-band{padding:0 16px 40px}}

/* Hero placement: replaces the engraved headshot under the animated title */
.cp-reel.cp-reel-hero{width:clamp(300px,46vw,680px);margin:28px auto 0;border:1px solid rgba(237,233,227,.1);opacity:0;animation:cpReelIn .9s ease .62s forwards}
@keyframes cpReelIn{to{opacity:1}}
@media (max-width:640px){.cp-reel.cp-reel-hero{width:min(82vw,360px)}}
@media (prefers-reduced-motion:reduce){.cp-reel.cp-reel-hero{opacity:1;animation:none}}
