/*
 * Hytech Power V2 — "Under Load".
 * A night-shift test cell: layered graphite surfaces, column linework, film
 * grain and one live signal colour (the logo cyan). Selected Work is the only
 * light surface: a drafting sheet that unrolls out of the dark.
 *
 * Type: Archivo variable (width axis 62–125%) — ultra-condensed heavy display
 * against light, wide-set statements; JetBrains Mono only for real data
 * (figures, specifications). Fonts are self-hosted (assets/fonts, SIL OFL).
 *
 * 1 Tokens  2 Base  3 Type & utilities  4 Buttons & links  5 Header
 * 6 Hero  7 About  8 Industries  9 Clients  10 Values  11 Services
 * 12 Call to action  13 Projects  14 Contact  15 Footer  16 Motion states
 */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-wdth-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "JetBrains Mono";
	src: url("../fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}

/* 1 Tokens ------------------------------------------------------------ */
:root {
	--void: #05080a;
	--carbon: #0a0f12;
	--graphite: #0f161a;
	--gunmetal: #19232a;
	--steel: #8f9ea5; /* muted text on dark: 7:1 on carbon */
	--ice: #e8f0f2;
	--signal: #05d9f0; /* logo mark, upper facet */
	--signal-2: #1a89c2; /* logo mark, lower facet */
	--signal-ink: #006577; /* signal for text on the light sheet (AA) */
	--sheet: #e7eae9; /* Selected Work: drafting film */
	--sheet-2: #dce1e0;
	--ink: #0a0f12;
	--ink-muted: #47545a;
	--danger: #ff9d8c;

	/* Surface roles: dark by default, swapped on the light sheet. */
	--bg: var(--carbon);
	--fg: var(--ice);
	--muted: var(--steel);
	--accent: var(--signal);
	--rule: rgb(232 240 242 / 0.12);
	--rule-strong: rgb(232 240 242 / 0.3);
	--gridline: rgb(232 240 242 / 0.045);
	--focus: var(--signal);

	--font: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

	--text-xs: 0.75rem;
	--text-s: 0.875rem;
	--text-base: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
	--text-l: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);

	--gutter: clamp(1rem, 4vw, 4rem);
	--gap: clamp(1rem, 1.7vw, 1.5rem);
	--container: 90rem;
	--section: clamp(5.5rem, 11vw, 11rem);
	--header-h: 5rem;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
	--chamfer: 0.7rem;
}

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

html {
	-webkit-text-size-adjust: 100%;
	background: var(--void);
	/* Anchor links scroll smoothly from main.js. CSS scroll-behavior is left
	   alone on purpose: it fights ScrollTrigger's position restore when a page
	   opens on /#section. */
	scroll-padding-top: 4.5rem;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--fg);
	font: 400 var(--text-base) / 1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Film grain over everything: a static tile, never animated. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
	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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.06;
	mix-blend-mode: overlay;
}

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

h1,
h2,
h3 {
	margin: 0;
	font-weight: 700;
	line-height: 1;
	text-wrap: balance;
}

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

a {
	color: inherit;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

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

::selection {
	background: var(--signal);
	color: var(--void);
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: -5rem;
	z-index: 100;
	padding: 0.85rem 1.25rem;
	background: var(--signal);
	color: var(--void);
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
}

.site-main:focus,
.site-main section:focus {
	outline: none;
}

.icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

/* 3 Type & utilities ---------------------------------------------------- */
.display-l {
	font-size: clamp(2.75rem, 1.1rem + 5.4vw, 6.75rem);
	font-stretch: 66%;
	font-weight: 720;
	letter-spacing: -0.005em;
	line-height: 0.9;
}

/* Section kicker: wide-set, sentence case, led by a small signal lamp. */
.kicker {
	display: flex;
	align-items: center;
	gap: 0.8em;
	margin: 0 0 clamp(1.25rem, 2.4vw, 2rem);
	color: var(--muted);
	font-size: 0.8125rem;
	font-stretch: 125%;
	font-weight: 540;
	letter-spacing: 0.01em;
	line-height: 1.35;
}

.kicker::before {
	content: "";
	flex: none;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--accent);
	box-shadow: 0 0 0.9rem rgb(5 217 240 / 0.55);
}

.caption {
	display: flex;
	gap: 1.25em;
	margin-top: 1rem;
	color: var(--muted);
	font: 400 var(--text-xs) / 1.5 var(--font-mono);
	letter-spacing: 0.02em;
}

.caption > span[aria-hidden] {
	flex: none;
	color: var(--accent);
}

/* Column linework: the page grid, drawn faintly behind a section. */
.columns {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: -1;
	width: min(100% - 2 * var(--gutter), var(--container));
	border-right: 1px solid var(--gridline);
	background: repeating-linear-gradient(90deg, var(--gridline) 0 1px, transparent 1px calc(100% / 6));
	transform: translateX(-50%);
	pointer-events: none;
}

@media (max-width: 47.99em) {
	.columns {
		background: repeating-linear-gradient(90deg, var(--gridline) 0 1px, transparent 1px 50%);
	}
}

.frame {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--gunmetal);
}

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

.frame--portrait {
	aspect-ratio: 4 / 5;
}

.frame--wide {
	aspect-ratio: 16 / 9;
}

/* 4 Buttons & links ------------------------------------------------------ */
/* Buttons carry a machined chamfer on one corner. The shape lives on the
   pseudo-elements, so the focus outline is never clipped. */
.btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25em;
	min-height: 3.25rem;
	padding: 0.95em 1.4em 0.95em 1.5em;
	border: 0;
	background: none;
	color: var(--btn-fg);
	font-size: 0.9375rem;
	font-stretch: 110%;
	font-weight: 600;
	letter-spacing: 0.005em;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.45s var(--ease-out);
}

.btn::before,
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
}

.btn::before {
	z-index: -2;
	background: var(--btn-bg);
}

.btn::after {
	z-index: -1;
	background: var(--btn-bg-hover);
	clip-path: polygon(0 100%, calc(100% - var(--chamfer)) 100%, 100% 100%, 100% 100%, 0 100%);
	transition: clip-path 0.55s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
	color: var(--btn-fg-hover, var(--btn-fg));
}

