/* Independent photograph, decoded film, scrim and content planes. */
[data-background-media]{position:relative;isolation:isolate;overflow:hidden}
[data-background-media]>.project-hero-fallback,[data-background-media]>.media-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
[data-background-media]>video[data-background-video]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;opacity:0;pointer-events:none;transition:opacity 450ms ease}
[data-background-media].has-video-frame>video[data-background-video]{opacity:1}
[data-background-media]>.image-shade{z-index:2}
[data-background-media]>.container{position:relative;z-index:3}
[data-background-media]>[data-media-toggle]{position:absolute;z-index:4;right:max(24px,calc((100vw - 1600px)/2));bottom:22px;min-height:44px;padding:10px 2px;border:0;border-bottom:1px solid #ffffff85;background:transparent;color:#fff;font:700 10px/1.5 Nexa,sans-serif;letter-spacing:1.4px}
[data-background-media]>[data-media-toggle]:focus-visible{outline:2px solid #fff;outline-offset:5px}
body.origina .portfolio-hero{min-height:520px;padding:52px 0 96px!important}
.portfolio-hero .image-shade{background:linear-gradient(90deg,#111a14ce 0%,#111a1466 48%,#111a1414 100%)}
body.origina .history-hero{min-height:560px;padding:52px 0 94px!important}
.history-slides{position:absolute;inset:0;z-index:-1;background:#263022}
.history-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity 1250ms ease;transform:scale(1.035)}
.history-slide.is-active{opacity:1;animation:history-drift 8s cubic-bezier(.2,.3,.5,1) both}
.slider-paused .history-slide{animation-play-state:paused}
.history-hero .image-shade{background:linear-gradient(90deg,#10190ed4 0%,#10190e66 54%,#10190e12 100%);z-index:0}
.history-hero>.container{position:relative;z-index:1}
.history-controls{position:absolute;z-index:2;right:max(24px,calc((100vw - 1600px)/2));bottom:22px;display:flex;align-items:center;gap:8px;color:#fff}
.history-controls button{height:44px;min-width:44px;border:1px solid #ffffff80;padding:9px;background:#15201555;color:#fff;display:grid;place-items:center;transition:background-color 180ms ease}
.history-controls button:hover{background:#20251ee6}
.history-controls button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.history-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.history-controls .history-pause{padding:9px 14px;font:700 10px/1.5 Nexa,sans-serif;letter-spacing:1px}
@keyframes history-drift{from{transform:scale(1.035)}to{transform:scale(1.09)}}
@media(max-width:767px){
 body.origina .portfolio-hero{min-height:480px;padding:36px 0 102px!important}
 body.origina .history-hero{min-height:530px;padding:36px 0 108px!important}
 .portfolio-hero h1,.history-hero h1{font-size:clamp(34px,7.8vw,50px)!important;line-height:1.13!important;max-width:100%;text-wrap:balance}
 .history-hero p,.portfolio-hero p{font-size:14px!important;max-width:37ch}
 .history-hero .page_nav,.portfolio-hero .page_nav{margin-bottom:52px}
 .history-slide{object-position:60% center}
 .history-hero .image-shade{background:linear-gradient(90deg,#10190ed9,#10190e6b)}
 .history-controls{left:22px;right:auto}
}
@media(prefers-reduced-motion:reduce){
 [data-background-media]>video[data-background-video],.history-slide{transition:none}
 .history-slide.is-active{animation:none;transform:none}
}
