/* ==========================================================================
   ENOVA — theme-extras.css
   Everything theme.json can't express: glass header, radial glows, the
   Services dropdown, cards, the video grid + lightbox, FAQ accordion, the
   giant hero clamp(), and reduced-motion. All values reference theme.json
   tokens (--wp--preset--* / --wp--custom--*) so the design stays single-sourced.
   Loaded on the front end AND in the editor (add_editor_style).
   ========================================================================== */

/* ---- Utility: wide-tracked uppercase kicker (brand signature) ---- */
.enova-eyebrow {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--overline);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-teal);
	margin: 0;
}

/* ---- Giant hero display size (theme.json fluid can't do vw-based clamp) ---- */
.display-xl {
	font-size: clamp(44px, 7.5vw, 104px) !important;
	line-height: 1.08;
	letter-spacing: 0;
}

/* ---- Accent colour helpers for inline heading fragments ---- */
.enova-teal { color: var(--wp--preset--color--accent-teal); }
.enova-pink { color: var(--wp--preset--color--accent-pink); }
.enova-nowrap { white-space: nowrap; }

/* Opt a heading out of the global uppercase (e.g. sentence-case service H1s / card titles). */
.enova-title-sentence { text-transform: none !important; }

/* ==========================================================================
   HEADER — sticky glass
   ========================================================================== */
.enova-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--wp--custom--overlay);
	border-bottom: 1px solid var(--wp--custom--hairline--2);
	-webkit-backdrop-filter: blur(var(--wp--custom--blur--header));
	backdrop-filter: blur(var(--wp--custom--blur--header));
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.enova-header { background: #061021; }
}
.enova-header__row { width: 100%; }

/* Nav links */
.enova-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--text-2);
	font-weight: 600;
}
.enova-nav .wp-block-navigation-item__content:hover,
.enova-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-teal);
}
.enova-nav .wp-block-navigation__submenu-icon { color: var(--wp--preset--color--muted); }

/* Services dropdown — glass panel */
.enova-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--custom--hairline--3);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--custom--shadow--lg);
	padding: 8px;
	min-width: 214px;
}
.enova-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 14px;
	border-radius: var(--wp--custom--radius--sm);
	font-size: 12px;
	letter-spacing: 0.06em;
}
.enova-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: rgba(255, 255, 255, 0.04);
}

/* Header CTA — a touch tighter than body buttons */
.enova-header__cta .wp-block-button__link { line-height: 1; }

/* ---- Mobile overlay menu ------------------------------------------------
   The nav block ships no overlay colours, so when open it fell back to
   WordPress's default WHITE panel with BLACK, right-aligned text that ran
   off the edge — reading as a broken menu. Force the dark brand overlay,
   left-align the items and give them room to breathe. !important + a
   container-level selector beats core's modal styles regardless of markup. */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--text-1) !important;
	padding: 24px !important;
	/* The glass header's backdrop-filter makes it the containing block for
	   this position:fixed overlay, so plain inset:0 only filled the ~117px
	   header strip. Viewport units ignore the containing block and let the
	   menu cover the whole screen; allow it to scroll if the list is tall. */
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-height: 100dvh !important;
	overflow-y: auto !important;
}
/* Close (X) button — inherit the light overlay text colour so it's visible. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--text-1);
	top: 22px;
	right: 20px;
}
/* Left-align the whole stack instead of hugging the right edge. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	width: 100%;
	padding-top: 56px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 4px !important;
	width: 100%;
}
/* Kill the leaked right-justification on every row + the Services submenu,
   so nested items line up left with the top-level links. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
	width: 100%;
}
/* Menu links — readable size, comfortable tap target, left aligned. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--wp--preset--color--text-1) !important;
	font-size: 16px;
	padding: 12px 0;
	letter-spacing: 0.08em;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent-teal) !important;
}
/* Services submenu inside the overlay: flush, no glass panel / border. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 0 0 14px !important;
	min-width: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--wp--preset--color--text-2) !important;
	font-size: 14px;
	padding: 9px 0;
}

/* ==========================================================================
   RADIAL GLOWS — decorative section backgrounds
   ========================================================================== */
