/* ==========================================================================
   Ciphers Lab — main stylesheet
   Palette comes from the logo: charcoal #383030 and sky blue #60C0D8.
   ========================================================================== */

@font-face {
	font-family: "Outfit";
	src: url("../fonts/outfit-latin.woff2") format("woff2");
	font-weight: 300 800;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--ink: #0b0f14;
	--ink-2: #0f151c;
	--surface: #141b23;
	--surface-2: #1a232d;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.16);
	--text: #e9eef3;
	--muted: #9daab7;
	--blue: #60c0d8;
	--cyan: #98d8e8;
	--blue-deep: #2f8fb0;
	--charcoal: #383030;
	--paper: #f3f6f8;
	--glow: rgba(96, 192, 216, 0.35);
	--radius: 18px;
	--radius-sm: 12px;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(84px, 11vw, 168px);
	--font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 76px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Fine film grain: a single static layer that takes the flatness out of the dark backgrounds. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 90;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.055;
	pointer-events: none;
}

img,
video,
svg {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-head);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.028em;
	color: #fff;
	text-wrap: balance;
}

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: var(--blue);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: var(--cyan);
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--blue);
	color: var(--ink);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--blue);
	color: var(--ink);
	border-radius: 8px;
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
}

.container {
	width: min(100% - var(--gutter) * 2, var(--container));
	margin-inline: auto;
}

.container-narrow {
	--container: 820px;
}

.icon {
	flex: none;
}

/* ---------- Shared pieces ---------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--blue);
}

.eyebrow a {
	color: inherit;
}

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

.section + .section {
	padding-top: 0;
}

.section-head {
	max-width: 760px;
	margin: 0 auto clamp(44px, 6vw, 84px);
	text-align: center;
}

.section-head--left {
	margin-inline: 0;
	text-align: left;
}

.section-title {
	font-size: clamp(32px, 4.6vw, 60px);
}

.section-text {
	margin: 0;
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--muted);
}

.section-cta {
	margin: clamp(32px, 4vw, 52px) 0 0;
	text-align: center;
}

.sub-title {
	margin: 56px 0 24px;
	font-size: clamp(22px, 2.4vw, 28px);
}

.sub-title:first-of-type {
	margin-top: 40px;
}

.lead {
	font-size: clamp(18px, 1.7vw, 21px);
	line-height: 1.6;
	color: #d5dde5;
}

.lead--center {
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}

.text-liquid {
	white-space: nowrap;
	background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, #7fd4ea 70%, var(--cyan) 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: liquid 7s linear infinite;
}

@keyframes liquid {
	to {
		background-position: -220% 0;
	}
}

.pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--blue);
	box-shadow: 0 0 0 0 var(--glow);
	animation: pulse 2.4s infinite;
}

@keyframes pulse {
	70% {
		box-shadow: 0 0 0 12px rgba(96, 192, 216, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(96, 192, 216, 0);
	}
}

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn .icon {
	transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
	transform: translateX(4px);
}

.btn:hover .icon-arrow-up {
	transform: translate(3px, -3px);
}

.btn-primary {
	background: linear-gradient(120deg, var(--blue), var(--cyan));
	color: #06202a;
	box-shadow: 0 10px 30px -12px var(--glow);
}

.btn-primary:hover {
	color: #06202a;
	transform: translateY(-2px);
	box-shadow: 0 18px 44px -14px var(--glow);
}

.btn-ghost {
	border-color: var(--line-strong);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
}

.btn-ghost:hover {
	border-color: var(--blue);
	color: #fff;
	transform: translateY(-2px);
}

.btn-sm {
	padding: 12px 20px;
	font-size: 15px;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.btn-row--center {
	justify-content: center;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 500;
	color: var(--blue);
}

.link-arrow .icon {
	transition: transform 0.35s var(--ease);
}

a:hover .link-arrow .icon,
.link-arrow:hover .icon {
	transform: translateX(5px);
}

.icon-badge {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	border: 1px solid rgba(96, 192, 216, 0.3);
	background: linear-gradient(145deg, rgba(96, 192, 216, 0.2), rgba(96, 192, 216, 0.03));
	color: var(--cyan);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chips li,
.chips a {
	display: block;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 13px;
	line-height: 1.5;
	color: #c3ced9;
}

.chips--links li {
	padding: 0;
	border: 0;
	background: none;
}

.chips--links a:hover {
	border-color: var(--blue);
	color: #fff;
}

.chips--lg li,
.chips--lg a {
	padding: 8px 16px;
	font-size: 14.5px;
}

.glass-card {
	position: relative;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)), var(--ink-2);
	transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
	transform-style: preserve-3d;
}

.glass-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 192, 216, 0.16), transparent 60%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}

.glass-card:hover {
	border-color: rgba(96, 192, 216, 0.4);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}

.glass-card:hover::before {
	opacity: 1;
}

.glass-card--accent {
	border-color: rgba(96, 192, 216, 0.35);
	background: linear-gradient(160deg, rgba(96, 192, 216, 0.14), rgba(96, 192, 216, 0.02));
}

.glass-card h3 {
	margin-top: 18px;
	font-size: 21px;
}

.glass-card p:last-child {
	margin-bottom: 0;
}

.glass-card p {
	color: var(--muted);
}

[data-tilt] {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
	will-change: transform;
}

.check-list {
	display: grid;
	gap: 10px;
}

.check-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #cdd6df;
	font-size: 15.5px;
	line-height: 1.5;
}

.check-list .icon {
	margin-top: 4px;
	color: var(--blue);
}

/* Scroll reveal. Content stays visible if JavaScript never runs. */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.js .reveal[data-tilt].is-visible {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}

