/* Homepage-only slideshow. Its text remains connected to the existing CMS. */
.original-home .home-slider { position:relative; isolation:isolate; background:#f4f7fa; border-radius:0 0 28px 28px; overflow:hidden; min-height:690px; padding:0; color:#465363; }
.home-slide-stage { position:relative; min-height:690px; }
.home-slide { position:absolute; inset:0; margin:0; opacity:0; visibility:hidden; transition:opacity .7s ease,visibility .7s; }
.home-slide.is-active { opacity:1; visibility:visible; z-index:1; }
.home-slide-picture,.home-slide-picture img,.home-slide-scrim { position:absolute; inset:0; width:100%; height:100%; }
.home-slide-picture img { object-fit:cover; object-position:30% 50%; transform:scale(1.045); transition:transform 7s linear; }
.home-slide.is-active .home-slide-picture img { transform:scale(1); }
.home-slide-scrim { background:linear-gradient(270deg,#f6f9fc 0%,#f6f9fcfa 22%,#f6f9fce8 38%,#f6f9fc52 65%,#f6f9fc00 100%); }
[dir="ltr"] .home-slide-scrim { background:linear-gradient(90deg,#f6f9fc 0%,#f6f9fcfa 22%,#f6f9fce8 38%,#f6f9fc52 65%,#f6f9fc00 100%); }
.home-slide-inner { position:relative; z-index:1; width:min(1280px,calc(100% - 96px)); margin-inline:auto; min-height:590px; display:flex; align-items:center; padding-block:65px 55px; }
.home-slide-copy { width:min(600px,54%); transform:translateY(18px); opacity:0; transition:transform .7s cubic-bezier(.2,.75,.25,1),opacity .7s; }
.is-active .home-slide-copy { transform:none; opacity:1; }
.home-slide-eyebrow { display:flex; align-items:center; gap:12px; color:#66788a; font-size:13px; font-weight:600; }
.home-slide-eyebrow i { width:25px; height:3px; background:#e98625; }
.site-body .home-slide h1,.site-body .home-slide h2 { font-size:54px; font-weight:800; color:#123f66; line-height:1.55; margin:22px 0; text-wrap:balance; letter-spacing:0; }
.home-slide h1::after,.home-slide h2::after { content:""; display:block; height:5px; width:68px; background:#e98625; margin-top:20px; border-radius:3px; }
.home-slide-copy>p { font-size:17px; line-height:2; max-width:530px; color:#506375; margin:0; }
.home-slide-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:28px; }
.original-home .home-slide-actions .home-button { min-height:48px; padding:12px 20px; border-radius:12px; display:inline-flex; align-items:center; gap:16px; line-height:1.6; font-size:14px; }
.home-slide-actions .is-primary { color:#123f66; background:#f3993c; border:1px solid #f3993c; }
.home-slide-actions .is-secondary { color:#123f66; background:#ffffffb8; border:1px solid #b9cbd9; }
.home-slide-actions svg { width:20px; height:20px; }
.home-slide-proofs { display:flex; flex-wrap:wrap; gap:7px 18px; list-style:none; margin:22px 0 0; padding:0; }
.home-slide-proofs li { display:flex; align-items:center; gap:6px; color:#617487; font-size:11px; line-height:1.8; }
.home-slide-proofs svg { width:16px; height:16px; flex-shrink:0; color:#b35b12; }
.home-slider-bottom { position:absolute; z-index:3; inset-inline:0; bottom:0; display:flex; justify-content:space-between; align-items:center; gap:25px; padding:24px max(48px,calc((100% - 1280px)/2)); background:#f6f9fcf0; border-top:1px solid #dce6ed; }
.home-slider-signature { display:flex; align-items:center; gap:20px; flex-shrink:0; }
.home-slider-signature>strong { font:800 32px Arial,sans-serif; color:#123f66; direction:ltr; }
.home-slider-signature strong span { color:#e98625; }
.home-slider-signature>span { font-size:12px; color:#60788c; }
.home-slider-controls { display:flex; align-items:center; gap:26px; }
.home-slider-controls[hidden] { display:none; }
.home-slide-selectors { display:flex; gap:20px; }
.home-slide-selectors button { position:relative; color:#667c8e; background:none; border:0; display:flex; align-items:center; gap:9px; padding:12px 0; min-height:44px; cursor:pointer; }
.home-slide-selectors b { font:12px Arial,sans-serif; }
.home-slide-selectors span { font-size:12px; font-weight:600; }
.home-slide-selectors i { position:absolute; inset-inline:0; bottom:1px; height:2px; background:#cad7e2; overflow:hidden; }
.home-slide-selectors i::after { content:""; display:block; width:100%; height:100%; background:#e98625; transform:scaleX(0); transform-origin:right; }
[dir="ltr"] .home-slide-selectors i::after { transform-origin:left; }
.home-slide-selectors [aria-pressed="true"] { color:#123f66; }
.home-slide-selectors [aria-pressed="true"] i::after { transform:scaleX(var(--slide-progress,0)); }
.home-slide-arrows { display:flex; gap:8px; }
.home-slide-arrows button { width:44px; height:44px; display:grid; place-items:center; padding:10px; border:1px solid #c4d4e0; border-radius:50%; background:#ffffffcf; color:#123f66; cursor:pointer; }
.home-slide-arrows button:hover { background:#fff0de; border-color:#e98625; }
.home-slide-arrows svg { display:block; width:20px; height:20px; }
.home-slider button:focus-visible,.home-slider a:focus-visible { outline:3px solid #bd5f0a; outline-offset:5px; }
@media (min-width:1500px) { .home-slide-inner { min-height:640px; } .home-slide-stage,.original-home .home-slider { min-height:740px; } }
@media (max-width:1100px) {
  .home-slider-signature>span { display:none; }
  .home-slide-copy { width:62%; }
  .site-body .home-slide h1,.site-body .home-slide h2 { font-size:44px; }
  .home-slide-selectors { gap:15px; }
}
@media (max-width:760px) {
  .original-home .home-slider,.home-slide-stage { min-height:780px; }
  .home-slide-picture img { object-position:40% 100%; }
  .home-slide-scrim,[dir="ltr"] .home-slide-scrim { background:linear-gradient(180deg,#f6f9fc 0%,#f6f9fcf7 24%,#f6f9fcd9 43%,#f6f9fc35 72%,#f6f9fc00 100%); }
  .home-slide-inner { width:calc(100% - 44px); min-height:0; align-items:start; padding-block:38px 120px; }
  .home-slide-copy { width:100%; }
  .site-body .home-slide h1,.site-body .home-slide h2 { font-size:34px; max-width:500px; margin-block:16px; line-height:1.6; }
  .home-slide h1::after,.home-slide h2::after { margin-top:15px; height:4px; width:50px; }
  .home-slide-copy>p { font-size:15px; line-height:1.95; max-width:500px; }
  .home-slide-eyebrow { font-size:12px; }
  .home-slide-actions { gap:10px; margin-top:22px; }
  .original-home .home-slide-actions .home-button { padding:11px 15px; font-size:13px; gap:10px; }
  .home-slider-bottom { padding:16px 22px; gap:12px; }
  .home-slider-signature { display:none; }
  .home-slider-controls { width:100%; justify-content:space-between; gap:12px; }
  .home-slide-selectors { gap:15px; }
  .home-slide-selectors span { display:none; }
  .home-slide-selectors button { padding:12px 10px; min-width:36px; }
  .home-slide-arrows { gap:8px; }
}
@media (max-width:360px) {
  .site-body .home-slide h1,.site-body .home-slide h2 { font-size:29px; }
  .home-slider-bottom { padding-inline:18px; }
  .home-slide-selectors { gap:4px; }
  .home-slide-arrows { gap:5px; }
  .home-slide-actions { gap:8px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-slide,.home-slide-copy,.home-slide-picture img { transition:none; transform:none; }
}
