/* ==========================================================================
   Senvolt Instruments – main stylesheet
   Tokens: brand indigo + volt orange (logo), process teal (catalog), cool paper.
   Type: Archivo variable – wide for headings, condensed for instrument numerals.
   ========================================================================== */

:root {
	--ink: #161a4a;
	--indigo: #2e3192;
	--indigo-deep: #1f236b;
	--volt: #f7941d;
	--volt-dark: #dd7c06;
	--teal: #0a8ca0;
	--teal-text: #066e7d;
	--paper: #f3f6f7;
	--line: #d2dbdf;
	--muted: #4b5373;
	--white: #fff;
	--lcd: #d6e9f2;
	--ok: #1d7a46;
	--err: #b42318;

	--font: "Archivo", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--radius: 4px;
	--space: clamp(3rem, 7vw, 5.5rem);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	font-variation-settings: "wdth" 100;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.1;
	color: var(--ink);
	font-stretch: 112%;
	font-variation-settings: "wdth" 112;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem); font-weight: 760; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.25vw, 2.15rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; font-variation-settings: "wdth" 106; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: .5rem; left: .5rem;
	background: var(--white); padding: .6rem 1rem; color: var(--ink);
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .8rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent;
	font-weight: 680; font-variation-settings: "wdth" 106; line-height: 1.1;
	text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt:hover { background: var(--volt-dark); color: var(--ink); }
.btn--line { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--line:hover { background: var(--indigo); color: var(--white); }
.btn--ink { background: var(--indigo); color: var(--white); }
.btn--ink:hover { background: var(--indigo-deep); color: var(--white); }

/* Top bar + header ------------------------------------------------------- */
.topbar { background: var(--indigo-deep); color: #dfe2f5; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: var(--volt); }
.topbar__contact { display: flex; gap: 1.4rem; }
.topbar .icon { width: 16px; height: 16px; }

.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { flex: none; }
.brand img { width: auto; height: 52px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu a {
	display: block; padding: .6rem .7rem; color: var(--ink); text-decoration: none;
	font-weight: 600; font-variation-settings: "wdth" 104;
}
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--indigo); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--volt); }
.sub-toggle {
	width: 1.6rem; height: 1.6rem; margin-left: -.45rem; border: 0; background: none; cursor: pointer; position: relative;
}
.sub-toggle::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: .45rem; height: .45rem;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 300px;
	background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--indigo);
	visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.site-nav .sub-menu a { padding: .5rem 1.1rem; font-weight: 500; }
.site-nav .sub-menu a:hover { background: var(--paper); }
.nav-toggle {
	display: none; margin-left: auto; align-items: center; gap: .4rem; padding: .55rem .8rem;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: 600;
}

@media (max-width: 1080px) {
	.topbar__motto { display: none; }
	.topbar__inner { justify-content: flex-end; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch;
		gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem;
		max-height: calc(100vh - 110px); overflow-y: auto;
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
	.site-nav .menu a { padding: .85rem 0; }
	.sub-toggle { width: 2.75rem; height: 2.75rem; margin: 0; }
	.site-nav .sub-menu {
		position: static; display: none; width: 100%; min-width: 0; border: 0; padding: 0 0 .5rem .75rem;
		visibility: visible; opacity: 1; transform: none;
	}
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: none; }
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: .55rem 0; }
	.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { box-shadow: none; }
	.site-nav__cta { margin-top: 1rem; justify-content: center; }
}
@media (max-width: 560px) {
	.topbar__contact a:last-child { display: none; }
	.brand img { height: 42px; }
}

/* Breadcrumbs + page heads ---------------------------------------------- */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 2rem; padding-bottom: 2rem; }
.page-head h1 { max-width: 22ch; }
.page-head__lead { font-size: 1.125rem; color: var(--muted); max-width: 68ch; }
.page-head__num {
	margin: 0; color: var(--volt-dark); font-weight: 800; font-size: 1.1rem; font-variation-settings: "wdth" 125;
}
.page-head--narrow { max-width: 820px; }
.post-meta { color: var(--muted); font-size: .9rem; display: flex; gap: 1rem; }