.split__media img {
	width: 100%;
	border-radius: var(--radius);
	-webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 55%, transparent 100%);
	mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 55%, transparent 100%);
}

.split--reverse .split__media {
	order: 2;
}

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
	border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.nav-open .site-header {
	background: rgba(11, 15, 20, 0.82);
	border-bottom-color: var(--line);
	backdrop-filter: blur(16px) saturate(140%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}

.site-logo img {
	width: 150px;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav__list > li > a,
.site-nav__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	font-family: var(--font-head);
	font-size: 15.5px;
	font-weight: 400;
	color: #d3dbe3;
	transition: color 0.2s, background-color 0.2s;
}

.site-nav__list > li > a:hover,
.site-nav__trigger:hover,
.site-nav__trigger[aria-expanded="true"],
.site-nav__list > li > a[aria-current="page"] {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.site-nav__list > li > a[aria-current="page"] {
	color: var(--cyan);
}

.site-nav__trigger .icon {
	transition: transform 0.3s var(--ease);
}

.site-nav__trigger[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.has-menu {
	position: static;
}

.mega {
	position: absolute;
	top: calc(var(--header-h) - 6px);
	left: 50%;
	display: grid;
	grid-template-columns: 1.25fr 1fr 0.8fr;
	gap: 8px;
	width: min(940px, calc(100vw - 40px));
	padding: 14px;
	border: 1px solid var(--line-strong);
	border-radius: 22px;
	background: rgba(15, 21, 28, 0.96);
	backdrop-filter: blur(20px);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}

.mega.is-open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.mega__col {
	padding: 16px;
	border-radius: 14px;
}

.mega__col--ai {
	background: linear-gradient(160deg, rgba(96, 192, 216, 0.13), rgba(96, 192, 216, 0.02));
	border: 1px solid rgba(96, 192, 216, 0.22);
}

.mega__label {
	margin: 0 0 10px;
	font-family: var(--font-head);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.mega__lead {
	display: block;
	margin-bottom: 8px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #fff;
}

.mega__lead strong {
	display: block;
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 600;
}

.mega__lead span {
	font-size: 14px;
	color: var(--muted);
}

.mega li a {
	display: block;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 15px;
	color: #cfd8e1;
}

.mega li a:hover,
.mega__lead:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.nav-toggle {
	display: none;
	padding: 8px;
	border: 0;
	background: none;
	color: #fff;
}

.nav-toggle .icon-close {
	display: none;
}

/* ---------- Hero ---------- */

.cl-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.cl-video.is-playing {
	opacity: 1;
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(100svh, 920px);
	padding: calc(var(--header-h) + 56px) 0 72px;
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--ink) 0%, rgba(11, 15, 20, 0.86) 34%, rgba(11, 15, 20, 0.15) 70%, rgba(11, 15, 20, 0) 100%),
		linear-gradient(0deg, var(--ink) 0%, rgba(11, 15, 20, 0) 26%);
}

.hero__canvas {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	opacity: 0.55;
	pointer-events: none;
}

.hero__inner {
	position: relative;
}

.hero__eyebrow {
	padding: 8px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(8px);
	font-size: 12.5px;
	color: #d6e6ee;
}

.hero__title {
	max-width: 12.5em;
	font-size: clamp(42px, 7.2vw, 92px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.hero__text {
	max-width: 590px;
	margin: 26px 0 0;
	font-size: clamp(17px, 1.6vw, 20px);
	color: #c9d3dd;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 34px;
	margin-top: 54px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	max-width: 640px;
	font-size: 14.5px;
	color: var(--muted);
}

.hero__facts strong {
	margin-right: 4px;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	color: #fff;
}

.js .hero__inner > * {
	opacity: 0;
	transform: translateY(22px);
	animation: rise 0.9s var(--ease) forwards;
}

.js .hero__inner > *:nth-child(2) { animation-delay: 0.08s; }
.js .hero__inner > *:nth-child(3) { animation-delay: 0.16s; }
.js .hero__inner > *:nth-child(4) { animation-delay: 0.24s; }
.js .hero__inner > *:nth-child(5) { animation-delay: 0.32s; }

@keyframes rise {
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Trust bar (light band so client logos keep their own colours) ---------- */

.trust {
	padding: 34px 0 30px;
	background: var(--paper);
	color: var(--charcoal);
}

.trust__caption {
	margin: 0 0 22px;
	text-align: center;
	font-family: var(--font-head);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5b646e;
}

.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 56px;
	width: max-content;
	animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__track img {
	width: auto;
	height: 46px;
	max-width: 150px;
	object-fit: contain;
	filter: grayscale(1) contrast(1.1);
	opacity: 0.72;
	transition: filter 0.3s, opacity 0.3s;
}

.marquee__track li:hover img {
	filter: none;
	opacity: 1;
}

@keyframes marquee {
	to {
		transform: translateX(calc(-50% - 28px));
	}
}

/* ---------- Background texture for dark sections ---------- */

.section-stack,
.section-tech,
.section-caps,
.section-compare {
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
	-webkit-mask-image: none;
}

.section-stack::before,
.section-tech::before,
.section-caps::before,
.section-compare::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, var(--ink) 78%);
	pointer-events: none;
}

.section-stack > .container,
.section-tech > .container,
.section-caps > .container,
.section-compare > .container {
	position: relative;
}

/* ---------- AI-Native Stack ---------- */

.stack {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.stack__visual {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	-webkit-mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, #000 58%, transparent 100%);
	mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, #000 58%, transparent 100%);
}

.stack__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stack__cards {
	display: grid;
	gap: 16px;
}

.stack-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.stack-card__num,
.cap__num {
	font-family: var(--font-head);
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.stack-card__label {
	margin: 20px 0 12px;
	font-family: var(--font-head);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue) !important;
}

/* ---------- Services list ---------- */

.service-list {
	border-top: 1px solid var(--line);
}

.service-row {
	position: relative;
	border-bottom: 1px solid var(--line);
}

.service-row__link {
	position: relative;
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) 260px 130px;
	gap: clamp(16px, 3vw, 44px);
	align-items: center;
	padding: clamp(26px, 3.2vw, 42px) clamp(8px, 1.5vw, 22px);
	color: inherit;
	transition: background-color 0.4s;
}

.service-row__link::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, var(--blue), var(--cyan));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.7s var(--ease);
}

.service-row__link:hover {
	background: linear-gradient(90deg, rgba(96, 192, 216, 0.07), transparent 70%);
	color: inherit;
}

.service-row__link:hover::before {
	transform: scaleX(1);
}

.service-row__num {
	font-family: var(--font-head);
	font-size: 15px;
	letter-spacing: 0.1em;
	color: var(--blue);
}

.service-row h3 {
	font-size: clamp(24px, 2.8vw, 36px);
	transition: color 0.3s;
}

.service-row__link:hover h3 {
	color: var(--cyan);
}

.service-row p {
	max-width: 620px;
	color: var(--muted);
}

.service-row__media {
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--line);
	opacity: 0.85;
	transition: opacity 0.4s, transform 0.6s var(--ease);
}

