/* ==========================================================================
   IntelliQube 2026 landing page
   Built from "DepotQube Web Design Page.psd" (approved 2026-08-19)
   ========================================================================== */

@font-face {
	font-family: 'Open Sauce One';
	src: url('../fonts/open-sauce-one-latin-400-normal.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Open Sauce One';
	src: url('../fonts/open-sauce-one-latin-500-normal.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Open Sauce One';
	src: url('../fonts/open-sauce-one-latin-900-normal.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Open Sauce Sans';
	src: url('../fonts/open-sauce-sans-latin-900-normal.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

.iq-hero, .iq-does, .iq-lab, .iq-tech, .iq-products, .iq-why {
	--iq-navy: #2F3E55;
	--iq-orange: #DD7A3E;
	--iq-orange-bright: #FE914F;
	--iq-gray: #4F4F4F;
	--iq-gray-light: #636363;
	font-family: 'Open Sauce One', Helvetica, Arial, sans-serif;
	color: #000;
	line-height: 1.4;
	overflow: hidden;
}

.iq-inner {
	max-width: 1660px;
	margin: 0 auto;
	padding: 0 clamp(28px, 4.5vw, 80px);
}

/* --- Shared type ------------------------------------------------------- */

.iq-eyebrow {
	font-size: clamp(18px, 1.8vw, 30px);
	font-weight: 500;
	color: var(--iq-gray-light);
	text-transform: uppercase;
	margin: 0 0 10px;
}

.iq-h2 {
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(24px, 1.9vw, 32px);
	color: #000;
	margin: 0 0 18px;
}

.iq-h2--medium {
	font-family: 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 500;
}

.iq-lead {
	font-size: clamp(15px, 1.15vw, 20px);
	font-weight: 500;
	max-width: 1500px;
	margin: 0 0 40px;
}

.iq-card h3 {
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(17px, 1.35vw, 24px);
	color: #000;
	margin: 18px 0 12px;
}

.iq-card p {
	font-size: clamp(14px, 1vw, 17px);
	color: var(--iq-gray);
	margin: 0;
}

.iq-card__icon {
	height: 110px;
	display: flex;
	align-items: flex-end;
}

.iq-card__icon img {
	max-height: 110px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

/* --- Buttons ----------------------------------------------------------- */

.iq-btn {
	display: inline-block;
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	border: 3px solid var(--iq-orange-bright);
	padding: 12px 34px;
	transition: background-color .2s ease, color .2s ease;
}

.iq-btn--hero {
	color: #fff;
	background: rgba(255, 255, 255, .06);
	font-size: clamp(16px, 1.3vw, 24px);
}

.iq-btn--hero:hover,
.iq-btn--hero:focus {
	background: var(--iq-orange-bright);
	color: #fff;
	text-decoration: none;
}

.iq-btn--navy {
	color: var(--iq-navy);
	border-color: var(--iq-orange);
	background: rgba(255, 255, 255, .35);
	font-size: clamp(16px, 1.3vw, 24px);
}

.iq-btn--navy:hover,
.iq-btn--navy:focus {
	background: var(--iq-navy);
	border-color: var(--iq-navy);
	color: #fff;
	text-decoration: none;
}

/* --- Hero -------------------------------------------------------------- */

.iq-hero {
	background: linear-gradient(180deg, #973525 0%, #593D57 48%, #062F78 100%);
	color: #fff;
}

.iq-hero__inner {
	max-width: 1660px;
	margin: 0 auto;
	padding: 48px clamp(28px, 4.5vw, 80px) 40px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"content mascot"
		"stats   stats";
	align-items: start;
	column-gap: 30px;
}

.iq-hero__content { grid-area: content; }

.iq-hero__content h1 {
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(40px, 4.9vw, 92px);
	line-height: 1.05;
	color: #fff;
	margin: 0 0 24px;
}

.iq-hero__content > p {
	font-size: clamp(18px, 2.1vw, 40px);
	line-height: 1.25;
	max-width: 21em;
	margin: 0 0 34px;
}

.iq-hero__cta {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.iq-hero__cta img {
	width: clamp(170px, 13.5vw, 264px);
	height: auto;
}

.iq-hero__mascot {
	grid-area: mascot;
	align-self: center;
}

.iq-hero__mascot img {
	width: clamp(200px, 26vw, 500px);
	height: auto;
	display: block;
}

.iq-hero__stats {
	grid-area: stats;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 60px;
	margin: 44px 0 0;
	padding: 0;
}

.iq-hero__stats li {
	flex: 1 1 200px;
	max-width: 360px;
}

.iq-hero__stats strong {
	display: block;
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(28px, 2.4vw, 46px);
	line-height: 1.1;
	margin-bottom: 6px;
}

.iq-hero__stats span {
	font-size: clamp(15px, 1.4vw, 26px);
	font-weight: 500;
	line-height: 1.25;
}

/* --- What IntelliQube does --------------------------------------------- */

.iq-does {
	/* Fixed-pixel stops keep the fade below the text at any height:
	   text always sits on >= #ECECEC (4.5:1+ for the #4F4F4F body copy). */
	background: linear-gradient(to top, #757675 0, #BFBFBF 70px, #ECECEC 150px, #fff 250px);
	background-color: #fff;
	padding: 56px 0 150px;
}

.iq-does__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 70px;
}

/* --- Lab test results --------------------------------------------------- */

.iq-lab {
	background: #fff;
	padding: 60px 0 40px;
}

.iq-lab__band {
	position: relative;
	margin: 10px 0 30px;
}

.iq-lab__band-img {
	display: block;
	width: 100%;
	max-width: 1615px;
	height: auto;
}

.iq-lab__mascot {
	position: absolute;
	right: 0;
	bottom: -13%;
	width: clamp(140px, 24.5vw, 472px);
	height: auto;
}

.iq-lab__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 90px;
	position: relative;
	z-index: 1;
}

.iq-lab__grid .iq-card { text-align: center; }
.iq-lab__grid .iq-card__icon { justify-content: center; margin: 0 auto; }
.iq-lab__grid .iq-card p { font-size: clamp(15px, 1.15vw, 20px); color: #000; }

.iq-lab__note {
	font-size: clamp(15px, 1.15vw, 22px);
	color: var(--iq-gray-light);
	margin: 44px 0 0;
}

/* --- The technology ----------------------------------------------------- */

.iq-tech {
	background: #fff;
	padding: 40px 0 60px;
}

.iq-tech__grid {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	gap: 40px 70px;
	align-items: center;
}

.iq-tech__image img {
	width: 100%;
	height: auto;
	display: block;
}

.iq-tech__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 70px;
}

.iq-tech__stats .iq-card { text-align: center; }
.iq-tech__stats .iq-card__icon { justify-content: center; margin: 0 auto; }

/* --- Products ----------------------------------------------------------- */

.iq-products {
	background: linear-gradient(180deg, #FDFDFD 0%, #BDBDBD 55%, #6F6F6E 100%);
	padding: 56px 0 64px;
}

.iq-products__logo {
	width: clamp(180px, 14vw, 268px);
	height: auto;
	margin-bottom: 36px;
}

.iq-products__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 70px;
	max-width: 1500px;
	margin: 0 auto;
}

.iq-product img {
	width: 100%;
	max-width: 404px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.iq-product h3 {
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(18px, 1.35vw, 24px);
	color: var(--iq-navy);
	margin: 26px 0 14px;
}

.iq-product ul {
	list-style: square;
	margin: 0;
	padding: 0 0 0 20px;
}

.iq-product li {
	font-size: clamp(14px, 1.1vw, 19px);
	font-weight: 500;
	margin-bottom: 4px;
}

.iq-products__btn-container {
	text-align: center;
	margin-top: 54px;
}

/* --- Why IntelliQube ----------------------------------------------------- */

.iq-why {
	background: #fff url('../img/cube-pattern-bg.jpg') center / cover no-repeat;
	padding: 70px 0;
}

.iq-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 55%);
	gap: 40px 50px;
	align-items: center;
}

.iq-why__grid h2 {
	font-family: 'Open Sauce Sans', 'Open Sauce One', Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(30px, 3.2vw, 62px);
	white-space: nowrap;
	color: #000;
	margin: 0;
	/* Soft scrim mutes the cube-pattern lines behind the letters (WCAG 1.4.3). */
	width: fit-content;
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 0 30px 30px rgba(255, 255, 255, .85);
	border-radius: 8px;
}

.iq-why__video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.iq-why__video iframe,
.iq-why__facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.iq-why__facade {
	display: block;
	padding: 0;
	cursor: pointer;
	background: #000;
}

.iq-why__facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iq-why__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 92px;
	height: 64px;
	background: rgba(0, 0, 0, .72);
	border-radius: 14px;
	transition: background-color .2s ease;
}

.iq-why__play::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent #fff;
}

.iq-why__facade:hover .iq-why__play,
.iq-why__facade:focus .iq-why__play {
	background: var(--iq-orange-bright);
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1100px) {
	.iq-does__grid,
	.iq-lab__grid,
	.iq-products__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 50px;
	}

	.iq-tech__grid {
		grid-template-columns: 1fr;
	}

	.iq-tech__image img {
		max-width: 560px;
	}
}

@media (max-width: 760px) {
	.iq-hero__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"content"
			"mascot"
			"stats";
	}

	.iq-hero__mascot {
		justify-self: center;
		margin-top: 24px;
	}

	.iq-hero__mascot img {
		width: min(66vw, 300px);
	}

	.iq-hero__stats {
		gap: 24px 30px;
	}

	.iq-hero__stats li {
		flex: 1 1 40%;
	}

	.iq-does__grid,
	.iq-lab__grid,
	.iq-tech__stats,
	.iq-products__grid {
		grid-template-columns: 1fr;
	}

	.iq-card__icon { height: auto; }
	.iq-card__icon img { max-height: 90px; }

	.iq-lab__mascot {
		width: 34vw;
		bottom: -8%;
	}

	.iq-why__grid {
		grid-template-columns: 1fr;
	}

	.iq-why__grid h2 { text-align: center; margin: 0 auto; }
}
