/*
Theme Name: Symmetrix R&D
Theme URI: https://symmetrix.hu
Author: Symmetrix Development
Author URI: https://symmetrix.hu
Description: A custom high-technology WordPress theme for Symmetrix industrial software and hardware R&D.
Version: 1.1.1
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: symmetrix-rd
*/

:root {
	--signal: #ff2d45;
	--signal-soft: #ff596c;
	--void: #070b10;
	--carbon: #0b1118;
	--carbon-2: #101820;
	--panel: #111a23;
	--ice: #f7fafc;
	--white: #ffffff;
	--steel: #9ca8b5;
	--steel-light: #c7d0d9;
	--line: rgba(186, 201, 216, 0.16);
	--line-strong: rgba(186, 201, 216, 0.28);
	--display: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
	--body: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
	--mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
	--shell: 1440px;
	--header-height: 88px;
	--radius: 4px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
	background: var(--void);
}

body {
	margin: 0;
	background: var(--void);
	color: var(--ice);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

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

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

a {
	color: inherit;
	text-decoration: none;
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	font-family: var(--display);
	font-weight: 360;
	letter-spacing: -0.035em;
}

.shell {
	width: min(100% - 48px, 1080px);
	margin-inline: auto;
}

.shell--wide {
	width: min(100% - 64px, var(--shell));
}

.shell--prose {
	max-width: 780px;
}

.section-shell {
	padding-block: clamp(96px, 12vw, 180px);
}

.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;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	margin: 0;
	overflow: visible;
	clip: auto;
	background: var(--ice);
	color: var(--void);
}

.eyebrow {
	margin-bottom: 16px;
	color: var(--signal);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	line-height: 1.3;
	text-transform: uppercase;
}

.signal-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--signal);
	box-shadow: 0 0 0 6px rgba(255, 45, 69, 0.1), 0 0 18px rgba(255, 45, 69, 0.42);
	animation: signal-pulse 2.6s ease-in-out infinite;
}

@keyframes signal-pulse {
	50% { box-shadow: 0 0 0 9px rgba(255, 45, 69, 0.03), 0 0 28px rgba(255, 45, 69, 0.62); }
}

.button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.button:hover {
	transform: translateY(-2px);
}

.button svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: square;
	stroke-width: 1.5;
}

.button--primary {
	background: var(--signal);
	color: var(--white);
}

.button--primary:hover {
	background: var(--signal-soft);
}

.button--outline {
	border-color: var(--line-strong);
	color: var(--ice);
}

.button--outline:hover {
	border-color: var(--signal);
	background: rgba(255, 45, 69, 0.08);
}

.text-link,
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
	transition: color 180ms ease, gap 220ms var(--ease);
}

.text-link:hover,
.card-link:hover {
	gap: 18px;
	color: var(--signal-soft);
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	height: var(--header-height);
	border-bottom: 1px solid transparent;
	transition: background 220ms ease, border-color 220ms ease, height 220ms var(--ease);
}

.site-header.is-scrolled,
body:not(.is-landing-page) .site-header {
	border-bottom-color: var(--line);
	background: rgba(7, 11, 16, 0.86);
	backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
	height: 72px;
}

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

.site-brand {
	position: relative;
	z-index: 1002;
	display: block;
	width: clamp(190px, 18vw, 246px);
}

.site-brand img {
	width: 100%;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(28px, 3.5vw, 58px);
}

.site-nav__list,
.site-nav .menu {
	display: flex;
	align-items: center;
	gap: clamp(24px, 2.5vw, 42px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav__list a,
.site-nav .menu a {
	position: relative;
	display: block;
	padding-block: 10px;
	color: var(--steel-light);
	font-size: 13px;
	font-weight: 520;
	letter-spacing: 0.025em;
}

.site-nav__list a::after,
.site-nav .menu a::after {
	position: absolute;
	right: 0;
	bottom: 4px;
	left: 0;
	height: 1px;
	background: var(--signal);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 240ms var(--ease);
}

.site-nav__list a:hover,
.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--white);
}

.site-nav__list a:hover::after,
.site-nav .menu a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-nav__contact {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	gap: 16px;
	padding: 9px 14px 9px 18px;
	border: 1px solid var(--line-strong);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: background 180ms ease, border-color 180ms ease;
}

.site-nav__contact:hover {
	border-color: var(--signal);
	background: var(--signal);
}

.site-nav__contact svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.nav-toggle {
	position: relative;
	z-index: 1002;
	display: none;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: var(--ice);
	cursor: pointer;
}

.nav-toggle__label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nav-toggle__icon {
	position: relative;
	display: block;
	width: 24px;
	height: 16px;
}

.nav-toggle__icon i {
	position: absolute;
	right: 0;
	display: block;
	width: 24px;
	height: 1px;
	background: currentColor;
	transition: top 180ms ease, transform 180ms ease;
}

.nav-toggle__icon i:first-child { top: 4px; }
.nav-toggle__icon i:last-child { top: 11px; width: 17px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { top: 8px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child { top: 8px; width: 24px; transform: rotate(-45deg); }

/* Hero */
.hero {
	display: grid;
	min-height: max(760px, 100svh);
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.72fr);
	align-items: center;
	gap: clamp(56px, 7vw, 118px);
	padding-top: calc(var(--header-height) + 54px);
	padding-bottom: 58px;
}

.hero__copy {
	position: relative;
	z-index: 1;
	padding-top: 30px;
}

.hero__signal {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: clamp(34px, 5vw, 70px);
	color: var(--steel);
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero__signal-code {
	padding-left: 14px;
	margin-left: auto;
	border-left: 1px solid var(--line);
	color: rgba(199, 208, 217, 0.55);
}

.hero h1 {
	max-width: 900px;
	margin-bottom: 34px;
	font-size: clamp(64px, 7.2vw, 124px);
	font-weight: 310;
	letter-spacing: -0.065em;
	line-height: 0.89;
}

.hero h1 em {
	display: block;
	color: var(--signal);
	font-style: normal;
	font-weight: 280;
}

.hero__lede {
	max-width: 610px;
	margin-bottom: 36px;
	color: var(--steel-light);
	font-size: clamp(18px, 1.55vw, 23px);
	font-weight: 350;
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-bottom: clamp(52px, 6vw, 86px);
}

.hero__capabilities {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.hero__capabilities li {
	min-width: 0;
	padding: 16px 12px 0 0;
	color: var(--steel);
	font-size: 11px;
	line-height: 1.4;
}

.hero__capabilities li + li {
	padding-left: 12px;
	border-left: 1px solid var(--line);
}

.hero__capabilities span {
	display: block;
	margin-bottom: 8px;
	color: var(--signal);
	font-family: var(--mono);
	font-size: 9px;
}

.hero__visual {
	position: relative;
	min-height: 620px;
	align-self: stretch;
	overflow: hidden;
	border-right: 1px solid var(--line-strong);
	border-left: 1px solid var(--line-strong);
	background: #0e151c;
	isolation: isolate;
}

.hero__visual::before {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(7, 11, 16, 0.46), transparent 26%, transparent 72%, rgba(7, 11, 16, 0.8));
	content: "";
	pointer-events: none;
}

.hero__visual img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(90%, 720px);
	height: auto;
	filter: contrast(1.24) brightness(0.9);
	opacity: 0.78;
	transform: translate(-50%, -50%) scale(1.06);
	transition: transform 1.1s var(--ease), opacity 1.1s ease;
}

.hero__visual:hover img {
	opacity: 0.9;
	transform: translate(-50%, -50%) scale(1.1) rotate(0.6deg);
}

.hero__visual-grid {
	position: absolute;
	inset: 0;
	z-index: 3;
	background-image: linear-gradient(rgba(223, 234, 244, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(223, 234, 244, 0.055) 1px, transparent 1px);
	background-size: 56px 56px;
	pointer-events: none;
}

.hero__visual-tag {
	position: absolute;
	z-index: 4;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	background: rgba(7, 11, 16, 0.78);
	backdrop-filter: blur(10px);
	font-family: var(--mono);
	text-transform: uppercase;
}

.hero__visual-tag span {
	display: block;
	margin-bottom: 4px;
	color: var(--steel);
	font-size: 8px;
	letter-spacing: 0.15em;
}

.hero__visual-tag strong {
	color: var(--ice);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.hero__visual-tag--top { top: 52px; left: 28px; }
.hero__visual-tag--bottom { right: 28px; bottom: 52px; }
.hero__visual-tag--bottom strong { color: var(--signal); }

.hero__reticle {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 45, 69, 0.76);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.hero__reticle::before,
.hero__reticle::after {
	position: absolute;
	top: 50%;
	left: 50%;
	background: rgba(255, 45, 69, 0.72);
	content: "";
	transform: translate(-50%, -50%);
}

.hero__reticle::before { width: 94px; height: 1px; }
.hero__reticle::after { width: 1px; height: 94px; }
.hero__reticle span { position: absolute; inset: 8px; border: 1px dashed rgba(255, 45, 69, 0.36); border-radius: 50%; }

.hero__visual-axis {
	position: absolute;
	right: -54px;
	top: 50%;
	z-index: 4;
	margin: 0;
	color: rgba(199, 208, 217, 0.48);
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.14em;
	transform: rotate(90deg);
}

/* Section headings */
.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.65fr);
	align-items: end;
	gap: 40px;
	margin-bottom: clamp(48px, 6vw, 84px);
}

.section-heading h2 {
	max-width: 920px;
	margin-bottom: 0;
	font-size: clamp(44px, 5.8vw, 86px);
	line-height: 0.98;
}

.section-heading > .text-link {
	justify-self: end;
	margin-bottom: 10px;
}

/* News */
.news-section {
	position: relative;
	border-top: 1px solid var(--line);
	background: var(--ice);
	color: var(--carbon);
}

.news-section::before {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(11, 17, 24, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 17, 24, 0.035) 1px, transparent 1px);
	background-size: 80px 80px;
	content: "";
	pointer-events: none;
}

