/* ==========================================================================
   IndiSign - Design system & front-end styles
   --------------------------------------------------------------------------
   Concept: "The build sheet". An architecture monograph crossed with a technical
   drawing set. Monochrome paper and ink, hairline rules, monospaced annotations,
   large editorial type and full-bleed photography of real work. One industrial
   accent - IndiSign orange, taken from the logo - used sparingly as a marker.

   Contents
   01 Fonts & tokens        06 Header & navigation
   02 Base                  07 Mobile menu
   03 Typography            08 Footer
   04 Layout                09+ Components & pages (below)
   05 Buttons & links
   ========================================================================== */

/* 01 - Fonts & tokens ----------------------------------------------------- */

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

:root {
	/* Colour - monochrome, architectural. Contrast noted against its usual ground. */
	--ink: #0e0e0e;
	--ink-2: #161616;
	--graphite: #2a2a2a;
	--stone: #625e58;          /* secondary text on paper/white - 5.6:1 */
	--mist: #a8a39b;           /* secondary text on ink - 7.6:1 */
	--paper: #f3f1ec;          /* warm off-white ground */
	--white: #ffffff;
	--line: rgba(14, 14, 14, 0.14);
	--line-strong: rgba(14, 14, 14, 0.34);
	--line-light: rgba(255, 255, 255, 0.16);
	--line-light-strong: rgba(255, 255, 255, 0.4);
	--accent: #f36c45;         /* IndiSign orange - markers, large type, text on ink only */
	--accent-deep: #ad3d19;    /* accent for small text on light grounds - 5.3:1 */

	/* Type */
	--font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
	--font-alt: "Poppins", "Helvetica Neue", Arial, sans-serif;  /* secondary: UI, labels, meta */
	--fs-display: clamp(2.85rem, 1.15rem + 6.5vw, 8.25rem);
	--fs-h1: clamp(2.45rem, 1.3rem + 4.3vw, 6rem);
	--fs-h2: clamp(2rem, 1.25rem + 2.9vw, 4.25rem);
	--fs-h3: clamp(1.3rem, 1.08rem + 0.95vw, 1.95rem);
	--fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.4rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.9375rem;
	--fs-meta: 0.75rem;

	/* Space - 4px base, doubling rhythm */
	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 3rem;
	--s-8: 4rem;
	--s-9: 6rem;
	--s-10: 8rem;
	--section: clamp(3.25rem, 2rem + 4vw, 6.5rem);
	--gutter: clamp(1.25rem, 0.55rem + 2.7vw, 3.5rem);
	--gap: clamp(1rem, 0.5rem + 1.6vw, 2.25rem);
	--max: 1680px;
	--header-h: 5.25rem;

	/* Motion - precise, never bouncy */
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--t-fast: 200ms;
	--t: 450ms;
	--t-slow: 1000ms;
}

/* 02 - Base -------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.6;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html.menu-is-open body {
	overflow: hidden;
}

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

figure {
	margin: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

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

button {
	cursor: pointer;
}

address {
	font-style: normal;
}

ul[role="list"],
ol[role="list"] {
	list-style: none;
}

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

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

.section--ink :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.hero :focus-visible,
.cta :focus-visible {
	outline-color: var(--white);
}

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

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: var(--white);
	font-weight: 500;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

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

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

.img-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 12rem;
	padding: var(--s-5);
	background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(14, 14, 14, 0.05) 12px 13px), #e6e3dc;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

/* 03 - Typography -------------------------------------------------------- */

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

.display,
.h1,
.h2 {
	font-weight: 600;
	font-stretch: 104%;
	letter-spacing: -0.038em;
	line-height: 0.96;
}

.display {
	font-size: var(--fs-display);
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.h1 {
	font-size: var(--fs-h1);
}

.h2 {
	font-size: var(--fs-h2);
	line-height: 1;
}

.h3 {
	font-size: var(--fs-h3);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.lead {
	font-size: var(--fs-lead);
	line-height: 1.5;
	letter-spacing: -0.005em;
	text-wrap: pretty;
}

.label,
.eyebrow,
.caption {
	display: flex;
	align-items: baseline;
	gap: 0.75em;
	margin: 0 0 var(--s-5);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.label {
	color: var(--stone);
}

.section--ink .label,
.site-footer .label,
.mobile-menu .label {
	color: var(--mist);
}

.caption {
	margin: var(--s-3) 0 0;
	color: var(--stone);
	letter-spacing: 0.06em;
}

.prose {
	max-width: 44rem;
}

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

.prose p {
	margin-bottom: 0;
}

.prose h2 {
	margin-top: 2em;
	font-size: var(--fs-h3);
}

.prose h3 {
	margin-top: 1.6em;
	font-size: 1.25rem;
}

.prose a {
	color: var(--ink);
	text-decoration-color: var(--accent);
}

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

.prose img {
	margin-block: var(--s-6);
}

.prose blockquote {
	margin: var(--s-7) 0;
	padding-left: var(--s-5);
	border-left: 2px solid var(--accent);
	font-size: var(--fs-h3);
	line-height: 1.3;
}

/* 04 - Layout ------------------------------------------------------------ */

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

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

.section--tight {
	padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.75rem);
}

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

.section,
.rvi,
.clients {
	background: var(--white);
}

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

.section--ink {
	background: var(--ink);
	color: var(--white);
}

.section-head {
	margin-bottom: clamp(1.75rem, 1.25rem + 1.8vw, 3rem);
}

.section-head--split {
	display: grid;
	gap: var(--s-6);
	align-items: end;
}

.section-head__text {
	max-width: 30rem;
	color: var(--stone);
}

.section--ink .section-head__text {
	color: var(--mist);
}

.section-head__text .link-arrow {
	margin-top: var(--s-5);
}

@media (min-width: 900px) {
	.section-head--split {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		gap: var(--gap);
	}
	.section-head--split > :last-child {
		justify-self: end;
	}
}

/* 05 - Buttons & links --------------------------------------------------- */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
	--btn-bd: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	min-height: 3.25rem;
	padding: 0.85rem 1.5rem;
	border: 1px solid var(--btn-bd);
	border-radius: 0;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-alt);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.btn .icon {
	width: 1.15rem;
	height: 1.15rem;
	transition: transform var(--t) var(--ease);
}

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

.btn--primary:hover {
	--btn-bg: var(--graphite);
	--btn-bd: var(--graphite);
}

.btn--light {
	--btn-bg: var(--white);
	--btn-fg: var(--ink);
	--btn-bd: var(--white);
}

.btn--light:hover {
	--btn-bg: var(--paper);
	--btn-bd: var(--paper);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: var(--line-strong);
}

.btn--ghost:hover {
	--btn-bd: var(--ink);
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
}

.btn--ghost-light {
	--btn-bg: transparent;
	--btn-fg: var(--white);
	--btn-bd: var(--line-light-strong);
}

.btn--ghost-light:hover {
	--btn-bg: var(--white);
	--btn-fg: var(--ink);
	--btn-bd: var(--white);
}

.btn--sm {
	min-height: 2.75rem;
	padding: 0.6rem 1.1rem;
	font-size: 0.75rem;
}

.btn--lg {
	min-height: 3.75rem;
	padding-inline: 1.9rem;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding-block: 0.35rem;
	font-family: var(--font-alt);
	font-size: var(--fs-small);
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size var(--t) var(--ease);
}

.link-arrow .icon {
	width: 1.1rem;
	height: 1.1rem;
	transition: transform var(--t) var(--ease);
}

.link-arrow:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
}

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

.link-arrow--sm {
	font-size: 0.8125rem;
}

/* 06 - Header & navigation ----------------------------------------------- */

.site-header {
	--hdr-fg: var(--ink);
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	color: var(--hdr-fg);
	background: rgba(243, 241, 236, 0);
	border-bottom: 1px solid transparent;
	transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), color var(--t-fast) var(--ease);
}

.site-header.is-solid {
	background: rgba(243, 241, 236, 0.94);
	border-bottom-color: var(--line);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}

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

.has-dark-hero .site-header:not(.is-solid),
.menu-is-open .site-header {
	--hdr-fg: var(--white);
}

.menu-is-open .site-header {
	background: transparent;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body:not(.has-dark-hero) .site-main {
	padding-top: var(--header-h);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--s-6);
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	text-decoration: none;
}

.brand__img {
	width: auto;
	height: 3.1rem;
}

