/* =========================================================
   EZYMIX — theme styles
   Industrial editorial: Barlow Condensed + DM Sans, EzyMix green.
   ========================================================= */

:root {
	--em-green: #058753;
	--em-green-dark: #046b42;
	--em-green-light: #07a864;
	--em-black: #111111;
	--em-charcoal: #1a1f24;
	--em-cream: #f5f0eb;
	--em-warm-grey: #e8e2d9;
	--em-mid-grey: #9a9590;
	--em-dark-grey: #3d3a36;
	--em-white: #ffffff;
	--em-line: rgba(17, 17, 17, 0.1);
	--em-line-strong: rgba(17, 17, 17, 0.2);

	--em-font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--em-font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--em-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--em-t: 0.22s var(--em-ease);
	--em-t-slow: 0.45s var(--em-ease);

	--em-container: 1280px;
	--em-gutter: 24px;
	--em-section: clamp(56px, 8vw, 104px);
	--em-radius: 0;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--em-green) var(--em-black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--em-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--em-black);
	background: var(--em-cream);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
html.em-drawer-open, html.em-drawer-open body { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--em-green); text-decoration: none; transition: color var(--em-t); }
a:hover { color: var(--em-green-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--em-font-display);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	margin: 0 0 0.5em;
	color: var(--em-black);
}
p { margin: 0 0 1.1em; }
::selection { background: var(--em-green); color: #fff; }
:focus-visible { outline: 3px solid var(--em-green); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.em-skip:focus { position: fixed; left: 16px; top: 16px; z-index: 1000; background: var(--em-green); color: #fff; padding: 12px 18px; width: auto; height: auto; clip: auto; margin: 0; }

.em-container { width: 100%; max-width: var(--em-container); margin: 0 auto; padding-left: var(--em-gutter); padding-right: var(--em-gutter); }
.em-container--narrow { max-width: 900px; }
.em-section { padding: var(--em-section) 0; }
.em-section--tight { padding-top: 0; }
.em-muted { color: var(--em-mid-grey); }
.em-hide-desktop { display: block; }
@media (min-width: 768px) { .em-hide-desktop { display: none; } }

/* ---------- Typography helpers ---------- */
.em-display { font-size: clamp(2.8rem, 7vw, 5.2rem); margin-bottom: 0.4em; }
.em-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--em-font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--em-green); margin-bottom: 14px;
}
.em-eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--em-green); }
.em-eyebrow--light { color: rgba(255,255,255,0.92); }
.em-accent-line { display: block; width: 44px; height: 4px; background: var(--em-green); margin-bottom: 18px; }
.em-link-underline {
	font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--em-black);
	border-bottom: 2px solid var(--em-green); padding-bottom: 3px; white-space: nowrap;
}
.em-link-underline:hover { color: var(--em-green); }

