/* ===========================================================
   Actreg UK Limited — stylesheet
   No frameworks. Dark-first industrial/technical design system.
   Space Grotesk (display/body) + JetBrains Mono (labels/specs).
   =========================================================== */

:root {
	--bg: #0a0a0a;
	--bg-1: #111111;
	--bg-2: #161616;
	--bg-3: #1c1c1c;
	--line: #262626;
	--line-2: #333333;
	--fg: #f3f3f1;
	--fg-dim: #a3a3a0;
	--fg-mute: #6b6b68;
	--white: #ffffff;
	--red: #e60000;
	--red-bright: #ff2e2e;
	--red-dim: #9c0000;
	--red-glow: rgba(230, 0, 0, 0.35);
	--red-100: #2a1010;
	--tag-bg: rgba(255, 255, 255, 0.06);
	--card-shadow: none;
	--radius: 4px;
	--radius-lg: 10px;
	--container: 1240px;
	--font:
		"Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--fg);
	background: var(--bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: var(--bg);
}
::-webkit-scrollbar-thumb {
	background: var(--line-2);
	border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
	background: var(--red);
}

img {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

h1,
h2,
h3,
h4 {
	line-height: 1.05;
	margin: 0 0 0.5em;
	font-weight: 600;
	letter-spacing: -0.06em;
	color: var(--fg);
}
h1 {
	font-size: clamp(2.4rem, 6.4vw, 6rem);
	font-weight: 500;
}
h2 {
	font-size: clamp(1.9rem, 4vw, 3rem);
}
h3 {
	font-size: 1.2rem;
	font-weight: 600;
}
p {
	margin: 0 0 1em;
	color: var(--fg-dim);
}

.mono {
	font-family: var(--font-mono);
	letter-spacing: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 1em;
}
.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--red);
	border-radius: 50%;
	box-shadow: 0 0 10px 2px var(--red-glow);
	flex-shrink: 0;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s cubic-bezier(0.16, 0.8, 0.3, 1),
		transform 0.7s cubic-bezier(0.16, 0.8, 0.3, 1);
}
[data-reveal].in-view {
	opacity: 1;
	transform: translateY(0);
}
[data-reveal="stagger"] > * {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}
[data-reveal="stagger"].in-view > * {
	opacity: 1;
	transform: translateY(0);
}
[data-reveal="stagger"].in-view > *:nth-child(1) {
	transition-delay: 0.02s;
}
[data-reveal="stagger"].in-view > *:nth-child(2) {
	transition-delay: 0.09s;
}
[data-reveal="stagger"].in-view > *:nth-child(3) {
	transition-delay: 0.16s;
}
[data-reveal="stagger"].in-view > *:nth-child(4) {
	transition-delay: 0.23s;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 0%;
	background: linear-gradient(90deg, var(--red), var(--red-bright));
	z-index: 200;
	box-shadow: 0 0 8px var(--red-glow);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	font-family: var(--font);
	font-weight: 600;
	font-size: 0.94rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.15s ease,
		box-shadow 0.2s ease;
	will-change: transform;
}
.btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}
.btn:hover svg {
	transform: translateX(3px);
}
.btn:active {
	transform: scale(0.97) !important;
}

.btn-primary {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover {
	background: var(--red-bright);
	box-shadow: 0 6px 24px -4px var(--red-glow);
}

.btn-outline {
	background: transparent;
	color: var(--fg);
	border-color: var(--line-2);
}
.btn-outline:hover {
	background: var(--bg-2);
	border-color: var(--fg-dim);
}

.btn-ghost {
	background: transparent;
	color: var(--fg);
	border-color: var(--line);
}
.btn-ghost:hover {
	background: var(--bg-2);
	border-color: var(--line-2);
}

.btn-block {
	width: 100%;
	justify-content: center;
}
.btn-sm {
	padding: 0.55em 1.1em;
	font-size: 0.82rem;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(10, 10, 10);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: padding 0.25s ease;
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	transition: height 0.25s ease;
}
.site-header.scrolled .container {
	height: 60px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.65em;
	color: var(--white);
	font-weight: 600;
	font-size: 1.2rem;
	letter-spacing: -0.01em;
}
.brand-mark {
	width: 34px;
	height: 34px;
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}
.brand-sub {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--fg-mute);
	text-transform: uppercase;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 2.2em;
}
.main-nav ul {
	list-style: none;
	display: flex;
	gap: 0.4em;
	margin: 0;
	padding: 0;
	counter-reset: nav;
}
.main-nav a {
	counter-increment: nav;
	display: flex;
	align-items: center;
	gap: 0.5em;
	color: var(--fg-dim);
	font-weight: 500;
	font-size: 0.88rem;
	padding: 0.6em 0.9em;
	border-radius: 999px;
	transition:
		color 0.15s ease,
		background 0.15s ease;
}
.main-nav a::before {
	content: counter(nav, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--red);
	opacity: 0.8;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
	color: var(--white);
	background: var(--bg-2);
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--line-2);
	border-radius: 6px;
	width: 42px;
	height: 38px;
	cursor: pointer;
	padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	background: var(--white);
	margin: 0 auto;
	position: relative;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}
