/* =========================================================================
   Chassis — high-contrast clean skeuomorphic

   The whole page is one contrast relationship: a light concrete field holding
   a single deep charcoal deck. Everything inside the deck is built from three
   materials and nothing else —

     .plate  a raised, molded surface: dark vertical gradient, 1px lit top
             edge, dark bottom edge, soft outer falloff.
     .well   a recess milled into whatever is behind it: inner shadow at the
             top, a thin lit lip at the bottom.
     .tray   a lit inspection bay: the one light surface inside the dark deck,
             used wherever product photography has to be read.

   Colour is almost entirely monochrome. The cyan signal only ever appears as
   a light: status dots, active markers, progress fills, focus rings.

   Sections: 1 tokens · 2 base · 3 layout · 4 materials · 5 type · 6 controls
   7 header · 8 hero · 9 ticker · 10 rack · 11 story · 12 industries
   13 products · 14 tiles · 15 stats · 16 news · 17 console + forms · 18 reel
   19 inner pages · 20 footer · 21 rail · 22 motion · 23 responsive
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */

:root {
	/* Light outer field */
	--field: #e6e5e1;
	--field-2: #dcdbd6;
	--field-ink: #23262a;
	--field-muted: #6c7176;
	--field-line: rgba(18, 21, 24, 0.16);

	/* Dark deck and its molded surfaces */
	--deck: #0d0f11;
	--panel-top: #1e2226;
	--panel-bot: #14171a;
	--raise-top: #2a2f34;
	--raise-bot: #1c2024;
	--well-bg: #090a0c;
	--tray: #e8e6e2;
	--tray-2: #d8d6d1;

	/* Ink */
	--ink: #f3f5f6;
	--ink-2: #c3cace;
	--muted: #8d959b;
	--faint: #79828a;
	--tray-ink: #1a1d20;

	/* Edges */
	--line: rgba(255, 255, 255, 0.07);
	--line-2: rgba(255, 255, 255, 0.13);
	--edge: rgba(255, 255, 255, 0.20);
	--edge-soft: rgba(255, 255, 255, 0.10);
	--under: rgba(0, 0, 0, 0.55);

	/* The single signal colour. Nothing else is coloured. */
	--signal: #3ccfe8;
	--signal-deep: #0f9cbd;
	--signal-glow: rgba(60, 207, 232, 0.42);

	/* Type */
	--font-display: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Metrics */
	--shell: 1280px;
	--gutter: clamp(1.15rem, 3.4vw, 2.75rem);
	--outer: clamp(0.6rem, 1.5vw, 1.4rem);
	--section-y: clamp(4rem, 8vw, 7.5rem);

	--r-xs: 6px;
	--r-sm: 9px;
	--r: 14px;
	--r-lg: 20px;
	--r-xl: 28px;

	/* Material recipes */
	--molded:
		inset 0 1px 0 var(--edge),
		inset 0 -1px 0 var(--under),
		inset 1px 0 0 var(--edge-soft),
		inset -1px 0 0 rgba(0, 0, 0, 0.35);
	--lift: 0 18px 34px -22px rgba(0, 0, 0, 0.9), 0 3px 10px -6px rgba(0, 0, 0, 0.6);
	--lift-lg: 0 40px 70px -34px rgba(0, 0, 0, 0.95), 0 6px 18px -10px rgba(0, 0, 0, 0.65);
	--recess:
		inset 0 3px 8px rgba(0, 0, 0, 0.72),
		inset 0 1px 2px rgba(0, 0, 0, 0.9),
		inset 0 -1px 0 var(--edge-soft);

	/* One size for every section title. Three near-identical clamps read as
	   an accident, not a hierarchy. */
	--fs-title: clamp(1.75rem, 3.4vw, 2.9rem);

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--dur: 0.42s;
}

/* -------------------------------------------------------------------------
   2. Base
   ---------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background: var(--field);
}

html.has-motion {
	scroll-behavior: auto;
}

html.is-locked,
html.is-locked body {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--field);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

img,
video {
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.024em;
	margin: 0;
	text-wrap: balance;
}

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

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

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

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

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

::selection {
	background: var(--signal);
	color: #05171d;
}

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

.skip-link:focus {
	position: fixed;
	inset: 12px auto auto 12px;
	z-index: 999;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--deck);
	border-radius: var(--r-sm);
	font-weight: 600;
}

/* -------------------------------------------------------------------------
   3. Layout
   ---------------------------------------------------------------------- */

/* The light field: texture plus two guide rails that run the full height. */
.field {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.022) 0 1px, transparent 1px 7px);
}

.field__rail {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--field-line);
	opacity: 0.5;
}

.field__rail--l { left: calc(var(--outer) / 2); }
.field__rail--r { right: calc(var(--outer) / 2); }

.page {
	position: relative;
	z-index: 1;
	padding: 0 var(--outer) var(--outer);
}

.deck {
	position: relative;
	margin-top: var(--outer);
	border-radius: var(--r-xl);
	background:
		radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.055), transparent 60%),
		linear-gradient(180deg, #121518 0%, var(--deck) 42%, #0a0c0e 100%);
	box-shadow:
		inset 0 1px 0 var(--edge-soft),
		0 50px 90px -50px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgba(0, 0, 0, 0.5);
}

.site-main {
	display: block;
}

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

.section,
.story,
.reel {
	padding-block: calc(var(--section-y) * 0.5);
}

/* -------------------------------------------------------------------------
   4. Materials
   ---------------------------------------------------------------------- */

/* A raised molded surface. */
.plate {
	position: relative;
	border-radius: var(--r-lg);
	background: linear-gradient(180deg, var(--panel-top) 0%, var(--panel-bot) 100%);
	box-shadow: var(--molded), var(--lift);
}

/* A recess milled into the surface behind it. */
.well {
	position: relative;
	border-radius: var(--r);
	background: var(--well-bg);
	box-shadow: var(--recess);
}

/* The one lit surface inside the dark deck. */
.tray {
	position: relative;
	border-radius: var(--r);
	background:
		radial-gradient(100% 80% at 50% 0%, #f3f2ef 0%, var(--tray) 55%, var(--tray-2) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(0, 0, 0, 0.12),
		0 0 0 1px rgba(0, 0, 0, 0.55),
		0 20px 40px -26px rgba(0, 0, 0, 0.9);
	color: var(--tray-ink);
	overflow: hidden;
}

/* Four L-shaped corner markers, inset from the edge of a framed surface. */
.corners {
	position: absolute;
	inset: 9px;
	pointer-events: none;
	z-index: 3;
}

.corners i {
	position: absolute;
	width: 9px;
	height: 9px;
	border: 0 solid var(--line-2);
}

.corners i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corners i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corners i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corners i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.tray > .corners i { border-color: rgba(0, 0, 0, 0.18); }

/* Status light. */
.led {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex: none;
	background: var(--faint);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
	transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.led--on,
.is-active > .module__head .led,
.is-active .led,
.eyebrow .led {
	background: var(--signal);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6) inset, 0 0 8px var(--signal-glow);
}

.dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
	flex: none;
}

