/* ============================
   APEXWEB IMMERSIVE LANDING
============================ */

body.apexweb-immersive-page {
	margin: 0;
	background: #090b10;
}

body.apexweb-immersive-page header,
body.apexweb-immersive-page #masthead,
body.apexweb-immersive-page .site-header,
body.apexweb-immersive-page .main-header-bar,
body.apexweb-immersive-page .ast-primary-header-bar,
body.apexweb-immersive-page .ast-mobile-header-wrap,
body.apexweb-immersive-page footer.site-footer,
body.apexweb-immersive-page .site-footer,
body.apexweb-immersive-page .entry-header {
	display: none !important;
}

body.apexweb-immersive-page .site-content,
body.apexweb-immersive-page #content,
body.apexweb-immersive-page .ast-container,
body.apexweb-immersive-page .content-area,
body.apexweb-immersive-page .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.apexweb-immersive-page .ast-container {
	display: block;
}

body.apexweb-immersive-page a {
	text-decoration: none;
}

.apex-page {
	--apex-ink: #f8fafc;
	--apex-muted: #aab3c2;
	--apex-dark: #090b10;
	--apex-panel: rgba(255, 255, 255, 0.075);
	--apex-line: rgba(255, 255, 255, 0.16);
	--apex-cyan: #37d6ff;
	--apex-green: #b9ff66;
	--apex-coral: #ff6f61;
	--apex-violet: #8c72ff;
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(9, 11, 16, 0.72), rgba(9, 11, 16, 0.98)),
		linear-gradient(120deg, #090b10 0%, #12111c 42%, #061116 70%, #171012 100%);
	color: var(--apex-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.apex-page,
.apex-page * {
	box-sizing: border-box;
}

.apex-page::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 82%);
}

.apex-page::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.18;
	background-image:
		linear-gradient(0deg, transparent 0, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
	background-size: 100% 3px;
	mix-blend-mode: overlay;
}

.apex-flow-canvas {
	position: fixed;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: 0.9;
}

.apex-container {
	position: relative;
	z-index: 2;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.apex-nav {
	position: fixed;
	top: 22px;
	left: 50%;
	z-index: 20;
	width: min(1180px, calc(100% - 40px));
	height: 108px;
	transform: translateX(-50%);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 0 14px 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(9, 11, 16, 0.72);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(18px);
	overflow: hidden;
}

.apex-brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.apex-brand img {
	display: block;
	width: 584px;
	max-height: 96px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 22px rgba(55, 214, 255, 0.22));
}

.apex-nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.apex-nav-links a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid rgba(185, 255, 102, 0.3);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(185, 255, 102, 0.16), rgba(55, 214, 255, 0.14));
	clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
	color: rgba(248, 250, 252, 0.9);
	font-size: 0.88rem;
	font-weight: 800;
	overflow: hidden;
	transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.apex-nav-links a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 420ms ease;
}

.apex-nav-links a:hover {
	color: #ffffff;
	border-color: rgba(185, 255, 102, 0.62);
	background:
		linear-gradient(135deg, rgba(185, 255, 102, 0.28), rgba(55, 214, 255, 0.24));
	transform: translateY(-2px);
}

.apex-nav-links a:hover::before {
	transform: translateX(120%);
}

.apex-nav-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-shrink: 0;
	min-height: 48px;
	padding: 0 12px 0 20px;
	border: 1px solid rgba(185, 255, 102, 0.42);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(185, 255, 102, 0.95), rgba(55, 214, 255, 0.95));
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
	color: #061116;
	font-size: 0.9rem;
	font-weight: 950;
	white-space: nowrap;
	box-shadow:
		0 16px 44px rgba(55, 214, 255, 0.22),
		inset 0 -3px 0 rgba(9, 11, 16, 0.18);
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.apex-nav-action::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.65) 45%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 480ms ease;
}

.apex-nav-action span,
.apex-nav-action i {
	position: relative;
	z-index: 1;
}