.service-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.service-row__link:hover .service-row__media {
	opacity: 1;
	transform: translateY(-4px);
}

.service-row__link:hover .service-row__media img {
	transform: scale(1.06);
}

.service-row__more {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 15px;
	color: var(--text);
}

.service-row__link:hover .service-row__more {
	color: var(--blue);
}

/* ---------- Stats ---------- */

.stats {
	position: relative;
	padding: clamp(44px, 6vw, 76px) 0;
	border-block: 1px solid var(--line);
	background:
		radial-gradient(ellipse 60% 120% at 50% 0%, rgba(96, 192, 216, 0.12), transparent 70%),
		var(--ink-2);
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 48px);
}

.stat__num {
	margin: 0 0 8px;
	font-family: var(--font-head);
	font-size: clamp(46px, 6vw, 84px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
	background: linear-gradient(180deg, #fff 20%, var(--blue) 120%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat__label {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--muted);
}

.stat__label small {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--blue);
}

/* ---------- Case studies ---------- */

.case-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
}

.case-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
}

.case-card[hidden] {
	display: none;
}

.case-card:hover {
	border-color: rgba(96, 192, 216, 0.45);
	box-shadow: 0 40px 70px -50px rgba(96, 192, 216, 0.55);
}

.case-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
}

.case-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-2);
}

