/*
Theme Name: LumenCut
Theme URI: https://example.com/lumencut
Author: Studio
Author URI: https://example.com
Description: Laser-equipment lead-generation theme for industrial machinery manufacturers. Cool-white and graphite palette with a restrained laser-red accent, hairline beam rasters and dashed cutting-path motifs, custom product catalog with generic spec tables and reusable presets, inquiry-first product pages, configurable homepage sections, floating contact rail with QR modals. All copy and imagery managed from the admin, so the theme fits any industry.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumencut
Tags: custom-menu, custom-logo, featured-images, translation-ready

Fonts: Saira Condensed (display / catalogue type) & Space Grotesk (body), both
licensed under the SIL Open Font License 1.1 — loaded from Google Fonts.
(https://fonts.google.com/specimen/Saira+Condensed, https://fonts.google.com/specimen/Space+Grotesk)

Design language: flat solid blocks, hairline rules and hard-edged laser shapes.
No grid rasters, no gradient fills, no glow. The only repeating-gradient left in
this file is a single-direction opaque kerf dash band used on 3-4px trim strips.
*/

:root {
	--bg: #f4f5f6;
	--surface: #ffffff;
	--tint: #e8eaec;
	--mist: #dbdfe2;
	--ink: #191b1e;
	--ink-soft: #33373c;
	--muted: #61676d;
	--deep: #1a1c1f;
	--deep-2: #131518;
	--deep-edge: #0d0f11;
	--deep-ink: #f4f5f6;
	--deep-muted: #9aa0a6;
	--accent: #cf2b2b;
	--accent-deep: #a62020;
	--accent-soft: rgba(207, 43, 43, 0.08);
	--accent-bright: #e85454;
	--danger: #a62020;
	--line: rgba(25, 27, 30, 0.13);
	--line-strong: rgba(25, 27, 30, 0.28);
	--line-deep: rgba(244, 245, 246, 0.16);
	/* radius scale: 0 for every block, 6px for form fields, 999px for round shape parts */
	--radius: 0;
	--radius-sm: 6px;
	--shadow: 0 22px 44px -26px rgba(13, 15, 17, 0.3);
	--shadow-soft: 0 12px 26px -18px rgba(13, 15, 17, 0.2);
	/* kerf dash band: one direction, opaque colours, hard edges — trim strips only */
	--kerf-band: repeating-linear-gradient(90deg, var(--accent) 0 12px, var(--deep-edge) 12px 21px);
	--font-display: "Saira Condensed", "Arial Narrow", "Segoe UI", Helvetica, sans-serif;
	--font-body: "Space Grotesk", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1260px;
	--strip: clamp(126px, 13vw, 188px);
	/* distance from the wrap's inner edge out to the screen edge */
	--bleed: calc(max(0px, (100vw - var(--wrap)) / 2) + clamp(20px, 4vw, 48px));
}

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

html {
	-webkit-text-size-adjust: 100%;
}

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

/* clip, not hidden: hidden would break the sticky header */
html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
	background: var(--bg);
}

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

/* a hidden element must never keep space or swallow clicks */
[hidden] {
	display: none !important;
}

a {
	color: inherit;
}

::selection {
	background: var(--accent);
	color: #ffffff;
}

:focus-visible {
	outline: 3px solid var(--accent-deep);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	margin: 0;
	color: var(--ink);
	letter-spacing: 0;
}

p {
	margin: 0;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.section-pad {
	padding-block: clamp(40px, 6vw, 72px);
}

.sec {
	padding-block: clamp(56px, 8vw, 96px);
}

.sec-tint {
	background: var(--tint);
}

.sec-navy {
	background: var(--deep);
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--deep);
	color: var(--deep-ink);
	border-radius: var(--radius);
	text-decoration: none;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
}

body.no-scroll {
	overflow: hidden;
}

/* Reveal animation: only when JS added html.fx, so content is never hidden without JS */
html.fx [data-rv] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.23, 0.68, 0.32, 1);
}

html.fx [data-rv].rv-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.fx [data-rv] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* =================================================================
 * Buttons — left arrow slot group: a solid square slot on the left
 * edge holds a chevron drawn from borders (no icon font, no gradient);
 * the chevron steps right on hover and the slot changes colour.
 * ================================================================= */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 50px;
	padding: 11px 24px 11px 64px;
	border-radius: var(--radius);
	border: 1px solid var(--line-strong);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

/* the slot */
.btn::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 46px;
	background: var(--ink);
	transition: background 0.16s ease;
}

/* the chevron inside the slot */
.btn::after {
	content: "";
	position: absolute;
	left: 17px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
	transform: translate(0, -50%) rotate(45deg);
	transition: transform 0.16s ease;
}

.btn:hover::after {
	transform: translate(5px, -50%) rotate(45deg);
}

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

.btn-primary {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--deep-ink);
}

.btn-primary::before {
	background: var(--accent);
}

.btn-primary:hover {
	background: var(--deep-edge);
	border-color: var(--deep-edge);
}

.btn-primary:hover::before {
	background: var(--accent-deep);
}

.btn-accent {
	background: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
}

.btn-accent::before {
	background: var(--deep);
}

