/* ==========================================================================
   Integrate IQ — main.css
   Tokens, reset, layout, navigation, hero, popup, utilities.
   Section-specific styles are appended as sections are built.
   ========================================================================== */

/* --- Tokens --- */
:root {
	--iiq-white: #FFFFFF;
	--iiq-ink: #000B1B;          /* Neutral/900 from Figma */
	--iiq-ink-95: rgba(0, 11, 27, 0.95);
	--iiq-w-95: rgba(255, 255, 255, 0.95);
	--iiq-w-60: rgba(255, 255, 255, 0.6);
	--iiq-w-40: rgba(255, 255, 255, 0.4);
	--iiq-w-20: rgba(255, 255, 255, 0.2);
	--iiq-w-10: rgba(255, 255, 255, 0.1);

	--iiq-radius-pill: 48px;
	--iiq-radius-card: 24px;

	--iiq-container: 1280px;
	--iiq-gutter: 80px;

	--iiq-font-display: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	--iiq-font-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--iiq-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--iiq-font-display);
	font-weight: 400;
	color: var(--iiq-ink);
	background: var(--iiq-w-95);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

.iiq-skip-link {
	position: absolute; left: -10000px; top: auto;
	background: var(--iiq-ink); color: #fff; padding: 12px 16px;
	z-index: 9999;
}
.iiq-skip-link:focus { left: 16px; top: 16px; }

/* --- Mono utility --- */
.iiq-mono {
	font-family: var(--iiq-font-mono);
	font-size: 12px;
	line-height: 24px;
	text-transform: uppercase;
	letter-spacing: -0.04em;
}

/* --- Buttons --- */
.iiq-btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: var(--iiq-radius-pill);
	font-size: 16px;
	line-height: 24px;
	font-family: var(--iiq-font-display);
	transition: transform 0.35s var(--iiq-ease),
				background-color 0.3s var(--iiq-ease),
				box-shadow 0.45s var(--iiq-ease),
				opacity 0.2s var(--iiq-ease);
	white-space: nowrap;
}
.iiq-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18),
				0 0 48px rgba(140, 200, 255, 0.35);
}
.iiq-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.iiq-btn--sm { padding: 10px 16px; font-size: 14px; line-height: 20px; }
.iiq-btn--block { width: 100%; }
.iiq-btn--white { background-color: #fff; color: var(--iiq-ink); }
/* Cool blue-tinted shimmer for white buttons (white-on-white wouldn't show) */
.iiq-btn--white::before {
	background-image: linear-gradient(
		110deg,
		transparent 25%,
		rgba(140, 200, 255, 0.5) 50%,
		transparent 75%
	);
}
.iiq-btn--white:hover {
	background-color: #fff;
	box-shadow: 0 8px 24px rgba(140, 200, 255, 0.35),
				0 0 56px rgba(180, 220, 255, 0.5);
}
/* Liquid-glass variant — used by "View Our Solutions" (hero) and "Contact Our Team" (CTA).
   Blur is dialed high so the effect is pronounced when there's a varied background behind it. */
.iiq-btn--ghost {
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.16),
		rgba(255, 255, 255, 0.06)
	);
	backdrop-filter: blur(32px) saturate(160%);
	-webkit-backdrop-filter: blur(32px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.45),    /* sharp glass top edge */
		inset 0 -1px 0 rgba(0, 0, 0, 0.3);          /* depth shadow at bottom */
	transition: transform 0.35s var(--iiq-ease),
				background 0.4s var(--iiq-ease),
				border-color 0.4s var(--iiq-ease),
				box-shadow 0.45s var(--iiq-ease),
				opacity 0.2s var(--iiq-ease);
}
.iiq-btn--ghost:hover {
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.22),
		rgba(255, 255, 255, 0.1)
	);
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.55),
		inset 0 -1px 0 rgba(0, 0, 0, 0.3),
		0 8px 24px rgba(255, 255, 255, 0.18),
		0 0 56px rgba(140, 200, 255, 0.45);
}
.iiq-btn--ink { background-color: var(--iiq-ink); color: #fff; }
.iiq-btn--ink:hover {
	box-shadow: 0 8px 24px rgba(255, 255, 255, 0.22),
				0 0 56px rgba(140, 200, 255, 0.45);
}

@media (prefers-reduced-motion: reduce) {
	.iiq-btn,
	.iiq-btn::before { transition: none; }
	.iiq-btn:hover { transform: none; }
}

/* --- Pill (eyebrow badge) — Figma spec + liquid glass edges + looping animation --- */
.iiq-pill {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	padding: 6px 16px;
	border-radius: 48px;
	background: rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(20px) saturate(160%);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	color: #fff;
	font-family: var(--iiq-font-mono);
	font-size: 12px;
	line-height: 24px;
	text-transform: uppercase;
	letter-spacing: -0.04em;
	white-space: nowrap;
	width: max-content;
	max-width: 100%;
	/* Soft breathing glow loop */
	animation: iiq-pill-breathe 4.5s ease-in-out infinite;
}
/* Periodic shimmer sweep */
.iiq-pill::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: linear-gradient(
		110deg,
		transparent 30%,
		rgba(255, 255, 255, 0.35) 50%,
		transparent 70%
	);
	background-size: 220% 100%;
	background-position: 200% 0;
	background-repeat: no-repeat;
	animation: iiq-pill-shimmer 5.5s ease-in-out infinite;
	pointer-events: none;
	z-index: -1;
}

@keyframes iiq-pill-breathe {
	0%, 100% {
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.4),     /* glass top edge highlight */
			inset 0 -1px 0 rgba(0, 0, 0, 0.25),         /* glass bottom edge shadow */
			0 4px 16px rgba(0, 0, 0, 0.25),             /* outer depth shadow */
			0 0 0 0 rgba(140, 200, 255, 0);
	}
	50% {
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.5),
			inset 0 -1px 0 rgba(0, 0, 0, 0.25),
			0 4px 16px rgba(0, 0, 0, 0.25),
			0 0 18px 0 rgba(140, 200, 255, 0.35);
	}
}
@keyframes iiq-pill-shimmer {
	0%, 35%   { background-position: 200% 0; }
	75%, 100% { background-position: -110% 0; }
}
@media (prefers-reduced-motion: reduce) {
	.iiq-pill,
	.iiq-pill::before { animation: none; }
}

