/* Performance and touch layer: intentionally loaded after styles.css and unified.css. */
:root {
  --tap-size: 48px;
  --press-scale: .985;
}

/* The existing width=device-width viewport is retained; manipulation removes legacy double-tap ambiguity
   without disabling pinch-to-zoom or native scrolling. */
:where(a, button, input, select, textarea, summary, [role="button"]) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(33, 76, 58, .12);
}

:where(button, input, select, textarea) {
  min-height: var(--tap-size);
}

/* Make the primary interactive targets finger-sized. Existing wide cards and rows already exceed this. */
:where(.brand, .topline a, .nav-link, .nav-contact, .menu-toggle, .button,
       .text-link, .ribbon-profile, .quick-contact a, .mobile-contact-bar a,
       .hero-float-button, .footer-col > a, .footer-bottom > a, .rating-tile > a,
       .contact-big-link, .footer-profile-link, .skip-link) {
  min-height: var(--tap-size);
}

.brand,
.topline a,
.nav-link,
.text-link,
.ribbon-profile,
.rating-tile > a,
.footer-col > a,
.footer-bottom > a,
.contact-big-link,
.footer-profile-link {
  display: inline-flex;
  align-items: center;
}

.nav-link { padding-block: 8px; }
.menu-toggle { min-width: var(--tap-size); min-height: var(--tap-size); place-items: center; }
.nav-link { min-width: var(--tap-size); padding-inline: 8px; }
.mobile-contact-bar a { height: var(--tap-size); }
.hero-float-button { min-height: var(--tap-size); }
.service-row { padding-inline: 7px; }
.deck-progress-track i { width: 100%; transform: scaleX(.25); transform-origin: left center; transition: transform 240ms ease; }
.message-form input,
.message-form select { min-height: var(--tap-size); }
.message-form textarea { min-height: 112px; }
.form-status { min-height: 1.5em; }

/* Feedback is transform-only, immediate, and does not change the document's geometry. */
:where(.button, .nav-contact, .quick-contact a, .mobile-contact-bar a,
       .hero-float-button, .menu-toggle, .ribbon-profile):active {
  transform: scale(var(--press-scale)) translateY(1px);
  transition-duration: 80ms;
  transition-timing-function: ease-out;
}

/* Preserve the original horizontal drift on the three homepage contact buttons. */
.hero-float-button {
  will-change: auto;
  transition: transform 90ms ease-out, box-shadow 160ms ease, filter 160ms ease;
}

/* Hover styling is only for actual hover hardware; touch does not inherit sticky hover transforms/layout shifts. */
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .nav-contact:hover,
  .quick-contact a:hover,
  .review-card:hover { transition-property: transform, opacity, color, background-color, box-shadow; }

  .service-row { transition: transform 180ms ease, background-color 180ms ease; }
  .service-row:hover { padding-left: 7px; padding-right: 7px; transform: translateX(3px); }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .nav-contact:hover,
  .quick-contact a:hover,
  .hero-float-button:hover,
  .review-card:hover,
  .service-row:hover {
    transform: none;
    filter: none;
  }

  .service-row:hover { padding-left: 7px; padding-right: 7px; }
  .button:hover::before { transform: translateX(-105%); }
  .hero-float-button:hover { box-shadow: 0 8px 22px rgba(7, 25, 16, .2); }
}

/* Keep scrolling native. Snap is confined to the horizontal review carousel, not the whole page. */
.review-track {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
  touch-action: pan-x pan-y pinch-zoom;
}
.review-card { scroll-snap-align: start; scroll-snap-stop: normal; }

/* Avoid permanent layer promotion; transforms/opacity are composited when the browser deems worthwhile. */
.photo-deck-card,
.story-image { will-change: auto; }

/* Intrinsic image dimensions are specified in HTML; this stabilizes embedded content before navigation. */
.map-frame { width: 100%; aspect-ratio: 4 / 3; min-width: 0; }
.map-frame iframe { display: block; width: 100%; height: 100%; }