/* ---------- Buttons ---------- */
.em-button, .em-rte .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--em-font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	background: var(--em-green); color: #fff !important; border: 2px solid var(--em-green); border-radius: var(--em-radius);
	padding: 15px 30px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background var(--em-t), border-color var(--em-t), transform var(--em-t), color var(--em-t);
}
.em-button:hover { background: var(--em-green-dark); border-color: var(--em-green-dark); transform: translateY(-1px); }
.em-button--secondary { background: transparent; color: var(--em-black) !important; border-color: var(--em-black); }
.em-button--secondary:hover { background: var(--em-black); color: var(--em-cream) !important; border-color: var(--em-black); }
.em-button--light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.5); }
.em-button--light:hover { background: #fff; color: var(--em-black) !important; border-color: #fff; }
.em-button--small { padding: 10px 18px; font-size: 0.7rem; }
.em-button[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Announcement bar ---------- */
.em-announcement { background: var(--em-green); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.em-announcement__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.em-announcement__phone { color: #fff; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; }
.em-announcement__phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .em-announcement__text { font-size: 0.64rem; } }

/* ---------- Header ---------- */
.em-header {
	position: sticky; top: 0; z-index: 90;
	background: var(--em-black); color: var(--em-cream);
	border-bottom: 1px solid rgba(255,255,255,0.08);
	transition: transform 0.35s var(--em-ease), box-shadow var(--em-t);
}
.em-header.is-hidden { transform: translateY(-100%); }
.em-header.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.em-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.em-header__row--top { padding: 10px 0; }
.em-header__right { display: flex; align-items: center; gap: 6px; }
.em-logo { display: inline-flex; align-items: center; }
.em-logo__img { height: 54px; width: auto; }
.em-wordmark { font-family: var(--em-font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em; text-transform: uppercase; color: inherit; line-height: 1; }
.em-wordmark--small { font-size: 1rem; letter-spacing: 0.12em; color: var(--em-green-light); }
.em-iconbtn { background: none; border: 0; color: var(--em-cream); width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--em-radius); transition: color var(--em-t), background var(--em-t); }
.em-iconbtn:hover { color: var(--em-green-light); background: rgba(255,255,255,0.06); }
.em-menu-toggle { display: inline-flex; }

/* Top (utility) nav */
.em-topnav { display: none; }
.em-topnav__list, .em-nav__list, .em-footer__list, .em-drawer__list { list-style: none; margin: 0; padding: 0; }
.em-topnav__list { display: flex; gap: 4px; }
.em-topnav__list a {
	display: block; padding: 8px 12px; color: rgba(245,240,235,0.82);
	font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
	border-bottom: 2px solid transparent; transition: color var(--em-t), border-color var(--em-t);
}
.em-topnav__list a:hover, .em-topnav__list .current-menu-item > a { color: var(--em-green-light); }
.em-topnav__list .current-menu-item > a { border-bottom-color: var(--em-green); }

/* Main nav */
.em-nav { display: none; }
.em-nav__list { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -12px; }
.em-nav__list > li { position: relative; display: flex; align-items: center; }
.em-nav__list > li > a {
	display: block; padding: 12px 12px 14px; color: rgba(245,240,235,0.86);
	font-size: 0.8rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
	border-bottom: 2px solid transparent; transition: color var(--em-t), border-color var(--em-t);
}
.em-nav__list > li:hover > a, .em-nav__list > li.is-open > a, .em-nav__list > li.current-menu-item > a, .em-nav__list > li.current-menu-ancestor > a, .em-nav__list > li.current-menu-parent > a { color: var(--em-green-light); }
.em-nav__list > li.current-menu-item > a, .em-nav__list > li.current-menu-ancestor > a { border-bottom-color: var(--em-green); }
.em-nav__toggle { background: none; border: 0; color: rgba(245,240,235,0.7); padding: 6px; margin-left: -8px; display: inline-flex; align-items: center; transition: transform var(--em-t), color var(--em-t); }
.em-nav__list > li:hover > .em-nav__toggle, .em-nav__list > li.is-open > .em-nav__toggle { color: var(--em-green-light); transform: rotate(180deg); }
.em-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px; z-index: 50;
	list-style: none; margin: 0; padding: 8px 0;
	background: var(--em-charcoal); border: 1px solid rgba(255,255,255,0.1); border-top: 2px solid var(--em-green);
	box-shadow: 0 16px 48px rgba(0,0,0,0.4);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--em-t), transform var(--em-t), visibility var(--em-t);
}
.em-nav__list > li:hover > .sub-menu, .em-nav__list > li.is-open > .sub-menu, .em-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.em-nav .sub-menu a { display: block; padding: 11px 22px; color: rgba(245,240,235,0.85); font-size: 0.86rem; letter-spacing: 0.02em; transition: background var(--em-t), color var(--em-t); }
.em-nav .sub-menu a:hover, .em-nav .sub-menu .current-menu-item > a { color: #fff; background: rgba(5,135,83,0.18); }

@media (min-width: 1024px) {
	.em-topnav { display: block; }
	.em-nav { display: block; }
	.em-menu-toggle { display: none; }
	.em-header__row--top { padding: 14px 0 6px; }
	.em-logo__img { height: 62px; }
}

/* Search panel */
.em-search { background: var(--em-charcoal); border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.em-search__form { display: flex; gap: 10px; }
.em-search__input, .em-search__form .em-field__input { flex: 1; min-width: 0; }
.em-search__input {
	font-family: var(--em-font-body); font-size: 1rem; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.15); background: #fff; color: var(--em-black); border-radius: var(--em-radius);
}
.em-search__form--inline { max-width: 680px; margin: 0 0 32px; }

/* Drawer */
.em-drawer { position: fixed; inset: 0; z-index: 200; }
.em-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.3s; }
.em-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 88vw);
	background: var(--em-charcoal); color: var(--em-cream); overflow-y: auto;
	transform: translateX(-100%); transition: transform 0.3s var(--em-ease);
	display: flex; flex-direction: column;
}
.em-drawer.is-open .em-drawer__backdrop { opacity: 1; }
.em-drawer.is-open .em-drawer__panel { transform: translateX(0); }
.em-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.em-drawer__nav { padding: 8px 0; }
.em-drawer__nav--secondary { border-top: 1px solid rgba(255,255,255,0.08); }
.em-drawer__list li { position: relative; }
.em-drawer__list a {
	display: block; padding: 14px 56px 14px 24px; color: var(--em-cream);
	font-family: var(--em-font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.em-drawer__list--secondary a { font-family: var(--em-font-body); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.08em; }
.em-drawer__list a:hover { color: #fff; background: rgba(5,135,83,0.18); }
.em-drawer .em-nav__toggle { position: absolute; right: 8px; top: 6px; width: 40px; height: 40px; justify-content: center; margin: 0; color: var(--em-cream); }
.em-drawer li.is-open > .em-nav__toggle { transform: rotate(180deg); color: var(--em-green-light); }
.em-drawer .sub-menu { list-style: none; margin: 0; padding: 0 0 6px; background: rgba(0,0,0,0.25); display: none; }
.em-drawer li.is-open > .sub-menu { display: block; }
.em-drawer .sub-menu a { font-family: var(--em-font-body); font-size: 0.92rem; font-weight: 400; text-transform: none; letter-spacing: 0; padding: 11px 24px 11px 36px; border: 0; }
.em-drawer__phone { margin: auto 24px 28px; padding-top: 20px; font-family: var(--em-font-display); font-size: 1.7rem; font-weight: 800; color: var(--em-green-light); }

/* ---------- Hero ---------- */
.em-hero { position: relative; background: var(--em-black); color: #fff; height: clamp(520px, 78vh, 820px); overflow: hidden; }
.em-hero__track, .em-hero__slide { position: absolute; inset: 0; }
.em-hero__slide { opacity: 0; transition: opacity 0.9s var(--em-ease); display: flex; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.em-hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.em-hero__media { position: absolute; inset: 0; }
.em-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s linear; }
.em-hero__slide.is-active .em-hero__media img { transform: scale(1); }
.em-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse 80% 55% at 50% 62%, rgba(0,0,0,0.52) 0%, transparent 100%),
		linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.48) 35%, rgba(0,0,0,0.22) 70%, rgba(0,0,0,0.12) 100%);
}
.em-hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-bottom: 40px; }
.em-hero__heading {
	color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 0.98; max-width: 14ch; margin: 0 0 28px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 4px 24px rgba(0,0,0,0.5);
}
.em-hero__controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; }
.em-hero__arrow { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: background var(--em-t), border-color var(--em-t); }
.em-hero__arrow:hover { background: var(--em-green); border-color: var(--em-green); }
.em-hero__dots { display: flex; gap: 8px; }
.em-hero__dot { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,0.4); transition: all var(--em-t); }
.em-hero__dot.is-active { width: 40px; background: var(--em-green); }

