/* ==========================================================================
   BrandEngine — main stylesheet
   Dark industrial system: matte black, graphite, off-white, BE logo blue.
   ========================================================================== */

/* Fonts (self-hosted, OFL) --------------------------------------------------- */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff") format("woff");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/plex-mono-400.woff") format("woff");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/plex-mono-500.woff") format("woff");
	font-weight: 500;
	font-display: swap;
}

/* Tokens --------------------------------------------------------------------- */
:root {
	--brand: #244785;
	--signal: #8aaef2;
	--brand-hi: #3462b4;
	--ink: #0b0c0e;
	--char: #101114;
	--graphite: #17191d;
	--graphite-2: #1f2226;
	--paper: #f2f1ee;
	--text: #dddcd8;
	--muted: #a3a6ad;
	--dim: #74777f;
	--line: rgba(242, 241, 238, 0.11);
	--line-strong: rgba(242, 241, 238, 0.24);
	--grid: rgba(242, 241, 238, 0.035);
	--danger: #ff8a80;

	--f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wrap: 1360px;
	--gutter: clamp(16px, 4vw, 48px);
	--header: 76px;
	--section: clamp(80px, 10vw, 152px);
	--section-tight: clamp(48px, 6vw, 88px);
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@supports (color: color-mix(in oklab, red, blue)) {
	:root {
		--signal: color-mix(in oklab, var(--brand) 42%, white);
		--brand-hi: color-mix(in oklab, var(--brand) 82%, white);
	}
}

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

html {
	background: var(--ink);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--f-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--paper); font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main { display: block; outline: none; padding-top: var(--header); }
.has-overlay-header .site-main { padding-top: 0; }

/* Blueprint grid background */
.grid-bg {
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: -1px -1px;
}

/* Labels: mono technical captions with the logo's slash -------------------- */
.label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 0 0 20px;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.label::before {
	content: "";
	width: 12px;
	height: 7px;
	background: var(--signal);
	transform: skewX(-38deg);
	flex: none;
}
.label__idx { color: var(--signal); }
.label__idx::before { content: "["; color: var(--dim); }
.label__idx::after { content: "]"; color: var(--dim); }
.label__end { margin-left: auto; color: var(--dim); }
.label__back { color: var(--muted); transition: color 0.2s; }
.label__back::before { content: "← "; }
.label__back::after { content: "/"; margin-left: 12px; color: var(--dim); }
.label__back:hover { color: var(--paper); }

/* Buttons --------------------------------------------------------------------- */
.btn {
	--cut: 12px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 48px;
	padding: 12px 20px 12px 24px;
	border: 0;
	font-family: var(--f-sans);
	font-size: 0.875rem;
	font-weight: 650;
	font-stretch: 112%;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--primary {
	background: var(--brand);
	color: #fff;
	clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.btn--primary:hover { background: var(--brand-hi); }

.btn--ghost {
	background: transparent;
	color: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--paper); }

.btn--text {
	min-height: 0;
	padding: 6px 0;
	color: var(--paper);
	background: linear-gradient(var(--signal), var(--signal)) left bottom / 100% 1px no-repeat;
}
.btn--text:hover { color: var(--signal); }

.btn--lg { min-height: 58px; padding: 16px 24px 16px 30px; font-size: 0.9375rem; --cut: 14px; }
.btn--sm { min-height: 40px; padding: 8px 14px 8px 16px; font-size: 0.75rem; --cut: 9px; gap: 10px; }
.btn--sm .icon { width: 15px; height: 15px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header ------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header);
	background: rgba(11, 12, 14, 0.78);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.has-overlay-header .site-header:not(.is-scrolled):not(.is-open) {
	background: transparent;
	border-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 32px;
}
.logo { display: block; flex: none; }
.logo__img { height: 30px; width: auto; }
@media (min-width: 1024px) { .logo__img { height: 34px; } }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list > li > a {
	display: block;
	padding: 10px 14px;
	font-size: 0.9375rem;
	font-weight: 500;
	font-stretch: 108%;
	color: var(--text);
	transition: color 0.2s;
}
.nav__list > li > a:hover,
.nav__list > .current-menu-item > a,
.nav__list > .current-menu-ancestor > a,
.nav__list > .current-menu-parent > a { color: var(--paper); }
.nav__list > .current-menu-item > a,
.nav__list > .current-menu-ancestor > a {
	background: linear-gradient(var(--signal), var(--signal)) 14px calc(100% - 4px) / calc(100% - 28px) 1px no-repeat;
}
.nav__toggle {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -10px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--muted);
	cursor: pointer;
}
.nav__toggle svg { transition: transform 0.25s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav .sub-menu {
	list-style: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 260px;
	padding: 8px;
	background: var(--graphite);
	border: 1px solid var(--line);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.nav .sub-menu a {
	display: flex;
	justify-content: space-between;
	padding: 12px 14px;
	font-size: 0.9375rem;
	color: var(--text);
}
.nav .sub-menu a:hover { background: var(--graphite-2); color: var(--paper); }
@media (min-width: 1024px) {
	.nav__list > li:hover > .sub-menu,
	.nav__list > li:focus-within > .sub-menu,
	.nav__list > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line-strong);
	cursor: pointer;
}
.menu-toggle__bars { position: relative; display: block; width: 18px; height: 10px; margin: auto; }
.menu-toggle__bars i {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: var(--paper);
	transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8.5px; width: 70%; }
.is-open .menu-toggle__bars i:first-child { top: 4.5px; transform: rotate(45deg); }
.is-open .menu-toggle__bars i:last-child { top: 4.5px; width: 100%; transform: rotate(-45deg); }

@media (max-width: 1023px) {
	.menu-toggle { display: block; }
	/* backdrop-filter would trap the fixed menu panel inside the header */
	.site-header__actions { margin-left: auto; }
	.site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
	.nav {
		position: fixed;
		inset: var(--header) 0 0;
		z-index: 49;
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 24px var(--gutter) 40px;
		background: var(--ink);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}
	.admin-bar .nav { top: calc(var(--header) + 46px); }
	.is-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__list > li > a {
		flex: 1;
		padding: 18px 0;
		font-size: 1.75rem;
		font-weight: 700;
		font-stretch: 118%;
		color: var(--paper);
	}
	.nav__list > .current-menu-item > a,
	.nav__list > .current-menu-ancestor > a { background: none; color: var(--signal); }
	.nav__toggle { width: 48px; height: 48px; margin: 0; }
	.nav .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		display: none;
		padding: 0 0 16px;
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.nav li.is-open > .sub-menu { display: block; }
	.nav .sub-menu a { padding: 10px 0; font-size: 1.125rem; color: var(--muted); }
	.nav__mobile-extra { display: grid; gap: 24px; margin-top: 32px; }
	.nav__mobile-extra .btn { width: 100%; justify-content: space-between; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 639px) {
	.site-header__cta { display: none; }
}

/* Home hero ----------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding-top: calc(var(--header) + 48px);
	overflow: hidden;
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 12, 14, 0.7) 0%, rgba(11, 12, 14, 0.15) 30%, rgba(11, 12, 14, 0.35) 60%, rgba(11, 12, 14, 0.96) 100%),
		linear-gradient(90deg, rgba(11, 12, 14, 0.6) 0%, rgba(11, 12, 14, 0) 60%);
}
.hero__blueprint {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(242, 241, 238, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(242, 241, 238, 0.045) 1px, transparent 1px),
		radial-gradient(ellipse 60% 70% at 72% 45%, rgba(36, 71, 133, 0.35), transparent 70%);
	background-size: 64px 64px, 64px 64px, 100% 100%;
}
.hero__schematic {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: var(--signal);
}
.hero__slash path { fill: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
	.hero__schematic circle:nth-of-type(2) { transform-origin: 560px 300px; animation: be-spin 60s linear infinite; }
}
@keyframes be-spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__eyebrow { margin-bottom: clamp(20px, 3vw, 32px); color: var(--text); }
.hero__title {
	max-width: 11ch;
	margin: 0 0 clamp(28px, 4vw, 48px);
	font-size: clamp(2.875rem, 9.2vw, 9.75rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 0.88;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	color: var(--paper);
	text-wrap: balance;
}
.hero__foot {
	display: grid;
	gap: 28px;
	align-items: end;
	padding-top: 28px;
	border-top: 1px solid var(--line-strong);
}
.hero__copy { max-width: 44ch; margin: 0; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--text); }
@media (min-width: 900px) {
	.hero__foot { grid-template-columns: 1fr auto; }
}

.hero__ticker {
	position: relative;
	border-top: 1px solid var(--line);
	background: rgba(11, 12, 14, 0.6);
	overflow: hidden;
	white-space: nowrap;
}
.hero__ticker-track { display: inline-flex; padding: 16px 0; animation: be-marquee 60s linear infinite; }
.hero__ticker span {
	padding: 0 22px;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.hero__ticker span::after { content: "/"; margin-left: 44px; color: var(--signal); }
@keyframes be-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero__ticker-track { animation: none; } }

/* Sections -------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section + .section,
.section + .process,
.process + .section { border-top: 1px solid var(--line); }
.page-hero + .section--tight { border-top: 0; }
.section--tight + .section--tight { border-top: 0; padding-top: 0; }

.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--split { display: grid; gap: 24px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.15fr 0.85fr; } }
.section-title {
	max-width: 20ch;
	font-size: clamp(2rem, 4.2vw, 3.75rem);
	font-weight: 700;
	font-stretch: 112%;
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.section-intro { max-width: 52ch; margin: 0 0 16px; font-size: 1.125rem; color: var(--muted); }
.lead { font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--paper); }
.minor-title {
	margin: 40px 0 16px;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Interior page hero --------------------------------------------------------- */
.page-hero {
	position: relative;
	padding-top: clamp(64px, 10vw, 152px);
	padding-bottom: clamp(48px, 7vw, 104px);
	border-bottom: 1px solid var(--line);
}
.page-hero--compact { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero__inner { display: grid; gap: 48px; align-items: end; }
@media (min-width: 1024px) {
	.page-hero__inner:has(.page-hero__aside) { grid-template-columns: 1fr minmax(300px, 400px); }
}
.page-hero__title {
	max-width: 16ch;
	margin-bottom: 28px;
	font-size: clamp(2.5rem, 6.4vw, 6rem);
	font-weight: 750;
	font-stretch: 118%;
	line-height: 0.96;
	letter-spacing: -0.025em;
	text-wrap: balance;
}
.page-hero__lead { max-width: 54ch; margin-bottom: 36px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; color: var(--text); }
.page-hero__lead:last-child { margin-bottom: 0; }
.page-hero--capability .page-hero__title {
	font-size: clamp(3.5rem, 13vw, 12rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 0.86;
	text-transform: uppercase;
}
.page-hero--service .page-hero__title { max-width: 18ch; }

.spec-card {
	margin: 0;
	padding: 8px 24px;
	background: var(--graphite);
	border: 1px solid var(--line);
}
.spec-card > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-card > div:last-child { border-bottom: 0; }
.spec-card dt {
	margin-bottom: 4px;
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}
.spec-card dd { margin: 0; color: var(--paper); }
.spec-card dd a { border-bottom: 1px solid var(--line-strong); }
.spec-card dd a:hover { color: var(--signal); }
.spec-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; }

/* Capability pillars ---------------------------------------------------------- */
.pillars { display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
	display: flex;
	flex-direction: column;
	padding: 36px 0 40px;
	border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
	.pillar { padding: 36px 32px 44px; border-bottom: 0; border-right: 1px solid var(--line); }
	.pillar:first-child { padding-left: 0; }
	.pillar:last-child { padding-right: 0; border-right: 0; }
}
.pillar__title {
	margin: 0 0 20px;
	font-size: clamp(2.5rem, 3.7vw, 3.5rem);
	font-weight: 800;
	font-stretch: 118%;
	line-height: 0.9;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}
@media (min-width: 900px) and (max-width: 1199px) { .pillar__title { font-size: 2.25rem; } }
.pillar__title a { transition: color 0.25s; }
.pillar__title a:hover { color: var(--signal); }
.pillar__summary { max-width: 38ch; margin-bottom: 28px; color: var(--muted); }
.pillar__list { list-style: none; margin-bottom: 28px; border-top: 1px solid var(--line); }
.pillar__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9875rem;
	color: var(--text);
	transition: color 0.2s, padding 0.3s var(--ease);
}
.pillar__list .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-8px); transition: opacity 0.2s, transform 0.3s var(--ease); color: var(--signal); }
.pillar__list a:hover { color: var(--paper); padding-left: 6px; }
.pillar__list a:hover .icon { opacity: 1; transform: none; }
.pillar__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--paper);
}
.pillar__more .icon { width: 16px; height: 16px; color: var(--signal); transition: transform 0.3s var(--ease); }
.pillar__more:hover .icon { transform: translateX(4px); }

