/* ==========================================================================
   Ventraa Electrical — additions on top of the shared Ventraa design system
   (styles.css is the Ventraa Plumbing system with light blue swapped for titanium grey).
   ========================================================================== */

:root {
  --titanium-700: #6E7378;
  --titanium-500: #8E9399;
  --titanium-300: #AEB3B8;
  --titanium-100: #C9CDD1;
  --titanium: linear-gradient(120deg, #8E9399 0%, #AEB3B8 48%, #C9CDD1 100%);
}

/* ---------- Brand: SVG logo at the same size as Plumbing's PNG ---------- */
.brand img { height: auto; }

/* ---------- Hero ---------- */
.hero--el .hero-bg--1 { background-image: url("../img/hero-interior.webp"); background-position: 60% center; }
.hero--el.hero--photo::after { background: linear-gradient(180deg, rgba(2, 1, 24, .55) 0%, rgba(2, 1, 24, .38) 40%, rgba(2, 1, 24, .82) 100%); }
.hero--el .hero-inner { justify-content: center; text-align: center; }
.hero--el .hero-copy { max-width: 900px; margin: 0 auto; }
.hero--slider.hero--el.hero--photo .hero-title { font-size: clamp(1.55rem, 3.2vw, 2.9rem); line-height: 1.16; letter-spacing: .05em; margin: 0; }
.hero--el .hero-sub { max-width: 40em; margin-top: 22px; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-btns .btn--outline-pill { border-color: rgba(255, 255, 255, .55); }
.hero-btns .btn--outline-pill:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
@media (max-width: 520px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
}

/* Keep the hero first on phones (the brief puts the headline before everything else) */
@media (max-width: 900px) {
  main:has(> .home-quote) { display: block; }
}

/* ---------- Quote section heading (an h2 here, the h1 is the hero) ---------- */
.home-quote-copy .hq-h { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: .01em; text-transform: none; font-weight: 700; margin: 0; max-width: none; }

/* ---------- Quote form (same look as the Plumbing CRM card; posts to Netlify Forms) ---------- */
.vp-wrap { box-sizing: border-box; max-width: 560px; margin: 0 auto; text-align: left; font-size: 16px; line-height: 1.5; color: #1F2433; }
.vp-wrap .vp-card { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.vp-wrap .vp-title { margin: 0 0 4px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.25; color: var(--char-900); letter-spacing: -.01em; text-transform: none; }
.vp-wrap .vp-title::after { display: none; }
.vp-wrap .vp-lead { margin: 0 0 22px; font-size: 15px; color: #4A5065; }
.vp-wrap .vp-f { margin: 0 0 16px; }
.vp-wrap fieldset.vp-f { border: 0; padding: 0; min-width: 0; }
.vp-wrap .vp-l { display: block; margin: 0 0 7px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--char-900); }
.vp-wrap .vp-hint { display: block; margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: #6B7185; }
.vp-wrap .vp-or { margin: -10px 0 16px; }
.vp-wrap .vp-plans { margin-top: 14px; text-align: center; }
.vp-wrap input[type=text], .vp-wrap input[type=email], .vp-wrap input[type=tel], .vp-wrap textarea {
  display: block; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--char-900);
  background: #fff; border: 1.5px solid #D5DAE2; border-radius: 12px; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.vp-wrap input::placeholder, .vp-wrap textarea::placeholder { color: #8A90A2; opacity: 1; }
.vp-wrap input:hover, .vp-wrap textarea:hover { border-color: #A9AEB4; }
.vp-wrap input:focus, .vp-wrap textarea:focus { outline: none; border-color: var(--titanium-500); box-shadow: 0 0 0 3px rgba(142, 147, 153, .3); }
.vp-wrap textarea { min-height: 110px; resize: vertical; }
.vp-wrap .vp-two { display: block; }
.vp-wrap .vp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-wrap .vp-chips label { position: relative; cursor: pointer; }
.vp-wrap .vp-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vp-wrap .vp-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid #D5DAE2; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--char-900); transition: border-color .25s, background .25s, color .25s; }
.vp-wrap .vp-chips label:hover span { border-color: #A9AEB4; }
.vp-wrap .vp-chips input:checked + span { background: var(--char-900); border-color: var(--char-900); color: #fff; }
.vp-wrap .vp-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(142, 147, 153, .45); }
.vp-wrap .vp-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vp-wrap .vp-msg { display: none; margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid #C0362C; border-radius: 8px; background: #FDF1F0; color: #7A1F17; font-size: 15px; }
.vp-wrap .vp-msg.vp-on { display: block; }
.vp-wrap .vp-go {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; margin: 6px 0 0; padding: 12px 16px; border: 0; border-radius: 999px;
  font: inherit; font-size: 1.08rem; font-weight: 700; color: #fff; background: linear-gradient(120deg, #030220, #1B1F5E); cursor: pointer;
  box-shadow: 0 12px 28px rgba(3, 2, 32, .3); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.vp-wrap .vp-go:hover { transform: translateY(-2px); background: var(--titanium); color: var(--char-900); box-shadow: 0 16px 34px rgba(142, 147, 153, .45); }
.vp-wrap .vp-go:focus-visible { outline: 3px solid rgba(3, 2, 32, .35); outline-offset: 2px; }
.vp-wrap .vp-go[disabled] { opacity: .7; cursor: progress; transform: none; }
.vp-wrap .vp-done { display: none; margin: 0; padding: 8px 0; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--char-900); }
.vp-wrap.vp-sent .vp-form { display: none; }
.vp-wrap.vp-sent .vp-done { display: block; }
@media (min-width: 600px) { .vp-wrap .vp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } }

/* ---------- Ventraa family split (same build as the Plumbing review split, titanium tint) ---------- */
.family-split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(420px, 40vw, 580px); }
.family-photo { position: relative; background-size: cover; background-position: center 60%; overflow: hidden; }
.family-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(3, 2, 32, .25) 0%, rgba(3, 2, 32, 0) 60%); }
.family-copy { display: flex; align-items: center; background: radial-gradient(70% 90% at 0% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%), linear-gradient(160deg, #E6E9EC 0%, #D6DADE 50%, #C5CAD0 100%); color: var(--text-lt); }
.family-inner { width: 100%; max-width: calc(var(--maxw) / 2); padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 88px) clamp(28px, 4.5vw, 72px); }
.family-copy .eyebrow { color: var(--steel-dark); }
.family-copy h2 { color: var(--ink); margin-bottom: 20px; }
.family-copy .lead { color: var(--text-lt); font-size: 1rem; margin-bottom: 30px; }
.family-copy .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.family-copy .link-arrow { color: var(--ink); }
@media (max-width: 860px) {
  .family-split { grid-template-columns: 1fr; min-height: 0; }
  .family-photo { min-height: 260px; }
  .family-inner { max-width: none; padding: 56px var(--gutter); }
}

/* ---------- Services: jump bar ---------- */
.svc-jump { position: sticky; top: 78px; z-index: 40; background: rgba(2, 1, 24, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dk); }
.svc-jump .wrap { display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.svc-jump .wrap::-webkit-scrollbar { display: none; }
.svc-jump a { flex: none; padding: 18px 0; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dk); text-decoration: none; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.svc-jump a:hover, .svc-jump a.is-on { color: var(--white); border-color: var(--titanium-300); }
.svc-group { scroll-margin-top: 150px; }
.svc-group .sec-head h2 { max-width: none; }
.svc-group .sec-head .eyebrow { margin-bottom: 18px; }
@media (max-width: 980px) { .svc-jump { top: 70px; } }

/* ---------- About: credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cred { padding: 28px 26px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 44px rgba(3, 2, 32, .1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cred:hover { transform: translateY(-3px); box-shadow: 0 26px 52px rgba(3, 2, 32, .16); }
.cred h3 { color: var(--ink); margin-bottom: 10px; }
.cred p { margin: 0; font-size: .95rem; color: var(--text-lt); }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-list { margin: 32px 0 34px; border-top: 1px solid var(--line-dk); }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dk); }
.contact-list > div[data-phone-only] { display: none; }
.has-phone .contact-list > div[data-phone-only] { display: grid; }
.contact-list dt { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dk); padding-top: 3px; }
.contact-list dd { margin: 0; color: var(--white); font-weight: 500; }
.contact-list a { color: var(--white); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-list > div { grid-template-columns: 110px 1fr; } }

/* Placeholders on dark backgrounds stay legible */
.contact-list .ph, .site-footer .ph { color: var(--silver-300); }

/* ---------- Fixes after review ---------- */
.hero-btns .btn--outline-pill { background: rgba(2, 1, 24, .25); color: var(--white); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.section--deep .link-arrow, .section--char .link-arrow { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.svc-group .sec-head > .link-arrow { align-self: end; }
@media (max-width: 520px) {
  .hero--el .hero-kicker { font-size: .62rem; letter-spacing: .18em; }
  .hero--slider.hero--el.hero--photo .hero-title { font-size: 1.35rem; letter-spacing: .03em; }
}

/* ---------- Hero slideshow (4 slides) ---------- */
.hero--el .hero-bg--2 { background-image: url("../img/res-home.webp"); background-position: 45% 62%; }
.hero--el .hero-bg--3 { background-image: url("../img/res-townhouses.webp"); background-position: 50% 60%; }
.hero--el .hero-bg--4 { background-image: url("../img/hero-4.webp"); background-position: 42% 60%; }
html.js:not(.slides-on) .hero--el .hero-bg--2, html.js:not(.slides-on) .hero--el .hero-bg--3, html.js:not(.slides-on) .hero--el .hero-bg--4 { background-image: none; }
.hero--el .slide-copy { grid-area: 1 / 1; }
.hero--el .hero-btns { grid-area: 2 / 1; justify-self: center; }
.hero--slider.hero--el.hero--photo .hero-title { margin-bottom: 0; }
.hero--slider.hero--el .hero-inner { padding-bottom: 96px; }

/* ---------- Service pages ---------- */
.area-links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .area-links--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .area-links--3 { grid-template-columns: 1fr; } }
.svc-mini .mini-more { margin-left: 6px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.svc-mini .mini-more::after { content: " \2192"; }
.prose h2 { margin: 40px 0 14px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.prose h2:first-of-type { margin-top: 28px; }
.media-split h2 { margin-bottom: 22px; }
.faq-item p a, .split .muted a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .lead { color: var(--text-dk); margin-top: 16px; }
/* Numbered steps show their numbers even on "no-nums" pages */
.no-nums .principles--cards .principle .num { display: inline-grid; position: static; }
.principles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .principles--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles--cards, .principles--3 { grid-template-columns: 1fr; } }
/* Footer: contact, services (two columns), company */
@media (min-width: 861px) { .footer-cols { grid-template-columns: 1fr 1.6fr 1fr; } }

/* ==========================================================================
   Electrical identity: left-aligned hero writing + titanium buttons
   (Plumbing keeps the centred hero and white-chrome buttons)
   ========================================================================== */

/* ---------- Hero writing: one label, one headline colour, one short line ---------- */
.hero--slider.hero--el .hero-inner { justify-items: start; text-align: left; }
.hero--el .hero-copy, .hero--slider.hero--el .slide-copy { max-width: 680px; margin: 0; justify-self: start; }
.hero--el .hero-btns { justify-self: start; justify-content: flex-start; margin-top: 30px; }
.hero--el .hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .74rem; letter-spacing: .24em; color: var(--titanium-100); }
.hero--el .hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--titanium-300); }
.hero--el .hero-kicker::after { display: none; }
.hero--slider.hero--el.hero--photo .hero-title {
  font-size: clamp(2rem, 3.9vw, 3.3rem); font-weight: 600; line-height: 1.1;
  letter-spacing: -.015em; text-transform: none; color: var(--white);
}
.hero--el .hero-sub { margin: 18px 0 0; max-width: 34em; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255, 255, 255, .88); }
/* darken the left side so the writing always sits on a calm background */
.hero--slider.hero--el.hero--photo::after {
  background: linear-gradient(90deg, rgba(2, 1, 24, .82) 0%, rgba(2, 1, 24, .6) 45%, rgba(2, 1, 24, .25) 100%),
              linear-gradient(0deg, rgba(2, 1, 24, .55), rgba(2, 1, 24, 0) 35%);
}
@media (max-width: 900px) {
  .hero--slider.hero--el.hero--photo::after { background: rgba(2, 1, 24, .66); }
}
@media (max-width: 520px) {
  .hero--slider.hero--el.hero--photo .hero-title { font-size: 1.75rem; letter-spacing: -.01em; }
  .hero--el .hero-kicker { font-size: .66rem; letter-spacing: .2em; }
  .hero--el .hero-btns { justify-self: stretch; }
}

/* ---------- Buttons: titanium (gunmetal) instead of Plumbing's white chrome ---------- */
.btn, .header-actions .btn, .mobile-bar .btn, .nav-links .nav-menu-cta,
.btn--chrome, .btn--navy-solid, .light .btn--chrome, .light .btn--navy-solid {
  background: linear-gradient(180deg, #8C939B 0%, #6C727A 48%, #545A62 52%, #464B52 100%);
  color: #FFFFFF; font-weight: 600; text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  border: 1px solid rgba(201, 205, 209, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 6px 16px rgba(0, 0, 0, .3);
}
.btn:hover, .header-actions .btn:hover, .mobile-bar .btn:hover, .btn--chrome:hover, .btn--navy-solid:hover,
.light .btn--chrome:hover, .light .btn--navy-solid:hover {
  background: linear-gradient(180deg, #9CA3AB 0%, #7C838B 48%, #646A72 52%, #555A61 100%);
  color: #FFFFFF; border-color: rgba(255, 255, 255, .8);
}
.btn--chrome::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); }
/* secondary buttons: outlined, so the titanium button stays the main action */
.btn--outline-pill, .btn--line, .hero-btns .btn--outline-pill {
  background: rgba(2, 1, 24, .28); color: #FFFFFF; text-shadow: none;
  border: 1px solid rgba(201, 205, 209, .7); box-shadow: none;
}
.btn--outline-pill:hover, .btn--line:hover, .hero-btns .btn--outline-pill:hover {
  background: rgba(255, 255, 255, .1); color: #FFFFFF; border-color: #FFFFFF;
}
.light .btn--line, .light .btn--outline-pill { background: transparent; color: #030220; border-color: rgba(3, 2, 32, .45); }
.light .btn--line:hover, .light .btn--outline-pill:hover { background: rgba(3, 2, 32, .06); color: #030220; border-color: #030220; }
.light .btn, .light .btn--chrome, .light .btn--navy-solid { border-color: rgba(70, 75, 82, .6); }
/* side quote tab in the same titanium as the buttons */
.quote-tab { background: linear-gradient(180deg, #8C939B 0%, #6C727A 48%, #545A62 52%, #464B52 100%); color: #FFFFFF; }
.quote-tab::before { background: #C9CDD1; }
.quote-tab:hover, .quote-tab:focus-visible { background: linear-gradient(180deg, #9CA3AB 0%, #7C838B 48%, #646A72 52%, #555A61 100%); }
.quote-tab:focus-visible { outline-color: #FFFFFF; }

/* ==========================================================================
   Electrical layout (differs from Plumbing): no top bar, menu on the right,
   hero service bar, white sections, photo tiles, split builder panel,
   four-step process, mirrored quote, slim family strip, logo-led footer.
   ========================================================================== */
:root { --el-white: #F3F4F6; --el-line-lt: rgba(3, 2, 32, .14); }

/* ---------- Header ---------- */
.site-header .header-main { min-height: 88px; }
.is-scrolled .header-main { min-height: 74px; }
.site-header .brand img { width: 232px; }
@media (min-width: 1341px) {
  .site-header .nav-links { margin-left: auto; margin-right: 18px; }
}
@media (max-width: 520px) { .site-header .brand img { width: 176px; } }

/* ---------- Section labels and headings (sentence case, larger) ---------- */
.el-label { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #5A6068; }
.el-label::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .7; }
.section--deep .el-label, .el-split .el-label, .el-label--dk { color: var(--titanium-100); }
.el-promise h2, .el-services h2, .el-split h2, .el-process h2, .el-family h2 {
  text-transform: none; letter-spacing: -.01em; font-weight: 600; line-height: 1.15;
  font-size: clamp(1.75rem, 3vw, 2.6rem); max-width: 22ch; margin: 0;
}
.el-promise h2::after, .el-services h2::after, .el-split h2::after, .el-process h2::after, .el-family h2::after { display: none !important; }

/* ---------- Hero service bar ---------- */
.hero--el .el-herobar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(2, 1, 24, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.el-herobar-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.el-herobar a { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 22px 24px; color: var(--white); text-decoration: none; border-left: 1px solid rgba(255, 255, 255, .12); transition: background .3s; }
.el-herobar a:last-child { border-right: 1px solid rgba(255, 255, 255, .12); }
.el-herobar strong { font-size: .95rem; font-weight: 600; }
.el-herobar span { grid-column: 1; font-size: .8rem; color: rgba(255, 255, 255, .66); margin-top: 3px; }
.el-herobar svg { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--titanium-100); transition: transform .4s var(--ease); }
.el-herobar a:hover { background: rgba(255, 255, 255, .07); }
.el-herobar a:hover svg { transform: translateX(4px); }
.hero--slider.hero--el .hero-inner { padding-bottom: 150px; }
@media (max-width: 900px) {
  .hero--el .el-herobar { position: relative; background: var(--char-950); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .el-herobar-in { grid-template-columns: 1fr 1fr; padding: 0; }
  .el-herobar a { padding: 18px var(--gutter); border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .el-herobar a:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .el-herobar a:last-child { border-right: 0; }
  .hero--slider.hero--el .hero-inner { padding-bottom: 56px; }
}
@media (max-width: 520px) {
  .el-herobar-in { grid-template-columns: 1fr; }
  .el-herobar a:nth-child(odd) { border-right: 0; }
}

/* ---------- 1. Promises ---------- */
.el-promise { background: var(--el-white); }
.el-promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.el-promise-head .lead { margin: 22px 0 26px; color: var(--muted-lt); max-width: 34em; }
.el-promise-list { list-style: none; margin: 0; padding: 0; }
.el-promise-list li { padding: 28px 0; border-top: 1px solid var(--el-line-lt); }
.el-promise-list li:last-child { border-bottom: 1px solid var(--el-line-lt); }
.el-promise-list h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; }
.el-promise-list p { margin: 0; color: var(--muted-lt); max-width: 40em; }
@media (max-width: 900px) { .el-promise-grid { grid-template-columns: 1fr; } }

/* ---------- 2. Services: photo tiles ---------- */
.el-services-head { margin-bottom: 40px; }
.el-services h2 { color: var(--white); }
.el-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.el-tile { position: relative; display: block; min-height: 380px; overflow: hidden; border-radius: 14px; color: var(--white); text-decoration: none; isolation: isolate; }
.el-tile-img { position: absolute; inset: 0; z-index: -2; background-size: cover; transition: transform 1.2s var(--ease); }
.el-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 1, 24, .05) 25%, rgba(2, 1, 24, .88) 100%); }
.el-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 32px; display: grid; gap: 8px; }
.el-tile-body strong { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; }
.el-tile-body > span { max-width: 32em; color: rgba(255, 255, 255, .8); }
.el-tile-body em { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-style: normal; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--titanium-100); }
.el-tile-body em svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.el-tile:hover .el-tile-img { transform: scale(1.05); }
.el-tile:hover em svg { transform: translateX(4px); }
.el-tile:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.el-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.el-more > span { margin-right: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dk); }
.el-more a { padding: 9px 16px; border: 1px solid var(--line-dk-strong); border-radius: 999px; color: var(--white); font-size: .88rem; text-decoration: none; transition: border-color .3s, background .3s; }
.el-more a:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.el-more .el-more-all { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 0; padding-right: 0; font-weight: 600; }
.el-more .el-more-all svg { width: 16px; height: 16px; }
.el-more .el-more-all:hover { background: none; }
@media (max-width: 760px) {
  .el-tiles { grid-template-columns: 1fr; }
  .el-tile { min-height: 300px; }
  .el-more .el-more-all { margin-left: 0; }
}

/* ---------- 3. Builders split ---------- */
.el-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--char-900); }
.el-split-copy { display: flex; align-items: center; justify-content: flex-end; padding: clamp(64px, 8vw, 120px) clamp(32px, 5vw, 80px) clamp(64px, 8vw, 120px) var(--gutter); }
.el-split-inner { max-width: 560px; width: 100%; }
.el-split h2 { color: var(--white); }
.el-split .lead { margin: 22px 0 0; color: rgba(255, 255, 255, .8); }
.el-facts { margin: 32px 0 34px; display: grid; gap: 0; }
.el-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dk); }
.el-facts div:last-child { border-bottom: 1px solid var(--line-dk); }
.el-facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--titanium-100); padding-top: 3px; }
.el-facts dd { margin: 0; color: var(--white); }
.el-split-photo { min-height: 560px; background-size: cover; background-position: 50% 60%; }
@media (max-width: 900px) {
  .el-split { grid-template-columns: 1fr; }
  .el-split-photo { order: -1; min-height: 280px; }
  .el-split-copy { justify-content: flex-start; padding: 56px var(--gutter); }
}
@media (max-width: 520px) { .el-facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 4. Process ---------- */
.el-process { background: var(--el-white); }
.el-process-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 30px; margin-bottom: 48px; }
.el-process-head .el-label { grid-column: 1 / -1; }
.el-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.el-step { padding: 28px 26px 30px; background: var(--white); border-radius: 14px; box-shadow: 0 1px 0 rgba(3, 2, 32, .06), 0 10px 30px rgba(3, 2, 32, .06); border-top: 3px solid #6C727A; }
.el-step-n { display: block; margin-bottom: 26px; font-size: 2.4rem; font-weight: 300; line-height: 1; color: #8C939B; }
.el-step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; }
.el-step p { margin: 0; color: var(--muted-lt); font-size: .95rem; }
@media (max-width: 980px) { .el-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .el-steps { grid-template-columns: 1fr; }
  .el-process-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- 5. Quote: form on the left ---------- */
@media (min-width: 901px) {
  .el-quote .home-quote-card { order: -1; }
}
.el-quote .hq-h { margin-top: 0; }
.el-quote .hq-pitch { margin-top: 18px; color: rgba(255, 255, 255, .82); }

/* ---------- 6. Family strip ---------- */
.el-family { background: var(--char-850); border-top: 1px solid var(--line-dk); }
.el-family-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 48px; padding-top: 44px; padding-bottom: 44px; }
.el-family h2 { color: var(--white); font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.el-family p { margin: 0; color: var(--muted-dk); max-width: 46em; }
.el-family .link-arrow { color: var(--white); border-color: rgba(255, 255, 255, .45); white-space: nowrap; }
@media (max-width: 900px) { .el-family-in { grid-template-columns: 1fr; } }

/* ---------- Footer: logo-led, no watermark ---------- */
.site-footer--el .footer-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dk); }
.site-footer--el .footer-logo img { width: 250px; }
.site-footer--el .footer-tag { margin: 0; color: var(--muted-dk); max-width: 30em; }
.site-footer--el .footer-bar::before { display: none; }
.site-footer--el .footer-bar { border-top: 1px solid var(--line-dk); }
@media (max-width: 760px) {
  .site-footer--el .footer-top { grid-template-columns: 1fr; justify-items: start; }
  .site-footer--el .footer-logo img { width: 210px; }
}
@media (max-width: 900px) {
  .hero--el { display: flex; flex-direction: column; }
  .hero--el .hero-inner { flex: 1 0 auto; width: 100%; }
}
.site-footer--el .footer-top .btn { padding: 9px 26px; width: auto; }

/* ---------- Phones and tablets: the sticky bar carries the two actions, so the hero has none ---------- */
@media (max-width: 980px) {
  .hero--el .hero-btns { display: none; }
  .mobile-bar .btn { flex: 1 1 0; gap: 8px; }
  .has-phone .mobile-bar .btn[data-phone-only] { flex: 1 1 0; }
  .mobile-bar .btn svg { width: 16px; height: 16px; }
}

/* ---------- No decorative dashes anywhere (labels, card tops, heading underlines) ---------- */
h1::after, h2::after, .statement-title::after,
.el-label::before, .eyebrow::before, .hero-kicker::before, .hero-kicker::after,
.svc-mini::before, .principle::after { display: none !important; content: none !important; }
.el-label, .eyebrow { gap: 0; }

/* ==========================================================================
   Split hero: headline on solid navy, slideshow photo on the right.
   (Ventraa Group and Plumbing both use a full-width photo hero.)
   ========================================================================== */
.hero--el { background: var(--char-900); }
.hero--slider.hero--el.hero--photo::after { display: none; }
.hero--el .el-herobar { display: none; }
@media (min-width: 901px) {
  .hero--el .hero-slides { inset: 0 0 0 auto; width: 54%; transform: none !important; overflow: hidden; }
  .hero--el .hero-slides::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, var(--char-900) 0%, rgba(3, 2, 32, 0) 28%), linear-gradient(0deg, rgba(3, 2, 32, .25), rgba(3, 2, 32, 0) 40%); }
  .hero--slider.hero--el .hero-inner { min-height: min(76vh, 720px); padding-top: 72px; padding-bottom: 72px; align-content: center; }
  .hero--el .slide-copy, .hero--slider.hero--el .slide-copy, .hero--el .hero-btns { max-width: min(540px, 40vw); }
  .hero--slider.hero--el.hero--photo .hero-title { font-size: clamp(2rem, 3.3vw, 3.1rem); text-shadow: none; }
}
@media (max-width: 900px) {
  .hero--el .hero-slides { position: relative; inset: auto; order: -1; height: 300px; transform: none !important; }
  .hero--slider.hero--el .hero-inner { min-height: 0; padding-top: 40px; padding-bottom: 48px; }
  .hero--slider.hero--el.hero--photo .hero-title { text-shadow: none; }
}