.btn-accent:hover {
	background: var(--accent-deep);
	border-color: var(--accent-deep);
	color: #ffffff;
}

.btn-accent:hover::before {
	background: var(--deep-edge);
}

.btn-outline {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

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

.btn-outline:hover::before {
	background: var(--accent);
}

.btn-ghost {
	background: transparent;
	border-color: transparent;
	color: var(--ink-soft);
}

.btn-ghost::before {
	background: var(--tint);
}

.btn-ghost::after {
	border-color: var(--ink);
}

.btn-ghost:hover {
	color: var(--accent-deep);
	border-color: transparent;
}

.btn-ghost:hover::before {
	background: var(--mist);
}

.btn-sm {
	min-height: 40px;
	padding: 8px 16px 8px 48px;
	font-size: 14px;
	letter-spacing: 0.05em;
}

.btn-sm::before {
	width: 34px;
}

.btn-sm::after {
	left: 12px;
	width: 7px;
	height: 7px;
}

.btn-lg {
	min-height: 58px;
	padding: 14px 30px 14px 76px;
	font-size: 18px;
}

.btn-lg::before {
	width: 56px;
}

.btn-lg::after {
	left: 21px;
	width: 10px;
	height: 10px;
}

.sec-navy .btn-outline,
.cta-band .btn-outline {
	border-color: var(--line-deep);
	color: var(--deep-ink);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--accent-deep);
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: gap 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
	gap: 11px;
	border-color: var(--accent-deep);
}

/* Kicker: pierce-start motif — a solid accent square with a lead-in line
   cut out of one flat colour by clip-path (no gradient, no image). */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink);
	font-family: var(--font-display);
}

.kicker::before {
	content: "";
	flex: none;
	width: 30px;
	height: 8px;
	background: var(--accent);
	clip-path: polygon(0 0, 8px 0, 8px 8px, 0 8px, 0 5px, 30px 5px, 30px 3px, 0 3px);
}

.sec-head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-title {
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.005em;
}

.sec-sub {
	margin-top: 12px;
	color: var(--muted);
	font-size: 16.5px;
	max-width: 60ch;
}

.sec-navy .sec-title {
	color: var(--deep-ink);
}

.sec-navy .sec-sub {
	color: var(--deep-muted);
}

.sec-navy .kicker {
	color: var(--deep-ink);
}

/* ================= Topbar ================= */
.topbar {
	background: var(--deep);
	color: var(--deep-ink);
	font-size: 13px;
	border-bottom: 1px solid var(--deep-edge);
	position: relative;
}

/* solid accent segment at the left end of the topbar base — flat colour, hard ends */
.topbar::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: min(38vw, 420px);
	height: 2px;
	background: var(--accent);
	pointer-events: none;
}

.topbar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 40px;
}

.topbar-contacts {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--deep-ink);
	text-decoration: none;
	opacity: 0.92;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.topbar a:hover {
	opacity: 1;
	color: var(--accent-bright);
}

.topbar-hours {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--deep-muted);
}

/* ================= Header ================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
	box-shadow: 0 10px 28px -18px rgba(14, 16, 18, 0.35);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
}

.brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.brand img {
	display: block;
	max-height: 52px;
	width: auto;
}

.brand-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}

.brand-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	background: var(--deep);
	color: var(--accent-bright);
}

/* kerf dash trim along the mark base (opaque, single direction) */
.brand-mark::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--kerf-band);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list > li {
	position: relative;
}