/* Work grid + project cards ---------------------------------------------------- */
.work-grid { display: grid; gap: 56px 32px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.work-grid--home > :nth-child(even) { margin-top: 120px; }
	.work-grid--home > :nth-child(odd):not(:first-child) { margin-top: -120px; }
}
.card-project[hidden] { display: none; }
.card-project__link { display: block; }

.frame { position: relative; overflow: hidden; background: var(--graphite); }
.frame::after {
	--m: rgba(242, 241, 238, 0.55);
	content: "";
	position: absolute;
	inset: 14px;
	pointer-events: none;
	background:
		linear-gradient(var(--m), var(--m)) left top / 16px 1px no-repeat,
		linear-gradient(var(--m), var(--m)) left top / 1px 16px no-repeat,
		linear-gradient(var(--m), var(--m)) right top / 16px 1px no-repeat,
		linear-gradient(var(--m), var(--m)) right top / 1px 16px no-repeat,
		linear-gradient(var(--m), var(--m)) left bottom / 16px 1px no-repeat,
		linear-gradient(var(--m), var(--m)) left bottom / 1px 16px no-repeat,
		linear-gradient(var(--m), var(--m)) right bottom / 16px 1px no-repeat,
		linear-gradient(var(--m), var(--m)) right bottom / 1px 16px no-repeat;
	opacity: 0;
	transition: opacity 0.4s var(--ease), inset 0.4s var(--ease);
}
.card-project__link:hover .frame::after,
.post-card__link:hover .frame::after,
.case-gallery .frame::after { opacity: 1; }
.card-project__link:hover .frame::after { inset: 18px; }

