/* Renovation Sells Dallas — brand system from the 2023 Official Brand Guide.
   Type: PP Eiko (headlines) + ABC Marfa (body, subheads, pre-headers). Italic accent = Bodoni Moda (guide's Didone fallback for Eiko Italic).
   Color: Midnight, Reno Blue, Sand, Stone, Taupe, Wet Clay, Fresh, Terra Cotta accent, Action Blue for CTAs only. */
@font-face { font-family: 'PP Eiko'; src: url('/assets/fonts/PPEiko-Medium.woff2') format('woff2'), url('/assets/fonts/PPEiko-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'PP Eiko'; src: url('/assets/fonts/PPEiko-Thin.woff2') format('woff2'), url('/assets/fonts/PPEiko-Thin.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'ABC Marfa'; src: url('/assets/fonts/ABCMarfa-Medium.woff2') format('woff2'), url('/assets/fonts/ABCMarfa-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'ABC Marfa'; src: url('/assets/fonts/ABCMarfa-MediumItalic.woff2') format('woff2'), url('/assets/fonts/ABCMarfa-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'ABC Marfa'; src: url('/assets/fonts/ABCMarfa-Thin.woff2') format('woff2'), url('/assets/fonts/ABCMarfa-Thin.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'ABC Marfa'; src: url('/assets/fonts/ABCMarfa-ThinItalic.woff2') format('woff2'), url('/assets/fonts/ABCMarfa-ThinItalic.otf') format('opentype'); font-weight: 200; font-style: italic; font-display: swap; }

:root {
  --midnight: #121c24; --reno: #213342; --action: #193eff; --fresh: #d3e7ef; --sand: #ded9ca; --stone: #ebebeb;
  --taupe: #cacac5; --clay: #a99f8f; --terra: #A1684A; --white: #ffffff; --blue-2: #42687C; --blue-3: #DFF0F7; --blue-4: #EEFBFF;
  --paper: #f6f4ef; --ink: #1d2730; --muted: #55606a;
  --serif: 'PP Eiko', 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --serif-italic: 'Bodoni Moda', Georgia, serif;
  --sans: 'ABC Marfa', 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1180px; --radius: 6px; --shadow: 0 12px 34px rgba(18, 28, 36, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 16.5px; line-height: 1.62; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--reno); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .55em; color: var(--reno); letter-spacing: -.005em; }
h3, h4 { font-family: var(--sans); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; color: var(--reno); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.75rem); max-width: 24ch; }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-family: var(--serif-italic); font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; max-width: 62ch; color: var(--muted); }
.lead--light { color: rgba(255,255,255,.78); }
.wrap { width: min(var(--wrap), 100% - 2.5rem); 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: -999px; top: 0; background: var(--action); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.kicker { font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin: 0 0 .9rem; }
.kicker--light { color: var(--fresh); }
.kicker--terra { color: var(--terra); }

/* buttons — Action Blue is reserved for true CTAs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 500; font-size: 1rem; padding: .85rem 1.4rem; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; font-family: var(--sans); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--action); color: #fff; border-color: var(--action); }
.btn-primary:hover { background: #1233d6; border-color: #1233d6; }
.btn-outline { background: transparent; color: var(--reno); border-color: var(--reno); }
.btn-outline:hover { background: var(--reno); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.textlink { font-weight: 500; color: var(--action); text-decoration: none; }
.textlink::after { content: ' →'; }
.textlink:hover { text-decoration: underline; }
.textlink--light { color: var(--fresh); }
.section-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--stone); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 178px; height: auto; }
.brand-loc { font-family: var(--serif); font-size: 1.15rem; color: var(--terra); padding-left: .6rem; border-left: 1px solid var(--taupe); line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 1.3rem; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink); }
.site-nav a:hover { color: var(--action); }
.nav-phone { color: var(--reno); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--reno); margin: 6px 0; }

/* hero */
.hero { background: var(--midnight); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; padding: 4rem 0 4.5rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lead { color: rgba(255,255,255,.84); font-size: 1.16rem; }
.hero-stat { font-family: var(--serif); font-weight: 200; font-size: 1.35rem; line-height: 1.35; color: var(--sand); border-left: 2px solid var(--terra); padding-left: 1rem; margin: 1.4rem 0 1.6rem; max-width: 34ch; }
.proof { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; color: rgba(255,255,255,.78); }
.proof li::before { content: '✓'; color: var(--terra); font-weight: 700; margin-right: .45rem; }
.hero-side { display: grid; gap: 1.2rem; }
.hero-media { border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 3 / 2; background: var(--reno); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-form--mini { padding: 1.6rem; }
.mini-title { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 .2rem; color: var(--reno); }
.mini-text { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }

/* stats strip */
.stats { background: var(--sand); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 2.2rem 0; }
.stat { display: grid; gap: .25rem; border-left: 1px solid var(--clay); padding-left: 1.2rem; }
.stat-value { font-family: var(--serif); font-weight: 200; font-size: 2.6rem; line-height: 1; color: var(--midnight); }
.stat-label { font-size: .88rem; color: #3d4852; line-height: 1.4; }

/* sections */
.section { padding: 5.5rem 0; }
.section--sand { background: var(--sand); }
.section--sand h2, .section--sand h3 { color: var(--midnight); }
.section--sand .lead { color: #3d4852; }
.section--midnight { background: var(--midnight); color: var(--sand); }
.section--midnight h2 { color: #fff; }
.section--midnight h3 { color: #fff; }
.section--fresh { background: var(--blue-3); }
.cards { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card p { flex: 1; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--stone); margin-bottom: 1.1rem; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service p { color: #3d4852; margin: 0; }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2.2rem 2.5rem; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { border-top: 1px solid var(--clay); padding-top: 1.2rem; }
.step-num { font-family: var(--serif); font-weight: 200; font-size: 2.6rem; color: var(--terra); line-height: 1; display: block; margin-bottom: .6rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* work */
.compare-wrap { margin: 2.5rem 0 3rem; }
.compare { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--reno); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before, .compare-after { position: absolute; inset: 0; }
.compare-after { clip-path: inset(0 0 0 50%); }
.compare-label { position: absolute; top: 1rem; left: 1rem; background: rgba(18,28,36,.8); color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 4px; }
.compare-label--after { left: auto; right: 1rem; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare-handle::after { content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--reno); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-wrap figcaption { color: var(--clay); font-size: .9rem; margin-top: .8rem; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.project-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.06); margin-bottom: 1.1rem; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project-media img { transform: scale(1.03); }
.project-tag { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); margin-bottom: .35rem; }
.project h3 { margin-bottom: .4rem; }
.project p:last-child { color: var(--clay); margin: 0; font-size: .97rem; }

/* reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.google-badge { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: .9rem 1.2rem; color: var(--ink); }
.google-badge span { display: grid; gap: .1rem; }
.google-badge strong { font-weight: 500; }
.google-badge em { font-style: normal; color: var(--action); font-size: .88rem; }
.google-g { font-family: var(--serif); font-size: 2rem; color: var(--reno); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--taupe); display: grid !important; place-items: center; }
.stars { color: var(--terra); letter-spacing: .1em; font-size: .9rem; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.quote { margin: 0; padding: 2rem; border: 1px solid var(--stone); border-radius: var(--radius); background: var(--paper); }
.quote p { font-family: var(--serif); font-weight: 200; font-size: 1.22rem; line-height: 1.45; color: var(--midnight); }
.quote footer { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.quote footer strong { color: var(--reno); font-weight: 500; }
.reviews-cta { margin-top: 2rem; color: var(--muted); }

/* instagram */
.ig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; margin-top: 2.2rem; }
.ig-post { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--fresh); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-post:hover img { transform: scale(1.04); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; }
.faq details { border-top: 1px solid var(--taupe); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--taupe); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 1.6rem; color: var(--terra); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 70ch; }

/* areas / sister */
.areas-grid, .sister-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: #fff; color: var(--reno); padding: .55rem 1rem; border-radius: 999px; font-size: .95rem; border: 1px solid var(--taupe); }
.sister-grid .btn { justify-self: end; }

/* contact + forms */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; line-height: 2; }
.contact-list a { color: var(--reno); }
.lead-form { background: #fff; padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; color: var(--reno); }
.field input, .field select, .field textarea { font: inherit; padding: .72rem .85rem; border: 1px solid var(--taupe); border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.hp { position: absolute; left: -9999px; }
.form-note { font-family: var(--sans); font-weight: 200; font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }
.form-status { margin: .8rem 0 0; min-height: 1.5em; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #b3261e; }

/* footer + mobile CTA */
.site-footer { background: var(--midnight); color: var(--sand); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 200px; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: #fff; }
.site-footer p { color: var(--clay); font-size: .95rem; }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(222,217,202,.18); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-legal p { margin: 0; }
.mobile-cta { display: none; }

/* responsive */
@media (max-width: 1000px) {
  .cards-3, .services, .projects, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--stone); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .6rem 0; font-size: 1.05rem; }
  .hero-grid, .areas-grid, .sister-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 3rem 0 3.5rem; }
  .section { padding: 4rem 0; }
  .quotes { grid-template-columns: 1fr; }
  .sister-grid .btn { justify-self: start; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--stone); z-index: 40; }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards-3, .services, .projects, .steps-4, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lead-form { padding: 1.5rem; }
  .brand img { width: 150px; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- inner pages / section renderer ---- */
.section { padding: 4.25rem 0; }
.hero--light { background: var(--sand); color: var(--ink); }
.hero--light h1 { color: var(--midnight); }
.hero--light .lead { color: #3d4852; }
.hero--light .hero-stat { color: var(--midnight); }
.hero--light .proof { color: #3d4852; }
.hero--single .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 3.25rem 0; }
.hero--single .hero-copy { max-width: 760px; }
.hero-grid { padding: 3.25rem 0 3.75rem; }
.hero-media--sm { aspect-ratio: 16 / 9; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: var(--clay); margin-bottom: 1rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero .crumbs { color: rgba(255,255,255,.6); }
.card--media { padding: 0; overflow: hidden; }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card--media:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card-body h3 a:hover { color: var(--action); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery { display: grid; gap: 1rem; margin-top: 2rem; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.prose-wrap { max-width: 760px; }
.prose p, .prose li { color: #3d4852; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--terra); font-family: var(--serif); font-weight: 200; font-size: 1.2rem; color: var(--midnight); }
.media-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.media-text--reverse .media-text-copy { order: 2; }
.media-text-media { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.media-text-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
.section--midnight .kicker { color: var(--terra); }
.section--midnight .lead { color: rgba(255,255,255,.78); }
.section--midnight .quote { background: rgba(255,255,255,.04); border-color: rgba(222,217,202,.22); }
.section--midnight .quote p { color: #fff; }
.section--midnight .quote footer strong { color: var(--sand); }
.section--sand .card { background: #fff; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .section { padding: 3.25rem 0; }
  .media-text, .cta-band .cta-grid { grid-template-columns: 1fr; }
  .media-text--reverse .media-text-copy { order: 0; }
  .cta-actions { justify-content: flex-start; }
  .gallery-3, .cards-2, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { padding: 2.5rem 0 3rem; }
}
@media (max-width: 600px) { .gallery-3, .gallery-2, .cards-2, .cards-4 { grid-template-columns: 1fr; } .stats-grid { padding: 1.6rem 0; gap: 1rem; } .stat-value { font-size: 2.1rem; } }

/* nav density: keep the primary nav on one line down to ~1000px */
.site-nav { gap: 1.05rem; }
.site-nav a { font-size: .9rem; white-space: nowrap; }
.header-row { gap: 1rem; }
@media (max-width: 1240px) and (min-width: 861px) {
  .nav-phone { display: none; }
  .brand-loc { display: none; }
  .brand img { width: 150px; }
  .site-nav { gap: .85rem; }
  .site-nav a { font-size: .86rem; }
}
@media (max-width: 1060px) and (min-width: 861px) {
  .site-nav .btn { padding: .5rem .8rem; font-size: .84rem; }
}

/* ---- mobile density (Justin 2026-09-07: phone scrolls too long) ---- */
@media (max-width: 860px) {
  .hero-media, .hero-media--sm { display: none; }
  .hero--single .hero-media { display: block; aspect-ratio: 16 / 10; }
  .hero-grid { padding: 2rem 0 2.25rem; gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero .lead { font-size: 1.02rem; }
  .hero-stat { font-size: 1.12rem; margin: 1rem 0 1.1rem; }
  .proof { gap: .35rem 1rem; font-size: .86rem; margin-bottom: 1rem; }
  .lead-form--mini { padding: 1.25rem; }
  .mini-title { font-size: 1.4rem; }
  .section { padding: 2.75rem 0; }
  .section + .section { padding-top: 2.5rem; }
  h2 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .lead { font-size: 1.02rem; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; padding: 1.5rem 0; }
  .stat-value { font-size: 1.9rem; }
  .stat-label { font-size: .8rem; }
  .cards { gap: .9rem; margin-top: 1.5rem; }
  .card { padding: 1.3rem 1.2rem 1.2rem; }
  .card p { font-size: .95rem; margin-bottom: .6rem; }
  .card-body { padding: 1.1rem 1.2rem 1.2rem; }
  .steps { margin-top: 1.5rem; gap: 1.1rem; }
  .step-num { font-size: 1.8rem; margin-bottom: .3rem; }
  .steps p { font-size: .93rem; }
  .projects { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin: 1.5rem -1.25rem 0; padding: 0 1.25rem .5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 82%; scroll-snap-align: start; }
  .project-media { margin-bottom: .7rem; }
  .project p:last-child { font-size: .92rem; }
  .quotes { margin-top: 1.5rem; gap: .9rem; }
  .quote { padding: 1.3rem; }
  .quote p { font-size: 1.08rem; }
  .page-home .quotes .quote:nth-child(n+2) { display: none; }
  .reviews-head { gap: 1rem; }
  .google-badge { padding: .7rem .9rem; }
  .contact-grid { gap: 1.75rem; }
  .contact-list { margin-top: .75rem; line-height: 1.8; font-size: .95rem; }
  .lead-form { padding: 1.4rem; }
  .field { margin-bottom: .8rem; }
  .field textarea { rows: 3; min-height: 88px; }
  .compare-wrap { margin: 1.5rem 0 1.75rem; }
  .gallery { gap: .6rem; margin-top: 1.25rem; }
  .cta-band .cta-grid { gap: 1.25rem; }
  .site-footer { padding: 2.5rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-grid > div:nth-child(3) { display: none; }
  .footer-brand p { display: none; }
  .footer-brand img { width: 160px; margin-bottom: 0; }
  .site-footer h3 { margin-bottom: .4rem; }
  .site-footer p { margin-bottom: .5rem; font-size: .92rem; }
  .footer-legal { margin-top: 1.5rem; padding-top: 1rem; font-size: .8rem; }
}
.hero-actions--mobile { display: none; }
@media (max-width: 860px) {
  .hero-side .lead-form--mini { display: none; }
  .hero-actions--mobile { display: flex; flex-wrap: wrap; gap: .6rem; margin: .2rem 0 1rem; }
  .hero-actions--mobile .btn { flex: 1 1 45%; }
  .hero--light .hero-actions--mobile .btn-ghost { color: var(--reno); border-color: var(--reno); }
  .contact .field:has(#lf-timeline), .contact .field:has(#lf-address) { display: none; }
  .contact .field-row:has(#lf-timeline) { grid-template-columns: 1fr; }
}

/* ---- header lockup + CTA color (Justin 2026-09-07) ---- */
.header-row { min-height: 78px; }
.brand { gap: 0; align-items: center; }
.brand img { width: 172px; height: auto; display: block; }
.brand-loc { display: inline-flex; align-items: center; height: 26px; margin-left: 1.05rem; padding-left: 1.05rem; border-left: 1px solid var(--taupe); font-family: var(--serif); font-size: 1.22rem; line-height: 1; color: var(--terra); letter-spacing: .01em; transform: translateY(1px); }
.site-nav { align-items: center; }
.site-nav a { line-height: 1.1; padding: .35rem 0; }
.site-header .btn-primary, .mobile-cta .btn-primary { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.site-header .btn-primary:hover, .mobile-cta .btn-primary:hover { background: var(--reno); border-color: var(--reno); }
@media (max-width: 1240px) and (min-width: 861px) { .brand-loc { display: inline-flex; margin-left: .8rem; padding-left: .8rem; font-size: 1.08rem; } .brand img { width: 150px; } }
@media (max-width: 600px) { .brand img { width: 140px; } .brand-loc { font-size: 1.05rem; height: 22px; margin-left: .7rem; padding-left: .7rem; } }
/* inner-page hero with a side form: keep the copy anchored to the top instead of floating mid-column */
.hero:not(.hero--single) .hero-grid { align-items: start; }
.hero:not(.hero--single) .hero-copy { padding-top: 1.25rem; }

/* ---- Sell / Stay path cards in the hero (Justin 2026-09-07: the first call to action) ---- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.4rem 0 1.2rem; }
.path { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.15rem 1rem; border-radius: 8px; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(222,217,202,.28); color: #fff; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.path:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: var(--sand); }
.path--primary { background: var(--action); border-color: var(--action); }
.path--primary:hover { background: #1233d6; border-color: #1233d6; }
.path-kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fresh); }
.path--primary .path-kicker { color: rgba(255,255,255,.8); }
.path-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.path-text { font-size: .9rem; line-height: 1.4; color: rgba(255,255,255,.82); }
.path-cta { margin-top: .35rem; font-size: .9rem; font-weight: 500; }
.hero--light .path { background: #fff; border-color: var(--taupe); color: var(--ink); }
.hero--light .path-kicker { color: var(--terra); }
.hero--light .path-text { color: var(--muted); }
.hero--light .path--primary { background: var(--action); border-color: var(--action); color: #fff; }
.hero--light .path--primary .path-text, .hero--light .path--primary .path-kicker { color: rgba(255,255,255,.85); }
.seg { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg legend { font-size: .85rem; color: var(--reno); margin-bottom: .4rem; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: .6rem .5rem; border: 1px solid var(--taupe); border-radius: 4px; font-size: .92rem; color: var(--reno); cursor: pointer; }
.seg input:checked + span { background: var(--reno); border-color: var(--reno); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 1px; }
.difference .card { text-align: left; }
.difference .card h3 { font-family: var(--serif); font-size: 1.45rem; }
@media (max-width: 1300px) and (min-width: 861px) { .nav-phone { display: none; } }
@media (max-width: 600px) { .paths { grid-template-columns: 1fr; gap: .6rem; } .path-title { font-size: 1.3rem; } }

/* header: seven nav items — never let the brand collide with the nav */
.brand { flex-shrink: 0; }
.site-nav { flex-wrap: nowrap; min-width: 0; }
.site-nav a { font-size: .88rem; }
@media (max-width: 1500px) and (min-width: 861px) { .nav-phone { display: none; } }
@media (max-width: 1240px) and (min-width: 861px) { .site-nav { gap: .7rem; } .site-nav a { font-size: .84rem; } .brand img { width: 140px; } }
@media (max-width: 1040px) and (min-width: 861px) { .brand-loc { display: none; } .site-nav .btn { padding: .45rem .7rem; font-size: .8rem; } }

/* ---- journal ---- */
.byline { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.article { padding-top: 3rem; }
.article-figure { margin: 0 0 2rem; border-radius: 8px; overflow: hidden; }
.article-figure figcaption { font-size: .85rem; color: var(--muted); padding: .6rem 0 0; }
.article .prose { font-size: 1.05rem; }
.article .prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.article .prose h3 { margin-top: 1.8rem; }
.article .prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.article .prose th, .article .prose td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--stone); }
.article .prose th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--reno); }
.article .prose tr:nth-child(even) td { background: var(--paper); }
.sources { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--taupe); font-size: .9rem; color: var(--muted); }
.sources h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--reno); }
.sources ol { padding-left: 1.2rem; }
.post-meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: .4rem; }
.posts .card-body p:not(.post-meta) { font-size: .95rem; }
.table-wrap { overflow-x: auto; }
/* secondary button on dark bands must read as a button, not disabled text */
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.cta-actions .btn { white-space: nowrap; }

/* project cards: the photo link must be a block, and titles must be white on dark sections */
.project-media { display: block; }
.card-media { display: block; }
.section--midnight .project h3 a, .section--midnight .project h3 { color: #fff; }
.section--midnight .project h3 a:hover { color: var(--fresh); }
.project h3 a { text-decoration: none; color: inherit; }
.project h3 a:hover { color: var(--action); }

/* owners' portrait under the contact details */
.contact-photo { margin: 1.75rem 0 0; max-width: 420px; }
.contact-photo img { border-radius: 8px; width: 100%; height: auto; }
.contact-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* projects filter */
.filter { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0 0; }
.filter .chip { font: inherit; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--taupe); background: #fff; color: var(--reno); cursor: pointer; }
.filter .chip.is-active { background: var(--reno); color: #fff; border-color: var(--reno); }
.projects--filterable { margin-top: 1.5rem; }
.project.is-hidden { display: none; }

.section--sand .compare-wrap figcaption { color: #3d4852; }
.section--sand .compare-wrap figcaption, .section:not(.section--midnight) .compare-wrap figcaption { color: #3d4852; }

/* AA contrast for small brand labels (Lighthouse): darker terra on light, lighter terra on dark */
.kicker, .project-tag, .post-meta, .path-kicker { color: #8A5236; }
.hero .kicker--light { color: var(--fresh); }
.section--midnight .kicker, .section--midnight .project-tag, .kicker--terra, .hero:not(.hero--light) .path-kicker, .cta-band .kicker { color: #D3A98C; }
.hero--light .path-kicker { color: #8A5236; }
.path--primary .path-kicker { color: rgba(255,255,255,.85); }
.stars { color: #8A5236; }
.section--midnight .stars { color: #D3A98C; }
