/* Extreme — hero: video under a dark gradient, wide italic headline, proof strip. */
.ex.hero { --ex-hero-shade: #070f22; position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ex-ink); color: var(--ex-text); }
.ex .hero-media { position: absolute; inset: 0; }
.ex .hero-media video, .ex .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
/* the video sits over the poster image and shows once it is playing */
.ex .hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.ex .hero-media video.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ex .hero-media video { display: none; } }
.ex .hero-media::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(90deg, color-mix(in srgb, var(--ex-hero-shade) 97%, transparent) 0%, color-mix(in srgb, var(--ex-hero-shade) 84%, transparent) 34%, color-mix(in srgb, var(--ex-hero-shade) 25%, transparent) 70%, color-mix(in srgb, var(--ex-hero-shade) 35%, transparent)),
	linear-gradient(0deg, var(--ex-hero-shade) 0%, transparent 38%); }

.ex .hero-in { position: relative; z-index: 2; padding-top: calc(var(--ex-hdr) + 56px); padding-bottom: 48px; }
.ex .hero-kick { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ex-green); }
.ex .hero-kick::before { content: ""; width: 34px; height: 3px; background: var(--ex-arc); transform: skewX(-24deg); }
.ex .hero-h { font-size: var(--ex-fs-hero); line-height: .88; font-weight: 880; font-stretch: 125%; font-style: italic; letter-spacing: -.025em; text-transform: uppercase; color: #fff; }
.ex .hero-h span { display: block; }
.ex .hero-h .hero-h-grad { background: linear-gradient(90deg, #fff 0%, #fff 40%, #9fd8f5 75%, var(--ex-green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .06em 0; margin: -.06em 0; }
/* Rotating gradient line: every version in one grid cell, so the heading keeps the size of the
 * longest and never reflows. The gradient sits on each word (background-clip on a parent whose
 * children move is unreliable in Safari). */
.ex .hero-h .hero-rot { display: grid; background: none; color: inherit; }
.ex .hero-h .hero-rot-w { grid-area: 1 / 1; align-self: end; background: linear-gradient(90deg, #fff 0%, #fff 40%, #9fd8f5 75%, var(--ex-green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; visibility: hidden; transform: translateY(.35em) skewX(-6deg); clip-path: inset(0 0 100% 0); transition: opacity .5s var(--ex-ease), transform .6s var(--ex-ease), clip-path .6s var(--ex-ease), visibility 0s linear .6s; }
/* each word its own colour (brand sky blue, green, white-to-blue), all light enough for the dark hero */
.ex .hero-h .hero-rot-w:nth-child(4n + 2) { background-image: linear-gradient(90deg, #d9f1ff 0%, #9fd8f5 45%, #55b4e8 100%); }
.ex .hero-h .hero-rot-w:nth-child(4n + 3) { background-image: linear-gradient(90deg, #e6f8d6 0%, #b6e88f 45%, var(--ex-green) 100%); }
.ex .hero-h .hero-rot-w:nth-child(4n + 4) { background-image: linear-gradient(90deg, #fff 0%, #9fd8f5 55%, #7ccc45 100%); }
.ex .hero-h .hero-rot-w.is-on { opacity: 1; visibility: visible; transform: none; clip-path: inset(-.2em -.2em -.2em -.2em); transition-delay: .12s, .12s, .12s, 0s; }
.ex .hero-h .hero-rot-w.is-out { opacity: 0; transform: translateY(-.3em) skewX(-6deg); clip-path: inset(100% 0 0 0); }
@media (prefers-reduced-motion: reduce) {
	.ex .hero-h .hero-rot-w { transition: none; transform: none; }
}
.elementor-editor-active .ex .hero-h .hero-rot-w:not(.is-on) { display: none; }
.ex .hero-sub { margin-top: 20px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; color: var(--ex-text); }
.ex .hero-lead { max-width: 46ch; margin: 14px 0 34px; font-size: var(--ex-fs-lead); color: var(--ex-text-dim); }
.ex .hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.ex .hero-pc { display: flex; height: 56px; margin: 0; overflow: hidden; background: #fff; border-radius: 3px; transform: skewX(-10deg); }
.ex .hero-pc > * { transform: skewX(10deg); }
.ex .hero-pc input { width: 230px; height: 100%; padding: 0 22px; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none; font-size: 16px; font-weight: 500; color: var(--ex-ink-text); }
.ex .hero-pc input::placeholder { color: #5d6a86; }
.ex .hero-pc-go { display: flex; align-items: center; gap: 10px; height: 100%; margin-right: -8px; padding: 0 28px 0 24px; border: 0; border-radius: 0; background: var(--ex-green); color: var(--ex-green-ink); font-size: 16px; font-weight: 800; font-stretch: 110%; cursor: pointer; }
.ex .hero-pc-go:hover, .ex .hero-pc-go:focus { background: var(--ex-green-hi); color: var(--ex-green-ink); }
.ex .hero-pc-go svg { width: 18px; height: 18px; }
.ex .hero-pc:focus-within { outline: 2px solid var(--ex-green); outline-offset: 3px; }

.ex .hero-proof { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ex .hero-proof li { padding: 22px 0 26px 24px; border-top: 1px solid var(--ex-line); border-left: 1px solid var(--ex-line); }
.ex .hero-proof li:first-child { padding-left: 0; border-left: 0; }
.ex .hero-proof b { display: block; font-size: 26px; font-weight: 850; font-stretch: 120%; font-style: italic; line-height: 1.1; color: #fff; }
.ex .hero-proof span { font-size: var(--ex-fs-small); color: var(--ex-text-dim); }

/* one load moment */
@media (prefers-reduced-motion: no-preference) {
	.ex .hero-in > * { animation: ex-rise .9s var(--ex-ease) both; }
	.ex .hero-in > :nth-child(2) { animation-delay: .08s; }
	.ex .hero-in > :nth-child(3) { animation-delay: .18s; }
	.ex .hero-in > :nth-child(4) { animation-delay: .26s; }
	.ex .hero-in > :nth-child(5) { animation-delay: .34s; }
	@keyframes ex-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 640px) {
	.ex.hero { min-height: 0; justify-content: flex-start; }
	.ex .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3.2; margin-top: var(--ex-hdr); }
	.ex .hero-media::after { background: linear-gradient(0deg, var(--ex-hero-shade) 0%, transparent 45%); }
	.ex .hero-in { margin-top: -28px; padding-top: 0; padding-bottom: 32px; }
	.ex .hero-kick { margin-bottom: 16px; font-size: 11.5px; letter-spacing: .12em; }
	.ex .hero-h { font-size: clamp(44px, 13vw, 56px); }
	.ex .hero-sub { margin-top: 14px; font-size: 21px; }
	.ex .hero-lead { margin-bottom: 26px; font-size: 16.5px; }
	.ex .hero-acts { flex-direction: column; align-items: stretch; }
	.ex .hero-pc { width: 100%; }
	.ex .hero-pc input { flex: 1; width: auto; min-width: 0; padding: 0 16px; }
	.ex .hero-pc-go { padding: 0 22px 0 18px; }
	.ex .hero-acts .btn { width: 100%; }
	.ex .hero-proof { grid-template-columns: 1fr 1fr; }
	.ex .hero-proof li { padding: 16px 0 18px 16px; }
	.ex .hero-proof li:nth-child(odd) { padding-left: 0; border-left: 0; }
	.ex .hero-proof b { font-size: 22px; }
}
.elementor-editor-active .ex.hero { min-height: 760px; }