.news-section > .shell {
	position: relative;
}

.news-section .text-link {
	color: var(--carbon);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(11, 17, 24, 0.14);
	background: rgba(11, 17, 24, 0.14);
}

.news-card {
	padding: 16px 16px 30px;
	background: var(--ice);
}

.news-card__media,
.journal-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	margin-bottom: 24px;
	overflow: hidden;
	background: #dbe2e8;
}

.news-card__media img,
.journal-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.25);
	transition: filter 300ms ease, transform 600ms var(--ease);
}

.news-card:hover .news-card__media img,
.journal-card:hover .journal-card__media img {
	filter: grayscale(0);
	transform: scale(1.035);
}

.news-card__placeholder {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 50%, rgba(255, 45, 69, 0.19) 0 3px, transparent 4px), linear-gradient(rgba(11, 17, 24, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 17, 24, 0.08) 1px, transparent 1px);
	background-size: auto, 28px 28px, 28px 28px;
}

.news-card__placeholder::before,
.news-card__placeholder::after,
.news-card__placeholder i {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px solid rgba(11, 17, 24, 0.18);
	border-radius: 50%;
	content: "";
	transform: translate(-50%, -50%);
}

.news-card__placeholder::before { width: 38%; aspect-ratio: 1; }
.news-card__placeholder::after { width: 66%; aspect-ratio: 1; }
.news-card__placeholder i { width: 88%; aspect-ratio: 1; }

.news-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	color: #66727e;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.news-card h3 {
	margin-bottom: 14px;
	font-size: clamp(24px, 2.2vw, 34px);
	line-height: 1.1;
}

.news-card h3 a:hover,
.journal-card h2 a:hover {
	color: var(--signal);
}

.news-card > p,
.journal-card > p {
	margin-bottom: 28px;
	color: #56616c;
	font-size: 14px;
	line-height: 1.7;
}

.news-empty {
	display: grid;
	min-height: 300px;
	grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 8vw, 130px);
	padding: clamp(32px, 5vw, 72px);
	border: 1px solid rgba(11, 17, 24, 0.14);
}

.news-empty__scope {
	position: relative;
	width: min(100%, 220px);
	aspect-ratio: 1;
	border: 1px solid rgba(11, 17, 24, 0.16);
	border-radius: 50%;
}

.news-empty__scope::before,
.news-empty__scope::after,
.news-empty__scope span,
.news-empty__scope i {
	position: absolute;
	top: 50%;
	left: 50%;
	content: "";
	transform: translate(-50%, -50%);
}

.news-empty__scope::before { width: 68%; height: 1px; background: rgba(11, 17, 24, 0.16); }
.news-empty__scope::after { width: 1px; height: 68%; background: rgba(11, 17, 24, 0.16); }
.news-empty__scope span { width: 34%; aspect-ratio: 1; border: 1px solid var(--signal); border-radius: 50%; }
.news-empty__scope i { width: 4px; height: 4px; border-radius: 50%; background: var(--signal); }

.news-empty h3,
.news-empty h2 {
	margin-bottom: 14px;
	font-size: clamp(32px, 4vw, 62px);
	line-height: 1.02;
}

.news-empty p:last-child {
	max-width: 620px;
	margin-bottom: 0;
	color: #65717c;
}

/* Case carousel */
.cases-section {
	overflow: hidden;
	background: var(--carbon);
}

.section-heading--cases {
	margin-bottom: 52px;
}

.carousel-controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.carousel-controls button {
	width: 50px;
	height: 50px;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--ice);
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.carousel-controls button:hover {
	border-color: var(--signal);
	background: var(--signal);
}

.carousel-controls button:disabled {
	border-color: var(--line);
	background: transparent;
	color: rgba(230, 237, 243, 0.28);
	cursor: default;
}

body.nav-is-open {
	overflow: hidden;
}

.case-rail {
	display: grid;
	grid-auto-columns: minmax(360px, min(58vw, 860px));
	grid-auto-flow: column;
	gap: 18px;
	padding: 0 max(32px, calc((100vw - var(--shell)) / 2)) 24px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-padding-inline: max(32px, calc((100vw - var(--shell)) / 2));
	scroll-snap-type: inline mandatory;
	scrollbar-color: var(--signal) rgba(255, 255, 255, 0.07);
	scrollbar-width: thin;
}

.case-rail::-webkit-scrollbar { height: 4px; }
.case-rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.06); }
.case-rail::-webkit-scrollbar-thumb { background: var(--signal); }

.case-card {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	min-height: 560px;
	border: 1px solid var(--line);
	background: var(--void);
	scroll-snap-align: start;
}

.case-card__media {
	position: relative;
	display: block;
	min-height: 100%;
	overflow: hidden;
	background: #151c23;
}

.case-card__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 11, 16, 0.1), rgba(7, 11, 16, 0.42));
	content: "";
	pointer-events: none;
}

.case-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.72) contrast(1.08);
	transition: filter 320ms ease, transform 800ms var(--ease);
}

.case-card:hover .case-card__image {
	filter: saturate(0.95) contrast(1.02);
	transform: scale(1.035);
}

.case-card__number {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 2;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.36);
	background: rgba(7, 11, 16, 0.45);
	backdrop-filter: blur(8px);
	font-family: var(--mono);
	font-size: 9px;
}

.case-card__open {
	position: absolute;
	right: 22px;
	top: 22px;
	z-index: 2;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	background: var(--signal);
	font-size: 18px;
}

.case-card__body {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3.6vw, 54px);
}

.case-card__industry {
	margin-bottom: 32px;
	color: var(--signal);
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.case-card h3 {
	margin-bottom: 22px;
	font-size: clamp(30px, 3.4vw, 54px);
	line-height: 1.02;
}

.case-card h3 a:hover {
	color: var(--signal-soft);
}

.case-card__body > p:not(.case-card__industry) {
	margin-bottom: 36px;
	color: var(--steel);
	font-size: 14px;
	line-height: 1.7;
}

.case-card__client {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 18px;
	padding-top: 20px;
	margin-top: auto;
	border-top: 1px solid var(--line);
}

.case-card__client span {
	color: var(--steel);
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.case-card__client strong {
	font-size: 12px;
	font-weight: 500;
}

.cases-section__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding-top: 48px;
}

.cases-section__footer p {
	margin: 0;
	color: var(--steel);
	font-size: 14px;
}

/* Footer */
.site-footer {
	position: relative;
	border-top: 1px solid var(--line);
	background: var(--void);
}

.site-footer__cta {
	padding-block: clamp(90px, 11vw, 160px);
	border-bottom: 1px solid var(--line);
}

.site-footer__cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	align-items: end;
	gap: clamp(40px, 8vw, 130px);
}

.site-footer__cta h2 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(52px, 7vw, 108px);
	line-height: 0.94;
}

.contact-orbit {
	position: relative;
	display: flex;
	min-height: 180px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--ice);
	font-size: 15px;
	font-weight: 500;
	transition: border-color 220ms ease, background 220ms ease, transform 280ms var(--ease);
}

.contact-orbit::before {
	position: absolute;
	inset: 9px;
	border: 1px dashed rgba(255, 45, 69, 0.3);
	border-radius: inherit;
	content: "";
}

.contact-orbit:hover {
	border-color: var(--signal);
	background: rgba(255, 45, 69, 0.08);
	transform: rotate(-1.5deg) scale(1.015);
}

.contact-orbit svg {
	position: absolute;
	right: 30px;
	top: 24px;
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--signal);
	stroke-width: 1.4;
}

.site-footer__base {
	display: grid;
	grid-template-columns: 1.45fr repeat(3, minmax(150px, 0.55fr));
	gap: clamp(34px, 5vw, 84px);
	padding-block: 70px;
}

.site-footer__brand img {
	width: min(260px, 100%);
	margin-bottom: 24px;
}

.site-footer__brand p {
	max-width: 360px;
	margin: 0;
	color: var(--steel);
	font-size: 13px;
}

