/* ==========================================================================
   Sitecape - custom theme
   Brand: #4829b2 / #0030ae / #051948 · Accent: #2ec4b6
   ========================================================================== */

:root {
	--sc-purple: #4829b2;
	--sc-purple-deep: #2f1b74;
	--sc-blue: #0030ae;
	--sc-navy: #051948;
	--sc-teal: #2ec4b6;
	--sc-teal-hot: #1aa89b;
	--sc-ink: #12141c;
	--sc-ink-soft: #3a3f4f;
	--sc-muted: #6b7285;
	--sc-line: rgba(18, 20, 28, 0.12);
	--sc-paper: #f7f5fb;
	--sc-white: #ffffff;
	--sc-hero-a: #5b35d4;
	--sc-hero-b: #0030ae;
	--sc-hero-c: #1a0b4a;

	--font-display: "Rubik", system-ui, sans-serif;
	--font-body: "Nunito Sans", system-ui, sans-serif;

	--space-xs: 0.5rem;
	--space-sm: 0.875rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4.5rem;
	--space-2xl: 7rem;

	--radius: 0.3rem;
	--radius-sm: 0.4rem;
	--radius-md: 0.55rem;
	--radius-lg: 0.7rem;
	--radius-pill: 999px;
	--header-h: 6.35rem;
	--header-pad: 1rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--max: 80rem;
}

/* Reset ------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--sc-ink);
	background: var(--sc-white);
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
	text-rendering: geometricPrecision;
}

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

img[src$=".svg"],
.brand__mark {
	shape-rendering: geometricPrecision;
	image-rendering: auto;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

a {
	color: var(--sc-purple);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
	transition: color 0.2s var(--ease);
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0 0 0.75rem;
	color: var(--sc-ink);
}

p {
	margin: 0 0 1rem;
}

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

button,
input,
textarea {
	font: inherit;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--sc-white);
	color: var(--sc-ink);
	padding: 0.75rem 1rem;
	z-index: 1000;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.container {
	width: min(100% - 2.5rem, var(--max));
	margin-inline: auto;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1.55rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--sc-purple);
	color: var(--sc-white);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: -0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
	background: var(--sc-blue);
	color: var(--sc-white);
	transform: translateY(-2px);
}

.btn--light {
	background: var(--sc-white);
	color: var(--sc-purple);
}

.btn--light:hover {
	background: var(--sc-teal);
	color: var(--sc-navy);
}

.btn--ghost {
	background: transparent;
	color: var(--sc-white);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--sc-white);
	transform: translateY(-2px);
}

.text-link {
	display: inline-flex;
	margin-top: 0.75rem;
	font-weight: 600;
	color: var(--sc-purple);
	text-decoration: none;
	border-bottom: 2px solid var(--sc-teal);
}

.text-link:hover {
	color: var(--sc-blue);
}

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

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	padding: var(--header-pad) 0 0;
	pointer-events: none;
}

.site-header__shell {
	width: min(100% - 1.5rem, calc(var(--max) + 1rem));
	margin-inline: auto;
	pointer-events: auto;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(12, 18, 48, 0.28);
	backdrop-filter: blur(18px) saturate(1.35);
	-webkit-backdrop-filter: blur(18px) saturate(1.35);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.08) inset,
		0 18px 50px rgba(5, 25, 72, 0.18);
	transition:
		background 0.35s var(--ease),
		border-color 0.35s var(--ease),
		box-shadow 0.35s var(--ease),
		transform 0.35s var(--ease);
}

.site-header.is-scrolled .site-header__shell {
	background: rgba(12, 18, 48, 0.82);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.1) inset,
		0 20px 55px rgba(5, 25, 72, 0.35);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.35rem;
	min-height: calc(var(--header-h) - var(--header-pad));
	padding: 0.7rem 0.85rem 0.7rem 1.15rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--sc-white);
	flex-shrink: 0;
}

.brand:hover,
.brand:focus,
.brand:hover .brand__word,
.brand:focus .brand__word {
	color: var(--sc-white);
}

.brand__mark {
	width: 2.35rem;
	height: 2.35rem;
}

.site-header .brand__mark {
	width: 3.75rem;
	height: 3.75rem;
}

.brand__word {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.03em;
}

.site-header .brand__word {
	font-size: 1.5rem;
}

.site-nav {
	margin-left: auto;
	margin-right: 0;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	/* Soft track inside the glass shell - no hard second pill border */
	border-radius: calc(var(--radius-md) + 0.2rem);
	background: rgba(255, 255, 255, 0.045);
	border: 0;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 1.05rem 1.4rem;
	border-radius: var(--radius-sm);
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.94rem;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	background: transparent;
	transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-list a:hover {
	color: var(--sc-white);
	background: rgba(255, 255, 255, 0.07);
}

.nav-list a.is-active {
	color: var(--sc-white);
	background: rgba(255, 255, 255, 0.07);
	font-weight: 500;
}

