.esh {
--esh-accent: #ffffff;
--esh-accent-text: #111111;
position: relative;
height: var(--esh-h, 600px);
overflow: hidden;
background: #111;
color: #fff;
font-family: inherit;
isolation: isolate;
}
.esh-track { position: absolute; inset: 0; }
.esh-slide {
position: absolute;
inset: 0;
opacity: 0;
visibility: hidden;
transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.esh-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease; }
.esh .esh-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
max-width: none;
object-fit: cover;
object-position: center;
margin: 0;
transform: scale(1.04);
transition: transform 7s ease-out;
}
.esh-slide.is-active .esh-bg { transform: scale(1); }
.esh-slide::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, rgba(0, 0, 0, calc(var(--esh-ov, 0.35) + 0.25)) 0%, rgba(0, 0, 0, var(--esh-ov, 0.35)) 55%, rgba(0, 0, 0, calc(var(--esh-ov, 0.35) - 0.1)) 100%);
z-index: 1;
}
.esh-align-center .esh-slide::after { background: rgba(0, 0, 0, var(--esh-ov, 0.35)); }
.esh-inner {
position: relative;
z-index: 2;
height: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 64px;
display: flex;
align-items: center;
box-sizing: border-box;
}
.esh-align-center .esh-inner { justify-content: center; text-align: center; }
.esh-align-right .esh-inner { justify-content: flex-end; text-align: right; }
.esh-content { max-width: 680px; }
.esh .esh-eyebrow {
margin: 0 0 10px;
font-size: clamp(13px, 1.2vw, 16px);
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #fff;
opacity: 0.9;
}
.esh .esh-title {
margin: 0 0 14px;
font-family: inherit;
font-size: clamp(28px, 4.4vw, 58px);
line-height: 1.1;
font-weight: 700;
letter-spacing: -0.01em;
color: #fff;
text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.esh .esh-text {
margin: 0 0 24px;
font-size: clamp(15px, 1.5vw, 20px);
line-height: 1.55;
color: rgba(255, 255, 255, 0.92);
}
.esh .esh-buttons { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.esh-align-center .esh-buttons { justify-content: center; }
.esh-align-right .esh-buttons { justify-content: flex-end; }
.esh .esh-btn {
display: inline-block;
padding: 13px 28px;
border-radius: 4px;
border: 2px solid var(--esh-accent);
background: var(--esh-accent);
color: var(--esh-accent-text);
font-size: 15px;
font-weight: 600;
line-height: 1.2;
text-decoration: none;
transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.esh .esh-btn:hover, .esh .esh-btn:focus-visible { transform: translateY(-2px); text-decoration: none; color: var(--esh-accent-text); }
.esh .esh-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.esh .esh-btn-ghost:hover, .esh .esh-btn-ghost:focus-visible { background: #fff; color: #111; } .esh-slide .esh-content > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.esh-slide.is-active .esh-content > * { opacity: 1; transform: none; }
.esh-slide.is-active .esh-content > :nth-child(2) { transition-delay: 0.12s; }
.esh-slide.is-active .esh-content > :nth-child(3) { transition-delay: 0.24s; }
.esh-slide.is-active .esh-content > :nth-child(4) { transition-delay: 0.36s; }
.esh .esh-arrow {
position: absolute;
top: 50%;
z-index: 3;
width: 46px;
height: 46px;
margin-top: -23px;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.35);
color: #fff;
font-size: 30px;
line-height: 46px;
text-align: center;
cursor: pointer;
opacity: 0;
transition: opacity 0.2s ease, background 0.2s ease;
}
.esh:hover .esh-arrow, .esh .esh-arrow:focus-visible { opacity: 1; }
.esh .esh-arrow:hover { background: rgba(0, 0, 0, 0.6); }
.esh-prev { left: 14px; }
.esh-next { right: 14px; }
.esh-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.esh .esh-dots button {
width: 11px;
height: 11px;
padding: 0;
border: 2px solid #fff;
border-radius: 50%;
background: transparent;
cursor: pointer;
opacity: 0.8;
}
.esh .esh-dots button[aria-current="true"] { background: #fff; opacity: 1; }
.esh button:focus-visible, .esh a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
.esh { height: var(--esh-hm, 440px); }
.esh-inner { padding: 0 22px 40px; }
.esh .esh-arrow { display: none; }
.esh .esh-btn { padding: 11px 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
.esh-slide, .esh .esh-bg, .esh-slide .esh-content > * { transition: none !important; transform: none !important; }
}