/* My Guy Repair — V2 Joinery (arch-a2 Dark Showroom) Flagship Handyman Theme.
   Smoked espresso canvas (#191512), elevated matte walnut cards (#241f1b),
   alternating deep showroom bands (#201b17), Fraunces medium serif + Inter body,
   warm burnished brass actions (#d6ad6a on #191512), and the signature warm
   limestone About contrast band (#ede6d8). Zero raw arrows, self-hosted OFL fonts. */

:root {
  --bg: #191512;
  --panel: #241f1b;
  --surface: #201b17;
  --beige: #191512;
  --tan: #ede6d8;
  --dark-deep: #110e0c;
  --input-bg: #14110e;

  --ink: #f3efe6;
  --dim: #b8b2a6;
  --line: rgba(243, 239, 230, 0.14);
  --edge: rgba(243, 239, 230, 0.28);

  --accent: #d6ad6a;
  --accent-hover: #c39750;
  --on-accent: #191512;
  --accent-soft: rgba(214, 173, 106, 0.16);
  --tint: #201b17;

  --walnut: #191512;
  --walnut-card: #241f1b;
  --walnut-deep: #110e0c;
  --walnut-ink: #f3efe6;
  --walnut-ink-2: #b8b2a6;
  --walnut-rule: rgba(243, 239, 230, 0.15);
  --brass: #d6ad6a;
  --brass-hover: #c39750;
  --brass-ink: #191512;

  --band: #110e0c;
  --band-ink: #f3efe6;
  --band-dim: #b8b2a6;
  --bad: #f87171;
  --live: #34d399;

  --radius: 12px;
  --btn-radius: 8px;
  --wrap: 1180px;
  --gutter: 24px;
  --serif: 'Fraunces', Georgia, serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.24), 0 6px 18px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.30), 0 18px 40px -10px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

html { overflow-x: clip; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(820px + 2 * var(--gutter)); }
@media (max-width: 48em) {
  :root { --gutter: 20px; }
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.1vw, 4.05rem); line-height: 1.05; letter-spacing: -0.025em; }
h2, .sec-signature .sectionHead h2, .sec-ready h2 {
  font-size: clamp(1.85rem, 1.35rem + 1.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.sec h2 { max-width: 22em; }
a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: #ebd09e; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skipLink { background: var(--brass); color: var(--brass-ink); font-weight: 700; }

.rateRow dt, .rcTotal strong, .scopeTabNum, .wtStepNum, .heroMetaItem dd, .wlText::before, .work > summary::before {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 37.4375em) { .ctaRow .btn { flex: 1 1 100%; } }
@media (max-width: 56.24em) {
  .heroText:has(.sub) { display: flex; flex-direction: column; }
  .heroText .sub { order: -1; margin: 0 0 12px; }
}

/* ---------- Inline V2 Monochrome Icons & Brand Mark ---------- */
.v2-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-height: 44px;
  flex-shrink: 0;
}
.v2-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--brass);
  color: var(--brass-ink);
}
.v2-brand-mark .v2-ico { width: 19px; height: 19px; }
.v2-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.v2-brand-text strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.v2-brand-text small {
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 2px;
  white-space: nowrap;
}

