/* =========================================================================
   Ecoven — design system
   Ported from the Ecoven Figma file (1920 canvas / 1440 content column).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */
:root {
	/* Brand */
	--e-blue: #011e7c;
	--e-blue-600: #0a2a96;
	--e-blue-800: #011868;
	--e-blue-900: #01144f;
	--e-yellow: #fbbf24;
	--e-yellow-600: #eda600;
	--e-ice: #f2fbff;
	--e-ice-200: #e2f2fb;

	/* Neutrals */
	--e-white: #ffffff;
	--e-ink: #0f172a;
	--e-body: #1c2434;
	--e-slate: #64748b;
	--e-slate-300: #94a3b8;
	--e-muted: #888888;
	--e-line: #e2e8f0;
	--e-line-strong: #cbd5e1;
	--e-dark: #06102c;

	/* Type */
	--e-font: 'Spline Sans', 'TikTok Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--e-font-brand: 'TikTok Sans', 'Spline Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	--e-fs-eyebrow: 0.875rem;   /* 14 */
	--e-fs-small: 0.8125rem;    /* 13 */
	--e-fs-body: 1.125rem;      /* 18 */
	--e-fs-body-sm: 1rem;       /* 16 */
	--e-fs-h1: clamp(2.25rem, 1.35rem + 2.6vw, 3.5rem);      /* 36 → 56 */
	--e-fs-h2: clamp(1.875rem, 1.25rem + 1.9vw, 2.75rem);    /* 30 → 44 */
	--e-fs-h3: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);     /* 22 → 28 */
	--e-fs-h4: 1.5rem;          /* 24 */
	--e-fs-stat: clamp(2.5rem, 1.6rem + 2.6vw, 3.5rem);      /* 40 → 56 */
	--e-fs-hero: clamp(2.125rem, 1.1rem + 3.4vw, 3.5rem);    /* 34 → 56 */

	/* Layout */
	--e-wrap: 1440px;
	--e-wrap-narrow: 820px;
	--e-gutter: clamp(1.25rem, 0.4rem + 3.4vw, 3.75rem);
	--e-gap: 30px;
	--e-gap-sm: 20px;

	/* Rhythm */
	--e-sp-tight: clamp(2.5rem, 1.5rem + 3vw, 4rem);
	--e-sp: clamp(3.75rem, 2rem + 5.4vw, 7.5rem);
	--e-sp-loose: clamp(5rem, 2.4rem + 7.6vw, 10rem);

	/* Header */
	--e-topbar-h: 75px;
	--e-navbar-h: 60px;
	--e-header-h: calc(var(--e-topbar-h) + var(--e-navbar-h));

	/* Motion */
	--e-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--e-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--e-dur: 0.55s;

	/* Misc */
	--e-radius: 0px;
	--e-radius-pill: 999px;
	--e-shadow: 0 20px 60px -30px rgba(1, 30, 124, 0.45);
	--e-shadow-lg: 0 40px 90px -40px rgba(1, 30, 124, 0.5);
	--e-ratio: 1.5;
}

@media (max-width: 900px) {
	:root {
		--e-topbar-h: 64px;
		--e-navbar-h: 0px;
		--e-gap: 20px;
	}
}

/* -------------------------------------------------------------------------
   2. Reset / base
   ---------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	font-family: var(--e-font);
	font-size: var(--e-fs-body-sm);
	line-height: 1.6;
	color: var(--e-body);
	background: var(--e-white);
	overflow-x: hidden;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--e-dur) var(--e-ease), opacity var(--e-dur) var(--e-ease);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 700;
	line-height: 1.15;
	color: var(--e-blue);
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
	hyphens: auto;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

hr {
	border: 0;
	border-top: 1px solid var(--e-line);
	margin: var(--e-sp-tight) 0;
}

:focus-visible {
	outline: 3px solid var(--e-yellow);
	outline-offset: 3px;
}

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

.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;
}

.e-skip {
	position: absolute;
	top: -100px;
	left: 20px;
	z-index: 9999;
	padding: 12px 20px;
	background: var(--e-blue);
	color: var(--e-white);
	font-weight: 600;
	transition: top 0.2s;
}

.e-skip:focus {
	top: 20px;
}

/* -------------------------------------------------------------------------
   3. Layout primitives
   ---------------------------------------------------------------------- */
.e-wrap {
	width: 100%;
	max-width: calc(var(--e-wrap) + var(--e-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--e-gutter);
}

.e-wrap--narrow {
	max-width: calc(var(--e-wrap-narrow) + var(--e-gutter) * 2);
}

.e-section {
	position: relative;
	padding-block: var(--e-sp);
}

.e-section--sp-none { padding-block: 0; }
.e-section--sp-tight { padding-block: var(--e-sp-tight); }
.e-section--sp-loose { padding-block: var(--e-sp-loose); }

.e-section--light { background: var(--e-white); }
.e-section--ice { background: var(--e-ice); }

.e-section--blue,
.e-section--dark {
	color: rgba(255, 255, 255, 0.86);
}

.e-section--blue { background: var(--e-blue); }
.e-section--dark { background: var(--e-dark); }

.e-section--blue h1, .e-section--blue h2, .e-section--blue h3, .e-section--blue h4,
.e-section--dark h1, .e-section--dark h2, .e-section--dark h3, .e-section--dark h4 {
	color: var(--e-white);
}

.e-grid {
	display: grid;
	gap: var(--e-gap);
}

.e-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
	.e-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.e-grid--2,
	.e-grid--3,
	.e-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   4. Media
   ---------------------------------------------------------------------- */
.e-media {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: linear-gradient(140deg, var(--e-ice) 0%, #dce9f5 55%, #c9dced 100%);
	aspect-ratio: var(--e-ratio);
}

.e-media__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 1.1s var(--e-ease), filter 0.6s var(--e-ease);
	will-change: transform;
}

.e-media--contain { background: transparent; }
.e-media--contain .e-media__img { object-fit: contain; }

/* No tile behind the picture, and the picture's own proportions. */
.e-media--plain { background: none; }

.e-media--auto {
	aspect-ratio: auto;
	height: auto;
}

/* An empty slot has no picture to take its height from, so it keeps a shape. */
.e-media--auto.e-media--placeholder { aspect-ratio: var(--e-ratio, 1.2); }

.e-media--auto .e-media__img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.e-media--zoom:hover .e-media__img,
a:hover .e-media--zoom .e-media__img,
.e-project:hover .e-media__img,
.e-post-card:hover .e-media__img,
.e-service:hover .e-media__img {
	transform: scale(1.06);
}

.e-media--float .e-media__img {
	transition: transform 0.7s var(--e-ease);
}

.e-product:hover .e-media--float .e-media__img {
	transform: translateY(-10px) scale(1.02);
}

.e-media--placeholder {
	display: grid;
	place-items: center;
	color: rgba(1, 30, 124, 0.18);
}

.e-media--placeholder::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px 14px);
	opacity: 0.5;
}

.e-media__glyph {
	position: relative;
	z-index: 1;
}

/* -------------------------------------------------------------------------
   5. Typography helpers
   ---------------------------------------------------------------------- */
.e-eyebrow {
	margin: 0 0 12px;
	font-size: var(--e-fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--e-blue);
}

.e-section--blue .e-eyebrow,
.e-section--dark .e-eyebrow {
	color: var(--e-yellow);
}

/* The CTA banner sits inside a light section but paints its own dark image, so
   its eyebrow has to be forced light or it disappears into the photograph. */
.e-cta .e-eyebrow,
.e-hero .e-eyebrow {
	color: var(--e-white);
}

.e-heading {
	max-width: 900px;
	margin-bottom: clamp(2rem, 1rem + 2.6vw, 3.5rem);
}

.e-heading--center {
	margin-inline: auto;
	text-align: center;
}

.e-heading--left { max-width: 760px; }

.e-heading__title {
	font-size: var(--e-fs-h2);
	text-transform: uppercase;
	letter-spacing: -0.005em;
}

.e-heading--sentence .e-heading__title { text-transform: none; }

.e-heading__text {
	margin-top: 18px;
	font-size: var(--e-fs-body-sm);
	line-height: 1.65;
	color: var(--e-slate);
}

.e-section--blue .e-heading__text,
.e-section--dark .e-heading__text {
	color: rgba(255, 255, 255, 0.8);
}

.e-lead {
	font-size: clamp(1.125rem, 0.9rem + 0.7vw, 1.375rem);
	font-weight: 600;
	color: var(--e-blue);
}

/* Split text (GSAP staggering) */
.e-split { display: inline; }

.e-split__w {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	vertical-align: top;
}

.e-split__wi {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: break-word;
	will-change: transform;
}

/* -------------------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------------- */
.e-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 28px;
	border: 0;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.4s var(--e-ease), transform 0.4s var(--e-ease), box-shadow 0.4s var(--e-ease);
	-webkit-appearance: none;
	appearance: none;
}

.e-btn__label,
.e-btn__icon {
	position: relative;
	z-index: 2;
}

.e-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	transition: transform 0.5s var(--e-ease);
}

.e-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	transform: translateY(101%);
	transition: transform 0.5s var(--e-ease);
}

.e-btn:hover::after,
.e-btn:focus-visible::after { transform: translateY(0); }

.e-btn--yellow { color: var(--e-blue); }
.e-btn--yellow::before { background: var(--e-yellow); }
.e-btn--yellow::after { background: var(--e-yellow-600); }

.e-btn--blue { color: var(--e-white); }
.e-btn--blue::before { background: var(--e-blue); }
.e-btn--blue::after { background: var(--e-blue-600); }

.e-btn--white { color: var(--e-blue); }
.e-btn--white::before { background: var(--e-white); }
.e-btn--white::after { background: var(--e-ice); }

.e-btn--outline {
	color: var(--e-blue);
	box-shadow: inset 0 0 0 1px var(--e-blue);
}