.card-project__media { aspect-ratio: 4 / 3; }
.card-project__media img,
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
	filter: saturate(0.92);
}
.card-project__link:hover img,
.post-card__link:hover img { transform: scale(1.035); filter: saturate(1.05); }
.card-project__view {
	position: absolute;
	right: 22px;
	bottom: 22px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--brand);
	color: #fff;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.card-project__link:hover .card-project__view,
.card-project__link:focus-visible .card-project__view { opacity: 1; transform: none; }
.card-project__meta { padding-top: 20px; }
.card-project__meta .label { margin-bottom: 10px; }
.card-project__title {
	font-size: clamp(1.375rem, 2.2vw, 1.875rem);
	font-weight: 650;
	font-stretch: 112%;
	line-height: 1.1;
	letter-spacing: -0.01em;
	transition: color 0.2s;
}
.card-project__link:hover .card-project__title { color: var(--signal); }
.card-project__excerpt { max-width: 52ch; margin: 10px 0 0; color: var(--muted); font-size: 0.975rem; }

.media-fallback {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(118deg, transparent 58%, var(--brand) 58%, var(--brand) 66%, transparent 66%) 100% 100% / 60% 30% no-repeat,
		linear-gradient(rgba(242, 241, 238, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(242, 241, 238, 0.05) 1px, transparent 1px),
		var(--graphite);
	background-size: 60% 30%, 32px 32px, 32px 32px, auto;
}

/* Filters --------------------------------------------------------------------- */
.filters {
	display: grid;
	gap: 20px;
	margin-bottom: clamp(40px, 5vw, 64px);
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.filters__chips--links { margin-bottom: 40px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--line-strong);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover span { border-color: var(--paper); color: var(--paper); }
.chip input:checked + span,
.chip.is-active span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.filters__selects { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filters__count { margin: 0 0 0 auto; }
.js .filters__submit { display: none; }
.empty-filter { padding: 48px 0; color: var(--muted); }
.empty-filter a { color: var(--signal); border-bottom: 1px solid currentColor; }

/* Select (shared with form) */
.select { position: relative; }
.select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid var(--muted);
	border-bottom: 1.5px solid var(--muted);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.select select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	padding-right: 44px !important;
	cursor: pointer;
}
.select--sm select {
	min-height: 42px;
	padding: 8px 14px;
	background: transparent;
	border: 1px solid var(--line-strong);
	color: var(--text);
	font: 500 0.875rem/1.2 var(--f-sans);
	border-radius: 0;
}
.select select option { background: var(--graphite); color: var(--paper); }

/* Tags ----------------------------------------------------------------------- */
.tag-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid var(--line);
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Empty states ---------------------------------------------------------------- */
.empty-state {
	padding: clamp(32px, 5vw, 56px);
	border: 1px dashed var(--line-strong);
	color: var(--muted);
}
.empty-state p { max-width: 60ch; }
.empty-state .tag-row { margin: 8px 0 0; }
.admin-hint {
	margin: 24px 0 0;
	padding: 12px 16px;
	background: rgba(36, 71, 133, 0.18);
	border-left: 2px solid var(--signal);
	color: var(--paper);
	font-size: 0.9375rem;
}

/* Why ---------------------------------------------------------------------- */
.why__inner { display: grid; gap: 56px 80px; }
@media (min-width: 1024px) {
	.why__inner { grid-template-columns: 1fr 1fr; }
	.why__head { position: sticky; top: calc(var(--header) + 48px); align-self: start; }
}
.why__copy { max-width: 52ch; margin-top: 32px; color: var(--muted); font-size: 1.0625rem; }
.why__points { list-style: none; }
.why__point {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 6px 16px;
	padding: 32px 0;
	border-top: 1px solid var(--line-strong);
}
.why__point:last-child { border-bottom: 1px solid var(--line-strong); }
.why__num { grid-row: span 2; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--signal); padding-top: 6px; }
.why__point h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 650; font-stretch: 112%; line-height: 1.15; }
.why__point p { margin: 0; color: var(--muted); }

