/* ECS Sunbeds 2026 — design system (layer on Bootstrap 5).
 * Built to the ETA rebuild proposal §6: same ECS brand, sharper execution —
 * modern, confident, credible, lots of white space. Inter type, ECS blue +
 * a warm amber CTA accent. Mobile-first, WCAG-minded.
 */

/* ============================================================ Brand tokens */
:root {
	/* Editorial palette (charcoal + khaki + cream). Legacy token NAMES kept stable
	   so existing components and inline styles re-skin automatically. */
	--ecs-charcoal:      #2b2926;
	--ecs-charcoal-deep: #1b1916;
	--ecs-khaki:         #a8986f;
	--ecs-khaki-dark:    #8a7a53;
	--ecs-serif:         'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--ecs-sans:          'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	--ecs-blue:        #2b2926;   /* primary = charcoal (legacy name) */
	--ecs-blue-dark:   #1b1916;
	--ecs-blue-soft:   #efeae0;   /* warm tint (hovers / active) */
	--ecs-accent:      #a8986f;   /* khaki accent */
	--ecs-accent-dark: #8a7a53;
	--ecs-ink:         #2b2926;   /* headings / dark UI */
	--ecs-body:        #3a362f;   /* warm body text */
	--ecs-muted:       #6f6a5f;
	--ecs-surface:     #f5f1e9;   /* cream section bg */
	--ecs-line:        #e6e0d4;   /* warm hairline */
	--ecs-paper:       #fbfaf6;   /* page background */

	/* Bootstrap mapping */
	--bs-primary:           #2b2926;
	--bs-primary-rgb:       43, 41, 38;
	--bs-link-color:        #2b2926;
	--bs-link-color-rgb:    43, 41, 38;
	--bs-link-hover-color:  #a8986f;
	--bs-body-color:        #3a362f;
	--bs-body-bg:           #fbfaf6;
	--bs-body-font-family:  var(--ecs-sans);
	--bs-border-color:      #e6e0d4;
	--bs-border-radius:     .4rem;
}

/* ==================================================================== Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--bs-body-font-family);
	font-size: 1.0625rem;          /* 17px */
	line-height: 1.65;
	color: var(--ecs-body);
	background: var(--ecs-paper);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--ecs-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--ecs-ink);
}
h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h2, .h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.25rem); }
h3, .h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem); }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1.1rem; }
h6, .h6 { font-size: 1rem; }

p { margin-bottom: 1.1rem; }
a { color: var(--ecs-blue); text-decoration: none; }
a:hover { color: var(--ecs-blue-dark); }

.lead { font-size: 1.2rem; color: var(--ecs-muted); }
.text-accent { color: var(--ecs-accent-dark) !important; }
.bg-surface { background: var(--ecs-surface) !important; }
.eyebrow {
	font-size: .8rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--ecs-accent-dark);
}

/* Content width for readability (proposal: scannable, not a wall of text) */
.entry-content { max-width: none; } /* full container width — aligns DB content with the custom sections */
.entry-content p:empty { display: none; } /* tidy stray wpautop paragraphs (e.g. around shortcodes) */

/* Contact page: full container width (matches the banner), single stacked column
   — the enquiry funnel spans both imported Bootstrap columns, address + map below. */
.entry-content.ecs-contact-page { max-width: none; }
.ecs-contact-page > .row { display: block; margin-inline: 0; }
.ecs-contact-page > .row > h1 { display: none; } /* banner already shows the page title */
.ecs-contact-page > .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; padding-inline: 0; }
.ecs-contact-page .ml-md-4 { margin-left: 0 !important; }
.ecs-contact-page .border.p-3 { border-color: var(--ecs-line) !important; }
.ecs-contact-page iframe { width: 100%; border: 1px solid var(--ecs-line) !important; }

/* a11y: visible focus */
a:focus-visible, .btn:focus-visible, button:focus-visible,
.form-control:focus-visible, .nav-link:focus-visible {
	outline: 3px solid rgba(168, 152, 111, .6);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ================================================================= Buttons */
.btn {
	--bs-btn-padding-y: .85rem;
	--bs-btn-padding-x: 1.9rem;
	--bs-btn-font-weight: 600;
	--bs-btn-border-radius: 2px;
	font-family: var(--ecs-sans);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .12em;
}
.btn-lg { --bs-btn-padding-y: 1rem; --bs-btn-padding-x: 2.2rem; font-size: .85rem; }
.btn-primary {
	--bs-btn-bg: var(--ecs-blue); --bs-btn-border-color: var(--ecs-blue);
	--bs-btn-hover-bg: var(--ecs-blue-dark); --bs-btn-hover-border-color: var(--ecs-blue-dark);
	--bs-btn-active-bg: var(--ecs-blue-dark); --bs-btn-active-border-color: var(--ecs-blue-dark);
}
.btn-accent {
	--bs-btn-color: var(--ecs-ink); --bs-btn-bg: var(--ecs-accent); --bs-btn-border-color: var(--ecs-accent);
	--bs-btn-hover-color: var(--ecs-ink); --bs-btn-hover-bg: var(--ecs-accent-dark); --bs-btn-hover-border-color: var(--ecs-accent-dark);
	--bs-btn-active-color: var(--ecs-ink); --bs-btn-active-bg: var(--ecs-accent-dark);
	font-weight: 700;
}
.btn-outline-light {
	--bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.6);
	--bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ecs-ink); --bs-btn-hover-border-color: #fff;
}

/* ================================================================== Header */
.site-header .top-bar { background: var(--ecs-ink); font-size: .9rem; }
.site-header .top-bar a { color: #fff; }
.site-header .top-bar a:hover { color: var(--ecs-accent); }
.site-header .navbar {
	background: #fff !important;
	box-shadow: 0 1px 0 var(--ecs-line);
	padding-block: .75rem;
}
.navbar .navbar-brand {
	font-weight: 800; letter-spacing: -.02em; font-size: 1.4rem; color: var(--ecs-blue);
}
.navbar .nav-link {
	font-weight: 600; color: var(--ecs-ink); padding: .5rem .9rem; border-radius: .5rem;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--ecs-blue); background: var(--ecs-blue-soft); }