.nav-toggle span::before {
	position: absolute;
	top: -6px;
}
.nav-toggle span::after {
	position: absolute;
	top: 6px;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: var(--bg);
	color: var(--white);
	padding: 110px 0 0;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(
		ellipse 80% 60% at 60% 0%,
		black 20%,
		transparent 75%
	);
	opacity: 0.5;
	pointer-events: none;
}
.hero::after {
	content: "";
	position: absolute;
	top: -20%;
	right: -10%;
	width: 60%;
	height: 90%;
	background: radial-gradient(circle, var(--red-glow), transparent 70%);
	filter: blur(40px);
	pointer-events: none;
}
.hero .container {
	position: relative;
	z-index: 1;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
	padding-bottom: 70px;
}
.hero h1 {
	color: var(--white);
	margin-bottom: 0.35em;
}
.hero h1 em {
	font-style: normal;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--red);
}
.hero p.lead {
	color: var(--fg-dim);
	font-size: 1.1rem;
	max-width: 46ch;
}
.hero-actions {
	display: flex;
	gap: 0.9em;
	margin-top: 1.8em;
	flex-wrap: wrap;
}

.hero-visual {
	position: relative;
	aspect-ratio: 1 / 1;
	max-width: 440px;
	margin: 0 auto;
}
.hero-visual svg {
	width: 100%;
	height: 100%;
}
.spec-tag {
	position: absolute;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--fg);
	background: rgba(20, 20, 20, 0.85);
	border: 1px solid var(--line-2);
	padding: 0.5em 0.8em;
	border-radius: 999px;
	backdrop-filter: blur(6px);
	white-space: nowrap;
}
.spec-tag span {
	color: var(--red);
}
.spec-tag.t1 {
	top: 6%;
	left: -4%;
}
.spec-tag.t2 {
	top: 44%;
	right: -8%;
}
.spec-tag.t3 {
	bottom: 8%;
	left: 6%;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
}
.hero-stats div {
	padding: 1.8em 1.5em;
	border-right: 1px solid var(--line);
}
.hero-stats div:last-child {
	border-right: none;
}
.hero-stats strong {
	display: block;
	font-family: var(--font-mono);
	font-size: 2.1rem;
	font-weight: 500;
	color: var(--white);
	line-height: 1;
	margin-bottom: 0.4em;
}
.hero-stats span {
	font-size: 0.8rem;
	color: var(--fg-mute);
}

/* ---------- Sections ---------- */
section {
	padding: 110px 0;
}
.section-head {
	max-width: 680px;
	margin: 0 auto 3.5em;
}
.section-head.center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.section-head p {
	margin: 0;
	font-size: 1.05rem;
}
.bg-alt {
	background: var(--bg-1);
}
.bg-flat {
	background: var(--bg);
}