.e-btn--outline::before { background: transparent; }
.e-btn--outline::after { background: var(--e-blue); }
.e-btn--outline:hover { color: var(--e-white); }

.e-btn--outline-light {
	color: var(--e-white);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.e-btn--outline-light::before { background: transparent; }
.e-btn--outline-light::after { background: var(--e-white); }
.e-btn--outline-light:hover { color: var(--e-blue); }

.e-btn--sm {
	padding: 8px 18px;
	font-size: var(--e-fs-small);
}

.e-btn--lg {
	padding: 15px 30px;
	font-size: clamp(1rem, 0.85rem + 0.5vw, 1.375rem);
}

.e-btn--block {
	display: flex;
	width: 100%;
}

.e-btn--pill { border-radius: var(--e-radius-pill); }

.e-btn:active { transform: scale(0.98); }

.e-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--e-blue);
}

.e-link-arrow .e-icon {
	transition: transform 0.4s var(--e-ease);
}

.e-link-arrow:hover .e-icon { transform: translateX(5px); }

/* -------------------------------------------------------------------------
   7. Header
   ---------------------------------------------------------------------- */
.e-header {
	position: relative;
	z-index: 100;
}

.e-header--sticky {
	position: sticky;
	top: 0;
}

.e-header__inner {
	background: var(--e-white);
	transition: box-shadow 0.4s var(--e-ease);
}

.e-header.is-stuck .e-header__inner {
	box-shadow: 0 10px 40px -22px rgba(1, 30, 124, 0.45);
}

.e-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--e-topbar-h);
	transition: min-height 0.45s var(--e-ease);
}

.e-header.is-stuck .e-topbar { min-height: 62px; }

.e-topbar__nav {
	display: flex;
	align-items: center;
	gap: 0;
	margin-inline: auto;
}

.e-topbar__nav ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.e-topbar__nav a {
	display: block;
	position: relative;
	padding: 4px 24px;
	font-size: var(--e-fs-body);
	font-weight: 400;
	color: var(--e-blue);
}

.e-topbar__nav a::after {
	content: '';
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: -2px;
	height: 2px;
	background: var(--e-yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--e-ease);
}

.e-topbar__nav a:hover::after,
.e-topbar__nav .current-menu-item > a::after { transform: scaleX(1); }

/* Language tabs */
.e-langs {
	display: flex;
	align-items: center;
	gap: 6px;
}

.e-langs__tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--e-blue);
	border: 1px solid var(--e-line-strong);
	transition: background 0.35s var(--e-ease), color 0.35s var(--e-ease), border-color 0.35s var(--e-ease);
}

.e-langs__tab:hover {
	border-color: var(--e-blue);
}

.e-langs__tab.is-current {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
}

.e-langs__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

/* Product nav bar */
.e-navbar {
	background: var(--e-blue);
	color: var(--e-white);
}

.e-navbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--e-navbar-h);
}

.e-navbar__menu ul {
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-navbar__menu li {
	position: relative;
	display: flex;
}

.e-navbar__menu li + li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 20px;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.3);
}

.e-navbar__menu a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 24px;
	min-height: var(--e-navbar-h);
	font-size: var(--e-fs-body-sm);
	font-weight: 600;
	color: var(--e-white);
}

.e-navbar__menu a::after {
	content: '';
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 3px;
	background: var(--e-white);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.45s var(--e-ease);
}

.e-navbar__menu a:hover::after,
.e-navbar__menu .current-menu-item > a::after,
.e-navbar__menu .current_page_item > a::after { transform: scaleX(1); }

.e-navbar__cta {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-shrink: 0;
}

.e-navbar__phone {
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

/* Logo */
.e-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.e-logo__mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-family: var(--e-font-brand);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--e-blue);
	letter-spacing: 0.01em;
}

.e-logo__box {
	display: inline-block;
	width: 50px;
	height: 18px;
	margin: 0 4px;
	border: 4px solid currentColor;
}

.e-logo__tagline {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 9.6px;
	line-height: 1.05;
	color: var(--e-blue);
	white-space: nowrap;
}

.e-logo--light .e-logo__mark,
.e-logo--light .e-logo__tagline { color: var(--e-white); }

.e-logo--sm .e-logo__mark { font-size: 24px; }
.e-logo--sm .e-logo__box { width: 38px; height: 14px; border-width: 3px; }

.e-logo--lg .e-logo__mark { font-size: clamp(38px, 3.2vw, 56px); }
.e-logo--lg .e-logo__box { width: 84px; height: 30px; border-width: 6px; }

.e-logo__img { aspect-ratio: auto; background: none; }
.e-logo__img .e-media__img { width: auto; height: 44px; object-fit: contain; }

/* Burger + mobile drawer */
.e-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--e-line-strong);
	color: var(--e-blue);
	cursor: pointer;
}

.e-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: min(440px, 100%);
	z-index: 200;
	display: flex;
	flex-direction: column;
	background: var(--e-blue);
	color: var(--e-white);
	padding: 24px var(--e-gutter) 40px;
	visibility: hidden;
	clip-path: inset(0 0 0 100%);
	transition: clip-path 0.6s var(--e-ease), visibility 0.6s;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.e-drawer.is-open {
	visibility: visible;
	clip-path: inset(0 0 0 0);
}

.e-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}

.e-drawer__close {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--e-white);
	cursor: pointer;
}

.e-drawer ul {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.e-drawer li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }

.e-drawer a {
	display: block;
	padding: 16px 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--e-white);
	opacity: 0;
	transform: translateY(14px);
}

.e-drawer.is-open a {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-drawer__foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.e-drawer .e-langs__tab {
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--e-white);
}

.e-drawer .e-langs__tab.is-current {
	background: var(--e-white);
	color: var(--e-blue);
}

/* Language picker — five full language names never fit on one phone line, so
   the menu shows the one being read and opens the rest on tap. */
.e-langpick__label {
	display: block;
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.e-langpick__btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--e-white);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.35);
	cursor: pointer;
	list-style: none;
	transition: background 0.35s var(--e-ease), border-color 0.35s var(--e-ease);
}

.e-langpick__btn::-webkit-details-marker { display: none; }
.e-langpick__btn:hover { background: rgba(255, 255, 255, 0.16); }
.e-langpick__now { flex: 1; }

.e-langpick__caret { transition: transform 0.35s var(--e-ease); }
.e-langpick[open] .e-langpick__caret { transform: rotate(180deg); }

.e-langpick__list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-top: 0;
}

.e-langpick__list li { border: 0; }

.e-drawer .e-langpick__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 13px 16px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--e-white);
	background: rgba(255, 255, 255, 0.04);
	transition: background 0.3s var(--e-ease), color 0.3s var(--e-ease);
}

.e-drawer .e-langpick__item:hover { background: rgba(255, 255, 255, 0.14); }

.e-drawer .e-langpick__item.is-current {
	background: var(--e-white);
	color: var(--e-blue);
}

@media (max-width: 1200px) {
	.e-navbar__menu a { padding: 0 16px; font-size: 0.9375rem; }
	.e-topbar__nav a { padding: 4px 16px; font-size: 1rem; }
}

@media (max-width: 1024px) {
	.e-topbar__nav,
	.e-navbar { display: none; }
	.e-burger { display: inline-flex; }
	.e-topbar__langs { display: none; }
}

@media (max-width: 640px) {
	.e-logo__mark { font-size: 24px; }
	.e-logo__box { width: 38px; height: 14px; border-width: 3px; }
	.e-logo__tagline { display: none; }
	.e-topbar { gap: 12px; }
}

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */
.e-hero {
	position: relative;
	overflow: hidden;
	background: var(--e-blue-900);
	color: var(--e-white);
}

.e-hero--lg { min-height: min(945px, 88vh); }
.e-hero--md { min-height: min(815px, 78vh); }
.e-hero--sm { min-height: min(640px, 62vh); }

.e-hero__slides {
	position: absolute;
	inset: 0;
}

.e-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}

.e-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.e-hero__bg {
	position: absolute;
	inset: -8% 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
	transform: scale(1.06);
}

.e-hero__bg--empty {
	background-image: linear-gradient(135deg, #01144f 0%, #011e7c 45%, #0a2a96 100%);
}

.e-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(1, 20, 79, 0.82) 0%, rgba(1, 20, 79, 0.55) 42%, rgba(1, 20, 79, 0.12) 78%, rgba(1, 20, 79, 0.05) 100%),
		linear-gradient(180deg, rgba(1, 20, 79, 0.35) 0%, rgba(1, 20, 79, 0) 35%, rgba(1, 20, 79, 0.45) 100%);
}

.e-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: inherit;
	padding-block: clamp(4rem, 2rem + 8vw, 9rem);
}

.e-hero--lg .e-hero__inner { min-height: min(945px, 88vh); }
.e-hero--md .e-hero__inner { min-height: min(815px, 78vh); }
.e-hero--sm .e-hero__inner { min-height: min(640px, 62vh); }

.e-hero__content { max-width: 640px; }

.e-hero--center .e-hero__content {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.e-hero__title {
	font-size: var(--e-fs-hero);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--e-white);
	margin-bottom: 20px;
}

.e-hero__text {
	max-width: 520px;
	font-size: var(--e-fs-body-sm);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: 34px;
}

.e-hero--center .e-hero__text { margin-inline: auto; }

.e-hero__actions {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 41px);
	flex-wrap: wrap;
}

.e-hero__phone {
	font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem);
	font-weight: 500;
	color: var(--e-white);
}

