/* Eco Nova Sustainable Solutions LLP Theme: header, footer and non-Elementor templates.
   Colors and fonts come from tokens.css, which reads Elementor's global
   variables first, so Site Settings changes reach the header and footer too. */

:root { --wpb-nav-breakpoint: 1025; }

.screen-reader-text {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--wpb-white); color: var(--wpb-text);
	border-radius: var(--wpb-radius); box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wpb-focus); outline-offset: 2px;
}

/* Keep the footer at the bottom on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main, body > .wpb-main, body > .site-main { flex: 1 0 auto; width: 100%; }
.wpb-footer { margin-top: auto; }

.wpb-container { width: 100%; max-width: var(--wpb-container); margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }

/* Header */
.wpb-header { background: var(--wpb-header-bg); color: var(--wpb-header-fg); position: relative; z-index: 50; border-bottom: 1px solid var(--wpb-header-border); }
.wpb-has-sticky-header .wpb-header { position: sticky; top: 0; }
.admin-bar.wpb-has-sticky-header .wpb-header { top: 32px; }
.wpb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wpb-site-title { margin: 0; font-family: var(--wpb-font-heading); font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
.wpb-site-title a, .wpb-header a { color: inherit; text-decoration: none; }
.custom-logo { display: block; max-height: 56px; width: auto; }

.wpb-nav { display: flex; align-items: center; gap: 28px; }
.wpb-menu, .wpb-menu ul { list-style: none; margin: 0; padding: 0; }
.wpb-menu { display: flex; gap: 24px; align-items: center; }
.wpb-menu > li { position: relative; }
.wpb-menu a { display: block; padding: 8px 0; font-family: var(--wpb-font-body); font-weight: 500; }
.wpb-menu a:hover, .wpb-menu .current-menu-item > a, .wpb-menu .current_page_item > a { color: var(--wpb-primary-on-header); }
.wpb-menu .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 8px 16px;
	background: var(--wpb-header-bg); border-radius: var(--wpb-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.wpb-menu li:hover > .sub-menu, .wpb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.wpb-button, .wpb-header__cta {
	display: inline-block; padding: 12px 22px; border-radius: var(--wpb-radius);
	background: var(--wpb-primary); color: var(--wpb-on-primary) !important; font-weight: 600; line-height: 1.2;
	text-decoration: none; transition: background .15s;
}
.wpb-button:hover, .wpb-header__cta:hover { background: var(--wpb-accent); }

.wpb-header--centered .wpb-header__inner { flex-direction: column; justify-content: center; padding-block: 16px; gap: 12px; }

.wpb-menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.wpb-menu-toggle__bars, .wpb-menu-toggle__bars::before, .wpb-menu-toggle__bars::after {
	display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s;
}
.wpb-menu-toggle__bars::before, .wpb-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.wpb-menu-toggle__bars::before { top: -7px; }
.wpb-menu-toggle__bars::after { top: 7px; }
.is-open .wpb-menu-toggle__bars { background: transparent; }
.is-open .wpb-menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .wpb-menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.wpb-header__inner, .wpb-header--centered .wpb-header__inner { flex-direction: row; justify-content: space-between; min-height: 64px; padding-block: 0; }
	.wpb-menu-toggle { display: block; }
	.wpb-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
		gap: 0; padding: 8px 24px 24px; background: var(--wpb-header-bg); box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
		max-height: calc(100vh - 64px); overflow-y: auto;
	}
	.is-open .wpb-nav { display: flex; }
	.wpb-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.wpb-menu a { padding: 12px 0; border-bottom: 1px solid var(--wpb-header-border); }
	.wpb-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.wpb-header__cta { margin-top: 16px; text-align: center; }
}
@media (max-width: 782px) { .admin-bar.wpb-has-sticky-header .wpb-header { top: 46px; } }

/* Footer */
.wpb-footer { background: var(--wpb-footer-bg); color: var(--wpb-footer-fg); padding-block: 64px 24px; font-size: .95rem; }
.wpb-footer a { color: inherit; text-decoration: none; opacity: .9; }
.wpb-footer a:hover { opacity: 1; text-decoration: underline; }
.wpb-footer .wpb-site-title { margin-bottom: 12px; }
.wpb-footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(var(--wpb-footer-cols, 3), minmax(0, 1fr)); }
.wpb-footer__grid--1 { --wpb-footer-cols: 1; }
.wpb-footer__grid--2 { --wpb-footer-cols: 2; }
.wpb-footer__grid--3 { --wpb-footer-cols: 3; }
.wpb-footer__grid--4 { --wpb-footer-cols: 4; }
.wpb-footer-menu, .wpb-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wpb-contact { font-style: normal; display: grid; gap: 10px; }
.wpb-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--wpb-footer-border); font-size: .85rem; opacity: .8; }
.wpb-footer__bottom p { margin: 0; }
@media (max-width: 1024px) { .wpb-footer__grid { --wpb-footer-cols: 2 !important; } }
@media (max-width: 767px) { .wpb-footer__grid { --wpb-footer-cols: 1 !important; } }

/* Hello Elementor templates: blog, single, archive, search, 404 */
.site-main:not(.elementor) { max-width: var(--wpb-content); margin-inline: auto; padding: 64px 24px; box-sizing: border-box; }
.site-main h1, .site-main h2, .site-main h3, .page-header .entry-title { font-family: var(--wpb-font-heading); color: var(--wpb-heading); line-height: 1.2; }
.site-main .page-header { margin-bottom: 32px; }
.site-main article.post { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--wpb-border); }
.site-main .entry-title a { color: inherit; text-decoration: none; }
.site-main .post-thumbnail img, .site-main .wp-post-image { border-radius: var(--wpb-radius); height: auto; }
.site-main .pagination { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; }
.site-main .search-form { display: flex; gap: 8px; }
.site-main .search-form input[type="search"] { flex: 1; padding: 12px 14px; border: 1px solid var(--wpb-border); border-radius: var(--wpb-radius); }
.site-main .search-submit { padding: 12px 18px; border: 0; border-radius: var(--wpb-radius); background: var(--wpb-primary); color: var(--wpb-on-primary); }

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

/* ==========================================================================
   Econova modern layer. Appended to theme.css by theme-overrides/deploy.py.
   Colors come from Elementor globals so Site Settings stays the source of truth.
   ========================================================================== */