.apex-nav-action i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(6, 17, 22, 0.16);
	color: #061116;
	font-style: normal;
	font-size: 18px;
	line-height: 1;
	transition: transform 180ms ease, background 180ms ease;
}

.apex-nav-action:hover {
	color: #061116;
	filter: saturate(1.08);
	transform: translateY(-2px);
	box-shadow:
		0 20px 58px rgba(185, 255, 102, 0.26),
		inset 0 -3px 0 rgba(9, 11, 16, 0.18);
}

.apex-nav-action:hover::before {
	transform: translateX(120%);
}

.apex-nav-action:hover i {
	background: rgba(6, 17, 22, 0.24);
	transform: rotate(90deg);
}

.apex-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 132px 0 74px;
	isolation: isolate;
}

.apex-hero-frame {
	position: absolute;
	inset: 96px 24px 26px;
	z-index: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(55, 214, 255, 0.12), transparent 28%),
		linear-gradient(315deg, rgba(255, 111, 97, 0.12), transparent 28%),
		rgba(255, 255, 255, 0.025);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.apex-hero-grid {
	display: grid;
	grid-template-columns: 1.04fr 0.96fr;
	gap: 64px;
	align-items: center;
}

.apex-hero-copy {
	max-width: 720px;
}

.apex-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	color: rgba(248, 250, 252, 0.72);
	font-size: 0.92rem;
	font-weight: 800;
	text-transform: uppercase;
}

.apex-eyebrow span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(185, 255, 102, 0.42);
	border-radius: 8px;
	color: var(--apex-green);
	background: rgba(185, 255, 102, 0.09);
}

.apex-title {
	margin: 0 0 24px;
	color: #ffffff;
	font-size: 4.6rem;
	line-height: 0.96;
	font-weight: 950;
	letter-spacing: 0;
	text-wrap: balance;
}

.apex-description {
	max-width: 650px;
	margin: 0 0 34px;
	color: rgba(248, 250, 252, 0.76);
	font-size: 1.24rem;
	line-height: 1.58;
	font-weight: 500;
}

.apex-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.apex-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 0.98rem;
	font-weight: 950;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.apex-btn span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 1rem;
	line-height: 1;
}

.apex-btn-primary {
	background: var(--apex-cyan);
	color: #061116;
	box-shadow: 0 18px 50px rgba(55, 214, 255, 0.22);
}

.apex-btn-primary span {
	background: rgba(6, 17, 22, 0.16);
}

.apex-btn-primary:hover {
	color: #061116;
	background: var(--apex-green);
	transform: translateY(-3px);
}

.apex-btn-secondary {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.apex-btn-secondary span {
	background: rgba(255, 255, 255, 0.14);
}

.apex-btn-secondary:hover {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-3px);
}

.apex-hero-visual {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 1200px;
}

.apex-device {
	position: relative;
	width: min(520px, 100%);
	aspect-ratio: 0.92;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
		linear-gradient(180deg, rgba(55, 214, 255, 0.12), rgba(255, 111, 97, 0.1));
	box-shadow:
		0 44px 120px rgba(0, 0, 0, 0.46),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	transform: rotateX(4deg) rotateY(-8deg);
	transform-style: preserve-3d;
	animation: apexDeviceDrift 7s ease-in-out infinite;
}

.apex-device::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.18) 20%, transparent 34%),
		repeating-linear-gradient(90deg, transparent 0 28px, rgba(255, 255, 255, 0.035) 28px 29px);
	opacity: 0.7;
}

.apex-device-top {
	position: relative;
	z-index: 2;
	height: 48px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(9, 11, 16, 0.42);
}

.apex-device-top span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--apex-coral);
}

.apex-device-top span:nth-child(2) {
	background: var(--apex-green);
}

.apex-device-top span:nth-child(3) {
	background: var(--apex-cyan);
}