/* Prose ------------------------------------------------------------------ */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.65rem); }
.prose h3 { margin-top: 1.5rem; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--volt-dark); }
.prose img { margin-block: 1rem; }
.prose .wp-block-table, .table-scroll { overflow-x: auto; margin: 1.25rem 0 1.75rem; }
.prose table, .specs__table {
	width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px;
}
.prose th, .prose td, .specs__table th, .specs__table td {
	text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--line);
}
.prose thead th { background: var(--indigo); color: var(--white); font-weight: 650; border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: var(--paper); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* Hero ------------------------------------------------------------------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__title { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.7rem); max-width: 17ch; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1.75rem 0 2rem; }
.hero__dl, .product__dl, .dl-link {
	display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--indigo);
}
.hero__facts {
	list-style: none; padding: 1.25rem 0 0; margin: 0; border-top: 1px solid var(--line);
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; font-size: .9rem; color: var(--muted);
}
.hero__facts strong {
	display: block; color: var(--ink); font-size: 1.05rem; font-variation-settings: "wdth" 112; font-weight: 720;
}

/* The instrument readout – the one bold element of the page. */
.readout { justify-self: center; width: min(100%, 430px); }
.readout__bezel {
	position: relative; background: var(--indigo-deep); border-radius: 18px; padding: 28px 38px 24px;
	box-shadow: inset 0 0 0 2px #2c3187, inset 0 -6px 0 #171a52, 0 30px 60px -30px rgba(22, 26, 74, .55);
}
.readout__led {
	position: absolute; font-size: .6rem; color: #8f95d8; display: flex; flex-direction: column !important; align-items: center; gap: .2rem;
	font-weight: 600; letter-spacing: .02em;
}
.readout__led::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3a3f8f; }
.readout__led--r1 { left: 7px; top: 38%; flex-direction: row-reverse; }
.readout__led--r2 { left: 7px; top: 55%; flex-direction: row-reverse; }
.readout__led--r3 { right: 7px; top: 38%; }
.readout__led.is-on::after { background: var(--volt); box-shadow: 0 0 6px var(--volt); }
.readout__screen {
	background: var(--lcd); border-radius: 4px; padding: .7rem .9rem .8rem; color: #0f1340;
	box-shadow: inset 0 2px 6px rgba(15, 19, 64, .35); font-variation-settings: "wdth" 90;
}
.readout__row { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; }
.readout__row--top { border-bottom: 1px solid rgba(15, 19, 64, .25); padding-bottom: .3rem; }
.readout__value {
	display: flex; align-items: baseline; justify-content: center; gap: .4rem; padding: .4rem 0 .2rem;
	font-size: clamp(3.6rem, 2.6rem + 3vw, 4.8rem); font-weight: 650; line-height: 1;
	font-variation-settings: "wdth" 66; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.readout__value small { font-size: 1rem; font-weight: 700; font-variation-settings: "wdth" 100; }
.readout__bar { height: 6px; background: rgba(15, 19, 64, .15); border-radius: 3px; margin-top: .5rem; overflow: hidden; }
.readout__bar span { display: block; height: 100%; width: var(--fill, 50%); background: var(--indigo); transition: width .6s ease; }
.readout__label {
	margin: .7rem auto 0; width: fit-content; padding: .2rem .9rem; border-radius: 3px; background: #3c41a8;
	color: #e7e9ff; font-size: .78rem; font-weight: 600;
}
.readout__keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 1rem; }
.readout__keys span { height: 34px; border-radius: 6px; background: #3c41a8; box-shadow: inset 0 -3px 0 #2a2e86; }
.readout.is-changing [data-r="value"] { opacity: .15; }
[data-r="value"] { transition: opacity .25s; }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.readout { width: min(100%, 360px); }
}
@media (max-width: 560px) {
	.hero__facts { grid-template-columns: 1fr; }
}

