:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --linen: #f2ece3;
  --claret: #581c24;
  --claret-2: #722630;
  --claret-soft: #f9eeef;
  --ink: #1d2430;
  --body: #363e4a;
  --muted: #5d6673;
  --sage: #3d5a52;
  --sage-soft: #eaf2ef;
  --gold: #a6762c;
  --line: #e2d9cd;
  --line-2: #c9bdb0;
  --head: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Work 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.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--head); color: var(--ink); font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.16; margin: 0 0 0.72rem;
}
h1 { font-size: clamp(2rem, 3.6vw, 2.95rem); line-height: 1.1; }
h2 { font-size: clamp(1.48rem, 2.3vw, 1.98rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; }
a { color: var(--claret); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 22px; }
.num { font-variant-numeric: tabular-nums; }

/* Header with Claret Signature Accent Bar */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
  border-top: 4px solid var(--claret);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }
.logo {
  font-family: var(--head); font-weight: 700; font-size: 1.32rem;
  color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--claret); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--body); font-size: 0.91rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--claret); text-decoration: none; }
.hdr-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.menu-toggle {
  display: none; background: #fff; border: 1.5px solid var(--line-2); border-radius: 6px;
  padding: 7px 11px; font-family: var(--sans); font-size: 0.84rem; font-weight: 700;
  color: var(--claret); cursor: pointer;
}
.mob-nav { display: none; background: #fff; border-top: 1px solid var(--line); padding: 12px 22px 18px; }
.mob-nav.open { display: grid; gap: 4px; }
.mob-nav a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); 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: 7px;
  font-family: var(--sans); font-weight: 700; font-size: 0.93rem;
  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(--claret); color: #fff; }