.case-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

.case-card:hover .case-card__media img {
	transform: scale(1.06);
}

.case-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}

.case-card__tags {
	margin: 0 0 8px;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--blue);
}

.case-card__title {
	margin: 0 0 8px;
	font-size: 21px;
}

.case-card__metric {
	margin: 0 0 14px;
	font-size: 15px;
	color: #d5dde5;
}

.case-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	font-family: var(--font-head);
	font-size: 14.5px;
	color: var(--muted);
	transition: color 0.3s;
}

.case-card:hover .case-card__more {
	color: var(--blue);
}

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 40px;
}

.filters__btn {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	font-family: var(--font-head);
	font-size: 14.5px;
	color: #c9d3dd;
	transition: all 0.25s;
}

.filters__btn:hover {
	border-color: var(--blue);
	color: #fff;
}

.filters__btn.is-active {
	border-color: transparent;
	background: linear-gradient(120deg, var(--blue), var(--cyan));
	color: #06202a;
}

.case-metric {
	display: inline-block;
	margin: 22px 0 0;
	padding: 10px 18px;
	border: 1px solid rgba(96, 192, 216, 0.4);
	border-radius: 999px;
	background: rgba(96, 192, 216, 0.1);
	font-family: var(--font-head);
	font-size: 17px;
	color: var(--cyan);
}

.case-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 clamp(28px, 4vw, 48px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--line);
	overflow: hidden;
}

.case-facts > div {
	padding: 22px 24px;
	background: var(--surface);
}

.case-facts__wide {
	grid-column: 1 / -1;
}

.case-facts dt {
	margin-bottom: 6px;
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.case-facts dd {
	margin: 0;
	font-family: var(--font-head);
	font-size: 17px;
	color: #fff;
}

.case-cover img,
.case-inner img {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.case-cover,
.case-inner,
.article__cover {
	margin: 0;
}

.case-body {
	display: grid;
	gap: clamp(28px, 4vw, 52px);
	max-width: 900px;
	margin: clamp(36px, 5vw, 64px) auto 0;
}

.case-rows {
	display: grid;
	gap: clamp(24px, 3vw, 40px);
}

.case-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
}

.case-row figure {
	margin: 0;
}

.case-row img {
	border-radius: var(--radius-sm);
}

.case-row__num {
	font-family: var(--font-head);
	font-size: 34px;
	color: var(--blue);
}

/* ---------- Staff augmentation ---------- */

.staff {
	display: grid;
	grid-template-columns: 1.05fr 1fr 1fr;
	gap: 18px;
	align-items: stretch;
}

.staff__media {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.staff__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mini-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 18px 0 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--line);
	overflow: hidden;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--muted);
}

.mini-stats li {
	padding: 22px 24px;
	background: var(--surface);
}

.mini-stats strong {
	display: block;
	margin-bottom: 2px;
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 600;
	color: #fff;
}

/* ---------- Industries ---------- */

.industry-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.industry-grid--wide {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.industry {
	padding: 24px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.industry:hover {
	border-color: rgba(96, 192, 216, 0.4);
	background: var(--surface-2);
}

.industry h3,
.industry h2 {
	margin: 16px 0 8px;
	font-size: 19px;
}

.industry-grid--wide .industry h2 {
	font-size: 24px;
}

.industry p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--muted);
}

.industry__ai {
	display: flex;
	gap: 8px;
	margin-top: 14px !important;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: #d5dde5 !important;
}

.industry__ai .icon {
	margin-top: 3px;
	color: var(--blue);
}

/* ---------- Testimonials ---------- */

.testimonial-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.testimonial {
	margin: 0;
}

.testimonial__play {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 9 / 14;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 50% 110%, rgba(96, 192, 216, 0.38), transparent 62%),
		linear-gradient(180deg, var(--surface-2), var(--surface));
	overflow: hidden;
	transition: border-color 0.3s, transform 0.5s var(--ease);
}

.testimonial__play:hover {
	border-color: var(--blue);
	transform: translateY(-6px);
}

.testimonial__initial {
	position: absolute;
	top: 14px;
	left: 20px;
	font-family: var(--font-head);
	font-size: 96px;
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.06);
}

.testimonial__btn {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: linear-gradient(120deg, var(--blue), var(--cyan));
	color: #06202a;
	box-shadow: 0 0 0 0 var(--glow);
	animation: pulse 2.6s infinite;
}