.btn:hover::after,
.btn:focus-visible::after {
	clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
}

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

.btn:hover .icon,
.btn:focus-visible .icon {
	transform: translateX(0.3em);
}

.btn--primary {
	--btn-bg: var(--signal);
	--btn-fg: var(--void);
	--btn-bg-hover: var(--ice);
}

.btn--small {
	min-height: 2.75rem;
	padding: 0.7em 1.05em 0.7em 1.2em;
	font-size: 0.875rem;
	--chamfer: 0.5rem;
}

.btn--large {
	min-height: 4rem;
	padding: 1.2em 1.6em 1.2em 1.8em;
	font-size: 1.0625rem;
	--chamfer: 0.9rem;
}

.btn[disabled] {
	opacity: 0.55;
	cursor: progress;
}

/* Magnetic buttons (motion.js) move their content, not their hit area. */
[data-magnetic] {
	will-change: transform;
}

/* Text link: the underline retracts and redraws on hover. */
.link {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	min-height: 2.75rem;
	color: var(--fg);
	font-weight: 600;
	text-decoration: none;
}

.link .cl-link-text {
	padding-bottom: 0.3em;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size 0.55s var(--ease-out);
}

.link:hover .cl-link-text,
.link:focus-visible .cl-link-text {
	background-position: 100% 100%;
	background-size: 0% 1px;
}

.link .icon {
	color: var(--accent);
	transition: transform 0.55s var(--ease-out);
}

.link:hover .icon,
.link:focus-visible .icon {
	transform: translate(0.18em, -0.18em);
}

.link--light {
	color: var(--ice);
}

/* Text roll: the label slides up and a signal-coloured copy follows it. */
.roll {
	display: inline-block;
	height: 1.3em;
	overflow: hidden;
	line-height: 1.3;
	vertical-align: top;
}

.roll > span {
	display: block;
	text-shadow: 0 1.3em 0 var(--signal);
	transition: transform 0.55s var(--ease-out);
}

a:hover > .roll > span,
a:focus-visible > .roll > span {
	transform: translateY(-1.3em);
}

/* 5 Header --------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: var(--wp-admin--admin-bar--height, 0px) 0 auto 0;
	z-index: 50;
	color: var(--ice);
	transition: transform 0.6s var(--ease-out);
}

.site-header.is-tucked {
	transform: translateY(-100%);
}

/* The blurred backing is a pseudo-element so it does not become the
   containing block of the full-screen mobile menu. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-bottom: 1px solid var(--rule);
	background: rgb(5 8 10 / 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	opacity: 0;
	transition: opacity 0.45s var(--ease-out);
}

.site-header.is-scrolled::before {
	opacity: 1;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: var(--header-h);
	transition: height 0.5s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
	height: 4rem;
}

.brand {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	flex: none;
	min-height: 2.75rem;
}

.brand__logo {
	width: auto;
	height: 2.5rem;
	transition: height 0.5s var(--ease-out);
}

.site-header.is-scrolled .brand__logo {
	height: 2.1rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3rem);
}

.site-nav__list {
	display: flex;
	gap: clamp(1.25rem, 2.2vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	min-height: 2.75rem;
	font-size: 0.875rem;
	font-stretch: 112%;
	font-weight: 520;
	text-decoration: none;
}

/* Current section: a small lamp before the label. */
.site-nav__list a::before {
	content: "";
	width: 0.35rem;
	height: 0.35rem;
	background: var(--signal);
	transform: scale(0);
	transition: transform 0.45s var(--ease-out);
}

.site-nav__list a[aria-current]::before,
.site-nav__list .current-menu-item > a::before {
	transform: scale(1);
}

.nav-toggle {
	display: none;
}

@media (max-width: 61.99em) {
	:root {
		--header-h: 4.25rem;
	}

	.brand__logo {
		height: 2.15rem;
	}

	/* Without JavaScript the menu is simply shown below the logo. */
	html:not(.js) .site-header {
		position: absolute;
	}

	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
		height: auto;
		padding-block: 0.75rem;
	}

	html:not(.js) .site-nav,
	html:not(.js) .site-nav__list {
		flex-wrap: wrap;
		gap: 0.25rem 1.25rem;
	}

	.js .nav-toggle {
		position: relative;
		z-index: 3;
		display: grid;
		place-items: center;
		width: 3rem;
		height: 3rem;
		margin-right: -0.6rem;
		padding: 0;
		border: 0;
		background: none;
		color: var(--ice);
		cursor: pointer;
	}

	.nav-toggle__bars {
		display: grid;
		gap: 7px;
		width: 1.75rem;
	}

	.nav-toggle__bars span {
		height: 1.5px;
		background: currentColor;
		transition: transform 0.45s var(--ease-out);
	}

	.nav-toggle__bars span:last-child {
		width: 62%;
		justify-self: end;
		transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out);
	}

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

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

	.js .site-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: stretch;
		justify-content: space-between;
		gap: 2.5rem;
		padding: calc(var(--wp-admin--admin-bar--height, 0px) + var(--header-h) + 1.5rem) var(--gutter) 2rem;
		overflow-y: auto;
		background:
			radial-gradient(60rem 40rem at 100% 0%, rgb(5 217 240 / 0.08), transparent 60%),
			var(--void);
		clip-path: inset(0 0 100% 0);
		visibility: hidden;
		transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
	}

	.js .site-nav.is-open {
		clip-path: inset(0 0 0 0);
		visibility: visible;
		transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
	}

	.js .site-nav__list {
		flex-direction: column;
		gap: 0;
		border-top: 1px solid var(--rule);
	}

	.js .site-nav__list li {
		border-bottom: 1px solid var(--rule);
		opacity: 0;
		transform: translateY(1.5rem);
		transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
	}

	.js .site-nav.is-open .site-nav__list li {
		opacity: 1;
		transform: none;
		transition-delay: 0.25s;
	}

	.js .site-nav.is-open .site-nav__list li:nth-child(2) { transition-delay: 0.3s; }
	.js .site-nav.is-open .site-nav__list li:nth-child(3) { transition-delay: 0.35s; }
	.js .site-nav.is-open .site-nav__list li:nth-child(4) { transition-delay: 0.4s; }
	.js .site-nav.is-open .site-nav__list li:nth-child(5) { transition-delay: 0.45s; }

	.js .site-nav__list a {
		display: flex;
		min-height: 0;
		padding: 0.9rem 0;
		font-size: clamp(2.5rem, 12vw, 4rem);
		font-stretch: 64%;
		font-weight: 720;
		line-height: 1;
	}

	.js .site-nav__list a::before {
		width: 0.5rem;
		height: 0.5rem;
		align-self: center;
	}

	.js .site-nav__list .roll {
		height: auto;
		overflow: visible;
		line-height: 1;
	}

	.js .site-nav__list .roll > span {
		text-shadow: none;
		transform: none;
	}

	.js .site-nav__list a[aria-current] {
		color: var(--signal);
	}

	.js .site-nav__cta {
		min-height: 3.5rem;
		font-size: 1rem;
	}

	html.nav-open {
		overflow: hidden;
	}

	html.nav-open .site-header {
		transform: none;
	}
}