.nav {
	display: none;
	margin-left: auto;
}

.nav__list,
.nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 0.5rem + 1.4vw, 2.5rem);
}

.nav__list > .menu-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.nav__list > .menu-item > a {
	position: relative;
	padding-block: 0.75rem;
	font-family: var(--font-alt);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.nav__list > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.45rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--t) var(--ease);
}

.nav__list > .menu-item > a:hover::after,
.nav__list > .menu-item.is-active > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
}

.sub-toggle .icon {
	width: 0.95rem;
	height: 0.95rem;
	transition: transform var(--t-fast) var(--ease);
}

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

.nav .sub-menu {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: -1.25rem;
	min-width: 16rem;
	padding: 0.75rem 0;
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--line);
	box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.4rem);
	transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}

.nav .sub-menu::before {
	content: "";
	position: absolute;
	inset: -0.7rem 0 auto;
	height: 0.7rem;
}

.nav .has-children:hover > .sub-menu,
.nav .has-children:focus-within > .sub-menu,
.nav .has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.nav .sub-menu a {
	display: block;
	padding: 0.55rem 1.25rem;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: background-color var(--t-fast) var(--ease);
}

.nav .sub-menu a:hover,
.nav .sub-menu a[aria-current="page"] {
	background: rgba(14, 14, 14, 0.05);
}

.nav .sub-menu a[aria-current="page"] {
	box-shadow: inset 2px 0 var(--accent);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--s-4);
	margin-left: auto;
}

@media (min-width: 1100px) {
	.nav + .site-header__actions {
		margin-left: 0;
	}
}

.btn--header {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
	--btn-bd: var(--ink);
}

.has-dark-hero .site-header:not(.is-solid) .btn--header,
.menu-is-open .site-header .btn--header {
	--btn-bg: var(--white);
	--btn-fg: var(--ink);
	--btn-bd: var(--white);
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.75rem;
	padding: 0 0 0 0.5rem;
	border: 0;
	background: none;
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.menu-toggle__bars {
	position: relative;
	display: block;
	width: 1.6rem;
	height: 0.7rem;
}

.menu-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}

.menu-toggle__bars span:first-child {
	top: 0;
}

.menu-toggle__bars span:last-child {
	top: calc(100% - 1.5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
	top: calc(50% - 0.75px);
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
	top: calc(50% - 0.75px);
	transform: rotate(-45deg);
}

@media (max-width: 599px) {
	.btn--header {
		display: none;
	}
	.brand__img {
		height: 2.7rem;
	}
	:root {
		--header-h: 4.5rem;
	}
}

@media (min-width: 1100px) {
	.nav {
		display: block;
	}
	.menu-toggle {
		display: none;
	}
	.site-header__inner {
		gap: clamp(2rem, 1rem + 2vw, 4rem);
	}
}

/* 07 - Mobile menu ------------------------------------------------------- */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 55;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-top: var(--header-h);
	background: var(--ink);
	color: var(--white);
	opacity: 0;
	transition: opacity var(--t) var(--ease);
}

.mobile-menu.is-open {
	opacity: 1;
}

.mobile-menu__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--s-8);
	min-height: calc(100dvh - var(--header-h));
	padding-block: var(--s-6) var(--s-7);
}

.mobile-menu__list,
.mobile-menu__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu__list > .menu-item {
	border-bottom: 1px solid var(--line-light);
	opacity: 0;
	transform: translateY(0.75rem);
	transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

.mobile-menu.is-open .mobile-menu__list > .menu-item {
	opacity: 1;
	transform: none;
}

.mobile-menu.is-open .mobile-menu__list > .menu-item:nth-child(2) { transition-delay: 40ms; }
.mobile-menu.is-open .mobile-menu__list > .menu-item:nth-child(3) { transition-delay: 80ms; }
.mobile-menu.is-open .mobile-menu__list > .menu-item:nth-child(4) { transition-delay: 120ms; }
.mobile-menu.is-open .mobile-menu__list > .menu-item:nth-child(5) { transition-delay: 160ms; }
.mobile-menu.is-open .mobile-menu__list > .menu-item:nth-child(6) { transition-delay: 200ms; }

.mobile-menu__list > .menu-item > a {
	display: block;
	padding-block: 0.9rem;
	font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
	font-weight: 600;
	font-stretch: 104%;
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-decoration: none;
}

.mobile-menu__list > .menu-item.is-active > a {
	color: var(--accent);
}

.mobile-menu__list .sub-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	padding-bottom: 1.1rem;
}

.mobile-menu__list .sub-menu a {
	display: inline-block;
	padding-block: 0.3rem;
	color: var(--mist);
	font-size: 0.9375rem;
	text-decoration: none;
}

.mobile-menu__list .sub-menu a:hover,
.mobile-menu__list .sub-menu a[aria-current="page"] {
	color: var(--white);
}

.mobile-menu__footer {
	display: grid;
	gap: var(--s-5);
	justify-items: start;
}

.mobile-menu__contact {
	display: grid;
	gap: 0.35rem;
	color: var(--mist);
}

.mobile-menu__contact a {
	text-decoration: none;
}

@media (min-width: 1100px) {
	.mobile-menu {
		display: none !important;
	}
}

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

.site-footer {
	padding-block: clamp(3rem, 2.25rem + 3vw, 5.5rem) var(--s-6);
	background: var(--ink);
	color: var(--white);
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-footer__top {
	display: grid;
	gap: var(--s-6);
	align-items: end;
	padding-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
	border-bottom: 1px solid var(--line-light);
}

.site-footer__signoff {
	max-width: 22ch;
	margin: 0;
	font-size: var(--fs-h2);
	font-weight: 600;
	font-stretch: 104%;
	line-height: 1;
	letter-spacing: -0.038em;
	text-wrap: balance;
}

.site-footer__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
	padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
}

.site-footer__brand .brand__img {
	height: 4.25rem;
	margin-bottom: var(--s-5);
}

.site-footer__brand p {
	max-width: 24rem;
	color: var(--mist);
	font-size: var(--fs-small);
}

.footer-menu,
.footer-contact,
.footer-social {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-social {
	margin-top: var(--s-5);
	grid-auto-flow: column;
	justify-content: start;
	gap: var(--s-5);
	color: var(--mist);
	font-size: var(--fs-small);
}

.site-footer__locations {
	display: grid;
	gap: var(--s-6);
}

.footer-location address {
	color: var(--mist);
	font-size: var(--fs-small);
	line-height: 1.55;
}

.footer-location__map {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.6rem;
	font-size: 0.8125rem;
}

.footer-location__map .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3) var(--s-6);
	justify-content: space-between;
	padding-top: var(--s-5);
	border-top: 1px solid var(--line-light);
	color: var(--mist);
	font-family: var(--font-alt);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__bottom p {
	margin: 0;
}

@media (min-width: 760px) {
	.site-footer__top {
		grid-template-columns: 1fr auto;
	}
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.site-footer__brand {
		grid-column: 1 / -1;
	}
	.site-footer__locations {
		grid-column: 1 / -1;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 0.8fr 1fr;
	}
	.site-footer__brand {
		grid-column: auto;
	}
	.site-footer__locations {
		padding-top: var(--s-5);
		border-top: 1px solid var(--line-light);
	}
}

/* 09 - Motion: reveals ----------------------------------------------------
   Enabled only when JS runs and the visitor has not asked for reduced motion
   (html.can-reveal is set by a tiny inline script in <head>, with a failsafe). */

