/* DuPont Drywall Repair — stylesheet
   Prefix: rst-. Short compact names.
   Syllable legend for structural classes:
     rk  = width wrapper (max 1140px)      vo  = page section band
     ta  = heading column (left, ~30%)     lun = content column (right)
     c2  = two-column section grid         dax = card grid (subgrid rows)
     bex = card                            mo  = services mega panel
     hu  = hero                            pe  = page header
     zi  = footer slab                     nu  = mobile call bar
     ko  = button                          fi/fl = form / form field
     sa  = small print                     ul  = numbered steps
     qe  = question list                   ow  = texture swatch figure
     ip  = data table                      ar  = arched photo
     tri = triage columns                  fx  = local fact list
     cb  = call box                        ct  = contact layout
     tw  = town list                       cl  = closing band
*/
:root {
  --rst-tx: #2A1F1E;
  --rst-bg: #FEF8F7;
  --rst-pr: #9F6254;
  --rst-pr-d: #7E4A3E;
  --rst-se: #F9E7E2;
  --rst-ac: #0A7A6F;
  --rst-on: #FFFFFF;
  --rst-ink: #1C1413;
  --rst-line: #E7D3CD;
  --rst-mut: #5E4B47;
  --rst-hf: "Merriweather", Georgia, "Times New Roman", serif;
  --rst-bf: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--rst-bg); color: var(--rst-tx);
  font-family: var(--rst-bf); font-size: 1.0625rem; line-height: 1.65;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--rst-pr-d); text-underline-offset: 3px; }
