/*
 * DC Voice Agent Theme — GSAP Animation Classes
 *
 * The 11 utility classes per Hybrid Alchemist v2 §2.2.
 * Initial states are CSS-only; GSAP in /assets/js/custom.js animates to final state.
 * If JS fails to load, content stays visible (graceful degradation via no-js fallback).
 */

/* CRITICAL: All animation classes are VISIBLE BY DEFAULT.
   GSAP sets opacity:0 inline via gsap.set() before animating, only when it confirms it has loaded.
   This means: if GSAP fails to load (CDN block, CSP, SRI failure, etc.), content stays visible.
   No more blank pages. The previous .js-ready { opacity: 0 } pattern was a failure trap. */

/* 1. moz-fade-up — scroll-triggered fade + rise (GSAP hides + animates inline) */
.moz-fade-up { will-change: opacity, transform; }

/* 2. moz-fade-in — simple fade-in */
.moz-fade-in { will-change: opacity; }

/* 3. moz-stagger-children — staggered fade-up on children */
.moz-stagger-children { will-change: contents; }
.moz-stagger-children > * { will-change: opacity, transform; }

/* 4. moz-img-reveal — grayscale image that colorizes on intersection */
.moz-img-reveal img,
.moz-img-reveal .dcvat-card__image,
.moz-img-reveal .dcvat-product-card__image {
	filter: grayscale(1);
	transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.moz-img-reveal.is-in-view img,
.moz-img-reveal.is-in-view .dcvat-card__image,
.moz-img-reveal.is-in-view .dcvat-product-card__image {
	filter: grayscale(0);
}

/* 5. moz-card-hover — used for elevated cards */
.moz-card-hover {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.moz-card-hover:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 6. moz-hero-text — large text with split-character animation hook */
.moz-hero-text {
	overflow: hidden;
}
.moz-hero-text .word,
.moz-hero-text .char {
	display: inline-block;
	will-change: transform, opacity;
}

/* 7. moz-marquee — used by [dc_marquee] shortcode */
.moz-marquee {
	overflow: hidden;
	white-space: nowrap;
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.moz-marquee__track {
	display: inline-flex;
	gap: 4rem;
	animation: moz-marquee-scroll 30s linear infinite;
}
@keyframes moz-marquee-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
.moz-marquee--reverse .moz-marquee__track {
	animation-direction: reverse;
}
.moz-marquee:hover .moz-marquee__track {
	animation-play-state: paused;
}

/* 8. moz-count-up — number counters (animated by GSAP) */
.moz-count-up {
	font-variant-numeric: tabular-nums;
	font-family: var(--font-mono);
}

/* 9. moz-glass — glassmorphism panel */
.moz-glass {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 1.5rem;
}

/* 10. moz-noise — subtle film grain overlay */
.moz-noise {
	position: relative;
}
.moz-noise::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	opacity: 0.5;
	mix-blend-mode: overlay;
}

/* 11. moz-btn-swap — used by [dc_btn_swap] shortcode (animated label change) */
.moz-btn-swap {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
}
.moz-btn-swap__label {
	display: inline-block;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.moz-btn-swap:hover .moz-btn-swap__label--default {
	transform: translateY(-120%);
}
.moz-btn-swap__label--hover {
	position: absolute;
	left: 0; right: 0;
	transform: translateY(120%);
}
.moz-btn-swap:hover .moz-btn-swap__label--hover {
	transform: translateY(0);
}

/* === Reduced motion accommodations === */
@media (prefers-reduced-motion: reduce) {
	.moz-fade-up,
	.moz-fade-in,
	.moz-stagger-children > * {
		opacity: 1 !important;
		transform: none !important;
	}
	.moz-marquee__track { animation: none; }
	.moz-img-reveal img,
	.moz-img-reveal .dcvat-card__image,
	.moz-img-reveal .dcvat-product-card__image { filter: grayscale(0); }
}

/* ===========================================================================
 * 12. moz-parallax — image parallax container (replicates React's ParallaxImage)
 * =========================================================================== */
.moz-parallax {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
}
.moz-parallax__inner,
.moz-parallax > img {
	will-change: transform;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.moz-parallax__caption {
	position: absolute;
	left: 1.5rem;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 2;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	background: rgba(0,0,0,0.75);
	color: white;
	padding: 0.875rem 1rem;
	border-radius: 0.5rem;
	display: inline-block;
	max-width: max-content;
	backdrop-filter: blur(8px);
}

/* ===========================================================================
 * 13. Hero scroll behavior — fade/parallax driven by GSAP (.moz-hero-scroll)
 * =========================================================================== */
.moz-hero-scroll {
	position: relative;
}
.dcvat-home-hero__bg.has-image {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	filter: grayscale(1);
	mix-blend-mode: overlay;
	opacity: 0.45;
}
.dcvat-home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,1) 100%);
	opacity: 0.65;
	pointer-events: none;
	z-index: 1;
}

/* Anchor pads scroll-to so it lands below the fixed header. */
.dcvat-form-anchor {
	display: block;
	height: 1px;
	margin-top: -100px;
	padding-top: 100px;
	pointer-events: none;
	visibility: hidden;
}

/* ===========================================================================
 * 14. Native Form — owned styling, no plugin
 * =========================================================================== */
.dcvat-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	color: var(--c-brand-white, #fff);
}

.dcvat-form__intro {
	color: rgba(255,255,255,0.7);
	font-size: 1.05rem;
	line-height: 1.5;
	margin: 0;
}

/* Honeypot — hidden but accessible to bots. */
.dcvat-form__hp {
	position: absolute !important;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dcvat-form__fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 640px) {
	.dcvat-form__fields { grid-template-columns: 1fr 1fr; }
	.dcvat-form__field--textarea,
	.dcvat-form__field--select,
	.dcvat-form__field--url { grid-column: 1 / -1; }
}

.dcvat-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dcvat-form__label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255,255,255,0.7);
	letter-spacing: 0.01em;
}
.dcvat-form__required {
	color: var(--c-brand-accent);
	margin-left: 0.25rem;
}