/* ---------- Section head ---------- */
.em-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--em-black); padding-bottom: 20px; margin-bottom: 36px; }
.em-section__title { font-size: clamp(2rem, 4.2vw, 3.4rem); margin: 0; }
.em-section__text { margin: 10px 0 0; color: var(--em-dark-grey); font-size: 1.05rem; }
.em-section__head .em-link-underline { margin-bottom: 6px; display: none; }
@media (min-width: 768px) { .em-section__head .em-link-underline { display: inline-block; } }
.em-section__foot { margin-top: 32px; text-align: center; }

/* ---------- Grids & cards ---------- */
.em-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .em-grid { gap: 16px; } }
@media (min-width: 768px) { .em-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .em-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .em-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.em-card { position: relative; background: transparent; }
.em-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.em-card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--em-line); overflow: hidden; display: flex; align-items: center; justify-content: center; transition: border-color var(--em-t), box-shadow var(--em-t); }
.em-card:hover .em-card__media { border-color: rgba(5,135,83,0.5); box-shadow: 0 12px 30px rgba(17,17,17,0.08); }
.em-card--collection .em-card__media, .em-card--post .em-card__media { background: var(--em-warm-grey); border: 0; }
.em-card__media--wide { aspect-ratio: 16 / 10; }
.em-card__img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 0.6s var(--em-ease); }
.em-card__img--cover { object-fit: cover; padding: 0; }
.em-card--collection .em-card__img { object-fit: cover; padding: 0; }
.em-card__placeholder { width: 40%; aspect-ratio: 1; background: repeating-linear-gradient(45deg, rgba(17,17,17,0.08) 0 6px, transparent 6px 14px); }
.em-card:hover .em-card__img { transform: scale(1.04); }
.em-card__body { padding: 16px 0 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.em-card__eyebrow { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--em-green); }
.em-card__title { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; margin: 0; transition: color var(--em-t); }
.em-card:hover .em-card__title { color: var(--em-green); }
.em-card__meta { font-size: 0.82rem; color: var(--em-mid-grey); }
.em-card__excerpt { font-size: 0.92rem; color: var(--em-dark-grey); margin: 0; }
.em-card__cta { margin-top: auto; padding-top: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--em-dark-grey); transition: color var(--em-t), transform var(--em-t); display: inline-block; }
.em-card:hover .em-card__cta { color: var(--em-green); transform: translateX(3px); }
.em-card--page .em-card__link { border: 1px solid var(--em-line); padding: 20px; background: #fff; }

/* ---------- Image with text ---------- */
.em-imagetext { background: var(--em-cream); padding-top: 0; }
.em-imagetext__inner { display: grid; gap: 32px; align-items: center; }
.em-imagetext__media { background: #fff; border: 1px solid var(--em-line); overflow: hidden; }
.em-imagetext__media img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 4 / 3; padding: 4%; }
.em-imagetext__heading { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 24px; }
.em-imagetext__text { color: var(--em-dark-grey); font-size: 1.05rem; max-width: 50ch; margin-bottom: 28px; }
@media (min-width: 900px) { .em-imagetext__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } .em-imagetext__content { padding-right: 24px; } }