/* --- Navigation --- */
.iiq-nav {
	position: fixed;
	top: 24px;
	left: var(--iiq-gutter);
	right: var(--iiq-gutter);
	z-index: 100;
}
/* Push below the WP admin bar when logged in (32px desktop / 46px mobile). */
body.admin-bar .iiq-nav { top: 56px; }
@media screen and (max-width: 782px) {
	body.admin-bar .iiq-nav { top: 62px; }
}
.iiq-nav {
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.16),
		rgba(255, 255, 255, 0.06)
	);
	backdrop-filter: blur(32px) saturate(160%);
	-webkit-backdrop-filter: blur(32px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--iiq-radius-pill);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.25),      /* glass top edge */
		0 8px 32px rgba(0, 0, 0, 0.25);               /* soft outer drop */
	transition: background 0.3s var(--iiq-ease),
				border-radius 0.3s var(--iiq-ease);
}
.iiq-nav.is-stuck {
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.18),
		rgba(255, 255, 255, 0.08)
	);
}
.iiq-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 12px 20px;
	position: relative;
}
.iiq-nav__logo { display: flex; align-items: center; gap: 14px; height: 36px; position: relative; }
.iiq-nav__logo-mark {
	width: 35px; height: 36px; flex-shrink: 0;
	/* Scroll-driven micro-animation: rotates up to 360° and gains a soft cyan
	   glow proportional to page scroll progress (0–1, set via JS as --iiq-logo-scroll). */
	transform: rotate(calc(var(--iiq-logo-scroll, 0) * 360deg));
	filter: drop-shadow(0 0 calc(var(--iiq-logo-scroll, 0) * 12px)
		rgba(140, 200, 255, calc(var(--iiq-logo-scroll, 0) * 0.55)));
	transition: filter 0.4s ease;
	will-change: transform, filter;
}
/* Faint ripple ring radiating from behind the icon on hover */
.iiq-nav__logo::before {
	content: '';
	position: absolute;
	left: 17px; top: 18px;
	width: 0; height: 0;
	border-radius: 50%;
	border: 1px solid rgba(140, 200, 255, 0);
	transform: translate(-50%, -50%);
	pointer-events: none;
	will-change: width, height, border-color;
}
.iiq-nav__logo:hover .iiq-nav__logo-mark {
	animation: iiq-logo-spin 0.9s cubic-bezier(0.33, 1, 0.68, 1);
	filter: drop-shadow(0 0 10px rgba(140, 200, 255, 0.7))
			drop-shadow(0 0 22px rgba(140, 200, 255, 0.35));
}
.iiq-nav__logo:hover::before {
	animation: iiq-logo-ripple 0.9s cubic-bezier(0.33, 1, 0.68, 1);
}
@keyframes iiq-logo-spin {
	/* Compose with the scroll-driven rotation so the hover spin starts from
	   the current orientation instead of snapping to 0deg. */
	0%   { transform: rotate(calc(var(--iiq-logo-scroll, 0) * 360deg))           scale(1);    }
	40%  { transform: rotate(calc(var(--iiq-logo-scroll, 0) * 360deg + 180deg)) scale(1.18); }
	100% { transform: rotate(calc(var(--iiq-logo-scroll, 0) * 360deg + 360deg)) scale(1);    }
}
@keyframes iiq-logo-ripple {
	0%   { width: 0;    height: 0;    border-color: rgba(140, 200, 255, 0.8); }
	100% { width: 80px; height: 80px; border-color: rgba(140, 200, 255, 0);   }
}
@media (prefers-reduced-motion: reduce) {
	.iiq-nav__logo:hover .iiq-nav__logo-mark { animation: none; filter: none; }
	.iiq-nav__logo:hover::before { animation: none; }
}
.iiq-nav__logo-text { width: 148px; height: 24px; flex-shrink: 0; filter: brightness(0) invert(1); }
.iiq-nav__menu {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	display: flex; gap: 32px;
}
.iiq-nav__menu a {
	position: relative;
	color: #fff; font-size: 14px; line-height: 1.5;
}
.iiq-nav__menu a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.4s var(--iiq-ease);
}
.iiq-nav__menu a:hover::after,
.iiq-nav__menu a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left center;
}
.iiq-nav__toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.iiq-nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.2s var(--iiq-ease); }
.iiq-nav__mobile { display: none; }

/* Mobile nav */
@media (max-width: 900px) {
	.iiq-nav { left: 16px; right: 16px; top: 16px; }
	/* Tighten the logo-side padding so it visually matches the gap on the
	   hamburger side (12px outer + 8px toggle inner padding). */
	.iiq-nav__inner { padding: 12px; }
	.iiq-nav__menu { display: none; }
	.iiq-nav__inner > .iiq-btn { display: none; }
	.iiq-nav__toggle { display: flex; }

	/* Open state: morph the pill into a tall glass card. The .iiq-nav__mobile
	   sits INSIDE the same glass container — no separate bg, no margin, no
	   second border-radius — so the menu feels like part of the same surface. */
	.iiq-nav.is-open { border-radius: 24px; }

	.iiq-nav__mobile {
		display: flex;
		flex-direction: column;
		padding: 8px 24px 24px;
	}
	.iiq-nav__mobile a {
		position: relative;
		display: block;
		color: #fff;
		font-size: 20px;
		font-weight: 400;
		line-height: 1.2;
		padding: 14px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	/* Last menu link sits above the CTA button — drop its divider */
	.iiq-nav__mobile a:last-of-type { border-bottom: none; }
	/* Disable the desktop-style underline animation on mobile menu items */
	.iiq-nav__mobile a::after { display: none; }
	/* CTA: full-width white pill at the bottom of the menu, 40px tall */
	.iiq-nav__mobile .iiq-btn {
		width: 100%;
		height: 40px;
		margin-top: 16px;
		padding: 0 24px;
		font-size: 14px;
		line-height: 20px;
	}
	.iiq-nav__mobile[hidden] { display: none; }

	/* Hamburger → X animation when open */
	.iiq-nav.is-open .iiq-nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.iiq-nav.is-open .iiq-nav__toggle span:nth-child(2) { opacity: 0; }
	.iiq-nav.is-open .iiq-nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* --- Hero --- */
.iiq-hero {
	position: relative;
	min-height: 100vh;
	background: var(--iiq-ink);
	color: #fff;
	overflow: hidden;
	padding: 0 var(--iiq-gutter) 64px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.iiq-hero__bg { position: absolute; inset: 0; z-index: 0; }
.iiq-hero__bg-img,
.iiq-hero__bg-video {
	width: 100%; height: 100%; object-fit: cover;
	display: block;
}
.iiq-hero__bg-video--mobile { display: none; }
/* Mobile video is portrait (1080x1920) — show it on any portrait viewport
   (phones + tablets in portrait), and on narrow viewports regardless of
   orientation (covers phones in landscape). */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1024px) {
	.iiq-hero__bg-video--desktop { display: none; }
	.iiq-hero__bg-video--mobile { display: block; }
}
.iiq-hero__bg-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		rgba(10, 10, 10, 0.21) 0%,
		rgba(10, 10, 10, 0.55) 60%,
		rgba(10, 10, 10, 0.85) 85%,
		#0a0a0a 100%);
}
.iiq-hero__inner {
	position: relative; z-index: 1;
	max-width: var(--iiq-container);
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding-bottom: 0;
}
.iiq-hero__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
}
.iiq-hero__title-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1 1 auto;
	min-width: 0;
}
.iiq-hero__title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 64px;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--iiq-w-60);
}
.iiq-hero__title-strong,
.iiq-hero__title-soft { display: block; }
.iiq-hero__title-strong { color: var(--iiq-w-95); }
.iiq-hero__title-soft { color: var(--iiq-w-60); }
.iiq-hero__ctas { display: flex; gap: 16px; align-items: center; flex-wrap: nowrap; flex-shrink: 0; }
.iiq-hero__rule { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); margin: 0; }
.iiq-hero__bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
}
/* .iiq-hero__scroll is now also .iiq-btn .iiq-btn--ghost .iiq-btn--sm — appearance comes
   from the button system. This rule remains for any layout-specific tweaks. */