.dcvat-form__input {
	display: block;
	width: 100%;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 0.75rem;
	color: white;
	padding: 0.875rem 1rem;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition:
		border-color var(--dur-fast, 0.2s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1)),
		background-color var(--dur-fast, 0.2s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1)),
		box-shadow var(--dur-fast, 0.2s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
}
.dcvat-form__input::placeholder { color: rgba(255,255,255,0.3); }
.dcvat-form__input:hover { border-color: rgba(255,255,255,0.25); }
.dcvat-form__input:focus {
	outline: none;
	border-color: var(--c-brand-accent);
	background: rgba(255,255,255,0.06);
	box-shadow: 0 0 0 4px rgba(79,70,229,0.15);
}

textarea.dcvat-form__input {
	resize: vertical;
	min-height: 7rem;
}

select.dcvat-form__input {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23fff' fill-opacity='0.6' d='M1.41 0 6 4.58 10.59 0 12 1.41 6 7.41 0 1.41z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 0.75rem auto;
	padding-right: 2.5rem;
}

.dcvat-form__field.has-error .dcvat-form__input {
	border-color: #ef4444;
	background: rgba(239,68,68,0.08);
}

.dcvat-form__field-error {
	min-height: 0;
	margin: 0;
	font-size: 0.8125rem;
	color: #fca5a5;
	line-height: 1.3;
}
.dcvat-form__field.has-error .dcvat-form__field-error {
	min-height: 1.25rem;
}

.dcvat-form__field--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
}
.dcvat-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: rgba(255,255,255,0.6);
	line-height: 1.5;
	cursor: pointer;
}
.dcvat-form__consent input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.125rem;
	flex-shrink: 0;
	accent-color: var(--c-brand-accent);
	cursor: pointer;
}

.dcvat-form__submit {
	margin-top: 0.5rem;
}
.dcvat-form__btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.dcvat-form__status {
	min-height: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	border-radius: 0.75rem;
	transition: all var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
}
.dcvat-form__status.is-success {
	padding: 1rem 1.25rem;
	background: rgba(34,197,94,0.12);
	border: 1px solid rgba(34,197,94,0.35);
	color: #86efac;
}
.dcvat-form__status.is-error {
	padding: 1rem 1.25rem;
	background: rgba(239,68,68,0.1);
	border: 1px solid rgba(239,68,68,0.3);
	color: #fca5a5;
}

/* When the form sits on a LIGHT-background section (e.g. contact form panel
   which uses a white card), invert. */
