/* PGH Concrete: the owner-approved local business look (mockup approved 2026-10-23; docs/DIRECTION.md).
   Black, white and one gold accent; Montserrat for headings and buttons, the system face for reading. */

@font-face {
  font-family: "Montserrat"; /* impeccable-disable-line overused-font -- owner direction 2026-10-23: the site must look like the Pittsburgh contractor sites; Montserrat is in the approved mockup */
  src: url("../fonts/montserrat-var-ascii.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
  /* The characters tools/brand/trim_font.py keeps; anything else is drawn from the fallback (tools/font-coverage.mjs) */
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AE, U+00B7, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2122;
}
/* Metric-matched fallbacks while the heading face loads, one per weight, so headings keep their line breaks when it
   arrives. Arial Bold, scaled per weight (release/fallback-tune.mjs, 2026-10-24: 11 of 1,481 heading-face elements wrap
   differently at 390 and 1440, against 32 with one synthetic-bold Arial face). Vertical metrics as before. */
@font-face {
  font-family: "Montserrat Fallback"; /* impeccable-disable-line overused-font -- owner direction 2026-10-23: the site must look like the Pittsburgh contractor sites; Montserrat is in the approved mockup */
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 100 650;
  size-adjust: 104%;
  ascent-override: 86%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback"; /* impeccable-disable-line overused-font -- owner direction 2026-10-23: the site must look like the Pittsburgh contractor sites; Montserrat is in the approved mockup */
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 651 750;
  size-adjust: 109%;
  ascent-override: 86%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback"; /* impeccable-disable-line overused-font -- owner direction 2026-10-23: the site must look like the Pittsburgh contractor sites; Montserrat is in the approved mockup */
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 751 900;
  size-adjust: 111.5%;
  ascent-override: 86%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --black: #121417;
  --ink: #1f2328;
  --muted: #5b626b;
  --gold: #ffb81c;
  --gold-dark: #e6a200;
  --gold-text: #8f6200; /* gold for small text on white and gray: 5.4:1 and 4.9:1 */
  --gold-tint: #fff3d1;
  --gold-wash: #fff8e6;
  --gray: #f3f4f6;
  --line: #e2e5e9;
  --field: #8a9199; /* input borders: 3.2:1 on white */
  --white: #ffffff;
  --error: #b42318;
  --head: "Montserrat", "Montserrat Fallback", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 6px rgba(18, 20, 23, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--white); min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 14px; color: var(--black); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
h3 { font-size: 20px; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.topbar :focus-visible, .hero--photo .hero__text :focus-visible, .hero--plain :focus-visible, .benefits :focus-visible,
.site-footer :focus-visible, .mbar :focus-visible, .panel :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--black); font-weight: 700; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin: 40px 0 0; }
.section-head + .center--tight { margin-top: -12px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 15px 28px;
  border: 2px solid transparent; border-radius: 6px; font: 800 16px/1.1 var(--head); letter-spacing: 0.03em;
  text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--line); }