.e-hero__arrows {
	position: absolute;
	inset-inline: clamp(12px, 3vw, 32px);
	top: 50%;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.e-hero__arrow {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	pointer-events: auto;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--e-white);
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-hero__arrow:hover {
	background: var(--e-yellow);
	border-color: var(--e-yellow);
	color: var(--e-blue);
	transform: scale(1.08);
}

.e-hero__foot {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(20px, 3vw, 44px);
	z-index: 3;
}

.e-hero__foot-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.e-hero__locations {
	display: flex;
	gap: clamp(20px, 4vw, 64px);
}

.e-hero__location {
	opacity: 0.5;
	transition: opacity 0.4s var(--e-ease);
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}

.e-hero__location.is-active { opacity: 1; }

.e-hero__count { font-variant-numeric: tabular-nums; }

.e-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 96px;
	z-index: 3;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.e-hero__scroll i {
	display: block;
	width: 1px;
	height: 46px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
	animation: e-scrollpulse 2.2s var(--e-ease) infinite;
}

@keyframes e-scrollpulse {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
	.e-hero__arrows,
	.e-hero__scroll { display: none; }
	.e-hero__foot-inner { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
   9. Intro statement + collage
   ---------------------------------------------------------------------- */
.e-intro__collage {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--e-gap);
	align-items: center;
	margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.e-intro__collage .e-media { aspect-ratio: 1.35; }

.e-intro__collage > *:nth-child(1) { grid-column: span 4; }
.e-intro__collage > *:nth-child(2) { grid-column: span 5; transform: translateY(24px); }
.e-intro__collage > *:nth-child(3) { grid-column: span 3; }
.e-intro__collage > *:nth-child(4) { grid-column: span 5; }
.e-intro__collage > *:nth-child(5) { grid-column: span 4; transform: translateY(24px); }
.e-intro__collage > *:nth-child(6) { grid-column: span 3; }

@media (max-width: 760px) {
	.e-intro__collage { grid-template-columns: repeat(2, 1fr); }
	.e-intro__collage > * { grid-column: span 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   10. Stats + difference band
   ---------------------------------------------------------------------- */
.e-stats__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--e-gap-sm);
}

.e-stat {
	display: grid;
	place-items: center;
	gap: 12px;
	padding: clamp(1.75rem, 1rem + 2vw, 2.5rem);
	text-align: center;
	border: 3px solid var(--e-ice);
	color: var(--e-ice);
	transition: background 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-stat:hover {
	background: rgba(242, 251, 255, 0.08);
	transform: translateY(-6px);
}

.e-stat__value {
	font-size: var(--e-fs-stat);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.e-stat__label {
	font-size: var(--e-fs-body-sm);
	line-height: 1.5;
	color: inherit;
	margin: 0;
}

.e-section--light .e-stat,
.e-section--ice .e-stat {
	border-color: var(--e-blue);
	color: var(--e-blue);
}

.e-stats__divider {
	height: 1px;
	margin-block: clamp(3rem, 2rem + 3vw, 5rem);
	background: rgba(255, 255, 255, 0.25);
}

.e-diff {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 1rem + 3vw, 3.75rem) var(--e-gap);
}

.e-diff__item {
	display: grid;
	justify-items: center;
	gap: 12px;
	text-align: center;
	max-width: 380px;
	margin-inline: auto;
}

.e-diff__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: var(--e-white);
	transition: background 0.5s var(--e-ease), transform 0.5s var(--e-ease), color 0.5s var(--e-ease);
}

.e-diff__item:hover .e-diff__icon {
	background: var(--e-yellow);
	border-color: var(--e-yellow);
	color: var(--e-blue);
	transform: translateY(-4px) rotate(-6deg);
}

.e-diff__title {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--e-white);
}

.e-diff__text {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

@media (max-width: 900px) {
	.e-stats__cards,
	.e-diff { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   11. Service cards
   ---------------------------------------------------------------------- */
.e-service {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.e-service__media {
	display: block;
	width: 100%;
	overflow: hidden;
}

.e-service__title {
	font-size: var(--e-fs-h4);
	line-height: 1.25;
}

.e-service__title a:hover { color: var(--e-blue-600); }

.e-service__text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--e-body);
	margin: 0;
}

.e-service .e-btn { margin-top: auto; }

/* -------------------------------------------------------------------------
   12. CTA banner
   ---------------------------------------------------------------------- */
.e-cta {
	position: relative;
	overflow: hidden;
	color: var(--e-white);
	background: var(--e-blue-900);
}

.e-cta__bg {
	position: absolute;
	inset: -10% 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
}

.e-cta__bg--empty {
	background-image: linear-gradient(120deg, #01144f, #011e7c 60%, #0a2a96);
}

.e-cta__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(1, 20, 79, 0.78) 0%, rgba(1, 20, 79, 0.45) 55%, rgba(1, 20, 79, 0.2) 100%);
}

.e-cta__inner {
	position: relative;
	z-index: 2;
	padding: clamp(3rem, 2rem + 5vw, 7rem) clamp(1.5rem, 1rem + 4vw, 5rem);
	min-height: clamp(360px, 34vw, 640px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}

.e-cta--center .e-cta__inner { align-items: center; text-align: center; }

.e-cta--split .e-cta__inner {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.e-cta--flat { background: var(--e-blue); }
.e-cta--flat .e-cta__inner { min-height: 0; padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }

.e-cta__title {
	font-size: var(--e-fs-h2);
	text-transform: uppercase;
	color: var(--e-white);
	max-width: 20ch;
}

.e-cta--flat .e-cta__title {
	font-size: clamp(1.375rem, 1rem + 1.2vw, 1.75rem);
	text-transform: none;
	max-width: none;
}

.e-cta__text {
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.e-cta__actions { margin-top: 8px; }

.e-cta--inset { margin-inline: auto; max-width: var(--e-wrap); }

@media (max-width: 800px) {
	.e-cta--split .e-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
   13. Testimonials
   ---------------------------------------------------------------------- */
.e-tabs {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.e-tab {
	padding: 12px 26px;
	background: transparent;
	border: 1px solid var(--e-line-strong);
	color: var(--e-blue);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.4s var(--e-ease), color 0.4s var(--e-ease), border-color 0.4s var(--e-ease);
}

.e-tab.is-active {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
}

.e-tabpanel[hidden] { display: none; }

.e-tst__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: clamp(2rem, 1.4rem + 3vw, 4rem);
	align-items: stretch;
}

/* No feature image chosen: the quote takes the full width rather than
   leaving half the row empty. */
.e-tst__split--solo {
	grid-template-columns: minmax(0, 1fr);
}

.e-tst__feature {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
	background: var(--e-white);
	box-shadow: var(--e-shadow);
}

.e-tst__mark {
	color: var(--e-blue);
	opacity: 0.18;
}

.e-tst__quote {
	font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.375rem);
	line-height: 1.55;
	font-weight: 600;
	color: var(--e-ink);
	margin: 0;
}

/* One quote at a time; `hidden` must win over the flex display. */
.e-tst__slide {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 24px;
}

.e-tst__slide[hidden] {
	display: none;
}

.e-tst__person {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.e-tst__avatar {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 50%;
	overflow: hidden;
	aspect-ratio: 1;
}

.e-tst__name {
	font-weight: 700;
	color: var(--e-blue);
	display: block;
	line-height: 1.3;
}

.e-tst__role {
	font-size: 0.8125rem;
	color: var(--e-slate);
}

.e-tst__controls {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 8px;
	border-top: 1px solid var(--e-line);
}

.e-tst__nav {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 1px solid var(--e-line-strong);
	background: transparent;
	color: var(--e-blue);
	cursor: pointer;
	transition: background 0.35s var(--e-ease), color 0.35s var(--e-ease);
}

.e-tst__nav:hover { background: var(--e-blue); color: var(--e-white); border-color: var(--e-blue); }

.e-tst__index { font-size: 0.8125rem; color: var(--e-slate); font-variant-numeric: tabular-nums; }

.e-tst__media {
	position: relative;
	overflow: hidden;
}

.e-tst__media .e-media { height: 100%; aspect-ratio: auto; min-height: 100%; }

.e-tst__media-label {
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 2;
	padding: 8px 14px;
	background: rgba(1, 30, 124, 0.85);
	color: var(--e-white);
	font-size: 0.75rem;
	font-weight: 600;
	backdrop-filter: blur(4px);
}

.e-tst__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.e-tst__play span {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--e-blue);
	padding-left: 4px;
	transition: transform 0.5s var(--e-ease), background 0.5s var(--e-ease);
}

.e-tst__play:hover span { transform: scale(1.1); background: var(--e-yellow); }

.e-tst__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--e-gap);
	margin-top: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

/* Video panel — its own grid, independent of the text carousel. */
.e-tst__videos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--e-gap);
}

.e-tst-video {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--e-ice);
}

.e-tst-video .e-media { aspect-ratio: 1.4; }

.e-tst-video__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: grid;
	gap: 2px;
	padding: 18px 20px;
	background: linear-gradient(180deg, rgba(1, 20, 79, 0) 0%, rgba(1, 20, 79, 0.85) 100%);
	color: var(--e-white);
}

.e-tst-video__name {
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.e-tst-video__role {
	font-size: 0.75rem;
	opacity: 0.85;
}

.e-tst__empty {
	text-align: center;
	color: var(--e-slate);
	padding-block: clamp(2rem, 1.4rem + 2vw, 3rem);
}

@media (max-width: 1000px) {
	.e-tst__videos { grid-template-columns: minmax(0, 1fr); }
}

.e-tst-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	background: var(--e-ice);
	transition: transform 0.5s var(--e-ease), box-shadow 0.5s var(--e-ease);
}

.e-tst-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--e-shadow);
}

.e-tst-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.e-tst-card__person { display: flex; align-items: center; gap: 12px; }

.e-tst-card__avatar {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 50%;
	overflow: hidden;
	aspect-ratio: 1;
}

.e-tst-card__text {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--e-body);
	margin: 0;
}

.e-tst-card__badge {
	font-size: 0.625rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--e-blue);
	opacity: 0.65;
}

.e-stars { display: inline-flex; gap: 2px; color: var(--e-line-strong); }
.e-stars__i.is-on { color: var(--e-yellow); }