/* Mono data chip. */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 9px;
	border-radius: var(--r-xs);
	background: rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 2px rgba(0, 0, 0, 0.5);
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ink-2);
	white-space: nowrap;
}

.img-fallback {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px),
		var(--well-bg);
}

/* -------------------------------------------------------------------------
   5. Type
   ---------------------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.eyebrow--light { color: var(--ink-2); }

.sec-head {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: end;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--line);
}

.sec-head__main { display: grid; gap: 1rem; justify-items: start; }

.sec-head__title {
	font-size: var(--fs-title);
	max-width: 20ch;
}

.sec-head__aside {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding-bottom: 0.25rem;
}

.sec-head__text {
	color: var(--muted);
	font-size: 0.95rem;
	max-width: 44ch;
}

.sec-head--center {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}

.sec-head--center .sec-head__main { justify-items: center; }
.sec-head--center .sec-head__title { max-width: 24ch; }

/* -------------------------------------------------------------------------
   6. Controls
   ---------------------------------------------------------------------- */

/* The treatment sits on .btn itself, not on an inner wrapper: the inquiry
   plugin emits <button class="btn btn--line btn--xs"> with no inner span, and
   it has to come out looking like every other button on the page. .btn__face
   is therefore layout-transparent. */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	position: relative;
	padding: 0.85rem 1.35rem;
	border-radius: var(--r-sm);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: -0.005em;
	white-space: nowrap;
	min-height: 46px;
	cursor: pointer;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
		filter 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}

.btn__face { display: contents; }

.btn__icon {
	display: inline-flex;
	transition: transform 0.25s var(--ease);
}

.btn:hover .btn__icon { transform: translateX(3px); }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.84rem; min-height: 42px; }
.btn--xs { padding: 0.45rem 0.85rem; font-size: 0.76rem; gap: 7px; min-height: 34px; }
.btn--block { display: flex; width: 100%; }

/* Primary: a raised light plate. The one dominant control on a dark page. */
.btn--primary {
	background: linear-gradient(180deg, #ffffff 0%, #dfe2e4 100%);
	color: #0d0f11;
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(0, 0, 0, 0.5),
		0 12px 22px -14px rgba(0, 0, 0, 0.9);
}

.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn--primary:active {
	transform: translateY(1px);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}

/* Ghost: a raised dark plate. */
.btn--ghost {
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	color: var(--ink);
	box-shadow: var(--molded), 0 10px 20px -14px rgba(0, 0, 0, 0.9);
}

.btn--ghost:hover { transform: translateY(-1px); filter: brightness(1.14); }
.btn--ghost:active { transform: translateY(1px); }

/* Line: flush with the surface. */
.btn--line {
	background: rgba(255, 255, 255, 0.02);
	color: var(--ink-2);
	box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn--line:hover {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px var(--edge);
}

.btn--line:active { transform: translateY(1px); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-2);
	transition: color var(--dur) var(--ease);
}

.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--signal); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: var(--r-sm);
	color: var(--ink-2);
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	box-shadow: var(--molded);
	transition: filter 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.icon-btn:hover { color: var(--ink); filter: brightness(1.18); }
.icon-btn:active { transform: translateY(1px); }

.is-flip { transform: rotate(180deg); }

/* -------------------------------------------------------------------------
   7. Header
   ---------------------------------------------------------------------- */

.topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0.7rem clamp(0.5rem, 1.5vw, 1rem) 0.75rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	color: var(--field-muted);
	text-transform: uppercase;
}

.topbar__text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

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

.topbar__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--field-ink);
	transition: opacity 0.2s var(--ease);
}

.topbar__contacts a:hover { opacity: 0.6; }

.bar {
	position: relative;
	z-index: 60;
	max-width: var(--shell);
	margin: 0 auto;
}

.bar--sticky {
	position: sticky;
	top: var(--outer);
}

.bar__face {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2rem);
	padding: 0.7rem 0.7rem 0.7rem 1.1rem;
	border-radius: var(--r-lg);
	background: linear-gradient(180deg, #23282d 0%, #14181b 100%);
	box-shadow:
		inset 0 1px 0 var(--edge),
		inset 0 -1px 0 var(--under),
		0 1px 0 rgba(255, 255, 255, 0.4),
		0 20px 40px -22px rgba(0, 0, 0, 0.75);
	transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.bar.is-stuck .bar__face {
	padding-block: 0.5rem;
	box-shadow:
		inset 0 1px 0 var(--edge),
		inset 0 -1px 0 var(--under),
		0 1px 0 rgba(255, 255, 255, 0.4),
		0 26px 50px -20px rgba(0, 0, 0, 0.85);
}

.bar__progress {
	position: absolute;
	left: 1.1rem;
	right: 1.1rem;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.5);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

.bar__progress i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--signal);
	box-shadow: 0 0 8px var(--signal-glow);
}

/* Brand */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex: none;
}

.brand__plate {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--r-sm);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1rem;
	color: var(--ink);
	background: linear-gradient(180deg, var(--raise-top) 0%, #15181b 100%);
	box-shadow: var(--molded), 0 6px 12px -8px rgba(0, 0, 0, 0.9);
}

.brand__type {
	display: grid;
	gap: 1px;
	line-height: 1.15;
}

.brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.brand__tagline {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--faint);
}

.brand__marks { display: block; max-width: 190px; }
.brand__logo { max-height: 34px; width: auto; }
.brand__logo--dark { display: none; }

/* Primary navigation */
.nav { margin-inline: auto; }

.nav__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.nav__list > li { position: relative; }

.menu-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0.5rem 0.75rem;
	border-radius: var(--r-sm);
	font-size: 0.87rem;
	font-weight: 500;
	color: var(--ink-2);
	transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.menu-link:hover,
.nav__list > li:hover > .menu-link {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.05);
}

.nav__list > .current-menu-item > .menu-link,
.nav__list > .current-menu-ancestor > .menu-link {
	color: var(--ink);
	background: rgba(0, 0, 0, 0.35);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6), inset 0 -1px 0 var(--edge-soft);
}

.menu-link__caret { opacity: 0.5; transition: transform 0.25s var(--ease); }
.nav__list > li:hover .menu-link__caret { transform: rotate(180deg); }

.nav .submenu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	translate: -50% 0;
	min-width: 220px;
	padding: 7px;
	border-radius: var(--r);
	background: linear-gradient(180deg, #23282d 0%, #14181b 100%);
	box-shadow: var(--molded), var(--lift-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
	z-index: 5;
}

.nav__list > li:hover > .submenu,
.nav__list > li:focus-within > .submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.submenu-link {
	display: block;
	padding: 0.5rem 0.7rem;
	border-radius: var(--r-xs);
	font-size: 0.85rem;
	color: var(--ink-2);
	transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.submenu-link:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }

.nav .submenu-toggle { display: none; }

.bar__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
	margin-left: auto;
}

.burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: var(--r-sm);
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	box-shadow: var(--molded);
	place-items: center;
	align-content: center;
	justify-content: center;
	gap: 5px;
}

.burger__bar {
	display: block;
	width: 16px;
	height: 1.5px;
	background: var(--ink-2);
	border-radius: 2px;
	transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded='true'] .burger__bar:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bar:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Search panel */
.search-panel {
	position: relative;
	z-index: 55;
	max-width: var(--shell);
	margin: 0.5rem auto 0;
}

.search-panel[hidden] { display: none; }

.search-panel__face {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem;
	border-radius: var(--r-lg);
	background: linear-gradient(180deg, #23282d 0%, #14181b 100%);
	box-shadow: var(--molded), var(--lift);
}

.search-panel__face .searchform { flex: 1; }

/* Search form as a recessed field */
.searchform {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 5px 5px 5px 14px;
	border-radius: var(--r-sm);
}

.searchform__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 0.92rem;
	padding: 0.6rem 0;
}

.searchform__input::placeholder { color: var(--faint); }
.searchform__input:focus { outline: none; }

.searchform__submit {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--r-sm);
	color: #0d0f11;
	background: linear-gradient(180deg, #ffffff 0%, #dfe2e4 100%);
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(0, 0, 0, 0.5);
	transition: filter 0.18s var(--ease), transform 0.12s var(--ease);
}

.searchform__submit:hover { filter: brightness(1.05); }
.searchform__submit:active { transform: translateY(1px); }

/* Mobile navigation */
.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	background: rgba(6, 8, 9, 0.7);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}

.mobile-nav__panel {
	position: absolute;
	inset: var(--outer) var(--outer) var(--outer) auto;
	width: min(400px, calc(100% - var(--outer) * 2));
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.25rem;
	border-radius: var(--r-lg);
	background: linear-gradient(180deg, #1e2226 0%, #0f1214 100%);
	box-shadow: var(--molded), var(--lift-lg);
	transform: translateX(104%);
	transition: transform 0.42s var(--ease);
	overflow-y: auto;
	z-index: 2;
}

.mobile-nav.is-open .mobile-nav__scrim { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: none; }

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}

.mobile-nav__list { display: grid; gap: 2px; }

.mobile-nav__list li { position: relative; }

.mobile-nav__list .menu-link,
.mobile-nav__list .submenu-link {
	display: block;
	padding: 0.75rem 0.6rem;
	border-radius: var(--r-sm);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--ink);
}

.mobile-nav__list .submenu {
	display: none;
	padding: 2px 0 6px 0.9rem;
	margin-left: 0.5rem;
	border-left: 1px solid var(--line-2);
}

.mobile-nav__list .submenu-link {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.92rem;
	color: var(--muted);
}

.mobile-nav__list li.is-open > .submenu { display: block; }

.mobile-nav__list .submenu-toggle {
	position: absolute;
	top: 4px;
	right: 0;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--r-sm);
	color: var(--muted);
	box-shadow: inset 0 0 0 1px var(--line);
}

.mobile-nav__list li.is-open > .submenu-toggle { color: var(--signal); }
.mobile-nav__list li.is-open > .submenu-toggle svg { transform: rotate(45deg); }
.mobile-nav__list .submenu-toggle svg { transition: transform 0.25s var(--ease); }

.mobile-nav__foot {
	margin-top: auto;
	display: grid;
	gap: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.mobile-nav__contacts { display: grid; gap: 0.35rem; }

.mobile-nav__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */

.hero {
	position: relative;
	padding: clamp(0.6rem, 1.4vw, 1.1rem) clamp(0.6rem, 1.4vw, 1.1rem) 0;
}

.hero__well {
	position: relative;
	min-height: clamp(30rem, 78vh, 46rem);
	display: flex;
	align-items: flex-end;
	border-radius: calc(var(--r-xl) - 8px);
	overflow: hidden;
	background: var(--well-bg);
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, 0.9),
		inset 0 3px 10px rgba(0, 0, 0, 0.85),
		inset 0 -1px 0 var(--edge-soft);
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__img,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero__video.is-playing { opacity: 1; }

.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 10, 12, 0.72) 0%, rgba(8, 10, 12, 0.28) 34%, rgba(8, 10, 12, 0.86) 82%, rgba(8, 10, 12, 0.96) 100%),
		linear-gradient(90deg, rgba(8, 10, 12, 0.8) 0%, transparent 62%);
}

.hero__grain {
	position: absolute;
	inset: 0;
	opacity: 0.5;
	mix-blend-mode: overlay;
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6px);
}

.hero__dust {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.55;
	pointer-events: none;
}

/* The lit lip along the bottom edge of the window. */
.hero__lip {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--edge), transparent);
	z-index: 2;
}

.hero__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: var(--shell);
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
	display: grid;
	gap: 1.4rem;
	justify-items: start;
}

.hero__title {
	font-size: clamp(2.6rem, 8vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.038em;
	max-width: 13ch;
	text-transform: uppercase;
}

.hero__text {
	max-width: 50ch;
	color: var(--ink-2);
	font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

/* Instrument row */
.gauges {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(0.6rem, 1.2vw, 1rem);
	max-width: var(--shell);
	margin: clamp(0.6rem, 1.4vw, 1.1rem) auto 0;
	padding-inline: var(--gutter);
}

.gauge {
	display: grid;
	gap: 0.55rem;
	padding: 1.1rem 1.15rem 1rem;
	border-radius: var(--r);
}

.gauge__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
}

.gauge__value {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.15rem, 1.9vw, 1.5rem);
	letter-spacing: -0.02em;
	color: var(--ink);
}

.gauge__track {
	display: block;
	height: 4px;
	border-radius: 3px;
	background: var(--well-bg);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), inset 0 -1px 0 var(--edge-soft);
	overflow: hidden;
}

.gauge__track i {
	display: block;
	height: 100%;
	width: var(--fill, 50%);
	border-radius: 3px;
	background: linear-gradient(90deg, var(--signal-deep), var(--signal));
	box-shadow: 0 0 8px var(--signal-glow);
	transform-origin: left center;
}

/* -------------------------------------------------------------------------
   9. Ticker
   ---------------------------------------------------------------------- */

.ticker {
	max-width: var(--shell);
	margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
	padding-inline: var(--gutter);
}

.ticker__window {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-sm);
	padding-block: 0.8rem;
}

.ticker__track {
	display: flex;
	width: max-content;
	gap: 3rem;
	animation: ticker-run 46s linear infinite;
}

.ticker__item {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--faint);
	white-space: nowrap;
}

@keyframes ticker-run {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(calc(-100% / 3 - 1rem), 0, 0); }
}

.ticker__fade {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 70px;
	pointer-events: none;
}

.ticker__fade--l { left: 0; background: linear-gradient(90deg, var(--well-bg), transparent); }
.ticker__fade--r { right: 0; background: linear-gradient(270deg, var(--well-bg), transparent); }

