/* ==========================================================================
   Pisano Industries - main stylesheet
   ========================================================================== */

:root {
	--bg:            #0A0A0A;
	--surface:       rgba(255,255,255,0.04);
	--surface-2:     rgba(255,255,255,0.06);
	--border:        rgba(255,255,255,0.08);
	--border-strong: rgba(255,255,255,0.16);
	--text:          #ffffff;
	--text-muted:    #b3b3bd;
	--text-faint:    #6e6e78;
	--text-dim:      #4a4a52;
	--accent:        #ffffff;
	--blue:          #3b9eff;
	--radius-pill:   999px;
	--radius-lg:     32px;
	--radius-md:     22px;
	--radius-sm:     12px;
	--container:     1200px;
	--gutter:        24px;
	--font:          'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	word-wrap: normal;
}
.skip-link {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 100000;
	padding: 10px 16px;
	background: #fff;
	color: #0a0a0d;
	border-radius: 8px;
	font-weight: 500;
	text-decoration: none;
}
.skip-link:not(:focus) {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
   Scroll reveal - base hidden + revealed states
   ========================================================================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal][data-revealed="true"] {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
}

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
	overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 0.4em;
	line-height: 1.1;
}
h1 {
	font-size: 72px;
	letter-spacing: -0.03em;
	line-height: 1.1;
}
@media (max-width: 900px) {
	h1 { font-size: 48px; }
}
@media (max-width: 480px) {
	h1 { font-size: 38px; }
}
h2 {
	font-size: clamp(2rem, 3.6vw, 3rem);
	letter-spacing: -0.025em;
}
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--radius-pill);
	font-size: 0.95rem;
	font-weight: 400;
	border: 1px solid transparent;
	transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-light {
	background: #fff;
	color: #0a0a0d;
}
.btn-light:hover { background: #f0f0f5; }

.btn-ghost {
	background: var(--surface);
	color: var(--text-muted);
	border-color: var(--border);
	padding: 10px 22px;
	font-size: 0.875rem;
}
.btn-ghost:hover {
	background: var(--surface-2);
	color: var(--text);
	border-color: var(--border-strong);
}
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Sticky Pill Nav
   ========================================================================== */
.site-header {
	position: fixed;
	top: 16px;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 0 var(--gutter);
	pointer-events: none;
}
.admin-bar .site-header { top: calc(32px + 16px); }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: calc(46px + 12px); }
}
.site-header > * { pointer-events: auto; }

.nav-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--container);
	margin: 0 auto;
	padding: 8px 8px 8px 28px;
	position: relative;
	background: rgba(255,255,255,0.03);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: var(--radius-pill);
	box-shadow:
		0 12px 32px -14px rgba(0,0,0,0.45),
		0 1px 2px rgba(0,0,0,0.18),
		0 1px 0 rgba(255,255,255,0.14) inset,
		0 -1px 0 rgba(255,255,255,0.08) inset;
}
.nav-pill::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 50%);
	pointer-events: none;
	z-index: 0;
}
.nav-pill > * { position: relative; z-index: 1; }
.nav-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
}
.nav-brand img {
	display: block;
	width: auto;
}
.nav-brand-icon { height: 28px; animation: navGearSpin 18s linear infinite; transform-origin: 50% 50%; }
.nav-brand-wordmark { height: 28px; }
@media (max-width: 768px) {
	.nav-brand-icon { height: 26px; }
	.nav-brand-wordmark { height: 26px; }
}
@keyframes navGearSpin { to { transform: rotate(360deg); } }
.nav-brand:hover .nav-brand-icon { animation-duration: 4s; }
@media (prefers-reduced-motion: reduce) {
	.nav-brand-icon { animation: none; }
}
.nav-links {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-links a {
	font-size: 0.9rem;
	color: #ffffff;
	position: relative;
	padding: 6px 2px;
	transition: color 0.3s ease;
}
.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	border-radius: 1px;
	background: linear-gradient(90deg, rgba(120,160,255,0) 0%, rgba(180,210,255,0.95) 50%, rgba(120,160,255,0) 100%);
	box-shadow: 0 0 8px rgba(160,200,255,0.55);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
	pointer-events: none;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
	transform: scaleX(1);
}
.nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 18px;
	min-width: 95px;
	background: #fff;
	color: #0a0a0d;
	border-radius: var(--radius-pill);
	font-size: 12px;
	font-weight: 400;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s ease,
		padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-cta__label {
	display: inline-flex;
	align-items: center;
	gap: 0;
	transition: gap 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	z-index: 2;
}
.nav-cta__label::after {
	content: "→";
	display: inline-block;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateX(-4px);
	transition:
		max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.3s ease 0.05s,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 70%;
	height: 100%;
	background: linear-gradient(120deg,
		transparent 0%,
		rgba(120,160,255,0) 30%,
		rgba(120,160,255,0.35) 50%,
		rgba(120,160,255,0) 70%,
		transparent 100%);
	transform: skewX(-20deg);
	transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	z-index: 1;
}
.nav-cta:hover,
.nav-cta:focus-visible {
	transform: translateY(-1px);
	padding: 0 14px 0 18px;
	box-shadow:
		0 10px 26px -10px rgba(160,200,255,0.7),
		0 0 0 1px rgba(160,200,255,0.4);
}
.nav-cta:hover .nav-cta__label,
.nav-cta:focus-visible .nav-cta__label { gap: 6px; }
.nav-cta:hover .nav-cta__label::after,
.nav-cta:focus-visible .nav-cta__label::after {
	max-width: 14px;
	opacity: 1;
	transform: translateX(0);
}
.nav-cta:hover::before,
.nav-cta:focus-visible::before { left: 130%; }
@media (prefers-reduced-motion: reduce) {
	.nav-cta, .nav-cta__label, .nav-cta__label::after, .nav-cta::before { transition: none; }
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
}
.nav-toggle span {
	width: 18px;
	height: 1.5px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile-panel {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	background: rgba(255,255,255,0.03);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(255,255,255,0.10);
	border-top: 0;
	border-radius: 0 0 16px 16px;
	box-shadow:
		0 12px 32px -14px rgba(0,0,0,0.45),
		0 1px 2px rgba(0,0,0,0.18);
	max-height: 0;
	opacity: 0;
	transform: translateY(-6px);
	overflow: hidden;
	visibility: hidden;
	transition:
		max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.25s ease,
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 0.32s;
}
.nav-mobile-panel[data-open="true"] {
	padding: 16px 24px 20px;
	max-height: 480px;
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	transition:
		max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.25s ease,
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 0s;
}
.nav-mobile-panel ul { list-style: none; margin: 0 0 12px; padding: 0; }
.nav-mobile-panel li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.nav-mobile-panel li:last-child { border-bottom: 0; }
.nav-mobile-panel a { color: var(--text); font-size: 1.05rem; }
.nav-cta--full { width: 100%; justify-content: center; padding: 16px 24px; font-size: 1rem; }

.nav-pill:has(+ .nav-mobile-panel[data-open="true"]) {
	border-radius: 16px 16px 0 0;
	border-bottom-color: transparent;
}

@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
	.nav-links, .nav-cta { display: none; }
	.nav-toggle { display: flex; width: 38px; height: 38px; }
	.site-header { top: 10px; }
	.nav-pill { padding: 7px 12px 7px 16px; }
	.nav-brand-icon { height: 26px; }
	.nav-brand-wordmark { height: 26px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	padding: clamp(140px, 14vw, 180px) 0 clamp(80px, 12vw, 140px);
	overflow: hidden;
	min-height: 720px;
	isolation: isolate;
}
.hero-visual {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: radial-gradient(ellipse at center, #071019 0%, #04080c 70%, #020405 100%);
}
.hero-visual picture,
.hero-visual img { display: none; }

/* Blue bloom, lower-left */
.hero-visual::before {
	content: "";
	position: absolute;
	inset: -35%;
	background:
		radial-gradient(ellipse 42% 40% at 22% 80%, rgba(40, 110, 220, 0.85) 0%, transparent 58%),
		radial-gradient(ellipse 30% 30% at 12% 95%, rgba(60, 150, 240, 0.60) 0%, transparent 60%);
	filter: blur(40px);
	animation: heroLayerA 14s linear infinite;
	will-change: transform, filter;
}
/* Teal/green bloom, upper-right */
.hero-visual::after {
	content: "";
	position: absolute;
	inset: -35%;
	background:
		radial-gradient(ellipse 38% 36% at 78% 30%, rgba(45, 200, 160, 0.60) 0%, transparent 60%),
		radial-gradient(ellipse 28% 28% at 92% 55%, rgba(80, 220, 200, 0.45) 0%, transparent 60%);
	filter: blur(45px);
	mix-blend-mode: screen;
	animation: heroLayerB 17s linear infinite;
	will-change: transform, filter;
}
.hero::before {
	content: "";
	position: absolute;
	inset: -30%;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 30% 28% at 50% 50%, rgba(80, 220, 220, 0.22) 0%, transparent 60%),
		radial-gradient(ellipse 22% 22% at 30% 60%, rgba(50, 180, 200, 0.18) 0%, transparent 65%);
	filter: blur(35px);
	mix-blend-mode: screen;
	animation: heroLayerC 20s linear infinite;
	will-change: transform, opacity;
}
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 14%;
	background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, #0A0A0A 100%);
	z-index: 3;
	pointer-events: none;
}