/* ---------- Bento feature grid ---------- */
.bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.bento-card {
	background: var(--bg-1);
	padding: 2.4em 2em;
	position: relative;
	overflow: hidden;
	transition: background 0.25s ease;
}
.bento-card:hover {
	background: var(--bg-2);
}
.bento-card.wide {
	grid-column: span 2;
}
.bento-card::before {
	content: attr(data-index);
	position: absolute;
	top: 0.4em;
	right: 0.6em;
	font-family: var(--font-mono);
	font-size: 5rem;
	font-weight: 600;
	color: var(--fg);
	opacity: 0.04;
	line-height: 1;
	pointer-events: none;
}
.bento-card:hover::before {
	color: var(--red);
	opacity: 0.1;
}
.feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--red-100);
	color: var(--red);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.2em;
	position: relative;
}
.feature-icon svg {
	width: 22px;
	height: 22px;
}
.bento-card p {
	font-size: 0.94rem;
	margin-bottom: 0;
}

/* ---------- Feature grid (legacy 3/4/2 col utility) ---------- */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

/* ---------- Product cards ---------- */
.product-card {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--card-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	transition:
		transform 0.25s cubic-bezier(0.16, 0.8, 0.3, 1),
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}
.product-card:hover {
	box-shadow: var(--card-shadow-hover, var(--card-shadow));
}
.product-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--red), var(--red-bright));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.product-card:hover {
	transform: translateY(-4px);
	border-color: var(--line-2);
}
.product-card:hover::before {
	transform: scaleX(1);
}

.product-thumb {
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(circle at 30% 20%, rgba(230, 0, 0, 0.14), transparent 60%),
		var(--bg-2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red);
	position: relative;
	border-bottom: 1px solid var(--line);
}
.product-thumb svg {
	width: 50%;
	height: 50%;
	opacity: 0.95;
}
.product-thumb .tag {
	position: absolute;
	top: 10px;
	left: 10px;
	font-family: var(--font-mono);
	background: var(--tag-bg);
	color: var(--fg-dim);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35em 0.7em;
	border-radius: 999px;
	border: 1px solid var(--line-2);
}

.product-body {
	padding: 1.4em 1.4em 1.6em;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.product-body h3 {
	margin-bottom: 0.35em;
	font-size: 1.08rem;
}
.product-body p {
	font-size: 0.9rem;
	margin-bottom: 1.2em;
}
.product-body .btn {
	margin-top: auto;
}

/* ---------- Products toolbar ---------- */
.products-toolbar {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2em;
	padding: 1.2em 1.3em;
	background: var(--bg-1);
	box-shadow: var(--card-shadow);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.search-field {
	position: relative;
	flex: 1;
	min-width: 220px;
}
.search-field input {
	width: 100%;
	padding: 0.75em 1em 0.75em 2.5em;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-size: 0.94rem;
	font-family: var(--font);
	background: var(--bg-2);
	color: var(--fg);
}
.search-field input::placeholder {
	color: var(--fg-mute);
}
.search-field input:focus {
	outline: 1px solid var(--red);
	outline-offset: 1px;
}
.search-field svg {
	position: absolute;
	left: 0.9em;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: var(--fg-mute);
}

.filter-chips {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}
.chip {
	border: 1px solid var(--line-2);
	background: var(--bg-2);
	padding: 0.55em 1em;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 500;
	cursor: pointer;
	color: var(--fg-dim);
	transition: all 0.15s ease;
}
.chip:hover {
	border-color: var(--fg-dim);
	color: var(--fg);
}
.chip[aria-pressed="true"] {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}

.no-results {
	display: none;
	text-align: center;
	padding: 3em 1em;
	color: var(--fg-dim);
}
.no-results.visible {
	display: block;
}
.result-count {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--fg-mute);
	margin: -1.2em 0 1.6em;
}

/* ---------- Product detail ---------- */
.breadcrumb {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--fg-mute);
	margin-bottom: 2em;
}
.breadcrumb a {
	color: var(--fg-dim);
}
.breadcrumb a:hover {
	color: var(--red);
}

.detail-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: flex-start;
}
.detail-media {
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(circle at 30% 20%, rgba(230, 0, 0, 0.18), transparent 60%),
		var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red);
	position: sticky;
	top: 100px;
}
.detail-media svg {
	width: 46%;
	height: 46%;
}

