/* ==========================================================================
   Ethical Plumbing — design tokens
   Rebrand = change the values in this block (and the logo). Nothing else
   in the theme hard-codes a color or typeface.
   ========================================================================== */
:root {
	--ink: #0f1c2e;          /* deep navy: header, footer, dark sections */
	--ink-2: #172840;        /* raised surfaces on dark */
	--navy: #213a5a;         /* secondary navy */
	--brass: #b08a4f;        /* accent: lines, icons, primary buttons */
	--brass-hi: #cba769;     /* brass on dark backgrounds */
	--on-brass: #0f1c2e;     /* text on brass buttons (5.2:1) */
	--mist: #f3f5f7;         /* soft grey section background */
	--line: #e1e6ec;         /* hairlines on light */
	--line-dark: rgba(255,255,255,.12);
	--text: #1c2633;
	--muted: #586474;
	--muted-dark: #aab6c5;
	--white: #fff;
	--focus: #2f7de1;

	--font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--display: 'Gloock', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif; /* headlines only */
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--wide: 116%;            /* headline width */
	--r-sm: 4px;             /* buttons, inputs */
	--r-md: 10px;            /* panels, cards */
	--wrap: 1220px;
	--gut: clamp(16px, 4vw, 40px);
	--sec: clamp(64px, 8vw, 112px);
	--ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.62; color: var(--text); background: var(--white); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 640; font-stretch: var(--wide); line-height: 1.08; letter-spacing: -.012em; color: inherit; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.ep-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ep-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.ep-skip:focus { top: 12px; }
.ep-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ep-ic { width: 1.25em; height: 1.25em; flex: none; }

.ep-h2 { font-family: var(--display); font-weight: 400; font-stretch: normal; letter-spacing: -.005em; line-height: 1.06; font-size: clamp(2rem, 3.6vw, 3rem); }
.ep-h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.ep-lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.ep-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 620; color: var(--brass); margin-bottom: .9rem; font-stretch: 112%; }
.ep-small { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.ep-morelink { margin-top: 2rem; }
.ep-morelink a, a.ep-morelink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.ep-morelink a:hover, a.ep-morelink:hover { color: var(--brass); }

/* ---------- Buttons ---------- */
.ep-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.4em; border-radius: var(--r-sm); font-weight: 620; font-stretch: 108%; font-size: 1rem; line-height: 1.1; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.ep-btn--primary { background: var(--brass); color: var(--on-brass); }
.ep-btn--primary:hover { background: var(--brass-hi); }
.ep-btn--dark { background: var(--ink); color: var(--white); }
.ep-btn--dark:hover { background: var(--navy); }
.ep-btn--ghost { border-color: var(--ink); color: var(--ink); }
.ep-btn--ghost:hover { background: var(--ink); color: var(--white); }
.ep-btn--light { border-color: rgba(255,255,255,.55); color: var(--white); }
.ep-btn--light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.ep-btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .94rem; }
.ep-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

