/* assets/css/fonts.css */
/* Self-hosted Sora + Inter (SIL OFL 1.1), latin subset. Generated from Google Fonts. */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/sora-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/sora-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/sora-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/themes/WP-Theme-Nexora/assets/css/../fonts/sora-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* assets/css/variables.css */
/**
 * NEXORA XR design tokens. Mirrors docs/brand.md and Elementor → Site Settings.
 *
 * Colours read the Elementor global colours first (defined on body.elementor-kit-*), falling back to
 * the brand values, so Site Settings stays the source of truth for solid colours.
 * The --hy-rgb-* channels (used for translucent glows) can't be derived from a hex in CSS:
 * keep them in sync with the hex values when the palette changes.
 */
body {
	/* Palette */
	--hy-color-primary: var(--e-global-color-primary, #3df2ff);   /* Ion cyan */
	--hy-color-secondary: var(--e-global-color-secondary, #7a5cff); /* Ultraviolet */
	--hy-color-text: var(--e-global-color-text, #eef2ff);         /* Starlight */
	--hy-color-ink: var(--e-global-color-accent, #050712);        /* Text on bright buttons */
	--hy-color-bg: var(--e-global-color-hy_bg, #0a0e1f);          /* Void */
	--hy-color-surface: var(--e-global-color-hy_surface, #060914); /* Abyss */
	--hy-color-surface-glow: var(--e-global-color-hy_surface_glow, #18224a); /* Nebula */
	--hy-color-accent: var(--e-global-color-hy_plasma, #ff4fd8);  /* Plasma, used sparingly */
	--hy-color-highlight: #cffaff;
	--hy-color-shade: rgba(0, 0, 0, 0.35);

	--hy-rgb-primary: 61, 242, 255;
	--hy-rgb-secondary: 122, 92, 255;
	--hy-rgb-accent: 255, 79, 216;
	--hy-rgb-highlight: 207, 250, 255;
	--hy-rgb-text: 238, 242, 255;
	--hy-rgb-surface-glow: 24, 34, 74;
	--hy-rgb-surface: 6, 9, 20;

	/* Gradients */
	--hy-gradient-accent: linear-gradient(90deg, var(--hy-color-secondary) 0%, var(--hy-color-primary) 100%);
	--hy-gradient-text: linear-gradient(100deg, var(--hy-color-primary) 0%, var(--hy-color-secondary) 100%);
	--hy-gradient-panel: radial-gradient(ellipse at 50% 50%, var(--hy-color-surface-glow) 0%, var(--hy-color-surface) 100%);
	--hy-gradient-divider: linear-gradient(180deg, transparent 0%, var(--hy-color-primary) 50%, transparent 100%);
	--hy-gradient-rule: linear-gradient(90deg, transparent 0%, var(--hy-color-primary) 50%, transparent 100%);

	/* Typography */
	--hy-font: "Inter", var(--e-global-typography-text-font-family, system-ui), system-ui, sans-serif;
	--hy-font-display: "Sora", var(--e-global-typography-primary-font-family, system-ui), system-ui, sans-serif;
	--hy-weight-light: 300;
	--hy-weight-regular: 400;
	--hy-weight-bold: 700;

	--hy-fs-hero: 44px;
	--hy-lh-hero: 1.15;
	--hy-fs-title: 36px;
	--hy-lh-title: 1.2;
	--hy-fs-number: 64px;
	--hy-fs-card-title: 22px;
	--hy-fs-body: 16px;
	--hy-lh-body: 1.65;
	--hy-fs-small: 14px;
	--hy-fs-xs: 12px;
	--hy-lh-xs: 1.6;
	--hy-ls-wide: 0.14em;

	/* Layout */
	--hy-content-width: 1272px;
	--hy-gutter: 84px;
	--hy-section-space: 120px;
	--hy-gap: 32px;

	/* Shape */
	--hy-radius-pill: 40px;
	--hy-radius-card: 32px;
	--hy-radius-bar: 90px;
	--hy-radius-banner: 160px;
	--hy-radius-panel: 64px;
	--hy-btn-height: 48px;
	--hy-input-height: 64px;

	/* Motion: one easing family everywhere keeps transitions feeling continuous. */
	--hy-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--hy-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--hy-dur-fast: 0.2s;
	--hy-dur: 0.35s;
	--hy-dur-slow: 0.7s;
	--hy-transition: var(--hy-dur) var(--hy-ease);
}

@media (max-width: 1024px) {
	body {
		--hy-gutter: 32px;
		--hy-section-space: 96px;
		--hy-fs-title: 30px;
		--hy-fs-hero: 38px;
	}
}

@media (max-width: 767px) {
	body {
		--hy-gutter: 24px;
		--hy-section-space: 72px;
		--hy-fs-hero: 28px;
		--hy-fs-title: 24px;
		--hy-fs-card-title: 20px;
		--hy-fs-body: 14px;
		--hy-radius-bar: 50px;
		--hy-radius-banner: 60px;
		--hy-radius-panel: 32px;
	}
}

/* assets/css/global.css */
/**
 * Global base styles.
 */
html {
	scroll-behavior: smooth;
}

/* ---------- Page transitions ----------
 * Modern browsers: native cross-document View Transitions (old page blurs out, new page resolves in;
 * the header keeps its own snapshot so it stays still).
 * Others (html.hy-no-vt): CSS fade-in on load + JS fade-out before navigating (global.js).
 */
@view-transition {
	navigation: auto;
}

.hy-header {
	view-transition-name: hy-header;
}

::view-transition-old(root) {
	animation: hy-vt-out 0.4s var(--hy-ease, ease) both;
}

::view-transition-new(root) {
	animation: hy-vt-in 0.6s var(--hy-ease, ease) both;
}

@keyframes hy-vt-out {
	to { opacity: 0; filter: blur(10px); transform: scale(0.985); }
}

@keyframes hy-vt-in {
	from { opacity: 0; filter: blur(10px); transform: scale(1.015); }
}

/* Fallback uses opacity only: transform/filter on <body> would re-anchor the fixed header. */
html.hy-no-vt body {
	animation: hy-page-in 0.6s var(--hy-ease, ease) both;
}

html.hy-leaving body {
	opacity: 0;
	transition: opacity 0.32s var(--hy-ease, ease);
}

@keyframes hy-page-in {
	from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	html.hy-no-vt body {
		animation: none;
	}
}

/* global.js takes over with eased scrolling; CSS smoothing would fight its per-frame scrollTo. */
html.hy-js-scroll {
	scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background-color: var(--hy-color-bg);
	color: var(--hy-color-text);
	font-family: var(--hy-font);
	font-size: var(--hy-fs-body);
	font-weight: var(--hy-weight-regular);
	line-height: var(--hy-lh-body);
	overflow-x: clip;
}

/* clip (not hidden) so no scroll container is created; keeps the page from widening on phones. */
html {
	overflow-x: clip;
}

/* Decorative curved lines behind the top of the page (Figma background strokes).
   Markup: hydra_bg_lines() in inc/template-tags.php. Travelling light: animations.css. */
body {
	position: relative;
}

.hy-bg-lines {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.hy-bg-lines svg {
	display: block;
	width: 100%;
	min-width: 1440px;
	height: 100%;
	margin-inline: auto;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.hy-bg-lines path {
	fill: none;
	vector-effect: non-scaling-stroke;
}

.hy-bg-lines__base {
	stroke: var(--hy-color-primary);
	stroke-opacity: 0.22;
	stroke-width: 1.5;
}

/* Comets are hidden unless motion is enabled. */
.hy-bg-lines__comet {
	stroke: none;
}


.site-main,
.hy-header,
.hy-footer {
	position: relative;
	z-index: 1;
}

a {
	color: var(--hy-color-primary);
	transition: color var(--hy-transition), opacity var(--hy-transition);
}

a:hover,
a:focus-visible {
	color: var(--hy-color-text);
}

:focus-visible {
	outline: 2px solid var(--hy-color-primary);
	outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hy-font-display);
	color: var(--hy-color-text);
}

/* Room for the compact fixed header when jumping to a section. */
[id] {
	scroll-margin-top: 96px;
}

@media (max-width: 1024px) {
	[id] {
		scroll-margin-top: 80px;
	}
}

.hy-container {
	width: 100%;
	max-width: calc(var(--hy-content-width) + var(--hy-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--hy-gutter);
}

/* Gradient text (e.g. "Dive", "Virtual Reality"). */
.hy-gradient-text {
	background: var(--hy-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Non-Elementor templates (404, posts) keep readable widths. */
.site-main:not(.elementor) {
	max-width: calc(var(--hy-content-width) + var(--hy-gutter) * 2);
	padding-inline: var(--hy-gutter);
}

/* assets/css/components/buttons.css */
/**
 * Buttons.
 * - .hy-btn on a link (theme templates)
 * - .hy-btn on an Elementor Button widget: the class lands on the widget wrapper div, so
 *   generic rules use .hy-btn:not(.elementor-widget) and the inner .elementor-button is styled instead.
 * - .hy-btn--outline: white outline variant
 */
.hy-btn:not(.elementor-widget),
.elementor-widget-button.hy-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--hy-btn-height);
	padding: 0 38px;
	border: 0;
	border-radius: var(--hy-radius-pill);
	background: var(--hy-gradient-accent);
	color: var(--hy-color-ink);
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-xs);
	font-weight: var(--hy-weight-bold);
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	transition: filter var(--hy-transition), transform var(--hy-transition), box-shadow var(--hy-transition);
}

.elementor-widget-button.hy-btn {
	padding: 0;
	background: none;
	min-height: 0;
}

.hy-btn:not(.elementor-widget):hover,
.hy-btn:not(.elementor-widget):focus-visible,
.elementor-widget-button.hy-btn .elementor-button:hover,
.elementor-widget-button.hy-btn .elementor-button:focus-visible {
	color: var(--hy-color-ink);
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(var(--hy-rgb-secondary), 0.35);
}

.hy-btn--outline,
.elementor-widget-button.hy-btn--outline .elementor-button {
	background: transparent;
	color: var(--hy-color-text);
	border: 1px solid var(--hy-color-text);
}

.hy-btn--outline:hover,
.hy-btn--outline:focus-visible,
.elementor-widget-button.hy-btn--outline .elementor-button:hover {
	background: var(--hy-color-text);
	color: var(--hy-color-ink);
}

@media (max-width: 767px) {
	.hy-btn:not(.elementor-widget),
	.elementor-widget-button.hy-btn .elementor-button {
		min-width: 100%;
	}

	.elementor-widget-button.hy-btn {
		width: 100%;
	}
}

/* assets/css/components/header.css */
/**
 * Global header.
 */
/*
 * Fixed header; the body reserves its full height so compacting it on scroll never shifts content.
 * States (assets/js/global.js): .is-stuck (glass, compact) and .is-hidden (slid up while scrolling down).
 */
body {
	--hy-header-h: 153px;
	padding-top: var(--hy-header-h);
}

.hy-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding-top: 50px;
	padding-bottom: 0;
	transition: padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), backdrop-filter 0.35s ease;
}

.admin-bar .hy-header {
	top: 32px;
}

.hy-header.is-stuck {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: rgba(var(--hy-rgb-surface), 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 1px 0 rgba(var(--hy-rgb-primary), 0.15), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hy-header.is-hidden {
	transform: translateY(-110%);
}

.hy-header .hy-logo__mark,
.hy-header .hy-logo__wordmark {
	transition: width 0.35s ease;
}

.hy-header.is-stuck .hy-logo__mark {
	width: 52px;
}

.hy-header.is-stuck .hy-logo__wordmark {
	width: 104px;
}

/* Active section (scrollspy). */
.hy-menu > li:not(.hy-menu-btn) > a.is-active {
	color: var(--hy-color-primary);
}

.hy-menu > li:not(.hy-menu-btn) > a.is-active::after {
	transform: scaleX(1);
}

.hy-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: calc(var(--hy-content-width) + var(--hy-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--hy-gutter);
}

/* Logo */
.hy-logo {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	text-decoration: none;
}

.hy-logo__mark {
	width: 84px;
	height: auto;
	filter: drop-shadow(0 10px 3px rgba(0, 0, 0, 0.25));
}

.hy-logo__wordmark {
	width: 132px;
	height: auto;
}

/* Menu */
.hy-menu-nav {
	flex: 1;
}

.hy-menu {
	display: flex;
	align-items: center;
	gap: 42px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hy-menu > li:first-child {
	margin-left: auto;
}

.hy-menu a {
	font-family: var(--hy-font-display);
	letter-spacing: 0.06em;
	color: var(--hy-color-text);
	font-size: var(--hy-fs-xs);
	font-weight: var(--hy-weight-bold);
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

/* No "current" styling: every item is an in-page anchor on the home page. */
.hy-menu a:hover,
.hy-menu a:focus-visible {
	color: var(--hy-color-primary);
}

/* Button menu items (CSS classes set in Appearance → Menus). */
.hy-menu .hy-menu-btn--outline {
	margin-left: auto;
}

.hy-menu .hy-menu-btn + .hy-menu-btn {
	margin-left: -4px;
}

.hy-menu .hy-menu-btn > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 154px;
	min-height: var(--hy-btn-height);
	padding: 0 32px;
	border-radius: var(--hy-radius-pill);
	background: var(--hy-gradient-accent);
	color: var(--hy-color-ink);
	transition: filter var(--hy-transition), background var(--hy-transition), color var(--hy-transition);
}

.hy-menu .hy-menu-btn > a:hover,
.hy-menu .hy-menu-btn > a:focus-visible {
	color: var(--hy-color-ink);
	filter: brightness(1.08);
}

.hy-menu .hy-menu-btn--outline > a {
	background: transparent;
	border: 1px solid var(--hy-color-text);
	color: var(--hy-color-text);
}

.hy-menu .hy-menu-btn--outline > a:hover,
.hy-menu .hy-menu-btn--outline > a:focus-visible {
	background: var(--hy-color-text);
	color: var(--hy-color-ink);
	filter: none;
}

/* Hamburger (mobile/tablet) */
.hy-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.hy-header__toggle:hover,
.hy-header__toggle:focus {
	background: transparent;
}

/* Figma: staggered bar lengths. */
.hy-header__toggle-bar {
	display: block;
	align-self: flex-end;
	width: 100%;
	height: 3px;
	border-radius: 3px;
	background: var(--hy-color-primary);
	transition: transform var(--hy-transition), opacity var(--hy-transition);
}

.hy-header__toggle-bar:nth-child(3) { width: 65%; }
.hy-header__toggle-bar:nth-child(4) { width: 85%; }

.hy-header__toggle:hover .hy-header__toggle-bar,
.hy-header__toggle[aria-expanded="true"] .hy-header__toggle-bar {
	width: 100%;
}

.hy-header__toggle-bar {
	transition: transform var(--hy-transition), opacity var(--hy-transition), width var(--hy-transition);
}

.hy-header__toggle[aria-expanded="true"] .hy-header__toggle-bar:nth-child(2) {
	transform: translateY(10px) rotate(45deg);
}

.hy-header__toggle[aria-expanded="true"] .hy-header__toggle-bar:nth-child(3) {
	opacity: 0;
}

.hy-header__toggle[aria-expanded="true"] .hy-header__toggle-bar:nth-child(4) {
	transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 782px) {
	.admin-bar .hy-header {
		top: 46px;
	}
}

@media (max-width: 1024px) {
	body {
		--hy-header-h: 89px;
	}

	.hy-header {
		padding-top: 24px;
	}

	.hy-header.is-stuck {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.hy-header.is-stuck .hy-logo__mark {
		width: 44px;
	}

	.hy-header.is-stuck .hy-logo__wordmark {
		width: 86px;
	}

	.hy-menu-nav {
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}

	.hy-header__inner {
		position: relative;
		flex-wrap: wrap;
	}

	.hy-logo__mark {
		width: 56px;
	}

	.hy-logo__wordmark {
		width: 100px;
	}

	.hy-header__toggle {
		display: flex;
	}

	.hy-menu-nav {
		display: none;
		flex-basis: 100%;
		padding: 24px;
		border-radius: var(--hy-radius-card);
		background: var(--hy-gradient-panel);
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	}

	.hy-header.is-open .hy-menu-nav {
		display: block;
	}

	.hy-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.hy-menu > li:first-child,
	.hy-menu .hy-menu-btn--outline,
	.hy-menu .hy-menu-btn + .hy-menu-btn {
		margin-left: 0;
	}

	.hy-menu a {
		display: block;
		padding: 12px 8px;
		font-size: 14px;
		text-align: center;
	}

	.hy-menu .hy-menu-btn > a {
		display: flex;
		margin-top: 8px;
	}
}

/* assets/css/components/footer.css */
/**
 * Global footer.
 */
.hy-footer {
	margin-top: var(--hy-section-space);
	padding-bottom: 56px;
}

.hy-footer__inner {
	display: grid;
	grid-template-columns: 185px 1fr 1fr auto;
	align-items: start;
	max-width: calc(var(--hy-content-width) + var(--hy-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--hy-gutter);
}

.hy-logo--footer .hy-logo__mark {
	width: 150px;
}

.hy-footer__col {
	position: relative;
	min-height: 192px;
	padding-left: 96px;
}

/* Gradient vertical dividers between columns. */
.hy-footer__col::before {
	content: "";
	position: absolute;
	top: -6px;
	bottom: -6px;
	left: 48px;
	width: 5px;
	border-radius: 5px;
	background: var(--hy-gradient-divider);
}

.hy-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hy-footer-menu a,
.hy-footer__heading,
.hy-footer__copyright {
	font-family: var(--hy-font-display);
	color: var(--hy-color-text);
	font-size: var(--hy-fs-body);
	font-weight: var(--hy-weight-bold);
	line-height: 2.7;
	text-transform: uppercase;
	text-decoration: none;
}

.hy-footer-menu a:hover,
.hy-footer-menu a:focus-visible {
	color: var(--hy-color-primary);
}

.hy-footer__heading {
	margin: 0 0 16px;
	line-height: 1.2;
}

/* Social icons */
.hy-social {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.hy-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hy-color-primary);
	color: var(--hy-color-bg);
	font-size: 15px;
	font-weight: var(--hy-weight-bold);
	text-decoration: none;
	transition: transform var(--hy-transition), background var(--hy-transition);
}

.hy-social__link:hover,
.hy-social__link:focus-visible {
	background: var(--hy-color-text);
	color: var(--hy-color-bg);
	transform: translateY(-2px);
}

/* Bottom bar */
.hy-footer__bottom {
	max-width: calc(var(--hy-content-width) + var(--hy-gutter) * 2);
	margin: 64px auto 0;
	padding-inline: var(--hy-gutter);
}

.hy-footer__bottom::before {
	content: "";
	display: block;
	height: 1px;
	margin-bottom: 56px;
	background: var(--hy-gradient-rule);
}

.hy-footer__copyright {
	margin: 0;
	font-size: var(--hy-fs-small);
	font-weight: var(--hy-weight-bold);
	letter-spacing: var(--hy-ls-wide);
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.hy-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 48px 0;
	}

	.hy-footer__brand {
		grid-column: 1 / -1;
		text-align: center;
	}

	.hy-logo--footer .hy-logo__mark {
		width: 140px;
	}

	.hy-footer__col--social {
		grid-column: 1 / -1;
		padding-left: 0;
		min-height: 0;
		text-align: center;
	}

	.hy-footer__col--social::before {
		display: none;
	}

	.hy-footer__col--social .hy-social {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.hy-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	/* Mobile design shows only the logo, social block and CTA. */
	.hy-footer__col:not(.hy-footer__col--social) {
		display: none;
	}

	.hy-logo--footer .hy-logo__mark {
		width: 185px;
	}

	.hy-footer__col--social .hy-social {
		gap: 20px;
		margin-bottom: 48px;
	}

	.hy-footer__col--social .hy-btn {
		width: 100%;
		min-width: 0;
		max-width: 295px;
	}

	/* Figma mobile: three lines, no dashes. */
	.hy-footer__copyright {
		line-height: 2.85;
	}

	.hy-footer__copy-part {
		display: block;
	}

	.hy-footer__sep {
		display: none;
	}

	.hy-footer__bottom::before {
		margin-bottom: 32px;
	}
}

/* assets/css/components/slider.css */
/**
 * Mobile sliders.
 * Any element with .hy-slider becomes a one-item-per-view, swipeable slider at ≤767px.
 * assets/js/global.js wraps it in .hy-slider-wrap and adds prev/next buttons.
 */
.hy-slider__btn {
	display: none;
}

@media (max-width: 767px) {
	.hy-slider-wrap {
		position: relative;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.elementor .e-con.hy-slider {
		--width: 100%;
		width: 100%;
		min-width: 0;
		--flex-wrap: nowrap;
		--row-gap: 0px;
		--column-gap: 0px;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.elementor .e-con.hy-slider::-webkit-scrollbar {
		display: none;
	}

	/* Each slide fills the view; side padding leaves room for the arrows. */
	.elementor .e-con.hy-slider > * {
		--width: 100%;
		flex: 0 0 100% !important;
		width: 100% !important;
		padding-inline: 52px;
		scroll-snap-align: center;
	}

	/* Cards draw their panel on a pseudo-element; Figma mobile: card inset 12px, arrows sit on its edges. */
	.elementor .e-con.hy-slider > .e-con.hy-card {
		position: relative;
		isolation: isolate;
		padding: 23px 40px 32px;
		background: none;
		transform: none;
		box-shadow: none;
	}

	.elementor .e-con.hy-slider > .e-con.hy-card::before {
		content: "";
		position: absolute;
		inset: 0 12px;
		z-index: -1;
		border-radius: var(--hy-radius-card);
		background: radial-gradient(ellipse 100% 55% at 50% 50%, var(--hy-color-surface-glow) 0%, var(--hy-color-surface) 100%);
	}

	.hy-slider__btn {
		position: absolute;
		top: 50%;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 54px;
		height: 54px;
		padding: 0;
		border: 7px solid var(--hy-color-shade);
		border-radius: 50%;
		background: linear-gradient(240deg, var(--hy-color-primary) 0%, var(--hy-color-secondary) 100%) padding-box;
		color: var(--hy-color-bg);
		transform: translateY(-50%);
		cursor: pointer;
	}

	.hy-slider__btn:hover,
	.hy-slider__btn:focus-visible {
		background: linear-gradient(240deg, var(--hy-color-text) 0%, var(--hy-color-primary) 100%) padding-box;
		color: var(--hy-color-bg);
	}

	.hy-slider__btn[disabled] {
		opacity: 0.4;
		cursor: default;
	}

	.hy-slider__btn--prev {
		left: -14px;
	}

	.hy-slider__btn--next {
		right: -14px;
	}

	.hy-slider__btn svg {
		width: 20px;
		height: 20px;
	}

	/* Contact bar: arrows sit inside the pill. */
	.hy-slider-wrap:has(.hy-contact__list) .hy-slider__btn {
		width: 36px;
		height: 36px;
		border-width: 3px;
	}

	.hy-slider-wrap:has(.hy-contact__list) .hy-slider__btn--prev {
		left: 10px;
	}

	.hy-slider-wrap:has(.hy-contact__list) .hy-slider__btn--next {
		right: 10px;
	}
}

/* assets/css/components/forms.css */
/**
 * Contact Form 7 — "Join Hydra" form.
 */
.hy-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 39px 12px;
	text-align: left;
}

.hy-form__field {
	display: block;
	margin: 0;
}

.hy-form__field--full,
.hy-form__actions {
	grid-column: 1 / -1;
}

.hy-form .wpcf7-form-control-wrap {
	display: block;
}

.hy-form input[type="text"],
.hy-form input[type="email"],
.hy-form input[type="tel"],
.hy-form textarea {
	width: 100%;
	min-height: var(--hy-input-height);
	padding: 0 42px;
	border: 1px solid var(--hy-color-text);
	border-radius: var(--hy-radius-pill);
	background: transparent;
	color: var(--hy-color-text);
	font-family: var(--hy-font);
	font-size: var(--hy-fs-small);
	line-height: 1.2;
	transition: border-color var(--hy-transition), box-shadow var(--hy-transition);
}

.hy-form textarea {
	height: 209px;
	padding-top: 27px;
	padding-bottom: 27px;
	resize: vertical;
}

.hy-form input::placeholder,
.hy-form textarea::placeholder {
	color: var(--hy-color-text);
	opacity: 1;
}

.hy-form input:focus,
.hy-form textarea:focus {
	outline: none;
	border-color: var(--hy-color-primary);
	box-shadow: 0 0 0 3px rgba(var(--hy-rgb-primary), 0.25);
}

.hy-form__actions {
	display: flex;
	justify-content: center;
	margin-top: 11px;
}

.hy-form .wpcf7-submit.hy-btn {
	min-width: 214px;
	cursor: pointer;
}

.hy-form .wpcf7-submit.hy-btn:disabled {
	opacity: 0.6;
	cursor: progress;
}

.hy-form__actions .wpcf7-spinner {
	position: absolute;
	margin: 12px 0 0 230px;
}

/* Submit states (assets/js/global.js). */
.hy-form .wpcf7-submit.is-sending {
	background-image: linear-gradient(90deg, var(--hy-color-secondary) 0%, var(--hy-color-primary) 25%, var(--hy-color-highlight) 50%, var(--hy-color-primary) 75%, var(--hy-color-secondary) 100%);
	background-size: 200% 100%;
	animation: hy-form-sending 1.2s linear infinite;
}

.hy-form .wpcf7-submit.is-sent {
	background: linear-gradient(90deg, #7fd6b5 0%, #c0f0de 100%);
	color: var(--hy-color-ink);
	box-shadow: 0 0 30px rgba(127, 214, 181, 0.45);
}

@keyframes hy-form-sending {
	to { background-position: -200% 0; }
}

@keyframes hy-form-shake {
	10%, 90% { transform: translateX(-2px); }
	20%, 80% { transform: translateX(4px); }
	30%, 50%, 70% { transform: translateX(-8px); }
	40%, 60% { transform: translateX(8px); }
}

.wpcf7-form.is-shake .hy-form {
	animation: hy-form-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@media (prefers-reduced-motion: reduce) {
	.hy-form .wpcf7-submit.is-sending,
	.wpcf7-form.is-shake .hy-form {
		animation: none;
	}
}

/* Valid fields get a soft lavender edge once touched. */
.hy-form input:not(:placeholder-shown):valid,
.hy-form textarea:not(:placeholder-shown):valid {
	border-color: var(--hy-color-primary);
}

/* Validation and response messages */
.hy-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: #ff9d9d;
	box-shadow: 0 0 0 3px rgba(255, 157, 157, 0.15);
}

.wpcf7 .hy-form .wpcf7-not-valid-tip {
	margin: 6px 0 0 24px;
	color: #ffb3b3;
	font-size: var(--hy-fs-xs);
}

.hy-join__form .wpcf7 form .wpcf7-response-output {
	margin: 32px 0 0;
	padding: 14px 24px;
	border-radius: var(--hy-radius-pill);
	border-color: var(--hy-color-primary);
	color: var(--hy-color-text);
	font-size: var(--hy-fs-small);
	text-align: center;
}

.hy-join__form .wpcf7 form.invalid .wpcf7-response-output,
.hy-join__form .wpcf7 form.failed .wpcf7-response-output {
	border-color: #ff9d9d;
}

@media (max-width: 767px) {
	.hy-form {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hy-form input[type="text"],
	.hy-form input[type="email"],
	.hy-form input[type="tel"],
	.hy-form textarea {
		min-height: 52px;
		padding-inline: 28px;
		border-width: 2px;
	}

	.hy-form textarea {
		height: 200px;
		padding-top: 16px;
	}

	.hy-form .wpcf7-submit.hy-btn {
		width: 100%;
	}
}

/* assets/css/components/back-to-top.css */
/**
 * Back-to-top button (created by assets/js/global.js).
 * The ring shows scroll progress via --hy-progress (0–1).
 */
.hy-totop {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--hy-color-surface);
	color: var(--hy-color-primary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.9);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hy-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.hy-totop:hover,
.hy-totop:focus-visible {
	background: var(--hy-color-surface);
	color: var(--hy-color-text);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(var(--hy-rgb-primary), 0.6);
}

.hy-totop__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.hy-totop__track,
.hy-totop__bar {
	fill: none;
	stroke-width: 3;
}

.hy-totop__track {
	stroke: rgba(var(--hy-rgb-primary), 0.18);
}

.hy-totop__bar {
	stroke: var(--hy-color-primary);
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: calc(100 - var(--hy-progress, 0) * 100);
}

.hy-totop__icon {
	position: relative;
	width: 22px;
	height: 22px;
	transition: translate 0.3s cubic-bezier(0.3, 1.6, 0.4, 1);
}

.hy-totop:hover .hy-totop__icon,
.hy-totop:focus-visible .hy-totop__icon {
	translate: 0 -4px;
}

@media (prefers-reduced-motion: no-preference) {
	.hy-totop:hover .hy-totop__icon {
		animation: hy-totop-launch 0.7s cubic-bezier(0.5, 0, 0.2, 1);
	}
}

@keyframes hy-totop-launch {
	0% { translate: 0 0; }
	40% { translate: 0 -14px; opacity: 0; }
	41% { translate: 0 14px; opacity: 0; }
	100% { translate: 0 -4px; opacity: 1; }
}

@media (max-width: 767px) {
	.hy-totop {
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
	}
}

/* assets/css/components/animations.css */
/**
 * Motion and micro-interactions.
 *
 * Everything here is gated:
 * - html.hy-motion is added by assets/js/components/animations.js only when the visitor
 *   allows motion and we're not inside the Elementor editor, so content is always visible without JS.
 * - prefers-reduced-motion: reduce disables all of it.
 */

@property --hy-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

/* ---------- Keyframes ---------- */
@keyframes hy-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
	50% { transform: translate3d(0, -14px, 0) rotate(-0.6deg); }
}

@keyframes hy-spin {
	to { --hy-angle: 360deg; }
}

@keyframes hy-shimmer {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

@keyframes hy-scan {
	0% { transform: translateY(-120%); opacity: 0; }
	15% { opacity: 1; }
	60%, 100% { transform: translateY(220%); opacity: 0; }
}

@keyframes hy-pulse-ring {
	0% { box-shadow: 0 0 0 0 rgba(var(--hy-rgb-primary), 0.45); }
	100% { box-shadow: 0 0 0 26px rgba(var(--hy-rgb-primary), 0); }
}

@keyframes hy-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

@keyframes hy-glow-breathe {
	0%, 100% { opacity: 0.45; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.06); }
}

@keyframes hy-ripple {
	to { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes hy-nudge {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(8px); }
}

@media (prefers-reduced-motion: no-preference) {

	/* ---------- Scroll progress ---------- */
	.hy-motion .hy-progress {
		position: fixed;
		inset: 0 0 auto 0;
		z-index: 9999;
		height: 3px;
		background: var(--hy-gradient-accent);
		box-shadow: 0 0 12px rgba(var(--hy-rgb-primary), 0.8);
		transform: scaleX(var(--hy-progress, 0));
		transform-origin: 0 50%;
		pointer-events: none;
	}

	/* ---------- Cursor spotlight (fine pointers only) ---------- */
	.hy-motion .hy-spotlight {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 0;
		width: 520px;
		height: 520px;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(var(--hy-rgb-primary), 0.13) 0%, rgba(var(--hy-rgb-secondary), 0.06) 35%, transparent 70%);
		transform: translate3d(calc(var(--hy-mx, -999px) - 50%), calc(var(--hy-my, -999px) - 50%), 0);
		pointer-events: none;
		transition: opacity 0.4s ease;
	}

	/* Background lines drift slowly with scroll. */

	/* ---------- Scroll reveal ---------- */
	.hy-motion .hy-reveal {
		opacity: 0;
		transform: translate3d(0, 44px, 0) scale(0.98);
		transition:
			opacity 0.8s var(--hy-ease),
			transform 0.8s var(--hy-ease);
		transition-delay: var(--hy-delay, 0ms);
	}

	.hy-motion .hy-reveal--left { transform: translate3d(-60px, 0, 0); }
	.hy-motion .hy-reveal--right { transform: translate3d(60px, 0, 0); }
	.hy-motion .hy-reveal--zoom { transform: scale(0.85); }

	.hy-motion .hy-reveal.is-in {
		opacity: 1;
		transform: none;
	}

	/* Long arrows draw in after their title appears. */
	.hy-motion .hy-reveal .hy-arrow-long {
		transform: scaleX(0);
		transform-origin: 0 50%;
		transition: transform 1s cubic-bezier(0.6, 0, 0.2, 1) calc(var(--hy-delay, 0ms) + 400ms);
	}

	.hy-motion .hy-reveal.is-in .hy-arrow-long {
		transform: scaleX(1);
	}

	/* ---------- Header ---------- */
	.hy-motion .hy-logo__mark {
		transition: transform 0.8s cubic-bezier(0.3, 1.4, 0.4, 1), filter 0.4s ease;
	}

	.hy-motion .hy-logo:hover .hy-logo__mark {
		transform: rotate(90deg) scale(1.05);
		filter: drop-shadow(0 0 14px rgba(var(--hy-rgb-primary), 0.7));
	}

	.hy-motion .hy-menu > li:not(.hy-menu-btn) > a {
		position: relative;
	}

	.hy-motion .hy-menu > li:not(.hy-menu-btn) > a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -8px;
		height: 2px;
		border-radius: 2px;
		background: var(--hy-gradient-accent);
		box-shadow: 0 0 10px rgba(var(--hy-rgb-primary), 0.8);
		transform: scaleX(0);
		transform-origin: 50% 50%;
		transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.hy-motion .hy-menu > li:not(.hy-menu-btn) > a:hover::after,
	.hy-motion .hy-menu > li:not(.hy-menu-btn) > a:focus-visible::after {
		transform: scaleX(1);
	}

	/* ---------- Buttons: shine sweep, glow, magnetic, ripple ---------- */
	.hy-motion .hy-btn:not(.elementor-widget),
	.hy-motion .elementor-widget-button.hy-btn .elementor-button,
	.hy-motion .hy-menu .hy-menu-btn > a {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		transform: translate3d(var(--hy-tx, 0), var(--hy-ty, 0), 0);
		transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease, color 0.3s ease;
	}

	.hy-motion .elementor-widget-button.hy-btn {
		overflow: visible;
		transform: none;
	}

	.hy-motion .hy-btn:not(.elementor-widget)::before,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button::before,
	.hy-motion .hy-menu .hy-menu-btn > a::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -60%;
		z-index: -1;
		width: 45%;
		background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
		transform: skewX(-20deg) translateX(0);
		transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
		pointer-events: none;
	}

	.hy-motion .elementor-widget-button.hy-btn::before {
		content: none;
	}

	.hy-motion .hy-btn:not(.elementor-widget):hover::before,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button:hover::before,
	.hy-motion .hy-menu .hy-menu-btn > a:hover::before {
		transform: skewX(-20deg) translateX(420%);
	}

	.hy-motion .hy-btn:not(.elementor-widget):hover,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button:hover,
	.hy-motion .hy-menu .hy-menu-btn:not(.hy-menu-btn--outline) > a:hover {
		box-shadow: 0 0 0 1px rgba(var(--hy-rgb-primary), 0.5), 0 10px 30px rgba(var(--hy-rgb-secondary), 0.55), 0 0 40px rgba(var(--hy-rgb-primary), 0.35);
	}

	.hy-motion .hy-btn:not(.elementor-widget):active,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button:active {
		transform: translate3d(var(--hy-tx, 0), var(--hy-ty, 0), 0) scale(0.97);
	}

	.hy-ripple {
		position: absolute;
		z-index: -1;
		width: 260%;
		aspect-ratio: 1;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 60%);
		transform: translate(-50%, -50%) scale(0);
		opacity: 1;
		animation: hy-ripple 0.7s ease-out forwards;
		pointer-events: none;
	}

	/* Hero scroll arrow nudges. */
	.hy-motion .hy-scroll-link .hy-icon--arrow {
		animation: hy-nudge 2.4s ease-in-out infinite;
	}

	/* ---------- Hero ---------- */
	.hy-motion .hy-gradient-text {
		background-image: linear-gradient(90deg, var(--hy-color-primary) 0%, var(--hy-color-secondary) 25%, var(--hy-color-highlight) 50%, var(--hy-color-secondary) 75%, var(--hy-color-primary) 100%);
		background-size: 200% 100%;
		animation: hy-shimmer 6s linear infinite;
	}

	.hy-motion .e-con.hy-hero__media {
		animation: hy-float 7s ease-in-out infinite;
	}

	/* Holographic halo behind the hero image. */
	.hy-motion .e-con.hy-hero__media::after {
		content: "";
		position: absolute;
		inset: -6%;
		z-index: -1;
		border-radius: 45%;
		background: conic-gradient(from var(--hy-angle), rgba(var(--hy-rgb-primary), 0) 0deg, rgba(var(--hy-rgb-primary), 0.55) 90deg, rgba(var(--hy-rgb-secondary), 0) 180deg, rgba(var(--hy-rgb-secondary), 0.45) 270deg, rgba(var(--hy-rgb-primary), 0) 360deg);
		filter: blur(40px);
		animation: hy-spin 12s linear infinite, hy-glow-breathe 6s ease-in-out infinite;
		pointer-events: none;
	}

	/* Scan-line sweep across the hero image. */
	/* --hy-mask is set by animations.js from the image's own src, so the sweep follows the blob shape. */
	.hy-motion .hy-hero__image {
		overflow: hidden;
		-webkit-mask: var(--hy-mask, none) center / 100% 100% no-repeat;
		mask: var(--hy-mask, none) center / 100% 100% no-repeat;
	}

	.hy-motion .hy-hero__image::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 40%;
		background: linear-gradient(180deg, transparent 0%, rgba(var(--hy-rgb-highlight), 0.0) 30%, rgba(var(--hy-rgb-highlight), 0.35) 50%, rgba(var(--hy-rgb-highlight), 0) 70%, transparent 100%);
		mix-blend-mode: screen;
		animation: hy-scan 5.5s ease-in-out 1.2s infinite;
		pointer-events: none;
	}

	.hy-motion .hy-hero__image img {
		transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
		transform: perspective(900px) rotateX(var(--hy-rx, 0deg)) rotateY(var(--hy-ry, 0deg));
	}

	/* ---------- Contact bar ---------- */
	.hy-motion .hy-contact__item .hy-icon {
		transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.4, 1), filter 0.4s ease;
	}

	.hy-motion .hy-contact__item:hover .hy-icon {
		transform: translateY(-4px) scale(1.12);
		filter: drop-shadow(0 0 12px rgba(var(--hy-rgb-primary), 0.9));
	}

	/* ---------- About image ---------- */
	.hy-motion .hy-about__image img {
		transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
	}

	.hy-motion .hy-about__media:hover .hy-about__image img {
		transform: scale(1.03) rotate(-1deg);
		filter: drop-shadow(0 10px 40px rgba(var(--hy-rgb-secondary), 0.55));
	}

	/* ---------- Cards: 3D tilt, glare, spinning ring ---------- */
	.hy-motion .e-con.hy-card {
		transform: perspective(1000px) rotateX(var(--hy-rx, 0deg)) rotateY(var(--hy-ry, 0deg)) translateY(var(--hy-lift, 0px));
		transform-style: preserve-3d;
		transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
		will-change: transform;
	}

	.hy-motion .e-con.hy-card:hover {
		--hy-lift: -8px;
		transform: perspective(1000px) rotateX(var(--hy-rx, 0deg)) rotateY(var(--hy-ry, 0deg)) translateY(var(--hy-lift));
		box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--hy-rgb-primary), 0.25), 0 0 50px rgba(var(--hy-rgb-secondary), 0.25);
	}

	.hy-motion .e-con.hy-card::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
		background: radial-gradient(circle at var(--hy-gx, 50%) var(--hy-gy, 0%), rgba(255, 255, 255, 0.16) 0%, transparent 45%);
		opacity: 0;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}

	.hy-motion .e-con.hy-card:hover::after {
		opacity: 1;
	}

	.hy-motion .hy-card__image {
		position: relative;
		transform: translateZ(30px);
	}

	.hy-motion .hy-card__image::before {
		content: "";
		position: absolute;
		inset: 3px;
		border-radius: 50%;
		padding: 3px;
		background: conic-gradient(from var(--hy-angle), transparent 0deg, var(--hy-color-primary) 60deg, transparent 140deg, var(--hy-color-secondary) 240deg, transparent 320deg);
		-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
		-webkit-mask-composite: xor;
		mask-composite: exclude;
		opacity: 0;
		transition: opacity 0.4s ease;
		animation: hy-spin 4s linear infinite;
	}

	.hy-motion .hy-card:hover .hy-card__image::before {
		opacity: 1;
	}

	.hy-motion .hy-card__image img {
		transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.hy-motion .hy-card:hover .hy-card__image img {
		transform: scale(1.06);
	}

	.hy-motion .hy-card__title,
	.hy-motion .hy-card .hy-btn:not(.elementor-widget) {
		transform: translateZ(20px);
	}

	/* ---------- Technologies ---------- */
	.hy-motion .e-con.hy-tech__banner {
		background-position: 50% var(--hy-bgy, 50%) !important;
		transition: background-position 0.2s linear;
	}

	.hy-motion .hy-round-btn {
		animation: hy-pulse-ring 2.4s ease-out infinite;
	}

	.hy-motion .hy-round-btn .hy-icon--chevron {
		animation: hy-bob 1.8s ease-in-out infinite;
	}

	.hy-motion .hy-logos__item img {
		filter: grayscale(1) brightness(0.9);
		transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.3, 1.6, 0.4, 1);
	}

	.hy-motion .hy-logos__item:hover img {
		filter: grayscale(0) brightness(1.2) drop-shadow(0 0 16px rgba(var(--hy-rgb-primary), 0.8));
		transform: translateY(-6px) scale(1.05);
	}

	/* ---------- Process ---------- */
	.hy-motion .e-con.hy-steps::before {
		clip-path: inset(0 100% 0 0);
		transition: clip-path 2.2s cubic-bezier(0.6, 0, 0.2, 1) 0.3s;
	}

	.hy-motion .e-con.hy-steps.is-in::before {
		clip-path: inset(0 0 0 0);
	}

	.hy-motion .hy-step__number .elementor-heading-title {
		position: relative;
		transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.4, 1), box-shadow 0.5s ease;
	}

	.hy-motion .hy-step.is-in .hy-step__number .elementor-heading-title {
		animation: hy-pulse-ring 1.4s ease-out var(--hy-delay, 0ms) 2;
	}

	.hy-motion .hy-step:hover .hy-step__number .elementor-heading-title {
		transform: scale(1.08) rotate(-6deg);
		box-shadow: 0 0 40px rgba(var(--hy-rgb-primary), 0.6), inset 0 0 20px rgba(255, 255, 255, 0.35);
	}

	.hy-motion .hy-step__title .elementor-heading-title::before {
		transition: transform 0.3s ease;
	}

	.hy-motion .hy-step:hover .hy-step__title .elementor-heading-title::before {
		transform: translateX(6px);
	}

	/* ---------- Join panel: rotating light border ---------- */
	.hy-motion .e-con.hy-join__panel {
		position: relative;
		isolation: isolate;
	}

	.hy-motion .e-con.hy-join__panel::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		border-radius: inherit;
		padding: 2px;
		background: conic-gradient(from var(--hy-angle), transparent 0deg, rgba(var(--hy-rgb-primary), 0.9) 40deg, transparent 100deg, transparent 180deg, rgba(var(--hy-rgb-secondary), 0.9) 220deg, transparent 280deg);
		-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
		-webkit-mask-composite: xor;
		mask-composite: exclude;
		animation: hy-spin 8s linear infinite;
		pointer-events: none;
	}

	.hy-motion .hy-form input,
	.hy-motion .hy-form textarea {
		transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
	}

	.hy-motion .hy-form input:hover,
	.hy-motion .hy-form textarea:hover {
		border-color: var(--hy-color-primary);
	}

	.hy-motion .hy-form input:focus,
	.hy-motion .hy-form textarea:focus {
		background-color: rgba(var(--hy-rgb-primary), 0.06);
		box-shadow: 0 0 0 3px rgba(var(--hy-rgb-primary), 0.2), 0 0 28px rgba(var(--hy-rgb-primary), 0.35);
		transform: translateY(-2px);
	}

	/* ---------- Footer ---------- */
	.hy-motion .hy-logo--footer .hy-logo__mark {
		animation: hy-float 8s ease-in-out infinite;
	}

	.hy-motion .hy-social__link {
		transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.4, 1), background 0.3s ease, box-shadow 0.3s ease;
	}

	.hy-motion .hy-social__link:hover,
	.hy-motion .hy-social__link:focus-visible {
		transform: translateY(-4px) rotate(-8deg) scale(1.15);
		box-shadow: 0 0 20px rgba(var(--hy-rgb-primary), 0.8);
	}
}

/* ---------- Travelling light along lines (background curves + process wave) ---------- */
@keyframes hy-travel {
	from { stroke-dashoffset: 112; }
	to { stroke-dashoffset: -12; }
}

@keyframes hy-draw {
	from { stroke-dashoffset: 100; }
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: no-preference) {
	.hy-motion .hy-bg-lines__comet,
	.hy-motion .hy-wave__comet {
		stroke: var(--hy-color-primary);
		stroke-width: 2.5;
		stroke-linecap: round;
		stroke-dasharray: 12 112;
		stroke-dashoffset: 112;
		animation: hy-travel 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
	}

	.hy-motion .hy-bg-lines__comet--1 { animation-duration: 8s; animation-delay: 0.4s; }
	.hy-motion .hy-bg-lines__comet--2 { animation-duration: 9.5s; animation-delay: 2.2s; }
	.hy-motion .hy-bg-lines__comet--3 { animation-duration: 7.5s; animation-delay: 1.1s; }
	.hy-motion .hy-bg-lines__comet--4 { animation-duration: 5s; animation-delay: 3.4s; }
	.hy-motion .hy-bg-lines__comet--5 { animation-duration: 9s; animation-delay: 0.8s; }
	.hy-motion .hy-bg-lines__comet--6 { animation-duration: 6.5s; animation-delay: 2.8s; }
	.hy-motion .hy-bg-lines__comet--7 { animation-duration: 5.5s; animation-delay: 1.6s; }
	.hy-motion .hy-bg-lines__comet--8 { animation-duration: 10s; animation-delay: 0.2s; }

	/* Process wave (SVG built by animations.js from the circle positions). */
	.hy-motion .e-con.hy-steps.has-wave::before {
		display: none;
	}

	.hy-wave {
		position: absolute;
		left: 0;
		top: 0;
		z-index: 0;
		overflow: visible;
		pointer-events: none;
	}

	.hy-wave path {
		fill: none;
		vector-effect: non-scaling-stroke;
	}

	.hy-wave__base {
		stroke: var(--hy-color-primary);
		stroke-opacity: 0.7;
		stroke-width: 4;
		stroke-dasharray: 100;
		stroke-dashoffset: 100;
	}

	.hy-steps.is-in .hy-wave__base {
		animation: hy-draw 2.2s cubic-bezier(0.6, 0, 0.2, 1) 0.3s forwards;
	}

	.hy-motion .hy-wave__comet {
		stroke-width: 4;
		animation-duration: 4.5s;
		animation-delay: 2.5s;
	}
}

/* ---------- Arrow hover micro-interactions ---------- */
@keyframes hy-arrow-dash {
	0% { translate: 0 0; }
	40% { translate: 14px 0; opacity: 0; }
	41% { translate: -14px 0; opacity: 0; }
	100% { translate: 0 0; opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
	/* Section title long arrows: shoot forward and glow when the heading block is hovered. */
	.hy-motion .hy-arrow-long {
		transition: transform 1s cubic-bezier(0.6, 0, 0.2, 1) calc(var(--hy-delay, 0ms) + 400ms), filter 0.3s ease;
	}

	.hy-motion .hy-split__head:hover .hy-arrow-long,
	.hy-motion .hy-title:hover .hy-arrow-long {
		animation: hy-arrow-dash 0.7s cubic-bezier(0.5, 0, 0.2, 1);
		filter: drop-shadow(0 0 6px rgba(var(--hy-rgb-primary), 0.9));
	}

	/* Hero arrow: stop idling, dash forward with a glow. */
	.hy-motion .hy-scroll-link:hover .hy-icon--arrow,
	.hy-motion .hy-scroll-link:focus-visible .hy-icon--arrow {
		animation: hy-arrow-dash 0.6s cubic-bezier(0.5, 0, 0.2, 1);
		filter: drop-shadow(0 0 8px rgba(var(--hy-rgb-primary), 0.9));
	}

	/* Process step arrows. */
	.hy-motion .hy-step:hover .hy-step__title .elementor-heading-title::before {
		animation: hy-arrow-dash 0.6s cubic-bezier(0.5, 0, 0.2, 1);
		filter: drop-shadow(0 0 6px rgba(var(--hy-rgb-primary), 0.9));
	}

	/* Technologies chevron. */
	.hy-motion .hy-round-btn:hover .hy-icon--chevron,
	.hy-motion .hy-round-btn:focus-visible .hy-icon--chevron {
		animation: hy-bob 0.5s ease-in-out infinite;
		box-shadow: 0 0 24px rgba(var(--hy-rgb-primary), 0.8);
	}

	/* Slider and back-to-top buttons. */
	.hy-slider__btn,
	.hy-totop {
		transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.4, 1), box-shadow 0.3s ease, opacity 0.3s ease;
	}

	.hy-slider__btn:hover,
	.hy-slider__btn:focus-visible {
		box-shadow: 0 0 18px rgba(var(--hy-rgb-primary), 0.8);
	}

	.hy-slider__btn svg {
		transition: translate 0.3s cubic-bezier(0.3, 1.6, 0.4, 1);
	}

	.hy-slider__btn--next:hover svg { translate: 3px 0; }
	.hy-slider__btn--prev:hover svg { translate: -3px 0; }
}

/* Mobile sliders: off-screen slides can't be observed reliably, so slides are always visible
   (the slider itself still fades in with its section). */
@media (max-width: 767px) {
	.hy-motion .hy-slider > .hy-reveal {
		opacity: 1;
		filter: none;
		transform: none;
	}
}

/* Touch devices: no tilt or magnetic offsets. */
@media (hover: none) {
	.hy-motion .e-con.hy-card,
	.hy-motion .hy-hero__image img {
		transform: none;
	}
}

/* ==========================================================================
   Interactive layer v2: particles, stepper, banner light, hologram sweep,
   icon micro-animations, button arrows, title glitch.
   ========================================================================== */
@keyframes hy-holo {
	from { background-position: 0 -100%; }
	to { background-position: 0 200%; }
}

@keyframes hy-pin-drop {
	0% { transform: translateY(0); }
	30% { transform: translateY(-10px) scale(1.05); }
	55% { transform: translateY(0) scale(0.96, 1.04); }
	75% { transform: translateY(-4px); }
	100% { transform: translateY(0); }
}

@keyframes hy-ring {
	0%, 100% { transform: rotate(0); }
	10%, 30%, 50% { transform: rotate(-14deg); }
	20%, 40%, 60% { transform: rotate(14deg); }
	70% { transform: rotate(0); }
}

@keyframes hy-send {
	0%, 100% { transform: translate(0, 0); opacity: 1; }
	45% { transform: translate(14px, -14px); opacity: 0; }
	46% { transform: translate(-14px, 14px); opacity: 0; }
}

@keyframes hy-glitch {
	0% { text-shadow: 2px 0 rgba(var(--hy-rgb-primary), 0.8), -2px 0 rgba(var(--hy-rgb-primary), 0.9); transform: translateX(0); }
	25% { text-shadow: -3px 0 rgba(var(--hy-rgb-primary), 0.8), 3px 0 rgba(var(--hy-rgb-accent), 0.6); transform: translateX(1px); }
	50% { text-shadow: 3px 0 rgba(var(--hy-rgb-primary), 0.9), -1px 0 rgba(var(--hy-rgb-primary), 0.7); transform: translateX(-1px); }
	100% { text-shadow: none; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	/* Particle network behind the hero. */
	.hy-particles {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
		pointer-events: none;
		mask-image: radial-gradient(ellipse 80% 90% at 50% 45%, #000 40%, transparent 100%);
	}

	.hy-motion .hy-hero > .e-con-inner {
		position: relative;
		z-index: 1;
	}

	/* Stepper: the active step glows and gets a spinning ring; completed steps stay lit. */
	.hy-motion .hy-step__number {
		position: relative;
		transition: background-color 0.4s ease;
	}

	.hy-motion .hy-step__number::after {
		content: "";
		position: absolute;
		inset: 4px;
		border-radius: 50%;
		padding: 3px;
		background: conic-gradient(from var(--hy-angle), transparent 0deg, var(--hy-color-primary) 90deg, transparent 180deg, var(--hy-color-secondary) 270deg, transparent 360deg);
		-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
		-webkit-mask-composite: xor;
		mask-composite: exclude;
		opacity: 0;
		transition: opacity 0.4s ease;
		animation: hy-spin 3s linear infinite;
		pointer-events: none;
	}

	.hy-motion .hy-step.is-active .hy-step__number::after {
		opacity: 1;
	}

	.hy-motion .hy-step.is-active .hy-step__number .elementor-heading-title {
		transform: scale(1.06);
		box-shadow: 0 0 40px rgba(var(--hy-rgb-primary), 0.55), inset 0 0 18px rgba(255, 255, 255, 0.3);
	}

	.hy-motion .hy-step__title .elementor-heading-title {
		transition: color 0.4s ease;
	}

	.hy-motion .hy-step.is-active .hy-step__title .elementor-heading-title {
		color: var(--hy-color-primary);
	}

	.hy-motion .hy-step.is-done .hy-step__number {
		background-color: rgba(var(--hy-rgb-primary), 0.12);
	}

	/* Cursor light across the technologies banner. */
	.hy-motion .e-con.hy-tech__banner::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
		background: radial-gradient(circle 280px at var(--hy-gx, 50%) var(--hy-gy, 50%), rgba(var(--hy-rgb-primary), 0.28) 0%, transparent 70%);
		opacity: 0;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}

	.hy-motion .e-con.hy-tech__banner:hover::after {
		opacity: 1;
	}

	.hy-motion .hy-tech__banner > .elementor-widget:not(.hy-tech__more) {
		position: relative;
		z-index: 1;
	}

	.hy-motion .hy-tech__more {
		z-index: 2;
	}

	/* Hologram sweep over the About image on hover (masked to the image's own shape). */
	.hy-motion .hy-about__image {
		position: relative;
	}

	.hy-motion .hy-about__image::after {
		content: "";
		position: absolute;
		inset: 0;
		background:
			repeating-linear-gradient(180deg, rgba(var(--hy-rgb-highlight), 0.07) 0 2px, transparent 2px 5px),
			linear-gradient(180deg, transparent 0%, rgba(var(--hy-rgb-primary), 0.45) 50%, transparent 100%);
		background-size: 100% 100%, 100% 35%;
		background-repeat: no-repeat;
		-webkit-mask: var(--hy-mask, none) center / 100% 100% no-repeat;
		mask: var(--hy-mask, none) center / 100% 100% no-repeat;
		mix-blend-mode: screen;
		opacity: 0;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}

	.hy-motion .hy-about__media:hover .hy-about__image::after {
		opacity: 1;
		animation: hy-holo 1.6s linear infinite;
	}

	/* Contact icons: each one acts out its meaning on hover. */
	.hy-motion .hy-contact__item:hover .hy-icon--location { animation: hy-pin-drop 0.8s ease; }
	.hy-motion .hy-contact__item:hover .hy-icon--phone { animation: hy-ring 0.9s ease; }
	.hy-motion .hy-contact__item:hover .hy-icon--send { animation: hy-send 0.8s var(--hy-ease, ease); }

	.hy-motion .hy-contact__item .hy-contact__title .elementor-heading-title {
		transition: color 0.3s ease, letter-spacing 0.3s ease;
	}

	.hy-motion .hy-contact__item:hover .hy-contact__title .elementor-heading-title {
		color: var(--hy-color-primary);
	}

	/* Gradient buttons reveal an arrow on hover. */
	.hy-motion .hy-btn:not(.elementor-widget)::after,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button::after {
		content: "";
		display: inline-block;
		width: 0;
		height: 12px;
		margin-left: 0;
		background-color: currentColor;
		-webkit-mask: url("/wp-content/themes/WP-Theme-Nexora/assets/css/components/../../images/icons/arrow-small.svg") center / contain no-repeat;
		mask: url("/wp-content/themes/WP-Theme-Nexora/assets/css/components/../../images/icons/arrow-small.svg") center / contain no-repeat;
		transition: width 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), margin 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.hy-motion .hy-btn:not(.elementor-widget):hover::after,
	.hy-motion .hy-btn:not(.elementor-widget):focus-visible::after,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button:hover::after,
	.hy-motion .elementor-widget-button.hy-btn .elementor-button:focus-visible::after {
		width: 14px;
		margin-left: 10px;
	}

	/* Section titles glitch briefly on hover. */
	.hy-motion .hy-title:hover .hy-title__bold,
	.hy-motion .hy-join__title:hover .elementor-heading-title {
		animation: hy-glitch 0.45s steps(3, end);
	}
}

/* Hero: the standalone arrow link already sits beside the button, so no hover arrow inside it. */
.hy-motion .hy-hero__actions .elementor-widget-button.hy-btn .elementor-button::after {
	content: none;
}

/* SVG glow is expensive to paint over the page-tall background: only once ambient motion runs. */
.hy-ambient .hy-bg-lines__comet,
.hy-ambient .hy-wave__comet {
	filter: url(#hy-glow);
}

/* ---------- Performance gate ----------
 * Looping/ambient animations stay paused (one painted frame, zero per-frame cost) until the visitor
 * first interacts (html.hy-ambient, set by animations.js).
 * Keeps first load fast; the preloader is exempt.
 */
html.hy-motion:not(.hy-ambient) body *:not(.hy-preloader, .hy-preloader *),
html.hy-motion:not(.hy-ambient) body *:not(.hy-preloader, .hy-preloader *)::before,
html.hy-motion:not(.hy-ambient) body *:not(.hy-preloader, .hy-preloader *)::after {
	animation-play-state: paused !important;
}

/* assets/css/pages/home.css */
/**
 * Home page (Elementor page 'Home').
 * Elementor containers expose CSS custom properties (--gap, --padding-*, --width, ...).
 * Structure and content live in Elementor; layout and styling live here.
 */

/* ---------- Shared ---------- */
/* Elementor sizes every container ::before (its background-overlay slot) to 100% width/height.
   Our decorative pseudo-elements position with insets, so let insets decide the size. */
.elementor .e-con[class*="hy-"]::before {
	width: auto;
	height: auto;
}

/* :where() keeps these resets at zero specificity so component rules below always win. */
:where(.elementor .e-con.e-parent) {
	--row-gap: 0px;
	--column-gap: 0px;
	--padding-top: 0px;
	--padding-bottom: 0px;
}

/* Gutters and section spacing need real specificity to beat Elementor's .e-con defaults.
   Section-specific margins below override the default spacing. */
.elementor .e-con.e-parent {
	--padding-left: var(--hy-gutter);
	--padding-right: var(--hy-gutter);
	margin-top: var(--hy-section-space);
}

:where(.elementor .e-con.e-child) {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
}

.elementor .elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

.elementor .elementor-widget-text-editor p {
	margin: 0;
}

.elementor .elementor-widget-text-editor p + p {
	margin-top: 1em;
}

.elementor .elementor-widget-text-editor a {
	color: inherit;
	text-decoration: none;
}

.elementor .elementor-widget-text-editor a:hover {
	color: var(--hy-color-primary);
}

/* Section titles: bold line + light line (+ optional long arrow). */
.elementor .hy-title .elementor-heading-title {
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-title);
	line-height: var(--hy-lh-title);
	color: var(--hy-color-text);
	text-transform: uppercase;
}

.hy-title__bold,
.hy-title__light {
	display: block;
}

.hy-title__bold {
	font-weight: var(--hy-weight-bold);
	margin-bottom: 10px;
}

.hy-title__light {
	display: flex;
	align-items: center;
	gap: 24px;
	font-weight: var(--hy-weight-light);
}

/* Icons are CSS masks: the SVG supplies the shape, the brand token supplies the colour. */
.hy-arrow-long,
.hy-icon {
	display: inline-block;
	flex-shrink: 0;
	background-color: var(--hy-icon-color, var(--hy-color-primary));
	-webkit-mask: var(--hy-icon) center / contain no-repeat;
	mask: var(--hy-icon) center / contain no-repeat;
}

.hy-arrow-long {
	--hy-icon: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/arrow-long.svg");
	width: 160px;
	height: 26px;
}

.hy-icon--location { --hy-icon: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/location.svg"); width: 56px; height: 56px; }
.hy-icon--phone { --hy-icon: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/phone.svg"); width: 56px; height: 56px; }
.hy-icon--send { --hy-icon: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/send.svg"); width: 56px; height: 56px; }
.hy-icon--arrow { --hy-icon: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/arrow-small.svg"); width: 48px; height: 36px; }
.hy-icon--chevron { --hy-icon: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/chevron-down.svg"); width: 60px; height: 60px; }

.elementor .elementor-widget-image img {
	display: block;
}

/* ---------- Hero ---------- */
.elementor .e-con.hy-hero {
	--align-items: center;
	--justify-content: space-between;
	margin-top: 0;
	padding-top: 98px;
}

.elementor .e-con.hy-hero__content {
	--width: 50%;
	max-width: 620px;
}

.elementor .hy-hero__title .elementor-heading-title {
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-hero);
	font-weight: var(--hy-weight-bold);
	line-height: var(--hy-lh-hero);
	color: var(--hy-color-text);
	letter-spacing: 0;
}

/* Figma: two lines, 60px apart (40px type). */
.hy-hero__line {
	display: block;
}

.hy-hero__line + .hy-hero__line {
	margin-top: 11px;
}

/* Figma wraps the intro at 450px; Elementor forces widgets to 100%, so cap the paragraph. */
.elementor .hy-hero__text {
	margin-top: 36px;
	line-height: 1.5;
}

.elementor .hy-hero__text p {
	max-width: 450px;
}

.elementor .e-con.hy-hero__actions {
	--align-items: center;
	--row-gap: 32px;
	--column-gap: 32px;
	margin-top: 66px;
}

.elementor .e-con.hy-hero__actions > .elementor-widget {
	width: auto;
}

.hy-scroll-link {
	display: inline-flex;
	transition: transform var(--hy-transition);
}

.hy-scroll-link .hy-icon--arrow {
	width: 48px;
}

.hy-scroll-link:hover {
	transform: translateX(6px);
}

.elementor .e-con.hy-hero__media {
	--width: 524px;
	position: relative;
	padding: 14px 16px 15px;
	flex-shrink: 0;
}

/* Dark plate behind the image (Figma "Rectangle 4", 13% black). */
.elementor .e-con.hy-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 140px 80px 140px 80px;
	background: rgba(0, 0, 0, 0.13);
	z-index: 0;
}

.elementor .hy-hero__image {
	position: relative;
	z-index: 1;
}

.elementor .hy-hero__image img {
	width: 100%;
	height: auto;
}

/* ---------- Contact bar ---------- */
.elementor .e-con.hy-contact {
	margin-top: 103px;
}

/* Figma: 90px from the contact bar to the Introduction block. */
.elementor .e-con.hy-contact + .e-con.hy-split {
	margin-top: 90px;
}

.elementor .e-con.hy-contact__list {
	--row-gap: 0px;
	--column-gap: 0px;
	--align-items: center;
	min-height: 167px;
	padding: 24px 40px;
	border-radius: var(--hy-radius-bar);
	background: radial-gradient(ellipse at 50% 54%, rgba(var(--hy-rgb-surface-glow), 0.95) 0%, var(--hy-color-surface) 100%);
}

.elementor .e-con.hy-contact__item {
	--row-gap: 20px;
	--column-gap: 20px;
	--align-items: center;
	--justify-content: center;
	--width: 33.333%;
	position: relative;
	padding: 0 24px;
}

.elementor .e-con.hy-contact__item + .e-con.hy-contact__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 116px;
	transform: translateY(-50%);
	border-radius: 3px;
	background: var(--hy-gradient-divider);
}

.elementor .hy-contact__icon {
	width: auto;
}

.elementor .hy-contact__icon .elementor-widget-container,
.elementor .hy-contact__icon {
	line-height: 0;
}

.elementor .e-con.hy-contact__body {
	--width: auto;
	--row-gap: 10px;
	--column-gap: 10px;
}

.elementor .hy-contact__title .elementor-heading-title {
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-card-title);
	font-weight: var(--hy-weight-bold);
	line-height: 1.2;
	color: var(--hy-color-text);
}

.elementor .hy-contact__text {
	font-size: var(--hy-fs-small);
	line-height: 1.2;
}

@media (min-width: 1025px) {
	.elementor .e-con.hy-contact__item {
		padding: 0 12px;
	}

	.elementor .hy-contact__text {
		white-space: nowrap;
	}
}

/* ---------- Split header (title left, text right) ---------- */
.elementor .e-con.hy-split {
	--align-items: flex-start;
	--justify-content: space-between;
	--row-gap: 32px;
	--column-gap: 32px;
}

.elementor .e-con.hy-split__head {
	--width: auto;
	flex: 1 1 auto;
}

.elementor .e-con.hy-split__body {
	--width: 652px;
	flex-shrink: 0;
}

.elementor .hy-split__text {
	line-height: var(--hy-lh-body);
}

/* ---------- About ---------- */
.elementor .e-con.hy-about {
	--align-items: center;
	--justify-content: space-between;
	--row-gap: 64px;
	--column-gap: 64px;
	margin-top: 97px;
}

.elementor .e-con.hy-about__media {
	--width: 524px;
	flex-shrink: 0;
}

.elementor .hy-about__image img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.35));
}

.elementor .e-con.hy-about__content {
	--width: 630px;
	--align-items: flex-start;
}

.elementor .hy-about__text {
	margin-top: 46px;
	line-height: 1.6;
}

.elementor .hy-about__content .hy-btn {
	margin-top: 40px;
}

/* ---------- Services ---------- */
.elementor .e-con.hy-services {
	margin-top: 102px;
}

.elementor .e-con.hy-cards {
	--row-gap: 11px;
	--column-gap: 11px;
	--align-items: stretch;
}

.elementor .e-con.hy-card {
	--width: 25%;
	--align-items: center;
	padding: 23px 24px 40px;
	min-height: 511px;
	border-radius: var(--hy-radius-card);
	/* Figma "Rectangle 9": radial #433D60 → #211E2E from the card centre. */
	background: radial-gradient(ellipse 100% 55% at 50% 50%, var(--hy-color-surface-glow) 0%, var(--hy-color-surface) 100%);
	text-align: center;
	transition: transform var(--hy-transition), box-shadow var(--hy-transition);
}

.elementor .e-con.hy-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.elementor .hy-card__image {
	width: 219px;
	max-width: 100%;
	padding: 14px;
	border-radius: 50%;
	background: var(--hy-color-shade);
}

.elementor .hy-card__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

.elementor .hy-card__title {
	margin-top: 21px;
}

.elementor .hy-card__title .elementor-heading-title {
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-card-title);
	font-weight: var(--hy-weight-bold);
	line-height: 1.2;
	color: var(--hy-color-text);
	text-transform: uppercase;
}

.elementor .hy-card__title .elementor-heading-title::after {
	content: "";
	display: block;
	width: 160px;
	height: 1px;
	margin: 16px auto 0;
	background: var(--hy-gradient-rule);
}

/* Figma: 250px text block, left-aligned, centred in the card. */
.elementor .hy-card__text {
	margin-top: 22px;
	max-width: 250px;
	font-size: var(--hy-fs-xs);
	line-height: var(--hy-lh-xs);
	text-align: left;
}

.elementor .hy-card .hy-btn {
	margin-top: auto;
	padding-top: 35px;
}

/* ---------- Technologies ---------- */
.elementor .e-con.hy-tech {
	margin-top: 114px;
}

.elementor .e-con.hy-tech__banner {
	--align-items: center;
	--justify-content: center;
	position: relative;
	min-height: 303px;
	padding: 60px 40px;
	border-radius: var(--hy-radius-banner);
	text-align: center;
	overflow: visible;
}

.elementor .hy-tech__banner .hy-title__light {
	justify-content: center;
}

.elementor .hy-tech__more {
	position: absolute;
	left: 50%;
	bottom: -50px;
	transform: translateX(-50%);
	width: auto;
}

.hy-round-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--hy-color-shade);
	backdrop-filter: blur(2px);
}

