/* =========================================================================
   Eminent — design system
   Reference comp: 1440px viewport / 1140px container. All sizes below were
   measured off that comp and expressed fluidly so they scale to any width.
   ========================================================================= */

:root {
	/* Brand */
	--e-green:        #6fae3b;
	--e-green-dark:   #5d9430;
	--e-maroon:       #510006;
	--e-navy:         #01091c;

	/* Surfaces */
	--e-bg:           #ffffff;
	--e-bg-alt:       #f6f8f3;
	--e-border:       #e9ebe4;

	/* Ink */
	--e-heading:      #0d0d0d;
	--e-body:         #3b3b3d;
	--e-on-dark:      #ffffff;
	--e-on-dark-soft: rgba(255, 255, 255, 0.78);

	/* Type */
	--e-font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
	--e-font-sans:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--e-fs-h1:     clamp(2.25rem, 1.282rem + 4.131vw, 5rem);      /* 36 -> 80 */
	--e-fs-h2:     clamp(1.75rem, 1.486rem + 1.127vw, 2.5rem);    /* 28 -> 40 */
	--e-fs-body:   clamp(1rem, 0.956rem + 0.188vw, 1.125rem);     /* 16 -> 18 */
	--e-fs-eyebrow:clamp(0.875rem, 0.831rem + 0.188vw, 1rem);     /* 14 -> 16 */
	--e-fs-stat:   clamp(1.875rem, 1.743rem + 0.563vw, 2.25rem);  /* 30 -> 36 */

	/* Layout */
	--e-container: 1140px;
	--e-gutter:    24px;
	--e-header-h:  106px;
	--e-radius:    6px;
}

/* ---------- Base ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--e-bg);
	color: var(--e-body);
	font-family: var(--e-font-sans);
	font-size: var(--e-fs-body);
	line-height: 1.78;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--e-green); }

h1, h2, h3, h4 {
	margin: 0;
	color: var(--e-heading);
	font-weight: 700;
	line-height: 1.3;
}

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
	outline: 2px solid var(--e-green);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 12px; left: 12px;
	z-index: 999;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	padding: 12px 20px;
	background: var(--e-green); color: #fff;
	border-radius: var(--e-radius);
}

/* ---------- Parent theme overrides ---------------------------------------
   Hello Elementor's theme.css caps .site-header / .site-main / .site-footer at
   1140px and adds its own inline padding, which would stop our sections going
   edge to edge. Width is handled by .container instead.
   ------------------------------------------------------------------------- */

/* Header and footer are ours everywhere, so they are never constrained. */
.site-header:not(.dynamic-header),
.site-footer:not(.dynamic-footer) {
	max-width: none;
	padding-inline: 0;
}

/* Templates that lay out their own full-bleed sections (home + the custom page
   templates) drop the 1140px cap; width is handled by .container inside them. */
body.eminent-full:not([class*="elementor-page-"]) .site-main {
	max-width: none;
	padding-inline: 0;
}

/* Everything else (posts, 404, Elementor pages) keeps Hello's reading column and
   gains the vertical breathing room Hello does not provide. */
body:not(.eminent-full):not([class*="elementor-page-"]) .site-main { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* reset.css italicises every figcaption. */
figcaption { font-style: normal; }

/* ---------- Layout primitives -------------------------------------------- */

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

.section { padding-block: clamp(3.5rem, 5.3vw, 4.75rem); }          /* 56 -> 76 */
.section--alt { background: var(--e-bg-alt); }

.section__title { font-size: var(--e-fs-h2); letter-spacing: -0.015em; }
.section__title--center { text-align: center; }

.section__lead {
	max-width: 1100px;
	margin-inline: auto;
	text-align: center;
	line-height: 1.78;
}

.eyebrow {
	margin: 0 0 0.55em;
	color: var(--e-green);
	font-size: var(--e-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* ---------- Buttons ------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn--primary { background: var(--e-green); color: #fff; }
.btn--primary:hover { background: var(--e-green-dark); color: #fff; }
.btn--primary:active { transform: translateY(1px); }

/* ---------- Header -------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 30;
	background: #fff;
}

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

.brand { flex: 0 0 auto; display: block; }
.brand__img { width: 171px; height: auto; }

.nav {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.4vw, 34px);
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.2vw, 32px);
}

.nav__list a {
	display: inline-block;
	font-size: 0.9375rem;           /* 15px */
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--e-heading);
	transition: color 0.18s ease;
}

.nav__list .current-menu-item > a,
.nav__list a:hover { color: var(--e-green); }

.nav__cta { min-height: 49px; padding: 0 24px; }

/* Mobile toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 0 9px;
	background: none;
	border: 0;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	height: 2px;
	background: var(--e-heading);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
	position: fixed; inset: 0;
	z-index: 20;
	background: rgba(1, 9, 28, 0.45);
}
.nav-backdrop[hidden] { display: none; }

/* ---------- Hero ---------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 723px;
	background: var(--e-navy);
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0 0 0 auto;
	width: 51.8%;
}

.hero__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Blends the photo into the flat navy panel the headline sits on. */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		var(--e-navy) 0%,
		rgba(1, 9, 28, 0.72) 16%,
		rgba(1, 9, 28, 0.24) 42%,
		rgba(1, 9, 28, 0) 64%
	);
}

.hero__inner { position: relative; z-index: 2; }

.hero__title {
	max-width: 14ch;
	color: var(--e-on-dark);
	font-family: var(--e-font-display);
	font-size: var(--e-fs-h1);
	font-weight: 700;
	line-height: 1.375;
	text-transform: uppercase;
}

/* ---------- About --------------------------------------------------------- */

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 404px;
	gap: clamp(40px, 5.6vw, 80px);
	align-items: start;
}