.ep-checks { list-style: none; display: grid; gap: .55rem; margin: 1.2rem 0; }
.ep-checks li { display: flex; gap: .65rem; align-items: flex-start; }
.ep-checks .ep-ic { color: var(--brass); margin-top: .2em; width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.ep-checks--lg { font-size: 1.08rem; }

/* Photo placeholder (until real photos are added) */
.ep-ph { display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(150deg, #e9edf2 0%, #dce3ea 100%); color: #6b7788; font-size: .8rem; font-weight: 560; letter-spacing: .02em; text-align: center; padding: 1rem; width: 100%; min-height: 180px; position: relative; }
.ep-ph::before { content: ""; width: 34px; height: 34px; opacity: .55; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h2l1.5-2h6l1.5 2h2A1.5 1.5 0 0 1 20 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%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='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h2l1.5-2h6l1.5 2h2A1.5 1.5 0 0 1 20 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ep-hero__media .ep-ph, .ep-feature .ep-ph, .ep-door__media .ep-ph { height: 100%; }
.is-dark .ep-ph, .ep-hero .ep-ph, .ep-project .ep-ph, .ep-feature .ep-ph, .ep-door.is-alt .ep-ph { background: radial-gradient(120% 90% at 70% 20%, #2a4365 0%, #172840 55%, #0f1c2e 100%); color: #7f90a6; }

/* ---------- Sections ---------- */
.ep-sec { padding-block: var(--sec); }
.ep-sec.is-mist { background: var(--mist); }
.ep-sec.is-dark { background: var(--ink) var(--grain); color: var(--white); }
.ep-sec.is-light + .ep-sec.is-light, .ep-sec.is-mist + .ep-sec.is-mist { padding-top: 0; }
.ep-sec.is-dark .ep-lead, .ep-sec.is-dark p { color: var(--muted-dark); }
.ep-sec.is-dark .ep-h2, .ep-sec.is-dark h3 { color: var(--white); }
.ep-sec.is-dark .ep-kicker { color: var(--brass-hi); }
.ep-sechead { margin-bottom: clamp(32px, 4vw, 52px); }
.ep-sechead--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.ep-sechead--row .ep-morelink { margin: 0; }
.ep-sechead--center { text-align: center; }
.ep-sechead--center .ep-lead { margin-inline: auto; }

/* ---------- Utility bar + header ---------- */
.ep-util { background: #0a1422; color: #c4ceda; font-size: .86rem; }
.ep-util__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.ep-util p { margin: 0; display: flex; align-items: center; gap: 18px; }
.ep-util a { color: var(--white); font-weight: 600; text-decoration: none; }
.ep-status { display: inline-flex; align-items: center; gap: 10px; }
.ep-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #8a97a8; flex: none; }
.ep-status.is-open .ep-status__dot { background: #4fc38a; box-shadow: 0 0 0 3px rgba(79,195,138,.22); animation: ep-pulse 2.4s ease-in-out infinite; }
.ep-status.is-closed .ep-status__dot { background: var(--brass-hi); }
@keyframes ep-pulse { 50% { box-shadow: 0 0 0 6px rgba(79,195,138,0); } }

.ep-head { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.admin-bar .ep-head { top: 32px; }
.ep-head__in { display: flex; align-items: center; gap: 28px; min-height: 78px; position: relative; }
.ep-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); flex: none; }
.ep-logo__img { max-height: 52px; width: auto; }
.ep-logo__word { display: inline-grid; line-height: .92; font-weight: 720; font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; font-size: 1.12rem; }
.ep-logo__word span:last-child { color: var(--brass-hi); font-weight: 560; letter-spacing: .14em; font-size: .78em; margin-top: .25em; }
.ep-logo__word--sm { font-size: 1rem; color: var(--ink); }
.ep-logo__word--sm span:last-child { color: var(--brass); }

.ep-nav { margin-left: 8px; }
.ep-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.ep-nav__item { position: static; }
.ep-nav__top { display: inline-flex; align-items: center; gap: .3em; padding: 10px 14px; background: none; border: 0; border-radius: var(--r-sm); color: #e7ecf2; font-weight: 560; font-size: .98rem; text-decoration: none; cursor: pointer; font-stretch: 104%; }
.ep-nav__top:hover, .ep-nav__item.is-open > .ep-nav__top, .ep-nav__top[aria-current] { color: var(--white); background: rgba(255,255,255,.07); }
.ep-nav__chev { width: 1em; height: 1em; transition: transform .2s; }
.ep-nav__item.is-open .ep-nav__chev { transform: rotate(180deg); }

.ep-head__act { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ep-head__phone { display: inline-flex; align-items: center; gap: .45em; color: var(--white); text-decoration: none; font-weight: 640; font-stretch: 110%; font-size: 1.05rem; white-space: nowrap; }
.ep-head__phone .ep-ic { color: var(--brass-hi); }
.ep-head__menu { display: none; background: none; border: 1px solid var(--line-dark); border-radius: var(--r-sm); color: var(--white); width: 46px; height: 46px; place-items: center; cursor: pointer; }

/* Mega menu + dropdowns: link columns, a dark side card, a footer strip */
.ep-panel { position: absolute; top: calc(100% + 1px); z-index: 60; background: var(--white); color: var(--text); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: 0 30px 60px -20px rgba(9,18,32,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s var(--ease), visibility 0s .16s; overflow: hidden; }
.ep-nav__item.is-open > .ep-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .2s var(--ease); }
.ep-mega { left: var(--gut); right: var(--gut); display: grid; grid-template-columns: 1fr 300px; }
.ep-mega:not(.has-intro) { grid-template-columns: 1fr; }
.ep-drop { min-width: 280px; display: grid; }
.ep-drop.has-intro { grid-template-columns: 1fr 260px; min-width: 580px; }
.ep-mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 32px; padding: 32px 34px 26px; }
.ep-mega__head { font-size: .82rem; font-weight: 650; color: var(--muted); margin: 0 0 14px; font-stretch: 112%; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ep-mega__col ul, .ep-drop__list { list-style: none; display: grid; gap: 1px; }
.ep-drop__list { padding: 22px 24px; }
.ep-mega__link { display: flex; align-items: center; gap: 12px; padding: 7px 10px; margin-inline: -10px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: .97rem; line-height: 1.3; transition: background-color .15s, color .15s; }
.ep-mega__link:hover, .ep-mega__link[aria-current] { background: var(--mist); color: var(--ink); }
.ep-mega__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #d9c6a3; color: var(--brass); flex: none; transition: background-color .15s, color .15s, border-color .15s; }
.ep-mega__ic .ep-ic { width: 17px; height: 17px; }
.ep-mega__link:hover .ep-mega__ic { background: var(--brass); border-color: var(--brass); color: var(--white); }
.ep-mega__col.is-iconic .ep-mega__link { font-weight: 580; }
.ep-mega__intro { background: var(--ink) var(--grain); color: #c3cedb; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; position: relative; isolation: isolate; grid-row: span 2; }
.ep-drop .ep-mega__intro { grid-row: auto; }
.ep-mega__intro.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,28,46,.5), rgba(15,28,46,.94)), var(--intro-img) center/cover; }
.ep-mega__eyebrow { color: var(--brass-hi); font-size: .85rem; font-weight: 600; margin: 0; }
.ep-mega__title { color: var(--white); font-family: var(--display); font-size: 1.6rem; line-height: 1.1; margin: 0; }
.ep-mega__text { font-size: .93rem; line-height: 1.5; margin: 0; }
.ep-mega__intro .ep-btn { align-self: flex-start; }
.ep-mega__call { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); display: grid; color: var(--white); text-decoration: none; }
.ep-mega__calllabel { font-size: .82rem; color: var(--brass-hi); font-weight: 600; }
.ep-mega__callnum { font-size: 1.5rem; font-weight: 660; font-stretch: 118%; letter-spacing: .01em; }
.ep-mega__call:hover .ep-mega__callnum { color: var(--brass-hi); }
.ep-mega__foot { display: flex; align-items: center; gap: 20px; padding: 14px 34px; background: var(--mist); border-top: 1px solid var(--line); }
.ep-mega__all { font-weight: 640; font-size: .95rem; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.ep-mega__promise { color: var(--muted); font-size: .9rem; margin-left: auto; }

/* Mobile drawer */
.ep-drawer { position: fixed; inset: 0; z-index: 200; background: var(--white); overflow-y: auto; padding: 0 var(--gut) 120px; }
.ep-drawer[hidden] { display: none; }
.ep-drawer__bar { display: flex; justify-content: space-between; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); }
.ep-drawer__close { background: none; border: 1px solid var(--line); border-radius: var(--r-sm); width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.ep-mnav > ul { list-style: none; }
.ep-mnav > ul > li { border-bottom: 1px solid var(--line); }
.ep-mnav__top { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: 0; font-weight: 620; font-stretch: 110%; font-size: 1.15rem; text-decoration: none; color: var(--ink); cursor: pointer; text-align: left; }
.ep-mnav__pm { transition: transform .2s; color: var(--brass); }
.ep-mnav__top[aria-expanded="true"] .ep-mnav__pm { transform: rotate(45deg); }
.ep-mnav__sub { padding: 0 0 16px; }
.ep-mnav__sub ul { list-style: none; display: grid; }
.ep-mnav__sub a { display: flex; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; color: var(--text); min-height: 44px; }
.ep-mnav__sub .ep-mega__ic { width: 30px; height: 30px; }
.ep-mnav__head { font-size: .84rem; font-weight: 640; color: var(--brass); margin: 14px 0 2px; }
.ep-drawer__cta { display: grid; gap: 10px; margin-top: 24px; }

/* Sticky mobile call/book bar */
.ep-mbar { display: none; }

/* ---------- Hero ---------- */
.ep-hero { position: relative; background: var(--ink) var(--grain); color: var(--white); overflow: hidden; isolation: isolate; }
.ep-hero__media { position: absolute; inset: 0 0 0 46%; z-index: -1; }
.ep-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, rgba(15,28,46,.35) 24%, rgba(15,28,46,0) 50%), linear-gradient(0deg, rgba(15,28,46,.7), rgba(15,28,46,0) 40%); }
.ep-hero__img, .ep-hero__media .ep-ph { width: 100%; height: 100%; object-fit: cover; }
.ep-hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; padding-block: clamp(56px, 8vw, 112px) clamp(44px, 6vw, 76px); }
.ep-hero__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--brass-hi); font-weight: 600; font-stretch: 112%; font-size: .95rem; letter-spacing: .01em; }
.ep-hero__kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.ep-hero__copy { position: relative; }
.ep-hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.9rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -.015em; margin: 0; }
.ep-hero__lead { margin-top: 26px; font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: #c8d2de; max-width: 46ch; }
.ep-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Nameplate: the kind of engraved plate bolted to good equipment */
.ep-plate { position: relative; justify-self: end; width: min(100%, 380px); padding: 26px 28px 20px; border-radius: 6px; color: var(--ink); background: linear-gradient(135deg, #d8bd86 0%, #b8925a 48%, #caa86f 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 0 7px rgba(15,28,46,.12), 0 20px 40px -16px rgba(0,0,0,.55); }
.ep-plate::before, .ep-plate::after { content: ""; position: absolute; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f1e2c2, #8a6a38 70%); box-shadow: inset 0 0 0 1px rgba(15,28,46,.25); }
.ep-plate::before { left: 12px; } .ep-plate::after { right: 12px; }
.ep-plate__mark { margin: 0 0 14px; padding: 0 14px 12px; text-align: center; font-weight: 720; font-stretch: 125%; text-transform: uppercase; letter-spacing: .14em; font-size: .86rem; border-bottom: 1px solid rgba(15,28,46,.3); }
.ep-plate__mark span { display: block; font-weight: 560; letter-spacing: .2em; font-size: .7rem; margin-top: 3px; opacity: .8; }
.ep-plate dl { margin: 0; display: grid; }
.ep-plate__item { display: grid; grid-template-columns: 1fr; padding: 10px 0; }
.ep-plate__item + .ep-plate__item { border-top: 1px dashed rgba(15,28,46,.28); }
.ep-plate dt { font-family: var(--display); font-size: 1.32rem; line-height: 1.1; }
.ep-plate dd { margin: 2px 0 0; font-size: .9rem; color: rgba(15,28,46,.78); }

/* ---------- Trust strip ---------- */
.ep-trust { padding-block: 28px; }
.ep-trust__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ep-trust__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 22px; }
.ep-trust__item + .ep-trust__item { border-left: 1px solid var(--line); }
.ep-trust__item .ep-ic { color: var(--brass); width: 28px; height: 28px; }
.ep-trust__item strong { display: block; font-weight: 640; font-stretch: 108%; line-height: 1.25; }
.ep-trust__item em { display: block; font-style: normal; font-size: .9rem; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.ep-trust.is-dark .ep-trust__item + .ep-trust__item { border-color: var(--line-dark); }
.ep-trust.is-dark em { color: var(--muted-dark); }

/* ---------- Two doors ---------- */
.ep-doors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.ep-door { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.ep-door__media { aspect-ratio: 16 / 8; overflow: hidden; }
.ep-door__img, .ep-door__media .ep-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.ep-door__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; }
.ep-door__title { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.ep-door__body p { color: var(--muted); max-width: 52ch; }
.ep-door__body .ep-kicker { color: var(--brass); }
.ep-door__body .ep-btn { margin-top: auto; }
.ep-door.is-alt { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ep-door.is-alt p { color: var(--muted-dark); }
.ep-door.is-alt .ep-kicker, .ep-door.is-alt .ep-checks .ep-ic { color: var(--brass-hi); }

/* ---------- Symptom picker ---------- */
.ep-symptoms__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ep-symptoms__grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ep-symptom { display: flex; align-items: center; gap: 14px; padding: 20px 20px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-weight: 580; font-stretch: 104%; background: var(--white); transition: border-color .18s, box-shadow .18s; min-height: 76px; }
.ep-symptom > .ep-ic:first-child { color: var(--brass); width: 28px; height: 28px; }
.ep-symptom span { flex: 1; }
.ep-symptom__go { color: var(--muted); }
.ep-symptom:hover { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass) inset; }
.ep-symptom:hover .ep-symptom__go { color: var(--ink); }

/* ---------- Services: featured card + list ---------- */
.ep-services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.ep-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: var(--r-md); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; background: var(--ink); }
.ep-feature__media { position: absolute; inset: 0; z-index: -1; }
.ep-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,28,46,0) 25%, rgba(15,28,46,.92) 78%); }
.ep-feature__img, .ep-feature__media .ep-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ep-feature .ep-ph { place-items: start center; align-content: start; padding-top: 22%; }
.ep-feature:hover .ep-feature__img { transform: scale(1.04); }
.ep-feature__body { display: grid; gap: 12px; padding: clamp(24px, 3vw, 36px); }
.ep-feature__tag { justify-self: start; background: var(--brass); color: var(--on-brass); font-size: .8rem; font-weight: 650; font-stretch: 110%; padding: 5px 11px; border-radius: 999px; }
.ep-feature__title { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; }
.ep-feature__title .ep-ic { display: none; }
.ep-feature__text { color: #c8d2de; max-width: 42ch; }
.ep-feature__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 640; font-stretch: 108%; color: var(--brass-hi); margin-top: 4px; }
.ep-feature__go .ep-ic { transition: transform .2s var(--ease); }
.ep-feature:hover .ep-feature__go .ep-ic { transform: translateX(4px); }
.ep-svcs { list-style: none; display: grid; border-top: 1px solid var(--line); }
.ep-svcs li { border-bottom: 1px solid var(--line); }
.ep-svc { display: flex; align-items: center; gap: 20px; padding: 22px 12px; margin-inline: -12px; border-radius: var(--r-md); text-decoration: none; transition: background-color .18s; }
.ep-svc__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid #d9c6a3; color: var(--brass); flex: none; transition: background-color .18s, color .18s, border-color .18s; }
.ep-svc__ic .ep-ic { width: 24px; height: 24px; }
.ep-svc__body { flex: 1; display: grid; gap: 3px; }
.ep-svc__title { font-weight: 660; font-stretch: 110%; font-size: 1.16rem; color: var(--ink); }
.ep-svc__text { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.ep-svc__go { color: #9aa6b4; transition: transform .2s var(--ease), color .2s; }
.ep-svc:hover { background: var(--mist); }
.ep-svc:hover .ep-svc__ic { background: var(--brass); border-color: var(--brass); color: var(--white); }
.ep-svc:hover .ep-svc__go { color: var(--ink); transform: translateX(3px); }

/* ---------- Pillars ---------- */
.ep-pillars__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ep-pillar { border-top: 1px solid var(--line-dark); padding-top: 22px; position: relative; display: flex; flex-direction: column; }
.ep-pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--brass-hi); }
.ep-pillar__num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: rgba(203,167,105,.38); margin-bottom: 14px; }
.ep-pillar__title { font-size: 1.28rem; margin-bottom: .6em; }
.ep-pillar a { color: var(--white); text-decoration: underline; text-decoration-color: var(--brass-hi); text-underline-offset: .22em; }
.ep-pillar a:hover { color: var(--brass-hi); }
.ep-sec.is-dark .ep-pillar__proof, .ep-pillar__proof { color: var(--brass-hi); font-weight: 600; font-size: .92rem; margin-top: auto; padding-top: 1rem; }
.ep-pillar__proof a { color: var(--brass-hi); }
.ep-pillar__proof a::after { content: " \2192"; }
.ep-sec:not(.is-dark) .ep-pillar { border-color: var(--line); }
.ep-sec:not(.is-dark) .ep-pillar a { color: var(--ink); text-decoration-color: var(--brass); }
.ep-sec:not(.is-dark) .ep-pillar__proof, .ep-sec:not(.is-dark) .ep-pillar__proof a { color: var(--brass); }

/* ---------- Projects ---------- */
.ep-projects__grid { list-style: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-auto-rows: minmax(250px, auto); gap: clamp(14px, 2vw, 22px); }
.ep-projects__grid > li.is-lead { grid-row: span 2; }
.ep-projects__grid.is-1 { grid-template-columns: 1fr; }
.ep-projects__grid.is-4 > li:last-child, .ep-projects__grid.is-5 > li:nth-child(n+4) { grid-row: auto; }
.ep-project { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 250px; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; background: var(--ink); }
.ep-project__img, .ep-project .ep-ph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .6s var(--ease); }
.ep-project .ep-ph { align-content: start; padding-top: 10%; font-size: 0; }
.ep-project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,28,46,0) 30%, rgba(15,28,46,.9) 100%); }
.ep-project:hover .ep-project__img { transform: scale(1.04); }
.ep-project__body { display: grid; gap: 8px; padding: clamp(20px, 2.4vw, 30px); }
.ep-project__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ep-project__type { font-size: .76rem; font-weight: 650; font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(203,167,105,.6); color: var(--brass-hi); }
.ep-project__town { display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; color: #c8d2de; }
.ep-project__town .ep-ic { width: 15px; height: 15px; }
.ep-project__title { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.1; }
.is-lead .ep-project__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.ep-project__sum { color: #c8d2de; font-size: .97rem; max-width: 52ch; }
.ep-project__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; font-size: .94rem; color: var(--brass-hi); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s var(--ease), opacity .2s; }
.ep-project:hover .ep-project__go, .ep-project:focus-visible .ep-project__go, .is-lead .ep-project__go { max-height: 30px; opacity: 1; }

/* ---------- Reviews ---------- */
.ep-stars { display: inline-flex; gap: 1px; color: #e0a526; }
.ep-stars .ep-ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ep-stars .ep-ic.is-off { fill: #d6dbe2; }
.ep-reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.ep-reviews__head .ep-h2 { margin-bottom: .3em; }
.ep-rbadge { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; box-shadow: 0 10px 30px -22px rgba(15,28,46,.4); transition: border-color .18s; }
.ep-rbadge:hover { border-color: var(--brass); }
.ep-rbadge__num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ink); }
.ep-rbadge__side { display: grid; gap: 4px; }
.ep-rbadge__label { font-size: .88rem; font-weight: 600; color: var(--muted); }
.ep-rbadge.is-lg { padding: 18px 26px; }
.ep-rbadge.is-lg .ep-rbadge__num { font-size: 3.4rem; }
.ep-reviews__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 20px); align-items: stretch; }
.ep-reviews__grid > .is-lead { grid-row: span 2; }
.ep-reviews__grid.is-0 { grid-template-columns: minmax(0, 1fr); }
.ep-reviews__grid.is-1, .ep-reviews__grid.is-2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ep-reviews__grid.is-1 > .is-lead { grid-row: auto; }
.ep-rcard { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 14px 34px -28px rgba(15,28,46,.45); break-inside: avoid; }
.ep-rcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ep-rcard__src { font-size: .78rem; font-weight: 650; font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ep-rcard blockquote { margin: 0; flex: 1; }
.ep-rcard blockquote p { font-size: 1.02rem; line-height: 1.6; color: var(--text); }
.ep-rcard.is-lead { padding: clamp(28px, 3.4vw, 48px); border-top: 3px solid var(--brass); }
.ep-rcard.is-lead blockquote { position: relative; padding-top: 52px; }
.ep-rcard.is-lead blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: var(--display); font-size: 6.5rem; line-height: 1; color: var(--brass); }
.ep-rcard.is-lead blockquote p { font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.25; color: var(--ink); }
.ep-rcard__by { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.ep-rcard__by strong { display: block; font-weight: 640; font-stretch: 106%; line-height: 1.2; }
.ep-rcard__by em { display: block; font-style: normal; font-size: .86rem; color: var(--muted); }
.ep-rcard__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--brass-hi); font-family: var(--display); font-size: 1.2rem; flex: none; }
.ep-reviews__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(28px, 3.4vw, 40px); }
.ep-reviews__btns .ep-btn--ghost .ep-ic { color: var(--brass); }
.ep-reviews__btns .ep-btn--ghost:hover .ep-ic { color: var(--brass-hi); }
.ep-reviews__empty { color: var(--muted); padding: 24px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.ep-elfsight { min-height: 200px; }
/* Reviews page */
.ep-rwall { padding-top: clamp(32px, 4vw, 56px); }
.ep-rwall__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: clamp(24px, 3vw, 36px); margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.ep-rwall__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-rwall__btns .ep-btn--primary .ep-ic { color: var(--on-brass); }
.ep-rwall__widget { margin-bottom: clamp(32px, 4vw, 56px); }
.ep-rwall__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ep-rwall__filter .ep-topic { width: auto; border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 8px 16px; min-height: 40px; }
.ep-rwall__filter .ep-topic.is-on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.ep-rwall__filter .ep-topic.is-on em { color: var(--brass-hi); }
.ep-rwall__grid { columns: 3 300px; column-gap: 20px; }
.ep-rwall__grid .ep-rcard { margin-bottom: 20px; }

/* ---------- Membership ---------- */
.ep-membership__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ep-membership__copy > p { color: var(--muted); max-width: 54ch; }
.ep-membership__media { position: relative; margin-bottom: 40px; }
.ep-membership__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--brass); border-radius: var(--r-md); z-index: 0; }
.ep-membership__img, .ep-membership__media .ep-ph { position: relative; z-index: 1; aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--r-md); }
.ep-perk { position: absolute; z-index: 3; left: -32px; bottom: -40px; width: min(300px, 80%); padding: 22px 24px; border-radius: var(--r-md); background: var(--ink) var(--grain); color: var(--white); box-shadow: 0 24px 48px -20px rgba(9,18,32,.6); border-top: 3px solid var(--brass-hi); }
.ep-perk p { margin: 0; }
.ep-perk__kicker { font-size: .78rem; font-weight: 650; font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-hi); }
.ep-perk__big { font-family: var(--display); font-size: 2rem; line-height: 1.05; margin: 6px 0 8px !important; }
.ep-perk__text { font-size: .94rem; line-height: 1.45; color: #c3cedb; }
.ep-perk__price { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--line-dark); font-weight: 640; color: var(--brass-hi); }
.ep-seal { position: absolute; z-index: 3; top: -34px; right: -34px; width: 124px; height: 124px; animation: ep-spin 40s linear infinite; filter: drop-shadow(0 10px 18px rgba(9,18,32,.3)); }
.ep-seal__bg { fill: var(--brass); }
.ep-seal__ring { fill: none; stroke: rgba(15,28,46,.35); stroke-width: 1; }
.ep-seal__text { font-family: var(--font); font-size: 9.6px; font-weight: 700; font-stretch: 118%; letter-spacing: .12em; fill: var(--ink); }
.ep-seal__ic { color: var(--ink); }
@keyframes ep-spin { to { transform: rotate(360deg); } }