.enova-glow-hero { position: relative; isolation: isolate; }
.enova-glow-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(120% 90% at 70% 20%, rgba(38, 198, 199, 0.22) 0%, rgba(3, 11, 25, 0) 55%),
		radial-gradient(90% 80% at 15% 90%, rgba(19, 39, 77, 0.9) 0%, rgba(3, 11, 25, 0) 60%);
}
.enova-glow-cta { position: relative; isolation: isolate; }
.enova-glow-cta::before {
	content: "";
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: 640px;
	height: 640px;
	max-width: 100%;
	border-radius: 50%;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(circle, rgba(38, 198, 199, 0.16) 0%, rgba(38, 198, 199, 0) 68%);
}

/* Service-page hero glow — magenta, right-weighted */
.enova-glow-corp { position: relative; overflow: hidden; isolation: isolate; }
.enova-glow-corp::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(90% 120% at 88% 50%, rgba(232, 78, 181, 0.18) 0%, rgba(3, 11, 25, 0) 58%);
}

/* ==========================================================================
   BUTTONS — secondary / outline
   ========================================================================== */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1px solid var(--wp--custom--hairline--4);
	color: var(--wp--preset--color--text-1);
	background: transparent;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus {
	border-color: var(--wp--preset--color--accent-teal);
	color: var(--wp--preset--color--accent-teal);
	background: transparent;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.enova-card {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--custom--hairline--2);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--md);
	transition:
		transform var(--wp--custom--duration--base) var(--wp--custom--ease--out),
		border-color var(--wp--custom--duration--base) var(--wp--custom--ease--out),
		box-shadow var(--wp--custom--duration--base) var(--wp--custom--ease--out);
}
.enova-card:hover {
	transform: translateY(-4px);
	border-color: var(--wp--custom--hairline--4);
	box-shadow: var(--wp--custom--shadow--lg);
}

/* Testimonial gradient avatar */
.enova-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--gradient--brand-teal-pink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	flex: none;
}

/* ==========================================================================
   RESPONSIVE GRID HELPER (for video grid, process, etc.)
   Children stay individually editable blocks; the grid just lays them out.
   ========================================================================== */
.enova-grid { display: grid; gap: 24px; }
.enova-grid--2 { grid-template-columns: repeat(2, 1fr); }
.enova-grid--3 { grid-template-columns: repeat(3, 1fr); }
.enova-grid--4 { grid-template-columns: repeat(4, 1fr); }
.enova-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) {
	.enova-grid--3, .enova-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.enova-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.enova-grid--2, .enova-grid--3, .enova-grid--4 { grid-template-columns: 1fr; }
	.enova-grid--5 { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   VIDEO CARD  (featured work / portfolio / drone spotlight)
   Markup: <a class="enova-video-card js-video" href="https://youtu.be/ID"> … </a>
   ========================================================================== */
.enova-video-card {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--wp--custom--radius--lg);
	overflow: hidden;
	border: 1px solid var(--wp--custom--hairline--2);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--custom--shadow--md);
	cursor: pointer;
	text-decoration: none;
	transition: transform var(--wp--custom--duration--base) var(--wp--custom--ease--out), border-color var(--wp--custom--duration--base) var(--wp--custom--ease--out);
}
.enova-video-card:hover { transform: translateY(-4px); border-color: var(--wp--custom--hairline--4); }
.enova-video-card__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.enova-video-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 11, 25, 0.1) 0%, rgba(3, 11, 25, 0) 40%, rgba(3, 11, 25, 0.82) 100%);
}
.enova-video-card__play {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(38, 198, 199, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.enova-video-card__play::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 3px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 13px solid var(--wp--preset--color--base);
}
.enova-video-card__tag {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: var(--wp--custom--radius--pill);
	background: rgba(3, 11, 25, 0.55);
	border: 1px solid var(--wp--custom--hairline--3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-2);
}
.enova-video-card__meta {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
}
.enova-video-card__title {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	line-height: 1.3;
}
.enova-video-card__dur {
	margin: 4px 0 0;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* Drone spotlight uses a taller media panel */
.enova-video-card--spotlight { aspect-ratio: 16 / 10; }
.enova-video-card--spotlight .enova-video-card__play {
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 70px; height: 70px;
}
.enova-video-card--spotlight .enova-video-card__play::after {
	margin-left: 5px;
	border-top-width: 13px;
	border-bottom-width: 13px;
	border-left-width: 20px;
}

/* ==========================================================================
   VIDEO LIGHTBOX (injected by video.js)
   ========================================================================== */
.enova-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background: rgba(3, 11, 25, 0.88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.enova-lightbox__frame {
	position: relative;
	width: 100%;
	max-width: 1080px;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	border: 1px solid var(--wp--custom--hairline--3);
}
.enova-lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.enova-lightbox__close {
	position: absolute;
	top: 24px;
	right: 28px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--wp--custom--hairline--4);
	background: transparent;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.enova-lightbox__close:hover { border-color: var(--wp--preset--color--accent-teal); color: var(--wp--preset--color--accent-teal); }

/* ==========================================================================
   PROCESS steps
   ========================================================================== */
.enova-step__num {
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	color: var(--wp--preset--color--accent-teal);
	margin: 0;
}
.enova-step__row { display: flex; align-items: center; gap: 12px; }
.enova-step__row::after { content: ""; flex: 1; height: 1px; background: var(--wp--custom--hairline--3); }

/* Drone stat blocks */
.enova-stat { padding-left: 16px; border-left: 2px solid var(--wp--preset--color--accent-teal); }
.enova-stat--pink { border-left-color: var(--wp--preset--color--accent-pink); }

/* Showreel pill */
.enova-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 13px;
	border: 1px solid var(--wp--custom--hairline--4);
	border-radius: var(--wp--custom--radius--pill);
	background: rgba(3, 11, 25, 0.4);
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-2);
}
.enova-pill__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-teal);
	animation: enovaPulse 2.4s ease-in-out infinite;
}
@keyframes enovaPulse {
	0% { transform: scale(1); opacity: 0.9; }
	50% { transform: scale(1.06); opacity: 1; }
	100% { transform: scale(1); opacity: 0.9; }
}

