/*
 * Kansas City Home Repair & Restoration — Graphite & Brass
 * Authored source. The hashed public copy is built by AssetVersion.
 * No literal hex outside the two token blocks.
 */

:root {
  /* Graphite family */
  --graphite-950: #141518;
  --black: #000000;
  --graphite-900: #1C1E21;
  --graphite-850: #222428;
  --graphite-800: #26292D;
  --graphite-700: #34383D;
  --graphite-500: #5C6168;
  --graphite-300: #A3A7AD;
  /* Warm neutrals */
  --bone-50: #F7F5F0;
  --bone-100: #EFEBE3;
  --stone-200: #DDD7CC;
  /* Brass accent */
  --brass-500: #B8925A;
  --brass-400: #C9A86F;
  --brass-600: #9C7A47;
  /* Text */
  --ink: #1C1E21;
  --paper: #F7F5F0;
  /* Forms */
  --success: #4F7A5A;
  --error: #A4523F;
  /* Type scale (fluid) */
  --fs-display: clamp(2.6rem, 1.4rem + 4vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  --fs-small: .875rem;
  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;
  --container: 1240px;
  --gutter: 24px;
  --radius: 2px;
  --radius-btn: 4px;
  --radius-card: 4px;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow-card: 0 24px 48px -24px rgba(20, 21, 24, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -------- Resets -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone-50);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--stone-200);
}

a:hover {
  text-decoration-color: var(--brass-500);
}

/* -------- Typography -------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 400;
}

p {
  margin: 0 0 var(--s-4);
  max-width: 68ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--brass-600);
  margin: 0 0 var(--s-3);
}

.on-dark .eyebrow {
  color: var(--brass-400);
}

.display {
  font-size: var(--fs-display);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

.small {
  font-size: var(--fs-small);
  color: var(--graphite-500);
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--graphite-500);
  max-width: 60ch;
}

/* -------- Container & sections -------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (max-width: 640px) {

  .container {
    padding-inline: 20px;
  }
}

.section {
  padding-block: var(--s-9);
}

@media (max-width: 760px) {

  .section {
    padding-block: var(--s-8);
  }
}

.section--bone {
  background: var(--bone-50);
}

.section--bone-100 {
  background: var(--bone-100);
}

.section--graphite {
  background: var(--graphite-900);
  color: var(--paper);
}

.section--graphite .lede,
.section--graphite p {
  color: var(--graphite-300);
}

.on-dark {
  background: var(--graphite-900);
  color: var(--paper);
}

.rule {
  border: 0;
  border-top: 1px solid var(--stone-200);
  margin: var(--s-6) 0;
}

.on-dark .rule {
  border-top-color: var(--graphite-700);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 28px 0 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--graphite-950);
  color: var(--brass-500);
  transition: transform .25s var(--ease), background .2s var(--ease);
  font-size: 14px;
}

.btn--primary .btn__arrow {
  background: var(--graphite-950);
  color: var(--brass-500);
}

.btn--secondary .btn__arrow {
  background: var(--ink);
  color: var(--paper);
}

.on-dark .btn--secondary .btn__arrow {
  background: var(--paper);
  color: var(--ink);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brass-500);
  color: var(--graphite-950);
  border-color: var(--brass-500);
}

.btn--primary:hover {
  background: var(--brass-600);
  border-color: var(--brass-600);
  color: var(--paper);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.on-dark .btn--secondary {
  color: var(--paper);
  border-color: var(--paper);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn .arrow {
  display: inline-block;
  transition: transform .2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn:focus-visible {
  outline: 2px solid var(--brass-600);
  outline-offset: 3px;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--brass-500);
  padding-bottom: 2px;
}

.textlink:hover {
  color: var(--brass-600);
}

.on-dark .textlink {
  color: var(--paper);
}

.on-dark .textlink:hover {
  color: var(--brass-400);
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 2px solid var(--brass-500);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 255, 255, .9) 50%,
      var(--brass-500) 52%,
      transparent 60%,
      transparent 100%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-position: -150% 0;
  animation: site-header-glimmer 15s var(--ease) .3s 1 forwards;
}

@keyframes site-header-glimmer {
  from {
    background-position: 150% 0;
  }

  to {
    background-position: -150% 0;
  }
}

.site-header.is-scrolled {
  background: var(--bone-50);
  border-bottom-color: var(--brass-500);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand__logo {
  display: block;
  height: auto;
  width: 280px;
  max-width: 100%;
  /* Trim the asset's transparent vertical padding without stretching it. */
  aspect-ratio: 4.5;
  object-fit: cover;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.1;
}

.brand__tag {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10.5px;
  color: var(--graphite-500);
  margin-top: 2px;
}

.on-dark .brand__name {
  color: var(--paper);
}

.on-dark .brand__tag {
  color: var(--graphite-300);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: var(--s-6);
}