/* Industries ----------------------------------------------------------------- */
.industries { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.industry {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 320px;
	padding: clamp(24px, 3vw, 40px);
	background: var(--ink);
	overflow: hidden;
	isolation: isolate;
	transition: background-color 0.35s var(--ease);
}
.industry:hover { background: var(--graphite); }
.industry__bg { position: absolute; inset: 0; z-index: -1; }
.industry__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.industry__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, 0.2), rgba(11, 12, 14, 0.9)); }
.industry:hover .industry__bg img { opacity: 0.5; transform: scale(1.03); }
.industry__name {
	display: block;
	max-width: 14ch;
	margin-top: auto;
	margin-bottom: 20px;
	font-size: clamp(1.75rem, 3vw, 2.625rem);
	font-weight: 700;
	font-stretch: 118%;
	line-height: 1;
	letter-spacing: -0.015em;
	color: var(--paper);
}
.industry__needs { display: flex; flex-wrap: wrap; gap: 6px; }
.industry__go {
	position: absolute;
	top: clamp(20px, 3vw, 36px);
	right: clamp(20px, 3vw, 36px);
	color: var(--muted);
	transition: color 0.25s, transform 0.35s var(--ease);
}
.industry:hover .industry__go { color: var(--signal); transform: translate(3px, -3px); }

/* Process ------------------------------------------------------------------- */
.process__steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 1024px) { .process__steps { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.process__step {
	position: relative;
	padding: 28px 0 32px 0;
	border-top: 1px solid var(--line-strong);
}
.process__step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--signal);
	transition: width 0.8s var(--ease) calc(var(--d, 0) * 120ms);
}
.process__step.is-in::before { width: 48px; }
.process__num { display: block; margin-bottom: 40px; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--signal); }
@media (max-width: 1023px) { .process__num { margin-bottom: 12px; } }
.process__title { margin-bottom: 12px; font-size: 1.375rem; font-weight: 650; font-stretch: 112%; line-height: 1.15; }
.process__step p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.process__note { margin: 40px 0 0; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--dim); }

