:root {
  --bg: #F7F3EC;
  --bg-alt: #EFE9DE;
  --ink: #1A1511;
  --ink-2: #3A332C;
  --ink-3: #6B6158;
  --ink-4: #9A9085;
  --rule: #DCD3C2;
  --rule-strong: #1A1511;
  --accent: #C84B1B;
  --accent-deep: #9E3A14;
  --card: #FFFDF8;

  /* Theme-derived tokens — defaults here, overwritten from theme config at load */
  --line: #D4D6DB;
  --success: #48C774;
  --success-rgb: 72,199,116;
  --warning: #E8A33D;
  --error: #C0392B;

  --overlay-dark-rgb: 14,17,22;
  --overlay-light-rgb: 255,255,255;
  --overlay-dark-12: rgba(14,17,22,0.12);
  --overlay-dark-15: rgba(14,17,22,0.15);
  --overlay-dark-25: rgba(14,17,22,0.25);
  --overlay-dark-55: rgba(14,17,22,0.55);
  --overlay-dark-70: rgba(14,17,22,0.7);
  --overlay-dark-75: rgba(14,17,22,0.75);
  --overlay-dark-92: rgba(14,17,22,0.92);
  --overlay-light-03: rgba(255,255,255,0.03);
  --overlay-light-08: rgba(255,255,255,0.08);
  --overlay-light-10: rgba(255,255,255,0.1);
  --overlay-light-12: rgba(255,255,255,0.12);
  --overlay-light-15: rgba(255,255,255,0.15);
  --overlay-light-25: rgba(255,255,255,0.25);
  --overlay-light-40: rgba(255,255,255,0.4);
  --overlay-light-55: rgba(255,255,255,0.55);
  --overlay-light-60: rgba(255,255,255,0.6);
  --overlay-light-70: rgba(255,255,255,0.7);
  --overlay-light-92: rgba(255,255,255,0.92);
  --hero-scrim: rgba(14,17,22,0.55);

  /* Extended palette tokens — LOAD_CONFIG overwrites these from the theme
     bag; the static values here match the original hardcoded palette. */
  --card: #FFFDF8;
  --nav-scrolled-bg: rgba(246,243,238,0.92);
  --hero-btn-bg: #fff;
  --hero-btn-ink: #1A1511;
  --tag-bg: rgba(255,253,248,0.94);
  --tag-ink: #1A1511;
  --band-bg: #1A1511;
  --band-ink: #F7F3EC;
  --band-text: #D4CFC5;
  --band-muted: #B3A999;
  --band-faint: #A09588;
  --band-eyebrow: #E8B494;
  --band-strong: #fff;
  --footer-text: #B8BCC4;
  --footer-muted: #8E929B;
  --on-accent-soft: rgba(255,243,231,0.88);
  --panel-ink: #F7F3EC;

  --shadow-sm: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.2);
  --shadow-lg: 0 20px 50px -10px rgba(0,0,0,0.4);
  --shadow-ring: 0 0 0 1px rgba(0,0,0,0.1);

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Nunito Sans', -apple-system, sans-serif;
  --radius: 12px;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);

  /* Spacing scale */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;
  --sp-section: 100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: var(--bg); }

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
.mono { font-family: var(--sans); font-weight: 500; }

/* ===== Utility ===== */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow .num { color: var(--ink-4); }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }

/* ===== UTILITY BAR ===== */
.utility {
  background: var(--band-bg);
  color: var(--line);
  font-size: 12px;
  padding: 10px 0;
  }