.site-footer__label {
	margin-bottom: 20px;
	color: var(--steel);
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.site-footer__column ul,
.site-footer__menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

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

.site-footer__column li,
.site-footer__column a,
.site-footer__address p {
	color: var(--steel-light);
	font-size: 12px;
}

.site-footer__column a:hover {
	color: var(--signal-soft);
}

.site-footer__address p {
	margin-bottom: 14px;
}

.site-footer__legal {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-block: 22px;
	border-top: 1px solid var(--line);
}

.site-footer__legal p {
	margin: 0;
	color: rgba(156, 168, 181, 0.6);
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Shared inner page */
.page-hero {
	display: grid;
	min-height: 700px;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	align-items: end;
	gap: clamp(50px, 9vw, 150px);
	padding-top: calc(var(--header-height) + 100px);
	padding-bottom: clamp(70px, 9vw, 130px);
	border-bottom: 1px solid var(--line);
}

.page-hero h1 {
	max-width: 1020px;
	margin: 0;
	font-size: clamp(62px, 8vw, 132px);
	line-height: 0.92;
}

.page-hero__lede {
	margin: 0 0 12px;
	color: var(--steel-light);
	font-size: clamp(18px, 1.5vw, 23px);
	font-weight: 350;
	line-height: 1.55;
}

.page-hero--compact {
	min-height: 480px;
	grid-template-columns: 1fr;
}

.page-hero--compact h1 {
	font-size: clamp(58px, 7vw, 104px);
}

.prose {
	color: var(--steel-light);
}

.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose p,
.prose li {
	font-size: 18px;
	line-height: 1.78;
}

.prose p { margin-bottom: 1.5em; }
.prose a { color: var(--signal-soft); text-decoration: underline; text-underline-offset: 3px; }

.prose h2,
.prose h3 {
	color: var(--ice);
	line-height: 1.08;
}

.prose h2 {
	margin-top: 2.2em;
	margin-bottom: 0.65em;
	font-size: clamp(34px, 4vw, 56px);
}

.prose h3 {
	margin-top: 2em;
	font-size: 30px;
}

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

.prose li { padding-left: 0.45em; margin-bottom: 0.55em; }
.prose li::marker { color: var(--signal); }
.prose blockquote { padding-left: 24px; margin: 2.5em 0; border-left: 2px solid var(--signal); color: var(--ice); }
.prose img { height: auto; margin-block: 2.5em; }
.prose--large p { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.55; }

.content-page .prose {
	padding-block: clamp(70px, 10vw, 140px);
}

/* About */
.about-intro {
	display: grid;
	grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
	gap: clamp(50px, 9vw, 150px);
	padding-block: clamp(90px, 12vw, 180px);
}

.about-intro__index {
	color: var(--signal);
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.about-capabilities {
	border-block: 1px solid var(--line);
	background: var(--carbon);
}

.capability-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--line);
}

.capability-grid article {
	min-height: 330px;
	padding: clamp(26px, 3.5vw, 48px);
}

.capability-grid article + article {
	border-left: 1px solid var(--line);
}

.capability-grid article > span {
	display: block;
	margin-bottom: clamp(70px, 8vw, 120px);
	color: var(--signal);
	font-family: var(--mono);
	font-size: 9px;
}

.capability-grid h3 {
	margin-bottom: 14px;
	font-size: 30px;
}

.capability-grid p {
	margin: 0;
	color: var(--steel);
	font-size: 13px;
	line-height: 1.65;
}

.about-stack {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
	gap: clamp(50px, 9vw, 150px);
	align-items: center;
	padding-block: clamp(100px, 13vw, 190px);
}

.about-stack__visual {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--carbon-2);
}

.about-stack__visual::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 16, 0.86));
	content: "";
}

.about-stack__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.7) contrast(1.06);
}

.about-stack__visual > span {
	position: absolute;
	right: 24px;
	bottom: 22px;
	left: 24px;
	z-index: 1;
	color: var(--ice);
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.about-stack__copy h2 {
	margin-bottom: 44px;
	font-size: clamp(46px, 5vw, 74px);
	line-height: 0.98;
}

.about-stack__copy ul {
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.about-stack__copy li {
	display: grid;
	grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1fr);
	gap: 24px;
	padding-block: 20px;
	border-bottom: 1px solid var(--line);
}

.about-stack__copy li span { font-size: 14px; font-weight: 600; }
.about-stack__copy li small { color: var(--steel); font-size: 12px; }

/* Contact */
.contact-hero {
	display: grid;
	min-height: max(720px, 100svh);
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
	align-items: center;
	gap: clamp(50px, 9vw, 150px);
	padding-top: calc(var(--header-height) + 70px);
	padding-bottom: 70px;
}

.contact-hero h1 {
	max-width: 900px;
	margin-bottom: 36px;
	font-size: clamp(64px, 8vw, 124px);
	line-height: 0.91;
}

.contact-hero__copy .prose {
	max-width: 640px;
}

.contact-panel {
	position: relative;
	display: flex;
	min-height: 520px;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(28px, 4vw, 54px);
	border: 1px solid var(--line-strong);
	background: var(--carbon);
	overflow: hidden;
	transition: border-color 220ms ease, transform 300ms var(--ease);
}

.contact-panel::before {
	position: absolute;
	width: 420px;
	height: 420px;
	right: -180px;
	top: -180px;
	border: 1px solid rgba(255, 45, 69, 0.2);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(255, 45, 69, 0.025), 0 0 0 120px rgba(255, 45, 69, 0.015);
	content: "";
}

.contact-panel:hover {
	border-color: var(--signal);
	transform: translateY(-5px);
}

.contact-panel__label,
.contact-panel__action {
	position: relative;
	z-index: 1;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-panel__label { color: var(--signal); }
.contact-panel strong { position: relative; z-index: 1; font-family: var(--display); font-size: clamp(30px, 3.6vw, 58px); font-weight: 330; line-height: 1.08; }
.contact-panel__action { display: flex; justify-content: space-between; color: var(--steel-light); }
.contact-panel__action i { color: var(--signal); font-size: 18px; font-style: normal; }

.contact-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid var(--line);
	margin-bottom: clamp(100px, 13vw, 180px);
}

.contact-details > div {
	min-height: 270px;
	padding: clamp(26px, 3.5vw, 48px);
}

.contact-details > div + div { border-left: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 60px; color: var(--signal); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-details strong { display: block; margin-bottom: 15px; font-size: 22px; }
.contact-details p { margin: 0; color: var(--steel); font-size: 13px; line-height: 1.65; }

/* Archive and case study */
.archive-cases__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	padding-block: clamp(80px, 10vw, 150px);
	background: var(--line);
}

.case-tile {
	display: grid;
	grid-template-rows: auto 1fr;
	background: var(--void);
}

.case-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--carbon);
}

.case-tile__image { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72); transition: transform 700ms var(--ease), filter 280ms ease; }
.case-tile:hover .case-tile__image { transform: scale(1.035); filter: saturate(1); }
.case-tile__number { position: absolute; top: 20px; left: 20px; padding: 8px 10px; background: rgba(7, 11, 16, 0.74); font-family: var(--mono); font-size: 9px; }
.case-tile__body { padding: clamp(28px, 4vw, 56px); }
.case-tile__body h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; }
.case-tile__body > p:not(.eyebrow) { max-width: 560px; margin-bottom: 30px; color: var(--steel); font-size: 14px; }

.navigation.pagination { width: min(100% - 64px, var(--shell)); margin: 0 auto 100px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; }
.nav-links .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; }
.nav-links .current, .nav-links a:hover { border-color: var(--signal); background: var(--signal); }

.single-case__header,
.single-post__header {
	padding-top: calc(var(--header-height) + 100px);
	padding-bottom: clamp(60px, 8vw, 110px);
}

.back-link {
	display: inline-block;
	margin-bottom: clamp(70px, 9vw, 120px);
	color: var(--steel);
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.back-link:hover { color: var(--signal-soft); }

.single-case__title-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
	align-items: end;
	gap: clamp(50px, 9vw, 150px);
}

.single-case h1,
.single-post h1 {
	margin: 0;
	font-size: clamp(60px, 8vw, 126px);
	line-height: 0.92;
}

.single-case__excerpt,
.single-post__excerpt {
	margin: 0 0 12px;
	color: var(--steel-light);
	font-size: clamp(18px, 1.6vw, 24px);
	font-weight: 350;
	line-height: 1.55;
}

.single-case__visual {
	position: relative;
	height: min(72vw, 860px);
	min-height: 520px;
	overflow: hidden;
	background: var(--carbon);
}

.single-case__image { width: 100%; height: 100%; object-fit: cover; }
.single-case__visual-label { position: absolute; right: 24px; bottom: 22px; padding: 9px 11px; background: rgba(7, 11, 16, 0.74); font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; }

.single-case__content {
	display: grid;
	grid-template-columns: minmax(240px, 0.35fr) minmax(0, 0.65fr);
	gap: clamp(60px, 10vw, 170px);
	padding-block: clamp(90px, 12vw, 180px);
}

.project-facts { border-top: 1px solid var(--line); }
.project-facts div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.project-facts span { display: block; margin-bottom: 9px; color: var(--steel); font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; }
.project-facts strong { display: block; font-size: 13px; font-weight: 520; line-height: 1.5; }

/* Journal */
.journal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	padding-block: clamp(80px, 10vw, 150px);
	background: var(--line);
}

.journal-card { padding: 16px 16px 36px; background: var(--void); }
.journal-card time { display: block; margin-bottom: 16px; color: var(--signal); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.journal-card h2 { margin-bottom: 16px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.journal-card > p { color: var(--steel); }

.single-post__header { max-width: 1180px; }
.single-post__header .eyebrow { margin-bottom: 24px; }
.single-post__excerpt { max-width: 760px; margin-top: 32px; }
.single-post__image { max-height: 820px; margin-bottom: clamp(70px, 9vw, 130px); overflow: hidden; }
.single-post__image img { width: 100%; height: min(65vw, 820px); object-fit: cover; }
.single-post > .prose { padding-bottom: clamp(100px, 12vw, 180px); }

/* Error */
.error-page {
	display: flex;
	min-height: 100svh;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-top: var(--header-height);
}

.error-page__code { color: var(--signal); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; }
.error-page h1 { max-width: 1050px; margin-bottom: 28px; font-size: clamp(58px, 8vw, 118px); line-height: 0.94; }
.error-page > p:not(.error-page__code) { max-width: 560px; margin-bottom: 34px; color: var(--steel); }

/* WordPress utilities */
.alignwide { width: min(100%, 1080px); margin-right: auto; margin-left: auto; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wp-caption-text { color: var(--steel); font-size: 12px; }
.sticky { position: relative; }
.bypostauthor { position: relative; }
.gallery-caption { color: var(--steel); }

@media (max-width: 1180px) {
	.hero { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr); gap: 52px; }
	.hero h1 { font-size: clamp(62px, 7.8vw, 98px); }
	.hero__capabilities { grid-template-columns: repeat(2, 1fr); }
	.hero__capabilities li:nth-child(3) { padding-top: 16px; padding-left: 0; margin-top: 14px; border-top: 1px solid var(--line); border-left: 0; }
	.hero__capabilities li:nth-child(4) { padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--line); }
	.case-card { grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr); }
	.site-footer__base { grid-template-columns: 1.2fr repeat(3, 0.6fr); gap: 38px; }
}

