@charset "utf-8";
/* CSS Document by Amany Ali */



* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-black: rgba(1, 2, 71, 0.74);
	--carbon-dark: rgba(19, 65, 158, 0.59);
	--carbon-medium: rgba(139, 32, 163, 0.38);
	--carbon-light: rgb(24, 98, 192);
	--metal-dark: rgba(58, 252, 255, 0.5);
	--metal-light: rgba(64, 0, 255, 0.5);
	--accent-red: rgba(164, 249, 254, 0.95);
	--accent-blue: rgba(196, 0, 191, 0.6);
	--accent-green: rgba(220, 255, 41, 0.74);
	--accent-purple: rgba(7, 191, 255, 0.9);
	--accent-cyan: #a1e6f1;
	--text-primary: #ffffff;
	--text-secondary: #72d6ff;
	--text-dim: #ffffff;
}

html {
	scroll-behavior: smooth;
}

/* ============================================================
   CONTENT PROTECTION (applies on ALL screen sizes, not just mobile)
   Prevents text selection / copy and image dragging on protected
   elements. This is a deterrent for casual copying — see the note
   in js.js about the limits of any front-end protection.
   ============================================================ */
.no-copy,
.no-copy * {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.no-copy img,
.no-copy video {
	-webkit-user-drag: none;
	user-drag: none;
	pointer-events: auto;
}

/* Elements you explicitly want to remain selectable (e.g. contact form inputs) */
.allow-select,
.allow-select * {
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
	-ms-user-select: text !important;
	user-select: text !important;
}

/* ============================================================
   General scroll-reveal utility (About / Portfolio / Packages)
   Elements fade + rise into place as they scroll into view, and
   fade back out as they scroll past — replays both directions.
   Toggled by the shared setupScrollReveal() helper in js.js.
   ============================================================ */
.reveal-fade {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-fade.in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Printing: hide the real page and show a placeholder message instead */
@media print {
	body * {
		visibility: hidden !important;
	}

	body::before,
	body::after {
		content: none !important;
	}

	html::after {
		content: "This content is not available for printing.";
		visibility: visible !important;
		display: block;
		position: fixed;
		top: 40%;
		left: 0;
		width: 100%;
		text-align: center;
		font-family: sans-serif;
		font-size: 20px;
		color: #000;
	}

	html {
		background: #fff;
	}
}

body {
	font-family: 'Orbitron', 'Rajdhani', sans-serif;
	background: var(--primary-black);
	color: var(--text-primary);
	overflow-x: hidden;
	position: relative;
}

/* Carbon Fiber Background Pattern */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		repeating-linear-gradient(0deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.03) 2px,
			rgba(255, 255, 255, 0.03) 4px),
		repeating-linear-gradient(90deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.03) 2px,
			rgba(255, 255, 255, 0.03) 4px),
		linear-gradient(135deg,
			var(--primary-black) 0%,
			var(--carbon-dark) 25%,
			var(--carbon-medium) 50%,
			var(--carbon-dark) 75%,
			var(--primary-black) 100%);
	z-index: -2;
}

/* Animated Grid Overlay */
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(rgba(255, 51, 51, 0.05) 2px, transparent 2px),
		linear-gradient(90deg, rgba(255, 51, 51, 0.05) 2px, transparent 2px);
	background-size: 150px 150px;
	animation: gridMove 30s steps(90, end) infinite;
	z-index: -1;
	opacity: 0.5;
}

@keyframes gridMove {
	0% {
		background-position: 0 0, 0 0;
	}

	100% {
		background-position: 150px 150px, 150px 150px;
	}
}

/* Loading Screen */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: var(--primary-black);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	transition: opacity 0.34s ease, visibility 0.34s ease;
}

.loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-content {
	text-align: center;
}

.loader-Amany {
	width: 100px;
	height: 100px;
	position: relative;
	margin: 0 auto 30px;
}

.Amany-face {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 2px solid transparent;
	transform-origin: center;
	animation: AmanyRotate 3s linear infinite;
}

.Amany-face:nth-child(1) {
	border-image: linear-gradient(45deg, var(--accent-red), var(--accent-blue)) 1;
	animation-delay: 0s;
}

.Amany-face:nth-child(2) {
	border-image: linear-gradient(45deg, var(--accent-blue), var(--accent-green)) 1;
	transform: rotate(60deg);
	animation-delay: 0.2s;
}

.Amany-face:nth-child(3) {
	border-image: linear-gradient(45deg, var(--accent-green), var(--accent-purple)) 1;
	transform: rotate(120deg);
	animation-delay: 0.4s;
}

@keyframes AmanyRotate {
	0% {
		transform: rotate(0deg) scale(1);
	}

	50% {
		transform: rotate(180deg) scale(1.2);
	}

	100% {
		transform: rotate(360deg) scale(1);
	}
}