/* Give the fixed mobile actions room around iPhone home indicators. */
.mobile-contact-bar {
  padding-bottom: max(9px, env(safe-area-inset-bottom));
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

/* A real reduced-motion opt-out takes precedence over every optional effect. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-float-button,
  .photo-deck-card,
  .story-image,
  .magnetic { transform: none !important; }
  .deck-progress-track i { transition: none !important; }
}

@media (max-width: 720px) {
  .topline {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .site-header {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

@media (hover: none), (pointer: coarse) {
  /* The tappable front card should not animate to a new hit-box while a finger is interacting. */
  .photo-deck-card { transition: none; }
}

.footer-col > a { min-width: var(--tap-size); }

/* Transitions throughout the interface animate only compositor-friendly properties. Color changes remain immediate. */
*,
*::before,
*::after {
  transition-property: transform, opacity !important;
}

/* Cinematic scroll bridge: homepage only. Native document scrolling remains in control. */
.cinematic-scroll { display: none; position: relative; z-index: 20; height: 250vh; height: 250svh; margin-bottom: -108vh; margin-bottom: -108svh; }
.cinematic-motion-ok .cinematic-scroll { display: block; }
.cinematic-scroll[hidden] { display: none !important; }
.cinematic-scroll__pin { position: sticky; top: 0; width: 100%; height: 100vh; height: 100svh; min-height: 320px; overflow: hidden; background: transparent; isolation: isolate; pointer-events: none; }
/* Fade the entire media group so the existing hero copy can be revealed at the endpoint. */
.cinematic-scroll__scene { position: absolute; inset: 0; isolation: isolate; opacity: 1; }
.cinematic-scroll__video { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 49%; opacity: 1; background: #DCE6EA; }
/* A duplicate of the real hero background fades over the video first. This removes the double-edge effect
   caused by the generated room and the actual homepage photograph having slightly different geometry. */
.cinematic-scroll__end-state { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; pointer-events: none; }
.cinematic-scroll__end-image { position: absolute; left: 0; top: var(--cinematic-end-top, -8svh); display: block; width: 100%; height: var(--cinematic-end-height, 108svh); object-fit: cover; object-position: 54% 49%; filter: saturate(.89); }
.cinematic-scroll__end-state::before { content: ""; position: absolute; z-index: 1; left: 0; top: var(--cinematic-end-top, -8svh); width: 100%; height: var(--cinematic-end-height, 108svh); pointer-events: none; background: linear-gradient(90deg,rgba(15,43,31,.92) 0%,rgba(19,49,36,.80) 32%,rgba(24,52,39,.36) 59%,rgba(15,39,29,.08) 100%),linear-gradient(0deg,rgba(12,34,25,.45) 0%,transparent 34%); }
@media (max-width: 720px) {
  .cinematic-scroll__video { object-position: 55% center; }
  .cinematic-scroll__end-image { object-position: 55% center; }
  .cinematic-scroll__end-state::before { background: linear-gradient(90deg,rgba(15,43,31,.84),rgba(19,49,36,.55) 68%,rgba(15,39,29,.26)),linear-gradient(0deg,rgba(12,34,25,.55),rgba(12,34,25,.08) 75%); }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-scroll { display: none !important; }
}
/* Keep the real homepage photograph covering the viewport during the final crossfade. */
.cinematic-motion-ok .unified-home .hero-photo-bg { min-height: 108vh; min-height: 108svh; }


/* ===== Approved homepage and service-journey changes ===== */
body.intro-pending{overflow:hidden;}
body.intro-pending:not(.intro-revealing) .site-header,
body.intro-pending:not(.intro-revealing) .footer-cta,
body.intro-pending:not(.intro-revealing) .site-footer,
body.intro-pending:not(.intro-revealing) .quick-contact,
body.intro-pending:not(.intro-revealing) .mobile-contact-bar{visibility:hidden;opacity:0;}
.unified-home.intro-pending .site-header,
.unified-home.intro-pending .footer-cta,
.unified-home.intro-pending .site-footer,
.unified-home.intro-pending .quick-contact,
.unified-home.intro-pending .mobile-contact-bar{transition:opacity .52s ease;}
.cinematic-intro{position:fixed;inset:0;z-index:10000;background:transparent;opacity:1;visibility:visible;transition:opacity .18s ease,visibility 0s linear .18s;overflow:hidden;}
.cinematic-intro.is-ending{opacity:0;visibility:hidden;pointer-events:none;}
.cinematic-intro__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;background:transparent;opacity:1;transform:translate3d(0,0,0) scale(1);transform-origin:top center;transition-property:opacity,transform;transition-duration:1.25s,.68s;transition-timing-function:cubic-bezier(.22,.61,.36,1),cubic-bezier(.2,.78,.2,1);}
.cinematic-intro.is-revealing .cinematic-intro__video{opacity:0;transform:translate3d(0,var(--intro-hero-offset-y,0px),0) scale(var(--intro-hero-scale,1));}
.cinematic-intro.is-fast-reveal .cinematic-intro__video{transition-duration:.44s,.32s;}
.cinematic-intro__skip{display:block;position:absolute;right:clamp(18px,4vw,54px);bottom:clamp(105px,18vh,170px);z-index:2;border:1px solid rgba(255,255,255,.82);background:rgba(8,25,20,.78);color:#fff;border-radius:999px;padding:15px 22px;font-family:inherit;font-size:13px;box-shadow:0 10px 32px rgba(0,0,0,.28);line-height:1.2;font-weight:600;letter-spacing:.08em;backdrop-filter:blur(12px);cursor:pointer;opacity:1;transform:translate3d(0,0,0);transition:opacity .2s ease,transform .2s ease;}
.cinematic-intro.is-revealing .cinematic-intro__skip{opacity:0;transform:translate3d(0,5px,0);pointer-events:none;}
.cinematic-intro__skip span{margin-left:10px;}
.cinematic-intro.can-skip .cinematic-intro__skip{display:block;}

/* The existing room photograph is already underneath the video. Reveal it in place. */
.hero-photo-showcase .hero-message h1,
.hero-photo-showcase .hero-message p,
.hero-photo-showcase .hero-floating-actions{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.22,.61,.36,1);}
.hero-photo-showcase .hero-message h1{transition-duration:.68s;transition-delay:.06s;}
.hero-photo-showcase .hero-message p{transition-duration:.68s;transition-delay:.2s;}
.hero-photo-showcase .hero-floating-actions{transition-duration:.68s;transition-delay:.36s;}
body.intro-pending:not(.intro-revealing) .hero-photo-showcase .hero-message h1,
body.intro-pending:not(.intro-revealing) .hero-photo-showcase .hero-message p,
body.intro-pending:not(.intro-revealing) .hero-photo-showcase .hero-floating-actions{opacity:0;transform:translate3d(0,13px,0);}
body.intro-pending .hero-photo-showcase .hero-floating-actions{pointer-events:none;}
body.intro-revealing .hero-photo-showcase .hero-floating-actions{pointer-events:auto;}
body.intro-pending:not(.intro-revealing) .hero-photo-showcase .hero-message{visibility:hidden;}
body.intro-revealing .hero-photo-showcase .hero-message{visibility:visible;}
@media(prefers-reduced-motion:reduce){
  .cinematic-intro__video,
  .cinematic-intro__skip,
  .hero-photo-showcase .hero-message h1,
  .hero-photo-showcase .hero-message p,
  .hero-photo-showcase .hero-floating-actions{transition-duration:.01ms!important;transition-delay:0ms!important;}
}
.hero-photo-showcase{position:relative;display:block;min-height:100svh;height:100svh;padding:0!important;overflow:hidden;}
.hero-photo-showcase::before{background:linear-gradient(0deg,rgba(12,25,22,.20),transparent 30%)!important;pointer-events:none;}
.hero-photo-showcase .hero-bg-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;}
.hero-floating-actions--low{position:absolute!important;left:clamp(22px,4.2vw,68px)!important;right:auto!important;bottom:clamp(28px,5.5vh,58px);width:auto!important;max-width:min(94vw,420px);display:flex!important;flex-direction:column!important;align-items:flex-start;gap:10px!important;margin:0!important;z-index:5;}
.hero-action-lane{width:auto!important;min-height:0!important;overflow:visible!important;}
.hero-message{position:absolute;z-index:4;left:clamp(22px,4.2vw,68px);top:clamp(30px,7vh,82px);width:min(38vw,510px);max-width:510px;color:#20392e;text-shadow:0 1px 14px rgba(255,255,255,.35);pointer-events:none;}
.hero-message h1{font-family:var(--display,Georgia,serif);font-size:clamp(30px,3.35vw,48px);font-weight:500;line-height:1.04;letter-spacing:-.035em;margin:0 0 13px;max-width:520px;color:#20392e;}
.hero-message p{font-family:var(--sans,Arial,sans-serif);font-size:clamp(12px,1vw,15px);font-weight:500;line-height:1.62;margin:0;max-width:410px;color:#31483c;}
.hero-message .hero-message__booking{max-width:410px;}
.hero-float-button{min-height:54px;gap:12px;padding:13px 18px;border-radius:999px;white-space:nowrap;animation:hero-float-horizontal 8.8s ease-in-out infinite alternate!important;}
.hero-float-button:hover,.hero-float-button:focus-visible,.hero-float-button:active{animation-play-state:paused!important;}
@keyframes hero-float-horizontal{from{transform:translateX(0)}to{transform:translateX(5px)}}
@keyframes hero-button-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@media(hover:hover) and (pointer:fine){.hero-float-button:hover{animation:hero-button-pulse 650ms ease-in-out infinite!important;filter:brightness(1.055);}}
.hero-float-button:focus-visible{outline:3px solid #fff;outline-offset:4px;}
.hero-float-whatsapp{background:#25D366!important;color:#073B24!important;border-color:#d5ffe3!important;animation:hero-float-horizontal 8.8s ease-in-out infinite alternate!important;}
.hero-float-whatsapp .whatsapp-icon{width:21px;height:21px;flex:0 0 auto;}
.hero-float-call{background:#F8F8F1!important;color:#172E25!important;border:1px solid #fff!important;animation:hero-float-horizontal 8.8s ease-in-out -1.2s infinite alternate!important;}
.hero-float-call svg{width:20px;height:20px;flex:0 0 auto;}
.hero-float-reviews{background:#174C83!important;color:#fff!important;border:1px solid #c6e1ff!important;gap:10px!important;animation:hero-float-horizontal 8.8s ease-in-out -2s infinite alternate!important;}
.hero-float-reviews .review-stars{color:#FFD66B;letter-spacing:1px;font-size:13px;}
.review-cta-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.15;}
.review-cta-copy strong{font-size:13px;}
.review-cta-copy small{font-size:10px;opacity:.88;}
.hero-float-reviews>span:last-child{font-size:17px;}
/* One image at a time: scroll progress drives a controlled left-exit/right-entry sequence. */
.service-journey{position:relative;height:420vh;background:#f4f2eb;}
.service-journey__sticky{position:sticky;top:0;height:100svh;min-height:650px;overflow:hidden;padding:clamp(28px,4vw,64px) clamp(24px,5vw,84px);display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.8fr);grid-template-rows:1fr auto;column-gap:clamp(30px,5vw,88px);}
.service-journey__heading{grid-column:1;grid-row:1;align-self:start;max-width:390px;padding-top:clamp(16px,6vh,90px);position:relative;z-index:3;}
.service-journey__heading h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(38px,4.2vw,68px);line-height:.98;letter-spacing:-.045em;margin:18px 0;}
.service-journey__heading h2 em{font-weight:400;color:#607968;}
.service-journey__heading p{max-width:330px;color:#5d655e;line-height:1.7;font-size:14px;}
.service-journey__stage{grid-column:2;grid-row:1;position:relative;min-width:0;min-height:0;overflow:hidden;}
.service-scene{position:absolute;inset:0;display:grid;grid-template-columns:minmax(220px,.9fr) minmax(250px,1fr);align-items:center;gap:clamp(24px,4vw,64px);opacity:1;transform:translate3d(105%,0,0);transition:none;will-change:transform;}
.service-scene.is-active{transform:translate3d(0,0,0);}
.service-scene__image{height:min(72vh,760px);min-height:400px;max-width:440px;width:100%;position:relative;overflow:hidden;border-radius:5px;background:#d8d7d0;box-shadow:0 24px 70px rgba(23,39,29,.13);}
.service-scene__image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;}
.service-scene__index{position:absolute;left:18px;bottom:18px;color:#fff;font-size:15px;font-weight:700;text-shadow:0 2px 12px #0008;}
.service-scene__index i{font-style:normal;opacity:.75;font-weight:400;}
.service-scene__copy{max-width:430px;align-self:center;padding-right:10px;}
.service-scene__copy h3{font-family:Georgia,serif;font-size:clamp(32px,3.2vw,52px);font-weight:400;line-height:1.04;letter-spacing:-.035em;margin:18px 0;}
.service-scene__copy p{font-size:14px;line-height:1.8;color:#5b625d;max-width:380px;}
.service-scene__cta{display:inline-flex;align-items:center;gap:24px;margin-top:26px;padding:16px 21px;border-radius:999px;background:#214c3a;color:#fff;font-size:13px;font-weight:700;box-shadow:0 12px 28px rgba(20,55,38,.18);transition:transform .25s ease,box-shadow .25s ease;}
.service-scene__cta:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(20,55,38,.24);}
.service-journey__progress{grid-column:1 / -1;grid-row:2;display:flex;align-items:center;gap:18px;z-index:4;padding-top:18px;border-top:1px solid rgba(26,48,36,.15);}
.service-journey__progress strong{font-size:12px;letter-spacing:.08em;}
.service-journey__track{height:2px;background:#d2d4cb;flex:1;max-width:340px;overflow:hidden;}
.service-journey__track i{display:block;width:100%;height:100%;background:#214c3a;transform-origin:left;transform:scaleX(.25);}
/* The review controls settle into a small wave rather than continuously bouncing. */
.rating-tile{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:20px 22px;}
.rating-tile .rating-stars{color:#E5A900;letter-spacing:2px;}
.rating-tile strong{font-size:25px;}
.rating-tile small{font-size:12px;opacity:.8;}
.reviews-home-head .rating-tile{transform:translateY(-10px);}
.review-track .review-card:nth-child(2){transform:translateY(9px);}
.review-track .review-card:nth-child(3){transform:translateY(17px);}
.review-track .review-card{transition:transform .35s ease,opacity .35s ease;}
.review-track .review-card:hover{transform:translateY(0);}
.carousel-controls>div{display:flex;gap:10px;flex-wrap:wrap;}
@media(max-width:900px){
 .hero-floating-actions--low{left:20px!important;right:auto!important;bottom:24px;max-width:min(58vw,380px);align-items:flex-start;gap:8px!important;}
 .hero-message{left:20px;top:28px;width:min(54vw,420px);}
 .hero-float-button{font-size:12px;padding:12px 15px;min-height:48px;}
 .service-journey{height:420vh;}
 .service-journey__sticky{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;padding:28px 22px;}
 .service-journey__heading{grid-column:1;grid-row:1;padding:0;max-width:700px;}
 .service-journey__heading h2{font-size:40px;margin:10px 0;}
 .service-journey__heading p{margin:0;font-size:13px;}
 .service-journey__stage{grid-column:1;grid-row:2;}
 .service-scene{grid-template-columns:minmax(130px,.8fr) minmax(0,1fr);gap:18px;}
 .service-scene__image{height:min(56vh,600px);min-height:300px;}
 .service-scene__copy h3{font-size:clamp(25px,4vw,38px);}
 .service-scene__copy p{font-size:12px;line-height:1.6;}
 .service-scene__cta{font-size:11px;padding:13px 15px;gap:10px;}
}
@media(max-width:560px){
 .hero-floating-actions--low{left:12px!important;right:auto!important;bottom:14px;max-width:70vw;gap:6px!important;}
 .hero-message{left:14px;top:22px;width:64vw;}
 .hero-message h1{font-size:clamp(22px,5.5vw,32px);line-height:1.05;margin-bottom:9px;}
 .hero-message p{font-size:11px;line-height:1.45;}
 .hero-float-button{min-height:44px;padding:10px 11px;font-size:10px;gap:7px;}
 .hero-float-reviews .review-stars{font-size:10px;}
 .review-cta-copy strong{font-size:10px;}
 .review-cta-copy small{font-size:8px;}
 .service-journey__sticky{padding:22px 16px;}
 .service-scene{grid-template-columns:42% 1fr;gap:14px;}
 .service-scene__image{height:48vh;min-height:250px;}
 .service-scene__copy h3{font-size:25px;}
 .service-scene__copy p{font-size:11px;}
 .service-scene__cta{margin-top:12px;padding:11px 12px;}
}
@media(prefers-reduced-motion:reduce){.cinematic-intro{display:none!important;}body.intro-pending{overflow:auto;}body.intro-pending .site-header,body.intro-pending .footer-cta,body.intro-pending .site-footer,body.intro-pending .quick-contact,body.intro-pending .mobile-contact-bar{visibility:visible;opacity:1;}}

.review-track .review-card[data-reveal].is-visible{transform:translateY(var(--wave-y,0px));}
.review-track .review-card[data-reveal]:hover{transform:translateY(0);}
.review-track .review-card:nth-child(2){transition-delay:.08s;}
.review-track .review-card:nth-child(3){transition-delay:.16s;}


/* Skip off-screen rendering for static lower-page sections only. The pinned service journey is intentionally excluded. */
@supports (content-visibility: auto) {
  .services-ledger, .visual-chapter, .location-band {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

/* Ultra-clean editorial hero typography — cloned from ARCHEN architecture studio benchmark
   Customized for Waqar AC Service, Rawalpindi */
.hero-message{
  position:absolute;
  z-index:4;
  left:clamp(24px,4.5vw,72px);
  top:clamp(32px,7.5vh,88px);
  width:min(52vw,580px);
  max-width:580px;
  color:#163828;
  pointer-events:none;
}
.hero-message h1{
  font-family:"Cormorant Garamond","Playfair Display","Iowan Old Style",Georgia,serif;
  font-size:clamp(46px,5.8vw,82px);
  font-weight:600;
  line-height:0.98;
  letter-spacing:-0.035em;
  margin:0;
  max-width:580px;
  color:#163828;
  text-shadow:0 1px 20px rgba(255,255,255,0.82),0 1px 3px rgba(255,255,255,0.95);
  text-wrap:balance;
}
.hero-message h1 em{
  font-family:inherit;
  font-style:italic;
  font-weight:400;
  color:#276244;
}
.hero-action-lane{
  animation:hero-lane-drift 3.8s ease-in-out infinite;
  will-change:transform;
}
.lane-call{animation-delay:-1.25s;}
.lane-maps{animation-delay:-2.5s;}
.hero-action-lane:hover,
.hero-action-lane:focus-within{
  animation-play-state:paused;
}
.hero-float-button{
  animation:none!important;
}
@keyframes hero-lane-drift{
  0%,100%{transform:translateX(0);}
  50%{transform:translateX(12px);}
}
@media(max-width:900px){
  .hero-message{width:min(74vw,480px);left:20px;top:24px;}
  .hero-message h1{font-size:clamp(36px,5.8vw,52px);line-height:1.02;}
}
@media(max-width:560px){
  .hero-message{width:min(92vw,360px);left:14px;top:18px;}
  .hero-message h1{font-size:clamp(30px,8.5vw,38px);line-height:1.04;letter-spacing:-0.025em;}
}
@media(prefers-reduced-motion:reduce){
  .hero-action-lane{animation:none!important;will-change:auto;}
}


/* ===== Approved Round 2: restrained homepage typography + discrete service scenes ===== */
.hero-photo-showcase .hero-message {
  width: min(52vw, 590px);
  max-width: 590px;
  color: #234635;
  animation: waqar-hero-copy-drift 8s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
}
.hero-photo-showcase .hero-message h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 4.1vw, 60px);
  font-weight: 700;
  line-height: 1.015;
  letter-spacing: -0.055em;
  max-width: 590px;
  color: rgba(29, 65, 47, 0.96);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}
.hero-photo-showcase .hero-message h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  color: #416a52;
}
.hero-photo-showcase .hero-message p {
  font-family: "Manrope", sans-serif;
  max-width: 390px;
  margin-top: 15px;
  color: rgba(35, 61, 47, 0.82);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.012em;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.62);
}
@keyframes waqar-hero-copy-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -2px, 0); }
}

.service-journey { height: 340vh; }
.service-journey__heading h2,
.service-scene__copy h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.service-journey__heading p,
.service-scene__copy p,
.service-scene__copy .story-index,
.service-scene__cta {
  font-family: "Manrope", sans-serif;
}
.service-scene {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 9px, 0) scale(0.995);
  transition:
    opacity 440ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 520ms;
  will-change: auto;
}
.service-scene.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 440ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}
@media (max-width: 900px) {
  .service-journey { height: 340vh; }
  .hero-photo-showcase .hero-message { width: min(76vw, 500px); }
  .hero-photo-showcase .hero-message h1 { font-size: clamp(38px, 6.2vw, 54px); }
}
@media (max-width: 560px) {
  .hero-photo-showcase .hero-message { width: min(92vw, 370px); left: 14px; top: 18px; }
  .hero-photo-showcase .hero-message h1 {
    font-size: clamp(31px, 8.2vw, 36px);
    line-height: 1.045;
    letter-spacing: -0.045em;
  }
  .hero-photo-showcase .hero-message p {
    max-width: 330px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.48;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-showcase .hero-message { animation: none; }
  .service-scene,
  .service-scene.is-active {
    transition: none;
    transform: none;
  }
}


/* ===== Round 5: compact upper-left hero typography =====
   Typography, text colour and text sizing only. Preserve the approved site palette,
   hero image treatment, layout layers, motion, and all interactive controls. */
.hero-photo-showcase .hero-message {
  left: clamp(24px, 4.5vw, 64px);
  top: clamp(30px, 6.5vh, 76px);
  right: auto;
  bottom: auto;
  width: min(49vw, 600px);
  max-width: 600px;
  text-align: left;
  color: #234635;
  animation: waqar-hero-copy-drift 8s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
}
.hero-photo-showcase .hero-message h1 {
  font-family: "DM Sans", "Manrope", sans-serif;
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 600;
  line-height: 1.035;
  letter-spacing: -0.045em;
  max-width: 600px;
  margin: 0;
  color: rgba(29, 65, 47, 0.96);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}
.hero-photo-showcase .hero-headline-line {
  display: block;
}
.hero-photo-showcase .hero-message p {
  font-family: "DM Sans", "Manrope", sans-serif;
  max-width: 390px;
  margin-top: 12px;
  color: rgba(35, 61, 47, 0.82);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.62);
}
@media (max-width: 900px) {
  .hero-photo-showcase .hero-message {
    left: 20px;
    top: 24px;
    width: min(74vw, 500px);
  }
  .hero-photo-showcase .hero-message h1 {
    font-size: clamp(34px, 5.2vw, 48px);
    line-height: 1.04;
  }
}
@media (max-width: 560px) {
  .hero-photo-showcase .hero-message {
    left: 14px;
    top: 18px;
    width: min(88vw, 380px);
  }
  .hero-photo-showcase .hero-message h1 {
    font-size: clamp(31px, 7.8vw, 35px);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }
  .hero-photo-showcase .hero-message p {
    max-width: 330px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.48;
  }
}
