/* ==========================================================
   Base styles for every page
   Design tokens (colours, type, spacing), reset, layout helpers, buttons,
   reveal animations, site header and site footer.
   ========================================================== */

/* ==========================================================
   Palette, Pantone-referenced (hex values are screen approximations)
   ========================================================== */
:root {
	/* Neutrals */
	--cloud-dancer: #f0eee9; /* PANTONE 11-4201 Cloud Dancer, warm canvas */
	--paper: #faf9f6; /* page background (lifted Cloud Dancer) */
	--white: #ffffff;
	--ink: #101820; /* PANTONE Black 6 C, text */
	--ink-2: #3b4450;
	--muted: #5d6470; /* PANTONE Cool Gray 10 C family */
	--subtle: #8a919c;

	/* Brand */
	--blue: #0072ce; /* PANTONE 285 C, primary action */
	--blue-deep: #0f4c81; /* PANTONE 19-4052 Classic Blue */
	--cyan: #00b5e2; /* PANTONE 306 C */
	--peri: #6667ab; /* PANTONE 17-3938 Very Peri */
	--peach: #ffbe98; /* PANTONE 13-1023 Peach Fuzz */
	--mint: #00c389; /* PANTONE 3395 C, success */

	/* Derived */
	--line: rgba(16, 24, 32, 0.08);
	--line-strong: rgba(16, 24, 32, 0.14);
	--blue-tint: #e8f2fb;
	--grad: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
	--grad-brand: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 35%, var(--cyan) 65%, var(--peri) 100%);

	--shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.05), 0 2px 8px rgba(16, 24, 32, 0.04);
	--shadow-md: 0 2px 4px rgba(16, 24, 32, 0.04), 0 12px 32px -8px rgba(16, 24, 32, 0.12);
	--shadow-lg: 0 4px 8px rgba(16, 24, 32, 0.04), 0 30px 60px -20px rgba(15, 76, 129, 0.25);

	--font-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(44px, 7.7vw, 104px);
	--radius: 20px;
	--radius-sm: 12px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--header-h: 68px;
}

/* ==========================================================
   Base
   ========================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img,
svg,
video {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	color: inherit;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
	margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
th,
summary {
	font-weight: 400;
}
::selection {
	background: var(--blue);
	color: #fff;
}
:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
	border-radius: 8px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.section {
	padding: var(--section) 0;
}
.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue);
}
.eyebrow::before {
	content: '';
	width: 18px;
	height: 1px;
	background: currentColor;
}

.h2 {
	font: 400 clamp(2rem, 4.4vw, 3.5rem)/1.05 var(--font-display);
	letter-spacing: -0.035em;
}
.lead {
	color: var(--muted);
	font-size: clamp(1rem, 1.35vw, 1.125rem);
	max-width: 50ch;
}

.sec-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 64px;
	margin-bottom: clamp(32px, 4.2vw, 52px);
}
.sec-head .h2 {
	margin-top: 18px;
	max-width: 17ch;
}
.sec-head.center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.sec-head.center .h2 {
	max-width: 20ch;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	font: 400 15px/1 var(--font-body);
	white-space: nowrap;
	transition:
		background 0.25s var(--ease),
		color 0.25s var(--ease),
		box-shadow 0.25s var(--ease),
		transform 0.25s var(--ease);
}
.btn svg {
	width: 14px;
	height: 14px;
	transition: transform 0.25s var(--ease);
}
.btn:hover svg {
	transform: translateX(3px);
}
.btn-primary {
	background: var(--blue);
	color: #fff;
	box-shadow:
		0 1px 2px rgba(0, 114, 206, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
	background: #0063b4;
	box-shadow: 0 8px 24px -6px rgba(0, 114, 206, 0.55);
}
.btn-dark {
	background: var(--ink);
	color: #fff;
}
.btn-dark:hover {
	background: #222b36;
}
.btn-ghost {
	background: var(--white);
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
	box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-sm {
	height: 38px;
	padding: 0 16px;
	font-size: 14px;
}
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
	color: var(--blue);
}
.link-arrow svg {
	width: 14px;
	height: 14px;
	transition: transform 0.25s var(--ease);
}
.link-arrow:hover svg {
	transform: translateX(3px);
}

/* Reveal-on-scroll */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.8s var(--ease),
		transform 0.8s var(--ease);
}
.js .reveal.is-in {
	opacity: 1;
	transform: none;
}
.js .reveal[data-delay='1'] {
	transition-delay: 0.08s;
}
.js .reveal[data-delay='2'] {
	transition-delay: 0.16s;
}
.js .reveal[data-delay='3'] {
	transition-delay: 0.24s;
}
.js .reveal[data-delay='4'] {
	transition-delay: 0.32s;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: box-shadow 0.35s var(--ease);
}
/* blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	background: rgba(250, 249, 246, 0.78);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	transition: opacity 0.35s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open {
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled::before,
.site-header.menu-open::before {
	opacity: 1;
}
.hdr-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 400 19px/1 var(--font-display);
	letter-spacing: -0.03em;
}
.brand img {
	width: auto;
	height: 30px;
}
/* white version of the logo, used over dark heroes */
.brand .brand-light {
	display: none;
}
.brand small {
	font: 400 11px/1 var(--font-mono);
	color: var(--subtle);
	letter-spacing: 0.04em;
	padding: 3px 6px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
}