/* Reading progress: a signal line along the top edge of the window. */
.page-ruler {
	position: fixed;
	inset: var(--wp-admin--admin-bar--height, 0px) 0 auto 0;
	z-index: 55;
	height: 2px;
	pointer-events: none;
}

.page-ruler__mark {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--signal-2), var(--signal));
	transform: scaleX(var(--p, 0));
	transform-origin: left;
}

/* 6 Hero ----------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: max(100svh, 40rem);
	overflow: clip;
	background: var(--void);
	color: var(--ice);
}

.hero__media,
.hero__slide,
.hero__shade {
	position: absolute;
	inset: 0;
}

.hero__media {
	z-index: -3;
	overflow: hidden;
	background: var(--void);
}

/* Slides wipe in from the right over the outgoing picture (main.js). */
.hero__slide {
	z-index: 0;
	overflow: hidden;
	clip-path: inset(0 0 0 100%);
	transition: clip-path 1.5s var(--ease-in-out);
}

/* Slides 2 and 3 stay out of the render tree (their lazy images do not load)
   until main.js starts the sequence after the page has loaded. */
.hero__slide:not(:first-child) {
	display: none;
}

.hero.is-live .hero__slide {
	display: block;
}

.hero__slide.is-active {
	z-index: 2;
	clip-path: inset(0 0 0 0);
}

.hero__slide.is-leaving {
	z-index: 1;
	clip-path: inset(0 0 0 0);
	transition: none;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.14) translateX(3%);
	transition: transform 1.5s var(--ease-in-out);
}

.hero__slide.is-active img,
.hero__slide.is-leaving img {
	transform: scale(1.04);
}

.hero.is-live .hero__slide.is-active img {
	transform: scale(1.02);
	transition: transform 1.5s var(--ease-in-out);
}

.hero__shade {
	z-index: -2;
	background:
		linear-gradient(90deg, rgb(5 8 10 / 0.86) 0%, rgb(5 8 10 / 0.5) 42%, rgb(5 8 10 / 0.12) 74%, rgb(5 8 10 / 0.3) 100%),
		linear-gradient(180deg, rgb(5 8 10 / 0.75) 0%, rgb(5 8 10 / 0) 22%, rgb(5 8 10 / 0.08) 50%, rgb(5 8 10 / 0.97) 100%);
}

.hero__columns {
	--gridline: rgb(232 240 242 / 0.06);
	z-index: -1;
}

.hero__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
}

.hero__eyebrow {
	margin: 0;
	color: rgb(232 240 242 / 0.82);
}

.hero__figure {
	display: grid;
	grid-template-columns: auto auto auto;
	align-items: center;
	gap: 0.6rem 0.6rem;
}

.hero__caption {
	display: flex;
	gap: 1em;
	margin: 0 0.5rem 0 0;
	color: rgb(232 240 242 / 0.82);
	font: 400 var(--text-xs) / 1.4 var(--font-mono);
}

.hero__count {
	color: var(--signal);
	white-space: nowrap;
}

/* Countdown to the next picture: a thin line under the caption. */
.hero__timer {
	grid-column: 1;
	grid-row: 2;
	display: block;
	height: 1px;
	margin-right: 0.5rem;
	background: rgb(232 240 242 / 0.18);
}

.hero__timer span {
	display: block;
	height: 100%;
	background: var(--signal);
	transform: scaleX(0);
	transform-origin: left;
}

.hero.is-playing .hero__timer span {
	animation: hero-timer 6.5s linear forwards;
}

@keyframes hero-timer {
	to {
		transform: scaleX(1);
	}
}

.hero__ctrl {
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	background: rgb(5 8 10 / 0.25);
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.hero__ctrl[hidden] {
	display: none;
}

.hero__ctrl:hover,
.hero__ctrl:focus-visible {
	border-color: var(--signal);
	background: var(--signal);
	color: var(--void);
}

.hero__ctrl .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.hero__ctrl-play,
.hero__ctrl[aria-pressed="true"] .hero__ctrl-pause {
	display: none;
}

.hero__ctrl[aria-pressed="true"] .hero__ctrl-play {
	display: block;
}

.hero__content {
	align-self: end;
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 3.5vw, 3rem);
}

.hero__title {
	font-size: clamp(3.25rem, 0.8rem + 10vw, 11rem);
	font-stretch: 62%;
	font-weight: 780;
	letter-spacing: -0.005em;
	line-height: 0.84;
	text-wrap: wrap;
}

.hero__line {
	display: block;
	margin-block: -0.04em -0.08em;
	padding-block: 0.04em 0.08em;
	overflow: hidden;
}

.hero__line-inner {
	display: block;
}

.hero__line--offset {
	text-align: right;
}

