/* ==========================================================================
   WAEL281 — design system
   Carbon/espresso base, warm ivory reading sections, copper as the only accent.
   ========================================================================== */

/* --- Fonts (local) ------------------------------------------------------- */
@font-face {
	font-family: 'Sora';
	src: url('../fonts/sora-latin.woff2') format('woff2');
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Sora';
	src: url('../fonts/sora-latin-ext.woff2') format('woff2');
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'InterVar';
	src: url('../fonts/inter-latin.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'InterVar';
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
	--carbon: #111210;
	--espresso: #211a16;
	--graphite: #2c2d2a;
	--copper: #b66d3d;
	--copper-lift: #cf8250;
	/* Copper is tuned for accent text on dark (4.69:1). White text on that same
	   copper only reaches 4.00:1, so buttons use a deeper shade that clears
	   WCAG AA, and darken further on hover. */
	--copper-btn: #a9622f;
	--copper-btn-hover: #985629;
	--sand: #d8c5af;
	--ivory: #f3efe8;
	--steel: #8d918d;

	--ink: var(--ivory);
	--ink-muted: #a8aca6;
	--ink-dark: #1a1613;
	--ink-dark-muted: #5c5a55;

	--line: rgba(216, 197, 175, 0.16);
	--line-strong: rgba(216, 197, 175, 0.3);
	--line-dark: rgba(33, 26, 22, 0.14);

	--font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'InterVar', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

	--step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
	--step-0: clamp(1rem, 0.96rem + 0.19vw, 1.11rem);
	--step-1: clamp(1.18rem, 1.1rem + 0.38vw, 1.44rem);
	--step-2: clamp(1.4rem, 1.25rem + 0.72vw, 1.9rem);
	--step-3: clamp(1.68rem, 1.4rem + 1.3vw, 2.6rem);
	--step-4: clamp(2rem, 1.5rem + 2.3vw, 3.6rem);
	--step-5: clamp(2.4rem, 1.6rem + 3.6vw, 5rem);

	--space-1: 0.5rem;
	--space-2: 0.875rem;
	--space-3: 1.35rem;
	--space-4: 2rem;
	--space-5: 3rem;
	--space-6: 4.5rem;
	--space-7: 6.5rem;

	--wrap: 78rem;
	--wrap-narrow: 46rem;
	--gutter: clamp(1.15rem, 4vw, 3rem);

	--radius-xs: 2px;
	--radius-sm: 4px;
	--radius-md: 8px;

	--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.25), 0 18px 46px -22px rgba(0, 0, 0, 0.75);
	--shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 60px -26px rgba(0, 0, 0, 0.85);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur: 320ms;
	--dur-slow: 720ms;

	--header-h: 74px;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* A class that sets `display` outranks the UA rule for [hidden], which silently
   revealed elements the templates had hidden. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--carbon);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.68;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.022em;
	margin: 0 0 var(--space-3);
	text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--copper); }
ul, ol { padding-left: 1.15em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-5) 0; }

:focus-visible {
	outline: 2px solid var(--copper-lift);
	outline-offset: 3px;
	border-radius: var(--radius-xs);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ivory);
	color: var(--ink-dark);
	padding: 0.8rem 1.2rem;
	font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

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

.section {
	padding-block: clamp(3.5rem, 8vw, var(--space-7));
	position: relative;
}
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--space-6)); }

.section--light { background: var(--ivory); color: var(--ink-dark); }
.section--light a { text-decoration-color: rgba(33, 26, 22, 0.25); }
.section--espresso { background: var(--espresso); }
.section--graphite { background: var(--graphite); }

/* Hairline separators between dark sections. */
.section--rule { border-top: 1px solid var(--line); }
.section--light + .section--light { border-top: 1px solid var(--line-dark); }

/* --- Typography helpers -------------------------------------------------- */
.eyebrow {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--copper);
	margin: 0 0 var(--space-2);
	display: flex;
	align-items: center;
	gap: 0.7rem;
}
.eyebrow::before {
	content: '';
	width: 1.6rem;
	height: 1px;
	background: currentColor;
	flex: none;
	opacity: 0.7;
}
.section--light .eyebrow { color: #8f5227; }

.section-head { max-width: 44rem; margin-bottom: var(--space-5); }
.section-head--wide { max-width: 56rem; }
.section-title { margin-bottom: var(--space-3); }
.section-intro {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--ink-muted);
	max-width: 38rem;
	margin: 0;
}
.section--light .section-intro { color: var(--ink-dark-muted); }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-muted); }
.section--light .lede { color: var(--ink-dark-muted); }

.muted { color: var(--ink-muted); }
.section--light .muted { color: var(--ink-dark-muted); }

.tech-label {
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel);
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.005em;
	line-height: 1;
	padding: 1.05rem 1.7rem;
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
		border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--sm { padding: 0.8rem 1.25rem; min-height: 42px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--copper-btn); color: #fff; }
.btn--primary:hover { background: var(--copper-btn-hover); transform: translateY(-1px); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--sand); background: rgba(216, 197, 175, 0.07); }
.section--light .btn--ghost { border-color: rgba(33, 26, 22, 0.22); color: var(--ink-dark); }
.section--light .btn--ghost:hover { border-color: var(--ink-dark); background: rgba(33, 26, 22, 0.04); }

.btn--solid { background: var(--ink-dark); color: var(--ivory); }
.btn--solid:hover { background: #000; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--copper);
}
.link-arrow::after {
	content: '→';
	transition: transform var(--dur) var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }
