@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope/Manrope-Variable.woff2") format("woff2");
}

@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/oswald/Oswald-Variable.woff2") format("woff2");
}

:root {
	--color-background: #0b0c0e;
	--color-surface: #15171a;
	--color-surface-soft: #1c1f23;
	--color-text: #f4f4f2;
	--color-muted: #afb3b8;
	--color-accent: #d71818;
	--color-on-accent: #fff;
	--color-line: rgb(255 255 255 / 12%);
	--font-body: "Manrope", sans-serif;
	--font-heading: "Oswald", sans-serif;
	--space-l: clamp(4.5rem, 9vw, 8.5rem);
	--content-width: 820px;
	--wide-width: 1280px;
	--header-height: 5.25rem;
	--radius-s: 0.75rem;
	--radius-m: 1.25rem;
	--radius-l: 2rem;
	--shadow-deep: 0 1.5rem 5rem rgb(0 0 0 / 38%);
}

html {
	scroll-padding-top: var(--header-height);
}

body {
	background: var(--color-background);
	color: var(--color-text);
	font-size: clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--color-accent);
	color: #fff;
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.04;
	text-transform: uppercase;
}

a {
	color: inherit;
}

.site-header {
	position: fixed;
	width: 100%;
	min-height: var(--header-height);
	background: rgb(11 12 14 / 88%);
	border-bottom: 1px solid var(--color-line);
	box-shadow: 0 0.4rem 2rem rgb(0 0 0 / 18%);
	backdrop-filter: blur(1rem) saturate(125%);
}

.site-header__inner {
	gap: clamp(1rem, 3vw, 3rem);
}

.site-branding {
	flex: 0 0 auto;
}

.custom-logo {
	width: auto;
	max-width: 8rem;
	max-height: 3.5rem;
}

.site-menu__list {
	gap: clamp(0.65rem, 1.6vw, 1.5rem);
}

.site-menu__list a {
	position: relative;
	display: block;
	padding-block: 1rem;
	color: var(--color-text);
	font-size: clamp(0.68rem, 0.62rem + 0.12vw, 0.78rem);
	font-weight: 720;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-menu__list a::after {
	position: absolute;
	right: 0;
	bottom: 0.65rem;
	left: 0;
	height: 2px;
	background: var(--color-accent);
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.site-menu__list a:hover,
.site-menu__list a:focus-visible {
	color: #fff;
}

.site-menu__list a:hover::after,
.site-menu__list a:focus-visible::after {
	transform: scaleX(1);
}

.site-main {
	overflow: clip;
}

.qcvid-hero {
	position: relative;
	display: grid;
	min-height: max(42rem, 100svh);
	align-items: center;
	isolation: isolate;
	overflow: hidden;
	padding: calc(var(--header-height) + 4rem) 0 5rem;
}

.qcvid-hero__media,
.qcvid-hero__media figure,
.qcvid-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.qcvid-hero__media {
	z-index: -2;
}

.qcvid-hero__media figure {
	margin: 0;
	opacity: 0;
	animation: qcvid-crossfade 18s infinite;
}

.qcvid-hero__media figure:nth-child(2) {
	animation-delay: 6s;
}

.qcvid-hero__media figure:nth-child(3) {
	animation-delay: 12s;
}

.qcvid-hero__media img {
	object-fit: cover;
	filter: saturate(0.62) contrast(1.08);
	transform: scale(1.03);
}

.qcvid-hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(90deg, rgb(4 5 6 / 92%) 0%, rgb(4 5 6 / 66%) 49%, rgb(4 5 6 / 20%) 100%), linear-gradient(0deg, rgb(4 5 6 / 58%), transparent 45%);
	content: "";
}

.qcvid-hero__content {
	width: min(100% - 2.5rem, var(--wide-width));
	margin-inline: auto;
}

.qcvid-eyebrow {
	margin: 0 0 1rem;
	color: var(--color-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.qcvid-hero h1 {
	max-width: 11ch;
	margin: 0;
	color: #fff;
	font-size: clamp(3.6rem, 9vw, 8.5rem);
	line-height: 0.9;
	text-shadow: 0 0.4rem 2rem rgb(0 0 0 / 35%);
}

.qcvid-hero__lead {
	max-width: 48rem;
	margin: 1.6rem 0 0;
	color: #e4e5e2;
	font-size: clamp(1.05rem, 1rem + 0.45vw, 1.4rem);
	line-height: 1.55;
}

.qcvid-button {
	display: inline-flex;
	align-items: center;
	min-height: 3.25rem;
	justify-content: center;
	padding: 0.8rem 1.4rem;
	margin-top: 1.8rem;
	background: var(--color-accent);
	border-radius: 999px;
	box-shadow: 0 0.8rem 2rem rgb(215 24 24 / 30%);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: filter 160ms ease, transform 160ms ease;
}

.qcvid-button:hover {
	filter: brightness(1.16);
	transform: translateY(-2px);
}

.qcvid-cover {
	position: relative;
	min-height: clamp(31rem, 72svh, 48rem) !important;
	box-shadow: inset 0 -7rem 10rem rgb(0 0 0 / 28%);
	scroll-margin-top: var(--header-height);
}

.qcvid-cover .wp-block-cover__image-background {
	filter: saturate(0.72) contrast(1.07);
}

.qcvid-cover .wp-block-cover__background {
	background: linear-gradient(90deg, rgb(7 8 10 / 88%), rgb(7 8 10 / 30%)) !important;
	opacity: 1 !important;
}

.qcvid-cover .wp-block-cover__inner-container {
	width: min(100% - 2.5rem, var(--wide-width));
}

.qcvid-cover h2 {
	max-width: 11ch;
	margin: 0;
	font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.qcvid-cover .qcvid-kicker {
	margin-bottom: 0.4rem;
	color: var(--color-accent);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.qcvid-process__copy {
	max-width: 47rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: rgb(11 12 14 / 76%);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-deep);
	backdrop-filter: blur(0.7rem);
}

.qcvid-process__copy h2 {
	font-size: clamp(3rem, 7vw, 6.5rem);
}

.qcvid-process__copy ol {
	display: grid;
	gap: 0.7rem;
	padding-left: 1.4rem;
	margin: 1.5rem 0 0;
	color: #e1e2df;
}

.qcvid-gallery-section,
.qcvid-video-section,
.qcvid-details {
	padding-block: var(--space-l);
}

.qcvid-gallery-section {
	background: var(--color-surface);
}

.qcvid-gallery-section__inner,
.qcvid-video-section__inner,
.qcvid-details__inner {
	width: min(100% - 2.5rem, var(--wide-width));
	margin-inline: auto;
}

.qcvid-section-heading {
	margin: 0 0 2rem;
	font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.qcvid-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.65rem !important;
}

.qcvid-gallery > figure {
	width: auto !important;
	margin: 0 !important;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--radius-s);
}

.qcvid-gallery img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: filter 220ms ease, transform 350ms ease;
}

.qcvid-gallery a:hover img {
	filter: brightness(1.08);
	transform: scale(1.035);
}

.qcvid-video-section {
	background: #07080a;
}

.qcvid-video {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-deep);
}

.qcvid-video iframe,
.qcvid-video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	background: #000;
	object-fit: cover;
}

