/*
 * Enactpro site styles.
 *
 * How this file is organised:
 *   1. Brand settings   - colours and fonts. Change a colour here and it changes everywhere.
 *   2. Base             - text, links and buttons.
 *   3. Header and footer - restyles the Kadence header and footer.
 *   4. Sections         - the building blocks every page is made of.
 *   5. Small screens    - what changes on tablets and phones.
 *
 * Every class starts with "ep-" so it never clashes with the theme or a plugin.
 * In the editor, a block's class is under Block > Advanced > Additional CSS class(es).
 */

/* ---------- 1. Brand settings ---------- */
:root {
	--ep-navy: #003b6d;
	--ep-navy-deep: #062a4a;
	--ep-accent: #f59a23;        /* buttons and highlights */
	--ep-accent-dark: #b25e00;   /* accent text on white */
	--ep-accent-light: #ffb44d;  /* button hover */
	--ep-ink: #14212e;
	--ep-muted: #536373;
	--ep-paper: #ffffff;
	--ep-mist: #f1f4f8;
	--ep-line: #d9e1ea;
	--ep-star: #f2b01e;
	--ep-on-dark: #dfe8f1;
	--ep-on-dark-soft: #c9d8e6;
	--ep-display: "Archivo", "Arial Narrow", Arial, sans-serif;
	--ep-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
	--ep-width: 1180px;
	--ep-gutter: 20px;
}

/* ---------- 2. Base ---------- */
body {
	--global-body-font-family: var(--ep-body);
	--global-heading-font-family: var(--ep-display);
	font-family: var(--ep-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ep-ink);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ep-display); color: var(--ep-ink); }

.ep, .ep * { box-sizing: border-box; }
.ep { margin: 0 !important; max-width: none; }
.ep :is(h1, h2, h3, p, ul, ol, li, figure, details, summary, .wp-block-group, .wp-block-cover, .wp-block-buttons, .wp-block-button, .wp-block-image, .wp-block-query, .wp-block-post-excerpt) { margin: 0; }
.ep :is(h1, h2, h3) { font-family: var(--ep-display); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; color: inherit; }
.ep h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 700; }
.ep h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.ep h3 { font-size: 20px; font-weight: 600; }
.ep p { max-width: 62ch; }
.ep a { color: var(--ep-navy); }
.ep a:focus-visible, .ep summary:focus-visible { outline: 3px solid var(--ep-accent); outline-offset: 2px; }
.ep ul, .ep ol { padding: 0; list-style: none; }

/* Some themes wrap a group's contents in an extra box. This makes that box invisible to the layout. */
.ep .wp-block-group__inner-container, .ep.wp-block-group > .wp-block-group__inner-container { display: contents; }
.ep .ep-wrap { max-width: var(--ep-width); margin-inline: auto; padding-inline: var(--ep-gutter); }
.ep .ep-stack { display: flex; flex-direction: column; gap: 18px; }
.ep .ep-eyebrow { font-family: var(--ep-display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ep-accent-dark); }
.ep .ep-star { color: var(--ep-star); }
.ep .ep-more a, .ep p.ep-more { font-family: var(--ep-display); font-weight: 600; text-decoration: none; color: var(--ep-navy); }
.ep .ep-more a, .ep .ep-reason p.ep-more { border-bottom: 2px solid var(--ep-accent); padding-bottom: 2px; }
.ep :is(.ep-work, .ep-cases, .ep-rating) + .ep-more { margin-top: 28px; }

/* Buttons */
.ep .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ep .wp-block-button__link, .header-button, .mobile-header-button {
	display: inline-block; font-family: var(--ep-display); font-weight: 600; font-size: 16px; line-height: 1.4; text-decoration: none;
	padding: 13px 24px; border-radius: 4px; border: 2px solid var(--ep-accent); background: var(--ep-accent); color: var(--ep-navy-deep); box-shadow: none;
}
.ep .wp-block-button__link:hover, .header-button:hover, .mobile-header-button:hover { background: var(--ep-accent-light); border-color: var(--ep-accent-light); color: var(--ep-navy-deep); box-shadow: none; }
.ep .ep-line .wp-block-button__link { background: transparent; color: var(--ep-paper); border-color: rgba(255, 255, 255, .7); }
.ep .ep-line .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: var(--ep-paper); }