.navbar .current-menu-item > .nav-link, .navbar .active > .nav-link { color: var(--ecs-blue); }

/* Sticky bar + surface */
.site-header .navbar.sticky-top { top: 0; z-index: 1030; }
.navbar.ecs-navbar { background: #fff; box-shadow: 0 1px 0 var(--ecs-line); }

/* Desktop dropdowns from the default walker's .sub-menu (hover + keyboard) */
.navbar .sub-menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 992px) {
	.navbar .navbar-nav { gap: .1rem; }
	.navbar .menu-item-has-children { position: relative; }
	.navbar .menu-item-has-children > .nav-link::after {
		content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .4em;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px); opacity: .5;
	}
	.navbar .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 240px; display: none; z-index: 1031;
		background: #fff; border: 1px solid var(--ecs-line); border-radius: .7rem;
		box-shadow: 0 .9rem 1.75rem rgba(15, 27, 45, .14); padding: .4rem;
	}
	.navbar .menu-item-has-children:hover > .sub-menu,
	.navbar .menu-item-has-children:focus-within > .sub-menu { display: block; }
	.navbar .sub-menu a { display: block; padding: .5rem .75rem; border-radius: .45rem; color: var(--ecs-ink); white-space: nowrap; }
	.navbar .sub-menu a:hover, .navbar .sub-menu a:focus { background: var(--ecs-blue-soft); color: var(--ecs-blue); }
}

/* Mobile drawer */
.offcanvas { background: #fff; }
@media (max-width: 991.98px) {
	.offcanvas-body .navbar-nav .nav-link { padding: .7rem .25rem; border-bottom: 1px solid var(--ecs-line); }
	.offcanvas-body .sub-menu { padding: .25rem 0 .5rem .9rem; }
	.offcanvas-body .sub-menu .nav-link { border-bottom: 0; font-weight: 500; padding: .45rem .25rem; }
}

/* ============================================================== Sections */
.section { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.section-tight { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-intro { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.page-intro h1 { margin-bottom: 1rem; }

/* Hero (cinematic single hero — replaces the legacy carousel/banner stack) */
.ecs-hero {
	background: linear-gradient(180deg, var(--ecs-charcoal), var(--ecs-charcoal-deep));
	color: #fff; border-radius: 1rem; overflow: hidden;
	padding: clamp(2rem, 1.5rem + 4vw, 4.5rem);
}
.ecs-hero h1 { color: #fff; }
.ecs-hero p { color: rgba(255,255,255,.85); }

/* Full-bleed homepage hero (image background) */
.ecs-hero-full {
	position: relative; display: flex; align-items: center;
	min-height: min(90vh, 840px);
	background: var(--ecs-ink) center / cover no-repeat;
	color: #fff;
}
.ecs-hero-full::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(27,25,22,.92) 0%, rgba(27,25,22,.62) 48%, rgba(27,25,22,.28) 100%);
}
.ecs-hero-full__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 2rem + 6vw, 6rem); width: 100%; }
.ecs-hero-full h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.6rem); }
.ecs-hero-full .lead { color: rgba(255,255,255,.9); }

/* Hero pill, trust badges + enquiry card */
.ecs-hero-pill { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); border-radius: 999px; padding: .4rem .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.ecs-hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ecs-khaki); }
.ecs-herobadges { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; max-width: 32rem; }
.ecs-herobadges li { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: rgba(20,18,16,.55); color: #fff; font-size: .85rem; font-weight: 600; }
.ecs-herobadges i { color: var(--ecs-khaki); width: 1.1rem; text-align: center; }

.ecs-herocard { background: #fff; border-radius: 18px; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.32); padding: 1.6rem; color: var(--ecs-body); }
.ecs-herocard .form-label { font-size: .8rem; font-weight: 600; color: var(--ecs-charcoal); }
.ecs-herocard .req { color: var(--ecs-khaki-dark); }
.ecs-herocard__steps { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ecs-muted); }
.ecs-herocard__steps .on { color: var(--ecs-khaki-dark); font-weight: 700; }
.ecs-herocard__steps .line { flex: 0 0 1.5rem; height: 1px; background: var(--ecs-line); }
.ecs-herocard__foot { font-size: .72rem; color: var(--ecs-muted); text-align: center; }
.ecs-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.ecs-pill { cursor: pointer; border: 1px solid var(--ecs-line); border-radius: 999px; padding: .4rem .9rem; font-size: .82rem; margin: 0; transition: .15s; }
.ecs-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.ecs-pill:has(:checked) { border-color: var(--ecs-khaki); background: var(--ecs-blue-soft); color: var(--ecs-khaki-dark); font-weight: 600; }
.ecs-pill:has(:focus-visible) { outline: 2px solid rgba(168,152,111,.6); outline-offset: 2px; }
.ecs-hp { position: absolute !important; left: -9999px; width: 0; height: 0; opacity: 0; }

/* Auto-scrolling brand marquee (dark editorial strip under the hero) */
.ecs-logobar { position: relative; background: var(--ecs-charcoal-deep); border-block: 1px solid rgba(168,152,111,.22); padding-block: 1.5rem; overflow: hidden; }
.ecs-logobar::before {
	content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ecs-logobar__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 2rem; padding-inline: clamp(1rem, .5rem + 2vw, 2rem); }
.ecs-logobar__label { flex-shrink: 0; font-size: .68rem; letter-spacing: .24em; text-transform: lowercase; color: var(--ecs-khaki); font-weight: 500; }
.ecs-logobar__divider { flex-shrink: 0; width: 1px; height: 1rem; background: rgba(168,152,111,.3); }
.ecs-marquee { flex: 1 1 auto; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ecs-marquee__track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: ecs-marquee 120s linear infinite; }
.ecs-marquee:hover .ecs-marquee__track { animation-play-state: paused; }
.ecs-logo { font-family: var(--ecs-serif); font-size: 1.35rem; color: #fff; white-space: nowrap; letter-spacing: .04em; display: inline-flex; align-items: center; }
.ecs-logo__dot { width: 4px; height: 4px; background: rgba(168,152,111,.6); display: inline-block; margin-left: 3.5rem; }
@keyframes ecs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ecs-marquee__track { animation: none; } }

/* Brand partners strip */
.ecs-brands img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .65; transition: .2s; }
.ecs-brands img:hover { filter: none; opacity: 1; }