.header-actions {
	display: none;
	align-items: center;
	flex-shrink: 0;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	/* Match .nav-list height: chrome (0.35) + link pad (0.7), slight top bias for bold caps */
	padding: 1.09rem 1.2rem 1.01rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(46, 196, 182, 0.35);
	background: rgba(46, 196, 182, 0.92);
	color: var(--sc-navy);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.86rem;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta:hover {
	color: var(--sc-navy);
	background: var(--sc-teal);
	border-color: rgba(255, 255, 255, 0.28);
}

.header-cta__icon {
	display: block;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	transition: transform 0.25s var(--ease);
}

.header-cta:hover .header-cta__icon {
	transform: translateX(2px);
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 2.85rem;
	height: 2.85rem;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.35rem;
	flex-shrink: 0;
}

.nav-toggle span {
	display: block;
	width: 1.05rem;
	height: 2px;
	background: var(--sc-white);
	transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
	display: none;
	padding: 0 0.65rem 0.65rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav[hidden] {
	display: none !important;
}

.mobile-nav .nav-list,
.mobile-nav__list {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	/* Equal inset above first / below last link (CTA removed) */
	margin: 0.65rem 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.mobile-nav .nav-list a,
.mobile-nav__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.85rem 0.9rem;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	border-radius: var(--radius-sm);
	background: transparent;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mobile-nav .nav-list a.is-active,
.mobile-nav__list a.is-active,
.mobile-nav .nav-list a:hover,
.mobile-nav__list a:hover {
	color: var(--sc-white);
	background: rgba(255, 255, 255, 0.08);
}

.mobile-nav__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.9rem 1rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(46, 196, 182, 0.35);
	background: rgba(46, 196, 182, 0.92);
	color: var(--sc-navy);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
}

.mobile-nav__cta:hover {
	color: var(--sc-navy);
	background: var(--sc-teal);
	border-color: rgba(255, 255, 255, 0.28);
}

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

.hero {
	position: relative;
	min-height: 90vh;
	min-height: 90dvh;
	height: 90vh;
	height: 90dvh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 2rem) 0 4.5rem;
	overflow: hidden;
	color: var(--sc-white);
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	will-change: transform;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 78% 18%, rgba(46, 196, 182, 0.28) 0%, transparent 42%),
		radial-gradient(90% 70% at 12% 85%, rgba(0, 48, 174, 0.55) 0%, transparent 50%),
		linear-gradient(145deg, var(--sc-hero-a) 0%, var(--sc-hero-b) 48%, var(--sc-hero-c) 100%);
}

.hero__image {
	position: absolute;
	inset: -4%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.16;
	transform: scale(1.12);
	transition: transform 10s ease;
	pointer-events: none;
}

.hero.is-ready .hero__image {
	transform: scale(1);
}

.hero__veil {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.1s linear;
}

.hero__shapes {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero__stage {
	position: relative;
	z-index: 2;
	width: 100%;
	will-change: transform;
}

.hero__shape {
	position: absolute;
	aspect-ratio: 1;
}

/* --- Logo marks (active) --- */
.hero__shapes--marks .hero__shape {
	border: 0;
	border-radius: 0;
	background: none;
	backdrop-filter: none;
	object-fit: contain;
	filter: drop-shadow(0 12px 40px rgba(5, 25, 72, 0.25));
}

.hero__shapes--marks .hero__shape--a {
	width: min(42vw, 26rem);
	top: 10%;
	right: -4%;
	opacity: 0.28;
	rotate: 18deg;
	animation: float-a 14s var(--ease) infinite;
}

.hero__shapes--marks .hero__shape--b {
	width: min(28vw, 15rem);
	bottom: 16%;
	right: 16%;
	opacity: 0.2;
	rotate: -12deg;
	animation: float-b 11s var(--ease) infinite;
}

.hero__shapes--marks .hero__shape--c {
	width: min(18vw, 9.5rem);
	top: 30%;
	right: 34%;
	opacity: 0.14;
	rotate: 8deg;
	animation: float-c 16s var(--ease) infinite;
}

/* --- Previous floating squares (revert: set hero__shapes--squares on the wrapper) --- */
.hero__shapes--squares .hero__shape {
	border-radius: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
	backdrop-filter: blur(2px);
}

.hero__shapes--squares .hero__shape--a {
	width: min(50vw, 34rem);
	top: 4%;
	right: -12%;
	rotate: 18deg;
	animation: float-a 14s var(--ease) infinite;
}

.hero__shapes--squares .hero__shape--b {
	width: min(34vw, 20rem);
	bottom: 10%;
	right: 6%;
	opacity: 0.7;
	rotate: -12deg;
	animation: float-b 11s var(--ease) infinite;
}

.hero__shapes--squares .hero__shape--c {
	width: min(22vw, 12.5rem);
	top: 38%;
	right: 38%;
	opacity: 0.5;
	rotate: 8deg;
	animation: float-c 16s var(--ease) infinite;
}

.hero__shapes--squares .hero__shape--d,
.hero__shapes--squares .hero__shape--e {
	display: none;
}

@media (min-width: 1100px) {
	.hero__shapes--squares .hero__shape--d,
	.hero__shapes--squares .hero__shape--e {
		display: block;
	}

	.hero__shapes--squares .hero__shape--d {
		width: min(16vw, 9rem);
		top: 58%;
		right: 28%;
		opacity: 0.42;
		rotate: -22deg;
		animation: float-d 13s var(--ease) infinite;
	}

	.hero__shapes--squares .hero__shape--e {
		width: min(12vw, 7rem);
		top: 18%;
		right: 22%;
		opacity: 0.35;
		rotate: 28deg;
		animation: float-e 17s var(--ease) infinite;
	}
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 52rem;
	padding-bottom: 1rem;
}

.hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2.75rem;
	z-index: 4;
	pointer-events: none;
	transform: translateZ(0);
}