.iiq-hero__lede {
	max-width: 495px;
	font-size: 20px;
	line-height: 1.5;
	color: #fff;
}

@media (max-width: 900px) {
	.iiq-hero { padding: 0 16px 48px; }
	.iiq-hero__inner { gap: 32px; }
	.iiq-hero__top { flex-direction: column; align-items: stretch; gap: 24px; }
	.iiq-hero__title-wrap { gap: 16px; }
	.iiq-hero__title { font-size: 36px; line-height: 1.1; }
	/* All buttons site-wide drop to 14px on mobile */
	.iiq-btn { font-size: 14px; line-height: 20px; }
	/* Compact CTAs side-by-side instead of full-width stacked */
	.iiq-hero__ctas { flex-wrap: nowrap; gap: 8px; align-items: stretch; }
	.iiq-hero__ctas .iiq-btn {
		flex: 1 1 0;
		padding: 10px 14px;
	}
	/* Drop the scroll-down button and the divider above it on mobile */
	.iiq-hero__rule { display: none; }
	.iiq-hero__scroll { display: none; }
	.iiq-hero__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
	.iiq-hero__lede { font-size: 16px; }
	/* Pill eyebrows: smaller type + smaller icons site-wide on mobile */
	.iiq-pill { font-size: 10px; line-height: 20px; padding: 4px 12px; gap: 6px; }
	.iiq-pill > img,
	.iiq-pill > svg { width: 14px; height: 14px; }
}

/* --- Popup / Modal (dark glass) --- */
.iiq-popup {
	position: fixed; inset: 0; z-index: 1000;
	padding: 40px 16px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.iiq-popup[hidden] { display: none; }
.iiq-popup__overlay {
	position: fixed; inset: 0;
	background: rgba(10, 10, 10, 0.55);
	backdrop-filter: blur(20px) saturate(140%);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
}
.iiq-popup__panel {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin: 0 auto;
	background: rgba(20, 22, 28, 0.85);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 28px;
	padding: 40px;
	color: #fff;
	box-shadow:
		0 30px 80px -20px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	animation: iiq-popup-in 0.3s var(--iiq-ease);
}
@keyframes iiq-popup-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
.iiq-popup__close {
	position: absolute; top: 20px; right: 20px;
	width: 32px; height: 32px;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.06);
	transition: background 0.2s var(--iiq-ease), color 0.2s var(--iiq-ease);
}
.iiq-popup__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.iiq-popup__close svg { display: block; }

.iiq-popup__header { margin-bottom: 28px; }
.iiq-popup__title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 32px;
	line-height: 1.15;
	color: var(--iiq-w-95);
	letter-spacing: -0.01em;
	margin-bottom: 12px;
}
.iiq-popup__subtitle {
	font-size: 14px;
	line-height: 1.5;
	color: var(--iiq-w-60);
}

/* --- Form (dark glass variant) --- */
.iiq-form { display: flex; flex-direction: column; gap: 18px; }
.iiq-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.iiq-form__label {
	font-family: var(--iiq-font-display);
	font-size: 14px;
	font-weight: 400;
	color: var(--iiq-w-95);
	padding: 0;
}
.iiq-form__req { color: var(--iiq-w-60); margin-left: 2px; }
.iiq-form__field input[type="text"],
.iiq-form__field input[type="email"],
.iiq-form__field input[type="tel"],
.iiq-form__field select,
.iiq-form__field textarea {
	font: inherit;
	color: #fff;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	transition: border-color 0.2s var(--iiq-ease), background 0.2s var(--iiq-ease), box-shadow 0.2s var(--iiq-ease);
	width: 100%;
}
.iiq-form__field textarea {
	border-radius: 20px;
	resize: vertical;
	min-height: 110px;
	padding: 14px 18px;
}
.iiq-form__field input::placeholder,
.iiq-form__field textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}
.iiq-form__field input:focus,
.iiq-form__field select:focus,
.iiq-form__field textarea:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.iiq-form__field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.55)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 12px 8px;
	padding-right: 44px;
}
.iiq-form__field select option {
	background: #14161c;
	color: #fff;
}

/* Solutions of Interest checkbox grid */
.iiq-form__field--checks { gap: 14px; }
.iiq-form__field--checks .iiq-form__label { display: block; }
.iiq-form__checks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 16px;
}
.iiq-form__check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}
.iiq-form__check input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}
.iiq-form__check-box {
	width: 18px;
	height: 18px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.15s var(--iiq-ease), background 0.15s var(--iiq-ease);
}
.iiq-form__check input:checked + .iiq-form__check-box {
	background: #fff;
	border-color: #fff;
}
.iiq-form__check input:checked + .iiq-form__check-box::after {
	content: "";
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--iiq-ink);
	border-bottom: 2px solid var(--iiq-ink);
	transform: rotate(-45deg) translate(1px, -1px);
}
.iiq-form__check input:focus-visible + .iiq-form__check-box {
	outline: 2px solid rgba(255, 255, 255, 0.4);
	outline-offset: 2px;
}
.iiq-form__check-label {
	font-size: 14px;
	color: var(--iiq-w-95);
}