/* Gradient disc with an ink chevron on top (the chevron itself is a mask on ::after). */
.hy-round-btn .hy-icon--chevron {
	position: relative;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: linear-gradient(225deg, var(--hy-color-primary) 0%, var(--hy-color-secondary) 100%);
	-webkit-mask: none;
	mask: none;
	transition: transform var(--hy-transition);
}

.hy-round-btn .hy-icon--chevron::after {
	content: "";
	position: absolute;
	inset: 18px;
	background-color: var(--hy-color-ink);
	-webkit-mask: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/chevron-down.svg") center / contain no-repeat;
	mask: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/chevron-down.svg") center / contain no-repeat;
}

.hy-round-btn:hover .hy-icon--chevron {
	transform: translateY(4px);
}

.elementor .e-con.hy-logos {
	--align-items: center;
	--justify-content: space-around;
	--row-gap: 32px;
	--column-gap: 32px;
	margin-top: 90px;
	padding-inline: 40px;
}

.elementor .hy-logos__item {
	width: auto;
	opacity: 0.85;
	transition: opacity var(--hy-transition);
}

.elementor .hy-logos__item:hover {
	opacity: 1;
}

.elementor .hy-logos__item img {
	width: auto;
	height: auto;
	max-width: 100%;
}

.elementor .hy-logos__item:nth-child(1) img { width: 141px; }
.elementor .hy-logos__item:nth-child(2) img { width: 252px; }
.elementor .hy-logos__item:nth-child(3) img { width: 252px; }
.elementor .hy-logos__item:nth-child(4) img { width: 232px; }

