
:root{
  --ink:#153b3e;
  --deep:#15555a;
  --deep-2:#0e484d;
  --teal:#157b80;
  --aqua:#69ced0;
  --paper:#f8fbfa;
  --muted:#687f82;
  --line:#dbe7e7;
}
*{box-sizing:border-box}
html{background:#f8fbfa;scroll-behavior:smooth}
body{margin:0;background:#f8fbfa;color:var(--ink);font-family:"DM Sans",Arial,sans-serif;overflow-x:hidden;overflow-y:auto;display:block}
button,input,select{font:inherit}

/* ===== VIEWPORT FIT =====
   The design is authored on the exact 1536 × 960 reference canvas,
   then scaled as one unit so fields never shift or get cut off. */
.fit-outer{position:relative;flex:0 0 auto}
.site-fit{position:absolute;left:0;top:0;width:1536px;height:960px;transform-origin:top left}
.hero-shell{
  position:relative;
  width:1536px;
  height:960px;
  margin:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 38% 18%,rgba(213,242,241,.7),transparent 32%),
    linear-gradient(180deg,#fbfdfc 0%,#f5faf9 73%,#e8f7f6 100%);
}

/* ===== REAL WATER PHOTO ===== */
.photo-water{
  position:absolute;
  right:-10px;
  top:78px;
  width:812px;
  height:645px;
  background-image:
    linear-gradient(180deg,rgba(0,105,116,.08),rgba(0,88,98,.1)),
    url("assets/home/water.jpg");
  background-size:cover;
  background-position:center 54%;
  filter:saturate(1.28) contrast(1.035) brightness(1.02);
  box-shadow:-26px 24px 54px rgba(70,176,183,.10);
  z-index:0;
}

.photo-water::before{
  content:"";
  position:absolute;
  left:-2px;
  top:-2px;
  bottom:-2px;
  width:190px;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(ellipse at 0% 46%,
      rgba(248,251,250,.98) 0%,
      rgba(248,251,250,.84) 28%,
      rgba(248,251,250,.48) 52%,
      rgba(248,251,250,.16) 72%,
      rgba(248,251,250,0) 100%);
  filter:blur(7px);
}

.photo-water::after{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  z-index:2;
  background:
    linear-gradient(90deg,
      rgba(248,251,250,.92) 0%,
      rgba(248,251,250,.56) 6%,
      rgba(248,251,250,.16) 13%,
      rgba(248,251,250,0) 20%,
      rgba(248,251,250,0) 70%,
      rgba(0,68,79,.18) 84%,
      rgba(0,68,79,.52) 100%),
    linear-gradient(180deg,
      rgba(248,251,250,.08) 0%,
      rgba(248,251,250,0) 72%,
      rgba(248,251,250,.16) 84%,
      rgba(248,251,250,.78) 97%,
      #f8fbfa 100%);
  filter:blur(.15px);
}

/* the exact white sweep that carves the water into the reference-style organic shape */
.water-cutout{
  position:absolute;
  left:-40px;
  top:70px;
  width:1135px;
  height:275px;
  z-index:1;
  background:linear-gradient(125deg,#fbfdfc 0%,#f5faf9 78%,rgba(245,250,249,.98) 100%);
  border-bottom-right-radius:74% 93%;
  transform:rotate(.2deg);
}

/* ===== REAL PALM SHADOW PHOTO =====
   Restored photographic palm shadow from V6 with its soft paper blend. */
.palm-photo{
  position:absolute;
  left:-36px;
  top:-30px;
  width:510px;
  height:330px;
  z-index:2;
  background-image:url("assets/home/palm.jpg");
  background-size:510px auto;
  background-position:left -5px top -54px;
  background-repeat:no-repeat;
  mix-blend-mode:multiply;
  opacity:.20;
  filter:grayscale(1) contrast(.86) blur(.55px);
  -webkit-mask-image:radial-gradient(ellipse 115% 105% at 0% 0%,#000 0 54%,rgba(0,0,0,.90) 66%,rgba(0,0,0,.40) 80%,transparent 96%);
  mask-image:radial-gradient(ellipse 115% 105% at 0% 0%,#000 0 54%,rgba(0,0,0,.90) 66%,rgba(0,0,0,.40) 80%,transparent 96%);
}
.palm-photo::after{
  content:"";
  position:absolute;
  left:34px;
  top:8px;
  width:390px;
  height:274px;
  background-image:inherit;
  background-size:465px auto;
  background-position:left -78px top -182px;
  background-repeat:no-repeat;
  opacity:.30;
  filter:blur(.35px);
  transform:rotate(-2deg);
  -webkit-mask-image:linear-gradient(120deg,#000 0 55%,rgba(0,0,0,.58) 72%,transparent 96%);
  mask-image:linear-gradient(120deg,#000 0 55%,rgba(0,0,0,.58) 72%,transparent 96%);
}

.palm-lower{
  left:-20px;
  top:auto;
  bottom:-18px;
  width:245px;
  height:180px;
  opacity:.09;
  transform:rotate(8deg) scale(.88);
  transform-origin:left bottom;
  background-size:285px auto;
  background-position:left -22px top -30px;
  filter:grayscale(1) contrast(.8) blur(.5px);
  -webkit-mask-image:radial-gradient(ellipse 120% 110% at 0% 100%,#000 0 48%,rgba(0,0,0,.62) 68%,transparent 94%);
  mask-image:radial-gradient(ellipse 120% 110% at 0% 100%,#000 0 48%,rgba(0,0,0,.62) 68%,transparent 94%);
}
.palm-lower::after{
  display:none;
}

.aqua-left{
  position:absolute;left:-108px;bottom:-247px;width:610px;height:705px;z-index:0;
  background:linear-gradient(135deg,#59c6c8 0%,#ccecea 78%);
  border-radius:0 78% 0 0 / 0 52% 0 0;
  transform:rotate(-7deg);
}
.white-bottom{
  position:absolute;right:-120px;bottom:-255px;width:690px;height:430px;z-index:1;
  background:#f8fbfa;border-radius:70% 0 0 0 / 100% 0 0 0;transform:rotate(-8deg);
}

/* ===== HEADER ===== */
.site-header{
  position:absolute;left:0;right:0;top:0;height:126px;z-index:6;
  display:flex;align-items:flex-start;
}
.brand-logo{
  position:absolute;
  left:218px;
  top:18px;
  width:190px;
  height:auto;
  object-fit:contain;
  image-rendering:auto;
  filter:contrast(1.05);
}
.main-nav{
  position:absolute;left:530px;top:38px;display:flex;gap:44px;align-items:center;
}
.main-nav a{
  color:#123f43;text-decoration:none;font-size:14px;font-weight:600;letter-spacing:-.2px;padding:0 0 10px;
}
.main-nav a.active{border-bottom:2px solid #3aa5a6}
.phone-pill{
  position:absolute;right:153px;top:21px;height:49px;min-width:190px;padding:0 22px;
  display:flex;align-items:center;justify-content:center;gap:11px;
  border-radius:999px;background:#0d7177;color:white;text-decoration:none;
  font-size:15.5px;font-weight:600;letter-spacing:.1px;box-shadow:0 8px 22px rgba(14,95,100,.08);
}
.phone-svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:#fff;
  stroke-width:2.05;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 17px;
}

/* ===== HERO COPY ===== */
.hero-copy{position:absolute;left:138px;top:142px;z-index:5;width:670px}
.eyebrow{margin:0 0 13px;color:#61afb3;font-size:12px;letter-spacing:4px;font-weight:500}
.hero-copy h1{
  margin:0;
  font-family:"EB Garamond","Cormorant Garamond",Georgia,serif;
  font-size:72px;
  line-height:.94;
  letter-spacing:-2.15px;
  font-weight:600;
  color:#153b3e;
}
.lead{margin:13px 0 0;color:#697d80;font-size:16px;letter-spacing:-.25px}

.dream-rail{
  position:absolute;z-index:6;right:74px;top:135px;color:#fff;display:grid;gap:17px;
  text-align:center;font-size:12px;letter-spacing:5px;
}
.dream-rail i{display:block;width:49px;height:1px;background:rgba(255,255,255,.84);margin:6px auto 0}

/* ===== CARDS ===== */
.configurator{
  position:absolute;z-index:5;left:129px;top:343px;width:692px;height:567px;
  padding:25px 26px 20px;border-radius:27px;background:rgba(255,255,255,.955);
  box-shadow:0 16px 50px rgba(27,82,84,.08);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:22px;row-gap:16px;align-content:start}
.field label,.options legend{
  display:block;margin:0 0 8px;color:#738c90;font-size:11px;letter-spacing:2px;font-weight:600;
}
.field input,.field select{
  width:100%;height:44px;padding:0 17px;border:1px solid #d6e5e5;border-radius:17px;
  background:#fff;color:#182e31;font-size:14px;font-weight:600;outline:none;
  transition:border-color .18s,box-shadow .18s;
}
.field input:focus,.field select:focus{border-color:#5fb2b2;box-shadow:0 0 0 3px rgba(94,176,176,.1)}
.options{
  border:0;padding:0;margin:1px 0 0;grid-column:1/-1;
  display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;
}
.options legend{grid-column:1/-1;width:100%;margin:0 0 -1px}
.check{
  height:40px;border:1px solid #d6e5e5;border-radius:16px;background:#fff;
  display:flex;align-items:center;padding:0 12px;font-size:14px;font-weight:600;color:#253e41;cursor:pointer;
}
.check input{width:16px;height:16px;margin:0 9px 0 0;accent-color:#11777b}
.form-actions{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin-top:0}
.site-visit-btn{
  height:56px;
  flex:1 1 350px;
  min-width:350px;
  border:0;
  border-radius:999px;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(90deg,#0a6268,#1d8587);
  font-weight:800;
  font-size:15px;
  letter-spacing:.1px;
  box-shadow:0 10px 24px rgba(15,117,121,.14);
}
.site-visit-btn span{font-size:20px;margin-left:12px}
.quote-btn{
  height:44px;
  min-width:205px;
  border:1px solid #b9d7d8;
  border-radius:999px;
  color:#126f74;
  cursor:pointer;
  background:#fff;
  font-weight:700;
  font-size:12px;
  box-shadow:none;
}
.quote-btn span{font-size:16px;margin-left:7px}
.reset-btn{
  margin-left:0;border:0;background:transparent;color:#14747a;cursor:pointer;font-size:12px;padding:10px 3px;
}
.reset-btn span{font-size:20px;vertical-align:-2px;margin-right:5px}

.estimate-card{
  position:absolute;z-index:5;left:845px;top:343px;width:564px;height:532px;
  padding:31px 36px 22px;border-radius:28px;color:white;
  background:linear-gradient(145deg,#164e53 0%,#175f63 100%);
  box-shadow:0 20px 50px rgba(16,77,82,.16);
}
.estimate-tag{
  display:inline-flex;height:31px;align-items:center;padding:0 13px;border-radius:999px;
  background:rgba(255,255,255,.17);font-size:10px;font-weight:700;
}
.estimate-price{
  margin:11px 0 7px;
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-size:52px;
  line-height:1;
  letter-spacing:-.2px;
  font-weight:600;
  white-space:nowrap;
  text-rendering:geometricPrecision;
}

.estimate-price #priceAmount{
  font-family:"DM Sans",Arial,sans-serif;
  font-size:.82em;
  font-weight:600;
  letter-spacing:.2px;
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:"tnum" 1,"lnum" 1;
  vertical-align:.05em;
}

.estimate-note{margin:0;color:#d7e7e7;font-size:12px}
.divider{height:1px;background:rgba(255,255,255,.2);margin:24px 0 23px}
.stats{margin:0;display:grid;gap:13px}
.stats div{display:flex;justify-content:space-between;align-items:baseline}
.stats dt{font-size:15px}.stats dd{margin:0;font-size:15px;font-weight:700}
.engine-note{margin:24px 0 0;color:#d5e4e4;font-size:11.5px;line-height:1.6}
.benefit-row{
  position:absolute;left:36px;right:36px;bottom:23px;border-top:1px solid rgba(255,255,255,.18);
  padding-top:20px;display:grid;grid-template-columns:1fr 1.14fr 1.08fr;
}
.benefit{display:flex;align-items:center;gap:11px;font-size:10.5px;line-height:1.5}
.benefit+.benefit{border-left:1px solid rgba(255,255,255,.13);padding-left:17px}
.benefit-icon{
  width:29px;
  height:31px;
  flex:0 0 29px;
  fill:none;
  stroke:#f2fbfb;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.truck-icon{width:34px;flex-basis:34px}
.gear-icon{width:31px;flex-basis:31px}

.vertical-caption{
  position:absolute;left:29px;bottom:26px;z-index:6;color:#397e82;font-size:9px;letter-spacing:2.1px;line-height:2;
}
.vertical-caption span{display:block;width:39px;height:1px;background:#397e82;margin-top:8px}
.signature{
  position:absolute;
  right:30px;
  bottom:21px;
  z-index:6;
  font-family:"Allura","Segoe Script",cursive;
  color:#084348 !important;
  font-size:34px;
  line-height:.67;
  font-style:normal;
  font-weight:400;
  transform:rotate(-8deg);
  text-align:center;
  letter-spacing:.1px;
}
.scroll-copy{
  position:absolute;z-index:6;bottom:18px;left:50%;transform:translateX(-50%);
  color:#76a4a6;font-size:9px;letter-spacing:1.7px;
}

/* ===== QUOTATION FLOW ===== */
.quote-dialog{
  border:0;
  border-radius:30px;
  padding:0;
  overflow:hidden;
  background:#fbfdfc;
  box-shadow:0 34px 120px rgba(12,58,61,.34);
}
.quote-dialog::backdrop{
  background:rgba(7,43,47,.46);
  backdrop-filter:blur(7px);
}
.dialog-card{
  width:min(670px,92vw);
  padding:36px 38px 30px;
  position:relative;
  color:#173f42;
  background:
    radial-gradient(circle at 100% 0%,rgba(72,170,170,.11),transparent 30%),
    #fbfdfc;
}
.dialog-close{
  position:absolute;
  z-index:3;
  right:20px;
  top:16px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:rgba(20,91,95,.06);
  font-size:24px;
  line-height:30px;
  color:#5e7679;
  cursor:pointer;
}
.dialog-close:hover{background:rgba(20,91,95,.11)}
.quote-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  padding-right:32px;
}
.dialog-kicker{
  font-size:9px;
  font-weight:700;
  letter-spacing:2.4px;
  color:#55a9aa;
  margin:0 0 8px;
}
.dialog-card h2{
  font-family:"EB Garamond","Cormorant Garamond",Georgia,serif;
  font-size:38px;
  line-height:.98;
  font-weight:600;
  letter-spacing:-.5px;
  margin:0 0 9px;
}
.quote-subtitle{
  max-width:470px;
  margin:0;
  color:#71878a;
  font-size:12px;
  line-height:1.65;
}
.quote-step{
  flex:0 0 auto;
  margin-top:3px;
  color:#89a5a7;
  font-size:9px;
  font-weight:700;
  letter-spacing:1.4px;
}
.quote-pool-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:24px 0 22px;
}
.quote-pool-card{
  min-width:0;
  padding:12px 12px 11px;
  border:1px solid rgba(31,116,120,.10);
  border-radius:15px;
  background:rgba(237,247,246,.78);
}
.quote-pool-card span{
  display:block;
  margin-bottom:5px;
  color:#81999b;
  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}
.quote-pool-card b{
  display:block;
  overflow:hidden;
  color:#255d61;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 12px;
  margin:0 0 20px;
}
.contact-grid label{
  display:block;
  min-width:0;
}
.contact-grid label>span{
  display:block;
  margin:0 0 7px;
  color:#657e81;
  font-size:9px;
  font-weight:700;
  letter-spacing:.9px;
  text-transform:uppercase;
}
.contact-grid .location-field{
  grid-column:1/-1;
}
.contact-grid input,
.contact-grid select{
  display:block;
  width:100%;
  height:46px;
  border:1px solid #d8e5e5;
  border-radius:13px;
  outline:none;
  background:#fff;
  color:#234f53;
  padding:0 13px;
  font:inherit;
  font-size:12px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.contact-grid input::placeholder{color:#a5b5b6}
.contact-grid input:focus,
.contact-grid select:focus{
  border-color:#69b5b6;
  box-shadow:0 0 0 3px rgba(80,170,172,.11);
}
.contact-grid input.invalid,
.contact-grid select.invalid{
  border-color:#c77770;
  background:#fffafa;
  box-shadow:0 0 0 3px rgba(178,76,67,.06);
}
.field-error{
  display:block;
  min-height:13px;
  margin-top:4px;
  color:#b7665f;
  font-size:9px;
  line-height:1.3;
}
.quote-estimate-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 18px;
  margin:2px 0 15px;
  border-radius:17px;
  background:linear-gradient(110deg,#15565b,#1a6c71);
  color:#fff;
}
.quote-estimate-row>div>span{
  display:block;
  margin-bottom:5px;
  color:#b8dddd;
  font-size:8px;
  font-weight:700;
  letter-spacing:1.3px;
}
.quote-estimate-row strong{
  display:flex;
  align-items:baseline;
  gap:6px;
  font-size:23px;
  line-height:1;
}
.quote-estimate-row strong small{
  color:#bde0e0;
  font-size:9px;
  letter-spacing:.8px;
}
.quote-estimate-row strong b{font-weight:700}
.quote-estimate-row p{
  width:min(250px,44%);
  margin:0;
  color:#bad7d8;
  font-size:9px;
  line-height:1.55;
  text-align:right;
}
.quote-form-message{
  min-height:14px;
  margin:0 0 8px;
  color:#ad625d;
  font-size:10px;
  text-align:center;
}
.dialog-primary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  height:50px;
  border:0;
  border-radius:999px;
  background:#11777c;
  color:#fff;
  font-weight:700;
  font-size:11px;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.dialog-primary:hover{
  background:#0d696e;
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(17,119,124,.18);
}
.dialog-primary span{
  font-size:16px;
  line-height:1;
}
.dialog-small{
  margin:12px 0 0;
  text-align:center;
  color:#899a9c;
  font-size:9px;
}
@media (max-width:640px){
  .dialog-card{padding:32px 22px 24px}
  .quote-pool-cards{grid-template-columns:1fr 1fr}
  .contact-grid{grid-template-columns:1fr}
  .contact-grid .location-field{grid-column:auto}
  .quote-estimate-row{align-items:flex-start;flex-direction:column;gap:10px}
  .quote-estimate-row p{width:100%;text-align:left}
}



/* =========================================================
   V14 — INTERACTIVE 3D SECTION
   V12 HERO ABOVE IS UNCHANGED.
   ========================================================= */
.viewer-section{
  position:relative;
  background:
    radial-gradient(circle at 16% 22%,rgba(112,207,205,.16),transparent 27%),
    linear-gradient(180deg,#f8fbfa 0%,#eef8f7 100%);
  padding:96px 32px 110px;
  overflow:hidden;
}
.viewer-section::before{
  content:"";
  position:absolute;
  width:480px;
  height:480px;
  right:-230px;
  top:70px;
  border-radius:50%;
  background:rgba(93,199,198,.14);
  filter:blur(2px);
}
.viewer-section::after{
  content:"";
  position:absolute;
  width:390px;
  height:220px;
  left:-130px;
  bottom:-95px;
  border-radius:50% 60% 0 0;
  background:linear-gradient(135deg,rgba(57,178,181,.24),rgba(222,242,240,.08));
  transform:rotate(9deg);
}
.viewer-inner{
  position:relative;
  z-index:1;
  width:min(1260px,100%);
  margin:0 auto;
}
.viewer-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:42px;
  margin-bottom:34px;
}
.viewer-eyebrow{
  margin:0 0 8px;
  color:#58aeb1;
  font-size:11px;
  letter-spacing:3.2px;
  font-weight:700;
}
.viewer-heading h2{
  margin:0;
  color:#153b3e;
  font-family:"EB Garamond","Cormorant Garamond",Georgia,serif;
  font-size:54px;
  line-height:.98;
  font-weight:600;
  letter-spacing:-1.5px;
}
.viewer-intro{
  width:min(430px,42%);
  margin:0 0 4px;
  color:#6b8083;
  font-size:14px;
  line-height:1.7;
}
.viewer-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 318px;
  gap:22px;
  align-items:stretch;
}
.viewer-stage{
  position:relative;
  min-height:585px;
  border-radius:30px;
  overflow:hidden;
  background:
    radial-gradient(circle at 63% 28%,rgba(255,255,255,.96),rgba(244,250,249,.92) 42%,rgba(224,242,240,.96) 100%);
  border:1px solid rgba(33,104,108,.08);
  box-shadow:0 25px 70px rgba(24,82,85,.10);
}
#poolCanvas{
  display:block;
  width:100%;
  height:585px;
  outline:none;
  cursor:grab;
}
#poolCanvas:active{cursor:grabbing}
.viewer-live{
  position:absolute;
  left:22px;
  top:20px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(9px);
  color:#174e52;
  font-size:9px;
  letter-spacing:1.45px;
  font-weight:800;
  box-shadow:0 6px 18px rgba(22,83,86,.06);
}
.viewer-live span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#39a9a8;
  box-shadow:0 0 0 4px rgba(57,169,168,.12);
}
.viewer-status{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#5c8083;
  font-size:13px;
  pointer-events:none;
  transition:opacity .25s ease;
}
.viewer-status.ready{opacity:0}
.viewer-status.error{
  opacity:1;
  padding:30px;
  text-align:center;
  color:#7e5252;
}
.viewer-help{
  position:absolute;
  left:50%;
  bottom:17px;
  transform:translateX(-50%);
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#6d8d8f;
  font-size:9px;
  letter-spacing:1.05px;
  white-space:nowrap;
  backdrop-filter:blur(7px);
}
.viewer-side{
  border-radius:28px;
  padding:27px 25px 24px;
  color:#fff;
  background:
    linear-gradient(
      180deg,
      #164f54 0%,
      #175a5f 58%,
      #1a6267 78%,
      #286f73 100%
    );
  box-shadow:0 24px 60px rgba(14,74,79,.13);
}
.viewer-side-label{
  margin:0 0 16px;
  font-size:9px;
  letter-spacing:2.3px;
  color:#a9d4d5;
  font-weight:800;
}
.viewer-specs{
  display:grid;
  gap:15px;
}
.viewer-specs div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:baseline;
}
.viewer-specs span{
  color:#d4e7e7;
  font-size:12px;
}
.viewer-specs b{
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-align:right;
}
.viewer-divider{
  height:1px;
  margin:25px 0 22px;
  background:rgba(255,255,255,.17);
}
.camera-buttons{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}
.camera-buttons button{
  height:39px;
  border:1px solid rgba(255,255,255,.19);
  border-radius:12px;
  background:rgba(255,255,255,.07);
  color:#d8e9e9;
  cursor:pointer;
  font-size:10px;
  font-weight:700;
  transition:.18s ease;
}
.camera-buttons button:hover,
.camera-buttons button.active{
  background:#f1fbfa;
  color:#14545a;
  border-color:#f1fbfa;
}
.reset-3d{
  width:100%;
  height:45px;
  margin-top:12px;
  border:0;
  border-radius:14px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}
.reset-3d span{font-size:18px;vertical-align:-2px;margin-right:7px}
.viewer-small{
  margin:22px 0 0;
  padding-top:19px;
  border-top:1px solid rgba(255,255,255,.16);
  color:#c8dddd;
  font-size:10px;
  line-height:1.65;
}

@media(max-width:900px){
  .viewer-section{padding:70px 18px 82px}
  .viewer-heading{display:block}
  .viewer-intro{width:100%;margin-top:14px;max-width:590px}
  .viewer-grid{grid-template-columns:1fr}
  .viewer-stage{min-height:480px}
  #poolCanvas{height:480px}
  .viewer-side{max-width:none}
}
@media(max-width:520px){
  .viewer-heading h2{font-size:42px}
  .viewer-stage{min-height:390px;border-radius:23px}
  #poolCanvas{height:390px}
  .viewer-side{border-radius:23px}
}


/* ===== V15 DEPTH PROFILE CONTROLS ===== */
.depth-controls{
  display:grid;
  gap:12px;
}
.depth-controls label{
  display:block;
}
.depth-controls label>span{
  display:block;
  margin:0 0 7px;
  color:#c8dddd;
  font-size:9px;
  letter-spacing:1.15px;
  font-weight:700;
}
.depth-controls select,
.depth-controls input{
  width:100%;
  height:39px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:11px;
  background:rgba(255,255,255,.08);
  color:#fff;
  outline:none;
  padding:0 11px;
  font-size:10px;
  font-weight:700;
}
.depth-controls select option{
  color:#163f42;
  background:#fff;
}
.depth-controls select:focus,
.depth-controls input:focus{
  border-color:rgba(255,255,255,.62);
  box-shadow:0 0 0 2px rgba(255,255,255,.08);
}
.graduated-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.graduated-fields[hidden]{
  display:none;
}
.shallow-side-control{
  grid-column:1/-1;
}
.depth-input-wrap{
  position:relative;
}
.depth-input-wrap input{
  padding-right:31px;
}
.depth-input-wrap i{
  position:absolute;
  right:11px;
  top:50%;
  transform:translateY(-50%);
  color:#b7d4d5;
  font-size:10px;
  font-style:normal;
  pointer-events:none;
}


/* ===== V18 ENGINEERING CONTROLS ===== */
.graduated-rule-note{
  margin:8px 0 0;
  color:#a9cbcc;
  font-size:9px;
  line-height:1.5;
}
.graduated-rule-note.locked{
  color:#f0c9b7;
}
.built-in-controls{
  display:grid;
  gap:11px;
}
.built-in-toggle{
  min-height:41px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:rgba(255,255,255,.07);
  display:flex;
  align-items:center;
  padding:0 12px;
  color:#fff;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
.built-in-toggle input{
  width:15px;
  height:15px;
  margin:0 9px 0 0;
  accent-color:#f1fbfa;
}
.built-in-side>span{
  display:block;
  margin:0 0 7px;
  color:#c8dddd;
  font-size:9px;
  letter-spacing:1.15px;
  font-weight:700;
}
.built-in-side select{
  width:100%;
  height:39px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:11px;
  background:rgba(255,255,255,.08);
  color:#fff;
  outline:none;
  padding:0 11px;
  font-size:10px;
  font-weight:700;
}
.built-in-side select option{
  color:#163f42;
  background:#fff;
}
.built-in-note{
  margin:0;
  color:#9fc6c8;
  font-size:9px;
  letter-spacing:.4px;
}


/* V19: Average Depth is calculated automatically while Graduated Depth is active. */


/* V20 — darker 3D presentation for clearer pool geometry */
.viewer-stage{
  background:
    radial-gradient(circle at 58% 24%,rgba(237,247,246,.92),rgba(210,228,226,.96) 44%,rgba(190,214,212,.98) 100%);
}


/* V24 panel refinement — subtle soft fade at the bottom of Current Design */
.viewer-side{
  position:relative;
  overflow:hidden;
}
.viewer-side::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:34%;
  pointer-events:none;
  background:linear-gradient(
    180deg,
    rgba(58,125,128,0) 0%,
    rgba(67,137,139,.035) 38%,
    rgba(79,149,151,.08) 72%,
    rgba(91,158,160,.12) 100%
  );
}
.viewer-side > *{
  position:relative;
  z-index:1;
}

.dialog-primary:disabled{
  opacity:.72;
  cursor:wait;
  transform:none;
  box-shadow:none;
}

/* ===== SITE VISIT ===== */
.site-visit-dialog .dialog-card{
  width:min(690px,92vw);
}
.visit-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  height:27px;
  margin-top:2px;
  padding:0 11px;
  border-radius:999px;
  background:rgba(22,117,121,.08);
  color:#367f82;
  font-size:8px;
  font-weight:800;
  letter-spacing:1.2px;
}
.visit-pool-cards{
  margin-bottom:18px;
}
.visit-contact-grid{
  margin-bottom:13px;
}
.visit-fee-notice{
  margin:2px 0 15px;
  padding:13px 15px;
  border:1px solid rgba(177,124,69,.24);
  border-radius:14px;
  background:#fff9f1;
  color:#715436;
}
.visit-fee-notice strong{
  display:block;
  margin-bottom:4px;
  font-size:10px;
  letter-spacing:.6px;
  text-transform:uppercase;
}
.visit-fee-notice p{
  margin:0;
  font-size:10px;
  line-height:1.55;
}
.site-visit-submit{
  height:53px;
  font-size:12px;
}
@media (max-width:760px){
  .form-actions{flex-wrap:wrap}
  .site-visit-btn{min-width:100%;flex-basis:100%}
  .quote-btn{flex:1;min-width:180px}
}

.generated-quote-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  margin-left:8px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(43,119,118,.09);
  color:#176e71;
  font-weight:800;
  text-decoration:none;
}
.generated-quote-link:hover{text-decoration:underline}

/* =========================================================
   V41 — ARABIC / ENGLISH FOUNDATION
   Layout geometry remains the approved V40/V12 composition.
   Only typography, direction and language controls change.
   ========================================================= */
.lang-toggle{
  position:absolute;
  right:360px;
  top:25px;
  width:54px;
  height:42px;
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(18,111,116,.22);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#126f74;
  font:700 12px/1 "DM Sans",Arial,sans-serif;
  letter-spacing:.7px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(18,93,97,.07);
  backdrop-filter:blur(7px);
  transition:background .18s,color .18s,transform .18s;
}
.lang-toggle:hover{background:#0d7177;color:#fff;transform:translateY(-1px)}
.lang-toggle:focus-visible{outline:3px solid rgba(71,170,174,.2);outline-offset:2px}

body[data-lang="ar"]{
  font-family:"Noto Kufi Arabic","DM Sans",Arial,sans-serif;
}
body[data-lang="ar"] .main-nav{
  direction:rtl;
  gap:31px;
  left:500px;
}
body[data-lang="ar"] .main-nav a{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  font-size:13px;
  letter-spacing:0;
  white-space:nowrap;
}
body[data-lang="ar"] .phone-pill{
  direction:ltr;
  font-family:"DM Sans",Arial,sans-serif;
}
body[data-lang="ar"] .hero-copy{
  direction:rtl;
  text-align:right;
}
body[data-lang="ar"] .eyebrow{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  font-size:11px;
  letter-spacing:.35px;
  font-weight:600;
}
body[data-lang="ar"] .hero-copy h1{
  font-family:"Noto Naskh Arabic","Noto Kufi Arabic",serif;
  font-size:67px;
  line-height:1.03;
  letter-spacing:0;
  font-weight:700;
}
body[data-lang="ar"] .lead{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  font-size:13px;
  line-height:1.8;
  letter-spacing:0;
}
body[data-lang="ar"] .dream-rail{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  letter-spacing:1px;
  font-size:10px;
}
body[data-lang="ar"] .configurator,
body[data-lang="ar"] .estimate-card{
  direction:rtl;
}
body[data-lang="ar"] .field label,
body[data-lang="ar"] .options legend{
  text-align:right;
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  letter-spacing:.25px;
  font-size:10px;
}
body[data-lang="ar"] .field input,
body[data-lang="ar"] .field select,
body[data-lang="ar"] .check{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  direction:rtl;
  text-align:right;
}
body[data-lang="ar"] .field input[type="number"]{
  direction:ltr;
  text-align:right;
}
body[data-lang="ar"] .check input{
  margin:0 0 0 9px;
}
body[data-lang="ar"] .site-visit-btn,
body[data-lang="ar"] .quote-btn,
body[data-lang="ar"] .reset-btn{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
}
body[data-lang="ar"] .estimate-tag,
body[data-lang="ar"] .estimate-note,
body[data-lang="ar"] .stats,
body[data-lang="ar"] .engine-note,
body[data-lang="ar"] .benefit{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
}
body[data-lang="ar"] .estimate-price{
  direction:rtl;
  font-family:"Noto Naskh Arabic",Georgia,serif;
}
body[data-lang="ar"] .estimate-price #priceAmount{
  direction:ltr;
  display:inline-block;
  font-family:"DM Sans",Arial,sans-serif;
}
body[data-lang="ar"] .stats div{direction:rtl}
body[data-lang="ar"] .stats dd{font-family:"DM Sans",Arial,sans-serif;direction:ltr}
body[data-lang="ar"] .benefit-row{direction:rtl}
body[data-lang="ar"] .benefit+.benefit{border-left:0;border-right:1px solid rgba(255,255,255,.13);padding-left:0;padding-right:17px}
body[data-lang="ar"] .vertical-caption{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  letter-spacing:0;
  line-height:1.7;
  direction:rtl;
}
body[data-lang="ar"] .signature{
  font-family:"Aref Ruqaa Ink","Noto Naskh Arabic",serif;
  color:#084348 !important;
  font-size:31px;
  line-height:.90;
  font-weight:400;
  text-align:right;
  direction:rtl;
  transform:rotate(-5deg);
  letter-spacing:0;
}
body[data-lang="ar"] .scroll-copy{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  letter-spacing:0;
}

body[data-lang="ar"] .viewer-section,
body[data-lang="ar"] .viewer-heading,
body[data-lang="ar"] .viewer-side{
  direction:rtl;
}
body[data-lang="ar"] .viewer-eyebrow,
body[data-lang="ar"] .viewer-side-label,
body[data-lang="ar"] .viewer-live,
body[data-lang="ar"] .viewer-help,
body[data-lang="ar"] .viewer-status{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  letter-spacing:0;
}
body[data-lang="ar"] .viewer-heading h2{
  font-family:"Noto Naskh Arabic",serif;
  letter-spacing:0;
}
body[data-lang="ar"] .viewer-intro,
body[data-lang="ar"] .viewer-specs,
body[data-lang="ar"] .depth-controls,
body[data-lang="ar"] .graduated-rule-note,
body[data-lang="ar"] .built-in-controls,
body[data-lang="ar"] .camera-buttons,
body[data-lang="ar"] .reset-3d,
body[data-lang="ar"] .viewer-small{
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
}
body[data-lang="ar"] .viewer-specs div,
body[data-lang="ar"] .depth-controls label,
body[data-lang="ar"] .built-in-side{
  direction:rtl;
}
body[data-lang="ar"] .viewer-specs b,
body[data-lang="ar"] .depth-input-wrap{
  direction:ltr;
}
body[data-lang="ar"] .camera-buttons{direction:rtl}
body[data-lang="ar"] .camera-buttons button,
body[data-lang="ar"] .reset-3d{font-family:"Noto Kufi Arabic",Arial,sans-serif}

body[data-lang="ar"] .quote-dialog .dialog-card{
  direction:rtl;
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
  text-align:right;
}
body[data-lang="ar"] .quote-head h2{
  font-family:"Noto Naskh Arabic",serif;
  letter-spacing:0;
}
body[data-lang="ar"] .dialog-kicker,
body[data-lang="ar"] .quote-step,
body[data-lang="ar"] .visit-badge,
body[data-lang="ar"] .contact-grid label > span,
body[data-lang="ar"] .quote-estimate-row > div > span{
  letter-spacing:0;
}
body[data-lang="ar"] .quote-pool-cards{direction:rtl}
body[data-lang="ar"] .quote-pool-card{text-align:right}
body[data-lang="ar"] .contact-grid input,
body[data-lang="ar"] .contact-grid select{
  direction:rtl;
  text-align:right;
  font-family:"Noto Kufi Arabic",Arial,sans-serif;
}
body[data-lang="ar"] .contact-grid input[type="tel"]{direction:ltr;text-align:right}
body[data-lang="ar"] .field-error{text-align:right}
body[data-lang="ar"] .quote-estimate-row{direction:rtl}
body[data-lang="ar"] .quote-estimate-row strong,
body[data-lang="ar"] .quote-estimate-row b{direction:ltr}
body[data-lang="ar"] .dialog-primary{font-family:"Noto Kufi Arabic",Arial,sans-serif}
body[data-lang="ar"] .visit-fee-notice{text-align:right}
body[data-lang="ar"] .generated-quote-link{font-family:"Noto Kufi Arabic",Arial,sans-serif}

/* Keep numeric / technical tokens readable in both languages. */
body[data-lang="ar"] #surface,
body[data-lang="ar"] #volume,
body[data-lang="ar"] #heaterRec,
body[data-lang="ar"] #vDimensions,
body[data-lang="ar"] #quoteEstimate{
  direction:ltr;
  unicode-bidi:isolate;
}

/* V44: force handwritten signature to exact logo teal */
.signature, body[data-lang="ar"] .signature { color:#084348 !important; -webkit-text-fill-color:#084348 !important; text-shadow:none !important; }

/* V45: isolated hero signature color — exact deep Turquoise logo tone. */
#heroSignature, body[data-lang="ar"] #heroSignature {
  color: rgb(8,67,72) !important;
  -webkit-text-fill-color: rgb(8,67,72) !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

/* =========================================================
   V46 — PRODUCTS PAGE
   ========================================================= */
.products-page{margin:0;background:#f6f8f7;color:#173d42;font-family:"DM Sans","Noto Kufi Arabic",sans-serif;min-height:100vh}
.products-page *{box-sizing:border-box}
.products-header{height:96px;padding:0 clamp(28px,5vw,78px);display:flex;align-items:center;gap:40px;background:rgba(250,252,251,.96);position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(18,70,75,.08);backdrop-filter:blur(16px)}
.products-brand img{width:180px;display:block}
.products-nav{display:flex;align-items:center;gap:34px;margin-inline:auto;font-size:13px;font-weight:700}
.products-nav a{color:#214a4e;text-decoration:none;position:relative;padding:36px 0 31px}
.products-nav a::after{content:"";position:absolute;bottom:25px;inset-inline-start:0;width:0;height:2px;background:#0a5e64;transition:.25s}
.products-nav a:hover::after,.products-nav a.active::after{width:100%}
.products-header-actions{display:flex;align-items:center;gap:14px}
.products-phone{display:inline-flex;align-items:center;border:1px solid #bcd0d1;border-radius:999px;padding:11px 18px;color:#164d52;font-weight:700;text-decoration:none;font-size:13px}
.products-page .lang-toggle{position:static;min-width:48px;height:40px;border-radius:999px;border:1px solid #bcd0d1;background:#fff;color:#164d52;font-weight:800;cursor:pointer}
.products-hero{height:650px;position:relative;overflow:hidden;background:#0a474d}
.products-hero-photo{position:absolute;inset:0;background-image:url("assets/projects/hero-villa-pool.jpeg");background-size:cover;background-position:center 57%;transform:scale(1.02)}
.products-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,48,53,.88) 0%,rgba(4,48,53,.65) 36%,rgba(4,48,53,.08) 73%,rgba(4,48,53,.16) 100%)}
html[dir="rtl"] .products-hero-shade{background:linear-gradient(270deg,rgba(4,48,53,.88) 0%,rgba(4,48,53,.65) 36%,rgba(4,48,53,.08) 73%,rgba(4,48,53,.16) 100%)}
.products-hero-content{position:absolute;z-index:2;inset-inline-start:8%;top:50%;transform:translateY(-50%);max-width:580px;color:#fff}
.products-kicker,.section-eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;text-transform:uppercase;margin:0 0 20px;color:#7bc0c5}
.products-hero h1{font-family:"Bodoni Moda","Noto Naskh Arabic",serif;font-size:clamp(52px,5.7vw,88px);line-height:.98;font-weight:500;margin:0 0 26px;letter-spacing:-.035em}
.products-page[data-lang="ar"] .products-hero h1,.products-page[data-lang="ar"] .products-intro h2,.products-page[data-lang="ar"] .products-engineering h2,.products-page[data-lang="ar"] .products-cta h2{font-family:"Noto Naskh Arabic",serif;font-weight:700;line-height:1.08}
.products-hero-content>p:not(.products-kicker){font-size:18px;line-height:1.8;max-width:550px;color:rgba(255,255,255,.83);margin-bottom:34px}
.products-primary-btn,.products-cta-button{display:inline-flex;align-items:center;gap:16px;text-decoration:none;background:#fff;color:#124d52;border-radius:999px;padding:16px 25px;font-weight:800;font-size:13px;transition:.25s}
.products-primary-btn:hover,.products-cta-button:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(0,0,0,.16)}
.products-hero-index{position:absolute;z-index:3;bottom:38px;inset-inline-end:5%;display:flex;align-items:center;gap:16px;color:#fff;font-size:10px;letter-spacing:.18em}
.products-hero-index span{font-family:"Bodoni Moda",serif;font-size:30px}.products-hero-index i{display:block;width:74px;height:1px;background:rgba(255,255,255,.55)}
.products-intro{max-width:1280px;margin:0 auto;padding:110px 50px 90px;display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:end}
.products-intro h2,.products-engineering h2,.products-cta h2{font-family:"Bodoni Moda","Noto Naskh Arabic",serif;font-size:clamp(42px,4.4vw,67px);font-weight:500;line-height:1.04;letter-spacing:-.035em;margin:0;color:#143f44}
.products-intro-copy{font-size:16px;line-height:2;color:#60787a;margin:0 0 7px;max-width:580px}
.product-showcase{max-width:1380px;margin:0 auto;padding:0 50px 110px}
.product-feature{display:grid;grid-template-columns:1.45fr .75fr;background:#fff;min-height:560px;box-shadow:0 28px 70px rgba(18,65,70,.08)}
.product-feature-copy{padding:70px 60px;display:flex;flex-direction:column;justify-content:center}
.product-photo{background-size:cover;background-position:center}.product-photo-shell{background-image:url("assets/projects/structure-01-steel-frame.jpg")}
.product-no{font-family:"Bodoni Moda",serif;font-size:19px;color:#78aeb1;border-bottom:1px solid #cde0e1;padding-bottom:18px;margin-bottom:36px;display:block}
.product-label{font-size:10px;letter-spacing:.2em;color:#69989b;font-weight:800;margin:0 0 12px}.product-feature-copy h3,.product-card-copy h3{font-family:"Bodoni Moda","Noto Naskh Arabic",serif;font-size:38px;line-height:1.12;font-weight:500;margin:0 0 20px;color:#143f44}.products-page[data-lang="ar"] .product-feature-copy h3,.products-page[data-lang="ar"] .product-card-copy h3{font-family:"Noto Naskh Arabic",serif;font-weight:700}
.product-feature-copy>p:not(.product-label){line-height:1.9;color:#647b7d;font-size:14px;margin:0 0 28px}.product-specs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}.product-specs span{font-size:10px;font-weight:800;border:1px solid #c7d9da;border-radius:999px;padding:9px 12px;color:#37666a}.product-link{color:#0b5b61;font-weight:800;text-decoration:none;font-size:12px;display:inline-flex;gap:12px;align-items:center}.product-link b{font-size:17px}
.product-grid-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.product-card{background:#fff;min-height:510px;display:grid;grid-template-rows:290px 1fr;overflow:hidden}.product-card-wide{grid-column:1/-1;grid-template-columns:1.25fr .75fr;grid-template-rows:none;min-height:420px}.product-card-photo{background-size:cover;background-position:center;min-height:260px}.product-photo-finish{background-image:url("assets/projects/finishing-organic-pool.jpeg");background-position:center 55%}.product-photo-filtration{background-image:url("assets/projects/filtration-above-ground-pyramids.jpeg")}.product-photo-accessories{background-image:url("assets/projects/accessories-night-waterfall.jpeg")}.product-card-copy{padding:34px 38px 38px}.product-card-copy .product-no{font-size:15px;margin-bottom:16px;padding-bottom:12px}.product-card-copy h3{font-size:29px;margin-bottom:12px}.product-card-copy>p:not(.product-label){font-size:13px;line-height:1.8;color:#687f81;margin:0}
.products-engineering{background:#103f44;color:#fff;padding:100px max(6vw,40px);display:grid;grid-template-columns:180px 1.2fr .8fr;gap:70px;align-items:center}.engineering-badge{width:150px;height:150px;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:grid;place-content:center;text-align:center;font-family:"Bodoni Moda",serif;font-size:58px;line-height:.7;color:#fff}.engineering-badge span{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:.2em;margin-top:16px}.products-engineering h2{color:#fff;font-size:52px}.engineering-copy>p:last-child{color:rgba(255,255,255,.68);font-size:14px;line-height:1.9;max-width:620px}.engineering-points{border-inline-start:1px solid rgba(255,255,255,.18);padding-inline-start:40px}.engineering-points div{display:flex;align-items:center;gap:22px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.12)}.engineering-points strong{font-family:"Bodoni Moda",serif;font-size:25px;color:#79bcc1}.engineering-points span{font-size:13px;font-weight:700}
.products-cta{padding:110px max(8vw,50px);background:#dceff0;display:flex;align-items:end;justify-content:space-between;gap:50px}.products-cta p{font-size:10px;letter-spacing:.2em;color:#588689;font-weight:800}.products-cta-button{background:#114f55;color:#fff;padding:19px 28px}
.products-footer{min-height:190px;padding:45px max(6vw,40px);background:#f7faf9;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#45686b;font-size:12px}.products-footer img{width:180px}.products-footer p{margin:0}
@media (max-width:980px){.products-nav{display:none}.products-header{height:78px}.products-brand img{width:145px}.products-phone{display:none}.products-hero{height:600px}.products-intro{grid-template-columns:1fr;gap:30px;padding:75px 28px}.product-showcase{padding:0 22px 70px}.product-feature{grid-template-columns:1fr}.product-photo-shell{min-height:380px}.product-grid-cards{grid-template-columns:1fr}.product-card-wide{grid-column:auto;grid-template-columns:1fr;grid-template-rows:300px 1fr}.products-engineering{grid-template-columns:1fr;gap:35px}.engineering-points{border-inline-start:0;padding-inline-start:0}.products-cta{align-items:flex-start;flex-direction:column}.products-footer{flex-direction:column;align-items:flex-start}}

/* V47 — Turquoise real project photography */
.products-hero-photo{
  background-position:center 58%;
}
.product-photo-shell{
  background-color:#f8faf9;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}
.product-photo-finish{
  background-position:center 52%;
}
.product-photo-filtration{
  background-position:center 48%;
}
.product-photo-accessories{
  background-position:center 58%;
}


/* =========================================================
   V50 — NATURAL PROJECT PHOTOS
   No sharpening. Original photographs preserved wherever requested.
   ========================================================= */

.products-hero-photo{
  background-image:url("assets/projects/hero-final-original.jpeg");
  /* Bias the wide hero toward the swimming pool, not the upper building/sky. */
  background-position:center 78%;
  transform:none;
}

.product-photo-shell{
  background-image:url("assets/projects/structure-final-original.jpg");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  background-color:#f8faf9;
}

/* 02 — two finishing photos side by side */
.product-photo-finish-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px;
  background:#fff;
  overflow:hidden;
}
.product-photo-finish-split .finish-photo{
  min-width:0;
  width:100%;
  height:100%;
  background-size:cover;
  background-repeat:no-repeat;
}
.finish-photo-left{
  background-image:url("assets/projects/finishing-left-soft.jpeg");
  background-position:center 58%;
}
.finish-photo-right{
  background-image:url("assets/projects/finishing-right-soft.jpeg");
  background-position:center 52%;
}

/* 03 — cropped composition only; unit/pipes are the visual focus. */
.product-photo-filtration{
  background-image:url("assets/projects/filtration-focus-original.jpeg");
  background-size:cover;
  background-position:right center;
}

/* 04 — exact original image, no processing */
.product-photo-accessories{
  background-image:url("assets/projects/accessories-final-original.jpeg");
  background-size:cover;
  background-position:center 58%;
}

@media (max-width:640px){
  .product-photo-finish-split{
    grid-template-columns:1fr 1fr;
  }
  .finish-photo-left{background-position:center 58%}
  .finish-photo-right{background-position:center 54%}
}


/* =========================================================
   V51 — FINAL SELECTED SOFT IMAGE SET
   No extra sharpening or image processing.
   ========================================================= */

.products-hero-photo{
  background-image:url("assets/projects/selected-hero.jpg");
  background-size:cover;
  background-position:center;
}

/* 01 Pool Body remains the approved original SketchUp image from V50. */

/* 02 Finishing — final approved two-photo set */
.finish-photo-left{
  background-image:url("assets/projects/selected-finishing-organic.jpg");
  background-size:cover;
  background-position:center;
}
.finish-photo-right{
  background-image:url("assets/projects/selected-finishing-liner-no-stainless.png");
  background-size:cover;
  background-position:center;
}

/* 03 Filtration — selected soft version */
.product-photo-filtration{
  background-image:url("assets/projects/selected-filtration.jpg");
  background-size:cover;
  background-position:center;
}

/* 04 Accessories — selected soft version */
.product-photo-accessories{
  background-image:url("assets/projects/selected-accessories.jpg");
  background-size:cover;
  background-position:center;
}


/* =========================================================
   V52 — FULL IMAGE / ZOOM-OUT PRODUCT PHOTOS
   Every approved image is placed on a slot-matched canvas.
   No sharpening. No CSS zoom-in.
   ========================================================= */

.products-hero-photo{
  background-image:url("assets/projects/v52-hero-zoomout.jpg");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  transform:none;
}

.product-photo-shell{
  background-image:url("assets/projects/v52-body-zoomout.jpg");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  background-color:#f8faf9;
}

.product-photo-finish-split .finish-photo{
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}
.finish-photo-left{
  background-image:url("assets/projects/v52-finish-left-zoomout.jpg");
}
.finish-photo-right{
  background-image:url("assets/projects/v52-finish-right-zoomout.jpg");
}

.product-photo-filtration{
  background-image:url("assets/projects/v52-filtration-zoomout.jpg");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}

.product-photo-accessories{
  background-image:url("assets/projects/v52-accessories-zoomout.jpg");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}

/* On narrower layouts, favor seeing the complete prepared canvas rather than cropping it. */
@media (max-width:980px){
  .products-hero-photo,
  .product-photo-shell,
  .product-photo-finish-split .finish-photo,
  .product-photo-filtration,
  .product-photo-accessories{
    background-size:contain;
    background-repeat:no-repeat;
  }
}


/* =========================================================
   V53 — PROJECTS PAGE
   ========================================================= */

.projects-page{
  margin:0;
  min-height:100vh;
  background:#f6f8f7;
  color:#173d42;
  font-family:"DM Sans","Noto Kufi Arabic",sans-serif;
}
.projects-page *{box-sizing:border-box}

.projects-hero{
  position:relative;
  height:min(720px,78vh);
  min-height:620px;
  overflow:hidden;
  background:#0b454a;
}
.projects-hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 58%;
}
.projects-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,48,53,.88),rgba(5,48,53,.60) 35%,rgba(5,48,53,.06) 72%),
    linear-gradient(0deg,rgba(5,48,53,.18),transparent 42%);
}
html[dir="rtl"] .projects-hero-overlay{
  background:
    linear-gradient(270deg,rgba(5,48,53,.88),rgba(5,48,53,.60) 35%,rgba(5,48,53,.06) 72%),
    linear-gradient(0deg,rgba(5,48,53,.18),transparent 42%);
}
.projects-hero-copy{
  position:absolute;
  z-index:2;
  inset-inline-start:8%;
  top:50%;
  transform:translateY(-50%);
  max-width:620px;
  color:#fff;
}
.projects-hero-copy h1{
  font-family:"Bodoni Moda","Noto Naskh Arabic",serif;
  font-size:clamp(58px,6.2vw,98px);
  font-weight:500;
  line-height:.92;
  letter-spacing:-.045em;
  margin:0 0 28px;
}
.projects-page[data-lang="ar"] .projects-hero-copy h1,
.projects-page[data-lang="ar"] .projects-intro h2,
.projects-page[data-lang="ar"] .projects-gallery-head h2,
.projects-page[data-lang="ar"] .projects-process-copy h2,
.projects-page[data-lang="ar"] .projects-cta h2{
  font-family:"Noto Naskh Arabic",serif;
  font-weight:700;
  line-height:1.08;
}
.projects-hero-copy>p:not(.products-kicker){
  font-size:17px;
  line-height:1.9;
  max-width:560px;
  color:rgba(255,255,255,.82);
  margin:0 0 34px;
}
.projects-hero-note{
  position:absolute;
  z-index:2;
  inset-inline-end:5%;
  bottom:40px;
  color:#fff;
  display:flex;
  align-items:end;
  gap:16px;
  text-align:start;
}
.projects-hero-note b{
  font-family:"Bodoni Moda",serif;
  font-size:26px;
  font-weight:500;
  line-height:.86;
}
.projects-hero-note span{
  border-inline-start:1px solid rgba(255,255,255,.45);
  padding-inline-start:16px;
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:rgba(255,255,255,.7);
}

.projects-intro{
  max-width:1320px;
  margin:0 auto;
  padding:110px 50px 90px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:100px;
  align-items:start;
}
.projects-intro h2,
.projects-gallery-head h2,
.projects-process-copy h2,
.projects-cta h2{
  font-family:"Bodoni Moda","Noto Naskh Arabic",serif;
  font-size:clamp(43px,4.6vw,70px);
  font-weight:500;
  line-height:1.02;
  letter-spacing:-.04em;
  color:#143f44;
  margin:0;
}
.projects-intro-right>p{
  max-width:650px;
  margin:4px 0 44px;
  color:#647d7f;
  line-height:2;
  font-size:15px;
}
.projects-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #cbdcdd;
  border-bottom:1px solid #cbdcdd;
}
.projects-stats div{
  min-height:135px;
  padding:26px 22px;
  border-inline-end:1px solid #cbdcdd;
}
.projects-stats div:last-child{border-inline-end:0}
.projects-stats strong{
  display:block;
  font-family:"Bodoni Moda",serif;
  font-size:38px;
  font-weight:500;
  color:#0e6267;
  margin-bottom:11px;
}
.projects-stats span{
  display:block;
  font-size:10px;
  font-weight:700;
  line-height:1.7;
  color:#698184;
}

.projects-gallery-wrap{
  max-width:1440px;
  margin:0 auto;
  padding:20px 50px 120px;
}
.projects-gallery-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:44px;
}
.projects-gallery-head h2{font-size:54px}
.projects-gallery-head>p{
  max-width:380px;
  color:#718789;
  font-size:12px;
  line-height:1.8;
  margin:0 0 8px;
}

.projects-masonry{
  columns:3 340px;
  column-gap:20px;
}
.project-tile{
  width:100%;
  display:block;
  position:relative;
  padding:0;
  margin:0 0 20px;
  border:0;
  background:#d8e2e2;
  cursor:zoom-in;
  break-inside:avoid;
  overflow:hidden;
  text-align:inherit;
}
.project-tile img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .55s ease,filter .55s ease;
}
.project-tile::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(4,44,49,.62),transparent 42%);
  opacity:.78;
  transition:.35s;
}
.project-tile span{
  position:absolute;
  z-index:2;
  inset-inline:24px;
  bottom:22px;
  color:#fff;
  display:flex;
  align-items:center;
  gap:13px;
}
.project-tile span b{
  font-family:"Bodoni Moda",serif;
  font-size:19px;
  font-weight:500;
  color:#8bd0d4;
}
.project-tile span em{
  font-style:normal;
  font-size:12px;
  font-weight:700;
}
.project-tile:hover img{transform:scale(1.025)}
.project-tile:hover::after{opacity:.92}

.projects-process{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:680px;
  background:#103f44;
  color:#fff;
}
.projects-process-photo{
  position:relative;
  min-height:600px;
  overflow:hidden;
}
.projects-process-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.projects-process-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(5,48,53,.55),transparent 45%);
}
.projects-process-photo>span{
  position:absolute;
  z-index:2;
  bottom:30px;
  inset-inline-start:34px;
  color:#fff;
  font-size:10px;
  letter-spacing:.18em;
  font-weight:800;
}
.projects-process-copy{
  padding:90px clamp(45px,6vw,90px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.projects-process-copy h2{color:#fff;font-size:58px;margin-bottom:28px}
.projects-process-copy>p:not(.section-eyebrow){
  color:rgba(255,255,255,.66);
  font-size:14px;
  line-height:2;
  margin:0 0 38px;
  max-width:610px;
}
.projects-process-steps{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid rgba(255,255,255,.17);
}
.projects-process-steps div{
  display:flex;
  align-items:center;
  gap:18px;
  padding:20px 8px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.projects-process-steps div:nth-child(odd){
  border-inline-end:1px solid rgba(255,255,255,.12);
}
.projects-process-steps b{
  font-family:"Bodoni Moda",serif;
  color:#82c7cb;
  font-size:21px;
  font-weight:500;
}
.projects-process-steps span{
  font-size:11px;
  font-weight:700;
}

.projects-cta{
  background:#dceff0;
  padding:105px max(7vw,48px);
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:60px;
}
.projects-cta>div:first-child{max-width:720px}
.projects-cta h2{font-size:64px;margin-bottom:22px}
.projects-cta p:first-child{
  color:#588689;
  font-size:10px;
  letter-spacing:.2em;
  font-weight:800;
}
.projects-cta>div:first-child>p:last-child{
  color:#5d7779;
  max-width:570px;
  font-size:13px;
  line-height:1.9;
}
.projects-cta-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.projects-secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:51px;
  padding:0 24px;
  border:1px solid #8bb3b6;
  border-radius:999px;
  color:#154f54;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  background:transparent;
}

/* Full-screen project viewer */
.project-lightbox{
  width:min(1180px,94vw);
  height:min(850px,92vh);
  max-width:none;
  max-height:none;
  padding:0;
  border:0;
  background:#0a292d;
  overflow:hidden;
}
.project-lightbox::backdrop{background:rgba(4,19,21,.86);backdrop-filter:blur(8px)}
.project-lightbox figure{
  width:100%;
  height:100%;
  margin:0;
  padding:50px 30px 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.project-lightbox img{
  max-width:100%;
  max-height:calc(100% - 44px);
  object-fit:contain;
  display:block;
}
.project-lightbox figcaption{
  height:44px;
  display:flex;
  align-items:end;
  justify-content:center;
  color:rgba(255,255,255,.76);
  font-size:12px;
  font-weight:700;
}
#projectLightboxClose{
  position:absolute;
  z-index:3;
  top:14px;
  inset-inline-end:18px;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:25px;
  cursor:pointer;
}

@media (max-width:980px){
  .projects-hero{height:610px;min-height:0}
  .projects-hero-image{object-position:center}
  .projects-hero-copy{inset-inline:7%;max-width:76%}
  .projects-hero-note{display:none}
  .projects-intro{grid-template-columns:1fr;gap:35px;padding:75px 28px}
  .projects-stats{grid-template-columns:1fr}
  .projects-stats div{border-inline-end:0;border-bottom:1px solid #cbdcdd;min-height:auto}
  .projects-stats div:last-child{border-bottom:0}
  .projects-gallery-wrap{padding:10px 22px 75px}
  .projects-gallery-head{align-items:start;flex-direction:column;gap:18px}
  .projects-masonry{columns:2 260px}
  .projects-process{grid-template-columns:1fr}
  .projects-process-photo{min-height:500px}
  .projects-process-copy{padding:65px 28px}
  .projects-cta{align-items:flex-start;flex-direction:column}
  .projects-cta-actions{justify-content:flex-start}
}
@media (max-width:600px){
  .projects-hero-copy{max-width:88%}
  .projects-hero-copy h1{font-size:54px}
  .projects-masonry{columns:1}
  .projects-process-photo{min-height:400px}
  .projects-process-steps{grid-template-columns:1fr}
  .projects-process-steps div:nth-child(odd){border-inline-end:0}
  .projects-cta h2{font-size:49px}
  .project-lightbox{width:96vw;height:88vh}
  .project-lightbox figure{padding:50px 12px 20px}
}


/* V55 — ABOUT PAGE */
.about-page{margin:0;min-height:100vh;background:#f7f9f8;color:#163f44;font-family:"DM Sans","Noto Kufi Arabic",sans-serif}.about-page *{box-sizing:border-box}
.about-hero{position:relative;min-height:720px;padding:120px 8% 90px;overflow:hidden;background:radial-gradient(circle at 84% 24%,rgba(147,218,222,.45),transparent 28%),linear-gradient(135deg,#0d464b 0%,#163f44 48%,#235960 100%);color:#fff;display:flex;align-items:center}.about-hero-grid{position:absolute;inset:0;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px);background-size:72px 72px}.about-hero::after{content:"";position:absolute;width:720px;height:720px;border-radius:50%;border:1px solid rgba(255,255,255,.16);inset-inline-end:-120px;top:50%;transform:translateY(-50%);box-shadow:0 0 0 80px rgba(255,255,255,.035),0 0 0 160px rgba(255,255,255,.02)}
.about-hero-copy{position:relative;z-index:2;max-width:880px}.about-hero-copy h1{font-family:"Bodoni Moda","Noto Naskh Arabic",serif;font-size:clamp(62px,6.6vw,108px);line-height:.95;letter-spacing:-.05em;font-weight:500;margin:0 0 30px}.about-page[data-lang="ar"] .about-hero-copy h1,.about-page[data-lang="ar"] .about-story h2,.about-page[data-lang="ar"] .about-structure-copy h2,.about-page[data-lang="ar"] .about-coverage h2,.about-page[data-lang="ar"] .about-cta h2{font-family:"Noto Naskh Arabic",serif;line-height:1.08;font-weight:700}.about-hero-copy>p:not(.products-kicker){max-width:680px;font-size:16px;line-height:2;color:rgba(255,255,255,.76);margin:0}.about-hero-side{position:absolute;z-index:2;inset-inline-end:7%;bottom:70px;width:190px;color:#fff;border-top:1px solid rgba(255,255,255,.32);padding-top:18px}.about-hero-side span{display:block;font-size:9px;letter-spacing:.24em;opacity:.55}.about-hero-side strong{display:block;font-family:"Bodoni Moda",serif;font-size:68px;font-weight:500;line-height:1;margin:7px 0 6px}.about-hero-side small{font-size:10px;color:rgba(255,255,255,.65);line-height:1.6}
.about-story{max-width:1320px;margin:0 auto;padding:120px 50px 110px;display:grid;grid-template-columns:.85fr 1.15fr;gap:110px}.about-story h2,.about-structure-copy h2,.about-coverage h2,.about-cta h2{font-family:"Bodoni Moda","Noto Naskh Arabic",serif;color:#143f44;font-size:clamp(48px,5vw,76px);font-weight:500;letter-spacing:-.045em;line-height:1.02;margin:0}.about-story-copy{padding-top:25px}.about-story-copy p{color:#617b7e;font-size:15px;line-height:2.15;margin:0 0 28px;max-width:720px}
.about-values{max-width:1440px;margin:0 auto;padding:0 50px 120px;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#c9d8d9}.about-values article{background:#fff;padding:42px 30px 44px;min-height:300px}.about-values article>span{font-family:"Bodoni Moda",serif;font-size:27px;color:#4e8d91}.about-values h3{margin:58px 0 16px;color:#174b50;font-size:17px}.about-values p{margin:0;color:#708588;font-size:12px;line-height:1.95}
.about-structure{background:#123f44;color:#fff;min-height:720px;display:grid;grid-template-columns:1fr 1fr}.about-structure-copy{padding:100px clamp(45px,7vw,105px);display:flex;flex-direction:column;justify-content:center}.about-structure-copy h2{color:#fff;margin-bottom:28px}.about-structure-copy>p:not(.section-eyebrow){color:rgba(255,255,255,.64);max-width:620px;font-size:14px;line-height:2;margin:0 0 42px}.about-material-list{border-top:1px solid rgba(255,255,255,.16)}.about-material-list div{min-height:62px;display:flex;align-items:center;gap:18px;border-bottom:1px solid rgba(255,255,255,.12)}.about-material-list b{color:#86c5c8;font-family:"Bodoni Moda",serif;font-size:19px;font-weight:500}.about-material-list span{font-size:11px;font-weight:700}.about-structure-visual{position:relative;overflow:hidden;min-height:650px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,rgba(114,204,210,.3),transparent 34%),linear-gradient(145deg,#0e3438,#174b50)}.about-ring{position:absolute;border-radius:50%;border:1px solid rgba(136,213,218,.36)}.about-ring.ring-1{width:520px;height:520px}.about-ring.ring-2{width:390px;height:390px}.about-ring.ring-3{width:255px;height:255px}.about-ring-center{position:relative;z-index:2;text-align:center}.about-ring-center strong{display:block;font-family:"Bodoni Moda",serif;letter-spacing:.18em;font-weight:500;font-size:28px}.about-ring-center span{display:block;margin-top:10px;color:rgba(255,255,255,.56);font-size:9px;letter-spacing:.16em}
.about-numbers{display:grid;grid-template-columns:repeat(4,1fr);background:#e6f1f1;border-bottom:1px solid #cbdcdd}.about-numbers div{min-height:230px;padding:50px 38px;border-inline-end:1px solid #cbdcdd}.about-numbers div:last-child{border-inline-end:0}.about-numbers strong{display:block;color:#17565b;font-family:"Bodoni Moda",serif;font-size:54px;font-weight:500;margin-bottom:14px}.about-numbers span{display:block;color:#668083;font-size:11px;line-height:1.7;max-width:190px}
.about-coverage{max-width:1320px;margin:0 auto;padding:120px 50px;display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:center}.about-city-list{display:flex;flex-wrap:wrap;gap:12px}.about-city-list span{border:1px solid #bdd2d3;border-radius:999px;padding:14px 20px;color:#285c61;font-size:10px;letter-spacing:.07em;background:#fff}.about-cta{background:#d9eeee;padding:105px max(7vw,48px);display:flex;align-items:end;justify-content:space-between;gap:60px}.about-cta>div:first-child{max-width:760px}.about-cta>div:first-child>p{color:#5e8b8e;font-size:10px;letter-spacing:.2em;font-weight:800}.about-cta-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
@media(max-width:980px){.about-hero{min-height:640px;padding:100px 7% 80px}.about-hero-side{display:none}.about-story{grid-template-columns:1fr;gap:35px;padding:80px 28px}.about-values{grid-template-columns:1fr 1fr;padding:0 22px 80px}.about-structure{grid-template-columns:1fr}.about-structure-visual{min-height:560px}.about-numbers{grid-template-columns:1fr 1fr}.about-coverage{grid-template-columns:1fr;gap:40px;padding:80px 28px}.about-cta{align-items:flex-start;flex-direction:column}.about-cta-actions{justify-content:flex-start}}@media(max-width:600px){.about-hero{min-height:600px}.about-hero-copy h1{font-size:54px}.about-values{grid-template-columns:1fr}.about-values article{min-height:240px}.about-values h3{margin-top:35px}.about-numbers{grid-template-columns:1fr}.about-numbers div{border-inline-end:0;border-bottom:1px solid #cbdcdd}.about-structure-copy{padding:70px 28px}.about-structure-visual{min-height:440px}.about-ring.ring-1{width:360px;height:360px}.about-ring.ring-2{width:280px;height:280px}.about-ring.ring-3{width:190px;height:190px}.about-cta h2{font-size:48px}}


/* =========================================================
   V56 — ABOUT 3D STRUCTURE VISUALS
   ========================================================= */

.about-build-visuals{
  max-width:1440px;
  margin:0 auto;
  padding:120px 50px;
  background:#f7f9f8;
}
.about-build-visuals-head{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  align-items:end;
  margin-bottom:48px;
}
.about-build-visuals-head h2{
  font-family:"Bodoni Moda","Noto Naskh Arabic",serif;
  color:#143f44;
  font-size:clamp(48px,5vw,76px);
  font-weight:500;
  letter-spacing:-.045em;
  line-height:1.02;
  margin:0;
}
.about-page[data-lang="ar"] .about-build-visuals-head h2{
  font-family:"Noto Naskh Arabic",serif;
  line-height:1.08;
  font-weight:700;
}
.about-build-visuals-head>p{
  max-width:650px;
  color:#667f82;
  font-size:14px;
  line-height:2;
  margin:0 0 6px;
}

.about-build-feature{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:18px;
  align-items:stretch;
}
.about-build-main,
.about-build-side figure,
.about-build-split figure{
  margin:0;
  background:#fff;
  border:1px solid #d3dfdf;
  overflow:hidden;
}
.about-build-main{
  display:flex;
  flex-direction:column;
}
.about-build-main img{
  display:block;
  width:100%;
  height:520px;
  object-fit:contain;
  background:#fff;
}
.about-build-side{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:18px;
}
.about-build-side figure{
  display:flex;
  flex-direction:column;
}
.about-build-side img{
  width:100%;
  height:220px;
  object-fit:contain;
  background:#fff;
  display:block;
}
.about-build-main figcaption,
.about-build-side figcaption,
.about-build-split figcaption{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:22px 24px 24px;
  border-top:1px solid #dbe5e5;
}
.about-build-main figcaption>b,
.about-build-side figcaption>b,
.about-build-split figcaption>b{
  flex:0 0 auto;
  font-family:"Bodoni Moda",serif;
  font-size:22px;
  font-weight:500;
  color:#4f8f93;
}
.about-build-main figcaption span,
.about-build-side figcaption span,
.about-build-split figcaption span{
  min-width:0;
}
.about-build-main figcaption strong,
.about-build-side figcaption strong,
.about-build-split figcaption strong{
  display:block;
  color:#194c51;
  font-size:13px;
  margin-bottom:7px;
}
.about-build-main figcaption small,
.about-build-side figcaption small,
.about-build-split figcaption small{
  display:block;
  color:#71878a;
  font-size:10px;
  line-height:1.8;
}

.about-build-split{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.about-build-split img{
  width:100%;
  height:360px;
  object-fit:contain;
  background:#fff;
  display:block;
}

@media(max-width:980px){
  .about-build-visuals{padding:80px 22px}
  .about-build-visuals-head{grid-template-columns:1fr;gap:28px}
  .about-build-feature{grid-template-columns:1fr}
  .about-build-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .about-build-main img{height:auto}
  .about-build-side img{height:260px}
  .about-build-split img{height:300px}
}
@media(max-width:640px){
  .about-build-side,
  .about-build-split{grid-template-columns:1fr}
  .about-build-side img,
  .about-build-split img{height:auto}
}


/* V57 — stage 04 two-image layout */
.about-build-double-card{
  display:flex;
  flex-direction:column;
}
.about-build-double-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:#dbe5e5;
}
.about-build-double-images img{
  width:100%;
  height:360px;
  object-fit:contain;
  display:block;
  background:#fff;
}
@media(max-width:780px){
  .about-build-double-images{grid-template-columns:1fr;}
  .about-build-double-images img{height:auto;}
}


/* =========================================================
   V60 — CONTACT PAGE
   ========================================================= */

.contact-page{
  margin:0;
  min-height:100vh;
  background:#f7f9f8;
  color:#173f44;
  font-family:"DM Sans","Noto Kufi Arabic",sans-serif;
}

.contact-page *{box-sizing:border-box}

.contact-hero{
  position:relative;
  min-height:720px;
  overflow:hidden;
  background:
    linear-gradient(125deg,#0f4247 0%,#174f54 48%,#23676c 100%);
  color:#fff;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  padding:95px 8%;
}

.contact-hero::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  background:rgba(128,211,216,.12);
  inset-inline-start:-180px;
  bottom:-250px;
}

.contact-hero-copy{
  position:relative;
  z-index:2;
  max-width:760px;
}

.contact-hero-copy h1{
  font-family:"Bodoni Moda","Noto Naskh Arabic",serif;
  font-size:clamp(62px,6.4vw,104px);
  font-weight:500;
  line-height:.94;
  letter-spacing:-.05em;
  margin:0 0 30px;
}

.contact-page[data-lang="ar"] .contact-hero-copy h1,
.contact-page[data-lang="ar"] .contact-options-head h2,
.contact-page[data-lang="ar"] .contact-info-main h2,
.contact-page[data-lang="ar"] .contact-process-head h2,
.contact-page[data-lang="ar"] .contact-final-cta h2{
  font-family:"Noto Naskh Arabic",serif;
  font-weight:700;
  line-height:1.08;
}

.contact-hero-copy>p:not(.products-kicker){
  max-width:660px;
  font-size:15px;
  line-height:2;
  color:rgba(255,255,255,.72);
  margin:0;
}

.contact-hero-actions{
  display:flex;
  align-items:stretch;
  gap:12px;
  flex-wrap:wrap;
  margin-top:38px;
}

.contact-call-btn,
.contact-design-btn{
  text-decoration:none;
}

.contact-call-btn{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:240px;
  min-height:68px;
  padding:12px 22px;
  border-radius:999px;
  background:#fff;
  color:#154a4f;
}

.contact-action-icon{
  width:38px;
  height:38px;
  border-radius:50%;
  background:#dff0f0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
}

.contact-call-btn small{
  display:block;
  font-size:9px;
  color:#6e8587;
  margin-bottom:3px;
}

.contact-call-btn strong{
  display:block;
  font-size:14px;
  letter-spacing:.04em;
}

.contact-design-btn{
  display:flex;
  min-height:68px;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:0 28px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:999px;
  color:#fff;
  font-size:11px;
  font-weight:800;
}

.contact-design-btn b{
  font-size:18px;
  font-weight:400;
}

.contact-hero-orbit{
  position:relative;
  width:min(540px,38vw);
  aspect-ratio:1;
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-orbit{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(207,242,244,.27);
}

.contact-orbit-1{inset:0}
.contact-orbit-2{inset:15%}
.contact-orbit-3{inset:30%}

.contact-orbit-core{
  width:38%;
  aspect-ratio:1;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(8px);
}

.contact-orbit-core span{
  font-family:"Bodoni Moda",serif;
  font-size:19px;
  letter-spacing:.18em;
}

.contact-orbit-core b{
  font-size:11px;
  font-weight:600;
  margin-top:10px;
  color:rgba(255,255,255,.7);
}

.contact-options{
  max-width:1380px;
  margin:0 auto;
  padding:115px 50px 120px;
}

.contact-options-head{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  margin-bottom:48px;
}

.contact-options-head h2,
.contact-info-main h2,
.contact-process-head h2,
.contact-final-cta h2{
  font-family:"Bodoni Moda","Noto Naskh Arabic",serif;
  color:#143f44;
  font-size:clamp(48px,4.8vw,73px);
  font-weight:500;
  line-height:1.03;
  letter-spacing:-.045em;
  margin:0;
}

.contact-option-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:#cad9da;
}

.contact-option-card{
  min-height:370px;
  padding:32px 30px;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.contact-option-primary{
  background:#174e53;
  color:#fff;
}

.contact-card-number{
  font-family:"Bodoni Moda",serif;
  font-size:28px;
  color:#5f979b;
}

.contact-option-primary .contact-card-number{
  color:#9bcfd2;
}

.contact-option-card h3{
  font-size:21px;
  margin:46px 0 15px;
  color:#174b50;
}

.contact-option-primary h3{
  color:#fff;
}

.contact-option-card p{
  font-size:12px;
  line-height:1.95;
  color:#718689;
  margin:0;
}

.contact-option-primary p{
  color:rgba(255,255,255,.64);
}

.contact-option-card>a{
  margin-top:34px;
  text-decoration:none;
  color:#194e53;
  font-size:11px;
  font-weight:800;
  border-top:1px solid #d7e1e1;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
}

.contact-option-primary>a{
  color:#fff;
  border-top-color:rgba(255,255,255,.17);
}

.contact-info-band{
  background:#e4f0f0;
  padding:105px max(7vw,48px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.contact-info-main p:last-child{
  max-width:620px;
  margin:26px 0 0;
  color:#658083;
  font-size:13px;
  line-height:2;
}

.contact-city-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-content:center;
}

.contact-city-cloud span{
  padding:15px 20px;
  border:1px solid #b7ced0;
  border-radius:999px;
  background:rgba(255,255,255,.5);
  color:#2f6368;
  font-size:10px;
  letter-spacing:.08em;
}

.contact-process{
  max-width:1380px;
  margin:0 auto;
  padding:120px 50px;
}

.contact-process-head{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:end;
  margin-bottom:54px;
}

.contact-process-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid #cbdadb;
  border-bottom:1px solid #cbdadb;
}

.contact-process-steps>div{
  min-height:180px;
  padding:28px 24px;
  border-inline-end:1px solid #cbdadb;
}

.contact-process-steps>div:last-child{
  border-inline-end:0;
}

.contact-process-steps b{
  display:block;
  font-family:"Bodoni Moda",serif;
  font-weight:500;
  font-size:25px;
  color:#4e8e92;
  margin-bottom:46px;
}

.contact-process-steps span{
  display:block;
  color:#587477;
  font-size:11px;
  line-height:1.85;
}

.contact-final-cta{
  background:#123f44;
  color:#fff;
  padding:105px max(7vw,48px);
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:50px;
}

.contact-final-cta h2{
  color:#fff;
}

.contact-final-cta>div:first-child>p{
  color:#8ebfc2;
  font-size:10px;
  letter-spacing:.18em;
  font-weight:800;
}

.contact-final-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.contact-final-cta .projects-secondary-btn{
  color:#fff;
  border-color:rgba(255,255,255,.3);
}

@media(max-width:980px){
  .contact-hero{
    grid-template-columns:1fr;
    min-height:650px;
    padding:100px 7% 80px;
  }

  .contact-hero-orbit{
    position:absolute;
    width:480px;
    inset-inline-end:-220px;
    opacity:.38;
  }

  .contact-options-head,
  .contact-info-band,
  .contact-process-head{
    grid-template-columns:1fr;
    gap:30px;
  }

  .contact-option-grid{
    grid-template-columns:1fr;
  }

  .contact-option-card{
    min-height:280px;
  }

  .contact-process-steps{
    grid-template-columns:1fr 1fr;
  }

  .contact-process-steps>div{
    border-bottom:1px solid #cbdadb;
  }

  .contact-final-cta{
    flex-direction:column;
    align-items:flex-start;
  }

  .contact-final-actions{
    justify-content:flex-start;
  }
}

@media(max-width:600px){
  .contact-hero-copy h1{
    font-size:53px;
  }

  .contact-hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .contact-call-btn,
  .contact-design-btn{
    width:100%;
  }

  .contact-options,
  .contact-process{
    padding:80px 22px;
  }

  .contact-info-band{
    padding:80px 28px;
  }

  .contact-process-steps{
    grid-template-columns:1fr;
  }

  .contact-process-steps>div{
    border-inline-end:0;
  }

  .contact-final-cta{
    padding:80px 28px;
  }

  .contact-final-cta h2{
    font-size:48px;
  }
}


/* =========================================================
   V61 — SCROLL DYNAMICS (ABOUT + CONTACT ONLY)
   ========================================================= */

.motion-ready .scroll-reveal{
  opacity:0;
  transform:translateY(34px);
  transition:
    opacity .78s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms),
    transform .78s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms);
  will-change:opacity,transform;
}

.motion-ready .scroll-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.reduce-motion .scroll-reveal{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

/* ABOUT — engineered circles respond subtly to scroll */
.about-ring{
  transition:transform .16s linear;
  transform-origin:center;
  will-change:transform;
}

.structure-motion-card{
  position:relative;
}

.motion-ready .structure-motion-card img{
  transition:transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
}

.motion-ready .structure-motion-card.scroll-reveal.is-visible img{
  transform:scale(1);
}

@media (hover:hover) and (pointer:fine){
  .structure-motion-card:hover img{
    transform:scale(1.025);
  }
}

/* ABOUT — number emphasis */
.about-numbers strong{
  font-variant-numeric:tabular-nums;
}

/* CONTACT — orbit shifts slightly while scrolling */
.contact-hero-orbit{
  transform:translateY(var(--orbit-shift,0px));
  transition:transform .16s linear;
  will-change:transform;
}

.contact-orbit{
  transform-origin:center;
  transition:transform .16s linear;
  will-change:transform;
}

/* CONTACT — cards get a subtle premium lift as they reveal */
.motion-ready .contact-option-card.scroll-reveal{
  transform:translateY(38px) scale(.985);
}

.motion-ready .contact-option-card.scroll-reveal.is-visible{
  transform:translateY(0) scale(1);
}

/* CONTACT — process line fills with scroll */
.contact-process.has-scroll-progress{
  position:relative;
}

.contact-process.has-scroll-progress .contact-process-steps{
  position:relative;
}

.contact-process.has-scroll-progress .contact-process-steps::before{
  content:"";
  position:absolute;
  z-index:3;
  top:-1px;
  inset-inline-start:0;
  width:calc(var(--process-progress,0) * 100%);
  height:2px;
  background:#28666d;
  transition:width .08s linear;
  pointer-events:none;
}

.contact-process-steps > div{
  transition:background-color .35s ease, transform .35s ease;
}

.contact-process-steps > div.is-active{
  background:rgba(40,102,109,.045);
}

.contact-process-steps > div.is-active b{
  color:#28666d;
}

/* CTA reveal feels slightly broader */
.motion-ready .about-cta.scroll-reveal,
.motion-ready .contact-final-cta.scroll-reveal{
  transform:translateY(24px);
}

@media (prefers-reduced-motion: reduce){
  .about-ring,
  .contact-hero-orbit,
  .contact-orbit{
    transform:none !important;
    transition:none !important;
  }

  .contact-process.has-scroll-progress .contact-process-steps::before{
    width:100%;
    transition:none;
  }
}


/* =========================================================
   V62 — ROBUST SCROLL MOTION FIX
   Works with local file:// opening in Chrome.
   ========================================================= */

/* Baseline: content remains visible if JS does not run. */
.scroll-motion-item{
  opacity:1;
  transform:none;
}

/* Only hide elements after JS confirms motion is active. */
.scroll-motion-enabled .scroll-motion-item{
  opacity:0;
  transform:translateY(46px) scale(.985);
  transition:
    opacity .72s cubic-bezier(.18,.72,.22,1) var(--motion-delay,0ms),
    transform .82s cubic-bezier(.18,.72,.22,1) var(--motion-delay,0ms);
  will-change:opacity,transform;
}

.scroll-motion-enabled .scroll-motion-item.motion-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}

/* Override old V61 classes so they cannot keep items hidden. */
.scroll-motion-enabled .scroll-reveal{
  opacity:1;
  transform:none;
}

.scroll-motion-enabled .scroll-reveal.scroll-motion-item{
  opacity:0;
  transform:translateY(46px) scale(.985);
}

.scroll-motion-enabled .scroll-reveal.scroll-motion-item.motion-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}

/* About 3D cards */
.structure-motion-card{
  overflow:hidden;
}

.structure-motion-card img{
  transition:transform .85s cubic-bezier(.18,.72,.22,1);
  transform-origin:center;
}

@media (hover:hover) and (pointer:fine){
  .structure-motion-card:hover img{
    transform:scale(1.035);
  }
}

/* About rings */
.about-ring{
  transition:transform .08s linear !important;
  will-change:transform;
}

/* Contact orbit */
.contact-hero-orbit,
.contact-orbit{
  transition:transform .08s linear !important;
  will-change:transform;
}

/* Contact progress */
.contact-process.has-scroll-progress .contact-process-steps{
  position:relative;
}

.contact-process.has-scroll-progress .contact-process-steps::before{
  content:"";
  position:absolute;
  z-index:5;
  top:-2px;
  inset-inline-start:0;
  width:calc(var(--process-progress,0) * 100%);
  height:3px;
  border-radius:999px;
  background:#28666d;
  pointer-events:none;
}

.contact-process-steps > div{
  transition:
    background-color .35s ease,
    transform .35s ease;
}

.contact-process-steps > div.is-active{
  background:rgba(40,102,109,.07);
}

.contact-process-steps > div.is-active b{
  color:#28666d;
}

/* Make card stagger visible but still restrained */
.scroll-motion-enabled .contact-option-card.scroll-motion-item{
  transform:translateY(52px) scale(.97);
}

.scroll-motion-enabled .contact-option-card.scroll-motion-item.motion-visible{
  transform:translateY(0) scale(1);
}

/* Reduced-motion accessibility */
.reduce-motion .scroll-motion-item{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

@media (prefers-reduced-motion: reduce){
  .scroll-motion-item{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
  .about-ring,
  .contact-hero-orbit,
  .contact-orbit{
    transform:none !important;
    transition:none !important;
  }
}


/* =========================================================
   V63 — HERO + BUTTON DYNAMICS
   ========================================================= */

/* Hero entrance animation */
.scroll-motion-enabled .hero-motion-item{
  opacity:0;
  transform:translateY(34px);
  transition:
    opacity .8s cubic-bezier(.18,.72,.22,1) var(--hero-delay,0ms),
    transform .9s cubic-bezier(.18,.72,.22,1) var(--hero-delay,0ms);
  will-change:opacity,transform;
}

.scroll-motion-enabled .hero-motion-item.hero-visible{
  opacity:1;
  transform:translateY(0);
}

/* Headings enter slightly stronger */
.scroll-motion-enabled .about-hero-copy h1.hero-motion-item,
.scroll-motion-enabled .contact-hero-copy h1.hero-motion-item{
  transform:translateY(46px) scale(.985);
}

.scroll-motion-enabled .about-hero-copy h1.hero-motion-item.hero-visible,
.scroll-motion-enabled .contact-hero-copy h1.hero-motion-item.hero-visible{
  transform:translateY(0) scale(1);
}

/* Keep parallax smooth after entrance */
.about-hero-copy,
.about-hero-side,
.contact-hero-copy{
  transition:transform .08s linear;
  will-change:transform;
}

/* Contact orbit entrance + scroll */
.contact-hero-orbit.hero-motion-item{
  transform:translateY(24px) scale(.97);
}

.contact-hero-orbit.hero-motion-item.hero-visible{
  transform:translateY(0) scale(1);
}

/* Button dynamics — subtle premium hover */
.products-cta-button,
.projects-secondary-btn,
.contact-call-btn,
.contact-design-btn,
.contact-option-card > a,
.products-primary-btn,
.lang-toggle,
.products-phone{
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    box-shadow .28s ease,
    background-color .28s ease,
    border-color .28s ease,
    color .28s ease;
  transform-origin:center;
}

@media (hover:hover) and (pointer:fine){
  .products-cta-button:hover,
  .contact-call-btn:hover,
  .contact-design-btn:hover,
  .products-primary-btn:hover{
    transform:translateY(-3px) scale(1.035);
  }

  .projects-secondary-btn:hover,
  .contact-option-card > a:hover{
    transform:translateY(-2px) scale(1.02);
  }

  .lang-toggle:hover,
  .products-phone:hover{
    transform:translateY(-1px) scale(1.035);
  }

  .contact-call-btn:hover{
    box-shadow:0 12px 30px rgba(7,44,48,.18);
  }

  .contact-design-btn:hover,
  .projects-secondary-btn:hover{
    border-color:rgba(255,255,255,.55);
  }

  .contact-option-card{
    transition:
      transform .32s cubic-bezier(.2,.7,.2,1),
      box-shadow .32s ease,
      background-color .32s ease;
  }

  .contact-option-card:hover{
    transform:translateY(-5px);
    box-shadow:0 14px 32px rgba(17,63,68,.08);
    position:relative;
    z-index:2;
  }
}

/* Touch feedback */
.products-cta-button:active,
.projects-secondary-btn:active,
.contact-call-btn:active,
.contact-design-btn:active,
.products-primary-btn:active,
.lang-toggle:active,
.products-phone:active{
  transform:scale(.985);
}

/* Reduced motion */
.reduce-motion .hero-motion-item{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

@media (prefers-reduced-motion: reduce){
  .hero-motion-item,
  .about-hero-copy,
  .about-hero-side,
  .contact-hero-copy{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* =========================================================
   V64 — FINAL FIXES PHASE 1
   ========================================================= */

/* 01 — More breathing room in every header */
.products-header{
  height:112px;
  padding-top:6px;
  padding-bottom:6px;
}
.products-brand{
  display:flex;
  align-items:center;
  align-self:stretch;
}
.products-brand img{
  width:180px;
  max-height:88px;
  object-fit:contain;
}
.products-nav a{
  padding:42px 0 37px;
}
.products-nav a::after{
  bottom:31px;
}

/* Home header — keep its approved composition but add a little breathing room */
.site-header{
  height:136px;
}
.brand-logo{
  top:22px;
}

/* 02 — EN/AR is always physically grouped with the phone */
.products-header .products-header-actions{
  margin-inline-start:0;
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.products-header .lang-toggle{
  position:static !important;
  inset:auto !important;
  min-width:50px;
  width:50px;
  height:42px;
  flex:0 0 50px;
}
.home-header-actions{
  position:absolute;
  right:153px;
  top:23px;
  display:flex;
  align-items:center;
  gap:12px;
  z-index:8;
}
.home-header-actions .lang-toggle,
.home-header-actions .phone-pill{
  position:static !important;
  inset:auto !important;
}
.home-header-actions .lang-toggle{
  width:54px;
  height:46px;
  flex:0 0 54px;
}
.home-header-actions .phone-pill{
  height:49px;
  min-width:190px;
}

/* 03 — exact requested home signature color */
#heroSignature,
body[data-lang="ar"] #heroSignature{
  color:#28666d !important;
  -webkit-text-fill-color:#28666d !important;
}

/* 07 — site-wide premium motion */
.scroll-motion-item{
  opacity:1;
  transform:none;
}
.scroll-motion-enabled .scroll-motion-item{
  opacity:0;
  transform:translateY(38px) scale(.99);
  transition:
    opacity .72s cubic-bezier(.18,.72,.22,1) var(--motion-delay,0ms),
    transform .8s cubic-bezier(.18,.72,.22,1) var(--motion-delay,0ms);
  will-change:opacity,transform;
}
.scroll-motion-enabled .scroll-motion-item.motion-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}
.scroll-motion-enabled .hero-motion-item{
  opacity:0;
  transform:translateY(34px);
  transition:
    opacity .82s cubic-bezier(.18,.72,.22,1) var(--hero-delay,0ms),
    transform .9s cubic-bezier(.18,.72,.22,1) var(--hero-delay,0ms);
}
.scroll-motion-enabled .hero-motion-item.hero-visible{
  opacity:1;
  transform:translateY(0);
}

/* Premium hover language across all pages */
.quote-btn,
.site-visit-btn,
.reset-btn,
.reset-3d,
.camera-buttons button,
.products-primary-btn,
.products-cta-button,
.projects-secondary-btn,
.contact-call-btn,
.contact-design-btn,
.contact-option-card > a,
.lang-toggle,
.phone-pill,
.products-phone,
.project-tile,
.product-card,
.product-feature{
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    box-shadow .28s ease,
    border-color .28s ease,
    background-color .28s ease;
  transform-origin:center;
}

@media (hover:hover) and (pointer:fine){
  .quote-btn:hover,
  .site-visit-btn:hover,
  .products-primary-btn:hover,
  .products-cta-button:hover,
  .contact-call-btn:hover,
  .contact-design-btn:hover{
    transform:translateY(-3px) scale(1.028);
  }

  .reset-btn:hover,
  .reset-3d:hover,
  .camera-buttons button:hover,
  .projects-secondary-btn:hover,
  .lang-toggle:hover,
  .phone-pill:hover,
  .products-phone:hover{
    transform:translateY(-2px) scale(1.025);
  }

  .product-card:hover,
  .product-feature:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 38px rgba(17,63,68,.08);
  }

  .project-tile:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 34px rgba(17,63,68,.10);
  }
}

.about-ring,
.contact-orbit,
.contact-hero-orbit,
.about-hero-copy,
.about-hero-side,
.contact-hero-copy{
  transition:transform .09s linear;
  will-change:transform;
}

.contact-process.has-scroll-progress .contact-process-steps{
  position:relative;
}
.contact-process.has-scroll-progress .contact-process-steps::before{
  content:"";
  position:absolute;
  z-index:5;
  top:-2px;
  inset-inline-start:0;
  width:calc(var(--process-progress,0) * 100%);
  height:3px;
  border-radius:999px;
  background:#28666d;
  pointer-events:none;
}
.contact-process-steps > div.is-active{
  background:rgba(40,102,109,.07);
}
.contact-process-steps > div.is-active b{
  color:#28666d;
}

@media (max-width:980px){
  .products-header{
    height:90px;
    padding-top:5px;
    padding-bottom:5px;
  }
  .products-brand img{
    width:145px;
    max-height:72px;
  }
}

.reduce-motion .scroll-motion-item,
.reduce-motion .hero-motion-item{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

@media (prefers-reduced-motion: reduce){
  .scroll-motion-item,
  .hero-motion-item,
  .about-ring,
  .contact-orbit,
  .contact-hero-orbit{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* =========================================================
   V65 — VISUAL REPAIRS
   ========================================================= */

/* 01 — rebuilt "More Than a Pool" label.
   No inherited .signature styling and no JS color overrides. */
.more-than-pool-label{
  position:absolute;
  right:30px;
  bottom:21px;
  z-index:6;
  font-family:"Allura","Segoe Script",cursive;
  font-size:34px;
  line-height:.67;
  font-style:normal;
  font-weight:400;
  color:#28666D !important;
  -webkit-text-fill-color:#28666D !important;
  text-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
  transform:rotate(-8deg);
  text-align:center;
  letter-spacing:.1px;
  mix-blend-mode:normal;
}

body[data-lang="ar"] .more-than-pool-label{
  font-family:"Aref Ruqaa Ink","Noto Naskh Arabic",serif;
  font-size:31px;
  line-height:.90;
  font-weight:400;
  color:#28666D !important;
  -webkit-text-fill-color:#28666D !important;
  text-align:right;
  direction:rtl;
  transform:rotate(-5deg);
  letter-spacing:0;
}

/* Explicitly neutralize all legacy signature rules for the rebuilt element. */
#heroSignature.more-than-pool-label,
body[data-lang="ar"] #heroSignature.more-than-pool-label{
  color:#28666D !important;
  -webkit-text-fill-color:#28666D !important;
  text-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
}

/* 02 — Arabic lead was touching the configurator card.
   Lift ONLY the lead so the approved heading/card positions remain intact. */
body[data-lang="ar"] .hero-copy .lead{
  position:relative;
  top:-11px;
  margin-top:6px;
  z-index:7;
}

/* 03 — noticeable but premium logo dynamics on every page. */
@keyframes turquoiseLogoFloat{
  0%,100%{
    transform:translateY(0) scale(1);
  }
  50%{
    transform:translateY(-5px) scale(1.018);
  }
}

.brand-logo,
.products-brand img{
  animation:turquoiseLogoFloat 3.2s ease-in-out infinite;
  transform-origin:center;
  will-change:transform;
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    filter .28s ease;
}

@media (hover:hover) and (pointer:fine){
  .brand-logo:hover,
  .products-brand:hover img{
    animation:none;
    transform:translateY(-4px) scale(1.09) rotate(-1.2deg);
    filter:
      contrast(1.05)
      drop-shadow(0 10px 14px rgba(17,75,80,.16));
  }
}

/* Small click/tap response keeps the logo feeling interactive. */
.brand-logo:active,
.products-brand:active img{
  animation:none;
  transform:scale(.96);
}

/* Keep motion accessibility intact. */
@media (prefers-reduced-motion: reduce){
  .brand-logo,
  .products-brand img{
    animation:none !important;
    transform:none !important;
  }
}


/* =========================================================
   V66 — PAGE SLIDE TRANSITIONS + LOGO HOVER
   ========================================================= */

/* Multi-page slide transition.
   Baseline stays fully visible if JS does not run. */
.page-transition-enabled body{
  opacity:0;
  transform:translateX(72px);
  transition:
    transform .42s cubic-bezier(.22,.72,.2,1),
    opacity .34s ease;
  will-change:transform,opacity;
}

.page-transition-enabled body.page-slide-entered{
  opacity:1;
  transform:translateX(0);
}

.page-transition-enabled body.page-slide-leaving{
  opacity:0;
  transform:translateX(-72px);
  pointer-events:none;
}

/* Header remains visually connected to the page during the slide. */
.page-transition-enabled body > *{
  backface-visibility:hidden;
}

/* Disable the old perpetual logo animation.
   The user asked for a clear interaction on hover, not constant motion. */
.brand-logo,
.products-brand img{
  animation:none !important;
  transform:translateY(0) scale(1);
  transition:
    transform .34s cubic-bezier(.18,.75,.2,1),
    filter .34s ease !important;
  transform-origin:center center;
  will-change:transform;
}

/* Clearly noticeable logo growth on mouse hover. */
@media (hover:hover) and (pointer:fine){
  .brand-logo:hover{
    transform:translateY(-4px) scale(1.14) !important;
    filter:drop-shadow(0 12px 16px rgba(20,73,78,.18));
  }

  .products-brand:hover img{
    transform:translateY(-4px) scale(1.14) !important;
    filter:drop-shadow(0 12px 16px rgba(20,73,78,.18));
  }
}

/* Click / touch feedback. */
.brand-logo:active,
.products-brand:active img{
  transform:scale(.96) !important;
}

/* Don't animate page transitions for reduced-motion users. */
.page-transition-reduced body{
  opacity:1 !important;
  transform:none !important;
}

@media (prefers-reduced-motion: reduce){
  .page-transition-enabled body{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }

  .brand-logo,
  .products-brand img{
    transition:none !important;
  }
}


/* =========================================================
   V67 — HEADER ICONS + SMOOTHER SLIDE + LOGO HOVER
   ========================================================= */

/* ---------- Header icons ---------- */

/* Language globe icon — consistent on all pages */
.lang-toggle{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  white-space:nowrap;
}

.lang-toggle::before{
  content:"";
  width:15px;
  height:15px;
  flex:0 0 15px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2328666D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.2 2.5 3.3 5.5 3.3 9S14.2 18.5 12 21c-2.2-2.5-3.3-5.5-3.3-9S9.8 5.5 12 3Z'/%3E%3C/svg%3E");
}

/* Phone icon on sub-pages */
.products-phone{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:9px;
}

.products-phone::before{
  content:"";
  width:15px;
  height:15px;
  flex:0 0 15px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2328666D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 5.15 12.8 19.79 19.79 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L7.96 9.73a16 16 0 0 0 6.31 6.31l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E");
}

/* Home already has a phone SVG; make it consistent with the teal icon style */
.phone-pill .phone-svg{
  width:16px;
  height:16px;
  fill:none !important;
  stroke:#28666D !important;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.phone-pill .phone-svg path{
  fill:none !important;
  stroke:#28666D !important;
}

/* A little extra width so globe + AR/EN don't feel cramped */
.products-header .lang-toggle,
.home-header-actions .lang-toggle{
  width:auto !important;
  min-width:62px !important;
  padding-inline:12px !important;
}

/* ---------- Smoother / more noticeable page slide ---------- */

.page-transition-enabled body{
  opacity:0;
  transform:translateX(112px) scale(.995);
  transition:
    transform .72s cubic-bezier(.16,.78,.2,1),
    opacity .56s ease;
  will-change:transform,opacity;
}

.page-transition-enabled body.page-slide-entered{
  opacity:1;
  transform:translateX(0) scale(1);
}

.page-transition-enabled body.page-slide-leaving{
  opacity:0;
  transform:translateX(-112px) scale(.995);
  pointer-events:none;
}

/* ---------- Smooth logo zoom ---------- */

.brand-logo,
.products-brand img{
  animation:none !important;
  transform:translateY(0) scale(1);
  transition:
    transform .58s cubic-bezier(.16,.78,.2,1),
    filter .58s ease !important;
  transform-origin:center center;
  will-change:transform;
}

@media (hover:hover) and (pointer:fine){
  .brand-logo:hover{
    transform:translateY(-4px) scale(1.145) !important;
    filter:drop-shadow(0 12px 17px rgba(20,73,78,.17));
  }

  .products-brand:hover img{
    transform:translateY(-4px) scale(1.145) !important;
    filter:drop-shadow(0 12px 17px rgba(20,73,78,.17));
  }
}

/* Smooth return after hover too */
.brand-logo:not(:hover),
.products-brand:not(:hover) img{
  transition:
    transform .62s cubic-bezier(.16,.78,.2,1),
    filter .62s ease !important;
}

/* Small press feedback remains fast */
.brand-logo:active,
.products-brand:active img{
  transition-duration:.16s !important;
  transform:scale(.97) !important;
}

@media (prefers-reduced-motion: reduce){
  .page-transition-enabled body{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }

  .brand-logo,
  .products-brand img{
    transition:none !important;
  }
}


/* =========================================================
   V68 — BIG TYPOGRAPHY SCROLL DYNAMICS
   ABOUT + CONTACT ONLY
   ========================================================= */

.about-hero-copy h1,
.about-story h2,
.about-structure-copy h2,
.about-build-visuals-head h2,
.about-coverage h2,
.about-cta h2,
.contact-hero-copy h1,
.contact-options-head h2,
.contact-info-main h2,
.contact-process-head h2,
.contact-final-cta h2{
  transform-origin:center center;
  transition:
    transform .22s cubic-bezier(.16,.78,.2,1),
    opacity .22s ease;
  will-change:transform,opacity;
  backface-visibility:hidden;
}

/* Make the hero display type feel even more deliberate */
.about-hero-copy h1,
.contact-hero-copy h1{
  transition:
    transform .18s cubic-bezier(.16,.78,.2,1),
    opacity .18s ease;
}

/* Keep text crisp during scaling */
.about-page h1,
.about-page h2,
.contact-page h1,
.contact-page h2{
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce){
  .about-hero-copy h1,
  .about-story h2,
  .about-structure-copy h2,
  .about-build-visuals-head h2,
  .about-coverage h2,
  .about-cta h2,
  .contact-hero-copy h1,
  .contact-options-head h2,
  .contact-info-main h2,
  .contact-process-head h2,
  .contact-final-cta h2{
    transform:none !important;
    opacity:1 !important;
    transition:none !important;
  }
}


/* =========================================================
   V69 — CIRCLE SCALE/FADE + HOME PHONE PILL
   ========================================================= */

/* Large circles now scale/fade smoothly with scroll */
.about-ring,
.contact-orbit,
.contact-hero-orbit{
  transition:
    transform .24s cubic-bezier(.16,.78,.2,1),
    opacity .24s ease !important;
  will-change:transform,opacity;
}

/* Home phone pill matches the clean white treatment used elsewhere */
.home-header-actions .phone-pill{
  background:#fff !important;
  color:#28666D !important;
  border:1px solid rgba(40,102,109,.22) !important;
  box-shadow:none !important;
}

.home-header-actions .phone-pill span{
  color:#28666D !important;
}

/* Keep phone icon visible and aligned beside the number */
.home-header-actions .phone-pill .phone-svg{
  width:16px !important;
  height:16px !important;
  fill:none !important;
  stroke:#28666D !important;
  stroke-width:1.7 !important;
  flex:0 0 16px;
}

.home-header-actions .phone-pill .phone-svg path{
  fill:none !important;
  stroke:#28666D !important;
}

/* A subtle white-hover lift consistent with subpages */
@media (hover:hover) and (pointer:fine){
  .home-header-actions .phone-pill:hover{
    background:#fff !important;
    transform:translateY(-2px) scale(1.025);
    box-shadow:0 10px 24px rgba(20,73,78,.08) !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .about-ring,
  .contact-orbit,
  .contact-hero-orbit{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* =========================================================
   V70 — ULTRA SMOOTH PAGE SLIDE + STRONG CIRCLE GROW/FADE
   ========================================================= */

/* Much smoother and more cinematic page transition */
.page-transition-enabled body{
  opacity:0;
  transform:translate3d(145px,0,0) scale(.992);
  transition:
    transform 1.02s cubic-bezier(.12,.78,.16,1),
    opacity .82s cubic-bezier(.2,.65,.2,1);
  will-change:transform,opacity;
}

.page-transition-enabled body.page-slide-entered{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}

.page-transition-enabled body.page-slide-leaving{
  opacity:0;
  transform:translate3d(-145px,0,0) scale(.992);
  pointer-events:none;
}

/* Keep animation GPU-accelerated and visually clean */
.page-transition-enabled body,
.page-transition-enabled body > *{
  backface-visibility:hidden;
}

/* Circles: respond smoothly to continuous scroll-linked transforms */
.about-ring,
.contact-orbit,
.contact-hero-orbit{
  transition:
    transform .12s linear,
    opacity .18s ease-out !important;
  will-change:transform,opacity;
  transform-origin:center center;
}

/* Give expanding circles room without visual clipping */
.about-structure-visual,
.contact-hero{
  overflow:hidden;
}

/* Stronger smooth logo behavior remains */
.brand-logo,
.products-brand img{
  transition:
    transform .72s cubic-bezier(.12,.78,.16,1),
    filter .72s ease !important;
}

@media (hover:hover) and (pointer:fine){
  .brand-logo:hover,
  .products-brand:hover img{
    transform:translateY(-5px) scale(1.15) !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .page-transition-enabled body{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }

  .about-ring,
  .contact-orbit,
  .contact-hero-orbit{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* =========================================================
   V71 — TRUE HERO CIRCLE MOTION + CURTAIN PAGE SLIDE
   ========================================================= */

.page-transition-enabled body,
.page-transition-enabled body.page-slide-entered,
.page-transition-enabled body.page-slide-leaving{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
  pointer-events:auto !important;
}

.page-slide-curtain{
  position:fixed;
  inset:0;
  z-index:999999;
  pointer-events:none;
  background:linear-gradient(110deg,#123f44 0%,#28666d 58%,#dff0f0 100%);
  transform:translate3d(0,0,0);
  transition:transform .92s cubic-bezier(.12,.78,.14,1);
  will-change:transform;
}
.page-slide-curtain.curtain-reveal{
  transform:translate3d(-103%,0,0);
}
.page-slide-curtain.curtain-cover{
  transform:translate3d(0,0,0);
}

.about-hero::after{
  opacity:var(--about-hero-circle-opacity,1) !important;
  transform:
    translateY(calc(-50% + var(--about-hero-circle-shift,0px)))
    scale(var(--about-hero-circle-scale,1)) !important;
  transform-origin:center center;
  transition:transform .14s linear, opacity .18s ease-out !important;
  will-change:transform,opacity;
}

.contact-hero-orbit{
  opacity:var(--contact-orbit-opacity,1) !important;
  transform:
    translateY(var(--contact-orbit-shift,0px))
    scale(var(--contact-orbit-scale,1)) !important;
  transform-origin:center center !important;
  transition:transform .14s linear, opacity .18s ease-out !important;
  will-change:transform,opacity;
}

.contact-orbit{
  transition:transform .14s linear !important;
}

@media (prefers-reduced-motion: reduce){
  .page-slide-curtain{display:none !important;}
  .about-hero::after,
  .contact-hero-orbit{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* =========================================================
   V72 — FORCE REQUESTED MOTION EVEN WHEN OS REDUCE-MOTION IS ON
   User explicitly requested strong, visible motion.
   ========================================================= */

@media (prefers-reduced-motion: reduce){

  /* Keep the real page curtain enabled */
  .page-slide-curtain{
    display:block !important;
    transform:translate3d(0,0,0) !important;
    transition:transform 1.06s cubic-bezier(.10,.82,.16,1) !important;
  }

  .page-slide-curtain.curtain-reveal{
    transform:translate3d(-103%,0,0) !important;
  }

  .page-slide-curtain.curtain-cover{
    transform:translate3d(0,0,0) !important;
  }

  /* ABOUT actual hero circle */
  .about-hero::after{
    opacity:var(--about-hero-circle-opacity,1) !important;
    transform:
      translateY(calc(-50% + var(--about-hero-circle-shift,0px)))
      scale(var(--about-hero-circle-scale,1)) !important;
    transition:
      transform .10s linear,
      opacity .16s linear !important;
  }

  /* CONTACT actual hero orbit */
  .contact-hero-orbit{
    opacity:var(--contact-orbit-opacity,1) !important;
    transform:
      translateY(var(--contact-orbit-shift,0px))
      scale(var(--contact-orbit-scale,1)) !important;
    transition:
      transform .10s linear,
      opacity .16s linear !important;
  }

  .contact-orbit{
    transition:transform .10s linear !important;
  }
}

/* Stronger visible circle motion regardless of system mode */
.about-hero::after{
  transition:
    transform .10s linear,
    opacity .16s linear !important;
}

.contact-hero-orbit{
  transition:
    transform .10s linear,
    opacity .16s linear !important;
}

/* Make the real curtain more fluid and slightly slower */
.page-slide-curtain{
  transition:transform 1.06s cubic-bezier(.10,.82,.16,1) !important;
}


/* =========================================================
   V73 — SOFT FAST PAGE TRANSITION
   Remove curtain/slide. Keep only a subtle quick fade.
   ========================================================= */

/* Kill old curtain completely */
.page-slide-curtain{
  display:none !important;
}

/* Kill all legacy body-slide transition states */
.page-transition-enabled body,
.page-transition-enabled body.page-slide-entered,
.page-transition-enabled body.page-slide-leaving{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
  pointer-events:auto !important;
}

/* Soft quick transition */
html.soft-page-transition body{
  opacity:0;
  transform:translateY(3px);
  transition:
    opacity .24s ease,
    transform .24s ease;
}

html.soft-page-transition.soft-page-ready body{
  opacity:1;
  transform:translateY(0);
}

html.soft-page-transition.soft-page-leaving body{
  opacity:0;
  transform:translateY(-2px);
}

/* User explicitly wants motion, so keep this even under OS Reduce Motion */
@media (prefers-reduced-motion: reduce){
  html.soft-page-transition body{
    opacity:0 !important;
    transform:translateY(3px) !important;
    transition:
      opacity .24s ease,
      transform .24s ease !important;
  }

  html.soft-page-transition.soft-page-ready body{
    opacity:1 !important;
    transform:translateY(0) !important;
  }

  html.soft-page-transition.soft-page-leaving body{
    opacity:0 !important;
    transform:translateY(-2px) !important;
  }
}
