/* Hero reel: the canvas stage, the player bar and the hand-off to the resting hero. */
.reel-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.hero:not(.reel-on) .reel-canvas{display:none}

/* Before the reel script takes over, keep the hero empty so nothing flashes in and out. */
.reel-intro .hero .hero-art,.reel-intro .hero #particles,.reel-intro .hero .hero-heading>*,.reel-intro .hero .spark,.reel-intro .hero .spark-caption,.reel-intro .hero .hero-bottom,.reel-intro .hero .hero-edge{opacity:0!important;animation:none!important}

/* Once the reel has run, it replaces the old entrance animations for good. */
.js-motion .hero.reel-armed .hero-art,.js-motion .hero.reel-armed .hero-heading .eyebrow,.js-motion .hero.reel-armed .hero-heading h1,.js-motion .hero.reel-armed .hero-heading>p,.js-motion .hero.reel-armed .hero-bottom{animation:none}
.hero.reel-on .hero-art{transform:none!important;transition:none}
.hero.reel-on .spark{animation:none}
.hero.reel-on .hero-bottom .button{transition:none}

/* Player bar: sits exactly where the hero edge strip lives. */
.reel-hud{position:absolute;left:4.5%;right:4.5%;bottom:0;height:60px;z-index:6;display:flex;align-items:center;gap:24px;border-top:1px solid #73568729;font-family:'DM Sans',sans-serif;font-size:9px;font-weight:500;letter-spacing:1.6px;text-transform:uppercase;color:#6f6179}
.reel-hud[hidden]{display:none}
.reel-btn{border:0;background:none;padding:6px 0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;display:inline-flex;align-items:center;gap:9px;white-space:nowrap;cursor:pointer}
.reel-btn:hover{color:#6b4883}
.reel-btn:focus-visible,.reel-scrub:focus-visible{outline:2px solid #335bd5;outline-offset:4px}
.reel-toggle{width:30px;height:30px;padding:0;justify-content:center;border:1px solid #cdbbda;border-radius:50%;flex:none;transition:border-color .2s,background .2s}
.reel-toggle:hover{border-color:#6b4883;background:#6b48830d}
.reel-icon{display:block;width:8px;height:9px;border-left:2px solid currentColor;border-right:2px solid currentColor;box-sizing:border-box}
.reel-toggle[data-state=paused] .reel-icon{width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent currentColor;margin-left:2px}
.reel-meta{display:flex;gap:12px;align-items:baseline;white-space:nowrap;min-width:128px}
.reel-meta b{font-weight:600;color:#6b4883}
.reel-rail{position:relative;flex:1;min-width:60px;height:30px;display:flex;align-items:center}
.reel-rail:before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:#d9cde2}
.reel-fill{position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:linear-gradient(90deg,#b69b71,#6b4883 55%,#4b81c4);transform-origin:left;transform:scaleX(var(--reel-p,0))}
.reel-tick{position:absolute;top:calc(50% - 4px);width:1px;height:8px;background:#bba8ca;pointer-events:none}
.reel-tick:after{content:attr(data-label);position:absolute;bottom:13px;left:0;transform:translateX(-50%);font-style:normal;font-size:8px;letter-spacing:1.2px;color:#8b7898;white-space:nowrap;opacity:0;transition:opacity .25s}
.reel-tick.alt:after{bottom:24px}
.reel-rail:hover .reel-tick:after,.reel-scrub:focus-visible~.reel-tick:after{opacity:1}
.reel-scrub{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;-webkit-appearance:none;appearance:none;cursor:pointer;z-index:1}
.reel-scrub::-webkit-slider-runnable-track{height:30px;background:none}
.reel-scrub::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:11px;height:11px;margin-top:9.5px;border-radius:50%;background:#6b4883;border:2px solid #f8f7f2;box-shadow:0 0 0 1px #6b4883}
.reel-scrub::-moz-range-track{height:30px;background:none}
.reel-scrub::-moz-range-thumb{width:8px;height:8px;border-radius:50%;background:#6b4883;border:2px solid #f8f7f2;box-shadow:0 0 0 1px #6b4883}
.reel-tc{white-space:nowrap;letter-spacing:1px;font-variant-numeric:tabular-nums;color:#4d3f58}
.reel-total{color:#a092ab}
.reel-sound .sound-bars{margin:0;font-size:8px;letter-spacing:0;color:#566f95}
.reel-skip span{font-size:12px;letter-spacing:0}

/* Click here: browsers only play sound after a click, tap or key press, so when they would hold it back the reel waits on its first point for that click and starts with its soundtrack. */
.reel-start{position:absolute;inset:0;z-index:7;cursor:pointer;-webkit-tap-highlight-color:transparent}
.start-btn{position:absolute;left:var(--gx,50%);top:var(--gy,50%);transform:translate(-50%,-40px);display:flex;flex-direction:column;align-items:center;gap:14px;padding:0 10px 8px;border:0;border-radius:4px;background:none;color:#6b4883;font:inherit;cursor:pointer}
.start-btn:focus-visible{outline:2px solid #335bd5;outline-offset:6px}
.start-point{position:relative;display:block;width:80px;height:80px}
.start-point:before{content:'';position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#6b4883;box-shadow:0 0 0 8px #9573ad17,0 0 38px 12px #9573ad3d;animation:start-breathe 2.6s ease-in-out infinite;transition:transform .35s cubic-bezier(.16,1,.3,1)}
.start-point i{position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:1px solid #6b4883;border-radius:50%;opacity:0;animation:start-ring 3.2s cubic-bezier(.16,1,.3,1) infinite}
.start-point i+i{animation-delay:1.6s}
@keyframes start-ring{0%{transform:scale(.5);opacity:0}10%{opacity:.5}100%{transform:scale(6.5);opacity:0}}
@keyframes start-breathe{50%{transform:scale(1.18)}}
.start-label{display:inline-flex;align-items:center;gap:11px;font:600 11px/1 'DM Sans',sans-serif;letter-spacing:3px;text-transform:uppercase;white-space:nowrap;transition:letter-spacing .35s cubic-bezier(.16,1,.3,1),opacity .25s,transform .35s;animation:start-in .9s cubic-bezier(.16,1,.3,1) .3s backwards}
@keyframes start-in{from{opacity:0;transform:translateY(8px)}}
.start-bars{display:inline-flex;align-items:flex-end;gap:2px;height:11px}
.start-bars i{width:2px;height:100%;border-radius:1px;background:currentColor;transform-origin:50% 100%;animation:start-eq 1.2s ease-in-out infinite}
.start-bars i:nth-child(1){animation-delay:-.2s}.start-bars i:nth-child(2){animation-delay:-.7s}.start-bars i:nth-child(3){animation-delay:-.45s}.start-bars i:nth-child(4){animation-delay:-.95s}
@keyframes start-eq{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
.reel-start:hover .start-point:before,.start-btn:focus-visible .start-point:before{animation:none;transform:scale(1.5)}
.reel-start:hover .start-label{letter-spacing:3.6px}
.reel-start.is-go{pointer-events:none;cursor:default}
.reel-start.is-go .start-label{animation:none;opacity:0;transform:translateY(6px)}
.reel-start.is-go .start-point:before{animation:start-go .55s cubic-bezier(.16,1,.3,1) forwards}
.reel-start.is-go .start-point i{animation:none;opacity:0}
.reel-start.is-go .start-point i:first-child{animation:start-burst .8s cubic-bezier(.16,1,.3,1) forwards}
@keyframes start-go{0%{transform:scale(1.5)}35%{transform:scale(2.3);opacity:1}100%{transform:scale(.25);opacity:0}}
@keyframes start-burst{0%{transform:scale(1);opacity:.7}100%{transform:scale(9);opacity:0}}
.reel-hud.is-arriving{animation:reel-hud-in .8s cubic-bezier(.16,1,.3,1)}
@keyframes reel-hud-in{from{opacity:0;transform:translateY(10px)}}

@media(max-width:1000px){.reel-hud{gap:16px}.reel-meta{min-width:0}}
@media(max-width:700px){.reel-hud{left:6%;right:6%;height:57px;gap:12px;font-size:8px;letter-spacing:1.1px}.reel-meta,.reel-total,.reel-sound-label,.reel-tick:after{display:none}.reel-sound{padding:6px 2px}}
@media(prefers-reduced-motion:reduce){.reel-toggle,.reel-tick:after{transition:none}.start-point:before,.start-point i,.start-bars i,.start-label,.reel-hud.is-arriving{animation:none}}