/* ---------- Process ---------- */
.elementor .e-con.hy-process {
	overflow-x: clip;
	margin-top: 119px;
}

.elementor .e-con.hy-steps {
	--row-gap: 24px;
	--column-gap: 24px;
	--justify-content: space-between;
	position: relative;
}

/* Wavy connector behind the step circles (desktop only). */
.elementor .e-con.hy-steps::before {
	content: "";
	position: absolute;
	left: calc(var(--hy-gutter) * -1);
	right: calc(var(--hy-gutter) * -1);
	top: 0;
	height: 200px;
	background: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/process-wave.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}

.elementor .e-con.hy-step {
	--width: 25%;
	--align-items: center;
	position: relative;
	z-index: 1;
}

.elementor .hy-step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 198px;
	height: 198px;
	padding: 19px;
	border-radius: 50%;
	background: var(--hy-color-shade);
}

.elementor .hy-step__number .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(240deg, var(--hy-color-primary) 0%, var(--hy-color-secondary) 100%);
	color: var(--hy-color-ink);
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-number);
	font-weight: var(--hy-weight-bold);
	line-height: 1;
}

/* Figma: arrow + left-aligned two-line title, the block centred under the circle. */
.elementor .hy-step__title {
	margin-top: 25px;
	text-align: center;
}

