/* ==========================================================================
   Le Cadran — Equipements de Mesure
   Design language: the white-enamel dial of a pressure gauge.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* Palette */
	--dial: #fafbfc;          /* enamel dial face */
	--dial-hi: #ffffff;
	--paper: #f2f4f7;         /* page background: cool steel white */
	--ink: #0e2340;           /* instrument blue-black: text and dark surfaces */
	--ink-2: #0a1a31;
	--ink-soft: #4a5b73;
	--steel: #8a96a6;
	--line: #d6dce4;
	--line-strong: #b3bdca;
	--blue: #277cea;          /* brand blue (logo) */
	--blue-ink: #1a5fc0;      /* text-safe blue */
	--amber: #ebaf1c;         /* brand amber (logo) */
	--amber-deep: #9a6a00;
	--ok: #1f7a4d;
	--err: #b42318;

	/* Type */
	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wide: 118%;
	--wider: 125%;
	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
	--step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
	--step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem);
	--step-hero: clamp(2.6rem, 1.2rem + 4.4vw, 5.4rem);

	/* Space & shape */
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 136px);
	--radius: 3px;
	--header-h: 68px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--focus: 0 0 0 3px var(--dial), 0 0 0 5px var(--blue);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }


body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	font-kerning: normal;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; font-stretch: var(--wide); letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
main:focus { outline: none; }
.sr { 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 { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-title { font-size: var(--step-4); font-weight: 750; }
.section-intro { margin-top: 18px; font-size: var(--step-1); color: var(--ink-soft); max-width: 62ch; }

/* ---- Buttons & links ------------------------------------------------------ */
.btn {
	--bg: var(--ink); --fg: #fff; --bd: var(--ink);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	font-weight: 650; font-stretch: var(--wide); font-size: 1rem; line-height: 1;
	color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--radius);
	text-decoration: none; overflow: hidden; isolation: isolate;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* Fill sweeps in like a needle crossing the scale. */
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--sweep, var(--blue));
	transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn .icon { width: 20px; height: 20px; }
.btn-ink { --sweep: var(--blue); }
.btn-ink:hover { --bd: var(--blue); }
.btn-amber { --bg: var(--amber); --fg: var(--ink); --bd: var(--amber); --sweep: var(--ink); }
.btn-amber:hover { --fg: #fff; --bd: var(--ink); }
.btn-line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --sweep: var(--ink); }
.btn-line:hover { --fg: #fff; }
.btn-line-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); --sweep: #fff; }
.btn-line-light:hover { --fg: var(--ink); --bd: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 650; font-stretch: var(--wide); color: var(--blue-ink); text-decoration: none; }
.link-arrow .icon { width: 20px; transition: transform 0.35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; }

.icon { width: 22px; height: 22px; flex: none; }

/* ---- Graduated ruler (section divider) ----------------------------------- */
.ruler {
	height: 20px; color: var(--ink);
	background:
		linear-gradient(to right, currentColor 1.5px, transparent 1.5px) 0 100% / 80px 20px repeat-x,
		linear-gradient(to right, currentColor 1px, transparent 1px) 40px 100% / 80px 13px repeat-x,
		linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 8px 7px repeat-x;
	border-bottom: 1.5px solid currentColor;
	opacity: 0.85;
}
.js .ruler { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
.js .ruler.is-in { clip-path: inset(0 0 0 0); }
.ruler-light { color: rgba(255,255,255,.45); }

/* ---- Logo ----------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; }
.logo-mark .lm-b { fill: none; stroke: var(--blue); stroke-width: 34; }
.logo-mark .lm-a { fill: none; stroke: var(--amber); stroke-width: 34; }
.logo-mark .lm-n, .logo-mark .lm-h { fill: currentColor; }
.logo-word { display: flex; flex-direction: column; font-stretch: var(--wide); font-weight: 750; font-size: 1rem; line-height: 1.02; letter-spacing: -0.01em; }
.logo-word span + span { font-weight: 500; color: var(--blue-ink); }
.logo:hover .lm-n { transform: rotate(-8deg); }
.logo .lm-n { transform-origin: 200px 225px; transform-box: view-box; transition: transform 0.5s var(--ease); }

/* ---- Header --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 251, 252, 0.96);
	border-bottom: 1px solid var(--line);
	transition: transform 0.45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.nav { display: none; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
	position: relative; display: block; padding: 10px 12px;
	font-weight: 600; font-stretch: var(--wide); text-decoration: none;
}
/* Active item: a small needle mark under the label. */
.nav-list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
	background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current]::after { transform: scaleX(1); }
.mega-toggle { display: grid; place-items: center; width: 32px; height: 32px; margin-left: 0; border: 0; background: none; border-radius: 50%; }
.mega-toggle svg { width: 12px; transition: transform 0.3s var(--ease); }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .bar-end { margin-left: 12px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; }
.icon-btn:hover { background: var(--paper); }
.bar-phone { display: none; align-items: center; gap: 8px; padding: 8px 10px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar-phone .icon { width: 18px; color: var(--blue-ink); }
.bar-cta { display: none; }
.scroll-dial { display: none; width: 34px; height: 34px; }
.scroll-dial svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.sd-track, .sd-fill { fill: none; stroke-width: 3; }
.sd-track { stroke: var(--line); }
.sd-fill { stroke: var(--amber); stroke-dasharray: 100; stroke-dashoffset: 100; }
.sd-needle { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transform-origin: 20px 20px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--dial); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(14, 35, 64, 0.35); }
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; padding-block: 36px 24px; }
.mega-family { display: grid; gap: 2px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1.5px solid var(--ink); text-decoration: none; }
.mega-unit { font-size: 2rem; font-weight: 750; font-stretch: var(--wider); line-height: 1; color: var(--blue-ink); }
.mega-name { font-weight: 700; font-stretch: var(--wide); }
.mega-count { font-size: var(--step--1); color: var(--ink-soft); }
.mega-family:hover .mega-name { text-decoration: underline; }
.mega-col ul { display: grid; gap: 2px; }
.mega-col li a { display: block; padding: 4px 0; font-size: 0.9375rem; color: var(--ink-soft); text-decoration: none; }
.mega-col li a:hover { color: var(--ink); text-decoration: underline; }
.mega-foot { padding-bottom: 28px; }
.mega-foot a { font-weight: 650; color: var(--blue-ink); }