.qcvid-details {
	background: linear-gradient(180deg, #101215, #0b0c0e);
	scroll-margin-top: var(--header-height);
}

.qcvid-details__intro {
	max-width: 55rem;
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.qcvid-details__intro h2 {
	margin: 0 0 1rem;
	font-size: clamp(3rem, 7vw, 6.5rem);
}

.qcvid-details__intro p {
	color: var(--color-muted);
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
}

.qcvid-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.qcvid-feature-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: clamp(1.4rem, 3vw, 2.25rem);
	background: var(--color-surface-soft);
	border: 1px solid var(--color-line);
	border-top: 3px solid var(--color-accent);
	border-radius: var(--radius-m);
	box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
}

.qcvid-feature-card figure {
	margin: calc(clamp(1.4rem, 3vw, 2.25rem) * -1) calc(clamp(1.4rem, 3vw, 2.25rem) * -1) 1.5rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: calc(var(--radius-m) - 2px) calc(var(--radius-m) - 2px) 0 0;
}

.qcvid-feature-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qcvid-feature-card h3 {
	margin: 0 0 1rem;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.qcvid-feature-card p {
	margin: 0.7rem 0 0;
	color: var(--color-muted);
}

.qcvid-feature-card strong {
	color: var(--color-text);
}

.qcvid-contact {
	min-height: clamp(34rem, 72svh, 50rem) !important;
	scroll-margin-top: var(--header-height);
}

.qcvid-contact .wp-block-cover__background {
	background: linear-gradient(90deg, rgb(5 6 7 / 92%), rgb(5 6 7 / 48%)) !important;
	opacity: 1 !important;
}

.qcvid-contact__card {
	max-width: 43rem;
	padding: clamp(2rem, 5vw, 4rem);
	background: rgb(11 12 14 / 80%);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-deep);
	backdrop-filter: blur(0.75rem);
}

.qcvid-contact h2 {
	margin: 0 0 1rem;
	font-size: clamp(3rem, 7vw, 6rem);
}

.qcvid-contact p {
	margin: 0.5rem 0;
	color: #d8d9d6;
}

.qcvid-contact a {
	color: #fff;
	font-weight: 750;
}

.site-footer {
	padding-block: 1.5rem;
	background: #07080a;
	border-top: 1px solid var(--color-line);
	color: var(--color-muted);
	font-size: 0.82rem;
}

@keyframes qcvid-crossfade {
	0%, 28% { opacity: 1; transform: scale(1); }
	34%, 94% { opacity: 0; transform: scale(1.03); }
	100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1040px) {
	.site-menu-toggle {
		color: #fff;
	}

	.site-menu {
		background: #111316;
		border-color: var(--color-line);
	}

	.site-menu__list a {
		padding: 0.85rem 1rem;
	}

	.qcvid-feature-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	:root {
		--header-height: 4.5rem;
	}

	.site-header__inner {
		padding-block: 0.55rem;
	}

	.custom-logo {
		max-width: 6.5rem;
		max-height: 3rem;
	}

	.qcvid-hero {
		min-height: 100svh;
		padding-bottom: 3rem;
	}

	.qcvid-hero::after {
		background: linear-gradient(0deg, rgb(4 5 6 / 90%) 0%, rgb(4 5 6 / 42%) 75%, rgb(4 5 6 / 64%) 100%);
	}

	.qcvid-hero__content {
		align-self: end;
	}

	.qcvid-hero h1 {
		font-size: clamp(3.6rem, 19vw, 5.4rem);
	}

	.qcvid-cover {
		min-height: 34rem !important;
	}

	.qcvid-cover .wp-block-cover__background {
		background: linear-gradient(0deg, rgb(7 8 10 / 88%), rgb(7 8 10 / 25%)) !important;
	}

	.qcvid-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qcvid-gallery-section,
	.qcvid-video-section,
	.qcvid-details {
		padding-block: clamp(3.5rem, 14vw, 5.5rem);
	}

	.qcvid-contact__card,
	.qcvid-process__copy {
		border-radius: var(--radius-m);
	}
}

@media (prefers-reduced-motion: reduce) {
	.qcvid-hero__media figure {
		display: none;
		animation: none;
	}

	.qcvid-hero__media figure:first-child {
		display: block;
		opacity: 1;
	}
}
