/* Homepage slider: preserve the original first slide and its artwork. */
.home-slider{position:relative;background:var(--paper);isolation:isolate}
.home-slider .hero-slide[hidden]{display:none!important}
.home-slider.is-ready{display:grid}
.home-slider.is-ready .hero-slide{grid-area:1/1}
.home-slider.is-ready .hero-slide[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.home-slider .hero-slide{min-height:730px}
.home-slider .herocopy{padding-top:70px;padding-bottom:120px}
.home-slider .hero-slide-title{font-size:clamp(42px,4.65vw,68px);max-width:660px;line-height:1.13}
.home-slider .hero-slide-title strong{color:var(--plum)}
.home-slider .hero-controls{position:absolute;bottom:23px;left:0;right:0;z-index:6;display:flex;align-items:center;gap:16px}
.home-slider .hero-controls[hidden]{display:none}
.hero-motion,.service-motion{border:1px solid #51214f25;border-radius:50%;width:36px;height:36px;display:inline-grid;place-items:center;background:#fffdf6d9;color:var(--plum);cursor:pointer;font:600 13px Manrope,sans-serif;flex-shrink:0}
.hero-dots{display:flex;gap:1px}
.hero-dot{border:0;background:transparent;width:30px;height:38px;padding:0;display:grid;place-items:center;cursor:pointer}
.hero-dot span{width:8px;height:8px;background:#d6cdd3;border-radius:50%;transition:background .2s,transform .2s}
.hero-dot[aria-current=true] span{background:var(--plum);transform:scale(1.25)}
.hero-count{font-size:11px;letter-spacing:.06em;color:var(--ink)}
.hero-dot:focus-visible,.hero-motion:focus-visible,.service-motion:focus-visible,.service-marquee a:focus-visible,.service-marquee-viewport:focus-visible{outline:2px solid var(--plum);outline-offset:3px}
.home-slider .hero-slide.is-entering{animation:hero-reveal .55s ease both}
@keyframes hero-reveal{from{opacity:.12}to{opacity:1}}
.home-slider .context-main,.home-slider .context-note{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* 32px top spacing is 20% below the approved 40px reference gap. */
.service-marquee{display:flex;align-items:center;gap:12px;padding:32px 26px 24px;background:var(--paper);border:0;max-width:100%;overflow:hidden}
.service-marquee-viewport{min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;padding:5px 3px}
.service-marquee-viewport::-webkit-scrollbar{display:none}
.service-marquee-track{display:flex;width:max-content;will-change:transform}
.service-marquee-group{display:flex;align-items:center;gap:30px;padding-right:30px;flex-shrink:0}
.service-marquee a{font-family:Manrope,sans-serif;font-size:12px;font-weight:800;line-height:1.6;white-space:nowrap;text-transform:uppercase;color:var(--plum);text-decoration:none}
.service-marquee a:hover{text-decoration:underline;text-underline-offset:5px}
.service-separator{font-size:12px;color:#b88bac}
.service-motion{width:28px;height:28px;font-size:10px}
.service-motion[hidden]{display:none}
.service-marquee.is-moving .service-marquee-track{animation:service-flow 260s linear infinite}
.service-marquee.is-moving .service-marquee-viewport{overflow-x:hidden}
.service-marquee.is-paused .service-marquee-track{animation-play-state:paused}
.service-marquee.is-manual .service-marquee-track{animation:none;transform:none}
.service-marquee.is-manual .service-marquee-viewport{overflow-x:auto}
@keyframes service-flow{to{transform:translateX(-50%)}}
@media(min-width:1500px){.home-slider .hero-slide{min-height:730px}}
@media(min-width:701px) and (max-width:1100px){.home-slider .hero-slide-title{max-width:540px;font-size:50px}.home-slider .hero-slide{min-height:690px}.home-slider .context-main{bottom:8%;top:auto;right:25%}}
@media(max-width:700px){
 .home-slider .hero-slide{min-height:0;padding-bottom:65px}
 .home-slider .herocopy{padding:38px 0 26px;min-height:370px;flex:1}
 .home-slider .hero-slide-title{font-size:40px;max-width:none;line-height:1.13}
 .home-slider .herocopy h1{font-size:44px}
 .home-slider .herocopy .intro{font-size:14px;line-height:1.7}
 .home-slider .heroart{height:350px!important;object-position:65% center}
 .home-slider .context-panels{bottom:65px!important;height:350px!important}
 .home-slider .hero-controls{bottom:12px;gap:12px}
 .hero-dot{width:27px}
 .hero-count{margin-left:auto}
 .service-marquee{padding:25.6px 14px 20px;gap:8px}
 .service-marquee-group{gap:24px;padding-right:24px}
 .service-marquee a{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.home-slider .hero-slide.is-entering{animation:none}.service-marquee.is-moving .service-marquee-track{animation:none}.service-marquee.is-moving .service-marquee-viewport{overflow-x:auto}}