.detail-category {
	display: inline-block;
	font-family: var(--font-mono);
	background: var(--red-100);
	color: var(--red);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.4em 0.9em;
	border-radius: 999px;
	margin-bottom: 1em;
}
.detail-actions {
	display: flex;
	gap: 0.9em;
	margin: 1.8em 0;
	flex-wrap: wrap;
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.5em;
	font-size: 0.92rem;
}
.spec-table th,
.spec-table td {
	text-align: left;
	padding: 0.9em 1em;
	border-bottom: 1px solid var(--line);
}
.spec-table th {
	width: 42%;
	color: var(--fg-mute);
	font-weight: 500;
	font-family: var(--font-mono);
	font-size: 0.82rem;
}
.spec-table td {
	font-family: var(--font-mono);
	color: var(--fg);
}

.tabs {
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 2em;
	margin: 2.8em 0 1.8em;
}
.tab-btn {
	background: none;
	border: none;
	font: inherit;
	font-weight: 600;
	font-size: 0.94rem;
	padding: 0.7em 0;
	color: var(--fg-mute);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 0.15s ease;
}
.tab-btn:hover {
	color: var(--fg);
}
.tab-btn[aria-selected="true"] {
	color: var(--fg);
	border-color: var(--red);
}
.tab-panel {
	display: none;
}
.tab-panel.active {
	display: block;
}

.related-heading {
	margin-top: 5em;
}

/* ---------- Process / steps (timeline) ---------- */
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	counter-reset: step;
	position: relative;
}
.steps::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	height: 1px;
	background: var(--line);
	z-index: 0;
}
.step {
	position: relative;
	padding-top: 3.2em;
}
.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bg);
	border: 1px solid var(--line-2);
	color: var(--red);
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 0.85rem;
	position: absolute;
	top: 0;
	left: 0;
}
.step h3 {
	font-size: 1.05rem;
}
.step p {
	font-size: 0.92rem;
}

/* ---------- Industries strip ---------- */
.industries {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.industries span {
	font-family: var(--font-mono);
	background: var(--bg-2);
	border: 1px solid var(--line-2);
	padding: 0.6em 1.1em;
	border-radius: 999px;
	font-size: 0.8rem;
	color: var(--fg-dim);
}

/* ---------- Diagonal divider ---------- */
.divider-cut {
	position: relative;
	height: 90px;
	background: var(--bg-1);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	background: var(--red);
	color: var(--bg);
	border-radius: var(--radius-lg);
	padding: 4em 3.5em;
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
	background-size: 40px 40px;
}
.cta-band-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.cta-band h2 {
	color: #0a0a0a;
	margin-bottom: 0.2em;
}
.cta-band p {
	color: rgba(10, 10, 10, 0.72);
	margin: 0;
}
.cta-band .btn-primary {
	background: #0a0a0a;
	color: #ffffff;
}
.cta-band .btn-primary:hover {
	background: #1c1c1c;
}

/* Quiet variant: same layout, no red fill — for secondary CTAs on content pages */
.cta-plain {
	position: relative;
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-left: 3px solid var(--red);
	border-radius: var(--radius-lg);
	padding: 2.6em 3em;
}
.cta-plain .cta-band-inner {
	align-items: center;
}
.cta-plain h2 {
	color: var(--fg);
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}
.cta-plain p {
	color: var(--fg-dim);
}

/* ---------- Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
}
.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.6em;
}
.contact-list li {
	display: flex;
	gap: 1.1em;
	align-items: flex-start;
	padding-bottom: 1.6em;
	border-bottom: 1px solid var(--line);
}
.contact-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.contact-list .ic {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--red-100);
	color: var(--red);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.contact-list .ic svg {
	width: 20px;
	height: 20px;
}
.contact-list strong {
	display: block;
	color: var(--fg);
	font-size: 0.95rem;
	margin-bottom: 0.2em;
}
.contact-list a:hover {
	color: var(--red);
}

form.enquiry {
	background: var(--bg-1);
	border: 1px solid var(--line);
	box-shadow: var(--card-shadow);
	border-radius: var(--radius-lg);
	padding: 2em;
}
.field {
	margin-bottom: 1.2em;
}
.field label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 500;
	margin-bottom: 0.6em;
	color: var(--fg-mute);
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 0.8em 1em;
	border: 1px solid var(--line-2);
	border-radius: 6px;
	font: inherit;
	background: var(--bg-2);
	color: var(--fg);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 1px solid var(--red);
	outline-offset: 1px;
}
.field textarea {
	resize: vertical;
	min-height: 110px;
}
.form-note {
	font-size: 0.8rem;
	color: var(--fg-mute);
	margin-top: 1em;
}
.form-success {
	display: none;
	background: rgba(34, 197, 94, 0.1);
	color: #4ade80;
	border: 1px solid rgba(34, 197, 94, 0.3);
	border-radius: 6px;
	padding: 0.9em 1.1em;
	font-size: 0.88rem;
	margin-bottom: 1.2em;
}
.form-success.visible {
	display: block;
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	background: var(--bg-1);
	border-top: 1px solid var(--line);
	padding: 64px 0 0;
	overflow: hidden;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 40px;
	position: relative;
	z-index: 1;
}
.site-footer h4 {
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 1.1em;
}
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75em;
}
.site-footer a {
	color: var(--fg-mute);
	font-size: 0.9rem;
	transition: color 0.15s ease;
}
.site-footer a:hover {
	color: var(--white);
}
.footer-bottom {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: var(--fg-mute);
	flex-wrap: wrap;
	gap: 10px;
	border-top: 1px solid var(--line);
}
.footer-wordmark {
	font-size: clamp(4rem, 16vw, 11rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--bg-3);
	text-align: center;
	line-height: 0.8;
	margin: 0.2em 0 -0.15em;
	user-select: none;
	pointer-events: none;
}

/* ---------- Back to top ---------- */
.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--bg-2);
	border: 1px solid var(--line-2);
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease;
	z-index: 90;
}
.to-top:hover {
	background: var(--red);
	border-color: var(--red);
}
.to-top.visible {
	opacity: 1;
	pointer-events: auto;
}