.hero__row {
	display: grid;
	grid-template-columns: minmax(0, 31rem) auto;
	justify-content: space-between;
	align-items: end;
	gap: 2rem 4rem;
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.hero__lede {
	max-width: 34rem;
	margin: 0;
	color: rgb(232 240 242 / 0.86);
	font-size: var(--text-l);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 2rem;
}

.hero__foot {
	position: relative;
	padding-block: 1.1rem 1.4rem;
}

/* The signal trace: a datum line with a lit segment that runs along it. */
.hero__trace {
	position: absolute;
	inset: 0 0 auto 0;
	height: 1px;
	overflow: hidden;
	background: rgb(232 240 242 / 0.22);
	transform-origin: left;
}

.hero__trace::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 18%;
	background: linear-gradient(90deg, transparent, var(--signal) 70%, var(--ice));
	animation: trace 5.5s var(--ease-in-out) 1.2s infinite;
	transform: translateX(-100%);
}

@keyframes trace {
	0% {
		transform: translateX(-100%);
	}

	60%,
	100% {
		transform: translateX(560%);
	}
}

.hero__index {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem clamp(1.5rem, 4vw, 4rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero__index a {
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	min-height: 2.75rem;
	color: rgb(232 240 242 / 0.78);
	font-size: 0.8125rem;
	font-stretch: 120%;
	font-weight: 520;
	text-decoration: none;
	transition: color 0.3s;
}

.hero__index a::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border: 1px solid var(--signal);
	transition: background-color 0.3s;
}

.hero__index a:hover,
.hero__index a:focus-visible {
	color: var(--ice);
}

.hero__index a:hover::before,
.hero__index a:focus-visible::before {
	background: var(--signal);
}

@media (max-width: 61.99em) {
	.hero__row {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Portrait crop: keep the subject (right of centre in the supplied images) in view. */
	.hero__slide img {
		object-position: 66% 50%;
	}

	.hero__shade {
		background:
			linear-gradient(180deg, rgb(5 8 10 / 0.8) 0%, rgb(5 8 10 / 0.25) 24%, rgb(5 8 10 / 0.55) 50%, rgb(5 8 10 / 0.97) 100%);
	}
}

@media (max-width: 47.99em) {
	.hero__top {
		flex-direction: column;
	}

	.hero__eyebrow {
		display: none;
	}

	.hero__figure {
		width: 100%;
		grid-template-columns: minmax(0, 1fr) auto auto;
	}

	.hero__title {
		font-size: min(16.5vw, 6.5rem);
	}

	.hero__line--offset {
		text-align: left;
		padding-left: 14%;
	}

	.hero__index {
		display: none;
	}

	.hero__foot {
		padding-block: 0 0.75rem;
	}
}

@media (max-width: 29.99em) {
	.hero__actions .btn {
		width: 100%;
	}

	.hero__caption {
		flex-direction: column;
		gap: 0.15em;
	}
}

/* 7 About ---------------------------------------------------------------- */
.about {
	position: relative;
	padding-block: var(--section);
	background: linear-gradient(180deg, var(--carbon) 0%, var(--carbon) 70%, var(--void) 100%);
}

.about__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
}

.about__label {
	grid-column: 1 / -1;
}

.about__statement {
	grid-column: 1 / span 11;
	margin-bottom: clamp(3.5rem, 8vw, 8rem);
	font-size: clamp(1.85rem, 0.95rem + 3.1vw, 4.1rem);
	font-stretch: 100%;
	font-weight: 340;
	letter-spacing: -0.03em;
	line-height: 1.08;
	text-wrap: pretty;
}

.about__figure {
	grid-column: 1 / span 5;
	margin: 0;
}

.about__body {
	grid-column: 7 / span 6;
	align-self: end;
}

.about__lead {
	max-width: 36rem;
	margin-bottom: 1.5rem;
	font-size: var(--text-l);
	line-height: 1.5;
}

.about__text {
	max-width: 36rem;
	color: var(--muted);
}

/* The company facts as a machine type plate: riveted, ruled, plain. */
.plate {
	position: relative;
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
	padding: 1.1rem clamp(1.25rem, 2.5vw, 2rem);
	border: 1px solid var(--rule-strong);
	background:
		radial-gradient(circle, rgb(232 240 242 / 0.4) 0 1.5px, transparent 2px) top 0.55rem left 0.55rem / 6px 6px no-repeat,
		radial-gradient(circle, rgb(232 240 242 / 0.4) 0 1.5px, transparent 2px) top 0.55rem right 0.55rem / 6px 6px no-repeat,
		radial-gradient(circle, rgb(232 240 242 / 0.4) 0 1.5px, transparent 2px) bottom 0.55rem left 0.55rem / 6px 6px no-repeat,
		radial-gradient(circle, rgb(232 240 242 / 0.4) 0 1.5px, transparent 2px) bottom 0.55rem right 0.55rem / 6px 6px no-repeat,
		linear-gradient(135deg, rgb(232 240 242 / 0.06), rgb(232 240 242 / 0.015) 60%);
}

.plate__row {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 1rem;
	padding-block: 0.85rem;
}

.plate__row + .plate__row {
	border-top: 1px solid var(--rule);
}

.plate dt {
	color: var(--muted);
	font-size: 0.8125rem;
	font-stretch: 125%;
	font-weight: 500;
	line-height: 1.5;
}

.plate dd {
	margin: 0;
	font-weight: 560;
	line-height: 1.4;
}

@media (max-width: 61.99em) {
	.about__statement,
	.about__figure,
	.about__body {
		grid-column: 1 / -1;
	}

	.about__figure {
		margin-bottom: 2.75rem;
	}

	.about__figure .frame--portrait {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 35.99em) {
	.plate__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.2rem;
	}
}

/* 8 Industries ------------------------------------------------------------ */
.industries {
	position: relative;
	background: var(--void);
}

.industries__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	align-items: end;
	padding-top: clamp(2rem, 4vw, 3rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.industries__head .kicker {
	grid-column: 1 / -1;
}

.industries__title {
	grid-column: 1 / span 8;
}

.industries__intro {
	grid-column: 9 / span 4;
	margin: 0;
	color: var(--muted);
}

/* Static layout (no JavaScript, reduced motion, smaller screens). */
.industries__stage {
	position: relative;
	padding-bottom: var(--section);
}

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

.industry {
	position: relative;
	display: flex;
	flex-direction: column;
}

.industry__media {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--gunmetal);
}

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

.industry__body {
	padding-top: 1.5rem;
}

.industry__name {
	margin-bottom: 0.75rem;
	font-size: clamp(2.25rem, 1.2rem + 3vw, 4rem);
	font-stretch: 64%;
	font-weight: 740;
	line-height: 0.9;
}

.industry__text {
	max-width: 24rem;
	margin: 0;
	color: var(--muted);
}

@media (max-width: 61.99em) {
	.industries__title,
	.industries__intro {
		grid-column: 1 / -1;
	}

	.industries__intro {
		max-width: 34rem;
		margin-top: 1.5rem;
	}

	.industries__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 3rem;
	}

	.industry {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: var(--gap);
		align-items: end;
	}

	.industry__body {
		padding-top: 0;
	}
}