.apex-device-stage {
	position: relative;
	z-index: 2;
	height: calc(100% - 160px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

.apex-device-stage img {
	width: min(360px, 86%);
	height: auto;
	filter: drop-shadow(0 28px 50px rgba(55, 214, 255, 0.26));
}

.apex-pulse-line {
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: 26px;
	height: 2px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.18);
}

.apex-pulse-line::after {
	content: "";
	position: absolute;
	top: 0;
	left: -30%;
	width: 30%;
	height: 100%;
	background: linear-gradient(90deg, transparent, var(--apex-green), transparent);
	animation: apexScan 2.6s linear infinite;
}

.apex-device-panel {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	height: 112px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
}

.apex-device-panel div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 22px;
	background: rgba(9, 11, 16, 0.48);
}

.apex-device-panel strong {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 950;
}

.apex-device-panel span {
	margin-top: 4px;
	color: rgba(248, 250, 252, 0.64);
	font-size: 0.88rem;
	font-weight: 700;
}

.apex-floating-stat {
	position: absolute;
	z-index: 4;
	display: grid;
	gap: 6px;
	width: 178px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(9, 11, 16, 0.72);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
	backdrop-filter: blur(18px);
}

.apex-floating-stat span {
	color: var(--apex-cyan);
	font-size: 0.78rem;
	font-weight: 950;
}

.apex-floating-stat strong {
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.2;
}

.apex-floating-stat-one {
	top: 78px;
	left: 0;
}

.apex-floating-stat-two {
	right: 4px;
	bottom: 74px;
}

.apex-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 3;
	width: 28px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 18px;
	transform: translateX(-50%);
}

.apex-scroll-cue span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	border-radius: 99px;
	background: #ffffff;
	transform: translateX(-50%);
	animation: apexScroll 1.5s ease-in-out infinite;
}

.apex-chapters {
	position: relative;
	padding: 118px 0;
	background: #f7f8fb;
	color: #10131a;
}

.apex-chapters::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(16, 19, 26, 0.055) 1px, transparent 1px),
		linear-gradient(rgba(16, 19, 26, 0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	pointer-events: none;
}

.apex-section-head {
	max-width: 780px;
	margin: 0 0 46px;
}

.apex-section-head p {
	margin: 0 0 14px;
	color: #0e87a8;
	font-size: 0.9rem;
	font-weight: 950;
	text-transform: uppercase;
}

.apex-section-head h2 {
	margin: 0;
	color: #11141b;
	font-size: 3.35rem;
	line-height: 1.02;
	font-weight: 950;
	letter-spacing: 0;
	text-wrap: balance;
}

.apex-section-head-dark p {
	color: var(--apex-green);
}

.apex-section-head-dark h2 {
	color: #ffffff;
}

.apex-chapter-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid rgba(16, 19, 26, 0.12);
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 28px 90px rgba(16, 19, 26, 0.08);
}

.apex-chapter-card {
	position: relative;
	min-height: 340px;
	padding: 30px;
	border-right: 1px solid rgba(16, 19, 26, 0.11);
	overflow: hidden;
	transition: color 220ms ease, background 220ms ease;
}

.apex-chapter-card:last-child {
	border-right: 0;
}

.apex-chapter-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--apex-cyan), var(--apex-green), var(--apex-coral));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 260ms ease;
}

.apex-chapter-card:hover {
	background: #10131a;
	color: #ffffff;
}

.apex-chapter-card:hover::before {
	transform: scaleX(1);
}

.apex-chapter-number {
	display: block;
	margin-bottom: 104px;
	color: #0e87a8;
	font-size: 0.86rem;
	font-weight: 950;
}

.apex-chapter-card h3 {
	margin: 0 0 14px;
	color: inherit;
	font-size: 1.55rem;
	line-height: 1.08;
	font-weight: 950;
}

.apex-chapter-card p {
	margin: 0;
	color: #5b6574;
	font-size: 1rem;
	line-height: 1.58;
	font-weight: 560;
}

.apex-chapter-card:hover p {
	color: rgba(248, 250, 252, 0.76);
}