/* Scroll indicator - sits at the bottom of the hero, scrolls out naturally */
.hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	color: rgba(255,255,255,0.55);
	text-decoration: none;
	transition: color 0.3s ease, transform 0.3s ease;
	animation: heroScrollFade 1s ease-out 0.6s both;
}
.hero-scroll:hover,
.hero-scroll:focus-visible {
	color: rgba(255,255,255,0.95);
	transform: translateX(-50%) translateY(2px);
}
.hero-scroll-line {
	position: relative;
	display: block;
	width: 1px;
	height: 36px;
	background: linear-gradient(to bottom, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.30) 50%, rgba(255,255,255,0.06) 100%);
	border-radius: 1px;
	overflow: hidden;
}
.hero-scroll-dot {
	position: absolute;
	top: 0;
	left: 50%;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	margin-top: -2px;
	border-radius: 50%;
	background: #fff;
	box-shadow:
		0 0 4px rgba(255,255,255,1),
		0 0 12px rgba(160,200,255,0.75),
		0 0 22px rgba(120,160,255,0.40);
	animation: heroScrollDot 2s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}
@keyframes heroScrollDot {
	0%   { transform: translateY(0)    scale(1);    opacity: 0;   }
	15%  {                             opacity: 1;   }
	85%  { transform: translateY(36px) scale(1);    opacity: 1;   }
	100% { transform: translateY(36px) scale(0.6);  opacity: 0;   }
}
@keyframes heroScrollFade {
	from { opacity: 0; transform: translateX(-50%) translateY(8px); }
	to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.admin-bar .hero-scroll { bottom: 18px; }
@media (prefers-reduced-motion: reduce) {
	.hero-scroll { animation: none; }
	.hero-scroll-dot { animation: none; opacity: 1; }
}
@keyframes heroLayerA {
	0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg); }
	20%  { transform: translate3d(8%, -6%, 0)     scale(1.18) rotate(3deg); }
	40%  { transform: translate3d(14%, 8%, 0)     scale(1.30) rotate(6deg); }
	60%  { transform: translate3d(-2%, 12%, 0)    scale(1.22) rotate(2deg); }
	80%  { transform: translate3d(-10%, -4%, 0)   scale(1.10) rotate(-2deg); }
	100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg); }
}
@keyframes heroLayerB {
	0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg); }
	25%  { transform: translate3d(-12%, 8%, 0)    scale(1.22) rotate(-4deg); }
	50%  { transform: translate3d(-6%, -10%, 0)   scale(1.32) rotate(-7deg); }
	75%  { transform: translate3d(10%, -4%, 0)    scale(1.16) rotate(-2deg); }
	100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg); }
}
@keyframes heroLayerC {
	0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg); opacity: 0.6; }
	33%  { transform: translate3d(-8%, 6%, 0)     scale(1.25) rotate(4deg);  opacity: 1;   }
	66%  { transform: translate3d(10%, -7%, 0)    scale(1.18) rotate(-3deg); opacity: 0.85; }
	100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg); opacity: 0.6; }
}