/* CTA band ------------------------------------------------------------------- */
.cta-band {
	position: relative;
	padding-block: clamp(88px, 12vw, 176px);
	background: var(--char);
	border-top: 1px solid var(--line);
	overflow: hidden;
	isolation: isolate;
}
.cta-band::before {
	content: "";
	position: absolute;
	right: -4%;
	top: clamp(48px, 9vw, 120px);
	z-index: -1;
	width: min(34vw, 520px);
	height: min(5.5vw, 76px);
	background: var(--brand);
	transform: skewX(-42deg);
	opacity: 0.9;
}
.cta-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 64px 64px;
}
.cta-band__inner { position: relative; }
.cta-band__title {
	max-width: 14ch;
	margin-bottom: clamp(32px, 4vw, 56px);
	font-size: clamp(2.75rem, 7.6vw, 7.25rem);
	font-weight: 800;
	font-stretch: 122%;
	line-height: 0.92;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.cta-band__title--long { max-width: 18ch; font-size: clamp(2.25rem, 5.2vw, 4.75rem); }
.cta-band__row { display: grid; gap: 28px; align-items: end; max-width: 980px; }
@media (min-width: 900px) { .cta-band__title--long { max-width: 18ch; font-size: clamp(2.25rem, 5.2vw, 4.75rem); }
.cta-band__row { grid-template-columns: 1fr auto; gap: 56px; } }
.cta-band__copy { max-width: 46ch; margin: 0; font-size: 1.125rem; color: var(--text); }

/* Spec rows (case studies, services) ----------------------------------------- */
.spec-row {
	display: grid;
	gap: 16px 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line-strong);
}
.spec-row > .label { align-self: start; }
.spec-row + .spec-row { margin-top: clamp(48px, 6vw, 80px); }
.spec-row--head { margin-bottom: 40px; }
@media (min-width: 900px) {
	.spec-row { grid-template-columns: minmax(200px, 1fr) 2fr; }
}
.spec-row__body { max-width: 760px; }
.spec-row__body p { font-size: 1.125rem; }
.spec-row__body > :last-child { margin-bottom: 0; }

.spec-strip { border-bottom: 1px solid var(--line); background: var(--char); }
.spec-strip__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0;
	margin: 0 auto;
}
.spec-strip__inner > div { padding: 24px 24px 24px 0; }
.spec-strip dt {
	margin-bottom: 6px;
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}
.spec-strip dd { margin: 0; color: var(--paper); }

.deliverables,
.needs { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .deliverables, .needs { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
.deliverables li,
.needs li {
	display: flex;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.125rem;
	color: var(--paper);
}
.deliverables__n { flex: none; padding-top: 4px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--signal); }

/* Service cards --------------------------------------------------------------- */
.service-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 280px;
	padding: 28px;
	background: var(--ink);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.3s var(--ease);
}
.service-card:hover { background: var(--graphite); }
.service-card__n { margin-bottom: auto; font-family: var(--f-mono); font-size: 0.75rem; color: var(--signal); }
.service-card__title { display: block; margin: 40px 0 12px; font-size: 1.5rem; font-weight: 650; font-stretch: 112%; line-height: 1.1; color: var(--paper); }
.service-card__text { color: var(--muted); font-size: 0.9375rem; }
.service-card__go { position: absolute; top: 24px; right: 24px; color: var(--dim); transition: color 0.25s, transform 0.35s var(--ease); }
.service-card:hover .service-card__go { color: var(--signal); transform: translate(3px, -3px); }

.cap-switch { display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 760px) { .cap-switch { grid-template-columns: repeat(3, 1fr); } }
.cap-switch__item { padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .cap-switch__item { padding: 28px 24px 32px 0; border-bottom: 0; } }
.cap-switch__name {
	display: block;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--dim);
	transition: color 0.25s;
}
.cap-switch__item:hover .cap-switch__name { color: var(--paper); }
.cap-switch__item.is-current .cap-switch__name { color: var(--paper); }
.cap-switch__item.is-current .cap-switch__name::after {
	content: "";
	display: block;
	width: 64px;
	height: 6px;
	margin-top: 16px;
	background: var(--brand);
	transform: skewX(-38deg);
	transform-origin: left;
}

/* Link lists ------------------------------------------------------------------ */
.link-list { list-style: none; border-top: 1px solid var(--line); }
.link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.125rem;
	color: var(--paper);
	transition: color 0.2s, padding 0.3s var(--ease);
}
.link-list small {
	margin-left: 10px;
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dim);
}
.link-list .icon { width: 18px; height: 18px; color: var(--signal); flex: none; transition: transform 0.3s var(--ease); }
.link-list a:hover { color: var(--signal); padding-left: 6px; }
.link-list a:hover .icon { transform: translateX(4px); }
.link-list--big a { padding: 20px 0; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 750; font-stretch: 122%; text-transform: uppercase; line-height: 1; }
.related-services__grid { display: grid; gap: 56px 80px; }
@media (min-width: 900px) { .related-services__grid { grid-template-columns: 1fr 1fr; } }