.utility .row {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.utility a { color: var(--line); transition: color .15s; display: inline-flex; align-items: center; gap: 8px;}
.utility a:hover { color: var(--band-strong); }
.utility .u-left, .utility .u-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.utility .u-serving { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 620px; display: inline-block; }
.utility .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(var(--success-rgb), 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--success-rgb), 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(var(--success-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--success-rgb), 0); }
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: var(--bg);
  transition: background .25s, box-shadow .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom-color: var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  transition: height .25s;
}
.nav.scrolled .nav-inner { height: 68px; }
.logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  padding-bottom: 3px;
  font-style: italic;
}
.logo-mark.has-img {
  background: transparent;
  overflow: hidden;
}
.logo-mark.has-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .main { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.logo-text .sub { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-top: 2px; font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 4px;
  transition: color .15s, background .15s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-links a.has-chev::after {
  content: ''; display: inline-block; margin-left: 6px;
  width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .6;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, transform .15s;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--accent); }
.nav-cta .arrow { transition: transform .2s; }
.nav-cta:hover .arrow { transform: translateX(3px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }

/* Mega menu */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0 48px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
}
.mega.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1.4fr 2fr 1.4fr; gap: 48px; }
.mega-lead .eyebrow { margin-bottom: 16px; }
.mega-lead h3 { font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.01em; }
.mega-lead p { color: var(--ink-3); font-size: 14px; max-width: 240px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.mega-link {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 12px;
  border-radius: 4px;
  transition: background .15s;
}
.mega-link:hover { background: var(--bg-alt); }
.mega-link .icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: 50%; flex-shrink: 0;
  font-size: 14px;
}
.mega-link .label { font-weight: 500; font-size: 14px; }
.mega-link .desc { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.mega-cta {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: 24px;
  border-radius: 4px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
}
.mega-cta .eyebrow { color: var(--band-text); margin-bottom: 12px; }
.mega-cta h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--band-ink); }
.mega-cta .phone {
  font-family: var(--sans); font-weight: 700; font-size: 18px; margin-top: 16px; color: var(--band-ink);
  display: flex; align-items: center; gap: 10px;
}

/* ===== HERO ===== */
.hero { padding: 40px 0 100px; position: relative; }