@media (max-width: 35.99em) {
	.industry {
		grid-template-columns: minmax(0, 1fr);
	}

	.industry__media {
		aspect-ratio: 5 / 4;
	}
}

/* Stage (wide screens with motion, set by motion.js): the section holds
   still while the three industries pass through it like title cards. */
.industries__stage.is-staged {
	height: 100vh;
	height: 100svh;
	padding: 0;
	overflow: hidden;
}

.is-staged .industries__inner {
	position: relative;
	isolation: isolate;
	display: block;
	height: 100%;
}

/* Colour wash behind each card (motion.js): its own picture, heavily blurred. */
.industry__wash {
	display: none;
}

.is-staged .industry__wash {
	position: absolute;
	inset: 0 calc((100% - 100vw) / 2);
	z-index: -1;
	display: block;
	overflow: hidden;
	background: var(--void);
}

.industry__wash img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(56px) saturate(1.25) brightness(0.42);
	opacity: 0.85;
	transform: scale(1.25);
}

.is-staged .industry__wash::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--void) 0%, rgb(5 8 10 / 0.55) 40%, rgb(5 8 10 / 0.2) 70%, rgb(5 8 10 / 0.6) 100%),
		linear-gradient(180deg, var(--void) 0%, transparent 25%, transparent 75%, var(--void) 100%);
}

.is-staged .industry {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr);
	column-gap: var(--gap);
	align-items: center;
	padding-top: calc(var(--header-h) - 1rem);
}

.is-staged .industry__media {
	grid-column: 6 / span 4;
	grid-row: 1;
	height: min(78svh, 54rem);
	aspect-ratio: auto;
}

.is-staged .industry__body {
	position: relative;
	z-index: 2;
	grid-column: 1 / -1;
	grid-row: 1;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	align-items: end;
	align-self: end;
	padding: 0 0 clamp(2.5rem, 9svh, 6rem);
}

.is-staged .industry__name {
	grid-column: 1 / span 8;
	margin: 0;
	padding-bottom: 0.04em;
	overflow: hidden;
	font-size: clamp(5rem, 1rem + 10vw, 12.5rem);
	font-weight: 780;
	line-height: 0.82;
}

.is-staged .industry__text {
	grid-column: 10 / span 3;
	color: rgb(232 240 242 / 0.82);
}

.industries__index {
	position: absolute;
	top: calc(var(--header-h) + 2rem);
	left: 0;
	z-index: 3;
	display: grid;
	gap: 0.6rem;
	width: min(18rem, 30%);
	margin: 0;
	padding: 0;
	list-style: none;
}

.industries__index[hidden] {
	display: none;
}

.industries__index li {
	display: grid;
	grid-template-columns: 4.5rem auto;
	align-items: center;
	gap: 1rem;
	color: rgb(232 240 242 / 0.45);
	font-size: 0.8125rem;
	font-stretch: 120%;
	font-weight: 520;
	transition: color 0.5s var(--ease-out);
}

.industries__index li.is-active {
	color: var(--ice);
}

.industries__index i {
	display: block;
	height: 2px;
	background: rgb(232 240 242 / 0.16);
}

.industries__index i::after {
	content: "";
	display: block;
	height: 100%;
	background: var(--signal);
	transform: scaleX(var(--fill, 0));
	transform-origin: left;
}

/* 9 Clients --------------------------------------------------------------- */
.clients {
	position: relative;
	padding-block: clamp(3.5rem, 7vw, 6rem);
	border-top: 1px solid var(--rule);
	background: var(--graphite);
}

.clients__inner {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 2rem;
	align-items: center;
}

.clients__title {
	grid-column: 1 / span 3;
	max-width: 15rem;
	margin: 0;
	font-weight: 520;
}