/* ---------- Facts ---------- */
.em-facts { background: var(--em-warm-grey); }
.em-facts .em-section__head { border-bottom-color: rgba(17,17,17,0.25); }
.em-facts__grid { display: grid; gap: 0; }
.em-fact { padding: 28px 0; border-top: 1px solid var(--em-line); transition: background var(--em-t); }
.em-fact__media { height: 220px; overflow: hidden; margin-bottom: 22px; }
.em-fact__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform 0.6s var(--em-ease), filter var(--em-t); }
.em-fact:hover .em-fact__media img { transform: scale(1.05); filter: grayscale(0); }
.em-fact__heading { font-size: 1.6rem; margin-bottom: 10px; }
.em-fact__text { color: var(--em-dark-grey); font-size: 0.98rem; margin: 0; }
@media (min-width: 768px) {
	.em-facts__grid { grid-template-columns: repeat(3, 1fr); }
	.em-fact { border-top: 0; border-left: 1px solid var(--em-line); padding: 8px 32px 24px; }
	.em-fact:first-child { border-left: 0; padding-left: 0; }
	.em-fact:hover { background: rgba(5,135,83,0.04); }
}

/* ---------- CTA ---------- */
.em-cta { background: var(--em-cream); padding: var(--em-section) 0; text-align: center; border-top: 1px solid var(--em-line); }
.em-cta__heading { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 12px; }
.em-cta__text { color: var(--em-dark-grey); font-size: 1.05rem; max-width: 60ch; margin: 0 auto 28px; }
.em-cta__phone {
	display: inline-block; font-family: var(--em-font-display); font-weight: 900; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -0.02em;
	color: var(--em-green); padding: 10px 0 10px 28px; border-left: 4px solid var(--em-green); transition: color var(--em-t), transform var(--em-t);
}
.em-cta__phone:hover { color: var(--em-green-dark); transform: translateX(4px); }