/* -------------------------------------------------------------------------
   10. Category rack
   ---------------------------------------------------------------------- */

.rack { display: grid; gap: 0.6rem; }

.drawer {
	display: grid;
	grid-template-columns: auto 92px minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 1.75rem);
	padding: 0.85rem 1.1rem 0.85rem 1.25rem;
	border-radius: var(--r);
	background: linear-gradient(180deg, var(--panel-top) 0%, var(--panel-bot) 100%);
	box-shadow: var(--molded), 0 10px 22px -18px rgba(0, 0, 0, 0.9);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

.drawer:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
	box-shadow: var(--molded), var(--lift);
}

.drawer:active { transform: translateY(0); }

.drawer__index {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	color: var(--faint);
	transition: color 0.3s var(--ease);
}

.drawer:hover .drawer__index { color: var(--signal); }

.drawer__media {
	width: 92px;
	aspect-ratio: 1;
	border-radius: var(--r-sm);
	overflow: hidden;
}

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

.drawer:hover .drawer__img { transform: scale(1.06); }

.drawer__main { display: grid; gap: 0.3rem; }

.drawer__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	letter-spacing: -0.02em;
	color: var(--ink);
}

.drawer__desc {
	color: var(--muted);
	font-size: 0.88rem;
	max-width: 62ch;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.drawer__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: none;
}

.drawer__pull {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--r-sm);
	color: var(--ink-2);
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	box-shadow: var(--molded);
	transition: color 0.25s var(--ease), filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.drawer:hover .drawer__pull {
	color: #06181e;
	background: linear-gradient(180deg, #6fe0f4 0%, var(--signal-deep) 100%);
	transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   11. Story console
   ---------------------------------------------------------------------- */

.story {
	position: relative;
}

.story__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.story__aside {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
	position: sticky;
	top: 7rem;
}

.story__title {
	font-size: var(--fs-title);
	max-width: 16ch;
}

.story__readout {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	font-family: var(--font-mono);
}

.story__step {
	font-size: 2.1rem;
	color: var(--signal);
	text-shadow: 0 0 18px var(--signal-glow);
	line-height: 1;
}

.story__of { font-size: 0.85rem; color: var(--faint); }

.story__progress {
	width: min(260px, 100%);
	height: 5px;
	border-radius: 3px;
	overflow: hidden;
}

.story__progress-bar {
	display: block;
	height: 100%;
	width: 25%;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--signal-deep), var(--signal));
	box-shadow: 0 0 10px var(--signal-glow);
	transition: width 0.25s linear;
}

.story__panels { display: grid; gap: 0.75rem; }

.module {
	display: grid;
	gap: 0.7rem;
	padding: clamp(1.25rem, 2.4vw, 1.9rem);
	border-radius: var(--r);
	opacity: 0.42;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease), filter 0.4s var(--ease);
}

.module.is-active {
	opacity: 1;
	transform: translateX(6px);
	filter: brightness(1.08);
	box-shadow: var(--molded), var(--lift);
}

.module__head {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.module__index {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	color: var(--faint);
}

.module.is-active .module__index { color: var(--signal); }

.module__title {
	font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.module__text {
	color: var(--muted);
	font-size: 0.92rem;
	max-width: 58ch;
}

/* Only while the console is actually pinned. Un-pinned (mobile, reduced
   motion, no JS) every module stays open, because then the page scrolls and
   there is room for all of them. */
.story.is-pinned .module__text {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.5s var(--ease), opacity 0.3s var(--ease);
}

.story.is-pinned .module.is-active .module__text {
	max-height: 12rem;
	opacity: 1;
}

.story.is-pinned .module { padding-block: 1.1rem; }
.story.is-pinned .module.is-active { padding-block: clamp(1.25rem, 2.4vw, 1.9rem); }
.story.is-pinned .story__aside { position: static; }

/* -------------------------------------------------------------------------
   12. Industries
   ---------------------------------------------------------------------- */

.section--ind { overflow: hidden; }

.ind-track {
	display: flex;
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
	padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

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

.ind-stage { position: relative; }

.ind-card {
	flex: 0 0 clamp(280px, 34vw, 430px);
	scroll-snap-align: start;
	display: grid;
	gap: 1rem;
	padding: 0.85rem 0.85rem 1.35rem;
	border-radius: var(--r-lg);
}

.ind-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-sm);
	overflow: hidden;
}

.ind-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.ind-card:hover .ind-card__img { transform: scale(1.04); }

.ind-card__code {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 3px 8px;
	border-radius: var(--r-xs);
	background: rgba(6, 8, 10, 0.72);
	box-shadow: inset 0 0 0 1px var(--line-2);
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	color: var(--ink-2);
}

.ind-card__body { display: grid; gap: 0.6rem; padding-inline: 0.5rem; }

.ind-card__title { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }

.ind-card__text {
	color: var(--muted);
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* -------------------------------------------------------------------------
   13. Products
   ---------------------------------------------------------------------- */

.p-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

/* auto-fill keeps the track count constant, which is right for a full
   catalogue and wrong for a related-models strip that returned one item:
   the card would sit alone against two empty columns. Cap the grid instead
   so a short row reads as deliberate. */
.p-grid[data-count='1'] { max-width: 380px; }
.p-grid[data-count='2'] { max-width: 790px; }

.p-card {
	display: flex;
	flex-direction: column;
	padding: 0.85rem;
	border-radius: var(--r-lg);
	transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), filter 0.32s var(--ease);
}

.p-card:hover {
	transform: translateY(-3px);
	filter: brightness(1.07);
	box-shadow: var(--molded), var(--lift-lg);
}

/* Lit inspection bay: the photography is on a pale studio ground, so a light
   tray reads as a lamp over the machine instead of a cut-out pasted on. */
.p-card__tray {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: var(--r-sm);
	overflow: hidden;
	background:
		radial-gradient(110% 85% at 50% 0%, #f6f5f3 0%, var(--tray) 58%, var(--tray-2) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		inset 0 -1px 0 rgba(0, 0, 0, 0.14),
		0 0 0 1px rgba(0, 0, 0, 0.55);
}

.p-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply;
	transition: transform 0.6s var(--ease);
}

.p-card:hover .p-card__img { transform: scale(1.05); }

/* A soft sheen across the top of the bay. */
.p-card__glass {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 42%);
}

.p-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	flex: 1;
	padding: 1.15rem 0.55rem 0.4rem;
}

.chip--sku { align-self: start; }

.p-card__title {
	font-size: 1.1rem;
	letter-spacing: -0.02em;
}

.p-card__title a { transition: color 0.2s var(--ease); }
.p-card__title a:hover { color: var(--signal); }

/* Spec readout: label left, value right, hairline between rows. */
.readout { display: grid; gap: 0; margin: 0; }

.readout__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: baseline;
	gap: 1rem;
	padding: 0.5rem 0;
	border-top: 1px solid var(--line);
}

.readout__row dt {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--faint);
}