.hero__wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hero__wave path {
	fill: var(--sc-white);
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.85rem;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero__brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 2.35rem;
	font-size: clamp(2.45rem, 6.5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--sc-white);
}

.hero__brand-mark {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
}

.hero__brand-mark img {
	width: clamp(2.45rem, 6.5vw, 4rem);
	height: auto;
}

.hero__headline {
	margin: 0 0 1.35rem;
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 3.4vw, 2.35rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: rgba(255, 255, 255, 0.96);
}

.hero__headline em {
	font-style: normal;
	position: relative;
	display: inline;
	padding: 0 0.08em;
	box-shadow: inset 0 -0.28em 0 rgba(46, 196, 182, 0.5);
}

.hero__lede {
	margin: 0 0 2.85rem;
	max-width: none;
	font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.4rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 1100px) {
	.hero__brand {
		margin-bottom: 2.75rem;
	}

	.hero__lede {
		margin-bottom: 3.25rem;
		white-space: nowrap;
	}

	.hero__content {
		max-width: none;
	}
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: calc(2.75rem + 0.85rem);
	transform: translateX(-50%);
	width: 2.75rem;
	height: 4rem;
	display: grid;
	place-items: center;
	z-index: 5;
}

.hero__scroll-mouse {
	width: 1.65rem;
	height: 2.65rem;
	border: 2.5px solid rgba(255, 255, 255, 0.78);
	border-radius: 999px;
	position: relative;
	box-shadow: 0 0 0 1px rgba(5, 25, 72, 0.12);
}

.hero__scroll-mouse::after {
	content: "";
	position: absolute;
	top: 0.45rem;
	left: 50%;
	width: 4px;
	height: 8px;
	border-radius: 999px;
	background: var(--sc-teal);
	transform: translateX(-50%);
	animation: scroll-dot 1.6s var(--ease) infinite;
}

/* Sections ---------------------------------------------------------------- */

.section {
	padding: var(--space-2xl) 0;
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

#about {
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section-intro {
	max-width: none;
	width: 100%;
	margin-bottom: var(--space-xl);
}

.section-intro h2 {
	font-size: clamp(2rem, 4vw, 3.15rem);
	max-width: 28ch;
}

.section-intro .section-lede {
	max-width: 52rem;
}

.section-intro h2 em,
.about-copy h2 em,
.contact-copy h2 em {
	font-style: normal;
	box-shadow: inset 0 -0.35em 0 rgba(46, 196, 182, 0.55);
}

.section-intro--light h2,
.section-intro--light .section-lede,
.approach .eyebrow {
	color: var(--sc-white);
}

.section-intro--light h2 em {
	box-shadow: inset 0 -0.35em 0 rgba(46, 196, 182, 0.75);
}

.section-lede {
	color: var(--sc-ink-soft);
	font-size: 1.1rem;
}

.eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-purple);
}

.eyebrow--on-dark {
	color: var(--sc-teal);
}

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

.services {
	--services-gap: clamp(1.75rem, 4vw, 3.25rem);
	background: var(--sc-white);
	overflow: clip;
}

.services-intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 52rem;
	margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

.services-intro .eyebrow {
	margin: 0 0 0.85rem;
}

.services-intro h2 {
	margin: 0;
	font-size: clamp(1.85rem, 3.6vw, 3.05rem);
	letter-spacing: -0.035em;
	line-height: 1.08;
	white-space: nowrap;
}

.services-intro h2 em {
	font-style: normal;
	box-shadow: inset 0 -0.35em 0 rgba(46, 196, 182, 0.55);
}

.services-intro__statement {
	position: relative;
	margin-top: 1.35rem;
	padding: 1.15rem 0 0.15rem 1.35rem;
	max-width: none;
}

.services-intro__statement::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0.15rem;
	width: 0.22rem;
	border-radius: var(--radius-pill);
	background: linear-gradient(180deg, var(--sc-teal), var(--sc-purple));
}

.services-intro__lede {
	margin: 0 0 0.7rem;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.4vw, 1.85rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.3;
	color: var(--sc-ink);
}

.services-intro__lede strong {
	font-weight: 700;
	color: var(--sc-purple);
}

.services-intro__aside {
	margin: 0;
	color: var(--sc-ink-soft);
	font-size: clamp(1.02rem, 1.35vw, 1.2rem);
	line-height: 1.45;
}

@media (min-width: 1100px) {
	.services-intro {
		max-width: none;
	}

	.services-intro__lede,
	.services-intro__aside {
		white-space: nowrap;
	}
}

/* Home teaser grid -------------------------------------------------------- */

.services--home .services-intro {
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.service-teaser-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1.15rem;
}

.service-teaser {
	position: relative;
	display: flex;
	flex-direction: column;
	grid-column: span 2;
	min-height: 100%;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--sc-white);
	color: inherit;
	text-decoration: none;
	isolation: isolate;
	box-shadow: 0 1px 0 rgba(18, 20, 28, 0.04);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-teaser--featured {
	grid-column: span 3;
}

.service-teaser:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(5, 25, 72, 0.12);
}

.service-teaser__media {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sc-navy);
}

.service-teaser--featured .service-teaser__media {
	aspect-ratio: 16 / 11;
}

.service-teaser__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 45%,
		rgba(5, 25, 72, 0.28) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.service-teaser__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.7s var(--ease);
}

.service-teaser:hover .service-teaser__media img {
	transform: scale(1.07);
}

.service-teaser__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.15rem 1.2rem 1.25rem;
}