/* ---------- Footer ---------- */
.em-footer { background: var(--em-charcoal); color: var(--em-cream); border-top: 3px solid var(--em-green); }
.em-footer__top { padding: 44px 0 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.em-footer__top-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.em-footer__brand { font-family: var(--em-font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--em-green-light); }
.em-footer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.em-footer__list a { color: rgba(245,240,235,0.7); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.em-footer__list a:hover { color: var(--em-green-light); }
.em-footer__bottom { padding: 32px 0 28px; }
.em-footer__bottom-inner { display: flex; flex-direction: column; gap: 22px; }
.em-footer__wordmark { font-size: 1.5rem; color: var(--em-cream); }
.em-footer__tagline { display: block; margin-top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--em-green-light); }
.em-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.em-footer__list--secondary { justify-content: flex-start; }
.em-footer__phone { font-weight: 700; color: var(--em-green-light); letter-spacing: 0.04em; }
.em-footer__phone:hover { color: #fff; }
.em-footer__copy { margin: 14px 0 0; font-size: 0.74rem; color: rgba(245,240,235,0.45); }
@media (min-width: 768px) {
	.em-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
	.em-footer__meta { text-align: right; }
	.em-footer__links { justify-content: flex-end; }
}

/* ---------- Page banner (dark) ---------- */
.em-banner { position: relative; background: var(--em-black); color: var(--em-cream); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); overflow: hidden; border-bottom: 3px solid var(--em-green); }
.em-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,135,83,0.12) 0%, transparent 60%); pointer-events: none; }
.em-banner .em-container { position: relative; }
.em-banner__title { color: var(--em-cream); font-size: clamp(2.6rem, 6.5vw, 5.4rem); margin: 0; }
.em-banner__text { color: rgba(245,240,235,0.72); max-width: 70ch; margin-top: 14px; font-size: 1rem; }
.em-banner__text p:last-child { margin-bottom: 0; }
.em-banner--light { background: var(--em-cream); color: var(--em-black); border-bottom: 1px solid var(--em-line); }
.em-banner--light::before { display: none; }
.em-banner--light .em-banner__title { color: var(--em-black); }
.em-crumbs { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,235,0.6); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.em-crumbs a { color: rgba(245,240,235,0.75); }
.em-crumbs a:hover { color: var(--em-green-light); }
.em-crumb__sep { color: var(--em-green); }
.em-banner--light .em-crumbs, .em-product .em-crumbs, .em-article .em-crumbs { color: var(--em-mid-grey); }
.em-banner--light .em-crumbs a, .em-product .em-crumbs a, .em-article .em-crumbs a { color: var(--em-dark-grey); }
.em-banner--light .em-crumbs a:hover, .em-product .em-crumbs a:hover, .em-article .em-crumbs a:hover { color: var(--em-green); }

/* ---------- Collection page ---------- */
.em-collection__bar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.em-collection__count { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--em-mid-grey); }
.em-collections-group + .em-collections-group { margin-top: 64px; }
.em-pagination { margin-top: 48px; }
.em-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.em-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--em-line-strong); color: var(--em-black); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.em-pagination .page-numbers.current, .em-pagination .page-numbers:hover { background: var(--em-black); color: var(--em-cream); border-color: var(--em-black); }
.em-pagination .screen-reader-text { display: none; }