.testimonial figcaption {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--muted);
}

.testimonial figcaption strong {
	color: #fff;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(5, 8, 11, 0.92);
	backdrop-filter: blur(10px);
}

.lightbox video {
	max-width: min(100%, 460px);
	max-height: 86vh;
	border-radius: var(--radius);
	background: #000;
}

.lightbox__close {
	position: absolute;
	top: 20px;
	right: 20px;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

/* ---------- Technology tabs ---------- */

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 30px;
}

.tabs__tab {
	padding: 11px 20px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	font-family: var(--font-head);
	font-size: 15px;
	color: #c9d3dd;
	transition: all 0.25s;
}

.tabs__tab span {
	margin-right: 4px;
	font-size: 12px;
	color: var(--blue);
}

.tabs__tab:hover {
	border-color: var(--blue);
	color: #fff;
}

.tabs__tab[aria-selected="true"] {
	border-color: transparent;
	background: linear-gradient(120deg, var(--blue), var(--cyan));
	color: #06202a;
}

.tabs__tab[aria-selected="true"] span {
	color: #06202a;
}

.tabs__panel {
	animation: fade 0.5s var(--ease);
}

@keyframes fade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}

.tech-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.tech {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 20px 8px 8px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	font-family: var(--font-head);
	font-size: 15.5px;
	color: #e3e9ef;
	transition: border-color 0.3s, transform 0.4s var(--ease);
}

.tech:hover {
	border-color: var(--blue);
	transform: translateY(-3px);
}

/* The technology logos are white-on-transparent, so they sit straight on the dark chip. */
.tech {
	padding: 9px 20px 9px 12px;
}

.tech img {
	width: 34px;
	height: 34px;
	padding: 5px;
	border-radius: 50%;
	background: rgba(96, 192, 216, 0.12);
	object-fit: contain;
}

.tech:not(:has(img)) {
	padding-left: 20px;
	min-height: 54px;
}

/* ---------- Process timeline ---------- */

.timeline {
	position: relative;
	display: grid;
	gap: 14px;
	max-width: 900px;
	margin-inline: auto;
}

.timeline__rail {
	position: absolute;
	top: 30px;
	bottom: 30px;
	left: 29px;
	width: 2px;
	border-radius: 2px;
	background: var(--line);
	overflow: hidden;
}

.timeline__fill {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, var(--cyan), var(--blue));
	box-shadow: 0 0 14px var(--glow);
	transform: scaleY(var(--progress, 0));
	transform-origin: top;
}

.timeline__step {
	position: relative;
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: clamp(16px, 3vw, 32px);
	align-items: start;
}

.timeline__num {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--ink);
	font-family: var(--font-head);
	font-size: 16px;
	color: var(--muted);
	transition: border-color 0.5s, color 0.5s, box-shadow 0.5s;
}

.timeline__step.is-active .timeline__num {
	border-color: var(--blue);
	color: var(--cyan);
	box-shadow: 0 0 0 6px rgba(96, 192, 216, 0.1), 0 0 26px -4px var(--glow);
}

.timeline__body {
	padding: 22px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.timeline__body h3 {
	margin-bottom: 8px;
	font-size: 21px;
}

.timeline__body p {
	margin: 0;
	font-size: 15.5px;
	color: var(--muted);
}

/* ---------- Posts ---------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
}

.post-card a {
	display: block;
	height: 100%;
	color: inherit;
}

.post-card__media {
	aspect-ratio: 16 / 10;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

.post-card a:hover .post-card__media img {
	transform: scale(1.05);
}

.post-card__body {
	padding: 18px 4px 0;
}

.post-card__meta {
	margin: 0 0 8px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--blue);
}

.post-card__meta time {
	color: var(--muted);
}

.post-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
	transition: color 0.3s;
}

.post-card a:hover .post-card__title {
	color: var(--cyan);
}

.pagination {
	margin-top: 52px;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination a,
.pagination span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-family: var(--font-head);
	color: #c9d3dd;
}

.pagination .current {
	border-color: transparent;
	background: linear-gradient(120deg, var(--blue), var(--cyan));
	color: #06202a;
}

.pagination a:hover {
	border-color: var(--blue);
	color: #fff;
}

/* ---------- FAQ ---------- */

.faq {
	display: grid;
	gap: 12px;
}

.faq__item {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	transition: border-color 0.3s;
}

.faq__item[open] {
	border-color: rgba(96, 192, 216, 0.4);
}

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
}

.faq__item summary .icon {
	color: var(--blue);
	transition: transform 0.35s var(--ease);
}