/* Navigation Header */
.header {
	position: fixed;
	top: 0;
	width: 100%;
	background: linear-gradient(180deg,
			rgb(83, 52, 196) 0%,
			#191919 50%,
			rgba(235, 216, 21, 0) 100%);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.header.scrolled {
	background: rgba(40, 92, 255, 0.4);
	backdrop-filter: blur(30px);
	box-shadow: 0 10px 30px rgba(160, 58, 255, 0.6);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 3px 19px;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	position: relative;
}

.logo-icon {
	width: 45px;
	height: 45px;
	margin-right: 15px;
	position: relative;
}

/* Amany-inspired logo */
.logo-Amany {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.Amany-shape {
	width: 16px;
	height: 25px;
	position: relative;
	transform: rotate(369deg);
	background: linear-gradient(33deg,

			var(--accent-blue) 0%,
			var(--accent-green) 15%,
			var(--accent-purple) 30%);
	animation: AmanyShine 3s ease-in-out infinite;
}

@keyframes AmanyShine {

	0%,
	100% {
		filter: brightness(1) hue-rotate(10deg);
		transform: rotate(-90deg) scale(.5);
	}

	50% {
		filter: brightness(1.5) hue-rotate(50deg);
		transform: rotate(99deg) scale(1.5);
	}
}

.Amany-shape::before,
.Amany-shape::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: inherit;
	opacity: 0.5;
}

.Amany-shape::before {
	transform: rotate(60deg);
}

.Amany-shape::after {
	transform: rotate(-60deg);
}

.logo-text {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.logo-text .Amany {
	background: linear-gradient(33deg, var(--text-primary), var(--accent-cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.logo-text .flux {
	color: var(--text-secondary);
	font-weight: 300;
	margin-left: 1px;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 10px;
	align-items: center;
}

.nav-menu a {
	color: var(--text-secondary);
	text-decoration: none;
	padding: 5px 15px;
	transition: all 0.3s ease;
	position: relative;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 1px;
	font-size: 14px;
}

.nav-menu a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
	transition: width 0.3s ease;
}

.nav-menu a:hover {
	color: var(--text-primary);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
	width: 80%;
}

.nav-menu a.active {
	color: var(--accent-cyan);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 3px;
}

.menu-toggle span {
	width: 30px;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 10px;
}

.menu-toggle.active span:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section with Cinematic Vertical Gallery */
.hero {
	min-height: 0.1vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 60px 20px 260px;
	background: radial-gradient(ellipse at center,
			rgba(153, 69, 255, 0.1) 0%,
			transparent 50%);
	overflow: hidden;
}

/* Title + description above the gallery — only these change per project */
.gallery-header {
	width: 100%;
	max-width: 700px;
	text-align: center;
	margin: 0 auto 5px;
	min-height: 0.1px;
}

.gallery-title,
.gallery-description {
	will-change: transform, opacity;
}

.gallery-title {
	font-size: 22px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 4px;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 10px;
}

.gallery-description {
	font-size: 13px;
	color: var(--text-secondary);
	letter-spacing: 1px;
}

.gallery-header.swap .gallery-title,
.gallery-header.swap .gallery-description {
	animation: headerFadeSlide 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes headerFadeSlide {
	0% {
		opacity: 0;
		transform: translateY(14px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.carousel-container {
	width: 100%;
	max-width: 1600px;
	/* height increased by the same amount as the padding-bottom below,
	   so the .carousel child (height: 100%) keeps its original size —
	   the extra space is purely reserved room for the controls +
	   indicators, so they're part of real layout instead of silently
	   overflowing past this box (which is what was letting the hero's
	   overflow:hidden cut them off). */
	height: 720px;
	padding-bottom: 90px;
	perspective: 2200px;
	position: relative;
	padding-top: 0.01px;
}

.carousel {
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
	touch-action: pan-y;
	cursor: grab;
}

.carousel.dragging {
	cursor: grabbing;
}

.carousel-item {
	position: absolute;
	/* Vertical 4:7 cards for motion/CGI/UGC/vertical-ad work */
	width: 300px;
	height: 525px;
	left: 50%;
	top: 50%;
	transform-style: preserve-3d;
	transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.85s ease,
		filter 0.85s ease;
	cursor: pointer;
	transform-origin: center center;
}

.carousel-item .card {
	width: 100%;
	height: 100%;
	position: relative;
	border-radius: 22px;
	overflow: visible;
}

/* Image fills the entire card — no text, no badges, no numbers, no buttons */
.card-image {
	width: 100%;
	height: 100%;
	border-radius: 22px;
	overflow: hidden;
	position: relative;
	border: 1px solid rgba(153, 69, 255, 0.35);
	box-shadow:
		0 25px 50px rgba(0, 0, 0, 0.7),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 30px rgba(153, 69, 255, 0.15);
	transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: relative;
	z-index: 1;
	filter: grayscale(35%) brightness(0.85) contrast(1.05);
	transition: filter 0.6s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Glass overlay for depth — explicitly stacked ABOVE the image so it's actually visible */
.card-image::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(160deg,
			rgba(255, 255, 255, 0.08) 0%,
			rgba(255, 255, 255, 0.02) 30%,
			rgba(0, 0, 0, 0.15) 100%);
	pointer-events: none;
}

/* Background / side cards: soft blur, dimmer */
.carousel-item.is-side .card-image img {
	filter: grayscale(55%) brightness(0.6) blur(1.5px);
}

.carousel-item.is-side .card-image {
	box-shadow:
		0 15px 30px rgba(0, 0, 0, 0.6),
		0 0 15px rgba(153, 69, 255, 0.08);
}

/* Centered / active card: cinematic focus state */
.carousel-item.is-center .card-image {
	border-color: rgba(153, 69, 255, 0.9);
	/* Reflect only the card in focus, not every off-axis card. */
	-webkit-box-reflect: below 6px linear-gradient(transparent, transparent 55%, rgba(255, 255, 255, 0.12));
	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.75),
		0 0 55px rgba(153, 69, 255, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.carousel-item.is-center .card-image img {
	filter: grayscale(0%) brightness(1) contrast(1.1);
}

/* Slight pop-scale during navigation, settles back (Cinematic Motion) */
.carousel-item.is-center.nav-pop {
	animation: centerPop 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes centerPop {
	0% {
		filter: brightness(1);
	}

	35% {
		transform: translate(-50%, -50%) translateZ(60px) scale(1.09);
	}

	100% {
		transform: translate(-50%, -50%) translateZ(60px) scale(1.05);
	}
}

/* Light sweep across the active card — kept above the image layer, not below it */
.carousel-item.is-center .card-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	z-index: 3;
	background: linear-gradient(100deg,
			transparent,
			rgba(255, 255, 255, 0.35),
			transparent);
	transform: translate3d(-165%, 0, 0) skewX(-20deg);
	animation: lightSweep 2.6s ease-in-out infinite;
	will-change: transform;
	pointer-events: none;
}

@keyframes lightSweep {
	0% {
		transform: translate3d(-165%, 0, 0) skewX(-20deg);
	}

	60% {
		transform: translate3d(425%, 0, 0) skewX(-20deg);
	}

	100% {
		transform: translate3d(425%, 0, 0) skewX(-20deg);
	}
}

/* Neon edge + glass border while the gallery is moving */
.carousel.is-moving .carousel-item .card-image {
	border-color: rgba(163, 89, 255, 0.55);
	box-shadow:
		0 20px 45px rgba(0, 0, 0, 0.7),
		0 0 22px rgba(153, 69, 255, 0.4);
}

.carousel.is-moving .carousel-item.is-center .card-image {
	box-shadow:
		0 25px 55px rgba(0, 0, 0, 0.75),
		0 0 45px rgba(153, 69, 255, 0.7),
		0 0 0 2px rgba(190, 140, 255, 0.6);
}

/* Carousel Controls: ◀  ❚❚/▶  ▶ — centered on the card's bottom border */
.carousel-controls {
	position: absolute;
	bottom: 35px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 16px;
	z-index: 100;
}

.carousel-btn {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
	border: .5px solid var(--metal-dark);
	border-radius: 50%;
	color: var(--accent-purple);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 5px 15px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.carousel-btn:hover {
	border-color: var(--accent-purple);
	box-shadow:
		0 8px 25px rgba(153, 69, 255, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.play-btn {
	width: 46px;
	height: 46px;
	font-size: 16px;
}

.play-btn .icon-play {
	display: none;
}

.play-btn.paused .icon-play {
	display: inline-flex;
}

.play-btn.paused .icon-pause {
	display: none;
}

.carousel-indicators {
	position: relative;
	margin: 22px auto 0;
	display: flex;
	justify-content: center;
	gap: 15px;
	z-index: 100;
}

.indicator {
	width: 10px;
	height: 10px;
	background: var(--metal-dark);
	border: 1px solid var(--metal-light);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	box-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
	transform: scale(1.3);
}

/* Cinematic Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
}

.lightbox.active {
	display: flex;
}

.lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1, 2, 20, 0.9);
	backdrop-filter: blur(8px);
}

.lightbox-stage {
	position: relative;
	z-index: 2001;
	max-width: min(92vw, 500px);
	width: 100%;
	animation: lightboxIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lightboxIn {
	0% {
		opacity: 0;
		transform: scale(0.92);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.lightbox-video {
	width: 100%;
	max-height: 85vh;
	border-radius: 18px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.8),
		0 0 60px rgba(153, 69, 255, 0.4);
	background: #000;
	-webkit-box-reflect: below 6px linear-gradient(transparent, transparent 60%, rgba(255, 255, 255, 0.1));
}

.lightbox-close {
	position: absolute;
	top: -46px;
	right: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--metal-dark);
	background: rgba(19, 65, 158, 0.4);
	color: var(--text-primary);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

/* ============================================================
   Technical Arsenal Modal
   Art Direction -> photo gallery | Music -> HTML5 audio player
   VFX / Motion Graphics -> embedded YouTube video
   ============================================================ */
.arsenal-modal {
	position: fixed;
	inset: 0;
	z-index: 2100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 50px 20px;
}

.arsenal-modal.active {
	display: flex;
}

.arsenal-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1, 2, 20, 0.92);
	backdrop-filter: blur(8px);
}

.arsenal-modal-stage {
	position: relative;
	z-index: 2101;
	max-width: min(90vw, 400px);
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	background: linear-gradient(160deg, var(--carbon-medium), var(--carbon-dark));
	border: 1px solid var(--metal-dark);
	border-radius: 22px;
	padding: 44px 18px 22px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.8),
		0 0 60px rgba(153, 69, 255, 0.35);
	animation: lightboxIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.arsenal-modal-dots {
	position: absolute;
	top: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.arsenal-modal-dots.hidden {
	display: none;
}

.arsenal-modal-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--metal-dark);
	cursor: pointer;
	transition: all 0.25s ease;
}

.arsenal-modal-dot.active {
	background: var(--accent-purple);
	width: 20px;
	border-radius: 4px;
}

.arsenal-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--metal-dark);
	background: rgba(19, 65, 158, 0.5);
	color: var(--text-primary);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
}

.arsenal-modal-arrow {
	position: absolute;
	top: calc(50% + 12px);
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--metal-dark);
	background: rgba(19, 65, 158, 0.55);
	color: var(--text-primary);
	font-size: 14px;
	cursor: pointer;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
}

.arsenal-modal-arrow:hover {
	background: var(--accent-purple);
}

.arsenal-modal-arrow.hidden {
	display: none;
}

.arsenal-modal-prev {
	left: 8px;
}

.arsenal-modal-next {
	right: 8px;
}

.arsenal-modal-body {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
}

.arsenal-modal-body.video-slide {
	aspect-ratio: 9 / 16;
}

.arsenal-modal-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Music player */
.arsenal-music-cover {
	position: relative;
	width: 100%;
	height: 100%;
}

.arsenal-music-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.arsenal-music-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(19, 65, 158, 0.55);
	border: 2px solid var(--text-primary);
	color: var(--text-primary);
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s ease;
}

.arsenal-music-play:hover {
	background: var(--accent-purple);
	transform: translate(-50%, -50%) scale(1.06);
}

.arsenal-music-play.playing {
	opacity: 0;
	pointer-events: none;
}

.arsenal-modal-audio {
	display: none;
	width: 100%;
	margin-top: 14px;
	border-radius: 8px;
}

.arsenal-modal-actions {
	display: none;
	justify-content: center;
	margin-top: 12px;
}

.arsenal-modal-actions.active {
	display: flex;
}

.arsenal-streaming-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: min(100%, 310px);
	padding: 11px 16px;
	border: 1px solid rgba(0, 212, 255, 0.45);
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(153, 69, 255, 0.9), rgba(19, 65, 158, 0.95));
	color: var(--text-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.7px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.arsenal-streaming-link:hover,
.arsenal-streaming-link:focus-visible {
	transform: translateY(-2px);
	border-color: var(--accent-cyan);
	box-shadow: 0 8px 24px rgba(76, 196, 254, 0.32);
}

/* YouTube video embed (VFX / Motion Graphics) */
.arsenal-video-wrap {
	width: 100%;
	height: 100%;
}

.arsenal-video-wrap iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.arsenal-modal-caption {
	text-align: center;
	margin-top: 14px;
}

.arsenal-modal-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
}

.arsenal-modal-subtitle {
	font-size: 13px;
	color: var(--text-secondary);
	margin: 4px 0 0;
}

/* NEW: Amany Section */
.philosophy-section {
	padding: 90px 30px;
	background: linear-gradient(180deg,
			var(--primary-black) 0%,
			purple 50%,
			var(--primary-black) 100%);
	position: relative;
	overflow: hidden;
}

.philosophy-container {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

/* About-section avatar: centered and responsively scaled on every
   screen size — previously had no responsive sizing at all, so it
   could overflow (and look off-center) on narrow viewports. */
.about-avatar-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.about-avatar {
	display: block;
	width: 100%;
	max-width: 90%;
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
}

@media (max-width: 90%) {
	.about-avatar {
		max-width: 600px;
	}
}

/* Ticker/Marquee */
.hero-ticker-capsule {
  max-width: 100%;
  margin: 18px auto 0;
  padding: 10px 0;
  background: rgba(20, 15, 45, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 20px rgba(110, 86, 207, 0.2);
  overflow: hidden;
  /* Fade the ends of the bar for smooth text */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker-track {
	display: flex;
	width: max-content;
  white-space: nowrap;
	animation: tickerLoop 28s linear infinite;
	will-change: transform;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 660;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.ticker-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 2rem;
	padding-right: 2rem;
}

.ticker-diamond,
.ticker-divider {
  color: #00D4FF;
  filter: drop-shadow(0 0 5px #00D4FF);
}

@keyframes tickerLoop {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ticker-track {
		animation-duration: 70s;
	}
}

/* ============================================================
   LIVING MARK — METEOR REVISION
   No visible wire: the hidden curve guides one small luminous head
   and a dense crystalline spray without carrying a logo clone.
   ============================================================ */
.vision-journey {
	z-index: 900;
	mix-blend-mode: normal;
}

.vision-path--geometry {
	opacity: 0;
	stroke: transparent;
}

.vision-meteor-trail {
	color: var(--trail-color, #84eaff);
	transition: color 0.55s ease;
}

.vision-meteor-trail circle {
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 0.72;
	stroke-opacity: 0.38;
	paint-order: stroke fill;
	transform-box: fill-box;
	transform-origin: center;
	animation: meteorCrystalTwinkle 1.7s ease-in-out infinite alternate;
}

.vision-meteor-trail circle:nth-child(3n + 1) { animation-delay: -0.45s; }
.vision-meteor-trail circle:nth-child(3n + 2) { animation-delay: -1.1s; }

@keyframes meteorCrystalTwinkle {
	from { transform: scale(0.62); }
	to { transform: scale(1.12); }
}

.vision-shard {
	opacity: 0;
}

.vision-journey.is-travelling .vision-shard {
	opacity: 0.96;
}

.vision-meteor-head {
	fill: #f4ffff;
	stroke: var(--trail-color, #84eaff);
	stroke-width: 1.15;
	vector-effect: non-scaling-stroke;
}

.vision-mark-plane {
	fill: rgba(183, 247, 255, 0.18);
	stroke: rgba(231, 254, 255, 0.94);
	stroke-width: 0.8;
	vector-effect: non-scaling-stroke;
}

.vision-mark-plane--two {
	fill: rgba(76, 219, 255, 0.16);
}

.vision-mark-plane--three {
	fill: rgba(172, 98, 255, 0.13);
}

.vision-shard-heart {
	fill: #f5ffff;
	filter: drop-shadow(0 0 6px var(--trail-color, #84eaff));
}

/* Pre-scroll readiness: a fine crystal drizzle under the real header logo. */
.vision-startup {
	--startup-left: 42px;
	--startup-top: 46px;
	position: fixed;
	left: var(--startup-left);
	top: var(--startup-top);
	width: 34px;
	height: 96px;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 999;
	opacity: 1;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.vision-startup.is-released {
	opacity: 0;
	transform: translateX(-50%) translateY(12px);
}

.vision-startup span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #eaffff;
	box-shadow: 0 0 7px #54dcff, 0 0 13px rgba(157, 99, 255, 0.74);
	opacity: 0;
	animation: crystalReadiness 2.4s ease-in infinite;
}

.vision-startup span:nth-child(2) { left: 31%; animation-delay: -0.25s; animation-duration: 2.1s; }
.vision-startup span:nth-child(3) { left: 68%; animation-delay: -0.52s; animation-duration: 2.8s; }
.vision-startup span:nth-child(4) { left: 42%; animation-delay: -0.86s; animation-duration: 2s; }
.vision-startup span:nth-child(5) { left: 76%; animation-delay: -1.14s; animation-duration: 2.6s; }
.vision-startup span:nth-child(6) { left: 22%; animation-delay: -1.42s; animation-duration: 2.3s; }
.vision-startup span:nth-child(7) { left: 57%; animation-delay: -1.66s; animation-duration: 2.7s; }
.vision-startup span:nth-child(8) { left: 37%; animation-delay: -1.92s; animation-duration: 2.15s; }
.vision-startup span:nth-child(9) { left: 82%; animation-delay: -2.17s; animation-duration: 2.9s; }
.vision-startup span:nth-child(10) { left: 13%; animation-delay: -0.7s; animation-duration: 2.55s; }
.vision-startup span:nth-child(11) { left: 62%; animation-delay: -1.3s; animation-duration: 2.35s; }
.vision-startup span:nth-child(12) { left: 47%; animation-delay: -2.05s; animation-duration: 2.75s; }
.vision-startup span:nth-child(even) { --crystal-drift: -5px; }

.vision-startup-cue {
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 8px;
	height: 8px;
	border-right: 1px solid rgba(171, 242, 255, 0.78);
	border-bottom: 1px solid rgba(171, 242, 255, 0.78);
	transform: translateX(-50%) rotate(45deg);
	filter: drop-shadow(0 0 5px #51dcff);
	animation: readinessCue 1.8s ease-in-out infinite;
}

@keyframes crystalReadiness {
	0% { transform: translate3d(0, -3px, 0) scale(0.35); opacity: 0; }
	18% { opacity: 0.9; }
	72% { opacity: 0.42; }
	100% { transform: translate3d(var(--crystal-drift, 4px), 72px, 0) scale(0.08); opacity: 0; }
}

@keyframes readinessCue {
	0%, 100% { opacity: 0.25; translate: 0 -4px; }
	50% { opacity: 0.9; translate: 0 3px; }
}

/* Landing reactor shared by About, Production, Portfolio and Packages. */
.vision-reactor {
	position: absolute !important;
	z-index: 8 !important;
	left: 9px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translate(-50%, -50%) scale(0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-vision-landing='right'] > .vision-reactor {
	left: auto;
	right: 9px;
	transform: translate(50%, -50%) scale(0.5);
}

.vision-reactor-core {
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: rgb(var(--reaction-rgb, 91 221 255));
	box-shadow: 0 0 8px rgb(var(--reaction-rgb, 91 221 255)),
		0 0 18px rgb(var(--reaction-rgb, 91 221 255) / 0.72);
}

.vision-reactor-spark {
	position: absolute;
	left: 8px;
	top: 8px;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: rgb(var(--reaction-rgb, 91 221 255));
	box-shadow: 0 0 7px rgb(var(--reaction-rgb, 91 221 255));
	transform: rotate(var(--spark-angle)) translateY(-5px);
}

.vision-active > .vision-reactor {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

[data-vision-landing='right'].vision-active > .vision-reactor {
	transform: translate(50%, -50%) scale(1);
}

.vision-active > .vision-reactor .vision-reactor-core {
	animation: reactorCore 1.8s ease-in-out infinite;
}

.vision-active > .vision-reactor .vision-reactor-spark {
	animation: reactorSpark 1.45s ease-out infinite;
	animation-delay: var(--spark-delay);
}

@keyframes reactorCore {
	0%, 100% { transform: scale(0.62); opacity: 0.55; }
	50% { transform: scale(1.28); opacity: 1; }
}

@keyframes reactorSpark {
	0% { opacity: 1; transform: rotate(var(--spark-angle)) translateY(-3px) scale(1); }
	100% { opacity: 0; transform: rotate(var(--spark-angle)) translateY(-18px) scale(0.15); }
}

.services-grid .stat-card.vision-active {
	border-color: rgb(var(--reaction-rgb, 91 221 255) / 0.92);
	box-shadow: 0 28px 78px rgb(var(--reaction-rgb, 91 221 255) / 0.28),
		0 0 32px rgb(var(--reaction-rgb, 91 221 255) / 0.17),
		inset 0 0 54px rgb(var(--reaction-rgb, 91 221 255) / 0.09);
}

.services-grid .stat-card.vision-active .stat-icon {
	box-shadow: 0 0 0 1px rgb(var(--reaction-rgb, 91 221 255) / 0.42),
		0 0 28px rgb(var(--reaction-rgb, 91 221 255) / 0.48);
}

/* Final reveal: one small original-form mark beside the shoulder, never a frame. */
.contact-portrait-stage {
	min-height: 0;
	overflow: visible;
}

.contact-final-mark {
	position: absolute;
	z-index: 5;
	right: -7px;
	top: 55%;
	width: 42px;
	height: 42px;
	transform: translate(50%, -50%) scale(var(--final-mark-scale, 0.55));
	opacity: var(--final-progress);
	filter: drop-shadow(0 0 9px rgba(83, 223, 255, 0.86));
	pointer-events: none;
}

.contact-final-plane {
	position: absolute;
	left: 14px;
	top: 8px;
	width: 14px;
	height: 26px;
	border: 1px solid rgba(230, 254, 255, 0.88);
	border-radius: 2px;
	background: linear-gradient(150deg, rgba(222, 253, 255, 0.34), rgba(64, 218, 255, 0.12) 48%, rgba(155, 91, 255, 0.18));
	box-shadow: inset 0 0 7px rgba(219, 253, 255, 0.18);
	transform-origin: 50% 50%;
}

.contact-final-plane--two { transform: rotate(60deg); }
.contact-final-plane--three { transform: rotate(-60deg); }

.contact-final-mark b {
	position: absolute;
	left: 19px;
	top: 19px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #f3ffff;
	box-shadow: 0 0 9px #54dfff;
}

.contact-final-aura {
	left: auto;
	right: -53px;
	top: 55%;
	width: 92px;
	transform: translateY(-50%) scale(var(--final-aura-scale, 0.72));
	background: radial-gradient(circle, rgba(214, 253, 255, 0.28), rgba(67, 219, 255, 0.1) 38%, transparent 70%);
	opacity: var(--final-aura-opacity, 0);
}

.contact-section.final-reveal-active .contact-final-mark {
	animation: finalGlassTurn 10s linear infinite;
}

@keyframes finalGlassTurn {
	0% { rotate: 0deg; filter: drop-shadow(0 0 8px rgba(83, 223, 255, 0.7)); }
	50% { filter: drop-shadow(0 0 17px rgba(170, 104, 255, 0.9)); }
	100% { rotate: 360deg; filter: drop-shadow(0 0 8px rgba(83, 223, 255, 0.7)); }
}

@media (max-width: 700px) {
	.vision-journey { z-index: 990; }
	.vision-startup { height: 82px; }
	.contact-final-mark { right: 10%; top: 70%; }
	.contact-final-aura { right: calc(10% - 45px); top: 70%; }
}

@media (prefers-reduced-motion: reduce) {
	.vision-startup span,
	.vision-startup-cue,
	.vision-meteor-trail circle,
	.vision-reactor-core,
	.vision-reactor-spark,
	.contact-section.final-reveal-active .contact-final-mark {
		animation: none !important;
	}
}

/* Animated Amany Line */
.Amany-line {
	width: 100%;
	height: 1.1px;
	margin: 0 auto 60px;
	position: relative;
	overflow: hidden;
	background: var(--carbon-medium);
}

.Amany-line::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			var(--accent-red) 20%,
			var(--accent-blue) 40%,
			var(--accent-green) 60%,
			var(--accent-purple) 80%,
			transparent);

	animation: AmanySweep 4s ease-in-out infinite;
}

@keyframes AmanySweep {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

.philosophy-headline {
	font-size: 66px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 20px;
	line-height: 1.0;
	background: linear-gradient(135deg,
			var(--accent-cyan) 0%,
			var(--accent-purple) 25%,
			var(--accent-blue) 50%,
			var(--accent-green) 75%,
			var(--accent-cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	background-size: 200% 200%;
	animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.philosophy-subheading {
	font-size: 20px;
	color: var(--text-secondary);
	max-width: 700px;
	margin: 0 auto 80px;
	line-height: 0.2;
	font-weight: 200;
}

.philosophy-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 50px;
	margin-bottom: 50px;
}

.pillar {
	position: relative;
	padding: 20px 15px;
	background: linear-gradient(135deg,
			rgba(42, 42, 42, 0.2),
			rgba(26, 26, 26, 0.3));
	border: 1px solid var(--metal-dark);
	border-radius: 20px;
	transition: all 0.4s ease;
	overflow: hidden;

	/* Scroll reveal: appears + rises in, fades out again on scroll-past */
	opacity: 0;
	transform: translateY(36px);
}

.pillar.in-view {
	opacity: 1;
	transform: translateY(0);
}

.pillar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg,
			var(--accent-purple),
			var(--accent-blue),
			var(--accent-green));
	transform: scaleX(0);
	transition: transform 0.4s ease;
}

.pillar:hover::before {
	transform: scaleX(1);
}

.pillar:hover {
	transform: translateY(-10px);
	border-color: var(--accent-purple);
	box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
	background: linear-gradient(135deg,
			rgba(237, 69, 255, 0.05),
			rgba(26, 26, 26, 0.5));
}

.pillar-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px;
	position: relative;
}

.pillar-icon::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-radius: 50%;
	opacity: 0.2;
	animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 0.2;
	}

	50% {
		transform: scale(1.2);
		opacity: 0.1;
	}
}

.pillar-title {
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 12px;
	color: var(--text-primary);
}

.pillar-description {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
	font-family: 'Space Grotesk', sans-serif;
}
.pillar-description a {
	color: var(--accent-cyan);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.pillar-description a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--accent-cyan);
	transition: width 0.3s ease;
}

.pillar-description a:hover {
	color: var(--accent-purple);
}

.pillar-description a:hover::after {
	width: 100%;
}

/* Particle Effect Background */
.philosophy-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
}

.particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
	border-radius: 50%;
	opacity: 0;
	animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 0;
	}

	5% {
		opacity: 1;
	}

	95% {
		opacity: 1;
	}

	100% {
		transform: translateY(-100vh) rotate(720deg);
		opacity: 0;
	}
}

/* services Section with Content */
.services-section {
	padding: 60px 30px;
	background: linear-gradient(180deg,
			var(--primary-black) 0%,
			var(--carbon-dark) 50%,
			var(--primary-black) 100%);
	position: relative;
}

.services-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 90px;
	position: relative;
	/* Extra breathing room so the last sticky card has room to settle
	   before the section ends */
	padding-bottom: 40px;
}

.stat-card {
	background: linear-gradient(135deg,
			rgba(15, 26, 74, 0.97),
			rgba(18, 18, 22, 0.97));
	border: 1px solid var(--metal-dark);
	border-radius: 15px;
	padding: 32px 26px;
	text-align: left;
	position: sticky;
	top: 120px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 60%;
	max-width: 640px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	will-change: transform, filter;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg,
			transparent,
			var(--accent-purple),
			transparent);
	animation: none;
}

.stat-card:hover::before {
	animation: slideRight 0.5s ease forwards;
}

@keyframes slideRight {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

.stat-card:hover {
	border-color: var(--accent-purple);
	box-shadow: 0 15px 35px rgba(153, 69, 255, 0.7);
}

.stat-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.stat-icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--text-primary);
	box-shadow: 0 10px 25px rgba(12, 11, 13, 0.7);
	flex-shrink: 0;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-card:hover .stat-icon {
	transform: scale(1.08) rotate(-6deg);
}

.stat-arrow {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--metal-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--text-secondary);
	opacity: 0;
	transform: translate(-6px, 6px);
	transition: all 0.35s ease;
	flex-shrink: 0;
}

.stat-card:hover .stat-arrow {
	opacity: 1;
	transform: translate(0, 0);
	color: var(--text-primary);
	border-color: var(--accent-purple);
	background: rgba(153, 69, 255, 0.18);
}

.stat-number {
	font-size: 36px;
	font-weight: 900;
	color: var(--text-primary);
	margin-bottom: 10px;
	font-family: 'Orbitron', monospace;
}

.stat-label {
	font-size: 14px;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 10px;
	font-family: 'Space Grotesk', sans-serif;
}

.stat-description {
	font-size: 12px;
	color: var(--text-dim);
	line-height: 1.5;
	padding: 0 8px;
}

/* ---- Services grid: refined typography for the service cards only.
   Scoped to .services-grid so the shared .stat-label / .stat-description
   classes used in the About section keep their original styling. ---- */
.services-grid .stat-eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--accent-purple);
	margin-bottom: 8px;
}

.services-grid .stat-label {
	font-size: 19px;
	font-weight: 700;
	color: var(--text-primary);
	text-transform: none;
	letter-spacing: 0.2px;
	line-height: 1.35;
	margin-bottom: 14px;
}

.services-grid .stat-description {
	font-size: 14px;
	color: var(--text-dim);
	opacity: 0.8;
	line-height: 1.65;
	padding: 1;
	font-family: 'Space Grotesk', sans-serif;
}

/* Enhanced Skills Section - Technical Arsenal */
.skills-section {
	padding: 60px 30px;
	background: var(--carbon-dark);
	position: relative;
	overflow: hidden;
}

.skills-container {
	max-width: 1200px;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 40px;
}

.section-title {
	font-size: 48px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 10px;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-subtitle {
	color: var(--text-secondary);
	font-size: 15px;
	max-width: 500px;
	margin: 0 auto;
}

/* Hexagonal Skills Grid */
.skills-hexagon-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.skill-hexagon {
	width: 200px;
	height: 230px;
	position: relative;
	margin: 30px 10px;
	cursor: pointer;
	transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);

	/* Scroll reveal: appears + rises in, fades out again on scroll-past */
	opacity: 0;
	transform: translateY(36px);
}

.skill-hexagon.in-view {
	opacity: 1;
	transform: translateY(0);
}

.skill-hexagon:hover {
	transform: translateY(-10px);
}

.hexagon-inner {
	width: 100%;
	height: 100%;
	position: relative;
	transform: rotate(30deg);
	overflow: hidden;
	border-radius: 20px;
	background-color: var(--carbon-medium);
	background-size: cover;
	background-position: center;
	border: 2px solid var(--metal-dark);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hexagon-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(6, 10, 30, 0) 35%, rgba(6, 10, 30, 0.88) 100%);
}

.skill-hexagon:hover .hexagon-inner {
	border-color: var(--accent-purple);
	box-shadow: 0 0 30px rgba(237, 69, 255, 0.5);
}

.hexagon-content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transform: rotate(-30deg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 20px 16px;
	z-index: 1;
}

.skill-play-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--text-primary);
	background: rgba(19, 65, 158, 0.45);
	color: var(--text-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	margin-bottom: 10px;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.skill-hexagon:hover .skill-play-icon {
	background: var(--accent-purple);
	transform: scale(1.08);
}

.skill-name-hex {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-primary);
	text-align: center;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Skill Categories Tabs */
.skill-categories {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.category-tab {
	padding: 12px 20px;
	background: var(--carbon-medium);
	border: 1px solid var(--metal-dark);
	border-radius: 30px;
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
}

.category-tab:hover {
	background: rgba(153, 69, 255, 0.5);
	border-color: var(--accent-purple);
	color: var(--text-primary);
}

.category-tab.active {
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-color: var(--accent-purple);
	color: var(--text-primary);
	box-shadow: 0 5px 20px rgba(113, 45, 99, 0.5);
}

/* ============================================================
   Packages Section
   ============================================================ */
.packages-section {
	padding: 90px 30px;
	background: var(--carbon-dark);
	position: relative;
	overflow: hidden;
}

.packages-grid {
	max-width: 1300px;
	margin: 40px auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	align-items: stretch;
}

.package-card {
	background: linear-gradient(135deg,
			rgba(10, 70, 169, 0.45),
			rgba(26, 26, 26, 0.5));
	border: 1px solid var(--metal-dark);
	border-radius: 18px;
	padding: 35px 22px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;

	/* Scroll reveal: appears + rises in, fades out again on scroll-past */
	opacity: 0;
	transform: translateY(36px);
}

.package-card.in-view {
	opacity: 1;
	transform: translateY(0);
}

.package-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg,
			transparent,
			var(--accent-purple),
			transparent);
	animation: none;
}