.main-nav a {
  text-decoration: none;
  color: inherit;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--brass-600);
}

.on-dark .main-nav a:hover {
  color: var(--brass-400);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
}

.header-phone {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.header-call {
  height: 48px;
  padding-inline: 16px;
  gap: 9px;
  color: var(--black);
  background: transparent;
  border: 1px solid var(--brass-500);
  white-space: nowrap;
}

.header-call:hover,
.header-call:focus-visible {
  color: var(--black);
  background: transparent;
  border-color: var(--brass-500);
}

.header-call__icon {
  width: 14px;
  height: 14px;
  fill: var(--black);
  flex: 0 0 auto;
}

/* -------- Nav dropdown (Services) -------- */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font: inherit;
  font-size: 15px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.nav-item__link:hover,
.nav-item__link[aria-expanded="true"] {
  color: var(--brass-600);
}

.on-dark .nav-item__link:hover,
.on-dark .nav-item__link[aria-expanded="true"] {
  color: var(--brass-400);
}

.nav-item__caret {
  font-size: 10px;
  line-height: 1;
  transition: transform 150ms ease;
}

.nav-item__link[aria-expanded="true"] .nav-item__caret {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  padding: var(--s-5);
  z-index: 50;
  display: none;
}

.nav-item__link[aria-expanded="true"]+.nav-menu {
  display: block;
}

/* Bridge the visual gap so moving from Services into the panel stays hovered. */
@media (min-width: 901px) {
  .nav-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -13px;
    height: 13px;
  }
}

.nav-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}

.nav-menu__heading {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--stone-200);
}

.nav-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-menu__list a {
  display: block;
  padding: 6px 4px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  border-radius: 2px;
}

.nav-menu__list a:hover,
.nav-menu__list a:focus-visible {
  color: var(--brass-600);
  background: rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3) 0;
    background: var(--bone-50);
    border-top: 1px solid var(--stone-200);
    border-bottom: 1px solid var(--brass-500);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    z-index: 50;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav>a,
  .main-nav .nav-item__link {
    padding: 14px var(--s-5);
    font-size: 16px;
    border-bottom: 1px solid var(--stone-100);
  }

  .main-nav .nav-item,
  .main-nav .nav-item--has-menu {
    display: block;
    width: 100%;
  }

  .main-nav .nav-item__link {
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: var(--s-3) 0 0;
  }

  .nav-menu__grid {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: var(--s-4);
    min-height: 64px;
  }

  .brand__logo {
    width: 240px;
    height: auto;
    max-width: calc(100vw - 108px);
  }

  .header-actions {
    gap: var(--s-2);
  }

  .header-actions .header-call,
  .header-actions .btn--primary {
    display: none;
  }
}

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-btn span::before {
  position: absolute;
  top: -6px;
}

.menu-btn span::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 900px) {

  .menu-btn {
    display: inline-flex;
  }
}

/* -------- Hero (home) -------- */
.hero-home {
  position: relative;
  color: var(--paper);
  background: var(--graphite-950);
  isolation: isolate;
  overflow: hidden;
}

/* Soft hand-off to the bone section below — the dark lifts gradually
   through the final 160px instead of ending on a hard edge. */
.hero-home::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--brass-500) 70%, var(--bone-50) 100%);
}

.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 72% 32%, rgba(201, 168, 111, .18) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 85%, rgba(184, 146, 90, .08) 0%, transparent 60%),
    linear-gradient(180deg, var(--graphite-900) 0%, var(--graphite-950) 100%);
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 21, 24, .15) 0%, rgba(20, 21, 24, .65) 100%);
}

.hero-home__inner {
  min-height: 81.092vh;
  max-height: 755.63px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-7);
  align-items: stretch;
  padding-block: max(0px, calc(var(--s-9) * .95 - 2.508vh)) calc(var(--s-10) * .95);
}

.hero-home__left {
  align-self: end;
}

.hero-home__right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}

@media (max-width: 900px) {

  .hero-home__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }

  .hero-home__right {
    min-height: 0;
    gap: var(--s-5);
  }
}

.hero-home__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--brass-400);
  margin-bottom: var(--s-5);
}

.hero-home__eyebrow::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--brass-500);
}

.hero-home__title {
  max-width: 18ch;
  margin: 0 0 var(--s-5);
}

