/* Halloween additions are scoped to the seasonal hero and video dialog. */
.home-hero.jh-halloween-hero{position:relative;isolation:isolate;grid-template-columns:minmax(0,1.42fr) minmax(335px,.9fr);gap:2rem;overflow-x:clip;overflow-y:visible}
.jh-halloween-hero>.hero-copy,.jh-halloween-hero>.hero-aside{position:relative;z-index:1;min-width:0}
.jh-halloween-decor{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.jh-halloween-decor img{position:absolute;pointer-events:none;user-select:none}
.jh-halloween-web{top:0;width:80px;height:80px;opacity:.53}
.jh-halloween-web--left{left:0}
.jh-halloween-hero .hero-jackhammers{color:#bd2026}
.jh-halloween-web--right{right:0;transform:scaleX(-1);width:150px;height:150px;opacity:.53}
.jh-halloween-spider{left:21px;top:12px;width:21px;height:85px;opacity:.85}
.jh-halloween-hero>.jh-halloween-scene{display:block;text-align:center}
.jh-halloween-scene-row{--danger-size:91px;--danger-slot:70px;--danger-inset:0px;--danger-ground:6px;--danger-tuck:30px;display:flex;justify-content:center;align-items:flex-end;gap:0;min-width:0}
.jh-halloween-stage{--mascot-height:255px;position:relative;flex:0 0 calc(var(--mascot-height)*1.08);width:calc(var(--mascot-height)*1.08);height:calc(var(--mascot-height)*1.08);isolation:isolate}
.jh-halloween-stage>.home-mascot{--mascot-height:255px;position:absolute;left:50%;bottom:0;width:calc(var(--mascot-height)*527/600);transform:translateX(-50%);z-index:2}
.jh-halloween-stage>.home-mascot>button[data-jh-mascot="12"]{display:block;width:100%}
.jh-halloween-stage>.home-mascot>button[data-jh-mascot="12"]>[data-jh-mascot-art]{height:var(--mascot-height);width:100%;max-width:none}
.jh-halloween-stage>img{position:absolute;display:block;pointer-events:none;user-select:none;max-width:none}
.jh-halloween-cape{width:calc(var(--mascot-height)*1.13);left:54%;top:calc(var(--mascot-height)*.23);transform:translateX(-50%);z-index:1}
.jh-halloween-bow{width:calc(var(--mascot-height)*.19);left:53.5%;top:calc(var(--mascot-height)*.565);transform:translateX(-50%);z-index:3}
.jh-halloween-pumpkin{width:calc(var(--mascot-height)*.26);right:calc(var(--mascot-height)*-.09);bottom:calc(var(--mascot-height)*.005);z-index:3}
.jh-halloween-pumpkin--lit{opacity:0;transition:opacity .22s ease;filter:drop-shadow(0 0 6px #ffaf426b) drop-shadow(0 0 13px #ff9b292e)}
.jh-halloween-stage.is-pumpkin-lit>.jh-halloween-pumpkin--lit{opacity:1}
.jh-halloween-pumpkin-status,.jh-halloween-animation-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Retain the original foot anchor while the selected artwork grows upward and left. */
.jh-halloween-danger{position:relative;z-index:9;flex:0 0 var(--danger-slot);width:var(--danger-slot);height:1px;margin:0 calc(var(--danger-tuck)*-1) var(--danger-ground) 0}
.jh-halloween-video-trigger{position:absolute;right:var(--danger-inset);bottom:0;display:grid;place-items:end center;width:var(--danger-size);min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:7px;background:transparent;box-shadow:none;line-height:0;cursor:pointer;transition:transform .15s}
.jh-halloween-video-trigger:hover{background:transparent;box-shadow:none;transform:translateY(-1px)}
.jh-halloween-video-trigger:active{transform:translateY(1px)}
.jh-halloween-video-trigger:focus-visible{outline:3px solid #164f8b;outline-offset:5px}
.jh-halloween-video-trigger>img{display:block;width:var(--danger-size);height:auto;pointer-events:none;user-select:none}
.jh-halloween-danger-caption{position:absolute;top:calc(100% + 6px);right:calc((var(--danger-size) - 128px)/2);width:128px;display:grid;gap:2px;text-align:center;white-space:nowrap;pointer-events:auto;font-family:var(--heading,Impact,"Arial Narrow",Arial,sans-serif);font-weight:400;line-height:1.15;letter-spacing:.035em;color:#171b1e}
.jh-halloween-danger-caption>span:first-child{font-size:18px;color:#bd2026;letter-spacing:.065em}
.jh-halloween-danger-caption>[data-halloween-danger-message]{font-size:14px}
.jh-halloween-inline{position:absolute;inset:calc(var(--mascot-height)*-.14) calc(var(--mascot-height)*-.11) 0 calc(var(--mascot-height)*-.035);overflow:hidden;z-index:4;pointer-events:none}
/* Verified transparent bats can leave the idle frame; only the hero's outer horizontal edge clips them. */
.jh-halloween-stage.is-inline-playing[data-inline-format="webm-alpha"]>.jh-halloween-inline,.jh-halloween-stage.is-inline-playing[data-inline-format="hevc-alpha"]>.jh-halloween-inline{overflow:visible}
.jh-halloween-inline>video{position:absolute;display:block;width:calc(var(--mascot-height)*var(--jh-inline-width,1.896296));height:calc(var(--mascot-height)*var(--jh-inline-height,1.896296));left:calc(var(--mascot-height)*var(--jh-inline-left,-.373148));bottom:calc(var(--mascot-height)*var(--jh-inline-bottom,-.414815));max-width:none;object-fit:fill;background:transparent;opacity:0;pointer-events:none}
.jh-halloween-stage.is-inline-playing>.jh-halloween-inline>video{opacity:1}
.jh-halloween-stage.is-inline-playing>.home-mascot,.jh-halloween-stage.is-inline-playing>.jh-halloween-cape,.jh-halloween-stage.is-inline-playing>.jh-halloween-bow{visibility:hidden}
.jh-halloween-stage>.jh-halloween-pumpkin{z-index:6}
.jh-halloween-inline[hidden]{display:none!important}
.jh-halloween-scene>.hero-caption{margin-top:48px;font-size:1.12rem;gap:10px}
.jh-halloween-stage>.home-mascot>.jh-mascot-bubble{top:-18px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;max-width:none;z-index:5}
.jh-halloween-dialog{width:min(860px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:1px solid #47424b;border-top:5px solid #ffdb38;border-radius:8px;background:#fff;box-shadow:0 24px 100px #100b1b66}
.jh-halloween-dialog::backdrop{background:#111019c9}
.jh-halloween-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px 18px}
.jh-halloween-dialog-heading .eyebrow{font-size:11px;letter-spacing:.12em;margin-bottom:7px}
.jh-halloween-dialog-heading h2{font-size:28px;margin:0}
.jh-halloween-dialog-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #dce0e4;border-radius:50%;background:#fff;color:#171b1e}
.jh-halloween-dialog-close:hover{background:#fff7ce}
.jh-halloween-dialog video{display:block;width:100%;aspect-ratio:16/9;background:#f8f6fa}
.jh-halloween-dialog [role=status]{min-height:23px;margin:0;padding:13px 26px 15px;color:#56616b;font:13px/1.5 Arial,Helvetica,sans-serif}
@media(max-width:1100px){.home-hero.jh-halloween-hero{grid-template-columns:minmax(0,1.3fr) minmax(315px,1fr);gap:1.5rem}.jh-halloween-stage,.jh-halloween-stage>.home-mascot{--mascot-height:210px}.jh-halloween-scene-row{--danger-size:75.4px;--danger-slot:58px;--danger-ground:5px;--danger-tuck:24px;gap:0}.jh-halloween-web--right{width:120px;height:120px}}
@media(max-width:760px){.home-hero.jh-halloween-hero{grid-template-columns:1fr;padding:1.5rem 1.15rem 1.4rem;gap:15px}.jh-halloween-hero>.hero-aside{display:block;grid-row:auto;margin:0}.jh-halloween-stage,.jh-halloween-stage>.home-mascot{--mascot-height:125px}.jh-halloween-scene-row{--danger-size:49.4px;--danger-slot:44px;--danger-inset:3px;--danger-ground:3px;--danger-tuck:12px;gap:0;justify-content:center}.jh-halloween-scene>.hero-caption{font-size:1rem;margin-top:48px}.jh-halloween-web{width:38px;height:38px;opacity:.38}.jh-halloween-web--right{width:66px;height:66px;opacity:.4}.jh-halloween-spider{display:none}.jh-halloween-hero .mobile-hero-mascot{display:none!important}.jh-halloween-dialog-heading{padding:18px}.jh-halloween-dialog-heading h2{font-size:24px}.jh-halloween-dialog [role=status]{padding-inline:18px}.jh-halloween-stage>.home-mascot>.jh-mascot-bubble{white-space:normal;width:140px}}
@media(prefers-reduced-motion:reduce){.jh-halloween-video-trigger,.jh-halloween-pumpkin--lit{transition:none}}