.hdr-nav > ul {
	display: flex;
	align-items: center;
	gap: 4px;
}
.hdr-nav > ul > li > a,
.hdr-nav > ul > li > button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	background: none;
	border: 0;
	cursor: pointer;
	font-size: 15px;
	color: var(--ink-2);
	transition:
		background 0.2s,
		color 0.2s;
}
.hdr-nav > ul > li > a:hover,
.hdr-nav > ul > li > button:hover,
.hdr-nav > ul > li > button[aria-expanded='true'] {
	background: rgba(16, 24, 32, 0.05);
	color: var(--ink);
}
.hdr-nav button svg {
	width: 10px;
	height: 10px;
	transition: transform 0.25s var(--ease);
}
/* active page */
.hdr-nav > ul > li > a,
.hdr-nav > ul > li > button,
.hdr-actions .hdr-link {
	position: relative;
}
.hdr-nav > ul > li > a.is-active,
.hdr-nav > ul > li > button.is-active {
	color: var(--ink);
	background: var(--white);
	box-shadow:
		inset 0 0 0 1px var(--line-strong),
		0 1px 2px rgba(16, 24, 32, 0.05);
}
.hdr-nav > ul > li > a.is-active::after,
.hdr-nav > ul > li > button.is-active::after,
.hdr-actions .hdr-link.is-active::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -7px;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--blue);
}
.hdr-actions .hdr-link.is-active {
	color: var(--ink);
}
.mega-col a.is-active {
	background: var(--blue-tint);
}
.mega-col a.is-active b {
	color: var(--blue);
}
.hdr-nav button[aria-expanded='true'] svg {
	transform: rotate(180deg);
}
.hdr-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
.hdr-actions .hdr-link {
	font-size: 15px;
	color: var(--ink-2);
	padding: 0 12px;
}
.hdr-actions .hdr-link:hover {
	color: var(--ink);
}

/* Highlight buttons (.btn-glow): slow rotating gradient ring + an occasional light sweep.
   Used on the header "Start a project", the call buttons and "See our work" links. */
@property --glow-a {
	syntax: '<angle>';
	inherits: false;
	initial-value: 0deg;
}
.btn-glow {
	--glow-bg: var(--ink);
	--glow-shine: rgba(255, 255, 255, 0.22);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border: 1.5px solid transparent;
	background:
		linear-gradient(var(--glow-bg), var(--glow-bg)) padding-box,
		conic-gradient(from var(--glow-a), transparent 0 50%, var(--cyan) 70%, var(--blue) 85%, transparent 100%) border-box;
	animation: glow-ring 4s linear infinite;
	transition:
		box-shadow 0.3s var(--ease),
		transform 0.3s var(--ease);
}
.btn-glow::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 30%, var(--glow-shine) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: glow-shine 6s var(--ease) infinite 1.2s;
	pointer-events: none;
}
.btn-glow:hover {
	--glow-bg: #1b2531;
	box-shadow: 0 10px 24px -10px rgba(0, 181, 226, 0.6);
	transform: translateY(-1px);
}
.btn-ghost.btn-glow {
	--glow-bg: var(--white);
	--glow-shine: rgba(0, 114, 206, 0.12);
	box-shadow: none;
}
.btn-ghost.btn-glow:hover {
	--glow-bg: var(--white);
	box-shadow: 0 10px 24px -12px rgba(0, 114, 206, 0.45);
}
@keyframes glow-ring {
	to {
		--glow-a: 360deg;
	}
}
@keyframes glow-shine {
	0% {
		transform: translateX(-120%);
	}
	22%,
	100% {
		transform: translateX(120%);
	}
}