.elementor .hy-step__title .elementor-heading-title {
	position: relative;
	display: inline-block;
	padding-left: 44px;
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-card-title);
	font-weight: var(--hy-weight-bold);
	line-height: 1.22;
	color: var(--hy-color-text);
	text-align: left;
}

.elementor .hy-step__title .elementor-heading-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 32px;
	height: 24px;
	background-color: var(--hy-color-primary);
	-webkit-mask: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/arrow-small.svg") center / contain no-repeat;
	mask: url("/wp-content/themes/WP-Theme-Nexora/assets/css/pages/../../images/icons/arrow-small.svg") center / contain no-repeat;
}

/* ---------- Join / opt-in ---------- */
.elementor .e-con.hy-join {
	margin-top: 112px;
}

.elementor .e-con.hy-join__panel {
	--align-items: center;
	padding: 90px 107px 84px;
	border-radius: var(--hy-radius-panel);
	background: radial-gradient(ellipse at 50% 45%, var(--hy-color-surface-glow) 0%, var(--hy-color-surface) 100%);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.elementor .hy-join__title .elementor-heading-title {
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-title);
	font-weight: var(--hy-weight-bold);
	line-height: var(--hy-lh-title);
	color: var(--hy-color-text);
	text-transform: uppercase;
}

.elementor .hy-join__title .elementor-heading-title::after {
	content: "";
	display: block;
	width: 380px;
	max-width: 100%;
	height: 1px;
	margin: 22px auto 0;
	background: var(--hy-gradient-rule);
	opacity: 0.6;
}