.section--light .link-arrow { color: #8f5227; }

/* --- Header -------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(17, 18, 16, 0.82);
	backdrop-filter: blur(14px) saturate(1.1);
	-webkit-backdrop-filter: blur(14px) saturate(1.1);
	border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) {
	.site-header { background: var(--carbon); }
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	min-height: var(--header-h);
}

.brandmark {
	display: inline-flex;
	align-items: baseline;
	gap: 0.06em;
	font-family: var(--font-display);
	font-size: 1.32rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--ivory);
	white-space: nowrap;
}
.brandmark__wael { letter-spacing: 0.05em; }
.brandmark__num {
	color: var(--copper);
	position: relative;
	padding-left: 0.34em;
	margin-left: 0.16em;
}
.brandmark__num::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.06em;
	bottom: 0.06em;
	width: 1px;
	background: var(--line-strong);
}
.brandmark img { max-height: 40px; width: auto; }
/* The wordmark is a primary tap target on mobile. */
.brandmark { min-height: 44px; align-items: center; }

.nav-primary ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-primary a {
	font-family: var(--font-display);
	font-size: 0.93rem;
	font-weight: 400;
	text-decoration: none;
	color: var(--ink-muted);
	padding-block: 0.5rem;
	transition: color var(--dur) var(--ease);
	position: relative;
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a { color: var(--ivory); }
.nav-primary li:not(.cta) > a::after {
	content: '';
	position: absolute;
	left: 0; right: 100%;
	bottom: 0.15rem;
	height: 1px;
	background: var(--copper);
	transition: right var(--dur) var(--ease);
}
.nav-primary li:not(.cta) > a:hover::after,
.nav-primary li.current-menu-item:not(.cta) > a::after { right: 0; }
.nav-primary .cta a { color: #fff; }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	color: var(--ivory);
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	position: relative;
	transition: background 160ms var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
	content: '';
	position: absolute;
	left: 0;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	transition: transform var(--dur) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Mobile overlay ------------------------------------------------------ */
/* Visibility is driven by the [hidden] attribute, never by a transition, so a
   dropped transitionend can never leave the menu stuck half-open. Only opacity
   and transform animate. */
.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	background: rgba(17, 18, 16, 0.98);
	opacity: 0;
	transform: translateY(-6px);
	padding-top: var(--header-h);
}
.nav-overlay[hidden] { display: none; }

/* Opening is a plain state change with no transition: if an animation frame
   never lands, the menu must still be fully visible rather than open-but-
   transparent. Only the closing direction fades. */
.nav-overlay.is-open { opacity: 1; transform: none; }
.nav-overlay:not(.is-open) {
	transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

@supports (backdrop-filter: blur(1px)) {
	.nav-overlay { background: rgba(17, 18, 16, 0.94); backdrop-filter: blur(18px); }
}

.nav-overlay__panel {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-4);
	flex: 1;
	min-height: 0;
	padding: var(--space-4) var(--gutter) calc(var(--space-4) + env(safe-area-inset-bottom));
	max-width: 34rem;
	width: 100%;
	margin-inline: auto;
}
.nav-overlay__nav { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.nav-overlay ul { list-style: none; margin: 0; padding: 0; }
.nav-overlay li + li { border-top: 1px solid var(--line); }
.nav-overlay a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0.7rem 0;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 5.5vw, 1.6rem);
	font-weight: 500;
	text-decoration: none;
	color: var(--ivory);
}
.nav-overlay .current-menu-item > a { color: var(--copper); }

.nav-overlay__foot {
	flex: none;
	display: grid;
	gap: var(--space-3);
	padding-top: var(--space-3);
	border-top: 1px solid var(--line);
}
.nav-overlay__contact {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	justify-content: center;
}
.nav-overlay__contact a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-size: 0.95rem;
	color: var(--ink-muted);
	text-decoration: none;
}

/* Scroll lock: position:fixed keeps iOS Safari from scrolling the page behind
   the overlay, and the offset preserves the reading position. */
body.nav-open {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--carbon);
	overflow: hidden;
	isolation: isolate;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.hero__media img,
.hero__media .w281-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: heroReveal 1.6s var(--ease) both;
}
/* Parallax offset written by JS; clamped so it can never expose an edge. */
.hero__media { transform: translate3d(0, var(--hero-shift, 0px), 0); will-change: transform; }
.hero__media img, .hero__media .w281-placeholder { transform-origin: 62% 50%; }

@keyframes heroReveal {
	from { transform: scale(1.06); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(17, 18, 16, 0.96) 0%, rgba(17, 18, 16, 0.86) 38%, rgba(17, 18, 16, 0.42) 68%, rgba(17, 18, 16, 0.62) 100%),
		linear-gradient(to top, rgba(17, 18, 16, 0.9), transparent 45%);
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
	min-height: clamp(30rem, 78vh, 46rem);
	padding-block: clamp(3.5rem, 10vh, 7rem);
}
.hero__content { max-width: 40rem; }
.hero h1 { margin-bottom: var(--space-3); }
.hero__text {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--sand);
	max-width: 34rem;
	margin-bottom: var(--space-4);
}
.hero__brands {
	margin-top: var(--space-5);
	padding-top: var(--space-3);
	border-top: 1px solid var(--line);
	font-size: var(--step--1);
	letter-spacing: 0.06em;
	color: var(--steel);
	max-width: 40rem;
}