.service-teaser__tag {
	margin: 0 0 0.45rem;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sc-teal-hot);
}

.service-teaser__body h3 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.service-teaser__body p {
	margin: 0;
	color: var(--sc-ink-soft);
	font-size: 0.98rem;
	line-height: 1.55;
}

.service-teaser__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 1rem;
	font-family: var(--font-display);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--sc-purple);
}

.service-teaser__cta svg {
	transition: transform 0.3s var(--ease);
}

.service-teaser:hover .service-teaser__cta {
	color: var(--sc-blue);
}

.service-teaser:hover .service-teaser__cta svg {
	transform: translateX(3px);
}

.services-home-foot {
	display: flex;
	justify-content: center;
	margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
}

/* Detail page chapters ---------------------------------------------------- */

.services--detail {
	padding-top: calc(var(--header-h) + var(--space-xl));
}

.service-showcase {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.service-chapter {
	position: relative;
	padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-chapter__inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--services-gap);
	align-items: start;
}

.service-chapter__media-wrap {
	position: relative;
	z-index: 1;
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	justify-self: stretch;
}

.service-chapter__body {
	position: relative;
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	max-width: 36rem;
	justify-self: start;
	padding: 0;
}

.service-chapter--flip .service-chapter__media-wrap {
	grid-column: 2;
}

.service-chapter--flip .service-chapter__body {
	grid-column: 1;
	justify-self: start;
}

.service-chapter__index {
	position: absolute;
	top: -0.35rem;
	left: 0;
	z-index: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(5.5rem, 12vw, 9.5rem);
	line-height: 0.78;
	letter-spacing: -0.06em;
	color: rgba(72, 41, 178, 0.07);
	-webkit-text-stroke: 1.5px rgba(72, 41, 178, 0.28);
	pointer-events: none;
	user-select: none;
}

.service-chapter--flip .service-chapter__index {
	left: auto;
	right: 0;
}

.service-chapter__frame {
	position: absolute;
	top: 1rem;
	right: -0.85rem;
	bottom: -0.85rem;
	left: 1rem;
	border-radius: var(--radius-md);
	background: linear-gradient(145deg, var(--sc-purple), var(--sc-blue) 55%, var(--sc-teal));
	opacity: 0.95;
	z-index: 0;
	transform: rotate(1.25deg);
	transition: transform 0.55s var(--ease);
}

.service-chapter--flip .service-chapter__frame {
	top: 1rem;
	right: 1rem;
	bottom: -0.85rem;
	left: -0.85rem;
	transform: rotate(-1.25deg);
	background: linear-gradient(215deg, var(--sc-teal), var(--sc-blue) 50%, var(--sc-purple));
}

.service-chapter:hover .service-chapter__frame {
	transform: rotate(0deg);
}

.service-chapter--flip:hover .service-chapter__frame {
	transform: rotate(0deg);
}

.service-chapter__mark {
	position: absolute;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 0.28rem;
	background: var(--sc-teal);
	z-index: 2;
	top: -0.4rem;
	right: 1.1rem;
	transform: rotate(28deg);
	box-shadow: 0 8px 20px rgba(5, 25, 72, 0.18);
	transition: transform 0.55s var(--ease);
}

.service-chapter--flip .service-chapter__mark {
	right: auto;
	left: 1.1rem;
	background: var(--sc-purple);
	transform: rotate(-22deg);
}

.service-chapter:hover .service-chapter__mark {
	transform: rotate(40deg) scale(1.08);
}

.service-chapter--flip:hover .service-chapter__mark {
	transform: rotate(-34deg) scale(1.08);
}

.service-chapter__media {
	position: relative;
	z-index: 1;
	margin: 0;
	border-radius: var(--radius-md);
	overflow: hidden;
	isolation: isolate;
	aspect-ratio: 4 / 5;
	width: 100%;
	background: var(--sc-navy);
	box-shadow: 0 18px 40px rgba(5, 25, 72, 0.12);
	will-change: transform;
}

.service-chapter__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		165deg,
		rgba(5, 25, 72, 0.12) 0%,
		transparent 42%,
		rgba(72, 41, 178, 0.16) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.service-chapter__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 0.9s var(--ease);
	will-change: transform;
}

.service-chapter:hover .service-chapter__media img {
	transform: scale(1.09);
}

.service-chapter__tag {
	display: inline-block;
	margin: 0 0 0.85rem;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sc-teal-hot);
}

.service-chapter__body h3 {
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	line-height: 1.15;
	margin: 0 0 1rem;
	letter-spacing: -0.025em;
}

.service-chapter__text {
	margin: 0 0 1.35rem;
	color: var(--sc-ink-soft);
	font-size: 1.06rem;
}

.service-chapter__includes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.15rem;
	margin: 0;
	padding: 1.1rem 0 0;
	list-style: none;
	border-top: 1px solid var(--sc-line);
}

.service-chapter__includes li {
	position: relative;
	padding-left: 0.9rem;
	font-family: var(--font-display);
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--sc-ink);
}

.service-chapter__includes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.48em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 0.1rem;
	background: var(--sc-teal);
	transform: rotate(28deg);
}

/* Spotlight chapter (hosting) - contrast break */
.service-chapter--spot {
	background:
		radial-gradient(70% 80% at 85% 20%, rgba(46, 196, 182, 0.18), transparent 50%),
		linear-gradient(155deg, var(--sc-navy), var(--sc-purple-deep) 60%, var(--sc-blue));
	color: var(--sc-white);
	padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
	margin: 0;
}