:root {
	--ec-green: #577f18;
	--ec-green-deep: #2F4A12;
	--ec-tint: rgba(24, 42, 8, .28);
	--ec-gutter: clamp(16px, 3.2vw, 44px);
	--ec-r: 28px;
	--ec-r-sm: 18px;
	--ec-ease: cubic-bezier(.16, 1, .3, 1);
	--ec-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--ec-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
html body { background: var(--e-global-color-ivory, #FFFFF0); }
::selection { background: var(--wpb-lime); color: var(--wpb-dark); }
html { scrollbar-color: var(--wpb-primary) transparent; }

/* Floating header */
.wpb-header, .wpb-has-sticky-header .wpb-header {
	position: sticky; top: 14px; margin: 14px var(--ec-gutter) 0; border: 0; border-radius: var(--ec-r-sm);
	background: var(--e-global-color-ivory, #FFFFF0);
	box-shadow: 0 14px 34px -18px rgba(11, 31, 14, .45);
}
.admin-bar.wpb-has-sticky-header .wpb-header { top: 46px; }
.wpb-header .wpb-container { max-width: none; padding-inline: 18px 12px; }
.wpb-header__inner { min-height: 72px; }
.custom-logo { max-height: 54px; width: auto; }
.wpb-menu { gap: 30px; }
.wpb-menu a { font-weight: 500; font-size: .98rem; }
.wpb-header__cta, .wpb-button {
	border-radius: 12px; background: var(--ec-green); color: #fff; padding: 14px 22px; transition: background .25s, color .25s;
}
.wpb-header__cta:hover, .wpb-button:hover { background: var(--ec-green-deep); }

/* Foundations */
.elementor > .e-con:has(.ec-hero, .ec-section, .ec-inset) { padding-inline: 0 !important; }
.ec-h1 .ec-lime { white-space: nowrap; }
.e-con.ec-section { padding: clamp(72px, 9vw, 136px) var(--ec-gutter); }
.e-con.ec-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding: 0; }
.e-con.ec-row { flex-direction: row; flex-wrap: wrap; gap: 12px; padding: 0; }
.e-con.ec-stack { flex-direction: column; padding: 0; }
.ec-h1 .elementor-heading-title { font-size: clamp(2.75rem, 5.3vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.ec-h2 .elementor-heading-title { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.ec-h3 .elementor-heading-title { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.16; letter-spacing: -.015em; font-weight: 600; }
.ec-lime { color: var(--wpb-lime); }
.ec-body, .ec-body p { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.55; max-width: 62ch; }
.ec-body p:last-child { margin-bottom: 0; }

/* Dark surfaces */
.ec-dark .elementor-heading-title { color: var(--wpb-white); }
.ec-dark .ec-lime { color: var(--wpb-lime); }
.ec-dark .ec-body, .ec-dark .ec-body p { color: #fff; }

/* Buttons */
.elementor-widget.ec-btn .elementor-button {
	border-radius: 14px; padding: 18px 26px; font-size: 1rem; font-weight: 600; line-height: 1; letter-spacing: -.005em;
	display: inline-flex; align-items: center; transition: background .25s, color .25s, box-shadow .25s, transform .4s var(--ec-ease);
}
.elementor-widget.ec-btn .elementor-button-content-wrapper { align-items: center; gap: 10px; }
.elementor-widget.ec-btn .elementor-button-text::after {
	content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 10px; vertical-align: -3px;
	background: currentColor; -webkit-mask: var(--ec-arrow) center / contain no-repeat; mask: var(--ec-arrow) center / contain no-repeat;
	transition: transform .4s var(--ec-ease);
}
.elementor-widget.ec-btn .elementor-button:hover .elementor-button-text::after { transform: translate(2px, -2px); }
.elementor-widget.ec-btn--lime .elementor-button { background: var(--wpb-lime); color: var(--wpb-dark); }
.elementor-widget.ec-btn--lime .elementor-button:hover { background: var(--e-global-color-ivory, #FFFFF0); color: var(--wpb-dark); }
.elementor-widget.ec-btn--ghost .elementor-button { background: transparent; color: var(--wpb-white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.elementor-widget.ec-btn--ghost .elementor-button:hover { background: var(--e-global-color-ivory, #FFFFF0); color: var(--wpb-dark); }
.elementor-widget.ec-btn--dark .elementor-button { background: var(--ec-green); color: var(--wpb-white); }
.elementor-widget.ec-btn--dark .elementor-button:hover { background: var(--ec-green-deep); color: var(--wpb-white); }

/* Full-bleed media inside a positioned parent */
.elementor-element.ec-media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; margin: 0; }
.ec-media .elementor-widget-container, .ec-media a { height: 100%; }
.ec-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform 1.1s var(--ec-ease); }

/* Hero */
.e-con.ec-hero { background: var(--ec-green); margin-top: -104px; padding: calc(104px + clamp(40px, 6vw, 88px)) var(--ec-gutter) 0; }
.e-con.ec-hero__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding: 0; }
.e-con.ec-hero__copy { flex-direction: column; gap: 28px; padding: 0 0 clamp(8px, 2vw, 28px); }
.ec-cred, .ec-cred p { color: #fff; font-size: 1.05rem; line-height: 1.45; margin: 0; max-width: 46ch; }
.e-con.ec-mosaic { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(380px, 38vw, 540px); padding: 0; }
.e-con.ec-mosaic > .elementor-element { position: relative; border-radius: var(--ec-r-sm); overflow: hidden; width: 100%; min-height: 0; }
.ec-mosaic .elementor-widget-container, .ec-mosaic .elementor-widget-image a { height: 100%; }
.ec-mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.elementor-element.ec-mosaic__tall { grid-row: span 2; }
.ec-mosaic__tall img { object-position: 42% 50%; }
.e-con.ec-strip { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 16px 32px; margin-top: clamp(40px, 5vw, 72px); padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .18); }
.ec-strip .elementor-heading-title { color: var(--wpb-white); font-family: var(--wpb-font-body); font-size: 1rem; font-weight: 500; }

/* Statement */
.e-con.ec-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); padding: 0; }
.e-con.ec-split__lead { flex-direction: column; gap: 24px; padding: 0; align-items: flex-start; }
.e-con.ec-rows { flex-direction: column; gap: 0; padding: 0; }
.ec-rows > .elementor-element { border-top: 1px solid rgba(11, 31, 14, .16); padding: 20px 0; width: 100%; }
.ec-rows > .elementor-element:last-child { border-bottom: 1px solid rgba(11, 31, 14, .16); }
.ec-rows .elementor-heading-title { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.25; }
.elementor-widget.ec-link .elementor-button { background: none; color: var(--wpb-primary); padding: 6px 0; border-radius: 0; font-weight: 600; font-size: 1.02rem; box-shadow: inset 0 -2px 0 currentColor; }
.elementor-widget.ec-link .elementor-button:hover { background: none; color: var(--wpb-dark); }

/* Inset panels */
.e-con.ec-inset { padding: 0 var(--ec-gutter); }
.e-con.ec-panel { background: var(--ec-green); border-radius: var(--ec-r); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; width: 100%; max-width: 1440px; margin-inline: auto; }
.e-con.ec-panel__photo { position: relative; min-height: clamp(320px, 42vw, 640px); padding: 0; }
.e-con.ec-panel__body { flex-direction: column; justify-content: center; gap: 28px; padding: clamp(32px, 5vw, 80px); }
.ec-dark .ec-rows > .elementor-element { border-color: rgba(255, 255, 255, .18); padding-left: 34px; position: relative; }
.ec-dark .ec-rows > .elementor-element::before {
	content: ""; position: absolute; left: 0; top: 23px; width: 20px; height: 20px; background: var(--wpb-lime);
	-webkit-mask: var(--ec-check) center / contain no-repeat; mask: var(--ec-check) center / contain no-repeat;
}

/* Section heading row */
.e-con.ec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; padding: 0; margin-bottom: clamp(32px, 4.5vw, 64px); }

/* Services bento */
.e-con.ec-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(280px, auto); gap: 14px; padding: 0; }
.e-con.ec-card { position: relative; overflow: hidden; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--ec-r); background: var(--wpb-surface); grid-column: span 3; width: 100%; transition: transform .6s var(--ec-ease), box-shadow .6s var(--ec-ease); }
.e-con.ec-card:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -30px rgba(11, 31, 14, .55); }
.e-con.ec-card > .elementor-widget:not(.ec-media) { position: relative; z-index: 2; }
.ec-card .ec-body, .ec-card .ec-body p { font-size: 1rem; line-height: 1.5; margin: 0; color: var(--wpb-muted); }
.e-con.ec-span-6 { grid-column: span 6; }
.e-con.ec-card--dark { background: var(--wpb-secondary); }
.ec-card--dark.ec-card .ec-body, .ec-card--dark.ec-card .ec-body p, .ec-card--photo.ec-card .ec-body, .ec-card--photo.ec-card .ec-body p { color: rgba(255, 255, 255, .88); }
.e-con.ec-card--photo { background: var(--ec-green); justify-content: flex-end; gap: 10px; min-height: 340px; }
.ec-card--photo::after, .ec-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(24, 42, 8, 0) 25%, rgba(24, 42, 8, .88) 100%); pointer-events: none; }
.ec-card--photo:hover .ec-media img, .ec-tile:hover .ec-media img, .ec-tile:focus-visible .ec-media img { transform: scale(1.04); }

/* Process on lime */
.e-con.ec-lime-band { background: var(--wpb-lime); counter-reset: ec-step; }
.ec-lime-band .elementor-heading-title { color: var(--wpb-dark); }
.ec-lime-band .ec-body, .ec-lime-band .ec-body p { color: var(--wpb-dark); }
.e-con.ec-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; }
.e-con.ec-step { flex-direction: column; gap: 12px; padding: 22px 28px 0 0; border-top: 2px solid var(--wpb-dark); counter-increment: ec-step; width: 100%; }
.ec-step .elementor-heading-title::before { content: counter(ec-step); display: block; font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; margin-bottom: clamp(24px, 3.5vw, 56px); }
.ec-step .ec-body, .ec-step .ec-body p { font-size: 1.02rem; margin: 0; }

/* Project tiles */
.e-con.ec-work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 24vw, 340px); gap: 14px; padding: 0; }
.e-con.ec-tile { position: relative; overflow: hidden; border-radius: var(--ec-r); background: var(--ec-green); justify-content: flex-end; padding: clamp(20px, 2.2vw, 32px); gap: 8px; grid-column: span 6; text-decoration: none; width: 100%; }
.e-con.ec-tile--hero { grid-row: span 2; }
.ec-tile--hero .ec-media img { object-position: 50% 80%; }
.ec-panel__photo .ec-media img { object-position: 24% 50%; }
.e-con.ec-tile--sm { grid-column: span 3; }
.e-con.ec-tile > .elementor-widget:not(.ec-media) { position: relative; z-index: 2; }
.ec-tile .elementor-heading-title { color: var(--wpb-white); }
.ec-tile .ec-body, .ec-tile .ec-body p { color: rgba(255, 255, 255, .88); font-size: .98rem; line-height: 1.45; margin: 0; }