.btn--light:hover { border-color: var(--black); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { border-color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* Top bar */
.topbar { background: var(--black); color: #d7dbe0; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--white); }
.topbar .icon { width: 16px; height: 16px; color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--black); color: var(--gold); flex: none; }
.logo__mark .icon { width: 28px; height: 28px; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font: 800 22px/1 var(--head); letter-spacing: 0.02em; text-transform: uppercase; color: var(--black); }
.logo__line { margin-top: 5px; font-size: 13px; line-height: 1.2; color: var(--muted); }

.nav { display: flex; align-items: center; }
.nav__toggle { display: none; }
.nav__list { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; font: 700 15px/1.2 var(--head); }
.nav__item > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; text-decoration: none; color: var(--black); }
.nav__item > a:hover { color: var(--gold-text); }
.nav__item > a .icon { width: 16px; height: 16px; }
.nav__item--cta > a.btn { padding: 14px 22px; min-height: 48px; font-size: 15px; }
.nav__item--cta > a.btn:hover { color: var(--black); }
.nav__item--sub { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px 0; }

@media (min-width: 1024px) {
  .nav__sub {
    position: absolute; top: 100%; left: -16px; min-width: 260px; background: var(--white); border: 1px solid var(--line);
    border-radius: 8px; box-shadow: 0 12px 30px rgba(18, 20, 23, 0.14); visibility: hidden; opacity: 0; transform: translateY(6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { visibility: visible; opacity: 1; transform: none; }
  .nav__sub a { display: block; padding: 10px 18px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--black); }
  .nav__sub a:hover { background: var(--gray); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .nav__sub { transition: none; transform: none; } }

@media (max-width: 1023px) {
  .site-header__inner { min-height: 72px; }
  .js .nav__toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line);
    border-radius: 6px; background: var(--white); color: var(--black); font: 700 15px/1 var(--head); cursor: pointer;
  }
  .nav__toggle .icon { width: 22px; height: 22px; }
  .js .nav__list { display: none; }
  .nav[data-open] .nav__list, .no-js .nav__list {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 24px 20px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(18, 20, 23, 0.12);
  }
  .no-js .nav__list { position: static; box-shadow: none; padding: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item > a { display: flex; min-height: 52px; padding: 14px 0; font-size: 17px; }
  .nav__item > a .icon { display: none; }
  .nav__sub { padding: 0 0 10px 14px; }
  .nav__sub a { display: flex; align-items: center; min-height: 44px; font: 600 16px/1.2 var(--head); text-decoration: none; color: var(--ink); }
  .nav__item--cta { border-bottom: 0; padding-top: 14px; }
  .nav__item--cta > a.btn { display: flex; width: 100%; min-height: 52px; }
}

/* Hero */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10, 12, 15, 0.86) 0%, rgba(10, 12, 15, 0.67) 48%, rgba(10, 12, 15, 0.35) 100%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero--plain .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 56px; }
.hero--plain .hero__text { max-width: 800px; } /* "Thanks, Your Request Is In" at 54 px is 760 px in Montserrat and 767 in its fallback: one line in both */
.hero__title { color: var(--white); font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; margin-bottom: 14px; }
.hero__tag { font: 700 22px/1.3 var(--head); color: var(--gold); margin: 0 0 18px; }
.hero__lead { font-size: 19px; color: #e7eaee; max-width: 560px; margin: 0 0 24px; }
.hero__lead a { color: var(--white); }
.hero__updated { color: #c9ced4; font-size: 15px; margin: 0; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.hero__checks { margin: 0; }
.hero__checks li { color: var(--white); font-weight: 600; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; color: #c9ced4; }
.crumbs a { color: #e7eaee; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #8c939b; }

/* Check lists: a gold check before each item (hero, panels, page content) */
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 24px; height: 24px; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sec .checks li::before, .prose .checks li::before { background: var(--gold-dark); }
.panel .checks li::before { background: var(--gold); }

/* The estimate card */
.form-card { position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); padding: 30px 30px 26px; scroll-margin-top: 100px; }
.form-card__title { font-size: 28px; text-align: center; margin: 0 0 4px; }
.form-card__sub { text-align: center; color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.form-card__fine { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.estimate fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.estimate__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.steps-bar { display: flex; margin: 0 0 18px; padding: 0; list-style: none; }
.steps-bar__item { flex: 1; padding-bottom: 8px; border-bottom: 3px solid var(--line); text-align: center; font: 700 13px/1.2 var(--head); color: var(--muted); }
.steps-bar__item[aria-current="step"] { color: var(--black); border-color: var(--gold); }
.no-js .steps-bar { display: none; }
.estimate__legend { display: block; width: 100%; margin: 0 0 12px; padding: 0; font-weight: 700; font-size: 17px; color: var(--black); }
.estimate__step:focus { outline: none; }
.estimate__step:focus-visible .estimate__legend { outline: 3px solid var(--black); outline-offset: 4px; }
.js .estimate__step { display: none; }
.js .estimate__step.is-current { display: block; }
.no-js .estimate__step + .estimate__step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.estimate__resume { margin: 0 0 12px; padding: 10px 12px; border-radius: 6px; background: var(--gold-wash); color: var(--ink); font-size: 15px; }
.estimate__summary { margin: 0 0 16px; padding: 12px 14px; border: 2px solid var(--error); border-radius: 6px; color: var(--error); font-weight: 600; }
.estimate__summary:focus { outline: none; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.tile { position: relative; display: flex; }
.tile:nth-child(7) { grid-column: 1 / -1; }
.tile input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.tile__label {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--line);
  border-radius: 8px; background: var(--white); font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink);
}
.tile__label .icon { color: var(--gold-dark); }
.tile input:hover + .tile__label { border-color: #aeb4bb; }
.tile input:checked + .tile__label { border-color: var(--black); background: var(--gold-wash); }
.tile input:checked + .tile__label .icon { color: var(--black); }
.tile input:focus-visible + .tile__label { outline: 3px solid var(--black); outline-offset: 2px; }

.field { margin-bottom: 16px; }
.field label, .field__label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__hint, .field__note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.estimate input[type="text"], .estimate input[type="tel"], .estimate input[type="email"], .estimate textarea, .erasure input[type="text"],
.estimator input[type="text"] {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--field); border-radius: 8px;
  background: var(--white); color: var(--ink); font: 16px/1.4 var(--body);
}
.estimate textarea { min-height: 96px; resize: vertical; }
.estimate input:hover, .estimate textarea:hover, .erasure input:hover, .estimator input[type="text"]:hover { border-color: var(--muted); }
.estimate input:focus, .estimate textarea:focus, .erasure input:focus, .estimator input[type="text"]:focus { border-color: var(--black); }
/* Invalid fields: as specific as the field rule above, and later, so the Error Red border always shows */
.estimate input[aria-invalid="true"], .estimate textarea[aria-invalid="true"], .erasure input[aria-invalid="true"],
.estimator input[aria-invalid="true"] { border-color: var(--error); }
.field__error { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; color: var(--error); font-weight: 600; font-size: 15px; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--error); color: var(--white); font: 800 13px/1 var(--head); }
.field__error[hidden] { display: none; }

/* Photo picker: the native input stays focusable but invisible; the label is the button, the status line says what was picked */
.file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.file__input { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: 0; }
.field .file__button { display: inline-flex; margin: 0; min-height: 48px; padding: 10px 16px; font-size: 14px; }
.file__input:focus-visible + .file__button { outline: 3px solid var(--black); outline-offset: 2px; }
.file__input:hover + .file__button { border-color: var(--black); }
.file__status { margin: 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

.estimate__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.estimate__nav .btn--light { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }
.estimate__nav .btn--gold { flex: 1 1 14rem; }
.estimate__privacy { margin: 14px 0 0; font-size: 14px; text-align: center; }
.estimate__privacy a { color: var(--muted); }

/* Benefit strip */
.benefits { background: var(--black); color: #d7dbe0; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 auto; padding-top: 30px; padding-bottom: 30px; list-style: none; }
.benefit { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.benefit .icon { width: 32px; height: 32px; color: var(--gold); }
.benefit strong { display: block; margin-bottom: 2px; color: var(--white); font: 700 16px/1.3 var(--head); }

/* Sections */
.sec { padding: 84px 0; }
.sec--gray { background: var(--gray); }
.sec--gray + .sec--gray, .sec:not(.sec--gray) + .sec:not(.sec--gray) { border-top: 1px solid var(--line); } /* two neighbours on the same ground */
.sec--tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head p { color: var(--muted); }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0 0 16px; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: var(--radius); background: var(--gold-tint); color: var(--black); flex: none; }
.card__icon .icon { width: 30px; height: 30px; }
.more { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 2px solid var(--gold); font: 700 15px/1.3 var(--head); text-decoration: none; color: var(--black); }
.more .icon { width: 18px; height: 18px; }
.more:hover { border-bottom-color: var(--black); }

.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.link-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.link-card .card__icon { width: 44px; height: 44px; margin: 0; }
.link-card .card__icon .icon { width: 24px; height: 24px; }
.link-card__title { flex: 1; font: 700 16px/1.25 var(--head); color: var(--black); }
.link-card__arrow { width: 18px; height: 18px; color: var(--muted); }
.link-card:hover { border-color: var(--black); }
.link-card:hover .link-card__arrow { color: var(--black); }
@media (min-width: 641px) { /* five across: icon above the title, arrow in the corner, so titles keep their width */
  .link-card { position: relative; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 20px 22px; }
  .link-card__arrow { position: absolute; top: 22px; right: 20px; }
}

/* How it works */
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.how__step { position: relative; padding: 34px 28px 28px; border-radius: var(--radius); background: var(--white); }
.how__num { position: absolute; top: -22px; left: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--black); font: 800 20px/44px var(--head); text-align: center; }
.how__step p { color: var(--muted); margin: 0; }

/* Two columns: text beside a dark panel, a photo or a second text column */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split__text > :last-child { margin-bottom: 0; }
.split__text p { color: var(--muted); }
.split__text .btn { margin-top: 8px; }
.split__text p + h3 { margin-top: 28px; } /* question and answer pairs */
.split__text h2 + h3 { margin-top: 22px; }
.split__media { margin: 0; } /* one work-type photo beside the text; under the text on phones */
.split__media img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--line); }
.panel { padding: 38px 36px; border-radius: var(--radius); background: var(--black); color: #e7eaee; }
.panel h3 { color: var(--white); font-size: 22px; }
.panel p { color: #e7eaee; }
.panel .checks { margin: 18px 0 0; }
.panel > :last-child { margin-bottom: 0; }

/* Running text (about, privacy, cost notes) */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--ink); }
.prose ul:not(.checks), .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }

/* Price table */
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 16px; }
.table-wrap caption { padding: 14px 18px 0; text-align: left; font-size: 14px; color: var(--muted); caption-side: bottom; padding-bottom: 14px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--black); color: var(--white); font: 700 15px/1.3 var(--head); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { font-weight: 700; }
@media (max-width: 520px) { .table-wrap table { min-width: 0; } .table-wrap th, .table-wrap td { padding: 12px 14px; } } /* two columns fit a phone */