.nav-list > li > a {
	position: relative;
	display: inline-block;
	padding: 10px 11px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.nav-list > li > a::after {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	bottom: 4px;
	height: 2px;
	border-radius: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
	color: var(--ink);
}

.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after,
.nav-list > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 8px;
	z-index: 95;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-list .sub-menu a {
	display: block;
	padding: 9px 12px;
	font-size: 14px;
	color: var(--ink-soft);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-list .sub-menu a:hover {
	background: var(--accent-soft);
	color: var(--ink);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.header-cta {
	white-space: nowrap;
	min-height: 44px;
	padding: 9px 18px 9px 54px;
	font-size: 15px;
}

.header-cta::before {
	width: 40px;
}

.header-cta::after {
	left: 15px;
	width: 8px;
	height: 8px;
}

.hbtn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hbtn:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

.nav-toggle {
	display: none;
}

/* ================= Overlays: drawer / search / QR ================= */
.drawer,
.search-layer,
.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.drawer[hidden],
.search-layer[hidden],
.qr-modal[hidden] {
	display: none;
}

.drawer-scrim,
.search-scrim,
.qr-scrim {
	position: absolute;
	inset: 0;
	background: rgba(14, 16, 18, 0.64);
	opacity: 0;
	transition: opacity 0.24s ease;
}

.drawer.open .drawer-scrim,
.search-layer.open .search-scrim,
.qr-modal.open .qr-scrim {
	opacity: 1;
}

.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	background: var(--surface);
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px 28px;
	overflow-y: auto;
	transform: translateX(102%);
	transition: transform 0.24s cubic-bezier(0.23, 0.68, 0.32, 1);
	box-shadow: -18px 0 40px -24px rgba(14, 16, 18, 0.4);
	border-left: 2px solid var(--accent);
}

.drawer.open .drawer-panel {
	transform: translateX(0);
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.drawer-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 19px;
	text-transform: uppercase;
	color: var(--ink);
}

.drawer-nav {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.drawer-nav > li {
	border-bottom: 1px dashed var(--line-strong);
}

.drawer-nav a {
	display: block;
	padding: 13px 4px;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

.drawer-nav a:hover {
	color: var(--accent-deep);
}

.drawer-nav .sub-menu {
	list-style: none;
	margin: 0 0 10px;
	padding: 0 0 0 14px;
	border-left: 2px solid var(--accent-soft);
}

.drawer-nav .sub-menu a {
	padding: 8px 4px;
	font-size: 14.5px;
	font-weight: 400;
	color: var(--ink-soft);
}

.drawer-cta {
	margin-top: 16px;
}

.search-panel {
	position: absolute;
	top: 18vh;
	left: 50%;
	transform: translate(-50%, -14px);
	width: min(620px, 92vw);
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-layer.open .search-panel {
	opacity: 1;
	transform: translate(-50%, 0);
}

.search-layer .search-form {
	flex: 1;
}

.search-layer .hbtn {
	flex: none;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 6px 6px 6px 18px;
	box-shadow: var(--shadow-soft);
}

.search-field {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	padding: 8px 0;
	outline: none;
}

.search-field::placeholder {
	color: var(--muted);
}

.search-submit {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--deep);
	color: #ffffff;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.search-submit:hover {
	background: var(--accent);
	color: #ffffff;
}

/* =================================================================
 * Hero — prototype H-K "catalogue": the page opens on four oversized
 * clickable machine-family rows. The photo is demoted to a narrow
 * vertical strip on the right, and the stats sit in a solid graphite
 * ledger under that strip which bleeds off the right screen edge.
 * ================================================================= */
.hero {
	position: relative;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.hero-in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--strip);
	align-items: stretch;
	gap: clamp(22px, 3.4vw, 48px);
	padding-block: clamp(30px, 4vw, 52px) 0;
}

.hero-main {
	min-width: 0;
	padding-bottom: clamp(34px, 5vw, 58px);
}

.hero-head {
	max-width: 62ch;
}

.hero .kicker {
	margin-bottom: 14px;
}

/* deliberately compact: the catalogue rows below carry the hero */
.hero-title {
	font-size: clamp(25px, 2.9vw, 38px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.005em;
	text-transform: none;
	max-width: 30ch;
}

.hero-sub {
	margin-top: 14px;
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--muted);
	max-width: 58ch;
}

/* shape part 1: pierce point + lead-in + kerf line */
.shape-pierce {
	display: block;
	width: clamp(200px, 30%, 300px);
	height: auto;
	margin: 22px 0 0;
	color: var(--accent);
}

/* ---------- catalogue rows ---------- */
.hero-index {
	margin-top: clamp(24px, 3vw, 38px);
	border-top: 1px solid var(--line-strong);
}

.hx-row {
	position: relative;
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(14px, 2vw, 26px);
	padding: clamp(8px, 1.1vw, 14px) 16px clamp(8px, 1.1vw, 14px) 12px;
	margin-left: -12px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background 0.16s ease;
}

.hx-slot {
	position: relative;
	width: 46px;
	height: 46px;
	background: var(--tint);
	transition: background 0.16s ease;
}

.hx-slot::after {
	content: "";
	position: absolute;
	left: 17px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--ink);
	border-right: 2px solid var(--ink);
	transform: translate(0, -50%) rotate(45deg);
	transition: transform 0.16s ease, border-color 0.16s ease;
}

.hx-word {
	font-family: var(--font-display);
	font-size: clamp(42px, 6.4vw, 88px);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--ink);
	transition: color 0.16s ease;
}

.hx-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
}

.hx-full {
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
	transition: color 0.16s ease;
}

.hx-count {
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--muted);
	transition: color 0.16s ease;
}

/* solid reversed row on hover / keyboard focus */
.hx-row:hover,
.hx-row:focus-visible {
	background: var(--deep);
}

.hx-row:hover .hx-word,
.hx-row:focus-visible .hx-word,
.hx-row:hover .hx-full,
.hx-row:focus-visible .hx-full {
	color: var(--deep-ink);
}

.hx-row:hover .hx-count,
.hx-row:focus-visible .hx-count {
	color: var(--deep-muted);
}

.hx-row:hover .hx-slot,
.hx-row:focus-visible .hx-slot {
	background: var(--accent);
}

.hx-row:hover .hx-slot::after,
.hx-row:focus-visible .hx-slot::after {
	border-color: #ffffff;
	transform: translate(6px, -50%) rotate(45deg);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(22px, 2.6vw, 34px);
}

/* ---------- narrow photo strip + bleeding ledger ---------- */
.hero-strip {
	position: relative;
	display: flex;
	flex-direction: column;
	/* bleed the whole right column to the screen edge */
	margin-right: calc(-1 * var(--bleed));
}

.hero-strip-media {
	position: relative;
	flex: 1 1 auto;
	min-height: 300px;
	overflow: hidden;
	background: var(--mist);
}

.hero-strip-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	object-position: 62% center;
}

