/* Developed by Science & Marketing | CMS universal hero | V0.16.19 | 2026-10-15 */
.page-hero-studio{--hs-width:1;--hs-zoom:1;--hs-tilt:0deg;--hs-x:50%;--hs-y:50%;--hs-pan-x:0%;--hs-pan-y:0%;--hs-pan-scale:1;--hs-padding:12px;--hs-shadow:0 14px 35px rgba(5,30,55,.20);--hs-paper:#fff;--hs-ink:#1d3850;--hs-border:#cbd9e4;max-width:100%;min-width:0;box-sizing:border-box;justify-self:center;transition:none;transform:rotate(var(--hs-tilt));transform-origin:center;width:calc(100% * var(--hs-width));background:transparent;border:0;overflow:visible}
.page-hero-studio--vertical{max-width:min(100%,440px)}
.page-hero-studio--horizontal{max-width:100%}
.page-hero-studio--polaroid{background:var(--hs-paper)!important;color:var(--hs-ink)!important;border:1px solid var(--hs-border)!important;padding:var(--hs-padding) var(--hs-padding) calc(var(--hs-padding) + 14px)!important;border-radius:4px!important;box-shadow:var(--hs-shadow)!important}
.page-hero-studio--clean{box-shadow:var(--hs-shadow);border-radius:18px}
.page-hero-studio .page-hero-studio__visual{display:block;overflow:hidden;position:relative;width:100%;border-radius:14px;background:#102d4a;aspect-ratio:16 / 9;min-width:0}
.page-hero-studio--vertical .page-hero-studio__visual{aspect-ratio:4 / 5}
.page-hero-studio--polaroid .page-hero-studio__visual{border-radius:2px}
.page-hero-studio .page-hero-studio__visual>img,.page-hero-studio .page-hero-studio__visual>picture>img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--hs-x) var(--hs-y);transform:translate(var(--hs-pan-x),var(--hs-pan-y)) scale(max(var(--hs-zoom),var(--hs-pan-scale)));transform-origin:var(--hs-x) var(--hs-y);border-radius:0;box-shadow:none;max-width:none}
.page-hero-studio .page-hero-studio__visual>picture{display:block;width:100%;height:100%}
.page-hero-studio figcaption{padding:9px 2px 0;color:inherit!important;line-height:1.5;text-align:center;overflow-wrap:anywhere;font-size:clamp(.79rem,1vw,.9rem)}
.page-hero-studio--polaroid figcaption{color:var(--hs-ink)!important}
.page-hero-studio.page-hero-studio--polaroid .page-hero-studio__visual{box-shadow:none}
[data-kit-photo-size="75"]{--hs-width:.75}[data-kit-photo-size="90"]{--hs-width:.90}[data-kit-photo-size="100"]{--hs-width:1}
[data-kit-photo-frame="8"]{--hs-padding:8px}[data-kit-photo-frame="12"]{--hs-padding:12px}[data-kit-photo-frame="16"]{--hs-padding:16px}
[data-kit-photo-shadow="none"]{--hs-shadow:none}[data-kit-photo-shadow="soft"]{--hs-shadow:0 14px 35px rgba(5,30,55,.20)}[data-kit-photo-shadow="strong"]{--hs-shadow:0 28px 52px rgba(5,30,55,.32)}
[data-kit-photo-color="white"]{--hs-paper:#fff;--hs-ink:#1d3850;--hs-border:#cbd9e4}[data-kit-photo-color="navy"]{--hs-paper:#102d4a;--hs-ink:#fff;--hs-border:#2b5776}[data-kit-photo-color="sky"]{--hs-paper:#d6efff;--hs-ink:#102d4a;--hs-border:#a4cde7}
[data-kit-photo-x]:not([data-kit-photo-x="50"]),[data-kit-photo-y]:not([data-kit-photo-y="50"]){--hs-pan-scale:1.2}
@media(max-width:900px){.page-hero-studio--vertical{max-width:min(100%,390px)}}
@media(max-width:520px){.page-hero-studio--vertical{max-width:min(100%,82vw)}.page-hero-studio--polaroid{transform:rotate(clamp(-4deg,var(--hs-tilt),4deg))}}
@media(prefers-reduced-motion:reduce){.page-hero-studio{transition:none!important;animation:none!important}}
/* Keep legacy page-builder rules from overriding the opted-in presentation. */
.cms-public__hero--builder-media .cms-public__banner.page-hero-studio{width:calc(100% * var(--hs-width))!important;max-width:min(100%,440px);height:auto!important;aspect-ratio:auto!important;transform:rotate(var(--hs-tilt))!important}
.cms-public__hero--builder-media .cms-public__banner.page-hero-studio--horizontal{max-width:100%}
.cms-public__hero--builder-media .cms-public__banner.page-hero-studio .page-hero-studio__visual img{object-position:var(--hs-x) var(--hs-y)!important}
[data-kit-photo-zoom="100"]{--hs-zoom:1.00}
[data-kit-photo-zoom="105"]{--hs-zoom:1.05}
[data-kit-photo-zoom="110"]{--hs-zoom:1.10}
[data-kit-photo-zoom="115"]{--hs-zoom:1.15}
[data-kit-photo-zoom="120"]{--hs-zoom:1.20}
[data-kit-photo-zoom="125"]{--hs-zoom:1.25}
[data-kit-photo-zoom="130"]{--hs-zoom:1.30}
[data-kit-photo-zoom="135"]{--hs-zoom:1.35}
[data-kit-photo-zoom="140"]{--hs-zoom:1.40}
[data-kit-photo-zoom="145"]{--hs-zoom:1.45}
[data-kit-photo-zoom="150"]{--hs-zoom:1.50}
[data-kit-photo-zoom="155"]{--hs-zoom:1.55}
[data-kit-photo-zoom="160"]{--hs-zoom:1.60}
[data-kit-photo-rotation="-8"]{--hs-tilt:-8deg}
[data-kit-photo-rotation="-7"]{--hs-tilt:-7deg}
[data-kit-photo-rotation="-6"]{--hs-tilt:-6deg}
[data-kit-photo-rotation="-5"]{--hs-tilt:-5deg}
[data-kit-photo-rotation="-4"]{--hs-tilt:-4deg}
[data-kit-photo-rotation="-3"]{--hs-tilt:-3deg}
[data-kit-photo-rotation="-2"]{--hs-tilt:-2deg}
[data-kit-photo-rotation="-1"]{--hs-tilt:-1deg}
[data-kit-photo-rotation="0"]{--hs-tilt:0deg}
[data-kit-photo-rotation="1"]{--hs-tilt:1deg}
[data-kit-photo-rotation="2"]{--hs-tilt:2deg}
[data-kit-photo-rotation="3"]{--hs-tilt:3deg}
[data-kit-photo-rotation="4"]{--hs-tilt:4deg}
[data-kit-photo-rotation="5"]{--hs-tilt:5deg}
[data-kit-photo-rotation="6"]{--hs-tilt:6deg}
[data-kit-photo-rotation="7"]{--hs-tilt:7deg}
[data-kit-photo-rotation="8"]{--hs-tilt:8deg}
[data-kit-photo-x="0"]{--hs-x:0%;--hs-pan-x:8.0%}
[data-kit-photo-y="0"]{--hs-y:0%;--hs-pan-y:8.0%}
[data-kit-photo-x="5"]{--hs-x:5%;--hs-pan-x:7.2%}
[data-kit-photo-y="5"]{--hs-y:5%;--hs-pan-y:7.2%}
[data-kit-photo-x="10"]{--hs-x:10%;--hs-pan-x:6.4%}
[data-kit-photo-y="10"]{--hs-y:10%;--hs-pan-y:6.4%}
[data-kit-photo-x="15"]{--hs-x:15%;--hs-pan-x:5.6%}
[data-kit-photo-y="15"]{--hs-y:15%;--hs-pan-y:5.6%}
[data-kit-photo-x="20"]{--hs-x:20%;--hs-pan-x:4.8%}
[data-kit-photo-y="20"]{--hs-y:20%;--hs-pan-y:4.8%}
[data-kit-photo-x="25"]{--hs-x:25%;--hs-pan-x:4.0%}
[data-kit-photo-y="25"]{--hs-y:25%;--hs-pan-y:4.0%}
[data-kit-photo-x="30"]{--hs-x:30%;--hs-pan-x:3.2%}
[data-kit-photo-y="30"]{--hs-y:30%;--hs-pan-y:3.2%}
[data-kit-photo-x="35"]{--hs-x:35%;--hs-pan-x:2.4%}
[data-kit-photo-y="35"]{--hs-y:35%;--hs-pan-y:2.4%}
[data-kit-photo-x="40"]{--hs-x:40%;--hs-pan-x:1.6%}
[data-kit-photo-y="40"]{--hs-y:40%;--hs-pan-y:1.6%}
[data-kit-photo-x="45"]{--hs-x:45%;--hs-pan-x:0.8%}
[data-kit-photo-y="45"]{--hs-y:45%;--hs-pan-y:0.8%}
[data-kit-photo-x="50"]{--hs-x:50%;--hs-pan-x:0.0%}
[data-kit-photo-y="50"]{--hs-y:50%;--hs-pan-y:0.0%}
[data-kit-photo-x="55"]{--hs-x:55%;--hs-pan-x:-0.8%}
[data-kit-photo-y="55"]{--hs-y:55%;--hs-pan-y:-0.8%}
[data-kit-photo-x="60"]{--hs-x:60%;--hs-pan-x:-1.6%}
[data-kit-photo-y="60"]{--hs-y:60%;--hs-pan-y:-1.6%}
[data-kit-photo-x="65"]{--hs-x:65%;--hs-pan-x:-2.4%}
[data-kit-photo-y="65"]{--hs-y:65%;--hs-pan-y:-2.4%}
[data-kit-photo-x="70"]{--hs-x:70%;--hs-pan-x:-3.2%}
[data-kit-photo-y="70"]{--hs-y:70%;--hs-pan-y:-3.2%}
[data-kit-photo-x="75"]{--hs-x:75%;--hs-pan-x:-4.0%}
[data-kit-photo-y="75"]{--hs-y:75%;--hs-pan-y:-4.0%}
[data-kit-photo-x="80"]{--hs-x:80%;--hs-pan-x:-4.8%}
[data-kit-photo-y="80"]{--hs-y:80%;--hs-pan-y:-4.8%}
[data-kit-photo-x="85"]{--hs-x:85%;--hs-pan-x:-5.6%}
[data-kit-photo-y="85"]{--hs-y:85%;--hs-pan-y:-5.6%}
[data-kit-photo-x="90"]{--hs-x:90%;--hs-pan-x:-6.4%}
[data-kit-photo-y="90"]{--hs-y:90%;--hs-pan-y:-6.4%}
[data-kit-photo-x="95"]{--hs-x:95%;--hs-pan-x:-7.2%}
[data-kit-photo-y="95"]{--hs-y:95%;--hs-pan-y:-7.2%}
[data-kit-photo-x="100"]{--hs-x:100%;--hs-pan-x:-8.0%}
[data-kit-photo-y="100"]{--hs-y:100%;--hs-pan-y:-8.0%}

/* Specialised templates opt in only when a photographic hero is present. */
.hero__visual>.page-hero-studio,.about-hero__visual>.page-hero-studio,.projects-hero__grid>.page-hero-studio,.lab-hero__grid>.page-hero-studio{display:block;align-self:center;justify-self:center;min-width:0;margin:auto}
.hero__visual>.page-hero-studio.page-hero-studio--vertical,.about-hero__visual>.page-hero-studio.page-hero-studio--vertical{max-width:min(100%,440px)}
.hero__visual>.page-hero-studio .page-hero-studio__visual img{object-position:var(--hs-x) var(--hs-y)}
@media(max-width:760px){.projects-hero__grid>.page-hero-studio,.lab-hero__grid>.page-hero-studio{max-width:100%}}
