/* Layout concept: left aligned contractor site on cool concrete white; photo hero with the free estimate questions on a white card; one dark punch list band carries the takeover story. */
:root {
  --paper: #f4f6f7;      /* cool concrete white, page ground */
  --white: #ffffff;      /* header, title block, panels */
  --ink: #1f2124;        /* charcoal from the logo wordmark */
  --steel: #59616a;      /* secondary text */
  --rule: #d3d9df;       /* hairlines and borders */
  --red: #e0000b;        /* brand red, sampled from the logo */
  --red-deep: #b30009;   /* hover and pressed red */
  --night: #1a1c1f;      /* takeover band */
  --night-text: #e9ecef;
  --night-muted: #a9b1ba;
  --hatch: #cbd1d8;      /* drawing hatch for photo placeholders */

  --display: "Saira Semi Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 4.25rem);

  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(56px, 8vw, 104px); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--white); padding: 10px 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
  text-decoration: none; border-radius: 4px; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { border-color: var(--night-text); color: var(--night-text); }
.btn-line-light:hover { background: var(--night-text); color: var(--night); }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--white); border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: clamp(150px, 30vw, 210px); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--red); }
@media (max-width: 640px) {
  .head-actions .btn { display: none; }
}

/* Hero: full bleed project photo with the copy over it */
.hero { position: relative; isolation: isolate; background: var(--night); color: var(--white); overflow: hidden; }
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background-color: #2b2f35;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 13px, rgba(255, 255, 255, 0.06) 13px 14px),
    linear-gradient(160deg, #4a515a 0%, #2b2f35 55%, #1d2024 100%);
  background-size: cover; background-position: center;
  display: flex; justify-content: flex-end; align-items: flex-start; padding: 14px;
}
.hero-media span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.3); padding: 3px 8px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 21, 24, 0.86) 0%, rgba(20, 21, 24, 0.58) 45%, rgba(20, 21, 24, 0.12) 100%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  grid-template-rows: auto 1fr;
  grid-template-areas: "copy card" "more card";
  column-gap: clamp(32px, 6vw, 88px); row-gap: 28px;
  /* top aligned so the headline stays put while the card grows through the steps */
  align-content: start; align-items: start;
  min-height: clamp(620px, 82vh, 760px); padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px);
}
.hero-copy { grid-area: copy; min-width: 0; padding-top: clamp(0px, 2vw, 24px); }
.hero-more { grid-area: more; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero h1 { font-size: var(--step-4); font-weight: 800; line-height: 0.98; max-width: 15ch; color: var(--white); }
.hero-sub { margin-top: 22px; font-size: var(--step-1); color: #dde2e7; max-width: 36ch; line-height: 1.5; }
.hero-creds { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 0.95rem; color: var(--white); }
.hero-creds li { display: flex; align-items: center; gap: 8px; }
.hero-creds li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 2px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-call { font-size: var(--step--1); color: #c3cad1; }
.hero-call a { color: var(--white); font-weight: 600; }
.hero-link { font-weight: 600; font-size: var(--step--1); color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero-link:hover { color: #ffd9da; }
.closing .hero-cta .btn-line { border-color: var(--ink); color: var(--ink); }

/* Free estimate card: same questions as the DR Free Estimate funnel */
.estimate { grid-area: card; min-width: 0; scroll-margin-top: 96px; }
.est {
  color: var(--ink); background: var(--white);
  border-top: 4px solid var(--red); border-radius: 6px;
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.18);
}
.est svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.est-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.est-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.est-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.est-back {
  display: inline-flex; align-items: center; gap: 2px; min-height: 32px; padding: 0 8px 0 0; margin-left: -4px;
  border: 0; background: none; color: var(--ink); font: 600 0.92rem var(--body); cursor: pointer;
}
.est-back svg { width: 20px; height: 20px; stroke-width: 2.5; }
.est-back:hover { color: var(--red); }
.est-eyebrow[hidden], .est-back[hidden] { display: none; }
.est-count { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--steel); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-count b { color: var(--ink); }
.est-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 12px 0 22px; }
.est-bar span { height: 4px; border-radius: 2px; background: var(--rule); transition: background-color 0.3s ease; }
.est-bar span.is-on { background: var(--red); }
.est-q { font-size: clamp(1.65rem, 1.25rem + 1vw, 2.05rem); font-weight: 800; line-height: 1.02; outline: none; }
.est-lede { margin-top: 8px; color: var(--steel); font-size: 0.98rem; line-height: 1.5; }
.est-note { margin-top: 14px; font-size: 0.85rem; color: var(--steel); }

.est-opts { display: grid; gap: 10px; margin-top: 18px; }
.est-opt {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; align-items: center; gap: 14px;
  width: 100%; min-height: 64px; padding: 10px 16px 10px 10px; text-align: left;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--rule); border-radius: 5px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.15;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}
.est-plain { grid-template-columns: minmax(0, 1fr) 16px; min-height: 60px; padding-left: 18px; }
.est-ico { width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; background: var(--paper); color: var(--red); transition: background-color 0.15s ease, color 0.15s ease; }
.est-ico svg { width: 23px; height: 23px; stroke-width: 1.9; }
.est-go { width: 9px; height: 9px; justify-self: center; border-top: 2.5px solid var(--steel); border-right: 2.5px solid var(--steel); transform: translateX(-2px) rotate(45deg); transition: transform 0.15s ease, border-color 0.15s ease; }
@media (hover: hover) {
  .est-opt:hover { border-color: var(--ink); }
  .est-opt:hover .est-ico { background: var(--red); color: var(--white); }
  .est-opt:hover .est-go { border-color: var(--red); transform: translateX(1px) rotate(45deg); }
}
.est-opt:active { transform: scale(0.985); }
.est-opt.is-picked { border-color: var(--red); background: #fff5f5; }
.est-opt.is-picked .est-ico { background: var(--red); color: var(--white); }
.est-opt.is-picked .est-go { border-color: var(--red); }

.est-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.est-field { display: grid; gap: 5px; min-width: 0; }
.est-field[hidden] { display: none; }
.est-wide { grid-column: 1 / -1; }
.est-field label { font-size: 0.82rem; font-weight: 600; }
.est-field input {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--rule); border-radius: 5px;
  background: var(--white); color: var(--ink); font: 400 1rem var(--body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.est-field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 0, 11, 0.14); }
.est-field input:user-invalid { border-color: var(--red); }
.est-consent {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin-top: 14px; padding: 12px;
  background: var(--paper); border-radius: 5px; cursor: pointer;
  font-size: 0.74rem; line-height: 1.45; color: var(--steel);
}
.est-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.est-consent a { color: var(--ink); font-weight: 600; }
.est-cta { width: 100%; min-height: 56px; margin-top: 16px; gap: 10px; font-size: 1.2rem; }
.est-cta svg { width: 20px; height: 20px; stroke-width: 2.5; }
.est-done { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: var(--red); color: var(--white); }
.est-done svg { width: 26px; height: 26px; stroke-width: 3; }

@keyframes est-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.est.is-live .est-pane:not([hidden]) { animation: est-in 0.32s cubic-bezier(0.23, 1, 0.32, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .est.is-live .est-pane:not([hidden]) { animation: none; }
  .est-opt, .est-ico, .est-go, .est-bar span { transition: none; }
}

.photo-slot {
  aspect-ratio: 4 / 3; width: 100%; max-width: 100%;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, var(--hatch) 11px 12px),
    var(--paper);
  border: 1px solid var(--rule);
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: 16px; color: var(--steel); font-size: var(--step--1);
}
.photo-slot span { background: var(--white); padding: 4px 8px; border: 1px solid var(--rule); }

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "copy" "card" "more";
    min-height: 0; padding-block: 44px 40px; row-gap: 28px;
  }
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 3.4rem); }
  .hero-sub { margin-top: 16px; font-size: 1.1rem; }
  .hero-creds { margin-top: 20px; font-size: 0.9rem; gap: 8px 18px; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 21, 24, 0.5) 0%, rgba(20, 21, 24, 0.82) 45%, rgba(20, 21, 24, 0.94) 100%); }
  .estimate { max-width: 520px; width: 100%; }
}
@media (max-width: 359px) { .est-fields { grid-template-columns: minmax(0, 1fr); } }

