/* Yarmouk retains the Qusoor layout, with a restrained coastal identity. */
.yarmouk-page{--yarmouk-sea:#405d5a}
.yarmouk-page .scroll-film .film-video,.yarmouk-page .scroll-film .film-poster{object-position:50% 65%;background-position:50% 65%}
.yarmouk-page .scroll-film .scroll-film-copy{inset-inline:0;bottom:24%;pointer-events:none}
.yarmouk-page .scroll-film .scroll-film-copy h1{max-width:11ch!important;text-shadow:0 4px 28px #0004}
.yarmouk-page .scroll-film .scroll-film-shade{background:linear-gradient(90deg,#101b1a25,#101b1a00 45%,#101b1a70),linear-gradient(0deg,#111b1a65,transparent 45%)}
.yarmouk-page .project-overview-lead{color:var(--yarmouk-sea)}
.yarmouk-page .project-accordion-gallery .portfolio-deck{overflow:hidden}
.yarmouk-page .location-picture{background:#253b38}
.yarmouk-page .location-picture:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#11252250,transparent 65%)}
.yarmouk-page .location-map g[data-place]{cursor:pointer}
.yarmouk-page .location-map g[data-place]:focus{outline:none}
.yarmouk-page .location-map g[data-place]:focus .location-pin-shell,.yarmouk-page .location-map g.is-active .location-pin-shell{background:#eee0bd;color:#3f493b;box-shadow:0 0 0 3px #fff5}
.yarmouk-map-link{display:block;margin:18px 22px 22px;color:#e2c88b;font-size:12px;text-decoration:none}
.yarmouk-page #plans .project-plan-canvas{background:radial-gradient(ellipse at 65% 55%,#f5f1e6 0,#ebe8de 55%,#d6d8c9 100%)}
.yarmouk-page #plans .project-heading h2{color:#454f3c!important}
.yarmouk-page #plans .project-heading em{color:#8c784a}
.yarmouk-page #plans .project-heading .eyebrow{color:#817147}
.yarmouk-page #plans .project-scene-note{color:#454d3c;background:#f4f1e7c9;border-radius:12px;padding:10px 16px}
.yarmouk-page .project-amenity-grid article h3:first-child{margin-top:35px}
@media(min-width:901px){.yarmouk-page .project-accordion-card{min-width:45px!important}.yarmouk-page .project-accordion-card.is-expanded{flex:7!important}}
@media(max-width:900px){.yarmouk-page #plans .project-plan-canvas{height:640px!important}.yarmouk-page #plans .project-plan-canvas svg{min-height:640px}.yarmouk-page .scroll-film .scroll-film-copy{bottom:24%}.yarmouk-page .location-dock{max-height:54svh}}
@media(prefers-reduced-motion:reduce){.yarmouk-page .scroll-film .film-camera{transform:none}}
.yarmouk-coastal{position:relative;min-height:70svh;display:flex;align-items:end;overflow:hidden;background:#344b47;color:#fff;margin:0 0 90px}
.yarmouk-coastal>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.yarmouk-coastal:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#182c2bd9,transparent 85%)}
.yarmouk-coastal>.wrap{position:relative;z-index:1;padding-block:65px;width:100%}
.yarmouk-coastal h2{font-size:clamp(35px,5vw,70px);font-weight:400;line-height:1.35;max-width:14ch;margin:15px 0}
.yarmouk-coastal h2 em{color:#decca0;font-style:normal}.yarmouk-coastal p{max-width:470px}.yarmouk-coastal .eyebrow{color:#e3d2a8}
body.yarmouk-page #plans .project-unit-card{background:linear-gradient(140deg,#334334f2,#16261ef5);backdrop-filter:blur(12px)}
@media(max-width:760px){.yarmouk-coastal{min-height:65svh}.yarmouk-coastal>img{object-position:62% center}}
/* Match the Qusoor dark scenes and registered pools of light. */
body.yarmouk-page #plans .project-plan-canvas{background:#121a17}
body.yarmouk-page #plans .project-heading h2{color:#f5f3ec!important}
body.yarmouk-page #plans .project-heading em{color:#bda56d}
body.yarmouk-page #plans .project-heading .eyebrow{color:#c0ab7c}
body.yarmouk-page #plans .project-scene-note{color:#ffffffac;background:transparent;border-radius:0;padding:0}
body.yarmouk-page #plans .project-unit-card{background:linear-gradient(140deg,#dbe9dc12,#17261ee8);backdrop-filter:blur(24px) saturate(140%)}
body.yarmouk-page #plans .project-scene-dimmer{fill-opacity:.63}
body.yarmouk-page #plans .yarmouk-floor-light{opacity:1;transition:opacity .5s}
body.yarmouk-page #plans .yarmouk-unit-selected .yarmouk-floor-light{opacity:.4}
body.yarmouk-page #plans .plan-name-marker text{font-size:5px!important;fill:#fff!important}
body.yarmouk-page #plans .plan-name-marker circle{fill:#233626cc;stroke:#ffffff70;stroke-width:.5}
body.yarmouk-page #plans .plan-name-marker.is-selected circle{fill:#be9d5c}
.yarmouk-page .location-picture:after{display:none}
.yarmouk-page .location-map .location-hotspot>ellipse{fill:transparent;stroke:none;pointer-events:all}
.yarmouk-plan-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:12px;overflow:hidden}
.yarmouk-plan-open:focus-visible{outline:2px solid #ddc99e;outline-offset:3px}
.yarmouk-plan-dialog{width:min(94vw,1100px);margin:auto;max-width:94vw}
.yarmouk-plan-dialog[open]{display:block}
.yarmouk-plan-dialog>img{display:block;width:100%;height:74svh;max-height:74svh!important;object-fit:contain;background:#eeeadee8}
.yarmouk-plan-dialog>.portfolio-close{position:absolute;font-size:28px}
.yarmouk-plan-dialog .viewer107-controls{display:none}
@media(max-width:900px){body.yarmouk-page #plans .project-plan-canvas{height:max(820px,100svh)!important}}
body.yarmouk-page #plans .project-plan-canvas mask .yarmouk-floor-light{fill:#000!important;fill-opacity:1!important;stroke:none!important;stroke-opacity:0!important;pointer-events:none!important}
/* v111: complete map labels and a clear, centred floor plan. */
body.yarmouk-page #location .location-name-anchor{overflow:visible!important}
body.yarmouk-page #location .location-floating-label{height:auto;min-height:65px;padding-top:9px;overflow:visible;animation:none}
body.yarmouk-page #location .location-pin-shell{font-size:12px!important;line-height:1.5!important;padding:6px 12px;gap:0;white-space:nowrap}
body.yarmouk-page #location .location-floating-label>i{height:17px}
body.yarmouk-page #plans .project-plan-canvas{mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 93%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 93%,transparent)}
body.yarmouk-page #plans .plan-name-marker text{font-size:12px!important;font-weight:500!important}
body.yarmouk-page #plans .plan-name-marker circle{fill:#25382de8;stroke:#fff8;stroke-width:.8}
body.yarmouk-page #plans .plan-name-marker.is-selected circle{fill:#bea36b;stroke:#fff}
body.yarmouk-page #plans .yarmouk-overlay-dimmer{fill:#06140c;opacity:0;transition:opacity .5s;pointer-events:none}
body.yarmouk-page #plans .yarmouk-unit-selected .yarmouk-overlay-dimmer{opacity:.5}
body.yarmouk-page #plans .project-scene-note{font-size:13px!important;line-height:1.8!important;color:#fff6d9!important;text-shadow:0 1px 8px #000,0 1px 20px #000;margin:0;max-width:70%;bottom:26px}
.yarmouk-full-plan{position:absolute;right:28px;bottom:110px;z-index:6;cursor:zoom-in;padding:12px 18px;border-radius:30px;border:1px solid #ffffff80;background:#f6f0dcdd;color:#38432f;backdrop-filter:blur(15px);font:inherit;font-size:13px}
.yarmouk-full-plan:hover{background:#fff7e7}.yarmouk-full-plan:focus-visible{outline:2px solid #dfc48b;outline-offset:4px}
body.yarmouk-page .project-amenity-grid article h3:first-child{margin-top:0}
@media(max-width:760px){body.yarmouk-page #plans .project-scene-note{max-width:92%;font-size:12px!important;bottom:20px}.yarmouk-full-plan{right:16px;bottom:105px}}
body.yarmouk-page #plans .project-plan-canvas{mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 93%,transparent),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 93%,transparent),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
/* v112: vector-derived footprints; each outline excludes corridors and neighbouring homes. */
body.yarmouk-page #plans mask path[data-unit-light]{fill:#000!important;fill-opacity:1!important;opacity:0;stroke:none!important;pointer-events:none;transition:opacity .45s}
body.yarmouk-page #plans mask path[data-unit-light].is-lit{opacity:1}
body.yarmouk-page #plans path[data-unit]{fill:transparent!important;stroke:none!important;cursor:pointer;pointer-events:all;outline:none}
body.yarmouk-page #plans path[data-unit]:focus-visible{stroke:#eed9a5!important;stroke-width:1.2;vector-effect:non-scaling-stroke}
body.yarmouk-page #yarmouk-opening{--cover-exit:0;isolation:isolate;background:var(--cover-page-background,#f8f6ef)!important}
body.yarmouk-page #yarmouk-opening .film-viewport{isolation:isolate;contain:paint;background:transparent;opacity:calc(1 - var(--cover-exit));transform:translateY(calc(var(--cover-exit)*-10px)) scale(calc(1 - var(--cover-exit)*.08));transform-origin:50% 55%;filter:blur(calc(var(--cover-exit)*12px));border-radius:calc(var(--cover-exit)*38px);outline:none;box-shadow:none;mask-image:radial-gradient(ellipse at 50% 45%,#000 calc(100% - var(--cover-exit)*80%),transparent 100%);-webkit-mask-image:radial-gradient(ellipse at 50% 45%,#000 calc(100% - var(--cover-exit)*80%),transparent 100%);will-change:opacity,transform,filter}
body.yarmouk-page #yarmouk-opening .film-end-veil{display:block;position:absolute;inset:0;background:linear-gradient(0deg,var(--cover-page-background,#f8f6ef),transparent 65%);opacity:var(--cover-exit);pointer-events:none;z-index:4}
@media(prefers-reduced-motion:reduce){body.yarmouk-page #yarmouk-opening .film-viewport{opacity:1;transform:none;filter:none;border-radius:0;mask-image:none;-webkit-mask-image:none;will-change:auto}}
body.yarmouk-page{--cover-page-background:#fcfbf8}
/* Preserve label readability in the taller replacement panorama. */
body.yarmouk-page #location .location-pin-shell{font-size:20px!important}
/* v113: the cover stays edge-to-edge throughout the earlier wipe. */
body.yarmouk-page #yarmouk-opening .film-viewport{width:100%;max-width:none;margin:0;transform:none!important;filter:none!important;opacity:1!important;border-radius:0!important;border:0!important;outline:0!important;box-shadow:none!important;mask-image:none!important;-webkit-mask-image:none!important;background:var(--cover-page-background);will-change:auto}
body.yarmouk-page #yarmouk-opening .film-camera{opacity:calc(1 - var(--cover-exit));filter:blur(calc(var(--cover-exit)*6px))}
body.yarmouk-page #yarmouk-opening .scroll-film-shade,body.yarmouk-page #yarmouk-opening .scroll-film-copy,body.yarmouk-page #yarmouk-opening .film-footer{opacity:calc(1 - var(--cover-exit))}
body.yarmouk-page #yarmouk-opening .film-end-veil{opacity:var(--cover-exit);background:linear-gradient(to top,var(--cover-page-background) calc(var(--cover-exit)*100%),transparent calc(var(--cover-exit)*100% + 35%))}
/* Qusoor's floating glass map pins, with the same phase spacing. */
body.yarmouk-page #location .location-floating-label{height:92px;min-height:0;padding-top:0;animation:location-label-float 4.8s ease-in-out infinite;animation-delay:var(--float-delay,0s);animation-play-state:paused}
body.yarmouk-page #location.location-in-view .location-floating-label{animation-play-state:running}
body.yarmouk-page #location .location-pin-shell{gap:11px;padding:9px 20px 9px 9px;line-height:normal!important;border-radius:40px}
body.yarmouk-page #location .location-floating-label>i{height:20px}
body.yarmouk-page #plans .project-plan-canvas.is-plan-visible>svg{animation:plan113-arrive .85s cubic-bezier(.16,1,.3,1) both}
@keyframes plan113-arrive{from{opacity:.25;filter:blur(4px);transform:scale(.985)}to{opacity:1;filter:blur(0);transform:scale(1)}}
@media(prefers-reduced-motion:reduce){body.yarmouk-page #location .location-floating-label,body.yarmouk-page #plans .project-plan-canvas.is-plan-visible>svg{animation:none!important}body.yarmouk-page #yarmouk-opening .film-camera{filter:none}}