.iiq-form__honeypot {
	position: absolute; left: -10000px; top: auto;
	width: 1px; height: 1px; overflow: hidden;
}

.iiq-popup__panel .iiq-form button[type="submit"] {
	margin-top: 8px;
	padding: 14px 24px;
	font-size: 15px;
}

@media (max-width: 600px) {
	.iiq-popup__panel { padding: 28px 20px; border-radius: 24px; }
	.iiq-popup__title { font-size: 26px; }
	.iiq-form__checks { grid-template-columns: 1fr; }
}

/* --- Body lock when popup open --- */
body.iiq-no-scroll { overflow: hidden; }

/* --- Section base --- */
.iiq-section {
	padding: 96px var(--iiq-gutter);
}
.iiq-section--ink {
	background: var(--iiq-ink);
	color: #fff;
}
.iiq-section__inner {
	max-width: var(--iiq-container);
	margin: 0 auto;
}
.iiq-eyebrow {
	font-family: var(--iiq-font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 16px;
}
.iiq-section__title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 56px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin-bottom: 24px;
}

@media (max-width: 900px) {
	.iiq-section { padding: 64px 16px; }
	/* Mobile section headlines (Reliability override included) */
	.iiq-section__title,
	.iiq-reliability__title { font-size: 32px; }
}

/* --- Section: Reliability --- */
.iiq-reliability {
	background: #0a0a0a;
	/* Vertical padding only — horizontal gutter moves to the inner so the
	   carousel below can break out to the viewport edges. */
	padding: 120px 0;
	overflow: hidden;
}
.iiq-reliability .iiq-section__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
	padding: 0 var(--iiq-gutter);
}
.iiq-reliability__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.iiq-reliability__title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 56px;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--iiq-w-95);
	margin-bottom: 0;
}
.iiq-reliability__lede {
	font-size: 16px;
	line-height: 1.5;
	color: var(--iiq-w-60);
	max-width: 641px;
}
.iiq-reliability__strip {
	/* Break out of the centered inner container so the carousel spans the
	   full viewport width. Classic negative-margin-to-viewport-edge pattern:
	   50% of parent width minus 50vw resolves to the offset needed to land
	   the strip's left edge exactly at the viewport's left edge. */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	/* Subtle edge blur — just enough to fade the slides into the section bg */
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
			mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.iiq-reliability__track {
	display: flex;
	gap: 24px;
	width: max-content;
	animation: iiq-reliability-scroll 36s linear infinite;
	will-change: transform;
}
.iiq-reliability__card {
	flex: 0 0 auto;
	width: clamp(280px, 32vw, 440px);
	height: 380px;
	border-radius: var(--iiq-radius-card);
	overflow: hidden;
	margin: 0;
	background: #111;
}
.iiq-reliability__card img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
@keyframes iiq-reliability-scroll {
	from { transform: translateX(0); }
	/* Track contains 2 copies of the slide set; -50% puts us at start of the 2nd copy = seamless loop */
	to   { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
	.iiq-reliability__track { animation: none; }
}

@media (max-width: 900px) {
	.iiq-reliability { padding: 64px 0; }
	.iiq-reliability .iiq-section__inner { gap: 48px; padding: 0 16px; }
	.iiq-reliability__title { font-size: 32px; }
	.iiq-reliability__track { gap: 12px; animation-duration: 28s; }
	.iiq-reliability__card { width: 80vw; height: 260px; }
	@keyframes iiq-reliability-scroll {
		from { transform: translateX(0); }
		to   { transform: translateX(calc(-50% - 6px)); }
	}
}

/* --- Section: About --- */
/* --- About: editorial, restrained, prose-led ---
   The founders' opening line serves as the section title (with the vision
   clause italicized for emphasis). Body, pillars, closer, and signature
   stack down a single column with calm spacing. No watermark numerals,
   no serif quote glyph, no callout borders — just confident typography. */
.iiq-about {
	background: #0a0a0a;
	padding: 120px var(--iiq-gutter);
}
.iiq-about__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
	max-width: 880px;
}
.iiq-about__head {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
/* Title takes the place of a separate lede — long sentence, large display,
   light weight. Italic span emphasizes the vision clause. */
.iiq-about__title {
	margin: 0;
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 36px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--iiq-w-95);
	max-width: 880px;
}
.iiq-about__title em {
	font-style: italic;
	color: var(--iiq-w-60);
}

.iiq-about__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 680px;
}
.iiq-about__body p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--iiq-w-60);
}

/* Pillars: clean 3-column row with subtle mono eyebrows and a hairline
   above each. No watermark numerals. Hover bumps the divider for a touch
   of feedback. */
.iiq-about__pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.iiq-about__pillar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	transition: border-color 0.4s var(--iiq-ease);
}
.iiq-about__pillar:hover {
	border-top-color: rgba(255, 255, 255, 0.4);
}
.iiq-about__pillar-num {
	font-family: var(--iiq-font-mono);
	font-size: 11px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.4);
}
.iiq-about__pillar-title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 24px;
	line-height: 1.2;
	color: var(--iiq-w-95);
	margin: 0;
}
.iiq-about__pillar-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--iiq-w-60);
	margin: 0;
}

/* Footer: closer line + founder signature. Sits on a thin top rule so it
   reads as a sign-off, not a separate callout. */
