/* CASA gallery: architectural framing, four scenes, one quiet headline. */
body:has(.cp-gallery) .header{height:96px;padding:0 38px;background:#f6f3ed;border:0;gap:28px;position:sticky;top:0}
body:has(.cp-gallery) .header .brand{width:165px;height:90px}
body:has(.cp-gallery) .header .brand img{width:157px;height:157px;left:4px;top:-30px}
body:has(.cp-gallery) .header .navigation{margin-left:auto;border:1px solid #dcd6ca;border-radius:50px;padding:0 24px;gap:23px;height:45px;background:#ffffff70}
body:has(.cp-gallery) .header .navigation a{font-family:'Casa Sans',sans-serif;font-size:10px;white-space:nowrap}
body:has(.cp-gallery) .header>.button{height:45px;min-height:45px;border-radius:50px;font-size:10px;gap:18px;background:#353a30;border:0;padding:13px 22px}
body:has(.cp-gallery) .header>.button svg{width:15px;height:15px}
.cp-gallery{background:#f6f3ed;padding:15px 38px 36px;position:relative;overflow:hidden;color:#30332b}
.cp-gallery-topline{display:flex;justify-content:space-between;gap:20px;margin:0 0 23px;font:8px/1.6 'Casa Sans',sans-serif;letter-spacing:.18em;color:#76776b}
.cp-gallery-topline>span:first-child{display:flex;align-items:center;gap:10px}.cp-gallery-topline>span:first-child:before{content:'';width:5px;height:5px;background:#a38758;border-radius:50%}
.cp-gallery-stage{position:relative;min-height:670px;height:calc(100svh - 202px);max-height:880px;display:grid;grid-template-columns:minmax(0,1fr) 224px;gap:22px}
.cp-gallery-main{position:relative;border-radius:4px 90px 4px 4px;overflow:hidden;background:#696d5b;isolation:isolate;touch-action:pan-y}
.cp-gallery-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1.25s ease,visibility 1.25s;overflow:hidden}
.cp-gallery-slide.is-current{opacity:1;visibility:visible;z-index:1}
.cp-gallery-slide img{height:100%;width:100%;object-fit:cover;object-position:center;transform:scale(1.07);transition:transform 7s cubic-bezier(.15,.35,.3,1);filter:saturate(.82)}
.cp-gallery-slide.is-current img{transform:scale(1)}
.cp-gallery-main:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#1d241510,transparent 25%,#131a12b3);z-index:2;pointer-events:none}
.cp-gallery-title{position:absolute;z-index:3;bottom:106px;left:48px;right:28px;color:#fff;pointer-events:none}
.cp-gallery-title>.cp-label{font-size:8px;letter-spacing:.2em;color:#e3decb;margin-bottom:18px}
.cp-home .cp-gallery h1{font:350 clamp(57px,6.5vw,108px)/.99 'Casa Serif',serif;letter-spacing:-.055em;margin:0}
.cp-gallery h1>span{display:block}.cp-gallery h1 i{color:#e4d3b1;font-weight:350}
.cp-gallery-image-footer{position:absolute;bottom:27px;left:48px;right:35px;z-index:4;color:#fff;border-top:1px solid #ffffff45;padding-top:18px;display:flex;justify-content:space-between;align-items:center}
.cp-gallery-image-footer>span{font-size:8px;letter-spacing:.18em;color:#e3ddcf}
.cp-gallery-controls{display:flex;gap:9px;align-items:center}.cp-gallery-controls button{border:1px solid #ffffff66;border-radius:50%;width:37px;height:37px;background:#ffffff0a;color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .25s}
.cp-gallery-controls button:hover{background:#ffffff25}.cp-gallery-controls svg{width:16px;height:16px}.cp-gallery-count{font-size:10px;margin-right:12px;font-variant-numeric:tabular-nums;letter-spacing:.12em}.cp-gallery-count small{opacity:.6;font-size:9px}
.cp-gallery-rail{display:flex;flex-direction:column;justify-content:space-between;padding-top:22px;gap:25px}
.cp-gallery-note{font:350 30px/1.13 'Casa Serif',serif;letter-spacing:-.03em;color:#4d5044;padding-right:10px}.cp-gallery-note i{color:#9c8155}
.cp-gallery-rail p{font-size:11px;line-height:1.8;color:#7c7d70;max-width:205px;margin:21px 0 0}
.cp-gallery-cta{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:30px;padding-bottom:13px;border-bottom:1px solid #afa78f;font:11px 'Casa Sans',sans-serif}.cp-gallery-cta svg{width:19px;height:19px;transition:transform .3s}.cp-gallery-cta:hover svg{transform:translate(3px,-3px)}
.cp-gallery-next{position:relative;aspect-ratio:.88;overflow:hidden;border-radius:2px 2px 65px 2px;background:#d9d5ca;padding:0;border:0;text-align:left;cursor:pointer;color:#fff;width:100%;display:block}
.cp-gallery-next img{width:100%;height:100%;object-fit:cover;transition:transform .6s,opacity .4s}.cp-gallery-next:hover img{transform:scale(1.06)}.cp-gallery-next:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#20221799);pointer-events:none}.cp-gallery-next>span{position:absolute;bottom:22px;left:19px;font:8px 'Casa Sans',sans-serif;letter-spacing:.16em;z-index:1;display:flex;gap:13px;align-items:center}.cp-gallery-next svg{width:17px;height:17px}
.cp-gallery-pagination{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px}.cp-gallery-pagination button{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;border:0;background:transparent;border-top:1px solid #d7d2c6;text-align:left;padding:13px 0 7px;color:#8b8a7e;cursor:pointer;font:9px 'Casa Sans',sans-serif}.cp-gallery-pagination button:before{content:'';height:2px;background:#8e794f;position:absolute;top:-1px;left:0;width:100%;transform:scaleX(0);transform-origin:left;transition:transform .6s}.cp-gallery-pagination button[aria-pressed=true]:before{transform:scaleX(1)}.cp-gallery-pagination button[aria-pressed=true]{color:#353a2f}.cp-gallery-pagination button>span{font-size:8px;color:#a1957f}.cp-gallery-pagination button:hover{color:#343a2c}
.cp-gallery button:focus-visible,.cp-gallery a:focus-visible{outline:2px solid #bc9c64;outline-offset:5px}.cp-gallery-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1300px){.cp-gallery-stage{grid-template-columns:minmax(0,1fr) 245px;gap:30px}.cp-gallery-rail{padding:30px 10px 0}.cp-gallery-note{font-size:34px}}
@media(max-width:1100px){body:has(.cp-gallery) .header{padding:0 24px;gap:15px}body:has(.cp-gallery) .header .navigation{gap:15px;padding:0 17px}.cp-gallery{padding:10px 24px 30px}.cp-gallery-stage{grid-template-columns:minmax(0,1fr) 190px;gap:20px}.cp-gallery-title{left:30px;bottom:113px}.cp-home .cp-gallery h1{font-size:74px}.cp-gallery-image-footer{left:30px;right:25px}.cp-gallery-note{font-size:27px}.cp-gallery-rail{padding-top:15px}.cp-gallery-image-footer>span{max-width:170px;line-height:1.7}}
@media(max-width:800px){body:has(.cp-gallery) .header{height:82px;padding:0 17px;gap:12px}body:has(.cp-gallery) .header .brand{width:132px;height:78px}body:has(.cp-gallery) .header .brand img{width:137px;height:137px;left:-3px;top:-26px}body:has(.cp-gallery) .header .navigation{position:absolute;top:82px;left:14px;right:14px;height:auto;margin:0;border:1px solid #d7d1c4;border-radius:15px;background:#faf8f1;padding:18px 24px;box-shadow:0 15px 35px #302c2512;gap:5px}body:has(.cp-gallery) .header .navigation a{font-size:14px;padding:11px 0}body:has(.cp-gallery) .menu-toggle{border-radius:50%;width:42px;height:42px;min-width:42px;background:#fff9;border-color:#d7d1c4}body:has(.cp-gallery) .header>.button{font-size:9px;padding:12px 16px;height:42px;min-height:42px}.cp-gallery-stage{min-height:620px;height:calc(100svh - 180px);grid-template-columns:minmax(0,1fr) 166px;gap:18px}.cp-home .cp-gallery h1{font-size:60px}.cp-gallery-note{font-size:25px}.cp-gallery-rail p{font-size:10px}.cp-gallery-title{left:24px}.cp-gallery-image-footer{left:24px;right:20px}.cp-gallery-image-footer>span{display:none}.cp-gallery-controls{width:100%;justify-content:flex-end}.cp-gallery-count{margin-right:auto}.cp-gallery-main{border-top-right-radius:60px}}
@media(max-width:600px){.cp-gallery{padding:14px 15px 30px}.cp-gallery-topline{font-size:6px;letter-spacing:.12em;margin-bottom:16px}.cp-gallery-topline>span:last-child{display:none}.cp-gallery-stage{display:block;min-height:0;height:auto}.cp-gallery-main{height:620px;max-height:calc(100svh - 147px);min-height:480px;border-radius:3px 55px 3px 3px}.cp-home .cp-gallery h1{font-size:clamp(46px,12.8vw,73px);line-height:1.04;letter-spacing:-.045em}.cp-gallery-title{left:22px;right:18px;bottom:115px}.cp-gallery-title>.cp-label{font-size:7px;margin-bottom:18px;max-width:200px;line-height:1.8}.cp-gallery-slide img{object-position:58% center}.cp-gallery-image-footer{left:22px;right:22px;bottom:21px}.cp-gallery-rail{display:grid;grid-template-columns:1fr 108px;gap:28px;padding:26px 3px 0;align-items:start}.cp-gallery-note{font-size:25px;max-width:220px}.cp-gallery-rail p{display:none}.cp-gallery-cta{margin-top:18px;font-size:10px;padding-bottom:9px}.cp-gallery-next{aspect-ratio:.83;border-bottom-right-radius:32px}.cp-gallery-next>span{left:12px;bottom:15px;font-size:6px;gap:5px}.cp-gallery-next svg{width:13px;height:13px}.cp-gallery-pagination{gap:12px;margin-top:25px}.cp-gallery-pagination button{font-size:7px;gap:5px;align-items:start;min-height:40px;line-height:1.5}.cp-gallery-pagination button>span{font-size:6px}body:has(.cp-gallery) .header{gap:8px;padding:0 12px}body:has(.cp-gallery) .header>.button{padding:12px;font-size:8px}body:has(.cp-gallery) .header .brand{width:117px}body:has(.cp-gallery) .header .brand img{left:-11px}}
@media(prefers-reduced-motion:reduce){.cp-gallery-slide,.cp-gallery-slide img,.cp-gallery-next img{transition:none;transform:none}.cp-gallery-pagination button:before{transition:none}}