/* Header "Start a project": brand gradient that slowly flows, a breathing glow and the shine sweep */
.hdr-cta.btn-glow {
	color: #fff;
	border: 0;
	background: linear-gradient(110deg, var(--blue-deep) 0%, var(--blue) 25%, var(--cyan) 50%, var(--blue) 75%, var(--blue-deep) 100%);
	background-size: 200% 100%;
	box-shadow:
		0 6px 18px -8px rgba(0, 114, 206, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	animation:
		hdr-flow 6s linear infinite,
		hdr-breathe 3s ease-in-out infinite;
}
.hdr-cta.btn-glow:hover {
	transform: translateY(-1px);
	filter: brightness(1.07) saturate(1.1);
}
@keyframes hdr-flow {
	to {
		background-position: 200% 0;
	}
}
@keyframes hdr-breathe {
	50% {
		box-shadow:
			0 8px 24px -6px rgba(0, 181, 226, 0.7),
			0 0 0 4px rgba(0, 181, 226, 0.12),
			inset 0 1px 0 rgba(255, 255, 255, 0.22);
	}
}

/* Call button: phone chip that rings every few seconds, label, number on wider screens */
.btn-call {
	color: #fff;
	gap: 10px;
	padding-left: 6px;
	padding-right: 20px;
}
.btn-call .call-ic {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--grad);
}
.btn-call .call-ic::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(0, 181, 226, 0.55);
	opacity: 0;
	animation: call-ripple 4s var(--ease) infinite;
}
.btn.btn-call .call-ic svg {
	width: 15px;
	height: 15px;
	transform: none;
	animation: call-ring 4s ease-in-out infinite;
}
.btn-call small {
	padding-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	font: 400 12.5px/1 var(--font-mono);
	color: #b9c3cf;
}
@keyframes call-ring {
	0%,
	12%,
	100% {
		transform: none;
	}
	2%,
	6%,
	10% {
		transform: rotate(-14deg);
	}
	4%,
	8% {
		transform: rotate(14deg);
	}
}
@keyframes call-ripple {
	0% {
		opacity: 0.9;
		transform: scale(1);
	}
	30%,
	100% {
		opacity: 0;
		transform: scale(1.7);
	}
}
@media (max-width: 640px) {
	.btn-call small {
		display: none;
	}
}

/* Mega menu */
.has-mega {
	position: static;
}
.mega {
	position: absolute;
	left: 50%;
	top: calc(var(--header-h) - 6px);
	width: min(1040px, calc(100vw - 32px));
	transform: translate(-50%, 8px) scale(0.985);
	transform-origin: top center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.25s var(--ease),
		transform 0.3s var(--ease),
		visibility 0.25s;
}
.mega.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0) scale(1);
}
.mega-card {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr 1fr;
	gap: 8px;
	padding: 10px;
	background: var(--white);
	border-radius: 22px;
	box-shadow:
		var(--shadow-lg),
		0 0 0 1px var(--line);
}
.mega-feature {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	padding: 24px;
	color: #fff;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background:
		radial-gradient(120% 90% at 100% 0%, var(--cyan) 0%, transparent 55%),
		radial-gradient(90% 80% at 0% 100%, var(--peri) 0%, transparent 60%), var(--blue-deep);
}
.mega-feature span {
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}
.mega-feature strong {
	display: block;
	margin-top: 10px;
	font: 400 22px/1.15 var(--font-display);
	letter-spacing: -0.02em;
}
.mega-feature em {
	margin-top: 18px;
	font-style: normal;
	font-size: 14px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.mega-col {
	padding: 16px 8px;
}
.mega-col h4 {
	padding: 0 12px 10px;
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--subtle);
}
.mega-col a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	transition: background 0.2s;
}
.mega-col a:hover {
	background: var(--paper);
}
.mega-col a b {
	display: block;
	font-weight: 400;
	font-size: 14.5px;
}
.mega-col a span {
	display: block;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.4;
	margin-top: 2px;
}

