/* ==========================================================================
   CoreTech theme — "Cobalt Atlas" design system
   ========================================================================== */

/* Fonts (self-hosted variable fonts, latin subset) */
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/roboto-condensed.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--c-ink: #082655;          /* body text */
	--c-navy: #0a2a5c;         /* headings */
	--c-navy-900: #021c4a;     /* top bar */
	--c-footer: #061b3a;
	--c-hero: #05337b;         /* hero panel */
	--c-blue: #003587;         /* primary actions */
	--c-blue-600: #0a4bb4;
	--c-muted: #5b6b83;
	--c-mist: #f2f5f8;         /* light section background */
	--c-mist-2: #f6f8fc;
	--c-stage: #edf3fa;        /* product image background */
	--c-line: #dce3ee;
	--c-white: #fff;
	--c-focus: #3d8bff;

	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;

	--container: 1320px;
	--gutter: clamp(20px, 4vw, 32px);
	--section: clamp(64px, 8vw, 104px);
	--topbar-h: 46px;
	--header-h: 98px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--admin-offset: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--c-ink);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-blue); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
	font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -.025em;
	color: var(--c-navy); margin: 0 0 .5em; text-wrap: balance;
}
button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.icon { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.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: -100px; z-index: 1000;
	background: var(--c-navy-900); color: var(--c-white); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(var(--admin-offset) + 12px); }
.site-main:focus { outline: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: flex; align-items: center; gap: 22px;
	margin: 0 0 22px; font-size: .75rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--c-navy);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--c-white); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }

.section-title { font-size: clamp(2.25rem, 4.2vw, 3.6rem); margin: 0; }
.section-title--sm { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--c-muted); max-width: 46ch; margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 40px; }

.text-link {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 600; color: var(--c-blue); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
}
.text-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

.prose { font-size: 1.0625rem; line-height: 1.75; color: #33445f; }
.prose > :last-child { margin-bottom: 0; }
.prose__lead { font-size: 1.3rem; line-height: 1.55; color: var(--c-ink); }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.prose a { color: var(--c-blue); }
.prose--page { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .85em;
	min-height: 56px; padding: 0 28px;
	font: 700 1rem/1.1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
	border: 2px solid transparent; border-radius: 0; cursor: pointer; white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn__icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--c-blue); color: var(--c-white); }
.btn--primary:hover { background: var(--c-navy-900); }
.btn--light { background: var(--c-white); color: var(--c-blue); }
.btn--light:hover { background: #dfe9f8; }
.btn--outline { border-color: rgb(255 255 255 / .85); color: var(--c-white); background: transparent; }
.btn--outline:hover { background: rgb(255 255 255 / .1); border-color: var(--c-white); }
.btn--outline-dark { border-color: var(--c-blue); color: var(--c-blue); background: transparent; }
.btn--outline-dark:hover { background: var(--c-blue); color: var(--c-white); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-navy-900); color: var(--c-white); }
.topbar__inner { display: flex; justify-content: flex-end; min-height: var(--topbar-h); }
.topbar__links { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.topbar__links li { display: flex; align-items: center; }
.topbar__links li + li::before { content: ""; width: 1px; height: 18px; background: rgb(255 255 255 / .5); margin-inline: 30px; }
.topbar__link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--c-white); font-size: .9375rem; text-decoration: none; }
.topbar__link .icon { width: 21px; height: 21px; }
.topbar__link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: var(--admin-offset); z-index: 100; background: var(--c-white); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(2 28 74 / .08); }
.site-header__inner { display: flex; align-items: center; min-height: var(--header-h); gap: 32px; }

.site-logo { display: block; flex: none; }
.site-logo picture { display: block; }
.site-logo__img { width: auto; height: 57px; }

.site-nav { display: flex; align-items: center; flex: 1; gap: 32px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 48px); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__submenu .nav__item { display: block; }
.nav__link {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: 1.0625rem; font-weight: 600; color: #071d4a; text-decoration: none; transition: color .15s var(--ease);
}
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--c-blue); }
.nav__toggle { display: inline-grid; place-items: center; width: 28px; height: 44px; margin-left: 2px; padding: 0; background: none; border: 0; color: var(--c-navy); cursor: pointer; }
.nav__toggle .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }
.site-header__cta { flex: none; min-height: 59px; padding-inline: 29px; font-size: 1.0625rem; }