.clients__list {
	grid-column: 4 / -1;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(0.5rem, 1vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Logos are supplied on white and stay unaltered: each sits on a small
   brushed-aluminium plate, blended with "multiply". */
.clients__list a {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 8 / 5;
	padding: 0.5rem clamp(0.5rem, 1.2vw, 1.1rem);
	background: linear-gradient(160deg, #dfe4e4 0%, #c4cbcc 100%);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35), 0 1px 0 rgb(0 0 0 / 0.4);
	transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.clients__list img {
	width: 100%;
	max-width: 10rem;
	mix-blend-mode: multiply;
}

.clients__list li {
	max-width: 12.5rem;
}

.clients__list a:hover,
.clients__list a:focus-visible {
	transform: translateY(-0.35rem);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6), 0 1.25rem 2.5rem -1rem rgb(5 217 240 / 0.35);
}

@media (max-width: 61.99em) {
	.clients__title,
	.clients__list {
		grid-column: 1 / -1;
	}

	.clients__title {
		max-width: none;
	}

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

@media (max-width: 35.99em) {
	.clients__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 10 Values --------------------------------------------------------------- */
.values {
	position: relative;
	padding-block: clamp(4rem, 8vw, 7rem) var(--section);
	background:
		radial-gradient(70rem 40rem at 85% 45%, rgb(26 137 194 / 0.07), transparent 65%),
		var(--graphite);
}

.values__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	align-items: end;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.values__head .kicker {
	grid-column: 1 / -1;
}

.values__head h2 {
	grid-column: 1 / span 7;
}

.values__intro {
	grid-column: 9 / span 4;
	margin: 0;
	color: var(--muted);
}

.values__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule-strong);
}

.value {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	align-items: end;
	padding-block: clamp(1.25rem, 2.5vw, 2rem);
	border-bottom: 1px solid var(--rule);
}

.value__name {
	position: relative;
	grid-column: 1 / span 8;
	font-size: clamp(3.25rem, 0.8rem + 8.6vw, 10.5rem);
	font-stretch: 62%;
	font-weight: 780;
	line-height: 0.82;
}

/* Fill mode (motion.js): the word is drawn in outline and fills as it passes. */
.value__fill {
	position: absolute;
	inset: 0;
	color: var(--ice);
	-webkit-text-stroke: 0;
	clip-path: inset(0 100% 0 0);
}

.is-filling .value__name {
	color: transparent;
	-webkit-text-stroke: 1px rgb(232 240 242 / 0.32);
}

.value__text {
	grid-column: 9 / span 4;
	max-width: 22rem;
	margin: 0;
	padding-bottom: 0.35rem;
	color: var(--muted);
}

@media (max-width: 61.99em) {
	.values__head h2,
	.values__intro {
		grid-column: 1 / -1;
	}

	.values__intro {
		max-width: 34rem;
		margin-top: 1.5rem;
	}

	.value__name,
	.value__text {
		grid-column: 1 / -1;
	}

	.value__text {
		margin-top: 0.85rem;
	}
}

/* 11 Services ------------------------------------------------------------- */
.services {
	position: relative;
	isolation: isolate;
	padding-block: var(--section);
	background: var(--carbon);
}

.services__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
}

.services__head {
	grid-column: 1 / span 4;
}

.services__sticky {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.services__intro {
	max-width: 24rem;
	margin: 1.75rem 0 0;
	color: var(--muted);
}

.services__meter {
	display: block;
	width: min(100%, 16rem);
	height: 2px;
	margin-top: 2.5rem;
	background: var(--rule);
}

.services__meter span {
	display: block;
	height: 100%;
	background: var(--signal);
	transform: scaleX(0);
	transform-origin: left;
}

html:not(.has-motion) .services__meter {
	display: none;
}

.services__rows {
	grid-column: 6 / -1;
}

.service {
	padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
	scroll-margin-top: 4rem;
}

.service + .service {
	padding-top: clamp(3.5rem, 7vw, 6.5rem);
	border-top: 1px solid var(--rule);
}

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

.service__media {
	margin: 0;
}

/* Hover zooms use the independent `scale` property, so they compose with the
   transforms GSAP writes during reveals. */
.service__media img {
	transition: scale 1.4s var(--ease-out), filter 1s var(--ease-out);
}

.service:hover .service__media img {
	scale: 1.04;
}

/* While services are tracked (motion.js), pictures out of focus are dimmed. */
.is-tracking .service:not(.is-active) .service__media img {
	filter: grayscale(0.9) brightness(0.55);
}

.service__name {
	margin: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
	font-size: clamp(2.5rem, 1.1rem + 4.2vw, 5.5rem);
	font-stretch: 64%;
	font-weight: 740;
	line-height: 0.88;
}

.service__detail {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: 2rem var(--gap);
}

.service__text {
	margin-bottom: 1rem;
	color: var(--muted);
}

.service__items {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}

.service__items li {
	display: flex;
	align-items: baseline;
	gap: 0.85rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--rule);
	font-weight: 520;
	line-height: 1.35;
}

.service__items li::before {
	content: "";
	flex: none;
	width: 0.35rem;
	height: 0.35rem;
	background: var(--signal);
	transform: translateY(-0.15em);
}

@media (max-width: 61.99em) {
	.services__head,
	.services__rows {
		grid-column: 1 / -1;
	}

	.services__sticky {
		position: static;
		margin-bottom: 3.5rem;
	}

	.services__meter {
		display: none;
	}
}

@media (max-width: 47.99em) {
	.service__detail {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}

	.frame--wide {
		aspect-ratio: 3 / 2;
	}
}

/* 12 Call to action -------------------------------------------------------- */
.cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(6rem, 14vw, 13rem);
	border-top: 1px solid var(--rule);
	background: var(--void);
}

/* A soft light that follows the pointer on wide screens (motion.js). */
.cta__light {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(48rem 34rem at var(--mx, 72%) var(--my, 45%), rgb(5 217 240 / 0.14), transparent 70%);
}

/* The logo mark, cut from the supplied logo file, as a large lit watermark. */
.cta__mark {
	position: absolute;
	top: 50%;
	right: clamp(-10rem, -6vw, -2rem);
	z-index: -1;
	height: 130%;
	aspect-ratio: 279 / 401;
	background: linear-gradient(165deg, rgb(5 217 240 / 0.3), rgb(26 137 194 / 0.05) 70%);
	-webkit-mask: url("../images/logo-mark.webp") center / contain no-repeat;
	mask: url("../images/logo-mark.webp") center / contain no-repeat;
	transform: translateY(-50%);
}

.cta__title {
	max-width: 13ch;
	font-size: clamp(3.25rem, 0.8rem + 8.4vw, 10.5rem);
	font-stretch: 62%;
	font-weight: 780;
	line-height: 0.84;
}

.cta__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 2rem 4rem;
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
	padding-top: 2rem;
	border-top: 1px solid var(--rule-strong);
}

.cta__text {
	max-width: 34rem;
	margin: 0;
	color: rgb(232 240 242 / 0.82);
	font-size: var(--text-l);
	line-height: 1.5;
}

@media (max-width: 35.99em) {
	.cta__foot .btn {
		width: 100%;
	}

	.cta__mark {
		height: 70%;
		top: 30%;
		opacity: 0.7;
	}
}

/* 13 Projects --------------------------------------------------------------- */
/* The one light surface: a drafting sheet that opens out of the dark. */
.projects {
	position: relative;
	background: var(--void);
}

.projects__sheet {
	--bg: var(--sheet);
	--fg: var(--ink);
	--muted: var(--ink-muted);
	--accent: var(--signal-ink);
	--rule: rgb(10 15 18 / 0.14);
	--rule-strong: rgb(10 15 18 / 0.4);
	--focus: var(--ink);
	position: relative;
	padding-block: var(--section);
	background: var(--sheet);
	color: var(--ink);
}

.projects__sheet .kicker::before {
	box-shadow: none;
}

.projects__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	align-items: end;
	margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.projects__head .kicker {
	grid-column: 1 / -1;
}