.btn-p:hover { background: var(--claret-2); color: #fff; }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: #2d453f; color: #fff; }
.btn-o { background: #fff; color: var(--claret); border-color: var(--claret); }
.btn-o:hover { background: var(--claret-soft); color: var(--claret); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 0.84rem; }

/* Warm Ivory Editorial Hero */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 4.5vw, 54px) 0 clamp(36px, 5vw, 58px);
}
.hero-split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px 42px; align-items: start;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); margin-bottom: 10px;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--claret); display: inline-block; }
.hero-lead { font-size: clamp(1.02rem, 1.24vw, 1.14rem); color: var(--body); max-width: 55ch; margin: 0 0 18px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.trust-line { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin: 0 0 22px; }

/* 5-Material Quick Benchmark Strip in Hero */
.mat-strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; list-style: none; padding: 0; margin: 0;
}
.mat-strip li {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.mat-strip strong { font-size: 0.88rem; color: var(--ink); font-weight: 700; }
.mat-strip span { font-size: 0.88rem; font-weight: 700; color: var(--claret); white-space: nowrap; }

/* Framed Front-Door Quote Card */
.qcard {
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: clamp(18px, 2.5vw, 26px);
  box-shadow: 0 14px 36px rgba(88, 28, 36, 0.08);
  position: relative;
}
.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.16rem; font-weight: 700; color: var(--claret); margin: 0; }
.qcard-step-lbl { font-size: 0.78rem; font-weight: 700; color: var(--sage); white-space: nowrap; }
.qprog { height: 5px; background: var(--linen); border-radius: 99px; overflow: hidden; margin-bottom: 15px; }
.qprog i { display: block; height: 100%; background: var(--claret); transition: width .2s ease; }
.qstep { display: none; }
.qstep.on { display: block; }
.qstep-h { font-family: var(--head); font-size: 1.05rem; font-weight: 700; 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(--claret); box-shadow: inset 0 0 0 1px var(--claret); }
.qpic-img { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--linen); 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(--claret); background: var(--claret-soft); }
.qopt small { display: block; font-weight: 400; color: var(--muted); font-size: 0.79rem; margin-top: 2px; }
.qprice-banner {
  background: var(--sage-soft); border-left: 4px solid var(--sage); border-top: 1px solid #c6dad3;
  border-right: 1px solid #c6dad3; border-bottom: 1px solid #c6dad3;
  border-radius: 0 8px 8px 0; padding: 13px 15px; margin-bottom: 14px;
}
.qprice-k { font-size: 0.75rem; font-weight: 700; color: var(--sage); text-transform: uppercase; letter-spacing: 0.05em; }
.qprice-val { font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--ink); 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(--claret); }
.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(--claret); 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.ivory { background: var(--bg); }
.sec.linen { background: var(--linen); }
.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 5-Material Live Upgrade Calculator */
.fd-calc {
  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: 12px;
  padding: clamp(20px, 3vw, 32px);
}
.fd-grp { margin-bottom: 18px; }
.fd-lbl { display: block; font-size: 0.79rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--claret); margin-bottom: 9px; }
.fd-mats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fd-mbtn {
  padding: 10px 9px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff;
  cursor: pointer; text-align: left; font-family: var(--sans); color: var(--ink);
}
.fd-mbtn b { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.25; }
.fd-mbtn span { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 3px; }
.fd-mbtn:hover, .fd-mbtn.on { border-color: var(--claret); background: var(--claret-soft); }
.fd-mbtn.on b { color: var(--claret); }
.fd-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.fd-pill {
  padding: 8px 13px; border: 1.5px solid var(--line-2); border-radius: 7px; background: #fff;
  color: var(--ink); font-family: var(--sans); font-size: 0.84rem; font-weight: 600; cursor: pointer;
}
.fd-pill:hover, .fd-pill.on { border-color: var(--claret); background: var(--claret); color: #fff; }
.fd-out {
  background: var(--claret); color: #fff; border-radius: 10px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.fd-ok { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #f4d3a1; font-weight: 700; }
.fd-oprice { font-family: var(--head); font-size: clamp(1.85rem, 2.7vw, 2.3rem); font-weight: 700; color: #fff; margin: 5px 0 10px; line-height: 1.08; }
.fd-olist { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px solid rgba(255,255,255,0.18); }
.fd-olist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.13); font-size: 0.86rem; }
.fd-olist span { color: #ebd0d3; }
.fd-olist b { color: #fff; text-align: right; }
.fd-delta {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 11px 13px; font-size: 0.81rem; color: #faf1f2;
  margin-bottom: 16px; line-height: 1.45;
}
.fd-delta strong { color: #f4d3a1; }

/* 5-Material Cards, Tables, Editorial Blocks */
.mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mcard {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.mcard-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); border-bottom: 1px solid var(--line); }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mcard:hover .mcard-img img { transform: scale(1.03); }
.mcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.mcard-t { font-family: var(--head); font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.mcard-p { font-weight: 700; font-size: 0.93rem; color: var(--claret); margin: 0 0 8px; }
.mcard-d { font-size: 0.89rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.mcard-a { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--sage); }

.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(--linen); font-family: var(--sans); font-weight: 700; color: var(--claret); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: 0; }
.price-cell { font-weight: 700; color: var(--claret); 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(--claret); border-top: 3px solid var(--claret); }
.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(--claret); background: var(--claret-soft); padding: 15px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; color: var(--ink); }
.info-box { border-left: 4px solid var(--sage); background: var(--sage-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; }
.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(--ink); font-weight: 600; font-size: 0.86rem; background: #fff;
}
.chips a:hover { border-color: var(--claret); background: var(--claret); color: #fff; text-decoration: none; }
.lcard {
  display: flex; flex-direction: column; gap: 5px; padding: 17px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--body);
}
.lcard:hover { border-color: var(--claret); text-decoration: none; }
.lcard b { font-family: var(--head); color: var(--ink); font-size: 1.03rem; }
.lcard span { color: var(--muted); font-size: 0.86rem; }
.lcard i { font-style: normal; font-size: 0.83rem; font-weight: 700; color: var(--claret); 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(--ink); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 1.01rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--claret); font-family: var(--sans); 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: 10px; 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(--claret); }
.more-up b { font-family: var(--head); color: var(--claret); }
.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(88,28,36,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(--claret); color: #fff; border-radius: 12px;
  padding: clamp(24px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #f0d7da; margin: 0; max-width: 56ch; }
.ftr { background: #261317; color: #d6c3c6; 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.12); }
.ftr .logo { color: #fff; display: inline-block; margin-bottom: 10px; }
.ftr .logo span { color: #f4d3a1; }
.ftr h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: #f4d3a1; font-size: 0.78rem; margin: 0 0 10px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ftr a { color: #e2d1d4; }
.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: #a78e93; }

@media (max-width: 980px) {
  .hero-split, .fd-calc, .split-media { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-mats { grid-template-columns: repeat(3, 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 { grid-template-columns: 1fr; }
  .hdr-in { min-height: 58px; }
  .logo { font-size: 1.12rem; }
  .btn-sm { padding: 0 11px; font-size: 0.8rem; }
  .hide-mob { display: none; }
}
@media (max-width: 480px) {
  .mat-grid, .mat-strip { grid-template-columns: 1fr; }
  .fd-mats, .qpic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .ftr-grid { grid-template-columns: 1fr; }
}
