/* New Providence Drywall Repair: stylesheet (SMACSS: base / layout / module / state).
   Syllable legend for structural names:
     vo  = page-width wrapper        rk  = wrapping flex row
     lun = flexible column           mi  = vertical stack with gaps
     ta  = half-tinted band          bex = outlined square box
     zo  = slide-in menu drawer      ke  = bottom call strip (small screens)
     sul = hero two-up               nim = figure on a light mat
*/

/* -- part one: element defaults and color tokens -- */
:root {
  --pl-ink: #F1EDE9;
  --pl-ground: #1C1711;
  --pl-sand: #BCA486;
  --pl-dusk: #2E271E;
  --pl-rose: #FEAFD6;
  --pl-onsand: #1C1711;
  --pl-quiet: #CFC6BC;
  --pl-line: #5A4E40;
  --pl-mat: #EFE9E1;
  --pl-head: "Bitter", Georgia, "Times New Roman", serif;
  --pl-body: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pl-ground);
  color: var(--pl-ink);
  font-family: var(--pl-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}
h1, h2, h3 { font-family: var(--pl-head); line-height: 1.22; margin: 0 0 .6em; }
h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-weight: 600; font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--pl-sand); text-underline-offset: 3px; }
a:hover { color: var(--pl-rose); }
img, svg { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--pl-rose); outline-offset: 3px; }
.pl-skip { position: absolute; left: -9999px; }
.pl-skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--pl-sand); color: var(--pl-onsand); padding: 8px 12px; }

/* -- part two: page skeleton, pl-l- names -- */
.pl-l-vo { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.pl-l-rk { display: flex; flex-wrap: wrap; gap: 28px; }
.pl-l-lun { flex: 1 1 300px; min-width: 0; }
.pl-l-lun-wide { flex: 2 1 420px; min-width: 0; }
.pl-l-mi { display: flex; flex-direction: column; gap: 14px; }
.pl-l-sul { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pl-l-sul > .pl-l-lun { flex: 1 1 340px; }
.pl-l-read { max-width: 760px; }
main { display: block; }

/* -- part three: reusable pieces, pl-m- names -- */

/* header */
.pl-m-hed { position: sticky; top: 0; z-index: 40; background: rgba(28, 23, 17, .96); border-bottom: 1px solid var(--pl-line); }
.pl-m-hed .pl-l-vo { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.pl-m-mark { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pl-ink); min-width: 0; }
.pl-m-mark svg { flex: 0 0 34px; width: 34px; height: 34px; }
.pl-m-mark b { display: block; font-family: var(--pl-head); font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.pl-m-mark small { display: block; font-size: .78rem; color: var(--pl-quiet); letter-spacing: .06em; text-transform: uppercase; }
.pl-m-hedtel { white-space: nowrap; text-align: right; line-height: 1.25; }
.pl-m-hedtel a { font-weight: 600; text-decoration: none; color: var(--pl-ink); font-size: .98rem; }
.pl-m-hedtel span { color: var(--pl-quiet); font-weight: 400; font-size: .82rem; display: block; line-height: 1.1; }

/* drawer (details/summary; works without script) */
.pl-m-zo { position: static; }
.pl-m-zo > summary {
  list-style: none; cursor: pointer; position: relative; z-index: 60;
  border: 1px solid var(--pl-sand); color: var(--pl-ink); padding: 7px 14px; font-weight: 600; font-size: .95rem;
}
.pl-m-zo > summary::-webkit-details-marker { display: none; }
.pl-m-zo > summary .pl-m-zo-x { display: none; }
.pl-m-zo[open] > summary .pl-m-zo-x { display: inline; }
.pl-m-zo[open] > summary .pl-m-zo-m { display: none; }
.pl-m-zo-pane {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(400px, 100%); background: var(--pl-dusk); border-left: 2px solid var(--pl-sand);
  padding: 92px 30px 30px; overflow-y: auto;
}
.pl-m-zo-pane ul { list-style: none; margin: 0; padding: 0; }
.pl-m-zo-pane li { border-bottom: 1px solid var(--pl-line); }
.pl-m-zo-pane a { display: block; padding: 13px 0; color: var(--pl-ink); text-decoration: none; font-family: var(--pl-head); font-weight: 600; font-size: 1.15rem; }
.pl-m-zo-pane a:hover { color: var(--pl-rose); }
.pl-m-zo-pane p { margin-top: 22px; font-size: .9rem; color: var(--pl-quiet); }

/* half-tinted bands */
.pl-m-ta { position: relative; padding: 76px 0; isolation: isolate; }
.pl-m-ta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%;
  background: var(--pl-dusk); z-index: -1;
}
.pl-m-ta.pl-is-alt::before { left: auto; right: 0; }
.pl-m-ta-lede { max-width: 700px; color: var(--pl-quiet); font-size: 1.08rem; }

/* hero */
.pl-m-hero { padding: 56px 0 64px; }
.pl-m-hero-line { font-size: 1.16rem; color: var(--pl-quiet); max-width: 580px; }
.pl-m-chk { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.pl-m-chk li { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.pl-m-chk-no, .pl-m-chk-yes { display: inline-flex; align-items: center; gap: 8px; }
.pl-m-chk-no { color: var(--pl-ink); font-weight: 600; }
.pl-m-chk-yes { color: var(--pl-quiet); }
.pl-m-chk svg { width: 20px; height: 20px; flex: 0 0 20px; }
.pl-m-hours { font-size: .95rem; color: var(--pl-quiet); margin: 10px 0 0; }
.pl-m-alts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }

/* buttons */
.pl-m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: 2px solid var(--pl-sand);
  background: var(--pl-sand); color: var(--pl-onsand); font-weight: 600; text-decoration: none; font-size: 1.05rem;
  font-family: var(--pl-body); cursor: pointer;
}
.pl-m-btn:hover { background: var(--pl-rose); border-color: var(--pl-rose); color: var(--pl-onsand); }
.pl-m-btn svg { width: 20px; height: 20px; }
.pl-m-btn-two { background: transparent; color: var(--pl-rose); border-color: var(--pl-rose); }
.pl-m-btn-two:hover { background: var(--pl-rose); color: var(--pl-onsand); }
.pl-m-txtlink { font-weight: 600; color: var(--pl-sand); display: inline-flex; align-items: center; gap: 8px; }
.pl-m-ico-s { width: 20px; height: 20px; flex: 0 0 20px; }
.pl-m-micro { display: block; font-size: .9rem; color: var(--pl-quiet); margin: 8px 0 0; max-width: 460px; }

/* form */
.pl-m-frm { border: 2px solid var(--pl-sand); padding: 26px 24px; background: var(--pl-ground); }
.pl-m-frm h2 { font-size: 1.4rem; }
.pl-m-frm form { display: flex; flex-wrap: wrap; gap: 14px; }
.pl-m-frm .pl-m-fld { flex: 1 1 210px; display: flex; flex-direction: column; gap: 4px; }
.pl-m-frm .pl-m-fld-full { flex-basis: 100%; }
.pl-m-frm label { font-size: .9rem; font-weight: 500; }
.pl-m-frm input, .pl-m-frm select, .pl-m-frm textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--pl-ink); background: var(--pl-dusk);
  border: 1px solid var(--pl-line); padding: 11px 12px; border-radius: 0;
}
.pl-m-frm textarea { min-height: 110px; resize: vertical; }
.pl-m-frm input:focus, .pl-m-frm select:focus, .pl-m-frm textarea:focus { border-color: var(--pl-rose); outline: none; }
.pl-m-frm .pl-m-btn { width: 100%; }
.pl-m-consent { font-size: .86rem; color: var(--pl-quiet); margin: 12px 0 0; }