/* ---------- Coverage: town finder + map ---------- */
.ep-samap__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ep-samap__side .ep-lead { margin-bottom: 0; }
.ep-finder { margin: 28px 0 24px; }
.ep-finder__label { display: block; font-weight: 620; font-size: .92rem; margin-bottom: 8px; }
.ep-finder__field { position: relative; display: flex; align-items: center; }
.ep-finder__field .ep-ic { position: absolute; left: 16px; color: var(--brass); pointer-events: none; }
.ep-finder__field input { width: 100%; min-height: 56px; padding: 0 18px 0 48px; border: 1.5px solid #cbd3dc; border-radius: var(--r-sm); background: var(--white); font: inherit; font-size: 1.05rem; color: var(--ink); }
.ep-finder__field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176,138,79,.3); }
.ep-finder__result { min-height: 1.6em; margin: 10px 0 0; font-size: .97rem; color: var(--muted); }
.ep-finder__result.is-yes strong { color: #1d7a4e; }
.ep-finder__result a { color: var(--ink); font-weight: 620; text-decoration-color: var(--brass); }
.ep-samap__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ep-samap__list a, .ep-samap__list span { display: inline-block; padding: 7px 14px; border: 1px solid #cfd6df; border-radius: 999px; text-decoration: none; font-weight: 560; font-size: .93rem; background: var(--white); transition: background-color .15s, color .15s, border-color .15s; }
.ep-samap__list li.is-hot > a, .ep-samap__list li.is-hot > span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ep-map__svg { width: 100%; height: auto; max-height: 560px; overflow: visible; }
.ep-map__county { fill: var(--white); stroke: #c3ccd7; stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .18s, stroke .18s; }
.ep-sec:not(.is-mist) .ep-map__county { fill: var(--mist); }
.ep-map__county.is-hot { fill: rgba(176,138,79,.22); stroke: var(--brass); stroke-width: 2; }
.ep-map__names text { font-family: var(--font); font-weight: 600; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; fill: #97a3b2; }
.ep-map__dot { fill: var(--ink); transition: fill .15s; cursor: pointer; }
.ep-map__dot.is-hot { fill: var(--brass); }
.ep-map__label { pointer-events: none; opacity: 0; transition: opacity .15s; }
.ep-map__label.is-on { opacity: 1; }
.ep-map__halo { fill: rgba(176,138,79,.3); }
.ep-map__text { font-family: var(--display); fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ---------- County directory ---------- */
.ep-dir { border-top: 1px solid var(--ink); }
.ep-dir__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ep-dir__county { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: 1.6rem; margin: 0; display: grid; gap: 4px; align-content: start; }
.ep-dir__county span { font-family: var(--font); font-size: .86rem; color: var(--muted); font-weight: 500; }
.ep-dir__towns { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 20px; align-content: start; }
.ep-dir__towns a, .ep-dir__towns span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; text-decoration: none; }
.ep-dir__towns a { font-weight: 620; text-decoration: underline; text-decoration-color: rgba(176,138,79,.55); text-underline-offset: .25em; }
.ep-dir__towns a .ep-ic { width: 14px; height: 14px; color: var(--brass); }
.ep-dir__towns a:hover { color: var(--brass); }
.ep-dir__note { margin: 28px 0 0; color: var(--muted); max-width: 70ch; }
.ep-dir__note a { color: var(--ink); font-weight: 650; }

/* ---------- Page hero ---------- */
.ep-pagehero { padding-block: clamp(48px, 7vw, 92px); }
.ep-pagehero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ep-pagehero.has-img .ep-pagehero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ep-pagehero__title { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.01em; max-width: 18ch; }
.ep-pagehero__lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); max-width: 60ch; color: var(--muted); }
.ep-pagehero.is-dark .ep-pagehero__lead { color: #c8d2de; }
.ep-pagehero__img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.ep-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.ep-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.ep-crumbs a { text-decoration: none; }
.ep-crumbs a:hover { text-decoration: underline; }
.ep-crumbs.is-light ol { color: #9fadbd; }
.ep-crumbs.is-light [aria-current] { color: var(--white); }

.ep-pagehead { background: var(--mist); padding-block: clamp(40px, 6vw, 72px); }
.ep-pagehead__title { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; max-width: 22ch; }
.ep-pagehead__lead { margin-top: 1rem; color: var(--muted); }
.ep-byline { margin-top: 14px; color: var(--muted); font-size: .92rem; display: flex; gap: 16px; }
.ep-404__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Answer box ---------- */
.ep-answer { padding-block: clamp(40px, 5vw, 64px); }
.ep-answer__box { max-width: 900px; padding: clamp(26px, 3.4vw, 40px); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--white); box-shadow: 0 18px 40px -28px rgba(15,28,46,.35); }
.ep-answer__q { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .6em; }
.ep-answer__a { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 70ch; }
.ep-answer__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-weight: 560; font-size: .97rem; }
.ep-answer__facts li { display: flex; gap: 8px; align-items: center; }
.ep-answer__facts .ep-ic { color: var(--brass); width: 1.1em; stroke-width: 2.2; }

/* ---------- Split ---------- */
.ep-split__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ep-split.is-rev .ep-split__media { order: -1; }
.ep-split__copy > p { color: var(--muted); max-width: 60ch; }
.ep-split__img, .ep-split__media .ep-ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Steps (a real sequence) ---------- */
.ep-steps__list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(28px, 4vw, 44px); }
.ep-step { counter-increment: step; position: relative; padding-top: 70px; }
.ep-step::before { content: counter(step); position: absolute; top: 0; left: 0; font-size: 3.4rem; line-height: 1; font-weight: 300; font-stretch: 125%; color: var(--brass); }
.ep-step::after { content: ""; position: absolute; top: 28px; left: 52px; right: 0; height: 1px; background: var(--line); }
.ep-step:last-child::after { display: none; }
.ep-step__title { font-size: 1.18rem; }
.ep-step p { color: var(--muted); }

/* ---------- Accordions ---------- */
.ep-acc { display: grid; gap: 10px; }
.ep-acc__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.ep-acc__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 1.04rem; line-height: 1.35; }
.ep-acc__item summary::-webkit-details-marker { display: none; }
.ep-acc__pm { color: var(--brass); transition: transform .2s var(--ease); }
.ep-acc__item[open] .ep-acc__pm { transform: rotate(45deg); }
.ep-acc__item[open] { border-color: #cdd5de; }
.ep-acc__a { padding: 0 22px 20px; color: var(--muted); max-width: 72ch; }
.ep-acc__item.is-dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.ep-acc__item.is-dark .ep-acc__a { color: #b9c5d3; }
.ep-acc__item.is-dark .ep-acc__pm { color: var(--brass-hi); }
.ep-faqlist__in .ep-acc { max-width: 880px; }

/* ---------- FAQ page ---------- */
.ep-faq { padding-top: clamp(40px, 6vw, 80px); }
.ep-faq__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ep-faq__title { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1; margin: 0; }
.ep-faq__intro .ep-lead { margin-bottom: 18px; }
.ep-faq__status { min-height: 1.4em; margin: 8px 0 0; font-size: .93rem; color: var(--muted); }
.ep-faq__daily { background: var(--ink) var(--grain); color: var(--white); border-radius: var(--r-md); padding: clamp(26px, 4vw, 48px); margin-bottom: clamp(48px, 6vw, 80px); }
.ep-faq__dailytitle { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 24px; }
.ep-faq__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-sm); overflow: hidden; }
.ep-faq__card { background: var(--ink); padding: 24px 26px; }
.ep-faq__card h3 { font-size: 1.1rem; color: var(--brass-hi); margin-bottom: .55em; }
.ep-faq__card div { color: #bfcad7; font-size: .98rem; }
.ep-faq__body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ep-faq__nav { position: sticky; top: 110px; display: grid; gap: 18px; }
.ep-faq__navtitle { font-size: .85rem; font-weight: 650; color: var(--muted); margin: 0; }
.ep-faq__nav ul { list-style: none; display: grid; border-left: 2px solid var(--line); }
.ep-topic { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; margin-left: -2px; border: 0; border-left: 2px solid transparent; background: none; text-align: left; cursor: pointer; font-weight: 560; font-size: .98rem; color: var(--muted); min-height: 44px; }
.ep-topic em { font-style: normal; font-size: .8rem; color: #98a3b1; }
.ep-topic:hover { color: var(--ink); }
.ep-topic.is-on { color: var(--ink); border-left-color: var(--brass); font-weight: 650; }
.ep-faq__call { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); text-decoration: none; }
.ep-faq__call span { font-size: .88rem; color: var(--muted); }
.ep-faq__call strong { font-size: 1.15rem; font-stretch: 112%; }
.ep-faq__cat + .ep-faq__cat { margin-top: clamp(40px, 5vw, 60px); }
.ep-faq__catname { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.ep-faq__group + .ep-faq__group { margin-top: 28px; }
.ep-faq__groupname { font-size: .92rem; font-weight: 650; color: var(--brass); margin-bottom: 12px; font-stretch: 110%; }
.ep-faq__empty { color: var(--muted); }

/* ---------- Related ---------- */
.ep-related { padding-block: clamp(40px, 5vw, 64px); }
.ep-related__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.ep-related__link { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-weight: 600; }
.ep-related__link > .ep-ic:first-child { color: var(--brass); }
.ep-related__link span { flex: 1; }
.ep-related__go { color: var(--muted); }
.ep-related__link:hover { border-color: var(--brass); }

/* ---------- Team ---------- */
.ep-team__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.ep-team__grid.is-office { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ep-team__office { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.ep-person__img, .ep-person .ep-ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); min-height: 0; margin-bottom: 18px; }
.ep-person.is-sm .ep-person__img, .ep-person.is-sm .ep-ph { aspect-ratio: 1; }
.ep-person__name { font-size: 1.3rem; margin-bottom: .2em; }
.ep-person.is-sm .ep-person__name { font-size: 1.1rem; }
.ep-person__role { color: var(--brass); font-weight: 600; margin-bottom: .6em; }
.ep-person__facts { list-style: none; display: grid; gap: 2px; font-size: .94rem; color: var(--muted); margin-bottom: .8em; }
.ep-person__bio { color: var(--muted); font-size: .97rem; }

/* ---------- Closing section ---------- */
.ep-cta { position: relative; isolation: isolate; overflow: hidden; }
.ep-cta::after { content: ""; position: absolute; z-index: -1; right: -12%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,79,.16), rgba(176,138,79,0) 65%); pointer-events: none; }
.ep-cta__media { position: absolute; inset: 0; z-index: -2; }
.ep-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,28,46,.96) 0%, rgba(15,28,46,.86) 50%, rgba(15,28,46,.7) 100%); }
.ep-cta__img { width: 100%; height: 100%; object-fit: cover; }
.ep-cta__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ep-cta__in.no-card { grid-template-columns: 1fr; }
.ep-cta__title { font-family: var(--display); font-weight: 400; font-stretch: normal; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.012em; margin-bottom: .35em; }
.ep-cta .ep-btnrow { margin-top: 1.8rem; }
.ep-cta__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .94rem; color: #c3cedb; }
.ep-cta__proof li { display: flex; align-items: center; gap: 8px; }
.ep-cta__proof .ep-ic { color: var(--brass-hi); width: 1.05em; stroke-width: 2.2; }
.ep-callcard { background: var(--white); color: var(--text); border-radius: var(--r-md); padding: clamp(24px, 3vw, 34px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); display: grid; gap: 16px; }
.ep-sec .ep-callcard p.ep-callcard__title { margin: 0; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: var(--ink); }
.ep-status.is-card { font-size: .92rem; font-weight: 600; color: var(--muted); padding: 10px 14px; background: var(--mist); border-radius: var(--r-sm); }
.ep-status.is-card.is-open { color: #1d6b45; background: #eaf6ef; }
.ep-callcard__phone { display: flex; align-items: center; gap: 12px; font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 680; font-stretch: 116%; color: var(--ink); text-decoration: none; letter-spacing: .005em; }
.ep-callcard__phone .ep-ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--brass); color: var(--on-brass); }
.ep-callcard__phone:hover { color: var(--brass); }
.ep-callcard__hours { list-style: none; display: grid; gap: 2px; font-size: .94rem; color: var(--muted); padding: 14px 0; border-block: 1px solid var(--line); }
.ep-callcard__hours li:first-child { color: var(--text); font-weight: 600; }
.ep-callcard__links { display: grid; gap: 8px; }
.ep-callcard__links a { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; text-decoration: none; color: var(--ink); }
.ep-callcard__links a .ep-ic { color: var(--brass); width: 20px; height: 20px; }
.ep-callcard__links a:hover { color: var(--brass); }

