/* ============================================================
   GLOBAL — Emerald Green Property Services design system
   Ported 1:1 from the approved homepage design (Claude bundle,
   July 2026). Values are verbatim from the design; the responsive
   layer (≤1080/≤760) and mobile menu are build additions — the
   design shipped desktop-only.
   ============================================================ */

:root {
  /* --- brand tokens (from the design) --- */
  --green:       #1f6f47;   /* primary emerald / heroAccentColor default */
  --green-hover: #2a8a58;
  --green-deep:  #0f3b2b;
  --forest:      #12241b;
  --green-light: #65b46e;
  --green-pale:  #7fd39a;
  --gold:        #e0a92b;

  --bg:          #ffffff;
  --cream:       #f5f3ec;
  --cream-2:     #faf9f4;
  --line:        #e7e4da;

  --ink:         #12241b;
  --body-ink:    #23302a;
  --soft:        #41504a;
  --slate:       #4a5852;
  --muted:       #5c6b62;
  --menu-ink:    #33413b;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Figtree', system-ui, sans-serif;
  --maxw:  1240px;
}

/* ---------- Base (design block, verbatim) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 19px; line-height: 1.7; color: var(--body-ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.1; color: var(--ink); letter-spacing: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
details summary svg { transition: transform .25s ease; }
details[open] summary svg { transform: rotate(180deg); }
:focus-visible { outline: 3px solid #2f8f5b; outline-offset: 2px; border-radius: 2px; }
::selection { background: #c8e6d2; }

/* overflow-x: clip (not hidden) — hidden turns the wrapper into a scroll
   container, which silently disables the sticky header inside it. */