.hero-home__sub {
  color: var(--graphite-300);
  max-width: 44ch;
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-home__sub strong {
  color: var(--brass-500);
}

.hero-home__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  max-width: 480px;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.hero-home__actions .btn {
  min-width: 0;
  height: auto;
  min-height: 54px;
  padding: 10px 16px;
  text-align: center;
}

.hero-home__actions .btn__arrow {
  flex-shrink: 0;
}

/* Staggered load-in. Text settles before the house finishes drawing, so the
   eye travels: words → line drawing → amber window glow. GPU-only props. */
.hero-home__eyebrow,
.hero-home__title,
.hero-home__sub,
.hero-home__actions,
.hero-quote {
  opacity: 0;
  transform: translateY(10px);
  animation: heroRise 1040ms var(--ease) forwards;
}

.hero-home__eyebrow {
  animation-delay: 160ms;
}

.hero-home__title {
  animation-delay: 360ms;
}

.hero-home__sub {
  animation-delay: 600ms;
}

.hero-home__actions {
  animation-delay: 840ms;
}

.hero-quote {
  animation-delay: 1080ms;
}

@keyframes heroRise {

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-home__eyebrow,
  .hero-home__title,
  .hero-home__sub,
  .hero-home__actions,
  .hero-quote {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Hero quote card — the single highest-value right-side element.
   Replaces the stacked words and the trust card. Reference B pattern. */
.hero-quote {
  background: var(--bone-50);
  color: var(--ink);
  border: 1px solid var(--brass-500);
  border-radius: var(--radius-card);
  padding: var(--s-6);
  box-shadow: 0 0 0 4px rgba(201, 150, 47, .18), 0 20px 40px -20px rgba(0, 0, 0, .45);
  display: grid;
  gap: var(--s-4);
  position: relative;
  z-index: 1;
}

.hero-quote__eyebrow {
  font-size: 15px;
  line-height: 1.4;
  color: var(--graphite-500);
  font-weight: 700;
  margin: 0;
}

.hero-quote__q {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
}

.hero-quote select {
  height: 56px;
  padding: 0 var(--s-4);
  background: var(--paper);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
}

.hero-quote select:focus {
  outline: none;
  border-color: var(--brass-600);
  box-shadow: 0 0 0 2px var(--brass-600);
}

.hero-quote__btn {
  width: 100%;
  justify-content: center;
}

.hero-quote__fine {
  font-size: 12.5px;
  color: var(--graphite-500);
  margin: 0;
  line-height: 1.4;
}

/* The one slanted edge on the home page (RSD §4.0 / Reference A). */
.slant-bottom {
  --slant: 2.5vw;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}

/* Floating trust card (hero bottom-right — Reference B).
   Rendered only when at least one real metric is set in admin. */
.trust-card {
  position: absolute;
  right: var(--s-7);
  bottom: var(--s-7);
  background: var(--bone-50);
  color: var(--ink);
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-5);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  width: 340px;
}

.trust-card__title {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite-500);
  font-weight: 500;
  margin-bottom: var(--s-4);
}

.trust-card__stats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: var(--s-3);
}

.trust-card__stat {
  text-align: left;
}

.trust-card__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-card__cap {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--graphite-500);
  text-transform: uppercase;
}

@media (max-width: 900px) {

  .trust-card {
    position: static;
    margin-top: var(--s-6);
    width: 100%;
  }
}

/* -------- Inner hero (split) -------- */
.hero-inner {
  background: var(--bone-50);
  padding-block: var(--s-9);
}

.hero-inner--sub-service,
.hero-inner--divided {
  border-bottom: 2px solid var(--brass-500);
}

.hero-inner__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--s-8);
  align-items: center;
}

.hero-inner__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-inner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner__actions {
  display: flex;
  margin-top: var(--s-5);
  align-items: center;
  gap: var(--s-5);
}

.hero-inner__trust {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin: 0;
  padding-left: var(--s-5);
}

.hero-inner__trust li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--graphite-500);
}

.hero-inner__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 14px;
  height: 1.5px;
  background: var(--brass-500);
}

@media (max-width: 900px) {

  .hero-inner__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-inner__actions {
    display: block;
  }

  .hero-inner__trust {
    margin-top: var(--s-5);
  }
}

/* -------- Quote card (floating) -------- */
@property --quote-glimmer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.quote-card {
  position: relative;
  background: var(--bone-50);
  border: 2px solid var(--brass-500);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow-card);
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  background: conic-gradient(
    from var(--quote-glimmer-angle),
    transparent 0deg,
    transparent 300deg,
    rgba(255, 255, 255, .95) 335deg,
    var(--brass-500) 348deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: quote-card-glimmer 4s var(--ease) .3s 1 forwards;
}

@keyframes quote-card-glimmer {
  from { --quote-glimmer-angle: 0deg; }
  to   { --quote-glimmer-angle: 360deg; }
}

body:has(.quote-card) .site-header::after {
  animation: none;
  display: none;
}

.quote-card h3 {
  font-size: 1.4rem;
}

.quote-card__eyebrow {
  color: var(--brass-600);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}

/* -------- Service cards -------- */
.services-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 2fr 1fr 1fr;
}

.services-grid__big {
  grid-row: span 2;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.service-card--big {
  aspect-ratio: 4 / 5;
}

.service-card__media {
  position: absolute;
  inset: 0;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.03);
}