.faq__item[open] summary .icon {
	transform: rotate(180deg);
}

.faq__item p {
	margin: 0;
	padding: 0 24px 22px;
	color: var(--muted);
}

/* ---------- CTA strip ---------- */

.cta {
	position: relative;
	padding: clamp(88px, 12vw, 170px) 0 clamp(110px, 15vw, 220px);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
	border-top: 1px solid var(--line);
}

.cta__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.cta__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--ink) 0%, rgba(11, 15, 20, 0.55) 45%, rgba(11, 15, 20, 0) 100%);
}

.cta__title {
	font-size: clamp(36px, 6vw, 76px);
	letter-spacing: -0.03em;
}

.cta__text {
	max-width: 560px;
	margin: 0 auto;
	font-size: clamp(17px, 1.6vw, 20px);
	color: #d0d9e2;
}

/* ---------- Inner page hero ---------- */

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 8vw, 110px);
	overflow: hidden;
	isolation: isolate;
}

.page-hero--plain {
	padding-bottom: clamp(28px, 4vw, 48px);
	background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(96, 192, 216, 0.14), transparent 70%);
}

/* The visual sits in the right half and fades out, so the headline always has a calm background. */
.page-hero__media {
	position: absolute;
	inset: 0 0 0 auto;
	z-index: -1;
	width: min(54%, 860px);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%), linear-gradient(0deg, transparent 0%, #000 26%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%), linear-gradient(0deg, transparent 0%, #000 26%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(ellipse 60% 80% at 20% 0%, rgba(96, 192, 216, 0.1), transparent 70%);
}

.page-hero__title {
	max-width: 15em;
	font-size: clamp(36px, 5.6vw, 72px);
	letter-spacing: -0.03em;
}

.page-hero__title--article {
	max-width: none;
	font-size: clamp(30px, 4.4vw, 52px);
	line-height: 1.14;
}

.page-hero__text {
	max-width: 640px;
	margin: 22px 0 0;
	font-size: clamp(17px, 1.6vw, 20px);
	color: #c9d3dd;
}

.breadcrumbs {
	margin-bottom: 26px;
	font-size: 13.5px;
	color: var(--muted);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 6px;
	color: #56616d;
}

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

.breadcrumbs a:hover {
	color: var(--blue);
}

/* ---------- Service pages ---------- */

.ai-block .eyebrow {
	margin-bottom: 12px;
}

.ai-block p {
	font-size: 18px;
	color: #dfe7ee;
}

.ai-block .link-arrow {
	margin-top: 6px;
}

.section-intro .chips {
	margin-top: 26px;
}

.cap-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.cap h3 {
	margin-top: 14px;
}

.link-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.link-card {
	display: flex;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: inherit;
	transition: border-color 0.3s, transform 0.5s var(--ease), background-color 0.3s;
}

.link-card:hover {
	border-color: var(--blue);
	background: var(--surface-2);
	color: inherit;
	transform: translateY(-5px);
}

.link-card h3 {
	font-size: 20px;
}

.link-card p {
	flex: 1;
	font-size: 15px;
	color: var(--muted);
}

.service-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 26px);
}

.service-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: inherit;
	overflow: hidden;
}

.service-card:hover {
	border-color: rgba(96, 192, 216, 0.45);
	color: inherit;
}

.service-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

.service-card:hover .service-card__media img {
	transform: scale(1.06);
}

.service-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.service-card__body h3 {
	font-size: 21px;
}

.service-card__body p {
	flex: 1;
	font-size: 15px;
	color: var(--muted);
}

/* ---------- AI-native comparison ---------- */

.compare {
	margin: clamp(32px, 5vw, 56px) 0 0;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: var(--surface);
	overflow: hidden;
}

.compare img {
	width: 100%;
}

.compare__labels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
}

.compare__labels > div {
	padding: clamp(22px, 3vw, 36px);
	background: var(--surface);
}

.compare__labels h3 {
	font-size: 22px;
	color: var(--muted);
}

.compare__labels .is-accent h3 {
	color: var(--cyan);
}

.compare__labels li {
	position: relative;
	padding: 6px 0 6px 20px;
	font-size: 15.5px;
	color: var(--muted);
}

.compare__labels li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 8px;
	height: 2px;
	background: #56616d;
}

.compare__labels .is-accent li {
	color: #dfe7ee;
}

.compare__labels .is-accent li::before {
	background: var(--blue);
	box-shadow: 0 0 8px var(--glow);
}

/* ---------- About / contact / glossary ---------- */

