/* © Copyright 2026 - All Rights Reserved - Canadian Data Solutions */
/* Front Door Hero. The Website Hero Builder. */

.fdh {
	--rev: "ehbpeefkcd5kwi9s0ed0vgoyst72a21e8rm674hy";
	--fdh-bg: #0a0a12;
	--fdh-text: #ffffff;
	--fdh-button-bg: #ffffff;
	--fdh-button-text: #0a0a12;
	--fdh-head: 225, 4, 21;
	--fdh-mid: 255, 210, 26;
	--fdh-tail: 30, 107, 255;
	--fdh-logo-width: 220px;
	--fdh-height: 640px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: 100vh;
	min-height: 100svh;
	margin-top: 0;
	margin-bottom: 0;
	padding: clamp(72px, 9vh, 140px) clamp(20px, 5vw, 120px);
	overflow: hidden;
	isolation: isolate;
	background-color: var(--fdh-bg);
	color: var(--fdh-text);
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
	container-type: inline-size;
}

/* Dragging the mouse plays with the fire, so nothing in the hero can be highlighted. */
.fdh,
.fdh * {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.fdh *,
.fdh *::before,
.fdh *::after {
	box-sizing: border-box;
}

.fdh.fdh--height-custom {
	min-height: var(--fdh-height);
}

.fdh.fdh--full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.fdh .fdh__canvas,
.fdh .fdh__fallback {
	position: absolute;
	inset: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
}

.fdh .fdh__canvas {
	z-index: 0;
	display: block;
}

/* The backup picture. Shown when the moving hero cannot run or motion is turned down. */
.fdh .fdh__fallback {
	z-index: 0;
	display: none;
	background-image:
		radial-gradient(ellipse 34% 30% at 76% 42%, rgba(255, 250, 225, 0.85) 0%, rgba(var(--fdh-head), 0.95) 22%, rgba(var(--fdh-head), 0.35) 60%, rgba(var(--fdh-head), 0) 100%),
		radial-gradient(ellipse 52% 26% at 52% 50%, rgba(var(--fdh-mid), 0.85) 0%, rgba(var(--fdh-mid), 0.28) 60%, rgba(var(--fdh-mid), 0) 100%),
		radial-gradient(ellipse 62% 20% at 24% 58%, rgba(var(--fdh-tail), 0.75) 0%, rgba(var(--fdh-tail), 0.2) 60%, rgba(var(--fdh-tail), 0) 100%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* A backup picture: a wide one, and a tall one for upright screens when there is one. */
.fdh .fdh__fallback.fdh__fallback--image {
	background-image: var(--fdh-still);
	background-size: cover;
}

@media (orientation: portrait) {
	.fdh .fdh__fallback.fdh__fallback--image {
		background-image: var(--fdh-still-tall, var(--fdh-still));
	}
}

.fdh.fdh--static .fdh__canvas {
	display: none;
}

.fdh.fdh--static .fdh__fallback {
	display: block;
}

.fdh .fdh__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(18px, 2.4vw, 44px);
	width: 100%;
	max-width: min(100%, max(92rem, 78vw));
	margin: 0;
	padding: 0;
	text-align: center;
}

.fdh.fdh--align-left .fdh__inner {
	align-items: flex-start;
	text-align: left;
}

.fdh.fdh--align-right .fdh__inner {
	align-items: flex-end;
	text-align: right;
}

.fdh .fdh__logo {
	display: block;
	width: var(--fdh-logo-width);
	max-width: min(100%, 70vw);
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
}

/* Slides share one cell, so the hero never jumps when the words change. */
.fdh .fdh__slides {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	margin: 0;
	padding: 0;
}

.fdh .fdh__slide {
	grid-area: 1 / 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: inherit;
	gap: clamp(8px, 1vw, 20px);
	margin: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}

.fdh.fdh--align-center .fdh__slide {
	align-items: center;
}

.fdh.fdh--align-left .fdh__slide {
	align-items: flex-start;
}

.fdh.fdh--align-right .fdh__slide {
	align-items: flex-end;
}

.fdh .fdh__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s, visibility 0s linear 0s;
}

.fdh .fdh__eyebrow,
.fdh .fdh__headline,
.fdh .fdh__sub {
	margin: 0;
	padding: 0;
	color: var(--fdh-text);
	font-family: inherit;
	text-transform: none;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.35);
}

