/* ========================================
   Retro Fit Installation LLC — Design System
   Warm desert neutrals · charcoal · walnut · brass accent
   ======================================== */

:root {
  /* Palette */
  --bg:         #f3efe7;   /* warm cream */
  --bg-alt:    #ebe5d8;   /* slightly deeper */
  --surface:    #ffffff;
  --ink:        #1a1714;   /* near-black walnut charcoal */
  --ink-2:     #2e2823;
  --muted:      #6b6258;
  --muted-2:   #908577;
  --line:       #d9d2c2;
  --line-2:    #c4baa6;

  --accent:     #c69a5e;   /* brushed brass / desert sand */
  --accent-2:  #a8804a;
  --accent-ink: #2a1f12;

  --shadow-sm: 0 1px 2px rgba(26, 23, 20, 0.06), 0 2px 6px rgba(26, 23, 20, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(26, 23, 20, 0.18);

  /* Type */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Satoshi', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing */
  --container: 1200px;
  --gutter:    clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 10vw, 7.5rem);

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-lightbox {
  overflow: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute; top: -999px; left: 1rem; z-index: 999;
  background: var(--ink); color: var(--bg); padding: .5rem .75rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 0; line-height: 1.1; }
h1 { font-weight: 800; letter-spacing: -0.025em; }
p { margin: 0 0 1em; color: var(--ink-2); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-lg { padding: .95rem 1.5rem; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 239, 231, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled {
  background: rgba(243, 239, 231, 0.95);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; color: var(--ink); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand-sub  { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  font-size: 14px; color: var(--ink-2); position: relative;
  padding: .5rem 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .3s var(--ease);
}
.site-nav a:hover::after { width: 100%; }

/* Highlighted Builder Pricing nav button */
.site-nav a.nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .6rem .95rem;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.15;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.site-nav a.nav-cta:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(168,128,74,0.25);
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mobile-nav a.nav-cta {
  display: inline-flex;
  align-self: flex-start;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .7rem 1.1rem;
  margin: .5rem 0;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
}
.mobile-nav a.nav-cta:hover {
  background: var(--accent-2);
  color: #fff;
}

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-social {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-right: .2rem;
}
.social-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,23,20,0.14);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.22);
  transition: transform .2s var(--ease), border-color .2s, background .2s, color .2s;
}
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icon svg path {
  fill: currentColor;
  stroke: none;
}
.social-icon:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgba(198,154,94,0.65);
  background: rgba(198,154,94,0.12);
}
.phone-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: 14px; color: var(--ink-2);
}
.phone-link:hover { color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem;
  flex-direction: column; gap: 5px; margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column; gap: 0;
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav a {
  padding: .9rem 0; border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--ink);
}
.mobile-nav > a:last-child { border: 0; margin-top: 1rem; }
.mobile-nav .btn-primary {
  color: var(--bg);
  background: var(--ink);
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: .95rem 1.25rem;
}
.mobile-nav .btn-primary:hover {
  color: var(--accent-ink);
  background: var(--accent);
}
.mobile-social {
  display: flex;
  gap: .6rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-social a {
  border: 1px solid var(--line);
  padding: .65rem .85rem;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 700;
  width: auto;
  height: auto;
  gap: .45rem;
  background: rgba(198,154,94,0.08);
}
.mobile-nav .mobile-social a:last-child {
  margin-top: 0;
}
.mobile-nav .mobile-social svg {
  width: 16px;
  height: 16px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  padding: 5rem 0 4rem;
  overflow: hidden;
  color: var(--bg);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture,
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 65% center;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,23,20,0.35) 0%, rgba(26,23,20,0.15) 35%, rgba(26,23,20,0.45) 70%, rgba(26,23,20,0.92) 100%),
    linear-gradient(90deg, rgba(26,23,20,0.55) 0%, rgba(26,23,20,0.15) 45%, rgba(26,23,20,0) 70%);
}
@media (max-width: 760px) {
  .hero-media img { object-position: 70% center; }
  .hero-shade { background:
    linear-gradient(180deg, rgba(26,23,20,0.4) 0%, rgba(26,23,20,0.3) 35%, rgba(26,23,20,0.6) 70%, rgba(26,23,20,0.94) 100%); }
}
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(243, 239, 231, 0.85); }
.hero-title {
  color: var(--bg);
  font-size: clamp(2.25rem, 5.8vw, 5rem);
  line-height: 1.02; letter-spacing: -0.03em;
  max-width: 22ch; margin: 0 0 1.25rem;
  font-weight: 800;
}
.hero-title em {
  font-style: italic;
  font-family: 'Cabinet Grotesk', serif;
  color: var(--accent);
  font-weight: 500;
}
.hero-sub {
  color: rgba(243, 239, 231, 0.85);
  max-width: 56ch; font-size: clamp(15px, 1.4vw, 17px);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-actions .btn-ghost { color: var(--bg); border-color: rgba(243, 239, 231, 0.5); }
.hero-actions .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.trust-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  font-size: 13px; color: rgba(243, 239, 231, 0.8);
}
.trust-row li { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ========== Trust strip ========== */
.trust-strip {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid rgba(243,239,231,0.07);
  border-bottom: 1px solid rgba(243,239,231,0.07);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; padding: 2.5rem 0;
  text-align: center;
}
.trust-grid > div { display: flex; flex-direction: column; gap: .35rem; }
.num { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.lbl { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,239,231,0.6); }

/* ========== Sections ========== */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin: 0 0 3rem; }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}
.section-lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 60ch; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background .3s var(--ease);
  position: relative;
}
.service-card:hover { background: var(--bg-alt); }
.service-card--featured {
  background: var(--ink);
  color: var(--bg);
}
.service-card--featured h3 { color: var(--bg); }
.service-card--featured p { color: rgba(243,239,231,0.72); }
.service-card--featured .service-num { color: var(--accent); }
.service-card--featured:hover { background: #221d18; }
.service-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.16em;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: .65rem;
  font-weight: 700;
}
.service-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.service-link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}
.service-card--featured .service-link { color: var(--accent); }
.service-link:hover { color: var(--accent-2); }