/* ---------- 3. Header and footer (Kadence) ---------- */
#masthead, #masthead .site-header-row-container-inner, #masthead .site-main-header-wrap .site-header-row-container-inner, #mobile-header .site-header-row-container-inner { background: var(--ep-navy-deep); }
#masthead .site-container, .site-footer .site-container { max-width: var(--ep-width); padding-inline: var(--ep-gutter); }
#masthead .site-main-header-inner-wrap { min-height: 78px; }
#masthead .site-header-main-section-left { gap: 28px; }
#masthead .header-navigation .header-menu-container > ul > li.menu-item > a {
	font-family: var(--ep-display); font-weight: 500; font-size: 15px; color: var(--ep-paper); padding: 6px 0; margin: 0 11px; border-bottom: 2px solid transparent; white-space: nowrap;
}
#masthead .header-navigation .header-menu-container > ul > li.menu-item > a:hover,
#masthead .header-navigation .header-menu-container > ul > li.current-menu-item > a,
#masthead .header-navigation .header-menu-container > ul > li.current-page-ancestor > a { color: var(--ep-paper); border-bottom-color: var(--ep-accent); }
#masthead .header-button { padding: 10px 18px; font-size: 15px; white-space: nowrap; }
#masthead .menu-toggle-open { color: var(--ep-paper); border: 2px solid rgba(255, 255, 255, .6); border-radius: 4px; padding: 8px 10px; background: transparent; }
#mobile-drawer .drawer-inner { background: var(--ep-navy-deep); }
#mobile-drawer .mobile-navigation ul li a { font-family: var(--ep-display); font-weight: 500; color: var(--ep-paper); }
#mobile-drawer .mobile-header-button { display: block; text-align: center; }

.site-footer, .site-footer .site-footer-row-container-inner { background: var(--ep-navy-deep); color: var(--ep-on-dark-soft); font-size: 15px; }
.site-footer .site-middle-footer-inner-wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
.site-footer .ep-foot-title { font-family: var(--ep-display); font-size: 16px; font-weight: 700; color: var(--ep-paper); margin: 0 0 10px; }
.site-footer .ep-foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer .ep-foot-contact { margin: 0; line-height: 1.9; }
.site-footer .ep-foot-contact strong { font-family: var(--ep-display); color: var(--ep-paper); font-size: 16px; }
.site-footer a { color: var(--ep-on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ep-paper); text-decoration: underline; }
.site-footer .site-bottom-footer-inner-wrap { border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 16px; min-height: 0; font-size: 14px; }
.site-footer .footer-html { margin: 0; }
.site-footer .site-info-inner, .site-footer .footer-html-inner { text-align: left; }

/* ---------- 4. Sections ---------- */

/* Bands: the full-width strips each page is stacked from. Add ep-mist or ep-dark for a tinted one. */
.ep.ep-band { padding-block: clamp(56px, 7vw, 96px); background: var(--ep-paper); }
.ep.ep-band.ep-mist { background: var(--ep-mist); }
.ep.ep-band.ep-dark { background: var(--ep-navy-deep); color: var(--ep-paper); }
.ep .ep-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.ep .ep-head p:not(.ep-eyebrow) { color: var(--ep-muted); font-size: 19px; }
.ep.ep-dark .ep-eyebrow, .ep.ep-hero .ep-eyebrow, .ep.ep-hero2 .ep-eyebrow { color: var(--ep-accent); }
.ep.ep-dark .ep-more a { color: var(--ep-paper); }