/* Takeover band */
.takeover { background: var(--night); color: var(--night-text); }
.takeover .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.takeover h2 { font-size: var(--step-3); font-weight: 800; color: var(--white); max-width: 16ch; }
.takeover-copy p { margin-top: 18px; color: var(--night-muted); max-width: 46ch; }
.takeover-copy .btn { margin-top: 28px; }
.punch { border: 1px solid #3a3e44; background: #22252a; padding: clamp(20px, 3vw, 32px); min-width: 0; }
.punch h3 { font-size: var(--step-1); font-weight: 700; color: var(--white); }
.punch-note { margin-top: 6px; font-size: var(--step--1); color: var(--night-muted); }
.punch ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; }
.punch li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid #3a3e44; }
.punch li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px; border: 2px solid var(--night-text);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--red);
}
@media (max-width: 860px) { .takeover .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Section heads */
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 60ch; }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }
.section-head p { color: var(--steel); }

/* Services */
.services { background: var(--paper); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-list li { border-bottom: 1px solid var(--rule); }
.service-list a {
  display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto; gap: 24px; align-items: baseline;
  padding: 22px 0; text-decoration: none;
}
.service-list h3 { font-size: var(--step-2); font-weight: 700; }
.service-list p { color: var(--steel); }
.service-list .more { font-size: var(--step--1); font-weight: 600; color: var(--red); white-space: nowrap; }
.service-list a:hover h3 { color: var(--red); }
@media (max-width: 760px) {
  .service-list a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* How we work */
.how { background: var(--white); border-block: 1px solid var(--rule); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.how-grid div { border-top: 3px solid var(--red); padding-top: 18px; }
.how-grid h3 { font-size: var(--step-1); font-weight: 700; }
.how-grid p { margin-top: 8px; color: var(--steel); }
@media (max-width: 760px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }

/* Work */
.work .wrap > .feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.feature h3 { font-size: var(--step-2); font-weight: 700; }
.feature p { margin-top: 12px; color: var(--steel); max-width: 48ch; }
.feature dl { margin: 20px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; font-size: var(--step--1); }
.feature dt { color: var(--steel); }
.feature dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .work .wrap > .feature { grid-template-columns: minmax(0, 1fr); } }

/* Area */
.area { background: var(--white); border-block: 1px solid var(--rule); }
.area .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); }
.cities { list-style: none; margin: 0; padding: 0; columns: 3 9rem; column-gap: 24px; }
.cities li { padding: 7px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
@media (max-width: 760px) { .area .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-list { border-top: 2px solid var(--ink); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: var(--step-1);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 22px; color: var(--steel); max-width: 64ch; }
@media (prefers-reduced-motion: reduce) { .btn, .faq-list summary::after { transition: none; } }

/* Closing CTA */
.closing .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.closing h2 { font-size: var(--step-3); font-weight: 800; max-width: 20ch; }
.closing .hero-cta { margin-top: 0; }

/* Footer */
.site-foot { background: var(--night); color: var(--night-muted); font-size: var(--step--1); padding-block: 48px; }
.site-foot .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.site-foot h2 { font-size: 1rem; color: var(--white); font-weight: 700; margin-bottom: 10px; }
.site-foot a { color: var(--night-text); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid #3a3e44; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages (added Oct 22, 2026) ---------- */
.page-hero { background: var(--night); color: var(--white); padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: var(--step-4); font-weight: 800; line-height: 0.98; max-width: 18ch; margin-top: 14px; }
.page-sub { margin-top: 18px; font-size: var(--step-1); color: #dde2e7; max-width: 46ch; line-height: 1.5; }
.page-hero .hero-cta { margin-top: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--step--1); color: var(--night-muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #5d646c; }
.crumbs a { color: var(--night-text); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); font-weight: 800; margin-top: 1.6em; }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--red-deep); font-weight: 600; text-underline-offset: 3px; }
.prose img, .prose figure { margin-block: 1.6em; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 8px; font-size: var(--step--1); color: var(--steel); }
.prose .lede { font-size: var(--step-1); color: var(--ink); }

.side-card { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--red); border-radius: 6px; padding: clamp(20px, 3vw, 28px); position: sticky; top: 96px; }
.side-card h2 { font-size: var(--step-1); font-weight: 700; }
.side-card .btn { width: 100%; margin-top: 18px; }
.checklist { list-style: none; margin: 16px 0 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.checklist li::before {
  content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 2px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; text-decoration: none; transition: border-color .15s ease; }
.card a:hover { border-color: var(--ink); }
.card a:hover h3 { color: var(--red); }
.card-img img, .card-img .photo-slot { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border: 0; }
.card-body { padding: 18px 20px 22px; }
.card-meta { font-size: var(--step--1); font-weight: 600; color: var(--steel); }
.card h3 { font-size: var(--step-1); font-weight: 700; margin-top: 6px; }
.card-body p:last-child { margin-top: 8px; color: var(--steel); font-size: 0.98rem; }
.recent { background: var(--paper); }
.empty { color: var(--steel); }

.work-link { margin-top: 24px; }
.page-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.post-meta { margin-top: 14px; color: var(--night-muted); font-size: var(--step--1); }
.facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: var(--step--1); }
.facts dt { color: var(--steel); }
.facts dd { margin: 0; font-weight: 600; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.gallery figcaption { margin-top: 6px; font-size: var(--step--1); color: var(--steel); }
.legal-text { max-width: 72ch; }
.legal-text h2 { font-size: var(--step-1); font-weight: 700; margin-top: 1.8em; }
.legal-text p, .legal-text ul { margin-top: 0.8em; color: var(--ink); }
.legal-text ul { padding-left: 1.2em; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side-note { margin-top: 18px; color: var(--steel); font-size: 0.98rem; }
.side-call { margin-top: 12px; font-size: var(--step--1); color: var(--steel); }
.side-call a { color: var(--ink); font-weight: 600; }
.service-list h2 { font-size: var(--step-2); font-weight: 700; }
.service-list a:hover h2 { color: var(--red); }
.hero .crumbs { margin-bottom: 4px; }
.page-hero + .band { background: var(--white); border-bottom: 1px solid var(--rule); }
.recent + .faq, .recent + .recent, .faq + .recent, .faq + .closing, .recent + .closing { padding-top: 0; }

/* ---------- Photo heroes on inner pages ---------- */
.page-hero.has-photo { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 10vw, 136px); }
.page-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 21, 24, 0.92) 0%, rgba(20, 21, 24, 0.74) 45%, rgba(20, 21, 24, 0.25) 100%);
}
@media (max-width: 900px) {
  .page-hero.has-photo::before { background: linear-gradient(180deg, rgba(20, 21, 24, 0.55) 0%, rgba(20, 21, 24, 0.85) 60%, rgba(20, 21, 24, 0.94) 100%); }
}
.photo-row { list-style: none; margin: 1.6em 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin: 0; }
.photo-row .tall img { aspect-ratio: 3 / 4; }
.feature-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* ---------- Before and after sliders ---------- */
.ba-band { background: var(--night); color: var(--night-text); }
.ba-band .section-head h2 { color: var(--white); }
.ba-band .section-head p { color: var(--night-muted); }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 4vw, 40px); }
.ba-fig { margin: 0; }
.ba {
  --p: 0.5;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px;
  background: #2b2f35; user-select: none; -webkit-user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.ba .ba-before { clip-path: inset(0 calc(100% - (28px + (100% - 56px) * var(--p))) 0 0); }
.ba-tag {
  position: absolute; top: 12px; z-index: 2; pointer-events: none;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; color: var(--white);
}
.ba-tag-before { left: 12px; background: rgba(17, 17, 17, 0.85); }
.ba-tag-after { right: 12px; background: var(--red); }
.ba-line {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 3px; pointer-events: none;
  left: calc(28px + (100% - 56px) * var(--p)); transform: translateX(-50%); background: var(--red);
}
.ba-handle {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.ba-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ba-range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y;
}
.ba-range::-webkit-slider-runnable-track { height: 100%; background: transparent; border: 0; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 56px; height: 100%; min-height: 200px; background: transparent; border: 0; }
.ba-range::-moz-range-track { background: transparent; border: 0; }
.ba-range::-moz-range-thumb { width: 56px; height: 100%; background: transparent; border: 0; }
.ba:has(.ba-range:focus-visible) .ba-handle { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--red); }
.ba-fig figcaption { margin-top: 12px; color: var(--night-muted); }
.ba-fig figcaption b { color: var(--white); font-weight: 600; }
.prose .ba-fig figcaption { color: var(--steel); }
.prose .ba-fig figcaption b { color: var(--ink); }
.prose .ba { margin: 0; }