@media (min-width: 1181px) {
	.nav__submenu {
		position: absolute; top: calc(100% + 22px); left: -22px; z-index: 10;
		min-width: 250px; margin: 0; padding: 10px 0; list-style: none;
		background: var(--c-white); border-top: 3px solid var(--c-blue); box-shadow: 0 22px 48px rgb(2 28 74 / .16);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
	}
	.nav__submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -25px; height: 25px; }
	.nav__item.is-open > .nav__submenu,
	.nav__item--has-children:focus-within > .nav__submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	@media (hover: hover) {
		.nav__item--has-children:hover > .nav__submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
		.nav__item--has-children:hover > .nav__toggle .icon { transform: rotate(180deg); }
	}
	.nav__sublink { display: block; padding: 10px 24px; font-size: 1rem; color: var(--c-navy); text-decoration: none; white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease); }
	.nav__sublink:hover, .nav__sublink[aria-current="page"] { background: var(--c-mist); color: var(--c-blue); }
	.menu-toggle { display: none; }
}

@media (max-width: 1180px) {
	:root { --header-h: 76px; --topbar-h: 40px; }
	.site-logo__img { height: 50px; }
	.site-header__inner { justify-content: space-between; }
	.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 1px solid var(--c-line); color: var(--c-navy); cursor: pointer; }
	.menu-toggle .icon { width: 26px; height: 26px; }
	.menu-toggle__close { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
	.site-nav {
		position: fixed; inset: var(--nav-top, calc(var(--admin-offset) + var(--header-h))) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 24px;
		padding: 8px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
		background: var(--c-white); border-top: 1px solid var(--c-line);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.nav { flex: none; display: block; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
	.nav__link { flex: 1; min-height: 56px; font-size: 1.1875rem; }
	.nav__toggle { width: 56px; height: 56px; margin: 0; }
	.nav__toggle .icon { width: 18px; height: 18px; }
	.nav__submenu { display: none; width: 100%; margin: 0 0 12px; padding: 0 0 0 16px; list-style: none; border-left: 2px solid var(--c-blue); }
	.nav__item.is-open > .nav__submenu { display: block; }
	.nav__sublink { display: block; padding: 10px 0; color: var(--c-muted); text-decoration: none; font-size: 1.0625rem; }
	.site-header__cta { width: 100%; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 600px) {
	.topbar__inner { justify-content: center; }
	.topbar__links li + li::before { margin-inline: 16px; }
	.topbar__link { font-size: .875rem; gap: 8px; }
	.topbar__link .icon { width: 18px; height: 18px; }
	.site-logo__img { height: 44px; }
}

/* ---------- Home: hero ---------- */
.hero {
	--hero-offset: max(var(--gutter), calc((100vw - var(--container)) / 2));
	--hero-text: clamp(420px, 36vw, 560px);
	display: grid; grid-template-columns: calc(var(--hero-offset) + var(--hero-text) + 48px) 1fr;
	min-height: clamp(620px, calc(100vh - var(--header-h) - var(--topbar-h)), 860px);
	background: var(--c-hero); color: var(--c-white);
}
.hero__copy { display: flex; align-items: center; padding: 64px 48px 64px var(--hero-offset); }
.hero__copy-inner { width: var(--hero-text); }
.hero__title {
	/* Sized from the text column so it is always exactly four lines. */
	font-size: calc(var(--hero-text) * .165); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--c-white); margin: 0;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { margin: 28px 0 0; font-size: clamp(1.2rem, 1.8vw, 1.75rem); line-height: 1.4; color: #e9f1ff; max-width: 22ch; }
.hero__actions { display: flex; flex-wrap: nowrap; gap: 16px; margin-top: 44px; }
.hero__actions .btn { min-height: 60px; padding-inline: 22px; font-size: 1rem; gap: .7em; }

.hero__visual { position: relative; overflow: hidden; isolation: isolate; background: #05214a; border-left: 2px solid rgb(255 255 255 / .9); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__visual::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgb(2 18 48 / 0) 45%, rgb(2 18 48 / .55) 100%);
}
.hero__product {
	position: absolute; left: 50%; bottom: 17%; width: min(80%, 640px); transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; color: var(--c-white); text-decoration: none;
}
.hero__product img { width: 100%; height: auto; filter: brightness(1.15) contrast(1.06) drop-shadow(0 18px 14px rgb(0 10 30 / .6)); transition: transform .3s var(--ease); }
/* Soft light on the "floor" under the product so dark hardware separates from the dark scenery. */
.hero__product::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none; left: -30%; right: -30%; top: 0; padding-bottom: 50%;
	background: radial-gradient(ellipse 46% 22% at 50% 66%, rgb(215 232 255 / .95), rgb(150 190 255 / .38) 45%, transparent 75%);
}
.hero__product:hover img { transform: translateY(-4px); }
.hero__product-label {
	display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px;
	font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; text-shadow: 0 1px 8px rgb(0 0 0 / .45);
}
.hero__product-label::before { content: ""; width: 54px; height: 2px; background: var(--c-white); }
.hero__product-type { font-weight: 500; }

.hero__controls { position: absolute; left: 28px; bottom: 26px; display: flex; gap: 8px; }
.hero__choices { display: flex; background: rgb(3 24 60 / .72); backdrop-filter: blur(6px); }
.hero__choices button, .hero__playback {
	min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; cursor: pointer;
	font: 600 .85rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
	background: transparent; color: rgb(255 255 255 / .82);
}
.hero__choices button[aria-pressed="true"] { background: var(--c-white); color: var(--c-blue); }
.hero__choices button:hover:not([aria-pressed="true"]) { color: var(--c-white); background: rgb(255 255 255 / .12); }
.hero__playback { display: inline-grid; place-items: center; padding: 0; width: 44px; background: rgb(3 24 60 / .72); color: var(--c-white); }
.hero__playback .icon { width: 16px; height: 16px; }
.hero__icon-play { display: none; }
.hero__playback.is-paused .hero__icon-play { display: block; }
.hero__playback.is-paused .hero__icon-pause { display: none; }

/* ---------- Home: selected hardware ---------- */
.selected { background: var(--c-mist); padding-block: var(--section); }
.selected__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.selected__head .section-lead { margin-top: 28px; }
.selected__list { display: grid; gap: 36px; }
.selected-card { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: center; }
.selected-card__stage img { width: 100%; height: auto; transition: transform .3s var(--ease); }
.selected-card__stage:hover img { transform: translateY(-4px); }
.selected-card__copy { border-left: 3px solid var(--c-blue); padding: 6px 0 6px 22px; }
.selected-card__copy h3 { font-size: 2rem; margin: 0 0 10px; }
.selected-card__copy h3 a { color: inherit; text-decoration: none; }
.selected-card__type { font-weight: 500; margin: 0 0 12px; }
.selected-card__text { font-size: .9375rem; color: var(--c-muted); margin: 0 0 16px; }

/* ---------- Product families ---------- */
.families { padding-block: var(--section) calc(var(--section) * .8); }
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.family-grid li { display: flex; }
.family {
	display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 28px 26px 32px;
	border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
	color: inherit; text-decoration: none; transition: background-color .2s var(--ease);
}
.family-grid li:nth-child(4n) .family { border-right: 0; }
.family:hover, .family.is-current { background: #edf3ff; }
.family.is-current { box-shadow: inset 0 -3px 0 var(--c-blue); }
.family__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.family__icon { width: 48px; height: 48px; color: var(--c-blue); }
.family__arrow { width: 18px; height: 18px; color: var(--c-navy); transition: transform .2s var(--ease); }
.family:hover .family__arrow { transform: translateX(4px); }
.family__name { font-size: 1.75rem; margin: 0; }
.family__text { font-size: .9375rem; color: var(--c-muted); line-height: 1.5; }

/* ---------- Home: applications strip ---------- */
.applications { position: relative; isolation: isolate; color: var(--c-white); background: #041e45; overflow: hidden; }
.applications__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.applications::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(3 20 50 / .8) 0%, rgb(3 20 50 / .15) 60%, rgb(3 20 50 / 0) 100%); }
.applications__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; min-height: clamp(340px, 30vw, 440px); padding-block: 48px; }
.applications h2 { color: var(--c-white); font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 16px; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.applications__areas { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.applications__areas span { margin-inline: .9em; opacity: .7; }

/* ---------- Product tiles ---------- */
.featured { background: var(--c-mist-2); padding-block: var(--section); border-top: 1px solid #e2e9f3; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-tile { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.product-tile:hover { box-shadow: 0 18px 40px rgb(8 38 85 / .1); border-color: #c9d6ea; }
/* Every product sits in the same inner frame: never touches the edges, and tall/boxy units are
   held to a lower height so they read at the same visual size as flat rackmount units. */
.product-tile__photo { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--c-white); border-bottom: 1px solid var(--c-line); overflow: hidden; }
.product-tile__photo img {
	position: absolute; inset: 14% 9%; width: 82%; height: 72%;
	object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease);
	scale: var(--fit, 1);
}
.product-tile:hover .product-tile__photo img { transform: scale(1.03); }
.product-tile__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.product-tile__type { margin: 0 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.product-tile__title { font-size: 2rem; margin: 0 0 12px; overflow-wrap: anywhere; }
.product-tile__title a { color: var(--c-navy); text-decoration: none; }
.product-tile__title a:hover { color: var(--c-blue); }
.product-tile__text { font-size: .9375rem; color: var(--c-muted); margin: 0 0 18px; }
.product-tile__spacer { flex: 1; }
.product-tile__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--c-line); font-size: .8125rem; font-weight: 500; }
.product-tile__facts li + li { position: relative; }
.product-tile__facts li + li::before { content: ""; position: absolute; left: -10px; top: 4px; bottom: 4px; width: 1px; background: var(--c-line); }
.product-tile__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.quote-link { padding: 8px 12px; border: 1px solid var(--c-line); font-size: .8125rem; font-weight: 500; color: var(--c-muted); text-decoration: none; }
.quote-link:hover { border-color: var(--c-blue); color: var(--c-blue); }
.featured__more { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin: 40px 0 0; color: var(--c-muted); }

/* ---------- Home: partners (logo marquee) ---------- */
.partners { padding-block: calc(var(--section) * .75); border-top: 1px solid var(--c-line); overflow: hidden; }
.partners__head { text-align: center; margin-bottom: 44px; }
.partners__controls { display: flex; justify-content: center; margin-top: -4px; }
.partners__toggle {
	display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
	background: var(--c-white); border: 1px solid var(--c-line); color: var(--c-navy); cursor: pointer;
}
.partners__toggle:hover { border-color: var(--c-blue); color: var(--c-blue); }
.partners__toggle .icon { width: 16px; height: 16px; }
.partners__icon-play, .partners__toggle[aria-pressed="true"] .partners__icon-pause { display: none; }
.partners__toggle[aria-pressed="true"] .partners__icon-play { display: block; }

.marquee {
	--marquee-duration: 40s;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-duration) linear infinite; }
.marquee__list { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px 44px; list-style: none; }
.marquee__list li { flex: none; position: relative; }
/* Organisation name on hover (the strip pauses while hovered, so it stays readable). */
.marquee__list li::after {
	content: attr(data-name); position: absolute; left: 50%; top: calc(100% + 12px); transform: translate(-50%, 4px);
	padding: 6px 10px; white-space: nowrap; pointer-events: none;
	background: var(--c-navy); color: var(--c-white); font-size: .8125rem; font-weight: 500;
	opacity: 0; transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.marquee__list li:hover::after { opacity: 1; transform: translate(-50%, 0); }
.marquee__list img { height: 60px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.marquee__list li:hover img { filter: none; opacity: 1; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee__track { animation: none; width: auto; justify-content: center; }
	.marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 32px; }
	.marquee__list[aria-hidden="true"], .partners__toggle { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--c-white); background: #053176; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(3 24 64 / .88) 0%, rgb(3 24 64 / .55) 55%, rgb(3 24 64 / .25) 100%); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: clamp(52px, 6vw, 80px); }
.cta-band h2 { color: var(--c-white); font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin: 0 0 12px; }
.cta-band p { margin: 0; color: #e3ecfa; font-size: 1.125rem; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: none; }
.cta-band__mail { color: var(--c-white); text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .5); }
.cta-band__mail:hover { border-color: var(--c-white); }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--c-mist); border-bottom: 1px solid var(--c-line); }
.page-hero__inner { padding-block: 40px clamp(48px, 6vw, 72px); }
.page-hero__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -.035em; margin: 0; max-width: 18ch; }
.page-hero__intro { margin: 22px 0 0; font-size: 1.1875rem; line-height: 1.6; color: var(--c-muted); max-width: 62ch; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 36px; padding: 0; font-size: .875rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #9aa8bd; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-navy); font-weight: 500; }

/* ---------- Catalogue ---------- */
.catalog { padding-top: clamp(40px, 5vw, 64px); }
.catalog--list { padding-bottom: var(--section); }
.catalog__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 28px; }
.catalog__count { margin: 0; color: var(--c-muted); }
.catalog__empty { padding: clamp(32px, 5vw, 56px); background: var(--c-mist); border: 1px solid var(--c-line); }
.catalog__empty h3 { font-size: 2rem; }
.catalog__empty p { color: var(--c-muted); max-width: 60ch; margin-bottom: 24px; }