.elementor .hy-join__subtitle {
	margin-top: 24px;
}

.elementor .hy-join__subtitle .elementor-heading-title {
	font-family: var(--hy-font-display);
	font-size: var(--hy-fs-title);
	font-weight: var(--hy-weight-light);
	line-height: var(--hy-lh-title);
	color: var(--hy-color-text);
}

.elementor .hy-join__form {
	width: 100%;
	margin-top: 65px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.elementor .e-con.hy-hero {
		padding-top: 72px;
		--row-gap: 32px;
		--column-gap: 32px;
	}

	.elementor .e-con.hy-hero__media {
		--width: 42%;
	}

	/* Contact items: icon above text so titles never wrap mid-phrase. */
	.elementor .e-con.hy-contact__item {
		--row-gap: 10px;
		--column-gap: 10px;
		flex-direction: column !important;
		padding: 0 12px;
		text-align: center;
	}

	.elementor .hy-contact__text {
		white-space: normal;
	}

	.elementor .hy-icon--location,
	.elementor .hy-icon--phone,
	.elementor .hy-icon--send {
		width: 40px;
		height: 40px;
	}

	.elementor .hy-contact__title .elementor-heading-title {
		font-size: 18px;
	}

	/* Section headers stack: title on top, paragraph below at a readable width. */
	/* Boxed containers lay out their .e-con-inner, which reads --flex-direction: override the variable
	   (body prefix outranks Elementor's per-element rule). */
	body .elementor .e-con.hy-split {
		--flex-direction: column;
		--row-gap: 20px;
		--column-gap: 20px;
	}

	.elementor .e-con.hy-split__head,
	.elementor .e-con.hy-split__body {
		--width: 100%;
		max-width: 680px;
	}

	.elementor .e-con.hy-about__media {
		--width: 42%;
	}

	.elementor .e-con.hy-about__content {
		--width: 58%;
	}

	.elementor .e-con.hy-cards {
		flex-wrap: wrap;
		--row-gap: 16px;
		--column-gap: 16px;
	}

	.elementor .e-con.hy-card {
		--width: calc(50% - 8px);
	}

	.elementor .hy-step__number {
		width: 150px;
		height: 150px;
		padding: 14px;
	}

	.elementor .hy-step__title .elementor-heading-title {
		font-size: 18px;
		padding-left: 0;
	}

	.elementor .hy-step__title .elementor-heading-title::before {
		display: none;
	}

	.elementor .e-con.hy-join__panel {
		padding: 72px 48px;
	}
}

