/* BayView Automatic Gates. Hand-edited; build.py writes the HTML that uses it.
   Design language: the logo's navy (#263E57) and sandstone (#DEC3AF), bronze for actions,
   Fraunces serif headings that echo the wordmark, arch-topped image frames (the gate in the
   emblem) and a "picket" rule. Placeholders for images still to come carry .ph-only and
   are hidden on bayviewgates.com (html.is-prod) until the images are delivered. */

:root {
  --ink: #0D2033;
  --navy: #263E57;
  --navy-700: #1C324A;
  --navy-100: #E7ECF1;
  --sand-50: #FBF8F4;
  --sand-100: #F4EDE5;
  --sand-200: #EADCCD;
  --sand: #DEC3AF;
  --taupe: #7A5F55;
  --bronze: #9A5B34;
  --bronze-700: #7F4A29;
  --bronze-100: #F6E9DF;
  --sage: #56775A;
  --text: #1D2A36;
  --muted: #586674;
  --line: #E6DED5;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(13, 32, 51, .06), 0 8px 24px rgba(13, 32, 51, .08);
  --shadow-lg: 0 2px 6px rgba(13, 32, 51, .08), 0 22px 48px rgba(13, 32, 51, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bronze); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
section { padding: 46px 0; }
section.tight { padding: 34px 0; }
.soft { background: var(--sand-50); }
.lead { font-size: 1.15rem; color: var(--muted); }
.fine { font-size: .86rem; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; }
.fine svg { width: 16px; height: 16px; flex: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- eyebrow + picket motif */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 12px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 6px); opacity: .8; }
.picket-rule { height: 16px; background: repeating-linear-gradient(90deg, var(--sand) 0 3px, transparent 3px 15px); opacity: .35; -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--bronze); background: var(--bronze); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--bronze-700); border-color: var(--bronze-700); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; border-color: var(--sand); color: var(--sand); }
.btn-outline-light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--ink); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.text-link svg { width: 17px; height: 17px; transition: transform .15s; }
.text-link:hover svg, a:hover > .text-link svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--ink); color: #C9D3DD; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; }
.topbar-items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; gap: 7px; align-items: center; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--sand); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { flex: none; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-item > button { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font-weight: 600; font-size: .98rem; color: var(--text); text-decoration: none; cursor: pointer; }
.nav > a:hover, .nav-item > button:hover, .nav-item.open > button { color: var(--bronze); background: var(--sand-50); }
.nav > a[aria-current="page"], .nav-item.current > button { color: var(--bronze); }
.nav-item > button svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-item.open > button svg { transform: rotate(180deg); }
.nav-item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-40%, 6px); opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
.mega { width: min(1080px, calc(100vw - 40px)); padding: 26px 28px 0; }
.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-head { display: flex; gap: 8px; align-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--ink); text-decoration: none; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 2px solid var(--sand-200); line-height: 1.25; }
.mega-head svg { width: 20px; height: 20px; color: var(--bronze); flex: none; }
.mega-col a:not(.mega-head) { font-size: .9rem; color: var(--muted); text-decoration: none; padding: 5px 0; line-height: 1.35; }
.mega-col a:hover, .mega-col a[aria-current="page"] { color: var(--bronze); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 22px -28px 0; padding: 14px 28px; background: var(--sand-50); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); font-size: .92rem; color: var(--muted); }
.mega-foot > a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; }
.mega-foot svg { width: 16px; height: 16px; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.06rem; white-space: nowrap; }
.header-phone > svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--sand-100); color: var(--bronze); }
.header-phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mobile-call, .menu-toggle, .nav-mobile-cta { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.hero-bg video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.hero-bg video.is-playing { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 32, 51, .9) 0%, rgba(13, 32, 51, .72) 40%, rgba(13, 32, 51, .32) 72%, rgba(13, 32, 51, .15) 100%), linear-gradient(0deg, rgba(13, 32, 51, .5), transparent 35%); }
.hero-plain .hero-bg { background: radial-gradient(1200px 500px at 85% 20%, #2E4A66 0%, transparent 60%), linear-gradient(135deg, var(--ink), var(--navy-700)); }
.hero-plain .hero-bg::before { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: repeating-linear-gradient(90deg, rgba(222, 195, 175, .13) 0 4px, transparent 4px 22px); -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent); }
.hero-plain .hero-bg::after { display: none; }
.hero-emblem { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(560px, 44vw) !important; height: auto !important; opacity: .07; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: center; padding: 52px 0 60px; min-height: 600px; }
.hero.no-form > .wrap { grid-template-columns: minmax(0, 760px); min-height: 0; padding: 92px 0 96px; }
.hero.hero-short > .wrap { padding: 72px 0 76px; }
.hero.hero-home > .wrap { min-height: 640px; }
/* Home: lighter overlay so the gate photo reads; text side stays dark enough for white copy */
@media (min-width: 1021px) { .hero-home .hero-bg::after { background: linear-gradient(90deg, rgba(13, 32, 51, .9) 0%, rgba(13, 32, 51, .72) 38%, rgba(13, 32, 51, .18) 62%, rgba(13, 32, 51, .05) 100%), linear-gradient(0deg, rgba(13, 32, 51, .45), transparent 30%); } }
.hero h1 { color: #fff; margin-bottom: 18px; text-wrap: balance; }
.hero .eyebrow { color: var(--sand); }
.hero .lead { color: #DCE3EA; font-size: 1.2rem; max-width: 640px; }
.hero-points { display: grid; gap: 10px; margin: 26px 0 30px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 1.04rem; }
.hero-points svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--sand); color: var(--ink); stroke-width: 3; margin-top: 2px; }
.hero .btn-row { margin-top: 8px; }
.hero-video-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(13, 32, 51, .5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero-video-toggle svg { width: 16px; height: 16px; }
.hero-video-toggle .ic-play, .hero-video-toggle.paused .ic-pause { display: none; }
.hero-video-toggle.paused .ic-play { display: block; }
.rep-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: rgba(13, 32, 51, .72); color: #fff; }
.hero > .rep-tag { left: auto; right: 16px; bottom: 16px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; margin-bottom: 18px; color: #BCC7D2; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ---------------------------------------------------------------- quote card */
.quote-card { position: relative; background: #fff; color: var(--text); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 24px 24px 18px; border-top: 6px solid var(--bronze); }
.quote-card header { margin-bottom: 14px; }
.quote-card .card-title { font-size: 1.55rem; margin-bottom: 6px; }
.quote-card header p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 4px; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid #CFC6BC; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; }
.lead-form textarea { min-height: 64px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(38, 62, 87, .15); outline-offset: 0; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips legend { font-size: .84rem; font-weight: 700; margin-bottom: 7px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 6px 12px; border: 1.5px solid #CFC6BC; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: .12s; background: #fff; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--bronze); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.err { color: #A3261B; }
.form-status.ok { color: var(--sage); }
.preview-note { display: none; margin: 0; font-size: .8rem; color: var(--muted); }
html.is-preview .preview-note { display: block; }
.card-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 14px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.card-assure span { display: inline-flex; gap: 5px; align-items: center; }
.card-assure svg { width: 15px; height: 15px; color: var(--sage); stroke-width: 3; }
.card-open { display: none; }
.lead-embed.is-live form { display: none; }

/* ---------------------------------------------------------------- trust strip */
.trust-strip { background: var(--sand-100); border-bottom: 1px solid var(--sand-200); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 0; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.trust-item b { display: block; color: var(--ink); font-size: 1rem; }
.ti-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--bronze); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.ti-ic svg { width: 21px; height: 21px; }

/* ---------------------------------------------------------------- needs chooser */
.needs-band { padding-top: 64px; }
.needs-band .section-head { margin-bottom: 30px; }
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.need { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.need:hover { border-color: var(--bronze); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.need .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--sand); display: grid; place-items: center; }
.need .ic svg { width: 24px; height: 24px; }
.need b { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); line-height: 1.25; margin-bottom: 3px; }
.need > span:nth-child(2) > span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }
.need .go { width: 20px; height: 20px; color: var(--bronze); flex: none; margin-left: auto; }

/* ---------------------------------------------------------------- category + service cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; padding: 14px 14px 0; }
.cat-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-media img { transform: scale(1.04); }
.arch { border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 22% 22% var(--radius-sm) var(--radius-sm); overflow: hidden; }
.cat-body { padding: 20px 10px 24px; }
.cat-body h3 { font-size: 1.35rem; }
.cat-body h3 a { color: var(--ink); text-decoration: none; }
.cat-body h3 a:hover { color: var(--bronze); }
.cat-body p { color: var(--muted); font-size: .97rem; }
.cat-body ul { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-body li a { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--sand-100); font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.cat-body li a:hover { background: var(--navy); color: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.sc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-100); }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-plain { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--ink)); color: var(--sand); }
.sc-plain svg { width: 56px; height: 56px; stroke-width: 1.5; }
.sc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sc-body h3 { margin-bottom: 6px; }
.sc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.sc-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--taupe); margin-bottom: 6px; }
.group-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.group-head .ic { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--sand); display: grid; place-items: center; }
.group-head .ic svg { width: 28px; height: 28px; }
.group-head h2 { margin-bottom: 4px; }
.group-head h2 a { color: var(--ink); text-decoration: none; }
.group-head h2 a:hover { color: var(--bronze); }
.group-head p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- split / media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { color: #3A4855; }
.media { position: relative; margin: 0; cursor: zoom-in; }
.media-img { position: relative; display: block; }
.media-img .rep-tag { left: 14px; bottom: 14px; }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.media.arch { border-radius: 0; overflow: visible; }
.media.arch img { border-radius: 50% 50% var(--radius) var(--radius) / 24% 24% var(--radius) var(--radius); aspect-ratio: 5 / 5.2; }
.media figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.product-fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.product-fig img { max-height: 380px; width: auto; margin: 0 auto; }
.product-fig figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* ---------------------------------------------------------------- options + checklist */
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opt { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; transition: border-color .15s, box-shadow .15s; }
.opt:hover { border-color: var(--sand); box-shadow: var(--shadow); }
.opt-num { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--bronze); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--sand-100); width: 46px; }
.opt h3 { font-size: 1.15rem; margin-bottom: 6px; }
.opt p { margin: 0; color: var(--muted); font-size: .95rem; }
.check-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 44px 48px; border-radius: 22px; background: var(--navy); color: #DCE3EA; position: relative; overflow: hidden; }
.check-panel::after { content: ""; position: absolute; left: -90px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(222, 195, 175, .08); }
.check-panel h2 { color: #fff; }
.check-panel .eyebrow { color: var(--sand); }
.check-panel p { color: #C9D3DD; }
.check-list { display: grid; gap: 12px; }
.check-list.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.45; }
.check-list svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--sage); color: #fff; stroke-width: 3; margin-top: 1px; }
.check-panel .check-list li { color: #fff; font-weight: 500; }
.check-panel .check-list svg { background: var(--sand); color: var(--ink); }

/* ---------------------------------------------------------------- tiles / gallery */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand-100); aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; font-size: .84rem; font-weight: 600; color: #fff; background: linear-gradient(0deg, rgba(13, 32, 51, .85), transparent); opacity: 0; transform: translateY(6px); transition: .2s; }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile .rep-tag { top: 8px; bottom: auto; left: 8px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.gallery-filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.gallery-filters button:hover { border-color: var(--navy); }
.gallery-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-filters .count { font-size: .76rem; padding: 1px 7px; border-radius: 999px; background: var(--sand-100); color: var(--taupe); }
.gallery-filters button[aria-pressed="true"] .count { background: rgba(255, 255, 255, .18); color: #fff; }
.gallery-grid > [hidden], .gallery-grid > .is-more { display: none; }
.gallery-more { text-align: center; margin-top: 28px; }
.gallery-more p { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vid { margin: 0; }
.vid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--ink); }
.vid figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.more-wrap { display: none; text-align: center; margin-top: 22px; }
.work-sub { font-size: 1.2rem; margin: 40px 0 16px; }

/* ---------------------------------------------------------------- spotlight */
.spotlight { background: var(--ink); color: #DCE3EA; position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; background: repeating-linear-gradient(90deg, rgba(222, 195, 175, .25) 0 3px, transparent 3px 15px); }
.spot-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.spot-copy h2 { color: #fff; }
.spot-copy .eyebrow { color: var(--sand); }
.spot-copy .check-list li { color: #fff; }
.spot-copy .check-list svg { background: var(--sand); color: var(--ink); }
.spot-tiles { grid-template-columns: repeat(3, 1fr); }
.spot-tiles .tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---------------------------------------------------------------- placeholders (preview only, except infographic cards) */
.ph-tag { display: none; position: absolute; top: 10px; right: 10px; z-index: 3; font: 700 .7rem/1 var(--sans); letter-spacing: .04em; padding: 5px 8px; border-radius: 6px; background: #FFD43B; color: #3D2E00; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
html.is-preview .ph-tag { display: inline-block; }
.hero > .ph-tag.hero-ph { top: auto; bottom: 16px; right: 16px; }
html.is-prod .ph-only { display: none !important; }
.photo-ph { position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 3); border: 2px dashed #C9B7A6; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--sand-50) 0 12px, #fff 12px 24px); display: grid; place-items: center; text-align: center; padding: 18px; color: var(--taupe); }
.photo-ph div { display: grid; gap: 6px; justify-items: center; max-width: 320px; }
.photo-ph svg { width: 30px; height: 30px; }
.photo-ph b { color: var(--ink); font-size: .95rem; }
.photo-ph span { font-size: .8rem; line-height: 1.4; }
.tile.photo-ph { aspect-ratio: 1; cursor: default; padding: 12px; }
.tile.photo-ph span { display: none; }
.walkthrough .wt-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 36px; align-items: start; }
.compare-ph { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); border: 2px dashed #C9B7A6; background: linear-gradient(90deg, var(--sand-100) 50%, var(--navy-100) 50%); display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--taupe); padding: 20px; }
.compare-ph svg { width: 40px; height: 40px; }
.compare-ph b { color: var(--ink); }
.compare-ph span:not(.ph-tag) { font-size: .86rem; }
.wt-steps { display: grid; gap: 12px; counter-reset: s; }
.wt-steps li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; }
.wt-ph-thumb { flex: none; width: 76px; height: 56px; border-radius: 7px; border: 2px dashed #C9B7A6; display: grid; place-items: center; color: var(--taupe); }
.wt-ph-thumb svg { width: 20px; height: 20px; }
.wt-steps b { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--taupe); }
.wt-steps p { margin: 0; font-size: .95rem; line-height: 1.4; }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ba-ph { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.ba-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-frames span { aspect-ratio: 3 / 2; border: 2px dashed #C9B7A6; border-radius: 8px; display: grid; place-content: center; justify-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--taupe); text-transform: uppercase; letter-spacing: .08em; }
.ba-frames svg { width: 22px; height: 22px; }
.ba-ph figcaption { font-size: .88rem; color: var(--muted); padding: 10px 4px 2px; line-height: 1.45; }
.ba-ph figcaption b { display: block; color: var(--ink); font-size: .95rem; }

/* ---------------------------------------------------------------- infographic card */
.info-band { padding: 48px 0; background: linear-gradient(180deg, #fff, var(--sand-50)); }
.info-card { position: relative; margin: 0 auto; max-width: 1080px; border-radius: 22px; background: var(--navy); color: #DCE3EA; padding: 44px 48px 48px; box-shadow: var(--shadow-lg); overflow: hidden; }
.info-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 12px; background: repeating-linear-gradient(90deg, rgba(222, 195, 175, .35) 0 3px, transparent 3px 14px); }
.info-head { margin-bottom: 30px; max-width: 720px; }
.info-head .eyebrow { color: var(--sand); }
.info-head h2 { color: #fff; margin: 0; }
.info-card ol { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.info-card li { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 18px 16px; }
.info-card .num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); font-family: var(--serif); font-weight: 600; }
.info-card b { display: block; color: #fff; font-size: 1rem; line-height: 1.3; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: #C9D3DD; }

/* ---------------------------------------------------------------- why / brands / steps */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ic { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--sand-100); color: var(--bronze); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.brands { border-block: 1px solid var(--line); background: #fff; }
.brands-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.brand-list li { display: grid; text-align: center; padding: 10px 18px; border-radius: 12px; background: var(--sand-50); border: 1px solid var(--line); min-width: 130px; }
.brand-list b { font-family: var(--serif); font-size: 1.12rem; color: var(--navy); }
.brand-list span { font-size: .76rem; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 28px 22px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step .num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--sand); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
.steps:not(.five) .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -18px; width: 14px; height: 2px; background: var(--sand); }

/* ---------------------------------------------------------------- reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 22px; display: flex; flex-direction: column; }
.review .q-ic { width: 30px; height: 30px; color: var(--sand); fill: var(--sand-100); margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.04rem; line-height: 1.6; color: var(--text); flex: 1; }
.review figcaption { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .92rem; color: var(--navy); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sand); font-family: var(--serif); }

/* ---------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--bronze); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 18px; color: #3A4855; }
.faq .answer p { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.6rem; }
.faq-group h2 a { color: var(--ink); text-decoration: none; }

/* ---------------------------------------------------------------- related */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related a { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: .15s; }
.related a:hover { border-color: var(--bronze); box-shadow: var(--shadow); color: var(--text); }
.related .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--sand-100); color: var(--bronze); display: grid; place-items: center; }
.related .ic svg { width: 22px; height: 22px; }
.related b { display: block; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.related span span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }
.related .go { width: 18px; height: 18px; color: var(--bronze); flex: none; margin-left: auto; }

/* ---------------------------------------------------------------- cta band */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: 64px 0; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 32, 51, .95), rgba(38, 62, 87, .82)); }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #DCE3EA; font-size: 1.1rem; margin: 0; max-width: 640px; }

/* ---------------------------------------------------------------- about / area / contact */
.cred-card { background: var(--sand-50); border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-bottom: 20px; }
.cred-card .check-list { margin: 16px 0 22px; }
.county-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.county-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.county-list b { display: block; color: var(--ink); font-size: 1rem; }
.counties { columns: 3 280px; column-gap: 22px; }
.county { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; }
.county h2 { font-size: 1.3rem; padding-bottom: 10px; border-bottom: 2px solid var(--sand-100); }
.county ul { display: flex; flex-wrap: wrap; gap: 6px; }
.county li { font-size: .88rem; padding: 4px 10px; border-radius: 999px; background: var(--sand-50); border: 1px solid var(--line); }
.contact-hero { background: linear-gradient(180deg, var(--sand-50), #fff); padding-top: 40px; }
.contact-hero .breadcrumb ol { color: var(--muted); }
.contact-hero .breadcrumb a { color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 480px; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-list svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--sand-100); color: var(--bronze); }
.contact-list b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a, .contact-list span { font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #AEBBC8; font-size: .94rem; padding-bottom: 0; }
.site-footer a { color: #DCE3EA; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.foot-top { display: grid; grid-template-columns: 320px 1fr; gap: 56px; padding: 56px 0 36px; }
.foot-brand img { width: 240px; margin-bottom: 18px; }
.foot-phone { display: inline-flex; gap: 10px; align-items: center; font-family: var(--serif); font-size: 1.5rem; color: #fff !important; margin: 6px 0 14px; }
.foot-phone svg { width: 22px; height: 22px; color: var(--sand); }
.foot-contact { display: grid; gap: 8px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--sand); }
.foot-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 28px; }
.foot-services h4 { font-size: 1.02rem; margin-bottom: 10px; }
.foot-services h4 a { color: #fff; }
.foot-services ul { display: grid; gap: 5px; font-size: .88rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }

/* ---------------------------------------------------------------- mobile bar + lightbox */
.mobile-bar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 18, 29, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1400px; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; border-radius: 8px; }
.lightbox figcaption { color: #DCE3EA; margin-top: 12px; text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- reveal */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .header-phone span { display: none; }
  .nav > a, .nav-item > button { padding: 10px 9px; font-size: .95rem; }
}
@media (max-width: 1100px) {
  .hero > .wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .needs { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .steps.five { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .logo img { height: 46px; }
  .header-cta { display: none; }
  .mobile-call, .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
  .mobile-call { margin-left: auto; background: var(--bronze); border-color: var(--bronze); color: #fff; }
  .mobile-call svg, .menu-toggle svg { width: 22px; height: 22px; }
  .menu-toggle .close-ic, body.nav-open .menu-toggle .open-ic { display: none; }
  body.nav-open .menu-toggle .close-ic { display: block; }
  .site-header .wrap { gap: 10px; }
  /* backdrop-filter makes the header the containing block for the fixed menu (it shrank to the header's height) */
  .site-header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 120px; overflow-y: auto; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .25s, visibility .25s; margin: 0; }
  /* Closed menu is clipped in place, not moved off-screen: a translateX(100%) panel made phone pages twice as wide. */
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { clip-path: inset(0); visibility: visible; }
  .nav > a, .nav-item > button { width: 100%; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.08rem; }
  .dropdown { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; width: auto; padding: 8px 0 12px; }
  .nav-item.open .dropdown { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-foot { margin: 14px 0 0; border-radius: 10px; flex-direction: column; align-items: flex-start; padding: 12px 14px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 22px; }
  .hero > .wrap, .hero.hero-home > .wrap { grid-template-columns: 1fr; min-height: 0; padding: 56px 0 40px; gap: 30px; }
  .hero-form { max-width: 560px; }
  .split, .spot-grid, .contact-grid, .check-panel, .walkthrough .wt-grid { grid-template-columns: 1fr; gap: 36px; }
  .check-panel { padding: 34px 28px; }
  .cat-grid, .svc-grid, .opts, .features, .reviews, .vid-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step::after { display: none; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .info-card ol { grid-template-columns: 1fr 1fr; }
  .info-card li { flex-direction: row; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .foot-services { grid-template-columns: 1fr 1fr; }
  .map-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  section { padding: 30px 0; }
  section.tight { padding: 24px 0; }
  .section-head { margin-bottom: 26px; }
  .info-band { padding: 32px 0; }
  .cta-band { padding: 44px 0; }
  /* 44px tap targets */
  .cat-body li a { padding: 11px 14px; font-size: .9rem; }
  .text-link { min-height: 44px; }
  /* Hero: the photo shows as a band at the top, copy on solid navy below; the sticky bar carries Call / Quote */
  .hero:not(.hero-plain) { background: var(--ink); }
  .hero:not(.hero-plain) .hero-bg { bottom: auto; height: 300px; }
  .hero:not(.hero-plain) .hero-bg::after { background: linear-gradient(180deg, rgba(13, 32, 51, .15) 0%, rgba(13, 32, 51, .35) 45%, var(--ink) 100%); }
  .hero:not(.hero-plain) > .wrap, .hero.hero-home:not(.hero-plain) > .wrap { padding-top: 200px; }
  .hero.hero-short:not(.hero-plain) > .wrap, .hero.no-form:not(.hero-plain) > .wrap { padding-top: 170px; }
  .hero:not(.no-form) .hero-copy .btn-row { display: none; }
  .wrap { width: calc(100% - 32px); }
  .narrow { width: calc(100% - 32px); }
  .hero > .wrap, .hero.hero-home > .wrap { padding: 40px 0 32px; }
  .hero.no-form > .wrap, .hero.hero-short > .wrap { padding: 52px 0 40px; }
  .hero .lead { font-size: 1.06rem; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(13, 32, 51, .78), rgba(13, 32, 51, .9)); }
  .hero-points { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-form .quote-card.collapsible:not(.open) .lead-embed, .hero-form .quote-card.collapsible:not(.open) .card-assure { display: none; }
  .hero-form .quote-card.collapsible:not(.open) .card-open { display: flex; }
  .hero-form .quote-card.collapsible:not(.open) { padding-bottom: 22px; }
  .hero-form .quote-card .card-title { font-size: 1.3rem; }
  .lead-form { grid-template-columns: 1fr; }
  .cat-grid, .svc-grid, .opts, .features, .reviews, .needs, .related, .steps, .steps.five, .ba-grid, .vid-grid, .county-list, .foot-services { grid-template-columns: 1fr; }
  .check-list.two { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .spot-tiles .tile:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .trust-strip .wrap { gap: 14px; padding: 18px 0; }
  .trust-item { font-size: .82rem; }
  .ti-ic { width: 38px; height: 38px; }
  .info-card { padding: 32px 22px 36px; }
  .info-card ol { grid-template-columns: 1fr; }
  .check-panel { padding: 30px 22px; border-radius: 16px; }
  .media.arch img { aspect-ratio: 4 / 3; }
  [data-more]:not(.expanded) .more-item { display: none; }
  .more-wrap { display: block; }
  [data-more].expanded .more-wrap { display: none; }
  .tile figcaption { opacity: 1; transform: none; font-size: .76rem; padding: 22px 8px 7px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; inset: auto 0 0 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13, 32, 51, .08); }
  .mobile-bar .btn { min-height: 50px; padding: 10px 12px; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .cta-band { padding: 60px 0; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .logo img { height: 40px; }
  .trust-strip .wrap { grid-template-columns: 1fr; }
}

/* Our-work strip: real job photos, sideways scroll on phones */
.ws-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.ws-head .section-head { margin-bottom: 0; }
.ws-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, calc((100vw - 1220px) / 2)) 8px; scrollbar-width: thin; }
.ws-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; }
.ws-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ws-tile:hover img { transform: scale(1.04); }
.ws-tile span { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; font-size: .88rem; font-weight: 600; background: linear-gradient(0deg, rgba(13, 32, 51, .85), transparent); }
@media (max-width: 760px) { .ws-row { grid-auto-columns: 72%; } }
/* Brands inside the Why section */
.why-brands { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.why-brands .brands-label { margin-bottom: 16px; }
.reviews-more { justify-content: center; gap: 18px; margin-top: 28px; }
.topbar a { color: inherit; }
.county-pills { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.county-pills li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); }
/* Phones: service cards become compact rows (the hub page lists the sub-services); spotlight shows 3 photos */
@media (max-width: 760px) {
  .cat-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px; }
  .cat-media { flex: 0 0 104px; aspect-ratio: 1; }
  .cat-body { padding: 0 !important; }
  .cat-body h3 { font-size: 1.12rem; margin: 0 0 4px; }
  .cat-body p { font-size: .93rem; margin: 0; }
  .cat-body ul { display: none; }
  .spot-tiles .tile:nth-child(n+4) { display: none; }
}

/* ---------------------------------------------------------------- representative (generated) images
   A small "i" in the corner; hover, focus or tap shows what it means. Same idea as the attic sites. */
.gen-note { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: var(--ink); font: italic 700 13px/1 Georgia, serif;
  box-shadow: 0 1px 3px rgba(13, 32, 51, .25); cursor: help; }
.gen-pop { position: absolute; right: 0; bottom: 32px; width: max-content; max-width: 240px; padding: 8px 10px; border-radius: 8px;
  background: var(--ink); color: #fff; font: 400 .78rem/1.4 var(--sans, system-ui), sans-serif; font-style: normal; text-align: left;
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .15s, transform .15s; }
.gen-note:hover .gen-pop, .gen-note:focus .gen-pop, .gen-note:focus-within .gen-pop { opacity: 1; transform: none; }
.hero > .gen-note { right: 16px; bottom: 16px; }
.media-img .gen-note { right: 14px; bottom: 14px; }

.info-img { position: relative; margin: 6px 0 28px; border-radius: 14px; overflow: hidden; background: #FBF8F4; cursor: zoom-in; }
.info-img img { display: block; width: 100%; height: auto; }

.wt-real { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: s; }
.wt-real li { display: grid; gap: 10px; align-content: start; }
.wt-real .wt-frame { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.wt-real .wt-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-real .wt-frame figcaption { display: none; }
.wt-real b { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--taupe); }
.wt-real p { margin: 2px 0 0; font-size: .95rem; line-height: 1.4; }

.ba-real { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-shot { position: relative; margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.ba-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-shot figcaption { display: none; }
.ba-shot::before { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(13, 32, 51, .72); color: #fff; }
.ba-pair .ba-shot:first-child::before { content: "Before"; }
.ba-pair .ba-shot:last-child::before { content: "After"; }
.ba-real > figcaption { font-size: .88rem; color: var(--muted); padding: 10px 4px 2px; line-height: 1.45; }
.ba-real > figcaption b { display: block; color: var(--ink); font-size: .95rem; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
/* Images still loading show a sand-colored frame instead of white space (slow connections) */
main picture img, .wt-real .wt-frame, .ba-shot, .ws-tile, .cat-media { background-color: var(--sand-100); }
/* Service-area map (inline SVG from tools/make_map.py) */
.sa-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sa-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #DCE5EE; }
.sa-map { display: block; width: 100%; height: auto; font-family: var(--sans); }
.sa-county { font-size: 18px; font-weight: 700; letter-spacing: .12em; fill: var(--taupe); opacity: .8; }
.sa-city { font-size: 21px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.sa-ring { font-size: 16px; font-weight: 600; fill: var(--navy); opacity: .7; }
.sa-home-t { font-family: var(--serif); font-size: 24px; font-weight: 600; fill: var(--ink); }
.sa-home-s { font-size: 15px; fill: var(--muted); }
.sa-water { font-size: 20px; font-style: italic; fill: #6B8299; letter-spacing: .06em; }
.sa-areas { display: grid; gap: 14px; margin: 22px 0; }
.sa-areas li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--sand); }
.sa-areas b { color: var(--ink); }
.sa-areas span { color: var(--muted); font-size: .95rem; }
.sa-key { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.sa-key .sw { width: 18px; height: 14px; border-radius: 3px; display: inline-block; }
.sa-key .sw + .sw, .sa-key .sw:not(:first-child) { margin-left: 10px; }
.sa-key .sw-full { background: var(--sand); }
.sa-key .sw-part { background: repeating-linear-gradient(45deg, var(--sand) 0 4px, var(--sand-100) 4px 8px); }
@media (max-width: 900px) { .sa-split { grid-template-columns: 1fr; gap: 28px; } }
/* Google 5-star badge */
.g-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1; box-shadow: 0 1px 2px rgba(13, 32, 51, .06); min-height: 44px; }
.g-badge:hover { border-color: var(--sand); box-shadow: var(--shadow); }
.g-logo { width: 20px; height: 20px; flex: none; }
.g-stars { color: #F5B301; letter-spacing: 1px; font-size: 1.05rem; }
.g-text b { font-weight: 800; }
.g-badge.on-dark { background: rgba(255, 255, 255, .96); border-color: transparent; margin-top: 18px; }
.g-badge.lg { padding: 10px 18px; font-size: 1rem; }
.g-center { text-align: center; padding: 28px 0 0; }
.trust-google { color: inherit; text-decoration: none; }
.trust-google .ti-ic svg.g-logo { width: 20px; height: 20px; }
.trust-google b .g-stars { font-size: .95rem; margin-right: 4px; }
.site-footer .g-badge { margin-top: 14px; }
/* Google review cards */
.g-review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.g-review-top .g-stars { font-size: 1.15rem; }
.g-review-top .g-logo { width: 22px; height: 22px; }
.g-review figcaption > span:last-child { display: grid; }
.g-review figcaption small { font-weight: 500; color: var(--muted); font-size: .8rem; }
/* Real job videos (client clips) */
.video-feature .vf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.vf-media { margin: 0; justify-self: center; width: 100%; }
.vf-media video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow-lg); }
.vf-media.tall { max-width: 340px; }
.vf-media figcaption, .vid figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.vid-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-items: start; }
.vid.tall video { aspect-ratio: 9 / 16; }
.vid:not(.tall) { grid-column: span 2; }
@media (max-width: 760px) {
  .video-feature .vf-split { grid-template-columns: 1fr; gap: 24px; }
  .vf-media.tall { max-width: 300px; }
  .vid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