/* Hero overlay variant — photo as background, text floating on top */
.hero.hero-overlay {
  padding: 0;
  min-height: clamp(560px, 82vh, 820px);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  isolation: isolate;
}
.hero-overlay .hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 8s ease;
}
.hero-overlay:hover .hero-bg-img { transform: scale(1.03); }
.hero-overlay .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--hero-scrim) 0%, var(--overlay-dark-25) 35%, var(--hero-scrim) 100%),
    linear-gradient(90deg, var(--hero-scrim) 0%, var(--overlay-dark-15) 60%);
  z-index: -1;
  pointer-events: none;
}
.hero-overlay-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(80px, 14vh, 140px);
  padding-bottom: clamp(40px, 6vh, 72px);
  position: relative;
}
.hero-text { max-width: 920px; color: #fff; }
.hero-overlay .eyebrow { color: #FFD7BF; }
.hero-overlay .eyebrow .dot { background: var(--accent); }
.hero-overlay .hero-head { color: #fff; }
.hero-overlay .hero-head em { color: var(--accent); }
.hero-overlay .hero-head .u::after { background: var(--accent); opacity: 0.85; }
.hero-overlay .hero-body {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--overlay-light-92);
  max-width: 560px;
}
.hero-overlay .hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-overlay .btn { background: var(--hero-btn-bg); color: var(--hero-btn-ink); border-color: var(--hero-btn-bg); }
.hero-overlay .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero-overlay .btn.ghost { background: transparent; color: #fff; border-color: var(--overlay-light-55); }
.hero-overlay .btn.ghost:hover { background: var(--hero-btn-bg); color: var(--hero-btn-ink); border-color: var(--hero-btn-bg); }
.hero-overlay .hero-photo-caption {
  position: static;
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--overlay-light-25);
  display: flex; justify-content: space-between; align-items: flex-end;
  color: var(--overlay-light-92);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.hero-overlay .hero-photo-caption .ref { opacity: 0.7; font-style: italic; font-weight: 400; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero-head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 7.6vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-head em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-head .u {
  position: relative; display: inline-block;
}
.hero-head .u::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent);
  opacity: 0.5;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: 10px;
}
.hero-meta p { font-size: 17px; color: var(--ink-2); max-width: 440px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius, 999px);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: inherit;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-photo {
  grid-column: 1 / -1;
  margin-top: 40px;
  height: clamp(320px, 52vw, 620px);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero-photo:hover img { transform: scale(1.03); }
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, var(--overlay-dark-55) 100%);
}
.hero-photo-caption {
  position: absolute; left: 24px; right: 24px; bottom: 20px;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.hero-photo-caption .ref { opacity: 0.75; font-style: italic; font-weight: 400; }

/* Marquee ticker below hero */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background: var(--bg);
  padding: 18px 0;
}
.ticker-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}
.ticker-track span { display: inline-flex; align-items: center; gap: 64px; }
.ticker-track .sep { color: var(--accent); font-style: normal; font-size: 13px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== STATS ===== */
.stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
/* Truth-gated stats: the grid adapts to however many tiles have real data */
.stats-grid.cols-1 { grid-template-columns: 1fr; }
.stats-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat { border-left: 1px solid var(--rule); padding-left: 24px; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .num .suf { font-size: 0.5em; color: var(--accent); }
.stat .label {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-3);
  max-width: 240px;
  line-height: 1.5;
}

/* ===== SECTION HEADER ===== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.section-head .lede {
  font-size: 17.5px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 540px;
}

/* ===== SERVICES ===== */
.services { padding: var(--sp-section) 0; }
.services-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
.service-tabs { display: flex; flex-direction: column; }
.service-tab {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  padding: 22px 0;
  background: none; border: none;
  border-top: 1px solid var(--rule);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-3);
  transition: color .2s, padding .25s;
}
.service-tab:last-child { border-bottom: 1px solid var(--rule); }
.service-tab .name {
  font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.2;
  flex: 1;
  letter-spacing: -0.01em;
}
.service-tab .chev {
  font-size: 14px;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.service-tab:hover { color: var(--ink); padding-left: 8px; }
.service-tab:hover .chev { opacity: 1; transform: translateX(2px); }
.service-tab.active { color: var(--ink); padding-left: 8px; }
.service-tab.active .chev { opacity: 1; color: var(--accent); }
.service-tab.active .name { color: var(--ink); }

.service-detail {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.service-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-media {
  height: 360px;
  overflow: hidden;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.service-body { padding: 32px 0 0; }
.service-body h3 {
  font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.1; margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.service-body .desc { color: var(--ink-2); max-width: 560px; line-height: 1.65; font-size: 16.5px; }
.service-bullets {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 32px;
}
.service-bullets li {
  list-style: none; padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
}
.service-bullets li::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%;
}
.service-specs {
  margin-top: 24px;
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.service-specs .item .k {
  font-family: var(--sans); font-size: 13px;
  color: var(--ink-3); margin-bottom: 4px;
}
.service-specs .item .v {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
}

/* ===== PROCESS ===== */
.process {
  padding: var(--sp-section) 0;
  background: var(--band-bg);
  color: var(--band-ink);
}
.process .section-head {
  border-bottom-color: var(--overlay-light-12);
}
.process .section-head h2 { color: var(--band-ink); }
.process .section-head .lede { color: var(--band-text); }
.process .eyebrow { color: var(--band-eyebrow); }
.process .eyebrow .num { color: var(--band-faint); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--overlay-light-15);
}
.step {
  padding: 32px 24px 48px 0;
  border-right: 1px solid var(--overlay-light-12);
  position: relative;
  transition: background .25s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--overlay-light-03); padding-left: 24px; padding-right: 0; }
.step .idx {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 80px;
  display: flex; align-items: center; gap: 12px;
}
.step .idx .line { flex: 1; height: 1px; background: var(--overlay-light-15); }
.step h4 {
  font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.step p { color: var(--band-text); font-size: 15px; line-height: 1.65; max-width: 280px; }
.step .meta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; color: var(--band-muted);
  font-style: italic;
}

/* ===== PROOF / TESTIMONIALS ===== */
.proof { padding: var(--sp-section) 0; }
.proof-shell {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.proof-left { position: sticky; top: 100px; }
.proof-left .eyebrow { margin-bottom: 20px; }
.proof-left h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.proof-rating {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 32px 0;
}
.stars { display: flex; gap: 2px; color: var(--accent); font-size: 14px; }
.proof-rating .val { font-family: var(--serif); font-size: 32px; letter-spacing: -0.02em; }
.proof-rating .sub { font-size: 13px; color: var(--ink-3); }

.rev-switch { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.rev-switch button {
  padding: 8px 14px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-3);
  border-radius: 2px;
  cursor: pointer;
  transition: all .15s;
}
.rev-switch button:hover { border-color: var(--ink); color: var(--ink); }
.rev-switch button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.reviews {
  display: flex; flex-direction: column; gap: 16px;
}
.review {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: transform .25s, box-shadow .25s;
}
.review:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px var(--overlay-dark-12); }
.review-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.review-who { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-who .name { font-weight: 500; font-size: 14px; }
.review-who .loc { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.review-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-3);
}
.review-quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.review-quote .q { color: var(--accent); }

/* ===== PROJECT SHOWCASE (before/after) ===== */
.showcase { padding: var(--sp-section) 0; background: var(--bg-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: var(--ink);
}
.ba-image { position: absolute; inset: 0; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-image:not(.ba-after) img { filter: saturate(0.8) brightness(0.9) contrast(1.05); }
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: var(--shadow-ring);
  transform: translateX(-50%);
}
.ba-handle .knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}
.ba-label {
  position: absolute; top: 16px;
  font-family: var(--sans); font-size: 13px;
  background: var(--overlay-dark-75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 2px;
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; }

.showcase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.showcase-info .eyebrow { margin-bottom: 16px; }
.showcase-info h3 {
  font-family: var(--serif); font-size: 44px; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.showcase-info p { color: var(--ink-2); line-height: 1.6; margin-bottom: 24px; max-width: 480px;}
.showcase-info .facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--rule);
}
.showcase-info .fact {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.showcase-info .fact .k {
  font-family: var(--sans); font-size: 13px; color: var(--ink-4);
  margin-bottom: 4px;
}
.showcase-info .fact .v { font-family: var(--serif); font-size: 22px; }
.showcase-selector {
  display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap;
}
.showcase-selector button {
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 12px;
  font-family: var(--sans);
  cursor: pointer;
  color: var(--ink-3);
  transition: all .15s;
}
.showcase-selector button:hover { color: var(--ink); border-color: var(--ink); }
.showcase-selector button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ===== ESTIMATE / CTA ===== */
/* Estimate band sits on the accent color — the default eyebrow (accent-deep
   text + accent dot) is tone-on-tone there on every theme. */
.estimate .eyebrow { color: var(--on-accent-soft, rgba(255,243,231,0.88)); }
.estimate .eyebrow .dot { background: var(--on-accent-soft, rgba(255,243,231,0.88)); }
.estimate {
  padding: 120px 0;
  background: var(--accent);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.estimate::before {
  content: ''; position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--overlay-light-15) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.3;
  pointer-events: none;
}
.estimate-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--overlay-light-25, rgba(255,255,255,0.25)); font-size: 13px; }
.estimate h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--bg);
  margin-bottom: 20px;
}
.estimate h2 em { font-style: italic; }
.estimate p { color: var(--on-accent-soft); font-size: 17px; line-height: 1.55; max-width: 440px; margin-bottom: 28px; }
.estimate .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.estimate .btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.estimate .btn.ghost { background: transparent; color: var(--bg); border-color: var(--overlay-light-40); }
.estimate .btn.ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.estimate-card {
  background: var(--overlay-dark-92);
  backdrop-filter: blur(10px);
  color: var(--panel-ink);
  padding: 36px;
  border-radius: 4px;
  border: 1px solid var(--overlay-light-08);
}
.estimate-card h4 {
  font-family: var(--serif); font-size: 28px; line-height: 1.1;
  margin-bottom: 24px;
}
.estimate-card .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--overlay-light-10);
  font-size: 14px;
}
.estimate-card .row:last-child { border-bottom: none; }
.estimate-card .row .k { color: var(--overlay-light-60); }
.estimate-card .row .v { font-family: var(--sans); }
.estimate-card .row .v.pos { color: var(--success); }

