:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --charcoal: #1e242b;
  --charcoal-2: #2b333d;
  --ink: #161b21;
  --body: #374151;
  --muted: #5b6573;
  --copper: #c2410c;
  --copper-d: #9a3412;
  --copper-soft: #fff1eb;
  --teal: #0f766e;
  --teal-soft: #e6f6f4;
  --line: #dde1e6;
  --line-2: #c2c9d1;
  --head: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--body); background: var(--bg);
  font-size: 16px; line-height: 1.62; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--head); color: var(--ink); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.05rem, 3.8vw, 3.05rem); line-height: 1.07; }
h2 { font-size: clamp(1.48rem, 2.4vw, 2.02rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 22px; }
.num { font-variant-numeric: tabular-nums; }

/* Charcoal Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(30, 36, 43, 0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }
.logo {
  font-family: var(--head); font-weight: 800; font-size: 1.32rem;
  color: #ffffff; letter-spacing: -0.03em; white-space: nowrap; text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo span { color: #fb923c; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #d1d5db; font-size: 0.9rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: #ffffff; text-decoration: none; }
.hdr-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.menu-toggle {
  display: none; background: transparent; border: 1.5px solid rgba(255,255,255,0.28); border-radius: 7px;
  padding: 7px 11px; font-family: var(--sans); font-size: 0.84rem; font-weight: 700;
  color: #fff; cursor: pointer;
}
.mob-nav { display: none; background: var(--charcoal-2); border-top: 1px solid rgba(255,255,255,0.1); padding: 12px 22px 18px; }
.mob-nav.open { display: grid; gap: 4px; }
.mob-nav a { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: #f3f4f6; font-weight: 600; font-size: 0.95rem; }
.mob-nav a:last-child { border-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  font-family: var(--head); font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.15;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-p { background: var(--copper); color: #fff; }
.btn-p:hover { background: var(--copper-d); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #115e59; color: #fff; }
.btn-o-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.34); }
.btn-o-dark:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-o { background: #fff; color: var(--charcoal); border-color: var(--charcoal); }
.btn-o:hover { background: var(--bg); color: var(--charcoal); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 0.85rem; }

/* Bold Charcoal Architectural Hero */
.hero {
  background: radial-gradient(circle at 18% 15%, #2b3440 0%, #1e242b 62%, #171c22 100%);
  color: #e5e7eb;
  padding: clamp(32px, 4.8vw, 58px) 0 clamp(38px, 5.2vw, 62px);
  border-bottom: 4px solid var(--copper);
}
.hero h1 { color: #ffffff; }
.hero-split {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 34px 42px; align-items: start;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  background: rgba(251, 146, 60, 0.14); border: 1px solid rgba(251, 146, 60, 0.35);
  color: #fdba74; border-radius: 99px; font-size: 0.78rem; font-weight: 700;
  margin-bottom: 14px;
}
.hero-lead { font-size: clamp(1.03rem, 1.25vw, 1.15rem); color: #cbd5e1; max-width: 55ch; margin: 0 0 20px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.trust-line { font-size: 0.9rem; font-weight: 600; color: #9ca3af; margin: 0 0 22px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; list-style: none; padding: 0; margin: 0;
}
.hero-metrics li {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px; padding: 13px 15px;
}
.hero-metrics strong {
  display: block; font-family: var(--head); font-size: 1.24rem;
  font-weight: 800; color: #ffffff; line-height: 1.15;
}
.hero-metrics span { display: block; font-size: 0.81rem; color: #9ca3af; margin-top: 3px; }
.hero .crumbs { color: #9ca3af; }
.hero .crumbs a { color: #cbd5e1; }

/* Crisp Light Quote Card floating against dark hero */
.qcard {
  background: #ffffff; color: var(--body); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: clamp(18px, 2.5vw, 26px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}
.qcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 11px; }
.qcard-title { font-family: var(--head); font-size: 1.14rem; font-weight: 800; color: var(--charcoal); margin: 0; }
.qcard-step-lbl { font-size: 0.78rem; font-weight: 700; color: var(--copper); white-space: nowrap; }
.qprog { height: 5px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-bottom: 15px; }
.qprog i { display: block; height: 100%; background: var(--copper); transition: width .2s ease; }
.qstep { display: none; }
.qstep.on { display: block; }
.qstep-h { font-family: var(--head); font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.qstep-sub { font-size: 0.86rem; color: var(--muted); margin: 0 0 12px; }
.qpic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.qpic {
  text-align: left; padding: 0; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; overflow: hidden; cursor: pointer; font-family: var(--sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.qpic:hover, .qpic.picked { border-color: var(--copper); box-shadow: inset 0 0 0 1px var(--copper); }
.qpic-img { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.qpic-img img { width: 100%; height: 100%; object-fit: cover; }
.qpic-txt { display: block; padding: 7px 9px; font-weight: 700; font-size: 0.81rem; color: var(--ink); line-height: 1.24; }
.qpic-txt small { display: block; font-weight: 500; font-size: 0.74rem; color: var(--muted); margin-top: 2px; }
.qopts { display: grid; gap: 7px; }
.qopt {
  width: 100%; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 7px; background: #fff; cursor: pointer; font-family: var(--sans);
  font-size: 0.87rem; font-weight: 700; color: var(--ink);
}
.qopt:hover, .qopt.picked { border-color: var(--copper); background: var(--copper-soft); }
.qopt small { display: block; font-weight: 400; color: var(--muted); font-size: 0.79rem; margin-top: 2px; }
.qprice-banner {
  background: var(--teal-soft); border-left: 4px solid var(--teal); border-top: 1px solid #bde3df;
  border-right: 1px solid #bde3df; border-bottom: 1px solid #bde3df;
  border-radius: 0 8px 8px 0; padding: 13px 15px; margin-bottom: 14px;
}
.qprice-k { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.qprice-val { font-family: var(--head); font-size: 1.52rem; font-weight: 800; color: var(--charcoal); line-height: 1.15; margin-top: 2px; }
.qprice-meta { font-size: 0.81rem; color: var(--body); margin-top: 4px; line-height: 1.42; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fld { margin-bottom: 9px; }
.fld label { display: block; font-size: 0.81rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 43px; padding: 9px 11px; border: 1.5px solid var(--line-2);
  border-radius: 7px; font-family: var(--sans); font-size: 0.96rem; color: var(--ink); background: #fff;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--copper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent {
  display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px;
  border: 1px solid var(--line); border-radius: 7px; background: var(--bg);
  font-size: 0.8rem; color: var(--body); margin: 4px 0 12px; line-height: 1.42;
}
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--copper); flex-shrink: 0; }
.qnav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.qback { background: transparent; border: 0; color: var(--muted); font-family: var(--sans); font-size: 0.86rem; font-weight: 700; cursor: pointer; padding: 8px 4px; }
.qerr { color: #b91c1c; font-size: 0.84rem; font-weight: 700; min-height: 1.2em; margin: 6px 0 0; }

/* Sections */
.sec { padding: clamp(46px, 5.8vw, 72px) 0; background: var(--surface); }
.sec.alt { background: var(--bg); }
.sec + .sec { border-top: 1px solid var(--line); }
.sh { max-width: 720px; margin-bottom: 28px; }
.sh p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Bespoke Interactive Whole-Home Door Project & Width Slider Calculator */
.calc-shell {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 26px;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  padding: clamp(20px, 3vw, 32px);
}
.calc-blk { margin-bottom: 18px; }
.calc-lbl {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--head); font-size: 0.88rem; font-weight: 800; color: var(--charcoal); margin-bottom: 9px;
}
.calc-lbl em { font-style: normal; font-family: var(--sans); color: var(--copper); font-weight: 700; font-size: 0.88rem; }
.calc-grid-btn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cbtn {
  padding: 10px 11px; border: 1.5px solid var(--line-2); border-radius: 8px;
  background: #fff; color: var(--ink); font-family: var(--sans); font-size: 0.84rem;
  font-weight: 700; cursor: pointer; text-align: left;
}
.cbtn:hover, .cbtn.on { border-color: var(--copper); background: var(--copper-soft); color: var(--charcoal); }
.cbtn small { display: block; font-weight: 500; font-size: 0.74rem; color: var(--muted); margin-top: 2px; }
.range-row { background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 14px 16px; }
.range-row input[type="range"] { width: 100%; accent-color: var(--copper); cursor: pointer; height: 6px; }
.range-ticks { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.addon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.addon-item {
  display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  font-size: 0.83rem; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.addon-item input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }
.addon-item:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.calc-panel {
  background: var(--charcoal); color: #fff; border-radius: 11px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.calc-k { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fdba74; font-weight: 700; }
.calc-price { font-family: var(--head); font-size: clamp(1.85rem, 2.8vw, 2.35rem); font-weight: 800; color: #fff; margin: 6px 0 8px; line-height: 1.08; }
.calc-save {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: rgba(15, 118, 110, 0.35); border: 1px solid #2dd4bf;
  color: #99f6e4; font-size: 0.8rem; font-weight: 700; margin-bottom: 12px;
}
.calc-specs { list-style: none; padding: 0; margin: 10px 0 18px; border-top: 1px solid rgba(255,255,255,0.14); }
.calc-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.86rem; }
.calc-specs span { color: #9ca3af; }
.calc-specs b { color: #fff; text-align: right; }
.calc-note { font-size: 0.78rem; color: #9ca3af; margin: 10px 0 0; line-height: 1.45; }

/* Door Category Cards, Tables & Editorial Blocks */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ccard {
  border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.ccard-img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ccard:hover .ccard-img img { transform: scale(1.03); }
.ccard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ccard-t { font-family: var(--head); font-size: 1.12rem; font-weight: 800; color: var(--charcoal); margin: 0 0 3px; }
.ccard-p { font-weight: 800; font-size: 0.94rem; color: var(--copper); margin: 0 0 8px; }
.ccard-d { font-size: 0.88rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.ccard-a { margin-top: auto; font-family: var(--head); font-size: 0.86rem; font-weight: 700; color: var(--teal); }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-family: var(--head); font-weight: 700; color: var(--charcoal); font-size: 0.84rem; }
tr:last-child td { border-bottom: 0; }
.price-cell { font-family: var(--head); font-weight: 800; color: var(--charcoal); white-space: nowrap; }

.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; }
.card.hi { border-color: var(--teal); border-top: 3px solid var(--teal); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 10px 0 0; padding-left: 19px; }
.card li { margin-bottom: 6px; font-size: 0.93rem; }
.note-box { border-left: 4px solid var(--copper); background: var(--copper-soft); padding: 15px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; color: var(--ink); }
.info-box { border-left: 4px solid var(--teal); background: var(--teal-soft); padding: 15px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; color: var(--ink); }
.split-media { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 30px; align-items: center; }
.media-fig { margin: 0; }
.media-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.media-fig figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 7px; }
.hero .media-fig img { border-color: rgba(255,255,255,0.18); }
.hero .media-fig figcaption { color: #9ca3af; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.83rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.prose h2 { margin-top: 1.9rem; }
.prose ul { padding-left: 20px; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.48rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.chips a {
  display: inline-flex; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 7px;
  color: var(--charcoal); font-weight: 600; font-size: 0.86rem; background: #fff;
}
.chips a:hover { border-color: var(--copper); background: var(--copper); color: #fff; text-decoration: none; }
.lcard {
  display: flex; flex-direction: column; gap: 5px; padding: 17px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--body);
}
.lcard:hover { border-color: var(--copper); text-decoration: none; }
.lcard b { font-family: var(--head); color: var(--charcoal); font-size: 1.02rem; }
.lcard span { color: var(--muted); font-size: 0.86rem; }
.lcard i { font-style: normal; font-family: var(--head); font-size: 0.84rem; font-weight: 700; color: var(--copper); margin-top: auto; padding-top: 5px; }

/* FAQs */
.faqs { max-width: 860px; border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); padding: 15px 0; }
details.faq summary {
  font-family: var(--head); font-weight: 700; color: var(--charcoal); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--copper); font-weight: 700; flex: none; }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin: 10px 0 0; font-size: 0.94rem; color: var(--body); }

/* Thanks Photo Uploader */
.more-card { max-width: 680px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 24px; background: #fff; }
.more-up {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 5px; padding: 24px 16px; border: 2px dashed var(--line-2); border-radius: 10px;
  background: var(--bg); cursor: pointer; margin-bottom: 16px;
}
.more-up:hover { border-color: var(--copper); }
.more-up b { font-family: var(--head); color: var(--charcoal); }
.more-up span { font-size: 0.84rem; color: var(--muted); }
.more-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.more-th { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.more-th img { width: 100%; height: 100%; object-fit: cover; }
.more-th button {
  position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(30,36,43,0.88); color: #fff; font-size: 16px; cursor: pointer;
}
.more-st { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }
.more-ok { padding: 14px 16px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 8px; font-weight: 700; }

/* CTA & Footer */
.cta-band {
  background: var(--charcoal); color: #fff; border-radius: 12px;
  padding: clamp(24px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; border-left: 5px solid var(--copper);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #cbd5e1; margin: 0; max-width: 56ch; }
.ftr { background: #14191e; color: #9ca3af; padding: 48px 0 32px; font-size: 0.89rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ftr .logo { color: #fff; display: inline-block; margin-bottom: 10px; }
.ftr h4 { color: #fff; font-size: 0.85rem; margin: 0 0 10px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ftr a { color: #cbd5e1; }
.ftr a:hover { color: #fff; }
.ftr-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: 0.82rem; color: #6b7280; }

@media (max-width: 980px) {
  .hero-split, .calc-shell, .split-media { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .g2, .g3, .fgrid, .addon-list { grid-template-columns: 1fr; }
  .calc-grid-btn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hdr-in { min-height: 58px; }
  .logo { font-size: 1.14rem; }
  .btn-sm { padding: 0 11px; font-size: 0.8rem; }
  .hide-mob { display: none; }
}
@media (max-width: 480px) {
  .cat-grid, .hero-metrics { grid-template-columns: 1fr; }
  .qpic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .ftr-grid { grid-template-columns: 1fr; }
}