/* ---------- Portrait tablet: stack the hero and about blocks ---------- */
@media (min-width: 768px) and (max-width: 900px) {
	body .elementor .e-con.hy-hero,
	body .elementor .e-con.hy-about {
		--flex-direction: column;
		--row-gap: 40px;
		--column-gap: 40px;
	}

	.elementor .e-con.hy-hero__media {
		--width: 100%;
		order: -1;
		max-width: 480px;
		margin-inline: auto;
	}

	.elementor .e-con.hy-hero__content {
		--width: 100%;
		max-width: 620px;
		margin-inline: auto;
	}

	.elementor .e-con.hy-about__media {
		--width: 100%;
		max-width: 460px;
		margin-inline: auto;
	}

	.elementor .e-con.hy-about__content {
		--width: 100%;
		max-width: 620px;
		margin-inline: auto;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.elementor .e-con.hy-hero {
		padding-top: 24px;
		text-align: center;
	}

	.elementor .e-con.hy-hero__media {
		--width: 100%;
		order: -1;
		max-width: 340px;
		margin: 0 auto 40px;
	}

	.elementor .e-con.hy-hero__content {
		--width: 100%;
		--align-items: center;
		max-width: none;
	}

	.elementor .hy-hero__text,
	.elementor .hy-hero__scroll {
		display: none;
	}

	.elementor .e-con.hy-hero__actions {
		margin-top: 40px;
		--width: 100%;
	}

	.elementor .e-con.hy-hero__actions > .elementor-widget {
		width: 100%;
		max-width: 292px;
		margin-inline: auto;
	}

	/* Figma mobile: gradient words are larger than the white words. */
	.elementor .hy-hero__title .elementor-heading-title {
		font-size: 22px;
		line-height: 1.2;
	}

	.elementor .hy-hero__title .hy-gradient-text {
		font-size: 34px;
	}

	.hy-hero__line + .hy-hero__line {
		margin-top: 4px;
	}

	.elementor .e-con.hy-contact {
		margin-top: 52px;
	}

	.elementor .e-con.hy-contact__list {
		min-height: 104px;
		padding: 16px 0;
	}

	.elementor .e-con.hy-contact__item {
		--justify-content: center;
		--flex-wrap: nowrap;
		flex-direction: row !important;
		flex-wrap: nowrap;
		padding: 0 56px;
		text-align: left;
	}

	.elementor .e-con.hy-contact__body {
		min-width: 0;
		flex: 1 1 auto;
	}

	.elementor .e-con.hy-logos > .hy-logos__item {
		display: flex;
		justify-content: center;
	}

	.elementor .e-con.hy-contact__item + .e-con.hy-contact__item::before {
		display: none;
	}

	.elementor .hy-contact__title {
		display: none;
	}

	.elementor .hy-icon--location,
	.elementor .hy-icon--phone,
	.elementor .hy-icon--send {
		width: 48px;
		height: 48px;
	}

	.elementor .e-con.hy-split {
		text-align: center;
		--row-gap: 24px;
		--column-gap: 24px;
	}

	.elementor .e-con.hy-split__head,
	.elementor .e-con.hy-split__body {
		--width: 100%;
	}

	.elementor .hy-title__light {
		justify-content: center;
	}

	.hy-arrow-long {
		display: none;
	}

	/* Section intro paragraphs are not in the mobile design except About. */
	.elementor .hy-split .hy-split__body {
		display: none;
	}

	.elementor .e-con.hy-about {
		--row-gap: 32px;
		--column-gap: 32px;
		margin-top: 32px;
		text-align: center;
	}

	.elementor .e-con.hy-about__media,
	.elementor .e-con.hy-about__content {
		--width: 100%;
		--align-items: stretch;
	}

	.elementor .hy-about__content .hy-title {
		display: none;
	}

	.elementor .hy-about__text {
		margin-top: 0;
		font-size: 12px;
		line-height: 1.75;
		text-align: left;
	}

	/* Out-ranks Elementor's `.elementor.elementor .e-con > .elementor-widget { max-width: 100% }`. */
	.elementor .e-con.hy-about__content > .elementor-widget.hy-btn {
		max-width: 292px;
		margin-inline: auto;
	}

	.elementor .e-con.hy-services,
	.elementor .e-con.hy-process {
		margin-top: 32px;
	}

	.elementor .e-con.hy-card {
		min-height: 0;
		padding-bottom: 32px;
	}

	.elementor .e-con.hy-tech {
		margin-top: 72px;
	}

	.elementor .e-con.hy-tech__banner {
		min-height: 160px;
		padding: 32px 20px;
	}

	.elementor .hy-tech__banner .hy-title__bold {
		font-size: 16px;
	}

	.elementor .hy-tech__more {
		display: none;
	}

	.elementor .e-con.hy-logos {
		margin-top: 32px;
		padding-inline: 0;
	}

	.elementor .hy-logos__item img {
		max-height: 90px;
		max-width: 210px;
		width: auto !important;
	}

	.elementor .e-con.hy-steps::before {
		display: none;
	}

	.elementor .hy-step__number {
		width: 198px;
		height: 198px;
	}

	.elementor .hy-step__title .elementor-heading-title {
		font-size: var(--hy-fs-card-title);
	}

	.elementor .e-con.hy-join {
		margin-top: 72px;
	}

	.elementor .e-con.hy-join__panel {
		padding: 48px 20px 64px;
	}

	.elementor .hy-join__subtitle .elementor-heading-title {
		font-size: 24px;
	}

	.elementor .hy-join__form .hy-form__actions {
		max-width: 292px;
		margin-inline: auto;
	}

	.elementor .hy-join__form {
		margin-top: 40px;
	}
}

/* assets/css/components/preloader.css */
/**
 * Preloader (template-parts/preloader.php + assets/js/components/preloader.js).
 *
 * Safety nets:
 * - No JS (html lacks .hy-js): the overlay hides itself with a CSS animation after 2.5s.
 * - JS error: a second CSS failsafe hides it after 8s regardless.
 * - Repeat view in the same session: html.hy-no-preloader hides it immediately.
 */
.hy-preloader {
	--p: 0;
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 50% at 50% 42%, rgba(var(--hy-rgb-surface-glow), 0.9) 0%, transparent 70%),
		var(--hy-color-bg, #0a0e1f);
	color: var(--hy-color-text, #fff);
	font-family: var(--hy-font-display, "Sora", sans-serif);
	animation: hy-pre-failsafe 0.6s ease 8s forwards;
}

html:not(.hy-js) .hy-preloader {
	animation: hy-pre-failsafe 0.6s ease 2.5s forwards;
}

html.hy-no-preloader .hy-preloader {
	display: none;
}

html.hy-loading,
html.hy-loading body {
	overflow: hidden;
}

@keyframes hy-pre-failsafe {
	to { opacity: 0; visibility: hidden; }
}

/* ---------- Perspective grid floor ---------- */
.hy-preloader__grid {
	position: absolute;
	left: -50%;
	right: -50%;
	bottom: -10%;
	height: 60%;
	background-image:
		linear-gradient(rgba(var(--hy-rgb-primary), 0.22) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--hy-rgb-primary), 0.22) 1px, transparent 1px);
	background-size: 60px 60px;
	transform: perspective(420px) rotateX(62deg) translateY(var(--grid-y, 0));
	transform-origin: 50% 0;
	will-change: transform;
	mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
	animation: hy-pre-grid 1.2s linear infinite;
	pointer-events: none;
}