/* Inline (Lucide) icons */
.enova-ico { display: inline-flex; align-items: center; color: var(--wp--preset--color--accent-teal); flex: none; }
.enova-ico svg { width: 18px; height: 18px; }

/* Map placeholder */
.enova-map {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--wp--custom--radius--lg);
	overflow: hidden;
	border: 1px solid var(--wp--custom--hairline--2);
	background:
		repeating-linear-gradient(0deg, #0c1d3a 0, #0c1d3a 1px, transparent 1px, transparent 40px),
		repeating-linear-gradient(90deg, #0c1d3a 0, #0c1d3a 1px, transparent 1px, transparent 40px),
		var(--wp--preset--color--surface);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   FAQ accordion — core/details block with class "enova-faq"
   ========================================================================== */
.enova-faq {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--custom--hairline--2);
	border-radius: var(--wp--custom--radius--md);
	padding: 20px 24px;
}
.enova-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
}
.enova-faq summary::-webkit-details-marker { display: none; }
.enova-faq summary::after {
	content: "+";
	color: var(--wp--preset--color--accent-teal);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.25s var(--wp--custom--ease--out);
}
.enova-faq[open] summary::after { transform: rotate(45deg); }
.enova-faq > *:not(summary) {
	margin-top: 16px;
	font-weight: 500;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--wp--preset--color--muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.enova-footer__col a,
.enova-footer__brand a { color: var(--wp--preset--color--text-2); }
.enova-footer__col a:hover { color: var(--wp--preset--color--accent-teal); }
.enova-footer__social .wp-social-link { background: transparent; }
.enova-footer__social .wp-social-link a { padding: 4px; }

/* ==========================================================================
   SERVICE / INNER PAGES
   ========================================================================== */
/* Breadcrumb */
.enova-breadcrumb { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--faint); }
.enova-breadcrumb a { color: var(--wp--preset--color--faint); }
.enova-breadcrumb a:hover { color: var(--wp--preset--color--accent-teal); }
.enova-breadcrumb .sep { color: var(--wp--preset--color--accent-teal); }

/* Service card icon badge */
.enova-svc__ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: var(--wp--custom--radius--md);
	background: rgba(38, 198, 199, 0.12);
	box-shadow: inset 0 0 0 1px rgba(38, 198, 199, 0.35);
	color: var(--wp--preset--color--accent-teal);
}
.enova-svc__ico svg { width: 24px; height: 24px; }

