/* ==========================================================================
   AryaSync theme — main stylesheet
   ========================================================================== */

:root {
	--background: #07070c;
	--surface: #101019;
	--surface-2: #17172433;
	--border: #23233a;
	--foreground: #f3f3f8;
	--muted: #9b9bb4;
	--primary: #845cff;
	--primary-hover: #9472ff;
	--accent: #ffd300;
	--radius: 1.25rem;
	--maxw: 1280px;
	--section-pad: clamp(4rem, 6.5vw, 6rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	/* Removed scroll-behavior: smooth to prevent conflict with Lenis JS */
}

body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: "Urbanist", system-ui, -apple-system, Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4 {
	line-height: 1.12;
	margin: 0;
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

.container-page {
	width: 100%;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
	.container-page {
		padding-inline: 4rem;
	}
}

.container-narrow {
	max-width: 46rem;
}

.section {
	padding-block: var(--section-pad);
}

.muted {
	color: var(--muted);
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 100;
	background: var(--primary);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
	left: 0;
	top: 0;
}

/* ----------------------------- Backgrounds ------------------------------- */

.mesh-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(40rem 30rem at 15% -10%, rgba(132, 92, 255, 0.28), transparent 60%),
		radial-gradient(35rem 28rem at 90% 0%, rgba(255, 211, 0, 0.16), transparent 55%),
		radial-gradient(30rem 30rem at 60% 30%, rgba(255, 126, 182, 0.10), transparent 60%);
}

.grain {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.035;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
	position: absolute;
	left: 50%;
	top: 0;
	width: 60%;
	height: 16rem;
	transform: translateX(-50%);
	border-radius: 9999px;
	background: rgba(132, 92, 255, 0.3);
	filter: blur(90px);
	pointer-events: none;
	z-index: -1;
}

/* ----------------------------- Typography helpers ------------------------ */

.gradient-text {
	background: linear-gradient(110deg, #c4b3ff 0%, var(--primary) 30%, var(--accent) 65%, #ff7eb6 100%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: shine 6s linear infinite;
}

@keyframes shine {
	to { background-position: 200% center; }
}

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.section-title {
	font-size: clamp(2.2rem, 6vw, 4rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.section-head { max-width: 40rem; margin-bottom: 3rem; }

.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-top: 1rem; max-width: 42rem; }

.text-link {
	color: var(--primary);
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

/* ----------------------------- Chips + buttons --------------------------- */

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	padding: 0.3rem 0.85rem;
	font-size: 0.78rem;
	color: var(--muted);
}
.chip .dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background: var(--accent);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	padding: 0.8rem 1.6rem;
	font-weight: 700;
	color: #07070c;
	border: none;
	cursor: pointer;
	background: var(--accent);
	box-shadow: 0 10px 30px -12px rgba(255, 211, 0, 0.75);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 16px 44px -12px rgba(255, 211, 0, 0.95);
}

.btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	padding: 0.8rem 1.6rem;
	font-weight: 500;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.2);
}

/* ----------------------------- Glass cards ------------------------------- */

.glass {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	border-radius: var(--radius);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass:hover {
	transform: translateY(-4px);
	border-color: rgba(132, 92, 255, 0.5);
	box-shadow: 0 20px 60px -25px rgba(132, 92, 255, 0.55);
}

.card-spot { position: relative; overflow: hidden; }
.card-spot::before {
	content: "";
	position: absolute;
	inset: -1px;
	background: radial-gradient(20rem 20rem at var(--mx, 50%) var(--my, 0%), rgba(132, 92, 255, 0.18), transparent 40%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.card-spot:hover::before { opacity: 1; }

/* ----------------------------- Reveal ------------------------------------ */

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.gradient-text, .float { animation: none; }
	html { scroll-behavior: auto; }
}

.float { animation: float 6s ease-in-out infinite; }
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Top announcement bar
   ========================================================================== */

.topbar {
	position: relative;
	z-index: 60;
	background: #0a0a10;
	color: #cfcfda;
	font-size: 0.84rem;
	font-weight: 500;
}
/* animated gradient hairline along the bottom edge */
.topbar::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
	background-size: 220% 100%;
	animation: topbarSheen 6s linear infinite;
}
@keyframes topbarSheen { to { background-position: -220% 0; } }
.topbar.is-hidden { display: none; }
.topbar__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 2.5rem;
	padding-block: 0.4rem;
	padding-right: 2rem;
	text-align: center;
}
.topbar__msg { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.65rem; }
.topbar__text { margin: 0; }
.topbar__badge {
	background: var(--accent);
	border: none;
	color: #0a0a10;
	padding: 0.14rem 0.6rem;
	border-radius: 9999px;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.topbar__link {
	color: var(--accent);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}
.topbar__link:hover { opacity: 0.8; text-decoration: underline; text-underline-offset: 3px; }
.topbar__close {
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #cfcfda;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.15rem 0.5rem;
	opacity: 0.65;
	transition: opacity 0.2s ease;
}
.topbar__close:hover { opacity: 1; }

@media (max-width: 600px) {
	.topbar { font-size: 0.78rem; }
	.topbar__badge { display: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(7, 7, 12, 0.78);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.9);
}
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 4.75rem;
	gap: 1rem;
}
.site-branding { justify-self: start; display: flex; align-items: center; height: 100%; }
.site-branding .brand { display: inline-flex; align-items: center; line-height: 1; }
.site-branding .site-logo-img,
.site-branding .custom-logo { display: block; vertical-align: middle; }
.site-nav { justify-self: center; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; }
.brand-mark {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.6rem;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #fff;
	font-weight: 500;
	box-shadow: 0 6px 20px -6px rgba(132, 92, 255, 0.6);
}
.brand-name { font-size: 1rem; letter-spacing: -0.02em; }
.custom-logo { border-radius: 0.5rem; }
.custom-logo-link { display: inline-flex; }
.site-logo-img { display: block; height: 32px; width: auto; object-fit: contain; }

.site-nav .nav-menu {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav .nav-menu li { position: relative; }
.site-nav .nav-menu a {
	position: relative;
	display: inline-block;
	padding: 0.35rem 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #ffffff;
	/* readable on any background — bright or dark video frames */
	text-shadow: 0 1px 3px rgba(7, 7, 12, 0.55), 0 2px 12px rgba(7, 7, 12, 0.35);
	transition: color 0.25s ease;
}
/* animated gradient underline */
.site-nav .nav-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav .nav-menu a:hover { color: var(--accent); }
.site-nav .nav-menu a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}
.site-nav .nav-menu .current-menu-item > a,
.site-nav .nav-menu .current_page_item > a,
.site-nav .nav-menu .current-menu-ancestor > a {
	color: #ffffff;
}
.site-nav .nav-menu .current-menu-item > a::after,
.site-nav .nav-menu .current_page_item > a::after,
.site-nav .nav-menu .current-menu-ancestor > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* dropdown submenus */
.site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	min-width: 12rem;
	list-style: none;
	margin: 0;
	padding: 0.4rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 0.9rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.2s ease;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.site-nav .nav-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.site-nav .nav-caret { font-size: 0.6em; opacity: 0.65; margin-left: 0.15rem; vertical-align: middle; }
.site-nav .sub-menu a {
	display: block;
	padding: 0.5rem 0.85rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--muted);
	white-space: nowrap;
}
.site-nav .sub-menu a::after { display: none; }
.site-nav .sub-menu a:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.06); }

/* Mobile sub-items */
.mobile-sub a { padding-left: 1.5rem !important; font-size: 0.88rem; color: var(--muted); }
.mobile-sub a::before { content: "– "; opacity: 0.5; }
.mobile-cat {
	padding: 0.6rem 0.75rem 0.25rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	opacity: 0.85;
}

.site-nav .nav-caret { display: inline-flex; align-items: center; opacity: 0.7; }
.site-nav .nav-caret svg { transition: transform 0.25s ease; }
.site-nav .has-mega:hover .nav-caret svg { transform: rotate(180deg); }

/* ==========================================================================
   Mega menu
   ========================================================================== */

.site-nav .has-mega { position: static; }

.mega-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	width: min(1280px, calc(100vw - 2rem));
	padding: 1.4rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.85);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	z-index: 60;
}
.site-nav .has-mega:hover > .mega-menu,
.site-nav .has-mega:focus-within > .mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 1.25rem; align-items: start; }
.mega-col-title {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--muted);
	font-weight: 700;
	margin: 0 0 0.5rem 0.55rem;
}

/* High specificity to override the base nav link (.site-nav .nav-menu a) */
.site-nav .mega-menu .mega-link {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.55rem;
	border-radius: 8px;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--muted);
	transition: background 0.2s ease, color 0.2s ease;
}
.site-nav .mega-menu .mega-link::after { display: none; }
.site-nav .mega-menu .mega-link:hover { background: rgba(255, 255, 255, 0.05); color: var(--foreground); }
.mega-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #7e7e97;
	transition: color 0.2s ease;
}
.site-nav .mega-menu .mega-link:hover .mega-icon { color: var(--accent); }
.mega-link-title { line-height: 1.2; }

/* Featured image column */
.mega-feature {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: #12111d;
}
.mega-feature__media { position: relative; display: block; height: 158px; overflow: hidden; }
.mega-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega-feature__media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 55%;
	background: linear-gradient(to top, #12111d 8%, rgba(18, 17, 29, 0));
}
.mega-feature__content { padding: 0.35rem 1.3rem 1.4rem; }
.mega-feature h4 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.mega-feature p { font-size: 0.82rem; line-height: 1.55; color: var(--muted); margin: 0.5rem 0 1.1rem; }
.mega-feature__btn { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.mega-feature__btn svg { transition: transform 0.2s ease; }
.mega-feature:hover .mega-feature__btn svg { transform: translateX(3px); }

@media (max-width: 1320px) {
	.mega-menu { width: calc(100vw - 2rem); }
	.mega-grid { grid-template-columns: repeat(4, 1fr); }
	.mega-feature { display: none; }
}
@media (max-width: 1000px) {
	.mega-grid { grid-template-columns: 1fr 1fr; }
}

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; justify-self: end; }

.header-cta,
.mobile-cta {
	background: #ffd300;
	color: #07070c;
	box-shadow: 0 10px 30px -12px rgba(255, 211, 0, 0.7);
}
.header-cta:hover,
.mobile-cta:hover {
	box-shadow: 0 16px 44px -12px rgba(255, 211, 0, 0.95);
}
.header-cta { padding: 0.6rem 1.35rem; }
.header-cta .cta-arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}
.header-cta:hover .cta-arrow { transform: translateX(4px); }

/* Outline "Call Us" button */
.call-us {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 2.7rem;
	padding: 0 1.35rem;
	border-radius: 9999px;
	color: var(--foreground);
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.2s ease;
}
.call-us svg { color: var(--accent); flex-shrink: 0; position: relative; z-index: 1; }
.call-us:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-2px);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	background: rgba(23, 23, 36, 0.5);
	border-radius: 0.6rem;
	cursor: pointer;
}
.nav-toggle span {
	width: 18px;
	height: 2px;
	background: var(--foreground);
	transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile menu: premium slide-in drawer --- */
.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	visibility: hidden;
	pointer-events: none;
}
.mobile-menu-overlay.is-open { visibility: visible; pointer-events: auto; }

.mobile-menu-scrim {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 10, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.mobile-menu-overlay.is-open .mobile-menu-scrim { opacity: 1; }

.mdrawer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(86vw, 24rem);
	display: flex;
	flex-direction: column;
	background: #0c0c14;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.8);
	transform: translateX(100%);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-menu-overlay.is-open .mdrawer { transform: translateX(0); }

.mdrawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.15rem 1.35rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	flex-shrink: 0;
}
.mdrawer__close {
	appearance: none;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9999px;
	width: 2.6rem;
	height: 2.6rem;
	display: grid;
	place-items: center;
	color: #fff;
	transition: background 0.2s ease, transform 0.2s ease;
}
.mdrawer__close:hover { background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }

.mdrawer__nav {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0.75rem 1.35rem 1.5rem;
	display: flex;
	flex-direction: column;
}

/* top-level links */
.mnav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 1rem 0.15rem;
	font-size: 1.08rem;
	font-weight: 600;
	color: #f3f3f8;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: none;
	border-top: none;
	border-left: none;
	border-right: none;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	transition: color 0.2s ease, padding-left 0.25s ease;
	-webkit-tap-highlight-color: transparent;
}
a.mnav-link:hover, a.mnav-link:active { color: var(--accent); padding-left: 0.5rem; }

/* staggered entrance for drawer items */
.mobile-menu-overlay.is-open .mdrawer__nav > * {
	animation: mnavIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu-overlay.is-open .mdrawer__nav > *:nth-child(7) { animation-delay: 0.4s; }
@keyframes mnavIn {
	from { opacity: 0; transform: translateX(28px); }
	to   { opacity: 1; transform: none; }
}

/* accordions: animated open/close via grid rows */
.mnav-acc__btn .mnav-chev { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); color: var(--muted); flex-shrink: 0; }
.mnav-acc__btn[aria-expanded="true"] { color: var(--accent); }
.mnav-acc__btn[aria-expanded="true"] .mnav-chev { transform: rotate(180deg); color: var(--accent); }
.mnav-acc__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mnav-acc__btn[aria-expanded="true"] + .mnav-acc__panel { grid-template-rows: 1fr; }
.mnav-acc__inner { overflow: hidden; min-height: 0; }

/* level-2: category rows */
.mnav-sub {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	width: 100%;
	padding: 0.8rem 0.75rem;
	margin-top: 0.35rem;
	font-size: 0.94rem;
	font-weight: 600;
	color: #d5d5e2;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 12px;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}
.mnav-sub--all { color: var(--accent); background: rgba(255, 211, 0, 0.06); border-color: rgba(255, 211, 0, 0.25); justify-content: flex-start; }
.mnav-acc--sub .mnav-acc__btn[aria-expanded="true"] { background: rgba(255, 211, 0, 0.07); border-color: rgba(255, 211, 0, 0.3); }

/* level-3: service links */
.mnav-leaf {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.62rem 0.75rem;
	margin: 0.15rem 0 0 0.75rem;
	font-size: 0.9rem;
	color: #b9b9c9;
	border-radius: 10px;
	transition: color 0.2s ease, background 0.2s ease;
}
.mnav-leaf:active, .mnav-leaf:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.mnav-leaf__icon { color: var(--accent); display: grid; place-items: center; flex-shrink: 0; opacity: 0.85; }

/* drawer footer */
.mdrawer__foot {
	flex-shrink: 0;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 0.75rem;
	padding: 1rem 1.35rem calc(1rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.02);
}
.mdrawer__call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	font-weight: 600;
	font-size: 0.92rem;
}
.mdrawer__cta { justify-content: center; min-height: 48px; }

@media (prefers-reduced-motion: reduce) {
	.mdrawer, .mobile-menu-scrim, .mnav-acc__panel { transition: none; }
	.mobile-menu-overlay.is-open .mdrawer__nav > * { animation: none; }
}
/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; }
.hero__inner { text-align: center; padding-block: 5rem 3rem; }
.hero__title {
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	font-weight: 500;
	max-width: 60rem;
	margin: 1.75rem auto 0;
}
.hero__subtitle {
	max-width: 40rem;
	margin: 1.5rem auto 0;
	color: var(--muted);
	font-size: 1.15rem;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 2.25rem;
}