.readout__row dd {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--ink);
	text-align: right;
}

.readout--full .readout__row { padding: 0.7rem 0; }
.readout--full .readout__row dd { font-size: 0.85rem; }

.p-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.9rem;
	border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   14. Process tiles
   ---------------------------------------------------------------------- */

.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.tile {
	position: relative;
	display: grid;
	gap: 0.85rem;
	justify-items: start;
	padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.25rem, 2vw, 1.6rem);
	border-radius: var(--r-lg);
	transition: transform 0.32s var(--ease), filter 0.32s var(--ease);
}

.tile:hover { transform: translateY(-3px); filter: brightness(1.07); }

/* A turned recess with the icon sitting at the bottom of it. */
.tile__recess {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: var(--signal);
	background: radial-gradient(80% 80% at 50% 20%, #0e1113 0%, #060708 100%);
	box-shadow:
		inset 0 2px 5px rgba(0, 0, 0, 0.9),
		inset 0 -1px 0 var(--edge-soft),
		0 1px 0 var(--edge-soft);
}

.tile__index {
	position: absolute;
	top: 1.15rem;
	right: 1.25rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.2);
}

.tile__title { font-size: 1.08rem; }

.tile__text { color: var(--muted); font-size: 0.88rem; }

/* -------------------------------------------------------------------------
   15. Stats bank
   ---------------------------------------------------------------------- */

.bank {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	border-radius: var(--r-lg);
	overflow: hidden;
}

.bank__cell {
	display: grid;
	gap: 0.4rem;
	justify-items: center;
	text-align: center;
	padding: clamp(1.6rem, 3vw, 2.4rem) 1.25rem;
	border-right: 1px solid var(--line);
}

.bank__cell:last-child { border-right: 0; }

.bank__value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3.1rem);
	letter-spacing: -0.04em;
	color: var(--ink);
	line-height: 1;
}

.bank__label {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	max-width: 22ch;
}

/* -------------------------------------------------------------------------
   16. News
   ---------------------------------------------------------------------- */

.n-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.n-card {
	display: flex;
	flex-direction: column;
	padding: 0.85rem;
	border-radius: var(--r-lg);
	transition: transform 0.32s var(--ease), filter 0.32s var(--ease);
}

.n-card:hover { transform: translateY(-3px); filter: brightness(1.07); }

.n-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--r-sm);
	overflow: hidden;
}

.n-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.n-card:hover .n-card__img { transform: scale(1.05); }

.n-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	flex: 1;
	padding: 1.1rem 0.55rem 0.5rem;
}

.n-card__meta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--faint);
}

.n-card__title { font-size: 1.08rem; }
.n-card__title a { transition: color 0.2s var(--ease); }
.n-card__title a:hover { color: var(--signal); }

.n-card__excerpt { color: var(--muted); font-size: 0.9rem; }

.n-card .link-arrow { margin-top: auto; padding-top: 0.9rem; }

.n-grid--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* -------------------------------------------------------------------------
   17. Console and forms
   ---------------------------------------------------------------------- */

.console {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: clamp(1.5rem, 3.5vw, 3.5rem);
	align-items: center;
	padding: clamp(1.5rem, 3.4vw, 3rem);
	border-radius: var(--r-xl);
	overflow: hidden;
}

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

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

.console__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(9, 11, 13, 0.95) 0%, rgba(9, 11, 13, 0.82) 45%, rgba(9, 11, 13, 0.9) 100%),
		linear-gradient(180deg, rgba(9, 11, 13, 0.5), rgba(9, 11, 13, 0.8));
}

.console__copy,
.console__panel {
	position: relative;
	z-index: 2;
}

.console__copy { display: grid; gap: 1.1rem; justify-items: start; }

.console__title {
	font-size: var(--fs-title);
	max-width: 18ch;
}

.console__text { color: var(--ink-2); max-width: 46ch; font-size: 0.95rem; }

.console__contacts { display: grid; gap: 0.5rem; margin-top: 0.25rem; }

.console__contacts li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 0.8rem;
}

.console__contacts a { transition: color 0.2s var(--ease); }
.console__contacts a:hover { color: var(--signal); }

.console__panel {
	padding: clamp(1.25rem, 2.2vw, 1.75rem);
	border-radius: var(--r-lg);
}

.console__panel-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 1.1rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--line);
	width: 100%;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.console--compact {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: start;
}

/* Form controls: recessed fields, one raised submit. Scoped to the surfaces
   the theme owns, so the inquiry plugin's own markup inherits it whatever
   classes it happens to emit. */
.console__panel input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
.console__panel select,
.console__panel textarea,
.contact__form input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
.contact__form select,
.contact__form textarea,
.comment-form input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
.comment-form textarea {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 0;
	border-radius: var(--r-sm);
	background: #070809;
	color: var(--ink);
	font: inherit;
	font-size: 0.92rem;
	box-shadow:
		inset 0 2px 5px rgba(0, 0, 0, 0.85),
		inset 0 0 0 1px rgba(255, 255, 255, 0.06),
		inset 0 -1px 0 var(--edge-soft);
	transition: box-shadow 0.22s var(--ease);
}

.console__panel textarea,
.contact__form textarea,
.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.console__panel input:focus,
.console__panel select:focus,
.console__panel textarea:focus,
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	box-shadow:
		inset 0 2px 5px rgba(0, 0, 0, 0.85),
		inset 0 0 0 1px var(--signal),
		0 0 0 3px rgba(60, 207, 232, 0.14);
}

.console__panel ::placeholder,
.contact__form ::placeholder,
.comment-form ::placeholder { color: var(--faint); }

.console__panel label,
.contact__form label,
.comment-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--muted);
}

.console__panel p,
.contact__form p { margin-bottom: 0.9rem; }

.console__panel button[type='submit'],
.console__panel input[type='submit'],
.contact__form button[type='submit'],
.contact__form input[type='submit'],
.comment-form input[type='submit'],
.comment-form button[type='submit'] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: var(--r-sm);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	color: #0d0f11;
	background: linear-gradient(180deg, #ffffff 0%, #dfe2e4 100%);
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(0, 0, 0, 0.5),
		0 12px 22px -14px rgba(0, 0, 0, 0.9);
	cursor: pointer;
	transition: transform 0.14s var(--ease), filter 0.18s var(--ease);
}

.console__panel button[type='submit']:hover,
.contact__form button[type='submit']:hover,
.comment-form input[type='submit']:hover { filter: brightness(1.05); transform: translateY(-1px); }

.console__panel button[type='submit']:active,
.contact__form button[type='submit']:active,
.comment-form input[type='submit']:active { transform: translateY(1px); }

.inquiry-note {
	margin-top: 0.9rem;
	font-size: 0.78rem;
	color: var(--faint);
}

.inquiry-fallback { display: grid; gap: 0.8rem; }

.inquiry-fallback__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
}

.inquiry-fallback__list { display: grid; gap: 0.5rem; }

.inquiry-fallback__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: var(--ink-2);
}