/* ============================================================ Product cards */
.ecs-product-grid { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.ecs-card {
	background: #fff;
	border: 1px solid var(--ecs-line) !important;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 27, 45, .04);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.ecs-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 .9rem 1.75rem rgba(15, 27, 45, .12);
	border-color: #cdd9e8 !important;
}
.ecs-card__media {
	display: block; background: var(--ecs-surface); padding: 1.25rem;
	border-bottom: 1px solid var(--ecs-line);
}
.ecs-card__media img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.ecs-card__title { font-family: var(--ecs-serif); font-size: 1.4rem; font-weight: 600; margin-bottom: .35rem; line-height: 1.2; }
.ecs-card__title a { color: var(--ecs-ink); }
.ecs-card__title a:hover { color: var(--ecs-khaki); }
.ecs-card__eyebrow { color: var(--ecs-accent-dark); font-weight: 700; margin-bottom: .5rem; }
.ecs-card__body {
	color: var(--ecs-muted); font-size: .925rem; line-height: 1.5; white-space: pre-line;
	display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================= FAQ accordion */
.accordion {
	--bs-accordion-border-color: var(--ecs-line);
	--bs-accordion-active-bg: var(--ecs-blue-soft);
	--bs-accordion-active-color: var(--ecs-blue);
	--bs-accordion-btn-focus-box-shadow: none;
}
.accordion-item { margin-bottom: .6rem; border-radius: 10px !important; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--ecs-ink); }

/* ================================================================== Footer */
.site-footer { background: var(--ecs-ink) !important; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer, .site-footer address { color: rgba(255,255,255,.72); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.ecs-social a {
	display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: .2s;
}
.ecs-social a:hover { background: var(--ecs-accent); color: var(--ecs-ink); }

/* ==================================================================== Forms */
.form-control, .form-select {
	border-radius: .625rem; border-color: var(--ecs-line); padding: .7rem .9rem;
}
.form-control:focus, .form-select:focus {
	border-color: var(--ecs-khaki); box-shadow: 0 0 0 .2rem rgba(168, 152, 111, .25);
}

/* ============================================== Sticky mobile call bar (proposal §6.4/§7) */
.ecs-callbar { display: none; }
@media (max-width: 991.98px) {
	.ecs-callbar {
		display: flex; position: fixed; inset: auto 0 0 0; z-index: 1040;
		background: var(--ecs-ink); box-shadow: 0 -2px 12px rgba(0,0,0,.25);
	}
	.ecs-callbar a {
		flex: 1; text-align: center; color: #fff; font-weight: 700; padding: .85rem .5rem;
		min-height: 48px; display: flex; align-items: center; justify-content: center; gap: .4rem;
	}
	.ecs-callbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
	.ecs-callbar a.is-accent { background: var(--ecs-accent); color: var(--ecs-ink); }
	body { padding-bottom: 56px; }
}

/* ======================================= Editorial nav + drawer (client reference) */
.ecs-nav { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid rgba(43,41,38,.1); }
.ecs-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; max-width: 1400px; margin: 0 auto; padding: .9rem 1.4rem; }
.ecs-nav__brand { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.brand-mark { font-family: var(--ecs-serif); font-size: 2.2rem; letter-spacing: .06em; color: var(--ecs-charcoal); font-weight: 500; }
.ecs-nav__brand:hover .brand-mark { color: var(--ecs-khaki); }
.brand-est { font-size: .5rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ecs-khaki); font-weight: 600; }
.ecs-nav__links ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.ecs-nav__links a { position: relative; display: inline-block; font-size: .9rem; letter-spacing: .12em; font-weight: 500; text-transform: lowercase; color: var(--ecs-charcoal); padding: .25rem 0; background: none; }
.ecs-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ecs-khaki); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.ecs-nav__links a:hover { color: var(--ecs-khaki); background: none; }
.ecs-nav__links a:hover::after, .ecs-nav__links .current-menu-item > a::after { transform: scaleX(1); }
/* Desktop dropdowns (editorial) */
.ecs-nav__links .menu-item-has-children { position: relative; }
.ecs-nav__links .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 230px; display: none; z-index: 1031;
	margin: 0; padding: .4rem; background: #fff; border: 1px solid var(--ecs-line); border-radius: 4px;
	box-shadow: 0 .9rem 1.75rem rgba(43,41,38,.14);
}
.ecs-nav__links .menu-item-has-children:hover > .sub-menu,
.ecs-nav__links .menu-item-has-children:focus-within > .sub-menu { display: block; }
.ecs-nav__links .sub-menu a { display: block; padding: .5rem .7rem; font-size: .7rem; letter-spacing: .1em; text-transform: lowercase; color: var(--ecs-charcoal); white-space: nowrap; }
.ecs-nav__links .sub-menu a::after { display: none; }
.ecs-nav__links .sub-menu a:hover { color: var(--ecs-khaki); background: var(--ecs-blue-soft); }
.ecs-nav__actions { display: flex; align-items: center; gap: .9rem; }
.ecs-nav__phone { font-size: .75rem; letter-spacing: .18em; color: var(--ecs-khaki); font-weight: 500; }
.ecs-nav__divider { width: 1px; height: 10px; background: rgba(43,41,38,.2); }
.ecs-nav__enquire { font-size: .9rem; letter-spacing: .12em; color: var(--ecs-khaki); font-weight: 500; text-transform: lowercase; }
.ecs-nav__enquire:hover { color: var(--ecs-charcoal); }
.ecs-nav__burger { display: none; flex-direction: column; gap: 3px; width: 20px; padding: 4px 0; background: none; border: 0; cursor: pointer; }
.ecs-nav__burger span { display: block; height: 1px; width: 18px; background: var(--ecs-khaki); }
@media (max-width: 767.98px) {
	.ecs-nav__links, .ecs-nav__actions { display: none; }
	.ecs-nav__burger { display: flex; }
}