/* Hero with a photo behind it (Home and project pages) */
.ep.ep-hero { min-height: 0; padding: 0; display: block; color: var(--ep-paper); background: var(--ep-navy-deep); }
.ep.ep-hero > .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(6, 42, 74, .94) 0%, rgba(6, 42, 74, .78) 45%, rgba(6, 42, 74, .25) 100%) !important; }
.ep.ep-hero > .wp-block-cover__inner-container { max-width: var(--ep-width); margin-inline: auto; padding: clamp(64px, 10vw, 132px) var(--ep-gutter); width: 100%; }
.ep.ep-hero .ep-stack { max-width: 680px; gap: 22px; }
.ep.ep-hero .ep-stack > p:not(.ep-eyebrow):not(.ep-crumbs) { font-size: 20px; color: var(--ep-on-dark); }
.ep .ep-crumbs { font-size: 14px; color: #a9bdd0; }
.ep .ep-crumbs a { color: var(--ep-on-dark-soft); }

/* Hero with the photo beside the text (main pages and trade pages) */
.ep.ep-hero2 { background: var(--ep-navy-deep); color: var(--ep-paper); display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.ep.ep-hero2 .ep-txt { display: flex; flex-direction: column; gap: 22px; padding: clamp(48px, 7vw, 96px) clamp(0px, 4vw, 56px) clamp(48px, 7vw, 96px) max(var(--ep-gutter), calc((100vw - var(--ep-width)) / 2 + var(--ep-gutter))); }
.ep.ep-hero2 .ep-txt > p:not(.ep-eyebrow):not(.ep-crumbs) { font-size: 20px; color: var(--ep-on-dark); }
.ep.ep-hero2 .ep-pic { position: relative; min-height: 320px; }
.ep.ep-hero2 .ep-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Plain page header (Services, Projects, Contact) */
.ep.ep-phead { background: var(--ep-navy-deep); color: var(--ep-paper); }
.ep.ep-phead .ep-wrap { padding-block: clamp(44px, 6vw, 80px); }
.ep.ep-phead .ep-stack > p:not(.ep-crumbs) { font-size: 20px; color: var(--ep-on-dark); }

/* Proof strip: four short facts under a hero */
.ep.ep-proof { background: var(--ep-navy); color: var(--ep-paper); }
.ep.ep-proof .ep-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.ep .ep-fact { padding: 20px 18px; border-left: 1px solid rgba(255, 255, 255, .18); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ep .ep-fact:first-child { border-left: 0; padding-left: 0; }
.ep .ep-fact p { font-size: 15px; color: var(--ep-on-dark-soft); }
.ep .ep-fact p.ep-big { font-family: var(--ep-display); font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--ep-paper); }

/* Photo cards: "doors" to the three kinds of work, and project cards */
.ep .ep-doors, .ep .ep-cases, .ep .ep-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ep .ep-door, .ep .ep-proj { position: relative; min-height: 440px; padding: 0; border-radius: 6px; overflow: hidden; color: var(--ep-paper); background: var(--ep-navy-deep); display: block; }
.ep .ep-proj { min-height: 340px; }
.ep .ep-door > .wp-block-cover__background, .ep .ep-proj > .wp-block-cover__background { opacity: 1 !important; transition: background .2s; }
.ep .ep-door > .wp-block-cover__background { background: linear-gradient(180deg, rgba(6, 42, 74, .05) 15%, rgba(6, 42, 74, .95) 60%) !important; }
.ep .ep-door:hover > .wp-block-cover__background { background: linear-gradient(180deg, rgba(6, 42, 74, .3) 0%, rgba(6, 42, 74, .95) 70%) !important; }
.ep .ep-proj > .wp-block-cover__background { background: linear-gradient(180deg, rgba(6, 42, 74, 0) 40%, rgba(6, 42, 74, .9) 100%) !important; }
.ep .ep-door > .wp-block-cover__inner-container, .ep .ep-proj > .wp-block-cover__inner-container { position: absolute; inset: 0; z-index: 1; width: auto; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 26px; color: var(--ep-paper); }
.ep .ep-proj > .wp-block-cover__inner-container { padding: 22px; }
.ep :is(.ep-door, .ep-proj) h3 a { color: var(--ep-paper); text-decoration: none; }
.ep :is(.ep-door, .ep-proj, .ep-tcard, .ep-reason) h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* makes the whole card clickable */
.ep .ep-door .ep-who { font-family: var(--ep-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-accent); margin-bottom: 6px; }
.ep .ep-door h3 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.ep .ep-door p { font-size: 16px; color: var(--ep-on-dark); margin-bottom: 14px; }
.ep .ep-door p.ep-go { font-family: var(--ep-display); font-weight: 600; color: var(--ep-paper); border-bottom: 2px solid var(--ep-accent); padding-bottom: 2px; margin-bottom: 0; }
.ep .ep-proj .ep-kind { font-family: var(--ep-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ep-accent); color: var(--ep-navy-deep); padding: 3px 9px; border-radius: 3px; margin-bottom: 10px; line-height: 1.6; }
.ep .ep-proj .ep-kind a { color: inherit; text-decoration: none; pointer-events: none; }
.ep .ep-proj h3 { font-size: 22px; font-weight: 700; }
.ep .ep-proj :is(.ep-scope, .ep-scope p) { font-size: 15px; color: var(--ep-on-dark); }
.ep .ep-work { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.ep .ep-work .ep-proj { min-height: 260px; }
.ep .ep-work .ep-proj.ep-big { grid-row: span 2; min-height: 540px; }
.ep .ep-work .ep-proj.ep-big h3 { font-size: 30px; }
.ep .ep-pgrid { list-style: none; padding: 0; }
.ep .ep-pgrid > li { min-width: 0; }
.ep .ep-pgrid > li[hidden] { display: none; }
.ep .ep-pgrid .ep-proj { min-height: 320px; height: 100%; }

/* Project filters */
.ep .ep-filters { gap: 10px; margin-bottom: 28px; }
.ep .ep-filters .wp-block-button__link { font-weight: 500; font-size: 15px; color: var(--ep-navy); background: var(--ep-paper); border: 1.5px solid var(--ep-line); border-radius: 999px; padding: 8px 18px; }
.ep .ep-filters .ep-on .wp-block-button__link { background: var(--ep-navy); border-color: var(--ep-navy); color: var(--ep-paper); }

/* Two columns: text on one side, a list on the other */
.ep .ep-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ep .ep-trades { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 2px solid var(--ep-navy); }
.ep .ep-trades.ep-one { grid-template-columns: 1fr; }
.ep .ep-trades a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--ep-line); text-decoration: none; font-family: var(--ep-display); font-weight: 600; font-size: 18px; color: var(--ep-ink); }
.ep .ep-trades a::after { content: "\2192"; color: var(--ep-accent-dark); }
.ep .ep-trades a:hover { color: var(--ep-navy); border-bottom-color: var(--ep-accent); }
.ep .ep-crew { display: flex; flex-direction: column; gap: 8px; }
.ep .ep-crew li { padding-left: 18px; position: relative; }
.ep .ep-crew li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ep-accent); }
.ep .ep-checks { border-top: 2px solid var(--ep-navy); }
.ep .ep-checks li { display: grid; grid-template-columns: minmax(0, 190px) 1fr; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--ep-line); color: var(--ep-muted); }
.ep .ep-checks strong { font-family: var(--ep-display); font-size: 18px; font-weight: 700; color: var(--ep-ink); }