.projects__title {
	grid-column: 1 / span 8;
	font-size: clamp(4rem, 1rem + 11vw, 13rem);
	font-stretch: 62%;
	font-weight: 780;
	line-height: 0.82;
}

.projects__intro {
	grid-column: 9 / span 4;
	color: var(--muted);
}

.projects__intro p {
	margin-bottom: 0.75rem;
}

/* Renderings are on white: "multiply" sets them straight onto the sheet. */
.plate-render {
	position: relative;
	display: grid;
	place-items: center;
	margin: 0;
	overflow: hidden;
	background:
		linear-gradient(rgb(10 15 18 / 0.05) 1px, transparent 1px) 0 0 / 100% 2.5rem,
		linear-gradient(90deg, rgb(10 15 18 / 0.05) 1px, transparent 1px) 0 0 / 2.5rem 100%,
		var(--sheet-2);
}

.plate-render img {
	width: 80%;
	height: 84%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: scale 1.4s var(--ease-out);
}

.project {
	position: relative;
}

.project:hover .plate-render img {
	scale: 1.045;
}

.project--feature .plate-render {
	aspect-ratio: 16 / 8;
}

.project--feature .project__body {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 2rem;
	padding-top: clamp(1.75rem, 3vw, 2.75rem);
}

.project__intro {
	grid-column: 1 / span 6;
}

.project__detail {
	grid-column: 8 / span 5;
}

.project__meta {
	margin-bottom: 1rem;
	color: var(--accent);
	font-size: 0.8125rem;
	font-stretch: 120%;
	font-weight: 560;
	line-height: 1.5;
}

.project__title {
	margin-bottom: 1rem;
	font-size: clamp(2.25rem, 1rem + 3.4vw, 4.5rem);
	font-stretch: 64%;
	font-weight: 740;
	line-height: 0.9;
}

.project--feature .project__title {
	font-size: clamp(2.75rem, 1rem + 5vw, 6.25rem);
}

.project__text {
	max-width: 34rem;
	margin-bottom: 1rem;
	color: var(--muted);
}

.specs {
	margin: 1.5rem 0 1rem;
	border-top: 1px solid var(--rule-strong);
}

.specs > div {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--rule);
}

.specs dt {
	margin-top: 0.15rem;
	color: var(--muted);
	font: 400 var(--text-xs) / 1.5 var(--font-mono);
}

.specs dd {
	margin: 0;
	font-weight: 560;
	line-height: 1.4;
}

.projects__pair {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	margin-top: clamp(5rem, 10vw, 9rem);
}

.project--a {
	grid-column: 1 / span 6;
}

.project--b {
	grid-column: 8 / span 5;
	margin-top: clamp(6rem, 14vw, 13rem);
}

.project--a .plate-render {
	aspect-ratio: 5 / 4;
}

.project--b .plate-render {
	aspect-ratio: 4 / 5;
}

/* The CNC rendering has wide white margins: fill the tall plate instead. */
.project--b .plate-render img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.projects__pair .project__body {
	padding-top: 1.5rem;
}

/* The whole card follows the case-study link. */
.project__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* "View case study" label that follows the pointer over a project (motion.js). */
.project-cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	padding: 0.85em 1.2em;
	border-radius: 999px;
	background: var(--ink);
	color: var(--sheet);
	font-size: 0.8125rem;
	font-stretch: 115%;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
}

@media (max-width: 61.99em) {
	.projects__title,
	.projects__intro,
	.project__intro,
	.project__detail {
		grid-column: 1 / -1;
	}

	.projects__intro {
		max-width: 34rem;
		margin-top: 1.5rem;
	}

	.project--feature .plate-render {
		aspect-ratio: 4 / 3;
	}

	.projects__pair {
		row-gap: 4.5rem;
	}

	.project--a,
	.project--b {
		grid-column: 1 / -1;
		margin-top: 0;
	}

	.project--a .plate-render,
	.project--b .plate-render {
		aspect-ratio: 4 / 3;
	}
}

/* 14 Contact ---------------------------------------------------------------- */
.contact {
	position: relative;
	padding-block: var(--section);
	background:
		radial-gradient(60rem 40rem at 0% 100%, rgb(5 217 240 / 0.03), transparent 60%),
		var(--carbon);
}

.contact__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 3.5rem;
}

.contact__intro {
	grid-column: 1 / span 5;
}

.contact__form {
	grid-column: 7 / span 6;
	padding: clamp(1.5rem, 3.5vw, 3rem);
	border: 1px solid var(--rule);
	background: linear-gradient(160deg, rgb(232 240 242 / 0.045), rgb(232 240 242 / 0.01));
}

.contact__text {
	max-width: 30rem;
	margin: 1.75rem 0 0;
	color: var(--muted);
	font-size: var(--text-l);
	line-height: 1.5;
}

.contact__details {
	margin: clamp(2rem, 4vw, 3.5rem) 0 0;
	border-top: 1px solid var(--rule-strong);
}

.contact__details > div {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	min-height: 3.25rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--rule);
}

.contact__details dt {
	color: var(--muted);
	font-size: 0.8125rem;
	font-stretch: 125%;
	font-weight: 500;
}

.contact__details dd {
	margin: 0;
	font-weight: 520;
}

.contact__details a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	text-decoration: none;
	transition: color 0.3s;
}

.contact__details a:hover,
.contact__details a:focus-visible {
	color: var(--signal);
}

.form {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem var(--gap);
}

.form__note {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--muted);
	font-size: var(--text-s);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.field--wide {
	grid-column: 1 / -1;
}

.field__label {
	color: var(--steel);
	font-size: 0.8125rem;
	font-stretch: 120%;
	font-weight: 520;
}

.field__label span[aria-hidden] {
	color: var(--signal);
}

.field__optional {
	opacity: 0.8;
}

.field__input {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: inset 0 -1px 0 var(--rule-strong);
	color: var(--ice);
	font-size: 1.0625rem;
	transition: box-shadow 0.35s var(--ease-out);
}

.field__input--area {
	min-height: 8.5rem;
	resize: vertical;
}

.field__input:hover {
	box-shadow: inset 0 -1px 0 rgb(232 240 242 / 0.6);
}