.hero-strip-tag {
	position: absolute;
	left: 0;
	top: 0;
	padding: 9px 8px 11px;
	background: var(--accent);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
}

/* shape part 2: cutting nozzle bore, sat on a solid plate over the strip */
.shape-nozzle {
	position: absolute;
	right: 12px;
	bottom: 14px;
	width: clamp(52px, 6vw, 74px);
	height: auto;
	padding: 9px;
	background: var(--deep);
	color: var(--deep-ink);
}

.hero-ledger {
	position: relative;
	flex: none;
	padding: 20px 14px 22px;
	background: var(--deep);
	color: var(--deep-ink);
}

/* kerf dash trim across the ledger top (opaque, single direction) */
.hero-ledger::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 4px;
	background: var(--kerf-band);
}

/* shape part 3: plate thickness step gauge */
.shape-gauge {
	display: block;
	width: 100%;
	max-width: 148px;
	height: auto;
	margin-bottom: 16px;
	color: var(--accent-bright);
}

.hero-stats {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

.hero-stats .stat {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding-top: 13px;
	border-top: 1px solid var(--line-deep);
}

.hero-stats .stat:first-child {
	padding-top: 0;
	border-top: 0;
}

.hero-stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	color: var(--deep-ink);
	white-space: nowrap;
}

/* oversized lead figure: the daring typographic move */
.hero-stats .stat-lead dd {
	font-size: clamp(38px, 4.4vw, 58px);
	color: #ffffff;
}

.hero-stats dt {
	font-size: 11.5px;
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--deep-muted);
}

/* ================= Perks ================= */
.perks {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.perks-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
	padding-block: clamp(36px, 5vw, 56px);
}

.perk {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.perk:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: var(--shadow-soft);
}

.perk-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	background: var(--deep);
	border-bottom: 3px solid var(--accent);
	color: #ffffff;
}

.perk-title {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.perk-text {
	margin-top: 5px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}

/* =================================================================
 * Category spec cards — horizontal thumbnail + spec line + model
 * count. Deliberately unlike the hero catalogue rows (which are pure
 * oversized type), so the page never shows the same list twice.
 * ================================================================= */
.cats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px 1px;
	background: var(--line-strong);
	border: 1px solid var(--line-strong);
}

.cat-card {
	position: relative;
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 16px;
	padding: 16px 46px 16px 0;
	background: var(--surface);
	border-radius: var(--radius);
	text-decoration: none;
	transition: background 0.18s ease;
}

.cat-card:hover,
.cat-card:focus-visible {
	background: var(--tint);
}

.cat-media {
	display: block;
	width: 92px;
	height: 92px;
	background: var(--mist);
	overflow: hidden;
}

.cat-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	padding-top: 2px;
}

.cat-name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--ink);
}

.cat-spec {
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}

.cat-count {
	margin-top: auto;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

/* arrow slot, same language as the buttons */
.cat-slot {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 34px;
	background: var(--tint);
	transition: background 0.18s ease;
}

.cat-slot::after {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid var(--ink);
	border-right: 2px solid var(--ink);
	transform: translate(0, -50%) rotate(45deg);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover .cat-slot,
.cat-card:focus-visible .cat-slot {
	background: var(--accent);
}

.cat-card:hover .cat-slot::after,
.cat-card:focus-visible .cat-slot::after {
	border-color: #ffffff;
	transform: translate(4px, -50%) rotate(45deg);
}

/* ================= Product cards ================= */
.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.prod-grid-archive {
	margin-top: 26px;
}

/* featured section variant: staggered two-tier row, no boxes in line */
.prod-grid-stagger {
	align-items: start;
}

.prod-grid-stagger .prod-card:nth-child(even) {
	margin-top: clamp(18px, 3.2vw, 54px);
}

.prod-grid-stagger .prod-card:nth-child(odd) .prod-media {
	aspect-ratio: 4 / 5;
}

.prod-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.prod-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.prod-media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--mist);
	overflow: hidden;
}

.prod-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.prod-card:hover .prod-media img {
	transform: scale(1.05);
}

.prod-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 20px;
	border-top: 1px dashed var(--line-strong);
}

.prod-cat {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.prod-name {
	font-size: 18.5px;
	font-weight: 700;
	line-height: 1.2;
}

.prod-name a {
	color: var(--ink);
	text-decoration: none;
}

.prod-name a:hover {
	color: var(--accent-deep);
}

.prod-excerpt {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}

.prod-btn {
	margin-top: 6px;
}

/* ================= Split sections ================= */
.split-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.split-media {
	position: relative;
}

.split-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	position: relative;
	z-index: 1;
}

/* offset flat colour plate behind the photo — no texture, no blur */
.split-media::after {
	content: "";
	position: absolute;
	left: 28px;
	right: -22px;
	top: 28px;
	bottom: -22px;
	background: var(--tint);
	z-index: 0;
}

.split-flip .split-media {
	order: 2;
}

.split-flip .split-media::after {
	left: -22px;
	right: 28px;
	background: var(--mist);
}

.split-body .sec-title {
	max-width: 22ch;
}

.split-text {
	margin: 16px 0 26px;
	font-size: 16.5px;
	color: var(--muted);
	max-width: 56ch;
}