/* ---------- Header (Smoked Espresso Sticky Showroom Bar) ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.topRow { min-height: 76px; gap: 16px; }
.logo { color: var(--ink); text-decoration: none; }
.logo:hover .v2-brand-text strong { color: var(--brass); }
.navList { align-items: center; gap: 20px; }
.navList a {
  color: var(--dim);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.navList a:hover, .navList a[aria-current="page"] { color: var(--ink); }
.navList a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.navList .navAccount { color: var(--brass); font-weight: 600; }
.navList .navPhone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.navList .navPhone:hover { color: var(--brass); }
.navList .navCta, .navList .navCta:hover {
  background: var(--brass);
  border: 1.5px solid var(--brass);
  color: var(--brass-ink);
  font-weight: 700;
  border-radius: var(--btn-radius);
  padding: 10px 18px;
}
.navList .navCta:hover { background: var(--brass-hover); border-color: var(--brass-hover); }
.navList .navCta[aria-current="page"] { text-decoration: none; box-shadow: inset 0 -3px 0 var(--brass-ink); }
.menuBtn {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: var(--btn-radius);
  padding: 11px 16px;
  font-size: 0.9375rem;
  line-height: 1.25;
  min-height: 44px;
  white-space: nowrap;
}
@media (max-width: 56.24em) {
  .topRow { min-height: 62px; }
  .v2-brand-mark { width: 32px; height: 32px; }
  .v2-brand-text strong { font-size: 1.08rem; }
  .top.menuOpen .mainNav { background: var(--bg); border-top: 1px solid var(--line); }
  .navList { gap: 4px; }
}

/* ---------- Buttons (Zero raw Unicode arrows — V2 Studio standard) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  padding: 12px 20px;
  min-height: 46px;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--brass-ink);
}
.btn.primary:hover {
  background: var(--brass-hover);
  border-color: var(--brass-hover);
  color: var(--brass-ink);
}
.btn.ghost {
  background: transparent;
  border-color: var(--edge);
  color: var(--ink);
}
.btn.ghost:hover {
  border-color: var(--brass);
  background: rgba(243, 239, 230, 0.06);
}
[data-take]:disabled, .qSend:disabled {
  background: #463e35;
  border-color: #463e35;
  color: #b8b2a6;
  opacity: 0.9;
  transform: none;
}
.btn.primary::after, .navList .navCta::after,
.introLink a::after, .plainRow a::after, .asideLink a::after, .rateLink a::after, .workAsk a::after {
  content: none !important;
}

/* ---------- Hero (V2 Joinery arch-a2 Dark Showroom Split-Top + Wide Gallery Frame) ---------- */
.hero {
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-block: 44px 56px;
}
.hero h1 { color: var(--ink); max-width: 14ch; }
.hero .kicker, .hero .sub {
  color: var(--brass);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
}
.hero .lead { color: var(--dim); font-size: 1.0625rem; line-height: 1.62; max-width: 52ch; margin: 0; }
.areaLine { color: var(--ink); font-size: 0.9375rem; font-weight: 600; margin-top: 10px; }
.callLine { color: var(--dim); margin-top: 14px; }
.callLine a { color: var(--brass); font-weight: 700; }

.jump ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}
.jump a:hover { border-color: var(--brass); color: var(--brass); }

/* Split Top Row + Top Proof Pill + Below-Hero Trust Strip (arch-a2) */
.hero.hasOpening .heroGrid {
  display: block;
}
.v2-rating-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}
.v2-rating-pill .v2-ico { color: var(--brass); width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 47.9375em) {
  .v2-rating-pill {
    border-radius: 10px;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .v2-rating-pill .v2-ico { margin-top: 2px; }
}
.ps-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 22px;
  padding: 13px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  line-height: 1.48;
  color: var(--dim);
}
.ps-trust-strip strong {
  color: var(--ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ps-trust-strip strong .v2-ico { color: var(--brass); width: 16px; height: 16px; }

.heroTop {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}
.heroTopRight .heroActions { margin-top: 20px; }

/* Verified Meta Strip */
.heroMeta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.heroMetaItem { margin: 0; }
.heroMetaItem dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brass);
}
.heroMetaItem dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

/* Wide Gallery Photo + Floating Dark-Glass Rate Showroom Card */
.heroWide {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 230, 0.16);
  background: var(--dark-deep);
  box-shadow: var(--shadow-md);
}
.heroWide .heroPhoto { margin: 0; }
.heroWide .heroPhoto img {
  width: 100%;
  height: clamp(320px, 38vw, 440px);
  object-fit: cover;
  object-position: 50% 58%;
  border: 0;
  border-radius: 0;
  display: block;
}
.heroWide .ratePanel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  background: rgba(17, 14, 12, 0.92);
  color: var(--ink);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 173, 106, 0.36);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* Shared Rate Panel (both hero overlay & Services page inline) */
