/* Empire Services West · theme styles. Colours and fonts are theme.json tokens.
   Palette: maroon from the logo, slate from the monsoon, stucco from the houses they rebuild. */
:root {
  --maroon: var(--wp--preset--color--maroon);
  --maroon-deep: var(--wp--preset--color--maroon-deep);
  --maroon-wash: var(--wp--preset--color--maroon-wash);
  --slate: var(--wp--preset--color--slate);
  --slate-deep: var(--wp--preset--color--slate-deep);
  --stucco: var(--wp--preset--color--stucco);
  --white: var(--wp--preset--color--white);
  --sky: var(--wp--preset--color--sky);
  --haboob: var(--wp--preset--color--haboob);      /* Floyd: their second brand colour, the almond/tan he calls "haboob brown" */
  --haboob-deep: var(--wp--preset--color--haboob-deep);
  --ink: var(--wp--preset--color--ink);
  --ink-soft: var(--wp--preset--color--ink-soft);
  --on-dark-soft: var(--wp--preset--color--on-dark-soft);
  --line: var(--wp--preset--color--hairline);

  --f-display: var(--wp--preset--font-family--display);
  --f-body: var(--wp--preset--font-family--body);
  --f-quote: var(--wp--preset--font-family--quote);

  /* one scale: 0.875 · 1.0625 · 1.375 · 1.75 · 2.5+ */
  --t-s: .875rem;
  --t-b: 1.0625rem;
  --t-l: 1.375rem;
  --t-xl: 1.75rem;
  --t-h2: clamp(2.25rem, 3.6vw, 3.25rem);
  --t-h1: clamp(2.75rem, 5.4vw, 5rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--stucco); color: var(--ink); font: 400 var(--t-b)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.section-title { font: 800 var(--t-h2)/1.04 var(--f-display); letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.section-lede { margin-top: 18px; font-size: var(--t-l); line-height: 1.5; color: var(--ink-soft); max-width: 52ch; }
.credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 3px 8px; border-radius: 3px; background: #0d1216e6; font-size: var(--t-s); color: #fff; pointer-events: none; }

/* ---------- buttons ---------- */
.btn .wp-block-button__link, button.btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 24px; border-radius: var(--radius); text-decoration: none; text-align: left; font-weight: 600; font-size: inherit; line-height: 1.25; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.btn .wp-block-button__link:active, button.btn:active { transform: scale(.97); }
.btn small { font-size: var(--t-s); font-weight: 400; }
.btn strong { font: 800 var(--t-xl)/1.1 var(--f-display); letter-spacing: -.01em; }
.btn-call .wp-block-button__link { background: var(--maroon); color: var(--white); }
.btn-call .wp-block-button__link:hover { background: var(--maroon-deep); }
.btn-line .wp-block-button__link { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-solid .wp-block-button__link, button.btn-solid { background: var(--maroon); color: var(--white); font: 700 var(--t-b)/1.2 var(--f-display); padding: 16px 24px; border: 0; cursor: pointer; }
.btn-solid .wp-block-button__link:hover, button.btn-solid:hover { background: var(--maroon-deep); }
.btn-xl strong { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- top band (Floyd: "maybe this band up here can be that" almond/haboob brown) ---------- */
.top-band { background: var(--haboob); color: #241B10; }
.top-band-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; font-size: var(--t-s); font-weight: 600; }
.top-band a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; }
.top-band a::before { content: ""; width: 15px; height: 15px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241B10' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 018 0v3'/%3E%3C/svg%3E"); }
.top-band a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header .main-nav .nav-portal a { color: var(--haboob-deep); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand img { height: 58px; width: auto; }
.site-header .main-nav { font-weight: 600; font-size: var(--t-s); }
.site-header .main-nav ul { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; padding-block: 8px; }
.main-nav a:hover { color: var(--maroon); }
.header-call a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.header-call a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2E9D5B; box-shadow: 0 0 0 4px #2E9D5B33; }
.header-call strong { font: 800 var(--t-xl)/1 var(--f-display); color: var(--maroon); letter-spacing: -.01em; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--slate); color: var(--white); padding-top: clamp(40px, 6vw, 88px); }
.hero-video { position: absolute; inset: 0; z-index: -2; opacity: .42; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--slate) 20%, #26323bcc 55%, #26323b66 100%),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero-copy { padding-bottom: clamp(48px, 7vw, 120px); padding-top: 12px; }
.hero-where { font-weight: 600; color: var(--on-dark-soft); }
.hero h1 { margin-top: 14px; font: 800 var(--t-h1)/.98 var(--f-display); letter-spacing: -.035em; max-width: 12ch; text-wrap: balance; }
.hero-lede { margin-top: 24px; font-size: var(--t-l); line-height: 1.5; color: #E4E9EC; max-width: 44ch; }
.wp-block-buttons.hero-actions { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 12px; max-width: 580px; }
.hero-actions .btn-line .wp-block-button__link { color: var(--white); border-color: #ffffffb3; }
.hero-actions .btn-line .wp-block-button__link:hover { border-color: var(--white); background: #ffffff14; }
.trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--t-s); color: var(--on-dark-soft); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 14px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9D2D8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* the stage hangs below the hero into the next section: depth */
.hero-stage { position: relative; margin-bottom: -180px; z-index: 3; }
.wipe { position: relative; aspect-ratio: 750 / 800; border-radius: 4px; overflow: hidden; background: var(--slate-deep); cursor: ew-resize; touch-action: pan-y; user-select: none; box-shadow: 0 30px 60px -20px #0a0f1399, 0 0 0 1px #ffffff1a; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity 220ms var(--ease-out); }
.wipe.is-swapping img { opacity: 0; }
.wipe-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.wipe-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; margin-left: -1.5px; background: var(--white); }
.wipe-handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--white); box-shadow: 0 8px 24px #0006;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%2381252A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.wipe:focus-visible .wipe-handle span { outline: 3px solid var(--sky); outline-offset: 3px; }
.wipe-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 3px; font-weight: 600; font-size: var(--t-s); }
.wipe-tag-before { left: 16px; background: #000000b3; color: var(--white); }
.wipe-tag-after { right: 16px; background: var(--white); color: var(--ink); }

.hero-review { position: absolute; left: -64px; bottom: 150px; width: 300px; padding: 20px 22px; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 40px -18px #0a0f1380; }
.hero-review p { font: italic 400 var(--t-b)/1.45 var(--f-quote); }
.hero-review cite { display: block; margin-top: 10px; font-style: normal; font-weight: 400; font-size: var(--t-s); color: var(--ink-soft); }
.hero-review cite strong { display: block; font-weight: 600; color: var(--ink); }

.jobs { margin-top: 14px; color: var(--ink); background: var(--white); padding: 12px 14px 10px; border-radius: var(--radius); box-shadow: 0 14px 30px -18px #0a0f1366; }
.jobs-label { font-size: var(--t-s); font-weight: 600; }
.jobs-row { margin-top: 8px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.job { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 3px; overflow: hidden; aspect-ratio: 1; outline-offset: 2px; position: relative; }
.job img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity 160ms ease; }
.job[aria-pressed="true"] img { opacity: 1; }
.job[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--maroon); border-radius: 3px; }
@media (hover: hover) and (pointer: fine) { .job:hover img { opacity: .9; } }
.jobs-now { display: block; margin-top: 8px; font-size: var(--t-s); color: var(--ink-soft); }

/* ---------- two paths ---------- */
.paths { padding-top: 236px; padding-bottom: clamp(64px, 8vw, 112px); }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); color: var(--white); min-height: 640px; display: flex; align-items: flex-end; }
.path-bg { position: absolute; inset: 0; z-index: -2; }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.path-now::before { background: linear-gradient(0deg, #1b252cf5 12%, #1b252ccc 55%, #1b252cc7 80%, #1b252c55); }
.path-later::before { background: linear-gradient(0deg, #641b20f2 14%, #641b20e0 72%, #641b20d9 90%, #641b2055); }
.path-body { padding: clamp(24px, 3.4vw, 44px); max-width: 560px; }
.path-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--t-s); color: #F1D7D9; }
.path-now .path-kicker { color: var(--on-dark-soft); }
.path h2 { margin-top: 12px; font: 800 clamp(2rem, 3.2vw, 2.75rem)/1.02 var(--f-display); letter-spacing: -.025em; }
.path-body > p:not(.path-kicker) { margin-top: 14px; color: #EDEFF0; max-width: 44ch; }
.first-steps { margin: 20px 0 26px; counter-reset: s; display: grid; gap: 10px; }
.first-steps li { counter-increment: s; position: relative; padding-left: 30px; color: #E4E9EC; }
.first-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; font: 800 var(--t-b)/1.6 var(--f-display); color: #F3A5AA; }
.first-steps strong { color: var(--white); }
.path-now .btn-call .wp-block-button__link { background: var(--white); color: var(--maroon); }
.path-now .btn-call .wp-block-button__link:hover { background: var(--maroon-wash); }

.rebuild-form { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 4px; }
.field label { font-size: var(--t-s); font-weight: 600; color: #F6E4E5; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 5px; border: 1px solid #ffffff55; background: var(--white); color: var(--ink); font-size: var(--t-b); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid #FFD27A; outline-offset: 1px; }
.field[data-invalid] input { border: 2px solid #FFD27A; }
.rebuild-form button.btn-solid { grid-column: 1 / -1; background: var(--white); color: var(--maroon); }
.rebuild-form button.btn-solid:hover { background: var(--maroon-wash); }
.rebuild-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: var(--t-s); color: #F6E4E5; }

/* ---------- process (sticky) ---------- */
.process { background: var(--white); padding-block: clamp(72px, 9vw, 128px); }
.process-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.process-media { position: sticky; top: 104px; height: min(78vh, 720px); border-radius: var(--radius); overflow: hidden; background: var(--slate); }
.pm { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 500ms var(--ease-out), transform 900ms var(--ease-out); }
.pm.is-active { opacity: 1; transform: none; }
.pm .wp-block-image, .pm .wp-block-video { width: 100%; height: 100%; }
.steps { counter-reset: none; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step p.step-n { margin-top: 0; font: 800 clamp(3rem, 5vw, 4.5rem)/1 var(--f-display); color: #7F878D; letter-spacing: -.04em; transition: color 300ms var(--ease-out); }
.step.is-active p.step-n { color: var(--maroon); }
.step h3 { margin-top: 12px; font: 800 var(--t-xl)/1.15 var(--f-display); letter-spacing: -.015em; max-width: 22ch; }
.step p { margin-top: 12px; color: var(--ink-soft); max-width: 48ch; }

/* ---------- services directory ---------- */
.services { padding-block: clamp(72px, 9vw, 128px); }
.services-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { margin-top: 36px; border-top: 2px solid var(--ink); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px 32px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 160ms ease; }
.svc-name { font: 800 var(--t-xl)/1.15 var(--f-display); letter-spacing: -.015em; transition: color 160ms ease; }
.svc-desc { color: var(--ink-soft); font-size: var(--t-b); }
.svc.is-active .svc-name, .svc:focus-visible .svc-name { color: var(--maroon); }
@media (hover: hover) and (pointer: fine) { .svc:hover .svc-name { color: var(--maroon); } }
.svc-preview { position: sticky; top: 112px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--slate); }
.svc-preview .wp-block-image { width: 100%; height: 100%; }
.svc-preview img { transition: opacity 180ms var(--ease-out); }
.svc-preview.is-swapping img { opacity: .2; }

/* ---------- our work ---------- */
.work { background: var(--slate); color: var(--white); padding-block: clamp(72px, 9vw, 128px); }
.work .section-lede { color: var(--on-dark-soft); }
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.work-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba { position: relative; }
.ba-toggle { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--slate-deep); cursor: pointer; aspect-ratio: 750 / 800; overflow: hidden; border-radius: 4px; }
.ba-toggle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); transition: clip-path 700ms var(--ease-in-out); }
.ba-toggle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--white); z-index: 1; transition: left 700ms var(--ease-in-out); }
.ba-toggle[aria-pressed="true"]::before { left: 0; }
.ba-toggle[aria-pressed="true"] .ba-after { clip-path: inset(0 0 0 0); }
@media (hover: hover) and (pointer: fine) { .ba-toggle:hover .ba-after { clip-path: inset(0 0 0 0); } }
.ba-toggle::after { content: "Before  |  After"; white-space: pre; position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 3px; background: #000000b3; color: var(--white); font-size: var(--t-s); font-weight: 600; }
.ba-toggle[aria-pressed="true"]::after { content: "After"; background: var(--white); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ba-toggle:hover::after { content: "After"; background: var(--white); color: var(--ink); } .ba-toggle:hover::before { left: 0; } }
.ba figcaption { margin-top: 10px; font-size: var(--t-s); color: var(--on-dark-soft); }
.ba figcaption b { color: var(--white); margin-right: 6px; }

/* ---------- claims + faq ---------- */
.claims { padding-block: clamp(72px, 9vw, 128px); }
.claims-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.claim-steps { margin: 28px 0 32px; counter-reset: c; display: grid; gap: 14px; }
.claim-steps li { counter-increment: c; position: relative; padding-left: 40px; }
.claim-steps li::before { content: counter(c); position: absolute; left: 0; top: -2px; font: 800 var(--t-xl)/1 var(--f-display); color: var(--maroon); }
.faq { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.faq-title { font: 800 var(--t-xl)/1.15 var(--f-display); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--maroon); border-bottom: 2.5px solid var(--maroon); transform: rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- reviews ---------- */
.reviews { background: var(--maroon); color: var(--white); padding-block: clamp(72px, 9vw, 128px); }
.review-grid { margin-top: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
.review-lead { grid-column: 1; grid-row: span 3; display: flex; flex-direction: column; justify-content: center; }

.review { padding: 28px; border-radius: var(--radius); background: #ffffff14; }
.review p { font: italic 400 var(--t-l)/1.45 var(--f-quote); }
.review-lead { background: var(--white); color: var(--ink); }
.review-lead p { font-size: var(--t-xl); line-height: 1.35; }
.review cite { display: block; margin-top: 18px; font-style: normal; font-weight: 400; font-size: var(--t-s); }
.review cite strong { display: block; font-weight: 600; }
.review:not(.review-lead) cite { color: #F1D7D9; }
.review-lead cite { color: var(--ink-soft); }
.review-lead cite strong { color: var(--ink); }
.text-link { margin-top: 28px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- commercial ---------- */
.commercial { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(72px, 9vw, 128px); overflow: hidden; }
.commercial-video { position: absolute; inset: 0; z-index: -2; }
.commercial::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1b252cf2 30%, #1b252c99); }
.commercial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.commercial-copy > p { margin: 20px 0 30px; font-size: var(--t-l); line-height: 1.5; color: #E4E9EC; max-width: 46ch; }
.commercial-photo { position: relative; border-radius: var(--radius); overflow: hidden; transform: rotate(1.2deg); box-shadow: 0 30px 60px -24px #000c; }
.commercial-photo img { width: 100%; height: auto; }
.commercial-photo figcaption { position: absolute; right: 12px; bottom: 10px; z-index: 2; margin: 0; padding: 3px 8px; border-radius: 3px; background: #0d1216e6; font-size: var(--t-s); color: #fff; pointer-events: none; }
.commercial-credit { top: 12px; bottom: auto; }

/* ---------- area / final cta ---------- */
.area { position: relative; isolation: isolate; color: var(--white); min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.area-bg { position: absolute; inset: 0; z-index: -2; }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #1b252ce6, #1b252c66 70%); }
.area-inner { padding-block: 96px; }
.area h2 { font: 800 clamp(2.5rem, 5vw, 4.5rem)/1 var(--f-display); letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.area .wp-block-buttons { margin-top: 36px; }
.area-cities { margin-top: 28px; max-width: 56ch; color: #E4E9EC; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate-deep); color: var(--on-dark-soft); padding: 64px 0 120px; font-size: var(--t-s); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand { display: inline-block; background: var(--white); padding: 10px 14px; border-radius: 4px; }
.footer-brand img { height: 52px; width: auto; }
.footer-address { margin-top: 26px; line-height: 1.8; }
.site-footer h2 { font: 800 var(--t-b)/1.2 var(--f-display); color: var(--white); margin-bottom: 20px; }
.footer-nav ul { display: grid; gap: 8px; align-content: start; }
.footer-nav .wp-block-navigation-item__content { display: block; font-size: var(--t-s); line-height: 1.6; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal p + p { margin-top: 8px; }

/* ---------- mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .site-header .main-nav { display: none; }
  .top-band-row > p:first-child { display: none; }
  .top-band-row { justify-content: flex-end; }
  .hero-review { left: auto; right: 16px; bottom: auto; top: calc(100% - 330px); width: 260px; }
}
@media (max-width: 960px) {
  .header-row { height: 68px; }
  .brand img { height: 46px; }
  .header-call-label { display: none; }
  .header-call strong { font-size: var(--t-l); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 32px; }
  .hero-stage { margin-bottom: -120px; }
  .hero-review { position: relative; inset: auto; width: auto; margin-top: 16px; }
  .paths { padding-top: 160px; }
  .paths-grid, .process-grid, .services-grid, .claims-grid, .commercial-grid, .work-head { grid-template-columns: 1fr; }
  .path { min-height: 560px; }
  .path-now::before { background: linear-gradient(0deg, #1b252cf5 12%, #1b252cd9 70%, #1b252cd9 92%, #1b252c55); }
  .path-later::before { background: linear-gradient(0deg, #641b20f2 14%, #641b20e0 72%, #641b20e0 95%, #641b2055); }
  .process-media { top: 76px; height: 42vh; z-index: 2; }
  .step { min-height: 0; padding-block: 36px; }
  .step p.step-n { color: var(--maroon); }
  .svc-preview { display: none; }
  .svc { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-lead { grid-row: auto; }
  .commercial-photo { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.6fr 1fr; background: var(--white); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .call-bar p { display: grid; }
  .call-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--radius); text-decoration: none; font-weight: 600; text-align: center; padding: 6px 10px; }
  .call-bar-call a { background: var(--maroon); color: var(--white); }
  .call-bar-form a { border: 2px solid var(--ink); }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .nowrap { white-space: normal; }
  .jobs-row { grid-template-columns: repeat(5, 1fr); }
  .rebuild-form { grid-template-columns: 1fr; }
  .path-body { padding-bottom: 56px; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pm { transform: none; transition: opacity 200ms ease; }
  .ba-after, .ba-toggle::before { transition: none; }
  .btn .wp-block-button__link:active, button.btn:active { transform: none; }
  .hero-video { display: none; }
}

/* ---------- WordPress: core block defaults that would otherwise change the design ---------- */
.site-part { display: contents; } /* the sticky header must stick to the page, not its wrapper */
.wp-site-blocks > * { margin-block: 0; }
:where(.wp-block-image, .wp-block-video, .wp-block-quote, .wp-block-details, .wp-block-site-logo) { margin: 0; }
.wp-block-site-logo img, .wp-block-image img { display: block; }
.hero-video video, .path-bg img, .path-bg video, .commercial-video video, .area-bg img, .pm img, .pm video, .svc-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-actions .wp-block-button, .hero-actions .wp-block-button__link { display: flex; width: 100%; height: 100%; }
.hero-actions .wp-block-button__link { flex-direction: column; }
.wp-block-navigation .wp-block-navigation__container { margin: 0; padding: 0; }
.footer-nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; }