/* Technical corner detail on the hero. */
.hero__index {
	position: absolute;
	right: var(--gutter);
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: rgba(216, 197, 175, 0.34);
	display: none;
}
@media (min-width: 1100px) { .hero__index { display: block; } }

/* --- Trust strip --------------------------------------------------------- */
.trust {
	background: var(--espresso);
	border-block: 1px solid var(--line);
}
.trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 0;
}
.trust__item {
	padding: var(--space-3) 0;
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}
.trust__num {
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	color: var(--copper);
	flex: none;
}
.trust__label {
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--ivory);
}
@media (min-width: 720px) {
	.trust__item { padding-inline: var(--space-3); border-left: 1px solid var(--line); }
	.trust__item:first-child { padding-left: 0; border-left: 0; }
}

/* --- Problem grid -------------------------------------------------------- */
.problems {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
	gap: 1px;
	background: var(--line-dark);
	border: 1px solid var(--line-dark);
}
.section:not(.section--light) .problems { background: var(--line); border-color: var(--line); }

.problem {
	background: var(--ivory);
	padding: var(--space-3) var(--space-3) var(--space-4);
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	text-decoration: none;
	color: inherit;
	position: relative;
	min-height: 9.5rem;
	transition: background var(--dur) var(--ease);
}
.section:not(.section--light) .problem { background: var(--espresso); }
.problem:hover { background: #fff; }
.section:not(.section--light) .problem:hover { background: #2a211b; }
.problem__index {
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	color: var(--steel);
}
.problem__title {
	font-family: var(--font-display);
	font-size: 1.06rem;
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
}
.problem__text { font-size: var(--step--1); color: var(--ink-dark-muted); margin: 0; }
.section:not(.section--light) .problem__text { color: var(--ink-muted); }
.problem::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 2px;
	background: var(--copper);
	transition: width var(--dur-slow) var(--ease);
}
.problem:hover::after { width: 100%; }

/* --- Split (image + text) ------------------------------------------------ */
.split {
	display: grid;
	gap: clamp(2rem, 5vw, var(--space-6));
	align-items: center;
}
@media (min-width: 900px) {
	.split { grid-template-columns: 1.05fr 0.95fr; }
	.split--reverse .split__media { order: 2; }
	/* Subtle asymmetry: the text column sits slightly higher. */
	.split__body { padding-block: var(--space-3); }
}
.split__media { position: relative; }
.split__media img,
.split__media .w281-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-sm);
}
.split__media--wide img,
.split__media--wide .w281-placeholder { aspect-ratio: 3 / 2; }

.spec-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 0; }
.spec-list li {
	display: flex;
	gap: var(--space-2);
	padding: 0.8rem 0;
	border-top: 1px solid var(--line);
	font-size: 0.97rem;
}
.section--light .spec-list li { border-color: var(--line-dark); }
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.section--light .spec-list li:last-child { border-color: var(--line-dark); }
.spec-list__key {
	flex: none;
	width: 2.2rem;
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	color: var(--copper);
	padding-top: 0.28rem;
}

/* --- Process ------------------------------------------------------------- */
.process { display: grid; gap: 0; counter-reset: step; }
.process__step {
	display: grid;
	grid-template-columns: 3.6rem minmax(0, 1fr);
	gap: var(--space-3);
	padding: var(--space-4) 0;
	border-top: 1px solid var(--line-dark);
	position: relative;
}
.section:not(.section--light) .process__step { border-color: var(--line); }
.process__step:last-child { border-bottom: 1px solid var(--line-dark); }
.section:not(.section--light) .process__step:last-child { border-color: var(--line); }
.process__num {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--copper);
	padding-top: 0.35rem;
}
.process__title { font-size: var(--step-2); margin: 0 0 0.5rem; }
.process__text { margin: 0; max-width: 34rem; color: var(--ink-dark-muted); }
.section:not(.section--light) .process__text { color: var(--ink-muted); }
@media (min-width: 800px) {
	.process__step { grid-template-columns: 5rem 14rem minmax(0, 1fr); align-items: baseline; }
	.process__text { padding-top: 0.25rem; }
}