.can-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.can-reveal [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* Images fade and settle in. No clip-path on the observed element: Chromium measures
   IntersectionObserver targets by their clipped visual rect, so a fully clipped container
   would never report as visible (and its lazy images would never load). */
.can-reveal [data-reveal-img] img {
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1.1s var(--ease), transform 1.6s var(--ease);
}

.can-reveal [data-reveal-img].is-in img {
	opacity: 1;
	transform: none;
}

.can-reveal .spec-list__item:nth-child(2),
.can-reveal .why__item:nth-child(2),
.can-reveal .ind-row:nth-child(2) { transition-delay: 60ms; }
.can-reveal .spec-list__item:nth-child(3),
.can-reveal .why__item:nth-child(3),
.can-reveal .ind-row:nth-child(3) { transition-delay: 120ms; }
.can-reveal .spec-list__item:nth-child(4),
.can-reveal .why__item:nth-child(4),
.can-reveal .ind-row:nth-child(4) { transition-delay: 180ms; }
.can-reveal .spec-list__item:nth-child(5),
.can-reveal .ind-row:nth-child(5) { transition-delay: 240ms; }
.can-reveal .spec-list__item:nth-child(6),
.can-reveal .ind-row:nth-child(6) { transition-delay: 300ms; }
.can-reveal .spec-list__item:nth-child(n+7) { transition-delay: 340ms; }

.can-reveal [data-hero-in] {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.can-reveal.is-loaded [data-hero-in] {
	opacity: 1;
	transform: none;
}

.can-reveal.is-loaded [data-hero-in]:nth-child(2) { transition-delay: 90ms; }
.can-reveal.is-loaded [data-hero-in]:nth-child(3) { transition-delay: 180ms; }
.can-reveal.is-loaded [data-hero-in]:nth-child(4) { transition-delay: 270ms; }

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

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
}

.hero--page {
	min-height: 76vh;
	min-height: 76svh;
}

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

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 60%;
}

.can-reveal .hero__media {
	transform: scale(1.06);
	transition: transform 2.4s var(--ease);
}

.can-reveal.is-loaded .hero__media {
	transform: none;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 8, 8, 0.66) 0%, rgba(8, 8, 8, 0.3) 45%, rgba(8, 8, 8, 0) 72%),
		linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0) 24%),
		linear-gradient(0deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.5) 40%, rgba(8, 8, 8, 0) 72%);
}

.hero__content {
	padding-top: calc(var(--header-h) + var(--s-7));
	padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.hero__crumbs .breadcrumbs ol {
	margin-bottom: var(--s-6);
	color: rgba(255, 255, 255, 0.72);
}

.hero .breadcrumbs [aria-current] {
	color: var(--white);
}

.hero__eyebrow {
	color: rgba(255, 255, 255, 0.8);
}

.hero__eyebrow::before {
	content: "";
	flex: none;
	align-self: center;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--accent);
}

.hero__title {
	max-width: 13.5ch;
	margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.hero--page .hero__title {
	max-width: 17ch;
}

.hero__row {
	display: grid;
	gap: var(--s-6);
	align-items: end;
}

.hero__text {
	max-width: 34rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--fs-lead);
	line-height: 1.45;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
}

.hero__strip {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--s-5);
	padding-block: var(--s-4) var(--s-5);
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--font-alt);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero__strip::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	height: 1px;
	background: var(--line-light);
}

.hero__stages {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 0.4rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero__stages span {
	margin-right: 0.35em;
	color: var(--accent);
}

.hero__caption {
	display: none;
	margin: 0;
	text-align: right;
}

@media (min-width: 768px) {
	.hero__stages {
		display: flex;
		gap: clamp(1.25rem, 3vw, 3rem);
	}
	.hero__caption {
		display: block;
	}
}

@media (min-width: 900px) {
	.hero__row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--s-8);
	}
}

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

.idea__grid {
	display: grid;
	gap: var(--s-5) var(--gap);
}

.idea__title {
	max-width: 15ch;
}

.idea__text {
	max-width: 36rem;
	color: var(--stone);
}

.chain {
	display: grid;
	margin: clamp(2.5rem, 2rem + 2.5vw, 4.5rem) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-strong);
}

.chain__step {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: var(--s-4);
	padding: var(--s-4) 0;
	border-bottom: 1px solid var(--line);
}

.chain__name {
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.chain__step:last-child::after {
	content: "";
	align-self: center;
	width: 0.55rem;
	height: 0.55rem;
	margin-left: auto;
	background: var(--accent);
}

@media (min-width: 1024px) {
	.idea__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.idea__title {
		grid-column: 1 / span 9;
	}
	.idea__text {
		grid-column: 7 / span 6;
		margin-top: var(--s-3);
	}
	.chain {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		border-bottom: 1px solid var(--line-strong);
	}
	.chain__step {
		flex-direction: column;
		gap: var(--s-4);
		padding: var(--s-4) var(--s-5) var(--s-4) 0;
		border-bottom: 0;
	}
	.chain__step + .chain__step {
		padding-left: var(--s-5);
		border-left: 1px solid var(--line);
	}
	.chain__step:not(:last-child)::before {
		content: "→";
		position: absolute;
		top: calc(var(--s-4) + 0.35rem);
		right: -0.6em;
		z-index: 1;
		padding: 0 0.15em;
		background: var(--paper);
		color: var(--stone);
		font-size: 0.9rem;
		line-height: 1;
	}
	.chain__step:last-child::after {
		position: absolute;
		top: calc(var(--s-4) + 0.5rem);
		right: 0;
	}
}

/* 12 - Four stages (dark, sticky storytelling) --------------------------- */

.stages__body {
	display: grid;
	gap: var(--gap);
}

.stages__media {
	display: none;
}

.stage {
	padding-block: var(--s-6);
	border-top: 1px solid var(--line-light);
}

.stage__img-mobile {
	aspect-ratio: 4 / 3;
	margin-bottom: var(--s-6);
	overflow: hidden;
	background: var(--ink-2);
}

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

.stage__num {
	margin: 0 0 var(--s-4);
	color: var(--accent);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
}

.stage__title {
	margin-bottom: var(--s-4);
	font-size: var(--fs-h2);
	font-stretch: 104%;
	letter-spacing: -0.045em;
	line-height: 0.92;
}

.stage__name {
	margin: var(--s-4) 0 var(--s-5);
	color: var(--mist);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.stage__text {
	max-width: 28rem;
	font-size: var(--fs-lead);
	line-height: 1.45;
}

.stage__items {
	max-width: 34rem;
	margin: var(--s-6) 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-light);
}

.stage__items li {
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--line-light);
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--fs-small);
}

.stage__exec {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem var(--s-4);
	margin: 0;
	font-size: var(--fs-small);
}

.stage__exec .label {
	margin: 0;
}

.stages__list > .link-arrow {
	margin-top: var(--s-7);
}

@media (min-width: 1024px) {
	.stages__body {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.stages__media {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
		display: block;
		grid-column: 1 / span 6;
		align-self: start;
		height: min(calc(100vh - var(--header-h) - 3rem), 56rem);
	}
	.stages__frame {
		position: relative;
		height: calc(100% - 3.5rem);
		overflow: hidden;
		background: var(--ink-2);
	}
	.stages__img {
		position: absolute;
		inset: 0;
		opacity: 0;
		transform: scale(1.05);
		transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
	}
	.stages__img.is-active {
		opacity: 1;
		transform: none;
	}
	.stages__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.stages__progress {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		align-items: end;
		height: 3.5rem;
		margin: 0;
		padding: 0;
		list-style: none;
		color: var(--mist);
		font-family: var(--font-alt);
		font-size: 0.6875rem;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}
	.stages__progress li {
		position: relative;
		padding-top: 0.9rem;
		border-top: 1px solid var(--line-light);
		transition: color var(--t) var(--ease);
	}
	.stages__progress li::before {
		content: "";
		position: absolute;
		top: -1px;
		left: 0;
		width: 0;
		height: 1px;
		background: var(--accent);
		transition: width 0.8s var(--ease);
	}
	.stages__progress li.is-active {
		color: var(--white);
	}
	.stages__progress li.is-active::before {
		width: 100%;
	}
	.stages__progress span {
		margin-right: 0.5em;
		color: var(--accent);
	}
	.stages__list {
		grid-column: 8 / span 5;
	}
	.stage {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 62vh;
		padding-block: var(--s-7);
		border-top: 0;
	}
	.stage + .stage {
		border-top: 1px solid var(--line-light);
	}
	.stage__img-mobile {
		display: none;
	}
}

/* 13 - RVI feature ------------------------------------------------------- */

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

.rvi__feature {
	position: relative;
}

.rvi__feature-media {
	height: clamp(20rem, 66vh, 44rem);
	overflow: hidden;
	background: var(--ink);
}

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

.caption--overlay {
	position: absolute;
	right: var(--gutter);
	bottom: calc(var(--s-5) + clamp(3rem, 7vw, 7rem));
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.rvi__panel {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--s-5) var(--gap);
	margin-top: calc(-1 * clamp(3rem, 7vw, 7rem));
	padding: clamp(1.75rem, 1rem + 3vw, 4.5rem) clamp(1.25rem, 0.5rem + 3vw, 4.5rem) 0;
	background: var(--white);
}

.rvi__panel .label {
	margin-bottom: 0;
}

.rvi__title {
	max-width: 9ch;
}

.rvi__intro {
	max-width: 32rem;
}

.rvi__intro .lead {
	margin-bottom: var(--s-5);
	color: var(--stone);
}

.rvi__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
	margin-top: clamp(2.5rem, 1.75rem + 2.5vw, 4.5rem);
}

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