@media (max-width: 960px) {
	:root { --header-height: 76px; }
	.shell--wide, .shell { width: min(100% - 40px, var(--shell)); }
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		inset: 0;
		display: flex;
		visibility: hidden;
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 48px;
		padding: 110px 20px 48px;
		background: rgba(7, 11, 16, 0.98);
		opacity: 0;
		transform: translateY(-14px);
		transition: opacity 200ms ease, visibility 200ms ease, transform 260ms var(--ease);
	}
	.site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.site-nav__list, .site-nav .menu { width: min(100%, 660px); align-items: stretch; flex-direction: column; gap: 0; margin-inline: auto; }
	.site-nav__list li, .site-nav .menu li { border-bottom: 1px solid var(--line); }
	.site-nav__list a, .site-nav .menu a { padding-block: 16px; font-family: var(--display); font-size: clamp(30px, 6vw, 54px); font-weight: 320; letter-spacing: -0.03em; }
	.site-nav__contact { width: min(100%, 660px); min-height: 54px; justify-content: space-between; margin-inline: auto; }
	.hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 80px); padding-bottom: 80px; }
	.hero__copy { padding-top: 0; }
	.hero__visual { min-height: 720px; grid-row: 2; }
	.hero__signal { margin-bottom: 46px; }
	.hero h1 { max-width: 820px; font-size: clamp(64px, 12.5vw, 112px); }
	.news-grid, .journal-grid { grid-template-columns: 1fr 1fr; }
	.news-card:nth-child(3) { grid-column: 1 / -1; }
	.case-rail { grid-auto-columns: min(82vw, 760px); }
	.case-card { grid-template-columns: 1fr; grid-template-rows: minmax(390px, 1.1fr) auto; }
	.site-footer__cta-grid, .page-hero, .single-case__title-grid { grid-template-columns: 1fr; }
	.contact-orbit { min-height: 160px; }
	.site-footer__base { grid-template-columns: repeat(2, 1fr); }
	.site-footer__brand { grid-column: 1 / -1; }
	.page-hero { min-height: 620px; align-content: end; }
	.page-hero__lede { max-width: 680px; }
	.capability-grid { grid-template-columns: 1fr 1fr; }
	.capability-grid article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
	.capability-grid article:nth-child(4) { border-top: 1px solid var(--line); }
	.about-stack { grid-template-columns: 1fr; }
	.about-stack__visual { aspect-ratio: 16 / 11; }
	.contact-hero { grid-template-columns: 1fr; padding-bottom: 110px; }
	.contact-panel { min-height: 430px; }
	.contact-details { grid-template-columns: 1fr; }
	.contact-details > div + div { border-top: 1px solid var(--line); border-left: 0; }
	.contact-details > div { min-height: 230px; }
	.archive-cases__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.shell--wide, .shell { width: min(100% - 28px, var(--shell)); }
	.section-shell { padding-block: 84px; }
	.site-brand { width: 188px; }
	.hero { gap: 40px; padding-top: calc(var(--header-height) + 60px); }
	.hero__signal { flex-wrap: wrap; gap: 12px; }
	.hero__signal-code { width: 100%; padding-top: 9px; padding-left: 0; margin-left: 21px; border-top: 1px solid var(--line); border-left: 0; }
	.hero h1 { margin-bottom: 26px; font-size: clamp(52px, 16vw, 82px); }
	.hero__lede { font-size: 18px; }
	.hero__actions { align-items: flex-start; flex-direction: column; gap: 24px; }
	.hero__actions .button { width: 100%; justify-content: space-between; }
	.hero__capabilities { grid-template-columns: 1fr 1fr; }
	.hero__visual { min-height: 530px; }
	.hero__visual img { width: 102%; }
	.hero__visual-tag--top { top: 18px; left: 14px; }
	.hero__visual-tag--bottom { right: 14px; bottom: 18px; }
	.section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
	.section-heading h2 { font-size: clamp(42px, 12vw, 64px); }
	.section-heading > .text-link { justify-self: start; }
	.news-grid, .journal-grid { grid-template-columns: 1fr; }
	.news-card:nth-child(3) { grid-column: auto; }
	.news-empty { min-height: 420px; grid-template-columns: 1fr; gap: 40px; }
	.news-empty__scope { width: 150px; }
	.carousel-controls { justify-content: flex-start; }
	.case-rail { grid-auto-columns: calc(100vw - 42px); padding-inline: 14px; scroll-padding-inline: 14px; }
	.case-card { grid-template-rows: 330px auto; }
	.case-card__body { min-height: 360px; }
	.cases-section__footer { align-items: flex-start; flex-direction: column; }
	.cases-section__footer .button { width: 100%; justify-content: space-between; }
	.site-footer__cta-grid { gap: 50px; }
	.site-footer__cta h2 { font-size: clamp(48px, 14vw, 72px); }
	.contact-orbit { min-height: 130px; }
	.site-footer__base { grid-template-columns: 1fr 1fr; padding-block: 54px; }
	.site-footer__brand, .site-footer__address { grid-column: 1 / -1; }
	.site-footer__legal { align-items: flex-start; flex-direction: column; }
	.page-hero { min-height: 560px; padding-top: calc(var(--header-height) + 70px); padding-bottom: 64px; }
	.page-hero h1 { font-size: clamp(52px, 15vw, 78px); }
	.about-intro { grid-template-columns: 1fr; gap: 32px; }
	.prose--large p { font-size: 22px; }
	.capability-grid { grid-template-columns: 1fr; }
	.capability-grid article + article, .capability-grid article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
	.capability-grid article { min-height: 280px; }
	.capability-grid article > span { margin-bottom: 70px; }
	.about-stack__visual { aspect-ratio: 4 / 5; }
	.about-stack__copy li { grid-template-columns: 1fr; gap: 5px; }
	.contact-hero h1 { font-size: clamp(54px, 15vw, 82px); }
	.contact-panel { min-height: 360px; }
	.archive-cases__grid { padding-block: 70px; }
	.single-case__header, .single-post__header { padding-top: calc(var(--header-height) + 70px); }
	.back-link { margin-bottom: 70px; }
	.single-case h1, .single-post h1 { font-size: clamp(50px, 14.5vw, 78px); }
	.single-case__visual { width: 100%; min-height: 420px; }
	.single-case__content { grid-template-columns: 1fr; gap: 60px; }
	.project-facts { display: grid; grid-template-columns: 1fr 1fr; }
	.project-facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
	.prose p, .prose li { font-size: 16px; }
	.navigation.pagination { width: min(100% - 28px, var(--shell)); }
}

/* Refined editorial content direction: light, calm, and image-led. */
:root {
	--paper: #f5f2ec;
	--mist: #dfecef;
	--petrol: #244b56;
	--ink: #10212a;
	--slate: #5d6c73;
	--paper-line: rgba(16, 33, 42, 0.15);
}

.site-header {
	border-bottom-color: var(--line);
	background: rgba(7, 11, 16, 0.96);
	backdrop-filter: blur(18px);
}

.hero {
	background: var(--paper);
	box-shadow: 0 0 0 100vmax var(--paper);
	clip-path: inset(0 -100vmax);
	color: var(--ink);
}

.hero__signal {
	color: var(--slate);
	font-family: var(--body);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.1em;
}

.hero__lede {
	color: var(--slate);
}

.hero .text-link {
	color: var(--ink);
}

.hero__capabilities {
	border-top-color: var(--paper-line);
}

.hero__capabilities li {
	color: var(--slate);
	font-size: 12px;
}

.hero__capabilities li + li {
	border-left-color: var(--paper-line);
}

.hero__capabilities span {
	display: none;
}

.hero__visual {
	position: relative;
	min-height: 620px;
	align-self: stretch;
	overflow: hidden;
	margin: 0;
	background: var(--petrol);
	isolation: isolate;
}

.hero__visual::before {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, transparent 48%, rgba(7, 11, 16, 0.75));
	content: "";
	pointer-events: none;
}

.hero__visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.12) contrast(1.04);
	opacity: 0.94;
	transform: none;
	transition: filter 400ms ease, transform 900ms var(--ease);
}

.hero__visual:hover img {
	filter: grayscale(0) contrast(1);
	opacity: 1;
	transform: scale(1.018);
}

.hero__visual-caption {
	position: absolute;
	right: 24px;
	bottom: 22px;
	left: 24px;
	z-index: 3;
	margin: 0;
	color: var(--ice);
	font-size: 13px;
	font-weight: 650;
}