.about__intro .section__title { margin-bottom: 0.6em; }

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

.stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 146px;
	padding: 24px 22px;
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	box-shadow: 0 1px 2px rgba(13, 13, 13, 0.04);
}

.stat__num {
	color: var(--e-green);
	font-size: var(--e-fs-stat);
	font-weight: 700;
	line-height: 1.2;
}

.stat__label {
	color: var(--e-heading);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.45;
}

/* ---------- Services ------------------------------------------------------ */

.services { padding-block: clamp(2.5rem, 3.2vw, 2.75rem) clamp(2.5rem, 3vw, 2.5rem); }

.services__head { margin-bottom: 36px; }
.services__head .section__title { margin-bottom: 16px; }

.services__carousel { position: relative; }

.services__track {
	display: flex;
	gap: 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Bleed the track to the container edges so card 4 peeks in, as designed. */
	padding-bottom: 4px;
}
.services__track::-webkit-scrollbar { display: none; }

.service {
	flex: 0 0 320px;
	scroll-snap-align: start;
}

.service__figure { margin: 0; }

.service__img {
	width: 100%;
	aspect-ratio: 320 / 393;
	object-fit: cover;
	border-radius: var(--e-radius);
}

.service__name {
	margin-top: 12px;
	font-style: normal;
	color: var(--e-heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
}

.services__nav {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 28px;
}

.carousel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	padding: 0;
	background: transparent;
	color: var(--e-green);
	border: 1px solid var(--e-green);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn svg { width: 22px; height: 22px; }

.carousel-btn--solid { background: var(--e-green); color: #fff; }

.carousel-btn:hover { background: var(--e-green); color: #fff; }

.carousel-btn[disabled] { opacity: 0.35; cursor: default; }
.carousel-btn[disabled]:hover { background: transparent; color: var(--e-green); }
.carousel-btn--solid[disabled]:hover { background: var(--e-green); color: #fff; }

/* ---------- Our Work ------------------------------------------------------ */

.our-work { padding-block: clamp(4rem, 6.9vw, 6.25rem); }           /* 64 -> 100 */

.our-work__grid {
	display: grid;
	grid-template-columns: minmax(0, 572fr) minmax(0, 527fr);
	gap: clamp(32px, 2.85vw, 41px);
	align-items: center;
}

.our-work__media { margin: 0; }

.our-work__media img {
	width: 100%;
	aspect-ratio: 572 / 588;
	object-fit: cover;
	border-radius: var(--e-radius);
}

.our-work__body .section__title { margin-bottom: 0.55em; }

.checklist {
	display: grid;
	gap: 22px;
	margin: 28px 0 32px;
}

.checklist li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 14px;
	align-items: start;
	line-height: 1.55;
}

.checklist__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px; height: 24px;
	margin-top: 2px;
	background: var(--e-green);
	color: #fff;
	border-radius: 50%;
}

.checklist__icon svg { width: 14px; height: 14px; }

/* ---------- Footer -------------------------------------------------------- */

.site-footer {
	padding-block: clamp(2.75rem, 3.5vw, 3.125rem) 0;
	background: var(--e-maroon);
	color: var(--e-on-dark-soft);
	font-size: 1rem;
	line-height: 1.75;
}

.footer__grid {
	display: grid;
	grid-template-columns: 385fr 226fr 294fr 235fr;
	gap: 32px;
	padding-bottom: 40px;
}

.footer__col--brand .brand { margin-bottom: 18px; }
.footer__col--brand .brand__img { width: 198px; }

/* .footer__tagline { max-width: 34ch; } */

.footer__heading {
	margin-bottom: 18px;
	color: var(--e-on-dark);
	font-size: 1.125rem;
	font-weight: 700;
}

.footer__links { display: grid; gap: 5px; }
.footer__links a,
.footer__contact a { color: var(--e-on-dark-soft); transition: color 0.18s ease; }
.footer__links a:hover,
.footer__contact a:hover { color: #fff; }

.footer__region {
	margin-bottom: 12px;
	color: var(--e-on-dark);
	font-weight: 700;
}

.footer__contact { display: grid; gap: 12px; }

.footer__contact li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
}

.footer__icon { display: inline-flex; margin-top: 4px; color: var(--e-on-dark); }
.footer__icon svg { width: 17px; height: 17px; }

.footer__copyright {
	margin: 0;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.875rem;
	text-align: center;
}
/* White panel behind the footer brand column */
.footer__col--brand {
	align-self: start;
	padding: 22px 24px;
	background: #fff;
	border-radius: var(--e-radius);
	color: var(--e-body);
}

.footer__col--brand .footer__tagline { color: var(--e-body); }

.footer__col--brand .brand {
    display: block;
    text-align: center;
    margin-bottom: 18px;
}

.footer__col--brand .brand__img {
    display: inline-block;
    width: 198px;
    height: auto;
}

.footer__col--brand .footer__tagline {
    text-align: left;
    margin: 0;
	margin-left: 10px;
}
/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 1199px) {
	.about__grid { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 991px) {
	:root { --e-header-h: 84px; }

	.nav-toggle { display: flex; }

	.nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		z-index: 25;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 24px 24px;
		background: #fff;
		border-top: 1px solid var(--e-border);
		box-shadow: 0 18px 40px rgba(1, 9, 28, 0.12);
		transform-origin: top;
		display: none;
	}

	.nav.is-open { display: flex; }

	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list li + li { border-top: 1px solid var(--e-border); }
	.nav__list a { padding: 14px 0; font-size: 1rem; }

	.nav__cta { margin-top: 18px; width: 100%; }

	.brand__img { width: 140px; }

	.hero { min-height: 560px; }
	.hero__media { width: 100%; }
	.hero__media::after {
		background: linear-gradient(
			90deg,
			var(--e-navy) 6%,
			rgba(1, 9, 28, 0.88) 42%,
			rgba(1, 9, 28, 0.62) 100%
		);
	}

	.about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.stats { max-width: 460px; }

	.our-work__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.our-work__media img { aspect-ratio: 16 / 11; }

	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
	.footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
	:root { --e-gutter: 20px; }

	.hero { min-height: 480px; }
	.hero__title { max-width: none; }

	.service { flex: 0 0 78%; }
	.services__track { gap: 20px; }
	.services__nav { justify-content: center; }

	.stats { grid-template-columns: minmax(0, 1fr); max-width: none; }
	.stat { min-height: 0; }

	.footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.footer__tagline { max-width: none; }

	.btn { width: 100%; }
	.our-work__body .btn { width: auto; }
}

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

/* =========================================================================
   Inner pages — services, service detail, about, contact
   ========================================================================= */

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

/* ---------- Page hero ----------------------------------------------------- */

.page-hero {
	padding-block: clamp(3rem, 5.5vw, 5rem);
	background:
		radial-gradient(120% 140% at 85% 0%, rgba(111, 174, 59, 0.18) 0%, rgba(1, 9, 28, 0) 60%),
		var(--e-navy);
	color: var(--e-on-dark);
}

.page-hero__title {
	max-width: 20ch;
	color: var(--e-on-dark);
	font-size: clamp(2rem, 1.53rem + 2.06vw, 3.375rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.page-hero__lead {
	max-width: 62ch;
	margin-top: 1rem;
	color: var(--e-on-dark-soft);
}

.eyebrow--light { color: #9fd16f; }

/* ---------- Breadcrumb ---------------------------------------------------- */

.breadcrumb {
	padding-block: 14px;
	border-bottom: 1px solid var(--e-border);
	font-size: 0.875rem;
	color: #6b6b6d;
}
.breadcrumb .container { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a:hover { color: var(--e-green); }
.breadcrumb [aria-current] { color: var(--e-heading); font-weight: 500; }

/* ---------- Rich text ----------------------------------------------------- */

.rich > * + * { margin-top: 1.1em; }
.rich__h2 { margin-top: 1.8em; font-size: clamp(1.375rem, 1.24rem + 0.56vw, 1.75rem); }
.rich__h3 { margin-top: 1.7em; font-size: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem); }

.tick-list { display: grid; gap: 10px; margin-top: 1.1em; }

.tick-list li {
	position: relative;
	padding-left: 30px;
	line-height: 1.55;
}

.tick-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.55em;
	width: 8px; height: 8px;
	margin-top: -4px;
	background: var(--e-green);
	border-radius: 2px;
}

/* ---------- Buttons (extra variant) --------------------------------------- */

.btn--ghost {
	background: transparent;
	color: var(--e-on-dark);
	border: 1px solid rgba(255, 255, 255, 0.38);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---------- Service detail ------------------------------------------------ */

.service-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.service-detail__hero { margin: 0 0 2rem; }

.service-detail__hero img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--e-radius);
}

.service-detail__aside { display: grid; gap: 20px; position: sticky; top: 24px; }

.aside-card {
	padding: 26px 24px;
	background: var(--e-bg-alt);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
}

.aside-card--dark {
	background: var(--e-maroon);
	border-color: var(--e-maroon);
	color: var(--e-on-dark-soft);
}
.aside-card--dark .aside-card__title { color: #fff; }
.aside-card--dark a { color: #fff; }

.aside-card__title {
	margin-bottom: 14px;
	font-size: 1.125rem;
	font-weight: 700;
}

.aside-card__list { display: grid; gap: 9px; font-size: 0.9375rem; }
.aside-card__list a:hover { color: var(--e-green); }

.aside-card__all {
	display: inline-block;
	margin-top: 16px;
	color: var(--e-green);
	font-size: 0.9375rem;
	font-weight: 700;
}

.aside-card__contact { display: grid; gap: 6px; margin: 14px 0 18px; font-weight: 500; }
.aside-card__meta { margin-top: 14px; font-size: 0.875rem; opacity: 0.85; }
.aside-card .btn { width: 100%; }

/* ---------- Gallery + lightbox -------------------------------------------- */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
	margin-top: 2.2rem;
}

.gallery__btn {
	display: block;
	width: 100%;
	padding: 0;
	background: none;
	border: 0;
	border-radius: var(--e-radius);
	overflow: hidden;
	cursor: zoom-in;
}

.gallery__btn img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.gallery__btn:hover img { transform: scale(1.04); }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(1, 9, 28, 0.92);
}
.lightbox[hidden] { display: none; }

.lightbox__img {
	max-width: min(1100px, 92vw);
	max-height: 86vh;
	object-fit: contain;
	border-radius: 4px;
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--e-green); }

.lightbox__close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 32px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---------- Services index ------------------------------------------------ */

.services-index__intro { max-width: 70ch; margin-bottom: 2.4rem; }

.services-index__jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 3rem;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--e-border);
}