.iiq-about__foot {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.iiq-about__closer {
	margin: 0;
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 24px;
	line-height: 1.4;
	letter-spacing: -0.005em;
	color: var(--iiq-w-95);
	max-width: 760px;
}
.iiq-about__signature {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
.iiq-about__signature-name {
	font-family: var(--iiq-font-display);
	font-weight: 400;
	font-style: italic;
	font-size: 18px;
	line-height: 1.3;
	color: var(--iiq-w-95);
}
.iiq-about__signature-role {
	font-family: var(--iiq-font-mono);
	font-size: 11px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
	.iiq-about { padding: 64px 16px; }
	.iiq-about__inner { gap: 40px; }
	.iiq-about__head { gap: 20px; }
	.iiq-about__title { font-size: 26px; line-height: 1.3; }
	.iiq-about__pillars { grid-template-columns: 1fr; gap: 28px; }
	.iiq-about__pillar { padding-top: 20px; }
	.iiq-about__pillar-title { font-size: 22px; }
	.iiq-about__foot { padding-top: 32px; gap: 20px; }
	.iiq-about__closer { font-size: 20px; }
}

/* --- Section: Automation --- */
.iiq-automation { background: #0a0a0a; padding: 120px var(--iiq-gutter); }
.iiq-automation .iiq-section__inner { display: flex; flex-direction: column; gap: 80px; }
.iiq-automation__head { display: flex; flex-direction: column; gap: 16px; }
.iiq-automation__head .iiq-section__title { color: var(--iiq-w-95); margin-bottom: 0; }
.iiq-automation__rows { display: flex; flex-direction: column; gap: 40px; }
.iiq-automation__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
	height: 480px;
}
.iiq-automation__row.is-reverse .iiq-automation__card { order: 2; }
.iiq-automation__row.is-reverse .iiq-automation__media { order: 1; }
/* Solutions cards — Figma base spec + liquid glass edges */
.iiq-automation__card {
	background: rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border-radius: 24px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.4),       /* sharp glass top edge */
		inset 0 -1px 0 rgba(0, 0, 0, 0.3),            /* glass bottom edge shadow */
		0 4px 8px -3.273px rgba(15, 9, 82, 0.10),     /* Figma drop shadow (kept) */
		0 4px 8px -3.273px rgba(15, 9, 82, 0.04),     /* Figma drop shadow (kept) */
		0 12px 32px rgba(0, 0, 0, 0.25);              /* extra depth for glass feel */
	padding: 48px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
	overflow: hidden;
}
.iiq-automation__card-head { display: flex; flex-direction: column; gap: 16px; }
.iiq-automation__card-title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 32px;
	line-height: 1.2;
	color: var(--iiq-w-95);
}
.iiq-automation__card-lede {
	font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.8);
}
.iiq-automation__features {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 16px;
}
.iiq-automation__features li {
	display: flex; align-items: center; gap: 12px;
	font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.8);
}
.iiq-automation__feature-icon {
	width: 32px; height: 32px;
	border-radius: 40px;
	background: var(--iiq-w-10);
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.iiq-automation__media {
	margin: 0;
	border-radius: var(--iiq-radius-card);
	overflow: hidden;
	height: 100%;
	background: #111;
}
.iiq-automation__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	.iiq-automation { padding: 64px 16px; }
	.iiq-automation .iiq-section__inner { gap: 48px; }
	.iiq-automation__rows { gap: 16px; }
	.iiq-automation__row {
		grid-template-columns: 1fr;
		gap: 16px;
		height: auto;
		min-height: 0;
	}
	.iiq-automation__card {
		height: auto;
		min-height: 0;
		overflow: visible;
		padding: 32px;
	}
	.iiq-automation__card-title { font-size: 24px; }
	.iiq-automation__media {
		height: auto;
		aspect-ratio: 16 / 11;
	}
	.iiq-automation__row.is-reverse .iiq-automation__card,
	.iiq-automation__row.is-reverse .iiq-automation__media { order: unset; }
	.iiq-automation__media img { min-height: 0; }
}

/* --- Section: Process --- */
.iiq-process { background: #0a0a0a; padding: 120px var(--iiq-gutter); }
.iiq-process__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}
.iiq-process__head { display: flex; flex-direction: column; gap: 16px; }
.iiq-process__head .iiq-section__title { color: var(--iiq-w-95); margin-bottom: 0; }
.iiq-process__lede { font-size: 16px; line-height: 1.5; color: var(--iiq-w-60); max-width: 641px; }
.iiq-process__steps {
	list-style: none; margin: 0; padding-top: 48px;
	display: flex; flex-direction: column; gap: 64px;
	position: relative;
	/* Stacking context lives on the container, not on each step. This way ALL connectors
	   (z-index:-1) paint together first, then ALL step contents (icons) paint over them
	   in one pass — no risk of one step's connector leaking over the next step's icon. */
	isolation: isolate;
}
.iiq-process__step {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	row-gap: 8px;
	position: relative;
	/* Dimming applied to sub-elements (img, title, text) instead of via `opacity` on
	   the step. Opacity here would create a compositing layer that lets the connector
	   line bleed through the icon's opaque background — this avoids that. */
}
/* Connector line: from this step's icon center down to the next step's icon center.
   - top: 24px = vertical center of this step's icon (icon is 48px tall, anchored at step top)
   - bottom: -88px = step's bottom + 64px gap + 24px to reach next icon's center
   - z-index: -1 (with isolation:isolate above) keeps it behind the icon, so the icon visually
	 "interrupts" the line for that polished connected-dots look. */
.iiq-process__step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 24px;
	bottom: -88px;
	width: 1px;
	background: rgba(255, 255, 255, 0.18);
	z-index: -1;
	transition: background 0.4s var(--iiq-ease), box-shadow 0.4s var(--iiq-ease);
}
.iiq-process__step.is-active:not(:last-child)::before {
	background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(140,200,255,0.6));
	box-shadow: 0 0 8px rgba(140, 200, 255, 0.5);
}
/* Default dim state (applied to sub-elements so the icon container stays fully opaque).
   filter forces all icons to pure white regardless of their source SVG fill — this way
   active icons all become uniformly bright instead of just whichever SVG was white. */
.iiq-process__step-icon img {
	opacity: 0.4;
	filter: brightness(0) invert(1);
	transition: opacity 0.4s var(--iiq-ease);
}
.iiq-process__step-title,
.iiq-process__step-text {
	transition: color 0.4s var(--iiq-ease);
}
.iiq-process__step:not(.is-active) .iiq-process__step-title { color: rgba(255, 255, 255, 0.4); }
.iiq-process__step:not(.is-active) .iiq-process__step-text  { color: rgba(255, 255, 255, 0.32); }
.iiq-process__step.is-active .iiq-process__step-icon img,
.iiq-process__step:hover     .iiq-process__step-icon img { opacity: 1; }
.iiq-process__step:hover .iiq-process__step-title { color: var(--iiq-w-95); }
.iiq-process__step:hover .iiq-process__step-text  { color: rgba(255, 255, 255, 0.8); }
.iiq-process__step-icon {
	width: 48px; height: 48px;
	border-radius: var(--iiq-radius-pill);
	/* Opaque so the connector line behind it is visually interrupted by the circle.
	   Solid color over the section's #0a0a0a base + a translucent overlay for tonal feel. */
	background-color: #1f1f23;
	background-image: linear-gradient(var(--iiq-w-10), var(--iiq-w-10));
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	transition: background-color 0.4s var(--iiq-ease), box-shadow 0.4s var(--iiq-ease);
}
.iiq-process__step.is-active .iiq-process__step-icon {
	background-color: #2c2c33;
	background-image: linear-gradient(var(--iiq-w-20), var(--iiq-w-20));
}
/* "Current" step (the most recently lit one) gets a soft cyan glow ring */
.iiq-process__step.is-current .iiq-process__step-icon {
	background-color: #3a3a43;
	background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25));
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4),
				0 0 24px rgba(140, 200, 255, 0.5);
}
.iiq-process__step-body { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.iiq-process__step-title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 28px;
	line-height: 1.2;
	color: var(--iiq-w-95);
}
.iiq-process__step-text { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
	.iiq-process { padding: 64px 16px; }
	.iiq-process__grid { grid-template-columns: 1fr; gap: 48px; }
	.iiq-process__steps { padding-top: 0; gap: 32px; }
	/* Mobile gap is 32px, so connector extends 32 + 24 = 56px past step bottom */
	.iiq-process__step:not(:last-child)::before { bottom: -56px; }
	.iiq-process__step-title { font-size: 22px; }
}