.scroll-progress {
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(0);
	background: var(--grad);
}

.menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--line-strong);
	align-items: center;
	justify-content: center;
}
.menu-toggle i,
.menu-toggle i::before {
	display: block;
	width: 16px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.3s var(--ease);
}
.menu-toggle i {
	position: relative;
	transform: translateY(-3px);
}
.menu-toggle i::before {
	content: '';
	position: absolute;
	top: 6px;
}
.menu-open .menu-toggle i {
	transform: rotate(45deg);
}
.menu-open .menu-toggle i::before {
	transform: translateY(-6px) rotate(-90deg);
}

.mobile-menu {
	display: none;
}

@media (max-width: 1000px) {
	.hdr-nav,
	.hdr-actions .hdr-link,
	.hdr-actions .btn {
		display: none;
	}
	.menu-toggle {
		display: inline-flex;
	}
	.mobile-menu {
		display: block;
		position: fixed;
		inset: var(--header-h) 0 0;
		overflow-y: auto;
		background: var(--paper);
		padding: 8px var(--gutter) 40px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition:
			opacity 0.3s var(--ease),
			transform 0.3s var(--ease),
			visibility 0.3s;
	}
	.menu-open .mobile-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.mobile-menu details,
	.mobile-menu > a {
		display: block;
		border-bottom: 1px solid var(--line);
	}
	.mobile-menu summary,
	.mobile-menu > a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 18px 0;
		font: 400 22px/1.2 var(--font-display);
		letter-spacing: -0.02em;
		cursor: pointer;
		list-style: none;
	}
	.mobile-menu summary::-webkit-details-marker {
		display: none;
	}
	.mobile-menu summary::after {
		content: '+';
		font-weight: 400;
		color: var(--subtle);
		transition: transform 0.3s;
	}
	.mobile-menu details[open] summary::after {
		transform: rotate(45deg);
	}
	.mobile-menu details h4 {
		margin: 8px 0 6px;
		font: 400 11px/1 var(--font-mono);
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--subtle);
	}
	.mobile-menu details a {
		display: block;
		padding: 8px 0;
		color: var(--ink-2);
	}
	.mobile-menu details > div {
		padding-bottom: 16px;
	}
	.mobile-menu a.is-active,
	.mobile-menu summary.is-active {
		color: var(--blue);
	}
	.mobile-menu > a.is-active::after {
		content: '';
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--blue);
	}
	.mobile-menu .btn {
		width: 100%;
		margin-top: 28px;
		height: 52px;
	}
	.mobile-menu > a.btn {
		justify-content: center;
		padding: 0 22px;
		border-bottom: 0;
		font: 400 16px/1 var(--font-body);
		letter-spacing: 0;
	}
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: #c9ced6;
	padding: clamp(52px, 6.3vw, 80px) 0 0;
}
.site-footer::before {
	content: '';
	position: absolute;
	top: -280px;
	right: -160px;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(closest-side, rgba(0, 114, 206, 0.35), rgba(102, 103, 171, 0.12) 60%, transparent);
}
/* Footer contact form */
.ftr-contact-sec {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	padding-bottom: clamp(44px, 5.6vw, 72px);
	margin-bottom: clamp(40px, 4.9vw, 60px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ftr-cta .eyebrow {
	color: var(--cyan);
}
.ftr-cta h2 {
	margin-top: 20px;
	color: #fff;
	font: 400 clamp(2rem, 4vw, 3.25rem)/1.05 var(--font-display);
	letter-spacing: -0.035em;
	max-width: 16ch;
}
.ftr-cta > p {
	margin-top: 18px;
	color: #9aa3ae;
	font-size: 17px;
	max-width: 40ch;
}
.ftr-cards {
	display: grid;
	gap: 12px;
	margin-top: 36px;
	max-width: 380px;
}
.ftr-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	color: #fff;
	font-weight: 400;
	transition:
		background 0.25s,
		box-shadow 0.25s;
}
.ftr-card:hover {
	background: rgba(255, 255, 255, 0.07);
	box-shadow: inset 0 0 0 1px rgba(0, 181, 226, 0.4);
}
.ftr-card small {
	display: block;
	margin-bottom: 2px;
	font: 400 11px/1.4 var(--font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7d8691;
}
.ftr-card-ic {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--grad);
	color: #fff;
}
.ftr-card-ic svg {
	width: 20px;
	height: 20px;
}

.ftr-form {
	display: grid;
	gap: 16px;
	padding: clamp(24px, 3vw, 36px);
	border-radius: 24px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.1),
		0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.ftr-form h3 {
	color: #fff;
	font: 400 1.375rem/1.2 var(--font-display);
	letter-spacing: -0.02em;
	margin-bottom: 4px;
}
.ftr-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.ftr-form label {
	display: grid;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	color: #aab2bd;
}
.ftr-form input,
.ftr-form textarea {
	width: 100%;
	padding: 13px 14px;
	border: 0;
	border-radius: 12px;
	resize: vertical;
	font: 400 15px/1.4 var(--font-body);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	transition:
		box-shadow 0.2s,
		background 0.2s;
}
.ftr-form input::placeholder,
.ftr-form textarea::placeholder {
	color: #6f7883;
}
.ftr-form input:focus,
.ftr-form textarea:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.09);
	box-shadow:
		inset 0 0 0 1px var(--cyan),
		0 0 0 4px rgba(0, 181, 226, 0.15);
}
.ftr-form .btn {
	justify-self: start;
	height: 50px;
	padding: 0 26px;
	margin-top: 4px;
}

