/* Chambers Construction & Real Estate
   Black and white from the seal, Tennessee limestone as the working surface,
   and carpenter's chalk-line blue for anything you can act on. */

@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/big-shoulders-display.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-italic.woff") format("woff"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ink: #000;
  --paper: #fff;
  --stone: #e6e4de;
  --stone-rule: #cdc9bf;
  --rule: #d9d7d1;
  --slate: #54534e;
  /* Rouge accent. --accent fills buttons and lines; --accent-text is for words.
     Dark sections swap both to lighter values (see "Dark surfaces" below). */
  --accent: #610019;
  --accent-deep: #45000f;
  --accent-text: #610019;
  --accent-text-hover: #45000f;
  --accent-tint: #f7e8ec;
  --accent-bright: #9b1b3a;
  --accent-light: #f0a9ba;
  --granite: #1b1b1c;
  --warn: #8a5a00;
  --error: #c2410c;

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--granite) url("/img/granite.webp") repeat fixed;
  background-size: 720px 720px;
  font-variant-numeric: lining-nums;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.4rem, 1.6rem + 7.2vw, 7.75rem); font-weight: 900; line-height: 0.86; }
h2 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); }
h3 { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); line-height: 1; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }
.lead { font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem); line-height: 1.5; max-width: 38em; }
.muted { color: var(--slate); }
.measure { max-width: 40em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 1rem/1 var(--text);
  padding: 0.95rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); color: #fff; }