/* =================================================================
 * Steps — section variant: oversized milestone numbers on a flat
 * graphite band, split by hairline rules instead of cards.
 * ================================================================= */
.sec-navy.steps {
	background: var(--deep-2);
}

.steps-rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.step {
	position: relative;
	padding: 4px clamp(14px, 2vw, 30px) 6px;
	border-left: 1px solid var(--line-deep);
}

.step:first-child {
	padding-left: 0;
	border-left: 0;
}

.step-num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(54px, 7vw, 96px);
	font-weight: 700;
	line-height: 0.86;
	letter-spacing: -0.01em;
	color: var(--accent-bright);
	margin-bottom: 14px;
}

.step-title {
	font-size: 21px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--deep-ink);
}

.step-text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.62;
	color: var(--deep-muted);
	max-width: 32ch;
}

/* =================================================================
 * Quotes — section variant: one scrolling row of wide cards with a
 * flat-colour progress track (no gradient anywhere in the indicator).
 * ================================================================= */
.quote-rail {
	--rail-pad: max(clamp(20px, 4vw, 48px), calc(50vw - var(--wrap) / 2 + clamp(20px, 4vw, 48px)));
	display: flex;
	gap: 0;
	margin-top: 4px;
	padding-inline: var(--rail-pad);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* without this the first snap target lands at scrollLeft = padding,
	   which would start the progress bar a third of the way along */
	scroll-padding-inline-start: var(--rail-pad);
	scrollbar-width: none;
}

.quote-rail::-webkit-scrollbar {
	display: none;
}

.quote {
	flex: 0 0 min(520px, 84vw);
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 28px 34px 26px;
	background: var(--surface);
	border-top: 3px solid var(--deep);
	border-radius: var(--radius);
	scroll-snap-align: start;
}

.quote + .quote {
	border-left: 1px solid var(--line-strong);
}

.quote blockquote {
	font-size: 18.5px;
}

.quote-track {
	position: relative;
	height: 3px;
	margin-top: 22px;
	background: var(--mist);
	overflow: hidden;
}

.quote-track-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 34%;
	background: var(--accent);
	transform: translateX(calc(var(--rail-p, 0) * 194%));
	transition: transform 0.12s linear;
}

.quote-mark {
	display: block;
	height: 26px;
	margin-bottom: -6px;
	overflow: hidden;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 64px;
	font-weight: 700;
	line-height: 0.78;
}

.quote blockquote {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-soft);
}

.quote-name {
	display: block;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--ink);
}

.quote-role {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

/* ================= Post cards ================= */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.post-grid-archive {
	margin-top: 8px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.post-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--mist);
	overflow: hidden;
}

.post-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-media img {
	transform: scale(1.045);
}

.post-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 18px 20px 22px;
}

.post-date {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.post-title {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.22;
}

.post-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-title a:hover {
	color: var(--accent-deep);
}

.post-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
}

.post-card .text-link {
	margin-top: 4px;
}

/* ================= CTA band ================= */
.cta-band {
	position: relative;
	background: var(--deep-edge);
	overflow: hidden;
}

/* flat accent block bleeding off the right edge, cut on a hard diagonal */
.cta-band::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(34vw, 380px);
	background: var(--accent-deep);
	clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

/* solid accent segment at the CTA base */
.cta-band::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(52vw, 620px);
	height: 3px;
	background: var(--accent);
	z-index: 1;
	pointer-events: none;
}

.cta-in {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: clamp(48px, 6vw, 72px);
}

.cta-title {
	font-size: clamp(28px, 3.4vw, 42px);
	color: var(--deep-ink);
}

.cta-text {
	margin-top: 10px;
	font-size: 16px;
	color: var(--deep-muted);
	max-width: 58ch;
}

/* the CTA sits partly on the accent block, so its button goes white */
.cta-band .btn-accent {
	flex: none;
	background: #ffffff;
	border-color: #ffffff;
	color: var(--ink);
}

.cta-band .btn-accent::before {
	background: var(--accent);
}

.cta-band .btn-accent:hover {
	background: var(--tint);
	border-color: var(--tint);
	color: var(--ink);
}

.cta-band .btn-accent:hover::before {
	background: var(--accent-deep);
}

/* ================= Page hero ================= */
.page-hero {
	position: relative;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(44px, 6vw, 72px);
	overflow: hidden;
}

/* flat tint block anchored to the right edge, hard vertical cut */
.page-hero::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(30vw, 340px);
	background: var(--tint);
	pointer-events: none;
}

.page-hero::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(26vw, 300px);
	height: 3px;
	background: var(--accent);
	z-index: 1;
}

.page-hero .wrap {
	position: relative;
	z-index: 1;
}

.page-hero .kicker {
	margin-bottom: 10px;
}

.page-hero-title {
	font-size: clamp(34px, 4.6vw, 54px);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.page-hero-sub {
	margin-top: 12px;
	font-size: 16.5px;
	color: var(--muted);
	max-width: 68ch;
}

/* ================= Entry content ================= */
.entry-content {
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--ink-soft);
}

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

.entry-content h2 {
	font-size: clamp(22px, 2.6vw, 30px);
	margin-top: 1.8em;
}