@media (max-width: 1000px) {
	.e-tst__split { grid-template-columns: minmax(0, 1fr); }
	.e-tst__media .e-media { aspect-ratio: 1.4; min-height: 0; }
	.e-tst__row { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   14. Projects
   ---------------------------------------------------------------------- */
.e-project {
	display: block;
	position: relative;
}

.e-project .e-media { aspect-ratio: 1.45; }

.e-project__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 14px;
}

.e-project__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--e-blue);
}

.e-project__sub {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 0.8125rem;
	color: var(--e-slate);
}

.e-project__sub span + span::before {
	content: '·';
	margin-right: 8px;
	opacity: 0.6;
}

.e-project__location,
.e-project__date {
	font-size: 0.8125rem;
	color: var(--e-slate);
}

.e-project__date {
	font-variant-numeric: tabular-nums;
}

/* The gallery is a gallery, not a set of links — nothing opens. */
figure.e-project {
	margin: 0;
}

/* -------------------------------------------------------------------------
   15. FAQ
   ---------------------------------------------------------------------- */
.e-faq {
	max-width: 1000px;
	margin-inline: auto;
	border-top: 1px solid var(--e-line);
}

.e-faq__item { border-bottom: 1px solid var(--e-line); }

.e-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 4px;
	background: transparent;
	border: 0;
	text-align: left;
	font-size: 1rem;
	font-weight: 700;
	color: var(--e-blue);
	cursor: pointer;
	transition: color 0.35s var(--e-ease);
}

.e-faq__q:hover { color: var(--e-blue-600); }

.e-faq__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--e-line-strong);
	transition: background 0.4s var(--e-ease), color 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-faq__item.is-open .e-faq__icon {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
	transform: rotate(180deg);
}

.e-faq__a {
	overflow: hidden;
	height: 0;
}

.e-faq__a-inner {
	padding: 0 4px 24px;
	max-width: 76ch;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--e-body);
}

/* -------------------------------------------------------------------------
   16. Post cards
   ---------------------------------------------------------------------- */
.e-post-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.e-post-card__media { display: block; }
.e-post-card .e-media { aspect-ratio: 1.83; }

.e-post-card__date {
	font-size: 0.79rem;
	color: var(--e-muted);
}

.e-post-card__title {
	font-size: var(--e-fs-h4);
	line-height: 1.3;
}

.e-post-card__title a:hover { color: var(--e-blue-600); }

.e-post-card__excerpt {
	font-size: var(--e-fs-body);
	line-height: 1.5;
	color: var(--e-ink);
	margin: 0;
}

.e-loadmore { display: flex; justify-content: center; margin-top: clamp(2rem, 1.4rem + 2vw, 3.25rem); }

/* -------------------------------------------------------------------------
   17. Products
   ---------------------------------------------------------------------- */
.e-product {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 4px;
}

.e-product__media { display: block; }
.e-product .e-media { aspect-ratio: 0.86; background: none; }

.e-product__title {
	font-size: 1.25rem;
	line-height: 1.25;
}

.e-spec-table {
	margin: 0;
	display: grid;
	gap: 0;
	font-size: 0.75rem;
}

.e-spec-table__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid var(--e-line);
}

.e-spec-table dt {
	color: var(--e-blue);
	line-height: 1.35;
}

.e-spec-table dd {
	margin: 0;
	color: var(--e-body);
	text-align: right;
	white-space: nowrap;
}

.e-meter {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.e-meter__value {
	font-weight: 400;
	color: var(--e-blue);
	margin-right: 4px;
}

.e-meter__dash {
	display: block;
	width: 7px;
	height: 2px;
	background: var(--e-line-strong);
	transition: background 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-meter__dash.is-on { background: var(--e-blue); }

.e-product:hover .e-meter__dash.is-on { transform: scaleY(2); }

.e-product .e-btn { margin-top: 8px; }

/* Product hero */
.e-phero {
	display: grid;
	grid-template-columns: 484px minmax(0, 1fr);
	gap: clamp(2rem, 1.4rem + 3vw, 3.75rem);
	align-items: start;
}

.e-phero__media .e-media {
	aspect-ratio: 0.67;
	background: transparent;
}

/* The product photograph shows whole, at its own proportions — nothing cropped. */
.e-phero__media .e-media.e-media--auto {
	aspect-ratio: auto;
	height: auto;
}

.e-phero__media .e-media.e-media--auto .e-media__img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* An empty slot has nothing to take its height from. */
.e-phero__media .e-media.e-media--auto.e-media--placeholder { aspect-ratio: 0.67; }

.e-phero__title {
	font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
	margin-bottom: 24px;
}

.e-phero__tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.e-ptile {
	padding: 20px;
	border: 1px solid var(--e-ice-200);
	background: var(--e-white);
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform 0.5s var(--e-ease), box-shadow 0.5s var(--e-ease);
}

.e-ptile:hover { transform: translateY(-5px); box-shadow: var(--e-shadow); }

.e-ptile__value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--e-blue);
}

.e-ptile__label {
	font-size: 0.75rem;
	color: var(--e-slate);
	line-height: 1.4;
}

.e-ptile__text {
	font-size: 0.75rem;
	color: var(--e-body);
	line-height: 1.5;
	margin: 0;
}

.e-ptile--accent {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
}

.e-ptile--accent .e-ptile__value,
.e-ptile--accent .e-ptile__label,
.e-ptile--accent .e-ptile__text { color: var(--e-white); }

.e-ptile--accent .e-ptile__label { font-weight: 700; font-size: 0.8125rem; }

.e-ptile__icon {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--e-ice);
	color: var(--e-blue);
}

.e-ptile--accent .e-ptile__icon { background: rgba(255, 255, 255, 0.16); color: var(--e-white); }

.e-phero__price {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.e-phero__price-value {
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
	font-weight: 700;
	color: var(--e-blue);
}

.e-phero__price-value b { color: var(--e-yellow-600); }

.e-phero__price-prefix {
	font-weight: 400;
	font-size: 0.6em;
	color: var(--e-slate);
	margin-right: 6px;
}

@media (max-width: 1000px) {
	.e-phero { grid-template-columns: minmax(0, 1fr); }
	.e-phero__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.e-phero__tiles { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   18. Configurator + swatches
   ---------------------------------------------------------------------- */
.e-conf {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 1.4rem + 3vw, 4rem);
	align-items: start;
}

.e-conf__label {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--e-blue);
	margin-bottom: 16px;
}

.e-conf__group + .e-conf__group { margin-top: 36px; }

.e-conf__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.e-swatch {
	position: relative;
	width: 84px;
	padding: 0;
	background: var(--e-white);
	border: 1px solid var(--e-line);
	cursor: pointer;
	text-align: center;
	transition: border-color 0.35s var(--e-ease), transform 0.35s var(--e-ease), box-shadow 0.35s var(--e-ease);
}

.e-swatch:hover { transform: translateY(-3px); box-shadow: var(--e-shadow); }
.e-swatch.is-active { border-color: var(--e-blue); box-shadow: 0 0 0 2px var(--e-blue) inset; }

.e-swatch__chip {
	display: block;
	height: 56px;
	background-size: cover;
	background-position: center;
}

.e-swatch__name {
	display: block;
	padding: 6px 4px;
	font-size: 0.625rem;
	line-height: 1.25;
	color: var(--e-body);
}

.e-swatch__check {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--e-blue);
	color: var(--e-white);
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.3s var(--e-ease), transform 0.3s var(--e-ease);
}

.e-swatch.is-active .e-swatch__check { opacity: 1; transform: scale(1); }

.e-conf__preview .e-media { aspect-ratio: 0.86; background: var(--e-ice); }

.e-swatchgrid {
	display: grid;
	grid-template-columns: repeat(var(--e-swatch-cols, 8), minmax(0, 1fr));
	gap: 4px;
}

.e-swatchgrid__cell { display: flex; flex-direction: column; }

.e-swatchgrid__chip {
	aspect-ratio: 1.3;
	background-size: cover;
	background-position: center;
	transition: transform 0.4s var(--e-ease);
}

.e-swatchgrid__cell:hover .e-swatchgrid__chip { transform: scale(1.06); z-index: 2; }

.e-swatchgrid__name {
	padding: 4px 2px 10px;
	font-size: 0.5625rem;
	line-height: 1.2;
	color: var(--e-slate);
	text-align: center;
}

.e-bullets {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin-bottom: 28px;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	color: var(--e-slate);
}

.e-bullets li { position: relative; padding-left: 14px; }

.e-bullets li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--e-yellow);
}

@media (max-width: 1000px) {
	.e-conf { grid-template-columns: minmax(0, 1fr); }
	.e-swatchgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------------
   19. Media split / advantages / feature columns
   ---------------------------------------------------------------------- */
.e-msplit {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 1.4rem + 3vw, 4rem);
	align-items: center;
}

.e-msplit--panel {
	background: var(--e-ice);
	padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
	gap: clamp(2rem, 1.4rem + 3vw, 4.5rem);
}

.e-msplit--left .e-msplit__media { order: -1; }

.e-msplit__title {
	font-size: var(--e-fs-h3);
	margin-bottom: 18px;
}

.e-msplit__body { font-size: 0.9375rem; line-height: 1.7; }

.e-msplit__points {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 16px;
}

.e-msplit__point {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding-top: 16px;
	border-top: 1px solid var(--e-line);
	font-size: 0.875rem;
	line-height: 1.6;
}

.e-msplit__point:first-child { border-top: 0; padding-top: 0; }

.e-msplit__point-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--e-blue);
	color: var(--e-white);
	transition: transform 0.5s var(--e-ease);
}

.e-msplit__point:hover .e-msplit__point-icon { transform: scale(1.1) rotate(-8deg); }

@media (max-width: 900px) {
	.e-msplit { grid-template-columns: minmax(0, 1fr); }
	.e-msplit--left .e-msplit__media { order: 0; }
}

.e-features {
	display: grid;
	gap: clamp(1.75rem, 1.2rem + 2vw, 3rem) var(--e-gap);
}

