/* ==========================================================================
   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; }

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;
	width: 95px;
	height: 40px;
	padding: 0;
	background: #fff;
	color: #0a0a0d;
	border-radius: var(--radius-pill);
	font-size: 12px;
	font-weight: 400;
	transition: background 0.2s ease;
}
.nav-cta:hover { background: #f0f0f5; }

.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; }
	.site-header { top: 12px; }
	.nav-pill { padding: 12px 16px 12px 20px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	padding: clamp(140px, 14vw, 180px) 0 clamp(80px, 12vw, 140px);
	overflow: hidden;
	min-height: 720px;
}
.hero-visual {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 12%;
	background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, #0A0A0A 100%);
	z-index: 1;
	pointer-events: none;
}
.hero-visual picture,
.hero-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.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: 820px; }
	.hero-grid { align-items: flex-start; }
}
@media (max-width: 640px) {
	.hero { min-height: 760px; }
}

/* ==========================================================================
   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;
}
.portfolio-card--pink {
	background:
		linear-gradient(135deg, #ff6ec7 0%, #ffb86b 50%, #c0a3ff 100%);
}
.portfolio-card--cyan {
	background:
		radial-gradient(ellipse 60% 40% at 70% 80%, #ff7fa6 0%, transparent 50%),
		radial-gradient(ellipse 70% 50% at 50% 80%, #4ea4f0 0%, transparent 60%),
		linear-gradient(180deg, #c8e3f3 0%, #b6d8f0 60%, #5e82c4 100%);
}
.portfolio-card--rainbow {
	background:
		radial-gradient(circle at 60% 40%, #ffd43b 0%, transparent 25%),
		radial-gradient(circle at 30% 70%, #ff5151 0%, transparent 30%),
		radial-gradient(circle at 75% 70%, #6b3aff 0%, transparent 35%),
		linear-gradient(135deg, #c0a3ff 0%, #ffd180 50%, #ff7fa6 100%);
}
.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; }
.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.3s ease;
}
.cl-item:last-child { border-bottom: 0; }
.cl-item-link {
	display: block;
	padding: 28px 0;
	cursor: pointer;
}
.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--placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.cl-pane-watermark {
	font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: rgba(0,0,0,0.08);
	text-transform: uppercase;
	text-align: center;
	padding: 0 24px;
}

@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;
	transition: transform 0.3s ease;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.poster:hover { transform: translateY(-4px); }
.poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   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.png');
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
}
@media (min-width: 769px) {
	.site-footer {
		background-image: url('../img/footer-bg-desktop.png');
	}
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 80px;
}
@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
.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-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;
}