.service-chapter--spot .service-chapter__index {
	color: rgba(255, 255, 255, 0.06);
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
}

.service-chapter--spot .service-chapter__body h3 {
	color: var(--sc-white);
}

.service-chapter--spot .service-chapter__tag {
	color: var(--sc-teal);
}

.service-chapter--spot .service-chapter__text {
	color: rgba(255, 255, 255, 0.82);
}

.service-chapter--spot .service-chapter__includes {
	border-top-color: rgba(255, 255, 255, 0.16);
}

.service-chapter--spot .service-chapter__includes li {
	color: var(--sc-white);
}

.service-chapter--spot .service-chapter__includes li::before {
	background: var(--sc-teal);
}

.service-chapter--spot .service-chapter__frame {
	opacity: 0.75;
	background: linear-gradient(215deg, var(--sc-teal), rgba(255, 255, 255, 0.35));
}

.service-chapter--spot .service-chapter__media {
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

/* Approach ---------------------------------------------------------------- */

.approach {
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(46, 196, 182, 0.2), transparent 50%),
		linear-gradient(160deg, var(--sc-navy), var(--sc-purple-deep) 55%, var(--sc-blue));
	color: var(--sc-white);
}

.approach .section-intro h2 {
	max-width: none;
}

@media (min-width: 1100px) {
	.approach .section-intro h2 {
		white-space: nowrap;
		font-size: clamp(2rem, 2.8vw, 2.85rem);
	}
}

.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem 1.75rem;
	margin: 0;
	padding: 0.35rem 0 0;
	list-style: none;
}

.steps::before {
	content: "";
	position: absolute;
	top: 5.35rem;
	left: 0.15rem;
	right: 0.15rem;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(46, 196, 182, 0.05),
		rgba(255, 255, 255, 0.28) 18%,
		rgba(255, 255, 255, 0.28) 82%,
		rgba(46, 196, 182, 0.05)
	);
	pointer-events: none;
}

.step {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0;
	border: 0;
	background: transparent;
}

.step__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
	min-height: 4.25rem;
}

.step__num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(3.25rem, 5vw, 4.35rem);
	line-height: 0.85;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(46, 196, 182, 0.55);
	transition: -webkit-text-stroke-color 0.35s var(--ease), color 0.35s var(--ease);
}

.step__count {
	padding-top: 0.35rem;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
	white-space: nowrap;
}

.step__marker {
	position: relative;
	z-index: 1;
	width: 0.72rem;
	height: 0.72rem;
	margin: 0.55rem 0 1.35rem;
	border-radius: 0.14rem;
	background: var(--sc-teal);
	transform: rotate(28deg);
	box-shadow:
		0 0 0 7px rgba(8, 18, 52, 0.92),
		0 0 18px rgba(46, 196, 182, 0.35);
	transition: transform 0.4s var(--ease), background 0.35s var(--ease);
}

.step h3 {
	margin: 0 0 0.7rem;
	color: var(--sc-white);
	font-size: clamp(1.35rem, 2vw, 1.6rem);
	letter-spacing: -0.02em;
}

.step p {
	margin: 0;
	max-width: 28rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
	line-height: 1.6;
}

.step:hover .step__num {
	color: rgba(46, 196, 182, 0.12);
	-webkit-text-stroke-color: var(--sc-teal);
}

.step:hover .step__marker {
	transform: rotate(40deg) scale(1.12);
	background: var(--sc-white);
}

/* About ------------------------------------------------------------------- */

.about {
	position: relative;
	overflow: clip;
	background:
		radial-gradient(55% 50% at 8% 20%, rgba(72, 41, 178, 0.07), transparent 60%),
		radial-gradient(45% 40% at 92% 70%, rgba(46, 196, 182, 0.1), transparent 55%),
		var(--sc-white);
}

.about-grid {
	display: flex;
	flex-direction: column;
	gap: clamp(2.25rem, 4vw, 3.25rem);
}

.about-copy {
	width: 100%;
	max-width: none;
}

.about-copy h2 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2em;
	font-size: clamp(1.85rem, 3.2vw, 2.75rem);
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
	max-width: none;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.about-copy__line {
	display: block;
}

@media (min-width: 1100px) {
	.about-copy h2 {
		font-size: clamp(2rem, 2.6vw, 2.65rem);
	}

	.about-copy__line {
		white-space: nowrap;
	}
}

.about-narrative {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: stretch;
}

.about-story {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	min-height: 100%;
	padding: 0.15rem 0;
}

.about-story__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sc-muted);
}

.about-story__stamp {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.7rem;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, var(--sc-purple), var(--sc-blue));
	color: var(--sc-white);
	letter-spacing: 0.1em;
	font-weight: 700;
}

.about-story__sep {
	width: 1.5rem;
	height: 2px;
	border-radius: var(--radius-pill);
	background: linear-gradient(90deg, var(--sc-teal), var(--sc-purple));
}

.about-story__origin {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	max-width: 32rem;
	margin: 0;
}

.about-story__place-line,
.about-story__proof {
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	line-height: 1.5;
}

.about-story__place-line {
	font-size: clamp(1.3rem, 2.1vw, 1.55rem);
	font-weight: 500;
	color: var(--sc-ink-soft);
}

.about-story__proof {
	margin-top: 0.55rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(72, 41, 178, 0.1);
	font-size: clamp(1.05rem, 1.5vw, 1.18rem);
	font-weight: 500;
	color: var(--sc-ink);
}