.ratePanel, .sec.surface .ratePanel {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.rateTitle {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 10px;
}
.rateRows { margin: 0; }
.rateRow { padding: 10px 0; border-top: 1px solid var(--line); }
.rateRow:first-child { border-top: 0; padding-top: 2px; }
.rateRow dt {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--brass);
}
.rateRow dd { color: var(--dim); font-size: 0.9rem; margin: 2px 0 0; }
.rateNote { color: var(--ink); font-weight: 600; font-size: 0.9rem; margin: 10px 0 0; }
.rateLink { margin: 10px 0 0; }
.rateLink a { color: var(--brass); font-weight: 700; font-size: 0.9rem; }

@media (max-width: 60em) {
  .heroTop { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 24px; }
  .heroWide .heroPhoto img { height: 270px; }
  .heroWide .ratePanel {
    position: static;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 2px solid var(--brass);
    box-shadow: none;
    background: var(--panel);
  }
}
@media (max-width: 40em) {
  .hero { padding-block: 28px 36px; }
  .heroMeta { grid-template-columns: 1fr; gap: 8px; }
  .heroMetaItem { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
  .heroMetaItem dd { margin: 0; text-align: right; }
  .heroWide .heroPhoto img { height: 225px; }
}

/* ---------- Alternating Dark Showroom Bands + Warm Limestone About Contrast ---------- */
.sec { padding-block: 68px; border-top: 1px solid var(--line); }
@media (max-width: 48em) { .sec { padding-block: 44px; } }
.sec.white { background: var(--bg); color: var(--ink); }
.sec.beige { background: var(--surface); color: var(--ink); }
.sec.surface { background: var(--surface); color: var(--ink); }
.sec.dark { background: var(--dark-deep); color: var(--ink); }
.sec.dark .btn.primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--brass-ink);
}
.sec.dark .btn.primary:hover {
  background: var(--brass-hover);
  border-color: var(--brass-hover);
  color: var(--brass-ink);
}
.sec.dark .btn.ghost {
  background: transparent;
  border-color: var(--edge);
  color: var(--ink);
}
.sec.dark .btn.ghost:hover {
  border-color: var(--brass);
  background: rgba(243, 239, 230, 0.08);
}
.sec + .sec.cont { border-top: 0; padding-top: 0; }

/* Signature V2 arch-a2 Warm Limestone Contrast Band (About John) */
.sec.tan {
  --bg: #ede6d8;
  --panel: #f7f3ea;
  --ink: #1d1a16;
  --dim: #463f35;
  --line: rgba(29, 26, 22, 0.14);
  background: #ede6d8;
  color: #1d1a16;
  border-top: 0;
}
.sec.tan h2, .sec.tan h3, .sec.tan .display { color: #1d1a16; }
.sec.tan .secLabel, .sec.tan .kicker { color: #7c4a1d; }
.sec.tan p, .sec.tan .introText p, .sec.tan .prose p, .sec.tan .support { color: #363028; }
.sec.tan a { color: #6e3d12; font-weight: 700; }
.sec.tan a:hover { color: #4e2a0b; }
.sec.tan .fig img { border-color: rgba(29, 26, 22, 0.16); }
.sec.tan .fig figcaption { color: #463f35; }
.sec.tan :focus-visible { outline-color: #7c4a1d; }

.secLabel {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.sec .lead { color: var(--dim); font-size: 1.03125rem; line-height: 1.6; }

.sec-sorting > .wrap,
.sec-scope-tabs > .wrap,
.sec-signature > .wrap,
.sec-walkthrough > .wrap {
  display: block !important;
}
.sec-sorting .sectionHead,
.sec-scope-tabs .sectionHead,
.sec-signature .sectionHead,
.sec-walkthrough .sectionHead {
  margin-bottom: 24px;
}

/* ---------- 01 Sorting Grid ("What Needs Done?" — Full-Frame Library Cards) ---------- */
.workLinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border: 0;
  counter-reset: wl;
}
@media (max-width: 60em) { .workLinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38em) { .workLinks { grid-template-columns: 1fr; } }

.workLink {
  counter-increment: wl;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.workLink:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
  box-shadow: var(--shadow-md);
  background: #2b2520;
}
.workLink::after, .workLink.hasPhoto::after { content: none !important; }
.workPhoto {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark-deep);
  border-bottom: 1px solid var(--line);
}
.workPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.workLink:hover .workPhoto img { transform: scale(1.035); }
.wlText {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px 20px;
}
.wlText::before {
  content: counter(wl, decimal-leading-zero) / "";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brass);
}
.wlTitle { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.18; color: var(--ink); }
.wlBody { color: var(--dim); font-size: 0.92rem; line-height: 1.5; }

/* ---------- 02 Interactive 3-Tab Scope & Policies Drawer ---------- */
.scopeTabsShell { margin-top: 24px; }
.scopeTabsNav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.scopeTabBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.scopeTabBtn:hover { border-color: var(--brass); }
.scopeTabNum {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brass);
}
.scopeTabBtn[aria-selected="true"] {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--brass-ink);
}
.scopeTabBtn[aria-selected="true"] .scopeTabNum { color: var(--brass-ink); }

.scopeTabPanel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.scopeTabPanel[hidden] { display: none; }
.scopeTabCopy h3 { font-size: 1.65rem; line-height: 1.15; margin: 0 0 10px; color: var(--ink); }
.scopeTabCopy p { color: var(--dim); font-size: 0.96875rem; line-height: 1.6; margin: 0 0 16px; }
.scopeBullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.scopeBullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}
.scopeBullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}
.scopeTabCta { margin: 0; }
.scopeTabPhoto { margin: 0; display: flex; flex-direction: column; }
.scopeTabPhoto img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.scopeTabPhoto figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--dim); }