/* outlined square boxes */
.pl-m-bex { border: 2px solid var(--pl-line); padding: 24px; background: none; }
.pl-m-bex h3 { margin-top: 12px; }
.pl-m-bex-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.pl-m-bex-row > .pl-m-bex { flex: 1 1 280px; }
.pl-m-bex:hover { border-color: var(--pl-sand); }
.pl-m-ico { width: 40px; height: 40px; color: var(--pl-rose); }

/* figure on a light mat */
.pl-m-nim { margin: 0; background: var(--pl-mat); padding: 12px 12px 0; max-width: 100%; }
.pl-m-nim img { display: block; width: 100%; height: auto; }
.pl-m-nim figcaption { color: var(--pl-onsand); font-size: .88rem; padding: 12px 4px 16px; line-height: 1.4; }

/* timeline */
.pl-m-tl { list-style: none; padding: 0; margin: 10px 0 0; position: relative; }
.pl-m-tl::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: var(--pl-line); }
.pl-m-tl li { position: relative; padding: 0 0 22px 56px; }
.pl-m-tl-dot {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border: 2px solid var(--pl-rose);
  background: var(--pl-ground); color: var(--pl-rose); display: flex; align-items: center; justify-content: center;
  font-family: var(--pl-head); font-weight: 800;
}
.pl-m-tl h3 { margin-bottom: .25em; }
.pl-m-tl p { margin: 0; color: var(--pl-quiet); }

/* code-built figures */
.pl-m-viz { border: 1px solid var(--pl-line); padding: 18px; background: var(--pl-ground); }
.pl-m-viz svg { display: block; width: 100%; }
.pl-m-viz figcaption { font-size: .86rem; color: var(--pl-quiet); margin-top: 10px; }
.pl-m-viz { margin: 0; }