/* Closing band */
.e-con.ec-close { position: relative; overflow: hidden; border-radius: var(--ec-r); background: var(--ec-green); min-height: clamp(420px, 44vw, 620px); justify-content: flex-end; align-items: flex-start; gap: 24px; padding: clamp(28px, 5vw, 72px); width: 100%; max-width: 1440px; margin: 0 auto clamp(40px, 5vw, 72px); }
.e-con.ec-close > .elementor-widget:not(.ec-media) { position: relative; z-index: 2; }
.ec-close::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(24, 42, 8, .9) 8%, rgba(24, 42, 8, .3) 100%); }
.elementor-element.ec-close__title { max-width: 16ch; }

/* Footer */
.wpb-footer { padding-block: clamp(56px, 7vw, 96px) 28px; }
.wpb-footer .custom-logo { background: var(--e-global-color-ivory, #FFFFF0); padding: 10px 14px; border-radius: 12px; box-sizing: content-box; margin-bottom: 18px; }

/* Mobile menu */
.wpb-menu-toggle, .wpb-menu-toggle:hover, .wpb-menu-toggle:focus { background: transparent !important; border: 0; color: var(--wpb-dark) !important; padding: 14px 8px; }

/* The one authored entrance: hero type rises, photos unmask, once on load */
@media (prefers-reduced-motion: no-preference) {
	@keyframes ec-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
	@keyframes ec-unmask { from { clip-path: inset(100% 0 0 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
	.ec-hero__copy > .elementor-element { animation: ec-rise 1s var(--ec-ease) backwards; }
	.ec-hero__copy > .elementor-element:nth-child(2) { animation-delay: .08s; }
	.ec-hero__copy > .elementor-element:nth-child(3) { animation-delay: .16s; }
	.ec-mosaic > .elementor-element { animation: ec-unmask 1.2s var(--ec-ease) backwards; }
	.ec-mosaic > .elementor-element:nth-child(2) { animation-delay: .12s; }
	.ec-mosaic > .elementor-element:nth-child(3) { animation-delay: .24s; }
}

@media (max-width: 1024px) {
	.wpb-nav { border-radius: var(--ec-r-sm); top: calc(100% + 8px); background: var(--e-global-color-ivory, #FFFFF0); }
	.e-con.ec-hero__grid, .e-con.ec-split, .e-con.ec-head, .e-con.ec-panel { grid-template-columns: minmax(0, 1fr); }
	.e-con.ec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.ec-card, .e-con.ec-card.ec-span-6 { grid-column: span 6; }
	.e-con.ec-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.e-con.ec-tile, .e-con.ec-tile--sm { grid-column: span 6; }
	.e-con.ec-tile--hero { grid-column: span 12; }
}
@media (max-width: 767px) {
	.e-con.ec-hero { margin-top: -92px; padding-top: calc(92px + 40px); }
	.wpb-header__inner { min-height: 64px; }
	.custom-logo { max-height: 42px; }
	.e-con.ec-mosaic { height: 112vw; max-height: 520px; }
	.e-con.ec-bento, .e-con.ec-work { grid-auto-rows: auto; }
	.e-con.ec-card, .e-con.ec-card.ec-span-6, .e-con.ec-tile, .e-con.ec-tile--sm, .e-con.ec-tile--hero { grid-column: span 12; }
	.e-con.ec-card { min-height: 220px; }
	.e-con.ec-tile, .e-con.ec-tile--hero { grid-row: auto; min-height: 300px; }
	.e-con.ec-steps { grid-template-columns: minmax(0, 1fr); }
}

/* Footer link dimming must not grey the logo chip */
.wpb-footer a.custom-logo-link, .wpb-footer a:has(.custom-logo) { opacity: 1; }

/* Inner page hero */
.e-con.ec-hero--page { padding-bottom: clamp(64px, 8vw, 112px); }
.ec-hero--page .ec-head { margin-bottom: clamp(36px, 5vw, 64px); }

/* Impact dashboard */
.ec-dash { color: var(--wpb-ivory); font-family: var(--wpb-font-body); }
.ec-dash__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.ec-tile-s { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 190px; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--ec-r); background: var(--ec-tint); }
.ec-num { font-family: var(--wpb-font-heading); font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ec-num small { font-size: .36em; font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.ec-lab { font-size: 1rem; line-height: 1.3; color: #FFFFF0; }
.ec-tile-s--lime { background: var(--wpb-lime); color: var(--wpb-dark); }
.ec-tile-s--lime .ec-lab { color: var(--wpb-dark); }
.ec-panel-s { padding: clamp(20px, 2.2vw, 30px); border-radius: var(--ec-r); background: var(--ec-tint); }
.ec-panel-s--chart { grid-column: span 8; min-width: 0; }
.ec-side { grid-column: span 4; display: grid; gap: 14px; min-width: 0; }
.ec-dash h3 { margin: 0; font-family: var(--wpb-font-heading); font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; color: var(--wpb-ivory); }
.ec-panel-s__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.ec-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--ec-tint); }
.ec-dash .ec-seg button, .ec-dash .ec-seg button:hover, .ec-dash .ec-seg button:focus { background: transparent; color: var(--wpb-ivory); border: 0; border-radius: 9px; padding: 9px 14px; font-size: .92rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background .25s, color .25s; }
.ec-dash .ec-seg button[aria-pressed="true"] { background: var(--wpb-lime); color: var(--wpb-dark); }
.ec-chart svg { display: block; max-width: 100%; }
.ec-chart line { stroke: rgba(255, 255, 240, .12); }
.ec-axis { fill: #FFFFF0; font-size: 12px; }
.ec-val { fill: var(--wpb-ivory); font-size: 11px; font-weight: 600; }
.ec-bar--a, .ec-bar-key--a { fill: var(--wpb-ivory); background: var(--wpb-ivory); }
.ec-bar--b, .ec-bar-key--b, .ec-bar--c, .ec-bar-key--c { fill: var(--wpb-lime); background: var(--wpb-lime); }
.ec-legend { display: flex; gap: 20px; margin-top: 12px; font-size: .92rem; }
.ec-legend i, .ec-donut i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }
.ec-donut { display: flex; align-items: center; gap: 22px; margin-top: 16px; }
.ec-donut svg { width: 118px; height: 118px; flex: none; transform: rotate(-90deg); }
.ec-donut circle { fill: none; stroke-width: 16; }
.ec-seg-0 { stroke: var(--wpb-lime); } .ec-seg-1 { stroke: var(--wpb-ivory); } .ec-seg-2 { stroke: rgba(255, 255, 240, .5); }
.ec-dot-0 { background: var(--wpb-lime); } .ec-dot-1 { background: var(--wpb-ivory); } .ec-dot-2 { background: rgba(255, 255, 240, .5); }
.ec-donut ul { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 10px; font-size: .95rem; }
.ec-donut li { display: flex; align-items: center; }
.ec-donut b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.ec-rate { display: flex; align-items: center; gap: 22px; }
.ec-rate svg { width: 118px; height: 118px; flex: none; }
.ec-rate circle { fill: none; stroke-width: 11; transform: rotate(-90deg); transform-origin: 60px 60px; }
.ec-ring-bg { stroke: rgba(255, 255, 240, .25); }
.ec-ring { stroke: var(--wpb-lime); stroke-linecap: round; }
.ec-rate text { fill: var(--wpb-ivory); font-family: var(--wpb-font-heading); font-size: 26px; font-weight: 600; }
.ec-rate p { margin: 0; font-family: var(--wpb-font-heading); font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.ec-rate p span { font-family: var(--wpb-font-body); font-size: .95rem; font-weight: 400; letter-spacing: 0; color: #FFFFF0; }
.ec-dash__note { margin: 18px 0 0; max-width: 90ch; font-size: .92rem; line-height: 1.5; color: #FFFFF0; }
.ec-dash__note strong { display: inline-block; margin-right: 6px; padding: 3px 9px; border-radius: 7px; background: var(--wpb-lime); color: var(--wpb-dark); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
	@keyframes ec-grow { from { transform: scaleY(0); } to { transform: none; } }
	.ec-chart .is-anim .ec-bar { transform-box: fill-box; transform-origin: bottom; animation: ec-grow .9s var(--ec-ease) backwards; }
}
@media (max-width: 1024px) {
	.ec-tile-s { grid-column: span 6; }
	.ec-panel-s--chart, .ec-side { grid-column: span 12; }
	.ec-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ec-tile-s { min-height: 150px; gap: 22px; }
	.ec-side { grid-template-columns: minmax(0, 1fr); }
	.e-con.ec-hero--page { padding-top: calc(92px + 40px); }
}

/* Homepage impact teaser */
.e-con.ec-dark-band { background: var(--ec-green); }
.e-con.ec-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; }
.e-con.ec-foot { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 0; margin-top: clamp(24px, 3vw, 40px); }
.ec-note, .ec-note p { margin: 0; font-size: .92rem; line-height: 1.5; color: #FFFFF0; }
.ec-note strong { display: inline-block; margin-right: 6px; padding: 3px 9px; border-radius: 7px; background: var(--wpb-lime); color: var(--wpb-dark); font-weight: 600; }
@media (max-width: 1024px) { .e-con.ec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Homepage teaser numbers: plain headings, so they never depend on a counter script */
.e-con.ec-count { flex-direction: column; justify-content: space-between; gap: 36px; min-height: 190px; width: 100%; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--ec-r); background: var(--ec-tint); }
.e-con.ec-count--lime { background: var(--wpb-lime); }
.e-con.ec-count .ec-num-h .elementor-heading-title { font-size: clamp(2.3rem, 4.6vw, 4.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--wpb-ivory); font-variant-numeric: tabular-nums; }
.ec-num-h small { font-size: .36em; font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.e-con.ec-count .ec-lab-h .elementor-heading-title { font-family: var(--wpb-font-body); font-size: 1rem; font-weight: 400; line-height: 1.3; letter-spacing: 0; color: #FFFFF0; }
.e-con.ec-count--lime .ec-num-h .elementor-heading-title, .e-con.ec-count--lime .ec-lab-h .elementor-heading-title { color: var(--wpb-dark); }
@media (max-width: 767px) { .e-con.ec-count { min-height: 150px; gap: 22px; } }

/* Ivory breathing room between the dark teaser and the dark Why panel */
.e-con.ec-inset--gap { padding-top: clamp(40px, 5vw, 72px); }

/* Credential badge in the hero */
.e-con.ec-credblock { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0; }
.elementor-widget.ec-cred { width: fit-content; max-width: 100%; }
.elementor-widget.ec-cred p { color: #fff; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 400; line-height: 1.35; max-width: 34ch; }
.elementor-widget.ec-cred strong { color: var(--wpb-lime); font-weight: 700; }
.elementor-widget.ec-partner-logo { width: fit-content; }
.ec-partner-logo img, .wpb-footer__partner { display: block; width: clamp(160px, 15vw, 200px); max-width: 100%; height: auto; background: #fff; padding: 10px 14px; border-radius: 12px; box-sizing: border-box; }
.wpb-footer__partner { width: 200px; margin-top: 18px; }

/* Scroll motion: these states only exist while theme-overrides/motion.js is running */
.elementor-element.ec-pre { opacity: 0; transform: translateY(22px); }
.elementor-element.ec-pre-wipe { clip-path: inset(100% 0 0 0 round var(--ec-r)); }
.ec-panel__photo.ec-pre-wipe { clip-path: inset(0 100% 0 0); }
.ec-pre-wipe .ec-media img { transform: scale(1.1); }
.elementor-element.ec-in {
	transition: opacity .7s ease-out, transform .8s var(--ec-ease), clip-path .9s var(--ec-ease);
	transition-delay: calc(var(--ec-i, 0) * 70ms);
}

/* Process band: focal sequence */
.ec-seq .e-con.ec-step { border-top-width: 0; padding-top: 24px; background: linear-gradient(var(--wpb-dark), var(--wpb-dark)) 0 0 / 0 2px no-repeat; }
.ec-seq .e-con.ec-step > .elementor-element { opacity: 0; transform: translateY(14px); }
.ec-seq .e-con.ec-step.is-on { background-size: 100% 2px; transition: background-size .4s linear calc(var(--ec-i) * 400ms); }
.ec-seq .e-con.ec-step.is-on > .elementor-element { opacity: 1; transform: none; transition: opacity .6s ease-out calc(var(--ec-i) * 400ms + 120ms), transform .7s var(--ec-ease) calc(var(--ec-i) * 400ms + 120ms); }

@media print {
	.elementor-element.ec-pre, .elementor-element.ec-pre-wipe, .ec-seq .e-con.ec-step > .elementor-element { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Footer social icons */
.wpb-footer .wpb-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.wpb-footer .wpb-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); opacity: 1; transition: background .2s, color .2s; }
.wpb-footer .wpb-social a:hover, .wpb-footer .wpb-social a:focus-visible { background: var(--e-global-color-lime, #C6EF4E); color: #0B1F0E; }

/* Homepage hero on brand green #5d8519. The ground deepens slightly toward the strip so small white text holds 4.5:1. */
.e-con.ec-hero:not(.ec-hero--page) { background: linear-gradient(180deg, #5d8519, #507816); overflow-x: clip; }
.ec-hero:not(.ec-hero--page) .elementor-heading-title, .ec-hero:not(.ec-hero--page) .elementor-widget.ec-cred p { color: #fff; }
.ec-hero:not(.ec-hero--page) .ec-lime { color: var(--wpb-lime); }
.ec-hero:not(.ec-hero--page) .elementor-widget.ec-cred p { font-size: clamp(1.2rem, 1.5vw, 1.35rem); }
.ec-hero:not(.ec-hero--page) .elementor-widget.ec-cred strong { color: #E8FFA3; }
.ec-hero:not(.ec-hero--page) .e-con.ec-strip { border-top-color: rgba(255, 255, 255, .3); }
.ec-hero:not(.ec-hero--page) .elementor-widget.ec-btn--ghost .elementor-button { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }

/* Hero photos: a layered collage of ivory-framed prints over a tonal leaf, instead of a flat grid */
.ec-hero .e-con.ec-mosaic {
	position: relative; isolation: isolate; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr));
	gap: 12px; height: clamp(440px, 42vw, 610px);
}
.ec-hero .e-con.ec-mosaic::after {
	content: ""; position: absolute; z-index: -1; inset: -8% -10% 9% 20%; border-radius: 8px 64% 8px 64%; background: rgba(24, 42, 8, .22);
}
.ec-hero .ec-mosaic > .elementor-element {
	border: 5px solid var(--e-global-color-ivory, #FFFFF0); border-radius: 22px; background: var(--e-global-color-ivory, #FFFFF0);
	box-shadow: 0 28px 44px -20px rgba(18, 36, 6, .6), 0 8px 16px -8px rgba(18, 36, 6, .35);
}
.ec-hero .ec-mosaic > .elementor-element:nth-child(1) { grid-area: 1 / 2 / 10 / 13; }
.ec-hero .ec-mosaic > .elementor-element:nth-child(2) { grid-area: 8 / 1 / 13 / 7; }
.ec-hero .ec-mosaic > .elementor-element:nth-child(3) { grid-area: 10 / 7 / 13 / 13; }
.ec-hero .ec-mosaic__tall img { object-position: 46% 40%; }
@media (prefers-reduced-motion: no-preference) {
	@keyframes ec-lift { from { box-shadow: 0 0 0 0 rgba(18, 36, 6, 0), 0 0 0 0 rgba(18, 36, 6, 0); } }
	.ec-hero .ec-mosaic > .elementor-element { animation: ec-unmask 1.2s var(--ec-ease) backwards, ec-lift .9s ease-out 1s backwards; }
	.ec-hero .ec-mosaic > .elementor-element:nth-child(2) { animation-delay: .12s, 1.12s; }
	.ec-hero .ec-mosaic > .elementor-element:nth-child(3) { animation-delay: .24s, 1.24s; }
	.ec-hero .e-con.ec-mosaic::after { animation: ec-rise 1.2s var(--ec-ease) .1s backwards; }
}
@media (max-width: 1024px) {
	.ec-hero .e-con.ec-mosaic { width: 100%; max-width: 620px; height: clamp(400px, 96vw, 600px); }
}
@media (max-width: 767px) {
	.ec-hero .e-con.ec-mosaic { gap: 8px; }
	.ec-hero .ec-mosaic > .elementor-element { border-width: 4px; border-radius: 18px; }
}


/* About page: the collage rises out of the dark hero */
.e-con.ec-hero--lift { padding-bottom: clamp(110px, 13vw, 190px); }
.ec-hero--lift .e-con.ec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
.ec-hero--lift .ec-h1 .ec-lime { white-space: normal; }
.ec-hero--lift .ec-head .ec-body, .ec-hero--lift .ec-head .ec-body p { max-width: 54ch; }
.e-con.ec-about-sec { overflow-x: clip; }
.e-con.ec-about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; padding: 0; }
.ec-about .ec-rows { width: 100%; margin-top: 8px; }
.e-con.ec-about__art {
	position: relative; z-index: 2; isolation: isolate; display: block; padding: 0; width: 100%;
	margin-top: calc(-1 * (clamp(72px, 9vw, 136px) + clamp(56px, 7vw, 110px))); margin-bottom: clamp(48px, 6vw, 88px);
}
.e-con.ec-about__art::after { content: ""; position: absolute; z-index: -1; inset: -7% -9% 16% 24%; border-radius: 8px 64% 8px 64%; background: var(--wpb-lime); }
.elementor-widget.ec-print img {
	display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 44% 30%; border-radius: var(--ec-r);
	box-shadow: 0 30px 48px -22px rgba(11, 31, 14, .55), 0 8px 16px -8px rgba(11, 31, 14, .3);
}
.elementor-widget.ec-print--sm { position: absolute; left: -9%; bottom: -11%; width: 50%; }
.elementor-widget.ec-print--sm img { aspect-ratio: 4 / 3; object-position: 50% 50%; border: 5px solid var(--e-global-color-ivory, #FFFFF0); border-radius: 22px; }
.ec-panel__photo--award .ec-media img { object-position: 58% 40%; }

/* Vision, mission, values: one definition-list rhythm, big term left, meaning right */
.e-con.ec-split--rule { border-top: 1px solid rgba(11, 31, 14, .16); padding-top: clamp(32px, 4vw, 56px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.e-con.ec-split--first { margin-top: 0; }
.ec-statement, .ec-statement p {
	font-family: var(--wpb-font-heading); font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 500; line-height: 1.18; letter-spacing: -.02em;
	color: var(--wpb-dark); margin: 0; max-width: 24ch; text-wrap: balance;
}
.e-con.ec-vrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 6px 32px; align-items: baseline; padding: 22px 0; }
.ec-vrow .ec-body, .ec-vrow .ec-body p { margin: 0; color: var(--wpb-muted); }

/* Team: leaf-cut portraits that alternate direction and step down the row; each leaf unfurls on hover */
.e-con.ec-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); align-items: start; padding: 0 0 clamp(28px, 4vw, 64px); }
.e-con.ec-member { flex-direction: column; gap: 4px; padding: 0; width: 100%; }
.e-con.ec-member:nth-child(even) { margin-top: clamp(28px, 4vw, 64px); }
.elementor-widget.ec-member__photo { position: relative; isolation: isolate; width: 100%; margin-bottom: 16px; }
.elementor-widget.ec-member__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ec-green-deep); border-radius: 58% 10px 58% 10px; }
.elementor-widget.ec-member__photo img {
	display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0;
	border-radius: 10px 58% 10px 58%; transition: border-radius .8s var(--ec-ease);
}
.ec-member:nth-child(even) .elementor-widget.ec-member__photo::before { border-radius: 10px 58% 10px 58%; }
.ec-member:nth-child(even) .elementor-widget.ec-member__photo img { border-radius: 58% 10px 58% 10px; }
.ec-member:hover .elementor-widget.ec-member__photo img { border-radius: 22px; }
.ec-member__role, .ec-member__role p { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--wpb-ivory); }
.elementor-widget.ec-member__li { margin-top: 12px; }
.ec-member__li a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--wpb-ivory); border: 1px solid rgba(255, 255, 240, .35); transition: background .25s, color .25s, border-color .25s; }
.ec-member__li a:hover, .ec-member__li a:focus-visible { background: var(--wpb-lime); border-color: var(--wpb-lime); color: var(--wpb-dark); }
@media (max-width: 1024px) {
	.e-con.ec-about { grid-template-columns: minmax(0, 1fr); }
	.e-con.ec-about__art { margin-top: 0; width: 88%; max-width: 520px; margin-left: 9%; }
	.e-con.ec-hero--lift { padding-bottom: clamp(64px, 8vw, 112px); }
	.e-con.ec-team { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 767px) {
	.e-con.ec-vrow { grid-template-columns: minmax(0, 1fr); }
	.elementor-widget.ec-print--sm img { border-width: 4px; border-radius: 18px; }
}

/* Footer on brand green: full-strength white text (dimmed text fails 4.5:1 here) */
.wpb-footer { background: var(--ec-green); }
.wpb-footer a { opacity: 1; }
.wpb-footer__bottom { opacity: 1; border-top-color: rgba(255, 255, 255, .3); }

/* Services page: numbered rows, framed print over a lime leaf, sides alternate */
.e-con.ec-chips { flex-direction: row; flex-wrap: wrap; gap: 10px; padding: clamp(32px, 4vw, 56px) 0 0; }
.ec-chips .elementor-widget.ec-btn .elementor-button { padding: 13px 20px; font-size: .95rem; border-radius: 999px; }
.ec-chips .elementor-widget.ec-btn .elementor-button-text::after { display: none; }
.e-con.ec-svc-sec { scroll-margin-top: 100px; }
.e-con.ec-svc-sec--alt { background: var(--wpb-surface); }
.e-con.ec-svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 112px); align-items: center; padding: 0; }
.e-con.ec-svc--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.e-con.ec-svc--flip .ec-svc__art { order: 2; }
.e-con.ec-svc__art { position: relative; isolation: isolate; display: block; padding: 0; width: 100%; max-width: 540px; }
.e-con.ec-svc__art::after { content: ""; position: absolute; z-index: -1; inset: -6% -8% 12% 22%; border-radius: 8px 64% 8px 64%; background: var(--wpb-lime); }
.ec-svc--flip .ec-svc__art::after { inset: -6% 22% 12% -8%; border-radius: 64% 8px 64% 8px; }
.ec-svc__art .elementor-widget.ec-print img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
.e-con.ec-svc__art--poster .elementor-widget.ec-print img { aspect-ratio: 3 / 2; }
.e-con.ec-svc__copy { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0; }
.ec-svc__no, .ec-svc__no p { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--wpb-font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .14em; color: var(--wpb-primary); }
.ec-svc__no p::after { content: ""; width: 48px; height: 2px; background: currentColor; }
.ec-svc .ec-h2 .elementor-heading-title { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.ec-svc .ec-rows { width: 100%; }
.ec-svc .ec-rows > .elementor-element { position: relative; padding-left: 34px; }
.ec-svc .ec-rows > .elementor-element::before {
	content: ""; position: absolute; left: 0; top: 23px; width: 20px; height: 20px; background: var(--wpb-primary);
	-webkit-mask: var(--ec-check) center / contain no-repeat; mask: var(--ec-check) center / contain no-repeat;
}
@media (max-width: 1024px) {
	.e-con.ec-svc, .e-con.ec-svc--flip { grid-template-columns: minmax(0, 1fr); }
	.e-con.ec-svc--flip .ec-svc__art { order: 0; }
	.e-con.ec-svc__art { width: 88%; max-width: 480px; margin-left: 4%; }
}

/* Suchitwa Mission logo in the header, a little smaller than the site logo */
.wpb-header__brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wpb-header__partner { display: block; height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; box-sizing: border-box; }
@media (max-width: 767px) {
	.wpb-header__inner { gap: 12px; }
	.wpb-header .wpb-menu-toggle { padding-inline: 8px !important; } /* kit button padding was widening it to 80px */
	.wpb-header__brand { gap: 8px; }
	.wpb-header__brand .custom-logo-link { flex-shrink: 0; }
	.wpb-header__partner { height: 28px; padding: 4px 5px; border-radius: 6px; }
}
@media (max-width: 359px) { .wpb-header__partner { display: none; } } /* no room beside the site logo */
/* Credential line between the two logos. Shown only where it fits: tablets (nav collapsed) and wide desktops.
   Phones keep the logo chip alone; the same line is in the homepage hero and the footer. */
.wpb-header__cred { display: none; padding-left: 16px; border-left: 1px solid rgba(11, 31, 14, .18); font-size: .78rem; line-height: 1.35; color: var(--wpb-dark); white-space: nowrap; }
.wpb-header__cred strong { color: var(--ec-green); font-weight: 700; }
@media (min-width: 820px) and (max-width: 1024px), (min-width: 1366px) { .wpb-header__cred { display: block; } }
.wpb-menu a { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1180px) {
	.wpb-menu { gap: 18px; }
	.wpb-menu a, .wpb-header__cta { font-size: .92rem; }
	.wpb-header__cta { padding: 12px 16px; gap: 8px; }
}

/* Hero service strip: frosted panel of icon + label links (replaced the scrolling ticker). Icons: Lucide, ISC licence. */
.ec-hero:not(.ec-hero--page) .e-con.ec-strip {
	grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch; gap: 0;
	margin: clamp(40px, 5vw, 72px) 0 clamp(28px, 3.5vw, 48px); padding: 8px;
	border: 1px solid rgba(232, 255, 163, .18); border-radius: 22px;
	background: linear-gradient(180deg, rgba(20, 44, 6, .34), rgba(20, 44, 6, .2));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 48px -28px rgba(11, 31, 14, .7);
}
.ec-strip > .elementor-element + .elementor-element { position: relative; }
.ec-strip > .elementor-element + .elementor-element::before {
	content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(232, 255, 163, .16);
}
.ec-strip .elementor-heading-title a {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 15px;
	color: #fff; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background .3s, color .3s;
}
/* badge circle + masked icon on top of it */
.ec-strip .elementor-heading-title a::before {
	content: ""; flex: none; width: 50px; height: 50px; border-radius: 50%;
	background: rgba(232, 255, 163, .12); box-shadow: inset 0 0 0 1px rgba(232, 255, 163, .4);
	transition: background .3s, box-shadow .3s, transform .3s;
}
.ec-strip .elementor-heading-title a::after {
	content: ""; position: absolute; left: 28px; top: 50%; width: 26px; height: 26px; margin-top: -13px; background: #E8FFA3;
	-webkit-mask: var(--ec-ico) center / contain no-repeat; mask: var(--ec-ico) center / contain no-repeat;
	transition: background .3s, transform .3s;
}
.ec-strip .elementor-heading-title a:hover, .ec-strip .elementor-heading-title a:focus-visible { background: rgba(232, 255, 163, .08); color: #fff; }
.ec-strip .elementor-heading-title a:hover::before, .ec-strip .elementor-heading-title a:focus-visible::before { background: #E8FFA3; box-shadow: 0 8px 20px -8px rgba(232, 255, 163, .7); transform: scale(1.06); }
.ec-strip .elementor-heading-title a:hover::after, .ec-strip .elementor-heading-title a:focus-visible::after { background: #3f5f10; transform: scale(1.06); }
.ec-strip .elementor-heading-title a:focus-visible { outline: 2px solid #E8FFA3; outline-offset: 2px; }
@media (max-width: 1280px) {
	.ec-strip .elementor-heading-title a { gap: 12px; padding: 12px; font-size: .95rem; }
	.ec-strip .elementor-heading-title a::before { width: 44px; height: 44px; }
	.ec-strip .elementor-heading-title a::after { left: 22px; width: 24px; height: 24px; margin-top: -12px; }
}
@media (max-width: 1024px) {
	.ec-hero:not(.ec-hero--page) .e-con.ec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.ec-strip > .elementor-element + .elementor-element::before { display: none; }
	.ec-strip .elementor-heading-title a { background: rgba(232, 255, 163, .05); }
	.e-con.ec-strip > .elementor-element:last-child { grid-column: 1 / -1; } /* 2-col grid: 5th item gets its own row */
}
@media (max-width: 400px) {
	.ec-strip .elementor-heading-title a { gap: 10px; padding: 10px; font-size: .9rem; }
	.ec-strip .elementor-heading-title a::before { width: 38px; height: 38px; }
	.ec-strip .elementor-heading-title a::after { left: 19px; width: 20px; height: 20px; margin-top: -10px; }
}
@media (prefers-reduced-motion: reduce) { .ec-strip .elementor-heading-title a, .ec-strip .elementor-heading-title a::before, .ec-strip .elementor-heading-title a::after { transition: none; } }
.ec-ico--recycle { --ec-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5'/%3E%3Cpath d='M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12'/%3E%3Cpath d='m14 16-3 3 3 3'/%3E%3Cpath d='M8.293 13.596 7.196 9.5 3.1 10.598'/%3E%3Cpath d='m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843'/%3E%3Cpath d='m13.378 9.633 4.096 1.098 1.097-4.096'/%3E%3C/svg%3E"); }
.ec-ico--drop { --ec-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z'/%3E%3C/svg%3E"); }
.ec-ico--bolt { --ec-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E"); }
.ec-ico--building { --ec-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4M10 10h4M10 14h4M10 18h4'/%3E%3C/svg%3E"); }
.ec-ico--people { --ec-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }

/* Header button: label + arrow-up-right (Lucide, ISC licence) */
.wpb-header__cta { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.wpb-header__cta::after {
	content: ""; width: 16px; height: 16px; background: currentColor; transition: transform .25s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wpb-header__cta:hover::after { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .wpb-header__cta::after { transition: none; } }

/* Projects page: flagship rows reuse the services layout; Naval Base before/after pair; compact project list.
   Source photos are ~450px wide, so frames stay near native size. */
.ec-eyebrow p { font-size: .82rem; text-transform: uppercase; }
.e-con.ec-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; width: 100%; }
.e-con.ec-ba__item { position: relative; padding: 0; width: 100%; }
.ec-ba__item .elementor-widget-image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--ec-r-sm); }
.elementor-widget.ec-ba__tag { position: absolute; top: 12px; left: 12px; z-index: 1; width: auto; }
.ec-ba__tag .elementor-heading-title { padding: 6px 12px; border-radius: 999px; background: var(--e-global-color-ivory, #FFFFF0); color: var(--wpb-dark); font-family: var(--wpb-font-body); font-size: .85rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.ec-ba__item + .ec-ba__item .ec-ba__tag .elementor-heading-title { background: var(--wpb-lime); }
.e-con.ec-projs { flex-direction: column; gap: 0; padding: 0; }
.e-con.ec-proj { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(28px, 3.5vw, 48px) 0; border-top: 1px solid rgba(11, 31, 14, .16); width: 100%; scroll-margin-top: 100px; }
.e-con.ec-proj:last-child { border-bottom: 1px solid rgba(11, 31, 14, .16); }
.ec-proj__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ec-r-sm); }
.e-con.ec-proj__copy { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; }
.ec-proj .ec-h3 .elementor-heading-title { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.ec-proj .ec-body p { margin: 0; color: var(--wpb-muted); }
@media (max-width: 767px) {
	.e-con.ec-proj { grid-template-columns: minmax(0, 1fr); }
	.elementor-widget.ec-ba__tag { top: 8px; left: 8px; }
}

/* Naval Base before/after slider (motion.js adds .is-slider and the range input). Wider photo column. */
@media (min-width: 1025px) { .e-con.ec-svc--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.e-con.ec-ba.is-slider { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--ec-r); box-shadow: 0 30px 48px -22px rgba(11, 31, 14, .55); }
.ec-ba.is-slider .e-con.ec-ba__item { position: absolute; inset: 0; }
.ec-ba.is-slider .ec-ba__item .elementor-widget-image, .ec-ba.is-slider .ec-ba__item .elementor-widget-container { height: 100%; }
.ec-ba.is-slider .ec-ba__item .elementor-widget-image img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.ec-ba.is-slider .ec-ba__item + .ec-ba__item { clip-path: inset(0 0 0 var(--ec-pos, 50%)); }
.ec-ba.is-slider .ec-ba__item + .ec-ba__item .elementor-widget.ec-ba__tag { left: auto; right: 12px; }
.ec-ba.is-slider::before, .ec-ba.is-slider::after { content: ""; position: absolute; z-index: 2; left: var(--ec-pos, 50%); pointer-events: none; }
.ec-ba.is-slider::before { top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--e-global-color-ivory, #FFFFF0); }
.ec-ba.is-slider::after {
	top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; box-shadow: 0 8px 20px -6px rgba(11, 31, 14, .6);
	background: var(--wpb-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F0E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.ec-ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ec-ba.is-slider:has(.ec-ba__range:focus-visible)::after { outline: 3px solid var(--e-global-color-ivory, #FFFFF0); outline-offset: 3px; }
@media (max-width: 767px) { .ec-ba.is-slider::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; } }

/* Kumbalangi gallery: main photo with the lime leaf behind it, four thumbnails below (motion.js swaps the main photo) */
.e-con.ec-gal.ec-svc__art::after { content: none; }
.elementor-widget.ec-gal__main { position: relative; isolation: isolate; }
.elementor-widget.ec-gal__main::after { content: ""; position: absolute; z-index: -1; inset: -6% -8% 12% 22%; border-radius: 8px 64% 8px 64%; background: var(--wpb-lime); }
.ec-gal__main img { transition: opacity .25s; }
.e-con.ec-gal__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0; margin-top: 18px; }
.ec-gal__thumb a { display: block; border-radius: 12px; overflow: hidden; opacity: .7; transition: opacity .2s, outline-color .2s; outline: 3px solid transparent; outline-offset: 2px; }
.ec-gal__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.ec-gal__thumb a:hover, .ec-gal__thumb a:focus-visible { opacity: 1; }
.ec-gal__thumb a:focus-visible { outline-color: var(--wpb-dark); }
.ec-gal__thumb a[aria-current="true"] { opacity: 1; outline-color: var(--ec-green); }
@media (prefers-reduced-motion: reduce) { .ec-gal__main img, .ec-gal__thumb a { transition: none; } }
@media (max-width: 767px) { .e-con.ec-gal__thumbs { gap: 8px; margin-top: 14px; } }

/* Projects hero: three short statement lines; keep each on one line on phones */
@media (max-width: 480px) { .ec-h1--lines .elementor-heading-title { font-size: clamp(2rem, 9.6vw, 2.75rem); } }

/* Projects hero: copy column (headline, intro, chips) beside the shared photo collage */
.e-con.ec-hero--collage { overflow-x: clip; } /* the leaf behind the collage must not widen the page */
.ec-hero--collage .ec-hero__copy .e-con.ec-chips { padding-top: 4px; }
.ec-hero--collage .ec-hero__copy .ec-body p { max-width: 52ch; }
.ec-hero--collage .ec-mosaic__tall img { object-position: 58% 45%; }

/* Team of six: 3 x 2 on desktop with the centre column stepped down; leaf cuts alternate in a checker pattern.
   A hairline under each portrait sets name and role as one tidy caption. */
.e-con.ec-team { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4.5vw, 72px); row-gap: clamp(48px, 6vw, 88px); max-width: 1120px; margin-inline: auto; }
.e-con.ec-member:nth-child(even) { margin-top: 0; }
.e-con.ec-member:nth-child(3n+2) { margin-top: clamp(40px, 5vw, 80px); }
.elementor-widget.ec-member__photo { margin-bottom: 22px; }
.ec-member .elementor-widget.ec-h3 { border-top: 1px solid rgba(255, 255, 240, .24); padding-top: 18px; }
.ec-member .ec-h3 .elementor-heading-title { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
@media (max-width: 1024px) {
	.e-con.ec-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.ec-member:nth-child(3n+2) { margin-top: 0; }
	.e-con.ec-member:nth-child(even) { margin-top: clamp(28px, 4vw, 64px); }
}
@media (max-width: 480px) { .ec-member__role, .ec-member__role p { font-size: .92rem; } }

/* ===== Contact page: details beside the Formwrapper form ===== */
.e-con.ec-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: 0; }
.e-con.ec-cinfo { flex-direction: column; gap: 18px; padding: 0; }
.ec-cinfo .ec-body p { margin: 0; color: var(--wpb-muted); }
.ec-cinfo__list { list-style: none; margin: 12px 0 0; padding: 0; }
.ec-cinfo__list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(11, 31, 14, .16); }
.ec-cinfo__list li:last-child { border-bottom: 1px solid rgba(11, 31, 14, .16); }
.ec-cinfo__label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ec-green); }
.ec-cinfo__list a, .ec-cinfo__list li > span:last-child { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; color: var(--wpb-text, #0B1F0E); text-decoration: none; overflow-wrap: anywhere; }
.ec-cinfo__list a:hover, .ec-cinfo__list a:focus-visible { color: var(--ec-green); text-decoration: underline; text-underline-offset: 3px; }
.e-con.ec-formcard { padding: clamp(12px, 2vw, 28px); border-radius: var(--ec-r); background: var(--wpb-surface); width: 100%; }
.ec-formcard iframe { display: block; width: 100%; min-height: 720px; border: 0; border-radius: var(--ec-r-sm); background: #fff; }
.ec-formcard__alt { margin: 14px 4px 0; font-size: .875rem; color: var(--wpb-muted); }
.ec-formcard__alt a { color: var(--ec-green); }
@media (max-width: 900px) {
	.e-con.ec-contact { grid-template-columns: minmax(0, 1fr); }
	.ec-formcard iframe { min-height: 760px; }
}

/* ===== Privacy policy: one readable prose column ===== */
.elementor.elementor .e-con > .elementor-widget.ec-prose { max-width: 760px; margin-inline: auto; width: 100%; }
.ec-prose p, .ec-prose li { font-size: 1.0625rem; line-height: 1.7; color: var(--wpb-text, #0B1F0E); }
.ec-prose p { margin: 0 0 1em; }
.ec-prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.015em; line-height: 1.2; margin: 1.6em 0 .6em; padding-top: 1.2em; border-top: 1px solid rgba(11, 31, 14, .16); }
.ec-prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.ec-prose li { margin-bottom: .4em; }
.ec-prose li::marker { color: var(--ec-green); }
.ec-prose a { color: var(--ec-green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.ec-prose .ec-prose__meta { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ec-green); }

/* Gallery lightbox (motion.js): full-size photo in a native dialog over a deep-green scrim */
.ec-gal__main.ec-zoomable { cursor: zoom-in; }
.ec-gal__main.ec-zoomable:focus-visible { outline: 3px solid var(--wpb-dark); outline-offset: 4px; border-radius: var(--ec-r); }
.ec-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(56px, 7vw, 88px) clamp(12px, 6vw, 96px); border: 0; background: transparent; color: #fff; overflow: hidden; }
.ec-lb[open] { display: grid; place-items: center; }
.ec-lb::backdrop { background: rgba(10, 22, 4, .96); }
.ec-lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; min-height: 0; }
.ec-lb img { display: block; max-width: 100%; max-height: calc(100dvh - 2 * clamp(56px, 7vw, 88px) - 40px); width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.ec-lb figcaption { font-style: normal; font-size: .95rem; line-height: 1.4; color: #FFFFF0; text-align: center; max-width: 70ch; }
dialog.ec-lb .ec-lb__btn { position: absolute; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--e-global-color-ivory, #FFFFF0); color: var(--wpb-dark); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transition: background .2s, transform .2s; }
.ec-lb__btn::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--ec-lb-ico) center / contain no-repeat; mask: var(--ec-lb-ico) center / contain no-repeat; }
dialog.ec-lb .ec-lb__btn:hover, dialog.ec-lb .ec-lb__btn:focus-visible { background: var(--wpb-lime); color: var(--wpb-dark); transform: scale(1.06); }
.ec-lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ec-lb__close { top: 16px; right: 16px; --ec-lb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.ec-lb__prev, .ec-lb__next { top: 50%; margin-top: -26px; }
.ec-lb__prev { left: clamp(10px, 2vw, 28px); --ec-lb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E"); }
.ec-lb__next { right: clamp(10px, 2vw, 28px); --ec-lb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
@media (max-width: 767px) {
	dialog.ec-lb .ec-lb__btn { width: 44px; height: 44px; }
	.ec-lb__prev, .ec-lb__next { top: auto; bottom: 18px; margin-top: 0; }
	.ec-lb { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: no-preference) {
	@keyframes ec-lb-in { from { opacity: 0; transform: scale(.96); } }
	.ec-lb[open] figure { animation: ec-lb-in .35s var(--ec-ease); }
	.ec-lb[open]::backdrop { animation: ec-lb-in .25s ease-out; }
}