.e-feature {
	display: grid;
	gap: 14px;
	justify-items: start;
}

.e-features--center .e-feature { justify-items: center; text-align: center; }

.e-feature__media { width: 100%; }

/* Drawings and product shots show whole, on the page background. A section can
   ask for the old tile with the "Fill a tile" image style. */
.e-feature .e-media {
	display: grid;
	place-items: center;
	aspect-ratio: auto;
	background: none;
}

.e-feature .e-media--placeholder { aspect-ratio: 1.32; }

/* Whole image, its own proportions. The cap only stops one unusually tall
   drawing from pushing its neighbours' captions out of line. */
.e-feature .e-media__img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: clamp(180px, 22vw, 320px);
	object-fit: contain;
}

.e-features--tiled .e-feature .e-media { aspect-ratio: 1.32; background: var(--e-ice); }
.e-features--tiled .e-feature .e-media__img { height: 100%; object-fit: cover; }

.e-feature__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--e-ice);
	color: var(--e-blue);
	transition: background 0.5s var(--e-ease), color 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-feature:hover .e-feature__icon {
	background: var(--e-blue);
	color: var(--e-white);
	transform: translateY(-4px);
}

.e-feature__title {
	font-size: 1.0625rem;
	color: var(--e-blue);
}

.e-feature__text {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--e-slate);
	margin: 0;
	max-width: 34ch;
}

/* -------------------------------------------------------------------------
   20. Values / process
   ---------------------------------------------------------------------- */
.e-value { display: grid; gap: 12px; }
.e-value .e-media { aspect-ratio: 1.55; }

.e-value__title { font-size: 1.125rem; }

.e-value__text {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--e-body);
	margin: 0;
}

.e-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--e-gap-sm);
}

.e-step {
	position: relative;
	padding: 26px 22px 28px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	transition: background 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-step:hover {
	background: rgba(255, 255, 255, 0.07);
	transform: translateY(-6px);
}

.e-step__number {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--e-yellow);
	margin-bottom: 14px;
}

.e-step__title {
	font-size: 1.0625rem;
	color: var(--e-white);
	margin-bottom: 8px;
}

.e-step__text {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
}

.e-step__plus {
	position: absolute;
	top: 22px;
	right: 20px;
	color: rgba(255, 255, 255, 0.55);
	transition: transform 0.5s var(--e-ease);
}

.e-step:hover .e-step__plus { transform: rotate(90deg); color: var(--e-yellow); }

.e-section--light .e-step,
.e-section--ice .e-step { border-color: var(--e-line-strong); }

.e-section--light .e-step__title,
.e-section--ice .e-step__title { color: var(--e-blue); }

.e-section--light .e-step__text,
.e-section--ice .e-step__text { color: var(--e-slate); }

@media (max-width: 1000px) { .e-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .e-steps { grid-template-columns: minmax(0, 1fr); } }

/* Mission */
.e-mission {
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 18px;
}

.e-mission__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--e-blue);
}

.e-mission__statement {
	font-size: clamp(1.375rem, 1rem + 1.6vw, 2rem);
	line-height: 1.35;
	font-weight: 500;
	color: var(--e-blue);
	margin: 0;
}

/* -------------------------------------------------------------------------
   21. Contact block + forms
   ---------------------------------------------------------------------- */
.e-contact {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	gap: clamp(2rem, 1.4rem + 4vw, 5rem);
	align-items: stretch;
}

/* Both columns run to the same baseline: the intro pushes its info tiles to the
   bottom, and the form grows its message field to take up the slack. */
.e-contact__intro {
	display: flex;
	flex-direction: column;
}

.e-contact__intro .e-contact__text {
	margin-bottom: 0;
}

.e-contact__title {
	font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
	text-transform: none;
	margin-bottom: 18px;
}

.e-contact__lead { font-weight: 600; color: var(--e-blue); }

.e-contact__text {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--e-body);
}

.e-contact__tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: auto;
	padding-top: 32px;
}

.e-ctile {
	display: grid;
	gap: 4px;
	padding: 14px 18px;
	border: 1px solid var(--e-blue);
	transition: background 0.4s var(--e-ease), color 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-ctile:hover {
	background: var(--e-blue);
	color: var(--e-white);
	transform: translateY(-4px);
}

.e-ctile__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--e-blue);
}

.e-ctile:hover .e-ctile__label { color: rgba(255, 255, 255, 0.8); }

.e-ctile__value {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--e-blue);
}

.e-ctile:hover .e-ctile__value { color: var(--e-white); }

/* Form card */
.e-form-card {
	background: var(--e-ice);
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
}

.e-form-card__eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--e-blue);
	margin: 0 0 8px;
}

.e-form-card__title {
	font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
	line-height: 1.2;
	margin: 0;
}

.e-form {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
}

/* The message row is the one that stretches. */
.e-field--grow {
	flex: 1;
	min-height: 100px;
}

.e-field--grow textarea {
	height: 100%;
	min-height: 100px;
}

.e-field { display: grid; gap: 6px; }

.e-field--row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.e-field label,
.e-field__label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--e-slate);
}

.e-field input,
.e-field select,
.e-field textarea {
	width: 100%;
	padding: 0 16px;
	height: 44px;
	background: var(--e-white);
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 0.875rem;
	color: var(--e-ink);
	transition: border-color 0.35s var(--e-ease), box-shadow 0.35s var(--e-ease);
	-webkit-appearance: none;
	appearance: none;
}

.e-field textarea {
	height: 100px;
	padding: 14px 16px;
	resize: vertical;
	line-height: 1.5;
}

.e-field input::placeholder,
.e-field textarea::placeholder { color: var(--e-slate-300); }

.e-field input:focus,
.e-field select:focus,
.e-field textarea:focus {
	outline: 0;
	border-color: var(--e-blue);
	box-shadow: 0 0 0 3px rgba(1, 30, 124, 0.12);
}

.e-field--select { position: relative; }

.e-field--select .e-icon {
	position: absolute;
	right: 16px;
	bottom: 15px;
	pointer-events: none;
	color: var(--e-slate);
}

.e-field.has-error input,
.e-field.has-error textarea { border-color: #d92d20; }

.e-field__error {
	font-size: 0.75rem;
	color: #d92d20;
	min-height: 1em;
}

.e-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.e-form__status {
	font-size: 0.875rem;
	font-weight: 600;
	min-height: 1.4em;
}

.e-form__status.is-ok { color: #067647; }
.e-form__status.is-error { color: #d92d20; }

.e-form__consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: var(--e-slate);
	cursor: pointer;
}

.e-form__consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex: 0 0 18px;
	accent-color: var(--e-blue);
	border: 1px solid var(--e-line-strong);
	cursor: pointer;
}

.e-form__consent a {
	color: var(--e-blue);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.e-form__consent a:hover { color: var(--e-blue-600); }

.e-field.has-error .e-form__consent,
.e-form__consent.has-error {
	color: #d92d20;
}

.e-form__consent.has-error input[type="checkbox"] {
	outline: 2px solid #d92d20;
	outline-offset: 2px;
}

@media (max-width: 1000px) {
	.e-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
	.e-contact__tiles,
	.e-field--row { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   22. Article
   ---------------------------------------------------------------------- */
.e-article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(2rem, 1.4rem + 4vw, 5rem);
	align-items: start;
}

.e-article__body {
	max-width: 760px;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--e-body);
}

.e-article__lede {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--e-ink);
	margin-bottom: 2.5em;
}

.e-article__body h2 {
	font-size: var(--e-fs-h3);
	margin: 2em 0 0.8em;
}

.e-article__body h3 {
	font-size: 1.25rem;
	margin: 1.8em 0 0.6em;
}

.e-article__body img,
.e-article__body .e-media { margin-block: 1.8em; }

.e-article__trend {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--e-yellow-600);
	margin-bottom: 6px;
}

.e-article__body blockquote {
	margin: 2.4em 0;
	padding: 28px 32px;
	background: var(--e-ice);
	border-left: 4px solid var(--e-blue);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--e-blue);
}

.e-article__body blockquote cite {
	display: block;
	margin-top: 14px;
	font-size: 0.6875rem;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--e-slate);
}

.e-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--e-header-h) + 24px); }

.e-aside__card {
	padding: 22px;
	border: 1px solid var(--e-line);
}

.e-aside__title {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--e-blue);
	margin-bottom: 16px;
}

.e-aside__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--e-line);
	font-size: 0.8125rem;
}

.e-aside__row:last-child { border-bottom: 0; }
.e-aside__row dt { color: var(--e-slate); }
.e-aside__row dd { margin: 0; font-weight: 600; color: var(--e-blue); }

.e-aside__card--cta {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
}

.e-aside__card--cta .e-aside__title { color: var(--e-white); }

.e-aside__cta-title {
	font-size: 1rem;
	line-height: 1.35;
	color: var(--e-white);
	margin-bottom: 10px;
}

.e-aside__cta-text {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 18px;
}

.e-share { display: flex; gap: 10px; }

.e-share a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--e-ice);
	color: var(--e-blue);
	transition: background 0.4s var(--e-ease), color 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-share a:hover {
	background: var(--e-blue);
	color: var(--e-white);
	transform: translateY(-3px);
}

.e-article__hero {
	position: relative;
	min-height: clamp(320px, 30vw, 480px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--e-blue-900);
}

.e-article__hero-bg {
	position: absolute;
	inset: -8% 0;
	background-size: cover;
	background-position: center;
}

.e-article__hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(1, 20, 79, 0.15), rgba(1, 20, 79, 0.8));
}

.e-article__hero-inner {
	position: relative;
	z-index: 2;
	padding-block: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
}

.e-article__hero-title {
	max-width: 20ch;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	color: var(--e-white);
	text-transform: none;
}

.e-toc {
	position: sticky;
	top: calc(var(--e-header-h) + 24px);
}

@media (max-width: 1000px) {
	.e-article { grid-template-columns: minmax(0, 1fr); }
	.e-aside { position: static; }
}