.package-card:hover::before {
	animation: slideRight 0.5s ease forwards;
}

.package-card:hover {
	transform: translateY(-10px);
	border-color: var(--accent-purple);
	box-shadow: 0 15px 35px rgba(153, 69, 255, 0.5);
}

/* Featured card (Launch Edition) stands out from the other three */
.package-card--featured {
	border-color: var(--accent-purple);
	background: linear-gradient(135deg,
			rgba(139, 32, 163, 0.45),
			rgba(19, 65, 158, 0.45));
	box-shadow: 0 15px 40px rgba(153, 69, 255, 0.35);
}

.package-badge {
	position: absolute;
	top: 16px;
	right: -34px;
	transform: rotate(40deg);
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	color: var(--text-primary);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 5px 40px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.package-badge--popular {
	background: linear-gradient(135deg, var(--accent-green), #ffd700);
	color: var(--primary-black);
}

/* Professional — the largest, most prominent card in the row */
.package-card--large {
	padding: 42px 26px 36px;
	border-color: var(--accent-purple);
	transform: scale(1.06) translateY(36px);
	z-index: 2;
	box-shadow: 0 18px 45px rgba(153, 69, 255, 0.4);
}

.package-card--large.in-view {
	transform: scale(1.06) translateY(0);
}

.package-card--large .package-icon {
	font-size: 46px;
}

.package-card--large .package-name {
	font-size: 23px;
}

.package-card--large:hover {
	transform: scale(1.06) translateY(-10px);
}

.package-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.package-name {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-primary);
	margin-bottom: 10px;
}

.package-tagline {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 20px;
	min-height: 38px;
}

.package-block {
	text-align: left;
	margin-bottom: 18px;
}

.package-block-title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent-purple);
	margin-bottom: 10px;
}