.ftr-top {
	position: relative;
	display: grid;
	grid-template-columns: 1.5fr repeat(4, 1fr);
	gap: 40px;
}
.ftr-brand img {
	height: 32px;
	width: auto;
}
.ftr-brand p {
	margin-top: 20px;
	font-size: 15px;
	color: #9aa3ae;
	max-width: 32ch;
}
.ftr-contact {
	margin-top: 28px;
	display: grid;
	gap: 18px;
	font-size: 15px;
}
.ftr-addr {
	line-height: 1.6;
	color: #c9ced6;
}
.ftr-addr small {
	display: block;
	margin-bottom: 4px;
	font: 400 11px/1.4 var(--font-mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #6f7883;
}
.ftr-contact a:hover {
	color: #fff;
}
.ftr-status {
	margin-top: 28px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 13px;
}
.ftr-status i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 4px rgba(0, 195, 137, 0.18);
}
.site-footer h4 {
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6f7883;
	margin-bottom: 20px;
}
.site-footer li + li {
	margin-top: 12px;
}
.site-footer li a {
	font-size: 15px;
	color: #c9ced6;
	transition: color 0.2s;
}
.site-footer li a:hover {
	color: #fff;
}
.ftr-word {
	position: relative;
	margin-top: clamp(44px, 5.6vw, 72px);
	text-align: center;
	user-select: none;
	font: 400 clamp(4.5rem, 19vw, 17rem)/0.8 var(--font-display);
	letter-spacing: -0.06em;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ftr-bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 24px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13px;
	color: #7d8691;
}