/* --- Brands -------------------------------------------------------------- */
/* Lines are drawn per item rather than by painting the grid background, so a
   row that does not divide evenly leaves empty space instead of a stray tile. */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 1px;
	background: transparent;
	border: 0;
}
.brand-item {
	background: var(--carbon);
	box-shadow: 0 0 0 1px var(--line);
	padding: var(--space-3) var(--space-2);
	min-height: 6.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: var(--sand);
	transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.section--light .brand-item { background: var(--ivory); color: var(--ink-dark); box-shadow: 0 0 0 1px var(--line-dark); }
a.brand-item:hover { color: var(--copper); background: var(--espresso); }
.section--light a.brand-item:hover { background: #fff; color: #8f5227; }

/* --- Cases --------------------------------------------------------------- */
.case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
	gap: var(--space-4);
}
.case {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--espresso);
	display: flex;
	flex-direction: column;
	transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.section--light .case { background: #fff; border-color: var(--line-dark); }
.case:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.case__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.case__media figure { margin: 0; position: relative; }
.case__media img,
.case__media .w281-placeholder { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.case__tag {
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: rgba(17, 18, 16, 0.78);
	color: var(--sand);
	padding: 0.28rem 0.5rem;
	border-radius: var(--radius-xs);
}
.case__body { padding: var(--space-3); display: grid; gap: 0.5rem; }
.case__meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.case__title { font-size: var(--step-1); margin: 0; }
.case__title a { text-decoration: none; }
.case__row { font-size: 0.93rem; margin: 0; }
.case__row strong { font-family: var(--font-display); font-weight: 500; color: var(--copper); }
.section--light .case__row strong { color: #8f5227; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-dark); }
.section:not(.section--light) .faq { border-color: var(--line); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.section:not(.section--light) .faq__item { border-color: var(--line); }
.faq__q {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-3);
	background: none;
	border: 0;
	padding: 1.35rem 0;
	text-align: left;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 500;
	line-height: 1.3;
	color: inherit;
	cursor: pointer;
}
.faq__icon {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	position: relative;
	margin-top: 0.35rem;
}
.faq__icon::before,
.faq__icon::after {
	content: '';
	position: absolute;
	inset: 50% 0 auto;
	height: 1.5px;
	background: var(--copper);
	transition: transform var(--dur) var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: rotate(0deg); }
/* Height is driven by JS so the transition is deterministic in every engine.
   Without JavaScript every answer stays open and readable. */
.faq__a {
	height: 0;
	overflow: hidden;
	transition: height var(--dur) var(--ease);
}
.no-js .faq__a { height: auto; }
.faq__a p { max-width: 44rem; padding-bottom: 1.35rem; color: var(--ink-dark-muted); }
.section:not(.section--light) .faq__a p { color: var(--ink-muted); }

/* --- Reviews ------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: var(--space-4); }
.review {
	border-left: 2px solid var(--copper);
	padding-left: var(--space-3);
}
.review__text { font-size: var(--step-1); line-height: 1.5; font-family: var(--font-display); font-weight: 400; }
.review__meta { font-size: 0.85rem; color: var(--steel); margin: 0; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
	background: var(--espresso);
	position: relative;
	overflow: hidden;
}
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 120% at 82% 20%, rgba(182, 109, 61, 0.14), transparent 62%);
	pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 44rem; }
.cta-band h2 { font-size: var(--step-4); }

/* --- Forms --------------------------------------------------------------- */
.field { margin-bottom: var(--space-3); }
.field > label,
.fieldset-legend {
	display: block;
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}
.field__help { font-size: var(--step--1); color: var(--ink-muted); margin: 0 0 0.5rem; }
.section--light .field__help { color: var(--ink-dark-muted); }

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='search'],
input[type='date'],
select,
textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: inherit;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	padding: 0.85rem 0.95rem;
	min-height: 50px;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.section--light input[type='text'],
.section--light input[type='email'],
.section--light input[type='tel'],
.section--light input[type='search'],
.section--light select,
.section--light textarea {
	background: #fff;
	border-color: rgba(33, 26, 22, 0.2);
}
input:focus, select:focus, textarea:focus { border-color: var(--copper); background: rgba(255, 255, 255, 0.07); }
.section--light input:focus, .section--light select:focus, .section--light textarea:focus { background: #fff; }
textarea { min-height: 8rem; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }

.field--error input,
.field--error select,
.field--error textarea { border-color: #d4674a; }
.field-error {
	display: block;
	font-size: var(--step--1);
	color: #ef8f74;
	margin-top: 0.4rem;
}
.section--light .field-error { color: #b8412170; color: #a83a18; }

/* Choice chips: large tappable targets on mobile. */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.6rem; }
.choice {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.95rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	cursor: pointer;
	min-height: 52px;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.section--light .choice { border-color: rgba(33, 26, 22, 0.2); background: #fff; }
.choice:hover { border-color: var(--copper); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.15rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-xs);
	display: grid;
	place-items: center;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.section--light .choice__box { border-color: rgba(33, 26, 22, 0.3); }
.choice--radio .choice__box { border-radius: 50%; }
.choice__box::after {
	content: '';
	width: 9px; height: 9px;
	border-radius: 1px;
	background: #fff;
	transform: scale(0);
	transition: transform 160ms var(--ease);
}
.choice--radio .choice__box::after { border-radius: 50%; }
.choice input:checked ~ .choice__box { background: var(--copper); border-color: var(--copper); }
.choice input:checked ~ .choice__box::after { transform: scale(1); }
.choice input:focus-visible ~ .choice__box { outline: 2px solid var(--copper-lift); outline-offset: 2px; }
.choice__label { font-size: 0.97rem; line-height: 1.35; }
.choice__label small { display: block; font-size: var(--step--1); color: var(--ink-muted); margin-top: 0.2rem; }
.section--light .choice__label small { color: var(--ink-dark-muted); }

.honeypot { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Multi-step */
.steps { border-top: 1px solid var(--line); }
.step { padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.step__head { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: var(--space-3); }
.step__num { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--copper); }
.step__title { font-size: var(--step-2); margin: 0; }

.js .step { display: none; }
.js .step.is-active { display: block; animation: stepIn 320ms var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.stepper { display: flex; gap: 0.4rem; margin-bottom: var(--space-4); list-style: none; padding: 0; }
.stepper li {
	flex: 1;
	height: 2px;
	background: var(--line);
	position: relative;
}
.stepper li.is-done, .stepper li.is-active { background: var(--copper); }
.stepper__label {
	position: absolute;
	top: 0.7rem;
	left: 0;
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--steel);
	white-space: nowrap;
}
@media (max-width: 700px) { .stepper__label { display: none; } }
.stepper { margin-bottom: var(--space-5); }

.step-nav { display: flex; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-4); }
.js .form-submit-fallback { display: none; }

.summary-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.summary-list li { display: flex; gap: var(--space-3); padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.summary-list dt, .summary-list__key { flex: none; width: 11rem; color: var(--steel); font-size: 0.85rem; }

.notice {
	border: 1px solid var(--line-strong);
	border-left: 2px solid var(--copper);
	padding: var(--space-3);
	border-radius: var(--radius-xs);
	margin-bottom: var(--space-4);
}
.notice--error { border-left-color: #d4674a; }
.notice--success { border-left-color: #7fa06a; }
.notice h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.notice p:last-child { margin-bottom: 0; }
.reference {
	font-family: var(--font-display);
	font-size: var(--step-2);
	letter-spacing: 0.06em;
	color: var(--copper);
	display: block;
	margin: 0.4rem 0 0.8rem;
}

/* Upload */
.upload {
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-sm);
	padding: var(--space-4);
	text-align: center;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.upload:hover, .upload.is-drag { border-color: var(--copper); background: rgba(182, 109, 61, 0.05); }
.upload input[type='file'] { width: 100%; font-size: 0.9rem; }
.upload__list { list-style: none; margin: var(--space-3) 0 0; padding: 0; text-align: left; font-size: 0.9rem; }
.upload__list li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }

/* Status timeline */
.timeline { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.timeline li {
	display: flex;
	gap: var(--space-3);
	padding: 0.65rem 0;
	color: var(--ink-muted);
	font-size: 0.95rem;
}
.timeline__dot {
	flex: none;
	width: 10px; height: 10px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	margin-top: 0.55rem;
}
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done .timeline__dot { background: var(--steel); border-color: var(--steel); }
.timeline li.is-current { color: var(--ivory); font-weight: 500; }
.timeline li.is-current .timeline__dot { background: var(--copper); border-color: var(--copper); box-shadow: 0 0 0 4px rgba(182, 109, 61, 0.2); }

/* --- Placeholder panel --------------------------------------------------- */
.w281-placeholder {
	position: relative;
	background: linear-gradient(145deg, #26241f 0%, #191a17 55%, #121310 100%);
	color: rgba(216, 197, 175, 0.28);
	display: grid;
	place-items: center;
	overflow: hidden;
	min-height: 8rem;
}
.w281-placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.w281-placeholder__label {
	position: relative;
	font-family: var(--font-display);
	font-size: 0.66rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(216, 197, 175, 0.42);
	padding: 0.4rem 0.8rem;
	border: 1px solid rgba(216, 197, 175, 0.16);
	border-radius: var(--radius-xs);
	background: rgba(17, 18, 16, 0.4);
	text-align: center;
	max-width: 80%;
}

/* --- Breadcrumbs --------------------------------------------------------- */
.breadcrumbs { padding-block: var(--space-3); font-size: var(--step--1); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; color: var(--steel); }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--copper); }

/* --- Page header --------------------------------------------------------- */
.page-hero {
	padding-block: clamp(2.5rem, 6vw, var(--space-6)) clamp(2rem, 5vw, var(--space-5));
	border-bottom: 1px solid var(--line);
	position: relative;
}
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.page-hero .lede { max-width: 40rem; }

/* --- Editorial content --------------------------------------------------- */
.prose { max-width: 42rem; }
.prose h2 { font-size: var(--step-3); margin-top: var(--space-5); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-4); }
.prose ul, .prose ol { margin: 0 0 var(--space-3); }
.prose li { margin-bottom: 0.4rem; }
.prose img { border-radius: var(--radius-sm); margin-block: var(--space-4); }
.prose blockquote {
	margin: var(--space-4) 0;
	padding-left: var(--space-3);
	border-left: 2px solid var(--copper);
	font-family: var(--font-display);
	font-size: var(--step-1);
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
	background: var(--carbon);
	border-top: 1px solid var(--line);
	padding-block: var(--space-5) var(--space-4);
	font-size: 0.94rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: var(--space-4);
}
@media (min-width: 900px) {
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-col h2 {
	font-family: var(--font-display);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: var(--space-2);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-col a { text-decoration: none; color: var(--ink-muted); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-about { color: var(--ink-muted); max-width: 24rem; }
.footer-about .brandmark { margin-bottom: var(--space-2); }
.footer-bottom {
	margin-top: var(--space-5);
	padding-top: var(--space-3);
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	justify-content: space-between;
	font-size: 0.84rem;
	color: var(--steel);
}

/* --- Sticky mobile CTA --------------------------------------------------- */
.mobile-cta {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 70;
	display: none;
	gap: 1px;
	background: var(--line);
	border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 56px;
	background: var(--espresso);
	color: var(--ivory);
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
}
.mobile-cta a.is-primary { background: var(--copper-btn); color: #fff; }
/* Stays out of the way while the hero's own call to action is still visible. */
.mobile-cta {
	transform: translateY(100%);
	transition: transform var(--dur) var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.no-js .mobile-cta { transform: none; }
@media (max-width: 860px) {
	.mobile-cta { display: flex; }
	body { padding-bottom: 56px; }
	body.page-request { padding-bottom: 0; }
	body.page-request .mobile-cta { display: none; }
}

/* --- Reveal animation ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }

/* Children of a revealed grid come in one after another rather than as one
   block, which reads as craft rather than as a page-load stutter. */
.stagger > * {
	opacity: 0;
	transform: translateY(14px);
}
.js .stagger > * {
	transition: opacity 620ms var(--ease), transform 620ms var(--ease);
	transition-delay: calc(var(--i, 0) * 55ms);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.no-js .stagger > * { opacity: 1; transform: none; }

/* Full-bleed photographic break between text sections. */
.band {
	position: relative;
	height: clamp(18rem, 46vw, 32rem);
	overflow: hidden;
	background: var(--carbon);
}
.band img,
.band .w281-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	will-change: transform;
}
.band__caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: var(--space-4) var(--gutter);
	background: linear-gradient(to top, rgba(17, 18, 16, 0.86), transparent);
	display: flex;
	justify-content: center;
}
.band__caption span {
	width: 100%;
	max-width: var(--wrap);
	font-family: var(--font-display);
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sand);
}
.js .reveal { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	.stagger > * { opacity: 1; transform: none; }
	.hero__media { transform: none !important; }
	.hero__media img, .hero__media .w281-placeholder { animation: none; }
}

/* --- Responsive tweaks --------------------------------------------------- */
@media (max-width: 900px) {
	.nav-primary { display: none; }
	.nav-toggle { display: flex; }
	.header-actions .btn--primary { display: none; }
}
@media (min-width: 901px) {
	.nav-overlay { display: none; }
}
@media (max-width: 860px) {
	/* On a narrow screen the desktop side-scrim covered the machine entirely.
	   Shade top and bottom instead so the photograph stays the main event. */
	.hero__scrim {
		background: linear-gradient(
			to bottom,
			rgba(17, 18, 16, 0.94) 0%,
			rgba(17, 18, 16, 0.78) 26%,
			rgba(17, 18, 16, 0.28) 52%,
			rgba(17, 18, 16, 0.5) 74%,
			rgba(17, 18, 16, 0.93) 100%
		);
	}
	.hero__media img { object-position: 62% center; }

	/* Keep the hero to roughly one screen so the content below stays in reach. */
	.hero__inner {
		min-height: 0;
		padding-block: clamp(2.5rem, 7vh, 4rem) clamp(2rem, 5vh, 3rem);
	}
	.hero__brands { margin-top: var(--space-4); }

	/* Long Dutch compounds ("onderdelenwisselaar") must not run past the column. */
	h1, h2, h3, .process__title, .problem__title {
		hyphens: auto;
		overflow-wrap: break-word;
	}

	/* The three-column desktop step collapses to two columns here, and grid
	   auto-placement would drop the paragraph into the narrow number column.
	   Place every part explicitly instead. */
	.process__step {
		grid-template-columns: 2.6rem minmax(0, 1fr);
		gap: 0 var(--space-2);
		padding-block: var(--space-3);
	}
	.process__num   { grid-column: 1; grid-row: 1; padding-top: 0.15rem; }
	.process__title { grid-column: 2; grid-row: 1; font-size: var(--step-1); }
	.process__text  { grid-column: 2; grid-row: 2; }

	/* Comfortable tap targets: text links get a real touch area (WCAG 2.5.8). */
	.footer-col ul { gap: 0; }
	.footer-col li a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
	.link-arrow { min-height: 44px; }
	.breadcrumbs a {
		display: inline-flex;
		align-items: center;
		min-height: 32px;
	}
}

/* Below ~700px every auto-fill grid falls back to a single column, which turned
   the homepage into roughly fifteen screens of scrolling. These minimums are
   sized so the short-label grids keep two or three columns on a phone. */
@media (max-width: 700px) {
	.trust__grid { grid-template-columns: 1fr 1fr; }
	.trust__item { padding-block: var(--space-2); }

	.problems { grid-template-columns: 1fr 1fr; }
	.problem {
		min-height: 0;
		padding: var(--space-2) var(--space-2) var(--space-3);
	}
	.problem__title { font-size: 0.98rem; }
	.problem__text { display: none; }

	.brand-grid { grid-template-columns: repeat(3, 1fr); }
	.brand-item {
		min-height: 4.2rem;
		font-size: 0.88rem;
		padding: var(--space-2) 0.4rem;
	}

	.case__body { padding: var(--space-2); }
	.section-head { margin-bottom: var(--space-4); }
}

@media (max-width: 520px) {
	.btn { width: 100%; }
	.btn-row { flex-direction: column; align-items: stretch; }

	/* The hero should read as a photograph with a line of type on it, not as a
	   stack of full-width blocks. Compact, side-by-side buttons instead. */
	.hero .btn-row { flex-direction: row; flex-wrap: wrap; gap: 0.6rem; }
	.hero .btn {
		width: auto;
		flex: 0 1 auto;
		padding: 0.8rem 1.15rem;
		min-height: 44px;
		font-size: 0.88rem;
	}
	.summary-list li { flex-direction: column; gap: 0.2rem; }
	.summary-list__key { width: auto; }

	/* Four lines of headline is plenty on a 375px screen. */
	:root { --step-5: clamp(2.05rem, 1.5rem + 3vw, 5rem); }
	.hero__text { font-size: 1.03rem; }
	.eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; }
}

/* --- Print --------------------------------------------------------------- */
@media print {
	.site-header, .site-footer, .mobile-cta, .nav-overlay { display: none !important; }
	body { background: #fff; color: #000; }
}

/* --- Interactive machine diagram ----------------------------------------- */
.machine-brands {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: var(--space-3);
}
.machine-brand {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--ink);
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	padding: 0.7rem 1.1rem;
	min-height: 44px;
	cursor: pointer;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.machine-brand:hover { border-color: var(--copper); }
.machine-brand[aria-pressed='true'] {
	background: var(--copper-btn);
	border-color: var(--copper-btn);
	color: #fff;
}

.machine-brandout {
	min-height: 3.2rem;
	margin: 0 0 var(--space-4);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 1rem;
	font-size: 0.95rem;
	color: var(--ink-muted);
}
.machine-brandout__type {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--copper);
}
.machine-brandout:empty { display: none; }

.machine {
	display: grid;
	gap: var(--space-4);
	align-items: start;
}
@media (min-width: 900px) {
	.machine { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-6); }
	.machine__panel { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.machine__figure {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: linear-gradient(150deg, #23211d 0%, #171714 60%, #121310 100%);
	padding: var(--space-3);
}
/* Photograph with hotspots positioned in percentages, so they stay on their
   component at every width. */
.machine__photo {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xs);
}
/* Image and hotspots move together, so a hotspot stays on its component
   while the view is zoomed in. */
.machine__stage {
	position: relative;
	transform: scale(1);
	transform-origin: 50% 50%;
	transition: transform 620ms var(--ease);
	will-change: transform;
}
.machine__photo::after {
	content: attr(data-hint);
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-family: var(--font-display);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sand);
	background: rgba(17, 18, 16, 0.7);
	padding: 0.35rem 0.6rem;
	border-radius: var(--radius-xs);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
	pointer-events: none;
}
.machine__photo.is-zoomed::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.machine__stage { transition: none; }
}
.machine__img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-xs);
}
.hot {
	position: absolute;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(216, 197, 175, 0.28);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
}
.hot:hover::after { opacity: 1; }
.hot__dot {
	position: absolute;
	top: 6px;
	left: 6px;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(17, 18, 16, 0.72);
	box-shadow: 0 0 0 1px rgba(216, 197, 175, 0.4);
	font-family: var(--font-display);
	font-size: 0.6rem;
	letter-spacing: 0.04em;
	color: var(--sand);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hot:hover .hot__dot { transform: scale(1.12); }
.hot.is-active {
	background: rgba(182, 109, 61, 0.16);
	border-color: var(--copper-lift);
}
.hot.is-active .hot__dot {
	background: var(--copper-btn);
	color: #fff;
	box-shadow: 0 0 0 1px var(--copper-lift);
}

/* Chips double as the accessible control surface for the drawing. */
.machine__list {
	list-style: none;
	margin: var(--space-3) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.machine__chip {
	font-family: var(--font-display);
	font-size: 0.8rem;
	color: var(--ink-muted);
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: 0.5rem 0.85rem;
	min-height: 36px;
	cursor: pointer;
	transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.machine__chip:hover { color: var(--ivory); border-color: var(--line-strong); }
.machine__chip[aria-pressed='true'] {
	color: var(--copper-lift);
	border-color: var(--copper);
}

.machine__panel {
	border: 1px solid var(--line);
	border-left: 2px solid var(--copper);
	border-radius: var(--radius-sm);
	padding: var(--space-4);
	background: var(--espresso);
}
.machine__detailimg {
	margin: 0 0 var(--space-3);
	border-radius: var(--radius-xs);
	overflow: hidden;
	background: var(--carbon);
}
.machine__detailimg img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}
.machine__detail h2 { font-size: var(--step-2); }
.machine__detail[hidden] { display: none; }
.js .machine__detail { animation: detailIn 280ms var(--ease) both; }
@keyframes detailIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.js .machine__detail { animation: none; }
}

/* --- Hero breathing room on small screens -------------------------------- */
@media (max-width: 860px) {
	.hero__inner {
		min-height: 74vh;
		padding-block: clamp(3.5rem, 11vh, 6rem) clamp(2.5rem, 7vh, 4rem);
	}
	.hero h1 { margin-bottom: var(--space-4); }
	.hero__text { margin-bottom: var(--space-5); }
	.hero__brands { margin-top: var(--space-5); }
}

/* --- Icons --------------------------------------------------------------- */
.icon { display: block; flex: none; }

.trust__icon { color: var(--copper); display: flex; align-items: center; }
.trust__item { align-items: center; gap: 0.7rem; }

.problem__icon {
	color: var(--copper);
	margin-bottom: 0.15rem;
	display: flex;
}
.section--light .problem__icon { color: #8f5227; }

.process__title { display: flex; align-items: center; gap: 0.6rem; }
.process__icon { color: var(--copper); display: flex; }
.section--light .process__icon { color: #8f5227; }

.spec-list__key { display: flex; align-items: center; color: var(--copper); }
.section--light .spec-list__key { color: #8f5227; }

/* --- Mobile refinements -------------------------------------------------- */
@media (max-width: 600px) {
	/* Two problem columns read better than one long column on a phone. */
	.problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.problem { min-height: 0; padding: var(--space-3) var(--space-2) var(--space-3); }
	.problem__title { font-size: 0.95rem; }
	.problem__text { display: none; }

	.trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust__item { padding-block: var(--space-2); }
	.trust__label { font-size: 0.88rem; }

	.brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.brand-item { min-height: 4.6rem; font-size: 0.94rem; padding-inline: 0.5rem; hyphens: auto; }

	.section-intro, .lede { font-size: 1.02rem; }
	.page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }

	.footer-grid { gap: var(--space-3); }
	.footer-col ul { gap: 0.3rem; }
	.footer-bottom { margin-top: var(--space-4); }
}

@media (max-width: 380px) {
	.problems { grid-template-columns: 1fr; }
	.trust__grid { grid-template-columns: 1fr; }
}

/* Nothing may push the document sideways. */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg, table, pre { max-width: 100%; }

/* --- Machine explorer ---------------------------------------------------- */
.page-hero--tight { padding-block: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 3vw, 2rem); }

.mx-search { max-width: 34rem; margin-bottom: clamp(2rem, 5vw, 3rem); position: relative; }
.mx-search__label {
	display: block;
	font-family: var(--font-display);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 0.6rem;
}
.mx-search__field { position: relative; }
.mx-search__icon {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--copper);
	pointer-events: none;
}
.mx-search input { padding-left: 2.9rem; }
.mx-results {
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--espresso);
	overflow: hidden;
}
.mx-result {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--line);
	color: var(--ivory);
	font-family: var(--font-display);
	font-size: 0.98rem;
	padding: 0.9rem 1rem;
	min-height: 48px;
	cursor: pointer;
}
.mx-result:last-child { border-bottom: 0; }
.mx-result:hover, .mx-result:focus-visible { background: rgba(182, 109, 61, 0.16); }
.mx-result small { display: block; color: var(--steel); font-family: var(--font-body); font-size: 0.8rem; margin-top: 0.15rem; }
.mx-search__empty { font-size: 0.95rem; color: var(--ink-muted); margin-top: 0.7rem; }

.mx-step { margin-bottom: clamp(2rem, 5vw, 3rem); }
.mx-step__title {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	font-size: var(--step-1);
	margin-bottom: var(--space-3);
}
.mx-step__num { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--copper); }

.mx-brands, .mx-families {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.mx-brand, .mx-family, .mx-part {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.7rem 1.1rem;
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	color: var(--ivory);
	font-family: var(--font-display);
	font-size: 0.96rem;
	cursor: pointer;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mx-brand:hover, .mx-family:hover, .mx-part:hover { border-color: var(--copper); }
.mx-brand[aria-pressed='true'],
.mx-family[aria-pressed='true'] {
	background: var(--copper);
	border-color: var(--copper);
	color: #fff;
}
.mx-part svg { color: var(--copper); }
.mx-part[aria-pressed='true'] { border-color: var(--copper); background: rgba(182, 109, 61, 0.14); }
.mx-part[aria-pressed='true'] svg { color: var(--copper-lift); }

.mx-machine {
	border-top: 1px solid var(--line);
	padding-top: clamp(1.6rem, 4vw, 2.4rem);
}
.mx-machine__title { font-size: var(--step-3); margin-bottom: 0.4rem; }
.mx-machine__type {
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--copper);
	margin-bottom: 0.8rem;
}
.mx-machine__summary { color: var(--ink-muted); max-width: 42rem; }

.mx-specs {
	list-style: none;
	margin: var(--space-3) 0 var(--space-4);
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.mx-specs li {
	background: var(--espresso);
	padding: 0.85rem 1rem;
	display: grid;
	gap: 0.2rem;
}
.mx-specs span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.mx-specs strong { font-family: var(--font-display); font-weight: 500; }

.mx-sub {
	font-family: var(--font-display);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: var(--space-2);
}
.mx-parts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }

.mx-detail {
	border-left: 2px solid var(--copper);
	padding: var(--space-3);
	background: var(--espresso);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	margin-bottom: var(--space-3);
}
.mx-detail h4 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.mx-detail p { color: var(--ink-muted); margin-bottom: var(--space-3); max-width: 42rem; }

.mx-machine__foot { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.mx-source { font-size: 0.82rem; color: var(--steel); margin: 0; }

/* Touch: components scroll horizontally instead of wrapping into a wall. */
@media (max-width: 600px) {
	.mx-parts {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.5rem;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
	}
	.mx-part { flex: none; scroll-snap-align: start; }
	.mx-brands, .mx-families { gap: 0.5rem; }
	.mx-brand, .mx-family { flex: 1 1 calc(50% - 0.25rem); justify-content: center; }
	.mx-specs { grid-template-columns: 1fr; }
	.mx-machine__foot .btn { width: 100%; }
}

.cta-band--compact { padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.cta-band--compact h2 { font-size: var(--step-2); }

/* --- Mobile hero: legibility over a busy photo ---------------------------- */
@media (max-width: 700px) {
	/* The angled desktop scrim leaves the copy sitting on the brightest part of
	   the machine. On a phone the image fills the frame, so the scrim has to
	   run bottom-to-top instead. */
	.hero__scrim {
		background:
			linear-gradient(to top, rgba(17, 18, 16, 0.97) 30%, rgba(17, 18, 16, 0.82) 52%, rgba(17, 18, 16, 0.45) 78%, rgba(17, 18, 16, 0.55) 100%);
	}
	/* Keep the machine visible above the text instead of behind it. */
	.hero__media img { object-position: 68% 30%; }

	/* A shorter hero so the first content section is reachable sooner. */
	.hero__inner {
		min-height: min(72vh, 34rem);
		padding-block: clamp(2.5rem, 6vh, 4rem) clamp(2rem, 5vh, 3rem);
	}
	.hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
	.hero__text { font-size: 1.05rem; margin-bottom: var(--space-3); }
	.hero__brands { margin-top: var(--space-4); font-size: 0.8rem; }
}

/* Two trust columns from 360px up — four stacked rows pushed the page down. */
@media (min-width: 360px) and (max-width: 600px) {
	.trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
	.trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