.package-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.package-list li {
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.4;
	padding-left: 22px;
	position: relative;
}

.package-list--plain li::before {
	content: '•';
	position: absolute;
	left: 4px;
	color: var(--text-secondary);
}

.package-list--check li::before {
	content: '✔';
	position: absolute;
	left: 0;
	color: var(--accent-purple);
	font-size: 12px;
}

.package-placeholder {
	font-size: 13px;
	color: var(--text-dim);
	opacity: 0.7;
	font-style: italic;
	margin-bottom: 20px;
}

.package-price {
	margin: auto 0 18px;
	padding-top: 18px;
	border-top: 1px solid var(--metal-dark);
}

.price-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-secondary);
	margin-bottom: 6px;
}

.price-amount {
	display: block;
	font-size: 28px;
	font-weight: 900;
	font-family: 'Orbitron', monospace;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.price-amount--tbd {
	font-size: 17px;
	letter-spacing: 0.5px;
}

.package-cta {
	display: block;
	margin-top: auto;
	padding: 12px 10px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border: none;
	border-radius: 20px;
	color: var(--text-primary);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(76, 196, 254, 0.5);
}

.package-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(216, 69, 255, 0.6);
}

.package-cta--featured {
	background: linear-gradient(135deg, var(--accent-green), var(--accent-purple));
	color: var(--primary-black);
}