/* Cost estimator (cost, driveway and patio pages): a white card, shown by the script; the same fields and tiles as
   the estimate form, the result in the heading face. Two finishes (patio) take two tiles a row. */
.estimator { margin: 32px 0 24px; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.estimator h3 { margin-top: 0; }
.estimator__size { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.estimator fieldset { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.estimator .tiles { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.estimator .tiles--2 { grid-template-columns: repeat(2, 1fr); }
.estimator__check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; }
.estimator__check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--black); }
.estimator__result { margin: 4px 0 18px; font: 800 22px/1.3 var(--head); color: var(--black); }
.estimator__result.is-empty { font: 400 16px/1.5 var(--body); color: var(--muted); }
.estimator__cta { margin: 0; }
.estimator__size + .field__error { margin: -4px 0 16px; }
@media (max-width: 640px) { .estimator { padding: 26px 22px; } .estimator .tiles { grid-template-columns: 1fr; } }

/* Service area */
.towns { columns: 4; column-gap: 32px; max-width: 960px; margin: 0 auto; padding: 0; list-style: none; }
.towns li { display: flex; align-items: center; gap: 8px; padding: 6px 0; break-inside: avoid; font-weight: 600; }
.towns .icon { width: 18px; height: 18px; color: var(--gold-dark); }

/* Questions */
.faq__list { max-width: 840px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 20px 0; list-style: none; cursor: pointer; font: 700 18px/1.35 var(--head); color: var(--black); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform 0.2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 0 20px; color: var(--muted); }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a a { color: var(--black); }
@media (prefers-reduced-motion: reduce) { .faq__item summary .icon { transition: none; } }

/* Closing band */
.cta-band { padding: 64px 0; background: var(--gold); color: var(--black); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .btn { flex: none; }

/* Erasure form (privacy page) */
.erasure { max-width: 34rem; margin: 16px 0 24px; }
.erasure__done { margin-top: 12px; font-weight: 600; }

/* Footer */
.site-footer { padding: 64px 0 0; background: var(--black); color: #b9bfc6; font-size: 15px; }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.logo--footer .logo__name { color: var(--white); }
.logo--footer .logo__line { color: #9aa1a9; }
.logo--footer .logo__mark { box-shadow: inset 0 0 0 1px #3a3f45; }
.site-footer__about { max-width: 360px; margin: 18px 0 0; }
.site-footer__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--white); font: 700 18px/1.2 var(--head); }
.site-footer__phone .icon { color: var(--gold); }
.site-footer__title { margin: 0 0 16px; color: var(--white); font: 700 16px/1.2 var(--head); letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer__nav ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__bottom { margin: 48px 0 0; padding: 22px 0; border-top: 1px solid #2a2e33; font-size: 14px; }

/* Phone bottom bar */
.mbar { display: none; }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(10, 12, 15, 0.84) 0%, rgba(10, 12, 15, 0.74) 100%); }
  .benefits__grid, .cards--3, .how__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .towns { columns: 2; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__id { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar__item--end { display: none; }
  .topbar__inner { min-height: 36px; justify-content: center; }
  .site-header__inner { min-height: 64px; gap: 12px; }
  .logo { gap: 10px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__mark .icon { width: 24px; height: 24px; }
  .logo__name { font-size: 19px; }
  .logo__line { display: none; }
  .nav[data-open] .nav__list { max-height: calc(100vh - 64px); padding: 8px 16px 20px; }
  .hero__grid { padding-top: 24px; padding-bottom: 32px; gap: 22px; }
  .crumbs ol { margin-bottom: 10px; font-size: 13px; }
  .hero__title { font-size: 30px; margin-bottom: 8px; }
  .hero__tag { font-size: 15px; margin-bottom: 10px; }
  .hero__lead { font-size: 16px; margin-bottom: 12px; }
  .hero__checks { grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 14px; }
  .hero__checks li { padding-left: 26px; }
  .hero__checks li::before { width: 18px; height: 18px; }
  .hero__checks li:nth-child(2) { display: none; }
  .form-card { padding: 22px 16px 18px; }
  .form-card__title { font-size: 24px; }
  .form-card__sub { margin-bottom: 12px; }
  .steps-bar { margin-bottom: 14px; }
  .tiles { gap: 8px; }
  .tile__label { min-height: 50px; padding: 10px; gap: 8px; font-size: 14px; }
  .tile__label .icon { width: 22px; height: 22px; }
  .benefits__grid, .cards--3, .cards--2, .how__grid { grid-template-columns: 1fr; }
  .how__grid { gap: 40px; }
  .sec { padding: 60px 0; }
  .sec--tight { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .card { padding: 26px 22px; }
  .panel { padding: 30px 22px; }
  .faq__item summary { font-size: 17px; }
  .cta-band { padding: 52px 0; }
  .cta-band .btn { width: 100%; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .hero__buttons .btn { flex: 1 1 100%; }
}

/* Phone and tablet bottom bar: slides in once the hero form has scrolled away (at once on pages without the form) */
@media (max-width: 1023px) {
  body:has(.mbar) { padding-bottom: 76px; }
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--black); transform: translateY(110%); visibility: hidden; transition: transform 0.2s, visibility 0.2s;
  }
  .mbar.is-visible, .no-js .mbar { transform: none; visibility: visible; }
  .mbar .btn { flex: 1; min-height: 52px; padding: 14px; }
  .mbar__call { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; border-color: #3a3f45; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .mbar { transition: none; } }