/* ---------- Light content theme ----------
   Header, footer and the homepage hero stay dark for brand impact;
   everything else uses this lighter, more readable surface for
   product specs, forms and long copy. Applied to <main> on content
   pages, and to a wrapper div around the post-hero sections on the
   homepage. */
.theme-light {
	--bg: #ffffff;
	--bg-1: #f6f6f4;
	--bg-2: #eeeeec;
	--bg-3: #e2e2de;
	--line: #e2e2de;
	--line-2: #d2d2cd;
	--fg: #15151a;
	--fg-dim: #52524c;
	--fg-mute: #85857d;
	--red-100: #fce8e6;
	--tag-bg: rgba(0, 0, 0, 0.045);
	--card-shadow:
		0 1px 2px rgba(20, 20, 15, 0.04), 0 8px 24px -12px rgba(20, 20, 15, 0.1);
	--card-shadow-hover:
		0 4px 10px rgba(20, 20, 15, 0.05), 0 16px 36px -14px rgba(20, 20, 15, 0.14);
	background: var(--bg);
	color: var(--fg);
}
.theme-light .eyebrow {
	color: var(--red-dim);
}
.theme-light ::selection {
	background: var(--red);
	color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}
	.hero-visual {
		display: none;
	}
	.bento {
		grid-template-columns: repeat(2, 1fr);
	}
	.bento-card.wide {
		grid-column: span 2;
	}
	.grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid-2 {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.steps {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 24px;
	}
	.steps::before {
		display: none;
	}
	.detail-grid {
		grid-template-columns: 1fr;
	}
	.detail-media {
		position: static;
		max-width: 360px;
		margin: 0 auto;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	.main-nav ul {
		display: none;
	}
	.nav-toggle {
		display: block;
	}
	.main-nav.open ul {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		background: var(--bg);
		padding: 1em 24px 1.6em;
		gap: 0.2em;
		border-bottom: 1px solid var(--line);
	}
	.main-nav.open ul a {
		display: flex;
		padding: 0.8em 0.4em;
	}
	.bento {
		grid-template-columns: 1fr;
	}
	.bento-card.wide {
		grid-column: span 1;
	}
	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr;
	}
	.steps {
		grid-template-columns: 1fr;
	}
	.hero-stats {
		grid-template-columns: 1fr;
	}
	.hero-stats div {
		border-right: none;
		border-bottom: 1px solid var(--line);
	}
	.cta-band,
	.cta-plain {
		padding: 2.6em 1.8em;
	}
	.cta-band-inner {
		flex-direction: column;
		text-align: center;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
}