/* Floating glass tiles with company logos */
.hero-tiles {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	overflow: hidden;
	perspective: 1400px;
	transform: translate3d(var(--hero-mx, 0px), var(--hero-my, 0px), 0);
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-tile {
	position: absolute;
	border-radius: 22px;
	background: rgba(255,255,255,0.07);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	border: 1px solid rgba(255,255,255,0.22);
	box-shadow:
		0 30px 70px -20px rgba(0,0,0,0.55),
		0 0 70px -10px rgba(60, 180, 220, 0.28),
		0 1px 0 rgba(255,255,255,0.30) inset,
		0 -1px 0 rgba(255,255,255,0.06) inset;
	display: flex;
	align-items: center;
	justify-content: center;
	will-change: transform;
	overflow: hidden;
	transform-style: preserve-3d;
}
.hero-tile--3 {
	box-shadow:
		0 30px 70px -20px rgba(0,0,0,0.55),
		0 0 80px -10px rgba(70, 160, 240, 0.38),
		0 1px 0 rgba(255,255,255,0.30) inset,
		0 -1px 0 rgba(255,255,255,0.06) inset;
}
.hero-tile--2 {
	box-shadow:
		0 30px 70px -20px rgba(0,0,0,0.55),
		0 0 75px -10px rgba(80, 220, 200, 0.32),
		0 1px 0 rgba(255,255,255,0.30) inset,
		0 -1px 0 rgba(255,255,255,0.06) inset;
}
@property --hero-tile-angle {
	syntax: '<angle>';
	initial-value: 150deg;
	inherits: false;
}
.hero-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		var(--hero-tile-angle),
		rgba(255,255,255,0.20) 0%,
		rgba(255,255,255,0.04) 38%,
		transparent 60%,
		rgba(255,255,255,0.10) 100%
	);
	pointer-events: none;
	z-index: 2;
	animation: heroTileLightShift 14s ease-in-out infinite alternate;
}
.hero-tile--1::before { animation-delay: -1s; }
.hero-tile--2::before { animation-delay: -5s; }
.hero-tile--3::before { animation-delay: -8s; }
.hero-tile--4::before { animation-delay: -3s; }
@keyframes heroTileLightShift {
	0%   { --hero-tile-angle: 120deg; }
	100% { --hero-tile-angle: 220deg; }
}
.hero-tile img {
	display: block;
	width: 60%;
	height: 60%;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
/* Whiten dark-on-transparent logos */
.hero-tile--1 img,
.hero-tile--2 img {
	filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
/* Larger Sky Clean wordmark */
.hero-tile--4 img { width: 78%; height: 78%; }

.hero-tile--1 { top: 14%; right: 24%; width: 104px; height: 104px; animation: heroTile1 17s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.hero-tile--2 { top: 30%; right: 10%; width:  92px; height:  92px; animation: heroTile2 19s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-delay: -4s; }
.hero-tile--3 { top: 52%; right: 26%; width: 110px; height: 110px; animation: heroTile3 21s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-delay: -7s; }
.hero-tile--4 { top: 68%; right: 11%; width:  98px; height:  98px; animation: heroTile4 16s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-delay: -2s; }

@keyframes heroTile1 {
	0%, 100% { transform: translate3d(0, 0, 0)         rotateY(-6deg) rotateX(2deg)  rotate(-5deg) scale(1);    }
	25%      { transform: translate3d(-6px, -22px, 14px) rotateY(3deg)  rotateX(-3deg) rotate(-1deg) scale(1.03); }
	50%      { transform: translate3d(-14px, -8px, 24px) rotateY(7deg)  rotateX(1deg)  rotate(4deg)  scale(1.05); }
	75%      { transform: translate3d(-4px, 10px, -10px) rotateY(-4deg) rotateX(4deg)  rotate(-2deg) scale(0.98); }
}
@keyframes heroTile2 {
	0%, 100% { transform: translate3d(0, 0, 0)         rotateY(5deg)  rotateX(-2deg) rotate(4deg)  scale(1);    }
	33%      { transform: translate3d(14px, -18px, 18px) rotateY(-6deg) rotateX(3deg)  rotate(-3deg) scale(1.05); }
	66%      { transform: translate3d(6px, 14px, -12px)  rotateY(4deg)  rotateX(-3deg) rotate(2deg)  scale(0.97); }
}
@keyframes heroTile3 {
	0%, 100% { transform: translate3d(0, 0, 0)         rotateY(-4deg) rotateX(2deg)  rotate(-3deg) scale(1);    }
	20%      { transform: translate3d(-14px, -10px, 22px) rotateY(5deg)  rotateX(-2deg) rotate(3deg)  scale(1.04); }
	45%      { transform: translate3d(8px, -22px, 30px)   rotateY(-3deg) rotateX(4deg)  rotate(-2deg) scale(1.06); }
	70%      { transform: translate3d(12px, 8px, -14px)   rotateY(7deg)  rotateX(-3deg) rotate(5deg)  scale(0.96); }
	85%      { transform: translate3d(-4px, 14px, 8px)    rotateY(-2deg) rotateX(2deg)  rotate(-1deg) scale(1.02); }
}
@keyframes heroTile4 {
	0%, 100% { transform: translate3d(0, 0, 0)         rotateY(4deg)  rotateX(-2deg) rotate(3deg)  scale(1);    }
	30%      { transform: translate3d(16px, -14px, 20px) rotateY(-6deg) rotateX(3deg)  rotate(-4deg) scale(1.06); }
	55%      { transform: translate3d(-8px, -20px, 26px) rotateY(3deg)  rotateX(-2deg) rotate(2deg)  scale(1.04); }
	80%      { transform: translate3d(-12px, 6px, -10px) rotateY(-4deg) rotateX(2deg)  rotate(-1deg) scale(0.97); }
}

@media (max-width: 1100px) {
	.hero-tile--1 { right: 16%; }
	.hero-tile--2 { right: 5%; }
	.hero-tile--3 { right: 19%; }
	.hero-tile--4 { right: 5%; }
}
@media (max-width: 900px) {
	.hero-tiles {
		top: auto;
		left: 0;
		right: 0;
		bottom: 180px;
		inset: auto 0 180px 0;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 0;
		padding: 36px 18px 0;
		perspective: 800px;
		transform: none !important;
		overflow: visible;
	}
	.hero-tile {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		bottom: auto !important;
		border-radius: 16px;
	}
	.hero-tile--1 { width: 74px !important; height: 74px !important; flex: 0 0 74px; margin-top:  8px; animation: heroTileMobileA 5.5s ease-in-out infinite alternate !important; }
	.hero-tile--2 { width: 66px !important; height: 66px !important; flex: 0 0 66px; margin-top: 38px; animation: heroTileMobileB 6.5s ease-in-out infinite alternate !important; animation-delay: -2s !important; }
	.hero-tile--3 { width: 78px !important; height: 78px !important; flex: 0 0 78px; margin-top: -6px; display: flex !important; animation: heroTileMobileA 7.5s ease-in-out infinite alternate !important; animation-delay: -4s !important; }
	.hero-tile--4 { width: 68px !important; height: 68px !important; flex: 0 0 68px; margin-top: 30px; display: flex !important; animation: heroTileMobileB 6s   ease-in-out infinite alternate !important; animation-delay: -1s !important; }

	@keyframes heroTileMobileA {
		0%   { transform: translate3d(0, 0, 0)  rotate(-3deg) scale(1);    }
		100% { transform: translate3d(0, -9px, 0) rotate(2deg) scale(1.03); }
	}
	@keyframes heroTileMobileB {
		0%   { transform: translate3d(0, 0, 0)   rotate(2deg)  scale(1);    }
		100% { transform: translate3d(0, -11px, 0) rotate(-3deg) scale(1.03); }
	}
}
@media (max-width: 420px) {
	.hero-tiles { bottom: 170px; padding: 28px 10px 0; }
	.hero-tile--1 { width: 64px !important; height: 64px !important; flex-basis: 64px; margin-top:  6px; }
	.hero-tile--2 { width: 58px !important; height: 58px !important; flex-basis: 58px; margin-top: 32px; }
	.hero-tile--3 { width: 68px !important; height: 68px !important; flex-basis: 68px; margin-top: -4px; }
	.hero-tile--4 { width: 60px !important; height: 60px !important; flex-basis: 60px; margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-visual::before, .hero-visual::after, .hero::before,
	.hero-tile { animation: none; }
}
.hero-grid {
	position: relative;
	z-index: 2;
	min-height: 620px;
	display: flex;
	align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin-bottom: 28px; }
@property --hero-btn-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}
.hero-copy .btn {
	width: 165px;
	height: 40px;
	padding: 0;
	font-size: 12px;
	position: relative;
	isolation: isolate;
	border: 0;
}
.hero-copy .btn .btn-label,
.hero-copy .btn > * { position: relative; z-index: 1; }
.hero-copy .btn::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1.5px;
	border-radius: inherit;
	background: conic-gradient(
		from var(--hero-btn-angle),
		#ff5d8f,
		#ffae3b,
		#ffe55c,
		#5dffa3,
		#5dd1ff,
		#9b7bff,
		#ff5d8f
	);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: heroBtnRainbow 6s linear infinite;
	pointer-events: none;
}
@keyframes heroBtnRainbow {
	to { --hero-btn-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-copy .btn::before { animation: none; }
}
.hero-lead {
	font-size: 1rem;
	max-width: 460px;
	margin-bottom: 36px;
	color: var(--text-muted);
}

@media (max-width: 900px) {
	.hero {
		min-height: 100svh;
		padding: 100px 0 0;
	}
	.hero-grid { min-height: 0; align-items: flex-start; }
	.admin-bar .hero { min-height: calc(100svh - 46px); }
}

/* ==========================================================================
   Portfolio carousel - edge-to-edge with center-emphasized peek
   ========================================================================== */
.portfolio {
	padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 130px);
	overflow: hidden;
}
.portfolio-head {
	text-align: center;
	max-width: 820px;
	margin-bottom: 64px;
}
.portfolio-head p { color: var(--text-faint); }

.carousel {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}
.carousel-viewport {
	overflow: hidden;
	width: 100%;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}
.carousel-viewport[data-dragging="true"] { cursor: grabbing; }
.carousel-viewport img,
.carousel-viewport a { -webkit-user-drag: none; }
.carousel-track {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}
.carousel-slide {
	flex: 0 0 770px;
	min-width: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	opacity: 0.55;
	transform: scale(0.98);
}
.carousel-slide[data-active="true"] {
	opacity: 1;
	transform: scale(1);
}
.portfolio-card {
	height: 480px;
	border-radius: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	isolation: isolate;
}
.portfolio-card > *:not(.portfolio-card-bg) { position: relative; z-index: 2; }

.portfolio-card-bg {
	position: absolute;
	inset: -10%;
	z-index: 0;
	pointer-events: none;
	will-change: transform, background-position;
}
.portfolio-card-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18) 0%, transparent 35%),
		radial-gradient(circle at 70% 80%, rgba(0,0,0,0.15) 0%, transparent 40%);
	mix-blend-mode: overlay;
	pointer-events: none;
}