.banner-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: clamp(28px, 4vw, 52px);
	border: 1px solid rgba(96, 192, 216, 0.35);
	border-radius: 26px;
	background:
		radial-gradient(ellipse 60% 140% at 100% 50%, rgba(96, 192, 216, 0.22), transparent 70%),
		var(--surface);
	color: inherit;
}

.banner-link:hover {
	color: inherit;
	border-color: var(--blue);
}

.banner-link h2 {
	font-size: clamp(24px, 3vw, 36px);
}

.banner-link p:last-child {
	margin: 0;
	color: var(--muted);
}

.office-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

address {
	font-style: normal;
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 36px);
	align-items: start;
}

.contact__form h2 {
	margin-bottom: 26px;
	font-size: clamp(26px, 3vw, 34px);
}

.contact__info {
	display: grid;
	gap: 16px;
}

.contact__info h3 {
	margin: 14px 0 8px;
	font-size: 19px;
}

.contact__info .glass-card--accent h3 {
	margin-top: 0;
}

.steps {
	display: grid;
	gap: 10px;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding-left: 34px;
	font-size: 15px;
	color: #d5dde5;
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 1px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--blue);
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	color: #06202a;
}

.form {
	display: grid;
	gap: 18px;
}

.form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field {
	display: grid;
	gap: 8px;
}

.field span {
	font-family: var(--font-head);
	font-size: 14px;
	color: #c9d3dd;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: rgba(11, 15, 20, 0.6);
	font: inherit;
	font-size: 16px;
	color: #fff;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2360c0d8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
}

.field select option {
	background: var(--surface);
	color: #fff;
}

.field textarea {
	resize: vertical;
	min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(96, 192, 216, 0.15);
}

.field ::placeholder {
	color: #6c7884;
}

.form .btn {
	justify-self: start;
}

.form__notice {
	margin: 0;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: 15.5px;
}

.form__notice--ok {
	border: 1px solid rgba(96, 192, 216, 0.5);
	background: rgba(96, 192, 216, 0.12);
	color: var(--cyan);
}

.form__notice--error {
	border: 1px solid rgba(255, 138, 128, 0.5);
	background: rgba(255, 138, 128, 0.1);
	color: #ffb4ab;
}

.glossary {
	display: grid;
	gap: 16px;
	margin: 36px 0 0;
}

.glossary dt h2 {
	font-size: 26px;
}

.glossary dd {
	margin: 0;
}

/* ---------- Articles ---------- */

.article__meta {
	margin: 20px 0 0;
	font-size: 14.5px;
	color: var(--muted);
}

.article__cover img {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.article__body {
	padding-block: clamp(32px, 5vw, 56px) var(--section);
}

.prose {
	font-size: 18px;
	line-height: 1.75;
	color: #d0d9e2;
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: clamp(26px, 3vw, 34px);
}

.prose h3 {
	margin-top: 1.6em;
	font-size: clamp(21px, 2.4vw, 26px);
}

.prose h4 {
	margin-top: 1.4em;
	font-size: 19px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose ul {
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose li::marker {
	color: var(--blue);
}

.prose a {
	text-decoration: underline;
	text-decoration-color: rgba(96, 192, 216, 0.4);
	text-underline-offset: 3px;
}

.prose img,
.prose video,
.prose iframe {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

.prose figure {
	margin-inline: 0;
}

.prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--blue);
	color: #fff;
}

.prose table {
	display: block;
	width: 100%;
	border-collapse: collapse;
	overflow-x: auto;
	font-size: 15.5px;
}

.prose th,
.prose td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.prose th {
	background: var(--surface);
	color: #fff;
}

.prose pre,
.prose code {
	border-radius: 8px;
	background: var(--surface);
	font-size: 0.9em;
}

.prose code {
	padding: 2px 6px;
}

.prose pre {
	padding: 18px;
	overflow-x: auto;
}

/* ---------- 404 ---------- */

.not-found {
	padding-top: calc(var(--header-h) + 60px);
}

.not-found__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.not-found__media img {
	width: 100%;
	border-radius: var(--radius);
	-webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 55%, transparent 100%);
	mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 55%, transparent 100%);
}

.not-found .check-list {
	margin-top: 8px;
}

/* ---------- Footer ---------- */

.site-footer {
	padding: clamp(56px, 7vw, 92px) 0 28px;
	border-top: 1px solid var(--line);
	background: #080b0f;
	font-size: 15px;
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr;
	gap: clamp(24px, 3vw, 44px);
}

.site-footer__brand p {
	max-width: 290px;
	margin: 18px 0 20px;
	color: var(--muted);
}