/* sorting lists (soon / later) */
.pl-m-sort { list-style: none; padding: 0; margin: 0; }
.pl-m-sort li { padding: 14px 0; border-top: 1px solid var(--pl-line); }
.pl-m-sort b { display: block; }
.pl-m-tag { display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--pl-rose); color: var(--pl-rose); padding: 2px 8px; margin-bottom: 10px; }

/* comparison table */
.pl-m-tbl { overflow-x: auto; margin-top: 24px; border: 1px solid var(--pl-line); }
.pl-m-tbl table { width: 100%; min-width: 560px; }
.pl-m-tbl th, .pl-m-tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--pl-line); font-size: .96rem; }
.pl-m-tbl thead th { font-family: var(--pl-head); color: var(--pl-sand); border-bottom: 2px solid var(--pl-sand); }
.pl-m-tbl tbody th { font-weight: 600; width: 22%; }

/* inner page head */
.pl-m-phead { padding: 54px 0 40px; border-bottom: 1px solid var(--pl-line); }
.pl-m-phead p { color: var(--pl-quiet); font-size: 1.1rem; max-width: 700px; }

/* prose blocks on inner pages */
.pl-m-prose h2 { margin-top: 1.6em; }
.pl-m-prose h2:first-child { margin-top: 0; }
.pl-m-prose ol li, .pl-m-prose ul li { margin-bottom: .5em; }
.pl-m-flag { border-left: 4px solid var(--pl-rose); padding: 16px 20px; background: var(--pl-dusk); margin: 26px 0; }
.pl-m-flag h2 { font-size: 1.3rem; margin-top: 0; }

/* questions */
.pl-m-qa details { border-top: 1px solid var(--pl-line); padding: 14px 0; }
.pl-m-qa summary { cursor: pointer; font-family: var(--pl-head); font-weight: 600; font-size: 1.1rem; }
.pl-m-qa details p { margin: 10px 0 0; color: var(--pl-quiet); }

/* side call box on inner pages */
.pl-m-side { border: 2px solid var(--pl-sand); padding: 22px; }
.pl-m-side h2 { font-size: 1.25rem; }

/* next links */
.pl-m-next { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pl-m-next a { display: inline-block; border: 1px solid var(--pl-line); padding: 9px 14px; text-decoration: none; }
.pl-m-next a:hover { border-color: var(--pl-rose); }

/* closing band */
.pl-m-close { padding: 80px 0; text-align: center; border-top: 2px solid var(--pl-sand); }
.pl-m-close p { color: var(--pl-quiet); max-width: 560px; margin-left: auto; margin-right: auto; }
.pl-m-close .pl-m-alts { justify-content: center; }
.pl-m-close .pl-m-micro { margin-left: auto; margin-right: auto; }

/* footer, centred stack */
.pl-m-foot { text-align: center; padding: 56px 0 40px; border-top: 1px solid var(--pl-line); font-size: .9rem; color: var(--pl-quiet); }
.pl-m-foot .pl-m-mark { justify-content: center; flex: none; display: inline-flex; }
.pl-m-foot-tel { display: block; margin: 14px 0 4px; font-family: var(--pl-head); font-size: 1.35rem; font-weight: 800; color: var(--pl-ink); text-decoration: none; }
.pl-m-foot ul { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.pl-m-foot ul a { color: var(--pl-ink); }
.pl-m-foot p { margin: 6px auto; max-width: 720px; }

/* bottom call strip */
.pl-m-ke { display: none; }

/* -- part four: switches, pl-is- names -- */
.pl-is-key { color: var(--pl-rose); }
.pl-is-hidden { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: 72px; font-size: 1rem; }
  .pl-m-ke {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--pl-ground); border-top: 2px solid var(--pl-sand);
  }
  .pl-m-ke a { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; min-height: 58px; font-weight: 600; text-decoration: none; font-size: .95rem; text-align: center; padding: 6px; }
  .pl-m-ke a:first-child { background: var(--pl-sand); color: var(--pl-onsand); }
  .pl-m-ke a + a { color: var(--pl-rose); }
  .pl-m-hed .pl-l-vo { gap: 10px; padding: 0 14px; }
  .pl-m-mark b { font-size: .92rem; }
  .pl-m-mark small { font-size: .68rem; }
  .pl-m-mark svg { flex-basis: 28px; width: 28px; height: 28px; }
  .pl-m-hedtel a { font-size: .88rem; }
  .pl-m-hedtel span { display: none; }
  .pl-m-zo > summary { padding: 6px 10px; font-size: .88rem; }
  .pl-m-ta { padding: 54px 0; }
  .pl-m-ta::before { width: 38%; }
  .pl-m-frm { padding: 20px 16px; }
  .pl-l-vo { padding: 0 16px; }
}
@media (max-width: 380px) {
  .pl-m-mark svg { display: none; }
}
