/* Alternative Home hero — full-width animated slider */
.page-home-alt .home1-slider{
  position:relative;
  width:100%;
  height:clamp(610px,72vh,760px);
  min-height:610px;
  overflow:hidden;
  background:#17131f;
  isolation:isolate;
}
.home1-slider__track,.home1-slide{position:absolute;inset:0;}
.home1-slide{
  opacity:0;
  visibility:hidden;
  z-index:0;
  transition:opacity .85s cubic-bezier(.22,.61,.36,1),visibility .85s;
}
.home1-slide.is-active{opacity:1;visibility:visible;z-index:1;}
.home1-slide__image{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
  transform:scale(1.08);will-change:transform,opacity;
}
.home1-slide.is-active .home1-slide__image{animation:home1KenBurns 3.2s ease-out both;}
@keyframes home1KenBurns{from{transform:scale(1.075) translate3d(0,0,0)}to{transform:scale(1.025) translate3d(1.1%,-.5%,0)}}
.home1-slide__veil{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(17,13,24,.88) 0%,rgba(24,17,33,.72) 28%,rgba(26,18,36,.22) 55%,rgba(16,12,22,.03) 78%),
    linear-gradient(0deg,rgba(18,13,25,.28),rgba(18,13,25,0) 42%);
}
.home1-slide__content{
  position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding-top:28px;padding-bottom:95px;color:#fff;
}
.home1-slide__eyebrow{
  color:#fff;background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.26);backdrop-filter:blur(8px);
  margin-bottom:24px;
}
.home1-slide__eyebrow::before{background:#b98be7;color:#3a1760;}
.home1-slide__title{
  margin:0;max-width:840px;color:#fff;font-family:"DM Serif Display",serif;font-size:clamp(3rem,4vw,3.35rem);
  line-height:.94;font-weight:400;letter-spacing:-.025em;text-wrap:balance;text-shadow:0 8px 32px rgba(0,0,0,.18);
}
.home1-slide__title em{color:#c59aef;font-style:normal;}
.home1-slide__copy{max-width:710px;margin:24px 0 0;color:rgba(255,255,255,.91);font-size:1.08rem;line-height:1.72;text-shadow:0 4px 18px rgba(0,0,0,.2);}
.home1-slide__actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px;}
.btn--slider-outline{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.68);color:#fff;backdrop-filter:blur(8px);}
.btn--slider-outline:hover{background:#fff;color:var(--purple-dark);}
.home1-slider__controls{
  position:absolute;z-index:5;left:50%;bottom:38px;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;pointer-events:none;
}
.home1-slider__dots,.home1-slider__arrows{display:flex;align-items:center;gap:10px;pointer-events:auto;}
.home1-dot{width:34px;height:5px;border:0;border-radius:999px;background:rgba(255,255,255,.42);padding:0;cursor:pointer;transition:.25s ease;}
.home1-dot.is-active{width:62px;background:#fff;}
.home1-arrow{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.48);background:rgba(20,15,28,.28);color:#fff;display:grid;place-items:center;font-size:1.15rem;cursor:pointer;backdrop-filter:blur(8px);transition:.25s ease;}
.home1-arrow:hover{background:#fff;color:var(--purple-dark);transform:translateY(-2px);}
.home1-slider__progress{position:absolute;z-index:6;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.12);overflow:hidden;}
.home1-slider__progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#7f3eb7,#c693ef);transform:scaleX(0);transform-origin:left;}
.home1-slider.is-running .home1-slider__progress span{animation:home1Progress 3s linear forwards;}
@keyframes home1Progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.page-home-alt .feature-row.section-overlap{margin-top:-28px;position:relative;z-index:7;}
@media(max-width:1024px){
  .page-home-alt .home1-slider{height:660px;min-height:660px;}
  .home1-slide__veil{background:linear-gradient(90deg,rgba(17,13,24,.87) 0%,rgba(24,17,33,.68) 46%,rgba(17,13,24,.18) 80%);}
  .home1-slide__title{font-size:clamp(2.9rem,5.2vw,3.25rem);max-width:720px;}
}
@media(max-width:820px){
  .page-home-alt .home1-slider{height:700px;min-height:700px;}
  .home1-slide__image{object-position:63% center;}
  .home1-slide__veil{background:linear-gradient(90deg,rgba(17,13,24,.9) 0%,rgba(23,16,32,.76) 58%,rgba(17,13,24,.28) 100%);}
  .home1-slide__content{padding-bottom:108px;}
  .home1-slide__title{font-size:clamp(2.75rem,7.2vw,3.15rem);max-width:620px;}
  .home1-slide__copy{font-size:1rem;max-width:600px;}
}
@media(max-width:560px){
  .page-home-alt .home1-slider{height:720px;min-height:720px;}
  .home1-slide__image{object-position:69% center;}
  .home1-slide__veil{background:linear-gradient(90deg,rgba(15,11,21,.93),rgba(21,15,29,.79) 72%,rgba(20,14,28,.48));}
  .home1-slide__content{justify-content:flex-end;padding-bottom:122px;padding-top:48px;}
  .home1-slide__eyebrow{margin-bottom:17px;}
  .home1-slide__title{font-size:clamp(2.35rem,10.5vw,2.85rem);line-height:.98;}
  .home1-slide__title br{display:none;}
  .home1-slide__copy{margin-top:17px;font-size:.93rem;line-height:1.58;}
  .home1-slide__actions{width:100%;margin-top:22px;gap:10px;}
  .home1-slide__actions .btn{width:auto;flex:1 1 180px;justify-content:center;}
  .home1-slider__controls{bottom:34px;}
  .home1-slider__arrows{display:none;}
  .home1-dot{width:27px}.home1-dot.is-active{width:48px;}
  .page-home-alt .feature-row.section-overlap{margin-top:0;}
}
@media(prefers-reduced-motion:reduce){
  .home1-slide,.home1-slide__image,.home1-slider__progress span{animation:none!important;transition:none!important;}
}

/* v56 — Home 1 phone refinements only. Desktop/tablet-desktop slider remains unchanged. */
@media(max-width:560px){
  .page-home-alt .home1-slider{
    height:620px !important;
    min-height:620px !important;
  }
  .page-home-alt .home1-slide__image{
    object-position:62% center !important;
    transform:scale(1.005) !important;
    animation:none !important;
  }
  .page-home-alt .home1-slide__content{
    justify-content:flex-start !important;
    padding-top:48px !important;
    padding-bottom:84px !important;
  }
  .page-home-alt .home1-slide__eyebrow{
    margin-bottom:14px !important;
  }
  .page-home-alt .home1-slide__title{
    font-size:clamp(2rem,9.1vw,2.35rem) !important;
    line-height:.98 !important;
    max-width:92%;
  }
  .page-home-alt .home1-slide__copy{
    max-width:94%;
    margin-top:14px !important;
    font-size:.86rem !important;
    line-height:1.52 !important;
  }
  .page-home-alt .home1-slide__actions{
    margin-top:18px !important;
    gap:9px !important;
  }
  .page-home-alt .home1-slide__actions .btn{
    min-height:48px;
    padding:12px 16px;
    font-size:.68rem;
  }
  .page-home-alt .home1-slider__controls{bottom:25px !important;}
  .page-home-alt .feature-row.section-overlap{
    margin-top:20px !important;
  }
}

/* v57 — rebalance Home 1 on phones only. Desktop/tablet layouts remain unchanged. */
@media(max-width:560px){
  .page-home-alt .home1-slider{
    height:650px !important;
    min-height:650px !important;
  }
  .page-home-alt .home1-slide__image{
    object-position:61% center !important;
    transform:scale(1) !important;
    animation:none !important;
  }
  .page-home-alt .home1-slide__veil{
    background:linear-gradient(90deg,rgba(15,11,21,.86),rgba(21,15,29,.70) 70%,rgba(20,14,28,.38)) !important;
  }
  .page-home-alt .home1-slide__content{
    justify-content:center !important;
    padding-top:72px !important;
    padding-bottom:92px !important;
  }
  .page-home-alt .home1-slide__eyebrow{margin-bottom:14px !important;}
  .page-home-alt .home1-slide__title{
    font-size:clamp(2rem,8.8vw,2.32rem) !important;
    line-height:1 !important;
    max-width:94%;
  }
  .page-home-alt .home1-slide__copy{
    max-width:95%;
    margin-top:15px !important;
    font-size:.86rem !important;
    line-height:1.52 !important;
  }
  .page-home-alt .home1-slide__actions{margin-top:18px !important;}
  .page-home-alt .home1-slider__controls{bottom:26px !important;}
}
