/* Services alone: ivory analytical environment after the locked dark Values. */
.motion-enabled .services { left:-500vw; background:#071526; }
.services { background:#f7f5ef; color:#0b1d31; direction:rtl; isolation:isolate; }
.services-surface { position:absolute; inset:0; background:#f7f5ef; z-index:-1; }
.services-intro { position:absolute; top:13%; right:8vw; width:35vw; z-index:3; }
.services-intro .eyebrow { color:#148d92; margin:0 0 15px; font-size:16px; font-weight:400; }
.services-statement { font-size:clamp(23px,2vw,32px); line-height:1.65; font-weight:400; margin:0; }
.services-film,.services-property { position:absolute; left:12vw; width:76vw; top:23%; height:72%; transform-origin:55% 58%; }
.services-film { z-index:1; }
.services-film video,.services-property img { width:100%; height:100%; object-fit:contain; display:block; mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(0deg,transparent,#000 12%,#000 88%,transparent); mask-composite:intersect; }
.services-property { opacity:0; z-index:2; }
.services-study { position:absolute; inset:0; width:100%; height:100%; overflow:visible; fill:none; stroke:#21999e; stroke-width:1; pointer-events:none; }
.services-study path,.services-study rect { vector-effect:non-scaling-stroke; }
.services-study g { opacity:0; }
.services-bridge { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:3; fill:none; stroke:#18a7a8; stroke-width:1; }
.service-content { position:absolute; left:7vw; top:52%; width:27vw; max-width:470px; opacity:0; z-index:4; }
.service-phase { position:absolute; inset:0 0 auto; opacity:0; display:flex; align-items:baseline; gap:14px; color:#148d92; }
.service-phase span { font-size:13px; direction:ltr; }
.service-phase h3 { font-size:clamp(18px,1.65vw,27px); font-weight:400; margin:0; }
.service-entry { position:absolute; right:0; top:58px; width:100%; opacity:0; }
.service-entry h4 { font-size:clamp(26px,2.4vw,38px); font-weight:500; line-height:1.5; margin:0 0 14px; }
.service-entry p { font-size:clamp(16px,1.3vw,21px); line-height:1.85; color:#49616d; margin:0; }
body:not(.motion-enabled) .services { height:auto; min-height:100vh; padding:120px 8vw 80px; }
body:not(.motion-enabled) .services-intro,body:not(.motion-enabled) .service-content { position:relative; inset:auto; width:100%; max-width:800px; opacity:1; }
body:not(.motion-enabled) .services-film,body:not(.motion-enabled) .services-bridge { display:none; }
body:not(.motion-enabled) .services-property { position:relative; inset:auto; width:100%; height:55vh; opacity:1; }
body:not(.motion-enabled) .service-phase,body:not(.motion-enabled) .service-entry { position:relative; inset:auto; opacity:1; margin:32px 0; }

/* One global environment; no directional reveal boundary. */
.services-space { display:none; }
.motion-enabled .services-space { display:block; position:absolute; inset:0; z-index:1; background:#071526; visibility:hidden; pointer-events:none; }
.motion-enabled .services { background:transparent; isolation:auto; mask-image:none; border-radius:0; }
.motion-enabled .services-surface { display:none; }

.services-film video,.services-property img { filter:none; }
.services-intro #services-title { font-size:clamp(20px,1.7vw,27px); font-weight:500; }
.services-study .service-footprint { stroke-width:1.15; }

/* Feather the actual media pixels, not the letterboxed container. */
.services-film video,.services-property img { position:absolute; top:50%; left:0; width:100%; height:auto; aspect-ratio:1918 / 1080; transform:translateY(-50%); object-fit:contain; filter:none; mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 3%,#000 13%,#000 87%,rgba(0,0,0,.15) 97%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 14%,#000 90%,transparent 100%); mask-composite:intersect; mask-repeat:no-repeat; }
/* Align technical strokes to the same intrinsic property plane. */
.services-study { top:50%; bottom:auto; height:auto; aspect-ratio:1000 / 563; transform:translateY(-50%); }
/* Active analysis is darker and stronger than the asset's passive wireframe. */
.services-study { stroke:#087980; stroke-width:1.35; stroke-linejoin:round; stroke-linecap:round; }
.services-study .service-footprint { stroke:#087d83; stroke-width:1.5; }
.services-study .service-structure { stroke:#125666; stroke-width:1.25; }
.services-study .service-document,.services-study .service-report { stroke:#176779; stroke-width:1.25; }
.services-study .service-comparables { stroke:#277782; stroke-width:1.35; }

/* Retain active contrast while reducing visual weight and peripheral scale. */
.services-study .service-comparables path { transform-box:fill-box; transform-origin:center bottom; transform:scale(.82); }
.services-study .service-report { transform-box:fill-box; transform-origin:left center; transform:translateX(-12px) scale(.9); }
.services-closing { position:absolute; top:32px; right:0; margin:0; font-size:clamp(28px,2.8vw,44px); font-weight:400; line-height:1.7; opacity:0; }
.services-closing span { color:#087d83; }
body:not(.motion-enabled) .services-closing { position:relative; inset:auto; opacity:1; margin-top:60px; }

/* Mobile uses one deliberately framed property view, then a content-led service flow.
   These overrides live here (after the desktop visual rules) so the desktop scene is untouched. */
@media (max-width:999px) {
  .services { height:auto !important; min-height:0 !important; padding-block:64px !important; }
  .services-intro { position:relative !important; inset:auto !important; width:100% !important; max-width:34rem; margin:0 !important; }
  .services-film, .services-bridge, .services-study { display:none !important; }
  .services-property { position:relative !important; inset:auto !important; display:block !important; width:min(86vw,540px) !important; height:min(40svh,calc(86vw * .75)) !important; max-height:40svh !important; aspect-ratio:4 / 3; margin:32px auto 36px !important; overflow:hidden; opacity:1 !important; transform:none !important; }
  .services-property img { position:static !important; display:block; width:100% !important; height:100% !important; aspect-ratio:auto !important; transform:none !important; object-fit:cover !important; object-position:53% 52% !important; mask-image:none !important; -webkit-mask-image:none !important; }
  .service-content { position:relative !important; inset:auto !important; display:flex !important; flex-direction:column; gap:0 !important; width:100% !important; transform:none !important; }
  .service-phase, .service-entry, .services-closing { position:relative !important; inset:auto !important; width:100% !important; opacity:1 !important; transform:none !important; }
  .service-phase { margin:28px 0 14px; }
  .service-entry { margin:0 0 22px; padding:0 !important; }
  .service-entry h4 { margin-bottom:8px; }
  .services-closing { margin:20px 0 0 !important; }
  /* Keep each phase with its services in normal reading order. */
  .service-phase:nth-of-type(1) { order:1; }
  .service-entry:nth-of-type(1), .service-entry:nth-of-type(2), .service-entry:nth-of-type(3) { order:2; }
  .service-phase:nth-of-type(2) { order:3; }
  .service-entry:nth-of-type(4), .service-entry:nth-of-type(5), .service-entry:nth-of-type(6) { order:4; }
  .service-phase:nth-of-type(3) { order:5; }
  .service-entry:nth-of-type(7), .service-entry:nth-of-type(8), .service-entry:nth-of-type(9) { order:6; }
  .services-closing { order:7; }
}

/* Compact Numbers moment: data resolves into the established Services blueprint. */
.numbers-scene{position:absolute;inset:0;z-index:5;background:#071526;color:#f7fafc;direction:rtl;overflow:hidden;pointer-events:none;}
.motion-enabled .numbers-scene{left:-400vw;visibility:hidden;}
.numbers-grid{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#3d808c;stroke-width:1;opacity:.42;}
.numbers-grid path{vector-effect:non-scaling-stroke;}.numbers-grid circle{fill:#20bbb9;stroke:none;}
.numbers-primary{position:absolute;top:19%;right:10vw;width:min(68vw,1000px);}
.numbers-primary .eyebrow{margin:0 0 26px;color:#65d0cc;font-size:20px;font-weight:600;}
.numbers-hero-value{margin:0;direction:ltr;text-align:right;font-family:Arial,sans-serif;font-size:clamp(88px,11vw,178px);line-height:.9;font-weight:400;letter-spacing:-.065em;color:#f7fafc;}
.numbers-hero-label{margin:19px 3px 0;font-size:clamp(20px,1.75vw,28px);line-height:1.4;color:rgba(247,250,252,.76);}
.numbers-credentials{position:absolute;inset:0;z-index:1;}
.numbers-credential{position:absolute;margin:0;display:flex;flex-direction:column;gap:7px;padding-right:18px;border-right:1px solid rgba(83,211,206,.72);color:#aabdc7;}
.numbers-credential b,.numbers-preview b{font-family:Arial,sans-serif;font-weight:400;letter-spacing:.02em;color:#f7fafc;font-size:clamp(22px,2.2vw,34px);line-height:1;}
.numbers-credential span,.numbers-preview span{font-size:13px;line-height:1.55;color:#9fb1bc;}
.numbers-credential:nth-child(1){top:59%;right:10vw;}.numbers-credential:nth-child(2){top:52%;right:35vw;}.numbers-credential:nth-child(3){top:64%;right:53vw;}.numbers-credential:nth-child(4){top:43%;right:70vw;}
.numbers-preview{position:absolute;left:10vw;bottom:14%;display:flex;gap:56px;direction:rtl;}
.numbers-preview p{display:flex;align-items:baseline;gap:11px;margin:0;padding-top:11px;border-top:1px solid rgba(83,211,206,.64);min-width:126px;}.numbers-preview b{font-size:clamp(28px,3vw,46px);color:#65d0cc;}.numbers-preview span{color:rgba(247,250,252,.78);font-size:15px;}
body:not(.motion-enabled) .numbers-scene{position:relative;inset:auto;min-height:0;padding:82px 8vw;background:#071526;pointer-events:auto;}.numbers-primary{position:relative;inset:auto;width:auto;}.numbers-credentials{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 44px;margin-top:55px;}.numbers-credential{position:relative;inset:auto;}.numbers-preview{position:relative;left:auto;bottom:auto;margin-top:50px;}.numbers-grid{opacity:.18;}
@media(max-width:999px){.numbers-scene{position:relative!important;inset:auto!important;left:auto!important;visibility:visible!important;min-height:0!important;padding:62px 7vw!important;pointer-events:auto;}.numbers-primary{position:relative;inset:auto;width:auto;}.numbers-primary .eyebrow{font-size:19px;margin-bottom:22px;}.numbers-hero-value{font-size:clamp(66px,18vw,96px);}.numbers-hero-label{margin-top:14px;font-size:20px;}.numbers-credentials{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;margin-top:42px;}.numbers-credential{position:relative;inset:auto;padding-right:12px;}.numbers-credential b{font-size:24px;overflow-wrap:anywhere;}.numbers-credential span{font-size:12px;}.numbers-preview{position:relative;left:auto;bottom:auto;margin-top:42px;gap:16px;}.numbers-preview p{min-width:0;flex:1;gap:8px;}.numbers-grid{opacity:.16;}}

/* Keep the cinematic numbers composition positioned independently in the desktop motion stage. */
.motion-enabled .numbers-primary { position:absolute; top:19%; right:10vw; width:min(68vw,1000px); }
.motion-enabled .numbers-credentials { position:absolute; inset:0; display:block; margin-top:0; }
.motion-enabled .numbers-credential { position:absolute; inset:auto; }
.motion-enabled .numbers-preview { position:absolute; left:10vw; bottom:14%; margin-top:0; }

/* The numbers beat occupies one viewport inside the desktop horizontal stage. */
.numbers-scene { top:0; right:auto; bottom:0; left:0; width:100vw; }
.motion-enabled .numbers-scene { left:-400vw; right:auto; width:100vw; }

.motion-enabled .numbers-credential:nth-child(1){top:59%;right:10vw;bottom:auto;left:auto;}
.motion-enabled .numbers-credential:nth-child(2){top:52%;right:35vw;bottom:auto;left:auto;}
.motion-enabled .numbers-credential:nth-child(3){top:64%;right:53vw;bottom:auto;left:auto;}
.motion-enabled .numbers-credential:nth-child(4){top:43%;right:70vw;bottom:auto;left:auto;}

@media (max-width:999px){
  .numbers-credential:nth-child(1),.numbers-credential:nth-child(2),.numbers-credential:nth-child(3),.numbers-credential:nth-child(4){top:auto;right:auto;bottom:auto;left:auto;}
}

/* Services identifier: aligned to the architectural grid after the blueprint settles. */
@media (min-width:1000px){
  .services-intro{top:18%;right:10vw;width:32vw;}
  .services-intro #services-title{display:flex;align-items:center;gap:11px;margin:0 0 17px;font-size:clamp(24px,1.9vw,28px);font-weight:600;line-height:1.35;color:#148d92;}
  .services-intro #services-title .eyebrow-rule{width:31px;height:2px;background:currentColor;opacity:.95;}
}

/* Preserve breathing room below the hero figure before the VFR3+ credential enters. */
@media (min-width:1000px){.motion-enabled .numbers-credential:nth-child(2){top:60%;}}

/* Numbers composition: small spacing and contrast refinements only. */
@media (min-width:1000px){
  .motion-enabled .numbers-credential:nth-child(1){top:65%;}
  .motion-enabled .numbers-credential:nth-child(2){border-right-color:rgba(83,211,206,.4);}
  .numbers-preview b{font-size:clamp(30px,3.15vw,48px);}
  .numbers-preview span{color:rgba(247,250,252,.88);font-size:15.5px;}
}

/* Services copy repair only: reserve the clear upper-right reading area. */
@media (min-width:1000px){
  .services-intro{top:12.5%;right:10vw;width:22vw;max-width:300px;}
  .services-statement{font-size:clamp(18px,1.45vw,22px);line-height:1.72;color:#49616d;}
}
/* Services heading uses the approved Why Menassat marker and keeps more air below the navbar. */
@media (min-width:1000px){
  .services-intro{top:15%;}
  .services-intro #services-title{gap:16px;}
  .services-intro #services-title .eyebrow-rule{width:34px;height:1px;opacity:1;}
}