/* Contact Section */
.contact-section {
	padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 40px);
	background: linear-gradient(180deg,
			var(--carbon-dark) 0%,
			var(--primary-black) 100%);
	position: relative;
}

.contact-container {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.contact-info {
	width: 100%;
	padding: clamp(18px, 4vw, 38px);
	background: linear-gradient(135deg,
			rgba(18, 61, 150, 0.45),
			rgba(216, 148, 255, 0.39));
	border: 1px solid var(--metal-dark);
	border-radius: clamp(24px, 4vw, 40px);
	box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
	display: grid;
	gap: clamp(20px, 4vw, 36px);
}

.contact-profile {
	display: grid;
	grid-template-columns: minmax(190px, 0.75fr) minmax(280px, 1.25fr);
	align-items: center;
	gap: clamp(24px, 5vw, 56px);
}

.contact-portrait {
	display: block;
	width: clamp(190px, 23vw, 285px);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 18px 30px rgba(1, 2, 20, 0.5));
}

.contact-chat-panel {
	text-align: left;
}

.contact-kicker {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--accent-cyan);
	font-size: clamp(11px, 1.1vw, 13px);
	font-weight: 700;
	letter-spacing: 0.2em;
}

.contact-chat-panel h3 {
	margin: 0 0 12px;
	color: var(--text-primary);
	font-size: clamp(24px, 3.2vw, 40px);
	line-height: 1.12;
}