/* ===== MODAL (single-step estimate request form) ===== */
.modal-scrim {
  position: fixed; inset: 0;
  background: var(--overlay-dark-70);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  z-index: 200;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card);
  color: var(--ink);
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform .3s;
}
.modal-scrim.open .modal { transform: translateY(0) scale(1); }
.lead-modal { position: relative; padding: 34px 34px 30px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-3);
  transition: background .15s, color .15s;
  z-index: 1;
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }

.lead-head { margin-bottom: 22px; padding-right: 32px; }
.lead-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 29px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lead-sub {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--ink-4); }
.field input {
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius, 12px) * 0.5);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--ink-4); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--overlay-dark-rgb), 0.06); }
.field.invalid input { border-color: var(--error); }
.field .field-err { font-size: 12.5px; color: var(--error); font-family: var(--sans); }

/* Honeypot: visually gone, still fillable by dumb bots. */
.lead-hp {
  position: absolute !important;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  margin: 0; padding: 0;
  overflow: hidden;
  opacity: 0;
}

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 12px;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 15px; height: 15px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent span {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

.lead-legal {
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-4);
}
.lead-legal a {
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lead-legal a:hover { color: var(--ink); }

.lead-submit {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.lead-submit:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* Post-submit states (thank-you / failure fallback) */
.lead-done { text-align: center; padding: 26px 6px 4px; }
.lead-done-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  font-size: 22px;
}
.lead-done-icon.err { background: var(--error); color: #fff; }
.lead-done h3 {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}
.lead-done p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 360px;
  margin: 0 auto;
}
.lead-done p a { color: var(--accent); font-weight: 600; }
.lead-preview-note { margin-top: 14px !important; font-size: 12.5px !important; color: var(--ink-4) !important; font-family: var(--sans); }
.lead-done-foot { display: flex; justify-content: center; margin-top: 24px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: var(--sp-section) 0 var(--sp-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--overlay-light-12);
}
.footer h5 {
  font-family: var(--sans); font-size: 13px;
  color: var(--footer-muted); margin-bottom: 20px;
}
.footer-brand .tag {
  font-family: var(--serif);
  font-size: 36px; line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 360px;
  margin-bottom: 24px;
}
.footer-brand .addr { color: var(--footer-text); font-size: 14px; line-height: 1.6; max-width: 260px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--line); font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact .phone { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.footer-contact .email { font-family: var(--sans); font-size: 13px; color: var(--line); margin-bottom: 16px; display: block; }
.footer-contact .hours { font-size: 13px; color: var(--footer-muted); line-height: 1.6; }
.footer-bot {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--sans); font-size: 13px; color: var(--footer-muted);
}
.footer-bot a { color: var(--footer-muted); margin-left: 20px; }
.footer-bot a:hover { color: var(--accent); }

/* ===== TWEAKS PANEL ===== */
.tweaks {
  position: fixed; right: 20px; bottom: 20px;
  width: 280px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 6px;
  padding: 16px;
  z-index: 300;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  transform: translateY(calc(100% + 30px));
  transition: transform .3s;
}
.tweaks.open { transform: translateY(0); }
.tweaks h5 {
  font-family: var(--sans); font-size: 13px;
  color: #8E929B;
  margin: 0 0 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks h5 button {
  background: none; border: none; color: #8E929B; cursor: pointer; font-size: 16px;
}
.tweaks .group { margin-bottom: 16px; }
.tweaks .group-label { color: #B8BCC4; font-size: 13px; margin-bottom: 6px; }
.tweaks .swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks .swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s;
}
.tweaks .swatch:hover { transform: scale(1.1); }
.tweaks .swatch.active { border-color: var(--bg); }
.tweaks .seg {
  display: flex; background: var(--overlay-light-08); border-radius: 3px; padding: 2px;
}
.tweaks .seg button {
  flex: 1;
  background: transparent; border: none; color: #B8BCC4;
  font-family: var(--sans); font-size: 13px; padding: 6px 8px;
  cursor: pointer;
  border-radius: 2px;
  transition: all .15s;
}
.tweaks .seg button.active { background: var(--bg); color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-layout { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .proof-shell { grid-template-columns: 1fr; gap: 40px; }
  .proof-left { position: static; }
  .stats-grid, .stats-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--overlay-light-12); padding-bottom: 32px; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3), .step:nth-child(4) { padding-top: 32px; }
  .estimate-shell, .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 16px var(--pad);
    gap: 0;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-links a:last-child { border-bottom: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .stats-grid, .stats-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
  .stat:first-child, .stat:nth-child(2) { border-top: none; padding-top: 0;}
  .lead-modal { padding: 26px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-bullets { grid-template-columns: 1fr; }
  .utility .u-right { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; }
}


/* ===== LAYOUT VARIANTS =====
   Driven by the data-* attributes LOAD_CONFIG sets on <body> from
   theme.layoutVariants. The default variants (classic/standard/band/
   tabs/split) add no rules here — the base styles above ARE those
   variants, so a default theme renders untouched. */

/* -- Hero: centered -- */
body[data-hero-variant="centered"] .hero-overlay { min-height: clamp(620px, 92vh, 900px); }
body[data-hero-variant="centered"] .hero-overlay-inner { justify-content: center; align-items: center; text-align: center; }
body[data-hero-variant="centered"] .hero-text { max-width: 880px; }
body[data-hero-variant="centered"] .hero-overlay .hero-body { margin-left: auto; margin-right: auto; }
body[data-hero-variant="centered"] .hero-overlay .hero-actions { justify-content: center; }
body[data-hero-variant="centered"] .hero-overlay .hero-photo-caption { width: 100%; }

/* -- Hero: split (text left, visual right) -- */
.hero-split { padding: clamp(48px, 8vh, 88px) 0; background: var(--bg); }
.hero-split-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-split .hero-head { font-size: clamp(44px, 5.4vw, 82px); }
.hero-split .hero-body { margin-top: 24px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); max-width: 520px; }
.hero-split .hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-split-media { height: clamp(380px, 58vh, 580px); border-radius: var(--radius); overflow: hidden; position: relative; }
.hero-split-media img { width: 100%; height: 100%; object-fit: cover; }
/* No scraped hero photo → token-derived gradient + geometric pattern (CSS only) */
.hero-media-pattern { background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%); }
.hero-media-pattern::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, var(--overlay-light-15) 1px, transparent 0); background-size: 26px 26px; }
.hero-media-pattern::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(var(--overlay-dark-rgb), 0.35) 100%); }
@media (max-width: 1080px) {
  .hero-split-inner { grid-template-columns: 1fr; }
  .hero-split-media { height: clamp(280px, 44vw, 420px); }
}