/* Stockist logos */
.em-stockists-logos { padding: 0 0 var(--em-section); }
.em-stockists-logos .em-section__head { border-bottom-color: var(--em-line-strong); }
.em-logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.em-logo-grid__item { background: #fff; border: 1px solid var(--em-line); aspect-ratio: 5 / 3; display: flex; align-items: center; justify-content: center; padding: 22px; transition: border-color var(--em-t), box-shadow var(--em-t); }
.em-logo-grid__item img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: filter var(--em-t-slow), opacity var(--em-t-slow); }
.em-logo-grid__item:hover { border-color: var(--em-green); box-shadow: 0 10px 30px rgba(17,17,17,0.08); }
.em-logo-grid__item:hover img { filter: none; opacity: 1; }
@media (min-width: 768px) { .em-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Hub banner (white block with brand mark) */
.em-hub-banner { background: #fff; border-bottom: 1px solid var(--em-line); padding: clamp(36px, 5vw, 64px) 0; }
.em-hub-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.em-hub-banner__title { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0; }
.em-hub-banner__text { margin-top: 14px; max-width: 60ch; }
.em-hub-banner__mark { flex: 0 0 auto; width: clamp(110px, 18vw, 220px); }
@media (max-width: 600px) { .em-hub-banner__mark { display: none; } }

/* ---------- Product page ---------- */
.em-product { padding: clamp(28px, 4vw, 52px) 0 0; }
.em-product__layout { display: grid; gap: 40px; align-items: start; }
.em-product__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 24px; }
.em-gallery { display: grid; gap: 16px; }
.em-gallery__item { background: #fff; border: 1px solid var(--em-line); display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1 / 1; }
.em-gallery__item img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 0.6s var(--em-ease); }
.em-gallery__item:hover img { transform: scale(1.03); }
.em-gallery__item:not(.em-gallery__item--main) { max-width: 320px; }
.em-product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.em-product__description { margin-top: 12px; }
.em-product__description table { font-size: 0.86rem; }
@media (min-width: 900px) {
	.em-product__layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
	.em-product__media { position: sticky; top: 140px; }
}

/* Data sheet accordions */
.em-sheets { display: flex; flex-direction: column; gap: 6px; margin: 0 0 28px; }
.em-sheet { background: var(--em-green); color: #fff; border-radius: 8px; overflow: hidden; }
.em-sheet__summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; font-family: var(--em-font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; transition: background var(--em-t); }
.em-sheet__summary::-webkit-details-marker { display: none; }
.em-sheet__summary:hover { background: var(--em-green-dark); }
.em-sheet__icon { flex: 0 0 auto; transition: transform var(--em-t); }
.em-sheet[open] .em-sheet__icon { transform: rotate(180deg); }
.em-sheet__content { background: #fff; color: var(--em-black); padding: 14px; }
.em-sheet__actions { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.em-sheet__frame { width: 100%; height: 620px; border: 1px solid var(--em-line); background: #f0f0f0; }
@media (max-width: 600px) { .em-sheet__frame { height: 440px; } }

/* Option pills */
.em-options { margin: 0 0 22px; }
.em-options__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--em-dark-grey); margin-bottom: 10px; }
.em-options__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.em-options__pill { background: #fff; border: 1px solid var(--em-line-strong); padding: 10px 18px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: all var(--em-t); }
.em-options__pill:hover { border-color: var(--em-black); }
.em-options__pill.is-selected { background: var(--em-black); color: #fff; border-color: var(--em-black); }

/* ---------- Forms ---------- */
.em-form-wrap { background: var(--em-warm-grey); border-left: 4px solid var(--em-green); padding: clamp(22px, 3vw, 36px); margin-top: 36px; scroll-margin-top: 140px; }
.em-form__heading { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.em-form__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .em-form__grid { grid-template-columns: 1fr 1fr; } }
.em-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.em-form__grid .em-field { margin-bottom: 0; }
.em-form__grid + .em-field { margin-top: 16px; }
.em-field__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--em-dark-grey); }
.em-field__label span { color: var(--em-green); }
.em-field__input, .em-rte input[type="text"], .em-rte input[type="email"], .em-rte textarea {
	width: 100%; font-family: var(--em-font-body); font-size: 1rem; color: var(--em-black);
	background: #fff; border: 1px solid var(--em-line-strong); border-radius: var(--em-radius); padding: 13px 16px;
	transition: border-color var(--em-t), box-shadow var(--em-t);
}
.em-field__input:focus { outline: none; border-color: var(--em-green); box-shadow: 0 0 0 3px rgba(5,135,83,0.14); }
.em-field__input::placeholder { color: rgba(17,17,17,0.4); }
textarea.em-field__input { min-height: 150px; resize: vertical; }
.em-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.em-form__actions { margin-top: 20px; }
.em-form__status:empty { display: none; }
.em-form__success, .em-form__error { padding: 14px 18px; margin: 0 0 18px; font-weight: 500; border-left: 4px solid; background: #fff; }
.em-form__success { border-color: var(--em-green); color: var(--em-green-dark); }
.em-form__error { border-color: #c0392b; color: #8e2a1f; }

/* ---------- Rich text ---------- */
.em-rte { font-size: 1rem; line-height: 1.75; color: var(--em-dark-grey); }
.em-rte > *:first-child { margin-top: 0; }
.em-rte p { margin: 0 0 1.1em; max-width: 74ch; }
.em-rte h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 2.2em 0 0.6em; }
.em-rte h2:not([class]) { padding-left: 18px; border-left: 4px solid var(--em-green); }
.em-rte h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.8em 0 0.5em; color: var(--em-green); }
.em-rte h4 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.em-rte strong { color: var(--em-black); }
.em-rte a { text-decoration: underline; text-underline-offset: 3px; }
.em-rte ul:not([class]), .em-rte ol:not([class]) { padding-left: 0; margin: 0 0 1.4em; max-width: 74ch; }
.em-rte ul:not([class]) { list-style: none; }
.em-rte ul:not([class]) > li { position: relative; padding: 7px 0 7px 24px; border-bottom: 1px solid rgba(17,17,17,0.06); }
.em-rte ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 2px; background: var(--em-green); }
.em-rte ol:not([class]) { list-style: decimal; padding-left: 22px; }
.em-rte ol:not([class]) > li { padding: 5px 0; }
.em-rte li ul { margin: 6px 0 0; }
.em-rte img { height: auto; }
.em-rte figure { margin: 1.6em 0; }
.em-rte figcaption { font-size: 0.82rem; color: var(--em-mid-grey); margin-top: 8px; }
.em-rte blockquote { margin: 1.6em 0; padding: 14px 24px; border-left: 4px solid var(--em-green); background: var(--em-warm-grey); font-size: 1.1rem; }
.em-rte hr { border: 0; border-top: 1px solid var(--em-line-strong); margin: 2.4em 0; }
.em-rte iframe { max-width: 100%; }
.em-table-wrap, .em-rte table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.em-rte table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1.6em 0; background: #fff; border: 1px solid var(--em-line); }
.em-rte table tbody { display: table; width: 100%; }
.em-rte th, .em-rte td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--em-line); }
.em-rte th { background: var(--em-black); color: var(--em-cream); font-family: var(--em-font-display); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.em-rte th:first-child { background: var(--em-green); }
.em-rte th strong { color: inherit; }
.em-rte tr:nth-child(even) td { background: rgba(17,17,17,0.025); }
.em-rte td:first-child { font-weight: 500; color: var(--em-black); width: 38%; }
.em-rte .em-eyebrow { margin-bottom: 8px; }

/* Accordion (contact / library) */
.em-accordion { border-top: 1px solid var(--em-line-strong); }
.em-accordion__item { border-bottom: 1px solid var(--em-line-strong); }
.em-accordion__summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 0; font-family: var(--em-font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--em-black); transition: color var(--em-t); }
.em-accordion__summary::-webkit-details-marker { display: none; }
.em-accordion__summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--em-t); flex: 0 0 auto; }
.em-accordion__item[open] > .em-accordion__summary { color: var(--em-green); }
.em-accordion__item[open] > .em-accordion__summary::after { transform: rotate(-135deg); }
.em-accordion__summary:hover { color: var(--em-green); }
.em-accordion__content { padding: 0 0 22px; }
.em-accordion__content p { margin-bottom: 0.7em; }
.em-accordion-section { margin: 56px 0 48px; }
.em-accordion-section h2 { font-size: clamp(2rem, 4vw, 3rem); border: 0; padding: 0; margin: 0 0 24px; }

