/* W18 homepage only — existing project styles remain unmodified. */
body[data-theme="home"]{--gutter:clamp(22px,5.5vw,100px);background:#fbf8f1}
body[data-theme="home"] .nav{padding-block:20px;background:linear-gradient(#092126aa,#0d25282b);backdrop-filter:none}
body[data-theme="home"] .w18-hero{height:clamp(570px,76svh,810px);min-height:0;padding:115px var(--gutter) 44px;align-items:flex-end;isolation:isolate}
body[data-theme="home"] .w18-hero:after{display:none}
.w18-hero .hero-media{object-position:center 53%}
.w18-hero .shade{background:linear-gradient(0deg,#0b2025b0 0%,#0c24274d 40%,transparent 70%),linear-gradient(90deg,#0d252959,transparent 68%)}
[dir=rtl] .w18-hero .shade{background:linear-gradient(0deg,#0b2025b0 0%,#0c24274d 40%,transparent 70%),linear-gradient(270deg,#0d252959,transparent 68%)}
.w18-hero-frame{position:absolute;inset:100px var(--gutter) 25px;pointer-events:none;border:1px solid #f4d6a750;border-bottom:0;z-index:0}
.w18-hero-main{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,25%);gap:26px;align-items:end;width:100%;padding-inline:clamp(0px,2vw,34px)}
.w18-hero-copy h1{font-size:clamp(72px,8.5vw,152px);line-height:.88;letter-spacing:-.055em;text-shadow:0 3px 25px #0b22295e;max-width:100%}
.w18-hero-copy h1 em{display:block;color:#f2d9ad;margin-top:8px;font-size:.94em}
.w18-hero-copy .eyebrow{margin-bottom:22px}
.w18-hero-intro{margin-top:22px;font-size:16px;color:#fff;text-shadow:0 2px 9px #0b2229}
.w18-selected{background:#17373bd9;border:1px solid #f2d7a878;padding:24px 23px 20px;box-shadow:0 18px 42px #06191a33;backdrop-filter:blur(9px);min-width:0}
.w18-select-line{display:flex;align-items:center;gap:12px;font-size:11px;color:#f1d8ac;letter-spacing:.17em}
.w18-select-line i{height:1px;flex:1;background:#e9c78c60}
.w18-selected h2{font-size:clamp(30px,3.4vw,53px);color:#fff;margin:15px 0 8px;overflow-wrap:anywhere}
.w18-selected p{font-size:12px;color:#e9e7df}
.w18-hero-link,.w18-film-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #d8ba8270;padding-top:12px;margin-top:19px;font-size:13px;color:#f5d9a5}
.w18-hero-link>span:last-child,.w18-film-link>span:last-child{font-size:22px;transition:transform .25s}
.w18-hero-link:hover>span:last-child,.w18-film-link:hover>span:last-child{transform:translate(3px,-3px)}
.w18-selection{background:#fbf8f2;padding:16px var(--gutter) 20px;border-bottom:1px solid #d8c9ae}
.w18-selection-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;letter-spacing:.13em;color:#886c43;padding-bottom:11px}
.w18-selection-head a{letter-spacing:0;color:#18383c;font-size:12px}
.w18-scene-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#dbcdb5;border:1px solid #dbcdb5}
.w18-scene{position:relative;min-height:76px;text-align:start;padding:11px 12px;border:0;background:#f8f4eb;display:flex;flex-direction:column;justify-content:center;gap:6px;font-size:12px;line-height:1.4;font-weight:bold;transition:background .25s,color .25s}
.w18-scene-number{font-size:10px;color:#896d45;letter-spacing:.1em}
.w18-scene.active{background:#183a3d;color:#fff;box-shadow:inset 0 -3px #cda870}
.w18-scene.active .w18-scene-number{color:#e7c891}.w18-scene:hover:not(.active){background:#eadfc8}
.w18-films{padding:68px var(--gutter) 64px;background:linear-gradient(130deg,#f8f3e8,#fefcf8 62%,#e7efeb);position:relative}
.w18-film-header{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:25px}
.w18-film-header .eyebrow,.w18-destination-heading .eyebrow{margin-bottom:13px}
.w18-film-header h2,.w18-destination-heading h2{font-size:clamp(48px,6vw,94px);letter-spacing:-.055em}
.w18-film-header h2 em,.w18-destination-heading h2 em{color:#997443}
.w18-film-number{font-family:var(--display);font-size:55px;color:#a37d4b;line-height:.8;white-space:nowrap}
.w18-film-number span{font:10px var(--body);letter-spacing:.15em}
.w18-film-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(18px,3vw,48px);align-items:stretch}
.w18-film-frame{padding:8px;border:1px solid #bc9c66;background:#fffdf5;position:relative;align-self:start;box-shadow:0 18px 45px -30px #193436}
.w18-film-frame:before{content:"";position:absolute;inset:-7px 12px 12px -7px;border:1px solid #ab9066;pointer-events:none}
.w18-film-frame video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#102a30;border:0}
.w18-film-info{padding:clamp(16px,2.5vw,32px);background:#16383c;color:white;display:flex;flex-direction:column;justify-content:center;border-top:3px solid #c9a46c;min-width:0}
.w18-film-info .eyebrow{color:#e4c28b}.w18-film-info h3{font-size:clamp(31px,3.1vw,49px);color:#f9eddb;margin:10px 0}.w18-film-info p{font-size:12px;color:#bfcfca}
.w18-film-link{margin-top:12px;padding-top:10px;margin-bottom:14px}
.w18-film-list{display:grid;gap:5px}
.w18-film-tab{display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:11px;text-align:start;padding:5px 8px;background:#ffffff0a;border:1px solid #ffffff20;color:#e7e7df;font-size:12px;line-height:1.3;min-height:52px}
.w18-film-tab img{width:62px;height:42px;object-fit:cover}
.w18-film-tab[aria-pressed=true]{border-color:#d2b27a;background:#ffffff16;color:#f4d7a8}
.w18-film-tab:hover{border-color:#e9c78c}
body[data-theme=home] .projects-section{padding-top:76px;padding-bottom:74px;background:radial-gradient(ellipse at 100% 0%,#e3d0ac42,transparent 38%),#fbf8f2}
body[data-theme=home] .portfolio-grid{column-gap:clamp(15px,2.3vw,36px);row-gap:44px}
body[data-theme=home] .card-frame{transition:transform .3s;box-shadow:0 15px 38px -28px #16383c99}
body[data-theme=home] .card a:hover .card-frame{transform:translateY(-4px)}
.w18-destinations{padding:64px var(--gutter) 75px;background:linear-gradient(120deg,#e9efeb,#e4d5bb4d)}
.w18-destination-heading{margin-bottom:28px}
.w18-destination-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.w18-destination{display:block;position:relative;aspect-ratio:1.75;overflow:hidden;isolation:isolate;border:6px solid #fefbf4;outline:1px solid #b6a180;background:#24454a;color:white}
.w18-destination img{width:100%;height:100%;object-fit:cover;transition:transform .65s}
.w18-destination:hover img{transform:scale(1.045)}
.w18-destination div{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:4px;background:linear-gradient(transparent,#0c2328c9);padding:42px 22px 19px}
.w18-destination div>span:first-child{color:#f5deb0;font-size:10px;letter-spacing:.12em}
.w18-destination h3{font-size:clamp(30px,4vw,54px);max-width:85%;color:white}
.w18-destination-arrow{position:absolute;bottom:20px;inset-inline-end:22px;border:1px solid #e7c78b;color:#f3d9aa;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:20px}
[dir=rtl] .w18-hero-copy h1{line-height:1.3;font-size:clamp(42px,5.5vw,92px)}
[dir=rtl] .w18-hero-copy h1 em,[dir=rtl] .w18-film-header h2 em,[dir=rtl] .w18-destination-heading h2 em{font-style:normal}
[dir=rtl] .w18-selection-head,[dir=rtl] .w18-destination div>span:first-child{letter-spacing:0}
[dir=rtl] .w18-film-header h2,[dir=rtl] .w18-destination-heading h2{letter-spacing:0;font-size:clamp(30px,4.8vw,70px)}
@media(max-width:1000px){.w18-scene-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.w18-scene{min-height:65px}.w18-hero-copy h1{font-size:clamp(62px,9vw,100px)}}
@media(max-width:700px){body[data-theme=home]{--gutter:18px}body[data-theme=home] .nav{padding-block:14px}.w18-hero-frame{inset:83px 10px 14px}body[data-theme=home] .w18-hero{height:auto;min-height:550px;padding:110px var(--gutter) 24px}.w18-hero-main{grid-template-columns:1fr;gap:22px;padding-inline:7px}.w18-hero-copy h1{font-size:clamp(57px,12.5vw,83px)}.w18-hero-copy .eyebrow{margin-bottom:15px}.w18-hero-intro{font-size:14px;margin-top:14px}.w18-selected{padding:12px 15px;max-width:100%}.w18-selected h2{font-size:32px;margin:7px 0 3px}.w18-hero-link{margin-top:10px;padding-top:7px}.w18-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.w18-scene{min-height:51px;padding:8px 10px;gap:3px}.w18-scene:last-child{grid-column:1/-1}.w18-selection{padding-block:12px 16px}.w18-film-header{align-items:end}.w18-film-header h2,.w18-destination-heading h2{font-size:52px}.w18-film-number{font-size:38px}.w18-film-number span{display:none}.w18-films{padding-block:45px}.w18-film-layout{grid-template-columns:1fr;gap:17px}.w18-film-info{padding:20px}.w18-film-info h3{font-size:34px}.w18-film-frame{padding:5px}.w18-film-frame:before{inset:-4px 9px 9px -4px}.w18-destinations{padding-block:44px}.w18-destination-grid{grid-template-columns:1fr;gap:16px}.w18-destination{aspect-ratio:1.6}body[data-theme=home] .projects-section{padding-block:45px}body[data-theme=home] .portfolio-grid{row-gap:29px}[dir=rtl] .w18-hero-copy h1{font-size:clamp(33px,8.3vw,61px)}[dir=rtl] .w18-selected h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.w18-hero *,.w18-selection *,.w18-films *,.w18-destinations *{animation:none!important;transition:none!important}}

/* WWCRM W19R2 STAGED — append only to the next accepted isolated home.css.
   The existing bilingual headline, fonts, size, layout and script stay intact.
   Scope: Red Sea living, refined. / حياة على البحر الأحمر، بمستوى راقٍ. */
body[data-theme="home"] .w18-hero-copy h1 .hero-line {
  color: #fff2d9;
}
body[data-theme="home"] .w18-hero-copy h1 em > span {
  color: #f2d9ad;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  body[data-theme="home"] .w18-hero-copy h1 .hero-line,
  body[data-theme="home"] .w18-hero-copy h1 em > span {
    background-image: linear-gradient(112deg, #fff8e9 0%, #f6efd8 22%, #d8f0e9 48%, #ffe8c6 72%, #fff8e9 100%);
    background-size: 160% 100%;
    background-position: 65% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px #092226b8) drop-shadow(0 0 10px #e5e5ca36);
    animation: ww19r2-title-sheen 3.3s .15s ease-out 1 both;
  }
  body[data-theme="home"] .w18-hero-copy h1 em > span {
    background-image: linear-gradient(112deg, #fff5dc 0%, #f4ddaf 24%, #ffe7d5 50%, #e5edda 74%, #fff5dc 100%);
  }
  @keyframes ww19r2-title-sheen {
    from { background-position: 0% 50%; }
    to { background-position: 65% 50%; }
  }
  @media (prefers-reduced-motion: reduce) {
    body[data-theme="home"] .w18-hero-copy h1 .hero-line,
    body[data-theme="home"] .w18-hero-copy h1 em > span {
      animation: none !important;
      background-position: 65% 50%;
    }
  }
}
@media (forced-colors: active) {
  body[data-theme="home"] .w18-hero-copy h1 .hero-line,
  body[data-theme="home"] .w18-hero-copy h1 em > span {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    text-shadow: none;
    filter: none;
    animation: none !important;
  }
}

/* W21: architectural accent, not a depiction of any offered property. */
body[data-theme="home"] .w18-hero{
  height:auto;
  min-height:clamp(570px,76svh,810px);
}
.w21-hero-side{display:grid;gap:12px;min-width:0;align-self:end}
.w21-architecture{
  position:relative;isolation:isolate;width:min(100%,290px);height:clamp(110px,15vw,178px);
  margin-inline:auto;overflow:visible;display:grid;place-items:center;
}
.w21-architecture-svg{
  width:100%;height:100%;overflow:visible;pointer-events:none;
  background:radial-gradient(ellipse at center,#0a232a57,transparent 69%);
  filter:drop-shadow(0 0 5px #d7bea34d);
}
.w21-architecture-svg polygon,.w21-architecture-svg polyline{
  vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round
}
.w21-site-outline{fill:#73cfcb12;stroke:#f7d89a;stroke-width:1.1}
.w21-grid-line{fill:none;stroke:#a9e7dd;stroke-width:.55;opacity:.65}
.w21-plan-line{fill:none;stroke:#f9e0ad;stroke-width:1.3}
.w21-pool{fill:#4de1d62e;stroke:#a2f6e8;stroke-width:.9}
.w21-glass-base{fill:url(#w21-glass);stroke:#e7d0a7;stroke-width:.8}
.w21-plane{stroke:#e9d6ad;stroke-width:.9}
.w21-plane-side{fill:url(#w21-glass)}
.w21-plane-front{fill:url(#w21-front)}
.w21-plane-roof{fill:url(#w21-roof)}
.w21-window{fill:#d8f3e529;stroke:#fff0bc;stroke-width:.65}
.w21-wire-line{fill:none;stroke:#c6f9ed;stroke-width:.75}
.w21-plinth-line{fill:none;stroke:#f5d49c;stroke-width:1.3;stroke-dasharray:4 3}
.w21-plan,.w21-wire,.w21-model,.w21-plinth{opacity:0;transform-box:fill-box;transform-origin:center}
.w21-plan{animation:w21-plan 12s .45s ease-in-out infinite both}
.w21-wire{animation:w21-wire 12s .45s ease-in-out infinite both}
.w21-model{animation:w21-model 12s .45s ease-in-out infinite both}
.w21-plinth{animation:w21-plinth 12s .45s ease-in-out infinite both}
@keyframes w21-plan{0%{opacity:0;transform:translateY(5px)}6%,18%{opacity:.95;transform:none}32%{opacity:.45}43%,100%{opacity:0}}
@keyframes w21-wire{0%,8%{opacity:0;transform:translateY(8px)}17%,31%{opacity:.96;transform:none}41%,100%{opacity:0}}
@keyframes w21-model{0%,16%{opacity:0;transform:translateY(8px)}28%,36%{opacity:.95;transform:none}44%,100%{opacity:0;transform:translateY(-5px)}}
@keyframes w21-plinth{0%,12%{opacity:0}24%,36%{opacity:.85}44%,100%{opacity:0}}
/* Accessible, compact interruption without new JavaScript or visible tech labels. */
.w21-motion,.w21-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.w21-motion-control{position:absolute;z-index:2;inset-block-start:0;inset-inline-end:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid #f8e6c28c;background:#102d33b3;color:#fff2d6;cursor:pointer;font-size:15px}
.w21-motion:focus-visible+.w21-motion-control{outline:2px solid #fff;outline-offset:3px}
.w21-play{display:none}
.w21-motion:checked+.w21-motion-control .w21-pause{display:none}
.w21-motion:checked+.w21-motion-control .w21-play{display:block}
.w21-motion:checked~.w21-architecture-svg .w21-plan,
.w21-motion:checked~.w21-architecture-svg .w21-wire,
.w21-motion:checked~.w21-architecture-svg .w21-model,
.w21-motion:checked~.w21-architecture-svg .w21-plinth{animation:none!important;opacity:.85;transform:none}
.w21-motion:checked~.w21-architecture-svg .w21-plan{opacity:.4}
/* Refined horizontally scrolling, independently framed project controls. */
.w18-selection{background:linear-gradient(115deg,#fdfaf3,#edf2ed);padding-block:18px 21px}
.w18-scene-grid{
  display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;
  background:none;border:0;padding:5px 3px 10px;scrollbar-width:thin;scrollbar-color:#c4a678 transparent;
}
.w18-scene{
  flex:1 0 auto;min-width:130px;min-height:48px;
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;
  padding:11px 16px;border:1px solid #bfae90;border-radius:999px;
  background:#ffffff70;color:#244248;white-space:nowrap;font-size:12px;
  scroll-snap-align:start;box-shadow:0 3px 9px #1534370b;
  transition:background .2s,color .2s,border-color .2s,box-shadow .2s;
}
.w18-scene::before{content:"";width:7px;height:7px;border:1px solid #a98c55;border-radius:50%;flex:none}
.w18-scene:hover:not(.active){background:#fffdf8;border-color:#a98c55}
.w18-scene.active{background:linear-gradient(120deg,#16383c,#285154);color:#fff7e5;border-color:#d7b77c;box-shadow:0 4px 11px #21444932,inset 0 0 0 1px #dfc48c}
.w18-scene.active::before{background:#e8cc95;border-color:#e8cc95;box-shadow:0 0 6px #f1dbab}
.w18-scene:focus-visible{outline:2px solid #8b713f;outline-offset:2px}
@media(max-width:1100px){.w18-scene{flex:0 0 auto;min-width:120px}}
@media(max-width:700px){
  body[data-theme="home"] .w18-hero{min-height:550px}
  .w21-hero-side{gap:4px}
  .w21-architecture{width:min(180px,54vw);height:102px;margin-inline-start:auto;margin-inline-end:7px}
  .w21-motion-control{width:28px;height:28px;font-size:13px}
  .w18-scene-grid{gap:9px;padding-bottom:8px}
  .w18-scene,.w18-scene:last-child{flex:0 0 auto;min-width:max-content;min-height:42px;padding:10px 16px}
  .w18-selection{padding-block:12px 16px}
}
@media(prefers-reduced-motion:reduce){
  .w21-plan,.w21-wire,.w21-model,.w21-plinth{animation:none!important;opacity:.8;transform:none}
  .w21-plan{opacity:.4}
  .w21-motion,.w21-motion-control{display:none}
}
@media(forced-colors:active){.w21-architecture{visibility:hidden}.w18-scene.active{outline:2px solid Highlight}}

/* W22 — a drawn architectural concept builds story-by-story, not a stock image fade. */
body[data-theme="home"] .w18-hero-main{
  grid-template-columns:minmax(0,1fr) minmax(300px,40%);gap:clamp(20px,3vw,52px);
}
body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(67px,7.1vw,124px)}
[dir=rtl] body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(42px,5.2vw,84px)}
body[data-theme="home"] .w21-hero-side{gap:8px}
body[data-theme="home"] .w21-architecture{
  width:min(100%,500px);height:auto;aspect-ratio:5/3;min-height:0;
  margin-inline:auto;isolation:isolate;border-radius:50%;
  background:radial-gradient(ellipse at 50% 52%,#102d33b8 0%,#102d3360 40%,transparent 74%);
}
.w22-architecture-svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.w22-architecture-svg path,.w22-architecture-svg polygon{stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.w22-grid{fill:none;stroke:#9fbeb8;stroke-width:.65;opacity:.54}
.w22-trace{fill:none;stroke:#fbe0a6;stroke-width:1.6;stroke-dasharray:1;stroke-dashoffset:1}
.w22-structure .w22-trace{stroke:#c9f4e4;stroke-width:1.3}
.w22-fascia-side{fill:#234e55;stroke:#a3d6ce;stroke-width:.7}
.w22-fascia-front{fill:#c1a77b;stroke:#f8e2b3;stroke-width:.7}
.w22-deck{fill:#f2e1bb;fill-opacity:.88;stroke:#ffe4b2;stroke-width:1}
.w22-side{fill:url(#w22-side);stroke:#c5ded2;stroke-width:.75}
.w22-front{fill:url(#w22-facade);stroke:#f6d9a0;stroke-width:.8}
.w22-window{fill:#143c46;fill-opacity:.8;stroke:#f9dfad;stroke-width:.65}
.w22-pool{fill:#27a5ab;fill-opacity:.66;stroke:#c4f9e5;stroke-width:1}
.w22-poolline{fill:none;stroke:#d9f4de;stroke-width:.8;opacity:.82}
.w22-roof{fill:#23636c;fill-opacity:.86;stroke:#f8d5a2;stroke-width:1}
.w22-roofline{fill:none;stroke:#fff1c7;stroke-width:1.3}
.w22-plan,.w22-structure,.w22-build,.w22-foundation,.w22-floor,.w22-rooftop{opacity:0}
.w22-plan{animation:w22-plan-phase 15s .2s linear infinite both}
.w22-plan .w22-trace{animation:w22-plan-draw 15s .2s linear infinite both}
.w22-structure{animation:w22-wire-phase 15s .2s linear infinite both}
.w22-structure .w22-trace{animation:w22-wire-draw 15s .2s linear infinite both}
.w22-build{animation:w22-completed-phase 15s .2s linear infinite both}
.w22-foundation,.w22-floor,.w22-rooftop{transform-box:fill-box;transform-origin:center bottom}
.w22-foundation{animation:w22-base 15s .2s ease-in-out infinite both}
.w22-floor-1{animation:w22-floor1 15s .2s ease-in-out infinite both}
.w22-floor-2{animation:w22-floor2 15s .2s ease-in-out infinite both}
.w22-floor-3{animation:w22-floor3 15s .2s ease-in-out infinite both}
.w22-floor-4{animation:w22-floor4 15s .2s ease-in-out infinite both}
.w22-rooftop{animation:w22-roof-build 15s .2s ease-in-out infinite both}
@keyframes w22-plan-phase{0%{opacity:0}5%,20%{opacity:1}32%{opacity:.53}44%,100%{opacity:0}}
@keyframes w22-plan-draw{0%,5%{stroke-dashoffset:1}20%,100%{stroke-dashoffset:0}}
@keyframes w22-wire-phase{0%,16%{opacity:0}20%,34%{opacity:1}42%{opacity:.55}55%,100%{opacity:0}}
@keyframes w22-wire-draw{0%,17%{stroke-dashoffset:1}33%,100%{stroke-dashoffset:0}}
@keyframes w22-completed-phase{0%,28%{opacity:0}33%,72%{opacity:1}82%,100%{opacity:0}}
@keyframes w22-base{0%,28%{opacity:0;transform:translateY(12px)}35%,100%{opacity:1;transform:none}}
@keyframes w22-floor1{0%,34%{opacity:0;transform:translateY(14px) scaleY(.12)}40%,100%{opacity:1;transform:none}}
@keyframes w22-floor2{0%,40%{opacity:0;transform:translateY(14px) scaleY(.12)}46%,100%{opacity:1;transform:none}}
@keyframes w22-floor3{0%,46%{opacity:0;transform:translateY(14px) scaleY(.12)}52%,100%{opacity:1;transform:none}}
@keyframes w22-floor4{0%,52%{opacity:0;transform:translateY(14px) scaleY(.12)}58%,100%{opacity:1;transform:none}}
@keyframes w22-roof-build{0%,58%{opacity:0;transform:translateY(-7px)}62%,100%{opacity:1;transform:none}}
/* Pause reveals the completed building, with no background motion. */
.w21-motion:checked~.w22-architecture-svg .w22-plan,
.w21-motion:checked~.w22-architecture-svg .w22-structure{animation:none!important;opacity:0}
.w21-motion:checked~.w22-architecture-svg :is(.w22-build,.w22-foundation,.w22-floor,.w22-rooftop){animation:none!important;opacity:1;transform:none}
/* Editorial project rail: airy individual frames, one distinct active capsule. */
body[data-theme="home"] .w22-project-rail{
  display:flex;align-items:center;gap:12px;overflow-x:auto;overflow-y:hidden;
  padding:6px 4px 10px;border:0;background:transparent;scroll-snap-type:x proximity;
}
body[data-theme="home"] .w22-project-rail button.w18-scene{
  appearance:none;position:relative;flex:1 0 auto;min-width:115px;min-height:48px;
  display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:row;
  padding:11px 16px;border:1px solid #bfae9077;border-radius:9px;
  background:transparent;color:#244248;font-size:12px;white-space:nowrap;
  text-align:center;box-shadow:none;scroll-snap-align:start;transition:background .18s,border-color .18s,color .18s;
}
body[data-theme="home"] .w22-project-rail button.w18-scene::before{
  width:7px;height:7px;content:"";border:1px solid #ad935d;border-radius:50%;
  background:transparent;box-shadow:none;flex:none;
}
body[data-theme="home"] .w22-project-rail button.w18-scene:hover:not(.active){
  border-color:#aa8f59;background:#fff9ed;color:#19383c;
}
body[data-theme="home"] .w22-project-rail button.w18-scene.active{
  border-radius:999px;background:#193d42;color:#fff5df;border:1px solid #c4a36c;
  box-shadow:inset 0 0 0 2px #f8e1af20,0 2px 5px #233b3c18;
}
body[data-theme="home"] .w22-project-rail button.w18-scene.active::before{background:#f2d79d;border-color:#f2d79d}
body[data-theme="home"] .w22-project-rail button.w18-scene:focus-visible{outline:2px solid #98783c;outline-offset:2px}
@media(max-width:1050px){
 body[data-theme="home"] .w18-hero-main{grid-template-columns:minmax(0,1fr) minmax(260px,40%)}
 body[data-theme="home"] .w22-project-rail button.w18-scene{flex:0 0 auto;min-width:0}
}
@media(max-width:700px){
 body[data-theme="home"] .w18-hero-main{grid-template-columns:minmax(0,1fr);gap:16px}
 body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(55px,12vw,79px)}
 [dir=rtl] body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(38px,8.8vw,65px)}
 body[data-theme="home"] .w21-architecture{width:min(100%,365px);margin-inline:auto}
 body[data-theme="home"] .w21-hero-side{gap:4px}
 body[data-theme="home"] .w22-project-rail{gap:9px}
 body[data-theme="home"] .w22-project-rail button.w18-scene{min-height:44px;padding:10px 14px}
}
@media(prefers-reduced-motion:reduce){
 .w22-architecture-svg .w22-plan,.w22-architecture-svg .w22-structure{animation:none!important;opacity:0}
 .w22-architecture-svg :is(.w22-build,.w22-foundation,.w22-floor,.w22-rooftop){animation:none!important;opacity:1;transform:none}
}

/* W24: one SVG, three synchronized architectural motifs. */
body[data-theme="home"] .w21-architecture{
  width:min(100%,620px);aspect-ratio:67/38;
}
@media(min-width:1101px){
 body[data-theme="home"] .w18-hero-main{grid-template-columns:minmax(0,1fr) minmax(330px,46%)}
}
/* Keep the body of the building intact. The two small motifs share a clock. */
.w24-draft-grid{fill:none;stroke:#b7ddd1;stroke-width:.55;opacity:.33}
.w24-blueprint-lines{fill:none;stroke:#b9f7e6;stroke-width:1.15;stroke-dasharray:1;stroke-dashoffset:inherit}
.w24-contour-lines{fill:none;stroke:#f6d99a;stroke-width:1.35;stroke-dasharray:1;stroke-dashoffset:inherit}
.w24-ensemble{
 opacity:0;stroke-dashoffset:1;animation:w24-ensemble 15s .2s linear infinite both;
}
@keyframes w24-ensemble{
 0%,4%{opacity:0;stroke-dashoffset:1}
 10%{opacity:.72;stroke-dashoffset:.8}
 27%,70%{opacity:.88;stroke-dashoffset:0}
 82%,100%{opacity:0;stroke-dashoffset:0}
}
.w21-motion:checked~.w24-triptych .w24-ensemble{animation:none!important;opacity:.8;stroke-dashoffset:0}
/* A quiet native control in the rail header; preserve all existing selection behaviors. */
.w18-selection-head>a{margin-inline-start:auto}
.w24-scene-auto{
 flex:none;display:grid;place-items:center;width:31px;height:31px;padding:0;
 border:1px solid #a98f5a;border-radius:50%;background:transparent;color:#244248;
 cursor:pointer;font-size:15px;letter-spacing:0;line-height:1
}
.w24-scene-auto[hidden]{display:none!important}
.w24-scene-auto:hover{background:#f2e4cb}
.w24-scene-auto:focus-visible{outline:2px solid #8a713e;outline-offset:3px}
.w24-start{display:none}
.w24-scene-auto[aria-pressed="true"] .w24-stop{display:none}
.w24-scene-auto[aria-pressed="true"] .w24-start{display:block}
@media(max-width:700px){
 body[data-theme="home"] .w21-architecture{width:min(100%,410px)}
 .w24-ensemble{opacity:.8}
 .w24-draft-grid{opacity:.2}
}
@media(prefers-reduced-motion:reduce){
 .w24-ensemble{animation:none!important;opacity:.75;stroke-dashoffset:0}
}
/* No architectural animation work while the hero is off-screen or tab is hidden. */
.w24-art-offscreen .w24-triptych *{animation-play-state:paused!important}

/* W26: fully visible, bilingual editorial heading; one larger architectural build. */
body[data-theme="home"] .w18-hero-main{grid-template-columns:minmax(0,1fr) minmax(0,49%);align-items:center;gap:clamp(18px,2.5vw,44px)}
body[data-theme="home"] .w18-hero-copy{min-width:0}
body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(50px,5.65vw,108px);line-height:1.12;letter-spacing:-.045em;text-wrap:initial;overflow:visible}
body[data-theme="home"] .w18-hero-copy h1 .hero-line,
body[data-theme="home"] .w18-hero-copy h1 em>span{display:block;padding-block:.1em .16em;line-height:1.12;overflow:visible;white-space:normal;overflow-wrap:normal}
body[data-theme="home"] .w18-hero-copy h1 em{margin-top:-.12em;line-height:1.12}
[dir=rtl] body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(37px,4.3vw,77px);letter-spacing:0;line-height:1.4}
[dir=rtl] body[data-theme="home"] .w18-hero-copy h1 .hero-line,
[dir=rtl] body[data-theme="home"] .w18-hero-copy h1 em>span{line-height:1.45;padding-block:.06em .14em}
[dir=rtl] body[data-theme="home"] .w18-hero-copy h1 em{margin-top:0;line-height:1.45}
body[data-theme="home"] .w21-hero-side{align-self:center;gap:12px}
body[data-theme="home"] .w21-architecture{width:min(100%,680px);aspect-ratio:5/3;margin-inline:auto}
@media(max-width:950px){
 body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(42px,5.9vw,60px)}
 [dir=rtl] body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(34px,4.6vw,48px)}
}
@media(max-width:700px){
 body[data-theme="home"] .w18-hero-main{grid-template-columns:minmax(0,1fr);gap:16px}
 body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(45px,10.8vw,73px)}
 [dir=rtl] body[data-theme="home"] .w18-hero-copy h1{font-size:clamp(32px,8.1vw,58px)}
 body[data-theme="home"] .w21-architecture{width:min(100%,480px)}
}
/* A visitor returning to a stopped or idle hero still sees the finished model. */
.w24-art-offscreen .w22-architecture-svg :is(.w22-plan,.w22-structure){animation:none!important;opacity:0}
.w24-art-offscreen .w22-architecture-svg :is(.w22-build,.w22-foundation,.w22-floor,.w22-rooftop){animation:none!important;opacity:1;transform:none}