.service-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--s-8) var(--s-5) var(--s-5);
  background: linear-gradient(
    180deg,
    rgba(20, 21, 24, 0) 0%,
    rgba(20, 21, 24, .58) 38%,
    rgba(20, 21, 24, .94) 100%
  );
  color: var(--paper);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 4px;
  text-shadow: 0 1px 2px rgba(20, 21, 24, .7);
}

.service-card__meta {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-100);
  text-shadow: 0 1px 2px rgba(20, 21, 24, .8);
}

@media (max-width: 760px) {

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--big {
    aspect-ratio: 4 / 3;
  }
}

/* -------- Before/after slider -------- */
.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  user-select: none;
  touch-action: none;
  background: var(--graphite-900);
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba__after {
  clip-path: inset(0 0 0 50%);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--brass-500);
  transform: translateX(-50%);
}

.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: var(--brass-500);
  border: 2px solid var(--paper);
  border-radius: 999px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite-950);
  font-weight: 700;
}

.ba__label {
  position: absolute;
  top: var(--s-3);
  padding: 4px 10px;
  background: rgba(20, 21, 24, .6);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.ba__label--before {
  left: var(--s-3);
}

.ba__label--after {
  right: var(--s-3);
}

/* -------- Process steps -------- */
.process {
  counter-reset: step;
  display: grid;
  gap: var(--s-6);
}

.process__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-5);
  padding-block: var(--s-5);
  border-top: 1px solid var(--stone-200);
}

.process__item:first-child {
  border-top: 0;
}

.process__num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 3rem;
  color: var(--brass-500);
  line-height: 1;
}

.process__num::before {
  counter-increment: step;
  content: "0" counter(step);
}

/* -------- Reviews -------- */
.review {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--stone-200);
}

.review:first-child {
  border-top: 0;
}

.review__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: var(--s-4);
  max-width: 32ch;
}

.review__meta {
  font-size: 14px;
  color: var(--graphite-500);
}

.review__stars {
  color: var(--brass-500);
  letter-spacing: 2px;
  margin-right: var(--s-2);
}

/* -------- Cost table -------- */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--s-5);
  font-size: 15px;
}

.cost-table th,
.cost-table td {
  text-align: left;
  padding: var(--s-4);
  border-bottom: 1px solid var(--stone-200);
  vertical-align: top;
}

.cost-table th {
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--graphite-500);
}

.cost-table td.price {
  font-feature-settings: "tnum";
  font-weight: 500;
}

/* -------- FAQ -------- */
.faq details {
  border-bottom: 1px solid var(--stone-200);
  padding: var(--s-4) 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--brass-500);
}

.faq details[open] summary::after {
  content: "–";
}

.faq__body {
  padding-top: var(--s-3);
  color: var(--graphite-500);
  max-width: 60ch;
}

/* -------- Area chips -------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
}

.area-card {
  display: block;
  padding: var(--s-5);
  border: 1px solid var(--stone-200);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}

.area-card:hover {
  border-color: var(--brass-500);
}

.area-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.area-card__meta {
  font-size: 13px;
  color: var(--graphite-500);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* -------- CTA band -------- */
.cta-band {
  padding-block: var(--s-9);
  text-align: center;
}

.cta-band h2 {
  font-size: var(--fs-h1);
  color: var(--paper);
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band__actions {
  display: inline-flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--s-5);
}

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--brass-500);
  background: var(--graphite-950);
  color: var(--graphite-300);
  padding-block: var(--s-9) var(--s-6);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: var(--s-4);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.site-footer a {
  color: var(--graphite-300);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass-400);
}

.site-footer__legal {
  border-top: 1px solid var(--graphite-700);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: 13px;
}

@media (max-width: 760px) {

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------- Forms -------- */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: var(--s-4);
}

.field>label {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--graphite-500);
  font-weight: 500;
}

.field input[type=text],
.field input[type=tel],
.field input[type=email],
.field input[type=number],
.field select,
.field textarea {
  height: 56px;
  padding: 0 var(--s-4);
  background: var(--bone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

.field textarea {
  height: auto;
  min-height: 120px;
  padding: var(--s-3) var(--s-4);
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass-600);
  box-shadow: 0 0 0 2px var(--brass-600);
}

.field--error input {
  border-color: var(--error);
}

.field__hint {
  font-size: 13px;
  color: var(--graphite-500);
}

.field__error {
  font-size: 13px;
  color: var(--error);
}

.step-indicator {
  display: flex;
  gap: 6px;
  margin-bottom: var(--s-5);
}

.step-indicator span {
  flex: 1;
  height: 3px;
  background: var(--stone-200);
  border-radius: 2px;
}

.step-indicator span.is-active {
  background: var(--brass-500);
}

/* -------- Sticky mobile bar -------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  background: var(--graphite-950);
  color: var(--paper);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  border-top: 1px solid var(--graphite-700);
}

.sticky-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  text-decoration: none;
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--graphite-700);
}

.sticky-bar a.btn--primary {
  background: var(--brass-500);
  color: var(--graphite-950);
  border-color: var(--brass-500);
}

@media (max-width: 760px) {

  .sticky-bar {
    display: grid;
  }

  body {
    padding-bottom: 72px;
  }
}

/* -------- Author box -------- */
.author-box {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  margin-block: var(--s-5);
}

.author-box__photo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--stone-200);
}

