/* W27 — same collection, four editorial identities; media stays clear of overlays. */
body[data-ww27] .gallery-shot .frame-caption,
body[data-ww27] .stage-caption,
body[data-ww27] .dialog-meta{display:none!important}
body[data-ww27] .gallery-shot{padding-bottom:7px}
body[data-ww27] .ww27-payment{padding:clamp(30px,5vw,62px) var(--gutter);background:var(--paper);border-block:1px solid var(--line)}
body[data-ww27] .ww27-payment h2{font-size:clamp(33px,4vw,60px);margin-bottom:22px}
body[data-ww27] .ww27-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px}
body[data-ww27] .ww27-plan-grid>div{border:1px solid var(--jewel);border-radius:14px;padding:18px;line-height:1.65;font-size:clamp(15px,1.25vw,19px);color:var(--ink);background:var(--jewel-pale)}
body[data-ww27] .ww27-plan-note{font-size:13px;margin-top:18px;color:var(--muted)}
body[data-ww27="veranda"]{--jewel:#ae8662;--jewel-deep:#805532;--jewel-pale:#faf0dd;--jewel-rgb:174,134,98}
body[data-ww27="hurghada-heights"]{--jewel:#7f9270;--jewel-deep:#415b3d;--jewel-pale:#edf2e6;--jewel-rgb:127,146,112}
body[data-ww27="lavanda-beach"]{--jewel:#9292b2;--jewel-deep:#554f79;--jewel-pale:#eeeaf4;--jewel-rgb:146,146,178}
body[data-ww27="mark-resort"]{--jewel:#648ca5;--jewel-deep:#355b74;--jewel-pale:#e8f1f8;--jewel-rgb:100,140,165}
body[data-ww27] .project-hero h1{overflow-wrap:normal;word-break:normal;line-height:1.12}
body[data-ww27] .project-film.landscape{width:100%;max-width:960px;aspect-ratio:16/9;object-fit:contain;background:#10282e}
body[data-theme="home"] .w22-project-rail button.w18-scene{flex:0 0 auto;border-radius:999px}
body[data-theme="home"] .w18-film-list{max-height:365px;overflow-y:auto;overscroll-behavior:contain;padding-inline-end:4px}
body[data-theme="home"] .w18-destination-grid .w18-destination div>span:first-child{display:none}
@media(max-width:700px){body[data-ww27] .ww27-plan-grid{grid-template-columns:1fr}body[data-theme="home"] .w18-film-list{max-height:330px}}

/* W28: native project links; one click navigates, autoplay highlights remain. */
body[data-theme="home"] .w22-project-rail a.w18-scene{
 appearance:none;position:relative;flex:0 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:999px;
 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;
 text-decoration:none;cursor:pointer;
}
body[data-theme="home"] .w22-project-rail a.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 a.w18-scene:hover:not(.active){border-color:#aa8f59;background:#fff9ed;color:#19383c}
body[data-theme="home"] .w22-project-rail a.w18-scene.active{
 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 a.w18-scene.active::before{background:#f2d79d;border-color:#f2d79d}
body[data-theme="home"] .w22-project-rail a.w18-scene:focus-visible{outline:2px solid #98783c;outline-offset:2px}
/* Mark portrait film: a compact side-by-side editorial composition, no cropping. */
body[data-ww27="mark-resort"] .film-section{
 grid-template-columns:minmax(0,1fr) minmax(220px,330px);
 align-items:center;gap:clamp(25px,5vw,80px);padding:clamp(28px,4vw,55px) var(--gutter)
}
body[data-ww27="mark-resort"] .film-section .project-film.portrait{
 width:min(100%,245px);height:auto;max-height:435px;aspect-ratio:9/16;
 justify-self:center;object-fit:contain;border-radius:12px;background:#08191f
}
@media(max-width:700px){
 body[data-theme="home"] .w22-project-rail a.w18-scene{min-width:0;min-height:44px;padding:10px 14px}
 body[data-ww27="mark-resort"] .film-section{grid-template-columns:minmax(0,1fr);gap:18px;padding:28px var(--gutter)}
 body[data-ww27="mark-resort"] .film-section .film-text{gap:9px}
 body[data-ww27="mark-resort"] .film-section .project-film.portrait{width:min(100%,230px);max-height:409px}
}