.fdh .fdh__eyebrow {
	font-size: clamp(0.95rem, 1.15vw, 2rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.14em;
	opacity: 0.92;
}

.fdh .fdh__headline {
	min-width: 0;
	max-width: 100%;
	font-size: clamp(2.1rem, 5vw, 9rem);
	font-size: clamp(2.1rem, 5.5cqw, 9rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.015em;
	white-space: normal;
	text-wrap: balance;
}

.fdh.fdh--size-small .fdh__headline {
	font-size: clamp(1.75rem, 3.6vw, 6.5rem);
	font-size: clamp(1.75rem, 4cqw, 6.5rem);
}

.fdh.fdh--size-large .fdh__headline {
	font-size: clamp(2.4rem, 6.6vw, 12rem);
	font-size: clamp(2.4rem, 7.3cqw, 12rem);
}

.fdh .fdh__sub {
	max-width: 46em;
	font-size: clamp(1.05rem, 1.45vw, 2.6rem);
	font-weight: 400;
	line-height: 1.5;
	white-space: normal;
	overflow-wrap: break-word;
	text-wrap: balance;
	opacity: 0.94;
}

.fdh .fdh__button,
.fdh .fdh__button:link,
.fdh .fdh__button:visited {
	display: inline-block;
	margin: 0;
	padding: 0.95em 2.1em;
	border: 0;
	border-radius: 999px;
	background-color: var(--fdh-button-bg);
	color: var(--fdh-button-text);
	font-family: inherit;
	font-size: clamp(1rem, 1.15vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: none;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.fdh .fdh__button:hover,
.fdh .fdh__button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	opacity: 0.94;
	color: var(--fdh-button-text);
	text-decoration: none;
}

.fdh .fdh__button:focus-visible {
	outline: 3px solid var(--fdh-text);
	outline-offset: 4px;
}

/* Large screens: the logo grows with the page so it does not look lost. */
@media (min-width: 2400px) {
	.fdh .fdh__logo {
		width: calc(var(--fdh-logo-width) * 1.4);
	}
}

@media (min-width: 3200px) {
	.fdh .fdh__logo {
		width: calc(var(--fdh-logo-width) * 1.8);
	}
}

/* Trim only: a see through button with a fat outline, so the fire shows behind it. */
.fdh.fdh--button-outline .fdh__button,
.fdh.fdh--button-outline .fdh__button:link,
.fdh.fdh--button-outline .fdh__button:visited {
	padding: calc(0.95em - 3px) calc(2.1em - 3px);
	border: 3px solid var(--fdh-button-bg);
	border-width: clamp(3px, 0.22cqw, 6px);
	background-color: transparent;
	color: var(--fdh-button-bg);
	box-shadow: none;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fdh.fdh--button-outline .fdh__button:hover,
.fdh.fdh--button-outline .fdh__button:focus-visible {
	background-color: var(--fdh-button-bg);
	color: var(--fdh-button-text);
	box-shadow: none;
	text-shadow: none;
	opacity: 1;
}

@media (max-width: 600px) {
	.fdh {
		padding: 84px 20px;
	}

	.fdh .fdh__logo {
		max-width: 62vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fdh .fdh__slide,
	.fdh .fdh__slide.is-active,
	.fdh .fdh__button {
		transition: none;
	}

	.fdh .fdh__slide {
		transform: none;
	}
}
/* © Copyright 2026 - All Rights Reserved - Canadian Data Solutions */