/* Check list row */
.enova-check { display: flex; align-items: flex-start; gap: 14px; color: var(--wp--preset--color--text-1); font-weight: 500; font-size: 15px; line-height: 1.5; }
.enova-check svg { color: var(--wp--preset--color--accent-pink); width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* Large single testimonial quote mark */
.enova-quote-mark { font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 0.8; color: var(--wp--preset--color--accent-pink); }

/* Hero player mock (decorative) */
.enova-player {
	position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
	border: 1px solid var(--wp--custom--hairline--3);
	background: linear-gradient(165deg, #123C5C, #0c1d3a);
	box-shadow: var(--wp--custom--shadow--lg);
}
.enova-player__glow { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 34%, rgba(38, 198, 199, 0.30), rgba(3, 11, 25, 0) 72%); }
.enova-player__play { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(3, 11, 25, 0.42); border: 1.5px solid rgba(255, 255, 255, 0.55); display: flex; align-items: center; justify-content: center; }
.enova-player__play::after { content: ""; width: 0; height: 0; margin-left: 5px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid #fff; }

/* Vertical reel placeholder cards (Social page) */
.enova-reel { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--wp--custom--hairline--2); background: radial-gradient(60% 46% at 50% 38%, rgba(38, 198, 199, 0.22), rgba(3, 11, 25, 0) 70%), linear-gradient(160deg, #123C5C, #0c1d3a); }
.enova-reel--pink { background: radial-gradient(60% 46% at 50% 38%, rgba(232, 78, 181, 0.20), rgba(3, 11, 25, 0) 70%), linear-gradient(160deg, #13274D, #0c1d3a); }
.enova-reel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, rgba(3, 11, 25, 0.92), rgba(3, 11, 25, 0)); }
.enova-reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(3, 11, 25, 0.5); border: 1px solid rgba(255, 255, 255, 0.4); display: flex; align-items: center; justify-content: center; }
.enova-reel__play::after { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid #fff; }
.enova-reel__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.enova-reel__title { font-weight: 700; font-size: 13px; color: #fff; }
.enova-reel__sub { font-weight: 600; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-top: 4px; }

/* Generic video placeholder card (aspect set inline). Drone / Portfolio grids. */
.enova-vph { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--wp--custom--hairline--2); background: radial-gradient(70% 60% at 50% 40%, rgba(38, 198, 199, 0.20), rgba(3, 11, 25, 0) 70%), linear-gradient(155deg, #123C5C, #0a1a33); cursor: pointer; display: block; }
.enova-vph--pink { background: radial-gradient(70% 60% at 50% 40%, rgba(232, 78, 181, 0.16), rgba(3, 11, 25, 0) 70%), linear-gradient(155deg, #13274D, #0a1a33); }
.enova-vph::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56%; background: linear-gradient(to top, rgba(3, 11, 25, 0.9), rgba(3, 11, 25, 0)); }
.enova-vph__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(3, 11, 25, 0.5); border: 1px solid rgba(255, 255, 255, 0.4); display: flex; align-items: center; justify-content: center; }
.enova-vph__play::after { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; }
.enova-vph__tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-weight: 700; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(3, 11, 25, 0.5); border: 1px solid var(--wp--custom--hairline--4); border-radius: 999px; padding: 5px 12px; }
.enova-vph__meta { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.enova-vph__title { font-weight: 700; font-size: 14px; color: #fff; }
.enova-vph__sub { font-weight: 600; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-top: 4px; }

/* Portfolio — filter pills, category headers, coming-soon */
.enova-fpill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: 1px solid var(--wp--custom--hairline--3); border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--text-2); transition: color 0.2s, background 0.2s, border-color 0.2s; }
.enova-fpill:hover { color: var(--wp--preset--color--base); background: var(--wp--preset--color--accent-teal); border-color: var(--wp--preset--color--accent-teal); }
.enova-fpill svg { width: 15px; height: 15px; }
.enova-cathead { display: flex; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--wp--custom--hairline--3); }
.enova-catnum { font-weight: 800; font-size: clamp(38px, 4.4vw, 58px); line-height: 0.9; margin: 0; }
.enova-cathead h2 { flex: 1; margin: 0; font-size: clamp(24px, 2.8vw, 36px); }
.enova-count { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--faint); padding: 7px 14px; border: 1px solid var(--wp--custom--hairline--3); border-radius: 999px; white-space: nowrap; }
.enova-count svg { width: 14px; height: 14px; color: var(--wp--preset--color--accent-teal); }
.enova-comingsoon { margin-top: 28px; padding: 44px; border: 1px dashed var(--wp--custom--hairline--3); border-radius: 14px; text-align: center; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--wp--preset--color--faint); }

/* Drone "aerial reel" bento — feature + two cards; stacks to one column on mobile */
.enova-bento { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 640px) {
	.enova-bento { grid-template-columns: 1fr; }
	.enova-bento > * { grid-row: auto !important; }
}

/* Hero trust badges (drone) */
.enova-trust { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--text-2); }
.enova-trust svg { width: 17px; height: 17px; color: var(--wp--preset--color--accent-pink); }
.enova-trust__sep { width: 1px; height: 16px; background: var(--wp--custom--hairline--3); }

