/* ATB scroll hero (Home). Ported from the design preview; brand tokens mirror the Elementor variables. */
.sh {
	--g900: #063B28; --g700: #087443; --gold: #D4A62A; --white: #FFFFFF;
	--display: "Urbanist", "Segoe UI", system-ui, sans-serif;
	--body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
	--sh-top: 0px;
	--ease-out: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
	position: relative; height: 700vh; background: var(--g900); font-family: var(--body); width: 100%;
}
.sh *, .sh *::before, .sh *::after { box-sizing: border-box; }
.sh-stage {
	position: sticky; top: var(--sh-top);
	height: calc(100vh - var(--sh-top)); height: calc(100svh - var(--sh-top));
	overflow: hidden; background: #1E4A63 var(--sh-fallback) center / cover no-repeat;
}
.sh-poster { position: absolute; inset: 0; background: center / cover no-repeat; }
.sh video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-out); will-change: transform; transform: translateZ(0); }
.sh-stage.ready video { opacity: 1; }
.sh-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4,41,28,.35) 0%, rgba(4,41,28,.12) 40%, rgba(4,41,28,0) 62%); }

/* Eyebrow with the thin gold rule (brand signature) */
.sh-eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.sh-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }

/* Caption bands: clean glass panels */
.sh-band {
	position: absolute; color: #fff; opacity: 0; visibility: hidden; will-change: opacity;
	padding: 34px 38px 36px; border-radius: 20px; max-width: 660px;
	background: rgba(4,34,23,.30); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	border: 1px solid rgba(255,255,255,.12);
	text-shadow: 0 1px 3px rgba(3,32,20,.8), 0 4px 24px rgba(3,32,20,.6);
}
.sh-band::after { content: ""; position: absolute; left: 38px; top: -1px; width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
.sh-band .sh-eyebrow { text-shadow: none; }
.sh-band h1, .sh-band h2 {
	font-family: var(--display); font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0;
	font-size: clamp(30px, 3.1vw, 46px); line-height: 1.1; max-width: 20ch; text-wrap: balance;
}
.sh-sub { margin: 16px 0 0; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.55; color: #DCE8E0; max-width: 40ch; }
.sh-b1, .sh-b2, .sh-b3 { left: max(40px, calc((100% - 1120px) / 2)); bottom: max(110px, 15%); }
.sh-b1 .sh-sub { opacity: var(--k, 0); transform: translateY(calc((1 - var(--k, 0)) * 12px)); }
.sh-b4 { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; width: min(92%, 820px); max-width: 820px; padding: 40px 48px 44px; }
.sh-b4::after { display: none; }
.sh-b4 h2 { max-width: 20ch; margin: 0 auto; font-size: clamp(30px, 3.2vw, 48px); }
.sh-b4 .sh-sub { margin: 18px auto 0; --ks: clamp(0, (var(--k, 0) - .62) * 4, 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 14px)); }
.sh-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; text-shadow: none;
	--kb: clamp(0, (var(--k, 0) - .76) * 5, 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 16px)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .sh-band { background: rgba(4,34,23,.55); } }

/* Buttons (brand: Gold on dark, light outline on dark) */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 16px 26px; border-radius: 8px;
	font: 600 17px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-shadow: none; }
.sh-btn svg { width: 18px; height: 18px; flex: none; }
.sh-btn-gold { background: var(--gold); color: var(--g900); }
.sh-btn-gold:hover, .sh-btn-gold:focus { background: #E2B845; color: var(--g900); }
.sh-btn-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.sh-btn-light:hover, .sh-btn-light:focus { background: #fff; color: var(--g900); border-color: #fff; }
.sh-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Split text effects (words are wrapped by sh.js) */
.sh-w { display: inline-block; white-space: nowrap; }
.sh-band .sh-w.em { color: var(--gold); }
.sh-blurwrap { position: relative; display: block; }
.sh-blurwrap .soft { position: absolute; inset: 0; filter: blur(10px); opacity: calc(1 - var(--k, 0)); }
.sh-blurwrap .sharp { opacity: var(--k, 0); }
.sh-blurwrap .sharp .sh-w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 2.6, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 6px)); }
.sh-fx-drift .sh-w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 2.8, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * -28px)); }
.sh-fx-punch .sh-w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 3, 1); --ks: clamp(0, (var(--k, 0) - var(--th, 0) - var(--sd, .1)) * var(--ss, 3.2), 1);
	opacity: var(--kc); transform: scale(calc(.6 + (.4 + var(--ov, .12)) * var(--kc) - var(--ov, .12) * var(--ks))); }