.ecs-drawer { position: fixed; inset: 0; z-index: 1060; background: var(--ecs-charcoal-deep); color: #fff; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.ecs-drawer.is-open { opacity: 1; pointer-events: auto; }
.ecs-drawer__grain { position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ecs-drawer__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 1.75rem 2rem; }
.ecs-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.ecs-drawer__top .brand-mark { color: #fff; }
.ecs-drawer__close { background: none; border: 0; color: var(--ecs-khaki); cursor: pointer; padding: .25rem; line-height: 0; }
.ecs-drawer__menu { flex: 1; display: flex; align-items: center; }
.ecs-drawer-list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 1.5rem; counter-reset: ecsnav; }
.ecs-drawer-list li { counter-increment: ecsnav; }
.ecs-drawer-list a { display: flex; align-items: baseline; gap: 1rem; color: #fff; text-decoration: none; font-family: var(--ecs-serif); font-size: clamp(2rem, 1.2rem + 4vw, 2.5rem); font-weight: 300; line-height: 1; text-transform: lowercase; }
.ecs-drawer-list a::before { content: counter(ecsnav, decimal-leading-zero); font-family: var(--bs-body-font-family); font-size: .625rem; letter-spacing: .24em; color: var(--ecs-khaki); font-weight: 600; min-width: 2rem; }
.ecs-drawer-list a:hover { color: var(--ecs-khaki); }
.ecs-drawer__contact { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; font-size: .7rem; letter-spacing: .16em; color: rgba(255,255,255,.6); }
.ecs-drawer__contact a { color: var(--ecs-khaki); text-decoration: none; }
.ecs-drawer__contact .muted { color: rgba(255,255,255,.4); }
body.drawer-open { overflow: hidden; }

/* Section heading (editorial) + sectors grid */
.ecs-shead { text-align: center; margin-bottom: 2.5rem; }
.ecs-shead__eyebrow { font-size: .68rem; letter-spacing: .24em; text-transform: lowercase; color: var(--ecs-khaki); font-weight: 500; }
.ecs-shead__rule { width: 1.6rem; height: 1px; background: var(--ecs-khaki); margin: .85rem auto; }
.ecs-shead h2 { font-weight: 300; }
.ecs-sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(43,41,38,.08); border-block: 1px solid rgba(43,41,38,.08); }
.ecs-sector { background: #fff; padding: 1.5rem .75rem; text-align: center; transition: background .2s; }
.ecs-sector:hover { background: var(--ecs-surface); }
.ecs-sector--feat { background: var(--ecs-surface); }
.ecs-sector svg { width: 2rem; height: 2rem; margin: 0 auto .65rem; display: block; }
.ecs-sector h3 { font-family: var(--ecs-serif); font-size: 1.05rem; font-weight: 400; margin-bottom: .25rem; color: var(--ecs-charcoal); }
.ecs-sector p { font-size: .68rem; letter-spacing: .06em; color: rgba(43,41,38,.5); margin: 0; }
.ecs-sector p.is-khaki { color: var(--ecs-khaki); font-weight: 500; }
@media (min-width: 768px) { .ecs-sectors { grid-template-columns: repeat(5, 1fr); } }

/* Section heading — left-aligned row variant (heading + view-all) */
.ecs-shead--row { text-align: left; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.ecs-shead--row .ecs-shead__rule { margin-left: 0; }
.ecs-shead--row h2 { max-width: 28ch; }
.ecs-viewall { font-size: .68rem; letter-spacing: .16em; text-transform: lowercase; color: var(--ecs-charcoal); border-bottom: 1px solid var(--ecs-khaki); padding-bottom: 3px; font-weight: 600; white-space: nowrap; }
.ecs-viewall:hover { color: var(--ecs-khaki); }

/* Editorial image cards (intent: rent / buy / service) */
.ecs-icard { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid rgba(43,41,38,.1); overflow: hidden; text-decoration: none; }
.ecs-icard__media { position: relative; height: 210px; overflow: hidden; background: var(--ecs-surface); }
.ecs-icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ecs-icard:hover .ecs-icard__media img { transform: scale(1.06); }
.ecs-icard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,25,22,.7), rgba(27,25,22,.1) 55%, transparent); }
.ecs-icard__tag { position: absolute; top: .85rem; left: 1rem; z-index: 1; display: flex; align-items: center; gap: .5rem; font-size: .5rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.9); font-weight: 500; }
.ecs-icard__tag .dot { width: 6px; height: 6px; background: var(--ecs-khaki); display: inline-block; }
.ecs-icard__htitle { position: absolute; bottom: .85rem; left: 1rem; right: 1rem; z-index: 1; font-family: var(--ecs-serif); font-size: 1.45rem; color: #fff; line-height: 1.15; }
.ecs-icard__body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.ecs-icard__body p { font-size: .9rem; color: var(--ecs-muted); line-height: 1.6; }
.ecs-icard__rule { width: 1.5rem; height: 1px; background: rgba(168,152,111,.5); margin: .25rem 0 .85rem; }
.ecs-icard__link { margin-top: auto; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ecs-charcoal); font-weight: 600; }
.ecs-icard__link i { color: var(--ecs-khaki); margin-left: .4rem; }
.ecs-icard__bar { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ecs-khaki); transform: scaleX(0); transform-origin: left; transition: transform .7s ease; z-index: 2; }
.ecs-icard:hover .ecs-icard__bar { transform: scaleX(1); }