.scopeBoundaryCard {
  background: var(--dark-deep);
  color: var(--ink);
  border: 1px solid rgba(214, 173, 106, 0.28);
  border-top: 3px solid var(--brass);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.scopeBoundaryKick {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.scopeBoundaryCard h4 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  margin: 4px 0 0;
  line-height: 1.2;
}
.scopeBoundaryList { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.scopeBoundaryList li {
  padding-left: 16px;
  position: relative;
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.5;
}
.scopeBoundaryList li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700;
}

@media (max-width: 56.25em) {
  .scopeTabsNav { grid-template-columns: 1fr; }
  .scopeTabPanel { grid-template-columns: 1fr; padding: 20px; }
  .scopeTabPhoto img { height: 220px; }
}

/* ---------- 03 Workbench: Editable Job List Builder + Confirmed-Rate Estimator ---------- */
.workbenchGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
  margin-top: 22px;
}
@media (max-width: 60em) { .workbenchGrid { grid-template-columns: 1fr; } }

.builder {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.check, .laneChoice {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}
.check:has(input:checked), .laneChoice:has(input:checked) {
  background: rgba(214, 173, 106, 0.16);
  border-color: var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass);
}
.check input[type="checkbox"], .laneChoice input[type="radio"] { accent-color: var(--brass); }
.builderCount, .builderNote, .draftField label { color: var(--dim); }
.draftField label { color: var(--ink); font-weight: 600; }
textarea, input[type="text"], input[type="email"], input[type="tel"], select {
  background: var(--input-bg);
  color: var(--ink);
  border: 1.5px solid var(--edge);
  border-radius: 8px;
}
select option { background: #191512; color: #f3efe6; }
textarea[readonly], input[readonly] { background: var(--surface); }
::placeholder { color: #9c9487; }

/* Confirmed-Rate Labor Estimator */
.rateCalc {
  background: var(--dark-deep);
  color: var(--ink);
  border: 1px solid rgba(214, 173, 106, 0.25);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.rateCalc h3 { color: var(--ink); font-size: 1.5rem; margin: 0 0 8px; }
.rateCalcLead { color: var(--dim); font-size: 0.9375rem; line-height: 1.55; margin: 0 0 18px; }
.rateCalcBtns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rcBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.rcBtn:hover { border-color: var(--brass); }
.rcBtn[aria-pressed="true"] {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--brass-ink);
}
.rateCalcOut {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.rcTotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.rcTotalLabel {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.rcTotal strong {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.rcBreak { margin: 0; color: var(--dim); font-size: 0.92rem; line-height: 1.5; }
.rcNote { margin: 0; color: var(--dim); font-size: 0.875rem; line-height: 1.5; }
.plainRow { margin-top: 18px; }
.plainRow a { color: var(--brass); font-weight: 700; }

/* ---------- 04 Interactive Walkthrough Theater ---------- */
.wtShell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 22px;
}
.wtTop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--dark-deep);
  border-bottom: 1px solid var(--line);
}
.wtLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.wtDot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex-shrink: 0; }
.wtNavBtns { display: flex; gap: 8px; }
.wtBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.wtBtn:hover { border-color: var(--brass); }
.wtBtn.isNext { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); }
.wtBtn.isNext:hover { background: var(--brass-hover); }