.spec-list__item {
	display: flex;
	align-items: baseline;
	gap: var(--s-5);
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--line);
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem);
	font-weight: 500;
	letter-spacing: -0.012em;
	line-height: 1.25;
}

.spec-list__num {
	flex: none;
	min-width: 3.25rem;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	font-weight: 500;
	letter-spacing: 0.08em;
}

.spec-list--plain .spec-list__item {
	font-size: 1.0625rem;
}

.section--ink .spec-list {
	border-top-color: var(--line-light-strong);
}

.section--ink .spec-list__item {
	border-bottom-color: var(--line-light);
}

.section--ink .spec-list__num {
	color: var(--accent);
}

.rvi__details-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-3);
	align-items: start;
}

.rvi__detail {
	aspect-ratio: 3 / 4.3;
	overflow: hidden;
	background: #e4e1da;
}

.rvi__detail:nth-child(2) {
	margin-top: 18%;
}

.rvi__detail:nth-child(3) {
	margin-top: 36%;
}

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

@media (min-width: 1024px) {
	.rvi__panel {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: end;
		width: 88%;
	}
	.rvi__panel .label {
		grid-column: 1 / -1;
	}
	.rvi__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.rvi__apps {
		grid-column: 1 / span 5;
	}
	.rvi__details {
		grid-column: 7 / -1;
	}
}

/* 14 - Industries (large-type rows with hover image) --------------------- */

.industries {
	position: relative;
	overflow: hidden;
}

.ind-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-strong);
}

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

.ind-row__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--s-3) var(--s-4);
	padding: clamp(0.8rem, 0.5rem + 1vw, 1.4rem) 0;
	text-decoration: none;
}

.ind-row__num {
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.08em;
}

.ind-row__name {
	font-size: clamp(1.9rem, 0.9rem + 4.2vw, 5.25rem);
	font-weight: 600;
	font-stretch: 104%;
	letter-spacing: -0.045em;
	line-height: 0.95;
	transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}

.ind-row__intro,
.ind-row__arrow {
	display: none;
}

.ind-row__thumb {
	width: 4.25rem;
	height: 4.25rem;
	overflow: hidden;
	background: #e4e1da;
}

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

.ind-float {
	display: none;
}

@media (min-width: 900px) {
	.ind-row__link {
		grid-template-columns: minmax(0, 1fr) minmax(0, 20rem) 3rem;
	}
	.ind-row__intro {
		display: block;
		color: var(--stone);
		font-size: var(--fs-small);
		line-height: 1.5;
	}
	.ind-row__thumb {
		display: none;
	}
	.ind-row__arrow {
		display: flex;
		justify-content: flex-end;
	}
	.ind-row__arrow .icon {
		width: 1.75rem;
		height: 1.75rem;
		transition: transform var(--t) var(--ease);
	}
	.ind-row__link:hover .ind-row__name,
	.ind-row__link:focus-visible .ind-row__name {
		transform: translateX(1.25rem);
	}
	.ind-row__link:hover .ind-row__arrow .icon {
		transform: translateX(0.4rem);
	}
	.industries.is-hovering .ind-row__link:not(:hover) .ind-row__name {
		color: rgba(14, 14, 14, 0.24);
	}
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
	.ind-float {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
		display: block;
		width: 17rem;
		aspect-ratio: 4 / 5;
		margin: -12rem 0 0 3rem;
		pointer-events: none;
		opacity: 0;
		transition: opacity var(--t) var(--ease);
	}
	.industries.is-hovering .ind-float {
		opacity: 1;
	}
	.ind-float__img {
		position: absolute;
		inset: 0;
		overflow: hidden;
		opacity: 0;
		transition: opacity 0.35s var(--ease);
	}
	.ind-float__img.is-active {
		opacity: 1;
	}
	.ind-float__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

/* 15 - Project cards & editorial work grid ------------------------------- */

.card__link {
	display: block;
	text-decoration: none;
}

.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e4e1da;
}

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

.card__link:hover .card__media img {
	transform: scale(1.04);
}

.card__body {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.35rem var(--s-5);
	padding-top: var(--s-4);
}

.card__title {
	display: inline-block;
	margin-top: var(--s-4);
	padding-bottom: 2px;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
	font-size: clamp(1.15rem, 1rem + 0.55vw, 1.5rem);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.2;
	transition: background-size var(--t) var(--ease);
}

.card__link:hover .card__title,
.card__link:focus-visible .card__title {
	background-size: 100% 1px;
}

.card__meta {
	margin: 0;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.card__excerpt {
	flex-basis: 100%;
	max-width: 38rem;
	margin: 0.25rem 0 0;
	color: var(--stone);
	font-size: var(--fs-small);
}

.work-grid {
	display: grid;
	gap: clamp(2.5rem, 2rem + 2vw, 4.5rem) var(--gap);
}

@media (min-width: 768px) {
	.work-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: start;
	}
	.work-grid__item:nth-child(6n + 1) { grid-column: 1 / span 8; }
	.work-grid__item:nth-child(6n + 1) .card__media { aspect-ratio: 16 / 10; }
	.work-grid__item:nth-child(6n + 2) { grid-column: 9 / span 4; margin-top: 10%; }
	.work-grid__item:nth-child(6n + 2) .card__media { aspect-ratio: 3 / 4; }
	.work-grid__item:nth-child(6n + 3) { grid-column: 1 / span 5; }
	.work-grid__item:nth-child(6n + 3) .card__media { aspect-ratio: 4 / 5; }
	.work-grid__item:nth-child(6n + 4) { grid-column: 6 / span 7; margin-top: 6%; }
	.work-grid__item:nth-child(6n + 4) .card__media { aspect-ratio: 3 / 2; }
	.work-grid__item:nth-child(6n + 5) { grid-column: 2 / span 7; }
	.work-grid__item:nth-child(6n + 5) .card__media { aspect-ratio: 16 / 9; }
	.work-grid__item:nth-child(6n) { grid-column: 9 / span 4; margin-top: 6%; }
	.work-grid__item:nth-child(6n) .card__media { aspect-ratio: 4 / 5; }
}

/* 16 - Engineered for the real world (dark, technical) ------------------- */

.eng__title {
	margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

.eng__title {
	max-width: 12ch;
}

.eng__grid {
	display: grid;
	gap: var(--s-7) var(--gap);
}

.eng__main {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ink-2);
}

.eng__main img,
.eng__detail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eng__text {
	max-width: 34rem;
	margin-bottom: var(--s-6);
	color: rgba(255, 255, 255, 0.86);
}

.spec-sheet {
	margin: 0;
	border-top: 1px solid var(--line-light-strong);
}

.spec-sheet__row {
	display: grid;
	grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
	gap: var(--s-4);
	padding: var(--s-4) 0;
	border-bottom: 1px solid var(--line-light);
}

.spec-sheet dt {
	padding-top: 0.2rem;
	color: var(--accent);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.spec-sheet dd {
	margin: 0;
}

.spec-sheet ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-small);
	line-height: 1.5;
}

.spec-sheet li:not(:last-child)::after {
	content: "/";
	margin-left: 0.55rem;
	color: var(--mist);
}

.eng__detail {
	aspect-ratio: 16 / 10;
	margin-top: var(--s-6);
	overflow: hidden;
	background: var(--ink-2);
}

.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0 0;
	border-top: 1px solid var(--line-light-strong);
}

.fact {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: var(--s-3);
	padding: var(--s-5) var(--s-4) var(--s-5) 0;
	border-bottom: 1px solid var(--line-light);
}

.fact:nth-child(even) {
	padding-left: var(--s-4);
	border-left: 1px solid var(--line-light);
}

.fact__value {
	margin: 0;
	font-size: clamp(1.5rem, 1.05rem + 2vw, 3.25rem);
	font-weight: 600;
	font-stretch: 104%;
	letter-spacing: -0.035em;
	line-height: 1;
}