.portfolio-card--pink .portfolio-card-bg {
	background:
		radial-gradient(ellipse 60% 50% at 22% 24%, #ff7ed8 0%, transparent 55%),
		radial-gradient(ellipse 55% 45% at 78% 30%, #ffb86b 0%, transparent 55%),
		radial-gradient(ellipse 60% 50% at 50% 82%, #c0a3ff 0%, transparent 60%),
		linear-gradient(135deg, #ff6ec7 0%, #ffb86b 50%, #c0a3ff 100%);
	background-size: 180% 180%, 180% 180%, 200% 200%, 100% 100%;
	animation: portfolioBgPink 22s ease-in-out infinite alternate;
}
@keyframes portfolioBgPink {
	0%   { background-position:  0%  0%,  100%  0%,  50% 100%, 0% 0%; }
	100% { background-position:  100% 30%, 0% 60%,  20% 50%,  0% 0%; }
}

.portfolio-card--cyan .portfolio-card-bg {
	background:
		radial-gradient(ellipse 55% 40% at 70% 80%, #ff7fa6 0%, transparent 55%),
		radial-gradient(ellipse 65% 55% at 30% 80%, #4ea4f0 0%, transparent 60%),
		radial-gradient(ellipse 70% 50% at 50% 25%, #d8eaf5 0%, transparent 60%),
		linear-gradient(180deg, #c8e3f3 0%, #b6d8f0 60%, #5e82c4 100%);
	background-size: 200% 200%, 200% 200%, 180% 180%, 100% 100%;
	animation: portfolioBgCyan 24s ease-in-out infinite alternate;
}
@keyframes portfolioBgCyan {
	0%   { background-position: 100% 100%, 0% 100%, 50% 0%, 0% 0%; }
	100% { background-position: 30% 70%, 80% 60%, 30% 20%, 0% 0%; }
}

.portfolio-card--rainbow .portfolio-card-bg {
	background:
		radial-gradient(circle at 60% 38%, #ffd43b 0%, transparent 26%),
		radial-gradient(circle at 30% 70%, #ff5151 0%, transparent 32%),
		radial-gradient(circle at 75% 72%, #6b3aff 0%, transparent 36%),
		radial-gradient(circle at 50% 50%, #ff7fa6 0%, transparent 40%),
		linear-gradient(135deg, #c0a3ff 0%, #ffd180 50%, #ff7fa6 100%);
	background-size: 200% 200%, 220% 220%, 200% 200%, 240% 240%, 100% 100%;
	animation: portfolioBgRainbow 26s ease-in-out infinite alternate;
}
@keyframes portfolioBgRainbow {
	0%   { background-position: 50% 50%, 0% 100%, 100% 100%, 50% 50%, 0% 0%; }
	100% { background-position: 30% 70%, 60% 30%, 20% 50%, 80% 20%, 0% 0%; }
}

/* ============================================================
   Card Visuals - Glass UI components
   ============================================================ */
.cv {
	position: relative;
	border-radius: 20px;
	background: rgba(255,255,255,0.10);
	-webkit-backdrop-filter: blur(22px) saturate(160%);
	backdrop-filter: blur(22px) saturate(160%);
	border: 1px solid rgba(255,255,255,0.22);
	box-shadow:
		0 30px 80px -30px rgba(0,0,0,0.45),
		0 1px 0 rgba(255,255,255,0.30) inset,
		0 -1px 0 rgba(255,255,255,0.06) inset;
	color: #fff;
	font-family: var(--font);
	overflow: hidden;
	isolation: isolate;
}
.cv::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 35%);
	border-radius: inherit;
	z-index: 0;
}
.cv > * { position: relative; z-index: 1; }

.cv-dot {
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.45);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.cv-dot + .cv-dot { margin-left: 5px; }

/* ============================================================
   Card 1 - Workflow runner
   ============================================================ */
.cv--workflow {
	width: 78%;
	max-width: 360px;
	padding: 0;
}
@media (max-width: 768px) {
	.cv--workflow { max-width: 320px; width: 84%; }
	.cv--workflow .cv-workflow-head { padding: 10px 14px; }
	.cv--workflow .cv-workflow-body { padding: 14px 14px 18px; }
	.cv--workflow .cv-node { padding: 10px 12px; gap: 10px; }
	.cv--workflow .cv-node-icon { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; }
	.cv--workflow .cv-node-label { font-size: 11px; }
	.cv--workflow .cv-node-meta { font-size: 9px; }
	.cv--workflow .cv-workflow-title { font-size: 10px; }
	.cv--workflow .cv-workflow-foot { padding: 9px 14px 11px; }
}
.cv-workflow-head {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}
.cv-workflow-title {
	margin-left: 10px;
	font-size: 11px;
	font-weight: 500;
	color: rgba(255,255,255,0.9);
	letter-spacing: 0.02em;
}
.cv-status-pill {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.20);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 500;
	color: rgba(255,255,255,0.92);
	letter-spacing: 0.02em;
}
.cv-status-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #6cf38a;
	box-shadow: 0 0 8px rgba(108,243,138,0.75);
	animation: cvStatusBlink 1.6s ease-in-out infinite;
}
.cv-status-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 13px; height: 13px;
	border-radius: 50%;
	background: #6cf38a;
	color: #0a3a18;
	box-shadow: 0 0 10px rgba(108,243,138,0.55);
	animation: cvStatusBlink 2.4s ease-in-out infinite;
}
@keyframes cvStatusBlink {
	0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(108,243,138,0.7); }
	50% { opacity: 0.6; box-shadow: 0 0 4px rgba(108,243,138,0.35); }
}

/* Blueprint grid behind the workflow steps - Veri-Plan vibe */
.cv-blueprint {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
	background-size: 12px 12px, 12px 12px, 60px 60px, 60px 60px;
	mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 80%, transparent 100%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 80%, transparent 100%);
	opacity: 0.55;
	animation: cvBlueprintPan 22s linear infinite;
}
@keyframes cvBlueprintPan {
	to { background-position: 12px 12px, 12px 12px, 60px 60px, 60px 60px; }
}

.cv-workflow-foot {
	display: flex;
	gap: 10px;
	padding: 10px 16px 12px;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.cv-foot-stat {
	font-size: 9px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	color: rgba(255,255,255,0.55);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.cv-foot-stat + .cv-foot-stat { margin-left: auto; }
.cv-foot-stat--ok { color: #b5f5c5; }

.cv-workflow-body {
	position: relative;
	padding: 18px 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.cv-node {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 12px;
	opacity: 0.5;
	transform: translateX(-3px);
	transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.cv-node[data-on="true"],
.cv-node {
	animation: cvNodeActivate 6s ease-in-out infinite;
}
.cv-node--1 { animation-delay: 0s; }
.cv-node--2 { animation-delay: 2s; }
.cv-node--3 { animation-delay: 4s; }
@keyframes cvNodeActivate {
	0%, 28%, 100% {
		opacity: 0.5;
		transform: translateX(-3px);
		background: rgba(255,255,255,0.06);
		border-color: rgba(255,255,255,0.14);
		box-shadow: none;
	}
	5%, 23% {
		opacity: 1;
		transform: translateX(0);
		background: rgba(255,255,255,0.15);
		border-color: rgba(255,255,255,0.40);
		box-shadow:
			0 8px 22px -10px rgba(0,0,0,0.4),
			0 0 24px rgba(255,255,255,0.18);
	}
}
.cv-node-icon {
	flex: 0 0 30px;
	width: 30px; height: 30px;
	border-radius: 9px;
	background: rgba(255,255,255,0.20);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.22);
}
.cv-node-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.2;
	min-width: 0;
}
.cv-node-label {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255,255,255,0.98);
	letter-spacing: -0.005em;
}
.cv-node-meta {
	font-size: 10px;
	color: rgba(255,255,255,0.65);
	letter-spacing: 0.005em;
}
.cv-node-status {
	margin-left: auto;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.25);
	border: 1px solid rgba(255,255,255,0.3);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.cv-node--1 .cv-node-status { animation: cvStatusFill 6s ease-in-out infinite; animation-delay: 0s; }
.cv-node--2 .cv-node-status { animation: cvStatusFill 6s ease-in-out infinite; animation-delay: 2s; }
.cv-node--3 .cv-node-status { animation: cvStatusFill 6s ease-in-out infinite; animation-delay: 4s; }
@keyframes cvStatusFill {
	0%, 28%, 100% { background: rgba(255,255,255,0.25); box-shadow: none; }
	5%, 23% { background: #6cf38a; box-shadow: 0 0 10px rgba(108,243,138,0.7); }
}

.cv-line {
	width: 2px;
	height: 16px;
	margin: 0 0 0 28px;
	background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.30) 50%, rgba(255,255,255,0.10) 100%);
	border-radius: 2px;
	position: relative;
	overflow: hidden;
}
.cv-line::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	top: -100%; height: 100%;
	background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%);
	box-shadow: 0 0 8px rgba(255,255,255,0.7);
	animation: cvLineFlow 6s ease-in-out infinite;
}
.cv-line--1::after { animation-delay: 0.6s; }
.cv-line--2::after { animation-delay: 2.6s; }
@keyframes cvLineFlow {
	0%   { top: -100%; }
	14%, 100% { top: 100%; }
}

/* ============================================================
   Card 2 - Integrate IQ smart-space control panel
   ============================================================ */
.cv--iq {
	width: 80%;
	max-width: 380px;
}
@media (max-width: 768px) {
	.cv--iq { max-width: 330px; width: 86%; }
	.cv--iq .cv-iq-head { padding: 10px 14px; }
	.cv--iq .cv-iq-title { font-size: 10px; margin-left: 8px; }
	.cv--iq .cv-iq-scenes { padding: 10px 12px; gap: 5px; }
	.cv--iq .cv-iq-scene { padding: 4px 8px; font-size: 9px; gap: 4px; }
	.cv--iq .cv-iq-grid { padding: 10px 12px; gap: 7px; }
	.cv--iq .cv-iq-tile { padding: 9px 10px 10px; min-height: 70px; gap: 3px; }
	.cv--iq .cv-iq-icon { width: 20px; height: 20px; border-radius: 5px; }
	.cv--iq .cv-iq-label { font-size: 9px; }
	.cv--iq .cv-iq-value { font-size: 14px; }
	.cv--iq .cv-iq-sub { font-size: 8px; }
	.cv--iq .cv-iq-foot { padding: 9px 14px 10px; }
}
.cv-iq-head {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}
.cv-iq-title {
	margin-left: 10px;
	font-size: 11px;
	font-weight: 500;
	color: rgba(255,255,255,0.92);
	letter-spacing: 0.01em;
}
.cv-iq-time {
	margin-left: auto;
	font-size: 10px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	color: rgba(255,255,255,0.6);
	letter-spacing: 0.04em;
}
.cv-iq-scenes {
	display: flex;
	gap: 6px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cv-iq-scene {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 500;
	color: rgba(255,255,255,0.78);
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.cv-iq-scene--active {
	background: rgba(255,255,255,0.22);
	border-color: rgba(255,255,255,0.45);
	color: #fff;
	box-shadow:
		0 0 18px rgba(255,255,255,0.25),
		inset 0 1px 0 rgba(255,255,255,0.35);
}
.cv-iq-scene:nth-child(1) { animation: cvIqSceneRotate 9s ease-in-out infinite; animation-delay: 0s; }
.cv-iq-scene:nth-child(2) { animation: cvIqSceneRotate 9s ease-in-out infinite; animation-delay: 3s; }
.cv-iq-scene:nth-child(3) { animation: cvIqSceneRotate 9s ease-in-out infinite; animation-delay: 6s; }
@keyframes cvIqSceneRotate {
	0%, 28%, 100% {
		background: rgba(255,255,255,0.08);
		border-color: rgba(255,255,255,0.14);
		color: rgba(255,255,255,0.78);
		box-shadow: none;
	}
	5%, 23% {
		background: rgba(255,255,255,0.22);
		border-color: rgba(255,255,255,0.45);
		color: #fff;
		box-shadow:
			0 0 18px rgba(255,255,255,0.28),
			inset 0 1px 0 rgba(255,255,255,0.35);
	}
}

.cv-iq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 12px 14px;
}
.cv-iq-tile {
	position: relative;
	padding: 11px 12px 12px;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 78px;
	overflow: hidden;
}
.cv-iq-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 50%);
	pointer-events: none;
}
.cv-iq-icon {
	display: inline-flex;
	width: 22px; height: 22px;
	border-radius: 6px;
	background: rgba(255,255,255,0.16);
	border: 1px solid rgba(255,255,255,0.18);
	align-items: center;
	justify-content: center;
	color: #fff;
}
.cv-iq-label {
	font-size: 10px;
	font-weight: 500;
	color: rgba(255,255,255,0.7);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.cv-iq-value {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.01em;
	line-height: 1;
}
.cv-iq-num { font-variant-numeric: tabular-nums; }
.cv-iq-sub {
	font-size: 9px;
	color: rgba(255,255,255,0.55);
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.cv-iq-slider {
	height: 4px;
	background: rgba(255,255,255,0.12);
	border-radius: 2px;
	overflow: hidden;
	margin-top: 2px;
}
.cv-iq-slider-fill {
	display: block;
	height: 100%;
	width: 62%;
	background: linear-gradient(90deg, rgba(255,255,255,0.7), #fff);
	box-shadow: 0 0 8px rgba(255,255,255,0.4);
	border-radius: inherit;
	animation: cvIqLights 7s ease-in-out infinite;
}
.cv-iq-slider-fill--shades {
	width: 40%;
	animation: cvIqShades 9s ease-in-out infinite;
}
@keyframes cvIqLights {
	0%, 100% { width: 62%; }
	35%      { width: 78%; }
	60%      { width: 38%; }
}
@keyframes cvIqShades {
	0%, 100% { width: 40%; }
	45%      { width: 72%; }
}

.cv-iq-tile--lights .cv-iq-num { animation: cvIqLightsNum 7s ease-in-out infinite; }
.cv-iq-tile--shades .cv-iq-num { animation: cvIqShadesNum 9s ease-in-out infinite; }
.cv-iq-tile--climate .cv-iq-num { animation: cvIqClimateNum 12s ease-in-out infinite; }
@keyframes cvIqLightsNum  { 0%,100%{content:""} 0%{content:"62"} 35%{content:"78"} 60%{content:"38"} }
@keyframes cvIqShadesNum  { 0%,100%{content:""} 0%{content:"40"} 45%{content:"72"} }
@keyframes cvIqClimateNum { 0%,100%{content:""} 0%{content:"72"} 50%{content:"71"} }

.cv-iq-eq {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	height: 14px;
	margin-top: 2px;
}
.cv-iq-eq span {
	display: inline-block;
	width: 3px;
	background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
	border-radius: 1px;
	animation: cvIqEq 1.1s ease-in-out infinite;
}
.cv-iq-eq span:nth-child(1) { animation-delay: 0s;    }
.cv-iq-eq span:nth-child(2) { animation-delay: 0.12s; }
.cv-iq-eq span:nth-child(3) { animation-delay: 0.24s; }
.cv-iq-eq span:nth-child(4) { animation-delay: 0.36s; }
.cv-iq-eq span:nth-child(5) { animation-delay: 0.48s; }
@keyframes cvIqEq {
	0%, 100% { height: 30%; opacity: 0.55; }
	50%      { height: 100%; opacity: 1; }
}

.cv-iq-foot {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 11px 16px 12px;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.cv-iq-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 9px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	color: rgba(255,255,255,0.6);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.cv-iq-stat + .cv-iq-stat { margin-left: auto; }
.cv-iq-stat-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #6cf38a;
	box-shadow: 0 0 8px rgba(108,243,138,0.7);
	animation: cvStatusBlink 1.8s ease-in-out infinite;
}

/* ============================================================
   Card 3 - Aerial scanner
   ============================================================ */
.cv--aerial {
	width: 82%;
	max-width: 380px;
	aspect-ratio: 4 / 3;
	padding: 0;
	overflow: hidden;
}
.cv-aerial-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
	background-size: 24px 24px;
	mask-image: radial-gradient(circle at center, #000 40%, transparent 78%);
	-webkit-mask-image: radial-gradient(circle at center, #000 40%, transparent 78%);
	animation: cvGridPan 18s linear infinite;
	z-index: 0;
}
@keyframes cvGridPan {
	to { background-position: 24px 24px; }
}
.cv-aerial-radar {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at center, transparent 0, transparent 28%, rgba(255,255,255,0.10) 28.5%, transparent 29.5%),
		radial-gradient(circle at center, transparent 0, transparent 48%, rgba(255,255,255,0.08) 48.5%, transparent 49.5%),
		radial-gradient(circle at center, transparent 0, transparent 68%, rgba(255,255,255,0.06) 68.5%, transparent 69.5%);
	z-index: 0;
}
.cv-aerial-pulse {
	position: absolute;
	top: 50%; left: 50%;
	width: 8px; height: 8px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.85);
	box-shadow: 0 0 12px rgba(255,255,255,0.5);
	transform: translate(-50%, -50%);
	opacity: 0;
	animation: cvAerialPulse 3.6s ease-out infinite;
	z-index: 1;
}
.cv-aerial-pulse--2 { animation-delay: 1.2s; }
.cv-aerial-pulse--3 { animation-delay: 2.4s; }
@keyframes cvAerialPulse {
	0%   { width: 8px;   height: 8px;   opacity: 0.95; border-width: 2px; }
	100% { width: 280px; height: 280px; opacity: 0;    border-width: 1px; }
}

.cv-aerial-drone {
	position: absolute;
	top: 50%; left: 50%;
	width: 22px; height: 22px;
	margin: -11px 0 0 -11px;
	z-index: 2;
	animation: cvDroneFlight 14s cubic-bezier(0.55, 0.05, 0.45, 0.95) infinite;
}
@keyframes cvDroneFlight {
	0%   { transform: translate(0, 0); }
	22%  { transform: translate(72px, -44px); }
	44%  { transform: translate(-56px, -32px); }
	66%  { transform: translate(-68px, 40px); }
	88%  { transform: translate(48px, 56px); }
	100% { transform: translate(0, 0); }
}
.cv-drone-body {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 10px; height: 10px;
	background: rgba(255,255,255,0.98);
	border-radius: 2px;
	box-shadow:
		0 0 10px rgba(255,255,255,0.6),
		inset 0 0 4px rgba(0,0,0,0.2);
	z-index: 1;
}
.cv-drone-shadow {
	position: absolute;
	left: 50%;
	top: calc(50% + 14px);
	transform: translateX(-50%);
	width: 10px;
	height: 3px;
	background: rgba(0,0,0,0.35);
	border-radius: 50%;
	filter: blur(2px);
	animation: cvDroneShadow 2.4s ease-in-out infinite;
}
@keyframes cvDroneShadow {
	0%, 100% { transform: translateX(-50%) scale(0.85); opacity: 0.5; }
	50%      { transform: translateX(-50%) scale(1.1);  opacity: 0.3; }
}
.cv-drone-prop {
	position: absolute;
	width: 12px; height: 2px;
	background: rgba(255,255,255,0.85);
	border-radius: 1px;
	transform-origin: center;
	animation: cvDronePropSpin 0.22s linear infinite;
}
.cv-drone-prop:nth-child(1) { top: 1px;    left: -4px; }
.cv-drone-prop:nth-child(2) { top: 1px;    right: -4px; }
.cv-drone-prop:nth-child(3) { bottom: 1px; left: -4px; }
.cv-drone-prop:nth-child(4) { bottom: 1px; right: -4px; }
@keyframes cvDronePropSpin {
	to { transform: rotate(360deg); }
}

.cv-aerial-hud {
	position: absolute;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 10px;
	background: rgba(0,0,0,0.30);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 7px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.cv-aerial-hud--lat { top: 12px; left: 12px; }
.cv-aerial-hud--alt { top: 12px; right: 12px; }
.cv-aerial-hud--sig { bottom: 12px; right: 12px; flex-direction: row; align-items: center; gap: 6px; }
.cv-hud-label {
	font-size: 8px;
	letter-spacing: 0.10em;
	color: rgba(255,255,255,0.55);
}
.cv-hud-value {
	font-size: 10px;
	font-weight: 500;
	color: rgba(255,255,255,0.95);
	letter-spacing: 0.02em;
}
.cv-hud-value--alt { animation: cvHudAlt 14s ease-in-out infinite; }
@keyframes cvHudAlt {
	0%   { content: "420 ft"; }
	100% { content: "420 ft"; }
}
.cv-hud-bars {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	height: 12px;
}
.cv-hud-bars span {
	display: inline-block;
	width: 3px;
	background: rgba(255,255,255,0.85);
	border-radius: 1px;
	animation: cvHudBar 1.8s ease-in-out infinite;
}
.cv-hud-bars span:nth-child(1) { height: 3px; animation-delay: 0s;    }
.cv-hud-bars span:nth-child(2) { height: 5px; animation-delay: 0.15s; }
.cv-hud-bars span:nth-child(3) { height: 7px; animation-delay: 0.3s;  }
.cv-hud-bars span:nth-child(4) { height: 9px; animation-delay: 0.45s; }
.cv-hud-bars span:nth-child(5) { height: 11px; animation-delay: 0.6s; }
@keyframes cvHudBar {
	0%, 100% { opacity: 0.4; }
	50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.portfolio-card-bg,
	.cv-node, .cv-line::after, .cv-status-dot,
	.cv-iq-scene, .cv-iq-slider-fill, .cv-iq-num, .cv-iq-eq span, .cv-iq-stat-dot,
	.cv-aerial-grid, .cv-aerial-pulse, .cv-aerial-drone, .cv-drone-prop, .cv-drone-shadow,
	.cv-hud-bars span
	{ animation: none; }
}
.carousel-caption {
	margin: 36px 0 0;
	color: var(--text);
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.carousel-slide[data-active="true"] .carousel-caption { opacity: 1; }

/* Inner modal mockup (Technology & AI Solutions card) */
.portfolio-modal {
	width: 72%;
	max-width: 720px;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 30px 80px -20px rgba(20,40,80,0.35);
	padding: 24px 24px 20px;
	position: relative;
}
.modal-close {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #f0f1f3;
	border: 0;
	color: #6c7280;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: default;
}
.modal-thumbs {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 44px 0 56px;
}
.modal-thumb {
	width: 80px;
	height: 80px;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.modal-thumb--zoom {
	width: 92px;
	height: 92px;
	transform: scale(1.05);
	box-shadow:
		inset 0 0 0 1px rgba(0,0,0,0.05),
		0 8px 22px -6px rgba(0,0,0,0.22);
}
.modal-thumb--a { background: radial-gradient(circle at 30% 30%, #ff7e8b 0%, #ff7300 40%, transparent 70%), linear-gradient(135deg, #b9b1ce 0%, #d8d0e3 100%); }
.modal-thumb--b { background: radial-gradient(circle at 50% 60%, #5e82c4 0%, #1a3a72 50%, transparent 80%), linear-gradient(135deg, #d6dfe8 0%, #b6c7d8 100%); }
.modal-thumb--c { background: radial-gradient(circle at 70% 40%, #ff7e8b 0%, #c43662 40%, transparent 70%), linear-gradient(135deg, #c9b9c8 0%, #ddd0d8 100%); }
.modal-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 4px 0;
	border-top: 1px solid #f0f1f3;
}
.modal-input {
	flex: 1;
	height: 28px;
	background: #f0f1f3;
	border-radius: 14px;
	max-width: 140px;
}
.modal-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	background: #f0f1f3;
	border-radius: 14px;
	color: #4a4a52;
	font-size: 0.75rem;
}
.modal-send {
	margin-left: auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #1a1a22;
	color: #fff;
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: default;
}

/* Carousel controls */
.carousel-controls {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}
.carousel-btn {
	position: absolute;
	top: 36%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(15,15,20,0.6);
	border: 1px solid var(--border);
	color: var(--text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.2s ease, background 0.2s ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(20,20,28,0.85); }
.carousel-btn[data-carousel-prev] { left: 24px; }
.carousel-btn[data-carousel-next] { right: 24px; }
@media (max-width: 768px) {
	.carousel-btn { display: none; }
}
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--text-dim);
	border: 0;
	padding: 0;
	transition: background 0.2s ease, width 0.2s ease;
	cursor: pointer;
}
.carousel-dot[aria-selected="true"] {
	background: var(--text);
	width: 18px;
	border-radius: 3px;
}

@media (max-width: 900px) {
	.carousel-slide { flex-basis: 78%; }
	.carousel-track { gap: 20px; }
	.portfolio-card { height: auto; aspect-ratio: 16 / 11; }
	.portfolio-modal { width: 75%; }
	.carousel-caption { font-size: 1.1rem; margin-top: 28px; }
}
@media (max-width: 640px) {
	.carousel-slide { flex-basis: 88%; }
}

/* ==========================================================================
   Companies list - 2-col with hover-swap preview
   ========================================================================== */
.companies-list {
	position: relative;
	padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 9vw, 120px);
	isolation: isolate;
	overflow: hidden;
}
.companies-list::before,
.companies-list::after {
	content: '';
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
}
.companies-list::before {
	top: 30%;
	left: -10%;
	width: 50%;
	height: 50%;
	background: radial-gradient(circle, rgba(60,100,255,0.30), transparent 70%);
}
.companies-list::after {
	top: 45%;
	right: -8%;
	width: 45%;
	height: 45%;
	background: radial-gradient(circle, rgba(220,80,150,0.22), transparent 70%);
}
.section-head {
	text-align: center;
	margin-bottom: 64px;
}
.section-head p { color: var(--text-faint); }

.cl-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.cl-items {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cl-item {
	border-bottom: 1px solid var(--border);
	transition: border-color 0.4s ease;
	position: relative;
	overflow: hidden;
}
.cl-item:last-child { border-bottom: 0; }
.cl-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 2px;
	height: 0;
	background: linear-gradient(180deg, rgba(120,160,255,0) 0%, rgba(180,210,255,0.95) 50%, rgba(120,160,255,0) 100%);
	box-shadow: 0 0 14px rgba(160,200,255,0.7);
	transform: translateY(-50%);
	transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	z-index: 1;
}
.cl-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(120,160,255,0.07) 0%, rgba(120,160,255,0.02) 35%, transparent 70%);
	opacity: 0;
	transform: translateX(-24px);
	transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
.cl-item:hover,
.cl-item:focus-within,
.cl-item[data-active="true"] {
	border-bottom-color: rgba(160,200,255,0.35);
}
.cl-item:hover::before,
.cl-item:focus-within::before,
.cl-item[data-active="true"]::before {
	height: 78%;
}
.cl-item:hover::after,
.cl-item:focus-within::after,
.cl-item[data-active="true"]::after {
	opacity: 1;
	transform: translateX(0);
}
.cl-item-link {
	display: block;
	padding: 28px 0;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding-left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-item:hover .cl-item-link,
.cl-item:focus-within .cl-item-link,
.cl-item[data-active="true"] .cl-item-link {
	padding-left: 22px;
}
.cl-item h3 {
	color: var(--text-faint);
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	font-weight: 300;
	margin: 0 0 8px;
	transition: color 0.3s ease;
}
.cl-item p {
	color: var(--text-faint);
	margin: 0 0 20px;
	max-width: 480px;
	transition: color 0.3s ease, opacity 0.3s ease;
	opacity: 0.7;
}
.cl-item .cl-item-cta {
	transition: opacity 0.3s ease, transform 0.3s ease;
	opacity: 0.6;
}
.cl-item[data-active="true"] h3,
.cl-item:hover h3,
.cl-item:focus-within h3 {
	color: var(--text);
}
.cl-item[data-active="true"] p,
.cl-item:hover p,
.cl-item:focus-within p {
	color: var(--text-muted);
	opacity: 1;
}
.cl-item[data-active="true"] .cl-item-cta,
.cl-item:hover .cl-item-cta,
.cl-item:focus-within .cl-item-cta {
	opacity: 1;
}

.cl-preview {
	position: sticky;
	top: 100px;
	display: grid;
	grid-template-areas: "stack";
	min-height: 380px;
	border-radius: var(--radius-md);
}
.cl-pane {
	grid-area: stack;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cl-pane[data-active="true"] {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.cl-pane--image {
	width: 100%;
	aspect-ratio: 45 / 32;
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255,255,255,0.02);
	box-shadow:
		0 30px 60px -30px rgba(0,0,0,0.6),
		0 1px 0 rgba(255,255,255,0.04) inset;
	position: relative;
}
.cl-pane--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cl-pane--image::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	border: 1px solid rgba(255,255,255,0.16);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.14),
		inset 0 -1px 0 rgba(255,255,255,0.04),
		inset 0 0 0 1px rgba(255,255,255,0.04);
}

@media (max-width: 900px) {
	.cl-grid { grid-template-columns: 1fr; gap: 24px; }
	.cl-preview { display: none; }
}

/* Pane: Veri-Plan browser mock (kept from original) */
.browser-mock {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
	max-width: 480px;
	width: 100%;
}
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f4f5f8; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #ffbd2e; }
.browser-bar span:nth-child(3) { background: #28ca41; }
.browser-body { padding: 36px 28px 28px; color: #1a1a22; text-align: center; }
.mock-headline { font-size: 1.1rem; font-weight: 500; margin-bottom: 18px; line-height: 1.3; }
.mock-headline em { font-style: italic; color: #1f6dd0; }
.mock-cta {
	display: inline-block;
	background: #1f6dd0;
	color: #fff;
	padding: 8px 18px;
	border-radius: var(--radius-pill);
	font-size: 0.85rem;
	font-weight: 500;
}

/* Pane: Integrate IQ - abstract data viz */
.iq-stage {
	width: 100%;
	max-width: 460px;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #1a3a72 0%, #0a1830 100%);
	border-radius: 18px;
	padding: 28px;
	position: relative;
	box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
	overflow: hidden;
}
.iq-graph {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	height: 50%;
}
.iq-graph span {
	flex: 1;
	background: linear-gradient(180deg, #66c2ff, #1f6dd0);
	border-radius: 6px 6px 0 0;
	opacity: 0.85;
}
.iq-graph span:nth-child(1) { height: 38%; }
.iq-graph span:nth-child(2) { height: 70%; }
.iq-graph span:nth-child(3) { height: 52%; }
.iq-graph span:nth-child(4) { height: 88%; }
.iq-graph span:nth-child(5) { height: 64%; }
.iq-graph span:nth-child(6) { height: 78%; }
.iq-card {
	position: absolute;
	bottom: 28px;
	left: 28px;
	right: 28px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 10px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.iq-card-bar { height: 6px; background: rgba(255,255,255,0.18); border-radius: 3px; }
.iq-card-bar:last-child { width: 60%; }

/* Pane: Aerial Data Solutions - drone over grid */
.ads-stage {
	width: 100%;
	max-width: 460px;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #2b4054 0%, #0c1a2a 100%);
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
.ads-grid {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(4, 1fr);
	transform: perspective(600px) rotateX(45deg) translateZ(-30px);
	opacity: 0.4;
}
.ads-grid span {
	border: 1px solid rgba(180,200,220,0.25);
}
.ads-drone {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
}
.ads-drone-body {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 14px;
	background: #1a1a22;
	border-radius: 3px;
}
.ads-drone-prop {
	position: absolute;
	width: 26px;
	height: 26px;
	border: 2px solid #1a1a22;
	border-radius: 50%;
	background: rgba(180,200,220,0.2);
}
.ads-drone-prop--1 { top: 0; left: 0; }
.ads-drone-prop--2 { top: 0; right: 0; }
.ads-drone-prop--3 { bottom: 0; left: 0; }
.ads-drone-prop--4 { bottom: 0; right: 0; }

/* Pane: Sky Clean - building with spray */
.sky-stage {
	width: 100%;
	max-width: 460px;
	aspect-ratio: 4 / 3;
	background: linear-gradient(180deg, #4a6b8a 0%, #1a2a3a 100%);
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
.sky-building {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 60%;
	height: 80%;
	background:
		repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 22px, transparent 22px 26px),
		repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 36px, transparent 36px 40px),
		linear-gradient(180deg, #2c3a4f 0%, #1a2230 100%);
	border-radius: 6px 0 0 0;
}
.sky-spray {
	position: absolute;
	left: 18%;
	bottom: 30%;
	width: 30%;
	height: 50%;
	background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255,255,255,0.7), transparent 70%);
	transform: rotate(20deg);
	transform-origin: bottom center;
	filter: blur(2px);
}
.sky-spray--2 {
	left: 28%;
	bottom: 25%;
	width: 25%;
	height: 40%;
	opacity: 0.6;
	transform: rotate(35deg);
}

/* ==========================================================================
   Companies poster grid
   ========================================================================== */
.companies-grid {
	padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 9vw, 120px);
}
.eyebrow {
	display: inline-block;
	padding: 14px 28px;
	background: rgba(255,255,255,0.03);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: var(--radius-pill);
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 28px;
	box-shadow:
		0 12px 32px -14px rgba(0,0,0,0.45),
		0 1px 2px rgba(0,0,0,0.18),
		0 1px 0 rgba(255,255,255,0.10) inset;
}
.companies-grid h2 {
	margin-bottom: 56px;
	font-weight: 300;
}
.poster-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 900px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .poster-grid { grid-template-columns: 1fr; } }

.poster {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 8px;
	overflow: hidden;
	display: block;
	isolation: isolate;
	transition:
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.55s ease;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition:
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.5s ease;
}
.poster::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.5px;
	background: linear-gradient(135deg,
		rgba(120,160,255,0) 0%,
		rgba(180,210,255,0.85) 30%,
		rgba(255,255,255,0.4) 50%,
		rgba(180,210,255,0.85) 70%,
		rgba(120,160,255,0) 100%);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	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.45s ease;
	pointer-events: none;
	z-index: 3;
}
.poster::after {
	content: attr(aria-label) "  →";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 36px 16px 16px;
	background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 70%, rgba(0,0,0,0.92) 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-align: center;
	transform: translateY(100%);
	opacity: 0;
	transition:
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.35s ease;
	pointer-events: none;
	z-index: 2;
}
.poster:hover,
.poster:focus-visible {
	transform: translateY(-8px) scale(1.01);
	box-shadow:
		0 50px 90px -32px rgba(0,0,0,0.75),
		0 0 60px -10px rgba(120,160,255,0.35);
}
.poster:hover img,
.poster:focus-visible img {
	transform: scale(1.08);
	filter: saturate(1.1);
}
.poster:hover::before,
.poster:focus-visible::before { opacity: 1; }
.poster:hover::after,
.poster:focus-visible::after {
	transform: translateY(0);
	opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
	.poster, .poster img, .poster::before, .poster::after { transition: none; }
}

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact { padding: clamp(60px, 9vw, 120px) 0; }
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contact-copy h2 { font-weight: 300; }
.contact-copy p { color: var(--text-faint); max-width: 380px; }

.contact-form {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 44px);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	box-shadow:
		0 24px 60px -24px rgba(0,0,0,0.55),
		0 1px 0 rgba(255,255,255,0.06) inset;
}
.form-row { margin-bottom: 24px; }
.form-row label {
	display: block;
	font-size: 1rem;
	color: var(--text);
	margin-bottom: 12px;
}
.form-row input,
.form-row select {
	width: 100%;
	padding: 16px 24px;
	background: rgba(0,0,0,0.35);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: var(--radius-pill);
	color: var(--text);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, background 0.2s ease;
	box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.form-row input::placeholder,
.form-row select option[value=""] { color: var(--text-faint); }
.form-row input:focus,
.form-row select:focus {
	outline: none;
	border-color: rgba(255,255,255,0.18);
	background: rgba(0,0,0,0.45);
}
.select-wrap { position: relative; }
.form-row select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 48px;
	cursor: pointer;
}
.select-caret {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text);
	pointer-events: none;
}
.contact-form .btn {
	margin-top: 8px;
	padding: 20px 28px;
	font-size: 1rem;
	height: auto;
}
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status {
	margin: 14px 0 0;
	font-size: 0.85rem;
	min-height: 1.2em;
	color: var(--text-muted);
	text-align: center;
}
.form-status[data-state="success"] { color: #6cf3a3; }
.form-status[data-state="error"]   { color: #ff7a8a; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	position: relative;
	padding: 60px 0 0;
	overflow: hidden;
	border-top: 1px solid var(--border);
	background-image: url('../img/footer-bg-mobile.webp');
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
}
@media (min-width: 769px) {
	.site-footer {
		background-image: url('../img/footer-bg-desktop.webp');
	}
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 48px;
	margin-bottom: 80px;
}
@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-logo {
	display: block;
	height: 28px;
	width: auto;
	margin-bottom: 16px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; margin: 0; }
.footer-col h4 {
	font-size: 0.85rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 18px;
}
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.footer-col a {
	color: var(--text-faint);
	font-size: 0.85rem;
	transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-credit {
	margin: 0;
	padding: 0 var(--gutter) 20px;
	text-align: center;
	color: var(--text-faint);
	font-size: 0.75rem;
	letter-spacing: 0.02em;
}
.footer-credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}
.footer-credit a:hover { color: var(--text); }

.footer-wordmark {
	width: 100%;
	padding: 0 var(--gutter) 12px;
	line-height: 0;
	user-select: none;
	pointer-events: none;
}
.footer-wordmark img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0.05;
}