.about-manifesto {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.95rem;
	margin: 0;
	padding: clamp(1.4rem, 3vw, 1.85rem) clamp(1.35rem, 3vw, 1.75rem);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(155deg, rgba(72, 41, 178, 0.92), rgba(0, 48, 174, 0.88) 48%, rgba(5, 25, 72, 0.95)),
		var(--sc-navy);
	color: rgba(255, 255, 255, 0.88);
	overflow: hidden;
	isolation: isolate;
}

.about-manifesto::before {
	content: "“";
	position: absolute;
	top: -0.35rem;
	left: 0.55rem;
	z-index: 0;
	font-family: var(--font-display);
	font-size: clamp(6rem, 12vw, 8.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	color: rgba(46, 196, 182, 0.22);
	pointer-events: none;
	user-select: none;
}

.about-manifesto::after {
	content: "";
	position: absolute;
	inset: auto -20% -35% 35%;
	height: 70%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(46, 196, 182, 0.28), transparent 68%);
	z-index: 0;
	pointer-events: none;
}

.about-manifesto__label,
.about-manifesto__text,
.about-manifesto__list {
	position: relative;
	z-index: 1;
}

.about-manifesto__label {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-teal);
}

.about-manifesto__text {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.5;
	color: var(--sc-white);
}

.about-manifesto__list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0.15rem 0 0;
	padding: 0.85rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	list-style: none;
}

.about-manifesto__list li {
	position: relative;
	padding-left: 1.15rem;
	font-size: 0.98rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
}

.about-manifesto__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 1px;
	background: var(--sc-teal);
	transform: rotate(45deg);
}

.about-place {
	width: 100%;
}

.about-place__eyebrow {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-purple);
}

.about-place__lede {
	margin: 0 0 1.35rem;
	max-width: 36rem;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.5;
	color: var(--sc-ink-soft);
}

.about-place__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	width: 100%;
}

.about-place__shot {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-md);
	aspect-ratio: 4 / 3;
	background: var(--sc-navy);
	cursor: zoom-in;
	text-align: left;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.about-place__shot:focus-visible {
	outline: 3px solid var(--sc-teal);
	outline-offset: 3px;
}

.about-place__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition: transform 0.7s var(--ease);
	pointer-events: none;
}

.about-place__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 2.4rem 0.85rem 0.75rem;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--sc-white);
	background: linear-gradient(180deg, transparent, rgba(5, 25, 72, 0.78));
	pointer-events: none;
}

.about-place__shot:hover img {
	transform: scale(1.05);
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: grid;
	place-items: center;
	padding: 1.25rem;
	background: rgba(5, 25, 72, 0.88);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.lightbox__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	width: min(100%, 68rem);
	max-height: min(92vh, 52rem);
	outline: none;
}

.lightbox__figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #0a1228;
	box-shadow: 0 24px 60px rgba(5, 25, 72, 0.45);
}

.lightbox__image {
	display: block;
	width: 100%;
	max-height: min(78vh, 44rem);
	height: auto;
	object-fit: contain;
	background: #0a1228;
}

.lightbox__caption {
	margin: 0;
	padding: 0 0.15rem;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.92);
	text-align: center;
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.14);
	color: var(--sc-white);
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background: rgba(46, 196, 182, 0.85);
	color: var(--sc-navy);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
	outline: 2px solid var(--sc-teal);
	outline-offset: 2px;
}

.lightbox__close {
	top: 0.75rem;
	right: 0.75rem;
	width: 2.6rem;
	height: 2.6rem;
	font-size: 1.35rem;
	line-height: 1;
}

.lightbox__nav {
	top: 50%;
	width: 2.75rem;
	height: 2.75rem;
	font-size: 1.5rem;
	line-height: 1;
	transform: translateY(-50%);
}

.lightbox__nav--prev {
	left: 0.75rem;
}

.lightbox__nav--next {
	right: 0.75rem;
}

body.lightbox-open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.lightbox__nav {
		display: none;
	}

	.lightbox__dialog {
		max-height: 94vh;
	}

	.lightbox__image {
		max-height: 72vh;
	}
}

/* Technologies ------------------------------------------------------------ */

.section.technologies {
	background: var(--sc-paper);
}

.technologies .section-intro {
	margin-bottom: var(--space-lg);
}

@media (min-width: 1100px) {
	.technologies .section-lede {
		max-width: none;
		white-space: nowrap;
	}
}

.tech-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tech-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 5.75rem;
	padding: 1rem 0.5rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(18, 20, 28, 0.1);
	background: var(--sc-white);
	text-align: center;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.tech-tile:hover {
	border-color: rgba(72, 41, 178, 0.28);
	box-shadow: 0 10px 28px rgba(5, 25, 72, 0.08);
}

.tech-tile img {
	width: auto;
	height: 2rem;
	display: block;
}

.tech-tile span {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--sc-muted);
	line-height: 1.2;
}

@media (min-width: 640px) {
	.tech-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.tech-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 0.85rem;
	}
}

@media (min-width: 1100px) {
	.tech-grid {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
	padding: var(--space-lg) 0;
}

.technologies .cta-band {
	/* Sit under the logo grid inside Technologies */
	padding: var(--space-xl) 0 0;
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: clamp(2rem, 4vw, 3rem);
	padding-inline: clamp(1.35rem, 4vw, 3rem);
	border-radius: var(--radius-lg);
	color: var(--sc-white);
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(46, 196, 182, 0.35), transparent 45%),
		linear-gradient(120deg, var(--sc-purple), var(--sc-blue));
}