.sh-fx-punch .sh-w.em { --ov: .24; --sd: .16; --ss: 2.6; color: var(--gold); }
.sh-fx-rise .sh-w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 3, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 30px)); }
.sh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Loading ring + scroll cue */
.sh-ring { position: absolute; right: 28px; bottom: 28px; width: 44px; height: 44px; color: #fff; opacity: .85; transform: rotate(-90deg); transition: opacity .6s var(--ease-out); }
.sh-ring .track { opacity: .25; }
.sh-stage.ready .sh-ring { opacity: 0; }
.sh-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px;
	font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(3,32,20,.8); transition: opacity .5s var(--ease-out); }
.sh-cue span { width: 2px; height: 32px; background: linear-gradient(#fff, transparent); animation: shcue 2.4s var(--ease-io) -.6s infinite; }
@keyframes shcue { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }
body.sh-paused .sh-cue span { animation-play-state: paused; }
@media (max-height: 560px) { .sh-cue, .sh-ring { display: none; } }

/* Portrait screens play the portrait cut */
.sh.sh-portrait { height: 560vh; }
.sh-portrait .sh-scrim { background: linear-gradient(180deg, rgba(4,41,28,.5) 0%, rgba(4,41,28,.12) 42%, rgba(4,41,28,0) 60%, rgba(4,41,28,.35) 100%); }
.sh-portrait .sh-b1, .sh-portrait .sh-b2, .sh-portrait .sh-b3 { left: 16px; right: 16px; bottom: max(92px, 12%); top: auto; padding: 24px 22px 26px; max-width: none; }
.sh-portrait .sh-band h1, .sh-portrait .sh-band h2 { font-size: clamp(26px, 7.4vw, 36px); max-width: none; }
.sh-portrait .sh-band .sh-eyebrow { font-size: 11.5px; letter-spacing: .1em; margin-bottom: 12px; }
.sh-portrait .sh-sub { font-size: 16.5px; }
.sh-portrait .sh-band::after { left: 22px; }
.sh-portrait .sh-b4 { width: calc(100% - 32px); padding: 26px 20px 28px; }
.sh-portrait .sh-b4 h2 { font-size: clamp(24px, 6.8vw, 32px); }
.sh-portrait .sh-ctas { flex-direction: column; align-items: stretch; gap: 10px; max-width: 320px; margin-inline: auto; }
.sh-portrait .sh-ring { right: 16px; bottom: 16px; width: 36px; height: 36px; }

/* Still hero: reduced motion, phones held sideways, or the video can't load */
.sh-static-copy { display: none; }
.sh.sh-static { height: auto; }
.sh-static .sh-stage { position: relative; top: 0; height: auto; min-height: 0; background: var(--sh-ending) center / cover no-repeat, #1E4A63 var(--sh-fallback) center / cover no-repeat; }
.sh-static video, .sh-static .sh-poster, .sh-static .sh-band, .sh-static .sh-ring, .sh-static .sh-cue { display: none; }
.sh-static .sh-scrim { background: linear-gradient(90deg, rgba(4,41,28,.94) 0%, rgba(4,41,28,.82) 48%, rgba(4,41,28,.35) 100%); }
.sh-static .sh-static-copy { display: block; position: relative; }
.sh-wrap { max-width: 1280px; margin: 0 auto; padding: 88px 40px 104px; }
.sh-hero-copy { max-width: 640px; display: grid; gap: 22px; justify-items: start; }
.sh-static-copy h1 { font: 700 50px/1.12 var(--display); letter-spacing: -.015em; color: #fff; margin: 0; text-wrap: balance; }
.sh-lead { font-size: 19px; line-height: 1.6; color: #D3E2D8; margin: 0; max-width: 60ch; }
.sh-static-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.sh-sig { display: flex; gap: 14px; align-items: center; color: #A9C0B3; font-size: 15px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); width: 100%; }
.sh-sig strong { color: #fff; font-weight: 600; }
.sh-sig i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@media (max-width: 1024px) {
	.sh-static .sh-scrim { background: linear-gradient(180deg, rgba(4,41,28,.72) 0%, rgba(4,41,28,.9) 100%); }
	.sh-wrap { padding: 72px 32px 88px; }
	.sh-static-copy h1 { font-size: 44px; }
}
@media (max-width: 767px) {
	.sh-static .sh-stage { background: var(--sh-ending-m) center / cover no-repeat, #1E4A63 var(--sh-fallback) center / cover no-repeat; }
	.sh-wrap { padding: 56px 16px 64px; }
	.sh-static-copy h1 { font-size: 32px; }
	.sh-lead { font-size: 17px; }
	.sh-static-ctas { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	.sh-static-ctas .sh-btn { padding: 15px 12px; }
	.sh-sig { flex-wrap: wrap; gap: 6px 12px; }
}