/* -------------------------------------------------------------------------
   23. Footer
   ---------------------------------------------------------------------- */
.e-footer {
	background: var(--e-blue);
	color: var(--e-white);
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) 40px;
}

.e-footer__top {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: clamp(2rem, 1.4rem + 4vw, 5rem);
	align-items: start;
}

.e-footer__brand { display: grid; gap: 28px; }

.e-footer__contacts {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

.e-footer__contacts li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.9);
}

.e-footer__contacts a:hover { color: var(--e-yellow); }

.e-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.e-footer__col-title {
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--e-white);
	margin-bottom: 20px;
}

.e-footer__links {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.125rem;
}

.e-footer__links a {
	position: relative;
	color: rgba(255, 255, 255, 0.86);
}

.e-footer__links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--e-ease);
}

.e-footer__links a:hover { color: var(--e-white); }
.e-footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.e-footer__rule {
	height: 1px;
	margin-block: clamp(2.5rem, 1.6rem + 3vw, 4rem);
	background: rgba(255, 255, 255, 0.24);
}

.e-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
}

.e-footer__legal {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.e-footer__socials { display: flex; gap: 12px; }

.e-footer__socials a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--e-white);
	transition: background 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-footer__socials a:hover {
	background: var(--e-yellow);
	color: var(--e-blue);
	transform: translateY(-3px);
}

@media (max-width: 1000px) {
	.e-footer__top { grid-template-columns: minmax(0, 1fr); }
	.e-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.e-footer__cols { grid-template-columns: minmax(0, 1fr); }
	.e-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
   24. Misc components
   ---------------------------------------------------------------------- */
.e-crumbs {
	font-size: 0.8125rem;
	color: var(--e-slate);
	padding-block: 18px;
}

.e-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.e-crumbs a:hover { color: var(--e-blue); }

.e-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: clamp(2rem, 1.4rem + 2vw, 3rem) 0 0;
	padding: 0;
	list-style: none;
}

.e-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--e-line-strong);
	font-weight: 600;
	color: var(--e-blue);
	transition: background 0.35s var(--e-ease), color 0.35s var(--e-ease), border-color 0.35s var(--e-ease);
}

.e-pagination .page-numbers:hover,
.e-pagination .page-numbers.current {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
}

.e-notice {
	padding: 18px 22px;
	background: #fff8e1;
	border: 1px solid #f5d97a;
	color: #6b4e00;
	font-size: 0.875rem;
}

.e-marquee {
	display: flex;
	gap: var(--e-gap);
	width: max-content;
	will-change: transform;
}

.e-marquee .e-media { width: 420px; aspect-ratio: 1.4; }

.e-curtain {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: var(--e-blue);
	transform: scaleY(0);
	transform-origin: bottom;
	pointer-events: none;
}

.e-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	height: 3px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: var(--e-yellow);
	pointer-events: none;
}

.e-totop {
	position: fixed;
	right: clamp(16px, 2vw, 32px);
	bottom: clamp(16px, 2vw, 32px);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--e-blue);
	color: var(--e-white);
	cursor: pointer;
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 0.4s var(--e-ease), transform 0.4s var(--e-ease), background 0.4s var(--e-ease);
}

.e-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.e-totop:hover { background: var(--e-yellow); color: var(--e-blue); }

/* 404 / search */
.e-empty {
	display: grid;
	justify-items: center;
	gap: 20px;
	text-align: center;
	padding-block: clamp(4rem, 3rem + 6vw, 9rem);
}

.e-empty__code {
	font-size: clamp(4rem, 2rem + 10vw, 9rem);
	font-weight: 700;
	line-height: 1;
	color: var(--e-blue);
	opacity: 0.12;
}

/* -------------------------------------------------------------------------
   25. Motion primitives
   ---------------------------------------------------------------------- */
[data-reveal] { will-change: transform, opacity; }

html.js body:not(.motion-ready) [data-reveal] { opacity: 0; }

html.js body:not(.motion-ready) [data-reveal="fade-up"] { transform: translate3d(0, 34px, 0); }
html.js body:not(.motion-ready) [data-reveal="scale"] { transform: scale(0.96); }
html.js body:not(.motion-ready) [data-reveal="clip"] { clip-path: inset(0 0 100% 0); }

html.js body:not(.motion-ready) .e-split__wi { transform: translate3d(0, 105%, 0); }

body.no-motion [data-reveal],
html.reduced-motion [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
}

html.reduced-motion .e-split__wi { transform: none !important; }

@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;
	}
}

/* -------------------------------------------------------------------------
   26. WordPress core blocks / editor output
   ---------------------------------------------------------------------- */
.alignwide { max-width: var(--e-wrap); }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

.wp-caption-text,
figcaption {
	font-size: 0.8125rem;
	color: var(--e-slate);
	padding-top: 8px;
}

.has-ecoven-blue-color { color: var(--e-blue) !important; }
.has-ecoven-blue-background-color { background-color: var(--e-blue) !important; }
.has-ecoven-yellow-color { color: var(--e-yellow) !important; }
.has-ecoven-yellow-background-color { background-color: var(--e-yellow) !important; }
.has-ecoven-ice-background-color { background-color: var(--e-ice) !important; }

/* -------------------------------------------------------------------------
   27. Print
   ---------------------------------------------------------------------- */
@media print {
	.e-header, .e-footer, .e-hero__arrows, .e-totop, .e-curtain, .e-progress { display: none !important; }
	body { color: #000; }
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Projects beyond the first page wait behind "Load more". The wrapper is
   invisible to the grid so revealed tiles fall into place like the others. */
.e-projects__more { display: contents; }
.e-projects__more[hidden] { display: none; }
.e-projects + .e-loadmore .e-btn__icon { transition: transform 0.4s var(--e-ease); }
.e-projects + .e-loadmore .e-btn:hover .e-btn__icon { transform: rotate(90deg); }

/* -------------------------------------------------------------------------
   Testimonials — the review wall
   ---------------------------------------------------------------------- */
.e-wall {
	display: grid;
	gap: 24px;
}

.e-wall__row {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.e-wall__track {
	display: flex;
	align-items: stretch;
	gap: 24px;
	flex-shrink: 0;
	margin: 0;
	padding: 10px 24px 10px 0; /* the right padding matches the gap, so the loop has no seam */
	list-style: none;
	animation: e-wall-drift var(--e-wall-duration, 40s) linear infinite;
	will-change: transform;
}

.e-wall__row--reverse .e-wall__track { animation-direction: reverse; }

.e-wall__row:hover .e-wall__track,
.e-wall__row:focus-within .e-wall__track,
.e-wall.is-paused .e-wall__track { animation-play-state: paused; }

@keyframes e-wall-drift {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); }
}

.e-wall__item { display: flex; }

.e-wall-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 380px;
	min-height: 260px;
	padding: 28px;
	background: var(--e-ice);
	border: 1px solid transparent;
	text-align: left;
	transition: transform 0.5s var(--e-ease), box-shadow 0.5s var(--e-ease), border-color 0.5s var(--e-ease), background 0.5s var(--e-ease);
}

.e-wall-card:hover {
	transform: translateY(-6px);
	background: var(--e-white);
	border-color: var(--e-ice-200);
	box-shadow: var(--e-shadow);
}

.e-wall-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.e-wall-card__mark { color: var(--e-blue); opacity: 0.16; }

.e-wall-card__quote {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--e-ink);
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.e-wall-card__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.e-wall-card__avatar {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 50%;
	overflow: hidden;
	aspect-ratio: 1;
}

.e-wall-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--e-blue);
	opacity: 0.7;
}

/* Video cards */
.e-wall-card--video {
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--e-blue-900);
	color: var(--e-white);
	font: inherit;
	cursor: pointer;
	justify-content: flex-end;
	-webkit-appearance: none;
	appearance: none;
}

.e-wall-card--video:hover { background: var(--e-blue-900); border-color: transparent; }

.e-wall-card--video .e-wall-card__poster {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
	height: 100%;
}

.e-wall-card--video .e-wall-card__poster .e-media__img { transition: transform 1.1s var(--e-ease); }
.e-wall-card--video:hover .e-wall-card__poster .e-media__img { transform: scale(1.06); }

.e-wall-card--video::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(1, 20, 79, 0.05) 30%, rgba(1, 20, 79, 0.85) 100%);
}

.e-wall-card__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
}

.e-wall-card__play span {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	padding-left: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--e-blue);
	transition: transform 0.5s var(--e-ease), background 0.5s var(--e-ease);
}

.e-wall-card--video:hover .e-wall-card__play span,
.e-wall-card--video:focus-visible .e-wall-card__play span {
	transform: scale(1.12);
	background: var(--e-yellow);
}

.e-wall-card__caption {
	position: relative;
	z-index: 3;
	display: grid;
	gap: 2px;
	padding: 24px 28px;
}

.e-wall-card__kicker {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--e-yellow);
}

.e-wall-card__name { font-size: 1rem; color: var(--e-white); }
.e-wall-card__role { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.78); }

.e-section--blue .e-wall-card:not(.e-wall-card--video),
.e-section--dark .e-wall-card:not(.e-wall-card--video) { background: var(--e-white); }

@media (max-width: 640px) {
	.e-wall { gap: 16px; }
	.e-wall__track { gap: 16px; padding-right: 16px; }
	.e-wall-card { width: 290px; min-height: 240px; padding: 22px; }
	.e-wall__row {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* No drift when the visitor asks for less motion: a swipeable row instead. */
@media (prefers-reduced-motion: reduce) {
	.e-wall__row {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-inline: var(--e-gutter);
		-webkit-mask-image: none;
		mask-image: none;
	}
	.e-wall__track { animation: none; }
	.e-wall__track--clone { display: none; }
	.e-wall__item { scroll-snap-align: start; }
}

html.reduced-motion .e-wall__track { animation: none; }
html.reduced-motion .e-wall__track--clone { display: none; }
html.reduced-motion .e-wall__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }

/* -------------------------------------------------------------------------
   Video lightbox
   ---------------------------------------------------------------------- */
.e-lightbox {
	width: min(1100px, calc(100vw - 32px));
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--e-white);
	overflow: visible;
}

