/* Rounded steel frames and restrained depth for the public TREGA site. */
:root{--photo-radius:20px;--card-radius:24px}
.image-frame{position:relative;overflow:hidden;border-radius:var(--photo-radius);border:1px solid rgba(209,220,230,.24);padding:7px;background:linear-gradient(145deg,#3c4248,#171b1f 55%,#30363b);box-shadow:inset 0 1px rgba(255,255,255,.12),0 14px 32px rgba(0,0,0,.25)}
.image-frame img{border-radius:13px;width:100%;height:auto;display:block}
.service-card,.process-grid .process-card,.gallery-grid figure{border:1px solid rgba(200,212,223,.18);border-radius:var(--card-radius);background:linear-gradient(150deg,rgba(31,36,41,.96),rgba(14,17,20,.97));box-shadow:0 18px 40px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.06);min-width:0}
.service-card:hover,.process-card:hover,.gallery-grid figure:hover{border-color:rgba(255,122,26,.55)}
.service-image{margin:8px 8px 0;aspect-ratio:1.35;padding:0;border-radius:17px;box-shadow:none}
.service-image img{border-radius:inherit;height:100%}
.service-image:after{border-radius:inherit}
.service-number{border-radius:6px}
.service-card-body{padding:26px 24px 30px}
.service-card h3 a{display:inline-block}
.process-grid{gap:26px}
.process-grid .process-card{padding:8px;display:flex;flex-direction:column}
.process-image{padding:0;border-radius:17px;box-shadow:none}
.process-image img{aspect-ratio:1.65;object-fit:cover;object-position:68% center;border-radius:inherit}
.process-card-body{padding:25px 21px 28px;flex:1}
.process-card-body .process-number{font-size:2.15rem;margin-bottom:13px}
.process-grid .process-card p{line-height:1.7}
.gallery-grid figure{padding:8px;transition:border-color .25s}
.gallery-image{padding:0;border-radius:17px;box-shadow:none}
.gallery-image img{border-radius:inherit}
.gallery-grid figcaption{padding:24px 21px 25px;border:0}
.gallery-section[data-cms-section=equipment] figure{padding:8px;background:linear-gradient(150deg,#1f2429,#0e1114)}
.gallery-section[data-cms-section=equipment] figcaption{padding:24px 21px}
.about-image{margin-bottom:28px}
.about-grid .about-image img{margin:0}
.scope-card{border-radius:var(--card-radius);box-shadow:0 18px 42px rgba(0,0,0,.25)}
.scope-image{margin-bottom:26px;padding:0;box-shadow:none}
.scope-image img{aspect-ratio:1.8;object-fit:cover;object-position:65% center}
.page-hero{margin:14px 14px 0;border-radius:28px;border:1px solid rgba(209,220,230,.16);min-height:470px;box-shadow:0 20px 55px rgba(0,0,0,.25)}
.home-hero{border-radius:0 0 28px 28px}
[data-depth-scene]{--depth-y:0px;--depth-front-y:0px;position:relative;isolation:isolate}
.cms-section-has-image{overflow:clip;background:#0c0f12}
.cms-section-has-image>.container{position:relative;z-index:1}
.cms-section-background.depth-backdrop{inset:0;opacity:1;z-index:-2;overflow:hidden;pointer-events:none}
.depth-backdrop img,.page-hero-media img{height:calc(100% + 180px);max-width:none;width:100%;position:absolute;top:-90px;object-fit:cover;object-position:65% center;transform:translate3d(0,var(--depth-y),0)}
.depth-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,11,14,.95),rgba(8,11,14,.76) 45%,rgba(8,11,14,.48)),linear-gradient(0deg,#0c0f12,transparent 28%,transparent 74%,#0c0f12)}
.cms-section-has-image:after{content:'';position:absolute;inset:-40px -30px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 96% 55%,rgba(255,106,20,.14),transparent 42%),linear-gradient(115deg,transparent 65%,rgba(212,227,240,.055) 65.2%,transparent 65.6%,transparent 77%,rgba(255,106,20,.08) 77.2%,transparent 77.6%);transform:translate3d(0,var(--depth-front-y),0)}
.quote-cta.cms-section-has-image:before{z-index:2}
.quote-cta.cms-section-has-image .depth-backdrop:after{background:linear-gradient(90deg,rgba(8,11,14,.91),rgba(8,11,14,.76) 50%,rgba(8,11,14,.46))}
[data-depth-active] .depth-backdrop img,[data-depth-active] .page-hero-media img{will-change:transform}
[data-depth-card]{--tilt-x:0deg;--tilt-y:0deg;transform:perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transition:transform .25s ease-out,border-color .25s,box-shadow .25s}
[data-depth-card][data-depth-hover]{box-shadow:0 26px 56px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.1);will-change:transform}
[data-depth-card] .image-frame{transform:translateZ(14px)}
@media(max-width:640px){:root{--photo-radius:18px;--card-radius:22px}.service-image{aspect-ratio:1.6}.process-grid{gap:26px}.process-card-body{padding:23px 18px 25px}.process-image img{aspect-ratio:1.7}.gallery-grid figcaption{padding:22px 18px}.page-hero{margin:9px 9px 0;border-radius:22px;min-height:410px}.page-hero-media img,.depth-backdrop img{object-position:68% center}.depth-backdrop:after{background:linear-gradient(90deg,rgba(8,11,14,.92),rgba(8,11,14,.73)),linear-gradient(0deg,#0c0f12,transparent 35%,transparent 75%,#0c0f12)}.scope-image{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){[data-depth-card],[data-depth-card] .image-frame,.depth-backdrop img,.page-hero-media img,.cms-section-has-image:after{transform:none!important;will-change:auto!important}}