.btn--ink { background: #000; color: #fff; }
.btn--ink:hover { background: #262626; color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #e6e4de; color: #000; }
.btn--lg { font-size: 1.1rem; padding: 1.1rem 1.7rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* The chalk line: the one piece of motion on the site */
.chalk {
  display: block;
  height: 5px;
  width: min(100%, 560px);
  margin: 1.6rem 0 1.8rem;
  height: 6px;
  background: var(--accent);
  -webkit-mask: url("/img/chalk-mask.svg") 0 0 / 100% 100% no-repeat;
  mask: url("/img/chalk-mask.svg") 0 0 / 100% 100% no-repeat;
  transform-origin: left center;
  animation: snap 700ms cubic-bezier(.16, 1, .3, 1) 250ms both;
}
.chalk--short { width: 96px; margin: 0 0 1.25rem; animation: none; }
@keyframes snap {
  0% { transform: scaleX(0); opacity: 0.4; }
  70% { transform: scaleX(1.015); opacity: 1; }
  100% { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) { .chalk { animation: none; } }

/* Utility bar + header */
.utility { background: var(--ink); color: #e9e9e9; font-size: 0.875rem; }
.utility__row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.utility__right { display: flex; gap: 1.25rem; }
.utility a { color: #fff; font-weight: 700; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.site-header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__seal { width: 52px; height: auto; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__line1 { font-family: var(--display); font-weight: 900; font-size: 1.85rem; letter-spacing: 0.02em; }
.brand__line2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; margin-top: 0.15rem; }

.primary-nav ul { list-style: none; display: flex; gap: 1.6rem; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 0.4rem; border-bottom: 3px solid transparent; }
.primary-nav a:hover { border-bottom-color: var(--stone-rule); color: var(--ink); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.primary-nav__phone { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; padding: 0.4rem; color: var(--ink); cursor: pointer; }

@media (max-width: 1180px) {
  .header-phone { display: none; }
  .primary-nav ul { gap: 1.1rem; }
}
@media (max-width: 1000px) {
  .utility__row > span:first-child { display: none; }
  .utility__row { justify-content: flex-end; }
  .menu-toggle { display: block; }
  .site-header__actions .btn { display: none; }
  .primary-nav {
    position: absolute; inset: 100% 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav li a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.15rem; }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--rule); box-shadow: inset 4px 0 0 var(--accent); padding-left: 0.9rem; }
  .primary-nav__phone { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
  .site-header__row { min-height: 70px; }
  .brand__seal { width: 44px; }
  .brand__line1 { font-size: 1.6rem; }
}

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr;
    background: var(--ink); border-top: 1px solid #333;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px; color: #fff; font-weight: 700; text-decoration: none; }
  .action-bar__primary { background: var(--accent); }
  body { padding-bottom: 56px; }
}

/* Sections */
.section { padding-block: var(--section); background: var(--paper); }
.section--stone { background: var(--stone); }
.section--ink { background: #000; color: #fff; }
.section--granite { background: transparent; color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 34em; margin: 0; }

/* Home hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.7rem, 0.6rem + 8.6vw, 9.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hero h1 { margin: 0; }
.hero h1 span { display: block; }
.hero__sub { font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem); line-height: 1.45; max-width: 31em; margin-bottom: 1.75rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; color: var(--slate); font-size: 0.95rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* Work order (estimate starter) */
.work-order { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--stone); }
.work-order__head { background: var(--ink); color: #fff; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.work-order__head h2 { font-size: 1.9rem; margin: 0; }
.work-order__head span { font-size: 0.85rem; color: #cfcfcf; }
.work-order__body { border: 0; margin: 0; padding: 1.25rem 1.25rem 0.5rem; }
.work-order__body legend { font-weight: 700; margin-bottom: 0.75rem; padding: 0; }
.work-order__foot { padding: 0.75rem 1.25rem 1.25rem; }
.work-order__foot p { margin: 0.75rem 0 0; font-size: 0.95rem; text-align: center; }

.choice-list { display: grid; gap: 0.4rem; }
.choice-list--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; border: 1px solid var(--rule); border-radius: var(--radius); font-weight: 600; background: var(--paper); }
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:checked + span::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, var(--paper) 5px); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Photo band */
.photo-band { position: relative; }
.photo-band picture, .photo-band img { width: 100%; height: clamp(240px, 36vw, 500px); object-fit: cover; object-position: 50% 42%; }
.photo-band figcaption { position: absolute; left: var(--gutter); bottom: 1rem; background: var(--paper); padding: 0.4rem 0.75rem; font-size: 0.85rem; font-weight: 600; }

/* Proof strip */
.proof { background: #000; color: #fff; border-block: 1px solid #222; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 1.75rem 1.5rem; border-left: 1px solid #2c2c2c; }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item h3 { font-size: 1.45rem; margin: 0 0 0.35rem; color: #fff; }
.proof__item p { margin: 0; color: #c9c9c9; font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 900px) {
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item { border-left: 0; border-top: 1px solid #2c2c2c; padding-left: 0; }
  .proof__item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) { .proof__grid { grid-template-columns: 1fr; } .proof__item:nth-child(2) { border-top: 1px solid #2c2c2c; } }

/* Numbered sequences (real sequences only) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; align-content: start; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--stone-rule); }
.steps li:last-child { border-bottom: 1px solid var(--stone-rule); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 900; font-size: 2.75rem; line-height: 0.9; color: var(--accent-numeral, var(--accent-text)); }
.steps h3 { font-size: 1.5rem; margin: 0 0 0.3rem; }
.steps p { margin: 0; }
.section--ink .steps li { border-color: #333; }
.steps--row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps--row li { grid-template-columns: 1fr; border: 0; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps--row li:last-child { border-bottom: 0; }
@media (max-width: 800px) { .steps--row { grid-template-columns: 1fr; gap: 0; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }

.honest { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--paper); border-left: 4px solid var(--ink); }
.honest h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.honest ul { list-style: none; display: grid; gap: 0.5rem; }
.honest li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; }
.honest .icon { margin-top: 0.2rem; color: var(--accent-text); }

/* Services list (rows, not cards) */
.service-rows { border-top: 2px solid var(--ink); }
.service-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) 11rem; gap: 1.5rem 2.5rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.service-row h3 { margin: 0; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); }
.service-row p { margin: 0; color: var(--slate); }
.service-row__go { font-weight: 700; color: var(--accent-text); white-space: nowrap; justify-self: end; }
.service-row:hover { color: var(--ink); background: linear-gradient(var(--stone), var(--stone)) no-repeat 0 100% / 100% 0; }
.service-row:hover .service-row__go { text-decoration: underline; }
.service-row--lead h3 { color: var(--accent-text); }
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; gap: 0.4rem; } .service-row__go { justify-self: start; } }

/* Testimonial */
.quote { max-width: 1000px; margin: 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); line-height: 1.08; }
.quote figcaption { margin-top: 1.5rem; font-weight: 600; }
.quote figcaption span { color: var(--slate); font-weight: 400; }

/* Real estate teaser + listings */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.listing { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.listing__link { display: block; color: var(--ink); text-decoration: none; height: 100%; }
.listing__link:hover { color: var(--ink); }
.listing__link:hover .listing__title { text-decoration: underline; text-decoration-color: var(--accent); }
.listing__photo { position: relative; aspect-ratio: 4 / 3; background: var(--stone); }
.listing__photo img, .listing__photo picture { width: 100%; height: 100%; object-fit: cover; }
.listing__photo .photo-slot { height: 100%; }
.listing__status { position: absolute; left: 0; top: 1rem; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 0.35rem 0.75rem; }
.listing.is-rented .listing__status, .listing.is-sold .listing__status { background: var(--slate); }
.listing__sample { position: absolute; right: 0.75rem; top: 1rem; }
.listing__body { padding: 1.1rem 1.25rem 1.3rem; }
.listing__price { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; margin: 0 0 0.35rem; }
.listing__price small { font-family: var(--text); font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.listing__title { font-family: var(--text); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.2rem; }
.listing__where { color: var(--slate); margin: 0 0 0.75rem; font-size: 0.95rem; }
.listing__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0; font-size: 0.92rem; font-weight: 600; }
.listing__facts span { display: inline-flex; align-items: center; gap: 0.35rem; }
.listing.is-rented, .listing.is-sold { opacity: 0.72; }

.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 2px; background: var(--stone); color: var(--ink); }
.tag--plain { background: transparent; border: 1px solid var(--rule); }
.tag--warn { background: #fff1cc; color: #5c3d00; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.75rem; }
.filters__label { font-weight: 700; margin-right: 0.25rem; }
.chip { font: 600 0.95rem/1 var(--text); padding: 0.65rem 1rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; cursor: pointer; min-height: 42px; }
.chip:hover { background: var(--stone); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters__sort { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.filters__sort select { font: inherit; font-weight: 600; padding: 0.55rem 2rem 0.55rem 0.75rem; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.filter-count { color: var(--slate); font-size: 0.95rem; margin: -0.75rem 0 1.25rem; }
[hidden] { display: none !important; }

/* Reviews */
.review-summary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .review-summary { grid-template-columns: 1fr; } }
.rating-big { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.rating-big strong { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: 0.85; }
.ask-review { background: #000; color: #fff; border: 1px solid #2a2a2a; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); }
.ask-review h2 { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); color: #fff; }
.ask-review p { color: #d6d6d6; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { fill: var(--ink); }
.stars .off { fill: var(--stone-rule); }
.review-grid { columns: 2 380px; column-gap: 1.25rem; }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.4rem; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: var(--radius); }
.review.is-placeholder { border-top-color: var(--stone-rule); }
.review__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.review__head .tag { margin-left: auto; }
.review__src { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; flex: none; }
.review__name { margin: 0; font-weight: 700; line-height: 1.2; }
.review__meta { margin: 0; color: var(--slate); font-size: 0.85rem; }
.review__text { margin: 0.75rem 0; }
.review__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0; }
.review__reply { margin-top: 1rem; padding: 0.85rem 1rem; background: var(--stone); font-size: 0.95rem; border-left: 3px solid var(--ink); }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem 1.5rem; }
.project__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 0.9rem; }
.project__meta { font-size: 0.9rem; font-weight: 700; color: var(--accent-text); margin: 0 0 0.3rem; }
.project h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.project p:last-child { color: var(--slate); margin: 0; }

.photo-slot {
  display: grid; place-items: end start; min-height: 220px; aspect-ratio: 4 / 3; padding: 0.75rem;
  background: var(--stone) url("/img/seal.svg") no-repeat center / 34% auto;
  background-blend-mode: normal; position: relative; color: var(--slate); font-size: 0.85rem; font-weight: 600;
}
.photo-slot::before { content: ""; position: absolute; inset: 0; background: rgba(230, 228, 222, 0.88); }
.photo-slot span { position: relative; }
.photo-slot--half { min-height: 0; aspect-ratio: 3 / 4; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.person { display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; align-items: start; }
.person picture, .person img { width: 140px; height: 175px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person h3 { margin: 0 0 0.2rem; }
.person__role { color: var(--accent-text); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; }
.person p:last-child { margin: 0; }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

/* Areas */
.area-list { list-style: none; columns: 3 200px; column-gap: 2rem; }
.area-list li { break-inside: avoid; padding: 0.55rem 0; border-bottom: 1px solid var(--stone-rule); }
.area-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.area-list a:hover { color: var(--accent-text); text-decoration: underline; }

/* Final CTA */
.final-cta { background: var(--accent); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.final-cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: end; }
.final-cta h2 { color: #fff; max-width: 13ch; }
.final-cta p { color: #cfcfcf; max-width: 32em; margin-bottom: 1.75rem; }
.final-cta__phone { color: #fff; text-decoration: none; text-align: right; }
.final-cta__label { display: block; font-weight: 600; color: #bdbdbd; margin-bottom: 0.25rem; }
.final-cta__number { font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 1.5rem + 6vw, 7.5rem); line-height: 0.85; white-space: nowrap; }
@media (max-width: 900px) { .final-cta__grid { grid-template-columns: 1fr; } .final-cta__phone { text-align: left; } }

/* Footer */
.site-footer { background: #0f0f0f; color: #d0d0d0; padding-block: 3.5rem 1.5rem; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.site-footer__seal { width: 96px; margin-bottom: 1.25rem; filter: invert(1); }
.site-footer__h { font-family: var(--text); font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 0.75rem; line-height: 1.3; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1.75rem; }
.site-footer li.sub { padding-left: 0.9rem; font-size: 0.9rem; }
.site-footer__legal { border-top: 1px solid #2c2c2c; margin-top: 1.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: #a8a8a8; }
.site-footer__legal a { margin-right: 1rem; color: #d0d0d0; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(3rem, 1.6rem + 5.2vw, 6rem); max-width: 14ch; margin-bottom: 0; line-height: 0.92; }
.page-hero--wide h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 0; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.side-card { background: var(--stone); padding: 1.5rem; border-radius: var(--radius); }
.side-card h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.side-card p { margin-bottom: 1rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.9rem; color: var(--slate); margin-bottom: 1.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--stone-rule); }
.crumbs a { color: var(--slate); }

.checklist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.6rem 2rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.checklist .icon { color: var(--accent-text); margin-top: 0.2rem; }
.section--stone .checklist li { border-color: var(--stone-rule); }

.link-list { list-style: none; border-top: 2px solid var(--ink); }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; }
.link-list a span { font-family: var(--text); font-weight: 700; font-size: 0.95rem; color: var(--accent-text); align-self: center; }
.link-list a:hover span { text-decoration: underline; }

/* FAQ */
.faq h2 { margin-bottom: 1.25rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--accent-text); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.1rem; margin: 0; max-width: 46em; }

/* Forms */
.estimate { max-width: 860px; }
.step { border: 0; padding: 0; margin: 0 0 2rem; }
.step legend { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem); line-height: 1; margin-bottom: 1.25rem; padding: 0; }
.step__count { display: block; font-family: var(--text); font-size: 0.9rem; font-weight: 700; color: var(--accent-text); margin-bottom: 0.4rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: grid; gap: 0.35rem; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field-label { font-weight: 700; font-size: 0.95rem; margin: 0; }
.field em { font-style: normal; font-weight: 400; color: var(--slate); }
.field input, .field textarea, .field select {
  font: inherit; padding: 0.8rem 0.9rem; border: 1px solid #8f8d87; border-radius: var(--radius); background: var(--paper); min-height: 48px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; font-size: 0.95rem; align-items: start; }
.check input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--accent); }
.field-row { margin-top: 1.5rem; }
.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: block; padding: 0.65rem 1.1rem; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; }
.pill input:checked + span { background: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbeceb; color: var(--error); border-left: 4px solid var(--error); padding: 0.8rem 1rem; margin-bottom: 1rem; font-weight: 600; }
.estimate__nav { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.estimate__fine { margin-top: 1rem; font-size: 0.9rem; color: var(--slate); }
.estimate-done { padding: 2rem; background: var(--stone); border-left: 4px solid var(--accent); max-width: 860px; }
.estimate-done h2 { font-size: 2.4rem; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
/* step mode, applied by site.js */
.estimate.is-stepped .step { display: none; }
.estimate.is-stepped .step.is-current { display: block; }
.progress { height: 4px; background: var(--stone); margin-bottom: 2rem; }
.progress span { display: block; height: 100%; background: var(--accent); width: 33%; transition: width 300ms ease; }
@media (prefers-reduced-motion: reduce) { .progress span { transition: none; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1.5rem; }
.contact-aside h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.contact-aside p { margin: 0; }
.contact-aside .big { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--ink); text-decoration: none; }

/* Property detail */
.property-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .property-hero { grid-template-columns: 1fr; } }
.property-photo { aspect-ratio: 3 / 2; background: var(--stone); }
.property-photo img, .property-photo picture { width: 100%; height: 100%; object-fit: cover; }
.property-photo .photo-slot { height: 100%; aspect-ratio: auto; }
.property-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-top: 2px solid var(--ink); margin: 1.5rem 0; }
.property-facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.property-facts dt { font-size: 0.85rem; color: var(--slate); font-weight: 600; }
.property-facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.inquiry { background: var(--stone); padding: 1.5rem; border-radius: var(--radius); position: sticky; top: 110px; }
.inquiry__h { font-size: 2rem; }
.inquiry .field-grid { grid-template-columns: 1fr; margin-bottom: 1rem; }
.notice { padding: 1rem 1.25rem; background: #fff1cc; color: #3d2a00; border-left: 4px solid #c58a00; margin-bottom: 1.5rem; }

.prose { max-width: 44em; }
.prose h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4rem; }

.two-col-list { columns: 2 260px; column-gap: 2rem; list-style: none; }
.two-col-list li { break-inside: avoid; padding: 0.45rem 0; }

.team--stack { grid-template-columns: 1fr; gap: 2rem; }

.hero .chalk { width: min(100%, 880px); height: 7px; }
@media (min-width: 1100px) { .work-order .choice-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .work-order .choice:last-child { grid-column: 1 / -1; } }

.property-title { font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.4rem); line-height: 1; margin-top: 0.75rem; }
.prose ul.checklist { padding-left: 0; }


/* ---------- Dark surfaces ----------
   Granite shows through the hero, page heroes and .section--granite as you scroll.
   Inside dark areas the color tokens flip; cards reset them back to light. */
.utility, .site-header, .hero, .page-hero, .section--granite, .section--ink, .proof, .final-cta, .site-footer {
  --ink: #fff;
  --paper: #000;
  --slate: #c4c4c4;
  --rule: rgba(255, 255, 255, 0.16);
  --stone-rule: rgba(255, 255, 255, 0.22);
  --stone: rgba(255, 255, 255, 0.07);
  --accent: var(--accent-bright);
  --accent-deep: #7d1530;
  --accent-text: #fff;
  --accent-text-hover: #fff;
  --accent-numeral: #d4506f;
  color: #fff;
}
.final-cta { --accent: #610019; }
.work-order, .listing, .review, .side-card, .honest, .inquiry, .estimate-done, .photo-slot, .notice {
  --ink: #000;
  --paper: #fff;
  --slate: #54534e;
  --rule: #d9d7d1;
  --stone-rule: #cdc9bf;
  --stone: #e6e4de;
  --accent: #610019;
  --accent-deep: #45000f;
  --accent-text: #610019;
  --accent-text-hover: #45000f;
  color: var(--ink);
}
.hero, .page-hero { background: transparent; border-bottom: 0; }
.site-header { background: #000; border-bottom-color: #222; }
.utility { background: #0c0c0c; border-bottom: 1px solid #1f1f1f; }
.brand__seal { fill: #fff; }
.menu-toggle { color: #fff; }
.btn--line:hover { color: #000; }
.section--granite + .section--granite, .hero + .section--granite { padding-top: 0; }
.final-cta .btn--accent { background: #fff; color: #000; }
.final-cta .btn--accent:hover { background: var(--stone); color: #000; }
.final-cta p, .final-cta__label { color: #f3dfe4; }
.final-cta__phone:hover { color: #f3dfe4; }
.work-order { box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.55); }
.work-order__head { background: #610019; }
.hero .chalk, .page-hero .chalk { background: var(--accent-bright); }
.hero__sub { color: #e9e9e9; }
.hero__meta { color: #c4c4c4; }
.site-footer { background: #000; }
.photo-slot { background-color: var(--stone); }
.photo-slot::before { background: rgba(230, 228, 222, 0.88); }
@media (max-width: 900px) { body { background-attachment: scroll; } }

/* Featured project story */
.feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__photo { position: relative; }
.feature__photo img, .feature__photo picture { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature__label { font-weight: 700; color: var(--accent-text); margin-bottom: 0.75rem; }
.feature h2 { max-width: 14ch; }
.feature__facts { list-style: none; display: grid; gap: 0; margin: 1.5rem 0 2rem; border-top: 1px solid var(--rule); }
.feature__facts li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.feature__facts span:first-child { color: var(--slate); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.project__link { color: inherit; text-decoration: none; display: block; }
.project__link:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.project__photo img, .project__photo picture { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 0.9rem; }
.story { max-width: 46em; }
.story h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin-top: 2.5rem; }
.story figure { margin: 2rem 0; }
.story figcaption { font-size: 0.9rem; color: var(--slate); margin-top: 0.5rem; }

.section--granite a:not(.btn), .page-hero a:not(.btn), .hero a:not(.btn), .section--ink a:not(.btn) { text-decoration-color: var(--accent-bright); text-decoration-thickness: 2px; }

/* Signature projects */
.signature-list { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.signature__title { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); max-width: 14ch; margin-bottom: 0.75rem; }
.signature__badge { position: absolute; left: 0; top: 1rem; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.45rem 0.9rem; }

/* History timeline */
.timeline { list-style: none; margin: 0 0 0 0.5rem; padding: 0; border-left: 3px solid var(--accent); }
.timeline li { position: relative; padding: 0 0 2.25rem 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -0.6rem; top: 0.25rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--accent); }
.timeline__when { font-family: var(--display); font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--accent-numeral, var(--accent-text)); margin: 0 0 0.35rem; }
.timeline h3 { font-size: 1.5rem; margin: 0 0 0.3rem; }
.timeline p:last-child { margin: 0; }
.project__pair--wide .photo-slot--half { aspect-ratio: 3 / 2; }

/* Before/after slider */
.compare { position: relative; margin: 0 0 0.9rem; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone, #e4e2de); }
.compare picture, .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.compare__handle::after { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); border: 3px solid #fff; color: #fff; font-weight: 700; font-size: 1.2rem; line-height: 2.2rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.compare__tag { position: absolute; top: 0.75rem; background: rgba(0,0,0,.72); color: #fff; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.6rem; pointer-events: none; }
.compare__tag--before { left: 0.75rem; }
.compare__tag--after { right: 0.75rem; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.before-after-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (max-width: 800px) { .before-after-grid { grid-template-columns: 1fr; } }
.compare--tall { aspect-ratio: 3 / 4; }