/* ---------- Product page ---------- */
.product-crumbs { border-bottom: 1px solid var(--c-line); }
.product-crumbs .breadcrumbs ol { margin: 0; padding-block: 16px; }
.product-hero { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 72px); }
.product-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

.gallery__stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--c-stage); overflow: hidden; }
.gallery__zoom { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.gallery__main { position: absolute; inset: 12% 10%; width: 80%; height: 76%; object-fit: contain; mix-blend-mode: multiply; scale: var(--fit, 1); }
.gallery__main { transition: opacity .2s var(--ease); }
/* Loading state while the next image downloads: dimmed image + indeterminate progress bar. */
.gallery__stage::before {
	content: ""; position: absolute; left: 0; top: 0; z-index: 2; height: 3px; width: 40%;
	background: var(--c-blue); opacity: 0; transform: translateX(-100%); pointer-events: none;
}
.gallery__stage.is-loading::before { opacity: 1; animation: gallery-progress 1s var(--ease) infinite; }
.gallery__stage.is-loading .gallery__main { opacity: .35; }
@keyframes gallery-progress { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
	.gallery__stage.is-loading::before { animation: none; transform: none; width: 100%; opacity: .6; }
}
.gallery__empty { color: var(--c-muted); margin: 0; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 16px 0 0; padding: 0; }
.gallery__thumb { display: grid; place-items: center; width: clamp(84px, 22vw, 128px); aspect-ratio: 4 / 3; padding: 10px; background: var(--c-stage); border: 2px solid transparent; cursor: pointer; }
.gallery__thumb img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; scale: 1; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--c-blue); }
.gallery__thumb:hover { border-color: #9db6dc; }

.product-hero__model { font-size: clamp(3rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.035em; margin: 0; overflow-wrap: anywhere; }
.product-hero__name { margin: 12px 0 0; font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.15 var(--font-display); color: var(--c-navy); letter-spacing: -.01em; }
.product-hero__intro { margin: 20px 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--c-muted); max-width: 46ch; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.product-hero__doc { margin: 26px 0 0; }
.product-hero__doc .text-link { border-bottom: 2px solid var(--c-blue); padding-bottom: 4px; }
.product-hero__doc .text-link:hover { text-decoration: none; }
.product-hero__doc .icon { width: 18px; height: 18px; }

.key-facts { background: #eaf1fa; border-block: 1px solid #d5e1f1; }
.key-facts__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.key-facts__list > div { padding: 22px 20px; border-left: 1px solid #c9d7ec; }
.key-facts__list > div:first-child { border-left: 0; padding-left: 0; }
.key-facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.key-facts dd { margin: 6px 0 0; font: 700 1.7rem/1.1 var(--font-display); color: var(--c-navy); }

.product-tabs { position: sticky; top: calc(var(--admin-offset) + var(--header-h)); z-index: 50; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.product-tabs ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.product-tabs a { display: block; padding: 16px 0; font-size: .9375rem; font-weight: 500; color: var(--c-navy); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.product-tabs a:hover { color: var(--c-blue); border-color: var(--c-blue); }

.product-section { padding-block: var(--section); }
.product-section--tint { background: var(--c-mist); }
.product-overview { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.product-overview .section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.product-detail { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; list-style: none; margin: 36px 0 0; padding: 0; border-top: 2px solid var(--c-navy); }
.feature-list li { position: relative; padding: 16px 0 16px 26px; border-bottom: 1px solid var(--c-line); font-size: 1rem; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 2px; background: var(--c-blue); }

.specs { margin-top: 48px; }
.specs__title { font: 700 1rem/1.3 var(--font-body); letter-spacing: 0; margin: 0 0 12px; }
.specs__table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-navy); font-size: .9375rem; }
.specs__table th, .specs__table td { padding: 14px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.specs__table th { width: 38%; font-weight: 500; color: var(--c-muted); padding-right: 24px; }
.specs__note { margin: 14px 0 0; font-size: .8125rem; color: var(--c-muted); }

.doc-card { position: sticky; top: calc(var(--admin-offset) + var(--header-h) + 80px); background: var(--c-white); border-top: 3px solid var(--c-blue-600); padding: 32px; box-shadow: 0 12px 32px rgb(8 38 85 / .06); }
.doc-card__title { font-size: 2rem; }
.doc-card p { color: var(--c-muted); }
.doc-card .btn { margin-top: 8px; }
.doc-card__link { margin-top: 18px; }
/* Products without a feature list or specs: the documentation card becomes one full-width band. */
.product-section--doc-only { padding-block: clamp(48px, 6vw, 80px); }
.product-detail--doc-only { grid-template-columns: 1fr; }
.product-detail--doc-only .doc-card { position: static; display: grid; grid-template-columns: 1.5fr minmax(260px, 1fr); gap: 24px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 44px); }
.product-detail--doc-only .doc-card p { margin-bottom: 0; max-width: 56ch; }

.lightbox { max-width: min(1200px, 94vw); max-height: 90vh; padding: 0; border: 0; background: var(--c-white); }
.lightbox::backdrop { background: rgb(2 16 40 / .82); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; padding: 24px; }
.lightbox__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--c-white); border: 1px solid var(--c-line); cursor: pointer; color: var(--c-navy); }
.lightbox__close .icon { width: 20px; height: 20px; }

/* ---------- Contact / RMA ---------- */
.contact-section { padding-block: clamp(48px, 6vw, 80px) var(--section); }
.contact-section__inner { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--c-white); border: 1px solid var(--c-line); border-top: 3px solid var(--c-blue); scroll-margin-top: calc(var(--header-h) + 24px); }
.form-card__title { font-size: 2.1rem; margin-bottom: 8px; }
.form-card__intro { color: var(--c-muted); margin-bottom: 28px; }
.contact-card { padding: clamp(24px, 3vw, 36px); background: var(--c-mist); }
.contact-card__title { font-size: 2rem; }
.contact-list { list-style: none; margin: 24px 0 28px; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.contact-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--c-blue); }
.contact-list a { color: var(--c-ink); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--c-blue); text-decoration: underline; }
.contact-card__wa .btn__icon { width: 20px; height: 20px; }