/* ---------- By the numbers ---------- */
.ep-stats { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 12vw, 180px); }
.ep-stats__media { position: absolute; inset: 0; z-index: -1; }
.ep-stats__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,28,46,.92) 0%, rgba(15,28,46,.55) 60%, rgba(15,28,46,.4) 100%); }
.ep-stats__img, .ep-stats__media .ep-ph { width: 100%; height: 100%; object-fit: cover; }
.ep-stats__media .ep-ph { align-content: start; padding-top: 4%; }
.ep-stats__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.ep-stats__list { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); margin: 0; }
.ep-stat { border-left: 1px solid rgba(255,255,255,.4); padding-left: clamp(18px, 2.4vw, 32px); max-width: 300px; }
.ep-stat dt { font-family: var(--display); font-size: clamp(3.6rem, 8vw, 6.8rem); line-height: .95; color: var(--brass-hi); letter-spacing: -.02em; }
.ep-stat dd { margin: 12px 0 0; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #d6dee8; line-height: 1.45; }
.ep-stats .ep-btn--light { border-color: var(--brass-hi); color: var(--brass-hi); border-radius: 999px; }

/* ---------- Content (core blocks inside pages and posts) ---------- */
.ep-prose-wrap { padding-block: clamp(40px, 6vw, 72px); }
.ep-prose-wrap > *:not(.ep-sec):not(.alignfull):not(.alignwide) { max-width: 760px; margin-inline: auto; padding-inline: var(--gut); box-sizing: content-box; }
.ep-content > p, .ep-content > ul, .ep-content > ol, .ep-content > h2, .ep-content > h3, .ep-content > .wp-block-image, .ep-content > .wp-block-table, .ep-content > blockquote { max-width: 760px; margin-inline: auto; padding-inline: var(--gut); box-sizing: content-box; }
.ep-content > h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.ep-content > h3 { font-size: 1.3rem; margin-top: 1.5em; }
.ep-content > ul, .ep-content > ol { padding-left: calc(var(--gut) + 1.2em); margin-bottom: 1.2em; }
.ep-content > ul li, .ep-content > ol li { margin-bottom: .4em; }
.ep-content a { text-decoration-color: var(--brass); }
.ep-content .wp-block-table table { width: 100%; border-collapse: collapse; }
.ep-content .wp-block-table td, .ep-content .wp-block-table th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.ep-article__call { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-block: 36px 72px; max-width: 760px; }
.ep-article__call p { margin: 0 12px 0 0; font-weight: 600; }

/* Blog list */
.ep-postlist { padding-block: clamp(40px, 6vw, 72px); }
.ep-postgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ep-postcard a { display: grid; gap: 6px; text-decoration: none; }
.ep-postcard__img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; }
.ep-postcard__date { font-size: .85rem; color: var(--muted); }
.ep-postcard__title { font-weight: 640; font-stretch: 110%; font-size: 1.2rem; line-height: 1.2; }
.ep-postcard__ex { color: var(--muted); font-size: .96rem; }