a:hover { color: var(--rst-ac); }
h1, h2, h3 { font-family: var(--rst-hf); line-height: 1.25; color: var(--rst-ink); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.rst-skip { position: absolute; left: -9999px; }
.rst-skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 50; }
.rst-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* rk: wrapper */
.rst-rk { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* icons */
.rst-ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.rst-ic-s { width: 1em; height: 1em; }

/* ko: buttons */
.rst-ko {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  background: var(--rst-pr); color: var(--rst-on); border: 2px solid var(--rst-pr);
  font: 700 1rem/1.2 var(--rst-bf); padding: .8rem 1.25rem; border-radius: 6px;
  text-decoration: none; cursor: pointer;
}
.rst-ko:hover { background: var(--rst-pr-d); border-color: var(--rst-pr-d); color: var(--rst-on); }
.rst-ko-alt { background: var(--rst-ac); border-color: var(--rst-ac); }
.rst-ko-alt:hover { background: #075F56; border-color: #075F56; }
.rst-ko-ghost { background: transparent; color: var(--rst-pr-d); }
.rst-ko-ghost:hover { background: var(--rst-se); color: var(--rst-ink); }
.rst-ko-sm { padding: .5rem .9rem; font-size: .92rem; }
.rst-sa { font-size: .9rem; color: var(--rst-mut); }

/* pe: header */
.rst-pe { background: var(--rst-bg); border-bottom: 1px solid var(--rst-line); position: relative; z-index: 20; }
.rst-pe-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding-top: .8rem; padding-bottom: .5rem; }
.rst-brand { font: 900 1.15rem/1.2 var(--rst-hf); color: var(--rst-ink); text-decoration: none; }
.rst-pe-call { display: flex; flex-direction: column; align-items: flex-end; }
.rst-tel { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; font-size: 1.1rem; color: var(--rst-ink); text-decoration: none; }
.rst-hrs { font-size: .82rem; color: var(--rst-mut); }
.rst-nav { position: static; }
.rst-nav-l { list-style: none; margin: 0; padding: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.rst-nav-l > li > a, .rst-mo summary { color: var(--rst-tx); text-decoration: none; font-weight: 700; font-size: .95rem; padding: .3rem 0; display: inline-flex; align-items: center; gap: .25rem; cursor: pointer; }
.rst-nav-l > li > a:hover, .rst-mo summary:hover { color: var(--rst-pr-d); }
.rst-mo summary { list-style: none; }
.rst-mo summary::-webkit-details-marker { display: none; }
.rst-mo[open] summary .rst-ic { transform: rotate(180deg); }
/* mo: wide services panel */
.rst-mo-p {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--rst-pr); border-bottom: 1px solid var(--rst-line);
  box-shadow: 0 14px 30px rgba(42, 31, 30, .12);
}
.rst-mo-g { list-style: none; margin: 0 auto; max-width: 1140px; padding: 1.25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rst-mo-g a { display: block; padding: .75rem; border-radius: 6px; text-decoration: none; color: var(--rst-tx); }
.rst-mo-g a:hover { background: var(--rst-se); }
.rst-mn { display: block; font-weight: 700; color: var(--rst-ink); }
.rst-md { display: block; font-size: .9rem; color: var(--rst-mut); }

/* hu: hero, full-bleed photo with dark overlay */
.rst-hu { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.rst-hu picture, .rst-hu-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rst-hu::after { content: ""; position: absolute; inset: 0; background: rgba(28, 18, 16, .7); z-index: -1; }
.rst-hu-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; align-items: start; }
.rst-hu h1 { color: #fff; }
.rst-hu-l { font-size: 1.2rem; max-width: 34em; }
.rst-hu-b { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.rst-hu-h { display: flex; align-items: center; gap: .4rem; margin: 0 0 .4rem; font-weight: 700; }
.rst-hu .rst-sa { color: #F3E6E2; }
.rst-hu-f { background: var(--rst-bg); color: var(--rst-tx); border-radius: 10px; padding: 1.4rem; }
.rst-hu-f .rst-sa { color: var(--rst-mut); }
.rst-hu-ft { font: 700 1.15rem/1.3 var(--rst-hf); color: var(--rst-ink); margin-bottom: .8rem; }

/* fi: form */
.rst-fi-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.rst-fl { display: flex; flex-direction: column; gap: .2rem; font-weight: 700; font-size: .9rem; }
.rst-fl-w { grid-column: 1 / -1; }
.rst-fl small { font-weight: 400; color: var(--rst-mut); }
.rst-fl input, .rst-fl select, .rst-fl textarea {
  font: 400 1rem/1.4 var(--rst-bf); color: var(--rst-tx); background: #fff;
  border: 1.5px solid #CDB5AE; border-radius: 6px; padding: .55rem .65rem; width: 100%;
}
.rst-fl input:focus, .rst-fl select:focus, .rst-fl textarea:focus { outline: 2px solid var(--rst-ac); outline-offset: 1px; }
.rst-fi .rst-ko { width: 100%; }
.rst-cons { margin: .7rem 0 .3rem; }
.rst-mic { margin: 0 0 .4rem; }

/* vo + c2: offset-heading sections */
.rst-vo { padding: 3.5rem 0; }
.rst-vo-t { background: var(--rst-se); }
.rst-c2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 2.5rem; }
.rst-ta h2 { position: sticky; top: 1rem; }
.rst-k { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rst-ac); font-weight: 700; margin-bottom: .4rem; }
.rst-ta-n { font: 700 1.2rem/1.3 var(--rst-hf); color: var(--rst-ink); }
.rst-lun > :last-child { margin-bottom: 0; }
.rst-top { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--rst-line); }

/* dl lists */
.rst-dl { margin: 0 0 1.2rem; display: grid; gap: .9rem; }
.rst-dl > div { border-left: 3px solid var(--rst-pr); padding-left: 1rem; }
.rst-dl dt { font-weight: 700; color: var(--rst-ink); }
.rst-dl dd { margin: .15rem 0 0; }
.rst-dl-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ul: numbered steps */
.rst-ul { list-style: none; counter-reset: rst-s; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .8rem; }
.rst-ul li { counter-increment: rst-s; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: .8rem; }
.rst-ul li::before { content: counter(rst-s); grid-row: 1 / span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--rst-pr); color: #fff; font-weight: 700; display: grid; place-items: center; }
.rst-ul strong { color: var(--rst-ink); }

/* dax + bex: cards on subgrid with bottom action bar */
.rst-dax { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin: 1rem 0; }
.rst-dax-1 { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
.rst-bex {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: .5rem;
  background: #fff; border: 1px solid var(--rst-line); border-radius: 8px; overflow: hidden;
}
.rst-bex > * { margin: 0; padding: 0 1.1rem; }
.rst-bex-i { padding-top: 1.1rem; color: var(--rst-ac); }
.rst-bex-i .rst-ic { width: 1.8rem; height: 1.8rem; }
.rst-bex-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: var(--rst-pr); color: var(--rst-on); font-weight: 700; text-decoration: none;
  padding: .7rem 1.1rem; margin-top: .5rem; align-self: end;
}
.rst-bex-bar:hover { background: var(--rst-pr-d); color: var(--rst-on); }

/* tri: now-or-later */
.rst-tri { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.rst-tri-c { background: #fff; border: 1px solid var(--rst-line); border-radius: 8px; padding: 1.1rem; }
.rst-tri-now { border-top: 4px solid var(--rst-pr); }
.rst-tri-h { display: flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--rst-ink); }
.rst-tri .rst-dl > div { border-left-color: var(--rst-line); }

/* ip: data table */
.rst-ip-w { overflow-x: auto; margin: 1rem 0; }
.rst-ip { border-collapse: collapse; width: 100%; font-size: .95rem; }
.rst-ip caption { text-align: left; font-weight: 700; margin-bottom: .5rem; color: var(--rst-ink); }
.rst-ip th, .rst-ip td { padding: .45rem .6rem; border-bottom: 1px solid var(--rst-line); text-align: left; }
.rst-ip td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; width: 5rem; }
.rst-ip-v { width: 50%; }
.rst-ip-bar { display: block; height: .8rem; background: var(--rst-ac); border-radius: 2px; min-width: 2px; }

/* fx: local facts */
.rst-fx { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.rst-fx li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .7rem; }
.rst-fx .rst-ic { color: var(--rst-ac); width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.rst-fx p { margin: .1rem 0 0; }

/* qe: questions */
.rst-qe { margin: 0; display: grid; gap: 1.1rem; }
.rst-qe dt { font-weight: 700; color: var(--rst-ink); }
.rst-qe dd { margin: .2rem 0 0; }
.rst-qe > div { padding-bottom: 1rem; border-bottom: 1px solid var(--rst-line); }

/* ow: texture swatches */
.rst-ow { margin: 1rem 0; }
.rst-ow-s { overflow-x: auto; }
.rst-ow svg { width: 100%; min-width: 520px; display: block; }
.rst-sw-l { font: 700 13px var(--rst-bf); fill: var(--rst-ink); }
.rst-sw-n { font: 400 11px var(--rst-bf); fill: var(--rst-mut); }
.rst-ow figcaption { font-size: .9rem; color: var(--rst-mut); margin-top: .5rem; }

/* cb: call box */
.rst-cb { padding: 0 0 .5rem; }
.rst-cb-i { background: var(--rst-se); border-left: 4px solid var(--rst-ac); border-radius: 6px; padding: 1rem 1.2rem; margin: 0 0 1rem; }
.rst-cb-i p { margin: 0; }

/* rel */
.rst-rel { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ct: contact layout */
.rst-ct { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; align-items: start; }
.rst-ct-f { background: #fff; border: 1px solid var(--rst-line); border-radius: 10px; padding: 1.4rem; }
.rst-ct-call { margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rst-line); }
.rst-ct-call .rst-hu-h { margin-top: .6rem; }
/* ar: arched-top photo */
.rst-ar { margin: 0 0 1.5rem; }
.rst-ar img { display: block; width: 100%; border-radius: 50% 50% 6px 6px / 34% 34% 6px 6px; }
.rst-ar figcaption { font-size: .9rem; color: var(--rst-mut); margin-top: .5rem; }

/* tw: towns */
.rst-tw { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 1.1rem; }
.rst-tw li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .7rem; }
.rst-tw .rst-ic { color: var(--rst-pr); width: 1.5rem; height: 1.5rem; margin-top: .2rem; }
.rst-tw-h { font-size: 1.1rem; margin: 0 0 .2rem; }
.rst-tw p { margin: 0; }

/* cl: closing band */
.rst-cl { background: var(--rst-ink); color: #F6EAE6; }
.rst-cl h2 { color: #fff; }
.rst-cl .rst-k { color: #8FD6CD; }
.rst-cl .rst-sa { color: #E3CFC9; }
.rst-cl-b { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 .8rem; }
.rst-cl .rst-ko-ghost { color: #fff; border-color: #fff; }
.rst-cl .rst-ko-ghost:hover { background: #fff; color: var(--rst-ink); }
.rst-cl a:not(.rst-ko) { color: #F3C9BD; }

/* zi: dark slab footer with towns column */
.rst-zi { background: #241A19; color: #E9DAD6; font-size: .92rem; padding: 3rem 0 0; }
.rst-zi a { color: #F3D3CA; text-decoration: none; }
.rst-zi a:hover { text-decoration: underline; color: #fff; }
.rst-zi ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rst-zi-g { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.rst-zi-n { font: 900 1.1rem/1.3 var(--rst-hf); color: #fff; margin-bottom: .3rem; }
.rst-zi-tg { font-style: italic; color: #CDB9B3; }
.rst-zi-h { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.rst-zi-tel { font-weight: 700; font-size: 1.05rem; }
.rst-zi-end { border-top: 1px solid #45302D; margin-top: 2.5rem; padding-top: 1.2rem; padding-bottom: 1.5rem; }
.rst-zi-end p { margin: 0 0 .5rem; }

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

@media (max-width: 900px) {
  .rst-hu-g, .rst-ct { grid-template-columns: minmax(0, 1fr); }
  .rst-mo-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rst-zi-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { padding-bottom: 4.2rem; }
  .rst-pe-row { grid-template-columns: minmax(0, 1fr) auto; }
  .rst-pe-cta { display: none; }
  .rst-brand { font-size: 1rem; }
  .rst-tel { font-size: 1rem; }
  .rst-c2 { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .rst-ta h2 { position: static; }
  .rst-vo { padding: 2.5rem 0; }
  .rst-hu-g { padding-top: 2.2rem; padding-bottom: 2.2rem; gap: 1.5rem; }
  .rst-fi-g, .rst-dl-2, .rst-tri { grid-template-columns: minmax(0, 1fr); }
  .rst-mo-g { grid-template-columns: minmax(0, 1fr); padding: .75rem 1rem; gap: .25rem; }
  .rst-zi-g { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .rst-nu {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--rst-ink); border-top: 2px solid var(--rst-pr);
  }
  .rst-nu a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem .5rem; color: #fff; font-weight: 700; text-decoration: none; font-size: .95rem; text-align: center; }
  .rst-nu-c { background: var(--rst-pr); }
}
@media (max-width: 380px) {
  .rst-pe-row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .rst-pe-call { align-items: flex-start; }
}