/* WPForms, restyled to the theme */
.form-card .wpforms-container { margin: 0 !important; }
.form-card .wpforms-field { padding: 0 0 20px !important; }
.form-card .wpforms-field-label { font: 600 .9375rem/1.4 var(--font-body) !important; color: var(--c-navy) !important; margin-bottom: 8px !important; }
.form-card .wpforms-required-label { color: #b42318 !important; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card input[type=number], .form-card select, .form-card textarea {
	width: 100% !important; max-width: 100% !important; min-height: 52px; padding: 12px 14px !important;
	font: 400 1rem/1.4 var(--font-body) !important; color: var(--c-ink) !important;
	background: var(--c-white) !important; border: 1px solid #c7d3e4 !important; border-radius: 0 !important; box-shadow: none !important;
}
.form-card textarea { min-height: 150px; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--c-blue) !important; outline: 2px solid rgb(0 53 135 / .2) !important; outline-offset: 0 !important; }
.form-card .wpforms-field-name .wpforms-field-row { gap: 16px; }
.form-card .wpforms-field-sublabel { font-size: .8125rem !important; color: var(--c-muted) !important; }
.form-card .wpforms-submit-container { padding-top: 6px !important; }
.form-card button[type=submit] {
	min-height: 56px !important; padding: 0 34px !important; border: 0 !important; border-radius: 0 !important;
	background: var(--c-blue) !important; color: var(--c-white) !important;
	font: 700 1rem/1 var(--font-display) !important; letter-spacing: .03em !important; text-transform: uppercase !important; cursor: pointer;
}
.form-card button[type=submit]:hover { background: var(--c-navy-900) !important; }
.form-card .wpforms-error, .form-card label.wpforms-error { color: #b42318 !important; font-size: .875rem !important; }
.form-card .wpforms-confirmation-container-full { background: #ecf7ef !important; border: 1px solid #a6d8b3 !important; color: #14532d !important; padding: 20px !important; }
.form-fallback { padding: 20px; background: var(--c-mist); }

/* ---------- About ---------- */
.about-block { padding-block: var(--section); }
.about-block--tint { background: var(--c-mist); }
.about-block__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); }
.about-pillars { padding-block: var(--section); }
.about-pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--c-line); border-top: 3px solid var(--c-blue); color: #33445f; font-size: 1.0625rem; line-height: 1.7; }
.pillar__statement { font: 800 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--c-navy); }
.page-content { padding-block: clamp(48px, 6vw, 80px) var(--section); }