.author-box__name {
  font-weight: 500;
  font-size: 15px;
}

.author-box__cred {
  font-size: 13px;
  color: var(--graphite-500);
}

/* -------- Credentials strip -------- */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  align-items: center;
}

.credentials img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .2s var(--ease), opacity .2s var(--ease);
}

.credentials img:hover {
  filter: none;
  opacity: 1;
}

/* -------- Placeholder box (local/staging only) -------- */
.placeholder-box {
  border: 1.5px dashed var(--brass-500);
  padding: var(--s-4);
  background: color-mix(in srgb, var(--brass-500) 6%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--graphite-500);
  margin-block: var(--s-4);
}

/* -------- Measure (brass blueprint line) -------- */
.measure {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--brass-500);
  vertical-align: middle;
  margin-right: 10px;
}

/* -------- Blueprint line SVG -------- */
.blueprint-line {
  display: block;
  width: 100%;
  height: 2px;
  stroke: var(--brass-500);
  stroke-width: 1px;
  fill: none;
}

.blueprint-line path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 900ms var(--ease) forwards;
}

@keyframes draw {

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .blueprint-line path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* -------- Fade-up on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------- Skip link -------- */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
  padding: var(--s-3);
  background: var(--brass-500);
  color: var(--graphite-950);
}

/* -------- Dusk-poster two-weight display headline (Reference A) -------- */
/* Alternating light/heavy lines, title case, roughly 1.05 line height. */
.display-stack {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-5);
}

.display-stack .line-light {
  display: block;
  font-weight: 300;
  color: var(--graphite-300);
}

.display-stack .line-heavy {
  display: block;
  font-weight: 500;
  color: var(--paper);
}

.display-stack .line-brass {
  display: block;
  font-weight: 500;
  color: var(--brass-400);
  font-style: italic;
}

.on-light .display-stack .line-light {
  color: var(--graphite-500);
}

.on-light .display-stack .line-heavy {
  color: var(--ink);
}

.on-light .display-stack .line-brass {
  color: var(--brass-600);
}

/* Section headlines on light sections — same two-weight idea, smaller. */
.h-stack {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-5);
}

.h-stack .line-light {
  display: block;
  font-weight: 300;
  color: var(--graphite-500);
}

.h-stack .line-heavy {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.h-stack .accent {
  color: var(--brass-600);
  font-style: italic;
  font-weight: 400;
}

.on-dark .h-stack .line-light {
  color: var(--graphite-300);
}

.on-dark .h-stack .line-heavy {
  color: var(--paper);
}

.on-dark .h-stack .accent {
  color: var(--brass-400);
}

/* -------- Service grid (Reference B) with overlay caption + arrow -------- */
.services-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--s-4);
  min-height: 620px;
}

.svc-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--paper);
  background: var(--graphite-800);
}

.svc-tile--hero {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.svc-tile--top-r {
  grid-column: 2 / span 2;
  grid-row: 1;
}

.svc-tile--bot-l {
  grid-column: 2;
  grid-row: 2;
}

.svc-tile--bot-r {
  grid-column: 3;
  grid-row: 2;
}

.svc-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease);
}

.svc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 24, .52);
  z-index: 1;
  pointer-events: none;
}

.svc-tile__caption {
  z-index: 2;
}

.svc-tile:hover img {
  transform: scale(1.03);
}

.svc-tile__caption {
  position: absolute;
  left: var(--s-5);
  right: var(--s-5);
  bottom: var(--s-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: end;
  padding: var(--s-5);
  background: linear-gradient(180deg, rgba(20, 21, 24, 0) 0%, rgba(20, 21, 24, .78) 100%);
  border-radius: var(--radius-card);
}

.svc-tile__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

.svc-tile__line {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite-300);
  margin-top: 4px;
}

.svc-tile__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--graphite-800);
  color: #fff;
  transition: transform .25s var(--ease), background .2s var(--ease);
  font-size: 20px;
  font-weight: 700;
}

.svc-tile:hover .svc-tile__arrow {
  background: var(--brass-500);
  color: #000;
  transform: translateX(3px);
}

@media (max-width: 900px) {

  .services-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .svc-tile--hero,
  .svc-tile--top-r,
  .svc-tile--bot-l,
  .svc-tile--bot-r {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4/3;
  }
}