/* Service landing pages */
.service-page-hero .project-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .98;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.service-detail-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.service-detail-grid h3 {
  font-size: 20px;
  margin-bottom: .6rem;
}
.service-detail-grid p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.service-band {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.service-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.service-band h2 {
  color: var(--bg);
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.service-band p {
  color: rgba(243,239,231,0.72);
  margin: 0;
}
.service-band .btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.service-band .btn-primary:hover { background: var(--bg); }
.service-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.service-band-actions .btn-ghost {
  color: var(--bg);
  border-color: rgba(243,239,231,0.4);
}
.service-band-actions .btn-ghost:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

/* Work */
.work-section {
  background: var(--bg-alt);
  padding: var(--section-y) 0;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.work-card {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.work-lg { grid-column: span 2; }
.work-lg img { aspect-ratio: 16/9; }
.work-card figcaption { padding: 1.5rem 1.5rem 1.75rem; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  margin-bottom: .75rem;
}
.work-card h3 { font-size: 20px; margin-bottom: .4rem; }
.work-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.work-card figcaption .btn { margin-top: 1rem; }

.deep-dive-hero {
  position: relative;
  min-height: clamp(560px, 86vh, 920px);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.deep-dive-hero picture,
.deep-dive-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.deep-dive-hero img {
  object-fit: cover;
  object-position: center center;
  filter: brightness(.72) contrast(1.02);
}
.deep-dive-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,.18), rgba(20,17,15,.38));
}
.deep-dive-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--bg);
  width: min(900px, calc(100% - 2rem));
  padding: 2rem;
}
.deep-dive-overlay .eyebrow {
  color: rgba(243,239,231,.82);
  margin-bottom: 1.1rem;
}
.deep-dive-overlay h2 {
  color: var(--bg);
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: .9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin: 0;
}
.deep-dive-overlay p:last-child {
  color: rgba(243,239,231,.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 1rem auto 0;
}

/* Project Page */
.project-hero {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.back-link:hover { color: var(--ink); }
.project-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .92;
  margin-bottom: 1.2rem;
}
.project-lede {
  max-width: 58ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.project-meta {
  display: grid;
  gap: .65rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 14px;
}
.project-meta span {
  padding-top: .65rem;
  border-top: 1px solid var(--line);
}
.project-hero img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.scope-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}
.scope-list li {
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.project-photo {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.project-photo-wide { grid-column: span 2; }
.project-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.project-photo-wide img { aspect-ratio: 16/9; }
.project-photo figcaption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 14px;
}
.project-photo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(18, 16, 13, 0.92);
  color: #fff;
}
.photo-lightbox[hidden] {
  display: none;
}
.photo-lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.photo-lightbox-count {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.photo-lightbox-close,
.photo-lightbox-nav {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.photo-lightbox-close {
  padding: 0 1rem;
}
.photo-lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
}
.photo-lightbox-stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.photo-lightbox-bottom {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 1rem;
}
.photo-lightbox-caption {
  margin: 0 auto;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  text-align: center;
}
.project-cta {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.project-cta h2 {
  color: var(--bg);
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 720px;
}
.project-cta .eyebrow { color: var(--accent); }
.project-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* About */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-bullets {
  list-style: none; padding: 0; margin: 1.5rem 0 2rem;
}
.about-bullets li {
  padding: .8rem 0 .8rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-2);
}
.about-bullets li::before {
  content: ''; position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 1.5px; background: var(--accent);
}
.about-quote {
  background: var(--ink);
  color: var(--bg);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
}
.about-quote svg { color: var(--accent); margin-bottom: 1rem; }
.about-quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  font-weight: 500;
  font-style: italic;
}
.about-quote cite { font-style: normal; font-size: 13px; color: rgba(243,239,231,0.65); letter-spacing: 0.08em; }

/* Service Area */
.area-section { background: var(--bg-alt); }
.area-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  border-top: 1px solid var(--line-2);
}
.area-list li {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}
.area-list a {
  color: inherit;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.area-list a:hover { color: var(--accent-2); }
.area-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%; transform: translateY(-50%);
  opacity: 0; transition: opacity .25s;
}
.area-list li:hover { padding-left: 1.5rem; color: var(--ink); }
.area-list li:hover::before { opacity: 1; }