@media (max-width: 1000px) {
	.ftr-top {
		grid-template-columns: repeat(2, 1fr);
	}
	.ftr-brand {
		grid-column: 1 / -1;
	}
	.ftr-contact-sec {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	.ftr-row {
		grid-template-columns: 1fr;
	}
	.ftr-form .btn {
		justify-self: stretch;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.js .reveal {
		opacity: 1;
		transform: none;
		filter: none;
	}
}

/* ==========================================================
   Social links (footer + mobile menu)
   ========================================================== */
.soc {
	display: flex;
	gap: 8px;
	margin-top: 24px;
}
.soc a {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: #c9ced6;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	transition:
		background 0.25s,
		color 0.25s,
		transform 0.25s var(--ease);
}
.soc a:hover {
	color: #fff;
	background: var(--blue);
	transform: translateY(-2px);
}
.soc svg {
	width: 17px;
	height: 17px;
}
.soc-menu {
	justify-content: center;
	margin-top: 22px;
}
.soc-menu a {
	color: var(--ink);
	background: rgba(11, 20, 24, 0.05);
	box-shadow: inset 0 0 0 1px rgba(11, 20, 24, 0.08);
	border-bottom: 0;
}
.soc-menu a:hover {
	color: #fff;
	background: var(--blue);
}

/* ==========================================================
   Captcha (contact + footer forms)
   ========================================================== */
.cap {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}
.cap-box {
	position: relative;
	width: 160px;
	height: 52px;
	border-radius: 12px;
	overflow: hidden;
	background: #eef3fa;
	box-shadow: inset 0 0 0 1px rgba(16, 24, 32, 0.12);
}
.cap-img {
	display: block;
	width: 160px;
	height: 52px;
	user-select: none;
	-webkit-user-drag: none;
}
.cap-refresh {
	position: absolute;
	right: 4px;
	bottom: 4px;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	color: var(--ink);
	background: rgba(255, 255, 255, 0.85);
	transition:
		background 0.2s,
		color 0.2s;
}
.cap-refresh:hover {
	color: #fff;
	background: var(--blue);
}
.cap-refresh svg {
	width: 14px;
	height: 14px;
}
.cap-input {
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.cap-input::placeholder {
	text-transform: none;
	letter-spacing: 0;
}
.cap-msg {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #ff8a80;
}
.cap-msg[hidden] {
	display: none;
}
.is-error .cap-input {
	box-shadow: inset 0 0 0 1px #ff6b5e;
}
@media (max-width: 420px) {
	.cap {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================
   Form validation messages (contact + footer forms)
   ========================================================== */
.fv-msg {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #ff8a80;
}
.fv-msg[hidden] {
	display: none;
}
input.is-invalid,
textarea.is-invalid {
	box-shadow: inset 0 0 0 1.5px #ff6b5e !important;
}


/* ==========================================================
   FAQ intro on phones: heading and its button share one row
   (.faq-head is added next to each page's own intro class)
   ========================================================== */
@media (max-width: 640px) {
	.faq-head.faq-head {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 16px;
		align-items: end;
	}
	.faq-head > .eyebrow,
	.faq-head > p {
		grid-column: 1 / -1;
	}
	.faq-head > h2 {
		grid-column: 1;
		grid-row: 2;
	}
	.faq-head.faq-head > a {
		grid-column: 2;
		grid-row: 2;
		align-self: end;
		justify-self: end;
		margin: 0 0 4px;
		white-space: nowrap;
	}
	.faq-head.faq-head > .btn {
		height: 40px;
		padding: 0 16px;
		font-size: 14px;
	}
	.faq-head > p {
		grid-row: 3;
	}
}

/* ==========================================================
   Quick contact (floating button, markup in footer.html)
   ========================================================== */
.qc {
	position: fixed;
	right: clamp(16px, 2.4vw, 28px);
	bottom: clamp(16px, 2.4vw, 28px);
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.9);
	transition:
		opacity 0.4s var(--ease),
		transform 0.4s var(--ease),
		visibility 0.4s;
}
.qc.is-shown {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.qc-menu {
	display: grid;
	gap: 8px;
	justify-items: stretch;
	pointer-events: none;
}
.qc.is-open .qc-menu {
	pointer-events: auto;
}
.qc-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px 8px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-md);
	opacity: 0;
	transform: translateY(10px) scale(0.96);
	transform-origin: right bottom;
	transition:
		opacity 0.3s var(--ease),
		transform 0.3s var(--ease),
		box-shadow 0.2s;
}
.qc.is-open .qc-item {
	opacity: 1;
	transform: none;
}
.qc.is-open .qc-item:nth-child(3) {
	transition-delay: 0s;
}
.qc.is-open .qc-item:nth-child(2) {
	transition-delay: 0.05s;
}
.qc.is-open .qc-item:nth-child(1) {
	transition-delay: 0.1s;
}
.qc-item:hover {
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--tone, var(--blue)) 45%, transparent),
		var(--shadow-md);
}
.qc-item .qc-ic {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--tone, var(--blue));
	background: color-mix(in srgb, var(--tone, var(--blue)) 12%, #fff);
}
.qc-item svg {
	width: 17px;
	height: 17px;
}
.qc-item b {
	display: block;
	font: 400 14px/1.25 var(--font-body);
	color: var(--ink);
}
.qc-item small {
	display: block;
	font: 400 12px/1.3 var(--font-mono);
	color: var(--muted);
}
.qc-fab {
	position: relative;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	color: #fff;
	background: var(--grad);
	box-shadow:
		0 10px 26px -8px rgba(0, 114, 206, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition:
		transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}
.qc-fab:hover {
	transform: translateY(-2px);
	box-shadow:
		0 14px 30px -8px rgba(0, 114, 206, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* soft ripple, about 2s of every 9s, stops once the menu has been opened */
.qc-fab::before,
.qc-fab::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(0, 181, 226, 0.5);
	opacity: 0;
	animation: qc-ripple 9s var(--ease) infinite 2s;
	pointer-events: none;
}
.qc-fab::after {
	animation-delay: 2.5s;
}
.qc.was-opened .qc-fab::before,
.qc.was-opened .qc-fab::after {
	animation: none;
}
.qc-fab svg {
	position: absolute;
	width: 22px;
	height: 22px;
	transition:
		transform 0.35s var(--ease),
		opacity 0.25s;
}
.qc-fab .qc-x {
	opacity: 0;
	transform: rotate(-90deg) scale(0.6);
}
.qc.is-open .qc-fab .qc-phone {
	opacity: 0;
	transform: rotate(90deg) scale(0.6);
}
.qc.is-open .qc-fab .qc-x {
	opacity: 1;
	transform: none;
}
.qc-label {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	padding: 7px 12px;
	border-radius: 999px;
	white-space: nowrap;
	font: 400 13px/1 var(--font-body);
	color: var(--ink);
	background: var(--white);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-sm);
	opacity: 0;
	transform: translate(6px, -50%);
	transition:
		opacity 0.25s,
		transform 0.25s var(--ease);
	pointer-events: none;
}
.qc-fab:hover .qc-label {
	opacity: 1;
	transform: translate(0, -50%);
}
.qc.is-open .qc-label {
	opacity: 0;
}
@keyframes qc-ripple {
	0% {
		opacity: 0.9;
		transform: scale(1);
	}
	22% {
		opacity: 0;
		transform: scale(1.6);
	}
	100% {
		opacity: 0;
		transform: scale(1.6);
	}
}
@media (max-width: 520px) {
	.qc-fab {
		width: 52px;
		height: 52px;
	}
	.qc-label {
		display: none;
	}
}

/* ==========================================================
   Toasts
   ========================================================== */
.toasts {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1000;
	display: grid;
	gap: 10px;
	width: min(380px, calc(100vw - 32px));
	pointer-events: none;
}
.toast {
	pointer-events: auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 12px;
	align-items: start;
	padding: 14px 14px 14px 16px;
	border-radius: 16px;
	color: var(--ink);
	background: #fff;
	box-shadow:
		0 18px 40px -12px rgba(16, 24, 32, 0.28),
		0 0 0 1px rgba(16, 24, 32, 0.08);
	opacity: 0;
	transform: translateY(12px);
	transition:
		opacity 0.3s var(--ease),
		transform 0.3s var(--ease);
}
.toast.is-in {
	opacity: 1;
	transform: none;
}
.toast p {
	margin: 0;
	padding-top: 3px;
	font-size: 14.5px;
	line-height: 1.45;
}
.toast-ic {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
}
.toast-ic svg {
	width: 16px;
	height: 16px;
}
.toast-success .toast-ic {
	background: #1fa971;
}
.toast-error .toast-ic {
	background: #e2553f;
}
.toast-info .toast-ic {
	background: var(--blue);
}
.toast-x {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	color: #6f7883;
	background: transparent;
}
.toast-x:hover {
	color: var(--ink);
	background: rgba(16, 24, 32, 0.06);
}
.toast-x svg {
	width: 14px;
	height: 14px;
}
@media (max-width: 520px) {
	.toasts {
		right: 16px;
		left: 16px;
		bottom: 16px;
		width: auto;
	}
}

/* ==========================================================
   Phones: a little more breathing room between sections
   (desktop spacing is unchanged)
   ========================================================== */
@media (max-width: 640px) {
	:root {
		--section: 60px;
	}
}