/* Composited: moves the plane one cell, then loops (seamless because cells repeat). */
@keyframes hy-pre-grid {
	from { transform: perspective(420px) rotateX(62deg) translateY(-60px); }
	to { transform: perspective(420px) rotateX(62deg) translateY(0); }
}

/* ---------- Core: logo + 3D orbits ---------- */
.hy-preloader__core {
	position: relative;
	display: grid;
	place-items: center;
	width: 220px;
	height: 220px;
	perspective: 600px;
	transform-style: preserve-3d;
}

.hy-preloader__logo {
	position: relative;
	z-index: 2;
	width: 92px;
	height: auto;
	filter: drop-shadow(0 0 18px rgba(var(--hy-rgb-primary), 0.55));
	animation: hy-pre-logo 2.4s ease-in-out infinite;
	will-change: transform;
}

@keyframes hy-pre-logo {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.08); }
}

.hy-preloader__halo {
	position: absolute;
	inset: 50px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--hy-rgb-primary), 0.3) 0%, rgba(var(--hy-rgb-primary), 0.08) 45%, transparent 72%);
	will-change: transform, opacity;
	animation: hy-pre-halo 2.4s ease-in-out infinite;
}

@keyframes hy-pre-halo {
	0%, 100% { opacity: 0.5; transform: scale(0.9); }
	50% { opacity: 1; transform: scale(1.15); }
}