.site-footer h2 {
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer__col li + li {
	margin-top: 9px;
}

.site-footer a {
	color: var(--muted);
}

.site-footer a:hover {
	color: var(--cyan);
}

.site-footer address {
	margin-top: 14px;
	line-height: 1.55;
	color: var(--muted);
}

.site-footer address strong {
	color: #dfe7ee;
	font-weight: 500;
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.social a {
	display: block;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
}

.social a:hover {
	border-color: var(--blue);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: clamp(40px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: #77838f;
}

.site-footer__bottom p {
	margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.site-nav__list > li > a,
	.site-nav__trigger {
		padding-inline: 10px;
		font-size: 15px;
	}

	.site-nav {
		gap: 14px;
	}

	.industry-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}

	.testimonial-row {
		grid-template-columns: repeat(5, minmax(180px, 1fr));
		overflow-x: auto;
		padding-bottom: 8px;
		scroll-snap-type: x mandatory;
	}

	.testimonial {
		scroll-snap-align: start;
	}
}

@media (max-width: 1023px) {
	:root {
		--header-h: 68px;
	}

	.nav-toggle {
		display: block;
	}

	.nav-open .nav-toggle .icon-menu {
		display: none;
	}

	.nav-open .nav-toggle .icon-close {
		display: block;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 20px var(--gutter) 40px;
		background: var(--ink);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-open {
		overflow: hidden;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav__list > li {
		border-bottom: 1px solid var(--line);
	}

	.site-nav__list > li > a,
	.site-nav__trigger {
		justify-content: space-between;
		width: 100%;
		padding: 16px 4px;
		border-radius: 0;
		font-size: 19px;
	}

	.site-nav__list > li > a:hover,
	.site-nav__trigger:hover,
	.site-nav__trigger[aria-expanded="true"],
	.site-nav__list > li > a[aria-current="page"] {
		background: none;
	}

	.mega {
		position: static;
		display: none;
		grid-template-columns: 1fr;
		width: auto;
		margin-bottom: 16px;
		padding: 8px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.mega.is-open {
		display: grid;
		transform: none;
	}

	.site-nav .btn {
		align-self: flex-start;
	}

	.split,
	.stack,
	.contact,
	.not-found__inner {
		grid-template-columns: 1fr;
	}

	.staff {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.staff__media {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}

	.split--reverse .split__media {
		order: 0;
	}

	.split__media {
		max-width: 560px;
	}

	.stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.case-grid,
	.post-grid,
	.cap-grid,
	.link-grid,
	.service-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-row__link {
		grid-template-columns: 44px minmax(0, 1fr) 150px;
	}

	.service-row__more {
		display: none;
	}

	.case-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero__media::after {
		background:
			linear-gradient(90deg, var(--ink) 0%, rgba(11, 15, 20, 0.88) 50%, rgba(11, 15, 20, 0.5) 100%),
			linear-gradient(0deg, var(--ink) 0%, rgba(11, 15, 20, 0) 30%);
	}
}

@media (max-width: 700px) {
	body {
		font-size: 16px;
	}

	.case-grid,
	.post-grid,
	.cap-grid,
	.link-grid,
	.service-cards,
	.staff,
	.office-grid,
	.industry-grid,
	.industry-grid--wide,
	.form__row,
	.case-row,
	.compare__labels {
		grid-template-columns: 1fr;
	}

	.industry-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mini-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-row__link {
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.service-row__media {
		display: none;
	}

	.hero {
		min-height: 0;
		padding-bottom: 56px;
	}

	.hero__media img {
		object-position: 82% center;
		opacity: 0.55;
	}

	.hero__facts {
		margin-top: 40px;
	}

	.btn-row .btn {
		flex: 1 1 100%;
	}

	.btn-row--center .btn {
		flex: 0 1 auto;
	}

	.banner-link {
		flex-direction: column;
		align-items: flex-start;
	}

	.timeline__step {
		grid-template-columns: 46px minmax(0, 1fr);
	}

	.timeline__num {
		width: 46px;
		height: 46px;
		font-size: 14px;
	}

	.timeline__rail {
		left: 22px;
	}

	.timeline__body {
		padding: 18px 20px;
	}

	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__contact {
		grid-column: 1 / -1;
	}

	.page-hero__media {
		width: 100%;
		opacity: 0.35;
		-webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%);
		mask-image: linear-gradient(0deg, transparent 0%, #000 40%);
	}
}

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

	.stats__grid {
		gap: 28px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal,
	.js .hero__inner > * {
		opacity: 1;
		transform: none;
	}

	.marquee__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
	}

	.marquee__track li[aria-hidden] {
		display: none;
	}
}