.apex-showcase {
	position: relative;
	padding: 122px 0;
	background:
		linear-gradient(180deg, #090b10 0%, #111016 100%);
}

.apex-projects {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.apex-project {
	position: relative;
	min-height: 520px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: #11141b;
	color: #ffffff;
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
	isolation: isolate;
}

.apex-project img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
	filter: saturate(1.05) contrast(1.08);
	transform: scale(1.04);
	transition: transform 700ms ease, opacity 700ms ease;
}

.apex-project::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(9, 11, 16, 0.08), rgba(9, 11, 16, 0.9)),
		linear-gradient(135deg, rgba(55, 214, 255, 0.24), rgba(255, 111, 97, 0.18));
}

.apex-project:hover img {
	opacity: 0.9;
	transform: scale(1.12);
}

.apex-project-meta {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
}

.apex-project-meta span {
	display: inline-flex;
	margin-bottom: 16px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	background: rgba(9, 11, 16, 0.48);
	color: var(--apex-green);
	font-size: 0.82rem;
	font-weight: 950;
	text-transform: uppercase;
	backdrop-filter: blur(12px);
}

.apex-project-meta h3 {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 3rem;
	line-height: 0.98;
	font-weight: 950;
	letter-spacing: 0;
}

.apex-project-meta p {
	max-width: 560px;
	margin: 0;
	color: rgba(248, 250, 252, 0.82);
	font-size: 1.08rem;
	line-height: 1.55;
	font-weight: 600;
}

.apex-contact {
	position: relative;
	padding: 110px 0;
	background: #f7f8fb;
	color: #10131a;
}

.apex-contact-layout {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 70px;
	align-items: end;
	padding: 48px 0;
	border-top: 1px solid rgba(16, 19, 26, 0.14);
	border-bottom: 1px solid rgba(16, 19, 26, 0.14);
}

.apex-contact-layout > div > p {
	margin: 0 0 14px;
	color: #0e87a8;
	font-size: 0.9rem;
	font-weight: 950;
	text-transform: uppercase;
}

.apex-contact-layout h2 {
	margin: 0;
	color: #10131a;
	font-size: 3.35rem;
	line-height: 1.02;
	font-weight: 950;
	letter-spacing: 0;
	text-wrap: balance;
}

.apex-contact-copy p {
	margin: 0 0 24px;
	color: #4a5565;
	font-size: 1.12rem;
	line-height: 1.62;
	font-weight: 600;
}

.apex-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.apex-contact-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 18px;
	border-radius: 8px;
	font-weight: 950;
}

.apex-contact-actions a:first-child {
	background: #10131a;
	color: #ffffff;
}

.apex-contact-actions a:first-child:hover {
	color: #10131a;
	background: var(--apex-green);
}

.apex-contact-actions a:last-child {
	border: 1px solid rgba(16, 19, 26, 0.14);
	color: #10131a;
	background: #ffffff;
}

.apex-contact-actions a:last-child:hover {
	color: #10131a;
	border-color: rgba(16, 19, 26, 0.32);
}

.apex-footer {
	position: relative;
	padding: 28px 0;
	background: #090b10;
	color: rgba(248, 250, 252, 0.64);
	font-size: 0.92rem;
	font-weight: 700;
}

.apex-footer .apex-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.apex-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

.apex-footer-links a {
	color: rgba(248, 250, 252, 0.64);
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
	transition: color 180ms ease;
}

.apex-footer-links a:hover {
	color: #ffffff;
}

.apex-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 720ms ease, transform 720ms ease;
}

.apex-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes apexDeviceDrift {
	0%,
	100% {
		transform: rotateX(4deg) rotateY(-8deg) translateY(0);
	}
	50% {
		transform: rotateX(2deg) rotateY(-4deg) translateY(-12px);
	}
}

@keyframes apexScan {
	to {
		left: 100%;
	}
}

