
/* RiCHES showcase: independent photo and text layers, coordinated with the catalogue. */
.desktop{gap:clamp(14px,2vw,34px)}.desktop a{white-space:nowrap}
.footer-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}

.lead-hero{position:relative;isolation:isolate;margin:18px 0 38px;overflow:clip;touch-action:pan-y pinch-zoom}
.hero-frame{
 --frame-radius:16px;
 --slide-inset:clamp(32px,5.5vw,92px);
 --hero-gap:clamp(8px,1.65vw,24px);
 --control-inset:clamp(30px,3.7vw,58px);
 --bubble-clear:clamp(24px,3vw,44px);
 position:relative;cursor:grab;user-select:none
}
.hero-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero-track{display:flex;gap:var(--hero-gap);width:100%;align-items:stretch}
.lead-hero[data-dragging] .hero-frame{cursor:grabbing}
.hero-card{
 position:relative;isolation:isolate;overflow:hidden;flex:0 0 100%;min-width:0;
 min-height:clamp(450px,min(48vw,calc(100svh - 125px)),760px);
 border-radius:var(--frame-radius);background:#1d1d1d;color:white
}
.hero-card .hero-slides{
 position:absolute;inset:0;border-radius:0;aspect-ratio:auto;background:none;pointer-events:none
}
.hero-card .hero-slides picture{inset:0;opacity:1}
.hero-card .hero-slides picture img{height:100%;object-fit:cover;object-position:right center}
.hero-card .hero-slides::after{
 content:'';position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(to right,#1119 0%,#1114 28%,transparent 51%),
            linear-gradient(to top,#0c0c0c8c,transparent 23%)
}
.hero-card[data-hero-index="0"] .hero-slides::after{
 background:linear-gradient(to right,#fff9 0%,#fff4 27%,transparent 50%),
            linear-gradient(to top,#0c0c0ca6,transparent 23%)
}
.slide-main{
 position:absolute;z-index:2;inset:0 auto 60px var(--slide-inset);
 width:min(30%,450px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px
}
.hero-card[data-hero-index="0"] .slide-main{color:#171717}
@media(min-width:901px){.hero-card[data-hero-index="2"] .slide-main{width:min(28%,425px)}}
.slide-text{min-width:0;width:100%}
.slide-text h2{font-size:clamp(33px,4vw,64px);line-height:1.09;text-wrap:balance;overflow-wrap:anywhere}
.slide-text p{max-width:52ch;font-size:clamp(16px,1.38vw,21px);line-height:1.44;color:inherit;margin:13px 0 0}
.slide-text .slide-tagline{font-size:clamp(14px,1.18vw,18px);font-weight:700;margin:7px 0 0}
.slide-link{
 --riches-motion-fill:#171717;--riches-motion-over:#fff;
 display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;
 width:fit-content;max-width:100%;padding:10px 22px;border:1px solid white;border-radius:100px;
 background:white;color:#171717;font-weight:700;text-align:left;text-decoration:none
}
.hero-card[data-hero-index="0"] .slide-link{
 --riches-motion-fill:#fff;--riches-motion-over:#171717;
 background:#171717;color:#fff;border-color:#171717
}
.slide-link span:first-child{min-width:0;white-space:normal}
.slide-link span:last-child{flex:none}
.slide-link:focus-visible{outline-color:currentColor;outline-offset:3px}
.slide-buttons{
 position:absolute;inset:auto var(--control-inset) clamp(16px,2vw,30px);z-index:3;
 display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
 gap:0;padding:clamp(7px,1vw,15px) 0 0;border-top:1px solid #ffffff65;background:none;color:white;pointer-events:none
}
.slide-step{
 display:grid;place-items:center;width:44px;height:44px;padding:0;
 color:inherit;border:1px solid transparent;border-radius:50%;
 pointer-events:auto;transition:background .2s,border-color .2s
}
.slide-step:hover{background:#ffffff17;border-color:#ffffff6b}
.slide-step svg{width:25px;height:25px}
.slide-prev{justify-self:start}
.slide-prev svg{transform:rotate(180deg)}
.slide-next{justify-self:end;margin-inline-end:var(--bubble-clear)}
.slide-buttons button:focus-visible{outline-color:white;outline-offset:2px}
.slide-buttons .slide-dots{gap:2px;pointer-events:auto}
.slide-buttons .slide-dots button{width:32px;height:38px}
.slide-buttons .slide-dots button::before{width:5px;height:5px;background:#fff;transition:transform .18s}
.slide-buttons .slide-dots button[aria-pressed=true]::before{width:9px;height:9px;background:none;border:1.5px solid #fff}
.slide-buttons .slide-dots button:hover::before{transform:scale(1.2)}

.contact-place{margin-top:44px;padding:34px 0 3px;border-top:1px solid #d5d5d5;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(18px,5vw,70px);align-items:center;scroll-margin-top:16px}
.contact-copy h2{font-size:clamp(30px,4vw,52px)}
.contact-copy #published-contact{margin:12px 0 8px}
.contact-copy #published-contact p{overflow-wrap:anywhere}
.maps-frame{height:clamp(210px,22vw,300px);background:#fafafa;border:1px solid #d6d6d6;border-radius:11px;overflow:hidden;display:grid}
.maps-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px}
.maps-frame iframe{border:0;width:100%;height:100%;display:block}
.map-pin{display:grid;place-items:center;width:50px;height:50px;background:#fff;border:1px solid #ddd;border-radius:50%}.map-pin svg{width:29px;height:29px}
.floating{width:72px;height:72px;border-color:#098641;background:#25d366;color:white;box-shadow:0 7px 22px #032b143b}
.floating:hover{background:#159c51;box-shadow:0 9px 24px #032b1452}.floating svg{width:39px;height:39px;filter:drop-shadow(0 1px 1px #05522b)}
@media(max-width:1060px) and (min-width:901px){
 .hero-frame{--slide-inset:38px}
 .slide-text h2{font-size:clamp(31px,3.7vw,42px)}
}
@media(max-width:920px) and (min-width:731px){.desktop{gap:15px}.desktop a{font-size:15px}}
@media(max-width:900px){
 .lead-hero{margin:14px 0 35px}
 .hero-frame{--frame-radius:12px;--control-inset:18px;--bubble-clear:0px}
 .hero-card{min-height:0;padding-bottom:76px}
 .hero-card .hero-slides{position:relative;aspect-ratio:4 / 3;max-height:min(63svh,540px)}
 .hero-card .hero-slides picture img{object-position:center}
 .hero-card .hero-slides::after,.hero-card[data-hero-index="0"] .hero-slides::after{
  background:linear-gradient(to top,#1d1d1d 0%,#1d1d1d77 4%,transparent 18%)
 }
 .slide-main{position:relative;inset:auto;justify-content:flex-start;width:100%;gap:14px;padding:2px 18px 12px}
 .hero-card[data-hero-index="0"] .slide-main{color:white}
 .slide-text h2{font-size:clamp(29px,7.6vw,44px)}
 .slide-text p{font-size:16px;margin-top:8px}
 .slide-text .slide-tagline{font-size:15px;margin-top:5px}
 .slide-link{min-height:44px;padding:8px 16px}
 .hero-card[data-hero-index="0"] .slide-link{--riches-motion-fill:#171717;--riches-motion-over:#fff;background:white;color:#171717;border-color:white}
 body:has(#home) .floating:not([data-positioned]){top:min(42vh,75vw)}
 .slide-buttons{bottom:12px;padding-top:6px}
 .slide-buttons .slide-dots button{width:40px;height:44px}
 .slide-step svg{width:21px;height:21px}
}
@media(max-width:730px){
 .contact-place{grid-template-columns:1fr;margin-top:30px;padding-top:24px;gap:14px}
 .floating{width:64px;height:64px}.floating svg{width:34px;height:34px}
 .footer-grid{grid-template-columns:1fr;gap:20px}
}