/* ---------- About ---------- */
.em-about__intro p { font-size: 1.12rem; }
.em-about__subheading { margin-top: 56px !important; }
.em-about__roadmap { margin: 32px 0 56px; background: #fff; padding: 12px; border: 1px solid var(--em-line); }
.em-about__roadmap img { width: 100%; }
.em-timeline { display: flex; flex-direction: column; gap: 0; margin: 0 calc(-1 * var(--em-gutter)); }
.em-timeline__row { display: grid; gap: 24px; padding: 40px var(--em-gutter); background: var(--em-warm-grey); border-top: 1px solid rgba(17,17,17,0.06); }
.em-timeline__row:nth-child(even) { background: var(--em-cream); }
.em-timeline__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.em-timeline__year { display: inline-block; font-family: var(--em-font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--em-green); margin-bottom: 8px; }
.em-timeline__heading { font-size: 1.9rem; margin-bottom: 14px; color: var(--em-black) !important; }
.em-timeline__body p { font-size: 1rem; }
@media (min-width: 800px) {
	.em-timeline { margin: 0 0 24px; }
	.em-timeline__row { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px; }
	.em-timeline__row:nth-child(even) .em-timeline__media { order: 2; }
}

/* ---------- Contact ---------- */
.em-contact__content > p:first-child { max-width: 60ch; font-size: 1.1rem; }
.em-stockists { display: grid; grid-template-columns: 1fr; border: 1px solid var(--em-line); background: #fff; margin: 24px 0 8px; height: auto; }
.em-stockists__panel { display: flex; flex-direction: column; max-height: 360px; border-bottom: 1px solid var(--em-line); }
.em-stockists__search { display: block; padding: 12px; border-bottom: 1px solid var(--em-line); }
.em-stockists__search input { width: 100%; font-family: var(--em-font-body); font-size: 0.95rem; padding: 10px 12px; border: 1px solid var(--em-line-strong); }
.em-stockists__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.em-stockists__item { border-bottom: 1px solid var(--em-line); border-left: 4px solid transparent; transition: border-color var(--em-t), background var(--em-t); }
.em-stockists__item.is-active { border-left-color: var(--em-green); background: rgba(5,135,83,0.05); }
.em-stockists__btn { width: 100%; text-align: left; background: none; border: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.em-stockists__btn:hover { background: rgba(5,135,83,0.05); }
.em-stockists__name { font-family: var(--em-font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--em-black); }
.em-stockists__addr { font-size: 0.86rem; color: var(--em-dark-grey); }
.em-stockists__map { height: var(--em-map-height, 520px); min-height: 360px; background: #e9e6e1; }
@media (min-width: 900px) {
	.em-stockists { grid-template-columns: 320px 1fr; }
	.em-stockists__panel { max-height: var(--em-map-height, 520px); border-bottom: 0; border-right: 1px solid var(--em-line); }
}
.em-pin { background: none !important; border: 0 !important; }
.leaflet-container { font-family: var(--em-font-body); }
.leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.leaflet-popup-content { margin: 16px 18px; font-size: 0.9rem; line-height: 1.5; }
.em-popup__name { display: block; font-family: var(--em-font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.em-popup__addr { color: var(--em-dark-grey); margin-bottom: 6px; }
.em-popup__hours, .em-popup__notes { margin: 8px 0; color: var(--em-dark-grey); font-size: 0.84rem; }
.leaflet-popup-content a { color: var(--em-green); font-weight: 600; }

/* ---------- Library ---------- */
.em-library__intro p { max-width: 64ch; font-size: 1.08rem; }
.em-library__search { max-width: 560px; margin: 8px 0 32px; }
.em-library__group-icon { color: var(--em-green); display: inline-flex; }
.em-library__count { margin-left: auto; margin-right: 24px; font-family: var(--em-font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--em-mid-grey); }
.em-library__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .em-library__list { grid-template-columns: 1fr 1fr; gap: 18px 32px; } }
.em-library__product { background: #fff; border: 1px solid var(--em-line); padding: 16px 18px; }
.em-library__product-name { display: block; font-family: var(--em-font-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--em-black); margin-bottom: 8px; }
.em-library__product-name:hover { color: var(--em-green); }
.em-library__sheets { list-style: none; margin: 0; padding: 0; }
.em-library__sheets li { padding: 4px 0; }
.em-library__sheets a { display: inline-flex; align-items: center; gap: 8px; color: var(--em-dark-grey); font-size: 0.92rem; border-bottom: 1px solid transparent; transition: color var(--em-t), border-color var(--em-t); }
.em-library__sheets a:hover { color: var(--em-green); border-bottom-color: var(--em-green); }
.em-library__sheets svg { color: var(--em-green); flex: 0 0 auto; }

/* ---------- Blog ---------- */
.em-article__header { padding: clamp(32px, 5vw, 64px) 0 24px; }
.em-article__title { font-size: clamp(2.2rem, 5.5vw, 4.2rem); max-width: 22ch; }
.em-article__meta { color: var(--em-mid-grey); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: flex; gap: 10px; }
.em-article__hero img { width: 100%; max-height: 560px; object-fit: cover; }
.em-article__hero { margin: 8px 0 clamp(32px, 5vw, 56px); }
.em-article__content { font-size: 1.08rem; }
.em-article__content > p:first-of-type { font-size: 1.2rem; color: var(--em-black); }
.em-article__footer { margin: 48px 0 var(--em-section); padding-top: 24px; border-top: 1px solid var(--em-line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.em-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.em-share__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--em-mid-grey); }
.em-share__link { background: none; border: 1px solid var(--em-line-strong); padding: 8px 14px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--em-black); transition: all var(--em-t); }
.em-share__link:hover { background: var(--em-black); color: var(--em-cream); border-color: var(--em-black); }
.em-article__tags a { font-size: 0.78rem; margin-right: 8px; }
.em-related-posts { padding-top: 0; }

/* ---------- Page ---------- */
.em-page__thumb { margin: 0 0 40px; }

/* ---------- 404 ---------- */
.em-404__inner { text-align: center; max-width: 720px; padding-top: 40px; padding-bottom: 40px; }
.em-404__text { color: var(--em-dark-grey); font-size: 1.1rem; margin-bottom: 28px; }
.em-404 .em-search__form--inline { margin: 0 auto 24px; }

/* ---------- Reveal ---------- */
.em-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--em-ease), transform 0.6s var(--em-ease); }
.em-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .em-reveal { opacity: 1; transform: none; } }

/* ---------- WooCommerce notices / misc ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; margin: 0 0 24px; padding: 14px 18px; background: #fff; border-left: 4px solid var(--em-green); }
.woocommerce-error { border-color: #c0392b; }

/* ---------- Print ---------- */
@media print {
	.em-announcement, .em-header, .em-drawer, .em-footer, .em-cta, .em-form-wrap, .em-hero__controls { display: none !important; }
	body { background: #fff; }
}