.entry-content h3 {
	font-size: clamp(18px, 2.2vw, 22px);
	margin-top: 1.5em;
}

.entry-content a {
	color: var(--accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-block: 0.35em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 16px 22px;
	border-left: 2px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--accent-soft);
	color: var(--ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 11px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 0 20px;
}

.entry-content details + details {
	margin-top: 12px;
}

.entry-content summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 16px 36px 16px 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16.5px;
	color: var(--ink);
}

.entry-content summary::-webkit-details-marker {
	display: none;
}

.entry-content summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 500;
	color: var(--accent-deep);
	transition: transform 0.18s ease;
}

.entry-content details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.entry-content details > *:not(summary) {
	margin-bottom: 16px;
}

.entry-content details > p:last-child {
	padding-bottom: 4px;
}

.entry-hero-img {
	margin: 0 0 30px;
}

.entry-hero-img img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.entry-single .entry-content,
.entry-single .entry-hero-img {
	max-width: 840px;
	margin-inline: auto;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 840px;
	margin: 44px auto 0;
	padding-top: 22px;
	border-top: 1px dashed var(--line-strong);
	font-size: 14.5px;
}

.post-nav a {
	color: var(--ink-soft);
	text-decoration: none;
}

.post-nav a:hover {
	color: var(--accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-nav-next {
	text-align: right;
}

/* ================= Contact cards ================= */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 1.6em 0;
}

.contact-card {
	padding: 24px 24px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--deep);
	border-radius: var(--radius);
	box-shadow: none;
}

.contact-card h3 {
	font-size: 16px;
	margin: 0 0 8px;
}

.contact-card p {
	margin: 0.2em 0;
	font-size: 14.5px;
	color: var(--muted);
}

.contact-card a {
	color: var(--accent-deep);
	text-decoration: none;
	font-weight: 500;
}

/* ================= Filter chips ================= */
.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink-soft);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

.chip-on {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--deep-ink);
}

/* ================= Breadcrumbs ================= */
.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-block: 18px 4px;
	font-size: 13.5px;
	color: var(--muted);
}

.crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.crumbs-here {
	color: var(--ink);
	font-weight: 500;
}

/* ================= Product single ================= */
.product-single {
	padding-block: 18px clamp(48px, 6vw, 80px);
}

.product-top {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.product-photo {
	position: sticky;
	top: 96px;
	margin: 0;
}

.product-photo img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--mist);
	box-shadow: var(--shadow-soft);
}

.pdp-gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pdp-gallery-main img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--mist);
	box-shadow: var(--shadow-soft);
}

.pdp-gallery-thumbs {
	display: flex;
	gap: 10px;
}

.pdp-thumb {
	flex: 0 0 auto;
	width: 76px;
	height: 76px;
	padding: 0;
	border-radius: var(--radius);
	border: 1px solid var(--line-strong);
	background: var(--surface);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.pdp-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.pdp-thumb.is-active {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent);
}

.product-summary .prod-cat {
	display: inline-block;
	margin-bottom: 8px;
}

.product-title {
	font-size: clamp(29px, 3.8vw, 44px);
	font-weight: 700;
	letter-spacing: 0;
}

.product-intro {
	margin-top: 14px;
	font-size: 16.5px;
	color: var(--muted);
}

.product-highlights {
	list-style: none;
	margin: 24px 0 0;
	padding: 8px 0 0;
	border-top: 1px solid var(--line-strong);
	position: relative;
}

.product-highlights::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 64px;
	height: 1px;
	background: var(--accent);
}

.product-highlights li {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 11px 2px;
	border-bottom: 1px dashed var(--line-strong);
	font-size: 14.5px;
}

.product-highlights li:last-child {
	border-bottom: 0;
}

.hl-label {
	color: var(--muted);
}

.hl-value {
	color: var(--ink);
	font-weight: 600;
	text-align: right;
}

.product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.product-note {
	margin-top: 14px;
	font-size: 13px;
	color: var(--muted);
}

/* ================= Spec table ================= */
.prod-specs {
	margin-top: clamp(40px, 5vw, 64px);
}

.prod-specs-title,
.product-desc h2,
.product-related h2,
.product-inquiry .zc-inquiry-block__intro h2 {
	font-size: clamp(21px, 2.6vw, 28px);
	margin-bottom: 18px;
}

/* Wide tables scroll inside their own container (grid min-width pitfall) */
.prod-specs-scroll {
	min-width: 0;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.prod-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.prod-specs-table th {
	width: 34%;
	padding: 13px 18px;
	text-align: left;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	white-space: nowrap;
}

.prod-specs-table td {
	padding: 13px 18px;
	color: var(--ink-soft);
	border-bottom: 1px solid var(--line);
}

.prod-specs-table tr:last-child th,
.prod-specs-table tr:last-child td {
	border-bottom: 0;
}

.product-desc,
.product-related,
.product-inquiry {
	margin-top: clamp(40px, 5vw, 64px);
}

.product-related .prod-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ================= Inquiry form (plugin markup) ================= */
.zc-inquiry-block {
	padding: clamp(26px, 3.4vw, 44px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.zc-inquiry-block__intro h2 {
	margin-bottom: 8px;
}

.zc-inquiry-block__intro p {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 24px;
}

.zc-inquiry-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

.zc-inquiry-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
}

.zc-required {
	color: var(--danger);
}

.zc-inquiry-field input[type="text"],
.zc-inquiry-field input[type="email"],
.zc-inquiry-field input[type="number"],
.zc-inquiry-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--bg);
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.zc-inquiry-field input:focus,
.zc-inquiry-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

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

/* plugin submit button gets the same left arrow slot as theme buttons */
.zc-btn,
.zc-btn-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 52px;
	margin-top: 6px;
	padding: 12px 28px 12px 66px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.zc-btn::before,
.zc-btn-primary::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 48px;
	background: var(--deep);
	transition: background 0.18s ease;
}