/* Testimonials — dark rotating quote */
.ecs-quotes { position: relative; background: var(--ecs-charcoal-deep); color: #fff; overflow: hidden; }
.ecs-quotes__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .2; }
.ecs-quotes::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ecs-charcoal-deep), rgba(27,25,22,.8), var(--ecs-charcoal-deep)); }
.ecs-quotes__inner { position: relative; z-index: 1; max-width: 60rem; margin: 0 auto; text-align: center; padding-inline: 1.5rem; }
.ecs-quotes__eyebrow { font-size: .65rem; letter-spacing: .28em; text-transform: lowercase; color: var(--ecs-khaki); font-weight: 500; }
.ecs-quotes__rule { width: 2rem; height: 1px; background: var(--ecs-khaki); margin: 1.25rem auto; }
.ecs-quote { margin: 0; }
.ecs-quote__text { font-family: var(--ecs-serif); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem); line-height: 1.25; letter-spacing: -.01em; color: #fff; margin: 0; }
.ecs-quote__who { font-family: var(--ecs-serif); font-style: italic; font-size: .95rem; color: rgba(255,255,255,.6); margin-top: 1.5rem; }
.ecs-quotes__nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.25rem; }
.ecs-quotes__arrow { width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,.3); background: none; color: var(--ecs-khaki); border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: .3s; }
.ecs-quotes__arrow:hover { background: var(--ecs-khaki); color: #fff; border-color: var(--ecs-khaki); }
.ecs-quotes__dots { display: flex; gap: .5rem; }
.ecs-quotes__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); border: 0; padding: 0; cursor: pointer; }
.ecs-quotes__dot.is-active { background: var(--ecs-khaki); }

/* Blog — numbered charcoal "equipment" cards */
.ecs-eq { position: relative; display: flex; flex-direction: column; height: 440px; background: var(--ecs-charcoal-deep); border: 1px solid rgba(43,41,38,.1); overflow: hidden; text-decoration: none; }
.ecs-eq__media { position: relative; flex: 1; overflow: hidden; background: var(--ecs-charcoal); }
.ecs-eq__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ecs-eq:hover .ecs-eq__media img { transform: scale(1.06); }
.ecs-eq__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,25,22,.45), transparent 55%); }
.ecs-eq__no { position: absolute; top: 1rem; left: 1rem; font-size: .55rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.9); font-weight: 500; }
.ecs-eq__bignum { position: absolute; top: .7rem; right: 1rem; font-family: var(--ecs-serif); font-size: 2.5rem; color: rgba(255,255,255,.22); font-weight: 300; line-height: 1; }
.ecs-eq__cat { position: absolute; bottom: 1rem; left: 1rem; font-size: .5rem; letter-spacing: .24em; text-transform: lowercase; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.4); padding: .25rem .5rem; }
.ecs-eq__body { position: relative; padding: 1.4rem 1.5rem; background: var(--ecs-charcoal-deep); color: #fff; }
.ecs-eq__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ecs-eq__title { font-family: var(--ecs-serif); font-size: 1.3rem; font-weight: 400; line-height: 1.15; margin-bottom: .5rem; color: #fff; }
.ecs-eq__excerpt { font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.6); margin: 0; }
.ecs-eq__arrow { flex-shrink: 0; width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); color: var(--ecs-khaki); transition: .5s; }
.ecs-eq:hover .ecs-eq__arrow { background: var(--ecs-khaki); color: #fff; border-color: var(--ecs-khaki); }
.ecs-eq__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ecs-khaki); transform: scaleX(0); transform-origin: left; transition: transform .7s ease; }
.ecs-eq:hover .ecs-eq__bar { transform: scaleX(1); }