.cta-band__inner h2 {
	color: var(--sc-white);
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	max-width: none;
}

.cta-band__inner > div {
	flex: 1;
	min-width: 0;
}

.cta-band__inner p {
	margin: 0.35rem 0 0;
	max-width: 48rem;
	font-size: clamp(1.1rem, 1.55vw, 1.28rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.84);
}

.cta-band__inner .eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.14em;
}

.cta-band__inner .btn {
	font-size: clamp(1.12rem, 1.55vw, 1.28rem);
	padding: 1.12rem 1.9rem;
}

/* Contact ----------------------------------------------------------------- */

.contact {
	background: var(--sc-paper);
	padding-top: 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
	padding-top: var(--space-xl);
}

.contact-copy {
	width: 100%;
}

.contact-copy h2 {
	font-size: clamp(2rem, 3.5vw, 2.9rem);
	max-width: 18ch;
}

.contact-copy p {
	color: var(--sc-ink-soft);
}

.contact-points {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.contact-points li {
	position: relative;
	padding-left: 1.35rem;
	color: var(--sc-ink-soft);
}

.contact-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--sc-teal);
}

.contact-form {
	padding: 1.75rem;
	border-radius: var(--radius-md);
	background: var(--sc-white);
	border: 1px solid var(--sc-line);
	box-shadow: 0 18px 50px rgba(72, 41, 178, 0.08);
}

.form-row {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1.1rem;
}

.form-row label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--sc-ink);
}

.form-row input,
.form-row textarea {
	width: 100%;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--sc-line);
	border-radius: var(--radius);
	background: var(--sc-paper);
	color: var(--sc-ink);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--sc-purple);
	box-shadow: 0 0 0 3px rgba(72, 41, 178, 0.15);
	background: var(--sc-white);
}

.form-status {
	margin: 1rem 0 0;
	font-size: 0.95rem;
}

.form-status.is-success {
	color: #1f7a4d;
}

.form-status.is-error {
	color: #b42318;
}

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

.site-footer {
	background: var(--sc-navy);
	color: rgba(255, 255, 255, 0.78);
	padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) repeat(3, minmax(0, 1fr));
	gap: 2.25rem 2.5rem;
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pull Explore and Capabilities closer without tightening the outer columns */
.footer-grid > :nth-child(2) {
	margin-inline-end: -1.55rem;
}

.footer-grid > :nth-child(3) {
	margin-inline-start: -1.55rem;
}

.footer-brand p {
	max-width: 32rem;
	margin-top: 1.15rem;
	font-size: 1.28rem;
	line-height: 1.5;
}

.brand--footer {
	color: var(--sc-white);
	gap: 0.95rem;
}

.brand--footer .brand__mark {
	width: 3.65rem;
	height: 3.65rem;
}

.brand--footer .brand__word {
	font-size: 1.7rem;
}

.footer-col h3 {
	color: var(--sc-white);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

li.footer-col__label {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.footer-col a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.footer-col a:hover {
	color: var(--sc-teal);
}

.footer-col li + li {
	margin-top: 0.55rem;
}

.footer-bar {
	padding-top: 1.25rem;
	font-size: 0.875rem;
}

.footer-bar p {
	margin: 0;
}

/* Inner pages ------------------------------------------------------------- */

.content-page {
	padding: calc(var(--header-h) + 3rem) 0 var(--space-2xl);
}

body:not(.home) .site-header__shell {
	background: rgba(12, 18, 48, 0.88);
}

.prose {
	max-width: 42rem;
}

.prose h1 {
	font-size: clamp(2.2rem, 4vw, 3rem);
	margin-bottom: 1.25rem;
}

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

.reveal {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Animations -------------------------------------------------------------- */

@keyframes float-a {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(18deg); }
	50% { transform: translate3d(-12px, 18px, 0) rotate(22deg); }
}

@keyframes float-b {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
	50% { transform: translate3d(10px, -16px, 0) rotate(-8deg); }
}

@keyframes float-c {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
	50% { transform: translate3d(-8px, 12px, 0) rotate(14deg); }
}

@keyframes float-d {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(-22deg); }
	50% { transform: translate3d(14px, -10px, 0) rotate(-16deg); }
}

@keyframes float-e {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(28deg); }
	50% { transform: translate3d(-10px, 14px, 0) rotate(34deg); }
}