/* --- Section: Built Different --- */
.iiq-different { background: #0a0a0a; padding: 120px var(--iiq-gutter); }
.iiq-different .iiq-section__inner { display: flex; flex-direction: column; gap: 80px; }
.iiq-different__head { display: flex; flex-direction: column; gap: 16px; }
.iiq-different__head .iiq-section__title { color: var(--iiq-w-95); margin-bottom: 0; }
.iiq-different__lede { font-size: 16px; line-height: 1.5; color: var(--iiq-w-60); max-width: 641px; }
.iiq-different__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.iiq-different__card:nth-child(4),
.iiq-different__card:nth-child(5) {
	grid-column: span 1;
}
.iiq-different__card:nth-child(4) { grid-column: 1 / span 1; grid-row: 2; }
.iiq-different__card:nth-child(5) { grid-column: 2 / span 2; grid-row: 2; }
.iiq-different__card {
	position: relative;
	height: 480px;
	border-radius: var(--iiq-radius-card);
	overflow: hidden;
	background: #111;
	transform: translateY(0);
	transition: transform 0.5s var(--iiq-ease),
				box-shadow 0.5s var(--iiq-ease);
	will-change: transform;
}
.iiq-different__card::before {
	content: '';
	position: absolute; inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 3;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
	transition: box-shadow 0.5s var(--iiq-ease);
}
.iiq-different__card::after {
	content: '';
	position: absolute;
	inset: -40%;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
		rgba(140, 200, 255, 0.18),
		transparent 45%);
	opacity: 0;
	transition: opacity 0.5s var(--iiq-ease);
}
.iiq-different__card-bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
	transform: scale(1);
	transition: transform 0.7s var(--iiq-ease);
	will-change: transform;
}
.iiq-different__card-grad {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		rgba(0,0,0,0.6) 0%,
		rgba(0,0,0,0.25) 35%,
		rgba(0,0,0,0.25) 65%,
		rgba(0,0,0,0.85) 100%);
	z-index: 1;
	transition: background 0.5s var(--iiq-ease);
}
@media (hover: hover) {
	.iiq-different__card:hover {
		transform: translateY(-8px);
		box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45),
					0 0 0 1px rgba(255, 255, 255, 0.06);
	}
	.iiq-different__card:hover .iiq-different__card-bg {
		transform: scale(1.06);
	}
	.iiq-different__card:hover .iiq-different__card-grad {
		background: linear-gradient(to bottom,
			rgba(0,0,0,0.45) 0%,
			rgba(0,0,0,0.15) 35%,
			rgba(0,0,0,0.35) 65%,
			rgba(0,0,0,0.95) 100%);
	}
	.iiq-different__card:hover::before {
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	}
	.iiq-different__card:hover::after {
		opacity: 1;
	}
	.iiq-different__card:hover .iiq-different__card-icon img {
		transform: scale(1.1);
	}
	.iiq-different__card:hover .iiq-different__card-title {
		transform: translateY(-2px);
	}
}
.iiq-different__card-icon img {
	transition: transform 0.5s var(--iiq-ease);
}
.iiq-different__card-title {
	transition: transform 0.5s var(--iiq-ease);
}
.iiq-different__card-body {
	position: relative; z-index: 2;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: #fff;
	height: 100%;
}
.iiq-different__card-head {
	display: flex; align-items: center; gap: 8px;
}
.iiq-different__card-icon {
	width: 24px; height: 24px;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.iiq-different__card-title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 20px;
	line-height: 1.2;
	color: var(--iiq-w-95);
}
.iiq-different__card-text {
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1100px) {
	.iiq-different__grid { grid-template-columns: repeat(2, 1fr); }
	.iiq-different__card:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 700px) {
	.iiq-different { padding: 64px 16px; }
	.iiq-different .iiq-section__inner { gap: 48px; }
	.iiq-different__grid { grid-template-columns: 1fr; gap: 16px; }
	.iiq-different__card { height: 360px; }
}

/* --- Section: Projects --- */
.iiq-projects { background: #0a0a0a; padding: 120px var(--iiq-gutter); }
.iiq-projects .iiq-section__inner { display: flex; flex-direction: column; gap: 80px; }
.iiq-projects__head { display: flex; flex-direction: column; gap: 16px; }
.iiq-projects__head .iiq-section__title { color: var(--iiq-w-95); margin-bottom: 0; }
.iiq-projects__lede { font-size: 16px; line-height: 1.5; color: var(--iiq-w-60); max-width: 641px; }
.iiq-projects__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 0;
	align-items: start;
}
.iiq-projects__tile { display: flex; flex-direction: column; gap: 24px; }
.iiq-projects__tile-img {
	border-radius: var(--iiq-radius-card);
	overflow: hidden;
	background: #111;
	aspect-ratio: 4 / 5;
}
.iiq-projects__tile-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.iiq-projects__tile-title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: 22px;
	line-height: 1.3;
	color: var(--iiq-w-95);
	text-align: center;
	margin: 0;
}
/* Tile 1 (Pour, Play / restaurant) — top-right column, smaller, offset down */
.iiq-projects__tile--1 {
	grid-column: 2;
	grid-row: 1;
	width: 62%;
	max-width: 380px;
	margin-top: 80px;
	margin-left: 0;
	margin-right: auto;
}
/* Tile 2 (Redefining / office) — top-left column, large, slight indent */
.iiq-projects__tile--2 {
	grid-column: 1;
	grid-row: 1;
	width: 72%;
	max-width: 440px;
	margin-left: 8%;
}
/* Tile 3 (Kitchen) — bottom-left column, smaller, indented further right */
.iiq-projects__tile--3 {
	grid-column: 1;
	grid-row: 2;
	width: 56%;
	max-width: 340px;
	margin-top: 40px;
	margin-left: auto;
	margin-right: 4%;
}
/* Tile 4 (Where Beauty / salon) — bottom-right, large, anchored right */
.iiq-projects__tile--4 {
	grid-column: 2;
	grid-row: 2;
	width: 72%;
	max-width: 440px;
	margin-top: 40px;
	margin-right: 0;
	margin-left: auto;
}