.hy-preloader__orbit {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1.5px solid rgba(var(--hy-rgb-primary), 0.28);
	transform-style: preserve-3d;
}

/* Glowing satellite on each orbit. */
.hy-preloader__orbit::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 50%;
	width: 10px;
	height: 10px;
	margin-left: -5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px 3px rgba(var(--hy-rgb-primary), 0.9), 0 0 24px 8px rgba(var(--hy-rgb-secondary), 0.6);
}

.hy-preloader__orbit--1 { animation: hy-pre-orbit-1 2.2s linear infinite; }
.hy-preloader__orbit--2 { inset: 18px; animation: hy-pre-orbit-2 3s linear infinite; }
.hy-preloader__orbit--3 { inset: 36px; border-style: dashed; animation: hy-pre-orbit-3 4s linear infinite; }

@keyframes hy-pre-orbit-1 {
	from { transform: rotateX(70deg) rotateZ(0deg); }
	to { transform: rotateX(70deg) rotateZ(360deg); }
}

@keyframes hy-pre-orbit-2 {
	from { transform: rotateY(65deg) rotateZ(0deg); }
	to { transform: rotateY(65deg) rotateZ(-360deg); }
}

@keyframes hy-pre-orbit-3 {
	from { transform: rotateX(-50deg) rotateY(30deg) rotateZ(0deg); }
	to { transform: rotateX(-50deg) rotateY(30deg) rotateZ(360deg); }
}

/* ---------- Label + progress ---------- */
.hy-preloader__label {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--hy-color-primary, #3df2ff);
}

.hy-preloader__status::after {
	content: "";
	display: inline-block;
	width: 1.2em;
	text-align: left;
	content: "...";
}

@keyframes hy-pre-dots {
	0% { content: ""; }
	25% { content: "."; }
	50% { content: ".."; }
	75%, 100% { content: "..."; }
}

.hy-preloader__pct {
	min-width: 4ch;
	color: var(--hy-color-text, #fff);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
}

.hy-preloader__bar {
	position: relative;
	width: min(320px, 70vw);
	height: 3px;
	border-radius: 3px;
	background: rgba(var(--hy-rgb-primary), 0.15);
	overflow: hidden;
}

.hy-preloader__fill {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--hy-color-secondary, #7a5cff), var(--hy-color-primary, #3df2ff), #fff);
	box-shadow: 0 0 12px rgba(var(--hy-rgb-primary), 0.9);
	transform: scaleX(var(--p));
	transform-origin: 0 50%;
	transition: transform 0.25s linear;
}

/* ---------- Exit: scanner wipe upward; the glowing bottom edge travels with it ---------- */
.hy-preloader.is-done {
	animation: none;
	transform: translateY(-100%);
	transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
	pointer-events: none;
}

.hy-preloader::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--hy-color-primary, #3df2ff), #fff, var(--hy-color-primary, #3df2ff), transparent);
	box-shadow: 0 0 20px 4px rgba(var(--hy-rgb-primary), 0.8);
	opacity: 0;
}

.hy-preloader.is-done::after {
	opacity: 1;
}

.hy-preloader.is-done .hy-preloader__core {
	transform: scale(1.25);
	opacity: 0;
	transition: transform 0.6s ease, opacity 0.5s ease;
}

/* ---------- Reduced motion: no spinning, quick fade ---------- */
@media (prefers-reduced-motion: reduce) {
	.hy-preloader__grid,
	.hy-preloader__logo,
	.hy-preloader__halo,
	.hy-preloader__orbit,
	.hy-preloader__status::after {
		animation: none;
	}

	.hy-preloader.is-done {
		transform: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	.hy-preloader::after {
		display: none;
	}
}

@media (max-width: 767px) {
	.hy-preloader__core {
		width: 180px;
		height: 180px;
	}

	.hy-preloader__logo {
		width: 76px;
	}
}

