/* Full-screen video background with hero-like centered typography and shared header. */
:root{--tour-ink:var(--brand-ink);--tour-stone:var(--brand-stone);--tour-bronze:var(--brand-bronze);--tour-muted:var(--brand-blue-gray);--tour-line:color-mix(in srgb,var(--brand-stone) 28%,transparent);--tour-shade:color-mix(in srgb,var(--brand-ink) 72%,transparent);--tour-header-height:76px}
html body.home-editorial section.home-tour.section{display:block!important;position:relative;width:100%;max-width:none;min-height:0;margin:0;padding:0!important;gap:0!important;grid-template-columns:none!important;align-items:stretch;overflow:visible;background:var(--tour-ink);color:var(--tour-stone);border:0;isolation:isolate;letter-spacing:0}
html body.home-editorial section.home-tour.section::before{display:none}
.home-tour .tour-stage{position:relative;min-height:0;height:100svh;height:100dvh;overflow:hidden;width:100%;background:var(--tour-backdrop)}
.home-tour .tour-stage::after{content:"";position:absolute;inset:0;z-index:2;background:var(--tour-overlay);pointer-events:none}
.home-tour .tour-heading{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:calc(var(--tour-header-height) + 24px) 24px 100px;text-align:center;pointer-events:none;text-shadow:var(--tour-text-shadow)}
html body .home-tour .tour-heading .eyebrow{margin:0;color:var(--tour-foreground);font:500 11px/1.4 var(--font-brand);letter-spacing:0}
html body .home-tour .tour-heading h2{margin:0;max-width:1000px;color:var(--tour-foreground);font:400 90px/1.04 var(--lux-display);letter-spacing:0;text-wrap:balance;overflow-wrap:break-word}
#home-tour .tour-film{position:absolute;inset:0;min-height:0;min-width:0}
#home-tour .tour-frame{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:var(--tour-backdrop)}
#home-tour .tour-poster,#home-tour .tour-poster img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;margin:0}
#home-tour .tour-poster{z-index:2;pointer-events:none;transition:opacity .35s}
html body #home-tour .tour-frame video{display:block;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:cover!important;border-radius:0!important;background:transparent!important;transform:none!important;z-index:1}
#home-tour.is-pending video{display:none!important}
#home-tour.is-frame-ready .tour-poster{opacity:0}
.home-tour .tour-status{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:4;margin:0;max-width:calc(100% - 32px);padding:8px 14px;border-radius:var(--r-pill);background:var(--tour-shade);color:var(--tour-stone);font:400 12px/1.4 var(--font-brand);text-align:center;pointer-events:none}
.home-tour .tour-status:empty{display:none}
.home-tour .tour-foot{position:absolute;bottom:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 3.2% max(28px,env(safe-area-inset-bottom));background:transparent}
html body .home-tour a.tour-skip{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:0;padding:10px 20px;border:1px solid var(--tour-line);border-radius:var(--r-pill);background:transparent;color:var(--tour-stone);font:500 12px/1.25 var(--font-brand);text-decoration:none;box-shadow:none;transform:none;transition:background-color .3s,color .3s}
html body .home-tour a.tour-skip:hover{background:var(--tour-stone);color:var(--tour-ink)}
html body .home-tour a.tour-skip:focus-visible{outline:2px solid var(--tour-bronze);outline-offset:5px}
.home-tour .tour-scroll-cue{display:flex;align-items:center;gap:16px;font:400 11px/1.4 var(--font-brand);color:var(--tour-foreground)}
.home-tour .tour-progress{display:block;width:100px;height:2px;overflow:hidden;background:var(--tour-line)}
.home-tour .tour-progress>span{display:block;width:100%;height:100%;transform-origin:left;transform:scaleX(var(--tour-progress,0));background:var(--tour-bronze)}
html body section.home-tour.is-scrubbing{height:calc(100svh + var(--tour-travel,325svh));height:calc(100dvh + var(--tour-travel,325svh))}
#home-tour.is-scrubbing .tour-stage{position:sticky!important;top:0!important;height:100svh;height:100dvh}
.home-tour.is-scrubbing .tour-scroll-cue{display:flex}
#home-tour:not(.is-scrubbing) .tour-foot{bottom:56px}
body.is-home-tour-active .guide-launcher,body.is-home-tour-active .rolen-guide{visibility:hidden!important;pointer-events:none!important}
#projects{scroll-margin-top:max(0px,calc(var(--tour-header-height) + 20px - var(--tour-scroll-padding,0px)))}
#projects h2:focus{outline:none}
#projects h2:focus-visible{outline:2px solid var(--tour-bronze);outline-offset:8px}
@media(max-width:1050px){html body .home-tour .tour-heading h2{font-size:74px}}
@media(max-width:767px){
 .home-tour .tour-heading{gap:20px;padding:calc(var(--tour-header-height) + 20px) 22px 110px}
 html body .home-tour .tour-heading h2{font-size:60px;line-height:1.1}
 html body .home-tour .tour-heading .eyebrow{font-size:9px}
 .home-tour .tour-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:10px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 html body .home-tour a.tour-skip{font-size:11px;padding:10px 14px;gap:8px}
 .home-tour .tour-scroll-cue{gap:8px;font-size:9px;flex-wrap:wrap}
 .home-tour .tour-progress{width:58px}
}
@media(max-width:480px){html body .home-tour .tour-heading h2{font-size:44px}}
@media(max-height:600px) and (orientation:landscape){html body .home-tour .tour-heading h2{font-size:48px}.home-tour .tour-heading{padding:70px 24px;gap:14px}.home-tour .tour-foot{padding:12px 24px}}
@media(prefers-reduced-motion:reduce){html body section.home-tour.is-scrubbing{height:auto}#home-tour.is-scrubbing .tour-stage{position:relative!important;top:auto!important;height:100svh}.home-tour .tour-scroll-cue{display:none!important}#home-tour .tour-poster{transition:none}}