/* ==========================================================================
   CONTACT — form fields + contact cards
   ========================================================================== */
.enova-field { width: 100%; background: var(--wp--preset--color--card); border: 1px solid var(--wp--custom--hairline--3); border-radius: 10px; padding: 13px 15px; color: #fff; font-family: inherit; font-weight: 500; font-size: 14.5px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.enova-field::placeholder { color: #5c6b85; }
.enova-field:focus { border-color: var(--wp--preset--color--accent-teal); box-shadow: 0 0 0 3px rgba(38, 198, 199, 0.18); }
select.enova-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2393a1bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.enova-label { font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-bottom: 8px; display: block; }
.enova-submit { border: none; cursor: pointer; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #03121f; background: var(--wp--preset--color--accent-teal); border-radius: 10px; padding: 15px 30px; display: inline-flex; align-items: center; gap: 10px; transition: background 0.2s; }
.enova-submit:hover { background: var(--wp--preset--color--text-1); }
.enova-contact-card { display: flex; align-items: center; gap: 16px; background: var(--wp--preset--color--card); border: 1px solid var(--wp--custom--hairline--2); border-radius: 14px; padding: 18px 20px; }
.enova-contact-card__ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(38, 198, 199, 0.12); border: 1px solid rgba(38, 198, 199, 0.3); display: flex; align-items: center; justify-content: center; flex: none; color: var(--wp--preset--color--accent-pink); }
.enova-contact-card__ico svg { width: 20px; height: 20px; }

/* ==========================================================================
   MOTION — respect reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.enova-card:hover,
	.enova-video-card:hover { transform: none; }
	.enova-pill__dot { animation: none; }
}

/* ==========================================================================
   FINE-TUNING (2026-07-22)
   ========================================================================== */
/* Sections & template parts sit flush — no stray block-gap margins. */
.enova-main { margin-top: 0 !important; margin-bottom: 0 !important; }
.enova-footer { margin-top: 0 !important; }
.wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }

/* Heading size presets — theme.json h1/h2 fluid presets weren't emitting a value. */
.has-h1-font-size { font-size: clamp(34px, 5vw, 60px) !important; }
.has-h2-font-size { font-size: clamp(30px, 4vw, 48px) !important; }

/* Homepage hero lead paragraph — left-align to the headline edge + slightly larger. */
.enova-glow-hero p.has-body-lg-font-size { max-width: 780px; margin-left: max(0px, (100% - 1240px) / 2) !important; margin-right: auto !important; font-size: 21px !important; }

/* FAQ accordion items span the full content width. */
.enova-faq { width: 100%; }

/* Section headers that must hug the left edge. Constrained layout otherwise
   gives a narrow max-width header block equal auto margins and centres it;
   this makes the "How it works" / "In their words" heads sit left like the
   featured-work head. Higher specificity + !important beats the layout rule. */
.wp-block-group.enova-head-left { margin-left: 0 !important; margin-right: auto !important; }

/* ==========================================================================
   CONTACT — Gravity Forms styled to match the dark enquiry card
   (scoped to .enova-form-card so no other GF forms are affected)
   ========================================================================== */