.inquiry-fallback__admin {
	padding: 0.75rem 0.9rem;
	border-radius: var(--r-sm);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 0.78rem;
	color: var(--muted);
}

/* The inquiry plugin ships its own light card. Inside a Chassis panel the
   panel already *is* the surface, so the plugin's shell is flattened and only
   its fields carry styling. Scoped to the two theme surfaces on purpose: the
   plugin's own modal keeps its light design, which is correct there. */
.console__panel .zc-inquiry-block,
.contact__form .zc-inquiry-block {
	background: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--ink);
}

.console__panel .zc-inquiry-block__intro,
.contact__form .zc-inquiry-block__intro { margin: 0; }

.console__panel .zc-inquiry-block__intro h2,
.contact__form .zc-inquiry-block__intro h2 { color: var(--ink); }

.console__panel .zc-inquiry-block__intro h2:empty,
.contact__form .zc-inquiry-block__intro h2:empty { display: none; }

.console__panel .zc-inquiry-field,
.contact__form .zc-inquiry-field { min-width: 0; }

.console__panel .zc-inquiry-field:has(textarea),
.contact__form .zc-inquiry-field:has(textarea) { grid-column: 1 / -1; }

.console__panel .zc-required,
.contact__form .zc-required { color: var(--signal); }

.console__panel .zc-inquiry-form p,
.contact__form .zc-inquiry-form p { color: var(--muted); font-size: 0.85rem; }

/* -------------------------------------------------------------------------
   18. Reel
   ---------------------------------------------------------------------- */

.reel__stage {
	position: relative;
	max-width: var(--shell);
	margin-inline: auto;
	min-height: clamp(26rem, 70vh, 42rem);
	display: flex;
	align-items: flex-end;
	border-radius: var(--r-xl);
	overflow: hidden;
}

.reel__poster,
.reel__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reel__video { opacity: 0; transition: opacity 0.6s var(--ease); }
.reel.is-live .reel__video { opacity: 1; }

.reel__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 10, 12, 0.55), rgba(8, 10, 12, 0.9));
}

.reel__copy {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: end;
	width: 100%;
	padding: clamp(1.75rem, 4vw, 3rem);
}

.reel__caption { display: grid; gap: 1rem; justify-items: start; }
.reel__title { font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 18ch; }
.reel__text { color: var(--ink-2); max-width: 44ch; font-size: 0.94rem; }

.reel__steps { display: grid; gap: 0.5rem; }

.reel__step {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.35rem 10px;
	align-items: center;
	padding: 0.7rem 0.9rem;
	border-radius: var(--r-sm);
	background: rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 0 0 1px var(--line);
	opacity: 0.45;
	transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.reel__step.is-active { opacity: 1; background: rgba(255, 255, 255, 0.07); }
.reel__step strong { font-family: var(--font-display); font-size: 0.95rem; }
.reel__step span { grid-column: 2; font-size: 0.82rem; color: var(--muted); }

/* -------------------------------------------------------------------------
   19. Inner pages
   ---------------------------------------------------------------------- */

.page-hero { padding: clamp(0.6rem, 1.4vw, 1.1rem) 0 0; }

.page-hero__plate {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-xl);
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3.5vw, 3rem);
	display: flex;
	align-items: flex-end;
}

/* Only the photographic variant needs a stage height. Without an image the
   plate should be exactly as tall as the words in it, on tighter padding —
   there is no photograph to give the whitespace a job. */
.page-hero--media .page-hero__plate { min-height: 15rem; }

.page-hero:not(.page-hero--media) .page-hero__plate {
	padding-block: clamp(1.75rem, 3.4vw, 2.75rem);
}

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

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

.page-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 10, 12, 0.6) 0%, rgba(8, 10, 12, 0.88) 100%);
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 1rem;
	justify-items: start;
	width: 100%;
}

.page-hero__title { font-size: clamp(1.9rem, 4.6vw, 3.4rem); max-width: 20ch; }

.page-hero__text { color: var(--ink-2); max-width: 56ch; }

.crumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--faint);
}

.crumbs__item + .crumbs__item::before {
	content: '/';
	margin-right: 0.4rem;
	opacity: 0.5;
}

.crumbs a { transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current] { color: var(--ink-2); }

/* Category switch: a bank of keys in a recess. */
.switch {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 5px;
	border-radius: var(--r-sm);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.switch__key {
	padding: 0.5rem 0.9rem;
	border-radius: var(--r-xs);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.switch__key:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }

.switch__key.is-on {
	color: var(--ink);
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	box-shadow: var(--molded);
}

/* Product single */
.p-single__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3.5vw, 3.5rem);
	align-items: start;
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.p-single__bay { padding: clamp(1rem, 2vw, 1.6rem); }

.p-single__bay .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.p-single__bay .woocommerce-product-gallery__image img { border-radius: var(--r-sm); }
.p-single__bay .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.p-single__bay .flex-control-thumbs li { width: 68px; margin: 0; list-style: none; }
.p-single__bay .flex-control-thumbs img { border-radius: var(--r-xs); cursor: pointer; opacity: 0.55; transition: opacity 0.2s var(--ease); }
.p-single__bay .flex-control-thumbs img.flex-active,
.p-single__bay .flex-control-thumbs img:hover { opacity: 1; box-shadow: 0 0 0 2px var(--signal-deep); }
.p-single__bay .woocommerce-product-gallery__trigger { display: none; }

.p-single__summary { display: grid; gap: 1.15rem; justify-items: start; }

.p-single__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

.p-single__short { color: var(--ink-2); max-width: 54ch; }
.p-single__short p + p { margin-top: 0.7rem; }

.p-single__highlights { display: grid; gap: 0.55rem; }

.p-single__highlights li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--ink-2);
	font-size: 0.92rem;
}

.tick {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	flex: none;
	margin-top: 1px;
	border-radius: 50%;
	color: var(--signal);
	background: radial-gradient(80% 80% at 50% 20%, #0e1113, #060708);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 1px 0 var(--edge-soft);
}

.p-single__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.spec { width: 100%; padding: clamp(1.25rem, 2.2vw, 1.75rem); border-radius: var(--r-lg); }

.spec__title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 0.4rem;
	font-family: var(--font-mono);
	font-weight: 400;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.spec .readout__row:first-of-type { border-top: 0; }

/* Prose */
.prose {
	color: var(--ink-2);
	font-size: 1.02rem;
	line-height: 1.75;
	max-width: 74ch;
}

.prose > * + * { margin-top: 1.15rem; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 2.25rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.prose h3 { font-size: 1.2rem; }
.prose a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4rem; }
.prose img { border-radius: var(--r); }
.prose blockquote {
	padding: 1rem 1.4rem;
	border-left: 2px solid var(--signal-deep);
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	color: var(--ink);
}
.prose code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	padding: 0.15em 0.4em;
	border-radius: var(--r-xs);
	background: rgba(0, 0, 0, 0.45);
	box-shadow: inset 0 0 0 1px var(--line);
}
.prose--page { max-width: 80ch; }