@keyframes scroll-dot {
	0% { opacity: 1; transform: translateX(-50%) translateY(0); }
	80%, 100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

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

@media (max-width: 1099px) and (min-width: 769px) {
	.site-nav {
		margin-right: 0;
	}
}

@media (max-width: 960px) {
	.services-intro h2 {
		white-space: normal;
		max-width: 14ch;
	}

	.services-intro__statement {
		padding-left: 1.1rem;
		max-width: 40rem;
	}

	.services-intro__lede,
	.services-intro__aside {
		white-space: normal;
	}

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

	.service-teaser,
	.service-teaser--featured {
		grid-column: span 1;
	}

	.service-chapter__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.service-chapter__media-wrap,
	.service-chapter--flip .service-chapter__media-wrap,
	.service-chapter__body,
	.service-chapter--flip .service-chapter__body {
		grid-column: 1;
		grid-row: auto;
		justify-self: stretch;
		max-width: none;
	}

	.service-chapter__media-wrap {
		grid-row: 1;
	}

	.service-chapter__body {
		grid-row: 2;
	}

	.service-chapter__media {
		aspect-ratio: 16 / 11;
	}

	.service-chapter__frame {
		top: 0.85rem;
		right: -0.55rem;
		bottom: -0.55rem;
		left: 0.85rem;
	}

	.service-chapter--flip .service-chapter__frame {
		top: 0.85rem;
		right: 0.85rem;
		bottom: -0.55rem;
		left: -0.55rem;
	}

	.service-chapter__index {
		font-size: clamp(4.25rem, 18vw, 6.5rem);
		top: -0.15rem;
	}

	.steps {
		grid-template-columns: 1fr 1fr;
		gap: 2.25rem 1.75rem;
	}

	.steps::before {
		display: none;
	}

	.step__marker {
		box-shadow: none;
	}

	.contact-grid,
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 2rem;
	}

	.about-narrative {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}

	.about-place__grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-grid > :nth-child(2),
	.footer-grid > :nth-child(3) {
		margin-inline: 0;
	}
}

@media (max-width: 1099px) {
	.about-copy__line {
		white-space: normal;
	}
}

@media (max-width: 900px) {
	.site-header {
		padding-top: 0.75rem;
	}

	.site-header__shell {
		width: min(100% - 2rem, calc(var(--max) + 1rem));
		border-radius: var(--radius-lg);
	}

	.site-header__inner {
		gap: 0.85rem;
		min-height: 4.15rem;
		padding: 0.55rem 0.75rem 0.55rem 0.95rem;
	}

	.site-header .brand__mark {
		width: 2.85rem;
		height: 2.85rem;
	}

	.site-header .brand__word {
		font-size: 1.25rem;
	}

	.brand {
		gap: 0.55rem;
	}

	.site-nav {
		display: none;
	}

	.header-actions {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-header.is-open .site-header__shell {
		background: rgba(12, 18, 48, 0.94);
		border-color: rgba(255, 255, 255, 0.16);
	}

	.mobile-nav:not([hidden]) {
		display: block;
	}
}

@media (max-width: 768px) {
	.service-teaser-grid {
		grid-template-columns: 1fr;
	}

	.container {
		width: min(100% - 2.5rem, var(--max));
		padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
	}

	/* .container padding-inline above must not wipe the CTA panel inset */
	.container.cta-band__inner {
		padding-block: clamp(1.75rem, 5vw, 2.5rem);
		padding-inline: clamp(1.25rem, 5vw, 1.75rem);
	}

	.hero {
		height: auto;
		min-height: 88vh;
		min-height: 88dvh;
		align-items: center;
		padding: calc(var(--header-h) + 1rem) 0 4.5rem;
	}

	.hero__content {
		/* Keep .container side inset - do not stretch full bleed */
		max-width: none;
		width: min(100% - 2.5rem, var(--max));
		box-sizing: border-box;
	}

	.hero__lede {
		max-width: none;
		white-space: normal;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.hero__brand {
		font-size: clamp(2.2rem, 10vw, 2.85rem);
	}

	.hero__brand-mark img {
		width: clamp(2.2rem, 10vw, 2.85rem);
	}

	.hero__shapes {
		opacity: 0.45;
	}

	.hero__wave {
		height: 2rem;
	}

	.hero__scroll {
		bottom: calc(2rem + 0.75rem);
	}

	.steps,
	.contact-grid,
	.footer-grid,
	.about-place__grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		gap: 1.75rem;
	}

	.footer-grid > :nth-child(2),
	.footer-grid > :nth-child(3) {
		margin-inline: 0;
	}

	.steps {
		gap: 0;
		padding-left: 0.15rem;
	}

	.steps::before {
		display: block;
		top: 1.1rem;
		bottom: 1.5rem;
		left: 0.35rem;
		right: auto;
		width: 1px;
		height: auto;
		background: linear-gradient(
			180deg,
			rgba(46, 196, 182, 0.15),
			rgba(255, 255, 255, 0.28) 20%,
			rgba(255, 255, 255, 0.28) 80%,
			rgba(46, 196, 182, 0.1)
		);
	}

	.step {
		padding: 0 0 2.15rem 1.7rem;
	}

	.step__head {
		min-height: 0;
		margin-bottom: 0.15rem;
	}

	.step__marker {
		position: absolute;
		top: 1.05rem;
		left: 0.05rem;
		margin: 0;
		box-shadow:
			0 0 0 6px rgba(8, 18, 52, 0.95),
			0 0 16px rgba(46, 196, 182, 0.3);
	}

	.step:last-child {
		padding-bottom: 0;
	}

	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.35rem;
	}

	.cta-band__inner .btn {
		width: 100%;
	}

	.section {
		padding: var(--space-xl) 0;
	}

	.cta-band {
		padding: var(--space-md) 0;
	}
}

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

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.hero__shape,
	.hero__scroll-mouse::after {
		animation: none;
	}

	.hero__image,
	.service-chapter__media img {
		transform: none;
		transition: none;
	}

	.service-chapter:hover .service-chapter__media img,
	.service-chapter:hover .service-chapter__frame,
	.service-chapter--flip:hover .service-chapter__frame,
	.service-chapter:hover .service-chapter__mark,
	.service-chapter--flip:hover .service-chapter__mark {
		transform: none;
	}

	.hero__wave animate {
		display: none;
	}

	.btn:hover,
	.step:hover {
		transform: none;
	}
}
