/* Animated home page slider - markup from modules/common/libraries/Hero_slider.php, script hero-slider.js */
.hs { --navy: #0b3c8f; --blue: #0d4aa6; --gold: #ffb81c; --gold2: #f59e0b; --spd: 7s; position: relative; overflow: hidden; background: var(--navy); font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; color: #fff; isolation: isolate; }
.hs * { box-sizing: border-box; }
.hs-track { position: relative; width: 100%; aspect-ratio: 1640 / 624; min-height: 430px; max-height: 700px; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hs-slide.is-on { opacity: 1; visibility: visible; z-index: 2; transition: opacity .9s ease; animation: hsReveal 1.1s cubic-bezier(.7, 0, .2, 1) both; }
.hs-slide.is-out { visibility: visible; opacity: 1; z-index: 1; transition: none; }

/* ------------------------------------------------ banner images (Admin > Slider) */
.hs-b { background: #0b3c8f; }
.hs-blur { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(22px) brightness(.65); transform: scale(1.1); }
.hs-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
:is(.is-on, .is-out) .hs-banner { animation: hsKen calc(var(--spd) + 1.5s) ease-out both; }
.hs-b::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); pointer-events: none; }
.hs-b.is-on::after { animation: hsShine 1.4s ease .6s both; }

/* ------------------------------------------------ animated slides: background */
.hs-a { background: linear-gradient(115deg, #0a3480 0%, var(--blue) 55%, #0b3c8f 100%); }
.hs-bg, .hs-bg > * { position: absolute; pointer-events: none; }
.hs-bg { inset: 0; }
.hs-doodle { inset: -60px; opacity: .09; background-size: 240px 240px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='30' cy='34' r='12'/%3E%3Cpath d='M118 20v22M107 31h22'/%3E%3Cpath d='M196 22l6 13 14 2-10 10 2 14-12-7-12 7 2-14-10-10 14-2z'/%3E%3Cpath d='M22 120l18-30 18 30z'/%3E%3Cpath d='M92 112c8-8 16 8 24 0s16 8 24 0 16 8 24 0'/%3E%3Crect x='188' y='96' width='34' height='26' rx='3'/%3E%3Cpath d='M205 96v26'/%3E%3Cpath d='M30 196h26M43 183v26'/%3E%3Ccircle cx='122' cy='196' r='6'/%3E%3Ccircle cx='122' cy='196' r='16'/%3E%3Cpath d='M186 178l20 14-20 14'/%3E%3Cpath d='M210 210l18-18'/%3E%3C/svg%3E");
    animation: hsDrift 60s linear infinite; }
.hs-panel, .hs-panel2 { opacity: 0; }
.hs-ring { border-radius: 50%; border: 2px solid rgba(255, 255, 255, .16); }
.hs-ring.r1 { width: 170px; height: 170px; left: -60px; bottom: -50px; }
.hs-ring.r2 { width: 60px; height: 60px; right: 36%; top: 9%; border-color: rgba(255, 184, 28, .55); }
.hs-dots { width: 14px; height: 50px; background: radial-gradient(circle, transparent 3.5px, var(--gold) 4px 5.5px, transparent 6px) 0 0 / 14px 17px repeat-y; }
.hs-dots.d1 { left: 2.6%; top: 22%; }
.hs-dots.d2 { right: 2.6%; bottom: 14%; }
.hs-sun { width: 56px; height: 56px; left: 37%; top: 10%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; opacity: 0; }
.hs-burst { width: 70px; height: 46px; left: 5.5%; top: 63%; fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; opacity: 0; }

/* ------------------------------------------------ animated slides: content */
.hs-in { position: relative; z-index: 3; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 6.5%; display: flex; align-items: center; gap: 2%; }
.hs-text { flex: 0 0 47%; position: relative; z-index: 2; }
.hs-kicker { font-family: 'Kaushan Script', 'Segoe Script', 'Brush Script MT', cursive; color: var(--gold); font-size: clamp(16px, 1.65vw, 27px); line-height: 1.2; opacity: 0; }
.hs-h { margin: 6px 0 0; padding: 0; perspective: 700px; font-weight: 800; line-height: 1.02; color: #fff; letter-spacing: -.01em; }
.hs-l1 { display: block; font-size: clamp(22px, 2.55vw, 42px); }
.hs-hi { display: block; font-size: clamp(42px, 5.5vw, 92px); color: var(--gold); text-shadow: 0 5px 0 rgba(0, 0, 0, .16); }
.hs-l2 { display: block; font-family: 'Kaushan Script', 'Segoe Script', 'Brush Script MT', cursive; font-weight: 400; font-size: clamp(34px, 4.5vw, 76px); line-height: 1.12; }
.hs-h .w { display: inline-block; opacity: 0; }
.hs-squiggle { display: block; width: clamp(140px, 14vw, 230px); height: 16px; margin: 4px 0 6px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.hs-tag { margin: 0 0 16px; font-size: clamp(13px, 1.15vw, 18px); font-weight: 600; color: rgba(255, 255, 255, .92); opacity: 0; max-width: 520px; }
.hs-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0b2a5e !important; border-radius: 40px; padding: 7px 22px 7px 7px; font-weight: 700; font-size: clamp(13px, 1.05vw, 16px); text-transform: uppercase; text-decoration: none !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); opacity: 0; transition: transform .25s, background .25s; }
.hs-btn i { width: 34px; height: 34px; border-radius: 50%; background: #1f2937; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; transition: transform .25s; }
.hs-btn::before { content: ""; position: absolute; inset: -6px; border-radius: 46px; border: 2px solid rgba(255, 255, 255, .7); opacity: 0; }
.hs-btn:hover { transform: translateY(-2px); background: var(--gold); }
.hs-btn:hover i { transform: translateX(3px); }
.hs-call { margin-top: 14px; opacity: 0; }
.hs-call a { display: block; color: var(--gold) !important; font-weight: 800; font-size: clamp(20px, 2.1vw, 34px); line-height: 1.1; text-decoration: none !important; letter-spacing: .01em; }
.hs-call span { display: block; font-size: clamp(11px, .95vw, 15px); font-weight: 700; letter-spacing: .04em; margin-top: 3px; }
.hs-art { flex: 1; align-self: stretch; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hs-photo { position: relative; z-index: 2; display: block; max-width: 100%; max-height: 94%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); opacity: 0; }
.hs-glow { position: absolute; z-index: 1; left: 50%; bottom: 8%; width: 70%; aspect-ratio: 1; margin-left: -35%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 60, .55), rgba(255, 196, 60, 0) 68%); opacity: 0; }
.hs-arrow { position: absolute; z-index: 1; left: -14%; top: 22%; width: 110px; height: 110px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 7; opacity: 0; }
.hs-social { position: absolute; z-index: 4; top: 22px; right: 3.2%; text-align: center; opacity: 0; }
.hs-social span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.hs-social div { display: flex; gap: 6px; justify-content: center; }
.hs-social a { width: 30px; height: 30px; border-radius: 50%; background: #1f2f55; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; text-decoration: none !important; transition: transform .2s, background .2s; }
.hs-social a:hover { transform: translateY(-3px); background: var(--gold); color: #1f2f55 !important; }

/* entrance animations (kept while the slide fades out) */
:is(.is-on, .is-out) .hs-kicker { animation: hsFadeR .7s ease .25s both; }
:is(.is-on, .is-out) .hs-h .w { animation: hsUp .8s cubic-bezier(.2, .9, .25, 1.25) both; animation-delay: calc(.35s + var(--i) * .09s); }
:is(.is-on, .is-out) .hs-squiggle { animation: hsDraw 1.1s ease 1.05s both; }
:is(.is-on, .is-out) .hs-tag { animation: hsFadeU .7s ease 1.2s both; }
:is(.is-on, .is-out) .hs-btn { animation: hsPop .6s cubic-bezier(.2, .9, .3, 1.4) 1.4s both; }
:is(.is-on, .is-out) .hs-btn::before { animation: hsPulse 2.2s ease-out 2.2s infinite; }
:is(.is-on, .is-out) .hs-call { animation: hsFadeU .7s ease 1.6s both; }
:is(.is-on, .is-out) .hs-photo { animation: hsPhoto 1.1s cubic-bezier(.2, .8, .2, 1) .25s both, hsFloat 6s ease-in-out 1.4s infinite; }
:is(.is-on, .is-out) .hs-glow { animation: hsGlow 1.2s ease .3s both; }
:is(.is-on, .is-out) .hs-arrow { animation: hsFadeIn .8s ease 1.5s both, hsDash 3s linear 1.5s infinite; }
:is(.is-on, .is-out) .hs-sun { animation: hsFadeIn .6s ease .9s both, hsSpin 18s linear .9s infinite; }
:is(.is-on, .is-out) .hs-burst { animation: hsFadeIn .5s ease 1.3s both; }
:is(.is-on, .is-out) .hs-ring.r1 { animation: hsBreath 5s ease-in-out infinite; }
:is(.is-on, .is-out) .hs-ring.r2 { animation: hsBob 4s ease-in-out infinite; }
:is(.is-on, .is-out) .hs-social { animation: hsFadeIn .8s ease 1.8s both; }

/* ------------------------------------------------ layout 1: split (gold panel behind the photo) */
.hsl-split .hs-panel { right: 0; top: 0; bottom: 0; width: 43%; background: linear-gradient(160deg, #ffc531, var(--gold2)); clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%); }
.hsl-split .hs-panel2 { right: 41.5%; top: 0; bottom: 0; width: 7px; background: #fff; transform: skewX(-9.6deg); transform-origin: top; }
:is(.is-on, .is-out).hsl-split .hs-panel { animation: hsPanel 1s cubic-bezier(.7, 0, .2, 1) .1s both; }
:is(.is-on, .is-out).hsl-split .hs-panel2 { animation: hsFadeIn .5s ease .9s both; }
.hsl-split .hs-glow { background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 68%); }
.hsl-split .hs-social span { color: #1f2f55; }

/* ------------------------------------------------ layout 2: glow (blue light, gold slanted stripe) */
.hs-slide.hsl-glow { background: radial-gradient(circle at 24% 50%, #2b8cff 0%, #1563c9 30%, #0b45a0 62%, #0a3a8e 100%); }
.hs-slide.hsl-glow .hs-panel { right: 0; top: 0; bottom: 0; width: 25%; background: linear-gradient(180deg, #ffd23a, #ffb000); clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%); }
.hs-slide.hsl-glow .hs-panel2 { left: 8%; bottom: 12%; width: 120px; height: 120px; border-radius: 50%; background: rgba(5, 40, 110, .55); }
:is(.is-on, .is-out).hsl-glow .hs-panel { animation: hsDrop 1s cubic-bezier(.7, 0, .2, 1) .15s both; }
:is(.is-on, .is-out).hsl-glow .hs-panel2 { animation: hsFadeIn 1s ease .4s both, hsBob 6s ease-in-out 1.4s infinite; }

/* ------------------------------------------------ layout 3: wave (gold wave at the bottom, gold corner) */
.hsl-wave .hs-panel { left: -8%; right: -8%; bottom: -14%; height: 30%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #ffc531, var(--gold2)); }
.hsl-wave .hs-panel2 { right: -4%; top: -30%; width: 34%; height: 62%; border-radius: 0 0 0 100%; background: linear-gradient(200deg, #ffc531, var(--gold2)); }
:is(.is-on, .is-out).hsl-wave .hs-panel { animation: hsRise 1s cubic-bezier(.7, 0, .2, 1) .1s both; }
:is(.is-on, .is-out).hsl-wave .hs-panel2 { animation: hsCorner 1s cubic-bezier(.7, 0, .2, 1) .2s both; }
.hsl-wave .hs-glow { background: radial-gradient(circle, rgba(255, 170, 40, .7), rgba(255, 170, 40, 0) 66%); }
.hsl-wave .hs-social span { color: #1f2f55; }

/* ------------------------------------------------ layout 4: arc (photo on the left, blue arc on the right) */
.hs-slide.hsl-arc { background: linear-gradient(135deg, #eef1f6, #dfe5ee); }
.hsl-arc .hs-doodle { opacity: .05; filter: invert(1); }
.hsl-arc .hs-panel { right: 0; top: 0; width: 70%; bottom: 0; background: linear-gradient(140deg, #0d4aa6, #0a3a8e); border-radius: 0 0 0 28% / 0 0 0 62%; }
.hsl-arc .hs-ring.r2 { right: auto; left: 33%; top: 7%; border-color: rgba(13, 74, 166, .35); }
.hsl-arc .hs-panel2 { left: 0; right: 0; bottom: 0; height: 2.4%; z-index: 1; background: linear-gradient(90deg, #ffb81c, #f59e0b); }
:is(.is-on, .is-out).hsl-arc .hs-panel { animation: hsArc 1.1s cubic-bezier(.7, 0, .2, 1) .1s both; }
:is(.is-on, .is-out).hsl-arc .hs-panel2 { animation: hsFadeIn .6s ease .6s both; }
.hsl-arc .hs-in { flex-direction: row-reverse; }
.hsl-arc .hs-text { flex-basis: 50%; padding-left: 4%; }
.hsl-arc .hs-arrow { left: auto; right: -6%; transform: scaleX(-1); stroke: #0d4aa6; }
.hsl-arc .hs-sun { left: auto; right: 7%; top: 36%; }
.hsl-arc .hs-burst { left: 52%; }
.hsl-arc .hs-ring.r1 { border-color: rgba(13, 74, 166, .18); }
.hsl-arc .hs-dots.d1 { background-image: radial-gradient(circle, transparent 3.5px, #0d4aa6 4px 5.5px, transparent 6px); }
.hsl-arc .hs-glow { background: radial-gradient(circle, rgba(13, 74, 166, .28), rgba(13, 74, 166, 0) 68%); }

/* ------------------------------------------------ layout 5: ribbon (gold band behind the photo, photo in a ring) */
.hs-slide.hsl-ribbon { background: linear-gradient(120deg, #0a2f6e 0%, #0d47a1 58%, #0b3c8f 100%); }
.hsl-ribbon .hs-panel { left: 42%; right: -12%; top: 60%; height: 17%; background: linear-gradient(90deg, #ffc531, #f59e0b); transform: rotate(-11deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hsl-ribbon .hs-panel2 { right: 6%; bottom: -16%; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(255, 197, 49, .75); background: radial-gradient(circle, rgba(255, 255, 255, .16) 0 60%, transparent 61%); }
:is(.is-on, .is-out).hsl-ribbon .hs-panel { animation: hsRibbon 1s cubic-bezier(.7, 0, .2, 1) .15s both; }
:is(.is-on, .is-out).hsl-ribbon .hs-panel2 { animation: hsFadeIn .8s ease .4s both, hsSpin 50s linear .4s infinite; }
.hsl-ribbon .hs-glow { background: radial-gradient(circle, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 66%); }

/* ------------------------------------------------ every design: its own calligraphy and its own movement */
/* split : Kaushan Script, words rise, photo slides in from the right, circle reveal from the right (defaults above) */
/* glow : Great Vibes + Satisfy, words come into focus, photo zooms in, slide fades in */
.hsl-glow .hs-kicker { font-family: 'Satisfy', cursive; font-size: clamp(17px, 1.8vw, 29px); }
.hsl-glow .hs-l2 { font-family: 'Great Vibes', cursive; font-size: clamp(44px, 5.8vw, 98px); line-height: 1; }
.hs-slide.hsl-glow.is-on { animation-name: hsRevealZoom; }
.hsl-glow:is(.is-on, .is-out) .hs-kicker { animation-name: hsTrack; }
.hsl-glow:is(.is-on, .is-out) .hs-h .w { animation-name: hsFocus; animation-timing-function: ease-out; }
.hsl-glow:is(.is-on, .is-out) .hs-photo { animation-name: hsPhotoZoom, hsFloat; }
/* wave : Pacifico + Caveat, words fall in with a bounce, photo rises, slide wipes up */
.hsl-wave .hs-kicker { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(19px, 2vw, 32px); }
.hsl-wave .hs-l2 { font-family: 'Pacifico', cursive; font-size: clamp(30px, 3.9vw, 64px); line-height: 1.35; }
.hs-slide.hsl-wave.is-on { animation-name: hsRevealUp; }
.hsl-wave:is(.is-on, .is-out) .hs-kicker { animation-name: hsFadeD; }
.hsl-wave:is(.is-on, .is-out) .hs-h .w { animation-name: hsFall; animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
.hsl-wave:is(.is-on, .is-out) .hs-photo { animation-name: hsPhotoUp, hsFloat; }
/* ribbon : Dancing Script + Oswald, words slide in slanted, typed top line, photo swings in, diagonal wipe */
.hsl-ribbon .hs-kicker { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: clamp(18px, 1.9vw, 30px); }
.hsl-ribbon .hs-hi { font-family: 'Oswald', 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(44px, 5.8vw, 96px); }
.hsl-ribbon .hs-l2 { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: clamp(36px, 4.7vw, 78px); }
.hs-slide.hsl-ribbon.is-on { animation-name: hsRevealDiag; }
.hsl-ribbon:is(.is-on, .is-out) .hs-kicker { animation-name: hsType; animation-duration: 1.1s; animation-timing-function: steps(28, end); }
.hsl-ribbon:is(.is-on, .is-out) .hs-h .w { animation-name: hsSkew; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
.hsl-ribbon:is(.is-on, .is-out) .hs-photo { animation-name: hsPhotoSwing, hsFloat; }
/* arc : Lobster + Courgette, words flip down in 3D, photo is uncovered from the bottom, circle reveal from the left */
.hsl-arc .hs-kicker { font-family: 'Courgette', cursive; font-size: clamp(15px, 1.5vw, 24px); }
.hsl-arc .hs-l2 { font-family: 'Lobster', cursive; font-weight: 400; font-size: clamp(34px, 4.4vw, 72px); }
.hs-slide.hsl-arc.is-on { animation-name: hsRevealLeft; }
.hsl-arc:is(.is-on, .is-out) .hs-h .w { animation-name: hsFlip; animation-timing-function: cubic-bezier(.2, .8, .3, 1.2); transform-origin: 50% 0; }
.hsl-arc:is(.is-on, .is-out) .hs-photo { animation-name: hsPhotoWipe, hsFloat; }

@keyframes hsRevealZoom { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes hsRevealUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hsRevealDiag { from { clip-path: polygon(0 0, 0 0, -40% 100%, -40% 100%); } to { clip-path: polygon(0 0, 140% 0, 100% 100%, -40% 100%); } }
@keyframes hsRevealLeft { from { clip-path: circle(0% at 12% 50%); } to { clip-path: circle(150% at 12% 50%); } }
@keyframes hsTrack { from { opacity: 0; letter-spacing: .6em; filter: blur(4px); } to { opacity: 1; letter-spacing: normal; filter: none; } }
@keyframes hsFadeD { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes hsType { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hsFocus { from { opacity: 0; transform: scale(1.9); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hsFall { 0% { opacity: 0; transform: translateY(-70px); } 70% { opacity: 1; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
@keyframes hsSkew { from { opacity: 0; transform: translateX(-70px) skewX(-22deg); } to { opacity: 1; transform: none; } }
@keyframes hsFlip { from { opacity: 0; transform: rotateX(-95deg); } to { opacity: 1; transform: none; } }
@keyframes hsPhotoZoom { from { opacity: 0; transform: scale(.8); filter: blur(8px) drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); } to { opacity: 1; transform: none; } }
@keyframes hsPhotoUp { from { opacity: 0; transform: translateY(140px); } to { opacity: 1; transform: none; } }
@keyframes hsPhotoSwing { from { opacity: 0; transform: translate(70px, -50px) rotate(7deg); } to { opacity: 1; transform: none; } }
@keyframes hsPhotoWipe { from { opacity: 1; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hsRibbon { from { opacity: 1; transform: rotate(-11deg) translateX(110%); } to { opacity: 1; transform: rotate(-11deg); } }

/* ------------------------------------------------ text effects in the sctboard.in style (each design its own mix) */
.hs-kdot, .hs-ksun, .hs-out, .hs-dd { display: none; }
.hs-out { height: clamp(54px, 6.4vw, 110px); width: auto; max-width: 100%; overflow: visible; margin: 0 0 -2px; }
.hs-out text { font-family: 'Poppins', Arial, sans-serif; font-weight: 800; font-size: 110px; fill: transparent; stroke: var(--gold); stroke-width: 2.6; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.hsl-ribbon .hs-out text { font-family: 'Oswald', 'Poppins', sans-serif; font-weight: 700; letter-spacing: 2px; }
:is(.is-on, .is-out) .hs-out text { animation: hsDrawT 2.2s ease .7s forwards, hsFillT .8s ease 2.7s forwards; }
.hs-dd { position: absolute; color: #fff; font-size: 22px; opacity: 0; }
.hs-dd.dd1 { right: 6%; top: 2%; color: var(--gold); }
.hs-dd.dd2 { left: -7%; top: 46%; font-size: 18px; }
:is(.is-on, .is-out) .hs-dd.dd1 { animation: hsPopR .7s cubic-bezier(.3, 1.6, .5, 1) 1.9s both, hsBob 4s ease-in-out 2.6s infinite; }
:is(.is-on, .is-out) .hs-dd.dd2 { animation: hsPopR .7s cubic-bezier(.3, 1.6, .5, 1) 2.15s both, hsSpin 9s linear 2.9s infinite; }

/* split + ribbon : tilted block, sun before the top line, big word drawn as an outline and then filled, doodles */
.hsl-split .hs-text, .hsl-ribbon .hs-text { transform: rotate(-5deg); transform-origin: 0 50%; }
.hsl-split .hs-hi, .hsl-ribbon .hs-hi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hsl-split .hs-out, .hsl-ribbon .hs-out { display: block; }
.hsl-split .hs-ksun { display: inline-block; margin-right: 10px; color: #fff; animation: hsSpin 12s linear infinite; }
.hsl-split:is(.is-on, .is-out) .hs-kicker { animation-name: hsPopK; animation-duration: .8s; animation-timing-function: cubic-bezier(.3, 1.5, .5, 1); }
.hsl-split:is(.is-on, .is-out) .hs-l1 .w { animation-name: hsZoomB; animation-timing-function: ease-out; }
.hsl-split:is(.is-on, .is-out) .hs-l2 .w { animation-name: hsLeftW; animation-timing-function: cubic-bezier(.2, .9, .3, 1); animation-delay: calc(1.6s + var(--i) * .08s); }
.hsl-ribbon:is(.is-on, .is-out) .hs-l2 .w { animation-delay: calc(1.8s + var(--i) * .08s); }
.hsl-split .hs-dd, .hsl-ribbon .hs-dd, .hsl-wave .hs-dd { display: inline-block; }
.hsl-wave .hs-sun { display: none; }

/* glow, wave, arc : top line as a badge with a blinking dot */
.hsl-glow .hs-kicker, .hsl-wave .hs-kicker, .hsl-arc .hs-kicker { display: inline-flex; align-items: center; gap: 9px; font-family: 'Poppins', Arial, sans-serif; font-weight: 800; font-size: clamp(11px, .9vw, 13px); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(255, 184, 28, .12); border: 1px solid rgba(255, 184, 28, .45); border-radius: 30px; padding: 7px 16px; margin-bottom: 8px; }
.hsl-glow .hs-kdot, .hsl-wave .hs-kdot, .hsl-arc .hs-kdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; animation: hsDotP 1.6s ease infinite; }
/* glow : gold words with a moving shine, short line typed with a cursor */
.hsl-glow .hs-hi .w { background: linear-gradient(90deg, #ffb81c 0%, #ffb81c 35%, #fff4c9 50%, #ffb81c 65%, #ffb81c 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hsl-glow:is(.is-on, .is-out) .hs-hi .w { animation: hsFocus .8s ease-out calc(.35s + var(--i) * .09s) both, hsShimmer 3s linear 2.2s infinite; }
/* wave : white big word with a gold highlighter stroke behind it */
.hsl-wave .hs-hi { display: inline-block; position: relative; z-index: 0; color: #fff; padding: 0 .06em; }
.hsl-wave .hs-hi::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .1em; height: .34em; border-radius: 8px; background: rgba(255, 184, 28, .9); transform: scaleX(0); transform-origin: 0 50%; }
.hsl-wave:is(.is-on, .is-out) .hs-hi::after { animation: hsBarX .8s ease 1.3s forwards; }
/* arc : big word in a moving gold gradient, short line typed with a cursor */
.hsl-arc .hs-hi .w { background: linear-gradient(90deg, #ffb81c, #ff7a00, #ffd23a, #ffb81c) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hsl-arc:is(.is-on, .is-out) .hs-hi .w { animation: hsFlip .8s cubic-bezier(.2, .8, .3, 1.2) calc(.35s + var(--i) * .09s) both, hsShimmer 4s linear 2s infinite; }
.hsl-glow .hs-tag span, .hsl-arc .hs-tag span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 3px solid var(--gold); padding-right: 3px; }
.hsl-glow:is(.is-on, .is-out) .hs-tag span, .hsl-arc:is(.is-on, .is-out) .hs-tag span { animation: hsTypeW 1.8s steps(var(--n), end) 1.3s forwards, hsCaret .8s step-end infinite; }

@keyframes hsDrawT { to { stroke-dashoffset: 0; } }
@keyframes hsFillT { to { fill: var(--gold); stroke: #fff; stroke-width: 1.6; } }
@keyframes hsPopR { 0% { opacity: 0; transform: scale(.3) rotate(-30deg); } 100% { opacity: 1; transform: none; } }
@keyframes hsPopK { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes hsZoomB { from { opacity: 0; transform: scale(1.5); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hsLeftW { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
@keyframes hsDotP { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); } 70% { box-shadow: 0 0 0 8px rgba(62, 224, 143, 0); } 100% { box-shadow: none; } }
@keyframes hsShimmer { from { background-position: 220% 0; } to { background-position: 0 0; } }
@keyframes hsBarX { to { transform: scaleX(1); } }
@keyframes hsTypeW { to { max-width: calc(var(--n) * .62em); } }
@keyframes hsCaret { 50% { border-color: transparent; } }

/* ------------------------------------------------ controls */
.hs-nav { position: absolute; z-index: 6; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(6, 30, 80, .45); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s, background .25s, transform .25s; padding: 0; }
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs:hover .hs-nav, .hs:focus-within .hs-nav { opacity: 1; }
.hs-nav:hover { background: var(--gold); color: #0b2a5e; transform: scale(1.08); }
.hs-dots-nav { position: absolute; z-index: 6; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; }
.hs-dots-nav button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .5); cursor: pointer; overflow: hidden; position: relative; transition: width .4s, background .3s; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.hs-dots-nav button.on { width: 42px; background: rgba(255, 255, 255, .35); }
.hs-dots-nav button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); }
.hs-dots-nav button.on i { animation: hsProg var(--spd) linear both; }
.hs.is-paused .hs-dots-nav button.on i { animation-play-state: paused; }
.hs.hs-still .hs-dots-nav button.on i { animation: none; width: 100%; }

/* ------------------------------------------------ keyframes */
@keyframes hsReveal { from { clip-path: circle(0% at 88% 50%); } to { clip-path: circle(150% at 88% 50%); } }
@keyframes hsKen { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes hsShine { from { left: -40%; } to { left: 120%; } }
@keyframes hsDrift { from { transform: translate(0, 0); } to { transform: translate(240px, 240px); } }
@keyframes hsUp { from { opacity: 0; transform: translateY(46px) rotate(5deg); } to { opacity: 1; transform: none; } }
@keyframes hsFadeR { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes hsFadeU { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hsDraw { to { stroke-dashoffset: 0; } }
@keyframes hsPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hsPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes hsPhoto { from { opacity: 0; transform: translateX(90px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes hsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hsGlow { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes hsDash { to { stroke-dashoffset: -52; } }
@keyframes hsSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes hsBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes hsBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hsPanel { from { opacity: 1; transform: translateX(105%); } to { opacity: 1; transform: none; } }
@keyframes hsDrop { from { opacity: 1; transform: translateY(-105%); } to { opacity: 1; transform: none; } }
@keyframes hsRise { from { opacity: 1; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@keyframes hsCorner { from { opacity: 1; transform: translate(60%, -60%); } to { opacity: 1; transform: none; } }
@keyframes hsArc { from { opacity: 1; transform: translateX(100%); } to { opacity: 1; transform: none; } }
@keyframes hsProg { from { width: 0; } to { width: 100%; } }

/* ------------------------------------------------ computer screens: bigger photos (the photo area uses the full slide height) */
@media (min-width: 992px) {
    .hs-a .hs-art { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; z-index: 1; }
    .hsl-arc .hs-art { right: auto; left: 0; width: 50%; }
    .hs-a .hs-photo { width: 100%; height: 96%; max-width: none; max-height: none; object-fit: contain; object-position: 50% 100%; }
    .hsl-arc .hs-photo { object-position: 40% 100%; }
    .hs-a .hs-glow { width: 62%; margin-left: -31%; }
    .hs-a .hs-arrow { left: -2%; top: 16%; }
    .hsl-arc .hs-arrow { left: auto; right: -4%; }
    .hs-slide.hsl-glow .hs-panel2 { left: auto; right: 47%; bottom: 7%; width: 90px; height: 90px; }
}
@media (min-width: 992px) and (max-width: 1279px) {
    .hs-a .hs-art { width: 52%; }
    .hs-text { flex-basis: 48%; }
}

/* ------------------------------------------------ tablet / phone */
@media (max-width: 991px) {
    .hs-in { padding: 0 5%; }
    .hs-arrow, .hs-sun { display: none; }
    .hs-social { top: 12px; }
}
@media (max-width: 767px) {
    .hs.has-a .hs-track { aspect-ratio: auto; height: 600px; min-height: 0; max-height: none; }
    .hs:not(.has-a) .hs-track { min-height: 0; }
    .hs-in { flex-direction: column !important; align-items: stretch; justify-content: flex-start; padding: 30px 22px 0; gap: 0; }
    .hs-text, .hsl-arc .hs-text { flex: 0 0 auto; padding-left: 0; text-align: left; }
    .hs-art { position: absolute; left: 0; right: 0; bottom: 0; height: 44%; z-index: 1; }
    .hs-photo { max-height: 100%; }
    .hs-kicker { font-size: 17px; }
    .hs-l1 { font-size: 24px; }
    .hs-hi { font-size: 46px; }
    .hs-l2 { font-size: 38px; }
    .hs-tag { font-size: 13.5px; margin-bottom: 12px; }
    .hs-call { margin-top: 10px; }
    .hs-call a { font-size: 22px; }
    .hs-call span, .hs-social, .hs-burst, .hs-dots, .hs-ring.r2 { display: none; }
    .hsl-split .hs-panel { width: 100%; top: 56%; clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); }
    .hsl-split .hs-panel2 { display: none; }
    .hs-slide.hsl-glow .hs-panel { width: 100%; top: 58%; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
    .hsl-wave .hs-panel { height: 22%; }
    .hsl-wave .hs-panel2 { width: 60%; height: 22%; }
    .hsl-ribbon .hs-panel { left: -10%; top: 74%; }
    .hsl-ribbon .hs-panel2 { width: 80%; right: 10%; bottom: -12%; }
    .hsl-ribbon .hs-hi { font-size: 46px; }
    .hsl-glow .hs-l2 { font-size: 46px; }
    .hsl-wave .hs-l2 { font-size: 32px; }
    .hsl-split .hs-text, .hsl-ribbon .hs-text { transform: rotate(-3deg); }
    .hs-out { height: 50px; }
    .hs-dd { display: none !important; }
    .hsl-glow .hs-tag span, .hsl-arc .hs-tag span { max-width: none; white-space: normal; border: 0; animation: none !important; }
    .hsl-arc .hs-panel { width: 100%; bottom: 36%; border-radius: 0 0 0 100% / 0 0 0 22%; }
    .hs-nav { display: none; }
    .hs-dots-nav { bottom: 10px; }
}

/* people who ask their device for less motion: no movement, no automatic sliding */
@media (prefers-reduced-motion: reduce) {
    .hs *, .hs *::before, .hs *::after, .hs-slide.is-on { animation: none !important; transition: none !important; }
    .hs-kicker, .hs-h .w, .hs-tag, .hs-btn, .hs-call, .hs-photo, .hs-glow, .hs-arrow, .hs-sun, .hs-burst, .hs-social, .hs-panel, .hs-panel2 { opacity: 1 !important; }
    .hs-squiggle { stroke-dashoffset: 0; }
    .hs-out text { stroke-dashoffset: 0; fill: var(--gold); }
    .hs-tag span { max-width: none !important; border: 0 !important; }
    .hs-dd, .hs-hi::after { opacity: 1 !important; transform: none !important; }
}