@keyframes apexScroll {
	0% {
		opacity: 0;
		transform: translate(-50%, 0);
	}
	35% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translate(-50%, 18px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.apex-device,
	.apex-pulse-line::after,
	.apex-scroll-cue span {
		animation: none;
	}

	.apex-reveal {
		transition: none;
	}
}

@media (max-width: 1100px) {
	.apex-title {
		font-size: 3.75rem;
	}

	.apex-section-head h2,
	.apex-contact-layout h2 {
		font-size: 2.8rem;
	}

	.apex-hero-grid {
		gap: 40px;
	}

	.apex-chapter-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.apex-chapter-card:nth-child(2) {
		border-right: 0;
	}
}

@media (max-width: 900px) {
	.apex-nav {
		grid-template-columns: auto auto;
		justify-content: space-between;
	}

	.apex-nav-links {
		display: none;
	}

	.apex-hero {
		min-height: auto;
		padding-top: 120px;
	}

	.apex-hero-grid,
	.apex-contact-layout {
		grid-template-columns: 1fr;
	}

	.apex-hero-visual {
		min-height: 480px;
	}

	.apex-device {
		transform: none;
	}

	.apex-projects {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	html,
	body.apexweb-immersive-page {
		overflow-x: hidden;
	}

	.apex-page {
		background:
			linear-gradient(180deg, rgba(9, 11, 16, 0.82), rgba(9, 11, 16, 0.98)),
			linear-gradient(145deg, #090b10 0%, #101822 54%, #14100f 100%);
	}

	.apex-page::before {
		background-size: 34px 34px;
		opacity: 0.58;
	}

	.apex-page::after {
		opacity: 0.08;
	}

	.apex-flow-canvas {
		opacity: 0.42;
	}

	.apex-container,
	.apex-nav {
		width: min(100% - 28px, 1180px);
	}

	.apex-nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
		left: 14px;
		right: 14px;
		top: 14px;
		width: auto;
		height: 94px;
		min-height: 94px;
		padding: 9px 10px 9px 12px;
		gap: 10px;
		transform: none;
		background: rgba(9, 11, 16, 0.86);
	}

	.apex-brand {
		height: 100%;
		max-width: 68%;
		overflow: hidden;
	}

	.apex-brand img {
		width: auto;
		max-width: 100%;
		max-height: 76px;
	}

	.apex-nav-action {
		min-height: 38px;
		height: 38px;
		max-width: 30%;
		gap: 7px;
		padding: 0 8px 0 12px;
		font-size: 12px;
		line-height: 1;
		box-shadow: inset 0 -2px 0 rgba(9, 11, 16, 0.16);
	}

	.apex-nav-action i {
		width: 21px;
		height: 21px;
		font-size: 15px;
	}

	.apex-hero-frame {
		inset: 80px 10px 16px;
		background:
			linear-gradient(150deg, rgba(55, 214, 255, 0.12), transparent 36%),
			rgba(255, 255, 255, 0.018);
	}

	.apex-hero {
		padding: 96px 0 50px;
	}

	.apex-hero-grid {
		gap: 24px;
	}

	.apex-eyebrow {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-bottom: 16px;
		font-size: 0.72rem;
		line-height: 1.35;
	}

	.apex-title {
		margin-bottom: 18px;
		font-size: 2.18rem;
		line-height: 1.04;
	}

	.apex-description {
		margin-bottom: 24px;
		font-size: 0.98rem;
		line-height: 1.52;
	}

	.apex-actions,
	.apex-contact-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.apex-btn,
	.apex-contact-actions a {
		width: 100%;
		min-height: 48px;
	}

	.apex-hero-visual {
		min-height: 270px;
	}

	.apex-floating-stat {
		display: none;
	}

	.apex-device {
		width: min(310px, 92%);
		aspect-ratio: 1 / 0.84;
		transform: none;
		box-shadow:
			0 24px 70px rgba(0, 0, 0, 0.36),
			inset 0 1px 0 rgba(255, 255, 255, 0.18);
	}

	.apex-device-top {
		height: 34px;
		padding: 0 12px;
	}

	.apex-device-stage {
		height: calc(100% - 88px);
		padding: 18px;
	}

	.apex-device-stage img {
		width: min(220px, 82%);
	}

	.apex-pulse-line {
		left: 18px;
		right: 18px;
		bottom: 16px;
	}

	.apex-device-panel {
		grid-template-columns: 1fr 1fr;
		height: 54px;
	}

	.apex-device-panel div {
		min-height: 0;
		padding: 0 12px;
	}

	.apex-device-panel strong {
		font-size: 0.78rem;
	}

	.apex-device-panel span {
		display: none;
	}

	.apex-scroll-cue {
		display: none;
	}

	.apex-chapters,
	.apex-showcase,
	.apex-contact {
		padding: 64px 0;
	}

	.apex-section-head {
		margin-bottom: 28px;
	}

	.apex-section-head p,
	.apex-contact-layout > div > p {
		margin-bottom: 10px;
		font-size: 0.76rem;
	}

	.apex-section-head h2,
	.apex-contact-layout h2 {
		font-size: 1.9rem;
		line-height: 1.08;
	}

	.apex-chapter-grid {
		grid-template-columns: 1fr;
	}

	.apex-chapter-card,
	.apex-chapter-card:nth-child(2) {
		min-height: auto;
		padding: 22px;
		border-right: 0;
		border-bottom: 1px solid rgba(16, 19, 26, 0.11);
	}

	.apex-chapter-card:last-child {
		border-bottom: 0;
	}

	.apex-chapter-number {
		margin-bottom: 28px;
	}

	.apex-chapter-card h3 {
		font-size: 1.24rem;
	}

	.apex-chapter-card p {
		font-size: 0.94rem;
	}

	.apex-project {
		min-height: 330px;
	}

	.apex-project-meta {
		left: 18px;
		right: 18px;
		bottom: 18px;
	}

	.apex-project-meta h3 {
		margin-bottom: 10px;
		font-size: 1.9rem;
	}

	.apex-project-meta p {
		font-size: 0.94rem;
		line-height: 1.45;
	}

	.apex-project-meta span {
		margin-bottom: 12px;
		font-size: 0.7rem;
	}

	.apex-contact-layout {
		gap: 24px;
		padding: 32px 0;
	}

	.apex-contact-copy p {
		margin-bottom: 18px;
		font-size: 0.98rem;
		line-height: 1.52;
	}

	.apex-footer .apex-container {
		align-items: flex-start;
		flex-direction: column;
	}

	.apex-footer-links {
		justify-content: flex-start;
	}
}

@media (max-width: 680px) {
	body.apexweb-immersive-page .apex-page .apex-nav {
		position: fixed !important;
		top: 12px !important;
		left: 12px !important;
		right: 12px !important;
		width: auto !important;
		height: 94px !important;
		min-height: 94px !important;
		max-height: 94px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 8px 10px !important;
		transform: none !important;
		overflow: hidden !important;
	}

	body.apexweb-immersive-page .apex-page .apex-brand {
		display: flex !important;
		align-items: center !important;
		width: auto !important;
		max-width: 420px !important;
		height: 76px !important;
		min-height: 0 !important;
		overflow: hidden !important;
	}

	body.apexweb-immersive-page .apex-page .apex-brand img {
		display: block !important;
		width: auto !important;
		max-width: 410px !important;
		height: 76px !important;
		max-height: 76px !important;
		object-fit: contain !important;
	}

	body.apexweb-immersive-page .apex-page .apex-nav-action {
		width: auto !important;
		max-width: 108px !important;
		height: 38px !important;
		min-height: 38px !important;
		gap: 7px !important;
		padding: 0 8px 0 12px !important;
		font-size: 12px !important;
		line-height: 1 !important;
		white-space: nowrap !important;
	}

	body.apexweb-immersive-page .apex-page .apex-nav-action i {
		width: 21px !important;
		height: 21px !important;
		font-size: 15px !important;
	}
}