/* Sections --------------------------------------------------------------- */
.ranges, .industries, .why { padding-block: var(--space); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

.range-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.range { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.range a { display: grid; align-content: start; grid-template-columns: auto 1fr; grid-template-areas: "media media" "num name" "num desc" "num count"; column-gap: 1rem; padding: 1.4rem; height: 100%; text-decoration: none; color: inherit; }
.range a:hover { background: var(--paper); }
.range a:hover .range__name { color: var(--indigo); }
.range__media { grid-area: media; position: relative; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; background: var(--white); overflow: hidden; }
.range__media img, .range__media .ph-graphic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.range__num {
	grid-area: num; color: var(--volt-dark); font-weight: 800; font-size: 1.05rem; line-height: 1.35;
	font-variation-settings: "wdth" 125; min-width: 2.2ch;
}
.range__name { grid-area: name; font-weight: 720; font-size: 1.15rem; line-height: 1.25; font-variation-settings: "wdth" 110; }
.range__desc { grid-area: desc; color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.range__count { grid-area: count; font-size: .85rem; color: var(--teal-text); font-weight: 600; margin-top: .6rem; }
@media (max-width: 900px) { .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .range-grid { grid-template-columns: 1fr; } }

/* Online monitoring band */
.oms { background: var(--indigo-deep); color: #e3e5f7; padding-block: var(--space); }
.oms h2 { color: var(--white); max-width: 20ch; }
.oms__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.oms__params { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.oms__params li { border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; padding: .2rem .6rem; font-size: .88rem; font-weight: 600; color: var(--white); }
.oms__figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: clamp(.75rem, 2vw, 1.25rem); }
@media (max-width: 900px) { .oms__grid { grid-template-columns: 1fr; } }

/* Industries – octagon frames echo the catalog cover */
.ind-grid, .child-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.child-grid { list-style: none; margin: 0 0 var(--space); padding: 0; }
.ind { display: block; text-decoration: none; color: inherit; }
.ind img {
	width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 1rem;
	clip-path: polygon(30% 1.5%, 70% 1.5%, 98.5% 30%, 98.5% 70%, 70% 98.5%, 30% 98.5%, 1.5% 70%, 1.5% 30%);
}
.ind__name { display: block; font-weight: 720; font-size: 1.15rem; font-variation-settings: "wdth" 110; margin-bottom: .3rem; }
.ind:hover .ind__name { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; }
.ind__desc { display: block; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .ind-grid, .child-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ind-grid, .child-grid { grid-template-columns: 1fr; } }

/* Why */
.why { background: var(--paper); border-top: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.why__grid h2 { margin: 0; }
.why__item { border-top: 3px solid var(--volt); padding-top: 1rem; }
.why__item p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; } .why__grid h2 { grid-column: 1 / -1; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* Product grid + cards --------------------------------------------------- */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pcard a:hover { border-color: var(--indigo); }
.pcard a:hover .pcard__title { color: var(--indigo); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard__media img, .pcard__media .ph-graphic { position: absolute; inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; min-height: 0; }
.pcard__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.pcard__model { font-weight: 800; color: var(--volt-dark); font-variation-settings: "wdth" 120; font-size: .9rem; }
.pcard__title { font-weight: 700; line-height: 1.25; font-variation-settings: "wdth" 106; }
.pcard__desc { color: var(--muted); font-size: .9rem; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr; } }

.ph-graphic {
	width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; background: var(--paper);
	border: 1px dashed var(--line);
}
.ph-graphic span { font-weight: 800; color: var(--indigo); font-variation-settings: "wdth" 120; text-align: center; padding: 1rem; }

/* Product archive */
.range-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.range-jump a { border: 1px solid var(--line); border-radius: 3px; padding: .35rem .75rem; font-size: .9rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.range-jump a:hover { border-color: var(--indigo); color: var(--indigo); }
.range-block { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.range-block__head { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; margin-bottom: 1.5rem; }
.range-block__head h2 { margin: 0; }
.range-block__head h2 a { color: inherit; text-decoration: none; }
.range-block__head h2 a:hover { color: var(--indigo); }
.range-block__head p { grid-column: 2; margin: .4rem 0 0; color: var(--muted); max-width: 70ch; }
.range-block__head .range__num { font-size: clamp(1.55rem, 1.2rem + 1.25vw, 2.15rem); line-height: 1.1; }

.other-ranges { padding-block: var(--space) 0; }
.other-ranges ul, .other-ranges__list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.other-ranges a, .other-ranges__list a { display: block; border: 1px solid var(--line); border-radius: 3px; padding: .45rem .85rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.other-ranges a:hover, .other-ranges__list a:hover { border-color: var(--indigo); color: var(--indigo); }

/* Single product --------------------------------------------------------- */
.product { padding-top: 2rem; }
.product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.product__media { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2.5rem); background: var(--white); display: grid; place-items: center; aspect-ratio: 1; }
.product__media img { max-height: 100%; width: auto; object-fit: contain; }
.product__cat { font-weight: 650; font-size: .92rem; color: var(--teal-text); text-decoration: none; }
.product__cat:hover { text-decoration: underline; }
.product__title { margin-top: .4rem; font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.75rem); }
.product__model { display: flex; align-items: baseline; gap: .6rem; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.product__model span {
	color: var(--indigo); font-size: 1.6rem; font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1;
}
.product__lead { font-size: 1.1rem; color: var(--muted); }
.product__highlights { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .5rem; }
.product__highlights li { position: relative; padding-left: 1.5rem; }
.product__highlights li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; background: var(--volt); }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.product__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding-block: var(--space); align-items: start; }
.specs { position: sticky; top: 100px; }
.specs h2 { font-size: 1.45rem; }
.specs__table { min-width: 0; }
.specs__table th { width: 40%; font-weight: 650; color: var(--ink); background: var(--paper); }
.specs__table tr:first-child th, .specs__table tr:first-child td { border-top: 2px solid var(--indigo); }
.specs .table-scroll { margin-top: 0; }
.related { padding-bottom: var(--space); }
@media (max-width: 900px) {
	.product__top, .product__body { grid-template-columns: 1fr; }
	.product__media { aspect-ratio: auto; max-height: 420px; }
	.specs { position: static; }
}

/* Pages ------------------------------------------------------------------ */
.page-body { padding-bottom: var(--space); }
.page-body--media { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.page-body__media { margin: 0; position: sticky; top: 100px; }
.page-body__media img {
	width: 100%; aspect-ratio: 1; object-fit: cover;
	clip-path: polygon(30% 1.5%, 70% 1.5%, 98.5% 30%, 98.5% 70%, 70% 98.5%, 30% 98.5%, 1.5% 70%, 1.5% 30%);
}
@media (max-width: 900px) { .page-body--media { grid-template-columns: 1fr; } .page-body__media { position: static; max-width: 360px; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); padding-bottom: var(--space); }
.contact-dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; margin: 1.5rem 0; }
.contact-dl dt { font-weight: 700; }
.contact-dl dd { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog list */
.post-list { list-style: none; padding: 0; margin: 0 0 var(--space); border-top: 1px solid var(--line); }
.post-item a { display: grid; grid-template-columns: 9rem 1fr; column-gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-item__type { grid-row: span 2; color: var(--muted); font-size: .9rem; }
.post-item__title { font-weight: 720; font-size: 1.2rem; font-variation-settings: "wdth" 108; }
.post-item a:hover .post-item__title { color: var(--indigo); }
.post-item__desc { color: var(--muted); }
@media (max-width: 600px) { .post-item a { grid-template-columns: 1fr; } .post-item__type { grid-row: auto; } }
.search-form { display: flex; gap: .5rem; max-width: 520px; margin: 1rem 0; }
.search-form input { flex: 1; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-links { display: flex; gap: .5rem; margin-bottom: var(--space); }
.page-numbers { padding: .4rem .8rem; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

/* Quote band + form ------------------------------------------------------ */
.quote-band { background: var(--paper); border-top: 1px solid var(--line); padding-block: var(--space); }
.quote-band__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.quote-band__intro p { color: var(--muted); }
@media (max-width: 860px) { .quote-band__grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--indigo); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.enquiry { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--indigo); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.enquiry__title { font-size: 1.4rem; }
.enquiry__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: .92rem; }
.field input, .field textarea {
	width: 100%; padding: .7rem .8rem; border: 1px solid #b9c5cb; border-radius: var(--radius); background: var(--white);
}
.field input:focus, .field textarea:focus { border-color: var(--indigo); outline: 2px solid var(--indigo); outline-offset: 0; }
.enquiry__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; }
.enquiry__note { font-size: .85rem; color: var(--muted); flex: 1 1 220px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .8rem 1rem; border-radius: var(--radius); font-weight: 600; }
.notice--ok { background: #e6f4ec; color: var(--ok); border-left: 4px solid var(--ok); }
.notice--err { background: #fdecea; color: var(--err); border-left: 4px solid var(--err); }
@media (max-width: 560px) { .enquiry__form { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c9cce6; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--volt); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.site-footer__name { color: #fff; font-weight: 760; font-size: 1.3rem; font-variation-settings: "wdth" 115; margin-bottom: .6rem; }
.site-footer__motto { color: var(--volt); font-weight: 650; }
.site-footer__h { color: #fff; font-size: 1rem; font-variation-settings: "wdth" 110; margin-bottom: 1rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.site-footer__address { display: grid; gap: .35rem; }
.site-footer .dl-link { color: #fff; }
.social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.25rem; font-size: .85rem; }
.site-footer__legal p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { background: #1ebe5b; color: #fff; }

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
	.topbar, .site-header, .quote-band, .wa-float, .site-footer, .related { display: none; }
	.specs { position: static; }
}
