/* Tariq Amir / V1 V2 V3 — image-quality and animation pass */
html{scroll-behavior:smooth}
img{image-rendering:auto;max-width:100%}
/* Never distort a photographic slot; allow native aspect ratios in about/gallery imagery. */
.hero-back img,.hero-photo-composition img,.special-card .photo img,.spec-photo img,.service-photo img,
.category-item-photo img,.cat-tile-photo img,.detail-photo-wrap img,.about-feature-photo img{
 object-fit:cover;max-width:100%;image-rendering:auto}
/* Avoid excessive zoom that can visibly soften crops. */
.hero-back img{animation:qaHeroMove 24s ease-in-out infinite alternate;transform-origin:54% 50%}
@keyframes qaHeroMove{0%{transform:scale(1.005) translate3d(0,0,0)}100%{transform:scale(1.035) translate3d(-.3%,0,0)}}
.inner-hero-photo.hero-by-service:before{animation:qaHeroMove 28s ease-in-out infinite alternate!important;transform-origin:center center}
/* Use image focal positioning; subject/faces and work tools remain in-frame across breakpoints. */
.service-mini-photo .service-photo img{object-position:50% 47%;transition:transform .55s cubic-bezier(.2,.72,.25,1)}
.service-mini-photo:focus-within .service-photo img,.service-mini-photo:hover .service-photo img{transform:scale(1.025)}
.photo-special-card .spec-photo img{object-position:50% 49%;transition:transform .55s cubic-bezier(.2,.72,.25,1)}
.photo-special-card:hover .spec-photo img{transform:scale(1.025)}
/* Hero backgrounds for art direction, including mobile-size derivatives. */
@media(max-width:680px){.inner-hero-photo.hero-by-service:before{background-image:var(--page-hero-mobile,var(--page-hero))!important;background-size:cover;animation:none!important}
.hero-back img{animation:none!important;object-position:55% 46%}
.hero-three .hero-back img{object-position:62% 38%}
.hero-two.hero-imagery-final{background-position:58% center!important}
.detail-photo-wrap>img{height:clamp(230px,57vw,310px);object-position:50% 46%}
.about-feature-photo img{height:auto;aspect-ratio:1.55;object-fit:cover}}
/* Add tasteful photographic backgrounds while keeping fully readable text. */
.faq-photographic{position:relative;isolation:isolate;overflow:hidden}
.faq-photographic:before{content:"";position:absolute;inset:0;z-index:-2;background:var(--faq-photo) center/cover no-repeat;opacity:.12;pointer-events:none}
.faq-photographic:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,var(--bg) 0%,color-mix(in srgb,var(--bg),transparent 6%) 55%,color-mix(in srgb,var(--bg),transparent 24%) 100%);pointer-events:none}
.faq-photographic .faq-lead,.faq-photographic .faq-items{position:relative;z-index:1}
.ambient-about{position:relative;isolation:isolate}
.ambient-about:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,var(--bg) 30%,color-mix(in srgb,var(--bg),transparent 20%)),url("photo-ceiling-900.webp") center/cover;opacity:.12;pointer-events:none}
/* Truly continuous photo slide rail, twice repeated with matched widths. */
.photographic-service-rail{position:relative;overflow:hidden;padding:38px 0 42px;background:var(--valueBg);color:var(--valueColor);isolation:isolate;border-block:1px solid var(--line)}
.photographic-service-rail:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--valueBg),transparent 9%,transparent 91%,var(--valueBg));z-index:2}
.photo-rail-inner{width:100%;overflow:hidden}
.photo-rail-track{display:flex;gap:14px;width:max-content;animation:qaPhotoRail 55s linear infinite;will-change:transform}
.photo-rail-item{flex:0 0 298px;position:relative;height:158px;border-radius:12px;overflow:hidden;border:1px solid #ffffff26;background:var(--card);color:#fff;box-shadow:0 14px 28px #0002}
.photo-rail-item img{height:100%;width:100%;object-fit:cover;object-position:center 43%;display:block;transition:transform .4s ease}
.photo-rail-item:hover img{transform:scale(1.045)}
.photo-rail-item:after{content:"";position:absolute;inset:28% 0 0;background:linear-gradient(transparent,rgba(0,15,31,.86));pointer-events:none}
.photo-rail-item span{position:absolute;bottom:12px;left:15px;right:10px;z-index:1;font-size:.9rem;font-weight:850;letter-spacing:.01em;line-height:1.25}
.photo-rail-track:hover,.photo-rail-track:focus-within{animation-play-state:paused}
@keyframes qaPhotoRail{to{transform:translateX(calc(-50% - 7px))}}
.inner-service-ticker{height:46px;overflow:hidden;display:flex;align-items:center;background:var(--navbg);color:var(--navtext);border-bottom:1px solid var(--line);position:relative;z-index:2}
.inner-ticker-track{width:max-content;white-space:nowrap;display:flex;align-items:center;animation:qaTicker 41s linear infinite}
.inner-ticker-track span{display:inline-block;font-weight:800;letter-spacing:.14em;font-size:.69rem;padding:8px 36px}
.inner-ticker-track span:after{content:" ◆ ";color:var(--accent);padding-left:28px}
@keyframes qaTicker{to{transform:translateX(-50%)}}
.inner-service-ticker:hover .inner-ticker-track{animation-play-state:paused}
/* Premium motion on-site instead of visual-only mockups */
.special-card,.service-mini,.cat-tile,.category-item{transition:transform .26s ease,box-shadow .26s ease,border-color .26s ease}
.special-card:hover,.service-mini:hover,.cat-tile:hover,.category-item:hover{transform:translateY(-4px)}
.btn{transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease}
@media(max-width:900px){.photo-rail-item{flex-basis:255px;height:149px}.photographic-service-rail{padding:29px 0 31px}}
@media(max-width:680px){.photo-rail-item{flex-basis:215px;height:133px}.photo-rail-item span{font-size:.78rem;bottom:9px}.photo-rail-track{gap:11px;animation-duration:66s}.photographic-service-rail:after{background:linear-gradient(90deg,var(--valueBg),transparent 4%,transparent 96%,var(--valueBg))}.inner-service-ticker{height:40px}.inner-ticker-track span{font-size:.61rem;padding:6px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-back img,.inner-hero-photo.hero-by-service:before,.photo-rail-track,.inner-ticker-track{animation:none!important;transform:none!important}.photo-rail-item img,.special-card,.service-mini,.cat-tile,.category-item{transition:none!important}.photo-rail-inner,.inner-service-ticker{overflow-x:auto}.photo-rail-track,.inner-ticker-track{width:max-content}}

/* Native-sized individually relevant photographs for the four formerly under-resolution images.
   The three finish-detail images are 751px originals, never stretched to a 1440px frame. */
.detail-photo-wrap.has-native-finishing-photo{display:flex;justify-content:center;align-items:center;min-height:0;max-width:100%;padding:10px;background:color-mix(in srgb,var(--subtle),var(--card) 30%)}
.detail-photo-wrap.has-native-finishing-photo>img{height:auto!important;width:min(100%,751px)!important;max-width:751px!important;max-height:none!important;object-fit:contain!important;transform:none!important}
/* Visible but subordinate photography in backgrounds; text remains fully readable. */
.faq-photographic:before{opacity:.36}
.faq-photographic:after{background:linear-gradient(105deg,var(--bg) 0%,color-mix(in srgb,var(--bg),transparent 5%) 45%,color-mix(in srgb,var(--bg),transparent 44%) 100%)}
.ambient-about:before{opacity:.18}