.dcvat-contact-form__panel .dcvat-form,
.dcvat-review-page__form-panel .dcvat-form,
.dcvat-audit-form .dcvat-form {
	color: var(--c-brand-black, #0a0a0a);
}
.dcvat-contact-form__panel .dcvat-form__label,
.dcvat-review-page__form-panel .dcvat-form__label,
.dcvat-audit-form .dcvat-form__label { color: rgba(0,0,0,0.65); }

.dcvat-contact-form__panel .dcvat-form__input,
.dcvat-review-page__form-panel .dcvat-form__input,
.dcvat-audit-form .dcvat-form__input {
	background: rgba(0,0,0,0.03);
	border-color: rgba(0,0,0,0.12);
	color: var(--c-brand-black, #0a0a0a);
}
.dcvat-contact-form__panel .dcvat-form__input::placeholder,
.dcvat-review-page__form-panel .dcvat-form__input::placeholder,
.dcvat-audit-form .dcvat-form__input::placeholder { color: rgba(0,0,0,0.35); }

.dcvat-contact-form__panel select.dcvat-form__input,
.dcvat-review-page__form-panel select.dcvat-form__input,
.dcvat-audit-form select.dcvat-form__input {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23000' fill-opacity='0.5' d='M1.41 0 6 4.58 10.59 0 12 1.41 6 7.41 0 1.41z'/></svg>");
}

.dcvat-contact-form__panel .dcvat-form__consent,
.dcvat-review-page__form-panel .dcvat-form__consent,
.dcvat-audit-form .dcvat-form__consent { color: rgba(0,0,0,0.55); }

/* ===========================================================================
 * 15. Video modal
 * =========================================================================== */
.dcvat-video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1)),
		visibility var(--dur-med, 0.4s);
}
@media (min-width: 768px) { .dcvat-video-modal { padding: 3rem; } }