/* ---------- Home "How we work": a plain row, no cards or numbers ---------- */
.el-steps { gap: 0; border-top: 1px solid var(--el-line-lt); }
.el-step { padding: 28px 28px 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.el-step + .el-step { padding-left: 28px; border-left: 1px solid var(--el-line-lt); }
.el-step-n { display: none; }
.el-step h3 { font-size: 1.15rem; }
@media (max-width: 980px) {
  .el-step, .el-step + .el-step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--el-line-lt); }
}
/* builders split: photo on the left so it doesn't echo the hero */
@media (min-width: 901px) {
  .el-split-photo { order: -1; }
  .el-split-copy { justify-content: flex-start; padding-left: clamp(40px, 6vw, 96px); padding-right: var(--gutter); }
}

/* ==========================================================================
   Sitewide type scale: smaller and calmer on every page.
   ========================================================================== */
body { font-size: 15px; }

.lead, .light .lead, .page-hero .lead, .about-copy .lead { font-size: 1rem; line-height: 1.7; }
h3, .el-promise-list h3, .el-step h3 { font-size: 1rem; line-height: 1.35; }
summary { font-size: .98rem; }

/* page titles and section headings */
.page-hero h1, h1.reveal { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
h2, .division-copy h2, .about-copy h2, .statement-title, .cta h2 { font-size: clamp(.92rem, 1.1vw, 1rem); }
.el-promise h2, .el-services h2, .el-split h2, .el-process h2, .el-family h2 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }
.el-family h2 { font-size: 1.15rem; }
.statement .big { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; margin-bottom: 28px; }
.media-split .big { font-size: clamp(1rem, 1.3vw, 1.15rem); }

/* hero */
.hero--slider.hero--el.hero--photo .hero-title { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.22; }
@media (max-width: 900px) { .hero--slider.hero--el.hero--photo .hero-title { font-size: 1.3rem; line-height: 1.28; } }

/* home tiles, quote */
.el-tile-body strong { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.home-quote-copy .hq-h, .el-quote .hq-h { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }
.vp-wrap .vp-title, .home-quote-card .vp-wrap .vp-title { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
.home-quote-card .vp-wrap .vp-go, .vp-wrap .vp-go { font-size: 1rem; min-height: 52px; }
.hq-ticks li { font-size: .95rem; }
.faq-item summary { font-size: .98rem; }
.pb-steps li:not(.pb-sep) { font-size: clamp(.95rem, 1.2vw, 1.1rem); }
.svc-mini h3, .principle h3, .principles--cards .principle h3, .process h3, .path h3 { font-size: 1rem; }
.form-panel h3 { font-size: 1.2rem; }