.fact__label {
	color: var(--mist);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (min-width: 900px) {
	.facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.fact {
		border-bottom: 0;
	}
	.fact + .fact {
		padding-left: var(--s-5);
		border-left: 1px solid var(--line-light);
	}
}

@media (min-width: 1024px) {
	.eng__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.eng__grid {
		align-items: stretch;
	}
	/* Both columns end together: the photo fills the row, whose height is set by the
	   side column (text, specification, detail image) or the photo's minimum. */
	.eng__main {
		position: relative;
		grid-column: 1 / span 6;
		aspect-ratio: auto;
		min-height: 32rem;
	}
	.eng__main img {
		position: absolute;
		inset: 0;
	}
	/* Side column matches the photo's height; the detail image fills what is left. */
	.eng__side {
		display: flex;
		flex-direction: column;
		grid-column: 8 / span 5;
	}
	.eng__detail {
		position: relative;
		flex: 1 1 0;
		min-height: 14rem;
		aspect-ratio: auto;
	}
	.eng__detail img {
		position: absolute;
		inset: 0;
	}
}

/* 17 - Why IndiSign ------------------------------------------------------ */

.why__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.why__text {
	max-width: 28rem;
	margin-top: var(--s-5);
	color: var(--stone);
}

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

.why__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem var(--s-4);
	padding: var(--s-5) 0;
	border-bottom: 1px solid var(--line);
}

.why__num {
	grid-row: span 2;
	padding-top: 0.55rem;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
}

.why__title {
	font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem);
	font-stretch: 104%;
	letter-spacing: -0.038em;
	line-height: 1;
}

.why__item p {
	grid-column: 1;
	max-width: 32rem;
	margin: 0.5rem 0 0;
	color: var(--stone);
}

@media (min-width: 1024px) {
	.why__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.why__intro {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
		grid-column: 1 / span 4;
		align-self: start;
	}
	.why__list {
		grid-column: 6 / -1;
	}
	.why__item {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: baseline;
	}
	.why__num {
		grid-row: auto;
	}
	.why__item p {
		grid-column: 2;
		margin: 0;
	}
}

/* 18 - Clientele --------------------------------------------------------- */