/* Layout with sidebar */
.layout { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }
.layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
.layout__side { display: grid; gap: 1rem; align-content: start; }

.widget { padding: 1.25rem; border-radius: var(--r); }
.widget__title {
	font-family: var(--font-mono);
	font-weight: 400;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.9rem;
}
.widget ul { display: grid; gap: 0.5rem; }
.widget a { color: var(--ink-2); font-size: 0.9rem; }
.widget a:hover { color: var(--signal); }

/* Pager */
.pager { margin-top: clamp(2rem, 4vw, 3rem); }

.pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.pager .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 0.6rem;
	border-radius: var(--r-sm);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--muted);
	box-shadow: inset 0 0 0 1px var(--line);
	transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pager .page-numbers:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }

.pager .page-numbers.current {
	color: var(--ink);
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	box-shadow: var(--molded);
}

/* Empty state */
.empty {
	display: grid;
	gap: 1rem;
	justify-items: center;
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--r-xl);
}

.empty__code {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(3.5rem, 12vw, 7rem);
	letter-spacing: -0.05em;
	line-height: 1;
	color: rgba(255, 255, 255, 0.07);
}

.empty__title { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.empty__text { color: var(--muted); max-width: 48ch; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 0.5rem; }
.empty__search { width: min(440px, 100%); margin-top: 0.75rem; }
.empty__search .searchform { background: var(--well-bg); box-shadow: var(--recess); }

/* Search results */
.search-again { max-width: 520px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.search-again .searchform { background: var(--well-bg); box-shadow: var(--recess); }

.results { display: grid; gap: 0.6rem; }

.result {
	display: grid;
	gap: 0.6rem;
	justify-items: start;
	padding: clamp(1.25rem, 2.2vw, 1.75rem);
	border-radius: var(--r);
}

.result__title { font-size: 1.15rem; }
.result__title a:hover { color: var(--signal); }
.result__text { color: var(--muted); font-size: 0.92rem; }

/* Contact page */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: start;
}

.contact__aside { display: grid; gap: 1.75rem; }

.contact__list { display: grid; gap: 0.6rem; }
.contact__social { margin-top: 1.4rem; display: grid; gap: 0.6rem; }

.contact__list li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--r);
}

.contact__recess {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 50%;
	color: var(--signal);
	background: radial-gradient(80% 80% at 50% 20%, #0e1113, #060708);
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 1px 0 var(--edge-soft);
}

.contact__body { display: grid; gap: 0.25rem; }

.contact__label {
	font-family: var(--font-mono);
	font-size: 0.64rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--faint);
}

.contact__value { color: var(--ink); font-size: 0.95rem; }
a.contact__value:hover { color: var(--signal); }

.contact__form { padding: clamp(1.25rem, 2.2vw, 1.75rem); border-radius: var(--r-lg); }

.contact__map {
	margin-top: clamp(1.75rem, 4vw, 2.75rem);
	padding: 0.75rem;
	border-radius: var(--r-lg);
	overflow: hidden;
}

.contact__map iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--r-sm); display: block; }

/* Comments */
.comments { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.5rem; }
.comments__title { font-size: 1.25rem; }
.comments__list { display: grid; gap: 1rem; }
.comments__list .comment-body {
	padding: 1.15rem 1.35rem;
	border-radius: var(--r);
	background: linear-gradient(180deg, var(--panel-top), var(--panel-bot));
	box-shadow: var(--molded);
}
.comments__list .children { padding-left: 1.5rem; margin-top: 1rem; display: grid; gap: 1rem; }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--muted);
}

.post-nav a:hover { color: var(--signal); }

.tags { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 6px; }

.tags a {
	padding: 4px 9px;
	border-radius: var(--r-xs);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--muted);
	box-shadow: inset 0 0 0 1px var(--line);
}

.tags a:hover { color: var(--signal); }

/* Block-editor surfaces.

   Widgets and page content are authored in the block editor, so the theme has
   to style WordPress's own markup, not just its own. Without this the sidebar
   renders a stock white search input and a default h2 on a molded dark plate,
   which is the single most obvious way a custom theme falls apart on an inner
   page. */

.layout__side .widget > h2,
.layout__side .wp-block-heading,
.layout__side .wp-block-search__label,
.layout__side .wp-block-group > h2 {
	display: block;
	font-family: var(--font-mono);
	font-weight: 400;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 0.9rem;
}

.layout__side ul,
.layout__side ol {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.layout__side li { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.layout__side a { color: var(--ink-2); transition: color 0.2s var(--ease); }
.layout__side a:hover { color: var(--signal); }

.wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 5px;
	border-radius: var(--r-sm);
	background: var(--well-bg);
	box-shadow: var(--recess);
}

.wp-block-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 0.9rem;
	padding: 0.55rem 0.7rem;
}

.wp-block-search__input:focus { outline: none; }
.wp-block-search__input::placeholder { color: var(--faint); }

.wp-block-search__button {
	border: 0;
	padding: 0.55rem 1rem;
	border-radius: var(--r-xs);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.82rem;
	color: #0d0f11;
	background: linear-gradient(180deg, #ffffff 0%, #dfe2e4 100%);
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: filter 0.18s var(--ease), transform 0.12s var(--ease);
}

.wp-block-search__button:hover { filter: brightness(1.05); }
.wp-block-search__button:active { transform: translateY(1px); }

.wp-block-latest-posts__post-date,
.wp-block-latest-comments__comment-date {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	color: var(--faint);
}

.wp-block-calendar table { width: 100%; font-size: 0.82rem; color: var(--muted); }
.wp-block-calendar caption { color: var(--faint); padding-bottom: 0.5rem; }

/* Blocks inside page and post content. */
.prose .wp-block-image figcaption,
.prose figcaption {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--faint);
	margin-top: 0.6rem;
}

.prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0.85rem 1.35rem;
	border-radius: var(--r-sm);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	color: #0d0f11;
	background: linear-gradient(180deg, #ffffff 0%, #dfe2e4 100%);
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(0, 0, 0, 0.5);
}

.prose .is-style-outline .wp-block-button__link,
.prose .wp-block-button.is-style-outline .wp-block-button__link {
	background: none;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--line-2);
}

.prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose .wp-block-table th,
.prose .wp-block-table td {
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	text-align: left;
	font-size: 0.92rem;
}
.prose .wp-block-table th { color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.prose .wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--line);
	margin-block: 2rem;
}

.prose .wp-block-pullquote,
.prose .wp-block-quote {
	padding: 1rem 1.4rem;
	border-left: 2px solid var(--signal-deep);
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	color: var(--ink);
}

.prose .wp-block-quote cite {
	display: block;
	margin-top: 0.6rem;
	font-style: normal;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--faint);
}

/* -------------------------------------------------------------------------
   20. Footer
   ---------------------------------------------------------------------- */