/* Front steps extend beneath the house; their bottom shares the CTA baseline. */
.hero-front-steps {
  display: none;
}

@media (min-width: 901px) {
  .hero-home__right .hero-quote {
    margin-bottom: 48px;
    padding-top: calc(var(--s-6) + 16px);
  }

  .hero-front-steps {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 52px;
    overflow: visible;
    fill: var(--graphite-950);
    stroke: var(--graphite-300);
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
    opacity: 0;
    animation: heroStepsReveal 700ms var(--ease) 2120ms forwards;
  }
}

@keyframes heroStepsReveal {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-front-steps {
    opacity: 1;
    animation: none;
  }
}

/* -------- Hero house (single detailed architectural line drawing) --------
   The raised quote card overlaps the lower two window rows.
   Center window has a warm brass glow. */
.hero-house {
  position: absolute;
  top: 3px;
  left: -4%;
  right: -4%;
  z-index: 0;
  pointer-events: none;
  color: var(--graphite-300);
  opacity: 0;
  animation: heroHouseFade 1400ms var(--ease) 700ms forwards;
}

@keyframes heroHouseFade {

  to {
    opacity: 1;
  }
}

.hero-house svg {
  width: 100%;
  height: auto;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .78;
}

.hero-house svg path,
.hero-house svg line,
.hero-house svg rect:not(.glow),
.hero-house svg polyline {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: heroHouseDraw 4800ms var(--ease) 1000ms forwards;
}

@keyframes heroHouseDraw {

  to {
    stroke-dashoffset: 0;
  }
}

.hero-house svg .glow {
  fill: var(--brass-500);
  stroke: var(--brass-500);
  opacity: 0;
  animation: heroHouseGlow 1800ms var(--ease) 4200ms forwards;
}

@keyframes heroHouseGlow {

  to {
    opacity: .9;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-house {
    opacity: 1;
    animation: none;
  }

  .hero-house svg * {
    stroke-dashoffset: 0;
    animation: none;
  }

  .hero-house svg .glow {
    opacity: .9;
    animation: none;
  }
}

@media (max-width: 900px) {

  .hero-house {
    display: none;
  }
}

/* -------- Four-column promise strip (Reference A visual, factual copy) -------- */
.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 3px solid var(--stone-200);
}

.on-dark .promises {
  border-color: var(--graphite-700);
}

.promise {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--stone-200);
}

.on-dark .promise {
  border-right-color: var(--graphite-700);
}

.promise:last-child {
  border-right: 0;
}

.promise__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: var(--s-3);
  color: var(--brass-500);
}

.promise__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
}

.promise__label {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11.5px;
  color: var(--graphite-500);
  margin-bottom: var(--s-2);
}

.on-dark .promise__label {
  color: var(--brass-400);
}

.promise__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
}

.on-dark .promise__text {
  color: var(--paper);
}

@media (max-width: 760px) {

  .promises {
    grid-template-columns: 1fr 1fr;
  }

  .promise:nth-child(2) {
    border-right: 0;
  }

  .promise:nth-child(1),
  .promise:nth-child(2) {
    border-bottom: 1px solid var(--stone-200);
  }

  .on-dark .promise:nth-child(1),
  .on-dark .promise:nth-child(2) {
    border-bottom-color: var(--graphite-700);
  }
}

/* -------- About row (Reference B three-panel) -------- */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: var(--s-5);
  align-items: stretch;
}

.about-row__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  min-height: 480px;
  background: var(--stone-200);
}

.about-row__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-row__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(20, 21, 24, .75);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1.5px solid var(--paper);
}

.about-row__card {
  background: var(--graphite-900);
  color: var(--paper);
  padding: var(--s-7) var(--s-6);
  border-radius: var(--radius-card);
  display: grid;
  align-content: center;
}

.about-row__trust {
  background: var(--bone-50);
  border: 1px solid var(--stone-200);
  padding: var(--s-6);
  border-radius: var(--radius-card);
  display: grid;
  gap: var(--s-5);
  align-content: center;
}

.trust-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--s-4);
  align-items: start;
}

.trust-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--graphite-900);
  color: var(--brass-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-row__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.trust-row__title {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 2px;
}

.trust-row__text {
  font-size: 14px;
  color: var(--graphite-500);
  margin: 0;
}

@media (max-width: 900px) {

  .about-row {
    grid-template-columns: 1fr;
  }

  .about-row__media {
    min-height: 360px;
  }
}

/* -------- Meet the owner card (About row right panel) -------- */
.meet-owner {
  background: var(--bone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-card);
  padding: var(--s-6);
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

.meet-owner__photo {
  aspect-ratio: 4/5;
  background: var(--bone-100);
  border-radius: var(--radius-card);
  display: grid;
  place-items: center;
  color: var(--graphite-500);
  font-family: var(--font-serif);
  font-weight: 300;
  position: relative;
  overflow: hidden;
}

.meet-owner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meet-owner__photo--empty::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px dashed var(--brass-500);
  opacity: .35;
  border-radius: 50%;
}

.meet-owner__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
}