.services-index__jump a {
	padding: 9px 16px;
	background: var(--e-bg-alt);
	border: 1px solid var(--e-border);
	border-radius: 100px;
	font-size: 0.875rem;
	font-weight: 500;
}
.services-index__jump a:hover { background: var(--e-green); border-color: var(--e-green); color: #fff; }

.services-group + .services-group { margin-top: 3.4rem; }

.services-group__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 1.4rem;
	padding-bottom: 0.8rem;
	border-bottom: 2px solid var(--e-green);
}

.services-group__title { font-size: clamp(1.375rem, 1.24rem + 0.56vw, 1.75rem); }
.services-group__count { color: #6b6b6d; font-size: 0.875rem; white-space: nowrap; }

.service-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
	gap: 22px;
}

.service-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card__link:hover {
	transform: translateY(-3px);
	border-color: #d6ddcc;
	box-shadow: 0 14px 30px rgba(13, 13, 13, 0.09);
}

.service-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }

.service-card__media--blank {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(90% 120% at 20% 0%, rgba(111, 174, 59, 0.22) 0%, rgba(1, 9, 28, 0) 65%),
		var(--e-navy);
	color: rgba(255, 255, 255, 0.55);
}
.service-card__mark svg { width: 42px; height: 42px; }

.service-card__body {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 20px 20px 22px;
}