.hero__visual-caption span {
	float: right;
	color: var(--steel-light);
	font-size: 12px;
	font-weight: 400;
}

.section-heading h2 {
	font-size: clamp(42px, 5vw, 72px);
}

.news-section {
	border-top-color: var(--paper-line);
	background: var(--paper);
	color: var(--ink);
}

.news-section::before,
.news-card__placeholder::before,
.news-card__placeholder::after,
.news-card__placeholder i,
.contact-panel::before {
	display: none;
}

.news-grid {
	border-color: var(--paper-line);
	background: var(--paper-line);
}

.news-card {
	background: var(--paper);
}

.news-card__placeholder {
	background: linear-gradient(135deg, #e8e9e5, #d8e1e3);
}

.news-empty {
	display: block;
	min-height: 260px;
	padding: clamp(42px, 6vw, 82px);
	border: 0;
	border-top: 1px solid var(--paper-line);
	border-bottom: 1px solid var(--paper-line);
	border-left: 3px solid var(--signal);
}

.cases-section {
	overflow: hidden;
	border-top: 1px solid var(--paper-line);
	background: var(--mist);
	color: var(--ink);
}

.carousel-controls button {
	border-color: rgba(16, 33, 42, 0.28);
	color: var(--ink);
}

.carousel-controls button:disabled {
	border-color: rgba(16, 33, 42, 0.12);
	color: rgba(16, 33, 42, 0.28);
}

.case-rail {
	scrollbar-color: var(--signal) rgba(16, 33, 42, 0.08);
}

.case-rail::-webkit-scrollbar-track {
	background: rgba(16, 33, 42, 0.08);
}

.case-card {
	border-color: var(--paper-line);
	background: var(--paper);
}

.case-card__body > p:not(.case-card__industry),
.case-card__client span,
.cases-section__footer p {
	color: var(--slate);
}

.case-card__client {
	border-top-color: var(--paper-line);
}

.cases-section .button--outline {
	border-color: rgba(16, 33, 42, 0.28);
	color: var(--ink);
}

.about-page,
.archive-cases,
.contact-page {
	background: var(--paper);
	color: var(--ink);
}

.about-page .page-hero,
.archive-cases .page-hero,
.contact-page .contact-hero {
	background: var(--void);
	box-shadow: 0 0 0 100vmax var(--void);
	clip-path: inset(0 -100vmax);
	color: var(--ice);
}

.about-page .about-intro .prose,
.about-page .about-intro .prose h2,
.about-page .about-intro .prose h3,
.about-stack__copy,
.archive-cases .case-tile,
.archive-cases .case-tile__body {
	color: var(--ink);
}

.about-page .about-intro .prose,
.about-stack__copy li small,
.archive-cases .case-tile__body > p {
	color: var(--slate);
}

.about-capabilities {
	border-block-color: var(--paper-line);
	background: var(--mist);
	color: var(--ink);
}

.capability-grid {
	border-color: var(--paper-line);
}

.capability-grid article + article {
	border-left-color: var(--paper-line);
}

.capability-grid p {
	color: var(--slate);
}

.about-stack__copy ul,
.about-stack__copy li {
	border-color: var(--paper-line);
}

.contact-panel {
	border-color: rgba(223, 236, 239, 0.28);
	background: var(--petrol);
}

.contact-details {
	border-color: var(--paper-line);
}

.contact-details > div + div {
	border-color: var(--paper-line);
}

.contact-details strong {
	color: var(--ink);
}

.contact-details p {
	color: var(--slate);
}

.archive-cases__grid {
	background: var(--paper-line);
}

.case-tile {
	background: var(--paper);
}

@media (max-width: 680px) {
	.hero__visual-caption {
		right: 16px;
		bottom: 16px;
		left: 16px;
	}

	.hero__visual-caption span {
		display: block;
		float: none;
		margin-top: 3px;
	}

	.news-empty {
		min-height: 340px;
	}
}

/* Airier spacing and softly oval image language. */
:root {
	--shell: 1240px;
}

.shell {
	width: min(calc(100% - clamp(56px, 10vw, 160px)), 960px);
}

.shell--wide {
	width: min(calc(100% - clamp(64px, 10vw, 180px)), var(--shell));
}

.section-shell {
	padding-block: clamp(120px, 15vw, 220px);
}

.hero {
	min-height: max(820px, 100svh);
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.65fr);
	gap: clamp(76px, 9vw, 140px);
	padding-bottom: clamp(82px, 8vw, 130px);
}

.hero__copy {
	padding-top: 58px;
}

.hero__signal {
	margin-bottom: clamp(52px, 7vw, 92px);
}

.hero h1 {
	max-width: 760px;
	margin-bottom: 44px;
}

.hero__lede {
	margin-bottom: 48px;
}

.hero__actions {
	margin-bottom: clamp(72px, 8vw, 112px);
}

.hero__visual,
.about-stack__visual {
	border-radius: 50%;
}

.hero__visual-caption {
	right: 14%;
	bottom: 10%;
	left: 14%;
}

.section-heading,
.section-heading--cases {
	margin-bottom: clamp(72px, 9vw, 120px);
}

.news-grid,
.journal-grid {
	gap: clamp(42px, 5vw, 76px);
	border: 0;
	background: transparent;
}

.news-card {
	padding: 0;
	background: transparent;
}

.news-card__media,
.journal-card__media {
	margin-bottom: 32px;
	border-radius: 50%;
}

.news-empty {
	max-width: 900px;
	min-height: 320px;
	padding: clamp(56px, 8vw, 110px);
}

.case-rail {
	grid-auto-columns: minmax(620px, min(67vw, 980px));
	gap: clamp(70px, 8vw, 120px);
	padding-right: max(48px, calc((100vw - var(--shell)) / 2));
	padding-bottom: 48px;
	padding-left: max(48px, calc((100vw - var(--shell)) / 2));
}

.case-card {
	min-height: 640px;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
	gap: clamp(44px, 6vw, 86px);
	border: 0;
	background: transparent;
}

.case-card__media {
	min-height: 600px;
	border-radius: 50%;
}

.case-card__media::after {
	background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 16, 0.32));
}

.case-card__number {
	display: none;
}

.case-card__open {
	right: 10%;
	top: 9%;
	border-radius: 50%;
}

.case-card__body {
	justify-content: center;
	padding: 70px 0;
}

.case-card__industry {
	margin-bottom: 44px;
}

.cases-section__footer {
	padding-top: 76px;
}

.about-intro,
.about-stack {
	gap: clamp(76px, 10vw, 150px);
	padding-block: clamp(130px, 16vw, 230px);
}

.capability-grid {
	gap: clamp(32px, 5vw, 72px);
	border: 0;
}

.capability-grid article {
	min-height: 360px;
	padding: 32px 0;
	border-top: 1px solid var(--paper-line);
}

.capability-grid article + article {
	border-left: 0;
}

.contact-hero {
	gap: clamp(80px, 10vw, 160px);
}

.contact-details {
	gap: clamp(34px, 5vw, 70px);
	border: 0;
}

.contact-details > div {
	padding-right: 0;
	padding-left: 0;
	border-top: 1px solid var(--paper-line);
}

.contact-details > div + div {
	border-left: 0;
}

.archive-cases__grid {
	gap: clamp(72px, 9vw, 130px);
	background: transparent;
}

.case-tile {
	gap: 32px;
	background: transparent;
}

.case-tile__media {
	border-radius: 50%;
}

.case-tile__number {
	display: none;
}

.case-tile__body {
	padding: 0 8%;
}

.single-case {
	background: var(--paper);
	color: var(--ink);
}

.single-case__header {
	background: var(--void);
	box-shadow: 0 0 0 100vmax var(--void);
	clip-path: inset(0 -100vmax);
	color: var(--ice);
}

.single-case__visual {
	width: min(calc(100% - clamp(100px, 15vw, 260px)), 1120px);
	border-radius: 50% / 30%;
}

.single-case__visual-label {
	display: none;
}

.single-case__content .prose,
.single-case__content .prose h2,
.single-case__content .prose h3,
.project-facts strong {
	color: var(--ink);
}

.single-case__content .prose,
.project-facts span {
	color: var(--slate);
}

.project-facts,
.project-facts div {
	border-color: var(--paper-line);
}

@media (max-width: 960px) {
	.hero {
		gap: 80px;
	}

	.hero__visual {
		width: min(82vw, 650px);
		min-height: 700px;
		justify-self: center;
	}

	.case-card {
		gap: 0;
	}

	.case-card__media {
		min-height: 480px;
	}
}

@media (max-width: 680px) {
	.shell,
	.shell--wide {
		width: min(calc(100% - 40px), var(--shell));
	}

	.section-shell {
		padding-block: 110px;
	}

	.hero {
		gap: 72px;
		padding-bottom: 110px;
	}

	.hero__copy {
		padding-top: 38px;
	}

	.hero__visual {
		width: min(86vw, 430px);
		min-height: 520px;
	}

	.hero__visual-caption {
		right: 18%;
		bottom: 11%;
		left: 18%;
	}

	.case-rail {
		grid-auto-columns: calc(100vw - 40px);
		gap: 44px;
		padding-inline: 20px;
		scroll-padding-inline: 20px;
	}

	.case-card {
		grid-template-rows: 380px auto;
	}

	.case-card__media {
		min-height: 380px;
	}

	.case-card__body {
		min-height: 380px;
		padding: 54px 14px 20px;
	}

	.news-grid,
	.journal-grid {
		gap: 72px;
	}

	.about-intro,
	.about-stack {
		padding-block: 120px;
	}

	.capability-grid {
		gap: 20px;
	}

	.contact-details > div + div {
		border-top: 1px solid var(--paper-line);
	}

	.archive-cases__grid {
		gap: 96px;
		padding-block: 110px;
	}

	.single-case__visual {
		width: calc(100% - 40px);
		min-height: 440px;
	}
}

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