.meet-owner__role {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin: 2px 0 var(--s-3);
}

.meet-owner__bio {
  font-size: 14.5px;
  color: var(--graphite-500);
  margin: 0;
}

/* -------- Process on dark (Reference A mood, graphite-900 band) -------- */
.process-dark {
  background: var(--graphite-900);
  color: var(--paper);
}

.process-dark .eyebrow {
  color: var(--brass-400);
}

.process-dark .eyebrow .measure {
  background: var(--brass-500);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: var(--s-7);
  border-top: 1px solid var(--graphite-700);
  border-bottom: 1px solid var(--graphite-700);
}

.process-step {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--graphite-700);
  position: relative;
}

.process-step:last-child {
  border-right: 0;
}

.process-step__num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 3rem;
  color: var(--brass-400);
  line-height: 1;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.02em;
}

.process-step__tick {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brass-500);
  margin-bottom: var(--s-3);
}

.process-step__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 var(--s-2);
  color: var(--paper);
}

.process-step__body {
  color: var(--graphite-300);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--graphite-700);
  }

  .process-step:last-child {
    border-bottom: 0;
  }
}

/* -------- Our Work (featured BA + 6-tile grid) -------- */
.work-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-6);
  align-items: center;
  margin-bottom: var(--s-8);
}

.work-featured .ba {
  aspect-ratio: 16/11;
}

.work-featured__meta p {
  max-width: 36ch;
}

.work-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.work-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bone-100);
  border: 1px solid var(--stone-200);
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-tile--empty {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--graphite-500);
}

.work-tile--empty::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed var(--brass-500);
  opacity: .3;
  border-radius: var(--radius);
}

.work-tile--empty span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.work-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-4);
  background: linear-gradient(180deg, transparent 0%, rgba(20, 21, 24, .7) 100%);
  color: var(--paper);
}

@media (max-width: 900px) {

  .work-featured {
    grid-template-columns: 1fr;
  }

  .work-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------- Reviews + CTA band (merged section) -------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.review-card {
  background: var(--bone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-card);
  padding: var(--s-6);
  display: grid;
  gap: var(--s-3);
  align-content: start;
}

.review-card__stars {
  color: var(--brass-500);
  letter-spacing: 2px;
  font-size: 14px;
}

.review-card__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0;
}

.review-card__meta {
  font-size: 13px;
  color: var(--graphite-500);
  margin: 0;
}

.review-card--empty {
  background: var(--bone-50);
  border-style: dashed;
  border-color: var(--brass-500);
  color: var(--graphite-500);
}

.review-card--empty .review-card__quote {
  color: var(--graphite-500);
  font-style: italic;
}

.reviews-cta {
  background: var(--graphite-900);
  color: var(--paper);
  padding: var(--s-6) var(--s-7);
  margin-top: var(--s-7);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.reviews-cta__text {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--paper);
  margin: 0;
}

.reviews-cta__text::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--brass-400);
}

@media (max-width: 760px) {

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -------- Mini cost table (cost teaser right panel) -------- */
.mini-cost {
  background: var(--bone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-card);
  padding: var(--s-5);
}

.mini-cost h3 {
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--graphite-500);
  margin: 0 0 var(--s-4);
}

.mini-cost__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--stone-200);
}

.mini-cost__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.mini-cost__tier {
  font-size: 14px;
}

.mini-cost__price {
  font-family: var(--font-serif);
  font-weight: 400;
}

.mini-cost__note {
  font-size: 12px;
  color: var(--graphite-500);
  margin: var(--s-3) 0 0;
}

/* -------- Service areas with faint map backdrop -------- */
.areas-with-map {
  position: relative;
  isolation: isolate;
  padding-block: var(--s-9);
}

.areas-map-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.areas-map-bg svg {
  width: min(1240px, 100%);
  height: auto;
  opacity: .22;
  color: var(--graphite-500);
}

.areas-map-bg svg path,
.areas-map-bg svg circle,
.areas-map-bg svg line {
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
}

.areas-map-bg svg .dot {
  fill: var(--brass-500);
  stroke: var(--brass-500);
  opacity: 1;
}

/* -------- Dusk closing band -------- */
.dusk-close {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--graphite-950);
  color: var(--paper);
}

.dusk-close__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.dusk-close__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.dusk-close::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 21, 24, .9) 0%, rgba(20, 21, 24, .4) 100%);
}

.dusk-close__inner {
  padding-block: var(--s-10) var(--s-9);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--s-5);
}

/* -------- Styleguide helpers -------- */
.sg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
}

.sg-card {
  padding: var(--s-5);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--bone-50);
}

