/* Full-bleed Hallway-inspired hero. All rules scoped to the hero. */
.hallway-hero{--hh-bg:#08251a;--hh-light:#d7e3cc;--hh-ink:#fff;--hh-muted:#e3ebdf;position:relative;isolation:isolate;background:var(--hh-bg);color:#fff;scroll-margin-top:0}
.hallway-hero .hh-pin{position:relative;isolation:isolate;min-height:max(680px,100svh);display:grid;place-items:center;padding:112px 24px 106px;overflow:hidden;--hh-intro:1;--hh-outro:0;--hh-dark:.72;--hh-copy-y:0px}
.hallway-hero .hh-stage{position:absolute;inset:0;z-index:0;overflow:hidden;isolation:isolate;background:#a0aa96;--hh-camera:0px;--hh-scale:1;--hh-x:0px;--hh-y:0px;--hh-exit:0;pointer-events:none}
.hallway-hero .hh-scene{position:absolute;inset:0;perspective:var(--hh-perspective,720px);perspective-origin:calc(50% + var(--hh-x)) calc(50% + var(--hh-y));overflow:hidden;background:#82927e}
.hallway-hero .hh-room{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;transform:scale(var(--hh-scale)) translateZ(var(--hh-camera));will-change:transform}
.hallway-hero .hh-wall,.hallway-hero .hh-back{position:absolute;left:0;top:0;transform-style:preserve-3d;backface-visibility:visible}
.hallway-hero .hh-left,.hallway-hero .hh-right{width:2640px;height:520px;margin:-260px 0 0 -1320px;background:linear-gradient(90deg,#bac3b0,#e0e4d7 58%,#b1bfa9);box-shadow:inset 0 0 120px #314c354a}
.hallway-hero .hh-left{transform:translate3d(-340px,0,-620px) rotateY(90deg)}
.hallway-hero .hh-right{transform:translate3d(340px,0,-620px) rotateY(-90deg);background:linear-gradient(90deg,#a5b39e,#d7dfce 45%,#a0ac98)}
.hallway-hero .hh-floor,.hallway-hero .hh-ceiling{width:680px;height:2640px;margin:-1320px 0 0 -340px}
.hallway-hero .hh-floor{transform:translate3d(0,260px,-620px) rotateX(90deg);background:repeating-linear-gradient(90deg,transparent 0 112px,#263b2b20 113px 114px),linear-gradient(0deg,#9aab91,#d5d9c8 65%,#a0ad95)}
.hallway-hero .hh-ceiling{transform:translate3d(0,-260px,-620px) rotateX(-90deg);background:linear-gradient(0deg,#7f937c,#d0d7c5 55%,#b2c0aa)}
.hallway-hero .hh-back{width:680px;height:520px;margin:-260px 0 0 -340px;transform:translateZ(-1940px);background:radial-gradient(ellipse at 50% 63%,#dce7d2,#aebca6 75%);box-shadow:inset 0 0 45px #4054404a}
.hallway-hero .hh-door{position:absolute;left:50%;bottom:0;width:300px;height:416px;transform:translateX(-50%);border:16px solid #d5dec9;border-bottom:0;overflow:hidden;background:linear-gradient(135deg,#d8e6cb,#607e60);box-shadow:0 0 42px #f4ffe9a0,inset 0 0 32px #213f2e70}
.hallway-hero .hh-door img,.hallway-hero .hh-exit img{width:100%;height:100%;object-fit:cover;filter:saturate(.76)}
.hallway-hero .hh-door-light{position:absolute;inset:0;background:linear-gradient(180deg,#f5ffe72e,#0b271d55)}
.hallway-hero .hh-door>span{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#fff;font-size:19px;letter-spacing:.14em;font-weight:800;text-shadow:0 2px 12px #0a281a}
.hallway-hero .hh-door b{font-size:45px;line-height:1.2}
.hallway-hero .hh-frame{position:absolute;width:300px;height:225px;left:0;top:0;margin:-112.5px 0 0 -150px;backface-visibility:hidden;transform:translate3d(-329px,0,var(--depth)) rotateY(90deg);padding:8px;background:#f3f4e9;box-shadow:0 12px 23px #233c2c50;border:2px solid #74856c}
.hallway-hero .hh-frame--1,.hallway-hero .hh-frame--3,.hallway-hero .hh-frame--5{transform:translate3d(329px,0,var(--depth)) rotateY(-90deg)}
.hallway-hero .hh-art{position:relative;width:100%;height:100%;overflow:hidden;background:linear-gradient(135deg,#264635,#8ba38a);color:#fff}
.hallway-hero .hh-art-number{position:absolute;left:18px;top:14px;font-size:55px;font-weight:600;line-height:1;letter-spacing:-.07em;color:#e0eddb60}
.hallway-hero .hh-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hallway-hero .hh-art-caption{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;padding:28px 13px 12px;gap:3px;background:linear-gradient(transparent,#0a211be8);text-shadow:0 1px 8px #10251a}
.hallway-hero .hh-art-caption span{font-size:8px;letter-spacing:.14em;font-weight:700;color:#d7e3cc}
.hallway-hero .hh-art-caption strong{font-size:16px;line-height:1.15;font-weight:700}
.hallway-hero .hh-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 49%,transparent 29%,#102b1e18 69%,#071b1355 100%)}
.hallway-hero .hh-exit{position:absolute;inset:0;opacity:var(--hh-exit);pointer-events:none;background:linear-gradient(140deg,#789471,#0a291c);overflow:hidden}
.hallway-hero .hh-exit img{position:absolute;inset:0}
.hallway-hero .hh-exit::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#08251a38,#08251a08)}

.hallway-hero .hh-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(5,22,15,.62),transparent 23%,transparent 72%,rgba(5,22,15,.75)),radial-gradient(ellipse at 50% 50%,rgba(5,22,15,.55),transparent 76%),rgba(5,22,15,var(--hh-dark));}
.hallway-hero .hh-copy,.hallway-hero .hh-finale{position:relative;z-index:2;grid-area:1/1;text-align:center;max-width:960px;width:100%;margin:0 auto;align-self:center;justify-self:center;}
.hallway-hero .hh-copy{opacity:var(--hh-intro);transform:translateY(var(--hh-copy-y))}
.hallway-hero .hh-finale{opacity:var(--hh-outro);visibility:hidden}
.hallway-hero .hh-finale.is-visible{visibility:visible}
.hallway-hero .hh-copy[inert],.hallway-hero .hh-finale[inert]{pointer-events:none}
.hallway-hero .hh-kicker{margin:0 0 20px;display:flex;align-items:center;justify-content:center;gap:11px;font-size:11px;font-weight:700;letter-spacing:.19em;color:var(--hh-light)}
.hallway-hero .hh-kicker>span{width:7px;height:7px;display:inline-block;border-radius:50%;background:#c4e4b4;box-shadow:0 0 0 5px #c4e4b422;flex:none}
.hallway-hero h1,.hallway-hero .hh-finale h2{font-family:var(--heading,Manrope,Arial,sans-serif);font-size:clamp(48px,6.2vw,104px);line-height:1.045;letter-spacing:-.065em;font-weight:600;margin:0 0 22px;text-wrap:balance;color:#fff;text-shadow:0 3px 24px #071b1340}
.hallway-hero h1 em,.hallway-hero .hh-finale h2 em{font-family:var(--serif,Georgia,serif);font-weight:500;letter-spacing:-.065em;color:var(--hh-light)}
.hallway-hero .hh-lead{max-width:620px;margin:0 auto 29px;font-size:clamp(15px,1.2vw,18px);line-height:1.7;color:var(--hh-muted);text-wrap:balance;text-shadow:0 1px 10px #071b13}
.hallway-hero .hh-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px 25px}
.hallway-hero .hh-primary,.hallway-hero .hh-secondary{display:inline-flex;align-items:center;justify-content:center;gap:22px;font-size:13px;font-weight:700;line-height:1.3;transition:background .25s,color .25s,transform .25s;min-height:48px}
.hallway-hero .hh-primary{padding:16px 21px;background:var(--hh-light);color:var(--hh-bg);border-radius:4px}
.hallway-hero .hh-primary:hover{background:#fff;transform:translateY(-2px)}
.hallway-hero .hh-secondary{padding:8px 0;border-bottom:1px solid #e1ebdbb0;color:#fff}
.hallway-hero .hh-secondary:hover{color:var(--hh-light)}
.hallway-hero .hh-actions a span{font-size:17px;line-height:1}
.hallway-hero .hh-proof{display:flex;justify-content:center;max-width:430px;margin:34px auto 0;gap:0;padding-top:19px;border-top:1px solid #d7e3cc45}
.hallway-hero .hh-proof>div{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0;padding:0 10px}
.hallway-hero .hh-proof>div+div{border-left:1px solid #d7e3cc45}
.hallway-hero .hh-proof strong{font-family:var(--heading,Arial,sans-serif);font-weight:600;font-size:28px;line-height:1;letter-spacing:-.055em;color:#e7efdf}
.hallway-hero .hh-proof span{font-size:11px;color:var(--hh-muted);line-height:1.4}
.hallway-hero .hh-bottom{position:absolute;z-index:3;bottom:24px;left:4.1%;right:4.1%;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:16px;color:white;font-size:10px;font-weight:700;letter-spacing:.1em}
.hallway-hero .hh-bottom-chapter{display:grid;gap:3px;line-height:1.3}.hallway-hero .hh-bottom-chapter>span{font-size:10px;color:var(--hh-light)}.hallway-hero .hh-bottom-chapter>strong{font-size:13px;letter-spacing:0}
.hallway-hero .hh-bottom-center{display:grid;justify-items:center;gap:12px}.hallway-hero .hh-scroll{display:flex;align-items:center;gap:9px;white-space:nowrap}.hallway-hero .hh-scroll>span:first-child{font-size:18px;line-height:1}.hallway-hero .hh-scroll:hover{text-decoration:underline}
.hallway-hero .hh-progress{height:2px;width:min(210px,100%);background:#ffffff45;overflow:hidden}.hallway-hero .hh-progress>span{display:block;height:100%;width:100%;background:#d7e3cc;transform:scaleX(.03);transform-origin:left center}
.hallway-hero .hh-bottom-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.hallway-hero .hh-controls{display:flex;gap:6px;flex:none}.hallway-hero .hh-controls[hidden]{display:none}
.hallway-hero .hh-controls button{width:38px;height:38px;border:1px solid #d7e3cc90;background:#08251a66;color:#fff;border-radius:50%;font-size:17px;line-height:1;transition:background .2s,color .2s}
.hallway-hero .hh-controls button:hover:not(:disabled){background:#d7e3cc;color:#08251a}.hallway-hero .hh-controls button:disabled{opacity:.42;cursor:default}
.hallway-hero .hh-skip{font-size:11px;white-space:nowrap;color:#fff;letter-spacing:0}.hallway-hero .hh-skip:hover{text-decoration:underline}
/* No scroll trapping: the sticky viewport releases into the next section. */
@media(min-width:781px) and (min-height:620px) and (prefers-reduced-motion:no-preference){.hallway-hero.hh-ready{height:330svh}.hallway-hero.hh-ready .hh-pin{position:sticky;top:0;height:100svh;min-height:0}}
@media(min-width:781px) and (max-height:760px){.hallway-hero .hh-pin{padding:96px 24px 90px}.hallway-hero h1,.hallway-hero .hh-finale h2{font-size:clamp(42px,5.4vw,78px);margin-bottom:15px}.hallway-hero .hh-kicker{margin-bottom:14px}.hallway-hero .hh-lead{margin-bottom:20px}.hallway-hero .hh-proof{margin-top:22px;padding-top:13px}}
@media(max-width:780px){.hallway-hero .hh-pin{min-height:max(690px,100svh);padding:100px 20px 116px}.hallway-hero h1,.hallway-hero .hh-finale h2{font-size:clamp(43px,10vw,73px);line-height:1.09}.hallway-hero .hh-lead{font-size:15px;max-width:510px}.hallway-hero .hh-bottom{left:20px;right:20px;bottom:22px;grid-template-columns:1fr auto;gap:15px}.hallway-hero .hh-bottom-center{grid-column:1/-1;grid-row:2;grid-template-columns:auto 1fr;justify-items:stretch;align-items:center;gap:15px}.hallway-hero .hh-progress{width:100%}.hallway-hero .hh-skip{display:none}.hallway-hero .hh-proof{margin-top:25px}.hallway-hero .hh-shade{background:linear-gradient(180deg,#05160f99,transparent 25%,transparent 70%,#05160fcc),radial-gradient(ellipse at 50% 50%,#05160f88,transparent 85%),rgba(5,22,15,var(--hh-dark))}}
@media(max-width:480px){.hallway-hero .hh-kicker{font-size:9px;letter-spacing:.13em;margin-bottom:16px}.hallway-hero h1,.hallway-hero .hh-finale h2{font-size:clamp(40px,10.7vw,50px);margin-bottom:16px}.hallway-hero .hh-lead{font-size:14px;margin-bottom:22px}.hallway-hero .hh-actions{gap:9px;flex-direction:column}.hallway-hero .hh-primary{width:min(100%,300px)}.hallway-hero .hh-secondary{min-height:36px}.hallway-hero .hh-proof strong{font-size:24px}.hallway-hero .hh-proof span{font-size:10px}.hallway-hero .hh-bottom-chapter>strong{font-size:12px}.hallway-hero .hh-scroll{font-size:9px}}
@media(max-width:780px) and (min-height:750px) and (prefers-reduced-motion:no-preference){.hallway-hero.hh-ready{height:280svh}.hallway-hero.hh-ready .hh-pin{position:sticky;top:0;height:100svh;min-height:0}}
@media(prefers-reduced-motion:reduce){.hallway-hero .hh-room{will-change:auto}.hallway-hero .hh-controls button,.hallway-hero a{transition:none}}