.zc-btn::after,
.zc-btn-primary::after {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
	transform: translate(0, -50%) rotate(45deg);
	transition: transform 0.18s ease;
}

.zc-btn:hover,
.zc-btn-primary:hover {
	background: var(--accent-deep);
	border-color: var(--accent-deep);
	color: #ffffff;
}

.zc-btn:hover::after,
.zc-btn-primary:hover::after {
	transform: translate(5px, -50%) rotate(45deg);
}

.zc-btn:hover::before,
.zc-btn-primary:hover::before {
	background: var(--deep-edge);
}

.zc-inquiry-notice {
	margin-top: 16px;
	padding: 13px 16px;
	border-radius: var(--radius-sm);
	background: rgba(28, 30, 33, 0.05);
	border: 1px solid var(--line-strong);
	color: var(--ink);
	font-size: 14.5px;
}

.zc-inquiry-notice.is-error {
	background: rgba(166, 32, 32, 0.07);
	border-color: rgba(166, 32, 32, 0.35);
	color: var(--danger);
}

.inquiry-fallback {
	padding: 22px 26px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 15.5px;
}

/* ================= Footer (flat graphite, kerf trim) ================= */
.site-footer {
	position: relative;
	background: var(--deep);
	color: var(--deep-muted);
}

/* kerf dash trim across the footer top (opaque, single direction) */
.site-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: var(--kerf-band);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.4fr;
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 44px);
}

.f-brand .brand-text {
	color: var(--deep-ink);
}

.f-brand .brand-mark {
	background: rgba(244, 245, 246, 0.08);
	border: 1px solid var(--line-deep);
}

.f-about {
	margin-top: 16px;
	font-size: 14.5px;
	line-height: 1.7;
	max-width: 44ch;
	color: var(--deep-muted);
}

.f-title {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--deep-ink);
	margin: 4px 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px dashed rgba(224, 82, 82, 0.55);
	max-width: 72px;
	white-space: nowrap;
}

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

.f-menu li {
	margin-bottom: 9px;
}

.f-menu a {
	color: var(--deep-muted);
	text-decoration: none;
	font-size: 14.5px;
	transition: color 0.15s ease;
}

.f-menu a:hover {
	color: var(--accent-bright);
}

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

.f-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14.5px;
	line-height: 1.55;
}

.f-contact-list .icon {
	flex: none;
	margin-top: 3px;
	color: var(--accent-bright);
}

.f-contact-list a {
	color: var(--deep-muted);
	text-decoration: none;
}

.f-contact-list a:hover {
	color: var(--accent-bright);
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.social-link {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--line-deep);
	border-radius: var(--radius);
	background: transparent;
	color: var(--deep-ink);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
	transform: translateY(-2px);
}

.footer-bottom {
	border-top: 1px solid var(--line-deep);
}

.footer-bottom-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-block: 20px;
	font-size: 13px;
}

.copyright {
	color: var(--deep-muted);
}