.sg-swatch {
  height: 80px;
  border-radius: var(--radius);
  margin-bottom: var(--s-3);
  border: 1px solid var(--stone-200);
}

.sg-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--graphite-500);
}

/* Bathroom landing page theme trial: header and hero only. */
.page-bathroom-theme .site-header,
.page-bathroom-theme .hero-inner {
  font-family: var(--font-sans);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: var(--font-sans);
  --radius: 0;
  --radius-btn: 0;
  --radius-card: 0;
}

.page-bathroom-theme .hero-inner h1,
.page-bathroom-theme .hero-inner h2,
.page-bathroom-theme .hero-inner h3 {
  font-weight: 650;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.page-bathroom-theme .site-header,
.page-bathroom-theme .site-header.is-scrolled {
  background: var(--bone-50);
  border-bottom: 1px solid var(--stone-200);
}

.page-bathroom-theme .site-header__inner { min-height: 72px; }
.page-bathroom-theme .header-call { border-color: transparent; padding-inline: 8px; }
.page-bathroom-theme .header-actions .btn { min-height: 48px; }
.page-bathroom-theme .site-header::after,
.page-bathroom-theme .quote-card::before { display: none; }

.page-bathroom-theme .hero-inner {
  background: var(--graphite-850);
  color: var(--bone-50);
  padding-block: clamp(28px, 3.45vw, 46px);
  border-bottom: 4px solid var(--graphite-700);
}

.page-bathroom-theme .hero-inner__grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.page-bathroom-theme .hero-inner .eyebrow {
  color: var(--brass-400);
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .18em;
}

.page-bathroom-theme .hero-inner h1 {
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  line-height: 1.06;
  max-width: 17ch;
  margin-bottom: 24px;
}

.page-bathroom-theme .hero-inner .lede {
  color: var(--stone-200);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  max-width: 53ch;
}

.page-bathroom-theme .hero-inner__actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 32px;
}

.page-bathroom-theme .hero-inner__actions .btn--secondary {
  color: var(--bone-50);
  border-color: var(--graphite-300);
}

.page-bathroom-theme .hero-inner__actions .btn--secondary:hover {
  background: var(--bone-50);
  color: var(--graphite-900);
  border-color: var(--bone-50);
}

.page-bathroom-theme .hero-inner__trust {
  padding: 24px 0 0;
  border-top: 1px solid var(--graphite-700);
  width: 100%;
  gap: 8px;
  margin: 0;
}

.page-bathroom-theme .hero-inner__trust li { color: var(--stone-200); font-size: 14px; }
.page-bathroom-theme .hero-inner__trust li::before { background: var(--graphite-300); }

.page-bathroom-theme .quote-card {
  color: var(--ink);
  background: var(--bone-50);
  border: 0;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: none;
}

.page-bathroom-theme .quote-card__eyebrow {
  color: var(--graphite-500);
  font-weight: 650;
  font-size: 10px;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.page-bathroom-theme .quote-card > h3 {
  font-size: 1.625rem;
  margin-bottom: 24px;
}

.page-bathroom-theme .quote-form .step h3 {
  font-size: 1.125rem;
  letter-spacing: -.02em;
  line-height: 1.4;
}

.page-bathroom-theme .step-indicator { gap: 5px; margin-bottom: 28px; }
.page-bathroom-theme .step-indicator span { height: 4px; border-radius: 0; }
.page-bathroom-theme .quote-card .field { margin-block: 24px; }
.page-bathroom-theme .quote-card .field > label { font-size: 11px; font-weight: 650; }
.page-bathroom-theme .quote-card .field :is(input:not([type=checkbox]), select, textarea) {
  border-color: var(--graphite-300);
  background: var(--bone-50);
  border-radius: 0;
  width: 100%;
  min-width: 0;
}
.page-bathroom-theme .quote-card .step > .btn--primary { width: 100%; justify-content: space-between; }
.page-bathroom-theme .quote-card .step > .btn--secondary { margin-bottom: 12px; }
.page-bathroom-theme .site-header .btn--primary:hover,
.page-bathroom-theme .hero-inner .btn--primary:hover { background: var(--brass-400); color: var(--graphite-950); border-color: var(--brass-400); }

@media (max-width: 900px) {
  .page-bathroom-theme .hero-inner__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-bathroom-theme .hero-inner h1 { max-width: 20ch; }
  .page-bathroom-theme .hero-inner .lede { max-width: 60ch; }
}

@media (max-width: 600px) {
  .page-bathroom-theme .hero-inner { padding-block: 24px; }
  .page-bathroom-theme .hero-inner h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .page-bathroom-theme .hero-inner__trust { display: flex; }
}

@media (min-width: 901px) {
  .page-bathroom-theme .hero-inner h1 {
    font-size: clamp(2.5rem, 3.8vw, 3.5rem);
    max-width: none;
  }
}