@media (max-width: 1100px) {
	.iiq-projects__grid { column-gap: 24px; }
	.iiq-projects__tile--1,
	.iiq-projects__tile--2,
	.iiq-projects__tile--3,
	.iiq-projects__tile--4 {
		width: 100%;
		max-width: none;
		margin: 0;
		transform: none;
	}
	.iiq-projects__grid { row-gap: 48px; }
}
@media (max-width: 700px) {
	.iiq-projects { padding: 64px 16px; }
	.iiq-projects .iiq-section__inner { gap: 48px; }
	.iiq-projects__grid { grid-template-columns: 1fr; row-gap: 24px; }
	.iiq-projects__tile--1,
	.iiq-projects__tile--2,
	.iiq-projects__tile--3,
	.iiq-projects__tile--4 {
		grid-column: 1;
		grid-row: auto;
	}
	.iiq-projects__tile-img { height: 360px; min-height: 360px; }
}

/* --- Section: Technology / Brands --- */
.iiq-tech {
	position: relative;
	background: #0a0a0a;
	padding: 120px var(--iiq-gutter);
	overflow: hidden;
}
/* BG fills the entire section so the dot field has no hard left/bottom edge.
   The mask + vignette below concentrate the visible dots around the logo on the right. */
.iiq-tech__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.iiq-tech__dots {
	position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(255,255,255,0.18) 2px, transparent 2px);
	background-size: 20px 20px;
	/* Explicit-size circle anchored to logo position (right side of section).
	   Dots fade smoothly to nothing well inside the section bounds — no hard edge. */
	mask-image: radial-gradient(circle 620px at 75% 50%, #000 25%, transparent 100%);
	-webkit-mask-image: radial-gradient(circle 620px at 75% 50%, #000 25%, transparent 100%);
	z-index: 1;
}
/* Vignette: keeps the dots/pulses fading into the section bg at the edges */
.iiq-tech__vignette {
	position: absolute; inset: 0;
	background: radial-gradient(circle 720px at 75% 50%, transparent 25%, #0a0a0a 100%);
	z-index: 2;
	pointer-events: none;
}
/* Pulse layer holds the radio-wave rings. The dot-grid mask makes the white
   wave only render on the dots — that's the cosmic-pulsar effect. */
.iiq-tech__pulse {
	position: absolute; inset: 0;
	z-index: 3;
	pointer-events: none;
	overflow: hidden;
	mask-image:
		radial-gradient(circle, #000 2px, transparent 2.5px),
		radial-gradient(circle 620px at 75% 50%, #000 25%, transparent 100%);
	mask-size: 20px 20px, 100% 100%;
	mask-position: 0 0, center;
	mask-repeat: repeat, no-repeat;
	mask-composite: intersect;
	-webkit-mask-image:
		radial-gradient(circle, #000 2px, transparent 2.5px),
		radial-gradient(circle 620px at 75% 50%, #000 25%, transparent 100%);
	-webkit-mask-size: 20px 20px, 100% 100%;
	-webkit-mask-position: 0 0, center;
	-webkit-mask-repeat: repeat, no-repeat;
	-webkit-mask-composite: source-in;
}
.iiq-tech__wave {
	position: absolute;
	/* Emanate from the logo position (75% horizontally, vertically centered) */
	top: 50%; left: 75%;
	width: 300px; height: 300px;
	margin-top: -150px;
	margin-left: -150px;
	border-radius: 50%;
	border: 40px solid #ffffff;
	box-sizing: border-box;
	filter: blur(8px);
	opacity: 0;
	will-change: transform, opacity, border-width;
	animation: iiq-pulse-wave 7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes iiq-pulse-wave {
	0%   { transform: scale(0.1); opacity: 0; border-width: 60px; }
	20%  {                         opacity: 1; border-width: 50px; }
	100% { transform: scale(10);   opacity: 0; border-width: 0; }
}
/* Logo wrapper sits in the dot field's bright center — right side of the section,
   75% horizontally so it lines up with the mask/vignette anchor point. */
.iiq-tech__logo-wrap {
	position: absolute;
	top: 50%; left: 75%;
	transform: translate(-50%, -50%);
	width: 224px; height: 230px;
	z-index: 4;
	transform-origin: center;
	will-change: transform;
}
.iiq-tech__logo-anim {
	width: 100%; height: 100%;
	display: block;
}
.iiq-tech__logo-wrap.is-spinning {
	animation: iiq-tech-spin 3.5s cubic-bezier(0.3, 0.1, 0.3, 1) forwards;
}
@keyframes iiq-tech-spin {
	0%   { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.iiq-tech__wave { animation: none; opacity: 0; }
	.iiq-tech__logo-wrap.is-spinning { animation: none; }
}
.iiq-tech__inner {
	position: relative;
	/* Sit above the bg layers (dots z:1, vignette z:2, pulse z:3, logo z:4).
	   Without an explicit z-index, the bg children leak into this stacking
	   context and the vignette overpaints the text + brand grid. */
	z-index: 5;
	/* Title/copy at top-left; logos pinned bottom-left of section */
	display: flex;
	flex-direction: column;
	gap: 160px;
	min-height: 640px;
}
.iiq-tech__copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 720px;
}
.iiq-tech__copy .iiq-section__title { color: var(--iiq-w-95); margin-bottom: 0; }
.iiq-tech__lede { font-size: 16px; line-height: 1.6; color: var(--iiq-w-60); max-width: 560px; }

.iiq-tech__brands {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	/* Wider, equal-width slots — every brand gets the same horizontal real estate
	   regardless of its source PNG aspect ratio. */
	grid-template-columns: repeat(4, 160px);
	align-items: center;
	justify-content: start;     /* Left-align the whole grid */
	column-gap: 40px;
	row-gap: 28px;
	max-width: 100%;
}
.iiq-tech__brand {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* Left-align each logo inside its slot */
	height: 56px;
	width: 100%;
}
.iiq-tech__brand img {
	/* Larger cap on both dimensions so logos with very different aspect ratios
	   (wide Samsung vs square Wall Smart) settle into similar visual weight. */
	max-height: 40px;
	max-width: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
	display: block;
	/* Force any logo (color or grayscale) to white for a uniform partner strip on dark bg */
	filter: brightness(0) invert(1);
	opacity: 0.85;
	transition: opacity 0.3s var(--iiq-ease), transform 0.3s var(--iiq-ease);
}
.iiq-tech__brand:hover img {
	opacity: 1;
	transform: scale(1.04);
}
/* Newer brand PNGs (lutron-logo, lg-logo, marantz-logo, ubiquiti-logo,
   wall-smart-logo) have internal padding around the mark, so push their
   max-height even higher to compensate and read at the same weight. */
.iiq-tech__brand img[src*="-logo."] {
	max-height: 56px;
}

@media (max-width: 900px) {
	.iiq-tech { padding: 64px 16px; }
	/* Compact section: tighten the gap between copy and the partner logo grid */
	.iiq-tech__inner { gap: 40px; min-height: 0; }
	/* Show the swirl + dotted bg on mobile, centered horizontally,
	   sitting between the title and the lede paragraphs — smaller than desktop. */
	.iiq-tech__bg {
		display: block;
		position: absolute;
		inset: auto;
		left: 50%;
		right: auto;
		top: 28%;
		transform: translate(-50%, -50%);
		width: 70vw;
		max-width: 360px;
		height: 70vw;
		max-height: 360px;
	}
	/* On mobile the bg is itself centered, so re-anchor the masks + waves + logo
	   back to 50% (desktop puts them at 75% for the right-side composition). */
	.iiq-tech__dots {
		mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
		-webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
	}
	.iiq-tech__vignette {
		background: radial-gradient(circle at center, transparent 30%, #0a0a0a 90%);
	}
	.iiq-tech__pulse {
		mask-image:
			radial-gradient(circle, #000 2px, transparent 2.5px),
			radial-gradient(ellipse at center, #000 40%, transparent 90%);
		-webkit-mask-image:
			radial-gradient(circle, #000 2px, transparent 2.5px),
			radial-gradient(ellipse at center, #000 40%, transparent 90%);
	}
	.iiq-tech__wave { left: 50%; }
	.iiq-tech__mark { width: 140px; }
	.iiq-tech__logo-wrap { left: 50%; width: 140px; height: 144px; }
	/* Push the first lede down so the swirl shows in the gap above it */
	.iiq-tech__copy { gap: 16px; max-width: 100%; }
	.iiq-tech__copy .iiq-tech__lede:first-of-type { margin-top: 300px; }
	/* Brands: 2-col grid, left-aligned with equalized visual weight */
	.iiq-tech__brands {
		grid-template-columns: repeat(2, 1fr);
		justify-content: start;
		gap: 28px 16px;
	}
	.iiq-tech__brand {
		justify-content: flex-start;
		min-height: 44px;
		height: auto;
	}
	.iiq-tech__brand img {
		max-height: 36px;
		max-width: 140px;
		width: auto;
		height: auto;
		object-fit: contain;
		object-position: left center;
	}
	.iiq-tech__brand img[src*="-logo."] { max-height: 48px; }
}

/* --- Section: Final CTA + Footer --- */
.iiq-cta {
	position: relative;
	background: #0a0a0a;
	color: #fff;
	padding: 240px var(--iiq-gutter) 72px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 240px;
	align-items: center;
}
.iiq-cta__bg { position: absolute; inset: 0; z-index: 0; }
.iiq-cta__bg img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.iiq-cta__bg-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		#0a0a0a 0%,
		rgba(10,10,10,0.6) 25%,
		rgba(10,10,10,0.3) 46%,
		rgba(10,10,10,0.7) 80%,
		#0a0a0a 100%);
}
.iiq-cta__inner {
	position: relative;
	z-index: 1;
	max-width: var(--iiq-container);
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
	text-align: center;
}
.iiq-cta__copy { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.iiq-cta__title {
	font-family: var(--iiq-font-display);
	font-weight: 300;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.2;
	max-width: 627px;
}
.iiq-cta__title-strong { color: var(--iiq-w-95); display: block; }
.iiq-cta__title-soft { color: #fff; display: block; }
.iiq-cta__lede {
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	max-width: 627px;
}
.iiq-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.iiq-footer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
}
.iiq-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 44px;
}
.iiq-footer__logo img:first-child { width: 42px; height: 44px; }
.iiq-footer__logo img:last-child {
	width: 178px; height: 29px;
	filter: brightness(0) invert(1);
}
.iiq-footer__tagline {
	font-family: var(--iiq-font-display);
	font-weight: 200;
	font-size: 16px;
	color: #fff;
	letter-spacing: 0.01em;
}
.iiq-footer__tagline a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s var(--iiq-ease);
}
.iiq-footer__tagline a:hover,
.iiq-footer__tagline a:focus-visible {
	opacity: 0.7;
	text-decoration: underline;
}
.iiq-footer__contact {
	font-style: normal;
	font-size: 14px;
	color: var(--iiq-w-60);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 12px;
}
.iiq-footer__contact a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s var(--iiq-ease);
}
.iiq-footer__contact a:hover,
.iiq-footer__contact a:focus-visible {
	color: #fff;
	text-decoration: underline;
}
.iiq-footer__contact-sep { color: var(--iiq-w-40); }
.iiq-footer__legal {
	font-size: 12px;
	color: var(--iiq-w-40);
	margin-top: 16px;
}

@media (max-width: 900px) {
	.iiq-cta { padding: 120px 16px 48px; gap: 96px; }
	.iiq-cta__title { font-size: 40px; }
	/* Mirror the hero CTA pattern: side-by-side, equal-width, compact */
	.iiq-cta__actions {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 8px;
		width: 100%;
		max-width: none;
	}
	.iiq-cta__actions .iiq-btn {
		flex: 1 1 0;
		width: auto;
		padding: 10px 14px;
	}
}

/* Additional sections will be appended here. */

/* --- Scroll-driven reveal effects --- */
/* Elements fade + slide up as they enter the viewport. JS adds .is-visible
   via IntersectionObserver. Disabled when prefers-reduced-motion is set. */
@media (prefers-reduced-motion: no-preference) {
	[data-iiq-reveal] {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 0.8s var(--iiq-ease), transform 0.8s var(--iiq-ease);
		transition-delay: var(--iiq-reveal-delay, 0s);
		will-change: opacity, transform;
	}
	[data-iiq-reveal].is-visible {
		opacity: 1;
		transform: translateY(0);
	}
	/* Variant: scale up on reveal (used for cards/images) */
	[data-iiq-reveal="scale"] {
		transform: translateY(24px) scale(0.97);
	}
	[data-iiq-reveal="scale"].is-visible {
		transform: translateY(0) scale(1);
	}
}