/* FAQs --------------------------------------------------------------------- */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: 1.1875rem;
	font-weight: 550;
	color: var(--paper);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--signal); transition: transform 0.3s var(--ease); }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq__body { padding: 0 48px 24px 0; color: var(--muted); }
.faq__body p { font-size: 1.0625rem; }

/* Lists ------------------------------------------------------------------------ */
.be-list,
.prose ul.is-style-spec { list-style: none; padding: 0; }
.prose ul.is-style-spec li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); color: var(--paper); margin: 0; }
.prose ul.is-style-spec li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 11px; height: 6px; background: var(--signal); transform: skewX(-38deg); }
.be-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); color: var(--paper); }
.be-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 1.15em;
	width: 11px;
	height: 6px;
	background: var(--signal);
	transform: skewX(-38deg);
}
.be-list--check li::before { background: none; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); top: 1em; }
.credit-list { list-style: none; }
.credit-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.875rem; color: var(--text); }

/* Case study ---------------------------------------------------------------- */
.case-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 64vh;
	padding-top: calc(var(--header) + 64px);
	padding-bottom: clamp(40px, 6vw, 80px);
	isolation: isolate;
	border-bottom: 1px solid var(--line);
}
.case-hero.has-image { min-height: 88vh; min-height: 88svh; }
.case-hero__media { position: absolute; inset: 0; z-index: -1; }
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.case-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 12, 14, 0.6) 0%, rgba(11, 12, 14, 0.1) 35%, rgba(11, 12, 14, 0.92) 100%);
}
.case-hero__inner { position: relative; }
.case-hero__title {
	max-width: 14ch;
	margin-bottom: 24px;
	font-size: clamp(2.75rem, 7.6vw, 7.5rem);
	font-weight: 800;
	font-stretch: 122%;
	line-height: 0.9;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.case-hero__lead { max-width: 52ch; margin: 0; font-size: clamp(1.125rem, 1.7vw, 1.375rem); color: var(--text); }
.case-story .spec-row__body p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--paper); }
.case-video { aspect-ratio: 16 / 9; margin-bottom: 32px; }
.case-video iframe,
.case-video video { width: 100%; height: 100%; }
.case-video.frame::after { display: none; }
.case-gallery { display: grid; gap: 24px; }
@media (min-width: 760px) {
	.case-gallery { grid-template-columns: repeat(2, 1fr); }
	.case-gallery__item.is-wide { grid-column: span 2; }
}
.case-gallery__item { margin: 0; }
.case-gallery__item img { width: 100%; }
.case-gallery figcaption,
.prose figcaption {
	margin-top: 12px;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--dim);
}
.role-cols { display: grid; gap: 40px; max-width: none; }
@media (min-width: 640px) { .role-cols { grid-template-columns: 1fr 1fr; } }
.role-cols__title { margin-bottom: 12px; font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.outcome p { font-size: clamp(1.375rem, 2.4vw, 2rem) !important; font-weight: 600; font-stretch: 110%; line-height: 1.25; color: var(--paper); }

/* Prose (editor content) -------------------------------------------------------- */
.prose > * { max-width: 760px; }
.prose > .alignwide,
.prose > .wp-block-columns,
.prose > .wp-block-gallery,
.prose > .wp-block-image,
.prose > .wp-block-cover,
.prose > .wp-block-embed,
.prose > .wp-block-video,
.prose > .be-row { max-width: none; }
@media (min-width: 900px) {
	.prose--offset > *,
	.prose--case > :not(.wp-block-image):not(.wp-block-gallery):not(.wp-block-video):not(.wp-block-embed):not(.alignwide):not(.alignfull):not(.wp-block-columns) {
		margin-left: calc((100% - 48px) / 3 + 48px);
	}
}
.prose--case > .wp-block-image,
.prose--case > .wp-block-gallery { margin-block: clamp(32px, 4vw, 56px); }
.prose--article { max-width: 720px; margin: clamp(48px, 6vw, 88px) auto var(--section); }
.prose p,
.prose li { font-size: 1.125rem; line-height: 1.7; color: var(--text); }
.prose > p:first-child.is-style-lead,
.prose .is-style-lead { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.45; color: var(--paper); }
.prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 700; font-stretch: 112%; line-height: 1.1; letter-spacing: -0.01em; }
.prose h3 { margin: 1.8em 0 0.6em; font-size: 1.375rem; font-weight: 650; font-stretch: 110%; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--paper); }
.prose ul:not(.be-list),
.prose ol { padding-left: 1.25em; margin-bottom: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose ul:not(.be-list) li::marker { color: var(--signal); }
.prose blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 28px;
	border-left: 2px solid var(--signal);
}
.prose blockquote p { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; font-stretch: 110%; line-height: 1.3; color: var(--paper); }
.prose blockquote cite { font-family: var(--f-mono); font-size: 0.75rem; font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.prose figure { margin: 2.2em 0; }
.prose img { width: 100%; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.prose--small p { font-size: 1rem; color: var(--muted); }
.prose .wp-block-gallery { gap: 16px; }

/* About page rows (Columns block with class be-row) */
.be-row {
	display: grid !important;
	gap: 16px 48px;
	margin: 0 0 clamp(56px, 7vw, 96px) !important;
	padding-top: 28px;
	border-top: 1px solid var(--line-strong);
}
@media (min-width: 900px) { .be-row { grid-template-columns: minmax(200px, 1fr) 2fr; } }
.be-row > .wp-block-column { flex-basis: auto !important; min-width: 0; }
.be-row h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--f-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.be-row h2::before { content: ""; width: 12px; height: 7px; background: var(--signal); transform: skewX(-38deg); flex: none; }
.be-row p { max-width: 62ch; }
.be-statement,
.prose .is-style-statement {
	margin: 0 0 24px !important;
	font-size: clamp(1.875rem, 3.6vw, 3rem) !important;
	font-weight: 800 !important;
	font-stretch: 122% !important;
	line-height: 1 !important;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--paper);
}

/* Block editor output basics */
.wp-block-button__link {
	display: inline-flex;
	padding: 14px 24px;
	background: var(--brand);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.875rem;
	font-weight: 650;
	font-stretch: 112%;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 0;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.wp-block-button__link:hover { background: var(--brand-hi); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.has-ink-color { color: #0b0c0e; } .has-ink-background-color { background-color: #0b0c0e; }
.has-graphite-color { color: #1a1c20; } .has-graphite-background-color { background-color: #1a1c20; }
.has-paper-color { color: #f2f1ee; } .has-paper-background-color { background-color: #f2f1ee; }
.has-steel-color { color: #a3a6ad; } .has-steel-background-color { background-color: #a3a6ad; }
.has-brand-color { color: var(--brand); } .has-brand-background-color { background-color: var(--brand); }
.has-signal-color { color: var(--signal); } .has-signal-background-color { background-color: var(--signal); }
.has-small-font-size { font-size: 0.9375rem !important; }
.has-large-font-size { font-size: 1.375rem !important; }
.has-x-large-font-size { font-size: 2rem !important; line-height: 1.15; }
.aligncenter { margin-inline: auto; text-align: center; }

/* Start a Project ------------------------------------------------------------- */
.start { padding-top: clamp(48px, 7vw, 104px); padding-bottom: var(--section); }
.start__inner { display: grid; gap: 56px; }
@media (min-width: 1024px) {
	.start__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
	.start__intro { position: sticky; top: calc(var(--header) + 40px); align-self: start; }
}
.start .page-hero__title { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.start__steps { list-style: none; margin: 40px 0; border-top: 1px solid var(--line); }
.start__steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.start__steps span { flex: none; font-family: var(--f-mono); font-size: 0.75rem; color: var(--signal); padding-top: 4px; }
.start__direct { margin-top: 40px; }

.contact-list { list-style: none; display: grid; gap: 4px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--paper); transition: color 0.2s; }
.contact-list a:hover { color: var(--signal); }
.contact-list .icon { width: 20px; height: 20px; color: var(--signal); }
.contact-list--big a { font-size: 1.25rem; font-stretch: 108%; }

/* Form */
.project-form,
.form-success {
	padding: clamp(24px, 4vw, 48px);
	background: var(--char);
	border: 1px solid var(--line);
}
.form-step { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
.form-step legend {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin-bottom: 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 1.125rem;
	font-weight: 700;
	font-stretch: 118%;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--paper);
}
.form-step legend .label__idx { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.form-grid .field { margin-bottom: 0; }
.form-grid + .field { margin-top: 20px; }
.field label,
.field__label { display: block; margin: 0 0 8px; font-size: 0.9375rem; font-weight: 550; color: var(--paper); }
.field__hint { margin: -4px 0 10px; font-size: 0.875rem; color: var(--muted); }
.req { color: var(--signal); }
.opt { margin-left: 6px; font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.project-form input[type="text"],
.project-form input[type="email"],
.project-form input[type="tel"],
.project-form select,
.project-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	background: var(--ink);
	border: 1px solid var(--line-strong);
	border-radius: 0;
	color: var(--paper);
	font: 400 1rem/1.4 var(--f-sans);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.project-form textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.project-form input:hover,
.project-form select:hover,
.project-form textarea:hover { border-color: rgba(242, 241, 238, 0.4); }
.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
	outline: none;
	border-color: var(--signal);
	box-shadow: 0 0 0 3px rgba(138, 174, 242, 0.22);
}
.project-form [aria-invalid="true"] { border-color: var(--danger) !important; }
.field__error { margin: 8px 0 0; font-size: 0.875rem; color: var(--danger); }
.field__error::before { content: "! "; font-family: var(--f-mono); }

.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice-grid[aria-invalid="true"] .choice span { border-color: rgba(255, 138, 128, 0.5); }
.choice { position: relative; display: block; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	padding: 14px 14px;
	border: 1px solid var(--line-strong);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--text);
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.choice span::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border: 1px solid var(--line-strong);
	transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.choice:hover span { border-color: rgba(242, 241, 238, 0.45); color: var(--paper); }
.choice input:checked + span { border-color: var(--signal); background: rgba(36, 71, 133, 0.22); color: var(--paper); }
.choice input:checked + span::before { background: var(--signal); border-color: var(--signal); box-shadow: inset 0 0 0 3px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.dropzone {
	position: relative;
	display: grid !important;
	grid-template-columns: auto 1fr;
	gap: 2px 16px;
	align-items: center;
	padding: 20px;
	border: 1px dashed var(--line-strong);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
	font-weight: 400 !important;
}
.dropzone .icon { grid-row: span 2; color: var(--signal); }
.dropzone__text { color: var(--paper); font-weight: 550; overflow-wrap: anywhere; }
.dropzone__hint { font-size: 0.8125rem; color: var(--dim); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:hover,
.dropzone.is-dragover { border-color: var(--signal); background: rgba(36, 71, 133, 0.12); }
.dropzone:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }
.dropzone.has-file { border-style: solid; border-color: var(--signal); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.9375rem; color: var(--text); }
.check input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	border: 1px solid var(--line-strong);
	background: var(--ink);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.check input:checked { background: var(--signal); border-color: var(--signal); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-1px) rotate(-45deg); }
.check input[aria-invalid="true"] { border-color: var(--danger); }
.check a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }

.form-foot { display: grid; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-foot .btn { justify-self: start; }
@media (max-width: 639px) { .form-foot .btn { width: 100%; justify-content: space-between; } }
.form-foot.is-sending .btn { opacity: 0.6; pointer-events: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 32px; padding: 16px 20px; border-left: 3px solid var(--danger); background: rgba(255, 138, 128, 0.08); color: var(--paper); }
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 6px; color: var(--text); }
.form-success { border-color: var(--signal); }
.form-success__icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--signal); }
.form-success h2 { margin-bottom: 16px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-stretch: 118%; font-weight: 750; line-height: 1.05; }
.form-success p { max-width: 54ch; margin-bottom: 28px; color: var(--text); }

/* Contact page ----------------------------------------------------------------- */
.contact-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.contact-card { padding: clamp(24px, 3vw, 40px); background: var(--ink); }
.contact-card--primary { background: var(--graphite); }
.contact-card__title { max-width: 16ch; margin-bottom: 16px; font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 700; font-stretch: 116%; line-height: 1.05; }
.contact-card p { color: var(--muted); }
.contact-card address { margin-bottom: 16px; font-style: normal; color: var(--paper); }

/* Insights ------------------------------------------------------------------- */
.post-grid { display: grid; gap: 56px 32px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card__link { display: block; }
.post-card__media { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.post-card .label { margin-bottom: 10px; }
.post-card__title { margin-bottom: 10px; font-size: 1.375rem; font-weight: 650; font-stretch: 110%; line-height: 1.15; transition: color 0.2s; }
.post-card__link:hover .post-card__title { color: var(--signal); }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: 0.975rem; }

.article__head { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.article__title { max-width: 20ch; margin-bottom: 24px; font-size: clamp(2.25rem, 5.2vw, 4.5rem); font-weight: 750; font-stretch: 116%; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.article__meta { margin: 0; }
.article__meta::before { display: none; }
.article__meta span + span::before { content: "/"; margin-right: 12px; color: var(--dim); }
.article__cover { margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 16 / 9; padding: 0; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	font-family: var(--f-mono);
	font-size: 0.8125rem;
}
.pagination .page-numbers.current { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pagination a.page-numbers:hover { border-color: var(--paper); }

/* Footer -------------------------------------------------------------------- */
.site-footer {
	padding-top: clamp(72px, 9vw, 128px);
	padding-bottom: 32px;
	background: var(--ink);
	border-top: 1px solid var(--line);
	overflow: hidden;
}
.site-footer__top { display: grid; gap: 56px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.4fr 1fr; } }
.logo--footer .logo__img { height: 38px; margin-bottom: 32px; }
.site-footer__tagline { max-width: 14ch; margin-bottom: 16px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; font-stretch: 122%; line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; color: var(--paper); }
.site-footer__support { margin: 0; font-family: var(--f-mono); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: var(--text); transition: color 0.2s; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--signal); }
.site-footer__wordmark {
	margin: clamp(56px, 8vw, 112px) 0 24px;
	user-select: none;
}
.site-footer__wordmark svg { width: 100%; height: auto; overflow: visible; }
.site-footer__wordmark text {
	font-family: var(--f-sans);
	font-weight: 900;
	font-stretch: 125%;
	fill: transparent;
	stroke: rgba(242, 241, 238, 0.18);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	color: var(--dim);
}
.site-footer__bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a:hover { color: var(--paper); }

/* Consent ----------------------------------------------------------------- */
.consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	display: grid;
	gap: 16px;
	max-width: 520px;
	padding: 20px;
	background: var(--graphite);
	border: 1px solid var(--line-strong);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
	font-size: 0.9375rem;
}
.consent p { margin: 0; }
.consent a { color: var(--signal); text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Reveal on scroll (only when JS is running) -------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Small screens --------------------------------------------------------------- */
@media (max-width: 639px) {
	.actions .btn { flex: 1 1 100%; justify-content: space-between; }
	.hero__title { max-width: none; font-size: 9.6vw; font-stretch: 120%; }
	.filters__count { margin-left: 0; width: 100%; }
	.site-footer__cols { grid-template-columns: 1fr; }
}