/* Distinctive hero crop: a compact, softly rounded triangle with a subtle lean. */
.hero__visual {
	width: min(34vw, 480px);
	min-height: 0;
	aspect-ratio: 640 / 600;
	align-self: center;
	justify-self: end;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	isolation: auto;
	transform: rotate(-4.5deg);
	transform-origin: 54% 56%;
}

.hero__visual::before {
	display: none;
}

.hero__visual-art {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 26px 34px rgba(16, 33, 42, 0.16));
}

.hero__visual-art image {
	filter: saturate(0.86) contrast(1.04);
	transition: filter 400ms ease;
}

.hero__visual:hover .hero__visual-art image {
	filter: saturate(1) contrast(1.02);
}

.hero__visual-outline {
	fill: none;
	stroke: rgba(255, 45, 69, 0.44);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.hero__visual-caption {
	right: 15%;
	bottom: 12%;
	left: 17%;
	transform: rotate(4.5deg);
}

@media (max-width: 960px) {
	.hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__visual {
		width: min(68vw, 500px);
		min-height: 0;
		justify-self: center;
	}
}

@media (max-width: 680px) {
	.hero__visual {
		width: min(calc(100vw - 72px), 370px);
		min-height: 0;
	}

	.hero__visual-caption {
		right: 16%;
		bottom: 11%;
		left: 19%;
		font-size: 11px;
	}

	.hero__visual-caption span {
		font-size: 10px;
	}
}

/* Case-study imagery: balanced rounded triangles instead of stretched ovals. */
:root {
	--case-study-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%2080'%3E%3Cpath%20fill='black'%20d='M54%203%20C58%204%2061%207%2063%2011%20L97%2066%20C100%2072%2096%2078%2089%2077%20L11%2073%20C4%2073%201%2066%205%2060%20L46%207%20C48%204%2051%203%2054%203%20Z'/%3E%3C/svg%3E");
}

.case-card {
	min-height: 560px;
	align-items: center;
}

.case-rail {
	grid-auto-columns: clamp(760px, 67vw, 980px);
}

.case-card__media,
.case-tile__media,
.single-case__visual {
	border-radius: 0;
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.case-card__media {
	width: 100%;
	min-height: 0;
	aspect-ratio: 5 / 4;
	align-self: center;
}

.case-card__open {
	top: auto;
	right: 17%;
	bottom: 17%;
}

.case-tile__media {
	aspect-ratio: 5 / 4;
}

.single-case__visual {
	width: min(calc(100% - 80px), 1040px);
	min-height: 0;
	aspect-ratio: 5 / 4;
	overflow: hidden;
}

.single-case__visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 960px) {
	.case-rail {
		grid-auto-columns: min(82vw, 760px);
	}

	.case-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
	}

	.case-card__media {
		width: min(100%, 620px);
		min-height: 0;
		justify-self: center;
	}
}

@media (max-width: 680px) {
	.case-card {
		grid-template-rows: auto auto;
	}

	.case-card__media,
	.single-case__visual {
		min-height: 0;
	}
}

/* Rounded-triangle identity system: varied proportions, sparse placement. */
:root {
	--triangle-field-light: url("assets/brand/triangle-field-light.svg");
	--triangle-strip-dark: url("assets/brand/triangle-strip-dark.svg");
}