/* ---------- Footer ---------- */
.ep-foot { background: #0b1626; color: #a9b6c6; padding-top: clamp(56px, 7vw, 84px); font-size: .96rem; }
.ep-foot a { text-decoration: none; transition: color .15s; }
.ep-foot a:hover { color: var(--white); }
.ep-foot__top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(44px, 5vw, 64px); }
.ep-foot .ep-logo__word { color: var(--white); font-size: 1.3rem; }
.ep-foot__tag { margin: 18px 0 22px; max-width: 32ch; line-height: 1.55; }
.ep-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ep-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: #c9d3df; transition: background-color .15s, border-color .15s, color .15s; }
.ep-social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.ep-social svg { width: 16px; height: 16px; }
.ep-foot__head { color: var(--brass-hi); font-size: .8rem; font-weight: 650; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.ep-foot__list { list-style: none; display: grid; gap: 10px; }
.ep-foot__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ep-foot__phone { color: var(--white); font-size: 1.45rem; font-weight: 660; font-stretch: 116%; line-height: 1.2; }
.ep-foot__mail { color: var(--white); margin-bottom: 10px; }
.ep-foot address { font-style: normal; line-height: 1.55; }
.ep-foot__hours { font-size: .9rem; margin: 6px 0 0; }
.ep-foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; color: #7f8ea1; }
.ep-foot__legal p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ep-foot__legal .ep-foot__list { display: flex; gap: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ep-nav__top { padding: 10px 10px; font-size: .95rem; }
	.ep-head__in { gap: 18px; }
	.ep-head__phone span { display: none; }
}
@media (max-width: 1040px) {
	.ep-nav { display: none; }
	.ep-head__menu { display: inline-grid; }
	.ep-head__phone span { display: inline; }
	.ep-foot__top { grid-template-columns: 1fr 1fr 1fr; }
	.ep-foot__brand { grid-column: 1 / -1; }
	.ep-services__grid { grid-template-columns: 1fr; }
	.ep-feature { min-height: 420px; }
	.ep-pillars__grid { grid-template-columns: 1fr 1fr; }
	.ep-team__grid.is-office { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	body { padding-bottom: 68px; }
	.ep-mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 90; background: var(--ink); border-top: 1px solid var(--line-dark); }
	.ep-mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; color: var(--white); text-decoration: none; font-weight: 640; font-stretch: 108%; }
	.ep-mbar a .ep-ic { color: var(--brass-hi); }
	.ep-mbar a.is-primary { background: var(--brass); color: var(--on-brass); }
	.ep-mbar a.is-primary .ep-ic { color: var(--on-brass); }
	.ep-util__r span { display: none; }
	.ep-head__book { display: none; }
	.ep-hero__media { position: relative; inset: auto; height: 240px; z-index: 0; }
	.ep-hero__media::after { background: linear-gradient(180deg, rgba(15,28,46,0) 50%, var(--ink) 100%); }
	.ep-hero { display: flex; flex-direction: column-reverse; }
	.ep-hero__in { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding-top: 40px; }
	.ep-plate { justify-self: start; width: min(100%, 380px); }
	.ep-sechead--split, .ep-faq__head, .ep-faq__body, .ep-dir__row { grid-template-columns: 1fr; }
	.ep-feature { min-height: 400px; }
	.ep-projects__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(240px, auto); }
	.ep-projects__grid > li.is-lead { grid-column: 1 / -1; grid-row: auto; }
	.ep-projects__grid > li.is-lead .ep-project { min-height: 380px; }
	.ep-reviews__grid, .ep-reviews__grid.is-1, .ep-reviews__grid.is-2 { grid-template-columns: 1fr 1fr; }
	.ep-reviews__grid > .is-lead { grid-column: 1 / -1; grid-row: auto; }
	.ep-perk { left: 14px; bottom: -32px; }
	.ep-seal { top: -24px; right: -10px; width: 100px; height: 100px; }
	.ep-membership__media { margin: 0 12px 48px 0; }
	.ep-stats__list { gap: 32px; }
	.ep-faq__nav { position: static; }
	.ep-faq__nav ul { display: flex; flex-wrap: wrap; border-left: 0; gap: 6px; }
	.ep-topic { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 8px 14px; }
	.ep-topic.is-on { border-color: var(--ink); background: var(--ink); color: var(--white); }
	.ep-topic.is-on em { color: var(--brass-hi); }
	.ep-doors__grid, .ep-symptoms__in, .ep-services__grid, .ep-membership__in, .ep-samap__row, .ep-split__in, .ep-cta__in, .ep-pagehero.has-img .ep-pagehero__in { grid-template-columns: 1fr; }
	.ep-split.is-rev .ep-split__media { order: 0; }
	.ep-membership__media::before { inset: 14px -10px -14px 14px; }
	.ep-postgrid { grid-template-columns: 1fr 1fr; }
	.ep-counties__grid { grid-template-columns: 1fr 1fr; }
	.ep-team__grid { grid-template-columns: 1fr 1fr; }
	.ep-faq__body { grid-template-columns: 1fr; }
	.ep-faq__side { position: static; order: -1; }
	.ep-trust__item:nth-child(odd) { border-left: 0; }
	.ep-trust__list { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
@media (max-width: 600px) {
	body { font-size: 1.02rem; }
	.ep-util__l { font-size: .8rem; }
	.ep-util__r { display: none !important; }
	.ep-head__in { min-height: 66px; }
	.ep-head__phone span { display: none; }
	.ep-head__phone { width: 46px; height: 46px; display: inline-grid; place-items: center; border: 1px solid var(--line-dark); border-radius: var(--r-sm); }
	.ep-faq__cards { grid-template-columns: 1fr; }
	.ep-hero__btns .ep-btn { flex: 1 1 100%; }
	.ep-symptoms__grid, .ep-projects__grid, .ep-reviews__grid, .ep-reviews__grid.is-1, .ep-reviews__grid.is-2, .ep-counties__grid, .ep-pillars__grid, .ep-postgrid, .ep-trust__list { grid-template-columns: 1fr; }
	.ep-projects__grid > li.is-lead .ep-project { min-height: 320px; }
	.ep-reviews__head { align-items: start; }
	.ep-reviews__btns .ep-btn { flex: 1 1 100%; }
	.ep-callcard__phone { font-size: 1.6rem; }
	.ep-stat dt { font-size: 3.6rem; }
	.ep-svc { gap: 14px; padding-block: 18px; }
	.ep-svc__ic { width: 44px; height: 44px; }
	.ep-trust__item + .ep-trust__item { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
	.ep-team__grid, .ep-team__grid.is-office { grid-template-columns: 1fr 1fr; gap: 16px; }
	.ep-samap__list { grid-template-columns: 1fr 1fr; }
	.ep-foot__top { grid-template-columns: 1fr 1fr; }
	.ep-foot__contact { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.ep-util, .ep-head, .ep-mbar, .ep-foot, .ep-drawer { display: none !important; }
}

/* ---------- Block editor ---------- */
.ep-ed-wrap { position: relative; }
.ep-ed-wrap a, .ep-ed-wrap button, .ep-ed-wrap summary { pointer-events: none; }
.ep-ed-hint { position: absolute; top: 8px; right: 8px; z-index: 5; background: var(--ink); color: #fff; font: 600 12px/1.3 system-ui, sans-serif; padding: 6px 10px; border-radius: 4px; }
.ep-ed-label { font-weight: 600; font-size: 11px; text-transform: uppercase; margin: 12px 0 8px; }
.ep-ed-img { margin-bottom: 16px; }
.ep-ed-item .components-panel__body-title button { font-size: 13px; }
.editor-styles-wrapper .wp-block[data-type^="ep/"] { max-width: none; margin-left: 0; margin-right: 0; }