/* Numbered steps */
.ep .ep-steps { counter-reset: ep-step; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ep-navy); }
.ep .ep-step { counter-increment: ep-step; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--ep-line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ep .ep-step::before { content: counter(ep-step, decimal-leading-zero); font-family: var(--ep-display); font-weight: 700; font-size: 15px; color: var(--ep-accent-dark); letter-spacing: .08em; }
.ep .ep-step p { color: var(--ep-muted); font-size: 16px; }

/* Reason cards and trade cards */
.ep .ep-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ep .ep-why.ep-three { grid-template-columns: repeat(3, 1fr); }
.ep .ep-reason { position: relative; background: var(--ep-paper); border-top: 3px solid var(--ep-accent); padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ep .ep-reason p { color: var(--ep-muted); font-size: 16px; }
.ep .ep-reason p.ep-more { color: var(--ep-navy); align-self: flex-start; }
.ep .ep-reason h3 a, .ep .ep-tcard h3 a { color: var(--ep-ink); text-decoration: none; }
.ep .ep-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ep .ep-tcard { position: relative; background: var(--ep-paper); border: 1px solid var(--ep-line); border-top: 3px solid var(--ep-navy); border-radius: 0 0 6px 6px; padding: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ep .ep-tcard:hover { border-top-color: var(--ep-accent); }
.ep .ep-tcard p { color: var(--ep-muted); font-size: 16px; }

/* Partner block */
.ep .ep-partner { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 40px; }
.ep .ep-partner .ep-stack { gap: 8px; }
.ep .ep-partner .ep-name { font-family: var(--ep-display); font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.12; }
.ep .ep-partner .ep-lead { font-size: 19px; color: var(--ep-muted); }

/* Reviews */
.ep .ep-rating { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ep .ep-score { display: flex; flex-direction: column; gap: 4px; color: var(--ep-on-dark-soft); }
.ep .ep-score .ep-num { font-family: var(--ep-display); font-size: clamp(72px, 9vw, 112px); line-height: .9; font-weight: 700; color: var(--ep-paper); }
.ep .ep-score .ep-star { font-size: 26px; letter-spacing: 3px; }
.ep .ep-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ep .ep-quote { border-top: 3px solid var(--ep-accent); background: rgba(255, 255, 255, .06); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ep .ep-quote p { font-size: 16px; color: #e6edf4; }
.ep .ep-quote .ep-ph { font-style: italic; }
.ep .ep-quote .ep-by { font-size: 14px; color: #a9bdd0; }

/* City links */
.ep .ep-cities { display: flex; flex-wrap: wrap; gap: 10px; }
.ep .ep-cities a { display: block; text-decoration: none; font-family: var(--ep-display); font-weight: 500; font-size: 15px; color: var(--ep-navy); border: 1.5px solid var(--ep-line); border-radius: 999px; padding: 7px 16px; background: var(--ep-paper); }
.ep .ep-cities a:hover { border-color: var(--ep-accent); }

/* Questions and answers */
.ep .ep-faq { border-top: 2px solid var(--ep-navy); }
.ep .ep-faq details { border-bottom: 1px solid var(--ep-line); padding: 16px 2px; }
.ep .ep-faq summary { font-family: var(--ep-display); font-weight: 600; font-size: 18px; cursor: pointer; }
.ep .ep-faq details p { color: var(--ep-muted); margin-top: 8px; }

/* Photos: before and after, and galleries */
.ep .ep-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ep .ep-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ep .ep-ba, .ep .ep-gal { align-items: start; }
.ep .ep-shot { position: relative; height: auto; border-radius: 6px; overflow: hidden; background: var(--ep-mist); }
.ep .ep-shot img { display: block; width: 100%; height: 360px; object-fit: cover; }
.ep .ep-ba .ep-shot img { height: 460px; }
.ep .ep-shot figcaption { position: absolute; left: 0; bottom: 0; margin: 0; background: var(--ep-navy-deep); color: var(--ep-paper); font-family: var(--ep-display); font-weight: 600; font-size: 15px; padding: 10px 16px; border-top-right-radius: 6px; text-align: left; }

/* Call to action band */
.ep.ep-cta { min-height: 0; padding: 0; display: block; color: var(--ep-paper); background: var(--ep-navy); }
.ep.ep-cta > .wp-block-cover__background { opacity: 1 !important; background: rgba(0, 59, 109, .9) !important; }
.ep.ep-cta > .wp-block-cover__inner-container { max-width: var(--ep-width); margin-inline: auto; width: 100%; padding: clamp(56px, 7vw, 88px) var(--ep-gutter); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.ep.ep-cta p { color: var(--ep-on-dark); font-size: 19px; }

/* Contact page */
.ep .ep-contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ep .ep-form { min-width: 0; }
.ep .ep-placeholder { background: #fff4cc; color: #5b4800; padding: 14px 16px; border-radius: 4px; }
.ep .ep-form label { font-family: var(--ep-display); font-weight: 600; font-size: 15px; }
.ep .ep-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) { font: 17px var(--ep-body); color: var(--ep-ink); background: var(--ep-paper); border: 1.5px solid var(--ep-line); border-radius: 4px; padding: 11px 12px; width: 100%; max-width: none; }
.ep .ep-form :is(input, select, textarea):focus { outline: 3px solid var(--ep-accent); outline-offset: 1px; border-color: var(--ep-navy); }
.ep .ep-form :is(button[type="submit"], input[type="submit"], .forminator-button-submit) { font-family: var(--ep-display); font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 4px; border: 2px solid var(--ep-navy); background: var(--ep-navy); color: var(--ep-paper); cursor: pointer; }
.ep .ep-form :is(button[type="submit"], input[type="submit"], .forminator-button-submit):hover { background: var(--ep-navy-deep); border-color: var(--ep-navy-deep); }
.ep .ep-form label { display: block; margin-bottom: 6px; }
.ep .ep-form textarea { min-height: 140px; }
.ep .ep-form .forminator-row { margin-bottom: 18px; }
.ep .ep-form .forminator-response-message.forminator-success { background: var(--ep-mist); border-left: 3px solid var(--ep-accent); padding: 14px 16px; margin-bottom: 18px; }
.ep .ep-form .forminator-error-message { color: #b82105; font-size: 14px; }
.ep .ep-aside { display: flex; flex-direction: column; gap: 18px; }
.ep .ep-card { background: var(--ep-mist); border-left: 3px solid var(--ep-accent); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.ep .ep-card .ep-big { font-family: var(--ep-display); font-weight: 700; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.ep .ep-card .ep-big.ep-sm { font-size: 20px; }
.ep .ep-card .ep-big a { color: var(--ep-ink); text-decoration: none; }

/* ---------- 5. Small screens ---------- */
@media (max-width: 1024px) {
	.site-footer .site-middle-footer-inner-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.ep.ep-proof .ep-wrap { grid-template-columns: 1fr 1fr; }
	.ep .ep-fact { border-left: 0; padding-left: 0; }
	.ep .ep-doors, .ep .ep-quotes, .ep .ep-cases, .ep .ep-steps, .ep .ep-pgrid, .ep .ep-why.ep-three, .ep .ep-ba, .ep .ep-gal, .ep .ep-contact { grid-template-columns: 1fr; }
	.ep .ep-door { min-height: 320px; }
	.ep .ep-work { grid-template-columns: 1fr; grid-template-rows: auto; }
	.ep .ep-work .ep-proj.ep-big { min-height: 340px; grid-row: auto; }
	.ep .ep-split, .ep .ep-rating, .ep .ep-partner, .ep.ep-cta > .wp-block-cover__inner-container, .ep.ep-hero2 { grid-template-columns: 1fr; }
	.ep .ep-why { grid-template-columns: 1fr 1fr; }
	.ep.ep-hero2 .ep-txt { padding-right: var(--ep-gutter); }
	.ep.ep-hero > .wp-block-cover__background { background: rgba(6, 42, 74, .82) !important; }
	.ep .ep-shot img, .ep .ep-ba .ep-shot img { height: 300px; }
	.ep .ep-checks li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 520px) {
	.ep .ep-trades, .ep .ep-why { grid-template-columns: 1fr; }
	.site-footer .site-middle-footer-inner-wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.ep .ep-door > .wp-block-cover__background { transition: none; }
}