.site-footer {
	border-radius: 0 0 var(--r-xl) var(--r-xl);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 100%);
	box-shadow: inset 0 1px 0 var(--edge-soft);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(140px, 1fr));
	gap: clamp(1.75rem, 4vw, 3.5rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.site-footer__brand { display: grid; gap: 1.15rem; justify-items: start; max-width: 38ch; }
.site-footer__about { color: var(--muted); font-size: 0.9rem; }

.social { display: flex; flex-wrap: wrap; gap: 7px; }

.social__link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--r-sm);
	color: var(--muted);
	background: linear-gradient(180deg, var(--raise-top) 0%, var(--raise-bot) 100%);
	box-shadow: var(--molded);
	transition: color 0.2s var(--ease), filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.social__link:hover { color: var(--signal); filter: brightness(1.15); transform: translateY(-1px); }

.site-footer__title {
	font-family: var(--font-mono);
	font-weight: 400;
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--faint);
	margin-bottom: 1rem;
}

.site-footer__list,
.site-footer__contacts { display: grid; gap: 0.6rem; }

.site-footer__list a {
	color: var(--ink-2);
	font-size: 0.9rem;
	transition: color 0.2s var(--ease);
}

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

.site-footer__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--muted);
	font-size: 0.85rem;
}

.site-footer__contacts svg { flex: none; margin-top: 3px; opacity: 0.7; }
.site-footer__contacts a:hover { color: var(--signal); }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: var(--faint);
}

.site-footer__policy-list { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__policy-list a:hover { color: var(--signal); }

/* -------------------------------------------------------------------------
   21. Contact rail and QR modal
   ---------------------------------------------------------------------- */

.rail {
	position: fixed;
	top: 50%;
	translate: 0 -50%;
	z-index: 90;
}

.rail--right { right: calc(var(--outer) + 6px); }
.rail--left { left: calc(var(--outer) + 6px); }

.rail__list {
	display: grid;
	gap: 5px;
	padding: 5px;
	border-radius: var(--r);
	background: linear-gradient(180deg, #23282d 0%, #14181b 100%);
	box-shadow: var(--molded), var(--lift);
}

.rail__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: var(--r-sm);
	color: var(--ink-2);
	background: rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 0 0 1px var(--line);
	transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.rail__btn:hover { color: #06181e; background: linear-gradient(180deg, #6fe0f4, var(--signal-deep)); }

.rail__tip {
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	white-space: nowrap;
	padding: 5px 10px;
	border-radius: var(--r-xs);
	background: #0b0d0f;
	box-shadow: inset 0 0 0 1px var(--line-2), var(--lift);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--ink-2);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.rail--right .rail__tip { right: calc(100% + 12px); transform: translateX(6px); }
.rail--left .rail__tip { left: calc(100% + 12px); transform: translateX(-6px); }
.rail__btn:hover .rail__tip { opacity: 1; transform: none; }

.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 210;
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.qr-modal[hidden] { display: none; }

.qr-modal__scrim {
	position: absolute;
	inset: 0;
	background: rgba(6, 8, 9, 0.78);
	backdrop-filter: blur(4px);
}

.qr-modal__dialog {
	position: relative;
	width: min(360px, 100%);
	padding: 1.75rem;
	border-radius: var(--r-lg);
	background: linear-gradient(180deg, #23282d 0%, #14181b 100%);
	box-shadow: var(--molded), var(--lift-lg);
	text-align: center;
}

.qr-modal__close { position: absolute; top: 10px; right: 10px; }

.qr-card { display: grid; gap: 0.9rem; justify-items: center; }
.qr-card__title { font-size: 1.1rem; }
.qr-card__text { color: var(--muted); font-size: 0.88rem; }
.qr-card__img { width: 200px; height: auto; border-radius: var(--r-sm); background: #fff; padding: 8px; }
.qr-card__value {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	word-break: break-all;
	text-align: center;
}
.qr-card__btn { margin-top: 0.2rem; }

/* -------------------------------------------------------------------------
   22. Motion helpers
   ---------------------------------------------------------------------- */

[data-mask-lines] .mw {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}

[data-mask-lines] .mw__i {
	display: inline-block;
	will-change: transform;
}

.motion-none [data-reveal],
.motion-none [data-reveal-item] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.ticker__track { animation: none; }
	.hero__dust { display: none; }
	.module { opacity: 1; }
}

/* -------------------------------------------------------------------------
   23. Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.nav { display: none; }
	.burger { display: grid; }
	.bar__cta { display: none; }
	.story__inner { grid-template-columns: 1fr; }
	.story__aside { position: static; }
	.console,
	.console--compact { grid-template-columns: 1fr; }
	.reel__copy { grid-template-columns: 1fr; }
	.contact { grid-template-columns: 1fr; }
	.p-single__top { grid-template-columns: 1fr; }
	.layout--sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	/* The hero well turns portrait on narrow screens, so `cover` keeps only a
	   narrow centre column of a 16:9 photograph — at 390px just 34% of its
	   width. The machine sits right of centre in the hero shot, so a centred
	   crop cuts it out and the banner stops showing the product at work.
	   Biasing the crop right keeps operator and machine in frame at every
	   width without needing a separate mobile asset. */
	.hero__img { object-position: 62% 50%; }

	.sec-head { grid-template-columns: 1fr; align-items: start; }
	.drawer {
		grid-template-columns: auto 72px minmax(0, 1fr);
		grid-template-areas:
			'index media main'
			'meta  meta  meta';
		row-gap: 0.9rem;
	}
	.drawer__index { grid-area: index; }
	.drawer__media { grid-area: media; width: 72px; }
	.drawer__main { grid-area: main; }
	.drawer__meta { grid-area: meta; justify-content: space-between; }
	.drawer__desc { -webkit-line-clamp: 3; }
	.bank__cell { border-right: 0; border-bottom: 1px solid var(--line); }
	.bank__cell:last-child { border-bottom: 0; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.module { opacity: 1; transform: none; }
	.story__panels { gap: 0.6rem; }
}

@media (max-width: 620px) {
	:root { --r-xl: 20px; }
	.topbar { justify-content: center; text-align: center; }
	.topbar__text { display: none; }
	.hero__well { min-height: 34rem; }
	.hero__title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
	.hero__scrim {
		background: linear-gradient(180deg, rgba(8, 10, 12, 0.78) 0%, rgba(8, 10, 12, 0.45) 30%, rgba(8, 10, 12, 0.93) 72%, rgba(8, 10, 12, 0.97) 100%);
	}
	.hero__actions { width: 100%; }
	.hero__actions .btn { flex: 1 1 auto; }
	.site-footer__top { grid-template-columns: 1fr; }
	.p-card__actions { flex-direction: column; align-items: stretch; gap: 0.6rem; }
	.p-card__actions .btn { justify-content: center; width: 100%; }
	.rail { top: auto; bottom: calc(var(--outer) + 6px); translate: none; right: var(--outer); left: var(--outer); }
	.rail__list { grid-auto-flow: column; justify-content: center; }
	.rail--desktop { display: none; }
	.rail__tip { display: none; }
}