/* ---------- 404 ---------- */
.not-found { background: var(--c-mist); border-bottom: 1px solid var(--c-line); }
.not-found__inner { padding-block: clamp(64px, 9vw, 120px); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Footer (light) ---------- */
.site-footer { background: var(--c-mist-2); color: var(--c-muted); font-size: .9375rem; border-top: 1px solid var(--c-line); }
.site-footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; padding-block: 64px 48px; }
.site-footer__main > * { padding-inline: 28px; border-left: 1px solid var(--c-line); }
.site-footer__main > :first-child { padding-left: 0; border-left: 0; }
.site-footer__brand .site-logo { display: inline-block; margin-bottom: 22px; }
.site-footer__brand .site-logo__img { height: 54px; }
.site-footer__brand p { color: var(--c-muted); line-height: 1.6; }
.site-footer a { color: var(--c-muted); text-decoration: none; }
.site-footer a:hover { color: var(--c-blue); text-decoration: underline; }
.site-footer__brand > a:last-child { color: var(--c-navy); font-weight: 500; }
.site-footer__heading { font: 700 1rem/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--c-navy); margin: 0 0 18px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 22px 28px; border-top: 1px solid var(--c-line); font-size: .8125rem; color: #7a879b; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: var(--c-white); box-shadow: 0 10px 24px rgb(0 0 0 / .22);
	transition: transform .2s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tile-grid { grid-template-columns: repeat(2, 1fr); }
	.family-grid { grid-template-columns: repeat(2, 1fr); }
	.family-grid li:nth-child(4n) .family { border-right: 1px solid var(--c-line); }
	.family-grid li:nth-child(2n) .family { border-right: 0; }
	.site-footer__main { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.site-footer__main > :nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 960px) {
	.hero { grid-template-columns: 1fr; min-height: 0; --hero-text: min(560px, calc(100vw - var(--gutter) * 2)); }
	.hero__actions { flex-wrap: wrap; }
	.hero__copy { padding: 56px var(--gutter) 48px; }
	.hero__visual { order: -1; min-height: 440px; border-left: 0; border-bottom: 2px solid rgb(255 255 255 / .9); } /* Phones: product first, then the message. */
	.hero__product { width: min(74%, 480px); bottom: 96px; }
	.hero__controls { right: 50%; transform: translateX(50%); bottom: 20px; }
	.selected__inner, .product-hero__inner, .product-overview, .product-detail, .contact-section__inner, .about-block__inner { grid-template-columns: 1fr; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.applications__inner, .cta-band__inner { flex-direction: column; align-items: flex-start; }
	.key-facts__list { grid-template-columns: 1fr 1fr; }
	.key-facts__list > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.doc-card { position: static; }
	.product-detail--doc-only .doc-card { grid-template-columns: 1fr; }
	.about-pillars__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.tile-grid, .feature-list { grid-template-columns: 1fr; }
	/* Phones: families stay two-up and compact, so products are reached without a long scroll. */
	.family { padding: 18px 16px 20px; }
	.family__top { margin-bottom: 10px; }
	.family__icon { width: 32px; height: 32px; }
	.family__arrow { display: none; }
	.family__name { font-size: 1.2rem; }
	.family__text { display: none; }
	.applications__areas { letter-spacing: .18em; white-space: nowrap; }
	.applications__areas span { margin-inline: .5em; }
	.selected-card { grid-template-columns: 1fr; gap: 16px; }
	.hero__visual { min-height: 360px; }
	.hero__product { bottom: 84px; }
	.hero__product-label { font-size: 1rem; margin-top: 18px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.site-footer__main { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__main > * { padding-left: 0; border-left: 0; }
	.product-hero__actions .btn { flex: 1 1 100%; }
	.wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

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

/* Markup the old shop plugins still print in the footer (gone once they are removed). */
.pswp:not(.pswp--open), .se-modal-wrapper { display: none !important; }