.e-lightbox::backdrop {
	background: rgba(1, 12, 48, 0.86);
	backdrop-filter: blur(6px);
}

.e-lightbox__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: var(--e-shadow-lg);
}

.e-lightbox__frame iframe,
.e-lightbox__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.e-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
	font-weight: 600;
}

.e-lightbox__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--e-white);
	cursor: pointer;
	transition: background 0.35s var(--e-ease), color 0.35s var(--e-ease);
}

.e-lightbox__close:hover { background: var(--e-yellow); border-color: var(--e-yellow); color: var(--e-blue); }

.e-lightbox[open] .e-lightbox__frame { animation: e-lightbox-in 0.45s var(--e-ease); }

@keyframes e-lightbox-in {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   Image track slider (home intro)
   ---------------------------------------------------------------------- */
.e-track {
	--e-track-gap: var(--e-gap);
	margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.e-track__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.e-track__viewport::-webkit-scrollbar { display: none; }
.e-track__viewport:focus-visible { outline-offset: 6px; }

.e-track__list {
	display: flex;
	gap: var(--e-track-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-track__slide {
	flex: 0 0 calc((100% - var(--e-track-gap) * (var(--e-track-visible, 3) - 1)) / var(--e-track-visible, 3));
	scroll-snap-align: start;
}

.e-track__slide .e-media { aspect-ratio: 1.35; }

.e-track__controls {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 28px;
}

.e-track.is-static .e-track__controls { display: none; }

.e-track__arrow {
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	background: transparent;
	border: 1px solid var(--e-blue);
	color: var(--e-blue);
	cursor: pointer;
	transition: background 0.4s var(--e-ease), color 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-track__arrow:hover { background: var(--e-blue); color: var(--e-white); }
.e-track__arrow:active { transform: scale(0.94); }

.e-track__progress {
	position: relative;
	flex: 1;
	height: 2px;
	background: var(--e-line);
	overflow: hidden;
}

.e-track__progress span {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 20%;
	background: var(--e-blue);
	transition: transform 0.35s var(--e-ease);
}

/* The bar is draggable, and so is the row itself. */
.e-track__progress { cursor: pointer; touch-action: none; }
.e-track:not(.is-static) .e-track__viewport { cursor: grab; }
.e-track.is-dragging .e-track__viewport { cursor: grabbing; scroll-snap-type: none; }
.e-track.is-dragging .e-track__progress span { transition: none; }
.e-track.is-dragging .e-track__slide { pointer-events: none; }
.e-track__viewport img { -webkit-user-drag: none; user-select: none; }

/* A grid on desktop that becomes a swipeable row on phones and small tablets.
   The same markup serves both: above the breakpoint the viewport does not
   scroll, so the arrows hide themselves (.is-static). */
.e-track--mobile { margin-top: 0; }

.e-track--mobile .e-track__viewport {
	overflow: visible;
	scroll-snap-type: none;
	cursor: auto;
}

.e-track--mobile .e-track__controls { display: none; }

@media (max-width: 900px) {
	.e-track--mobile .e-track__viewport {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: calc(var(--e-gutter, 20px) * -1);
		padding-inline: var(--e-gutter, 20px);
	}

	.e-track--mobile [data-track-list] {
		display: flex;
		gap: 16px;
		grid-template-columns: none;
	}

	.e-track--mobile [data-track-slide] {
		flex: 0 0 min(76vw, 320px);
		scroll-snap-align: start;
	}

	.e-track--mobile:not(.is-static) .e-track__controls {
		display: flex;
		margin-top: 24px;
	}

	.e-track--mobile .e-icons__tile { height: auto; }
}

.e-section--blue .e-track__arrow,
.e-section--dark .e-track__arrow { border-color: rgba(255, 255, 255, 0.6); color: var(--e-white); }
.e-section--blue .e-track__progress,
.e-section--dark .e-track__progress { background: rgba(255, 255, 255, 0.2); }
.e-section--blue .e-track__progress span,
.e-section--dark .e-track__progress span { background: var(--e-yellow); }

@media (max-width: 1000px) {
	.e-track__slide { flex-basis: calc((100% - var(--e-track-gap)) / 2); }
}

@media (max-width: 700px) {
	/* One image, with the next one peeking in so it reads as swipeable. */
	.e-track__slide { flex-basis: 86%; }
	.e-track__arrow { flex-basis: 44px; width: 44px; height: 44px; }
}

/* -------------------------------------------------------------------------
   Product configurator — scrolling finish rows + one combined render
   ---------------------------------------------------------------------- */
.e-conf {
	/* Wide list column, tall render on the right, as on the reference page. */
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
	align-items: stretch;
}

.e-conf__lists {
	display: grid;
	align-content: space-evenly;
	gap: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	min-width: 0;
	padding-block: clamp(1rem, 2vw, 2.5rem);
}

.e-conf__lists .e-conf__group {
	min-width: 0;
}

.e-conf__lists .e-conf__group + .e-conf__group {
	margin-top: 0;
}

.e-conf__label {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.e-conf__chosen {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--e-slate);
}

.e-conf__chosen::before {
	content: '— ';
	opacity: 0.6;
}

.e-conf__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.e-conf__filter {
	padding: 7px 14px;
	font-size: 0.75rem;
	font-weight: 600;
	background: transparent;
	border: 1px solid var(--e-line-strong);
	color: var(--e-blue);
	cursor: pointer;
	transition: background 0.35s var(--e-ease), color 0.35s var(--e-ease), border-color 0.35s var(--e-ease);
}

.e-conf__filter:hover { border-color: var(--e-blue); }

.e-conf__filter.is-active {
	background: var(--e-blue);
	border-color: var(--e-blue);
	color: var(--e-white);
}

/* The rows reuse the track slider: scroll, swipe, keyboard, progress bar. */
.e-track--swatches { --e-track-gap: 4px; margin-top: 0; }
.e-track--swatches .e-track__slide { flex: 0 0 auto; scroll-snap-align: none; }

/* Snapping every 112px makes a long row fight the drag, so the finish rows
   scroll freely. */
.e-track--swatches .e-track__viewport { scroll-snap-type: none; }
.e-track--swatches .e-track__controls { margin-top: 14px; }
.e-track--swatches .e-track__progress { height: 3px; background: var(--e-ice-200); }
.e-track--swatches .e-track__progress span { transition: transform 0.25s var(--e-ease); }

.e-finish {
	position: relative;
	display: block;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
}

.e-finish__art {
	display: block;
	background-size: cover;
	background-position: center;
}

/* Lamination: the render itself is the swatch, with the name written on it. */
.e-finish--lamination { width: 112px; }

.e-finish--lamination .e-finish__art {
	width: 112px;
	height: 148px;
	transition: transform 0.5s var(--e-ease), box-shadow 0.5s var(--e-ease);
}

.e-finish--lamination .e-finish__name {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--e-white);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
	pointer-events: none;
}

.e-finish--lamination .e-finish__check svg { stroke-width: 3; }

.e-finish--lamination .e-finish__check {
	position: absolute;
	left: 50%;
	top: 58%;
	display: grid;
	place-items: center;
	color: var(--e-white);
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.6);
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
	transition: opacity 0.35s var(--e-ease), transform 0.35s var(--e-ease);
}

.e-finish--lamination.is-active .e-finish__check {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.e-finish--lamination:hover .e-finish__art,
.e-finish--lamination:focus-visible .e-finish__art { transform: translateY(-3px); }

.e-finish--lamination.is-active .e-finish__art { box-shadow: inset 0 0 0 2px var(--e-white); }

/* Handles: a white card, selected one underlined. */
.e-finish--handle {
	width: 112px;
	min-height: 190px;
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 6px;
	padding: 14px 10px 16px;
	background: var(--e-white);
	border-bottom: 3px solid transparent;
	transition: box-shadow 0.4s var(--e-ease), border-color 0.4s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-finish--handle .e-finish__art {
	display: grid;
	place-items: center;
	min-height: 110px;
	overflow: hidden;
}

.e-finish--handle .e-finish__art img {
	max-height: 130px;
	width: auto;
	object-fit: contain;
	transform-origin: center;
	transition: transform 0.4s var(--e-ease);
}

.e-finish--handle .e-finish__name {
	font-size: 0.75rem;
	line-height: 1.3;
	text-align: center;
	color: var(--e-slate);
}

.e-finish--handle:hover { transform: translateY(-3px); box-shadow: var(--e-shadow); }

.e-finish--handle.is-active {
	border-bottom-color: var(--e-blue);
	box-shadow: var(--e-shadow);
}

.e-finish--handle.is-active .e-finish__name { color: var(--e-blue); font-weight: 700; }

/* The render: the window in the chosen colour, with the handle laid on it. */
.e-conf__stage { min-width: 0; }

.e-conf__frame {
	position: relative;
	/* The render's own proportions, so a cut-out laid over it lines up. */
	aspect-ratio: var(--e-conf-ratio, 0.77);
	overflow: hidden;
	background: linear-gradient(140deg, var(--e-ice) 0%, #dce9f5 55%, #c9dced 100%);
}

.e-conf__render,
.e-conf__handle-layer--match {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

/* Edge to edge over the render — the cut-out positions itself. */
.e-conf__handle-layer--match {
	transform: none;
	filter: none;
}

.e-conf__handle-layer--manual {
	position: absolute;
	/* The file is scaled around its opaque part, so it may be wider than the
	   render; the frame clips it. */
	max-width: none;
	height: auto;
	object-fit: contain;
	transform: translate(-50%, -50%);
	filter: drop-shadow(0 10px 22px rgba(1, 20, 79, 0.28));
	pointer-events: none;
}

.e-conf__handle-layer[hidden] { display: none; }
.e-conf__handle-layer { position: absolute; }

@media (min-width: 1280px) {
	/* Runs to the edge of the content column, as on the reference page. */
	.e-conf__stage { margin-right: calc(var(--e-gutter) * -1); }
}

@media (max-width: 900px) {
	.e-conf { grid-template-columns: minmax(0, 1fr); }
	.e-conf__stage { order: -1; }
	.e-conf__frame { aspect-ratio: 1.2; }
}

/* Small arrows beside the finish rows, for mouse users. */
.e-track__arrow--sm {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
}

.e-track--swatches .e-track__controls { gap: 12px; }
.e-track--swatches.is-static .e-track__controls { display: none; }

/* A handle photo with its own backdrop is framed, so it reads as a sample
   rather than a badly cut-out overlay. Only in manual mode. */
.e-conf__handle-layer--manual.is-photo {
	background: var(--e-white);
	padding: 10px;
	box-shadow: 0 18px 40px -22px rgba(1, 20, 79, 0.55);
	filter: none;
}

/* Editor-only placement helper (?ecoven_place=1). */
.e-conf__placer {
	display: grid;
	gap: 4px;
	margin-top: 12px;
	padding: 12px 14px;
	background: var(--e-blue);
	color: var(--e-white);
	font-size: 0.75rem;
}

.e-conf__placer b { font-size: 0.8125rem; }
.e-conf__placer span { opacity: 0.8; }

.e-conf__placer code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.8125rem;
	background: rgba(255, 255, 255, 0.14);
	padding: 6px 8px;
}

/* -------------------------------------------------------------------------
   Icon row
   ---------------------------------------------------------------------- */
.e-icons {
	display: grid;
	grid-template-columns: repeat(var(--e-icons-cols, 4), minmax(0, 1fr));
	gap: 4px;
}

.e-icons--2 { --e-icons-cols: 2; }
.e-icons--3 { --e-icons-cols: 3; }
.e-icons--4 { --e-icons-cols: 4; }
.e-icons--5 { --e-icons-cols: 5; }

.e-icons__tile {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 18px;
	padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) clamp(1rem, 0.6rem + 1.4vw, 2rem);
	text-align: center;
	transition: background 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-icons--cards .e-icons__tile { background: var(--e-ice); }
.e-icons--lined .e-icons__tile { box-shadow: inset 0 -1px 0 var(--e-ice-200), inset -1px 0 0 var(--e-ice-200); }
.e-icons--lined .e-icons__tile:last-child { box-shadow: inset 0 -1px 0 var(--e-ice-200); }

.e-icons__tile:hover { transform: translateY(-4px); }
.e-icons--cards .e-icons__tile:hover { background: var(--e-ice-200); }

.e-icons__art {
	display: grid;
	place-items: center;
	min-height: 64px;
	color: var(--e-blue);
}

.e-icons__art .e-media,
.e-icons__img {
	width: 64px;
	height: 64px;
	aspect-ratio: 1;
	background: none;
}

.e-icons__art .e-media__img { object-fit: contain; }

.e-icons__label {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--e-blue);
	max-width: 22ch;
}

.e-icons__text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--e-slate);
	max-width: 28ch;
}

.e-section--blue .e-icons__art,
.e-section--dark .e-icons__art,
.e-section--blue .e-icons__label,
.e-section--dark .e-icons__label { color: var(--e-white); }

.e-section--blue .e-icons--cards .e-icons__tile,
.e-section--dark .e-icons--cards .e-icons__tile { background: rgba(255, 255, 255, 0.07); }

@media (max-width: 1000px) {
	.e-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-icons--lined .e-icons__tile { box-shadow: inset 0 -1px 0 var(--e-ice-200); }
}

@media (max-width: 560px) {
	.e-icons { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   Design potential — cards that switch the picture
   ---------------------------------------------------------------------- */
.e-dtabs {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	align-items: center;
}

.e-dtabs__cards {
	position: relative;
	display: grid;
	gap: 2px;
	padding: clamp(1rem, 0.6rem + 1.4vw, 2.25rem) 0 clamp(1rem, 0.6rem + 1.4vw, 2.25rem) clamp(1rem, 0.6rem + 2vw, 3rem);
}

.e-dtabs__backdrop {
	position: absolute;
	inset: 0 auto 0 0;
	width: clamp(2rem, 1rem + 3vw, 4rem);
	overflow: hidden;
}

.e-dtabs__backdrop .e-media {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.e-dtabs__card {
	position: relative;
	display: grid;
	gap: 10px;
	padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
	background: var(--e-white);
	border: 0;
	text-align: left;
	cursor: pointer;
	box-shadow: 0 18px 40px -34px rgba(1, 20, 79, 0.6);
	transition: background 0.45s var(--e-ease), color 0.45s var(--e-ease), transform 0.45s var(--e-ease);
}

.e-dtabs__card::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	background: var(--e-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--e-ease);
}

.e-dtabs__card:hover { transform: translateX(4px); }

.e-dtabs__card-title {
	font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);
	font-weight: 500;
	color: var(--e-blue);
	line-height: 1.25;
}

.e-dtabs__card-text {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--e-body);
}

.e-dtabs__card.is-active {
	background: linear-gradient(100deg, var(--e-blue) 0%, var(--e-blue-600) 100%);
	color: var(--e-white);
}

.e-dtabs__card.is-active .e-dtabs__card-title,
.e-dtabs__card.is-active .e-dtabs__card-text { color: var(--e-white); }
.e-dtabs__card.is-active::after { transform: scaleX(1); background: var(--e-yellow); }

.e-dtabs__stage { position: relative; min-width: 0; }
.e-dtabs__panel[hidden] { display: none; }
.e-dtabs__panel .e-media { aspect-ratio: 1.45; }

@media (max-width: 900px) {
	.e-dtabs { grid-template-columns: minmax(0, 1fr); }
	.e-dtabs__stage { order: -1; }
	.e-dtabs__cards { padding: 0; }
	.e-dtabs__backdrop { display: none; }
}

/* -------------------------------------------------------------------------
   Centred copy + wide image, and the big image band
   ---------------------------------------------------------------------- */
.e-wfeat { margin: 0; }
.e-wfeat__media { background: none; }
.e-wfeat .e-media { aspect-ratio: auto; }
.e-wfeat .e-media__img { width: 100%; height: auto; }
.e-wfeat .e-media--placeholder { aspect-ratio: 2.25; }

.e-wfeat__caption,
.e-band__caption {
	margin-top: 14px;
	font-size: 0.8125rem;
	color: var(--e-slate);
	text-align: center;
}

.e-band { position: relative; margin: 0; overflow: hidden; }
.e-band--sm .e-media { aspect-ratio: auto; height: clamp(220px, 32vw, 360px); }
.e-band--md .e-media { aspect-ratio: auto; height: clamp(280px, 42vw, 520px); }
.e-band--lg .e-media { aspect-ratio: auto; height: clamp(320px, 54vw, 680px); }
.e-band--auto .e-media { aspect-ratio: auto; }
.e-band--auto .e-media__img { width: 100%; height: auto; }
.e-band__caption { padding-inline: var(--e-gutter); }

/* -------------------------------------------------------------------------
   Technical indicators
   ---------------------------------------------------------------------- */
.e-stable {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 1.4rem + 3vw, 4.5rem);
	align-items: center;
}

.e-stable--flip .e-stable__media { order: -1; }
.e-stable__col { min-width: 0; }
.e-stable__col .e-heading { margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); }

.e-stable__list { margin: 0; display: grid; }

.e-stable__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	padding: 18px clamp(1rem, 0.6rem + 1vw, 1.75rem);
	align-items: baseline;
}