.eg-page { width: 100%; overflow-x: clip; background: #ffffff; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Reveal (blueprint CSS-only entrance; replaces the
   design's IntersectionObserver — content never waits on JS) ---------- */
@keyframes acb-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.reveal { animation: acb-reveal .7s cubic-bezier(.4,0,.2,1) both; }
.reveal[data-d="1"] { animation-delay: .12s; }
.reveal[data-d="2"] { animation-delay: .24s; }
.reveal[data-d="3"] { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-radius: 9px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn--primary { background: var(--green); color: #ffffff; font-size: 18px; padding: 17px 30px; }
.btn--primary:hover { background: var(--green-deep); color: #ffffff; }
.btn--nav { background: var(--green); color: #ffffff; font-size: 16px; padding: 14px 24px; border-radius: 8px; flex-shrink: 0; }
.btn--nav:hover { background: var(--green-hover); color: #ffffff; }
.btn--outline { background: #ffffff; color: var(--green-deep); font-size: 18px; padding: 17px 30px; border: 1.5px solid #cfd8d1; }
.btn--outline:hover { border-color: var(--green); color: var(--green-deep); }
.btn--review { padding: 15px 28px; }
.btn--white { background: #ffffff; color: var(--green-deep); font-weight: 700; font-size: 18px; padding: 17px 32px; }
.btn--white:hover { background: #eef7f1; color: var(--green-deep); }
.btn--ghost-dark { background: transparent; color: #ffffff; font-size: 18px; padding: 17px 32px; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost-dark:hover { border-color: #ffffff; color: #ffffff; }

/* ---------- Utility strip ---------- */
.eg-topbar { background: var(--green-deep); color: rgba(255,255,255,0.9); font-size: 15px; }
.eg-topbar__in { max-width: var(--maxw); margin: 0 auto; padding: 9px 32px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.eg-topbar__items { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.eg-topbar__item { display: inline-flex; align-items: center; gap: 9px; }
.eg-topbar__item a { color: #ffffff; font-weight: 600; }
.eg-topbar__pay { color: #ffffff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.35); padding: 5px 16px; border-radius: 6px; }
.eg-topbar__pay:hover { color: #ffffff; border-color: rgba(255,255,255,0.7); }

/* ---------- Header / nav ---------- */
.eg-header { position: sticky; top: 0; z-index: 50; background: #000000; border-bottom: 1px solid rgba(255,255,255,0.12); }
.eg-header__in { max-width: var(--maxw); margin: 0 auto; padding: 14px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.eg-logo { display: flex; align-items: center; flex-shrink: 0; }
.eg-logo img { height: 43px; width: auto; } /* logo files cropped of baked-in padding; 43px ≈ old 54px visible size */
.eg-logo__mark { display: none; }   /* square EG mark — shown on phones (see mobile breakpoint) */
.eg-nav { display: flex; align-items: center; gap: 30px; font-size: 17px; font-weight: 600; color: #f2f2f0; }
.eg-nav__link { color: #f2f2f0; display: inline-flex; align-items: center; gap: 6px; }
.eg-nav__link:hover { color: var(--green-light); }
.eg-nav-item { position: relative; display: flex; align-items: center; }
.eg-nav-menu { position: absolute; top: 100%; left: 0; padding-top: 16px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 60; }
.eg-nav-item:hover .eg-nav-menu, .eg-nav-item:focus-within .eg-nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.eg-nav-menu__panel { min-width: 250px; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 46px -26px rgba(15,59,43,0.42); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.eg-nav-menu__link { display: block; padding: 11px 14px; border-radius: 8px; color: var(--menu-ink); font-size: 16px; font-weight: 500; white-space: nowrap; }
.eg-nav-menu__link:hover { background: #f2f6f2; color: var(--green); }

/* Beaver Themer header (build addition): Themer wraps the header layout in
   <header data-type="header"> + BB row/column/module boxes. Those wrappers
   would trap .eg-header's position:sticky in a natural-height box, so on the
   front end they become display:contents — the topbar/header/mobile-menu then
   sit directly in the page flow, identical to the coded chrome. Skipped while
   editing in the Builder (body.fl-builder-edit needs real boxes to select). */
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"],
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-row,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-row-content-wrap,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-row-content,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-col-group,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-col,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-col-content,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-module,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .fl-module-content { display: contents; }

/* Composed Beaver Themer FOOTER: the layout's rows carry the .eg-footer class
   so the existing footer content styles (h4/ul/blurb/social/legal…) apply to
   the editable modules; these rules map the BB wrappers onto the coded
   footer's container/grid metrics. */
.fl-row.eg-footer .fl-row-content { max-width: var(--maxw); margin: 0 auto; }
.fl-row.eg-footer-row--main .fl-row-content-wrap { padding: 72px 32px 0; }
.fl-row.eg-footer-row--main .fl-col-group { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
/* BB's clearfix ::before/::after become grid/flex ITEMS inside display:grid|flex
   containers — an invisible first cell that shifts every column. Kill them. */
.fl-row.eg-footer-row--main .fl-col-group::before,
.fl-row.eg-footer-row--main .fl-col-group::after { display: none; content: none; }
.fl-row.eg-footer .fl-col { width: auto; min-width: 0; }
.fl-row.eg-footer .fl-col-small { max-width: none; } /* BB caps "small" columns at 400px — irrelevant inside our grid */
.fl-row.eg-footer-row--legal .fl-row-content-wrap { padding: 0 32px 36px; }
.fl-row.eg-footer .fl-photo { text-align: left; }
.fl-row.eg-footer .fl-photo img { height: 35px; width: auto; }
@media (max-width: 1080px) { .fl-row.eg-footer-row--main .fl-col-group { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .fl-row.eg-footer-row--main .fl-col-group { grid-template-columns: 1fr; } }

/* Desktop header stays on ONE line (build addition): above the burger
   breakpoint the row must never wrap the CTA under the logo, so nowrap +
   fluid gaps/logo let it compress between 1081px and ~1300px viewports. */
@media (min-width: 1081px) {
  .eg-header__in { flex-wrap: nowrap; gap: 12px clamp(14px, 1.9vw, 24px); padding: 14px clamp(20px, 2.6vw, 32px); }
  .eg-logo__full { height: clamp(35px, 3.47vw, 43px); }
  .eg-nav { gap: clamp(12px, 1.7vw, 30px); }
  .eg-nav__link { white-space: nowrap; }
  .btn--nav { white-space: nowrap; padding: 14px clamp(16px, 1.9vw, 24px); }
}

/* Mega dropdown (desktop): a saved Beaver Builder row rendered full-width
   under the sticky header. The ::before strip bridges the hover gap between
   the nav link and the panel. Content styles cover the seeded rich-text
   columns (.eg-mega__*). */
.eg-nav-item--mega { position: static; }
.eg-nav-mega { position: absolute; left: 0; right: 0; top: 100%; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 60; }
.eg-nav-mega::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.eg-nav-item--mega:hover .eg-nav-mega, .eg-nav-item--mega:focus-within .eg-nav-mega { opacity: 1; visibility: visible; transform: none; }
.eg-nav-mega__panel { max-width: var(--maxw); margin: 0 auto; background: #ffffff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 30px 60px -30px rgba(15, 59, 43, 0.45); padding: 22px 26px; }
/* The header-wrapper display:contents rules above also match the saved row
   INSIDE the mega panel and would stack its columns vertically — restore real
   boxes here (same selector chain + .eg-nav-mega so specificity wins), with
   the column group as a flex row so the panel stays wide and shallow. */
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-row,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-row-content-wrap,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-row-content,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-col,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-col-content,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-module,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-module-content { display: block; }
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-col-group { display: flex; gap: 26px; align-items: stretch; }
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-col-group::before,
body:not(.fl-builder-edit) header.fl-builder-content[data-type="header"] .eg-nav-mega .fl-col-group::after { display: none; content: none; }
.eg-nav-mega__panel .fl-row-content-wrap { padding: 0; }
.eg-nav-mega__panel .fl-col { min-width: 0; }
.eg-mega__head { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.eg-nav-mega__panel ul.eg-mega__list { list-style: none; margin: 0; padding: 0; }
.eg-mega__list a { display: block; padding: 5px 10px; margin-left: -10px; border-radius: 7px; color: var(--menu-ink); font-size: 15px; font-weight: 500; white-space: nowrap; }
.eg-mega__list a:hover { background: #f2f6f2; color: var(--green); }
.eg-mega__all { margin: 10px 0 0; }
.eg-mega__all a { font-weight: 700; color: var(--green); font-size: 14.5px; }
.eg-mega__card { display: block; position: relative; border-radius: 12px; overflow: hidden; height: 100%; min-height: 170px; }
.eg-mega__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eg-mega__card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(180deg, rgba(10, 26, 19, 0), rgba(10, 26, 19, 0.82)); color: #ffffff; font-size: 14.5px; font-weight: 700; }
.eg-mega__card:hover span { color: var(--green-pale); }

/* ---------- Mobile menu (build addition; driven by interactions.js) ---------- */
#burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
#burger span { display: block; width: 24px; height: 2px; background: #f2f2f0; margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
#mobileMenu { position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw); background: #ffffff; z-index: 80; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; padding: 26px 24px 40px; display: flex; flex-direction: column; gap: 4px; }
#mobileMenu.open { transform: none; box-shadow: -24px 0 60px -30px rgba(0,0,0,0.4); }
#menuBackdrop { position: fixed; inset: 0; background: rgba(10,10,10,0.5); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 75; }
#menuBackdrop.open { opacity: 1; pointer-events: auto; }
.m-head { display: flex; align-items: center; background: #000; margin: -26px -24px 18px; padding: 16px 24px; }
.m-head__mark { height: 44px; width: auto; }
.m-close { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.m-link { display: block; padding: 13px 10px; font-size: 18px; font-weight: 600; color: var(--ink); border-radius: 8px; }
.m-link:hover { background: #f2f6f2; color: var(--green); }
.m-collapse { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; padding: 13px 10px; font-family: inherit; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 8px; }
.m-collapse svg { transition: transform .25s ease; }
.m-collapse[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-collapse-body { display: none; flex-direction: column; padding-left: 12px; }
.m-collapse-body.open { display: flex; }
.m-collapse-body a { display: block; padding: 10px 10px; font-size: 16.5px; font-weight: 500; color: var(--menu-ink); border-radius: 8px; }
.m-collapse-body a:hover { background: #f2f6f2; color: var(--green); }
.m-cta { margin-top: 14px; justify-content: center; }
.m-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.m-meta a { font-weight: 600; }

/* ---------- Shared section typography ---------- */
.eg-h2 { font-size: 52px; line-height: 1.08; font-weight: 700; }
.eg-sub { font-size: 20px; color: var(--soft); line-height: 1.65; }
.lead { font-size: 20px; line-height: 1.65; color: var(--soft); }

/* ---------- Hero ---------- */
.eg-hero__grid { max-width: var(--maxw); margin: 0 auto; padding: 72px 32px 40px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.eg-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 22px; }
.eg-hero__h1 { font-size: 70px; line-height: 1.02; font-weight: 700; margin-bottom: 26px; }
.eg-hero__h1 .eg-accent { color: var(--green); }
.eg-hero__sub { max-width: 560px; margin-bottom: 34px; }
.eg-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.eg-hero__media { position: relative; }
.eg-hero__frame { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(15,59,43,0.45); aspect-ratio: 4/5; }
.eg-zoom { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.eg-hero__frame:hover .eg-zoom, .eg-photo:hover .eg-zoom { transform: scale(1.045); }
.eg-hero__card { position: absolute; left: -22px; bottom: 34px; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; box-shadow: 0 18px 40px -20px rgba(15,59,43,0.4); max-width: 270px; }
.eg-hero__card-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.eg-hero__card-text { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ---------- Trust bar ---------- */
.eg-stats { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eg-stats__row { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.eg-stats__cell { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.eg-stats__cell:last-child { border-right: 0; }
.eg-stats__num { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--green-deep); line-height: 1; }
.eg-stats__num--sm { font-size: 22px; line-height: 1.15; padding-top: 5px; }
.eg-stats__label { font-size: 16px; color: var(--muted); margin-top: 8px; }
.eg-stats__label--sm { font-size: 15px; }
.eg-stars { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--gold); }

/* ---------- Intro ---------- */
.eg-intro { max-width: 960px; margin: 0 auto; padding: 88px 32px; text-align: center; }
.eg-intro .eg-h2 { margin-bottom: 28px; }
.eg-intro__text { font-size: 21px; line-height: 1.7; color: var(--soft); }

/* ---------- Image band + placeholders ---------- */
.eg-band { max-width: var(--maxw); margin: 0 auto; padding: 4px 32px 44px; }
.eg-band__fig { margin: 0; }
.eg-band__img { display: block; border-radius: 18px; width: 100%; aspect-ratio: 16/6; object-fit: cover; }
.eg-band__img--standard { aspect-ratio: 16/9; }
.eg-band__img--photo { aspect-ratio: 3/2; }
.eg-band__cap { margin: 16px auto 0; text-align: center; font-size: 15.5px; color: var(--muted); }
.eg-ph { border: 1.5px dashed #c2cdc2; border-radius: 18px; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px; }
.eg-ph--band { aspect-ratio: 16/6; }
.eg-ph--map { border-radius: 16px; background: #ffffff; aspect-ratio: 5/4; gap: 12px; padding: 30px; }
.eg-ph__title { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.eg-ph--map .eg-ph__title { font-size: 20px; }
.eg-ph__text { max-width: 660px; font-size: 16px; color: var(--muted); line-height: 1.55; }
.eg-ph--map .eg-ph__text { max-width: 340px; font-size: 15.5px; }
.eg-map__img { border-radius: 16px; width: 100%; aspect-ratio: 5/4; object-fit: cover; }

/* ---------- Sections shared shell ---------- */
.eg-section__in { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px; }
.eg-section__head { max-width: 820px; margin-bottom: 52px; }
.eg-section__head .eg-h2 { margin-bottom: 20px; }
.eg-section__head .eg-eyebrow { margin-bottom: 16px; }

/* ---------- Services ---------- */
.eg-services { background: var(--cream); }
.eg-services__set + .eg-services__set { margin-top: 58px; }
.eg-services__group { font-size: 32px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid #d9d5c8; }
.eg-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* Homepage services: two cards per row (client request). */
/* 2-across service cards (homepage + /services/ hub); min-width guard keeps the
   phone breakpoint's single-column stack in charge below 761px. */
@media (min-width: 761px) {
  .eg-home .eg-services .eg-grid-3,
  .page-id-134 .eg-services .eg-grid-3 { grid-template-columns: repeat(2, 1fr); }
  /* Done For You lander: four solution cards read as 2×2, not 3+1. */
  .page-id-249 .eg-reasons .eg-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
.eg-card { position: relative; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.eg-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -28px rgba(15,59,43,0.4); border-color: #c9d6cd; }
.eg-card__badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); border: 1px solid #b8d9c3; background: #eef7f1; padding: 5px 11px; border-radius: 6px; }
.eg-card__title { font-size: 25px; margin: 22px 0 12px; }
.eg-card__text { font-size: 17.5px; color: var(--slate); line-height: 1.6; flex: 1; }
.eg-card__link { margin-top: 22px; font-weight: 600; font-size: 17px; color: var(--green); display: inline-flex; align-items: center; gap: 8px; }

/* Feature cards (eg-reasons): no icon/number, so the title sits at the card top. */
.eg-reasons .eg-card__title { margin-top: 0; }

/* ---------- Founders / team (About) ---------- */
.eg-founders__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.eg-founder-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 36px 34px; transition: transform .3s ease, box-shadow .3s ease; }
.eg-founder-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -26px rgba(15,59,43,0.35); }
.eg-founder-card__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.eg-monogram { width: 84px; height: 84px; flex-shrink: 0; border-radius: 12px; background: var(--green-deep); color: #ffffff; display: grid; place-items: center; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: 0.03em; }
.eg-founder-card__photo { width: 84px; height: 84px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.eg-founder-card__name { font-size: 26px; line-height: 1.15; }
.eg-founder-card__role { color: var(--green); font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; line-height: 1.35; }
.eg-founder-card__bio { font-size: 17px; color: var(--slate); line-height: 1.65; }

/* ---------- Numbered reasons (About) ---------- */
.eg-reasons { background: var(--cream); }

/* ---------- Offices / locations (Contact) ---------- */
.eg-locations__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.eg-location-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 34px 32px; transition: transform .3s ease, box-shadow .3s ease; }
.eg-location-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -26px rgba(15,59,43,0.35); }
.eg-location-card__pin { margin-bottom: 16px; }
.eg-location-card__name { font-size: 24px; margin-bottom: 10px; }
.eg-location-card__addr { font-size: 17px; color: var(--slate); line-height: 1.6; }
.eg-location-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 18px; }
.eg-location-card__phone { font-weight: 700; color: var(--ink); font-size: 17px; }
.eg-location-card__phone:hover { color: var(--green); }
.eg-location-card__link { font-weight: 600; font-size: 16px; color: var(--green); display: inline-flex; align-items: center; gap: 7px; }

/* Centered-eyebrow variant (founders head) */
.eg-eyebrow--center { margin-bottom: 16px; }

/* ---------- Client stories ---------- */
.eg-stories__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.eg-stories__head .eg-h2 { margin-bottom: 16px; }
.eg-quote { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.eg-quote:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -26px rgba(15,59,43,0.35); }
.eg-quote .eg-stars { justify-content: flex-start; gap: 3px; margin-bottom: 18px; }
.eg-quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: var(--menu-ink); flex: 1; }
.eg-quote figcaption { margin-top: 22px; font-weight: 700; color: var(--ink); font-size: 17px; }
.eg-quote__meta { display: block; font-weight: 500; color: var(--muted); font-size: 15px; margin-top: 3px; }
.eg-stories__more { text-align: center; margin-top: 44px; }

/* ---------- Difference (dark green) ---------- */
.eg-difference { background: var(--green-deep); color: #ffffff; }
.eg-difference__grid { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.eg-photo { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); aspect-ratio: 4/5; }
.eg-difference .eg-h2 { color: #ffffff; margin-bottom: 20px; }
.eg-difference .eg-eyebrow { color: var(--green-pale); margin-bottom: 16px; }
.eg-accent-pale { color: var(--green-pale); }
.eg-difference__sub { font-size: 20px; line-height: 1.65; color: rgba(255,255,255,0.82); margin-bottom: 40px; max-width: 640px; }
.eg-difference__items { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.eg-difference__items h3 { font-size: 21px; color: #ffffff; margin-bottom: 10px; }
.eg-difference__items p { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.6; }

/* ---------- Process ---------- */
.eg-process__head { max-width: 820px; margin-bottom: 56px; }
.eg-process__head .eg-h2 { margin-bottom: 20px; }
.eg-process__head .eg-eyebrow { margin-bottom: 16px; }
.eg-process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.eg-process__steps li { border-top: 3px solid var(--green); padding-top: 24px; }
.eg-step__kicker { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green); margin-bottom: 14px; }
.eg-process__steps h3 { font-size: 23px; margin-bottom: 12px; }
.eg-process__steps p { font-size: 17px; color: var(--slate); line-height: 1.6; }

/* ---------- Areas ---------- */
.eg-areas { background: var(--cream); }
.eg-areas__top { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; margin-bottom: 52px; }
.eg-areas__top .eg-h2 { margin-bottom: 20px; }
.eg-areas__top .eg-eyebrow { margin-bottom: 16px; }
.eg-areas__tiles-h { font-size: 32px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid #d9d5c8; }
.eg-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.eg-tile { background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.eg-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 42px -28px rgba(15,59,43,0.38); border-color: #c9d6cd; }
.eg-tile h3, .eg-tile h4 { font-size: 21px; margin-bottom: 12px; }
.eg-tile p { font-size: 16.5px; color: var(--slate); line-height: 1.6; }
.eg-areas__note { font-size: 18px; color: var(--soft); margin-top: 32px; }
.eg-areas__note a { color: var(--green); font-weight: 600; }

/* ---------- Storm CTA band ---------- */
.eg-storm { background: var(--forest); color: #ffffff; }
/* Page-hero with an uploaded background photo (eg-hero module "Background"
   field): image under a dark overlay, content above it. */
.eg-page-hero--img { position: relative; background-size: cover; background-position: center; }
.eg-page-hero--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 19, 0.86), rgba(10, 26, 19, 0.72)); }
.eg-page-hero--img .eg-storm__in { position: relative; z-index: 1; }
.eg-storm__in { max-width: 1000px; margin: 0 auto; padding: 84px 32px; text-align: center; }
.eg-storm__eyebrow { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; color: var(--green-pale); margin-bottom: 18px; }
.eg-storm__h2 { font-size: 50px; line-height: 1.08; font-weight: 700; color: #ffffff; margin-bottom: 22px; }
.eg-storm__text { font-size: 20px; line-height: 1.65; color: rgba(255,255,255,0.82); max-width: 720px; margin: 0 auto 36px; }
.eg-storm__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- FAQ ---------- */
.eg-faq__in { max-width: 900px; margin: 0 auto; padding: 96px 32px; }
.eg-faq__head { text-align: center; margin-bottom: 52px; }
.eg-faq__list { display: flex; flex-direction: column; gap: 14px; }
.eg-faq__list details { border: 1px solid var(--line); border-radius: 12px; background: var(--cream-2); padding: 0 26px; }
.eg-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.eg-faq__list summary svg { flex-shrink: 0; }
.eg-faq__list details p { padding: 0 0 26px; font-size: 18px; color: var(--slate); line-height: 1.65; }

/* ---------- Contact ---------- */
.eg-contact { background: var(--cream); }

/* ---------- Program tiers (eg-tiers module; Concierge page) ---------- */
.eg-tiers { background: var(--cream); }
.eg-tiers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.eg-tier { background: #ffffff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 36px; display: flex; flex-direction: column; }
.eg-tier__name { font-size: 30px; margin-bottom: 4px; }
.eg-tier__sub { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eg-tier__desc { font-size: 17px; color: var(--slate); line-height: 1.65; margin-bottom: 24px; }
.eg-tier__features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.eg-tier__features li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--body-ink); line-height: 1.5; }
.eg-tier__features svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }
.eg-tier__btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .eg-tiers__grid { grid-template-columns: 1fr; } }

/* ---------- Install gallery (eg-gallery module) ---------- */
.eg-gallery { background: #ffffff; }
.eg-gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.eg-gallery__chip { border: 1.5px solid var(--line-2); background: #ffffff; color: var(--body-ink); font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .15s ease; }
.eg-gallery__chip:hover { border-color: var(--green); color: var(--green); }
.eg-gallery__chip.is-active { background: var(--green); border-color: var(--green); color: #ffffff; }
.eg-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eg-gallery__card { margin: 0; }
.eg-gallery__media { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3; }
.eg-gallery__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eg-gallery__play { position: absolute; inset: 0; display: grid; place-items: center; }
.eg-gallery__card figcaption { padding: 10px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.eg-gallery__card figcaption strong { font-size: 16px; color: var(--body-ink); }
.eg-gallery__card figcaption span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 1000px) { .eg-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .eg-gallery__grid { grid-template-columns: 1fr; } }
button.eg-gallery__media { border: 0; padding: 0; width: 100%; cursor: pointer; }
.eg-gallery__media { cursor: pointer; }

/* Gallery lightbox */
.eg-lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.eg-lightbox[hidden] { display: none; } /* author display:grid would otherwise override the hidden attribute */
.eg-lightbox__backdrop { position: absolute; inset: 0; background: rgba(6, 15, 11, 0.93); }
.eg-lightbox__stage { position: relative; margin: 0; max-width: min(1100px, 92vw); width: 100%; z-index: 1; }
.eg-lightbox__media img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 12px; }
.eg-lightbox__media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000000; }
.eg-lightbox__caption { text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 15px; margin-top: 14px; }
.eg-lightbox__close, .eg-lightbox__nav { position: absolute; z-index: 2; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; border-radius: 999px; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.eg-lightbox__close:hover, .eg-lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.eg-lightbox__close { top: 22px; right: 26px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.eg-lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.eg-lightbox__nav--prev { left: 22px; }
.eg-lightbox__nav--next { right: 22px; }
@media (max-width: 760px) { .eg-lightbox__nav { width: 40px; height: 40px; } .eg-lightbox__nav--prev { left: 10px; } .eg-lightbox__nav--next { right: 10px; } }
.eg-contact__grid { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.eg-contact__grid .eg-h2 { margin-bottom: 22px; }
.eg-contact__sub { font-size: 20px; line-height: 1.65; color: var(--soft); margin-bottom: 40px; max-width: 520px; }
.eg-contact__list { display: flex; flex-direction: column; gap: 24px; }
.eg-contact__item { display: flex; align-items: flex-start; gap: 16px; }
.eg-contact__item svg { margin-top: 3px; flex-shrink: 0; }
.eg-contact__label { font-size: 15px; color: var(--muted); }
.eg-contact__value, .eg-contact__item a { font-size: 20px; font-weight: 700; color: var(--ink); }
.eg-contact__hours { font-size: 19px; font-weight: 600; color: var(--ink); }
.eg-contact__hours span { display: block; font-weight: 500; color: var(--soft); font-size: 17px; }

/* ---------- Form card (wraps Formidable) ---------- */
.eg-form { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 38px 34px; box-shadow: 0 24px 50px -34px rgba(15,59,43,0.35); }
.eg-form__title { font-size: 26px; margin-bottom: 8px; }
.eg-form__sub { font-size: 16px; color: var(--muted); margin-bottom: 26px; }

/* Formidable → design field styling (scoped) */
.eg-form__hubspot iframe { width: 100%; border: 0; }
.eg-form__hubspot .hs-form-frame { width: 100%; }
.eg-form .frm_forms { margin: 0; }
.eg-form .frm_form_fields fieldset { border: 0; margin: 0; padding: 0; }
.eg-form .frm_form_field { margin-bottom: 18px; }
.eg-form .frm_form_field.frm_half { margin-bottom: 18px; }
.eg-form .frm_primary_label { display: block; font-size: 15px; font-weight: 600; color: var(--menu-ink); margin-bottom: 7px; }
.eg-form .frm_required { color: var(--green); }
.eg-form input[type="text"],
.eg-form input[type="email"],
.eg-form input[type="tel"],
.eg-form select,
.eg-form textarea { width: 100%; font-family: inherit; font-size: 17px; padding: 13px 14px; border: 1.5px solid #d5ddd6; border-radius: 8px; background: #fff; color: var(--ink); }
.eg-form input:focus, .eg-form select:focus, .eg-form textarea:focus { outline: 3px solid #2f8f5b; outline-offset: 1px; }
.eg-form textarea { resize: vertical; min-height: 96px; }
.eg-form .frm_submit { margin-top: 4px; }
/* Doubled-up selector out-specifies Formidable's generated .with_frm_style rules
   so the submit renders as the standard site button (.btn--primary look + arrow). */
.eg-form .with_frm_style .frm_submit button.frm_button_submit,
.eg-form .frm_submit button.frm_button_submit {
  display: inline-flex; align-items: center; gap: 10px; width: auto;
  background: var(--green); color: #ffffff; font-family: inherit;
  font-weight: 600; font-size: 18px; padding: 17px 30px;
  border: none; border-radius: 9px; cursor: pointer; transition: background .2s ease;
}
.eg-form .with_frm_style .frm_submit button.frm_button_submit:hover,
.eg-form .frm_submit button.frm_button_submit:hover { background: var(--green-deep); }
.eg-form .frm_submit button.frm_button_submit::after {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.eg-form .frm_error_style, .eg-form .frm_message { border-radius: 8px; font-size: 16px; }
.eg-form .frm_error { font-size: 14.5px; color: #b3402a; margin-top: 5px; }

/* ---------- Footer ---------- */
.eg-footer { background: #0a0a0a; color: rgba(255,255,255,0.72); }
.eg-footer__in { max-width: var(--maxw); margin: 0 auto; padding: 72px 32px 36px; }
.eg-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.eg-footer__logo { height: 35px; width: auto; } /* cropped file; ≈ old 44px visible size */
.eg-footer__blurb { font-size: 17px; line-height: 1.6; margin-top: 20px; max-width: 300px; }
.eg-footer__phone { display: inline-block; margin-top: 20px; font-size: 20px; font-weight: 700; color: #ffffff; }
.eg-social { display: flex; gap: 12px; margin-top: 22px; }
.eg-social__link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.72); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.eg-social__link:hover { color: #ffffff; border-color: var(--green-light); background: rgba(255,255,255,0.06); }
.eg-footer h4 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: #ffffff; margin-bottom: 18px; }
.eg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 16px; }
.eg-footer ul a { color: #ffffff; }
.eg-footer ul a:hover { color: var(--green-light); }
.eg-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.eg-footer__legal a:hover { color: #ffffff; }
.eg-footer__hq { margin-top: 22px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); }
.eg-footer__legal { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,0.5); }

/* Privacy policy (classic-content page on the BB canvas): readable column. */
body.acb-bb-page.page-id-3 #content.site-content { max-width: 860px; margin: 0 auto; padding: 72px 32px 96px; }
body.acb-bb-page.page-id-3 #content h1 { font-size: 40px; margin-bottom: 24px; }
body.acb-bb-page.page-id-3 #content h2 { font-size: 26px; margin: 36px 0 14px; }
body.acb-bb-page.page-id-3 #content h3 { font-size: 21px; margin: 28px 0 12px; }
body.acb-bb-page.page-id-3 #content p, body.acb-bb-page.page-id-3 #content li { font-size: 17.5px; line-height: 1.7; color: var(--slate); margin-bottom: 14px; }
body.acb-bb-page.page-id-3 #content ol, body.acb-bb-page.page-id-3 #content ul { padding-left: 24px; margin-bottom: 18px; }

/* ---------- Chrome / Beaver Builder canvas pages ----------
   functions.php adds body.acb-chrome (shared _nav/_footer on plain pages) and
   body.acb-bb-page (the full-width Beaver Builder Page template). Unconstrain
   the parent theme's content container so BB rows render edge to edge. */
body.acb-bb-page #content.site-content,
body.acb-blog #content.site-content { max-width: none; width: 100%; margin: 0; padding: 0; }
body.acb-chrome { margin: 0; }

/* ============================================================
   BLOG — archive listing + single post (Emerald Green styling)
   ============================================================ */

/* ---- Archive / posts index ---- */
.eg-blog { padding-bottom: 40px; }
.eg-archive__head { padding-top: 84px; padding-bottom: 8px; text-align: center; max-width: 820px; }
.eg-archive__head .eg-h2 { margin: 6px 0 16px; }
.eg-archive__head .eg-sub { margin: 0 auto; max-width: 640px; }
.eg-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 44px; padding-bottom: 24px; }
.eg-postcard { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.eg-postcard:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -28px rgba(15,59,43,0.4); border-color: #c9d6cd; }
.eg-postcard__media { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--cream); }
.eg-postcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.eg-postcard:hover .eg-postcard__img { transform: scale(1.045); }
.eg-postcard__img--ph { display: grid; place-items: center; font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--green); background: var(--cream); }
.eg-postcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.eg-postcard__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green); background: #eef7f1; border: 1px solid #b8d9c3; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.eg-postcard__title { font-size: 23px; line-height: 1.2; margin-bottom: 12px; }
.eg-postcard__title a { color: var(--ink); }
.eg-postcard__title a:hover { color: var(--green); }
.eg-postcard__excerpt { font-size: 16.5px; color: var(--slate); line-height: 1.6; margin-bottom: 18px; }
.eg-postcard__meta { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); margin-top: auto; }
.eg-postcard__more { margin-top: 16px; font-weight: 600; font-size: 16px; color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.eg-dot { color: var(--faint); }
.eg-pagination { padding: 24px 32px 20px; }
.eg-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.eg-pagination a, .eg-pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; color: var(--ink); font-weight: 600; }
.eg-pagination a:hover { border-color: var(--green); color: var(--green); }
.eg-pagination .current { background: var(--green); border-color: var(--green); color: #ffffff; }
.eg-blog__empty { padding: 60px 32px 80px; text-align: center; color: var(--muted); }

/* ---- Single post (left-aligned hero + two-column body w/ sticky CTA) ---- */
/* Post hero — full-bleed dark banner, left-aligned to the site container.
   Featured image (inline background-image) sits under a dark overlay so the
   white text always reads; no image → the solid gradient shows instead. */
.eg-post__hero { position: relative; padding: 104px 0 88px; background: linear-gradient(135deg, var(--green-deep), var(--forest)); background-size: cover; background-position: center; }
.eg-post__hero--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 19, 0.88) 0%, rgba(10, 26, 19, 0.68) 55%, rgba(10, 26, 19, 0.5) 100%); }
.eg-post__hero-in { position: relative; z-index: 1; }
.eg-post__cat { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green-pale); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.32); padding: 5px 12px; border-radius: 6px; margin-bottom: 22px; }
.eg-post__cat:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.eg-post__title { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; font-weight: 700; color: #ffffff; max-width: 900px; }
.eg-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: 15.5px; color: rgba(255, 255, 255, 0.78); }
/* (Retired: .eg-post__figure — the featured image now backs the hero.) */
.eg-post__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 52px; padding-top: 44px; }
.eg-post__main { min-width: 0; }
.eg-post__body { font-size: 18.5px; line-height: 1.75; color: var(--body-ink); }
.eg-post__body > * + * { margin-top: 24px; }
.eg-post__body h2 { font-size: 32px; line-height: 1.15; margin-top: 46px; }
.eg-post__body h3 { font-size: 24px; line-height: 1.22; margin-top: 36px; }
.eg-post__body h4 { font-size: 20px; margin-top: 30px; }
.eg-post__body p { margin-top: 22px; }
.eg-post__body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.eg-post__body a:hover { color: var(--green-deep); }
.eg-post__body ul, .eg-post__body ol { margin-top: 22px; padding-left: 24px; }
.eg-post__body li { margin-top: 10px; }
.eg-post__body li::marker { color: var(--green); }
.eg-post__body strong { color: var(--ink); }
.eg-post__body blockquote { margin: 32px 0; padding: 8px 0 8px 26px; border-left: 3px solid var(--green); font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--green-deep); }
.eg-post__body img { border-radius: 14px; }
.eg-post__body figure { margin: 32px 0; }
.eg-post__body table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 16.5px; }
.eg-post__body th, .eg-post__body td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.eg-post__body thead th { background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 700; }
.eg-post__body table + *, .eg-post__body { -webkit-overflow-scrolling: touch; }

/* Sticky CTA sidebar box */
.eg-post__side { min-width: 0; }
.eg-post-cta-box { position: sticky; top: 96px; background: var(--green-deep); color: #ffffff; border-radius: 18px; padding: 30px 28px; box-shadow: 0 24px 50px -30px rgba(15,59,43,0.5); }
.eg-post-cta-box__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-pale); margin-bottom: 12px; }
.eg-post-cta-box__heading { font-family: var(--serif); font-size: 27px; line-height: 1.14; font-weight: 600; color: #ffffff; margin-bottom: 12px; }
.eg-post-cta-box__body { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.82); margin-bottom: 22px; }
.eg-post-cta-box__btn { width: 100%; justify-content: center; }
.eg-post-cta-box__phone { display: block; text-align: center; margin-top: 14px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); }
.eg-post-cta-box__phone:hover { color: #ffffff; }

/* ---- Author bio box (centered below the article) ---- */
.eg-author { max-width: 900px; margin: 0 auto; padding: 44px 0 20px; }
.eg-author__card { display: flex; gap: 24px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 32px 34px; }
.eg-author__photo, .eg-author__monogram { width: 92px; height: 92px; flex-shrink: 0; border-radius: 14px; }
.eg-author__photo { object-fit: cover; }
.eg-author__monogram { display: grid; place-items: center; background: var(--green-deep); color: #ffffff; font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: 0.03em; }
.eg-author__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.eg-author__name { font-size: 25px; margin: 6px 0 0; }
.eg-author__role { color: var(--green); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; margin: 6px 0 0; }
.eg-author__bio { font-size: 17px; color: var(--slate); line-height: 1.65; margin: 14px 0 0; }

/* Single-post two-column → stacked (CTA drops below the article, unsticks) */
@media (max-width: 1024px) {
  .eg-post__layout { grid-template-columns: 1fr; gap: 36px; }
  .eg-post-cta-box { position: static; }
}

/* ---------- Video feature (eg-video module) ---------- */
.eg-video-feature { background: var(--cream, #faf8f2); }
.eg-video-feature__in { max-width: 980px; margin: 0 auto; padding: 96px 32px; text-align: center; }
.eg-video-feature__sub { max-width: 640px; margin: 0 auto 40px; font-size: 18.5px; line-height: 1.7; color: var(--slate); }
.eg-video-feature__frame { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(15, 59, 43, 0.45); line-height: 0; background: #0c1a13; }
.eg-video-feature__frame video { width: 100%; height: auto; display: block; }
.eg-video-feature__quote { max-width: 640px; margin: 36px auto 0; font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.45; color: var(--ink); }
/* In the Builder the native player must not swallow clicks — let them reach
   BB's module overlay so the section stays selectable/editable. */
.fl-builder-edit .eg-video-feature__frame video { pointer-events: none; }

/* ============================================================
   RESPONSIVE LAYER — build addition (design was desktop-only)
   ============================================================ */
@media (max-width: 1080px) {
  .eg-nav, .eg-header .btn--nav { display: none; }
  #burger { display: block; }
  .eg-hero__grid { grid-template-columns: 1fr; gap: 44px; padding: 52px 32px 36px; }
  .eg-hero__h1 { font-size: 54px; }
  .eg-hero__card { left: 14px; }
  .eg-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .eg-difference__grid { grid-template-columns: 1fr; gap: 44px; }
  .eg-areas__top { grid-template-columns: 1fr; gap: 36px; }
  .eg-process__steps { grid-template-columns: repeat(2, 1fr); }
  .eg-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .eg-contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .eg-founders__grid { grid-template-columns: 1fr; }
  .eg-locations__grid { grid-template-columns: 1fr; }
  .eg-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .eg-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .eg-logo__full { display: none; }
  .eg-logo__mark { display: block; height: 46px; width: auto; }
  /* Topbar on phones: hours hidden, call left, Pay Now right, one row. */
  .eg-topbar__in { justify-content: space-between; flex-wrap: nowrap; gap: 10px; padding: 9px 20px; }
  .eg-topbar__item--hours { display: none; }
  .eg-h2 { font-size: 36px; }
  .eg-hero__h1 { font-size: 42px; }
  .eg-hero__grid { padding: 44px 24px 30px; }
  .eg-eyebrow { margin-bottom: 16px; }
  .eg-intro { padding: 64px 24px; }
  .eg-intro__text { font-size: 18.5px; }
  .eg-section__in, .eg-difference__grid, .eg-contact__grid, .eg-faq__in { padding: 64px 24px; }
  .eg-storm__in { padding: 60px 24px; }
  .eg-storm__h2 { font-size: 34px; }
  .eg-grid-3, .eg-process__steps, .eg-grid-4 { grid-template-columns: 1fr; }
  .eg-services__group, .eg-areas__tiles-h { font-size: 26px; }
  .eg-video-feature__in { padding: 64px 24px; }
  .eg-video-feature__quote { font-size: 20px; }
  .eg-services__set + .eg-services__set { margin-top: 44px; }
  .eg-founder-card__head { gap: 16px; }
  .eg-blog__grid { grid-template-columns: 1fr; padding-top: 36px; }
  .eg-archive__head { padding-top: 60px; }
  .eg-post__hero { padding: 72px 0 60px; }
  .eg-post__body { font-size: 17.5px; padding-top: 36px; }
  .eg-post__body h2 { font-size: 27px; margin-top: 38px; }
  .eg-post__body h3 { font-size: 21px; }
  .eg-post__body blockquote { font-size: 21px; }
  .eg-post__body table { display: block; overflow-x: auto; white-space: nowrap; }
  .eg-post-cta { margin-top: 48px; }
  .eg-author { padding-top: 44px; }
  .eg-author__card { flex-direction: column; gap: 18px; padding: 26px 24px; }
  .eg-author__photo, .eg-author__monogram { width: 76px; height: 76px; }
  .eg-stats__row { grid-template-columns: 1fr 1fr; }
  .eg-stats__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .eg-stats__cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .eg-stats__cell:nth-child(3), .eg-stats__cell:nth-child(4) { border-bottom: 0; }
  .eg-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .eg-footer__legal { justify-content: center; text-align: center; }
  .eg-band { padding: 4px 24px 36px; }
  .eg-ph--band { aspect-ratio: auto; min-height: 220px; }
  .eg-form { padding: 30px 22px; }
  .eg-hero__frame { aspect-ratio: 4/4.4; }
  .eg-hero__card { position: static; margin-top: 14px; max-width: none; }
}