.dcvat-video-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.dcvat-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.8);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.dcvat-video-modal__shell {
	position: relative;
	width: 100%;
	max-width: 72rem;
	aspect-ratio: 16 / 9;
	background: var(--c-brand-dark, #0a0a0a);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 25px 80px rgba(0,0,0,0.6);
	transform: scale(0.96);
	transition: transform var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
}
.dcvat-video-modal.is-open .dcvat-video-modal__shell { transform: scale(1); }

.dcvat-video-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: rgba(0,0,0,0.55);
	color: white;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	line-height: 1;
	transition: background var(--dur-fast, 0.2s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
}
.dcvat-video-modal__close:hover,
.dcvat-video-modal__close:focus-visible {
	background: rgba(0,0,0,0.85);
	outline: none;
}

.dcvat-video-modal__frame {
	position: relative;
	width: 100%;
	height: 100%;
}
.dcvat-video-modal__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.dcvat-video-modal__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	background: var(--c-brand-black, #000);
	color: rgba(255,255,255,0.5);
	text-align: center;
	padding: 2rem;
}
.dcvat-video-modal__placeholder-icon {
	font-size: 3rem;
	opacity: 0.4;
}
.dcvat-video-modal__placeholder-title {
	font-family: var(--font-mono, monospace);
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin: 0;
}
.dcvat-video-modal__placeholder-sub {
	font-size: 0.875rem;
	opacity: 0.7;
	max-width: 28rem;
	margin: 0;
}

/* ===========================================================================
 * 16. About — restored Section 9 sub-blocks + Section 10 "Where We're Going"
 * =========================================================================== */
.dcvat-about-people__regulated,
.dcvat-about-people__howwework {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0,0,0,0.06);
}
.dcvat-about-people__regulated h3,
.dcvat-about-people__howwework h3 {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	letter-spacing: -0.01em;
	margin-bottom: 1.25rem;
	color: var(--c-brand-black, #0a0a0a);
}
.dcvat-about-people__regulated p {
	font-size: 1.125rem;
	line-height: 1.65;
	color: rgba(0,0,0,0.7);
}
.dcvat-about-people__regulated p .accent,
.dcvat-about-people__regulated .accent {
	color: var(--c-brand-accent, #4F46E5);
	font-weight: 500;
}
.dcvat-about-people__howwework ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.dcvat-about-people__howwework li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	font-size: 1.125rem;
	line-height: 1.55;
	color: rgba(0,0,0,0.75);
}
.dcvat-check {
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: var(--c-brand-accent, #4F46E5);
	color: white;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 0.875rem;
}

.dcvat-about-future {
	background: var(--c-brand-black, #000);
	color: white;
	padding: 6rem 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	position: relative;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.dcvat-about-future { padding: 8rem 3rem; }
}
.dcvat-about-future::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at top center, rgba(79,70,229,0.08), transparent 60%);
	pointer-events: none;
}
.dcvat-about-future__header {
	max-width: 60rem;
	margin: 0 auto 4rem;
	text-align: center;
	position: relative;
	z-index: 1;
}
.dcvat-about-future__header h2 {
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	letter-spacing: -0.025em;
	line-height: 1.05;
	margin: 1.5rem 0 0;
}
.dcvat-about-future__header .accent {
	color: var(--c-brand-accent, #4F46E5);
}
.dcvat-about-future__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	max-width: 80rem;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
@media (min-width: 768px) {
	.dcvat-about-future__grid { grid-template-columns: 1fr 1fr; }
	.dcvat-about-future__lead { grid-column: 1 / -1; }
}
.dcvat-about-future__lead,
.dcvat-about-future__card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 2rem;
	padding: 2.5rem;
	transition: all var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
}
@media (min-width: 1024px) {
	.dcvat-about-future__lead,
	.dcvat-about-future__card { padding: 3.5rem; }
}
.dcvat-about-future__card:hover {
	border-color: rgba(255,255,255,0.2);
	transform: translateY(-4px);
}
.dcvat-about-future__card--accent:hover {
	border-color: var(--c-brand-accent, #4F46E5);
}
.dcvat-about-future__card h3 {
	font-size: 1.5rem;
	letter-spacing: -0.01em;
	margin: 0 0 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.dcvat-about-future__card p {
	color: rgba(255,255,255,0.6);
	font-size: 1.125rem;
	line-height: 1.6;
	margin: 0;
}
.dcvat-about-future__lead p {
	color: rgba(255,255,255,0.75);
	font-size: 1.25rem;
	line-height: 1.55;
	margin: 0;
	max-width: 60rem;
}
.dcvat-about-future__pulse {
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background: rgba(79,70,229,0.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}
.dcvat-about-future__pulse span {
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 999px;
	background: var(--c-brand-accent, #4F46E5);
	animation: dcvat-pulse 2s ease-in-out infinite;
}
@keyframes dcvat-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.3); opacity: 0.5; }
}
.dcvat-about-future__arrow {
	color: var(--c-brand-accent, #4F46E5);
	transition: transform var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
}
.dcvat-about-future__card--accent:hover .dcvat-about-future__arrow {
	transform: translateX(8px);
}

/* ===========================================================================
 * 17. Audit page native form block
 * =========================================================================== */
.dcvat-audit-form {
	margin: 4rem 0 2rem;
	padding: 2.5rem;
	background: white;
	border-radius: 1.5rem;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
@media (min-width: 768px) { .dcvat-audit-form { padding: 4rem; } }
.dcvat-audit-form__header {
	margin-bottom: 2rem;
}
.dcvat-audit-form__header h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
	color: var(--c-brand-black, #0a0a0a);
}
.dcvat-audit-form__header p {
	color: rgba(0,0,0,0.6);
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0;
}

/* ===========================================================================
 * 18. Desktop nav dropdown — replicates React Header's Services dropdown
 * =========================================================================== */
@media (min-width: 1024px) {
	.dcvat-nav-item { position: relative; }

	.dcvat-nav-list .sub-menu {
		position: absolute;
		top: 100%;
		left: -1rem;
		min-width: 16rem;
		margin-top: 1.5rem;
		padding: 0.5rem;
		background: #111;
		border: 1px solid rgba(255,255,255,0.1);
		border-radius: 1rem;
		display: flex;
		flex-direction: column;
		gap: 0.125rem;
		box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
		backdrop-filter: blur(20px);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.5rem);
		transition:
			opacity var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1)),
			transform var(--dur-med, 0.4s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1)),
			visibility var(--dur-med, 0.4s);
		pointer-events: none;
		list-style: none;
	}
	/* Bridge the gap between trigger and panel so hover doesn't break. */
	.dcvat-nav-list .sub-menu::before {
		content: "";
		position: absolute;
		left: 0; right: 0;
		top: -1.5rem;
		height: 1.5rem;
	}

	.dcvat-nav-item:hover > .sub-menu,
	.dcvat-nav-item:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.dcvat-nav-list .sub-menu li { margin: 0; list-style: none; }

	.dcvat-nav-list .sub-menu a {
		display: block;
		padding: 0.75rem 1rem;
		font-size: 0.875rem;
		font-weight: 500;
		color: rgba(255,255,255,0.7);
		border-radius: 0.75rem;
		transition: all var(--dur-fast, 0.2s) var(--ease-out-quart, cubic-bezier(0.16,1,0.3,1));
	}
	.dcvat-nav-list .sub-menu a:hover,
	.dcvat-nav-list .sub-menu a:focus-visible {
		color: white;
		background: rgba(79,70,229,0.1);
		outline: none;
	}
}

/* Mobile menu submenu (depth=2) — render expanded inline. */
.dcvat-mobile-nav-list .sub-menu {
	list-style: none;
	padding: 0 0 0 1rem;
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-left: 2px solid rgba(255,255,255,0.1);
}
.dcvat-mobile-nav-list .sub-menu a {
	font-size: 1.25rem;
	color: rgba(255,255,255,0.6);
}

/* Reduced-motion: kill parallax + pulse. */
@media (prefers-reduced-motion: reduce) {
	.moz-parallax__inner,
	.moz-parallax > img { transform: none !important; }
	.dcvat-about-future__pulse span { animation: none; }
	.dcvat-nav-list .sub-menu { transition: none; }
	.dcvat-video-modal { transition: none; }
	.dcvat-video-modal__shell { transition: none; }
}