.clients__head {
	display: grid;
	gap: var(--s-4) var(--gap);
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.clients__head .label {
	margin-bottom: 0;
}

.clients__title {
	max-width: 18ch;
}

.clients__text {
	max-width: 28rem;
	margin: 0;
	color: var(--stone);
}

.logo-wall {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.logo-wall__item {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	padding: clamp(1rem, 0.5rem + 2vw, 2.25rem);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.logo-wall__item a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.logo-wall__img {
	width: auto;
	max-width: 72%;
	max-height: 4.75rem;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.85;
	mix-blend-mode: multiply;
	transition: filter var(--t) var(--ease), opacity var(--t) var(--ease);
}

.logo-wall__item:hover .logo-wall__img {
	filter: none;
	opacity: 1;
}

.logo-wall__name {
	color: var(--stone);
	font-weight: 500;
}

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

@media (min-width: 900px) {
	.clients__head {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		align-items: end;
	}
	.clients__head .label {
		grid-column: 1 / -1;
	}
	.clients__text {
		justify-self: end;
	}
}

@media (min-width: 1024px) {
	.logo-wall {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* 19 - Closing CTA ------------------------------------------------------- */

.cta {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(28rem, 72vh, 46rem);
	padding-block: var(--section) clamp(3rem, 2rem + 3vw, 5rem);
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
}

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

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

.cta__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.55) 45%, rgba(8, 8, 8, 0.3) 100%);
}

.cta__title {
	max-width: 11ch;
	margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.cta__row {
	display: grid;
	gap: var(--s-6);
	align-items: end;
}

.cta__text {
	max-width: 30rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--fs-lead);
}

.cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
}

@media (min-width: 900px) {
	.cta__row {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

/* 20 - Page heads & breadcrumbs ----------------------------------------- */

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
	padding: 0;
	list-style: none;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.35rem;
	opacity: 0.6;
}

.breadcrumbs a {
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	color: var(--ink);
}

.page-head {
	padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
	background: var(--paper);
}

.page-head__grid {
	display: grid;
	gap: var(--s-5) var(--gap);
}

.page-head__label {
	margin-bottom: 0;
}

.page-head__title {
	max-width: 16ch;
}

.page-head__text {
	max-width: 36rem;
	color: var(--stone);
}

.page-head--about .page-head__title {
	max-width: 12ch;
}

.page-head--services .page-head__title {
	max-width: 13ch;
}

@media (min-width: 1024px) {
	.page-head__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.page-head__label,
	.page-head__aside {
		grid-column: 1 / -1;
	}
	.page-head__title {
		grid-column: 1 / span 10;
	}
	.page-head__text {
		grid-column: 7 / span 6;
		margin-top: var(--s-3);
	}
}

.facts-inline {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: var(--s-6) 0 0;
	border-top: 1px solid var(--line-strong);
}

.facts-inline div {
	padding: var(--s-4) var(--s-4) var(--s-4) 0;
	border-bottom: 1px solid var(--line);
}

.facts-inline div:nth-child(even) {
	padding-left: var(--s-4);
	border-left: 1px solid var(--line);
}

.facts-inline dt {
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.facts-inline dd {
	margin: 0.4rem 0 0;
	font-size: var(--fs-h3);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

@media (min-width: 900px) {
	.facts-inline {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.facts-inline div {
		border-bottom: 0;
	}
	.facts-inline div + div {
		padding-left: var(--s-5);
		border-left: 1px solid var(--line);
	}
}

.wide-figure__media {
	height: clamp(18rem, 60vh, 44rem);
	overflow: hidden;
	background: var(--ink);
}

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

/* 21 - Process strip ----------------------------------------------------- */

.process {
	container: process / inline-size;
	margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

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

.process__step {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	padding: var(--s-4) var(--s-4) var(--s-4) 0;
	border-bottom: 1px solid var(--line);
	color: var(--stone);
}

.process__step:nth-child(even) {
	padding-left: var(--s-4);
	border-left: 1px solid var(--line);
}

.process__step.is-on {
	color: var(--ink);
}

.process__num {
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
}

.process__step.is-on .process__num {
	color: var(--accent-deep);
}

.process__name {
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
	font-weight: 500;
	letter-spacing: -0.01em;
}

.process--dark .process__list,
.section--ink .process__list {
	border-top-color: var(--line-light-strong);
}

.section--ink .process__step {
	border-color: var(--line-light);
	color: var(--mist);
}

.section--ink .process__step.is-on {
	color: var(--white);
}

.section--ink .process__step.is-on .process__num {
	color: var(--accent);
}

/* Four columns only when the strip itself is wide enough (it also sits in narrow columns). */
@container process (min-width: 44rem) {
	.process__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		border-bottom: 1px solid var(--line-strong);
	}
	.process__step {
		border-bottom: 0;
	}
	.process__step + .process__step {
		padding-left: var(--s-5);
		border-left: 1px solid var(--line);
	}
	.process__step:not(:last-child)::after {
		content: "→";
		margin-left: auto;
		color: var(--stone);
	}
}

/* 22 - Work page (every project on one page) ------------------------------ */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
}

.filter {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--line-strong);
	background: transparent;
	font-family: var(--font-alt);
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.filter:hover {
	border-color: var(--ink);
}

.filter.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.work-list {
	padding-bottom: var(--section);
	background: var(--paper);
}

.work-list__items {
	display: grid;
	gap: clamp(2.75rem, 2rem + 3vw, 5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.work-item {
	display: grid;
	gap: var(--s-5) var(--gap);
	padding-top: clamp(1.25rem, 1rem + 1vw, 2rem);
	border-top: 1px solid var(--line-strong);
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.work-item__media {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-3);
	align-content: start;
}

.work-item__main,
.work-item__thumb {
	display: block;
	overflow: hidden;
	background: #e4e1da;
	cursor: zoom-in;
}

.work-item__main {
	grid-column: 1 / -1;
}

.work-item__main img {
	width: 100%;
	height: auto;
	max-height: 78vh;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.work-item__thumb {
	aspect-ratio: 1;
}

.work-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.work-item__main:hover img,
.work-item__thumb:hover img {
	transform: scale(1.03);
}

.work-item__title {
	margin-bottom: var(--s-4);
}

.work-item__lead {
	max-width: 36rem;
	margin-bottom: var(--s-5);
	color: var(--stone);
}

.work-item__content {
	margin-bottom: var(--s-5);
}

.work-item__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--line);
}

.work-item__meta div {
	padding: 0.7rem 1rem 0.7rem 0;
	border-bottom: 1px solid var(--line);
}

.work-item__meta dt {
	margin-bottom: 0.15rem;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	font-weight: 500;
}

.work-item__meta dd {
	margin: 0;
	font-weight: 500;
}

.work-item__meta a {
	text-decoration-color: var(--line-strong);
}

.work-item .process {
	margin-top: var(--s-5);
}

.work-item__story {
	margin-top: var(--s-5);
	padding-top: var(--s-4);
	border-top: 1px solid var(--line);
}

.work-item__story summary {
	font-family: var(--font-alt);
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
}

.work-item__story h3 {
	margin: var(--s-4) 0 0.4rem;
	font-size: 1.125rem;
}

@media (min-width: 1024px) {
	.work-item {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: start;
	}
	.work-item__media {
		grid-column: 1 / span 7;
	}
	.work-item__body {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
		grid-column: 9 / span 4;
	}
	.work-item--alt .work-item__media {
		grid-column: 6 / span 7;
		grid-row: 1;
	}
	.work-item--alt .work-item__body {
		grid-column: 1 / span 4;
		grid-row: 1;
	}
}

.related-grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

@media (min-width: 768px) {
	.related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

/* 23 - Industries page (every industry on one page) ---------------------- */

.ind-jump {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	background: rgba(243, 241, 236, 0.95);
	border-block: 1px solid var(--line);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: top var(--t) var(--ease);
}

html:has(.site-header.is-hidden) .ind-jump {
	top: 0;
}

.ind-jump__list {
	display: flex;
	gap: 0 1.75rem;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.ind-jump__list::-webkit-scrollbar {
	display: none;
}

.ind-jump__list a {
	display: block;
	padding: 0.9rem 0;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.ind-jump__list a:hover {
	color: var(--ink);
}

.ind-section {
	padding-block: var(--section);
	background: var(--white);
	border-bottom: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 3rem);
}

.ind-section--alt {
	background: var(--paper);
}

.ind-section__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
	align-items: start;
}

.ind-section__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e4e1da;
}

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

.ind-section__name {
	margin-bottom: var(--s-3);
}

.ind-section__headline {
	max-width: 26ch;
	margin-bottom: var(--s-4);
}

.ind-section__overview {
	max-width: 36rem;
	margin-bottom: var(--s-5);
	color: var(--stone);
}

.ind-section__lists {
	display: grid;
	gap: var(--s-5) var(--gap);
	padding-top: var(--s-4);
	border-top: 1px solid var(--line);
}

.list-title {
	margin: 0 0 0.6rem;
	font-family: var(--font-alt);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0;
}

.plain-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.plain-list li {
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9375rem;
}

.ind-section__projects {
	margin-top: var(--s-5);
}

.ind-projects {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ind-projects a {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--s-4);
	text-decoration: none;
}

.ind-projects__thumb {
	width: 3.5rem;
	height: 3.5rem;
	overflow: hidden;
	background: #e4e1da;
}

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

.ind-projects__name {
	font-weight: 500;
}

.ind-projects a:hover .ind-projects__name {
	text-decoration: underline;
}

.ind-projects .icon {
	width: 1.1rem;
	height: 1.1rem;
}

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

@media (min-width: 1024px) {
	.ind-section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.ind-section__media {
		position: sticky;
		top: calc(var(--header-h) + 4.5rem);
		grid-column: 1 / span 6;
	}
	.ind-section__body {
		grid-column: 8 / -1;
	}
	.ind-section--alt .ind-section__media {
		grid-column: 7 / -1;
		grid-row: 1;
	}
	.ind-section--alt .ind-section__body {
		grid-column: 1 / span 5;
		grid-row: 1;
	}
}

/* Small shared pieces introduced with the simplified layouts. */

.process__label {
	margin: 0 0 0.75rem;
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	font-weight: 500;
}

.section--ink .process__label {
	color: var(--mist);
}

.stage__exec strong {
	font-weight: 500;
}

.inputs__title {
	margin: 0;
	font-size: var(--fs-h3);
	font-weight: 500;
	letter-spacing: -0.015em;
}

.vm__title {
	margin: 0 0 var(--s-4);
	color: var(--accent);
	font-family: var(--font-alt);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.values__heading {
	margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.mfg__location-title {
	margin: 0 0 0.4rem;
	font-family: var(--font-alt);
	font-size: 0.9375rem;
	font-weight: 500;
}

.specialisms__title,
.apps__heading {
	margin-bottom: clamp(1.75rem, 1.25rem + 1.8vw, 3rem);
}

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

.story__grid {
	display: grid;
	gap: var(--s-5) var(--gap);
}

.story__title {
	max-width: 16ch;
}

.story__text {
	font-size: var(--fs-lead);
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.story__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.story__grid {
		align-items: start;
	}
	.story__title {
		grid-column: 1 / span 6;
	}
	.story__text {
		grid-column: 7 / -1;
	}
}

.vm__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.vm__item {
	padding-top: var(--s-5);
	border-top: 1px solid var(--line-light-strong);
}

.vm__text {
	margin: 0;
	font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.25rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-wrap: pretty;
}

@media (min-width: 900px) {
	.vm__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

.values__item {
	display: grid;
	align-items: baseline;
	gap: var(--s-3) var(--gap);
	padding: clamp(1.25rem, 0.9rem + 1.4vw, 2.25rem) 0;
	border-bottom: 1px solid var(--line);
}

.values__num {
	color: var(--accent-deep);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
}

.values__title {
	font-size: clamp(2rem, 1rem + 3.6vw, 4.75rem);
}

.values__text {
	max-width: 26rem;
	margin: 0;
	color: var(--stone);
}

@media (min-width: 1024px) {
	.values__item {
		grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
	}
}

.capability__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.capability__grid .lead {
	max-width: 34rem;
	margin: var(--s-5) 0;
	color: var(--stone);
}

.team .h3 {
	margin-bottom: var(--s-4);
}

.team p {
	color: var(--stone);
}

.team__list {
	margin: var(--s-5) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-strong);
}

.team__list li {
	display: flex;
	align-items: baseline;
	gap: var(--s-5);
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.25rem;
	font-weight: 500;
}

@media (min-width: 1024px) {
	.capability__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.capability__grid > :first-child {
		grid-column: 1 / span 6;
	}
	.team {
		grid-column: 8 / -1;
	}
}

.mfg__grid {
	display: grid;
	gap: var(--s-7) var(--gap);
}

.mfg__main {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ink-2);
}

.mfg__main img,
.mfg__detail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mfg__text .lead {
	margin: var(--s-5) 0 var(--s-7);
	color: rgba(255, 255, 255, 0.86);
}

.mfg__locations {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-5);
	padding-top: var(--s-5);
	border-top: 1px solid var(--line-light-strong);
}

.mfg__location .label {
	margin-bottom: var(--s-3);
}

.mfg__location address {
	color: var(--mist);
	font-size: var(--fs-small);
}

.mfg__detail {
	width: 56%;
	aspect-ratio: 3 / 4;
	margin-top: var(--s-7);
	overflow: hidden;
	background: var(--ink-2);
}

@media (min-width: 1024px) {
	.mfg__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.mfg__main {
		grid-column: 1 / span 6;
	}
	.mfg__text {
		grid-column: 8 / -1;
	}
}

/* 25 - Capabilities (services) ----------------------------------------- */

.inputs__grid {
	display: grid;
	gap: var(--s-5) var(--gap);
}

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

.inputs__list li {
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
	padding: var(--s-4) var(--s-4) var(--s-5) 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-h3);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.inputs__list li:nth-child(even) {
	padding-left: var(--s-4);
	border-left: 1px solid var(--line);
}

@media (min-width: 1024px) {
	.inputs__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.inputs__title {
		grid-column: 1 / span 3;
		padding-top: 1rem;
	}
	.inputs__list {
		grid-column: 4 / -1;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		border-bottom: 1px solid var(--line-strong);
	}
	.inputs__list li {
		border-bottom: 0;
	}
	.inputs__list li + li {
		padding-left: var(--s-5);
		border-left: 1px solid var(--line);
	}
}

.svc__rail {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	background: rgba(243, 241, 236, 0.95);
	border-block: 1px solid var(--line);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: top var(--t) var(--ease);
}

html:has(.site-header.is-hidden) .svc__rail {
	top: 0;
}

.svc__rail-list {
	display: flex;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.svc__rail-list::-webkit-scrollbar {
	display: none;
}

.svc__rail-list li {
	flex: 1 0 auto;
}

.svc__rail-list a {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	padding: 1rem 1.5rem 1rem 0;
	color: var(--stone);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.svc__rail-list a span {
	font-family: var(--font-alt);
	font-size: 0.6875rem;
}

.svc__rail-list a.is-active,
.svc__rail-list a:hover {
	color: var(--ink);
}

.svc__rail-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 1.5rem;
	bottom: -1px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--t) var(--ease);
}

.svc__rail-list a.is-active::after {
	transform: scaleX(1);
}

.svc-stage {
	padding-block: var(--section);
	background: var(--white);
	border-bottom: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 3.5rem);
}

.svc-stage--alt {
	background: var(--paper);
}

.svc-stage__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.svc-stage__num {
	margin: 0 0 var(--s-4);
	color: transparent;
	font-size: clamp(3.5rem, 2rem + 7vw, 8.5rem);
	font-weight: 600;
	font-stretch: 104%;
	letter-spacing: -0.06em;
	line-height: 0.8;
	-webkit-text-stroke: 1px var(--ink);
}

.svc-stage__title {
	max-width: 14ch;
	margin-bottom: var(--s-5);
}

.svc-stage__purpose {
	max-width: 28rem;
	color: var(--stone);
}

.svc-stage__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e4e1da;
}

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

.svc-stage__body .prose {
	margin-bottom: var(--s-6);
}

.svc-stage__body .stage__exec {
	margin-top: var(--s-5);
}

@media (min-width: 1024px) {
	.svc-stage__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-rows: auto 1fr;
	}
	.svc-stage__head,
	.svc-stage__body {
		grid-column: 1 / span 5;
	}
	.svc-stage__media {
		grid-column: 7 / -1;
		grid-row: 1 / span 2;
		aspect-ratio: 4 / 5;
		position: sticky;
		top: calc(var(--header-h) + 5rem);
	}
	.svc-stage--alt .svc-stage__head,
	.svc-stage--alt .svc-stage__body {
		grid-column: 8 / -1;
	}
	.svc-stage--alt .svc-stage__media {
		grid-column: 1 / span 6;
	}
}

.solve__list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-light-strong);
}