.local-seo-panel {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: grid;
  grid-template-columns: minmax(220px, .65fr) 1.35fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.local-seo-panel h3 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.local-seo-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.local-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .35rem .9rem;
}
.local-link-grid a {
  color: var(--ink);
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-2);
}
.local-link-grid a:hover {
  color: var(--accent-2);
  border-bottom-color: rgba(198,154,94,0.45);
}

/* Contact */
.contact { background: var(--ink); color: var(--bg); }
.contact .section-title { color: var(--bg); }
.contact .eyebrow { color: var(--accent); }
.contact p { color: rgba(243,239,231,0.78); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-meta {
  list-style: none; padding: 0; margin: 2rem 0 0;
  border-top: 1px solid rgba(243,239,231,0.12);
}
.contact-meta li {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid rgba(243,239,231,0.12);
  font-size: 15px;
}
.contact-meta .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243,239,231,0.5);
  padding-top: 3px;
}
.contact-meta a { color: var(--bg); border-bottom: 1px solid rgba(198,154,94,0.4); padding-bottom: 1px; }
.contact-meta a:hover { color: var(--accent); }
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

/* Form */
.estimate-form {
  background: rgba(243,239,231,0.04);
  border: 1px solid rgba(243,239,231,0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.estimate-form .field { margin-bottom: 1.1rem; }
.estimate-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.estimate-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243,239,231,0.6);
  margin-bottom: .45rem;
}
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  background: rgba(243,239,231,0.05);
  border: 1px solid rgba(243,239,231,0.15);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  color: var(--bg);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(243,239,231,0.08);
}
.estimate-form textarea { resize: vertical; min-height: 100px; }
.estimate-form select { appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M3 4.5 6 7.5 9 4.5' stroke='%23c69a5e' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.estimate-form select option { color: var(--ink); background: var(--bg); }
.estimate-form .btn-primary {
  background: var(--accent); color: var(--accent-ink); margin-top: .5rem;
}
.estimate-form .btn-primary:hover { background: var(--bg); }
.form-note {
  text-align: center; font-size: 13px;
  color: rgba(243,239,231,0.55); margin: .9rem 0 0;
}
.form-success {
  position: absolute; inset: 0;
  background: var(--ink);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
  animation: fade-in .35s var(--ease);
}
.form-success[hidden] { display: none; }
.form-success svg { color: var(--accent); margin-bottom: 1rem; }
.form-success h3 { color: var(--bg); margin-bottom: .5rem; font-size: 22px; }
.form-success p { color: rgba(243,239,231,0.7); max-width: 32ch; margin: 0; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

.input-error { border-color: #c97a5e !important; }

.form-error {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-md, 6px);
  background: rgba(201, 122, 94, 0.12);
  border: 1px solid rgba(201, 122, 94, 0.4);
  color: var(--ink, #18160f);
  font-size: .92rem;
  line-height: 1.45;
}
.form-error[hidden] { display: none; }
.form-error a { color: inherit; text-decoration: underline; }

/* ========== Footer ========== */
.site-footer {
  background: var(--ink);
  color: rgba(243,239,231,0.75);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(243,239,231,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 2.5fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243,239,231,0.08);
}
.footer-brand .brand-mark { color: var(--accent); width: 36px; height: 36px; margin-bottom: 1rem; }
.footer-name { color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 .4rem; }
.footer-tag { font-size: 13px; color: rgba(243,239,231,0.55); margin: 0; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols h4 {
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-cols a {
  display: block;
  padding: .35rem 0;
  font-size: 14px;
  color: rgba(243,239,231,0.7);
  transition: color .2s;
}
.footer-cols a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin: 0;
}
.footer-social a {
  color: rgba(243,239,231,0.72);
  border-bottom: 1px solid rgba(198,154,94,0.35);
}
.footer-social a:hover { color: var(--accent); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  font-size: 12px; color: rgba(243,239,231,0.5);
  flex-wrap: wrap; gap: .75rem;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-lg { grid-column: span 1; }
  .work-lg img { aspect-ratio: 4/3; }
  .project-hero-grid, .story-grid { grid-template-columns: 1fr; }
  .service-band-inner { grid-template-columns: 1fr; align-items: start; }
  .project-photo-grid { grid-template-columns: 1fr; }
  .project-photo-wide { grid-column: span 1; }
  .project-hero img {
    aspect-ratio: auto;
    height: auto;
    max-height: 68vh;
    object-fit: contain;
    background: var(--surface);
  }
  .project-photo img,
  .project-photo-wide img {
    aspect-ratio: auto;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    background: var(--surface);
  }
  .project-cta-inner { align-items: flex-start; flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .local-seo-panel { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 1rem; }
  .mobile-nav.is-open { display: flex; }
  .hero { min-height: 90vh; padding-top: 4rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .estimate-form .row { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .area-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* Reveal-on-scroll: only hide if JS has tagged the body, so content stays visible without JS or before observer triggers */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