.enova-form-card { background: var(--wp--preset--color--card); border: 1px solid var(--wp--custom--hairline--2); border-radius: 20px; padding: 34px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
.enova-form-card__head { margin-bottom: 26px; }
.enova-form-card__title { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: #fff; }
.enova-form-card__sub { font-weight: 500; font-size: 13.5px; line-height: 1.6; color: var(--wp--preset--color--muted); margin: 8px 0 0; }

.enova-form-card .gform_wrapper,
.enova-form-card .gform_wrapper form { margin: 0; }
.enova-form-card .gform_heading,
.enova-form-card .gform_required_legend { display: none; }

/* Labels */
.enova-form-card .gfield_label,
.enova-form-card legend.gfield_label { font-weight: 600 !important; font-size: 11px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; margin-bottom: 8px; display: block; }
.enova-form-card .gfield_required { color: var(--wp--preset--color--accent-pink); }

/* Inputs / selects / textareas */
.enova-form-card input[type=text],
.enova-form-card input[type=email],
.enova-form-card input[type=tel],
.enova-form-card input[type=url],
.enova-form-card textarea,
.enova-form-card select {
	width: 100% !important;
	background: var(--wp--preset--color--surface) !important;
	border: 1px solid var(--wp--custom--hairline--3) !important;
	border-radius: 10px !important;
	padding: 13px 15px !important;
	color: #fff !important;
	font-family: inherit;
	font-weight: 500;
	font-size: 14.5px;
	outline: none;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.enova-form-card input::placeholder,
.enova-form-card textarea::placeholder { color: #5c6b85; }
.enova-form-card input:focus,
.enova-form-card textarea:focus,
.enova-form-card select:focus { border-color: var(--wp--preset--color--accent-teal) !important; box-shadow: 0 0 0 3px rgba(38, 198, 199, 0.18) !important; }
.enova-form-card textarea { min-height: 140px; resize: vertical; }
.enova-form-card select {
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2393a1bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px !important;
}

/* Submit button */
.enova-form-card .gform_footer input[type=submit],
.enova-form-card .gform_footer button,
.enova-form-card .gform-button--width-full {
	border: none !important; cursor: pointer;
	font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
	color: #03121f !important;
	background: var(--wp--preset--color--accent-teal) !important;
	border-radius: 10px !important; padding: 15px 30px !important; width: auto;
	transition: background 0.2s;
}
.enova-form-card .gform_footer input[type=submit]:hover,
.enova-form-card .gform_footer button:hover { background: var(--wp--preset--color--text-1) !important; }

/* Validation + confirmation */
.enova-form-card .gfield_error input,
.enova-form-card .gfield_error textarea,
.enova-form-card .gfield_error select { border-color: var(--wp--preset--color--accent-pink) !important; }
.enova-form-card .gfield_validation_message,
.enova-form-card .validation_message { color: var(--wp--preset--color--accent-pink); font-size: 12.5px; background: none; border: none; padding: 6px 0 0; }
.enova-form-card .gform_validation_errors { background: rgba(232, 78, 181, 0.08); border: 1px solid rgba(232, 78, 181, 0.3); border-radius: 10px; box-shadow: none; }
.enova-form-card .gform_validation_errors .gform_submission_error { color: var(--wp--preset--color--accent-pink); }
.enova-form-card .gform_confirmation_message { color: var(--wp--preset--color--text-1); font-weight: 600; line-height: 1.6; }

/* ==========================================================================
   HEADER LOGO — theme-shipped transparent wordmark (assets/img/enova-logo.png)
   ========================================================================== */
.enova-logo { display: inline-flex; align-items: center; line-height: 0; }
.enova-logo img { display: block; width: 180px; height: auto; }
@media (max-width: 640px) { .enova-logo img { width: 148px; } }
.enova-logo.enova-logo--footer img { width: 150px; }

/* ==========================================================================
   MOBILE HERO FIT (2026-07-24)
   The homepage hero overflowed the viewport on phones: the display-xl clamp
   floors at 44px and the "brought to life." fragment is forced onto one line
   (.enova-nowrap), so it ran wider than a ~375px screen and caused sideways
   scroll. Let that fragment wrap, ease the min headline size, and trim the
   oversized vertical padding so the hero sits neatly on small screens.
   ========================================================================== */
@media (max-width: 640px) {
	/* Let the headline wrap instead of forcing one long line off the edge. */
	.enova-glow-hero .enova-nowrap { white-space: normal; }

	/* Smaller floor for the giant display size on phones. */
	.display-xl { font-size: clamp(32px, 9vw, 56px) !important; }

	/* Trim the 120px top/bottom padding + tall min-height for phones. */
	.enova-glow-hero {
		min-height: auto !important;
		padding-top: 88px !important;
		padding-bottom: 72px !important;
	}

	/* Hero lead paragraph: full width, a touch smaller. */
	.enova-glow-hero p.has-body-lg-font-size { font-size: 17px !important; max-width: 100%; }

	/* Showreel pill can crowd the top-right corner — tuck it in slightly. */
	.enova-glow-hero .enova-pill { top: 16px !important; right: 16px !important; }
}

/* Global safety net: nothing should force horizontal scroll on the page. */
.enova-main { overflow-x: hidden; }