.solve__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.4rem var(--s-4);
	padding: var(--s-5) 0;
	border-bottom: 1px solid var(--line-light);
}

.solve__num {
	grid-row: span 2;
	padding-top: 0.4rem;
	color: var(--accent);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
}

.solve__title {
	font-size: var(--fs-h3);
	font-weight: 500;
}

.solve__item p {
	grid-column: 1;
	margin: 0;
	color: var(--mist);
}

@media (min-width: 900px) {
	.solve__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--gap);
	}
}

.specialisms__grid {
	display: grid;
	gap: var(--gap);
	margin-top: var(--s-5);
}

.specialism {
	display: block;
	background: var(--paper);
	text-decoration: none;
}

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

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

.specialism:hover .specialism__media img {
	transform: scale(1.03);
}

.specialism__body {
	display: grid;
	gap: var(--s-4);
	padding: var(--s-6);
}

.specialism__body .label {
	margin: 0;
}

.specialism__body .link-arrow {
	justify-self: start;
}

@media (min-width: 900px) {
	.specialisms__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 26 - RVI & Infrastructure landing pages ------------------------------ */

.intro-split__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.intro-split__text {
	font-size: var(--fs-lead);
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.intro-split__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.intro-split__grid > h2 {
		grid-column: 1 / span 6;
	}
	.intro-split__text {
		grid-column: 8 / -1;
		padding-top: 1rem;
	}
}

.timeline {
	display: grid;
	margin: clamp(2.5rem, 2rem + 3vw, 5rem) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-strong);
}

.timeline__step {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.35rem var(--s-4);
	padding: var(--s-5) 0;
	border-bottom: 1px solid var(--line);
}

.timeline__num {
	grid-row: span 2;
	padding-top: 0.3rem;
	color: var(--accent-deep);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
}

.timeline__title {
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.timeline__step p {
	grid-column: 1;
	margin: 0;
	color: var(--stone);
	font-size: var(--fs-small);
}

@media (min-width: 1024px) {
	.timeline {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		border-bottom: 1px solid var(--line-strong);
	}
	.timeline__step {
		grid-template-columns: 1fr;
		align-content: start;
		gap: var(--s-5);
		padding: var(--s-5) var(--s-4) var(--s-6) 0;
		border-bottom: 0;
	}
	.timeline__step + .timeline__step {
		padding-left: var(--s-5);
		border-left: 1px solid var(--line);
	}
	.timeline__num {
		grid-row: auto;
	}
	.timeline__step p {
		grid-column: auto;
	}
	.timeline__step::before {
		content: "";
		position: absolute;
		top: -4px;
		left: 0;
		width: 7px;
		height: 7px;
		background: var(--ink);
	}
	.timeline__step + .timeline__step::before {
		left: -4px;
	}
}

.apps__list {
	display: grid;
	gap: var(--s-6) var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.apps__item {
	display: grid;
	align-content: start;
	gap: var(--s-4);
}

.apps__item:not(.has-image) {
	align-self: end;
}

.apps__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ink-2);
}

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

.apps__body {
	padding-top: var(--s-4);
	border-top: 1px solid var(--line-light-strong);
}

.apps__title {
	margin: 0.5rem 0;
	font-size: var(--fs-h3);
	font-weight: 500;
}

.apps__body p {
	margin: 0;
	color: var(--mist);
	font-size: var(--fs-small);
}

.apps__body .spec-list__num {
	color: var(--accent);
}

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

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

.energy__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
	align-items: center;
}

.energy__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

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

.energy__text .lead {
	margin-top: var(--s-5);
	color: var(--stone);
}

@media (min-width: 1024px) {
	.energy__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.energy__media {
		grid-column: 1 / span 7;
	}
	.energy__text {
		grid-column: 9 / span 4;
	}
}

.strip-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-3);
	margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.strip-gallery__item {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #e4e1da;
}

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

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

.journey__grid {
	display: grid;
	gap: var(--s-8) var(--gap);
}

.journey__text .lead {
	max-width: 34rem;
	margin-top: var(--s-5);
	color: var(--stone);
}

.journey__media {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--s-3);
	align-items: end;
}

.journey__a,
.journey__b {
	overflow: hidden;
	background: #e4e1da;
}

.journey__a {
	aspect-ratio: 9 / 16;
}

.journey__b {
	aspect-ratio: 4 / 3;
}

.journey__a img,
.journey__b img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.journey__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: center;
	}
	.journey__text {
		grid-column: 1 / span 6;
	}
	.journey__media {
		grid-column: 8 / -1;
	}
}

.factors__list {
	display: grid;
	gap: clamp(3rem, 2rem + 4vw, 6rem);
}

.factor {
	display: grid;
	gap: var(--s-5) var(--gap);
	align-items: center;
	padding-top: var(--s-6);
	border-top: 1px solid var(--line-light);
}

.factor__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ink-2);
}

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

.factor__num {
	display: block;
	margin-bottom: var(--s-4);
	color: var(--accent);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
}

.factor__title {
	margin-bottom: var(--s-4);
}

.factor .lead {
	max-width: 30rem;
	color: var(--mist);
}

@media (min-width: 1024px) {
	.factor {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.factor__media {
		grid-column: 1 / span 6;
	}
	.factor__body {
		grid-column: 8 / span 5;
	}
	.factor--alt .factor__media {
		grid-column: 7 / -1;
		grid-row: 1;
	}
	.factor--alt .factor__body {
		grid-column: 1 / span 5;
		grid-row: 1;
	}
}

.apps-plain__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

@media (min-width: 1024px) {
	.apps-plain__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.apps-plain__grid > h2 {
		grid-column: 1 / span 4;
	}
	.apps-plain__grid > .spec-list {
		grid-column: 6 / -1;
	}
}

/* 27 - Contact & enquiry form ------------------------------------------ */

.contact {
	padding-block: clamp(2rem, 1rem + 3vw, 4rem) var(--section);
}

.contact__grid {
	display: grid;
	gap: var(--s-7) var(--gap);
}

.contact__title {
	margin-bottom: var(--s-5);
}

.contact__lead {
	max-width: 34rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
	color: var(--stone);
}

.contact__form-title {
	margin-bottom: var(--s-5);
	padding-top: var(--s-5);
	border-top: 1px solid var(--line-strong);
}

@media (min-width: 1024px) {
	.contact__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
	.contact__main {
		grid-column: 1 / span 7;
	}
	.contact__aside {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
		grid-column: 9 / -1;
		align-self: start;
		padding-top: 1rem;
	}
}

.contact__direct {
	margin: 0 0 var(--s-7);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-strong);
}