.policy-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.policy-menu a {
	color: var(--deep-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.policy-menu a:hover {
	color: var(--accent-bright);
}

/* ================= Contact rail ================= */
.contact-rail {
	position: fixed;
	bottom: 28px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-rail.rail-right {
	right: 22px;
}

.contact-rail.rail-left {
	left: 22px;
}

.rail-btn {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	background: var(--deep);
	color: var(--deep-ink);
	cursor: pointer;
	box-shadow: 0 14px 28px -12px rgba(14, 16, 18, 0.45);
	transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.rail-btn:hover {
	background: var(--accent);
	color: #ffffff;
	transform: translateY(-3px);
}

/* ================= QR modal ================= */
.qr-modal {
	display: grid;
	place-items: center;
}

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

.qr-panel {
	position: relative;
	z-index: 1;
	width: min(360px, 92vw);
	padding: 30px 28px 28px;
	background: var(--surface);
	border-top: 2px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.qr-modal.open .qr-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.qr-close {
	position: absolute;
	top: 12px;
	right: 12px;
}

.qr-title {
	font-size: 19px;
	margin-bottom: 16px;
}

.qr-img {
	display: block;
	width: 210px;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.qr-text {
	margin-top: 14px;
	font-size: 14px;
	color: var(--muted);
}

.qr-btn {
	margin-top: 16px;
}

/* ================= Pagination ================= */
.pagination-nav {
	display: flex;
	justify-content: center;
	margin-top: clamp(32px, 4vw, 48px);
}

.pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0 3px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink-soft);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

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

.pagination-nav a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

/* ================= Search results ================= */
.search-again {
	max-width: 560px;
	margin-bottom: 34px;
}

.result-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.result-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.result-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.result-media {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--mist);
}

.result-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-body {
	flex: 1;
	min-width: 0;
}

.badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: var(--radius);
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.result-title {
	font-size: 19px;
	font-weight: 700;
}

.result-title a {
	color: var(--ink);
	text-decoration: none;
}

.result-title a:hover {
	color: var(--accent-deep);
}

.result-excerpt,
.result-price {
	margin-top: 4px;
	font-size: 14px;
	color: var(--muted);
}

.result-arrow {
	flex: none;
	color: var(--muted);
}

/* ================= Empty state ================= */
.empty-state {
	max-width: 560px;
	margin: clamp(24px, 4vw, 48px) auto;
	padding: clamp(32px, 5vw, 52px);
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
}

.empty-state h2 {
	font-size: 22px;
	margin-bottom: 10px;
}

.empty-state p {
	color: var(--muted);
	margin-bottom: 20px;
}

.empty-search {
	max-width: 420px;
	margin: 0 auto 20px;
}

.empty-search .search-form {
	box-shadow: none;
}

.empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
	.prod-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.main-nav {
		display: none;
	}
	.nav-toggle {
		display: grid;
	}
	.header-cta {
		display: none;
	}
	.cats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.perks-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.steps-rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: clamp(26px, 4vw, 40px);
	}
	.steps-rail .step:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.prod-grid,
	.prod-grid-archive,
	.product-related .prod-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.prod-grid-stagger .prod-card:nth-child(odd) .prod-media {
		aspect-ratio: 1 / 1;
	}
	.product-top {
		grid-template-columns: 1fr;
	}
	.product-photo {
		position: static;
		max-width: 560px;
	}
}

/* hero switches from "narrow right strip" to a full-bleed strip band
   under the catalogue rows: photo half, ledger half */
@media (max-width: 900px) {
	.hero-in {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.hero-main {
		padding-bottom: clamp(26px, 4vw, 40px);
	}
	.hero-strip {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin-inline: calc(50% - 50vw);
	}
	.hero-strip-media,
	.hero-strip-img {
		min-height: 220px;
		height: 100%;
	}
	.hero-strip-img {
		object-position: center 42%;
	}
	/* the band is shorter than the vertical label, so lay the tag flat */
	.hero-strip-tag {
		padding: 7px 11px 8px;
		font-size: 11px;
		letter-spacing: 0.2em;
		writing-mode: horizontal-tb;
	}
	.hero-ledger {
		padding: 22px 20px 24px;
	}
	.shape-gauge {
		max-width: 132px;
	}
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.split-in {
		grid-template-columns: 1fr;
	}
	.split-flip .split-media {
		order: 0;
	}
	.contact-cards {
		grid-template-columns: 1fr;
	}
	.zc-inquiry-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.hx-row {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
		padding-block: 10px;
	}
	.hx-slot {
		width: 34px;
		height: 34px;
		margin-top: 4px;
	}
	.hx-slot::after {
		left: 11px;
		width: 8px;
		height: 8px;
	}
	.hx-meta {
		grid-column: 2;
		align-items: flex-start;
		text-align: left;
		margin-top: 2px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	.topbar-hours {
		display: none;
	}
	.cta-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.contact-rail {
		bottom: 16px;
	}
	.contact-rail.rail-right {
		right: 12px;
	}
	.contact-rail.rail-left {
		left: 12px;
	}
	.rail-btn {
		width: 46px;
		height: 46px;
	}
	.rail-no-mobile {
		display: none;
	}
	.split-media::after {
		right: -10px;
		bottom: -10px;
		top: 18px;
		left: 18px;
	}
	.split-flip .split-media::after {
		left: -10px;
		right: 18px;
	}
}

@media (max-width: 560px) {
	.perks-grid,
	.cats-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}
	.steps-rail {
		grid-template-columns: 1fr;
		row-gap: 22px;
	}
	.steps-rail .step {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--line-deep);
		padding-top: 18px;
	}
	.steps-rail .step:first-child {
		border-top: 0;
		padding-top: 0;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-bottom-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.product-actions .btn {
		width: 100%;
	}
	.topbar-contacts {
		gap: 14px;
	}
	.brand-name {
		font-size: 16px;
	}
	.brand-mark {
		width: 38px;
		height: 38px;
	}
	.hero-strip {
		grid-template-columns: 1fr;
	}
	.hero-strip-media,
	.hero-strip-img {
		min-height: 190px;
	}
	.hero-stats {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 18px 22px;
	}
	.hero-stats .stat {
		flex: 1 1 40%;
		padding-top: 0;
		border-top: 0;
	}
	.hero-stats .stat-lead {
		flex-basis: 100%;
	}
	.shape-gauge {
		max-width: 118px;
		margin-bottom: 14px;
	}
}

@media (max-width: 430px) {
	.prod-grid,
	.prod-grid-archive,
	.product-related .prod-grid {
		grid-template-columns: 1fr;
	}
}