.search-panel { border-top: 1px solid var(--line); background: var(--dial); }
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 12px; padding-block: 14px; }
.search-form .icon { color: var(--steel); }
.search-form input {
	flex: 1; min-width: 0; height: 48px; padding: 0 4px; border: 0; border-bottom: 1.5px solid var(--line-strong);
	background: transparent; font-size: var(--step-1);
}
.search-form input:focus { outline: none; border-bottom-color: var(--blue); box-shadow: none; }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--dial); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-inner { padding: 24px var(--gutter) 48px; display: grid; gap: 28px; }
.mobile-nav a { display: block; padding: 10px 0; font-size: var(--step-3); font-weight: 750; font-stretch: var(--wider); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-families { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-families a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.mobile-families a span + span { color: var(--blue-ink); }
.mobile-contact { display: grid; gap: 12px; }
.mobile-contact a:not(.btn) { font-weight: 600; }
body.menu-open { overflow: hidden; }

@media (min-width: 720px) {
	.bar-cta { display: inline-flex; }
	.scroll-dial { display: block; }
}
@media (min-width: 1080px) {
	:root { --header-h: 78px; }
	.nav { display: block; }
	.burger { display: none; }
	.bar-phone { display: inline-flex; }
	.mobile-menu { display: none !important; }
}
@media (max-width: 1079px) { .mega { display: none !important; } }

/* ---- Gauge ---------------------------------------------------------------- */
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge .g-bezel { filter: drop-shadow(0 18px 30px rgba(14, 35, 64, 0.22)); }
.gauge .g-seg { fill: none; stroke-width: 11; }
.gauge .is-blue { stroke: var(--blue); }
.gauge .is-amber { stroke: var(--amber); }
.gauge .g-ticks line { stroke: var(--ink); stroke-linecap: butt; }
.gauge .g-ticks .is-major { stroke-width: 3.2; }
.gauge .g-ticks .is-minor { stroke-width: 1.3; }
.gauge text { font-family: var(--font); fill: var(--ink); text-anchor: middle; font-variant-numeric: tabular-nums; }
.gauge .g-nums text { font-size: 19px; font-weight: 600; font-stretch: 112%; }
.gauge .g-unit { font-size: 26px; font-weight: 750; font-stretch: var(--wider); }
.gauge .g-label { font-size: 13px; fill: var(--ink-soft); font-weight: 500; }
.gauge .g-readout rect { fill: var(--ink); }
.gauge .g-value { fill: #fff; font-size: 27px; font-weight: 650; font-stretch: 112%; }
.gauge .g-needle { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(var(--a, -135deg)); fill: var(--ink); }
.gauge .g-tail { fill: var(--ink); }
.gauge .g-hub { fill: var(--ink); }
.gauge .g-hub-cap { fill: var(--amber); }
.gauge .g-glass { pointer-events: none; }

/* Mini gauge (family tiles, headers) */
.mini-gauge { width: 72px; height: 72px; }
.mini-gauge .mg-track { fill: none; stroke: var(--line); stroke-width: 26; }
.mini-gauge .mg-fill { fill: none; stroke: var(--amber); stroke-width: 26; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease); }
.mini-gauge .mg-ticks line { stroke: var(--ink); stroke-width: 7; }
.mini-gauge .mg-needle { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(-135deg); fill: var(--ink); transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mini-gauge .mg-hub { fill: var(--ink); }
.is-in .mini-gauge .mg-fill, .no-js .mini-gauge .mg-fill, html:not(.js) .mini-gauge .mg-fill { stroke-dasharray: var(--t) 100; }
.is-in .mini-gauge .mg-needle, html:not(.js) .mini-gauge .mg-needle { transform: rotate(var(--a)); }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	padding-top: clamp(28px, 6vw, 72px);
	background:
		radial-gradient(60% 70% at 78% 40%, #fff 0%, rgba(255,255,255,0) 70%),
		var(--paper);
}
.hero-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; padding-bottom: clamp(32px, 6vw, 72px); }
.hero-title { font-size: var(--step-hero); font-weight: 820; font-stretch: var(--wider); line-height: 0.94; letter-spacing: -0.025em; }
.ht-line { display: block; }
.ht-line + .ht-line { color: var(--blue-ink); }
.hero-lead { margin-top: clamp(20px, 3vw, 32px); max-width: 52ch; font-size: var(--step-1); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-instrument { display: grid; gap: 20px; justify-items: center; }
.hero-gauge { width: min(100%, 560px); aspect-ratio: 1; touch-action: pan-y; }
.hero-gauge .gauge { cursor: crosshair; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: min(100%, 560px); }
.channel {
	position: relative; display: grid; gap: 2px; padding: 10px 10px 9px; text-align: left;
	background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius);
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.channel::before { content: ""; position: absolute; left: 10px; top: -1px; width: 22px; height: 3px; background: var(--line-strong); transition: background-color 0.3s; }
.channel:hover { border-color: var(--ink); }
.channel[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.channel[aria-pressed="true"]::before { background: var(--amber); }
.ch-unit { font-size: 1.25rem; font-weight: 750; font-stretch: var(--wide); line-height: 1.1; }
.ch-name { font-size: 0.8125rem; opacity: 0.8; }
.channel-readout { font-weight: 600; }
.channel-readout a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue-ink); }
.channel-readout a:hover { text-decoration: underline; }
.channel-readout .icon { width: 18px; }
.hero-ruler { color: var(--ink); }

@media (min-width: 640px) { .channels { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 980px) {
	.hero { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: space-between; }
	.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
	/* Sized from the column width so both lines always fit beside the dial. */
	.hero-title { font-size: clamp(2.6rem, 4.3vw, 5rem); }
	.ht-line { white-space: nowrap; }
}

/* Intro start state (JS only, reduced-motion excluded) */
.js .hero[data-intro] .channels, .js .hero[data-intro] .channel-readout { opacity: 0; }

/* ---- Family tiles --------------------------------------------------------- */
.family-grid { display: grid; gap: 14px; }
.family-tile {
	position: relative; display: grid; align-content: start; gap: 8px; min-height: 240px;
	padding: 28px; overflow: hidden;
	background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none;
	transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.ft-unit {
	position: absolute; right: 18px; bottom: -0.18em;
	font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 800; font-stretch: var(--wider); line-height: 1;
	color: var(--paper); letter-spacing: -0.04em; pointer-events: none;
	transition: color 0.5s var(--ease);
}
.ft-gauge { position: absolute; top: 20px; right: 20px; }
.ft-name { position: relative; font-size: var(--step-2); max-width: 75%; }
.ft-count { position: relative; color: var(--ink-soft); }
.ft-count strong { color: var(--ink); font-weight: 700; }
.ft-kids { position: relative; margin-top: auto; padding-top: 20px; font-size: 0.9375rem; color: var(--ink-soft); max-width: 34ch; }
.family-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.family-tile:hover .ft-unit { color: #e7ecf2; }
.family-tile:hover .ft-name { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); }
@media (min-width: 680px) { .family-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
	.family-grid { grid-template-columns: repeat(6, 1fr); }
	/* Asymmetric layout: the two largest families get wider tiles. */
	.family-tile { grid-column: span 2; }
	.family-tile:nth-child(1), .family-tile:nth-child(2) { grid-column: span 3; min-height: 300px; }
}

/* ---- Brands --------------------------------------------------------------- */
.brands { padding-block: clamp(56px, 8vw, 112px); background: var(--ink); color: #fff; overflow: hidden; }
.brands-head h2 { max-width: 34ch; font-size: var(--step-2); font-weight: 500; font-stretch: 100%; line-height: 1.35; color: rgba(255,255,255,.82); }
.marquee { margin-top: clamp(32px, 5vw, 56px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; }
.marquee li::after { content: ""; width: 3px; height: 0.9em; margin-inline: clamp(20px, 3vw, 44px); background: var(--amber); transform: skewX(-20deg); }
.marquee a { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 760; font-stretch: var(--wider); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; color: #fff; transition: color 0.3s; }
.marquee a:hover { color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Sectors on a graduated scale ---------------------------------------- */
.sector-scale { position: relative; display: grid; gap: 0; padding-left: 28px; }
.sector-scale::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 20px;
	background:
		linear-gradient(currentColor 1.5px, transparent 1.5px) 100% 0 / 20px 56px repeat-y,
		linear-gradient(currentColor 1px, transparent 1px) 100% 0 / 8px 7px repeat-y;
	border-right: 1.5px solid currentColor;
}
.sector-scale li { display: flex; align-items: center; min-height: 56px; font-size: var(--step-1); font-weight: 600; font-stretch: var(--wide); border-bottom: 1px solid var(--line); }
.js .sector-scale li { opacity: 0; transform: translateX(-12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .sector-scale.is-in li { opacity: 1; transform: none; }
@media (min-width: 900px) {
	.sector-scale { grid-template-columns: repeat(12, 1fr); padding: 92px 0; }
	.sector-scale::before {
		left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 22px; transform: translateY(-100%);
		background:
			linear-gradient(to right, currentColor 2px, transparent 2px) calc(100% / 24) 100% / calc(100% / 12) 22px repeat-x,
			linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / calc(100% / 96) 8px repeat-x;
		border-right: 0; border-bottom: 1.5px solid currentColor;
	}
	.sector-scale li { position: relative; min-height: 0; border: 0; justify-content: center; font-size: 1.0625rem; text-align: center; line-height: 1.2; }
	.sector-scale li span { position: absolute; left: 50%; width: 8.5em; transform: translateX(-50%); }
	.sector-scale li:nth-child(odd) span { bottom: 34px; }
	.sector-scale li:nth-child(even) span { top: 14px; }
	/* Leader line from each label to its graduation. */
	.sector-scale li:nth-child(odd)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 30px; background: var(--amber); }
	.js .sector-scale li { transform: translateY(8px); }
}

/* ---- Company teaser ------------------------------------------------------- */
.company-teaser { background: var(--dial); border-block: 1px solid var(--line); }
.teaser-grid { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
.teaser-copy p { margin-top: 20px; font-size: var(--step-1); color: var(--ink-soft); max-width: 56ch; }
.teaser-copy .spec-table { margin-top: 32px; }
@media (min-width: 900px) { .teaser-grid { grid-template-columns: 1fr 1fr; } }

/* Inspection frame: crosshair corner marks around an image. */
.frame { position: relative; margin: 0; padding: 14px; }
.frame::before, .frame::after {
	content: ""; position: absolute; width: 28px; height: 28px; border: 0 solid var(--ink); pointer-events: none;
}
.frame::before { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.frame::after { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.frame img { width: 100%; border-radius: var(--radius); }
.frame figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--ink-soft); }

/* ---- Spec table (certificate rows) --------------------------------------- */
.spec-table { border-top: 1.5px solid var(--ink); }
.spec-table th, .spec-table td { padding: 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 46%; padding-right: 20px; font-weight: 500; color: var(--ink-soft); }
.spec-table td { font-weight: 600; }
.spec-table.compact th, .spec-table.compact td { padding: 10px 0; }

/* ---- References ----------------------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; height: 104px; padding: 18px; background: var(--dial); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-wall img { width: 100%; height: 58px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; mix-blend-mode: multiply; transition: filter 0.4s, opacity 0.4s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 120px); background: var(--ink); color: #fff; }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: end; }
.cta-band h2 { font-size: var(--step-4); max-width: 18ch; }
.cta-band p { margin-top: 18px; max-width: 54ch; color: rgba(255,255,255,.78); font-size: var(--step-1); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-dial {
	position: absolute; right: -14vw; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; transform: translateY(-50%);
	border-radius: 50%;
	background: repeating-conic-gradient(from -135deg, rgba(255,255,255,.22) 0deg 0.5deg, transparent 0.5deg 5.4deg);
	-webkit-mask: radial-gradient(closest-side, transparent 84%, #000 84.5%, #000 93%, transparent 93.5%);
	mask: radial-gradient(closest-side, transparent 84%, #000 84.5%, #000 93%, transparent 93.5%);
}
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.78); padding-top: 0; }
.site-footer .ruler { opacity: 1; }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 88px); }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-word span + span { color: var(--amber); }
.footer-brand p { margin-top: 20px; max-width: 40ch; font-size: 0.9375rem; }
.footer-col h2 { margin-bottom: 16px; font-size: 1rem; color: #fff; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact { margin-top: 16px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: var(--step--1); }
.footer-bottom a { color: #fff; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1.2fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---- Page heads & breadcrumbs -------------------------------------------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--step--1); color: var(--ink-soft); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline: 8px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.page-head { position: relative; padding-block: clamp(32px, 6vw, 80px) clamp(28px, 4vw, 48px); background: var(--dial); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head-grid { display: grid; gap: 24px; align-items: end; }
.page-title { margin-top: 20px; font-size: var(--step-4); font-weight: 780; font-stretch: var(--wider); letter-spacing: -0.02em; }
.page-lead { margin-top: 16px; max-width: 60ch; font-size: var(--step-1); color: var(--ink-soft); }
.head-readout { display: flex; align-items: center; gap: 16px; }
.head-readout .mini-gauge { width: 88px; height: 88px; }
.readout-num { font-size: var(--step-4); font-weight: 750; font-stretch: var(--wide); line-height: 1; }
.readout-label { color: var(--ink-soft); font-size: var(--step--1); }
@media (min-width: 900px) { .page-head-grid { grid-template-columns: 1fr auto; } }

/* ---- Category archive ----------------------------------------------------- */
.chips { display: flex; gap: 8px; margin-top: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--dial); font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color 0.25s, background-color 0.25s, color 0.25s; }
.chip span { color: var(--ink-soft); font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-current] span { color: rgba(255,255,255,.7); }

.catalog { display: grid; gap: 32px; padding-block: clamp(32px, 5vw, 64px) var(--section); }
.catalog-side details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--dial); }
.catalog-side summary { padding: 14px 16px; font-weight: 650; cursor: pointer; }
.catalog-side .tree-wrap { padding: 0 16px 16px; }
.tree { display: grid; gap: 1px; }
.tree .tree { margin-left: 14px; padding-left: 10px; border-left: 1px solid var(--line); display: none; }
.tree li.is-open > .tree, .tree.depth-0 { display: grid; }
.tree a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-radius: 2px; font-size: 0.9375rem; text-decoration: none; color: var(--ink-soft); }
.tree a:hover { color: var(--ink); background: var(--paper); }
.tree a[aria-current] { color: var(--ink); font-weight: 700; background: var(--paper); box-shadow: inset 3px 0 0 var(--amber); }
.tree-count { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.catalog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--ink-soft); font-size: 0.9375rem; }
@media (min-width: 1000px) {
	.catalog { grid-template-columns: 270px 1fr; gap: 48px; }
	.catalog-side details { position: sticky; top: calc(var(--header-h) + 24px); }
	.catalog-side summary { pointer-events: none; list-style: none; }
	.catalog-side summary::-webkit-details-marker { display: none; }
}

/* ---- Nameplate (product card) -------------------------------------------- */
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.plate { position: relative; }
.plate-link {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; overflow: hidden;
	transition: border-color 0.35s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
/* Rivets in the four corners, like an equipment nameplate. */
.plate-link::before {
	content: ""; position: absolute; inset: 7px; pointer-events: none; z-index: 2;
	background:
		radial-gradient(circle at 3px 3px, var(--line-strong) 2.2px, transparent 2.6px) 0 0 / 6px 6px no-repeat,
		radial-gradient(circle at 3px 3px, var(--line-strong) 2.2px, transparent 2.6px) 100% 0 / 6px 6px no-repeat,
		radial-gradient(circle at 3px 3px, var(--line-strong) 2.2px, transparent 2.6px) 0 100% / 6px 6px no-repeat,
		radial-gradient(circle at 3px 3px, var(--line-strong) 2.2px, transparent 2.6px) 100% 100% / 6px 6px no-repeat;
}
.plate-media {
	position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 14%;
	background:
		linear-gradient(var(--dial), var(--dial)) padding-box,
		linear-gradient(to right, rgba(14,35,64,.05) 1px, transparent 1px) 0 0 / 16px 16px,
		linear-gradient(rgba(14,35,64,.05) 1px, transparent 1px) 0 0 / 16px 16px,
		#fff;
	background: linear-gradient(to right, rgba(14,35,64,.045) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(rgba(14,35,64,.045) 1px, transparent 1px) 0 0 / 16px 16px, #fff;
	border-bottom: 1px solid var(--line);
}
.plate-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.plate-body { display: grid; gap: 4px; padding: 16px 18px 6px; }
.plate-brand { font-size: 0.8125rem; font-weight: 650; color: var(--blue-ink); }
.plate-ref { font-size: 1.1875rem; font-weight: 720; font-stretch: var(--wide); line-height: 1.15; overflow-wrap: anywhere; }
.plate-cat { font-size: 0.875rem; color: var(--ink-soft); }
.plate-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 18px 16px; }
.plate-scale {
	position: relative; flex: 1; height: 10px; color: var(--line-strong);
	background:
		linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 25% 10px repeat-x,
		linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 5% 5px repeat-x;
	border-bottom: 1px solid currentColor;
}
.plate-scale::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.plate-doc { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.plate-doc .icon { width: 15px; height: 15px; }
.plate-link:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(14,35,64,.55); }
.plate-link:hover img { transform: scale(1.05); }
.plate-link:hover .plate-scale::after { transform: scaleX(1); }
.plate-link:hover .plate-ref { color: var(--blue-ink); }
@media (max-width: 520px) {
	.plate-body { padding: 12px 12px 4px; }
	.plate-ref { font-size: 1rem; }
	.plate-foot { padding: 10px 12px 12px; }
	.plate-doc span, .plate-doc { font-size: 0; gap: 0; }
	.plate-doc .icon { width: 16px; height: 16px; }
}

/* Pagination */
.pager { margin-top: 48px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--dial); font-weight: 600; text-decoration: none; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a.page-numbers:hover { border-color: var(--ink); }

/* ---- Product: calibration certificate ------------------------------------ */
.product-top { padding-block: 24px 0; }
.cert { display: grid; gap: clamp(24px, 4vw, 56px); padding-block: 24px clamp(40px, 6vw, 72px); }
.cert-media { display: grid; gap: 12px; align-content: start; }
.cert-stage {
	position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 10%;
	background: linear-gradient(to right, rgba(14,35,64,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(rgba(14,35,64,.05) 1px, transparent 1px) 0 0 / 24px 24px, #fff;
	border: 1px solid var(--line); border-radius: var(--radius);
}
/* Crosshair registration marks */
.cert-stage::before, .cert-stage::after { content: ""; position: absolute; background: var(--line-strong); }
.cert-stage::before { left: 50%; top: 12px; width: 1px; height: 18px; box-shadow: 0 calc(100% + 0px) 0 var(--line-strong); }
.cert-stage::after { top: 50%; left: 12px; height: 1px; width: 18px; }
.cert-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cert-scale { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 10px; color: var(--line-strong); background: linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 10% 10px repeat-x, linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 2% 5px repeat-x; }
.thumbs { display: flex; gap: 8px; }
.thumbs button { width: 76px; height: 76px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--amber); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.cert-sheet {
	position: relative; align-self: start; padding: clamp(24px, 3.4vw, 44px);
	background: var(--dial); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
	border-top: 4px solid var(--ink);
}
.cert-kicker { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--step--1); color: var(--ink-soft); }
.cert-kicker strong { color: var(--blue-ink); font-weight: 650; }
.cert-title { margin-top: 14px; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); font-weight: 800; font-stretch: var(--wider); letter-spacing: -0.02em; line-height: 0.98; overflow-wrap: anywhere; }
.cert-designation { margin-top: 14px; font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.cert-sheet .spec-table { margin-top: 28px; }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.seal { position: absolute; right: clamp(16px, 3vw, 32px); top: clamp(-36px, -3vw, -24px); width: 96px; height: 96px; color: var(--ink); transition: transform 1.2s var(--ease); }
.seal text { font-family: var(--font); font-size: 31px; font-weight: 650; letter-spacing: 3px; fill: currentColor; font-stretch: var(--wide); }
.cert-sheet:hover .seal { transform: rotate(-24deg); }
.cert-kicker { padding-right: 96px; }
@media (max-width: 600px) { .seal { width: 72px; height: 72px; top: -26px; } .cert-kicker { padding-right: 70px; } }
@media (min-width: 960px) { .cert { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .cert-media { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

.details { display: grid; gap: clamp(32px, 5vw, 64px); padding-bottom: var(--section); }
.details h2 { font-size: var(--step-3); margin-bottom: 20px; }
.specs { display: grid; gap: 24px; max-width: 760px; }
.specs h3 { font-size: var(--step-1); padding-top: 8px; }
.specs p { color: var(--ink); }
.specs ul.feature-list { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.feature-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 2px; background: var(--amber); }
.specs .spec-table ul { display: grid; gap: 2px; }
.specs table:not(.spec-table) td, .specs table:not(.spec-table) th { border: 1px solid var(--line); padding: 8px 10px; }
.empty-note { padding: 20px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-soft); max-width: 60ch; }

.docs-box { align-self: start; display: grid; gap: 16px; }
.docs { display: grid; gap: 8px; }
.doc {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
	padding: 14px 16px; background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.doc:hover { border-color: var(--ink); transform: translateX(4px); }
.doc-type { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 2px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 750; font-stretch: var(--wide); }
.doc-type.is-word { background: var(--blue-ink); }
.doc-type.is-image { background: var(--amber); color: var(--ink); }
.doc-label { display: block; font-weight: 650; }
.doc-name { display: block; font-size: 0.8125rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.doc .icon { color: var(--blue-ink); }
.help-box { padding: 22px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.help-box h2 { font-size: var(--step-1); margin: 0 0 8px; }
.help-box p { color: rgba(255,255,255,.8); font-size: 0.9375rem; }
.help-box .btn { margin-top: 18px; width: 100%; }
@media (min-width: 960px) { .details { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); } .docs-box { position: sticky; top: calc(var(--header-h) + 24px); } }

.related { padding-block: var(--section); background: var(--dial); border-top: 1px solid var(--line); }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.related-head h2 { font-size: var(--step-3); }

/* ---- Catalogue page ------------------------------------------------------- */
.catalogue-search { margin-top: 28px; max-width: 640px; }
.catalogue-search .search-form { padding: 0; }
.cat-families { display: grid; gap: 0; padding-block: clamp(32px, 5vw, 64px) var(--section); }
.cat-family { display: grid; gap: 20px; padding-block: 36px; border-top: 1.5px solid var(--ink); }
.cat-family-head { display: flex; align-items: center; gap: 18px; }
.cat-family-head .mini-gauge { width: 64px; height: 64px; flex: none; }
.cat-family-head h2 { font-size: var(--step-3); }
.cat-family-head h2 a { text-decoration: none; }
.cat-family-head h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.cat-family-head p { color: var(--ink-soft); }
.cat-brands { display: grid; gap: 16px; }
.cat-brand { padding: 18px; background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-brand > a { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-stretch: var(--wide); text-decoration: none; }
.cat-brand > a span { color: var(--ink-soft); font-weight: 500; }
.cat-brand > a:hover { color: var(--blue-ink); }
.cat-brand ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat-brand ul a { display: inline-block; padding: 4px 10px; font-size: 0.875rem; background: var(--paper); border-radius: 999px; text-decoration: none; color: var(--ink-soft); }
.cat-brand ul a:hover { color: var(--ink); background: #e6eaf0; }
@media (min-width: 700px) { .cat-brands { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cat-family { grid-template-columns: 320px 1fr; gap: 48px; } .cat-family-head { align-items: start; flex-direction: column; } .cat-brands { grid-template-columns: repeat(3, 1fr); } }

/* ---- Company page --------------------------------------------------------- */
.story { display: grid; gap: clamp(32px, 6vw, 88px); }
.story-text { display: grid; gap: 20px; font-size: var(--step-1); max-width: 62ch; }
.story-text p:first-child { font-size: var(--step-2); font-weight: 500; line-height: 1.4; color: var(--ink); }
.story-text p { color: var(--ink-soft); }
.founded { display: grid; align-content: start; gap: 8px; }
.founded-year { font-size: clamp(5rem, 3rem + 9vw, 11rem); font-weight: 820; font-stretch: var(--wider); line-height: 0.85; letter-spacing: -0.04em; color: var(--ink); }
.founded p { color: var(--ink-soft); }
@media (min-width: 960px) { .story { grid-template-columns: 0.9fr 1.1fr; } }
.commit-grid { display: grid; gap: 14px; }
.commit { position: relative; padding: 32px; background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.commit .mini-gauge { width: 64px; height: 64px; margin-bottom: 20px; }
.commit h3 { font-size: var(--step-2); }
.commit p { margin-top: 12px; color: var(--ink-soft); }
@media (min-width: 760px) { .commit-grid { grid-template-columns: 1fr 1fr; } }
.values { display: grid; border-top: 1.5px solid var(--ink); }
.values li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: var(--step-2); font-weight: 650; font-stretch: var(--wide); line-height: 1.25; }
.values li::before { content: ""; width: 40px; height: 2px; background: var(--amber); transform: translateY(-0.3em); }
.values-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .values-wrap { grid-template-columns: 1fr 1.4fr; } }

/* ---- Contact page --------------------------------------------------------- */
.contact-grid { display: grid; gap: 24px; padding-block: clamp(32px, 5vw, 64px) var(--section); }
.coords { display: grid; gap: 0; align-content: start; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.coord { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.coord .icon { color: var(--amber); margin-top: 2px; }
.coord h2 { font-size: 0.875rem; font-weight: 500; font-stretch: 100%; color: rgba(255,255,255,.7); }
.coord p, .coord a { font-size: var(--step-1); font-weight: 600; color: #fff; text-decoration: none; }
.coord a:hover { text-decoration: underline; }
.map-facade { position: relative; display: grid; place-items: center; min-height: 260px; padding: 24px; background: var(--ink-2); text-align: center; }
.map-facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 32px 32px; }
.map-facade > * { position: relative; }
.map-facade p { margin-top: 10px; font-size: var(--step--1); color: rgba(255,255,255,.65); }
.map-frame { width: 100%; height: 360px; border: 0; display: block; }

.form-card { padding: clamp(24px, 4vw, 48px); background: var(--dial); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 0 0 var(--radius) var(--radius); }
.form-card h2 { font-size: var(--step-3); }
.form-card > p { margin-top: 10px; color: var(--ink-soft); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,124,234,.22); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--step--1); color: var(--ink-soft); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; margin-top: 20px; }
.notice .icon { flex: none; }
.notice.is-ok { background: #e7f4ec; color: var(--ok); border: 1px solid #b6dcc5; }
.notice.is-err { background: #fdecea; color: var(--err); border: 1px solid #f3c1bb; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 420px 1fr; gap: 40px; } .coords { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---- Generic content pages ----------------------------------------------- */
.prose { max-width: 72ch; padding-block: clamp(32px, 5vw, 64px) var(--section); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose a { color: var(--blue-ink); }

/* ---- Search & 404 --------------------------------------------------------- */
.results-pages { display: grid; gap: 8px; margin-top: 40px; }
.results-pages a { display: block; padding: 16px 18px; background: var(--dial); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 650; text-decoration: none; }
.results-pages a:hover { border-color: var(--ink); }
.empty-state { padding-block: 48px; max-width: 60ch; }
.empty-state p { color: var(--ink-soft); font-size: var(--step-1); }
.empty-state .hero-actions { margin-top: 24px; }

.notfound { display: grid; gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 96px); }
.notfound .gauge { max-width: 380px; }
.notfound h1 { font-size: var(--step-4); font-stretch: var(--wider); }
.notfound p { margin-top: 16px; font-size: var(--step-1); color: var(--ink-soft); max-width: 48ch; }
@media (min-width: 900px) { .notfound { grid-template-columns: 1fr 1.2fr; } }

/* ---- Reveal (JS only) ----------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js .sector-scale li { opacity: 1; transform: none; }
	.js .ruler { clip-path: none; }
	.marquee-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 12px; }
	.marquee-track li[aria-hidden] { display: none; }
	.marquee { mask-image: none; padding-inline: var(--gutter); }
	.mini-gauge .mg-fill { stroke-dasharray: var(--t) 100; }
	.mini-gauge .mg-needle { transform: rotate(var(--a)); }
}

/* ---- Print ---------------------------------------------------------------- */
@media print {
	.site-header, .site-footer, .cta-band, .related, .help-box, .cert-actions { display: none !important; }
	body { background: #fff; }
}