.contact__direct li {
	display: grid;
	gap: 0.25rem;
	padding: var(--s-4) 0;
	border-bottom: 1px solid var(--line);
}

.contact__direct-label {
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact__direct-value {
	font-size: var(--fs-h3);
	font-weight: 500;
	letter-spacing: -0.015em;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact__direct-value:hover {
	text-decoration: underline;
}

.contact__locations {
	display: grid;
	gap: var(--s-6);
}

.contact__location-title {
	margin-bottom: 0.4rem;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0;
}

.contact__location address {
	margin-bottom: 0.5rem;
	color: var(--stone);
	font-size: var(--fs-small);
}

.enquiry__required {
	margin-bottom: var(--s-5);
	color: var(--stone);
	font-size: 0.8125rem;
}

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

.form-grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.field {
	display: grid;
	gap: 0.5rem;
	min-width: 0;
}

.field label,
.field legend {
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.6rem 0;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	background: transparent;
	font-size: 1.125rem;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.field textarea {
	min-height: 8rem;
	line-height: 1.5;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-bottom-color: var(--ink);
	box-shadow: 0 1px 0 0 var(--ink);
}

.field [aria-invalid="true"] {
	border-bottom-color: #b3261e;
}

.field__error {
	color: #b3261e;
	font-size: 0.875rem;
}

.select {
	position: relative;
}

.select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.select select {
	padding-right: 2rem;
	cursor: pointer;
}

.field--choices {
	margin: 0;
	padding: 0;
	border: 0;
}

.field--choices legend {
	margin-bottom: 0.75rem;
	padding: 0;
}

.choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.choice {
	position: relative;
}

.choice input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.choice span {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.55rem 1rem;
	border: 1px solid var(--line-strong);
	font-size: 0.9375rem;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.choice:hover span {
	border-color: var(--ink);
}

.choice input:checked + span {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.choice input:focus-visible + span {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

@media (min-width: 700px) {
	.form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.field--full {
		grid-column: 1 / -1;
	}
}

.enquiry__submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-4) var(--s-6);
	margin-top: var(--s-7);
}

.enquiry__note {
	margin: 0;
	color: var(--stone);
	font-size: 0.8125rem;
}

.enquiry__errors {
	margin-bottom: var(--s-6);
	padding: var(--s-5);
	border: 1px solid #b3261e;
	border-left-width: 3px;
	background: #fbf1ef;
}

.enquiry__errors ul {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
}

.enquiry__errors a {
	color: #8c1d18;
}

.enquiry__success {
	padding: var(--s-7) 0;
	border-top: 1px solid var(--line-strong);
}

.enquiry__success-text {
	max-width: 26ch;
	margin-bottom: var(--s-6);
	font-size: var(--fs-h3);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.enquiry__success:focus,
.enquiry__errors:focus {
	outline: none;
}

/* 28 - Generic templates ------------------------------------------------ */

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

.post-row__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.35rem var(--s-5);
	padding: var(--s-5) 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.post-row__meta {
	grid-column: 1 / -1;
	margin: 0;
}

.post-row__excerpt {
	grid-column: 1;
	margin: 0;
	color: var(--stone);
}

.post-row__arrow {
	grid-column: 2;
	grid-row: 2 / span 2;
	align-self: center;
}

.post-row__link:hover .post-row__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.empty {
	margin-bottom: var(--s-6);
	color: var(--stone);
	font-size: var(--fs-lead);
}

.page-figure {
	margin-bottom: var(--s-7);
}

.entry-content {
	margin-inline: auto;
}

.notfound {
	padding-block: calc(var(--section) * 1.1) var(--section);
}

.notfound .display {
	max-width: 12ch;
	margin-bottom: var(--s-5);
}

.notfound .lead {
	max-width: 30rem;
	color: var(--stone);
}

.notfound__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin: var(--s-7) 0;
}

.notfound__search {
	max-width: 28rem;
}

.search-form {
	display: flex;
	border-bottom: 1px solid var(--ink);
}

.search-form:focus-within {
	box-shadow: 0 1px 0 var(--ink);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 3rem;
	padding: 0.5rem 0;
	border: 0;
	background: transparent;
	font-size: 1.125rem;
}

.search-form__input:focus {
	outline: none;
}

.search-form__submit {
	padding: 0 0.5rem;
	border: 0;
	background: none;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-7);
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid var(--line-strong);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.post-navigation .nav-links {
	justify-content: space-between;
}

.post-navigation a {
	display: grid;
	gap: 0.25rem;
	text-decoration: none;
}

.comments {
	max-width: 44rem;
	margin-top: var(--s-8);
	padding-top: var(--s-6);
	border-top: 1px solid var(--line-strong);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--line-strong);
	background: var(--white);
}

.comment-form .submit {
	padding: 0.9rem 1.5rem;
	border: 0;
	background: var(--ink);
	color: var(--white);
	font-weight: 500;
}

.aligncenter {
	margin-inline: auto;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.wp-caption-text,
.wp-element-caption {
	margin-top: var(--s-3);
	color: var(--stone);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.06em;
}

.sticky,
.bypostauthor,
.gallery-caption {
	/* Required WordPress classes - no special styling needed. */
	outline: 0;
}

/* 29 - Lightbox --------------------------------------------------------- */

.lightbox {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: var(--s-6);
	border: 0;
	background: rgba(8, 8, 8, 0.97);
	color: var(--white);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox::backdrop {
	background: rgba(8, 8, 8, 0.9);
}

.lightbox__figure {
	display: grid;
	justify-items: center;
	gap: var(--s-3);
	max-width: 100%;
}

.lightbox__img {
	width: auto;
	max-width: min(90vw, 1600px);
	height: auto;
	max-height: 82vh;
	object-fit: contain;
}

.lightbox__count {
	color: var(--mist);
	font-family: var(--font-alt);
	font-size: var(--fs-meta);
	letter-spacing: 0.1em;
}

.lightbox__btn {
	position: fixed;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--line-light-strong);
	background: transparent;
	color: var(--white);
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.lightbox__btn:hover {
	background: var(--white);
	color: var(--ink);
}

.lightbox__btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

.lightbox__close {
	top: var(--s-5);
	right: var(--s-5);
}

.lightbox__prev,
.lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__prev {
	left: var(--s-5);
}

.lightbox__next {
	right: var(--s-5);
}

/* 30 - Utilities, reduced motion, print --------------------------------- */

[hidden] {
	display: none !important;
}

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

@media print {
	.site-header,
	.mobile-menu,
	.cta,
	.site-footer__top,
	.filters,
	.svc__rail {
		display: none !important;
	}
	body,
	.section--ink,
	.hero,
	.site-footer {
		background: #fff !important;
		color: #000 !important;
	}
	.hero {
		min-height: 0;
	}
	.hero__media,
	.hero__scrim {
		position: static;
	}
}

/* 31 - Sitemap ------------------------------------------------------------- */

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

.sitemap__grid {
	display: grid;
	gap: var(--s-6) var(--gap);
}

.sitemap__title {
	margin: 0 0 var(--s-3);
	font-family: var(--font-alt);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
}

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

.sitemap__list {
	border-top: 1px solid var(--line-strong);
}

.sitemap__list a {
	display: block;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.sitemap__list a:hover {
	text-decoration: underline;
}

.sitemap__list ul a {
	padding-left: 1.25rem;
	color: var(--stone);
	font-size: var(--fs-small);
}

.sitemap__xml {
	margin: var(--s-6) 0 0;
	color: var(--stone);
	font-size: var(--fs-small);
}

.site-footer__links {
	display: flex;
	gap: var(--s-5);
}

@media (min-width: 700px) {
	.sitemap__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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