/* Why ECS — split image + craft copy + stats */
.ecs-craft { display: grid; grid-template-columns: 1fr; background: #fff; }
@media (min-width: 992px) { .ecs-craft { grid-template-columns: 1fr 1fr; } }
.ecs-craft__media { position: relative; min-height: 260px; overflow: hidden; background: var(--ecs-surface); }
@media (min-width: 992px) { .ecs-craft__media { min-height: 380px; border-right: 1px solid var(--ecs-khaki); } }
.ecs-craft__media img { width: 100%; height: 100%; object-fit: cover; }
.ecs-craft__media::after { content: ""; position: absolute; inset: 0; background: rgba(27,25,22,.2); }
.ecs-craft__caption { position: absolute; bottom: .85rem; left: .85rem; z-index: 1; font-size: .55rem; letter-spacing: .2em; text-transform: lowercase; color: #fff; font-weight: 500; }
.ecs-craft__body { padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.ecs-craft__body h2 { font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 1.95rem); margin-bottom: 1.25rem; }
.ecs-craft__body p { font-size: .92rem; color: var(--ecs-muted); line-height: 1.75; margin-bottom: 1rem; }
.ecs-craft__stats { display: flex; gap: 2.5rem; border-top: 1px solid rgba(168,152,111,.4); padding-top: 1.5rem; margin-top: 1rem; }
.ecs-craft__stat .num { font-family: var(--ecs-serif); font-size: 1.9rem; color: var(--ecs-khaki); font-weight: 300; line-height: 1; }
.ecs-craft__stat .lbl { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ecs-muted); font-weight: 500; margin-top: .5rem; }

/* Coverage (dark, with map) */
.ecs-coverage { position: relative; background: var(--ecs-charcoal); color: #fff; overflow: hidden; }
.ecs-coverage::before { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ecs-coverage .container { position: relative; z-index: 1; }
.ecs-coverage h2 { color: #fff; font-weight: 300; }
.ecs-coverage__lead { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.ecs-coverage__map { width: 100%; max-width: 300px; height: auto; margin: 0 auto; display: block; }
.ecs-coverage__regions { border-top: 1px solid rgba(168,152,111,.3); padding-top: 1.5rem; margin-top: 1.5rem; }
.ecs-coverage__region .lbl { font-size: .58rem; letter-spacing: .24em; text-transform: lowercase; color: rgba(255,255,255,.45); font-weight: 500; }
.ecs-coverage__region a { font-size: .95rem; color: #fff; text-decoration: none; }
.ecs-coverage__region a:hover { color: var(--ecs-khaki); }

/* FAQ accordion (editorial) */
.ecs-faq__q { border-top: 1px solid rgba(43,41,38,.1); }
.ecs-faq__q:last-child { border-bottom: 1px solid rgba(43,41,38,.1); }
.ecs-faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; background: none; border: 0; cursor: pointer; }
.ecs-faq__qt { font-family: var(--ecs-serif); font-size: 1.1rem; color: var(--ecs-charcoal); line-height: 1.3; transition: color .2s; }
.ecs-faq__btn:hover .ecs-faq__qt, .ecs-faq__q.is-open .ecs-faq__qt { color: var(--ecs-khaki); }
.ecs-faq__icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; color: var(--ecs-khaki); }
.ecs-faq__icon::before, .ecs-faq__icon::after { content: ""; position: absolute; background: currentColor; }
.ecs-faq__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.ecs-faq__icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); transition: transform .3s; }
.ecs-faq__q.is-open .ecs-faq__icon::after { transform: translateX(-50%) scaleY(0); }
.ecs-faq__a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.ecs-faq__a-in { padding-bottom: 1.25rem; }
.ecs-faq__a p { font-size: .85rem; color: var(--ecs-muted); line-height: 1.75; max-width: 560px; margin: 0; }

/* Contact section */
.ecs-contact { background: #f3efe7; }
.ecs-contact h2 { font-weight: 300; }
.ecs-contact__lead { font-size: .9rem; color: var(--ecs-muted); line-height: 1.75; }
.ecs-contact__meta { border-top: 1px solid rgba(168,152,111,.35); padding-top: 1.5rem; }
.ecs-contact__meta .lbl { font-size: .58rem; letter-spacing: .24em; text-transform: lowercase; color: rgba(43,41,38,.5); font-weight: 500; }
.ecs-contact__card { background: #fff; border: 1px solid rgba(168,152,111,.25); padding: clamp(1.75rem, 1.5rem + 2vw, 2.5rem); }
.ecs-field { display: block; }
.ecs-field > span { font-size: .58rem; letter-spacing: .22em; text-transform: lowercase; color: rgba(43,41,38,.5); font-weight: 500; }
.ecs-field input, .ecs-field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(43,41,38,.2); border-radius: 0; padding: .7rem 0; font-size: .9rem; color: var(--ecs-charcoal); outline: none; transition: border-color .2s; }
.ecs-field input:focus, .ecs-field textarea:focus { border-color: var(--ecs-khaki); box-shadow: none; }
.ecs-field textarea { resize: none; }
.ecs-contact__submit { background: var(--ecs-charcoal); color: #fff; border: 0; padding: .85rem 1.6rem; font-size: .7rem; letter-spacing: .18em; text-transform: lowercase; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; transition: background .3s, color .3s; }
.ecs-contact__submit:hover { background: var(--ecs-khaki); color: var(--ecs-charcoal); }

/* Footer (editorial) */
.site-footer { position: relative; background: var(--ecs-charcoal-deep) !important; overflow: hidden; padding-block: 4rem 1.75rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.site-footer .container { position: relative; z-index: 1; }
.ecs-foot__tagline { font-family: var(--ecs-serif); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.6rem); color: rgba(255,255,255,.8); line-height: 1.3; max-width: 30rem; }
.ecs-foot__news .kicker { font-size: .58rem; letter-spacing: .24em; text-transform: lowercase; color: rgba(255,255,255,.4); font-weight: 500; }
.ecs-foot__newsrow { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; border-bottom: 1px solid rgba(255,255,255,.2); transition: border-color .2s; }
.ecs-foot__newsrow:focus-within { border-color: var(--ecs-khaki); }
.ecs-foot__newsrow input { flex: 1; background: transparent; border: 0; color: #fff; font-size: .8rem; padding: .7rem 0; outline: none; }
.ecs-foot__newsrow button { background: none; border: 0; color: var(--ecs-khaki); cursor: pointer; }
.ecs-foot__newsrow button:hover { color: #fff; }
.ecs-foot__col .lbl { font-size: .58rem; letter-spacing: .24em; text-transform: lowercase; color: rgba(255,255,255,.4); font-weight: 500; }
.ecs-foot__col p, .ecs-foot__col a { font-size: .8rem; color: rgba(255,255,255,.7); text-decoration: none; }
.ecs-foot__col a:hover { color: var(--ecs-khaki); }
.ecs-foot__bottom { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; margin-top: 2.5rem; }
.ecs-foot__bottom, .ecs-foot__bottom a { font-size: .6rem; letter-spacing: .2em; text-transform: lowercase; color: rgba(255,255,255,.35); text-decoration: none; }
.ecs-foot__bottom a:hover { color: var(--ecs-khaki); }
.ecs-foot__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Inner-page hero + breadcrumb + CTA band */
.ecs-phero { position: relative; overflow: hidden; background: var(--ecs-charcoal-deep); color: #fff; padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem); }
.ecs-phero::before { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ecs-phero .container { position: relative; z-index: 1; }
.ecs-phero__eyebrow { font-size: .68rem; letter-spacing: .24em; text-transform: lowercase; color: var(--ecs-khaki); font-weight: 500; }
.ecs-phero__rule { width: 1.6rem; height: 1px; background: var(--ecs-khaki); margin: .85rem 0; }
.ecs-phero h1 { color: #fff; font-weight: 300; margin-bottom: 1rem; }
.ecs-phero__intro { color: rgba(255,255,255,.7); max-width: 62ch; }
.ecs-breadcrumb { font-size: .62rem; letter-spacing: .18em; text-transform: lowercase; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; }
.ecs-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.ecs-breadcrumb a:hover { color: var(--ecs-khaki); }
.ecs-breadcrumb .sep { margin: 0 .5rem; color: rgba(255,255,255,.3); }

.ecs-cta { position: relative; overflow: hidden; background: var(--ecs-charcoal); color: #fff; padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem); }
.ecs-cta::before { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ecs-cta .container { position: relative; z-index: 1; }
.ecs-cta h2 { color: #fff; font-weight: 300; }
.ecs-cta__lead { color: rgba(255,255,255,.65); max-width: 48ch; }

/* Single product */
.ecs-single { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.ecs-breadcrumb--light { color: var(--ecs-muted); }
.ecs-breadcrumb--light a { color: var(--ecs-muted); }
.ecs-breadcrumb--light a:hover { color: var(--ecs-khaki); }
.ecs-breadcrumb--light .sep { color: rgba(43,41,38,.3); }
.ecs-single__media { background: var(--ecs-surface); border: 1px solid var(--ecs-line); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.ecs-single__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.ecs-single__eyebrow { font-size: .68rem; letter-spacing: .24em; text-transform: lowercase; color: var(--ecs-khaki); font-weight: 500; }
.ecs-single__price { font-family: var(--ecs-serif); color: var(--ecs-khaki-dark); font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }
.ecs-single__spec { white-space: pre-line; color: var(--ecs-muted); line-height: 1.7; }

/* Post card (blog / news listing) */
.ecs-postcard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ecs-line); overflow: hidden; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.ecs-postcard:hover { transform: translateY(-4px); box-shadow: 0 .9rem 1.75rem rgba(15,27,45,.1); }
.ecs-postcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ecs-surface); }
.ecs-postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.ecs-postcard:hover .ecs-postcard__media img { transform: scale(1.05); }
.ecs-postcard__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ecs-postcard__cat { font-size: .6rem; letter-spacing: .2em; text-transform: lowercase; color: var(--ecs-khaki-dark); font-weight: 600; margin-bottom: .5rem; }
.ecs-postcard__title { font-family: var(--ecs-serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; color: var(--ecs-ink); margin-bottom: .5rem; transition: color .2s; }
.ecs-postcard:hover .ecs-postcard__title { color: var(--ecs-khaki); }
.ecs-postcard__excerpt { font-size: .85rem; color: var(--ecs-muted); line-height: 1.6; margin-bottom: 1rem; }
.ecs-postcard__meta { margin-top: auto; font-size: .65rem; letter-spacing: .12em; text-transform: lowercase; color: var(--ecs-muted); }

/* Article (single post) */
.ecs-article__header { padding-top: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.ecs-article__cat { font-size: .65rem; letter-spacing: .22em; text-transform: lowercase; color: var(--ecs-khaki-dark); font-weight: 600; }
.ecs-article__meta { font-size: .7rem; letter-spacing: .1em; color: var(--ecs-muted); margin-top: .75rem; }
.ecs-article__media { margin-top: 2rem; }
.ecs-article__media img { width: 100%; height: auto; border: 1px solid var(--ecs-line); }

/* Pagination */
.ecs-pagination .page-numbers { display: inline-flex; min-width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; padding: 0 .6rem; margin: 0 .15rem; border: 1px solid var(--ecs-line); color: var(--ecs-charcoal); text-decoration: none; font-size: .8rem; }
.ecs-pagination .page-numbers.current { background: var(--ecs-charcoal); color: #fff; border-color: var(--ecs-charcoal); }
.ecs-pagination .page-numbers:hover { border-color: var(--ecs-khaki); color: var(--ecs-khaki); }
.ecs-pagination .pagination { gap: 0; flex-wrap: wrap; justify-content: center; }

/* Enquiry funnel */
.ecs-fnl { background: #fff; border: 1px solid var(--ecs-line); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); color: var(--ecs-body); }
.ecs-fnl .ecs-pill { color: var(--ecs-body); }
.ecs-fnl .ecs-field span { color: var(--ecs-muted); }
.ecs-fnl .ecs-field input, .ecs-fnl .ecs-field textarea { color: var(--ecs-ink); }
.ecs-fnl__progress { height: 3px; background: var(--ecs-line); margin-bottom: .75rem; }
.ecs-fnl__bar { display: block; height: 100%; width: 20%; background: var(--ecs-khaki); transition: width .3s ease; }
.ecs-fnl__steplabel { font-size: .6rem; letter-spacing: .2em; text-transform: lowercase; color: var(--ecs-muted); margin-bottom: 1.25rem; }
.ecs-fnl__q { font-family: var(--ecs-serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--ecs-ink); }
.ecs-fnl__sub { font-size: .7rem; letter-spacing: .12em; text-transform: lowercase; color: var(--ecs-muted); margin-bottom: .5rem; }
.ecs-fnl__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.ecs-fnl__tile { position: relative; cursor: pointer; border: 1px solid var(--ecs-line); padding: 1.25rem 1rem; text-align: center; font-family: var(--ecs-serif); font-size: 1.1rem; color: var(--ecs-ink); transition: .15s; }
.ecs-fnl__tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.ecs-fnl__tile:hover { border-color: var(--ecs-khaki); }
.ecs-fnl__tile:has(:checked) { border-color: var(--ecs-khaki); background: var(--ecs-blue-soft); color: var(--ecs-khaki-dark); }
.ecs-fnl__tile:has(:focus-visible) { outline: 2px solid rgba(168,152,111,.6); outline-offset: 2px; }
.ecs-fnl__check { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ecs-body); cursor: pointer; }
.ecs-fnl__nav { display: flex; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.ecs-fnl__err { color: #b3261e; font-size: .85rem; margin-top: .75rem; }
.ecs-fnl__success { text-align: center; padding: 2rem 1rem; }
.ecs-fnl__tick { width: 3rem; height: 3rem; border-radius: 50%; background: var(--ecs-khaki); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 1rem; }
.ecs-fnl__success h3 { font-weight: 500; }
.ecs-hero-full .ecs-fnl { box-shadow: 0 1.5rem 3rem rgba(0,0,0,.3); }
html { scroll-padding-top: 90px; }

/* Designed feature strip (services / about hybrid tops) */
.ecs-feat { border-top: 2px solid var(--ecs-khaki); padding-top: 1.25rem; height: 100%; }
.ecs-feat__no { font-family: var(--ecs-serif); font-size: 1.1rem; color: var(--ecs-khaki); letter-spacing: .12em; }
.ecs-feat__t { font-family: var(--ecs-serif); font-weight: 500; font-size: 1.4rem; margin: .4rem 0 .6rem; color: var(--ecs-ink); }
.ecs-feat__b { color: var(--ecs-body); font-size: .95rem; line-height: 1.7; }
.ecs-stats { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ecs-line); }
.ecs-stat { display: flex; flex-direction: column; }
.ecs-stat__n { font-family: var(--ecs-serif); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--ecs-ink); }
.ecs-stat__l { font-size: .68rem; letter-spacing: .18em; text-transform: lowercase; color: var(--ecs-muted); margin-top: .5rem; }

/* Tables inside imported content (e.g. Ergoline error codes) */
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--ecs-line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child td { background: var(--ecs-surface); font-weight: 600; }
.entry-content img { max-width: 100%; height: auto; }

/* Gallery page — full-width image grid (native [gallery]) + lightbox */
.entry-content--gallery { max-width: none; }
.entry-content--gallery > p, .entry-content--gallery > h2, .entry-content--gallery > h3 { max-width: 72ch; margin-inline: auto; }
.entry-content--gallery .gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 2.5rem 0; }
.entry-content--gallery .gallery br { display: none; }
.entry-content--gallery .gallery-item { width: auto !important; margin: 0 !important; float: none !important; }
.entry-content--gallery .gallery-icon { margin: 0; }
.entry-content--gallery .gallery-item img { width: 100%; height: 260px; object-fit: cover; border: 1px solid var(--ecs-line) !important; border-radius: 2px; cursor: pointer; transition: opacity .25s, transform .25s; }
.entry-content--gallery .gallery-item img:hover { opacity: .9; }
.entry-content--gallery .gallery-caption { display: none; }

.ecs-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(15,14,12,.94); display: none; align-items: center; justify-content: center; }
.ecs-lightbox.is-open { display: flex; }
.ecs-lightbox img { max-width: 92vw; max-height: 88vh; box-shadow: 0 1rem 4rem rgba(0,0,0,.5); }
.ecs-lightbox button { position: absolute; color: #fff; background: none; border: 0; cursor: pointer; opacity: .8; padding: 1rem; line-height: 1; }
.ecs-lightbox button:hover { opacity: 1; }
.ecs-lightbox__close { top: .5rem; right: 1rem; font-size: 2rem; }
.ecs-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.ecs-lightbox__nav.prev { left: .5rem; }
.ecs-lightbox__nav.next { right: .5rem; }

/* Earnings / ROI calculator */
.ecs-calc__title { font-family: var(--ecs-serif); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2rem); line-height: 1.15; color: var(--ecs-ink); margin-bottom: 1rem; }
.ecs-calc__intro { font-size: .95rem; color: var(--ecs-body); line-height: 1.7; max-width: 46ch; margin-bottom: 1.75rem; }
.ecs-calc__row { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.ecs-calc__label { width: 130px; flex: none; font-size: .7rem; letter-spacing: .12em; text-transform: lowercase; color: var(--ecs-muted); font-weight: 500; }
.ecs-calc__val { width: 62px; flex: none; text-align: right; font-family: var(--ecs-serif); font-size: 1.25rem; color: var(--ecs-ink); }
.ecs-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 2px; background: var(--ecs-line); outline: none; cursor: pointer; }
.ecs-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--ecs-khaki); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ecs-khaki); }
.ecs-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ecs-khaki); border: 2px solid #fff; }
.ecs-calc__result { background: var(--ecs-paper); border: 1px solid var(--ecs-khaki); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.ecs-calc__rlabel { font-size: .64rem; letter-spacing: .24em; text-transform: lowercase; color: var(--ecs-muted); font-weight: 500; }
.ecs-calc__rev { font-family: var(--ecs-serif); font-weight: 300; font-size: clamp(2.8rem, 2rem + 3vw, 3.4rem); line-height: 1; color: var(--ecs-ink); margin: .35rem 0 1.1rem; }
.ecs-calc__hr { height: 1px; background: rgba(168,152,111,.4); margin-bottom: 1.1rem; }
.ecs-calc__line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.ecs-calc__line > span:first-child { font-size: .72rem; letter-spacing: .1em; color: var(--ecs-muted); }
.ecs-calc__line > span:last-child { font-family: var(--ecs-serif); font-size: 1.15rem; color: var(--ecs-ink); }
.ecs-calc__line--net { border-top: 1px solid var(--ecs-line); padding-top: .8rem; margin-bottom: 0; }
.ecs-calc__line--net > span:first-child { font-weight: 600; color: var(--ecs-body); }
.ecs-calc__net { color: var(--ecs-khaki) !important; font-size: 1.45rem !important; }
.ecs-calc__note { font-size: .72rem; letter-spacing: .03em; color: var(--ecs-muted); margin: 1.2rem 0 0; line-height: 1.65; }
.ecs-calc__note a { color: var(--ecs-khaki-dark); white-space: nowrap; }