.e-stable__row:nth-child(odd) { background: var(--e-ice); }

.e-stable__row dt {
	font-size: 0.9375rem;
	color: var(--e-blue);
}

.e-stable__row dd {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--e-ink);
}

.e-stable__media .e-media { background: none; }
.e-stable__media .e-media--placeholder { aspect-ratio: 1.15; }

.e-section--blue .e-stable__row:nth-child(odd),
.e-section--dark .e-stable__row:nth-child(odd) { background: rgba(255, 255, 255, 0.07); }

.e-section--blue .e-stable__row dt,
.e-section--dark .e-stable__row dt { color: rgba(255, 255, 255, 0.82); }

.e-section--blue .e-stable__row dd,
.e-section--dark .e-stable__row dd { color: var(--e-white); }

@media (max-width: 900px) {
	.e-stable { grid-template-columns: minmax(0, 1fr); }
	.e-stable--flip .e-stable__media { order: 0; }
}

/* -------------------------------------------------------------------------
   Text + video
   ---------------------------------------------------------------------- */
.e-videoblock { margin: 0; }

.e-videoblock__frame {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: var(--e-ice);
	overflow: hidden;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.e-videoblock__frame .e-media {
	aspect-ratio: var(--e-video-ratio, 1.78);
	background: var(--e-ice);
}

.e-videoblock__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.e-videoblock__play span {
	display: grid;
	place-items: center;
	width: clamp(68px, 7vw, 96px);
	height: clamp(68px, 7vw, 96px);
	padding-left: 5px;
	border-radius: 50%;
	background: var(--e-white);
	color: var(--e-blue);
	box-shadow: 0 24px 60px -24px rgba(1, 20, 79, 0.55);
	transition: transform 0.5s var(--e-ease), background 0.5s var(--e-ease), color 0.5s var(--e-ease);
}

.e-videoblock__frame:hover .e-videoblock__play span,
.e-videoblock__frame:focus-visible .e-videoblock__play span {
	transform: scale(1.08);
	background: var(--e-yellow);
}

.e-videoblock__frame:hover .e-media__img { transform: scale(1.04); }

.e-videoblock__caption {
	margin-top: 14px;
	font-size: 0.8125rem;
	color: var(--e-slate);
	text-align: center;
}