.contact-chat-panel p {
	max-width: 540px;
	margin: 0 0 22px;
	color: var(--text-secondary);
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.65;
}

.contact-chat-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid rgba(0, 212, 255, 0.45);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	color: var(--text-primary);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(76, 196, 254, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-chat-button:hover,
.contact-chat-button:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(216, 69, 255, 0.38);
}

.contact-links-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: clamp(10px, 1.4vw, 14px);
	width: 100%;
}

.contact-links-grid .info-item {
	flex: 0 1 clamp(158px, 18%, 185px);
}

.info-item {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 62px;
	margin: 0;
	padding: 9px 12px;
	background: var(--carbon-dark);
	border-radius: 40px;
	transition: all 0.3s ease;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.info-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(57, 213, 255, 0.7),
			transparent);
	transition: left 0.5s ease;
}

.info-item:hover::before {
	left: 100%;
}

.info-item:hover {
	transform: translateY(-4px);
	background: rgba(157, 31, 250, 0.24);
	box-shadow: 0 5px 20px rgba(69, 176, 255, 0.53);
}

a.info-item {
	color: inherit;
	text-decoration: none;
}

.info-icon {
	width: clamp(38px, 4vw, 44px);
	height: clamp(38px, 4vw, 44px);
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-radius: 60%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	color: var(--text-primary);
	font-size: 25px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.info-item:hover .info-icon {
	transform: scale(1.5) rotate(10deg);
	box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.info-text h4 {
	color: var(--text-primary);
	margin: 0;
	font-size: clamp(12px, 0.95vw, 14px);
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: clamp(0.45px, 0.08vw, 0.9px);
	opacity: 0.88;
	transition: all 0.3s ease;
}

.info-item:hover .info-text h4 {
	color: var(--accent-cyan);
}

.info-text p {
	color: var(--text-secondary);
	font-size: 14px;
	transition: all 0.3s ease;
}

.info-item:hover .info-text p {
	color: var(--text-primary);
}

/* Add external link indicator for clickable items */
.info-item[target="_blank"] .info-text p::after {
	content: ' ↗';
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.info-item[target="_blank"]:hover .info-text p::after {
	opacity: 1;
}

/* Footer */
.footer {
	padding: 30px 12% 5px;
	background: var(--primary-black);
	border-top: 1px solid var(--metal-dark);
	position: relative;
}

/* Footer: one centered column, consistent at every screen size */
.footer-content {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}

.social-icon {
	width: 40px;
	height: 40px;
	background: var(--carbon-medium);
	border: 1px solid var(--metal-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-color: var(--accent-purple);
	color: var(--text-primary);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 255, 255, 0.9);
}

.footer-section h4 {
	color: var(--text-primary);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 14px;
}

.footer-links a:hover {
	color: var(--accent-purple);
	padding-left: 5px;
}

.footer-bottom {
	width: 100%;
	padding-top: 16px;
	border-top: 1px solid var(--metal-dark);
	display: flex;
	justify-content: center;
	align-items: center;
}

.copyright {
	color: var(--text-dim);
	font-size: 14px;
}

.footer-credits {
	color: var(--text-dim);
	font-size: 14px;
}

.footer-credits a {
	color: var(--accent-purple);
	text-decoration: none;
}

.footer-credits a:hover {
	text-decoration: underline;
}

/* Responsive Design */
	@media (max-width: 1024px) {
	.carousel-item {
		width: 260px;
		height: 455px;
	}

	.carousel-container {
		/* content area stays 560px (matches original), +80px reserved
		   below for controls/indicators so they're not clipped */
		height: 640px;
		padding-bottom: 80px;
	}

	.carousel-controls {
		bottom: 30px;
	}

	.gallery-title {
		font-size: 26px;
	}

	.gallery-description {
		font-size: 14px;
	}

	.philosophy-pillars {
		grid-template-columns: 1fr;
	}

	.packages-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.package-card--large {
		transform: none;
	}

	.package-card--large:hover {
		transform: translateY(-10px);
	}

	.contact-container {
		max-width: 860px;
	}
}

@media (max-width: 700px) {
	.contact-profile {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.contact-chat-panel {
		text-align: center;
	}

	.contact-chat-panel p {
		margin-left: auto;
		margin-right: auto;
	}

	.contact-portrait {
		width: clamp(180px, 54vw, 250px);
	}

	.contact-links-grid {
		gap: 10px;
	}

	.contact-links-grid .info-item {
		flex: 1 1 calc(50% - 5px);
		max-width: calc(50% - 5px);
	}
}

@media (max-width: 430px) {
	.contact-links-grid .info-item {
		flex-basis: 100%;
		max-width: 100%;
	}

	.contact-chat-button {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.carousel-item .card-image,
	.carousel-item.is-center .card-image {
		-webkit-box-reflect: none;
	}

	.carousel-item.is-side .card-image img {
		filter: grayscale(48%) brightness(0.68) contrast(1.02);
	}

	.services-grid {
		gap: 50px;
	}

	.stat-card {
		width: 92%;
		max-width: 480px;
		padding: 26px 22px;
		top: 90px;
	}

	.services-grid .stat-label {
		font-size: 17px;
	}

	.packages-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.package-badge {
		right: -38px;
	}

	.menu-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 85px;
		flex-direction: column;
		background: rgba(39, 28, 91, 0.85);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		padding: 40px 0;
		border-bottom: 1px solid var(--metal-dark);
		gap: 0;
	}

	.nav-menu li {
		margin: 15px 0;
	}

	.nav-menu a {
		display: block;
		padding: 15px 30px;
		font-size: 16px;
	}

	.nav-menu.active {
		left: 0;
	}

	.hero {
		/* Less empty space above the title (menu → title) and below the
		   carousel (hero → About) is increased so shadows/glow/controls
		   on the cards don't get clipped by the section's overflow:hidden */
		padding: 80px 15px 130px;
	}

	.carousel-container {
		/* content area stays 430px (matches original), +70px reserved
		   below for controls/indicators so they're not clipped */
		height: 500px;
		padding-bottom: 70px;
	}

	.gallery-header {
		/* Tighter gap between the title/description and the cards */
		margin-bottom: 8px;
	}

	.gallery-title {
		font-size: 20px;
		letter-spacing: 2px;
	}

	.gallery-description {
		font-size: 12px;
	}

	/* Large, clear vertical card — image only, rounded corners, purple glow */
	.carousel-item {
		width: 190px;
		height: 332px;
	}

	.carousel-item.is-center {
		width: 210px;
		height: 368px;
	}

	.carousel-controls {
		bottom: 24px;
		gap: 12px;
	}

	.carousel-btn {
		width: 34px;
		height: 34px;
		font-size: 12px;
	}

	.play-btn {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}

	.carousel-indicators {
		margin-top: 18px;
		gap: 12px;
	}

	.indicator {
		width: 10px;
		height: 10px;
	}

	.philosophy-headline {
		font-size: 36px;
	}

	.section-title {
		font-size: 32px;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.skill-hexagon {
		width: 150px;
		height: 170px;
		margin: 20px 5px;
	}

	.skill-play-icon {
		width: 28px;
		height: 28px;
		font-size: 11px;
	}

	.skill-name-hex {
		font-size: 11px;
	}

}

/* ============================================================
   THE LIVING MARK — one scroll-linked visual narrative
   The small code-built header mark sheds a luminous shard which
   collects meaning through every section and resolves at Contact.
   ============================================================ */
.vision-journey {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.8s ease;
	mix-blend-mode: screen;
	overflow: hidden;
	contain: paint;
}

.vision-journey.is-ready {
	opacity: 1;
}

.vision-journey svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.vision-path {
	fill: none;
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vision-path--ghost {
	stroke: rgba(95, 217, 255, 0.11);
	stroke-width: 1;
	stroke-dasharray: 3 18;
}

.vision-path--glow {
	stroke: url(#visionJourneyGradient);
	stroke-width: 12;
	opacity: 0.16;
}

.vision-path--core {
	stroke: url(#visionJourneyGradient);
	stroke-width: 1.6;
	opacity: 0.82;
}

.vision-shard {
	transform-box: fill-box;
	transform-origin: center;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.vision-journey.is-travelling .vision-shard {
	opacity: 1;
}

.vision-shard-shell {
	fill: rgba(44, 207, 255, 0.22);
	stroke: #dffcff;
	stroke-width: 1.2;
	vector-effect: non-scaling-stroke;
}

.vision-mark-plane {
	fill: url(#visionJourneyGradient);
	opacity: 0.3;
	stroke: rgba(221, 252, 255, 0.68);
	stroke-width: 0.55;
	vector-effect: non-scaling-stroke;
}

.vision-mark-plane--soft {
	opacity: 0.19;
}

.vision-shard-facet {
	fill: none;
	stroke: rgba(113, 231, 255, 0.88);
	stroke-width: 0.72;
	vector-effect: non-scaling-stroke;
}

.vision-shard-heart {
	fill: #fff;
	filter: drop-shadow(0 0 5px #5edfff);
}

.hero > .no-copy,
.philosophy-section > .no-copy,
.services-section > .no-copy,
.skills-section > .no-copy,
.packages-section > .no-copy,
.contact-section > .no-copy {
	position: relative;
	z-index: 3;
}

/* About: the shard lights each principle as it learns the brand language. */
.philosophy-section .pillar {
	isolation: isolate;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
}

.philosophy-section .pillar::after {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: radial-gradient(circle at var(--facet-x, 20%) 18%,
		rgba(172, 244, 255, 0.32), transparent 34%);
	opacity: 0;
	pointer-events: none;
	z-index: -1;
	transition: opacity 0.55s ease;
}

.philosophy-section .pillar.vision-active {
	transform: translateY(-7px);
	border-color: rgba(121, 229, 255, 0.85);
	box-shadow: 0 20px 54px rgba(31, 164, 255, 0.2), inset 0 0 30px rgba(106, 217, 255, 0.06);
}

.philosophy-section .pillar.vision-active::after {
	opacity: 1;
}

.philosophy-section .pillar.vision-active .pillar-icon {
	filter: drop-shadow(0 0 14px rgba(100, 226, 255, 0.9));
}

/* Production keeps its original quiet background; motion lives inside the cards. */
.services-section {
	isolation: isolate;
	overflow: clip;
}

.services-grid .stat-card {
	--echo-origin-x: 54px;
	--echo-origin-y: 60px;
	isolation: isolate;
	border-color: rgba(72, 213, 255, 0.3);
	background: linear-gradient(145deg, rgba(8, 24, 69, 0.92), rgba(8, 9, 26, 0.95));
	transition: border-color 0.55s ease, box-shadow 0.55s ease;
}

.services-grid .stat-card > * {
	position: relative;
	z-index: 2;
}

.services-grid .stat-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	transform: scale(0.82);
	transition: opacity 0.65s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.services-grid .stat-card.vision-active {
	border-color: rgba(122, 232, 255, 0.92);
	box-shadow: 0 28px 72px rgba(15, 112, 255, 0.3),
		0 0 28px rgba(57, 220, 255, 0.15), inset 0 0 46px rgba(38, 138, 255, 0.08);
}

.services-grid .stat-card.vision-active::after {
	opacity: 0.72;
	transform: scale(1);
}

/* One shared response for every card: Sound Design's concentric communication pulse. */
.services-grid .stat-card[data-vision-mode]::after {
	background: repeating-radial-gradient(circle at var(--echo-origin-x) var(--echo-origin-y),
		transparent 0 22px,
		rgb(var(--reaction-rgb, 91 221 255) / 0.25) 23px 24px,
		transparent 25px 40px);
	transform: scale(0.7);
	transform-origin: var(--echo-origin-x) var(--echo-origin-y);
}

@media (max-width: 768px) {
	.services-grid .stat-card {
		--echo-origin-x: 50px;
		--echo-origin-y: 54px;
	}
}

.services-grid .stat-card[data-vision-mode].vision-active::after {
	opacity: 0.72;
	animation: productionCardEcho 4.5s ease-out infinite;
}

@keyframes productionCardEcho {
	0% { transform: scale(0.65); opacity: 0; }
	36% { opacity: 0.68; }
	100% { transform: scale(1.35); opacity: 0; }
}

/* Portfolio and Packages carry the energy forward without stealing focus. */
.skills-section,
.packages-section {
	isolation: isolate;
}

.skills-section::after,
.packages-section::after {
	content: '';
	position: absolute;
	inset: 8% 0;
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	background: radial-gradient(ellipse at var(--journey-x, 50%) 50%, rgba(60, 208, 255, 0.16), transparent 42%);
	transform: scale(0.86);
	transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.skills-section.journey-visible::after,
.packages-section.journey-visible::after {
	opacity: 1;
	transform: scale(1);
}

.package-card.vision-active {
	box-shadow: 0 20px 50px rgba(55, 209, 255, 0.2), inset 0 0 24px rgba(82, 164, 255, 0.07);
	border-color: rgba(104, 228, 255, 0.75);
}

.skill-hexagon.vision-active {
	/* The upright wrapper must not cast a shadow behind the rotated card. */
	box-shadow: none;
}

.skill-hexagon.vision-active .hexagon-inner {
	border-color: rgba(104, 228, 255, 0.82);
	box-shadow:
		0 16px 32px rgba(3, 7, 38, 0.38),
		0 0 30px rgba(55, 209, 255, 0.26),
		inset 0 0 18px rgba(82, 164, 255, 0.06);
}

/* Contact: the travelling shard completes the crystalline identity. */
.contact-section {
	--final-progress: 0;
	--final-dash: 1;
	overflow: clip;
	isolation: isolate;
}

.contact-section::before {
	content: '';
	position: absolute;
	left: 8%;
	right: 8%;
	top: 15%;
	height: 70%;
	background: radial-gradient(circle at 28% 48%, rgba(65, 214, 255, 0.22), transparent 36%);
	opacity: var(--final-progress);
	filter: blur(16px);
	pointer-events: none;
	z-index: 1;
}

.contact-portrait-stage {
	position: relative;
	display: grid;
	place-items: end center;
	width: clamp(230px, 28vw, 330px);
	min-height: clamp(280px, 34vw, 390px);
	margin: 0 auto;
	isolation: isolate;
}

.contact-portrait-stage .contact-portrait {
	position: relative;
	z-index: 3;
	align-self: end;
}

.contact-final-diamond {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	width: 112%;
	height: 112%;
	transform: translate(-50%, -50%) scale(var(--final-scale, 0.68));
	opacity: var(--final-progress);
	overflow: visible;
	filter: drop-shadow(0 0 18px rgba(55, 215, 255, 0.42));
}

.final-diamond-halo {
	fill: none;
	stroke: rgba(85, 220, 255, 0.22);
	stroke-width: 2;
	stroke-dasharray: 1;
	stroke-dashoffset: var(--final-dash);
}

.final-diamond-shell {
	fill: url(#contactDiamondFill);
	stroke: rgba(193, 249, 255, 0.96);
	stroke-width: 1.15;
	stroke-dasharray: 1;
	stroke-dashoffset: var(--final-dash);
}

.final-diamond-facets {
	fill: none;
	stroke: rgba(96, 220, 255, 0.72);
	stroke-width: 0.8;
	stroke-dasharray: 1;
	stroke-dashoffset: var(--final-dash);
}

.final-diamond-core {
	fill: #efffff;
	opacity: var(--final-core-opacity, 0);
	filter: drop-shadow(0 0 12px #4ddfff);
}

.contact-final-aura {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 48%;
	width: 55%;
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(var(--final-aura-scale, 0.72));
	background: radial-gradient(circle, rgba(219, 253, 255, 0.3), rgba(61, 218, 255, 0.1) 42%, transparent 70%);
	opacity: var(--final-progress);
	filter: blur(8px);
}

.contact-section.final-reveal-active .contact-final-diamond {
	animation: finalDiamondBreathe 6s ease-in-out infinite;
}

.contact-section.final-reveal-complete .contact-chat-button {
	box-shadow: 0 14px 42px rgba(64, 216, 255, 0.42), 0 0 0 1px rgba(214, 252, 255, 0.22);
}

.contact-section.final-reveal-complete .contact-kicker {
	text-shadow: 0 0 14px rgba(76, 220, 255, 0.72);
}

@keyframes finalDiamondBreathe {
	0%, 100% { filter: drop-shadow(0 0 15px rgba(55, 215, 255, 0.35)); }
	50% { filter: drop-shadow(0 0 28px rgba(94, 225, 255, 0.66)); }
}

.logo-icon.journey-origin-awake {
	filter: drop-shadow(0 0 12px rgba(93, 225, 255, 0.9));
}

@media (max-width: 700px) {
	.vision-path--ghost { opacity: 0.55; }
	.vision-path--glow { stroke-width: 8; opacity: 0.13; }
	.vision-path--core { stroke-width: 1.25; opacity: 0.7; }

	.contact-portrait-stage {
		width: min(82vw, 300px);
		min-height: min(96vw, 350px);
	}

	.contact-final-diamond {
		width: 108%;
		height: 108%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stat-card[data-vision-mode]::after,
	.contact-section.final-reveal-active .contact-final-diamond {
		animation: none !important;
	}

	.vision-journey,
	.vision-shard,
	.philosophy-section .pillar,
	.services-grid .stat-card,
	.contact-final-diamond {
		transition-duration: 0.01ms !important;
	}
}

/* Meteor revision priority layer — intentionally last. */
.vision-journey {
	z-index: 900;
	mix-blend-mode: normal;
}

.vision-path--geometry {
	opacity: 0;
	stroke: transparent;
}

.vision-journey.is-travelling .vision-shard {
	opacity: 0.96;
}

.vision-mark-plane {
	fill: rgba(183, 247, 255, 0.18);
	opacity: 1;
	stroke: rgba(231, 254, 255, 0.94);
	stroke-width: 0.8;
}

.vision-mark-plane--two { fill: rgba(76, 219, 255, 0.16); }
.vision-mark-plane--three { fill: rgba(172, 98, 255, 0.13); }

.services-grid .stat-card.vision-active {
	border-color: rgb(var(--reaction-rgb, 91 221 255) / 0.92);
	box-shadow: 0 28px 78px rgb(var(--reaction-rgb, 91 221 255) / 0.28),
		0 0 32px rgb(var(--reaction-rgb, 91 221 255) / 0.17),
		inset 0 0 54px rgb(var(--reaction-rgb, 91 221 255) / 0.09);
}

.contact-portrait-stage {
	min-height: 0;
	overflow: visible;
}

.contact-final-aura {
	left: auto;
	right: -53px;
	top: 55%;
	width: 92px;
	transform: translateY(-50%) scale(var(--final-aura-scale, 0.72));
	background: radial-gradient(circle, rgba(214, 253, 255, 0.28), rgba(67, 219, 255, 0.1) 38%, transparent 70%);
	opacity: var(--final-aura-opacity, 0);
}

@media (max-width: 700px) {
	.vision-journey { z-index: 990; }
	.contact-portrait-stage { min-height: 0; }
	.contact-final-mark { right: 10%; top: 70%; }
	.contact-final-aura { right: calc(10% - 45px); top: 70%; }
}

/* ============================================================
   AMANY SUN — original visible shape layers, rebuilt as live SVG
   No raster is repainted during rotation or scroll.
   ============================================================ */
.amany-symbol-library {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.amany-sun {
	display: block;
	overflow: visible;
	transform-origin: 50% 50%;
	will-change: transform;
}

.amany-sun-triangles polygon {
	fill: none;
	stroke: rgba(151, 235, 255, 0.98);
	stroke-width: 1.35;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.amany-sun-triangles polygon:nth-child(even) {
	stroke: rgba(195, 126, 255, 0.98);
}

.amany-sun--header {
	width: 48px;
	height: 48px;
	animation: amanySunTurn 16s linear infinite;
	filter: drop-shadow(0 0 4px rgba(94, 228, 255, 0.84));
}

.amany-sun--loader {
	width: 110px;
	height: 110px;
	animation: amanySunTurn 8s linear infinite;
	filter: drop-shadow(0 0 7px rgba(77, 222, 255, 0.82));
}

@keyframes amanySunTurn {
	to { transform: rotate(360deg); }
}

.vision-journey.is-travelling .vision-shard {
	animation: none;
}

.vision-journey.home-spray-only .vision-meteor-trail circle {
	fill-opacity: 0.96;
}

/* Denser readiness, unchanged footprint. */
.vision-startup span:nth-child(13) { left: 26%; animation-delay: -0.18s; animation-duration: 2.7s; }
.vision-startup span:nth-child(14) { left: 72%; animation-delay: -0.39s; animation-duration: 2.25s; }
.vision-startup span:nth-child(15) { left: 54%; animation-delay: -0.63s; animation-duration: 2.55s; }
.vision-startup span:nth-child(16) { left: 17%; animation-delay: -0.91s; animation-duration: 2.9s; }
.vision-startup span:nth-child(17) { left: 85%; animation-delay: -1.19s; animation-duration: 2.4s; }
.vision-startup span:nth-child(18) { left: 39%; animation-delay: -1.47s; animation-duration: 2.72s; }
.vision-startup span:nth-child(19) { left: 66%; animation-delay: -1.75s; animation-duration: 2.18s; }
.vision-startup span:nth-child(20) { left: 9%; animation-delay: -2.02s; animation-duration: 2.62s; }
.vision-startup span:nth-child(21) { left: 91%; animation-delay: -2.23s; animation-duration: 2.83s; }
.vision-startup span:nth-child(22) { left: 46%; animation-delay: -0.77s; animation-duration: 2.34s; }
.vision-startup span:nth-child(23) { left: 33%; animation-delay: -1.36s; animation-duration: 2.48s; }
.vision-startup span:nth-child(24) { left: 59%; animation-delay: -1.88s; animation-duration: 2.66s; }

/* About transformation: spray gathers, then the sun is born around the portrait. */
.about-avatar-wrap {
	position: relative;
	isolation: isolate;
	overflow: visible;
}

.about-avatar-wrap > a {
	position: relative;
	z-index: 2;
}

.about-avatar-wrap .about-avatar {
	transition: filter 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
	filter: drop-shadow(0 0 var(--about-glow-radius, 0px) rgba(99, 224, 255, 0.7));
}

.about-sun-reveal {
	position: absolute;
	z-index: 4;
	left: 50%;
	top: 50%;
	width: clamp(240px, 52vw, 560px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%) scale(var(--about-sun-scale, 0.74));
	pointer-events: none;
	opacity: 1;
}

.amany-sun--about {
	width: 100%;
	height: 100%;
	opacity: var(--about-sun-opacity, 0);
	filter: drop-shadow(0 0 7px rgba(67, 221, 255, 0.58));
}

.philosophy-section.about-sun-active .amany-sun--about {
	animation: amanySunTurn 24s linear infinite;
}

.about-sun-spray {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: 50%;
	opacity: var(--about-spray-opacity, 0);
	filter: none;
}

.about-sun-spray i {
	position: absolute;
	left: var(--spray-x);
	top: var(--spray-y);
	width: var(--spray-size, 2px);
	height: var(--spray-size, 2px);
	border-radius: 50%;
	background: var(--spray-color, #c9f8ff);
	box-shadow: 0 0 5px var(--spray-color, #7be9ff);
	transform: translate(-50%, -50%);
	animation: aboutCrystalOrbit var(--spray-duration, 4.8s) ease-in-out infinite alternate;
	animation-delay: var(--spray-delay, 0s);
}

@keyframes aboutCrystalOrbit {
	from { transform: translate(-50%, -50%) translate3d(-3px, -3px, 0) scale(0.74); opacity: 0.32; }
	to { transform: translate(-50%, -50%) translate3d(4px, 3px, 0) scale(1.06); opacity: 1; }
}

/* The small Contact mark uses the same corrected source geometry. */
.contact-final-mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
}

.amany-sun--contact {
	width: 58px;
	height: 58px;
	filter: drop-shadow(0 0 5px rgba(83, 223, 255, 0.94));
}

.contact-section.final-reveal-active .contact-final-mark {
	animation: finalGlassTurn 14s linear infinite;
}

@media (max-width: 700px) {
	.amany-sun--header { width: 44px; height: 44px; }
	.about-sun-reveal { width: min(86vw, 460px); }
	.contact-final-mark,
	.amany-sun--contact { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	.amany-sun--header,
	.amany-sun--loader,
	.philosophy-section.about-sun-active .amany-sun--about,
	.contact-section.final-reveal-active .contact-final-mark,
	.about-sun-spray i {
		animation: none !important;
	}
}

/* This final override also follows the late brand-animation declarations. */
body:not(.page-ready)::after,
body:not(.page-ready) .amany-sun--header,
body:not(.page-ready) .ticker-track,
body:not(.page-ready) .carousel-item.is-center .card-image::before,
.hero.motion-paused .carousel-item.is-center .card-image::before {
	animation-play-state: paused;
}