.service-card__title { color: var(--e-heading); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.service-card__tagline { color: #5c5c5e; font-size: 0.9375rem; line-height: 1.5; flex: 1 1 auto; }
.service-card__more { color: var(--e-green); font-size: 0.875rem; font-weight: 700; }

/* ---------- About --------------------------------------------------------- */

.about-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: center;
}
.about-intro__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--e-radius); }

.stats-band { padding-block: clamp(2rem, 3vw, 2.75rem); background: var(--e-bg-alt); }
.stats--band { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--band .stat { min-height: 0; }

.feature-grid,
.industry-grid,
.location-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
	margin-top: 2.4rem;
}

.feature, .industry, .location {
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
}
.section--alt .feature,
.section--alt .industry,
.section--alt .location { background: #fff; }

.feature__title, .industry__title, .location__title {
	margin-bottom: 10px;
	font-size: 1.0625rem;
	font-weight: 700;
}
.feature__text, .industry__text { color: #5c5c5e; font-size: 0.9375rem; line-height: 1.65; }
.location__tagline { color: var(--e-green); font-weight: 700; font-size: 0.9375rem; }

.process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 22px;
	margin-top: 2.4rem;
	counter-reset: step;
}

.process__step {
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
}

.process__num {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--e-green);
	font-family: var(--e-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
}
.process__title { margin-bottom: 8px; font-size: 1.0625rem; }
.process__text { color: #5c5c5e; font-size: 0.9375rem; line-height: 1.65; }

/* ---------- Contact ------------------------------------------------------- */

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.contact__aside { display: grid; gap: 20px; }
.contact-list { display: grid; gap: 14px; margin: 16px 0 0; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.contact-list__icon { display: inline-flex; margin-top: 4px; color: #fff; }
.contact-list__icon svg { width: 17px; height: 17px; }

.form { margin-top: 1.6rem; display: grid; gap: 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__field { display: grid; gap: 7px; }
.form__label { font-size: 0.9375rem; font-weight: 500; color: var(--e-heading); }
.form__label em { color: var(--e-green); font-style: normal; }

.form input,
.form select,
.form textarea {
	width: 100%;
	padding: 13px 15px;
	background: #fff;
	color: var(--e-body);
	font-family: inherit;
	font-size: 1rem;
	border: 1px solid #d9ddd2;
	border-radius: 4px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--e-green);
	box-shadow: 0 0 0 3px rgba(111, 174, 59, 0.18);
}

.form textarea { resize: vertical; min-height: 150px; }
.form .btn { justify-self: start; }
.form__note { font-size: 0.875rem; color: #6b6b6d; }

.notice {
	margin-top: 1.4rem;
	padding: 14px 18px;
	border-radius: 4px;
	font-size: 0.9375rem;
	border-left: 4px solid;
}
.notice--ok { background: #eef7e6; border-color: var(--e-green); color: #33571a; }
.notice--error { background: #fdeceb; border-color: #c0392b; color: #7d1f16; }

/* ---------- FAQ ----------------------------------------------------------- */

.faq { margin-top: 2.2rem; border-top: 1px solid var(--e-border); }

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

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	color: var(--e-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
	content: "+";
	flex: 0 0 auto;
	color: var(--e-green);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after { content: "−"; }

.faq__a { padding-bottom: 20px; color: #4a4a4c; }

/* ---------- Closing CTA --------------------------------------------------- */

.cta { padding-block: clamp(2.75rem, 4vw, 3.75rem); background: #fff; color: #000; }

.cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.cta__title { color: #000; font-size: clamp(1.5rem, 1.3rem + 0.85vw, 2.125rem); max-width: 22ch; }
.cta__text { margin-top: 0.6rem; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 991px) {
	.service-detail__grid,
	.contact__grid { grid-template-columns: minmax(0, 1fr); }
	.service-detail__aside { position: static; }
	.about-intro__grid { grid-template-columns: minmax(0, 1fr); }
	.stats--band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
	.form__row { grid-template-columns: minmax(0, 1fr); }
	.stats--band { grid-template-columns: minmax(0, 1fr); }
	.gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
	.lightbox__nav { width: 42px; height: 42px; font-size: 26px; }
	.lightbox__nav--prev { left: 8px; }
	.lightbox__nav--next { right: 8px; }
	.cta__actions .btn { width: auto; }
	.services-group__head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* =========================================================================
   Elementor layer
   Pages built in the Elementor canvas carry the e-* classes set by
   inc/elementor-seed.php. Structure is Elementor's; styling stays here so it
   keeps shipping over FTP.
   ========================================================================= */

.elementor-widget:not(:last-child) { margin-block-end: 0; }

/* ---------- Shared ---------------------------------------------------------*/

.e-center { text-align: center; }
.e-center .elementor-heading-title { text-align: center; }

.e-narrow > .e-con-inner { max-width: 860px; margin-inline: auto; }

.e-muted p, .e-lead-muted p { color: #6b6b6d; font-size: 0.9375rem; }

/* Headings inside Elementor pages pick up the theme scale. */
.elementor h2.elementor-heading-title { font-size: var(--e-fs-h2); line-height: 1.3; letter-spacing: -0.015em; }
.elementor h3.elementor-heading-title { font-size: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem); line-height: 1.4; }
.elementor .elementor-widget-text-editor { line-height: 1.78; color: var(--e-body); }
.elementor .elementor-widget-text-editor p + p { margin-top: 1.1em; }

/* Eyebrow label */
.e-eyebrow .elementor-heading-title,
.e-eyebrow-dark .elementor-heading-title {
	font-size: var(--e-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
}
.e-eyebrow .elementor-heading-title { color: #9fd16f; }
.e-eyebrow-dark .elementor-heading-title { color: var(--e-green); }

/* ---------- Hero band ------------------------------------------------------*/

.e-hero { background: var(--e-navy); }
.e-hero > .e-con-inner { gap: 10px; }
.e-hero .elementor-heading-title { color: #fff; }
.e-hero .elementor-widget-text-editor { color: var(--e-on-dark-soft); }

.e-h1 .elementor-heading-title {
	max-width: 20ch;
	font-size: clamp(2rem, 1.53rem + 2.06vw, 3.375rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
}
.e-lead p { max-width: 62ch; }

/* ---------- Two-column split ----------------------------------------------*/

.e-split { align-items: flex-start; }

@media (max-width: 991px) {
	.e-split { flex-direction: column; }
	.e-split > .e-con { width: 100% !important; }
}

.e-col-main > .e-con-inner,
.e-col-main { gap: 18px; }

/* Sidebar becomes a card */
.e-col-side {
	/* padding is set on the Elementor container so it stays editable in the canvas */
	background: var(--e-bg-alt);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
}
.e-aside-title .elementor-heading-title { font-size: 1.125rem; font-weight: 700; }
.e-aside-title { margin-top: 6px; }

.e-svc-hero img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--e-radius);
}

/* ---------- Icon lists -----------------------------------------------------*/

.elementor .elementor-icon-list-icon svg,
.elementor .elementor-icon-list-icon i { color: var(--e-green); fill: var(--e-green); }
.elementor .elementor-icon-list-icon { width: 16px; }
.elementor .elementor-icon-list-item { font-size: 0.9375rem; line-height: 1.55; }
.elementor .elementor-icon-list-item > a:hover { color: var(--e-green); }

/* ---------- Buttons --------------------------------------------------------*/

.elementor .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	background: var(--e-green);
	color: #fff;
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.elementor .elementor-button:hover { background: var(--e-green-dark); color: #fff; }

/* ---------- Services index cards ------------------------------------------*/

.e-group > .e-con-inner { gap: 18px; }

.e-group-title .elementor-heading-title {
	padding-bottom: 0.7rem;
	border-bottom: 2px solid var(--e-green);
	font-size: clamp(1.375rem, 1.24rem + 0.56vw, 1.75rem);
}

.e-cards { flex-wrap: wrap; }

.e-cards > .elementor-widget-image-box {
	/* no flex-grow: a lone card on the last row must keep its column width */
	flex: 0 1 calc(33.333% - 16px);
	max-width: calc(33.333% - 16px);
	min-width: 260px;
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.e-cards > .elementor-widget-image-box:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13, 13, 13, 0.09); }

.e-card .elementor-image-box-img { width: 100% !important; margin: 0 !important; }
.e-card .elementor-image-box-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.e-card .elementor-image-box-content { padding: 18px 20px 22px; }
.e-card .elementor-image-box-title { margin-bottom: 6px; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.e-card .elementor-image-box-title a { color: var(--e-heading); }
.e-card .elementor-image-box-title a:hover { color: var(--e-green); }
.e-card .elementor-image-box-description { color: #5c5c5e; font-size: 0.9375rem; line-height: 1.5; }
.e-card .elementor-image-box-wrapper { text-align: left; }

@media (max-width: 991px) {
	.e-cards > .elementor-widget-image-box { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
}
@media (max-width: 575px) {
	.e-cards > .elementor-widget-image-box { flex-basis: 100%; max-width: 100%; min-width: 0; }
}

/* ---------- About: stats + tiles -------------------------------------------*/

.e-stats { flex-wrap: wrap; }
.e-stat {
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
}
.e-stat-num .elementor-heading-title {
	color: var(--e-green);
	font-size: var(--e-fs-stat);
	font-weight: 700;
	line-height: 1.2;
}
.e-stat-label p { color: var(--e-heading); font-size: 1rem; font-weight: 500; }

.e-tiles { flex-wrap: wrap; }
.e-tile {
	background: #fff;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
}
.e-tiles-sec .e-tile { background: #fff; }
.e-card-title .elementor-heading-title { font-size: 1.0625rem; font-weight: 700; }
.e-tile .elementor-widget-text-editor { color: #5c5c5e; font-size: 0.9375rem; }

@media (max-width: 991px) {
	.e-stats > .e-con, .e-tiles > .e-con { width: calc(50% - 8px) !important; }
}
@media (max-width: 575px) {
	/* stat tiles hold 2-up (short content); text tiles get the full width */
	.e-stats > .e-con { width: calc(50% - 8px) !important; }
	.e-tiles > .e-con { width: 100% !important; }
}


/* ---------- Gallery --------------------------------------------------------*/

.e-gallery .gallery-item { padding: 0 !important; }
.e-gallery .gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 0 !important;
	border-radius: var(--e-radius);
	transition: transform 0.35s ease;
}
.e-gallery .gallery-item:hover img { transform: scale(1.03); }
.e-gallery .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.e-gallery .gallery-item { width: 100% !important; max-width: none !important; margin: 0 !important; float: none !important; }
.e-gallery .gallery-icon { display: block; }
.e-gallery .gallery-icon a { display: block; }
.e-gallery .gallery br { display: none; }
@media (max-width: 767px) { .e-gallery .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- FAQ accordion --------------------------------------------------*/

.e-faq .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--e-border); }
.e-faq .elementor-tab-title {
	padding: 18px 0;
	background: none;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.45;
}
.e-faq .elementor-tab-title a { color: var(--e-heading); }
.e-faq .elementor-active .elementor-tab-title a { color: var(--e-green); }
.e-faq .elementor-tab-content { padding: 0 0 20px; border: 0; color: #4a4a4c; }
.e-faq .elementor-tab-content ul { margin-top: 0.6em; display: grid; gap: 8px; }
.e-faq .elementor-tab-content li { position: relative; padding-left: 26px; }
.e-faq .elementor-tab-content li::before {
	content: "";
	position: absolute; left: 0; top: 0.6em;
	width: 7px; height: 7px; margin-top: -3px;
	background: var(--e-green); border-radius: 2px;
}

/* ---------- Closing CTA ----------------------------------------------------*/

.e-cta { background: #F6F8F3; }
/* beat per-page Elementor container background */
.elementor .e-cta.e-con,
.elementor .e-cta.e-con:not(.elementor-motion-effects-element-type-background) { background-color: #F6F8F3 !important; background-image: none !important; }
.e-cta .elementor-heading-title { color: #000; max-width: 24ch; }
.e-cta .elementor-widget-text-editor { color: #000; max-width: 56ch; }
.e-cta-btn { margin-top: 8px; }

/* ---------- Contact form inside Elementor ----------------------------------*/

.e-col-side .contact-list { color: var(--e-body); }
.e-col-side .contact-list__icon { color: var(--e-green); }
.e-col-side .contact-list a:hover { color: var(--e-green); }

/* ---------- Home page (Elementor) ------------------------------------------*/

.e-home-hero { position: relative; }
.e-home-hero > .e-con-inner { position: relative; z-index: 2; }

.e-home-h1 .elementor-heading-title {
	/* 8.2em wraps "MAKE YOUR / BRAND / UNMISSABLE" at every size without a <br> */
	max-width: 8.2em;
	color: #fff;
	font-family: var(--e-font-display);
	font-size: var(--e-fs-h1);
	font-weight: 700;
	line-height: 1.375;
	text-transform: uppercase;
}

/* Stats: 2 x 2 beside the About copy. Tiles stretch to equal height, so the
   min-height is only there to hold the desktop proportions of the comp. */
.e-home-stats > .e-con { width: calc(50% - 6px) !important; }
.e-home-stats .e-stat { min-height: 146px; justify-content: center; }


/* Services */
.e-services-lead p { max-width: 1100px; margin-inline: auto; }
.e-home-cards > .elementor-widget-image-box {
	flex-basis: calc(25% - 18px);
	max-width: calc(25% - 18px);
}
/* the comp's home cards are portrait (320x393), unlike the index page's landscape */
.e-home-cards .elementor-image-box-img img { aspect-ratio: 320 / 393; }
.e-card .elementor-image-box-wrapper,
.e-card .elementor-image-box-content { text-align: left; }
/* Elementor widgets stretch to the container width, so align-self alone leaves
   the button hard left — centre its contents as well. */
.e-center-btn { align-self: center; text-align: center; margin-top: 8px; }
.e-center-btn .elementor-widget-container { text-align: center; }

/* Our Work */
.e-work-img img { width: 100%; aspect-ratio: 572 / 588; object-fit: cover; border-radius: var(--e-radius); }
.e-work-title .elementor-heading-title { max-width: 11ch; }
.e-work-list .elementor-icon-list-item { font-size: 1rem; }
.e-work-list .elementor-icon-list-items { display: grid; gap: 14px; }

/* Columns that are plain layout, not sidebar cards */
.e-col-plain { padding: 0; background: none; border: 0; }

@media (max-width: 1199px) {
	.e-home-cards > .elementor-widget-image-box { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
}

@media (max-width: 991px) {
	.e-home-hero { min-height: 560px !important; background-position: 68% center !important; }
	.e-home-hero::before {
		content: "";
		position: absolute; inset: 0; z-index: 1;
		background: linear-gradient(90deg, rgba(1, 9, 28, 0.94) 10%, rgba(1, 9, 28, 0.72) 60%, rgba(1, 9, 28, 0.55) 100%);
	}
	.e-work-title .elementor-heading-title { max-width: none; }
}

@media (max-width: 767px) {
	/* stay 2-up on phones — one per row leaves tall, sparse boxes.
	   Tiles stretch to equal height, so the desktop min-height is dropped. */
	.e-home-stats .e-stat { min-height: 0; }
}

@media (max-width: 575px) {
	.e-home-hero { min-height: 480px !important; }
	.e-home-h1 .elementor-heading-title { max-width: none; }
	.e-home-cards > .elementor-widget-image-box { flex-basis: 100%; max-width: 100%; }
}

/* Narrowest phones: two stat tiles no longer fit without ugly label wrapping. */
@media (max-width: 430px) {
	.e-home-stats > .e-con { width: 100% !important; }
	.e-stats > .e-con { width: 100% !important; }
}

/* ---------- Our Works ------------------------------------------------------*/

.e-works-sec > .e-con-inner { gap: 0; }

.works__filters,
.works__subfilters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.works__subfilters { margin-top: 16px; }
.works__subfilters[hidden] { display: none; }

.works__filter,
.works__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	background: #fff;
	color: var(--e-heading);
	border: 1px solid var(--e-border);
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.works__chip {
	min-height: 36px;
	padding: 0 14px;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	text-transform: none;
	background: var(--e-bg-alt);
}
.works__filter:hover,
.works__chip:hover { border-color: var(--e-green); color: var(--e-green-dark); background: #fff; }
.works__filter.is-active,
.works__chip.is-active { background: var(--e-green); border-color: var(--e-green); color: #fff; }
.works__filter:focus-visible,
.works__chip:focus-visible,
.works__btn:focus-visible { outline: 3px solid var(--e-navy); outline-offset: 3px; }

.works__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--e-bg-alt);
	color: var(--e-body);
	font-size: 0.75rem;
	letter-spacing: 0;
}
.works__chip .works__count { background: #fff; }
.is-active > .works__count { background: rgba(255, 255, 255, 0.22); color: #fff; }

.works__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}
.works__item { margin: 0; }
.works__item[hidden] { display: none; }

.works__btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	background: var(--e-bg-alt);
	border: 0;
	border-radius: var(--e-radius);
	overflow: hidden;
	cursor: zoom-in;
	text-align: left;
}
.works__btn img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.works__btn:hover img,
.works__btn:focus-visible img { transform: scale(1.05); }

.works__cap {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 40px 18px 16px;
	background: linear-gradient(to top, rgba(1, 9, 28, 0.88), rgba(1, 9, 28, 0));
	color: #fff;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.works__btn:hover .works__cap,
.works__btn:focus-visible .works__cap { opacity: 1; transform: none; }
.works__cat {
	color: #9fd16f;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.works__name {
	font-family: var(--e-font-display);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.works__empty { margin: 36px 0 0; text-align: center; color: var(--e-body); }
.works__empty[hidden] { display: none; }
.works__more { margin-top: 36px; text-align: center; }
.works__more .btn[hidden] { display: none; }

/* Lightbox caption */
.works-lightbox__fig {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.works-lightbox .lightbox__img { max-height: 78vh; }
.works-lightbox__cap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 20px;
	width: 100%;
	color: #fff;
	font-family: var(--e-font-display);
	font-size: 1.125rem;
	font-weight: 700;
}
.works-lightbox__meta {
	display: inline-flex;
	gap: 16px;
	color: var(--e-on-dark-soft);
	font-family: var(--e-font-sans);
	font-size: 0.875rem;
	font-weight: 500;
}
.works-lightbox__meta a { color: #9fd16f; text-decoration: none; }
.works-lightbox__meta a:hover { color: #fff; }

@media (hover: none) {
	.works__cap { opacity: 1; transform: none; padding: 28px 14px 12px; }
}

@media (max-width: 991px) {
	.works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
	.works__filters,
	.works__subfilters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		margin-inline: calc(var(--e-gutter) * -1);
		padding: 2px var(--e-gutter) 6px;
		scrollbar-width: none;
	}
	.works__filters::-webkit-scrollbar,
	.works__subfilters::-webkit-scrollbar { display: none; }
	.works__filter,
	.works__chip { flex: 0 0 auto; }
	.works__grid { gap: 10px; margin-top: 24px; }
	.works__name { font-size: 0.95rem; }
	.works__cat { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
	.works__btn img,
	.works__cap { transition: none; }
}

/* =========================================================================
   "Get a Quote" popup (markup: footer.php, behaviour: main.js)
   ========================================================================= */

.has-quote-modal,
.has-lightbox { overflow: hidden; }

.quote-modal {
	position: fixed;
	inset: 0;
	z-index: 200; /* above the header (30) and the gallery lightbox (100) */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.quote-modal[hidden] { display: none; }
.quote-modal.is-open { opacity: 1; }

.quote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1, 9, 28, 0.72);
}

.quote-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(24px, 4vw, 44px);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(1, 9, 28, 0.35);
	transform: translateY(12px);
	transition: transform 0.25s ease;
}
.quote-modal.is-open .quote-modal__dialog { transform: none; }
.quote-modal__dialog:focus { outline: none; }

/* Hello's reset.css gives every button a border and a filled maroon
   :hover/:focus — override all three states. */
.quote-modal .quote-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 50%;
	color: var(--e-heading);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.quote-modal .quote-modal__close:hover,
.quote-modal .quote-modal__close:focus { background: var(--e-bg-alt); color: var(--e-green); }
.quote-modal .quote-modal__close:focus-visible { outline: 2px solid var(--e-green); outline-offset: 2px; }

.quote-modal__title { margin-top: 6px; padding-right: 44px; font-size: var(--e-fs-h2); line-height: 1.3; }
.quote-modal__lead { margin-top: 8px; color: #5c5c5e; font-size: 0.9375rem; line-height: 1.65; }
.quote-modal .form { margin-top: 1.2rem; gap: 14px; }
.quote-modal .notice { margin-top: 1rem; }
.quote-modal .notice:focus { outline: none; }

/* Phones: a bottom sheet reads better than a small floating box. */
@media (max-width: 575px) {
	.quote-modal { align-items: flex-end; padding: 0; }
	.quote-modal__dialog {
		max-width: none;
		max-height: 92vh;
		max-height: 92dvh;
		padding: 28px 16px 24px;
		border-radius: 14px 14px 0 0;
		transform: translateY(24px);
	}
	.quote-modal .form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
	.quote-modal,
	.quote-modal__dialog { transition: none; }
}