.site-header {
	background-color: rgba(7, 11, 16, 0.96);
	background-image: var(--triangle-strip-dark);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.site-header__inner {
	position: relative;
	z-index: 1;
}

.hero,
.news-section,
.cases-section,
.page-hero,
.about-intro,
.about-capabilities,
.about-stack,
.contact-page,
.archive-cases,
.journal-page,
.content-page,
.error-page,
.single-post,
.single-case__content {
	background-image: var(--triangle-field-light);
	background-repeat: no-repeat;
	background-size: clamp(1000px, 110vw, 1600px) auto;
}

.hero { 
	padding-top: calc(var(--header-height) + 24px);
	background-position: center -86px;
}

.hero__copy {
	padding-top: 0;
}

.news-section {
	background-position: center 18%;
}

.cases-section {
	background-position: center 62%;
}

.page-hero,
.archive-cases {
	background-position: center -120px;
}

.about-capabilities,
.about-intro,
.about-stack,
.contact-page,
.journal-page,
.content-page,
.error-page,
.single-post,
.single-case__content {
	background-position: center 48%;
}

.about-stack__visual,
.news-card__media {
	border-radius: 0;
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.about-stack__visual {
	aspect-ratio: 4 / 5;
}

.news-card__media {
	aspect-ratio: 5 / 4;
}

.contact-panel::before {
	display: block;
	top: 9%;
	right: 8%;
	bottom: 7%;
	left: 10%;
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	background: rgba(255, 45, 69, 0.11);
	box-shadow: none;
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	transform: rotate(7deg);
}

@media (max-width: 960px) {
	.hero {
		padding-top: calc(var(--header-height) + 20px);
		background-position: center -40px;
	}
}

@media (max-width: 680px) {
	.hero {
		padding-top: calc(var(--header-height) + 16px);
	}

	.hero,
	.news-section,
	.cases-section,
	.page-hero,
	.about-intro,
	.about-capabilities,
	.about-stack,
	.contact-page,
	.archive-cases,
	.journal-page,
	.content-page,
	.error-page,
	.single-post,
	.single-case__content {
		background-size: 1040px auto;
	}
}

/* Full-bleed motifs, image-orbit labels, and rounded trapezoid CTA. */
html {
	overflow-x: clip;
}

.section-shell {
	padding-top: clamp(60px, 7.5vw, 110px);
}

:root {
	--trapezoid-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20preserveAspectRatio='none'%20viewBox='0%200%20240%2068'%3E%3Cpath%20fill='black'%20d='M29%2010%20C23%2010%2019%2014%2017%2020%20L4%2051%20C1%2059%208%2065%2017%2065%20L218%2065%20C226%2065%20232%2059%20230%2051%20L218%2013%20C216%207%20211%203%20204%203%20Z'/%3E%3C/svg%3E");
}

.hero,
.page-hero,
.about-intro,
.about-stack {
	position: relative;
	isolation: isolate;
	background-image: none;
}

.hero::after,
.page-hero::after,
.about-intro::after,
.about-stack::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 0;
	width: 100vw;
	background-image: var(--triangle-field-light);
	background-position: center;
	background-repeat: no-repeat;
	background-size: clamp(1000px, 110vw, 1600px) auto;
	content: "";
	pointer-events: none;
	transform: translateX(-50%);
}

.hero::after { background-position: center -86px; }
.page-hero::after { background-position: center -120px; }
.about-intro::after { background-position: center 28%; }
.about-stack::after { background-position: center 52%; }

.hero > *,
.page-hero > *,
.about-intro > *,
.about-stack > * {
	position: relative;
	z-index: 1;
}

.hero__actions {
	margin-bottom: 0;
}

.hero__actions .button--primary {
	min-width: min(100%, 280px);
	min-height: 68px;
	padding: 0 42px 0 36px;
	border: 0;
	border-radius: 0;
	background: var(--signal);
	-webkit-mask-image: var(--trapezoid-mask);
	mask-image: var(--trapezoid-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.hero__capabilities {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: block;
	padding: 0;
	margin: 0;
	border: 0;
	list-style: none;
	pointer-events: none;
}

.hero__capabilities li {
	position: absolute;
	display: flex;
	width: 188px;
	min-height: 112px;
	align-items: center;
	justify-content: center;
	padding: 25px 26px;
	margin: 0;
	border: 0;
	color: var(--capability-ink, var(--ice));
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 680;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 1px 1px rgba(7, 11, 16, 0.7), 0 0 5px rgba(7, 11, 16, 0.38);
	isolation: isolate;
}

.hero__capabilities li + li {
	padding-left: 26px;
	border-left: 0 !important;
}

.hero__capabilities li::before {
	position: absolute;
	inset: 10% 8%;
	z-index: -1;
	background: var(--capability-colour, var(--signal));
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	content: "";
}

.hero__capabilities span {
	position: absolute;
	top: 8px;
	left: 16px;
	display: block;
	color: currentColor;
	font-family: var(--mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.12em;
	opacity: 0.68;
}

.hero__capabilities li:nth-child(1) {
	top: -3%;
	left: -14%;
	--capability-colour: #ff2d45;
	transform: rotate(-7deg);
}

.hero__capabilities li:nth-child(2) {
	top: 15%;
	right: -17%;
	--capability-colour: #244b56;
	transform: rotate(9deg);
}

.hero__capabilities li:nth-child(3) {
	bottom: 9%;
	left: -18%;
	--capability-colour: #d8e9ed;
	--capability-ink: #10212a;
	text-shadow: none;
	transform: rotate(7deg);
}

.hero__capabilities li:nth-child(4) {
	right: -10%;
	bottom: -7%;
	--capability-colour: #efb15d;
	--capability-ink: #10212a;
	text-shadow: none;
	transform: rotate(-9deg);
}

.about-stack__copy li,
.project-facts div {
	position: relative;
	min-height: 92px;
	padding: 28px 0 26px 74px;
	border: 0;
	isolation: isolate;
}

.about-stack__copy li::before,
.project-facts div::before {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: -1;
	width: 92px;
	height: 74px;
	background: var(--list-triangle, #d8e9ed);
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	content: "";
	transform: translateY(-50%) rotate(-7deg);
}

.about-stack__copy li:nth-child(2n),
.project-facts div:nth-child(2n) {
	--list-triangle: rgba(255, 45, 69, 0.22);
}

.about-stack__copy li span,
.project-facts div span,
.project-facts div strong {
	position: relative;
	z-index: 1;
}

.about-stack__copy li span {
	margin-left: -28px;
}

.capability-grid article > span {
	position: relative;
	display: grid;
	width: 84px;
	height: 68px;
	place-items: center;
	margin-bottom: 46px;
	color: var(--ink);
	isolation: isolate;
}

.capability-grid article > span::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--grid-triangle, #d8e9ed);
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	content: "";
	transform: rotate(-8deg);
}

.capability-grid article:nth-child(2) > span { --grid-triangle: rgba(255, 45, 69, 0.22); }
.capability-grid article:nth-child(3) > span { --grid-triangle: rgba(239, 177, 93, 0.52); }
.capability-grid article:nth-child(4) > span { --grid-triangle: rgba(36, 75, 86, 0.25); }

@media (max-width: 960px) {
	.hero::after,
	.page-hero::after,
	.about-intro::after,
	.about-stack::after {
		background-size: 1180px auto;
	}
}

@media (max-width: 680px) {
	.hero__actions .button--primary {
		min-width: 0;
		width: 100%;
	}

	.hero__visual {
		margin-block: 28px 42px;
	}

	.hero__capabilities li {
		width: 132px;
		min-height: 82px;
		padding: 18px 17px;
		font-size: 10px;
	}

	.hero__capabilities li + li {
		padding-left: 17px;
	}

	.hero__capabilities span {
		top: 5px;
		left: 10px;
		font-size: 7px;
	}

	.hero__capabilities li:nth-child(1) { top: -4%; left: -2%; }
	.hero__capabilities li:nth-child(2) { top: 17%; right: -3%; }
	.hero__capabilities li:nth-child(3) { bottom: 8%; left: -3%; }
	.hero__capabilities li:nth-child(4) { right: -2%; bottom: -8%; }

	.project-facts {
		grid-template-columns: 1fr;
	}

	.project-facts div,
	.project-facts div:nth-child(even) {
		padding: 26px 0 24px 72px;
		border-left: 0;
	}
}

/* Final hero-label scale and full-bleed case-study backgrounds. */
.hero__capabilities li {
	color: var(--ink);
	font-size: 20px;
	line-height: 1.12;
	text-shadow: none;
}

.single-case__header,
.single-case__content {
	position: relative;
	isolation: isolate;
	background-image: none;
}

.single-case__header::after,
.single-case__content::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 0;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	background-size: clamp(1000px, 110vw, 1600px) auto;
	content: "";
	pointer-events: none;
	transform: translateX(-50%);
}

.single-case__header::after {
	background-image: var(--triangle-field-light);
	background-position: center -160px;
	opacity: 0.36;
}

.single-case__content::after {
	background-image: var(--triangle-field-light);
	background-position: center 40%;
}

.single-case__header > *,
.single-case__content > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 680px) {
	.hero__capabilities li {
		font-size: 15px;
	}

	.single-case__header::after,
	.single-case__content::after {
		background-size: 1040px auto;
	}
}

/* Playful header shell: a tilted, softly recurved triangular base. */
:root {
	--header-shell-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201600%20160'%3E%3Cpath%20fill='black'%20d='M0%200%20H1600%20V72%20C1515%2069%201448%2082%201372%2099%20L945%20145%20C875%20153%20801%20150%20730%20137%20L230%2091%20C145%2083%2076%2094%200%20105%20Z'/%3E%3C/svg%3E");
}

.site-header {
	border: 0;
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}

.site-header::before,
.site-header::after {
	position: absolute;
	top: -8px;
	left: -2vw;
	width: 104vw;
	height: 160px;
	-webkit-mask-image: var(--header-shell-mask);
	mask-image: var(--header-shell-mask);
	-webkit-mask-position: center top;
	mask-position: center top;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	content: "";
	pointer-events: none;
	transform: rotate(-0.45deg);
	transform-origin: 50% 0;
}

.site-header::before {
	z-index: 0;
	background: #1a2229;
	filter: drop-shadow(0 12px 18px rgba(7, 11, 16, 0.16));
}

.site-header::after {
	z-index: 1;
	background-image: var(--triangle-strip-dark);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% 120px;
	opacity: 0.86;
}

.site-header__inner {
	z-index: 2;
}

.site-nav__contact {
	position: relative;
	isolation: isolate;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.site-nav__contact::before,
.site-nav__contact::after {
	position: absolute;
	inset: 0;
	z-index: -2;
	-webkit-mask-image: var(--trapezoid-mask);
	mask-image: var(--trapezoid-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	content: "";
	pointer-events: none;
}

.site-nav__contact::before {
	background: var(--signal);
}

.site-nav__contact::after {
	inset: 2px;
	z-index: -1;
	background: #1a2229;
	transition: background-color 220ms ease;
}

.site-nav__contact:hover::after {
	background: var(--petrol);
}

.site-nav__contact > * {
	position: relative;
	z-index: 1;
}

.button,
.button--outline {
	border: 0;
	border-radius: 0;
	-webkit-mask-image: var(--trapezoid-mask);
	mask-image: var(--trapezoid-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.button--outline {
	background: var(--petrol);
	color: var(--ice);
}

@media (max-width: 680px) {
	.site-header::before,
	.site-header::after {
		left: -5vw;
		width: 110vw;
		height: 138px;
		transform: rotate(-0.7deg);
	}
}

/* Asymmetric trapezoid CTA system. */
.contact-orbit {
	min-height: 180px;
	padding: 32px 54px;
	border: 0;
	border-radius: 0;
	background: var(--signal);
	color: var(--white);
	-webkit-mask-image: var(--trapezoid-mask);
	mask-image: var(--trapezoid-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.contact-orbit::before {
	display: none;
}

.contact-orbit:hover {
	background: #d91f36;
	transform: translateY(-4px) rotate(-0.8deg);
}

.cases-section .button--outline {
	background: var(--petrol);
	color: var(--ice);
}

.cases-section .button--outline:hover {
	background: var(--signal);
	color: var(--white);
}

@media (max-width: 680px) {
	.contact-orbit {
		min-height: 138px;
		padding: 26px 38px;
	}
}

/* Machine-led contact hero and a footer shell that mirrors the header. */
:root {
	--footer-shell-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201600%20190'%3E%3Cpath%20fill='black'%20d='M0%20190%20V92%20C90%20106%20168%2099%20250%2084%20L690%2024%20C760%2014%20832%2017%20900%2034%20L1370%20112%20C1450%20126%201525%20113%201600%2096%20V190%20Z'/%3E%3C/svg%3E");
}

.contact-panel {
	min-height: 520px;
	justify-content: flex-end;
	gap: 18px;
	padding: 24% 17% 13%;
	border: 0;
	background: transparent;
	color: var(--ice);
	overflow: visible;
	isolation: isolate;
}

.contact-panel__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.82) contrast(1.04);
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.contact-panel::before {
	display: block;
	inset: 0;
	z-index: 1;
	width: auto;
	height: auto;
	border: 0;
	background: linear-gradient(180deg, rgba(7, 11, 16, 0.05) 24%, rgba(7, 11, 16, 0.84) 92%);
	-webkit-mask-image: var(--case-study-mask);
	mask-image: var(--case-study-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	transform: none;
}

.contact-panel__label,
.contact-panel strong,
.contact-panel__action {
	z-index: 2;
}

.contact-panel strong {
	color: var(--ice);
	text-shadow: 0 2px 14px rgba(7, 11, 16, 0.46);
}

.contact-panel__action {
	color: var(--ice);
}

.contact-orbit span {
	font-family: var(--display);
	font-size: clamp(24px, 2.3vw, 36px);
	font-weight: 420;
	letter-spacing: -0.025em;
}

.site-footer {
	padding-top: 30px;
	border: 0;
	background: transparent;
	isolation: isolate;
	overflow: visible;
}

.site-footer::before {
	position: absolute;
	top: -42px;
	left: -2vw;
	z-index: 0;
	width: 104vw;
	height: 200px;
	background: #1a2229;
	-webkit-mask-image: var(--footer-shell-mask);
	mask-image: var(--footer-shell-mask);
	-webkit-mask-position: center top;
	mask-position: center top;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	content: "";
	pointer-events: none;
	transform: rotate(0.42deg);
	transform-origin: 50% 100%;
}

.site-footer::after {
	position: absolute;
	top: 100px;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	background-color: #1a2229;
	background-image: var(--triangle-field-light);
	background-position: center -140px;
	background-repeat: no-repeat;
	background-size: clamp(1200px, 112vw, 1800px) auto;
	content: "";
	pointer-events: none;
}

.site-footer > * {
	position: relative;
	z-index: 1;
}

.site-footer__cta {
	border-bottom: 0;
}

@media (max-width: 680px) {
	.contact-panel {
		min-height: 390px;
		padding: 27% 16% 14%;
	}

	.contact-orbit span {
		font-size: clamp(18px, 5.2vw, 24px);
	}

	.site-footer::before {
		left: -5vw;
		width: 110vw;
		height: 178px;
		transform: rotate(0.65deg);
	}
}

/* Database-backed contact form. The recipient remains server-side in CF7. */
.contact-hero__lede {
	max-width: 650px;
	margin-top: 30px;
	color: var(--slate);
	font-size: clamp(18px, 1.55vw, 24px);
	line-height: 1.55;
}

.contact-panel--image {
	margin: 0;
}

.contact-panel--image .contact-panel__label {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	color: var(--ice);
	text-shadow: 0 2px 12px rgba(7, 11, 16, 0.55);
}

.contact-form-section {
	position: relative;
	background: #dfecef;
	box-shadow: 0 0 0 100vmax #dfecef;
	clip-path: inset(0 -100vmax);
	color: var(--ink);
}

.contact-form-layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(54px, 9vw, 150px);
	align-items: start;
}

.contact-form-layout header {
	position: sticky;
	top: calc(var(--header-height) + 40px);
}

.contact-form-layout h2 {
	max-width: 560px;
	margin: 0;
	font-size: clamp(46px, 5.5vw, 84px);
	font-weight: 350;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.contact-form-card {
	position: relative;
	padding: clamp(30px, 4.5vw, 68px);
	border-radius: 56px 34px 70px 42px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 22px 70px rgba(36, 75, 86, 0.11);
}

.contact-form-card::before {
	position: absolute;
	top: -30px;
	right: -26px;
	width: 118px;
	height: 102px;
	border: 1px solid rgba(255, 48, 74, 0.32);
	border-radius: 55% 45% 58% 42%;
	clip-path: polygon(50% 0, 100% 100%, 0 82%);
	content: "";
	pointer-events: none;
	transform: rotate(13deg);
}

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

.symmetrix-form__field {
	margin: 0;
}

.symmetrix-form__field--wide,
.symmetrix-form__actions {
	grid-column: 1 / -1;
}

.symmetrix-form label {
	display: grid;
	gap: 10px;
	color: var(--ink);
	font-family: var(--body);
	font-size: 12px;
	font-weight: 680;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.symmetrix-form .wpcf7-form-control-wrap {
	display: block;
}

.symmetrix-form input:not([type="submit"]),
.symmetrix-form textarea {
	width: 100%;
	margin: 0;
	padding: 17px 20px;
	border: 1px solid rgba(16, 33, 42, 0.19);
	border-radius: 24px 18px 27px 16px;
	outline: 0;
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
	font: 500 16px/1.45 var(--body);
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.symmetrix-form textarea {
	min-height: 190px;
	resize: vertical;
}

.symmetrix-form input:not([type="submit"]):focus,
.symmetrix-form textarea:focus {
	border-color: var(--signal);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 48, 74, 0.1);
}

.symmetrix-form__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 6px;
}

.symmetrix-form .wpcf7-submit {
	min-width: min(100%, 330px);
	min-height: 72px;
	padding: 20px 42px 16px;
	border: 0;
	border-radius: 0;
	background: var(--signal);
	color: var(--white);
	-webkit-mask-image: var(--trapezoid-mask);
	mask-image: var(--trapezoid-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	cursor: pointer;
	font: 700 13px/1 var(--body);
	letter-spacing: 0.04em;
	transition: background 180ms ease, transform 180ms ease;
}

.symmetrix-form .wpcf7-submit:hover,
.symmetrix-form .wpcf7-submit:focus-visible {
	background: #d91f36;
	transform: translateY(-3px) rotate(-0.65deg);
}

.wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #b0122a;
	font-size: 12px;
	font-weight: 650;
}

.wpcf7 form .wpcf7-response-output {
	margin: 26px 0 0;
	padding: 18px 22px;
	border: 0;
	border-radius: 22px 16px 25px 18px;
	background: rgba(36, 75, 86, 0.1);
	color: var(--ink);
}

.wpcf7 form.sent .wpcf7-response-output {
	background: rgba(36, 120, 86, 0.13);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	background: rgba(255, 48, 74, 0.11);
}

@media (max-width: 960px) {
	.contact-form-layout {
		grid-template-columns: 1fr;
	}

	.contact-form-layout header {
		position: static;
	}
}

@media (max-width: 680px) {
	.contact-form-card {
		padding: 28px 20px 32px;
		border-radius: 34px 24px 42px 28px;
	}

	.symmetrix-form {
		grid-template-columns: 1fr;
	}

	.symmetrix-form__field--wide,
	.symmetrix-form__actions {
		grid-column: auto;
	}

	.symmetrix-form__actions,
	.symmetrix-form .wpcf7-submit {
		width: 100%;
	}
}

/* iOS-safe mobile frame: contained decorations, consistent gutters and flexible CTAs. */
@media (max-width: 680px) {
	html,
	body {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.shell,
	.shell--wide {
		width: calc(100% - 48px);
		max-width: calc(100% - 48px);
	}

	.site-header {
		width: 100%;
		max-width: 100%;
		isolation: isolate;
	}

	.site-header::before,
	.site-header::after {
		top: 0;
		left: 0;
		width: 100%;
		height: 126px;
		-webkit-mask-image: none;
		mask-image: none;
		border-radius: 0 0 54% 16% / 0 0 24% 14%;
		transform: none;
	}

	.site-header::before {
		background: #1a2229;
	}

	.site-header::after {
		background-color: transparent;
		background-position: center top;
		background-size: auto 112px;
		opacity: 0.72;
	}

	.site-header__inner {
		width: calc(100% - 48px);
		max-width: calc(100% - 48px);
	}

	.hero__copy,
	.hero__actions,
	.hero__actions .button--primary {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.hero__actions .button--primary {
		position: relative;
		isolation: isolate;
		justify-content: space-between;
		gap: 12px;
		padding-right: 30px;
		padding-left: 32px;
		background: transparent;
		font-size: 13px;
		line-height: 1.25;
		text-align: left;
		white-space: normal;
		-webkit-mask-image: none;
		mask-image: none;
		overflow: visible;
	}

	.hero__actions .button--primary::before {
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--signal);
		-webkit-mask-image: var(--trapezoid-mask);
		mask-image: var(--trapezoid-mask);
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: 100% 100%;
		mask-size: 100% 100%;
		content: "";
		pointer-events: none;
	}

	.hero__actions .button--primary:hover {
		background: transparent;
	}

	.hero__actions .button--primary:hover::before {
		background: var(--signal-soft);
	}

	.hero__actions .button--primary span {
		min-width: 0;
	}

	.hero__actions .button--primary svg {
		flex: 0 0 16px;
	}

	.site-footer::before {
		left: 0;
		width: 100%;
		transform: none;
	}
}

/* Opaque mobile navigation panel with a single, restrained brand motif. */
@media (max-width: 960px) {
	body.nav-is-open {
		overflow: hidden;
	}

	.site-nav {
		z-index: 1001;
		width: 100%;
		height: 100dvh;
		min-height: 100svh;
		padding: calc(112px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) calc(42px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
		background-color: #0b1118;
		background-image:
			radial-gradient(circle at 88% 18%, rgba(255, 45, 69, 0.13), transparent 31%),
			var(--triangle-strip-dark);
		background-position: center, center top;
		background-repeat: no-repeat;
		background-size: cover, auto 190px;
		backdrop-filter: none;
		box-shadow: inset 0 -1px 0 rgba(199, 208, 217, 0.08);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.site-nav.is-open {
		background-color: #0b1118;
	}

	.site-nav__contact {
		display: none;
	}
}

/* Compact, editorial news presentation; image space exists only for real images. */
.news-section .section-heading {
	margin-bottom: clamp(34px, 4.5vw, 68px);
}

.news-grid,
.journal-grid {
	gap: clamp(24px, 3vw, 44px);
}

.news-card,
.journal-card {
	padding: clamp(34px, 4.5vw, 68px);
	border: 1px solid rgba(16, 33, 42, 0.1);
	border-radius: 42px 25px 52px 31px;
	background: rgba(223, 236, 239, 0.82);
	box-shadow: 0 24px 70px rgba(36, 75, 86, 0.08);
}

.news-card:only-child,
.journal-card:only-child {
	grid-column: 1 / -1;
}

.news-card h3,
.journal-card h2 {
	max-width: 1080px;
	margin-bottom: 22px;
	font-size: clamp(36px, 4.4vw, 68px);
	line-height: 1.02;
}

.news-card > p,
.journal-card > p {
	max-width: 820px;
	margin-bottom: 34px;
	color: var(--slate);
	font-size: clamp(17px, 1.35vw, 21px);
	line-height: 1.65;
}

.news-card__meta,
.journal-card time {
	margin-bottom: 24px;
	font-size: 10px;
}

.journal-page .page-hero {
	min-height: 0;
	grid-template-columns: 1fr;
	gap: 0;
	padding-top: calc(var(--header-height) + clamp(62px, 8vw, 110px));
	padding-bottom: clamp(42px, 5vw, 72px);
	border-bottom: 0;
}

.journal-page .page-hero__lede {
	display: none;
}

.journal-page .journal-grid {
	grid-template-columns: 1fr;
	padding-top: 0;
}

@media (max-width: 680px) {
	.news-card,
	.journal-card {
		padding: 30px 24px 34px;
		border-radius: 30px 20px 36px 24px;
	}

	.news-card h3,
	.journal-card h2 {
		font-size: clamp(34px, 10.5vw, 48px);
	}
}