/* -- Hero: overlay variants with no photo (CSS-only fallback) -- */
.hero-overlay.no-img { background: linear-gradient(150deg, rgba(var(--overlay-dark-rgb), 0.94) 0%, rgba(var(--overlay-dark-rgb), 0.62) 100%), linear-gradient(30deg, var(--accent-deep) 0%, var(--accent) 100%); }
.hero-overlay.no-img .hero-scrim { background: radial-gradient(circle at 1px 1px, var(--overlay-light-08) 1px, transparent 0); background-size: 26px 26px; }

/* -- Nav: centered (logo centered above the links) -- */
body[data-nav-variant="centered"] .nav-inner { flex-direction: column; height: auto; gap: 10px; padding: 18px 0 14px; position: relative; }
body[data-nav-variant="centered"] .nav.scrolled .nav-inner { height: auto; padding: 10px 0 8px; }
body[data-nav-variant="centered"] .nav-cta { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
body[data-nav-variant="centered"] .mobile-toggle { position: absolute; right: 0; top: 22px; }
@media (max-width: 1080px) {
  body[data-nav-variant="centered"] .nav-cta { position: static; transform: none; }
}

/* -- Nav: minimal (slim, uppercase small links) -- */
body[data-nav-variant="minimal"] .nav-inner { height: 62px; }
body[data-nav-variant="minimal"] .nav.scrolled .nav-inner { height: 56px; }
body[data-nav-variant="minimal"] .nav-links a { font-size: 12px; text-transform: uppercase; letter-spacing: 0.13em; font-weight: 600; padding: 8px 12px; }
body[data-nav-variant="minimal"] .logo-mark { width: 30px; height: 30px; font-size: 19px; }
body[data-nav-variant="minimal"] .logo-text .main { font-size: 17px; }
body[data-nav-variant="minimal"] .logo-text .sub { display: none; }
body[data-nav-variant="minimal"] .nav-cta { padding: 8px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }

/* -- Stats: cards (bordered card, accent top edge) -- */
body[data-stats-variant="cards"] .stats-grid { gap: 20px; }
body[data-stats-variant="cards"] .stat,
body[data-stats-variant="cards"] .stat:first-child {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) {
  body[data-stats-variant="cards"] .stat,
  body[data-stats-variant="cards"] .stat:first-child,
  body[data-stats-variant="cards"] .stat:nth-child(2) {
    border: 1px solid var(--rule);
    border-top: 3px solid var(--accent);
    padding: 22px 20px 24px;
  }
}

/* -- Services: grid (all services as cards, no tab list) -- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service-card .service-media { height: 200px; border-radius: 0; }
.service-card .sc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.service-card .desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.service-card .sc-bullets { list-style: none; margin: 2px 0 0; padding: 0; }
.service-card .sc-bullets li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.service-card .sc-bullets li:last-child { border-bottom: none; }
.service-card .sc-bullets li::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.service-card .sc-specs { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; gap: 20px; flex-wrap: wrap; }
.service-card .sc-specs .k { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.service-card .sc-specs .v { font-family: var(--serif); font-size: 19px; font-weight: 500; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .services-grid { grid-template-columns: 1fr; } }

/* -- Estimate: centered (single centered column, trust strip centered) -- */
body[data-estimate-variant="centered"] .estimate-shell { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
body[data-estimate-variant="centered"] .estimate h2 { margin-left: auto; margin-right: auto; }
body[data-estimate-variant="centered"] .estimate p { margin-left: auto; margin-right: auto; }
body[data-estimate-variant="centered"] .trust-strip { justify-content: center; }
body[data-estimate-variant="centered"] .estimate-shell > div > div { justify-content: center; }
body[data-estimate-variant="centered"] .estimate-card { width: min(560px, 100%); text-align: left; }
/* …but keep the slots card's key/value rows spread apart (the > div > div
   centering above is meant for the CTA button row, not the card rows). */
body[data-estimate-variant="centered"] .estimate-card .row { justify-content: space-between; }

/* =============================================================
   SUB-PAGE SECTIONS
   Rendered by site-engine.js on about/services/work/reviews/
   financing/contact pages. Tokens only — every color/font/radius
   comes from the theme CSS variables, so presets restyle these
   automatically. Nothing below touches home-page selectors.
   ============================================================= */

/* -- Page hero (compact banner header shared by every sub-page) -- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--band-bg);
  color: var(--band-ink);
  padding: clamp(64px, 9vh, 110px) 0 clamp(44px, 6vh, 68px);
}
.page-hero .ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero .ph-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--overlay-dark-rgb), 0.72) 0%, rgba(var(--overlay-dark-rgb), 0.6) 100%);
  z-index: -1;
  pointer-events: none;
}
.page-hero:not(.has-img)::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--overlay-light-08) 1px, transparent 0);
  background-size: 26px 26px;
  z-index: -1;
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--band-eyebrow); }
.page-hero .eyebrow .dot { background: var(--accent); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-top: 18px;
  max-width: 920px;
}
.page-hero.has-img .eyebrow { color: #FFD7BF; }
.page-hero.has-img h1 { color: #fff; }
.page-hero .ph-lede {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--band-text);
  max-width: 560px;
}
.page-hero.has-img .ph-lede { color: var(--overlay-light-92); }

/* -- About: story -- */
.about-story { padding: var(--sp-section) 0; }
.about-story .story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.about-story h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 20px;
}
.about-story .story-copy p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 560px;
}
.story-facts { border-top: 1px solid var(--rule); margin-top: 8px; }
.story-facts .fact { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.story-facts .fact .k { font-family: var(--sans); font-size: 13px; color: var(--ink-4); margin-bottom: 4px; }
.story-facts .fact .v { font-family: var(--serif); font-size: 24px; }
.story-quote {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 28px;
}
.story-quote .quote {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.story-quote .quote .q { color: var(--accent); }
.story-quote .who { margin-top: 16px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.story-creds { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.story-creds .cred-chip {
  font-family: var(--sans); font-size: 13px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--card);
  display: inline-flex; align-items: center; gap: 8px;
}
.story-creds .cred-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* -- Careers band (about#careers) -- */
.careers-band {
  padding: clamp(64px, 9vh, 96px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 90px;
}
.careers-band h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 18px;
}
.careers-band p { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 560px; }
.careers-band .careers-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* -- Services detail (full per-service sections) -- */
.svc-detail { padding: var(--sp-section) 0 calc(var(--sp-section) * 0.6); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vh, 64px) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 90px;
}
.svc-row:first-of-type { border-top: none; padding-top: 8px; }
.svc-row.flip .svc-media { order: 2; }
.svc-media {
  height: clamp(280px, 34vw, 400px);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.svc-body h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.svc-body .desc { color: var(--ink-2); line-height: 1.65; font-size: 16.5px; max-width: 560px; }

/* -- Work gallery (service imagery when no before/after projects exist) -- */
.work-gallery { padding: var(--sp-section) 0; }
.work-gallery .wg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-gallery figure {
  margin: 0;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--card);
}
.work-gallery figure img { width: 100%; height: 240px; object-fit: cover; }
.work-gallery figcaption {
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.work-gallery figcaption::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* -- Reviews page (all buckets expanded) -- */
.reviews-page { padding: var(--sp-section) 0; }
.reviews-page .rp-rating {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.reviews-page .rp-rating .val { font-family: var(--serif); font-size: 32px; letter-spacing: -0.02em; }
.reviews-page .rp-rating .sub { font-size: 13px; color: var(--ink-3); }
.reviews-page .rp-bucket { margin-bottom: 48px; }
.reviews-page .rp-bucket:last-child { margin-bottom: 0; }
.reviews-page .rp-bucket-head {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: baseline; gap: 12px;
}
.reviews-page .rp-bucket-head .count { font-family: var(--sans); font-size: 13px; color: var(--ink-4); }
.reviews-page .rp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* -- Financing / payment options -- */
.fin-section { padding: var(--sp-section) 0; }
.fin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fin-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius, 12px);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}
.fin-card .fin-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  font-size: 16px;
  margin-bottom: 18px;
}
.fin-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.fin-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.fin-fallback {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(24px, 4vh, 48px) 0;
}
.fin-fallback h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.fin-fallback p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.fin-fallback .btn { margin-top: 28px; }

/* -- Contact page -- */
.contact-page { padding: var(--sp-section) 0; }
.contact-page .cp-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.cp-rows { border-top: 1px solid var(--rule); }
.cp-row {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.cp-row .cp-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bg-alt);
  color: var(--accent);
  border-radius: 50%;
  font-size: 14px;
}
.cp-row .k { font-family: var(--sans); font-size: 13px; color: var(--ink-4); margin-bottom: 3px; }
.cp-row .v { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.cp-row .v a:hover { color: var(--accent); }
.cp-hours {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius, 12px);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.cp-hours h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
}
.cp-hours .hrow {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.cp-hours .hrow:last-child { border-bottom: none; }
.cp-hours .hrow .d { color: var(--ink-2); font-weight: 600; font-family: var(--sans); font-size: 13px; }
.cp-hours .hrow .t { color: var(--ink-3); }
.cp-hours .hrow .t.closed { color: var(--ink-4); font-style: italic; }
.contact-page .cp-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* -- Sub-page responsive -- */
@media (max-width: 1080px) {
  .about-story .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc-row.flip .svc-media { order: 0; }
  .work-gallery .wg-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-page .rp-grid { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-page .cp-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .work-gallery .wg-grid { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* -- Legal pages (privacy.html / terms.html) -- */
.legal-page { padding: calc(var(--sp-section) * 0.7) 0 var(--sp-section); }
.legal-page .legal-body { max-width: 720px; }
.legal-page .legal-body h2 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal-page .legal-body h2:first-child { margin-top: 0; }
.legal-page .legal-body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legal-page .legal-body ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.legal-page .legal-body li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.legal-page .legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page .legal-body strong { color: var(--ink); font-weight: 600; }
