/* Isolated cinematic tour. Native controls / normal document flow are the baseline. */
: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) 65%,transparent);--tour-heading-shade:linear-gradient(var(--brand-ink),color-mix(in srgb,var(--brand-ink) 75%,transparent),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;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden;padding:0;width:100%;background:var(--tour-ink);isolation:isolate}
.home-tour .tour-atmosphere{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
#home-tour .tour-atmosphere img,#home-tour .tour-atmosphere canvas{position:absolute;inset:-5%;width:110%;height:110%;object-fit:cover;filter:blur(24px);opacity:.4}
.home-tour .tour-atmosphere canvas{opacity:0}
#home-tour.is-frame-ready .tour-atmosphere canvas{opacity:.4}
.home-tour .tour-atmosphere::after{content:"";position:absolute;inset:0;background:var(--tour-shade)}
.home-tour .tour-heading{padding:24px 40px 18px;z-index:1;pointer-events:none}
html body .home-tour .tour-heading .eyebrow{margin:0 0 8px;color:var(--tour-bronze);font:500 10px/1.2 var(--font-brand);letter-spacing:0}
html body .home-tour .tour-heading h2{margin:0;color:var(--tour-stone);font:400 36px/1.12 Georgia,serif;letter-spacing:0}
#home-tour .tour-film{position:relative;min-height:0;min-width:0;width:100%;height:100%;display:grid;place-items:center;container-type:size}
#home-tour .tour-portrait{position:relative;flex:none;min-width:0;min-height:0;width:var(--tour-portrait-width,min(100cqw,56.25cqh));height:var(--tour-portrait-height,min(100cqh,177.777778cqw));max-width:100%;max-height:100%;aspect-ratio:9/16;overflow:hidden;justify-self:center;align-self:center}
html body #home-tour .tour-portrait video{display:block;position:absolute!important;inset:0!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;aspect-ratio:9/16!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;background:transparent!important;transform:none!important;translate:none!important;scale:none!important;z-index:1}
#home-tour .tour-portrait .tour-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;pointer-events:none}
.home-tour.is-frame-ready .tour-poster,.home-tour:not(.is-scrubbing):not(.is-media-error) .tour-poster{visibility:hidden}
.home-tour .tour-status{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:3;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{z-index:3;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 40px max(24px,env(safe-area-inset-bottom));background:var(--tour-ink)}
html body .home-tour .image-provenance{margin:0;color:var(--tour-muted);font:400 11px/1.4 var(--font-brand);letter-spacing:0}
html body .home-tour a.tour-skip{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:14px;min-height:44px;margin:0;padding:12px 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);letter-spacing:0;text-decoration:none;box-shadow:none;transform:none}
html body .home-tour a.tour-skip:hover{background:var(--tour-stone);color:var(--tour-ink);box-shadow:none;transform:none}
html body .home-tour a.tour-skip:focus-visible{outline:2px solid var(--tour-bronze);outline-offset:5px}
.home-tour .tour-scroll-cue{display:none;align-items:center;gap:12px;margin-top:10px;font:400 10px/1.2 var(--font-brand);color:var(--tour-muted)}
.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-header-height) + var(--tour-travel,325svh));height:calc(100dvh - var(--tour-header-height) + var(--tour-travel,325svh))}
#home-tour.is-scrubbing .tour-stage{position:sticky!important;top:var(--tour-header-height,76px)!important;height:calc(100svh - var(--tour-header-height,76px));height:calc(100dvh - var(--tour-header-height,76px))}
.home-tour.is-scrubbing .tour-scroll-cue{display:flex}
#home-tour:not(.is-scrubbing) .tour-film{height:min(72svh,800px)}
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:760px){
 #home-tour.is-scrubbing .tour-stage{grid-template-rows:minmax(0,1fr) auto}
 #home-tour.is-scrubbing .tour-heading{position:absolute;top:0;left:0;right:0;z-index:4;background:var(--tour-heading-shade);padding:12px 20px 20px}
 .home-tour .tour-heading{padding:16px 20px 12px}
 html body .home-tour .tour-heading h2{font-size:26px;line-height:1.1}
 html body .home-tour .tour-heading .eyebrow{font-size:9px;margin-bottom:6px}
 .home-tour .tour-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 html body .home-tour .image-provenance{font-size:9px;max-width:165px}
 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;margin-top:8px}
 .home-tour .tour-progress{width:58px}
}
@media(max-height:600px) and (orientation:landscape){.home-tour .tour-heading{padding:10px 24px}.home-tour .tour-heading .eyebrow{display:none}html body .home-tour .tour-heading h2{font-size:24px}.home-tour .tour-foot{padding:8px 24px}.home-tour .tour-scroll-cue{margin-top:4px}}
@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:auto}.home-tour .tour-scroll-cue{display:none!important}.home-tour .tour-atmosphere canvas{display:none}}