.wtStage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--dark-deep); }
.wtFig { margin: 0; position: relative; background: var(--dark-deep); display: flex; flex-direction: column; }
.wtFig img { width: 100%; height: 360px; object-fit: cover; display: block; }
.wtCap {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--dim);
  background: #14110e;
  border-top: 1px solid var(--line);
}
.wtHud {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel);
  border-left: 1px solid var(--line);
}
.wtHudEye {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}
.wtHud h3 { font-size: 1.7rem; color: var(--ink); line-height: 1.15; margin: 0 0 12px; }
.wtHud p { color: var(--dim); font-size: 0.96875rem; line-height: 1.62; margin: 0; }

.wtBottomBar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: var(--dark-deep);
  border-top: 1px solid var(--line);
}
.wtStepBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--dim);
  font-size: 0.9375rem;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  text-align: left;
}
.wtStepNum { font-size: 0.76rem; font-weight: 800; color: var(--brass); flex-shrink: 0; }
.wtStepBtn strong { font-size: 0.875rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.wtStepBtn:hover { border-color: var(--brass); }
.wtStepBtn[aria-selected="true"] { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); }
.wtStepBtn[aria-selected="true"] .wtStepNum,
.wtStepBtn[aria-selected="true"] strong { color: var(--brass-ink); }

@media (max-width: 56.25em) {
  .wtStage { grid-template-columns: 1fr; }
  .wtFig img { height: 240px; }
  .wtHud { border-left: 0; border-top: 1px solid var(--line); padding: 20px; }
  .wtBottomBar { grid-template-columns: 1fr; }
}

/* ---------- Intro, Testimonial, Services, Contact ---------- */
.introText p { font-size: 1.125rem; line-height: 1.72; }
.fig img { border-radius: var(--radius); border: 1px solid var(--line); }
.fig figcaption { color: var(--dim); font-size: 0.875rem; }

.sec-quote .sectionHead h2, .sec-values .sectionHead h2, .sec-ideal .sectionHead h2 {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.sec.tan .sectionHead h2 { color: #1d1a16; font-family: var(--serif); font-size: clamp(1.85rem, 1.35rem + 1.6vw, 2.7rem); letter-spacing: -0.02em; text-transform: none; }
.sec-values.tan .sectionHead h2, .sec-ideal.tan .sectionHead h2 {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c4a1d;
}
.testimonial blockquote { border-left: 3px solid var(--brass); padding-left: 24px; }
.testimonial blockquote p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.38rem, 1.1rem + 1.05vw, 1.9rem);
  line-height: 1.4;
  color: var(--ink);
}
.testimonial figcaption { color: var(--dim); font-weight: 600; }

/* Services disclosures (Dark Showroom matte cards) */
.work {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  counter-increment: work;
}
.workGrid { counter-reset: work; column-gap: 28px; }
.work[open] { border-color: var(--brass); background: #2a241f; }
.work > summary {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  padding: 16px 18px;
}
.work > summary::before {
  content: counter(work, decimal-leading-zero) / "";
  flex: none;
  width: 2.3em;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brass);
}
.workBody { padding: 0 18px 18px; color: var(--dim); }
.workCardPhoto { margin: 0 0 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.workCardPhoto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 0; border-radius: 0; }
.workAsk a { color: var(--brass); font-weight: 700; }
.wideFig { max-width: none; margin-top: 28px; }
.wideFig img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.priceText p { color: var(--dim); }
.priceText .payment { color: var(--ink); font-weight: 600; }

.dfaq, .qa { border-color: var(--line); }
.qa summary { font-weight: 700; color: var(--ink); }
.qa dd { color: var(--dim); }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }

/* Contact Form & Live Photo Thumbnails */
.qForm {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 37.4375em) { .qForm { padding: 20px; } }
.qField label, .qLanes legend, .qPhotos h2, .pickLabel, .savedTitle { color: var(--ink); }
.qHelp, .reachNote, .qEstimate, .photoSteps, .contactAside p { color: var(--dim); }
.qErr { color: #fca5a5; }
.contactAside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 24px;
}
.contactAside h2 { color: var(--ink); }
.optin { color: var(--dim); }
.optin input[type="checkbox"] { width: 20px !important; height: 20px; flex: none; margin-top: 2px; accent-color: var(--brass); }
.qTile {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: auto auto 1fr;
  color: var(--ink);
}
.tThumb {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.tBtn {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 0.875rem;
  line-height: 1.25;
  white-space: nowrap;
}
.savedOffer { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.savedText { background: var(--input-bg); color: var(--ink); border-radius: 6px; border: 1px solid var(--line); }
.qUnavailable, .qNoJs { background: var(--panel); color: var(--ink); border: 1px solid var(--edge); border-radius: var(--radius); }
.builderFail, .qSummary, .qFeedback.bad {
  background: #3a1917;
  border-color: #f87171;
  color: #fee2e2;
  border-radius: var(--radius);
}
.qDone {
  background: #143227;
  border-color: #34d399;
  color: #ecfdf5;
  border-radius: var(--radius);
}

/* ---------- Inset Joinery Final CTA Card (.ps-final-cta) ---------- */
.sec-final-cta.dark {
  background: var(--bg);
  padding: 44px 0 56px;
}
.sec-final-cta > .wrap { display: block !important; }
.ps-final-cta {
  width: 100%;
  padding: 42px 38px;
  border-radius: 16px;
  background: var(--dark-deep);
  border: 1px solid rgba(214, 173, 106, 0.28);
  border-top: 3px solid var(--brass);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
  box-shadow: var(--shadow-md);
}
.ps-final-cta-copy { max-width: 54ch; }
.ps-final-cta h2 { margin: 0 0 10px; color: var(--ink); }
.ps-final-cta .lead { margin: 0; color: var(--dim); }
.ps-final-cta-actions .ctaRow { margin: 0; }
@media (max-width: 48em) { .ps-final-cta { padding: 28px 22px; } }

/* ---------- Footer (Deep Espresso) ---------- */
.bottom {
  background: var(--dark-deep);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.bottom a, .footName { color: var(--ink); }
.bottom a:hover { color: var(--brass); }
.bottom a[aria-current="page"] { text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.footBrandHead { margin-bottom: 12px; }
.footBrand p { color: var(--dim); }
.footBrand .footName { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--ink); }
.acctLine { margin-top: 20px; }
.acctLine a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brass); font-weight: 700; }
.footCredit { border-top: 1px solid var(--line); color: var(--dim); }
.footCredit a { color: var(--ink); }

/* ---------- Dual-Action Mobile Thumb Dock (Joinery .ps-mobile-dock) ---------- */
body .callbar, .callbar.ps-mobile-dock {
  display: none;
}
@media (max-width: 47.9375em) and (min-height: 30em) {
  .js body .callbar, .js .callbar.ps-mobile-dock, body .callbar.ps-mobile-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: #11161c !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 60px 0 #11161c, 0 -8px 24px rgba(0, 0, 0, 0.34);
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    transition: transform 0.2s ease, visibility 0.2s;
  }
  body.typing .callbar.ps-mobile-dock, body.barAside .callbar.ps-mobile-dock {
    transform: translateY(140%);
    visibility: hidden;
    box-shadow: none;
  }
}
body .callbar .btn {
  width: 100%;
  padding: 12px 10px;
  min-height: 46px;
  font-size: 0.875rem;
  line-height: 1.25;
  white-space: nowrap;
}
body .callbar .btn.ps-dock-call {
  background: #f8fafc;
  border-color: #f8fafc;
  color: #0f172a;
}
body .callbar .btn.ps-dock-quote {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--brass-ink);
}

/* ---------- Legal (/privacy-terms) ---------- */
main.wrap.legal {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  background: var(--bg);
  color: var(--ink);
}
main.wrap.legal > * { max-width: 760px; }
.legal h1, .legal h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
.legal p { color: var(--dim); }
.legal a { color: var(--brass); }