.field__input:focus-visible {
	outline: 2px solid var(--signal);
	outline-offset: 4px;
	box-shadow: inset 0 -2px 0 var(--signal);
}

.field__input[aria-invalid="true"] {
	box-shadow: inset 0 -2px 0 var(--danger);
}

.field__error {
	margin: 0;
	color: var(--danger);
	font-size: var(--text-s);
}

.form__actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	margin-top: 0.5rem;
}

.form__privacy {
	max-width: 22rem;
	margin: 0;
	color: var(--muted);
	font-size: var(--text-s);
}

/* Result line written by ClientLayer (forms.js, or the no-JS redirect). */
.cl-form-status {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0.9rem 1.1rem;
	border-left: 2px solid var(--rule-strong);
	background: rgb(232 240 242 / 0.05);
	font-weight: 500;
}

.cl-form-status:empty {
	display: none;
}

.form[data-cl-form-state="sent"] .cl-form-status {
	border-left-color: var(--signal);
	color: var(--signal);
}

.form[data-cl-form-state="error"] .cl-form-status {
	border-left-color: var(--danger);
	color: var(--danger);
}

@media (max-width: 61.99em) {
	.contact__intro,
	.contact__form {
		grid-column: 1 / -1;
	}
}

@media (max-width: 35.99em) {
	.form {
		grid-template-columns: minmax(0, 1fr);
	}

	.form__actions .btn {
		width: 100%;
	}

	.contact__details > div {
		grid-template-columns: 5rem minmax(0, 1fr);
	}

	.contact__form {
		margin-inline: calc(var(--gutter) * -0.5);
	}
}

/* 15 Footer ----------------------------------------------------------------- */
.site-footer {
	--bg: var(--void);
	padding-top: clamp(4rem, 8vw, 7rem);
	overflow-x: clip;
	border-top: 1px solid var(--rule);
	background: var(--void);
	color: var(--ice);
}

.site-footer > .container {
	container-type: inline-size;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
	gap: 3rem var(--gap);
}

.site-footer__logo {
	display: inline-block;
}

.site-footer__logo img {
	width: 12rem;
}

.site-footer__tagline {
	max-width: 22rem;
	margin: 1.5rem 0 0;
	color: var(--muted);
}

.site-footer .kicker {
	margin-bottom: 1rem;
}

.site-footer__list {
	display: grid;
	gap: 0.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 2.75rem;
	padding-block: 0.4rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
	text-decoration: none;
	transition: color 0.3s;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
	color: var(--signal);
}

.site-footer__list .icon {
	color: var(--signal);
}

/* Brand closure: the name, engraved at the full width of the page. */
.site-footer__word {
	--engrave: linear-gradient(180deg, rgb(232 240 242 / 0.24) 0%, rgb(232 240 242 / 0.02) 92%);
	margin: clamp(3rem, 7vw, 6rem) 0 0;
	padding-bottom: 0.02em;
	overflow: hidden;
	font-size: 8.8vw;
	font-size: 9.45cqw;
	font-stretch: 125%;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 0.8;
	text-transform: uppercase;
	white-space: nowrap;
	user-select: none;
	color: transparent;
	background: var(--engrave);
	-webkit-background-clip: text;
	background-clip: text;
}

/* Once split into letters (motion.js), each letter carries the engraving. */
.site-footer__word.is-split {
	background: none;
}

.site-footer__word.is-split .split-char {
	background: var(--engrave);
	-webkit-background-clip: text;
	background-clip: text;
}

.site-footer__bottom {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.75rem 3rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	padding-block: 1.75rem 2rem;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__disclaimer {
	max-width: 44rem;
}

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 2rem;
	justify-content: flex-end;
}

.site-footer__meta a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 2.75rem;
	margin-top: -0.8rem;
	color: var(--ice);
	text-decoration: none;
	transition: color 0.3s;
}

.site-footer__meta a:hover,
.site-footer__meta a:focus-visible {
	color: var(--signal);
}

@media (max-width: 74.99em) {
	.site-footer__top {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 1.5fr);
	}
}

@media (max-width: 61.99em) {
	.site-footer__top {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr);
	}

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

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

	.site-footer__meta {
		justify-content: space-between;
	}

	.site-footer__meta a {
		margin-top: 0;
	}
}

@media (max-width: 35.99em) {
	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Plain content pages (page.php, index.php, 404.php). */
.prose {
	max-width: 46rem;
	padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--section);
}

.prose h1 {
	margin-bottom: 1.5rem;
	font-size: clamp(2.75rem, 1.2rem + 5vw, 6rem);
	font-stretch: 64%;
	font-weight: 760;
	line-height: 0.9;
}

.prose h2 {
	margin: 2.5rem 0 0.75rem;
	font-size: 1.5rem;
}

.prose a:not(.btn) {
	color: var(--signal);
}

/* 16 Motion states ------------------------------------------------------------
   Start states apply only while html.has-motion is set (inc/assets.php):
   never for reduced motion, never without JavaScript, and removed again if
   the motion script cannot run. */
.split-word,
.split-char {
	display: inline-block;
	vertical-align: top;
}

.split-word {
	margin-bottom: -0.1em;
	padding-bottom: 0.1em;
	overflow: hidden;
}

.split-word > span {
	display: inline-block;
}

/* Character masks are per word, so words never break mid-way. */
.split-chars {
	display: inline-block;
	white-space: nowrap;
}

.has-motion [data-reveal] {
	opacity: 0;
	transform: translateY(32px);
}

.has-motion [data-hero] {
	opacity: 0;
}

.has-motion .hero__line-inner {
	transform: translateY(105%);
}

.has-motion .hero__media {
	clip-path: inset(50% 0 50% 0);
}

.has-motion [data-split] {
	opacity: 0;
}

.has-motion [data-reveal-image] {
	clip-path: inset(100% 0 0 0);
}

.has-motion [data-line] {
	transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.hero__trace::after {
		display: none;
	}
}

@media print {
	body::after,
	.page-ruler,
	.nav-toggle,
	.hero__ctrl,
	.cta__light,
	.project-cursor {
		display: none;
	}

	.site-header,
	.hero__media,
	.hero__shade {
		position: static;
	}
}