.hero__mockup { position: relative; max-width: 62rem; margin: 4rem auto 0; }
.browser {
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(16, 16, 25, 0.8);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
}
.browser__bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--border);
	background: rgba(7, 7, 12, 0.6);
}
.browser__bar .dot { width: 0.75rem; height: 0.75rem; border-radius: 9999px; background: #444; }
.browser__bar .dot.red { background: #ff5f57; }
.browser__bar .dot.yellow { background: #febc2e; }
.browser__bar .dot.green { background: #28c840; }
.browser__url {
	margin-left: 0.75rem;
	font-size: 0.75rem;
	color: var(--muted);
	background: var(--surface);
	padding: 0.25rem 0.75rem;
	border-radius: 0.4rem;
}
.browser__body { padding: 1.5rem; }
.browser__hero {
	height: 12rem;
	border-radius: 0.9rem;
	background: linear-gradient(135deg, rgba(132, 92, 255, 0.4), rgba(16, 16, 25, 0.6), rgba(255, 211, 0, 0.25));
}
.browser__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1rem; }
.browser__row span { height: 5rem; border-radius: 0.6rem; background: var(--surface); }

/* ==========================================================================
   Marquee (optional, used by helpers)
   ========================================================================== */

.marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; gap: 4rem; width: max-content; animation: marquee 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Hero banner
   ========================================================================== */

.hero { position: relative; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 9999px; filter: blur(90px); pointer-events: none; z-index: -1; }
.hero__glow--1 { width: 38rem; height: 26rem; top: -8rem; left: -8rem; background: rgba(132, 92, 255, 0.28); }
.hero__glow--2 { width: 34rem; height: 24rem; top: 1rem; right: -10rem; background: rgba(255, 211, 0, 0.15); }

.hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 3.5rem;
	align-items: center;
	padding-block: 4rem 5.5rem;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	padding: 0.4rem 0.95rem;
	border-radius: 9999px;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--muted);
}
.pulse-dot { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: var(--accent); }
.pulse-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background: var(--accent);
	animation: pulsering 2.2s ease-out infinite;
}
@keyframes pulsering { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

.hero__title {
	margin-top: 1.5rem;
	font-size: clamp(2.5rem, 5.4vw, 4.4rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	max-width: 16ch;
}
.hero__sub { margin-top: 1.4rem; font-size: 1.12rem; line-height: 1.7; color: var(--muted); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }
.hero__actions .btn-primary svg { transition: transform 0.2s ease; }
.hero__actions .btn-primary:hover svg { transform: translateX(4px); }

.hero__trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.hero__avatars { display: flex; }
.hero__avatars .av {
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	font-weight: 500;
	color: #07070c;
	border: 2px solid var(--background);
	margin-left: -0.65rem;
}
.hero__avatars .av:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #845cff, #b9a5ff); color: #fff; }
.av2 { background: linear-gradient(135deg, #ffd300, #ffe469); }
.av3 { background: linear-gradient(135deg, #ffb800, #ffd300); }
.av4 { background: #23233a; color: #fff; }
.hero__trust-text { display: flex; flex-direction: column; font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.hero__trust-text strong { color: var(--foreground); }
.hero__stars { color: var(--accent); letter-spacing: 1px; }
.hero__stars.sm { font-size: 0.7rem; }

/* Visual / dashboard mockup */
.hero__visual { position: relative; }
.hero__window {
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(16, 16, 25, 0.85);
	backdrop-filter: blur(10px);
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
}
.hero__window-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); background: rgba(7, 7, 12, 0.5); }
.hero__window-bar .wd { width: 0.7rem; height: 0.7rem; border-radius: 9999px; background: #3a3a48; }
.wd.red { background: #ff5f57; } .wd.yellow { background: #febc2e; } .wd.green { background: #28c840; }
.hero__url { margin-left: 0.6rem; font-size: 0.72rem; color: var(--muted); background: var(--surface); padding: 0.2rem 0.7rem; border-radius: 6px; }
.hero__dash { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.1rem; }
.hero__dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.hero__stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.4rem; }
.hero__stat-label { font-size: 0.68rem; color: var(--muted); }
.hero__stat-num { font-size: 1.05rem; font-weight: 700; }
.hero__bar-mini { height: 4px; border-radius: 2px; width: 70%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.hero__bar-mini.alt { width: 45%; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.hero__chart { display: flex; align-items: flex-end; gap: 0.55rem; height: 9rem; padding: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.hero__chart span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--accent), rgba(255, 211, 0, 0.2)); }
.hero__chart span:nth-child(even) { background: linear-gradient(180deg, var(--primary), rgba(132, 92, 255, 0.2)); }

.hero__card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 0.95rem;
	border-radius: 12px;
	background: rgba(20, 20, 31, 0.92);
	border: 1px solid var(--border);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
}
.hero__card-txt { display: flex; flex-direction: column; line-height: 1.15; }
.hero__card-txt strong { font-size: 0.98rem; font-weight: 700; }
.hero__card-txt small { font-size: 0.7rem; color: var(--muted); }
.hero__card-ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: rgba(255, 211, 0, 0.14); color: var(--accent); }
.hero__card--metric { left: -1.5rem; bottom: 2.5rem; }
.hero__card--rating { right: -1.25rem; top: 1.75rem; }

.float-slow { animation: float 7s ease-in-out infinite; }
.float-slower { animation: float 9s ease-in-out infinite; }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; gap: 3rem; padding-block: 2.5rem 4rem; }
	.hero__visual { order: 2; max-width: 34rem; width: 100%; }
	.hero__title { max-width: 20ch; }
	.hero__card--metric { left: 0; }
	.hero__card--rating { right: 0; }
}
@media (max-width: 520px) {
	.hero__card { display: none; }
	.hero__dash-stats { grid-template-columns: 1fr 1fr; }
	.hero__dash-stats .hero__stat:last-child { display: none; }
}

/* --- Centered hero variant --- */
.hero--center { text-align: center; }
.hero__c {
	max-width: 62rem;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 4.5rem 3rem;
}
.hero--center .hero__title {
	max-width: 22ch;
	margin-inline: auto;
	font-size: clamp(2.6rem, 6vw, 5rem);
}
.hero--center .hero__sub { margin-inline: auto; }
.hero--center .hero__actions { justify-content: center; }
.hero--center .hero__trust { justify-content: center; margin-top: 2rem; }
.hero__trust-text2 { color: var(--muted); font-size: 0.9rem; }
.hero__trust-text2 strong { color: var(--foreground); }

/* Rotating word */
.rotator { position: relative; display: inline-block; text-align: center; }
.rotator span {
	background: linear-gradient(100deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	white-space: nowrap;
	font-weight: 500;
}
.rotator__sizer { visibility: hidden; }
.rotator__w {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	opacity: 0;
	animation: fadeWord 8s infinite;
}
.rw1 { animation-delay: 0s; }
.rw2 { animation-delay: 2s; }
.rw3 { animation-delay: 4s; }
.rw4 { animation-delay: 6s; }
@keyframes fadeWord {
	0% { opacity: 0; transform: translateY(14px); }
	4% { opacity: 1; transform: translateY(0); }
	22% { opacity: 1; transform: translateY(0); }
	27% { opacity: 0; transform: translateY(-14px); }
	100% { opacity: 0; transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
	.rotator__w { animation: none; }
	.rw1 { opacity: 1; }
}

/* Tech-stack strip */
.hero__logos { padding-bottom: 4rem; }
.hero__logos-label {
	text-align: center;
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1.6rem;
}
.hero__logo { font-size: 1.15rem; font-weight: 600; color: rgba(255, 255, 255, 0.42); transition: color 0.2s ease; white-space: nowrap; }
.hero__logo:hover { color: var(--foreground); }

/* --- Codecademy-style hero: code editor + live preview --- */
.hero__cc {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 3rem;
	align-items: center;
	padding-block: 4rem 5rem;
}

.editor-win {
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	background: #0d0d15;
	box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.9);
}
.editor-win__bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 0.9rem;
	background: #14141f;
	border-bottom: 1px solid var(--border);
}
.editor-win__bar .wd { width: 0.7rem; height: 0.7rem; border-radius: 9999px; background: #3a3a48; }
.editor-tabs { display: flex; gap: 0.25rem; margin-left: 0.6rem; }
.editor-tab { font-size: 0.72rem; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--muted); padding: 0.25rem 0.6rem; border-radius: 6px; }
.editor-tab.is-active { color: var(--foreground); background: rgba(255, 255, 255, 0.06); }
.editor-run {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #07070c;
	background: var(--accent);
	border: none;
	border-radius: 6px;
	padding: 0.3rem 0.7rem;
	cursor: default;
}

.editor-win__body { display: grid; grid-template-columns: 1.05fr 0.95fr; }
.editor-code { display: flex; gap: 0.75rem; padding: 1rem 0.9rem; overflow: auto; border-right: 1px solid var(--border); }
.editor-gutter { text-align: right; color: #4a4a5e; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.8rem; line-height: 1.7; user-select: none; }
.editor-pre { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.8rem; line-height: 1.7; color: #aeb6c7; white-space: pre; }
.editor-pre code { font: inherit; background: none; color: inherit; }
.tk-tag { color: #b79dff; }
.tk-attr { color: #ffd36b; }
.tk-str { color: #7ee787; }
.tk-txt { color: #aeb6c7; }
.tk-cursor {
	display: inline-block;
	width: 7px;
	height: 1em;
	background: var(--accent);
	vertical-align: text-bottom;
	animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.editor-preview { position: relative; display: flex; padding: 1.25rem 1.1rem; background: #0a0a12; }
.editor-preview__label { position: absolute; top: 0.55rem; right: 0.75rem; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.preview-page {
	margin: auto;
	width: 100%;
	background: linear-gradient(160deg, #1a1728, #100f1a);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.5rem 1.3rem;
}
.preview-page h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.preview-page h3 span { color: var(--accent); }
.preview-page p { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }
.preview-page button {
	margin-top: 1.1rem;
	background: var(--accent);
	color: #07070c;
	border: none;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 0.5rem 1.05rem;
	cursor: default;
}

@media (max-width: 900px) {
	.hero__cc { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.5rem 4rem; }
	.hero__editor { order: 2; }
}
@media (max-width: 560px) {
	.editor-win__body { grid-template-columns: 1fr; }
	.editor-code { border-right: none; }
	.editor-preview { border-top: 1px solid var(--border); }
}

/* --- Cinematic video hero --- */
.cine { padding: 0 clamp(0.75rem, 1.5vw, 1.5rem) clamp(0.75rem, 1.5vw, 1.5rem); }
.cine__frame {
	position: relative;
	overflow: hidden;
	border-radius: clamp(1rem, 2vw, 2rem);
	min-height: 86vh;
	background: #0a0a0f;
}
.cine__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cine__noise {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.7;
	mix-blend-mode: overlay;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cine__gradient {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 38%, transparent 62%, rgba(0, 0, 0, 0.6));
}
.cine__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(1.25rem, 3.5vw, 3rem); }
.cine__aside { max-width: 30rem; margin-left: auto; margin-bottom: clamp(1rem, 2.5vw, 2rem); }
.cine__desc {
	color: rgba(242, 240, 232, 0.72);
	font-size: clamp(0.85rem, 1vw, 1rem);
	line-height: 1.3;
	animation: cineFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.cine__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 1.35rem;
	background: var(--accent);
	color: #07070c;
	border-radius: 9999px;
	padding: 0.4rem 0.45rem 0.4rem 1.25rem;
	font-weight: 600;
	font-size: clamp(0.85rem, 1vw, 1rem);
	transition: gap 0.25s ease;
	animation: cineFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.cine__cta:hover { gap: 0.95rem; }
.cine__cta-circle {
	display: grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	background: #07070c;
	color: #f2f0e8;
	border-radius: 9999px;
	transition: transform 0.25s ease;
}
.cine__cta:hover .cine__cta-circle { transform: scale(1.1); }

.cine__title {
	margin: 0;
	font-size: clamp(3rem, 16vw, 15rem);
	font-weight: 500;
	line-height: 0.85;
	letter-spacing: -0.06em;
	color: #f2f0e8;
	white-space: nowrap;
}
.pull { display: inline-block; }
.pull__i {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	animation: pullUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cine__ast { font-size: 0.31em; vertical-align: super; margin-left: -0.04em; color: var(--accent); }
@keyframes pullUp { to { opacity: 1; transform: translateY(0); } }
@keyframes cineFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.pull__i { opacity: 1; transform: none; animation: none; }
	.cine__desc, .cine__cta { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 700px) {
	.cine__frame { min-height: 80vh; }
	.cine__aside { max-width: 100%; margin-left: 0; }
	.cine__title { white-space: normal; font-size: clamp(3.5rem, 24vw, 9rem); }
}

/* --- Liquid glass utility --- */
.liquid-glass {
	background: rgba(255, 255, 255, 0.01);
	background-blend-mode: luminosity;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: none;
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
}
.liquid-glass::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.4px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.45) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* --- Partners carousel (dark) --- */
.partners { position: relative; overflow: hidden; }
.partners__glow {
	position: absolute;
	left: 50%;
	top: 0;
	width: 60%;
	height: 16rem;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(132, 92, 255, 0.18), transparent);
	pointer-events: none;
}
.partners__head { text-align: center; max-width: 42rem; margin-inline: auto; }
.partners__head .section-label { justify-content: center; }
.partners__sub { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-top: 1rem; }
.partners__rows { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 3rem; }
.partners__row .marquee { gap: 1.25rem; animation-duration: 46s; }
.partners__row--rev .marquee { animation-direction: reverse; animation-duration: 54s; }
.partners__row:hover .marquee { animation-play-state: paused; }

.partner-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.7rem 1.4rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	white-space: nowrap;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.partner-chip:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.partner-logo { display: inline-flex; }
.partner-logo svg { width: 22px; height: 22px; display: block; }
.partner-dot { width: 0.6rem; height: 0.6rem; border-radius: 9999px; flex-shrink: 0; }
.partner-name { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.partner-chip:hover .partner-name { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.partners__row .marquee { animation: none; }
}

/* --- Blog section (light band, Codecademy-style cards) --- */
.blog-sec { background: #f4f3ec; color: #14141a; padding-block: var(--section-pad); }
.blog-sec .section-label { color: var(--primary); }
.blog-sec .section-title { color: #14141a; }
.blog-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.blog-sec__more { display: inline-flex; align-items: center; gap: 0.4rem; color: #14141a; font-weight: 600; white-space: nowrap; }
.blog-sec__more:hover { color: var(--primary); }
.blog-sec__more svg { transition: transform 0.2s ease; }
.blog-sec__more:hover svg { transform: translateX(3px); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.blog-card {
	background: #fff;
	border: 1px solid #e2e2d8;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25); }
.blog-card__media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #e2e2d8; }
.blog-card:nth-child(3n+1) .blog-card__media { background: #eaf3d4; }
.blog-card:nth-child(3n+2) .blog-card__media { background: #f0e9d6; }
.blog-card:nth-child(3n) .blog-card__media { background: #e6f0fb; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__ph { color: rgba(20, 20, 26, 0.32); }
.blog-card__chip {
	position: absolute;
	top: 1rem;
	left: 1rem;
	border: 1px solid rgba(20, 20, 26, 0.35);
	border-radius: 9999px;
	padding: 0.25rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #14141a;
	background: rgba(255, 255, 255, 0.6);
	font-family: ui-monospace, Menlo, Consolas, monospace;
}
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__title { font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.blog-card__title a { color: #14141a; }
.blog-card__title a:hover { color: var(--primary); }
.blog-card__meta { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.85rem; font-size: 0.82rem; color: #6b6b70; flex-wrap: wrap; }
.blog-card__read { background: #ffe27a; color: #1a1a1a; padding: 0.1rem 0.5rem; border-radius: 4px; font-weight: 600; }
.blog-card__author { margin-left: auto; }
.blog-card__excerpt { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ececec; color: #4a4a52; font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* --- Services page --- */
.svc-page + .svc-page { padding-top: 0; }
.svc-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.svc-page-card { padding: 1.75rem; display: flex; flex-direction: column; scroll-margin-top: 110px; color: var(--foreground); text-decoration: none; }
.svc-page-card h3 { color: var(--foreground); }
.svc-page-card:hover h3 { color: var(--accent); }
.svc-page-card__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 14px;
	color: var(--accent);
	background: linear-gradient(135deg, rgba(132, 92, 255, 0.22), rgba(255, 211, 0, 0.14));
}
.svc-page-card h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.1rem; }
.svc-page-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-top: 0.6rem; flex: 1; }
.svc-page-card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.svc-page-card__link svg { transition: transform 0.2s ease; }
.svc-page-card__link:hover svg { transform: translateX(3px); }

.svc-cta {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}
.svc-cta h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 400; }
.svc-cta p { color: var(--muted); max-width: 40rem; margin: 1rem auto 2rem; line-height: 1.6; }

@media (max-width: 900px) { .svc-page-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-page-grid { grid-template-columns: 1fr; } }

/* --- Reusable page banner (title + breadcrumb over image) --- */
.page-banner { position: relative; overflow: hidden; isolation: isolate; }
.page-banner__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
}
.page-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(7, 7, 12, 0.7) 0%, rgba(7, 7, 12, 0.55) 45%, rgba(7, 7, 12, 0.95) 100%);
}
.page-banner__inner { padding-block: clamp(3.5rem, 8vw, 7rem); }
.page-banner__title { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 500; letter-spacing: -0.02em; margin: 1rem 0 0; }
.page-banner__desc { color: rgba(243, 243, 248, 0.75); font-size: 1.12rem; line-height: 1.6; max-width: 42rem; margin: 1.1rem 0 0; }
.page-banner__btn { margin-top: 2rem; }
.page-banner__btn svg { transition: transform 0.2s ease; }
.page-banner__btn:hover svg { transform: translateX(3px); }

.breadcrumb { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; font-size: 0.85rem; }
.breadcrumb a { color: rgba(243, 243, 248, 0.7); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumb__current { color: var(--foreground); font-weight: 500; }

/* --- Contact page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; align-items: start; }
.contact-info h2, .contact-form-card h2 { font-size: 1.5rem; font-weight: 500; }
.contact-info__lead { color: var(--muted); margin-top: 0.75rem; line-height: 1.6; }
.contact-info__list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.contact-info__item { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-info__ic {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	flex-shrink: 0;
	border-radius: 12px;
	color: var(--accent);
	background: rgba(255, 211, 0, 0.12);
}
.contact-info__text { display: flex; flex-direction: column; }
.contact-info__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-info__text a, .contact-info__text span:last-child { color: var(--foreground); font-weight: 500; margin-top: 0.15rem; }
.contact-info__text a:hover { color: var(--accent); }
.contact-info .social-links { margin-top: 2rem; }

.contact-form-card { padding: 2rem; border-radius: 20px; }
.contact-form-card .enquiry-form { margin-top: 1.5rem; }

@media (max-width: 820px) {
	.contact-grid { grid-template-columns: 1fr; }
}

/* --- Floating action buttons (WhatsApp / Call / AI) --- */
.fab {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 150;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.85rem;
}
.fab__btn {
	position: relative;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	border: none;
	cursor: pointer;
	color: #fff;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.55);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	animation: fabIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fab__btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6); }
.fab__btn--wa { background: #25d366; }
.fab__btn--call { background: #ffffff; color: #07070c; }
.fab__btn svg { display: block; }

/* hover label pill */
.fab__btn::after {
	content: attr(data-label);
	position: absolute;
	right: calc(100% + 0.7rem);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	white-space: nowrap;
	background: rgba(10, 10, 16, 0.92);
	color: #fff;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.6);
}
.fab__btn:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes fabIn { from { opacity: 0; transform: translateY(14px) scale(0.85); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
	.fab { right: 1rem; bottom: 1rem; gap: 0.7rem; }
	.fab__btn { width: 3rem; height: 3rem; }
	.fab__btn svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.fab__btn { animation: none; }
}

/* --- Enquiry modal (liquid glass) --- */
.enquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}
.enquiry-modal.is-open { display: flex; }
.enquiry-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: modalFade 0.25s ease;
}
.enquiry-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 34rem;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 22px;
	padding: 2rem;
	background: rgba(16, 16, 24, 0.55);
	background-blend-mode: normal;
	animation: modalUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.enquiry-modal__close {
	position: absolute;
	top: 0.9rem;
	right: 1.1rem;
	z-index: 2;
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}
.enquiry-modal__close:hover { color: #fff; }
.enquiry-modal__title { font-size: 1.5rem; font-weight: 500; color: #fff; }
.enquiry-modal__sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

.enquiry-form { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.enquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 0.7rem 0.9rem;
	color: #fff;
	font-size: 0.9rem;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.08); }
.enquiry-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.5) 50%), linear-gradient(135deg, rgba(255,255,255,0.5) 50%, transparent 50%); background-position: right 1rem center, right 0.75rem center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.enquiry-form select option, .enquiry-form select optgroup { color: #111; }
.enquiry-form textarea { resize: vertical; min-height: 6rem; }
.enquiry-submit { justify-content: center; margin-top: 0.35rem; }
.enquiry-submit.is-loading { opacity: 0.6; pointer-events: none; }
.enquiry-status { min-height: 1.2em; text-align: center; font-size: 0.85rem; margin: 0.25rem 0 0; }
.enquiry-status.is-success { color: var(--accent); }
.enquiry-status.is-error { color: #ff6b6b; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
	.enquiry-row { grid-template-columns: 1fr; }
	.enquiry-modal__dialog { padding: 1.5rem; }
}

/* --- Hero variant B (liquid glass) --- */
.hero2 { position: relative; min-height: 100vh; background: #000; overflow: hidden; display: flex; flex-direction: column; }
.hero2__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(17%); z-index: 0; }
.hero2__inner { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; }

.hero2__nav { position: relative; z-index: 20; padding: 1.5rem; }
.hero2__nav-pill { max-width: 64rem; margin-inline: auto; border-radius: 9999px; padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.hero2__logo { display: flex; align-items: center; gap: 2rem; }
.hero2__brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 600; font-size: 1.125rem; }
.hero2__links { display: none; gap: 2rem; }
.hero2__links a { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; font-weight: 500; transition: color 0.2s ease; }
.hero2__links a:hover { color: #fff; }
.hero2__nav-actions { display: flex; align-items: center; gap: 1rem; }
.hero2__signup { color: #fff; font-size: 0.9rem; font-weight: 500; background: none; border: none; cursor: pointer; }
.hero2__login { border-radius: 9999px; padding: 0.5rem 1.5rem; color: #fff; font-size: 0.9rem; cursor: pointer; }

.hero2__content { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; text-align: center; }
.hero2__title { color: #fff; margin: 0 auto 1.25rem; max-width: 20ch; font-weight: 600; letter-spacing: -0.02em; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
.hero2__subtitle { color: rgba(255, 255, 255, 0.85); font-size: clamp(0.9rem, 1.1vw, 1.05rem); line-height: 1.6; max-width: 34rem; margin: 0 auto; }
.hero2__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 2rem;
	border-radius: 9999px;
	padding: 0.85rem 1.85rem;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: gap 0.2s ease, background 0.2s ease;
}
.hero2__cta:hover { gap: 0.85rem; background: rgba(255, 255, 255, 0.06); }
.hero2__cta svg { transition: transform 0.2s ease; }
.hero2__cta:hover svg { transform: translateX(3px); }

.hero2__social { position: relative; z-index: 10; display: flex; justify-content: center; gap: 1rem; padding-bottom: 3rem; }
.hero2__social a { border-radius: 9999px; padding: 1rem; color: rgba(255, 255, 255, 0.8); display: grid; place-items: center; transition: color 0.2s ease, background 0.2s ease; }
.hero2__social a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

@media (min-width: 768px) {
	.hero2__links { display: flex; }
}

/* ==========================================================================
   Grids / cards
   ========================================================================== */

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.5rem; text-align: center; }
.stat__value { font-size: 2.25rem; font-weight: 500; }
.stat__label { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card { padding: 1.75rem; height: 100%; }
.service-card:nth-child(1), .service-card:nth-child(4) { grid-column: span 2; }
.service-card__icon {
	display: grid; place-items: center;
	width: 3rem; height: 3rem;
	border-radius: 0.85rem;
	font-size: 1.5rem;
	background: linear-gradient(135deg, rgba(132, 92, 255, 0.2), rgba(255, 211, 0, 0.1));
}
.service-card h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.service-card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.project-card, .post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.project-card__media, .post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.project-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-card__media img, .post-card:hover .post-card__media img { transform: scale(1.05); }
.media-placeholder {
	display: grid; place-items: center; height: 100%;
	font-size: 2.5rem; font-weight: 500; color: rgba(243, 243, 248, 0.6);
	background: linear-gradient(135deg, rgba(132, 92, 255, 0.2), rgba(255, 211, 0, 0.1));
}
.project-card__body, .post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.project-card__body h3, .post-card__body h3 { font-size: 1.1rem; }
.project-card__body p, .post-card__body p { color: var(--muted); font-size: 0.9rem; }
.post-card__date, .post-card__meta { color: var(--muted); font-size: 0.8rem; }

/* CTA */
.cta-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 1.75rem;
	padding: 4rem 2rem;
	text-align: center;
}
.cta-panel h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; }
.cta-panel p { max-width: 34rem; margin: 1rem auto 0; color: var(--muted); }
.cta-panel .btn-primary { margin-top: 2rem; }

/* ==========================================================================
   Page hero + article
   ========================================================================== */

.page-hero { position: relative; overflow: hidden; padding-block: 5rem 3rem; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 500; margin-top: 0.5rem; }
.page-hero__sub { color: var(--muted); font-size: 1.15rem; margin-top: 1.25rem; max-width: 42rem; }

.article-hero { position: relative; overflow: hidden; padding-block: 4rem 2rem; }
.article-chips { margin-top: 1.25rem; }
.article-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 500; margin-top: 1rem; }
.article-meta { color: var(--muted); margin-top: 0.75rem; font-size: 0.9rem; }
.article-cover { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.project-meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

.article-content {
	margin-top: 2.5rem;
	font-size: 1.05rem;
	line-height: 1.85;
	color: #d6d6e2;
}
.article-content > * + * { margin-top: 1.4rem; }
.article-content h2 { font-size: 1.75rem; margin-top: 2.5rem; color: var(--foreground); scroll-margin-top: 110px; }
.article-content [id] { scroll-margin-top: 110px; }
.article-content h3 { font-size: 1.35rem; margin-top: 2rem; color: var(--foreground); }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content img { border-radius: 0.9rem; margin-block: 1.5rem; }
.article-content blockquote {
	border-left: 3px solid var(--primary);
	padding-left: 1.25rem;
	color: var(--muted);
	font-style: italic;
}
.article-content ul, .article-content ol { padding-left: 1.4rem; }
.article-content code {
	background: var(--surface);
	padding: 0.15rem 0.4rem;
	border-radius: 0.35rem;
	font-size: 0.9em;
}
.article-content pre {
	background: var(--surface);
	padding: 1.25rem;
	border-radius: 0.75rem;
	overflow-x: auto;
	border: 1px solid var(--border);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	position: relative;
	border-top: 1px solid var(--border);
	background: #050509;
}

/* Mega grid: 3 columns + divider + 3 columns */
.footer-mega {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 1px repeat(3, minmax(0, 1fr));
	gap: 2rem 2rem;
	padding-block: 4rem 1.5rem;
}
.footer-col { display: flex; flex-direction: column; gap: 2.25rem; min-width: 0; }
.footer-divider { width: 1px; align-self: stretch; background: var(--border); }

.fcol-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 1.15rem; }
.fcol-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.78rem; }
.fcol-list a { color: #bdbdc9; font-size: 0.95rem; transition: color 0.2s ease; }
.fcol-list a:hover { color: #fff; }

.footer-socials { display: flex; gap: 1rem; margin-top: 0.25rem; }
.fsocial { display: inline-flex; color: #bdbdc9; transition: color 0.2s ease, transform 0.2s ease; }
.fsocial:hover { color: #fff; transform: translateY(-2px); }
.fsocial svg { display: block; }

.app-badges { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.app-badge { display: inline-block; border-radius: 8px; overflow: hidden; transition: transform 0.2s ease, opacity 0.2s ease; }
.app-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.app-badge svg { display: block; height: auto; }

/* Brand row */
.footer-brand-row { display: flex; align-items: center; gap: 0.85rem; padding-block: 2rem 3rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.footer-from { color: #7c7c8c; font-size: 0.85rem; }

/* Bottom legal bar */
.footer-bottom-wrap { position: relative; border-top: 1px solid var(--border); }
.footer-logo-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	line-height: 0;
	padding: 0 1rem;
	background: #050509;
}
.footer-logo-badge img { width: 42px; height: auto; display: block; }
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding-block: 2.75rem 2rem;
	flex-wrap: wrap;
}
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.legal-menu li { position: relative; }
.legal-menu li + li { margin-left: 1.6rem; }
.legal-menu li + li::before { content: "|"; position: absolute; left: -0.95rem; color: #3a3a48; }
.legal-menu a { color: #bdbdc9; font-size: 0.9rem; transition: color 0.2s ease; }
.legal-menu a:hover { color: #fff; }
.made-with { display: flex; align-items: center; gap: 0.35rem; color: #cfcfda; font-size: 0.9rem; font-weight: 600; }
.made-with .heart { color: #ff5fa2; font-size: 1.05rem; }

@media (max-width: 1100px) {
	.footer-mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-divider { display: none; }
}
@media (max-width: 720px) {
	.footer-mega { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
	.footer-mega { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Search form, pagination
   ========================================================================== */

.search-form { display: flex; gap: 0.5rem; }
.search-field {
	flex: 1;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	padding: 0.7rem 1rem;
	color: var(--foreground);
	outline: none;
}
.search-field:focus { border-color: var(--primary); }

.pagination-wrap { margin-top: 3rem; }
.pagination-wrap .nav-links { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--border);
	border-radius: 0.6rem;
	color: var(--muted);
	background: var(--surface);
}
.pagination-wrap .page-numbers.current { background: var(--primary); color: #fff; border-color: transparent; }
.pagination-wrap .page-numbers:hover { color: var(--foreground); }

/* comments (minimal) */
.comment-list { list-style: none; padding: 0; }
.comments-area { margin-top: 3rem; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 0.6rem;
	padding: 0.65rem 0.9rem;
	color: var(--foreground);
	margin-bottom: 0.75rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.bento-grid { grid-template-columns: repeat(2, 1fr); }
	.service-card:nth-child(1), .service-card:nth-child(4) { grid-column: span 2; }
	.cards-grid, .cards-grid--2 { grid-template-columns: 1fr 1fr; }
	.site-footer__main { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 780px) {
	.site-header__inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.site-nav { display: none; }
	.header-cta { display: none; }
	.site-header__actions .call-us { display: none; }
	.nav-toggle { display: flex; }
}

@media (max-width: 600px) {
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.bento-grid { grid-template-columns: 1fr; }
	.service-card:nth-child(1), .service-card:nth-child(4) { grid-column: span 1; }
	.cards-grid, .cards-grid--2 { grid-template-columns: 1fr; }
	.section { padding-block: 3rem; }
}

/* ======================= Lenis Smooth Scroll ======================= */
html.lenis, html.lenis body {
	height: auto;
}
.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}
.lenis.lenis-stopped {
	overflow: hidden;
}
.lenis.lenis-smooth iframe {
	pointer-events: none;
}

/* ======================= Tailored Solutions Bento (Light Section) ======================= */
.light-section {
	background-color: #ffffff;
	color: #000000;
	padding-block: var(--section-pad);
}

.ts-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 3rem;
}

.ts-title {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
}

.ts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.5rem;
}

.ts-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ts-card {
	background-color: #f4f4f4;
	border-radius: 16px;
	position: relative;
	display: flex;
	flex-direction: column;
	border: none;
}

.ts-card--padded {
	padding: 2.5rem;
}

.ts-card--img-full {
	padding: 0;
	height: 100%;
	min-height: 500px;
	overflow: hidden;
}

.ts-card--img-bottom {
	overflow: hidden;
	flex: 1;
}

.ts-card--img-full img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ts-card-title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 0 0;
}

.ts-card-title--small {
	font-size: 1.125rem;
	padding: 2.5rem 2.5rem 0 2.5rem;
	margin: 0 0 1.5rem 0;
}

.ts-img-wide {
	width: 100%;
	height: 200px;
	object-fit: cover;
	margin-top: auto;
	border-radius: 0 0 20px 20px;
}

.ts-card--flex-col {
	justify-content: space-between;
	flex: 1;
}

.ts-stat-block {
	margin-top: 2rem;
}

.ts-stat {
	font-size: clamp(4rem, 8vw, 6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -2px;
}

.ts-stat-label {
	color: #888888;
	font-size: 1rem;
	font-weight: 500;
	margin-top: 0.5rem;
}

.ts-rating {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 2rem;
}

.ts-rating-num {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.ts-stars {
	color: #ffd300;
	font-size: 1.25rem;
	letter-spacing: 2px;
}

.ts-avatars {
	display: flex;
	align-items: center;
	margin-top: 1rem;
}

.avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 3px solid #f7f7f7;
	margin-left: -12px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.25rem;
}

.avatar:first-child {
	margin-left: 0;
}

.avatar-1 { background-image: url('https://i.pravatar.cc/100?img=47'); }
.avatar-2 { background-image: url('https://i.pravatar.cc/100?img=12'); }
.avatar-3 { background-image: url('https://i.pravatar.cc/100?img=33'); }
.avatar-4 { background-image: url('https://i.pravatar.cc/100?img=60'); }

.avatar-plus {
	background-color: var(--primary);
	color: #000000;
	z-index: 10;
}

.avatar-plus svg {
	fill: currentColor;
	width: 16px;
	height: 16px;
}

@media (max-width: 1024px) {
	.ts-grid {
		grid-template-columns: 1fr;
	}
	.ts-card--img-full {
		height: 400px;
	}
	.ts-header {
		flex-direction: column;
		gap: 1.5rem;
	}
	.ts-title {
		font-size: 2rem;
	}
}

/* ======================= CTA Banner ======================= */
.ts-cta-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #0b0e14;
	border: 1px solid #1f2937;
	border-radius: 8px;
	padding: 1.5rem 2rem 1.5rem 3rem;
	margin-top: 3rem;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: border-color 0.3s ease;
}

.ts-cta-banner:hover {
	border-color: #fcd34d;
}

.ts-cta-banner__left {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	position: relative;
	z-index: 2;
}

.ts-cta-banner__pattern {
	position: absolute;
	left: -3rem;
	top: -1.5rem;
	bottom: -1.5rem;
	width: 2rem;
	background-image: radial-gradient(#374151 1px, transparent 1px);
	background-size: 4px 4px;
	opacity: 0.5;
}

.ts-cta-banner__icon {
	color: #fcd34d;
	display: flex;
	align-items: center;
}

.ts-cta-banner__content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ts-cta-banner__title {
	color: #fcd34d;
	font-family: inherit; /* Urbanist, same as the rest of the site */
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
}

.ts-cta-banner__desc {
	color: #e5e7eb;
	font-size: 0.875rem;
	margin: 0;
}

.ts-cta-banner__right {
	color: #fcd34d;
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

.ts-cta-banner:hover .ts-cta-banner__right {
	transform: translateX(4px);
}

@media (max-width: 768px) {
	.ts-cta-banner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
		padding: 1.5rem;
		padding-left: 2.5rem;
	}
	.ts-cta-banner__pattern {
		left: -2.5rem;
	}
	.ts-cta-banner__right {
		align-self: flex-end;
	}
}

/* ======================= Industry Section ======================= */
.industry-section {
	background-color: #030303;
	color: #ffffff;
	padding-block: var(--section-pad);
	position: relative;
	border-bottom-left-radius: 80px;
}

.industry-header {
	margin-bottom: 4rem;
}

.industry-subtitle {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 2px;
	color: #a0a0a0;
	text-transform: uppercase;
	display: block;
	margin-bottom: 1rem;
}

.industry-title {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 0.5rem 0;
	color: #fff;
}

.industry-desc {
	font-size: 1.125rem;
	color: #d0d0d0;
	margin: 0;
}

.industry-slider-wrapper {
	margin: 0 -1rem;
	padding: 0 1rem;
}

.industry-slider {
	width: 100%;
	height: 420px;
	overflow: hidden;
}

.industry-card {
	position: relative;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: #111;
}

@media (min-width: 768px) {
	.industry-slider {
		height: 460px;
	}
	.industry-slider-wrapper {
		margin: 0;
		padding: 0;
	}
}

.industry-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.industry-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
	z-index: 2;
}

.industry-card__title {
	position: relative;
	z-index: 3;
	padding: 2rem;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
}

.industry-card__cutout {
	position: absolute;
	bottom: -1px;
	left: -1px;
	width: 45%;
	height: 60px;
	background: #030303;
	z-index: 5;
	border-top-right-radius: 20px;
}

.cutout-curve-1 {
	position: absolute;
	bottom: 59px;
	left: 0;
	width: 20px;
	height: 20px;
	background: transparent;
	border-bottom-left-radius: 20px;
	box-shadow: 0 10px 0 0 #030303;
}

.cutout-curve-2 {
	position: absolute;
	bottom: 0;
	left: 45%;
	width: 20px;
	height: 20px;
	background: transparent;
	border-bottom-left-radius: 20px;
	box-shadow: -10px 0 0 0 #030303;
}

.industry-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 3rem;
	gap: 2rem;
}

.industry-disclaimer {
	font-size: 0.875rem;
	color: #a0a0a0;
	margin: 0;
	max-width: 600px;
}

.industry-nav {
	display: flex;
	gap: 0.75rem;
}

.industry-nav__btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #1a1a1a;
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s, transform 0.2s;
}

.industry-nav__btn:hover {
	background: #333;
	transform: scale(1.05);
}

/* ============================================================
   Selected Work — GSAP pinned horizontal showcase
   ============================================================ */
.work {
	position: relative;
	background: #050509;
	overflow: clip;
}
.work__stage { padding-block: var(--section-pad); }
.work__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}
.work__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}
.work__more:hover { color: var(--accent); }
.work__more svg { transition: transform 0.2s ease; }
.work__more:hover svg { transform: translateX(3px); }

.work__viewport { overflow: hidden; }
/* No-JS / reduced-motion fallback: plain horizontal swipe */
.work__viewport:not(.is-gsap) { overflow-x: auto; scrollbar-width: none; }
.work__viewport:not(.is-gsap)::-webkit-scrollbar { display: none; }

.work__track {
	display: flex;
	gap: 2rem;
	width: max-content;
	padding-inline: max(1.5rem, calc((100vw - 1280px) / 2));
	will-change: transform;
}
.work-card {
	width: clamp(300px, 42vw, 560px);
	flex-shrink: 0;
}
.work-card__link { display: block; color: inherit; }
.work-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.work-card__img {
	width: 110%;
	height: 110%;
	object-fit: cover;
	display: block;
	will-change: transform;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card__img--grad { width: 110%; height: 110%; }
.work-card__link:hover .work-card__img { transform: scale(1.05); }
.work-card__num {
	position: absolute;
	right: 1.1rem;
	bottom: 0.4rem;
	font-size: clamp(3.5rem, 6vw, 5.5rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.18);
	letter-spacing: -0.04em;
	pointer-events: none;
}
.work-card__body {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.35rem 1rem;
	padding-top: 1.15rem;
}
.work-card__meta {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.work-card__chip {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	border: 1px solid rgba(255, 211, 0, 0.35);
	border-radius: 9999px;
	padding: 0.25rem 0.7rem;
}
.work-card__client { color: var(--muted); font-size: 0.85rem; }
.work-card__title { font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 600; letter-spacing: -0.01em; }
.work-card__arrow {
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.work-card__link:hover .work-card__arrow {
	background: var(--accent);
	color: #0a0a10;
	transform: rotate(-45deg);
}

.work__progress {
	margin-top: 2.5rem;
	height: 3px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}
.work__progress span {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	border-radius: inherit;
}

/* ============================================================
   Testimonials — scroll-drift rows
   ============================================================ */
.tsl { background: #07070c; overflow: clip; }
.tsl__head { text-align: center; margin-bottom: 3.5rem; }
.tsl__head .section-label { justify-content: center; }

.tsl__rows { display: flex; flex-direction: column; gap: 1.5rem; }
.tsl__row {
	display: flex;
	gap: 1.5rem;
	width: max-content;
	will-change: transform;
	padding-inline: 1.5rem;
}
.tsl__row[data-tsl-row="-1"] { margin-left: auto; }

.tsl-card {
	width: clamp(280px, 30vw, 400px);
	flex-shrink: 0;
	margin: 0;
	padding: 1.75rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: border-color 0.3s ease, transform 0.3s ease;
}
.tsl-card:hover { border-color: rgba(255, 211, 0, 0.35); transform: translateY(-4px); }
.tsl-card__stars { color: var(--accent); letter-spacing: 0.2em; font-size: 0.9rem; }
.tsl-card__quote {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	flex-grow: 1;
}
.tsl-card__who { display: flex; align-items: center; gap: 0.85rem; }
.tsl-card__avatar {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	font-size: 0.85rem;
	font-weight: 700;
	color: #0a0a10;
	background: linear-gradient(135deg, var(--accent), #ff9a3d);
	flex-shrink: 0;
}
.tsl-card__name { display: block; font-weight: 600; font-size: 0.95rem; }
.tsl-card__role { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }

.tsl__foot {
	margin-top: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.tsl__rating { color: var(--muted); font-size: 0.95rem; }
.tsl__rating strong { color: #fff; font-size: 1.15rem; margin-right: 0.35rem; }

@media (max-width: 768px) {
	.work__stage { padding-block: 4.5rem 3rem; }
	.work__track { gap: 1.25rem; padding-inline: 1.25rem; }
	.work-card { width: min(78vw, 420px); }
	.tsl__row { gap: 1rem; padding-inline: 1rem; }
	.tsl-card { width: min(80vw, 340px); }
}

/* ============================================================
   Stats counter band
   ============================================================ */
.stats {
	background: #07070c;
	border-block: 1px solid rgba(255, 255, 255, 0.07);
	padding-block: 3.5rem;
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}
.stats__item {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	text-align: center;
	position: relative;
}
.stats__item + .stats__item::before {
	content: "";
	position: absolute;
	left: -1rem;
	top: 15%;
	height: 70%;
	width: 1px;
	background: rgba(255, 255, 255, 0.08);
}
.stats__num {
	font-size: clamp(2.4rem, 5vw, 3.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.stats__label {
	color: var(--muted);
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
@media (max-width: 768px) {
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; }
	.stats__item:nth-child(odd)::before { display: none; }
}

/* ============================================================
   Services — sticky-stack cards
   ============================================================ */
.stack { background: #050509; }
.stack__head { margin-bottom: 3.5rem; }
.stack__cards {
	display: grid;
	gap: 1.75rem;
}
.stack-card {
	position: sticky;
	top: calc(6.5rem + var(--i) * 1.4rem);
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	will-change: transform;
	transform-origin: center top;
	box-shadow: 0 -18px 50px -30px rgba(0, 0, 0, 0.8);
}
.stack-card__top {
	display: flex;
	align-items: flex-start;
	gap: 1.15rem;
	margin-bottom: 1.9rem;
}
.stack-card__icon {
	width: 3.25rem;
	height: 3.25rem;
	flex-shrink: 0;
	border-radius: 14px;
	display: grid;
	place-items: center;
	color: var(--accent);
	background: rgba(255, 211, 0, 0.08);
	border: 1px solid rgba(255, 211, 0, 0.22);
}
.stack-card__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.01em; }
.stack-card__tag { color: var(--muted); margin-top: 0.35rem; font-size: 0.95rem; }
.stack-card__num {
	margin-left: auto;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.1);
	letter-spacing: -0.04em;
}
.stack-card__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}
.stack-card__link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.92rem;
	font-weight: 500;
	transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.stack-card__link svg:first-child { color: var(--accent); flex-shrink: 0; }
.stack-card__link svg:last-child { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: 0.25s ease; flex-shrink: 0; }
.stack-card__link:hover { border-color: rgba(255, 211, 0, 0.4); background: rgba(255, 211, 0, 0.06); color: #fff; }
.stack-card__link:hover svg:last-child { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
	.stack-card__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.stack-card__grid { grid-template-columns: 1fr; }
	.stack-card { top: calc(5.5rem + var(--i) * 1rem); }
	.stack-card__num { display: none; }
}

/* ============================================================
   Tech-stack orbit
   ============================================================ */
.orbit-sec { background: #07070c; overflow: clip; }
.orbit-sec__head { text-align: center; }
.orbit-sec__head .section-label { justify-content: center; }
.orbit-sec__sub { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 1rem auto 0; max-width: 38rem; }

.orbit {
	position: relative;
	width: min(640px, 92vw);
	aspect-ratio: 1;
	margin: 4rem auto 0;
}
.orbit__glow {
	position: absolute;
	inset: 24%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 211, 0, 0.14) 0%, rgba(132, 92, 255, 0.1) 45%, transparent 70%);
	filter: blur(10px);
}
.orbit__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.13);
	animation: orbitSpin 56s linear infinite;
}
.orbit__ring--1 {
	inset: 19%;
	animation: orbitSpin 36s linear infinite reverse;
	border-color: rgba(255, 255, 255, 0.09);
}
.orbit__pos {
	position: absolute;
	inset: 0;
	transform: rotate(var(--a));
	pointer-events: none;
}
.orbit__chip {
	position: absolute;
	top: 50%;
	left: 0;
	width: 3.5rem;
	height: 3.5rem;
	transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
	border-radius: 50%;
	background: rgba(16, 16, 24, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
	display: grid;
	place-items: center;
	pointer-events: auto;
}
.orbit__chip-in {
	display: grid;
	place-items: center;
	font-size: 1.15rem;
	animation: orbitSpin 56s linear infinite reverse;
}
.orbit__ring--1 .orbit__chip-in { animation: orbitSpin 36s linear infinite; }
.orbit__chip svg { width: 24px; height: 24px; display: block; }
.orbit__chip b { font-weight: 800; }

.orbit__core {
	position: absolute;
	inset: 36%;
	border-radius: 50%;
	background: rgba(12, 12, 18, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	display: grid;
	place-items: center;
	box-shadow: 0 0 60px -12px rgba(255, 211, 0, 0.25);
}
.orbit__core img { width: clamp(40px, 8vw, 58px); height: auto; }

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

@media (max-width: 560px) {
	.orbit__chip { width: 2.75rem; height: 2.75rem; }
	.orbit__chip svg { width: 19px; height: 19px; }
	.orbit__chip-in { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
	.orbit__ring, .orbit__chip-in { animation: none; }
}

/* ============================================================
   Footer — electric energy flowing into the A mark
   ============================================================ */
.footer-bottom-wrap { overflow: visible; }

/* Horizontal tracks: sit exactly on the border-top line, each covering
   one half minus a gap for the badge. Pulses are clipped inside. */
.fbw-flow {
	position: absolute;
	pointer-events: none;
	overflow: hidden;
}
.fbw-flow--left,
.fbw-flow--right {
	top: -2px;
	height: 3px;
	width: calc(50% - 44px);
}
.fbw-flow--left { left: 0; }
.fbw-flow--right { right: 0; }

.fbw-flow i {
	position: absolute;
	display: block;
}
.fbw-flow--left i,
.fbw-flow--right i {
	top: 0;
	height: 100%;
	width: 170px;
	background: linear-gradient(90deg, transparent, rgba(255, 211, 0, 0.65) 45%, #fff 50%, rgba(255, 211, 0, 0.65) 55%, transparent);
	filter: drop-shadow(0 0 6px rgba(255, 211, 0, 0.9));
	border-radius: 9999px;
}
.fbw-flow--left i { left: 0; animation: fbwFlowRight 3.6s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.fbw-flow--right i { right: 0; animation: fbwFlowLeft 3.6s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes fbwFlowRight {
	0%       { transform: translateX(-170px); opacity: 0; }
	12%      { opacity: 1; }
	88%      { opacity: 1; }
	100%     { transform: translateX(calc(50vw - 44px)); opacity: 0; }
}
@keyframes fbwFlowLeft {
	0%       { transform: translateX(170px); opacity: 0; }
	12%      { opacity: 1; }
	88%      { opacity: 1; }
	100%     { transform: translateX(calc(-50vw + 44px)); opacity: 0; }
}

/* Vertical track: a faint line rising from the badge, pulse flows down into it */
.fbw-flow--down {
	left: 50%;
	top: -150px;
	height: 148px;
	width: 3px;
	transform: translateX(-50%);
}
.fbw-flow--down::before {
	content: "";
	position: absolute;
	inset: 0 1px;
	background: linear-gradient(to bottom, transparent, var(--border));
}
.fbw-flow--down i {
	left: 0;
	width: 100%;
	height: 56px;
	background: linear-gradient(to bottom, transparent, rgba(255, 211, 0, 0.65) 45%, #fff 55%, transparent);
	filter: drop-shadow(0 0 6px rgba(255, 211, 0, 0.9));
	border-radius: 9999px;
	animation: fbwFlowDown 3.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes fbwFlowDown {
	0%       { transform: translateY(-56px); opacity: 0; }
	12%      { opacity: 1; }
	88%      { opacity: 1; }
	100%     { transform: translateY(148px); opacity: 0; }
}

/* The A mark charges up as the pulses arrive (end of each 3.6s cycle) */
.footer-logo-badge img {
	animation: fbwCharge 3.6s ease-in-out infinite;
}
@keyframes fbwCharge {
	0%, 78%  { filter: drop-shadow(0 0 0 rgba(255, 211, 0, 0)); }
	92%      { filter: drop-shadow(0 0 10px rgba(255, 211, 0, 0.9)) drop-shadow(0 0 26px rgba(255, 211, 0, 0.45)); }
	100%     { filter: drop-shadow(0 0 2px rgba(255, 211, 0, 0.15)); }
}

@media (prefers-reduced-motion: reduce) {
	.fbw-flow { display: none; }
	.footer-logo-badge img { animation: none; }
}

/* ============================================================
   Dark sections — a DIFFERENT background per section
   (Partners keeps its own glow; video heroes untouched)
   ============================================================ */
.industry-section,
.stats,
.stack,
.work,
.orbit-sec,
.tsl {
	position: relative;
	overflow: clip; /* clip (not hidden) keeps position:sticky working */
	isolation: isolate;
}
.industry-section::before, .industry-section::after,
.stats::before,
.stack::before,
.work::before,
.orbit-sec::before, .orbit-sec::after,
.tsl::before, .tsl::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
}

/* --- 1. Industries: drifting dot matrix --- */
.industry-section::before {
	inset: -68px 0 0 -68px;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.6px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
	animation: dotsDrift 26s linear infinite;
}
@keyframes dotsDrift {
	to { transform: translate3d(34px, 34px, 0); }
}
/* soft violet haze anchored top-left */
.industry-section::after {
	inset: 0;
	background: radial-gradient(42% 55% at 8% 0%, rgba(132, 92, 255, 0.1), transparent 70%);
}

/* --- 2. Stats: light beam sweeping through the band --- */
.stats::before {
	inset: 0;
	background: linear-gradient(105deg,
		transparent 38%,
		rgba(255, 211, 0, 0.045) 47%,
		rgba(255, 255, 255, 0.07) 50%,
		rgba(255, 211, 0, 0.045) 53%,
		transparent 62%);
	background-size: 280% 100%;
	animation: statsSweep 8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes statsSweep {
	0%   { background-position: 120% 0; }
	100% { background-position: -120% 0; }
}

/* --- 3. Services stack: diagonal hatch slowly panning --- */
.stack::before {
	inset: -80px 0 0 -80px;
	background-image: repeating-linear-gradient(45deg,
		rgba(255, 255, 255, 0.035) 0 1px,
		transparent 1px 22px);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
	mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
	animation: hatchPan 40s linear infinite;
}
@keyframes hatchPan {
	to { transform: translate3d(62.2px, 62.2px, 0); } /* 2 stripe periods along 45° */
}

/* --- 4. Selected Work: giant conic mesh slowly revolving --- */
.work::before {
	inset: -25%;
	background: conic-gradient(from 0deg at 50% 45%,
		rgba(132, 92, 255, 0.09),
		transparent 22%,
		rgba(255, 211, 0, 0.05) 46%,
		transparent 68%,
		rgba(77, 214, 255, 0.06) 84%,
		rgba(132, 92, 255, 0.09));
	filter: blur(48px);
	animation: meshSpin 50s linear infinite;
	will-change: transform;
}
@keyframes meshSpin {
	to { transform: rotate(360deg); }
}

/* --- 5. Tech orbit: twinkling starfield (two parallax layers) --- */
.orbit-sec::before {
	inset: 0;
	background-image:
		radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent 100%),
		radial-gradient(1px 1px at 34% 68%, rgba(255, 255, 255, 0.45), transparent 100%),
		radial-gradient(1.5px 1.5px at 56% 14%, rgba(255, 255, 255, 0.55), transparent 100%),
		radial-gradient(1px 1px at 73% 45%, rgba(255, 255, 255, 0.4), transparent 100%),
		radial-gradient(1.5px 1.5px at 88% 76%, rgba(255, 255, 255, 0.6), transparent 100%),
		radial-gradient(1px 1px at 45% 88%, rgba(255, 255, 255, 0.35), transparent 100%);
	background-size: 460px 460px;
	animation: starTwinkle 5.5s ease-in-out infinite alternate;
}
.orbit-sec::after {
	inset: -120px 0 0 -120px;
	background-image:
		radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.35), transparent 100%),
		radial-gradient(1px 1px at 62% 58%, rgba(255, 255, 255, 0.3), transparent 100%),
		radial-gradient(1.5px 1.5px at 81% 18%, rgba(255, 255, 255, 0.4), transparent 100%),
		radial-gradient(1px 1px at 8% 78%, rgba(255, 255, 255, 0.3), transparent 100%);
	background-size: 620px 620px;
	animation: starTwinkle 7s ease-in-out -3s infinite alternate, starDrift 90s linear infinite;
}
@keyframes starTwinkle {
	from { opacity: 0.35; }
	to   { opacity: 1; }
}
@keyframes starDrift {
	to { transform: translate3d(120px, 120px, 0); }
}

/* --- 6. Testimonials: sonar rings pulsing outward --- */
.tsl::before {
	inset: 0;
	background: repeating-radial-gradient(circle at 50% 42%,
		rgba(255, 255, 255, 0.04) 0 1px,
		transparent 1px 110px);
	-webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 42%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 90% at 50% 42%, #000 30%, transparent 75%);
}
.tsl::after {
	left: 50%;
	top: 42%;
	width: 70vmax;
	height: 70vmax;
	margin: -35vmax 0 0 -35vmax;
	border-radius: 50%;
	background: radial-gradient(circle,
		transparent 46%,
		rgba(255, 211, 0, 0.07) 49%,
		transparent 52%);
	animation: sonarPing 7s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
@keyframes sonarPing {
	0%   { transform: scale(0.1); opacity: 0; }
	12%  { opacity: 1; }
	70%  { opacity: 0.25; }
	100% { transform: scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.industry-section::before,
	.stats::before,
	.stack::before,
	.work::before,
	.orbit-sec::before,
	.orbit-sec::after,
	.tsl::after { animation: none; }
	.tsl::after { display: none; }
}

/* ============================================================
   Live globe card (Cobe) — Framer-reference layout:
   small top bar / two bullet columns / half globe below
   ============================================================ */
.globe-card {
	--globe-line: rgba(255, 255, 255, 0.08);
	position: relative;
	border: 1px solid var(--globe-line);
	border-radius: 24px;
	background: #050508;
	overflow: hidden;
	isolation: isolate;
	font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
}

/* Row 1: brand + link */
.globe-card__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 1.75rem;
	border-bottom: 1px solid var(--globe-line);
}
.globe-card__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: #eaeaea;
	font-family: "Urbanist", system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0;
}
.globe-card__brand img { display: block; opacity: 0.9; }
.globe-card__dot {
	width: 7px;
	height: 7px;
	border-radius: 9999px;
	background: #4ade80;
	animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
	60%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.globe-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #eaeaea;
	transition: color 0.2s ease, gap 0.2s ease;
}
.globe-card__link:hover { color: var(--accent); gap: 0.7rem; }

/* Row 2: two bullet columns */
.globe-card__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 2rem;
	padding: 1.5rem 1.75rem 1.6rem;
	border-bottom: 1px solid var(--globe-line);
}
.globe-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.globe-card__list li {
	position: relative;
	padding-left: 1.1rem;
	color: #cfcfda;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.globe-card__list li::before {
	content: "\2022";
	position: absolute;
	left: 0;
	color: #6b6b7c;
}
.globe-card__list [data-live-count] {
	color: #fff;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Row 3: half globe */
.globe-wrap {
	position: relative;
	width: min(560px, 76%);
	margin: 2.25rem auto 0;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	pointer-events: none;
}
.globe-wrap::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -55%;
	width: 90%;
	aspect-ratio: 1;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 38%,
		rgba(255, 255, 255, 0.07),
		rgba(132, 92, 255, 0.05) 45%,
		transparent 68%);
	filter: blur(4px);
}
#av-globe {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 100%;
	aspect-ratio: 1;
	display: block;
}

@media (max-width: 640px) {
	.globe-card__cols { grid-template-columns: 1fr; }
	.globe-card { font-size: 0.82rem; }
	.globe-card__bar, .globe-card__cols { padding-inline: 1.15rem; }
	.globe-wrap { width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
	.globe-card__dot { animation: none; }
}

/* ============================================================
   Services slider cards (gradient + icon, reuses industry-card)
   ============================================================ */
a.industry-card { display: block; color: inherit; }
.industry-card__grad {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.industry-card:hover .industry-card__grad { transform: scale(1.05); }
.industry-card__icon {
	color: rgba(255, 255, 255, 0.92);
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
	transform: translateY(-14px);
}
.industry-disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.industry-disclaimer a:hover { color: var(--accent); }

/* ============================================================
   How we work — light process section
   ============================================================ */
.process-sec {
	background: #f4f3ec;
	color: #14141a;
	padding-block: var(--section-pad);
}
.process-sec .section-label { color: var(--primary); }
.process-sec .section-title { color: #14141a; }
.process-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 3.25rem;
}
.process-sec__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #14141a;
	font-weight: 600;
	white-space: nowrap;
}
.process-sec__more:hover { color: var(--primary); }
.process-sec__more svg { transition: transform 0.2s ease; }
.process-sec__more:hover svg { transform: translateX(3px); }

.process-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	counter-reset: step;
}
.process-step {
	--pc: #845cff;
	position: relative;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 20px;
	padding: 1.85rem 1.5rem 1.6rem;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
/* soft colour wash bleeding from the top-left */
.process-step::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--pc) 11%, transparent), transparent 55%);
	pointer-events: none;
	transition: opacity 0.35s ease;
}
/* accent line along the top edge */
.process-step::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 20%, transparent));
	transform: scaleX(0.25);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover {
	transform: translateY(-7px);
	border-color: color-mix(in srgb, var(--pc) 45%, #e6e4d8);
	box-shadow:
		0 24px 48px -22px color-mix(in srgb, var(--pc) 40%, transparent),
		0 6px 16px -8px rgba(20, 20, 26, 0.1);
}
.process-step:hover::after { transform: scaleX(1); }

.process-step__num {
	position: absolute;
	top: 0.85rem;
	right: 1.15rem;
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px color-mix(in srgb, var(--pc) 30%, transparent);
	transition: color 0.35s ease;
}
.process-step:hover .process-step__num { color: color-mix(in srgb, var(--pc) 18%, transparent); }

.process-step__icon {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 14px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 16%, #fff), color-mix(in srgb, var(--pc) 7%, #fff));
	border: 1px solid color-mix(in srgb, var(--pc) 22%, transparent);
	color: var(--pc);
	box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--pc) 55%, transparent);
	margin-bottom: 1.2rem;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover .process-step__icon { transform: scale(1.08) rotate(-4deg); }

.process-step__title { position: relative; font-size: 1.18rem; font-weight: 700; margin: 0 0 0.55rem; }
.process-step__desc { position: relative; color: #55544c; font-size: 0.93rem; line-height: 1.62; margin: 0 0 1.2rem; }

.process-step__chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pc);
	background: color-mix(in srgb, var(--pc) 9%, #fff);
	border: 1px solid color-mix(in srgb, var(--pc) 25%, transparent);
	border-radius: 9999px;
	padding: 0.32rem 0.8rem;
}
.process-step__chip i {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: var(--pc);
}

@media (max-width: 980px) {
	.process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.process-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   Industries page — grid of industry links
   ============================================================ */
.ind-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 2.75rem;
}
.ind-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.4rem 1.4rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.ind-card:hover {
	border-color: rgba(255, 211, 0, 0.4);
	background: rgba(255, 211, 0, 0.05);
	transform: translateY(-3px);
}
.ind-card__icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 12px;
	background: rgba(255, 211, 0, 0.09);
	border: 1px solid rgba(255, 211, 0, 0.22);
	color: var(--accent);
}
.ind-card__body { min-width: 0; }
.ind-card__title { display: block; font-weight: 700; font-size: 1.05rem; }
.ind-card__desc { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 0.3rem; line-height: 1.5; }
.ind-card__arrow { margin-left: auto; color: var(--muted); transition: transform 0.25s ease, color 0.25s ease; align-self: center; }
.ind-card:hover .ind-card__arrow { transform: translateX(3px); color: var(--accent); }

@media (max-width: 900px) {
	.ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.ind-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Project technology chips + technology archive
   ============================================================ */
.chip--tech {
	color: var(--accent);
	border-color: rgba(255, 211, 0, 0.3);
	background: rgba(255, 211, 0, 0.06);
}
a.chip--tech:hover {
	background: rgba(255, 211, 0, 0.14);
	border-color: rgba(255, 211, 0, 0.55);
}
a.chip--link:hover {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}
.project-tech-row { margin-top: 0.9rem; }
.project-tech-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-right: 0.35rem;
}
.tech-cloud {
	margin-top: 4rem;
	padding-top: 2.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.tech-cloud__label {
	width: 100%;
	margin: 0 0 0.35rem;
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.chip-count {
	opacity: 0.6;
	font-size: 0.72em;
	margin-left: 0.2rem;
}



/* ============================================================
   "Arya" — animated website assistant (bottom-left)
   ============================================================ */
.ava {
	position: fixed;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 160;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}
.ava.is-away { opacity: 0; transform: translateY(20px); transition: 0.35s ease; }

/* The character */
.ava__char {
	appearance: none;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	overflow: visible;
	opacity: 0;
	transform: translateY(30px) scale(0.6);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
}
.ava.is-awake .ava__char { opacity: 1; transform: none; }
.ava__stage { display: block; width: 100%; height: 100%; }
.ava__stage svg { display: block; }
.ava__char:hover { transform: scale(1.06); transition: transform 0.25s ease; }

/* Chat panel */
.ava__panel {
	width: min(330px, calc(100vw - 2.5rem));
	background: rgba(13, 13, 20, 0.97);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateY(14px) scale(0.97);
	transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}
.ava.is-open .ava__panel { opacity: 1; transform: none; pointer-events: auto; }

.ava__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.8rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(255, 211, 0, 0.06);
}
.ava__title { font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.ava__title em { font-style: normal; font-weight: 500; font-size: 0.75rem; color: var(--muted); }
.ava__dot { width: 8px; height: 8px; border-radius: 9999px; background: #4ade80; animation: livePulse 1.8s ease-in-out infinite; }
.ava__close {
	appearance: none;
	background: none;
	border: none;
	color: var(--muted);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.1rem 0.35rem;
	border-radius: 8px;
}
.ava__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Messages */
.ava__msgs {
	max-height: 300px;
	overflow-y: auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	scrollbar-width: thin;
}
.ava-msg {
	max-width: 86%;
	padding: 0.6rem 0.85rem;
	border-radius: 14px;
	font-size: 0.9rem;
	line-height: 1.5;
	animation: avaMsgIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes avaMsgIn { from { opacity: 0; transform: translateY(8px); } }
.ava-msg--bot {
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom-left-radius: 4px;
}
.ava-msg--bot a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ava-msg--user {
	align-self: flex-end;
	background: var(--accent);
	color: #0a0a10;
	font-weight: 500;
	border-bottom-right-radius: 4px;
}
.ava-msg--typing { display: inline-flex; gap: 4px; padding: 0.75rem 0.9rem; }
.ava-msg--typing i {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.55);
	animation: avaTyping 1.1s ease-in-out infinite;
}
.ava-msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.ava-msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes avaTyping { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Quick replies */
.ava__quick { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0 1rem; }
.ava__quick:not(:empty) { padding-bottom: 0.85rem; }
.ava-quick__btn {
	appearance: none;
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent);
	background: rgba(255, 211, 0, 0.07);
	border: 1px solid rgba(255, 211, 0, 0.35);
	border-radius: 9999px;
	padding: 0.42rem 0.85rem;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ava-quick__btn:hover { background: rgba(255, 211, 0, 0.16); transform: translateY(-1px); }

/* Input */
.ava__form {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.ava__form input {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9999px;
	color: #fff;
	font: inherit;
	font-size: 0.88rem;
	padding: 0.55rem 1rem;
	outline: none;
}
.ava__form input:focus { border-color: rgba(255, 211, 0, 0.5); }
.ava__form button {
	appearance: none;
	cursor: pointer;
	border: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: var(--accent);
	color: #0a0a10;
	display: grid;
	place-items: center;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.ava__form button:hover { transform: scale(1.08); }

@media (max-width: 600px) {
	.ava { left: 0.9rem; bottom: 0.9rem; }
	.ava__char { width: 92px; height: 92px; }
	.ava__msgs { max-height: 45vh; }
}
@media (prefers-reduced-motion: reduce) {
	.ava__dot { animation: none; }
	.ava-msg { animation: none; }
}

/* ============================================================
   Arya bot — brand mascot (SVG/CSS, replaces Lottie)
   ============================================================ */
.ava-bot { width: 100%; height: 100%; display: block; overflow: visible; }

/* gentle hover-float */
.ava-bot__float { animation: avaFloat 3.4s ease-in-out infinite; }
.ava-bot__shadow { transform-origin: 60px 124px; animation: avaShadow 3.4s ease-in-out infinite; }
@keyframes avaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes avaShadow { 0%, 100% { transform: scaleX(1); opacity: 0.45; } 50% { transform: scaleX(0.82); opacity: 0.3; } }

/* antenna glow */
.ava-bot__antenna {
	filter: drop-shadow(0 0 4px rgba(255, 211, 0, 0.9));
	animation: avaAntenna 2.4s ease-in-out infinite;
}
@keyframes avaAntenna { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* eyes: closed until woken, then blink every few seconds */
.ava-bot__eye { transform-origin: center; transform: scaleY(0.12); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.is-eyes-open .ava-bot__eye { transform: scaleY(1); animation: avaBlink 4.6s ease-in-out 1.2s infinite; }
@keyframes avaBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

/* waving arm (rest = hanging by the side) */
.ava-bot__arm { transform-origin: 104px 62px; transform: rotate(0deg); transition: transform 0.35s ease; }
.is-waving .ava-bot__arm { animation: avaWave 0.85s ease-in-out 3; }
.ava__char:hover .ava-bot__arm { transform: rotate(-24deg); }
@keyframes avaWave {
	0%, 100% { transform: rotate(-18deg); }
	50%      { transform: rotate(-42deg); }
}

/* mouth: idle smile, talks while a message is "typing" */
.ava-bot__mouth { transform-origin: 60px 56px; }
.is-talking .ava-bot__mouth { animation: avaTalk 0.32s ease-in-out infinite; }
@keyframes avaTalk {
	0%, 100% { transform: scaleY(1); }
	50%      { transform: scaleY(2.6) scaleX(0.8); }
}

@media (prefers-reduced-motion: reduce) {
	.ava-bot__float, .ava-bot__shadow, .ava-bot__antenna { animation: none; }
	.is-eyes-open .ava-bot__eye { animation: none; }
	.is-waving .ava-bot__arm { animation: none; }
	.is-talking .ava-bot__mouth { animation: none; }
}

/* ============================================================
   Client logos strip (light band, real logos)
   ============================================================ */
.clients {
	background: #f4f3ec;
	color: #14141a;
	padding-block: var(--section-pad);
	overflow: hidden;
}
.clients .section-label { color: var(--primary); }
.clients .section-title { color: #14141a; }
.clients__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}
.clients__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #14141a;
	font-weight: 600;
	white-space: nowrap;
}
.clients__more:hover { color: var(--primary); }
.clients__more svg { transition: transform 0.2s ease; }
.clients__more:hover svg { transform: translateX(3px); }

.clients__marquee { gap: 1.25rem; animation-duration: 55s; align-items: stretch; }
.clients__row:hover .clients__marquee { animation-play-state: paused; }

.clients__card {
	display: grid;
	place-items: center;
	min-width: 170px;
	height: 88px;
	padding: 1rem 1.6rem;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 16px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.clients__card:hover {
	transform: translateY(-4px);
	border-color: #d8d5c4;
	box-shadow: 0 16px 32px -18px rgba(20, 20, 26, 0.25);
}
.clients__card img {
	max-height: 46px;
	max-width: 150px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.25s ease, opacity 0.25s ease;
}
.clients__card:hover img { filter: none; opacity: 1; }
.clients__wordmark {
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.02em;
	color: #55544c;
	white-space: nowrap;
	transition: color 0.25s ease;
}
.clients__card:hover .clients__wordmark { color: #14141a; }

/* ============================================================
   Why choose us — light comparison table
   ============================================================ */
.whyus {
	background: #f4f3ec;
	color: #14141a;
	padding-block: var(--section-pad);
}
.whyus .section-label { color: var(--primary); }
.whyus .section-title { color: #14141a; }
.whyus__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}
.whyus__scroll { overflow-x: auto; }

.whyus-table {
	width: 100%;
	min-width: 640px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 20px;
	overflow: hidden;
}
.whyus-table th,
.whyus-table td {
	padding: 1.05rem 1.25rem;
	text-align: center;
	border-bottom: 1px solid #efede2;
	font-size: 0.95rem;
}
.whyus-table tr:last-child td { border-bottom: none; }
.whyus-table thead th {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7a7970;
	background: #faf9f4;
}
.whyus-table__what { text-align: left !important; font-weight: 600; color: #2b2a24; }
.whyus-table thead .whyus-table__what { color: #7a7970; }

/* highlighted AryaSync column */
.whyus-table__us { background: rgba(255, 211, 0, 0.09); }
.whyus-table thead .whyus-table__us { background: rgba(255, 211, 0, 0.2); }
.whyus-table__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #14141a;
	text-transform: none;
	font-size: 0.95rem;
	letter-spacing: 0;
}
.whyus-table__brand img { display: block; }

.whyus-mark {
	display: inline-grid;
	place-items: center;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 9999px;
	font-size: 0.95rem;
	font-weight: 800;
}
.whyus-mark--yes { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.whyus-mark--part { background: rgba(122, 121, 112, 0.12); color: #7a7970; }
.whyus-mark--no { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

/* ============================================================
   "Who we are" — crafted editorial split
   (highlighter headline, ghost watermark, arched photo,
    morphing blob, spinning badge)
   ============================================================ */
.ts-bento {
	position: relative;
	overflow: clip;
	isolation: isolate;
	padding-block: var(--section-pad);
}
.ts-bento .section-label { color: var(--primary); }

/* giant ghost watermark */
.ts-bento::after {
	content: "ARYASYNC";
	position: absolute;
	left: 50%;
	bottom: -0.14em;
	transform: translateX(-50%);
	font-size: clamp(6rem, 16vw, 15rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(20, 20, 26, 0.05);
	pointer-events: none;
	z-index: 0;
}
.ts-bento .container-page { position: relative; z-index: 1; }

.wh-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: center;
	margin-bottom: 1.5rem;
}
.wh-copy .ts-title { margin-bottom: 1.1rem; }
.wh-copy__desc { color: #55544c; font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.35rem; max-width: 34rem; }

/* animated highlighter sweep on the key phrase */
.wh-hl {
	background-image: linear-gradient(120deg, rgba(255, 211, 0, 0.65), rgba(255, 211, 0, 0.65));
	background-repeat: no-repeat;
	background-size: 0% 40%;
	background-position: 0 82%;
	transition: background-size 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.wh-copy.is-visible .wh-hl { background-size: 100% 40%; }

/* colour-coded discipline chips */
.wh-points {
	list-style: none;
	margin: 0 0 1.6rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 0.7rem 1.25rem;
}
.wh-points li {
	--pc: #845cff;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	color: #2b2a24;
	font-size: 0.93rem;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 9999px;
	padding: 0.5rem 1.05rem 0.5rem 0.5rem;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.wh-points li:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--pc) 40%, #e6e4d8);
	box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--pc) 55%, transparent);
}
.wh-points__ic {
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--pc) 13%, #fff);
	color: var(--pc);
	flex-shrink: 0;
}

.wh-copy__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.wh-copy__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #14141a;
	font-weight: 600;
}
.wh-copy__link:hover { color: var(--primary); }
.wh-copy__link svg { transition: transform 0.2s ease; }
.wh-copy__link:hover svg { transform: translateX(3px); }

/* --- Right: scene --- */
.wh-scene {
	position: relative;
	width: 100%;
	padding: 1.25rem 1.5rem 0 1rem;
}

/* morphing yellow blob behind */
.wh-blob {
	position: absolute;
	inset: -6% -10% -8% 6%;
	background: linear-gradient(135deg, var(--accent), #ffb340);
	opacity: 0.9;
	z-index: 0;
	border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
	animation: whBlobMorph 12s ease-in-out infinite alternate;
}
@keyframes whBlobMorph {
	0%   { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; transform: rotate(0deg) scale(1); }
	50%  { border-radius: 45% 55% 48% 52% / 55% 44% 56% 45%; transform: rotate(2.5deg) scale(1.03); }
	100% { border-radius: 52% 48% 42% 58% / 45% 52% 48% 55%; transform: rotate(-2deg) scale(1); }
}

/* dotted accent patch */
.wh-dots {
	position: absolute;
	top: -1.25rem;
	left: -1.5rem;
	width: 110px;
	height: 110px;
	z-index: 2;
	background-image: radial-gradient(circle, rgba(20, 20, 26, 0.28) 1.6px, transparent 2px);
	background-size: 15px 15px;
	-webkit-mask-image: radial-gradient(circle at 30% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(circle at 30% 30%, #000 30%, transparent 75%);
}

/* arched photo */
.wh-photo {
	position: relative;
	z-index: 1;
	border-radius: 160px 160px 26px 26px;
	overflow: hidden;
	border: 6px solid #fff;
	box-shadow: 0 30px 60px -28px rgba(20, 20, 26, 0.4);
}
.wh-photo img { width: 100%; display: block; aspect-ratio: 4 / 3.4; object-fit: cover; }

/* spinning circular badge */
.wh-spin {
	position: absolute;
	z-index: 3;
	bottom: -2.25rem;
	left: -2.25rem;
	width: 120px;
	height: 120px;
	display: grid;
	place-items: center;
	background: #14141a;
	border-radius: 9999px;
	box-shadow: 0 18px 38px -16px rgba(20, 20, 26, 0.55);
	border: 5px solid #f4f3ec;
}
.wh-spin__ring {
	position: absolute;
	inset: 6px;
	animation: whSpin 14s linear infinite;
}
.wh-spin__ring text {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	fill: #fff;
}
.wh-spin__core { display: grid; place-items: center; }
.wh-spin__core img { display: block; }
@keyframes whSpin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
	.wh-split { grid-template-columns: 1fr; }
	.wh-scene { max-width: 520px; margin-inline: auto; }
	.ts-bento::after { font-size: 22vw; }
}
@media (max-width: 560px) {
	.wh-points { grid-template-columns: 1fr; }
	.wh-spin { width: 96px; height: 96px; bottom: -1.5rem; left: -0.75rem; }
	.wh-photo { border-radius: 120px 120px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.wh-blob, .wh-spin__ring { animation: none; }
	.wh-hl { transition: none; background-size: 100% 40%; }
}

/* ============================================================
   AI Special — light section between stats and services stack
   ============================================================ */
.aisec {
	background: #f4f3ec;
	color: #14141a;
	padding-block: var(--section-pad);
}
.aisec .section-label { color: var(--primary); }
.aisec .section-title { color: #14141a; }

.aisec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	flex-wrap: wrap;
	margin-bottom: 2.75rem;
}
.aisec__title em {
	font-style: normal;
	background: linear-gradient(90deg, #845cff, #e0538f 45%, #c98b00 90%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: aiShimmer 5s ease-in-out infinite alternate;
}
@keyframes aiShimmer { to { background-position: 100% 0; } }
.aisec__desc { color: #55544c; line-height: 1.65; max-width: 30rem; margin: 0; font-size: 1rem; }

.aisec__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
}
.aisec-card {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.95rem;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 16px;
	padding: 1.3rem 1.25rem;
	color: inherit;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.aisec-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, #845cff, #e0538f, #ffd300);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.aisec-card:hover {
	transform: translateY(-5px);
	border-color: rgba(132, 92, 255, 0.35);
	box-shadow: 0 22px 44px -24px rgba(132, 92, 255, 0.4);
}
.aisec-card:hover::before { transform: scaleX(1); }
.aisec-card__icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(132, 92, 255, 0.14), rgba(224, 83, 143, 0.1));
	border: 1px solid rgba(132, 92, 255, 0.22);
	color: var(--primary);
}
.aisec-card__title { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.aisec-card__desc { display: block; color: #6b6a5e; font-size: 0.86rem; line-height: 1.5; }
.aisec-card__arrow {
	margin-left: auto;
	align-self: center;
	color: #b9b6a6;
	transition: transform 0.25s ease, color 0.25s ease;
	flex-shrink: 0;
}
.aisec-card:hover .aisec-card__arrow { transform: translateX(3px); color: var(--primary); }

.aisec__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-top: 2.5rem;
	padding-top: 1.9rem;
	border-top: 1px solid #e6e4d8;
}
.aisec__models {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: #7a7970;
	font-size: 0.9rem;
	flex-wrap: wrap;
}
.aisec__models i {
	font-style: normal;
	font-weight: 700;
	color: #2b2a24;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 9999px;
	padding: 0.3rem 0.85rem;
	font-size: 0.82rem;
}

@media (max-width: 900px) {
	.aisec__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.aisec__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.aisec__title em { animation: none; }
}

/* ============================================================
   "Watch us build" — code types, website assembles (light)
   ============================================================ */
.builder {
	background: #f4f3ec;
	color: #14141a;
	padding-block: var(--section-pad);
}
.builder .section-label { color: var(--primary); }
.builder .section-title { color: #14141a; }
.builder__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	flex-wrap: wrap;
	margin-bottom: 2.75rem;
}
.builder__desc { color: #55544c; line-height: 1.65; max-width: 28rem; margin: 0; }

.builder__split {
	display: grid;
	grid-template-columns: 1.06fr 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

/* --- Editor (left) --- */
.builder-editor {
	background: #0d0d14;
	border: 1px solid #26263a;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 26px 52px -28px rgba(20, 20, 26, 0.45);
	display: flex;
	flex-direction: column;
}
.builder-editor__bar {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid #26263a;
	background: #12121c;
}
.builder-editor__dots { display: inline-flex; gap: 5px; }
.builder-editor__dots i { width: 9px; height: 9px; border-radius: 9999px; background: #3a3a52; }
.builder-editor__dots i:first-child { background: #f87171; }
.builder-editor__dots i:nth-child(2) { background: #fbbf24; }
.builder-editor__dots i:nth-child(3) { background: #34d399; }
.builder-editor__tab {
	font-family: ui-monospace, Consolas, monospace;
	font-size: 0.76rem;
	color: #9b9bb4;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid #26263a;
	border-radius: 7px;
	padding: 0.22rem 0.7rem;
}
.builder-code {
	margin: 0;
	padding: 1.15rem 1.25rem;
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
	font-size: 0.86rem;
	line-height: 1.75;
	min-height: 21rem;
	white-space: pre-wrap;
	word-break: break-word;
}
.builder-code div { min-height: 1.5em; }
.bcl-t { color: #e0538f; }
.bcl-a { color: #ffd300; }
.bcl-s { color: #4ade80; }
.bcl-x { color: #f3f3f8; }
.bcl-p { color: #9aa8ff; }
.bcl-v { color: #ffd300; }
.bcl-o { color: #9b9bb4; }
.bcl-c { color: #7c8b6f; font-style: italic; }
.builder-caret {
	display: inline-block;
	width: 8px;
	height: 1.05em;
	margin-left: 1px;
	vertical-align: text-bottom;
	background: var(--accent);
	animation: builderCaret 0.85s steps(1) infinite;
}
@keyframes builderCaret { 50% { opacity: 0; } }

/* --- Browser preview (right) --- */
.builder-browser {
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 26px 52px -28px rgba(20, 20, 26, 0.25);
	display: flex;
	flex-direction: column;
}
.builder-browser__bar {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid #efede2;
	background: #faf9f4;
}
.builder-browser__url {
	flex: 1;
	max-width: 200px;
	text-align: center;
	font-size: 0.76rem;
	color: #7a7970;
	background: #f1efe6;
	border-radius: 7px;
	padding: 0.24rem 0.9rem;
}
.bp-live {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #16a34a;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bp-live i { width: 7px; height: 7px; border-radius: 9999px; background: #16a34a; }
.bstep-done .bp-live { opacity: 1; transform: scale(1); }
.bstep-done .bp-live i { animation: livePulse 1.6s ease-in-out infinite; }

/* the assembling hero */
.bp-hero {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	text-align: center;
	padding: 2rem 1.5rem;
	background: #fff;
	opacity: 0;
	transition: background 0.7s ease, opacity 0.5s ease;
}
.bstep-frame .bp-hero { opacity: 1; background: #f1efe6; }
.bstep-dark .bp-hero { background: #07070c; }

.bp-title, .bp-text, .bp-btn {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease, background 0.6s ease, border-radius 0.6s ease;
}
.bp-title { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; color: #14141a; }
.bstep-title .bp-title { opacity: 1; transform: none; }
.bstep-titlelight .bp-title { color: #fff; }

.bp-text { color: #6b6a5e; font-size: 0.95rem; }
.bstep-text .bp-text { opacity: 1; transform: none; }
.bstep-dark .bp-text { color: #9b9bb4; }

.bp-btn {
	display: inline-block;
	padding: 0.6rem 1.5rem;
	font-size: 0.9rem;
	font-weight: 700;
	background: #dedbd0;
	color: #14141a;
	border-radius: 6px;
	margin-top: 0.3rem;
}
.bstep-btn .bp-btn { opacity: 1; transform: none; }
.bstep-btnyellow .bp-btn { background: var(--accent); }
.bstep-btnround .bp-btn { border-radius: 9999px; }
.bstep-done .bp-btn { animation: bpBtnPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes bpBtnPop { 50% { transform: scale(1.1); } }

@media (max-width: 900px) {
	.builder__split { grid-template-columns: 1fr; }
	.builder-code { min-height: 17rem; font-size: 0.8rem; }
}

/* ============================================================
   Hero headline 2.0 — statement copy instead of brand word
   ============================================================ */
.cine__title--copy {
	font-size: clamp(2.9rem, 7.2vw, 6.4rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
	white-space: normal;
}
.cine__row { display: block; }
.cine__row .pull { margin-right: 0.22em; }
.cine__row--accent { color: var(--accent); font-style: italic; }
.cine__row--accent .pull:last-child { margin-right: 0; }

@media (max-width: 700px) {
	.cine__title--copy { font-size: clamp(2.4rem, 11vw, 4rem); }
}

/* ============================================================
   Full-bleed hero + floating (absolute) header overlay
   ============================================================ */
:root { --topbar-h: 42px; --header-h: 78px; }

/* Topbar + header float transparently over the hero video */
.topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--topbar-h);
	display: flex;
	align-items: center;
	background: rgba(10, 10, 16, 0.32);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.topbar__inner { width: 100%; }

.site-header {
	position: absolute;
	top: var(--topbar-h);
	left: 0;
	right: 0;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
}
/* after scrolling past the hero top, the header returns as a fixed dark bar */
.site-header.is-scrolled {
	position: fixed;
	top: 0;
	background: rgba(10, 10, 16, 0.88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	animation: headerDrop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: none; } }

/* pages without the full-bleed hero need room under the floating bars */
body:not(.home) .site-content { padding-top: calc(var(--topbar-h) + var(--header-h)); }

/* --- Hero: edge-to-edge, full viewport --- */
.cine--full { padding: 0; }
.cine--full .cine__frame {
	border-radius: 0;
	min-height: 100vh;
	min-height: 100svh;
}
.cine--full .cine__gradient {
	background: linear-gradient(to bottom,
		rgba(0, 0, 0, 0.62),
		transparent 32%,
		transparent 58%,
		rgba(0, 0, 0, 0.68));
}
.cine--full .cine__content {
	padding: clamp(1.5rem, 4vw, 4rem);
	padding-bottom: clamp(1.75rem, 4vw, 3.25rem);
}

.cine__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(242, 240, 232, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 9999px;
	padding: 0.45rem 1rem;
	background: rgba(10, 10, 16, 0.25);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: cineFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.cine__eyebrow i {
	width: 7px;
	height: 7px;
	border-radius: 9999px;
	background: var(--accent);
	animation: livePulse 2s ease-in-out infinite;
}

.cine__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.cine--full .cine__cta { margin-top: 0; animation: cineFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1s both; }
.cine__scroll {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(242, 240, 232, 0.65);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	animation: cineFade 0.9s ease 1.2s both;
}
.cine__scroll i {
	font-style: normal;
	animation: cineScrollBob 1.8s ease-in-out infinite;
}
@keyframes cineScrollBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 700px) {
	.cine__scroll { display: none; }
	.cine__eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
	.cine__eyebrow, .cine--full .cine__cta, .cine__scroll { animation: none; }
	.cine__scroll i, .cine__eyebrow i { animation: none; }
	.site-header.is-scrolled { animation: none; }
}

/* ============================================================
   Hero rotation — shared bits
   ============================================================ */
@keyframes blurFadeUp {
	from { opacity: 0; filter: blur(20px); transform: translateY(40px); }
	to   { opacity: 1; filter: blur(0);  transform: translateY(0); }
}
.bfu {
	opacity: 0;
	animation: blurFadeUp 1s ease-out forwards;
	animation-delay: var(--d, 0s);
}

/* --- Hero A refinements: outlined second line + meta bar --- */
.cine__row--stroke {
	color: transparent;
	-webkit-text-stroke: 2px rgba(242, 240, 232, 0.9);
}
.cine__metabar {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(242, 240, 232, 0.72);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	animation: cineFade 0.9s ease 1.35s both;
}
.cine__metabar i { width: 4px; height: 4px; border-radius: 9999px; background: var(--accent); }

/* ============================================================
   Hero B — streaming / film premiere
   ============================================================ */
.hero-b {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #000;
	display: flex;
	flex-direction: column;
}
.hero-b .cine__video { z-index: 0; }
/* bottom blur only — no dark gradient */
.hero-b__blur {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	-webkit-mask-image: linear-gradient(to top, #000 0%, transparent 45%);
	mask-image: linear-gradient(to top, #000 0%, transparent 45%);
}
.hero-b__content {
	position: relative;
	z-index: 10;
	margin-top: auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	padding-top: 0;
	color: #fff;
}
.hero-b__main { flex: 1; min-width: min(100%, 34rem); }
.hero-b__meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
	font-size: 0.88rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}
.hero-b__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-b__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.4rem, 6.4vw, 5.2rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.04em;
}
.hero-b__desc {
	margin: 0 0 clamp(1.5rem, 3vw, 2.75rem);
	color: rgba(255, 255, 255, 0.6);
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	max-width: 42rem;
}
.hero-b__ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-b__watch {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #fff;
	color: #000;
	border-radius: 9999px;
	padding: 0.8rem 2rem;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.2s ease, transform 0.2s ease;
}
.hero-b__watch:hover { background: #e5e5e5; transform: translateY(-2px); }
.hero-b__more {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 0.8rem 1.8rem;
	color: #fff;
	font-weight: 500;
	font-size: 0.95rem;
	transition: transform 0.2s ease;
}
.hero-b__more:hover { transform: translateY(-2px); }
.hero-b__arrows { display: flex; gap: 0.75rem; }
.hero-b__arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	padding: 0.7rem 1.4rem;
	color: #fff;
	font-weight: 500;
	font-size: 0.9rem;
	transition: transform 0.2s ease;
}
.hero-b__arrow:hover { transform: translateY(-2px); }

/* ============================================================
   Hero C — calm meadow (light, green palette)
   ============================================================ */
.hero-c {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #dfe7dc;
}
.hero-c .cine__video { z-index: 0; }
/* soft dark top fade so the floating white nav stays readable */
.hero-c__topfade {
	position: absolute;
	inset: 0 0 auto 0;
	height: 30%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(15, 25, 14, 0.5), transparent);
}
.hero-c__center {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: clamp(9rem, 20vh, 12rem) 1.5rem 0;
}
.hero-c__title {
	margin: 0 auto;
	max-width: 60rem;
	font-size: clamp(2rem, 5.6vw, 5.2rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.035em;
	color: #14141a;
}
.hero-c__title span {
	display: inline-block;
	margin-top: 0.08em;
	padding: 0.02em 0.22em 0.06em;
	background: var(--accent);
	color: #14141a;
	border-radius: 0.14em;
	transform: rotate(-1deg);
}
.hero-c__sub {
	margin: 1.75rem auto 0;
	max-width: 28rem;
	color: rgba(20, 20, 26, 0.78);
	font-size: clamp(0.95rem, 1.2vw, 1.1rem);
	line-height: 1.65;
	font-weight: 500;
}
.hero-c__bl {
	position: absolute;
	left: clamp(1rem, 3.5vw, 2.5rem);
	/* lifted clear of the Arya assistant bot (fixed bottom-left) */
	bottom: clamp(10rem, 22vh, 12rem);
	z-index: 10;
	max-width: 21rem;
}
.hero-c__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	text-shadow: 0 1px 8px rgba(15, 25, 14, 0.4);
	margin-bottom: 0.75rem;
}
.hero-c__brand sup { font-size: 0.55em; }
.hero-c__bl p {
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 1px 8px rgba(15, 25, 14, 0.35);
	font-size: 0.8rem;
	line-height: 1.6;
	font-weight: 500;
	margin: 0 0 1.4rem;
	max-width: 19rem;
}
.hero-c__ctas { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero-c__btn {
	display: inline-flex;
	background: var(--accent);
	color: #14141a;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 0.7rem 1.6rem;
	border-radius: 9999px;
	box-shadow: 0 8px 20px -8px rgba(20, 20, 26, 0.45);
	transition: background 0.2s ease, transform 0.2s ease;
}
.hero-c__btn:hover { background: #ffdd40; transform: translateY(-2px); }
.hero-c__link { color: #fff; font-size: 0.88rem; font-weight: 700; text-shadow: 0 1px 8px rgba(15, 25, 14, 0.4); }
.hero-c__link:hover { opacity: 0.75; }
.hero-c__br {
	position: absolute;
	right: clamp(1rem, 3.5vw, 2.5rem);
	bottom: clamp(1.75rem, 4.5vh, 3rem);
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.88rem;
	font-weight: 600;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.hero-c__br em { font-style: normal; color: rgba(255, 255, 255, 0.6); }
.hero-c__play {
	display: grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.25);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: #fff;
	transition: background 0.2s ease;
}
.hero-c__br:hover .hero-c__play { background: rgba(255, 255, 255, 0.4); }

@media (max-width: 700px) {
	.hero-b__arrows { display: none; }
	.hero-c__br { display: none; }
	.hero-c__center { padding-top: 8.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.bfu { animation: none; opacity: 1; }
}

/* Hero A kicker — editorial rule + text (replaces the glass pill) */
.cine__kicker {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 1.2rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(242, 240, 232, 0.9);
	animation: cineFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.cine__kicker i {
	width: 2.6rem;
	height: 2px;
	background: var(--accent);
	transform-origin: left center;
	animation: kickerRule 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
@keyframes kickerRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
	.cine__kicker, .cine__kicker i { animation: none; }
}

/* ============================================================
   Industries tile grid (Codecademy-style panel)
   ============================================================ */
.indx {
	background: #0b0b12;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	padding: clamp(1.5rem, 4vw, 3.5rem);
}
.indx__title {
	font-size: clamp(2.2rem, 6vw, 4rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0 0 2rem;
	color: #fff;
}

/* tabs with yellow underline */
.indx__tabs {
	display: flex;
	gap: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	margin-bottom: 2rem;
}
.indx__tab {
	appearance: none;
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--muted);
	padding: 0.6rem 0.15rem 0.85rem;
	position: relative;
	transition: color 0.2s ease;
}
.indx__tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.indx__tab:hover { color: #fff; }
.indx__tab.is-active { color: #fff; }
.indx__tab.is-active::after { transform: scaleX(1); }

/* tile grid */
.indx__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.9rem;
}
.indx-tile {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	background: #05050a;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 10px;
	padding: 1rem 1.1rem;
	color: #f3f3f8;
	min-height: 4.25rem;
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.indx-tile:hover {
	border-color: var(--accent);
	background: #0a0a12;
	transform: translateY(-2px);
}
.indx-tile__icon { color: #f3f3f8; flex-shrink: 0; display: grid; place-items: center; }
.indx-tile__label {
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
}
.indx-tile__label em {
	font-style: normal;
	color: var(--muted);
	font-size: 0.78em;
	margin-left: 0.3em;
}

/* AI banner card */
.indx-banner {
	margin-top: 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 3px dashed rgba(255, 211, 0, 0.6);
	border-radius: 12px;
	padding: 1.35rem 1.6rem;
	color: inherit;
	transition: border-color 0.25s ease, background 0.25s ease;
}
.indx-banner:hover { border-color: rgba(255, 211, 0, 0.55); background: rgba(255, 211, 0, 0.03); }
.indx-banner__title {
	display: block;
	font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
	color: var(--accent);
	font-size: 1.15rem;
	margin-bottom: 0.45rem;
}
.indx-banner__desc { display: block; color: #d5d5e2; font-size: 0.95rem; }
.indx-banner__arrow { color: var(--accent); flex-shrink: 0; transition: transform 0.25s ease; }
.indx-banner:hover .indx-banner__arrow { transform: translateX(5px); }

/* footer */
.indx__foot { text-align: center; margin-top: 2.75rem; }
.indx__foot p { color: #f3f3f8; font-weight: 600; margin: 0 0 0.7rem; font-size: 1.05rem; }
.indx__foot a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--accent);
	font-weight: 700;
}
.indx__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) { .indx__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .indx__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .indx__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Mobile app feel — bottom tab bar + touch polish
   ============================================================ */
.appbar { display: none; }

@media (max-width: 820px) {

	/* --- App-style bottom tab bar --- */
	.appbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 300;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		background: rgba(12, 12, 19, 0.92);
		-webkit-backdrop-filter: blur(18px);
		backdrop-filter: blur(18px);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding-bottom: env(safe-area-inset-bottom, 0);
		box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.6);
	}
	.appbar__item {
		appearance: none;
		background: none;
		border: none;
		cursor: pointer;
		font: inherit;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.22rem;
		min-height: 60px;
		color: #9b9bb4;
		font-size: 0.64rem;
		font-weight: 600;
		letter-spacing: 0.04em;
		position: relative;
		-webkit-tap-highlight-color: transparent;
		transition: color 0.2s ease;
	}
	.appbar__item svg { transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
	.appbar__item:active svg { transform: scale(0.85); }
	.appbar__item.is-active { color: var(--accent); }
	.appbar__item.is-active::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 2rem;
		height: 3px;
		border-radius: 0 0 4px 4px;
		background: var(--accent);
	}
	.appbar__item--cta { color: var(--accent); }

	/* content never hides behind the bar */
	.site-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

	/* floating elements move up above the bar */
	.fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
	.ava { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

	/* the bot shrinks to a compact avatar on phones */
	.ava__char { width: 74px; height: 74px; }

	/* --- Rhythm & touch polish --- */
	:root { --section-pad: clamp(3rem, 9vw, 4rem); }

	.topbar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
	.topbar__msg { flex-wrap: nowrap; min-width: 0; }

	/* larger, easier tap targets */
	.btn-primary, .cine__cta, .hero-b__watch, .hero-c__btn { min-height: 48px; }
	.indx { padding: 1.25rem; border-radius: 16px; }
	.indx-tile { min-height: 3.6rem; padding: 0.85rem 0.95rem; }
	.indx__foot { margin-top: 2rem; }

	/* cards feel native: slightly tighter radii + full-width CTAs */
	.process-step, .aisec-card, .stack-card { border-radius: 16px; }
	.tsl-card { border-radius: 14px; }

	/* hero C: bottom-left block clears the raised bot */
	.hero-c__bl { bottom: clamp(12rem, 26vh, 14rem); }

	/* headings a notch tighter on phones */
	.section-title, .ts-title, .indx__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
}

/* very small phones */
@media (max-width: 380px) {
	.appbar__item { font-size: 0.6rem; min-height: 56px; }
	.appbar__item svg { width: 20px; height: 20px; }
}

/* Heroes clear the mobile app bar */
@media (max-width: 820px) {
	.cine--full .cine__content,
	.hero-b__content {
		padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}
	.cine__metabar { gap: 0.75rem; font-size: 0.74rem; }
	.hero-c__bl { max-width: calc(100vw - 2rem); }
}

/* ============================================================
   Inner-page full-bleed hero utility + Contact hero
   ============================================================ */
/* Pulls a hero up behind the floating header on inner pages
   (body:not(.home) adds padding-top for the absolute header). */
body:not(.home) .hero-flush {
	margin-top: calc(-1 * (var(--topbar-h) + var(--header-h)));
}

.chero {
	position: relative;
	overflow: hidden;
	padding-top: calc(var(--topbar-h) + var(--header-h));
}
.chero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
}
.chero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(7, 7, 12, 0.72), rgba(7, 7, 12, 0.45) 45%, var(--background) 100%),
		radial-gradient(60% 80% at 20% 60%, rgba(7, 7, 12, 0.55), transparent 70%);
}
.chero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
	max-width: 100%;
}
.chero__title {
	margin: 0.35rem 0 1.1rem;
	font-size: clamp(2.4rem, 5.6vw, 4.4rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #fff;
	max-width: 16ch;
}
.chero__title em {
	font-style: italic;
	color: var(--accent);
}
.chero__sub {
	color: rgba(242, 240, 232, 0.78);
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	line-height: 1.65;
	max-width: 36rem;
	margin: 0 0 1.9rem;
}
.chero__chips { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.chero-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 1.25rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(10, 10, 16, 0.4);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-weight: 600;
	font-size: 0.92rem;
	min-height: 48px;
	transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.chero-chip:hover { border-color: var(--accent); background: rgba(255, 211, 0, 0.1); transform: translateY(-2px); }
.chero-chip svg { color: var(--accent); flex-shrink: 0; }
.chero-chip--wa:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.12); }
.chero-chip--wa svg { color: #25d366; }

.contact-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 1.5rem;
	padding: 0.55rem 1.05rem;
	border-radius: 9999px;
	border: 1px solid rgba(74, 222, 128, 0.35);
	background: rgba(74, 222, 128, 0.07);
	color: #4ade80;
	font-size: 0.85rem;
	font-weight: 600;
}
.contact-badge i {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: #4ade80;
	animation: livePulse 1.8s ease-in-out infinite;
}

/* --- Contact: icon social buttons --- */
.contact-socials { margin-top: 2rem; }
.contact-socials__label {
	display: block;
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.85rem;
}
.contact-socials .footer-socials { margin-top: 0; }
.contact-socials .fsocial {
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	display: grid;
	place-items: center;
	color: #cfcfda;
	transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.contact-socials .fsocial:hover {
	color: #0a0a10;
	background: var(--accent);
	border-color: var(--accent);
	transform: translateY(-3px);
}

/* --- Contact: what happens next --- */
.csteps {
	background: #f4f3ec;
	color: #14141a;
	padding-block: var(--section-pad);
}
.csteps .section-label { color: var(--primary); }
.csteps .section-title { color: #14141a; }
.csteps__head { margin-bottom: 2.75rem; }
.csteps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.cstep {
	position: relative;
	background: #fff;
	border: 1px solid #e6e4d8;
	border-radius: 18px;
	padding: 1.75rem 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cstep:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(20, 20, 26, 0.2); }
.cstep__num {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(132, 92, 255, 0.3);
}
.cstep__icon {
	display: inline-grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 12px;
	background: rgba(132, 92, 255, 0.1);
	color: var(--primary);
	margin-bottom: 1.1rem;
}
.cstep h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 0.5rem; }
.cstep p { color: #55544c; font-size: 0.92rem; line-height: 1.6; margin: 0 0 1.1rem; }
.cstep__when {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
	background: rgba(132, 92, 255, 0.09);
	border-radius: 9999px;
	padding: 0.32rem 0.8rem;
}

/* --- Contact FAQ (details/summary accordion) --- */
.cfaq__head { margin-bottom: 2.5rem; }
.cfaq__list { max-width: 52rem; }
.cfaq__item {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	margin-bottom: 0.75rem;
	overflow: hidden;
	transition: border-color 0.25s ease;
}
.cfaq__item[open] { border-color: rgba(255, 211, 0, 0.35); }
.cfaq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	font-weight: 600;
	font-size: 1.02rem;
	color: #f3f3f8;
	-webkit-tap-highlight-color: transparent;
}
.cfaq__item summary::-webkit-details-marker { display: none; }
.cfaq__chev { color: var(--muted); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); flex-shrink: 0; }
.cfaq__item[open] .cfaq__chev { transform: rotate(180deg); color: var(--accent); }
.cfaq__item[open] summary { color: var(--accent); }
.cfaq__body { padding: 0 1.35rem 1.25rem; }
.cfaq__body p { margin: 0; color: #b9b9c9; line-height: 1.7; font-size: 0.96rem; }

@media (max-width: 820px) {
	.csteps__grid { grid-template-columns: 1fr; }
}

/* Contact FAQ: two-column with side image */
.cfaq__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.cfaq__list { max-width: none; }
.cfaq__visual { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 1.5rem); }
.cfaq__photo {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 28px 56px -26px rgba(0, 0, 0, 0.6);
}
.cfaq__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 7, 12, 0.55), transparent 45%);
}
.cfaq__photo img { width: 100%; display: block; aspect-ratio: 4 / 4.4; object-fit: cover; }
.cfaq__chip {
	position: absolute;
	left: 1.1rem;
	bottom: 1.1rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1rem;
	border-radius: 9999px;
	background: rgba(10, 10, 16, 0.75);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
}
.cfaq__chip i {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: #4ade80;
	animation: livePulse 1.8s ease-in-out infinite;
}
@media (max-width: 900px) {
	.cfaq__grid { grid-template-columns: 1fr; }
	.cfaq__visual { position: static; max-width: 27rem; }
}

/* Contact FAQ: chat-card mockup (replaces the photo) */
.chatcard {
	background: #0b0b12;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 28px 56px -26px rgba(0, 0, 0, 0.6);
}
.chatcard__head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
}
.chatcard__avatar {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 9999px;
	background: #15151f;
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.chatcard__who { font-weight: 700; font-size: 0.98rem; color: #fff; display: flex; flex-direction: column; gap: 0.15rem; }
.chatcard__who em {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-style: normal;
	font-weight: 500;
	font-size: 0.76rem;
	color: #4ade80;
}
.chatcard__who em i { width: 7px; height: 7px; border-radius: 9999px; background: #4ade80; animation: livePulse 1.8s ease-in-out infinite; }

.chatcard__msgs {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.35rem 1.25rem;
}
.chatcard__msg {
	max-width: 85%;
	padding: 0.65rem 0.95rem;
	border-radius: 14px;
	font-size: 0.9rem;
	line-height: 1.5;
}
.chatcard__msg--user {
	align-self: flex-end;
	background: var(--accent);
	color: #0a0a10;
	font-weight: 500;
	border-bottom-right-radius: 4px;
}
.chatcard__msg--us {
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #e8e8f0;
	border-bottom-left-radius: 4px;
}
.chatcard__typing { display: inline-flex; gap: 4px; padding: 0.8rem 0.95rem; }
.chatcard__typing i {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.55);
	animation: avaTyping 1.1s ease-in-out infinite;
}
.chatcard__typing i:nth-child(2) { animation-delay: 0.15s; }
.chatcard__typing i:nth-child(3) { animation-delay: 0.3s; }

.chatcard__foot {
	padding: 0 1.25rem 1.25rem;
}
.chatcard__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.95rem;
	border-radius: 9999px;
	border: 1px solid rgba(74, 222, 128, 0.3);
	background: rgba(74, 222, 128, 0.07);
	color: #4ade80;
	font-size: 0.82rem;
	font-weight: 600;
}
.chatcard__chip i { width: 7px; height: 7px; border-radius: 9999px; background: #4ade80; animation: livePulse 1.8s ease-in-out infinite; }

/* ============================================================
   Blog archive — short hero, topic chips, featured post
   ============================================================ */
.chero--short .chero__inner { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 4rem); }

.blog-topics { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.blog-topic {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(10, 10, 16, 0.4);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-weight: 600;
	font-size: 0.86rem;
	transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.blog-topic:hover { border-color: var(--accent); background: rgba(255, 211, 0, 0.1); transform: translateY(-2px); }
.blog-topic em { font-style: normal; color: var(--muted); font-size: 0.78em; }

/* featured latest post */
.bfeat {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	margin-bottom: 2rem;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.bfeat:hover {
	border-color: rgba(255, 211, 0, 0.35);
	transform: translateY(-4px);
	box-shadow: 0 26px 52px -28px rgba(0, 0, 0, 0.6);
}
.bfeat__media { position: relative; min-height: 300px; }
.bfeat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfeat__ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.25);
	background: linear-gradient(135deg, #1a1a4e 0%, #5b3bb8 70%, #ff7a59 140%);
}
.bfeat__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--accent);
	color: #0a0a10;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 9999px;
	padding: 0.35rem 0.85rem;
}
.bfeat__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.bfeat__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0.9rem 0 0.8rem; }
.bfeat:hover .bfeat__title { color: var(--accent); }
.bfeat__excerpt { color: var(--muted); line-height: 1.65; margin: 0 0 1.5rem; }
.bfeat__meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	color: var(--muted);
	font-size: 0.88rem;
}
.bfeat__read { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-weight: 600; }
.bfeat:hover .bfeat__read { color: var(--accent); }

.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-grid-rest { margin-top: 0.5rem; }

@media (max-width: 900px) {
	.bfeat { grid-template-columns: 1fr; }
	.bfeat__media { min-height: 220px; }
	.cards-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   Inner pages: all hero types tuck behind the floating header
   ============================================================ */
body:not(.home) .page-hero,
body:not(.home) .article-hero,
body:not(.home) .page-banner {
	margin-top: calc(-1 * (var(--topbar-h) + var(--header-h)));
}
body:not(.home) .page-hero { padding-top: calc(5rem + var(--topbar-h) + var(--header-h)); }
body:not(.home) .article-hero { padding-top: calc(4rem + var(--topbar-h) + var(--header-h)); }
body:not(.home) .page-banner .page-banner__inner { padding-top: calc(clamp(3.5rem, 8vw, 7rem) + var(--topbar-h) + var(--header-h)); }

/* ============================================================
   Single post hero + About page
   ============================================================ */
.posthero .chero__overlay {
	background:
		linear-gradient(to bottom, rgba(7, 7, 12, 0.78), rgba(7, 7, 12, 0.6) 45%, var(--background) 100%);
}
.posthero__title {
	margin: 0.9rem 0 0.9rem;
	font-size: clamp(1.9rem, 4.2vw, 3.2rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.12;
	color: #fff;
}
.posthero__meta { color: rgba(242, 240, 232, 0.7); font-size: 0.92rem; margin: 0; }
.related-posts__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

/* services hero: yellow quote chip */
.blog-topic--cta {
	appearance: none;
	cursor: pointer;
	font-family: inherit;
	background: var(--accent);
	border-color: var(--accent);
	color: #0a0a10;
}
.blog-topic--cta:hover { background: #ffdd40; border-color: #ffdd40; }

/* about: story split */
.about-story__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(2rem, 4.5vw, 4rem);
	align-items: center;
}
.about-story__content { color: #c9c9d6; line-height: 1.75; }
.about-story__content p { margin: 0 0 1.1rem; }
.about-story__facts {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.about-story__facts strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.about-story__facts span { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.about-story__facts i { width: 1px; height: 2.3rem; background: rgba(255, 255, 255, 0.09); }
.about-story__photo {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6);
}
.about-story__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 7, 12, 0.35), transparent 40%);
}
.about-story__photo img { width: 100%; display: block; aspect-ratio: 4 / 4.4; object-fit: cover; }

/* about: CTA box */
.about-cta__box {
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	background:
		radial-gradient(60% 100% at 50% 0%, rgba(255, 211, 0, 0.08), transparent 70%),
		rgba(255, 255, 255, 0.02);
	padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}
.about-cta__box p { color: var(--muted); margin: 1rem 0 2rem; font-size: 1.05rem; }
.about-cta__actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.about-cta__link { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-weight: 600; }
.about-cta__link:hover { color: var(--accent); }

/* the whyus part is a light band — keep it working on the dark about page */
.single-page .whyus, .page-template-page-about .whyus { margin-block: 0; }

@media (max-width: 900px) {
	.about-story__grid { grid-template-columns: 1fr; }
	.about-story__visual { max-width: 30rem; }
	.about-story__photo img { aspect-ratio: 16 / 11; }
}

/* ============================================================
   Single post — editorial layout
   ============================================================ */
/* reading progress bar */
.readbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 600;
	background: transparent;
	pointer-events: none;
}
.readbar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	transform: scaleX(0);
	transform-origin: left;
}

.posthero__byline { display: flex; align-items: center; gap: 0.8rem; }
.posthero__avatar {
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 9999px;
	background: rgba(10, 10, 16, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.posthero__by { display: flex; flex-direction: column; gap: 0.1rem; }
.posthero__by strong { color: #fff; font-size: 0.95rem; }
.posthero__by em { font-style: normal; color: rgba(242, 240, 232, 0.65); font-size: 0.82rem; }

/* layout: content + sticky sidebar */
.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}
.post-main { min-width: 0; }
.post-side {
	position: sticky;
	top: calc(var(--topbar-h) + var(--header-h) + 1.25rem);
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}
.post-side__card {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	padding: 1.35rem 1.4rem;
}
.post-side__title {
	margin: 0 0 0.9rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.post-toc { display: flex; flex-direction: column; }
.post-toc__link {
	display: block;
	padding: 0.42rem 0 0.42rem 0.85rem;
	border-left: 2px solid rgba(255, 255, 255, 0.1);
	color: #b9b9c9;
	font-size: 0.88rem;
	line-height: 1.4;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.post-toc__link--sub { padding-left: 1.6rem; font-size: 0.82rem; }
.post-toc__link:hover { color: #fff; }
.post-toc__link.is-active { color: var(--accent); border-left-color: var(--accent); }

.post-side__cta h4 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; }
.post-side__cta p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.post-side__cta .btn-primary { width: 100%; justify-content: center; font-size: 0.9rem; }

/* content typography boosts */
.article-content { font-size: 1.05rem; line-height: 1.85; color: #d5d5e0; }
.article-content h2, .article-content h3 { color: #fff; letter-spacing: -0.015em; scroll-margin-top: 120px; }
.article-content h2 { font-size: 1.65rem; margin: 2.4rem 0 1rem; }
.article-content h3 { font-size: 1.25rem; margin: 2rem 0 0.8rem; }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote {
	margin: 1.75rem 0;
	padding: 1.1rem 1.5rem;
	border-left: 3px solid var(--accent);
	background: rgba(255, 211, 0, 0.05);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: #e8e8f0;
}
.article-content img { border-radius: 14px; }
.article-content ul, .article-content ol { padding-left: 1.4rem; }
.article-content li { margin-bottom: 0.5rem; }

/* tags / share / author / nav */
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.25rem; }

.post-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 2rem;
	padding: 1.15rem 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
}
.post-share__label { font-weight: 700; font-size: 0.95rem; }
.post-share__btns { display: flex; gap: 0.55rem; }
.share-btn {
	appearance: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.04);
	color: #cfcfda;
	font-family: inherit;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.share-btn:hover { background: var(--accent); border-color: var(--accent); color: #0a0a10; transform: translateY(-3px); }
.share-btn.is-copied { background: #4ade80; border-color: #4ade80; color: #052e12; }

.author-box {
	display: flex;
	gap: 1.25rem;
	margin-top: 1.5rem;
	padding: 1.6rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background:
		radial-gradient(80% 120% at 0% 0%, rgba(255, 211, 0, 0.06), transparent 60%),
		rgba(255, 255, 255, 0.03);
}
.author-box__avatar {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	background: #15151f;
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.author-box__label { color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.author-box__name { margin: 0.2rem 0 0.5rem; font-size: 1.15rem; font-weight: 700; }
.author-box__bio { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.author-box__link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); font-weight: 700; font-size: 0.92rem; }
.author-box__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}
.postnav__card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.2rem 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	transition: border-color 0.25s ease, transform 0.25s ease;
}
.postnav__card:hover { border-color: rgba(255, 211, 0, 0.4); transform: translateY(-3px); }
.postnav__card--next { text-align: right; align-items: flex-end; }
.postnav__dir { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.postnav__t { font-weight: 600; font-size: 0.98rem; line-height: 1.35; }
.postnav__card:hover .postnav__t { color: var(--accent); }

/* comments: match the enquiry form styling */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	padding: 0.8rem 1rem;
	outline: none;
	margin-top: 0.35rem;
	transition: border-color 0.2s ease;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: rgba(255, 211, 0, 0.5); }
.comment-form label { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.comment-form p { margin: 0 0 1.1rem; }
.comment-form .submit,
.comment-form input[type="submit"] {
	appearance: none;
	cursor: pointer;
	background: var(--accent);
	color: #0a0a10;
	border: none;
	border-radius: 9999px;
	font: inherit;
	font-weight: 700;
	padding: 0.8rem 2rem;
	transition: background 0.2s ease, transform 0.2s ease;
}
.comment-form input[type="submit"]:hover { background: #ffdd40; transform: translateY(-2px); }
.comments-area { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.comments-area .comments-title, .comment-reply-title { font-size: 1.3rem; font-weight: 700; }

@media (max-width: 980px) {
	.post-layout { grid-template-columns: 1fr; }
	.post-side { position: static; order: -1; }
	.post-side__card[data-toc-card] { display: none; } /* TOC is a desktop luxury */
	.postnav { grid-template-columns: 1fr; }
	.postnav__card--next { text-align: left; align-items: flex-start; }
}

/* Comments hidden behind a toggle */
.comments-toggle-wrap { margin-top: 1.5rem; }
.comments-toggle {
	appearance: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	color: #f3f3f8;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 9999px;
	padding: 0.8rem 1.5rem;
	min-height: 48px;
	transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.comments-toggle svg { color: var(--accent); }
.comments-toggle:hover {
	border-color: rgba(255, 211, 0, 0.45);
	background: rgba(255, 211, 0, 0.07);
	transform: translateY(-2px);
}
.comments-holder.is-open { animation: cmtIn 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes cmtIn { from { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   Portfolio cards — richer hover treatment
   ============================================================ */
.project-card { overflow: hidden; }
.project-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
}
.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media::after {
	content: "View project →";
	position: absolute;
	left: 50%;
	bottom: 0.9rem;
	transform: translate(-50%, 12px);
	background: var(--accent);
	color: #0a0a10;
	font-size: 0.8rem;
	font-weight: 700;
	border-radius: 9999px;
	padding: 0.45rem 1.1rem;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	white-space: nowrap;
}
.project-card:hover .project-card__media::after { opacity: 1; transform: translate(-50%, 0); }
.project-card:hover h3 { color: var(--accent); }
.project-card h3 { transition: color 0.25s ease; }

/* ============================================================
   Single project — case-study layout
   ============================================================ */
.proj-hero__actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.proj-hero__alt { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 600; }
.proj-hero__alt:hover { color: var(--accent); }

/* facts bar */
.proj-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	overflow: hidden;
	margin-top: -2.25rem;
	position: relative;
	z-index: 2;
}
.proj-fact {
	background: #0b0b12;
	padding: 1.15rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
.proj-fact__label {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.proj-fact__val { color: #fff; font-weight: 600; font-size: 0.98rem; }
.proj-fact__val--link:hover { color: var(--accent); }
.proj-fact__val--live { display: inline-flex; align-items: center; gap: 0.45rem; color: #4ade80; }
.proj-fact__val--live i { width: 8px; height: 8px; border-radius: 9999px; background: #4ade80; animation: livePulse 1.8s ease-in-out infinite; }

/* browser-frame showcase */
.proj-frame {
	margin-top: 2.5rem;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #12121c;
	box-shadow: 0 34px 68px -30px rgba(0, 0, 0, 0.65);
}
.proj-frame .wh-shot__bar { background: #12121c; border-bottom: 1px solid #26263a; padding: 10px 14px; align-items: center; }
.proj-frame__url {
	font-style: normal;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 0.76rem;
	color: #9b9bb4;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 7px;
	padding: 0.22rem 0.9rem;
	margin-left: 0.75rem;
}
.proj-frame__viewport { overflow: hidden; max-height: 560px; }
.proj-frame__img {
	width: 100%;
	display: block;
	transition: transform 6s ease-in-out;
}
/* slow "page scroll" inside the frame on hover */
.proj-frame:hover .proj-frame__img { transform: translateY(calc(-1 * max(0px, 100% - 560px))); }

/* layout tweaks */
.proj-layout { padding-top: clamp(2.5rem, 5vw, 4rem); }
.proj-content { margin-top: 1.5rem; }

/* deliverables checklist */
.proj-delivered { margin-top: 2.5rem; }
.proj-delivered__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 1.1rem; }
.proj-delivered__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.7rem;
}
.proj-delivered__grid li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 0.92rem;
	font-weight: 500;
}
.proj-delivered__ic {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 9999px;
	background: rgba(255, 211, 0, 0.09);
	color: var(--accent);
}

.proj-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.proj-visit { display: flex; flex-direction: column; gap: 0.35rem; color: inherit; transition: border-color 0.25s ease; }
.proj-visit span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.proj-visit strong { color: var(--accent); font-size: 0.95rem; word-break: break-all; }
.proj-visit:hover { border-color: rgba(255, 211, 0, 0.4); }

@media (max-width: 700px) {
	.proj-delivered__grid { grid-template-columns: 1fr; }
	.proj-facts { margin-top: 1.5rem; }
	.proj-frame__viewport { max-height: 320px; }
}

/* ============================================================
   FAQ page
   ============================================================ */
.faqpage { max-width: none; }
.faqpage__group { max-width: 52rem; margin-inline: auto; scroll-margin-top: 130px; }
.faqpage__group + .faqpage__group { margin-top: 3rem; }
.faqpage__heading {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 1.25rem;
}
.faqpage__heading span {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 10px;
	background: rgba(255, 211, 0, 0.09);
	border: 1px solid rgba(255, 211, 0, 0.25);
	color: var(--accent);
}
.faqpage .about-cta__box { max-width: 52rem; margin-inline: auto; }

/* ============================================================
   Service landing pages
   ============================================================ */
.svc-about__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}
.svc-about__content { margin-top: 1.25rem; }
.svc-about__related {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.svc-about__related > span { color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-right: 0.25rem; }
.svc-about__icon { display: grid; place-items: center; }
.svc-about__disc {
	display: grid;
	place-items: center;
	width: clamp(180px, 22vw, 260px);
	aspect-ratio: 1;
	border-radius: 50%;
	color: var(--accent);
	background:
		radial-gradient(circle at 35% 30%, rgba(255, 211, 0, 0.14), transparent 60%),
		rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 211, 0, 0.3);
	animation: avaFloat 4.5s ease-in-out infinite;
}
.svc-about__disc svg { width: clamp(56px, 7vw, 84px); height: auto; }

.csteps__grid--4 { grid-template-columns: repeat(4, 1fr); }

.svc-work-slider { overflow: hidden; }
.svc-work-slider .swiper-slide { height: auto; }
.svc-work-slider .project-card { display: block; color: inherit; }

.svc-tsl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 2.25rem;
}
.svc-tsl-grid .tsl-card { width: auto; }

@media (max-width: 980px) {
	.svc-about__grid { grid-template-columns: 1fr; }
	.svc-about__icon { order: -1; }
	.csteps__grid--4 { grid-template-columns: repeat(2, 1fr); }
	.svc-tsl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.csteps__grid--4 { grid-template-columns: 1fr; }
}

/* Careers / Process / Testimonials pages */
.careers-chip {
	display: inline-block;
	font-style: normal;
	margin-top: 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	background: rgba(255, 211, 0, 0.08);
	border: 1px solid rgba(255, 211, 0, 0.25);
	border-radius: 9999px;
	padding: 0.25rem 0.7rem;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .cards-grid--2 { grid-template-columns: 1fr; } }

.process-grid--detail { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.process-step__list {
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}
.process-step__list li {
	position: relative;
	padding-left: 1.4rem;
	color: #44433c;
	font-size: 0.88rem;
}
.process-step__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--pc, #845cff);
	font-weight: 800;
}
@media (max-width: 800px) { .process-grid--detail { grid-template-columns: 1fr; } }

.svc-tsl-grid--page { margin-top: 0; }

/* ============================================================
   Background music player (floating, Spotify embed)
   ============================================================ */
.mplay {
	position: fixed;
	right: 1.25rem;
	bottom: calc(1.25rem + 8.5rem); /* sits above the WhatsApp / Call stack */
	z-index: 320;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
}

/* toggle button */
.mplay__btn {
	position: relative;
	appearance: none;
	cursor: pointer;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(12, 12, 19, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.55);
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	order: 2;
}
.mplay__btn:hover { transform: translateY(-3px) scale(1.05); border-color: var(--accent); color: var(--accent); }
.mplay.is-open .mplay__btn { color: var(--accent); border-color: rgba(255, 211, 0, 0.5); }

/* hover label, matching the other floating buttons */
.mplay__btn::after {
	content: attr(data-label);
	position: absolute;
	right: calc(100% + 0.7rem);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	white-space: nowrap;
	background: rgba(10, 10, 16, 0.92);
	color: #fff;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.mplay__btn:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* note icon swaps to dancing bars while open */
.mplay__note { transition: opacity 0.25s ease, transform 0.25s ease; }
.mplay.is-open .mplay__note { opacity: 0; transform: scale(0.6); position: absolute; }
.mplay__eq {
	position: absolute;
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 18px;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.mplay.is-open .mplay__eq { opacity: 1; transform: none; }
.mplay__eq i {
	width: 3px;
	border-radius: 2px;
	background: var(--accent);
	height: 6px;
	animation: mplayEq 0.9s ease-in-out infinite;
}
.mplay__eq i:nth-child(2) { animation-delay: 0.15s; }
.mplay__eq i:nth-child(3) { animation-delay: 0.3s; }
.mplay__eq i:nth-child(4) { animation-delay: 0.45s; }
@keyframes mplayEq {
	0%, 100% { height: 5px; }
	50%      { height: 17px; }
}

/* panel */
.mplay__panel {
	order: 1;
	width: min(330px, calc(100vw - 2.5rem));
	background: rgba(12, 12, 19, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	animation: mplayIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mplayIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } }

.mplay__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.mplay__meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.mplay__label {
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.mplay__meta strong {
	color: #fff;
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mplay__actions { display: flex; gap: 0.35rem; flex-shrink: 0; }
.mplay__icon {
	appearance: none;
	cursor: pointer;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cfcfda;
	transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.mplay__icon:hover { color: var(--accent); background: rgba(255, 211, 0, 0.1); transform: translateY(-1px); }

.mplay__frame { padding: 0.75rem 0.75rem 0; min-height: 152px; }
.mplay__frame iframe { display: block; }
.mplay__note {
	margin: 0;
	padding: 0.6rem 1rem 0.85rem;
	color: var(--muted);
	font-size: 0.75rem;
	line-height: 1.45;
}

@media (max-width: 820px) {
	/* clear the mobile tab bar and the raised contact buttons */
	.mplay { right: 1rem; bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 7.4rem); }
	.mplay__btn { width: 3rem; height: 3rem; }
	.mplay__btn::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.mplay__eq i { animation: none; height: 12px; }
	.mplay__panel { animation: none; }
}

.mplay__note a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.mplay__note a:hover { text-decoration: underline; text-underline-offset: 2px; }
