/* ==========================================================================
   Folsom City Carpentry — style.css
   Palette: espresso + gold + cream. Type: Fraunces (display) / Inter (UI).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --color-espresso:   #231f1b;
  --color-espresso-2: #2f2822;
  --color-bark:       #4a3f36;
  --color-gold:       #b8863b;
  --color-gold-deep:  #96682a;
  --color-gold-light: #d8ac57;
  --color-cream:      #f7f2e9;
  --color-sand:       #efe6d6;
  --color-sand-2:     #e2d5bf;

  /* Text */
  --color-ink:        #241f1a;
  --color-body:       #453d34;
  --color-muted:      #6f6457;
  --color-inverse:    #f7f2e9;
  --color-inverse-mut:#c9bda9;

  /* Surface */
  --color-bg:         #fdfbf7;
  --color-surface:    #ffffff;
  --color-border:     #e4dac8;
  --color-border-str: #d2c3a9;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius + shadow */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(35, 31, 27, 0.06), 0 2px 6px rgba(35, 31, 27, 0.05);
  --shadow: 0 2px 6px rgba(35, 31, 27, 0.07), 0 10px 26px rgba(35, 31, 27, 0.08);
  --shadow-lg: 0 10px 24px rgba(35, 31, 27, 0.10), 0 26px 60px rgba(35, 31, 27, 0.13);

  --header-h: 84px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, iframe { max-width: 100%; }
img { height: auto; display: block; border-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.35rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
h4 { font-size: 1.1875rem; letter-spacing: -0.005em; }
h5, h6 { font-size: 1.0625rem; }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-gold-deep); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--color-espresso); }

strong, b { font-weight: 700; color: var(--color-ink); }
small { font-size: 0.875em; }
address { font-style: normal; }
blockquote { margin: 0; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }
li { margin-bottom: var(--space-2); }
li:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-10) 0; }

button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }

svg { width: 1em; height: 1em; flex: none; }

::selection { background: var(--color-gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

main > section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}
main > section.section-tight { padding-block: var(--space-10); }

.section-alt { background: var(--color-sand); }

.section-dark {
  background: var(--color-espresso);
  color: var(--color-inverse-mut);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark strong { color: var(--color-inverse); }
.section-dark a { color: var(--color-gold-light); }
.section-dark a:hover { color: #fff; }

.section-header { max-width: 62ch; margin-bottom: var(--space-12); }
.section-header.center,
.section-header.text-center { margin-inline: auto; text-align: center; }
.section-header > p:last-child { color: var(--color-muted); font-size: 1.0625rem; }
.section-dark .section-header > p:last-child { color: var(--color-inverse-mut); }

.center { margin-inline: auto; }
.text-center { text-align: center; }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
.split.reverse > *:last-child { order: 1; }

.split-media img,
.split-media > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center 38%;
  aspect-ratio: 4 / 3;
}

/* --------------------------------------------------------------------------
   4. Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--color-espresso);
  color: var(--color-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: var(--space-4); color: var(--color-inverse); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header > .container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
  max-width: 1460px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-ink);
  flex: none;
  min-width: 0;
}
.brand img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-width: 0;
}
.brand-word > span {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 3px;
}
.brand:hover { color: var(--color-gold-deep); }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.8vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  position: relative;
  padding: var(--space-2) 2px;
  color: var(--color-body);
  font-size: 0.8438rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.main-nav a:hover { color: var(--color-ink); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--color-ink); font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.header-phone svg { color: var(--color-gold-deep); width: 1.05em; height: 1.05em; }
.header-phone:hover { color: var(--color-gold-deep); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border-str);
  border-radius: var(--radius);
  color: var(--color-ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:hover { background: var(--color-sand); }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .12s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #2a1e0c;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: #2a1e0c;
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--color-espresso);
  border-color: var(--color-espresso);
  color: var(--color-inverse);
}
.btn-dark:hover { background: var(--color-bark); border-color: var(--color-bark); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-gold); border-color: var(--color-gold); color: #2a1e0c; }

.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; }
.btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   7. Eyebrow + accents
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-border-str), transparent);
  max-width: 90px;
}
.section-header.center .eyebrow,
.text-center .eyebrow { justify-content: center; }
.section-header.center .eyebrow::after,
.text-center .eyebrow::after { display: none; }

.eyebrow--inverse { color: var(--color-gold-light); }
.eyebrow--inverse::after { background: linear-gradient(to right, rgba(255,255,255,0.35), transparent); }

.script-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(80vh, 820px);
  padding-block: clamp(var(--space-16), 9vw, var(--space-24)) !important;
  background: var(--color-espresso);
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: min(52vh, 520px); }

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 18%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(102deg, rgba(20,17,14,0.90) 0%, rgba(20,17,14,0.74) 42%, rgba(20,17,14,0.34) 100%),
    linear-gradient(to top, rgba(20,17,14,0.65), transparent 45%);
}

.hero-inner { max-width: 62ch; color: var(--color-inverse); }
.hero-inner h1 { color: #fff; margin-bottom: var(--space-5); }
.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--color-inverse-mut);
  max-width: 56ch;
  margin-bottom: var(--space-8);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-ctas .btn-outline { color: var(--color-cream); }

/* Interior page hero */
.page-hero {
  background: var(--color-espresso);
  color: var(--color-inverse-mut);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) !important;
  border-bottom: 3px solid var(--color-gold);
}
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero > .container > p:last-child {
  max-width: 66ch;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.1875rem);
  color: var(--color-inverse-mut);
  margin-bottom: 0;
}
.page-hero .eyebrow { color: var(--color-gold-light); }

.breadcrumb {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-inverse-mut);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--color-gold-light); }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   9. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--color-espresso-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4) clamp(var(--space-6), 5vw, var(--space-16));
  list-style: none;
  margin: 0;
  padding: var(--space-5) 0;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  color: var(--color-inverse);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.trust-strip svg { color: var(--color-gold-light); width: 1.25em; height: 1.25em; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--color-border-str); }
.card h3, .card h4 { margin-bottom: var(--space-3); }
.card p { color: var(--color-muted); font-size: 0.9688rem; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--color-sand), var(--color-sand-2));
  color: var(--color-gold-deep);
}
.card-icon svg { width: 26px; height: 26px; }

.card-link {
  margin-top: auto;
  padding-top: var(--space-5);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.card-link:hover { color: var(--color-espresso); }

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-str);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--color-gold-deep);
}
.stat-label {
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   12. Area pills
   -------------------------------------------------------------------------- */
.area-pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.area-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6875rem 1.375rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-str);
  border-radius: 999px;
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .12s var(--ease);
}
.area-pill:hover {
  background: var(--color-espresso);
  border-color: var(--color-espresso);
  color: var(--color-cream);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.testimonial-quote {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-ink);
  margin-bottom: var(--space-6);
}
.testimonial-name { font-weight: 700; color: var(--color-ink); }
.testimonial-role {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   14. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(184, 134, 59, 0.28), transparent 58%),
    var(--color-espresso);
  color: var(--color-inverse-mut);
  text-align: center;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-banner > p {
  max-width: 62ch;
  margin: 0 auto var(--space-8);
  font-size: 1.0625rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}
.cta-banner .btn-outline { color: var(--color-cream); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-espresso);
  color: var(--color-inverse-mut);
  padding-block: var(--space-16) var(--space-8);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1.35fr;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
}
.footer-brand .brand { color: var(--color-inverse); margin-bottom: var(--space-5); }
.footer-brand .brand:hover { color: var(--color-gold-light); }
.footer-brand .brand-word > span { color: var(--color-inverse-mut); }
.footer-brand > p { max-width: 46ch; line-height: 1.65; }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-inverse);
}

.footer-col h4 {
  color: var(--color-inverse);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a, .site-footer address a { color: var(--color-inverse-mut); }
.footer-col a:hover, .site-footer address a:hover { color: var(--color-gold-light); }
.site-footer address { line-height: 1.8; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: rgba(201, 189, 169, 0.8);
}
.footer-bottom a { color: rgba(201, 189, 169, 0.9); }
.footer-bottom a:hover { color: var(--color-gold-light); }

/* --------------------------------------------------------------------------
   16. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--color-border-str);
}
.accordion-item { border-bottom: 1px solid var(--color-border-str); }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
  padding: var(--space-6) 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 600;
  color: var(--color-ink);
  transition: color .18s var(--ease);
}
.accordion-trigger:hover { color: var(--color-gold-deep); }

.icon-plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-str);
  transition: transform .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.icon-plus::before, .icon-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--color-ink);
  transform: translate(-50%, -50%);
  transition: opacity .2s var(--ease), background-color .2s var(--ease);
}
.icon-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-item[data-open="true"] .icon-plus {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: rotate(180deg);
}
.accordion-item[data-open="true"] .icon-plus::before,
.accordion-item[data-open="true"] .icon-plus::after { background: #2a1e0c; }
.accordion-item[data-open="true"] .icon-plus::after { opacity: 0; }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.accordion-item[data-open="true"] .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-item[data-open="true"] .accordion-panel-inner { padding-bottom: var(--space-6); }
.accordion-panel-inner p { color: var(--color-muted); max-width: 72ch; }

/* No-JS fallback: every answer stays open and readable */
.no-js .accordion-panel { grid-template-rows: 1fr; }
.no-js .accordion-panel-inner { padding-bottom: var(--space-6); }
.no-js .icon-plus { display: none; }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8125rem var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border-str);
  border-radius: var(--radius);
  color: var(--color-ink);
  line-height: 1.5;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: var(--space-10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6457' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 18px 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 59, 0.20);
}
.field input::placeholder, .field textarea::placeholder { color: #a3988a; }

.hint { font-size: 0.8125rem; color: var(--color-muted); }

.noscript-note {
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
  background: var(--color-sand);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-body);
}

/* --------------------------------------------------------------------------
   18. Estimator
   -------------------------------------------------------------------------- */
.estimator-shell {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(var(--space-6), 3.5vw, var(--space-12));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.estimator-progress {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.estimator-progress-bar {
  height: 6px;
  margin-bottom: var(--space-10);
  background: var(--color-sand-2);
  border-radius: 999px;
  overflow: hidden;
}
.estimator-progress-fill {
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, var(--color-gold-deep), var(--color-gold-light));
  border-radius: 999px;
  transition: width .35s var(--ease);
}

/* Steps: JS shows one at a time. Without JS every step stays visible. */
.estimator-step { display: block; scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.js .estimator-step { display: none; }
.js .estimator-step.active { display: block; animation: est-in .3s var(--ease); }
.estimator-step + .estimator-step { margin-top: var(--space-12); }
.js .estimator-step + .estimator-step { margin-top: 0; }
.estimator-step > h2 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); }
.estimator-step > p { color: var(--color-muted); margin-bottom: var(--space-8); }

@keyframes est-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.option-card {
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg);
  border: 2px solid var(--color-border-str);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease),
              transform .12s var(--ease), box-shadow .18s var(--ease);
}
.option-card:hover {
  border-color: var(--color-gold);
  background: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.option-card.selected {
  border-color: var(--color-gold);
  background: rgba(184, 134, 59, 0.10);
  box-shadow: 0 0 0 3px rgba(184, 134, 59, 0.16);
}
.opt-title { font-weight: 700; color: var(--color-ink); font-size: 1.0625rem; }
.opt-desc { margin-top: var(--space-1); font-size: 0.875rem; color: var(--color-muted); line-height: 1.5; }

.estimator-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.estimator-nav > span { font-size: 0.875rem; color: var(--color-muted); }
.estimator-nav .btn:only-child { margin-left: auto; }

.estimator-result { text-align: center; padding-block: var(--space-4); }
.estimator-result .eyebrow { justify-content: center; }
.estimator-result .eyebrow::after { display: none; }
.estimator-result > p { color: var(--color-muted); max-width: 56ch; margin-inline: auto; }
.range {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-gold-deep);
  margin: var(--space-5) 0 var(--space-6);
}
.estimator-result .btn { margin-top: var(--space-6); }

/* --------------------------------------------------------------------------
   19. Process list
   -------------------------------------------------------------------------- */
.process-list {
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
  counter-reset: step;
}
.process-list > li {
  display: flex;
  gap: var(--space-5);
  padding-bottom: var(--space-8);
  margin-bottom: 0;
  position: relative;
}
.process-list > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--color-border-str), rgba(210, 195, 169, 0.25));
}
.process-list > li:last-child { padding-bottom: 0; }
.process-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-espresso);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.process-list h4 { margin-bottom: var(--space-2); padding-top: var(--space-2); }
.process-list p { color: var(--color-muted); }
.section-dark .process-list p { color: var(--color-inverse-mut); }
.section-dark .process-num { background: var(--color-gold); color: #2a1e0c; }

/* --------------------------------------------------------------------------
   20. Tags, pull quotes, project media
   -------------------------------------------------------------------------- */
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.tag-list.text-center { justify-content: center; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: var(--color-sand);
  border: 1px solid var(--color-border-str);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-bark);
}

.pull-quote {
  margin: var(--space-6) 0 0;
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--color-gold);
  background: var(--color-sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-ink);
}

.project-card-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--color-sand);
}
.project-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.project-card-media:hover img { transform: scale(1.04); }

main > section[id] + section[id] { padding-top: 0; }

/* --------------------------------------------------------------------------
   21. Blog
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-str);
  color: inherit;
}
.blog-card-media { overflow: hidden; background: var(--color-sand); }
.blog-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.blog-card:hover .blog-card-media img { transform: scale(1.045); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.blog-card-body time {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.blog-card-body h3 { margin: var(--space-3) 0; font-size: 1.25rem; }
.blog-card:hover .blog-card-body h3 { color: var(--color-gold-deep); }
.blog-card-body p { flex: 1; font-size: 0.9375rem; color: var(--color-muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}
.article-body { max-width: 72ch; font-size: 1.0938rem; line-height: 1.78; }
.article-body > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-10);
}
.article-body h2 {
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}
.article-body h3 { margin-top: var(--space-8); }
.article-body > p:first-of-type { font-size: 1.1875rem; color: var(--color-ink); }
.article-body ul, .article-body ol { margin-bottom: var(--space-6); padding-left: 1.35em; }
.article-body li { margin-bottom: var(--space-3); }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }

.article-sidebar { position: sticky; top: calc(var(--header-h) + var(--space-6)); display: grid; gap: var(--space-6); }
.article-sidebar .card { padding: var(--space-6); }
.article-sidebar .card:hover { transform: none; }
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li { margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.sidebar-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.sidebar-list a { font-size: 0.9375rem; font-weight: 500; color: var(--color-body); }
.sidebar-list a:hover { color: var(--color-gold-deep); }

/* --------------------------------------------------------------------------
   22. Contact
   -------------------------------------------------------------------------- */
.contact-info-card {
  padding: var(--space-8);
  background: var(--color-espresso);
  color: var(--color-inverse-mut);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-info-card h3 { color: #fff; margin-bottom: var(--space-6); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}
.contact-list li:last-child { margin-bottom: 0; }
.contact-list svg { color: var(--color-gold-light); width: 1.15em; height: 1.15em; margin-top: 4px; }
.contact-list a { color: var(--color-inverse); font-weight: 600; }
.contact-list a:hover { color: var(--color-gold-light); }

.map-frame {
  margin-top: var(--space-6);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-str);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; filter: saturate(0.9); }

/* --------------------------------------------------------------------------
   23. 404
   -------------------------------------------------------------------------- */
.error-page { padding-block: clamp(var(--space-16), 9vw, var(--space-24)) !important; }
.error-page h1 { margin-bottom: var(--space-4); }
.error-page > .container > p { max-width: 58ch; margin-inline: auto; color: var(--color-muted); }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1360px) {
  .site-header > .container { gap: var(--space-4); }
  .brand { flex: 0 1 auto; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .site-header.nav-open .main-nav { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-6) var(--space-6);
    max-width: var(--container);
    margin-inline: auto;
  }
  .main-nav li + li { border-top: 1px solid var(--color-border); }
  .main-nav a { padding: var(--space-4) 0; font-size: 1.0625rem; }
  .main-nav a::after { display: none; }

  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .grid-2 { grid-template-columns: 1fr; }
  .split.reverse > *:first-child,
  .split.reverse > *:last-child { order: 0; }
  .split-media img { aspect-ratio: 16 / 10; }
  .hero { min-height: auto; }
  .header-phone .phone-text { display: none; }
  .header-phone { padding: var(--space-2); }
  .header-phone svg { width: 1.35em; height: 1.35em; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .container { padding-inline: var(--space-5); }

  .site-header > .container { gap: var(--space-3); }
  .brand { gap: var(--space-2); }
  .brand img { width: 40px; height: 40px; }
  .brand-word {
    font-size: 0.9375rem;
    line-height: 1.1;
    white-space: normal;
    max-width: 8.5em;
  }
  .brand-word > span { display: none; }
  .header-actions { gap: var(--space-2); }

  .grid-3, .grid-4, .stats, .form-grid, .article-sidebar {
    grid-template-columns: 1fr;
  }
  .field.full { grid-column: auto; }

  .btn { width: 100%; }
  .btn-sm, .header-actions .btn { width: auto; }
  .hero-ctas, .cta-actions { flex-direction: column; align-items: stretch; }

  .card, .testimonial, .contact-info-card { padding: var(--space-6); }
  .estimator-nav { flex-direction: column-reverse; align-items: stretch; }
  .estimator-nav > span { text-align: center; }
  .trust-strip li { font-size: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .process-list > li { gap: var(--space-4); }
  .process-list > li:not(:last-child)::before { left: 19px; top: 44px; }
  .process-num { width: 40px; height: 40px; font-size: 0.875rem; }
  .map-frame iframe { height: 250px; }
}

@media (max-width: 560px) {
  /* Keep the name visible on phones; the tap-to-call button and the hero CTA
     carry the conversion, so the header estimate button steps aside. */
  .header-actions .btn { display: none; }
  .brand-word { max-width: 11em; }
  .header-phone {
    width: 42px;
    height: 42px;
    justify-content: center;
    background: var(--color-gold);
    border-radius: 50%;
    color: #2a1e0c;
  }
  .header-phone svg { color: inherit; width: 1.25em; height: 1.25em; }
  .header-phone:hover { background: var(--color-gold-light); color: #2a1e0c; }
}

@media (max-width: 380px) {
  .brand-word { font-size: 0.875rem; max-width: 9em; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   25. Motion + print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .skip-link, .nav-toggle, .cta-banner, .map-frame { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; padding-block: 0 !important; }
  .hero-media, .hero::after { display: none; }
  .hero-inner h1, .page-hero h1 { color: #000; }
  a { color: #000; text-decoration: underline; }
  .js .estimator-step { display: block !important; }
}

/* --------------------------------------------------------------------------
   26. Stage-compare slider
   -------------------------------------------------------------------------- */
.compare {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--color-sand);
  aspect-ratio: 16 / 9;
  user-select: none;
  touch-action: pan-y;
  isolation: isolate;
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* The "before" layer is clipped by a CSS variable the slider drives.
   clip-path (rather than a narrowing wrapper) keeps the photo at full size,
   so both stages stay perfectly registered to each other at any position. */
.compare-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--color-cream);
  box-shadow: 0 0 0 1px rgba(35, 31, 27, 0.25);
  pointer-events: none;
  z-index: 2;
}
.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-espresso);
  box-shadow: var(--shadow);
}
.compare-knob svg { width: 22px; height: 22px; }

.compare-tag {
  position: absolute;
  bottom: var(--space-4);
  z-index: 3;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 17, 14, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare-tag-l { left: var(--space-4); }
.compare-tag-r { right: var(--space-4); }

/* The range input is the real control: invisible, but fully keyboard- and
   screen-reader-accessible, and it works with no JavaScript at all. */
.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 56px;
  height: 100%;
  cursor: ew-resize;
}
.compare-range::-moz-range-thumb {
  width: 56px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}
.compare-range:focus-visible ~ .compare-handle .compare-knob {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}
.compare-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.compare-caption {
  margin-top: var(--space-4);
  font-size: 0.9375rem;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 680px) {
  .compare { aspect-ratio: 4 / 3; }
  .compare-knob { width: 40px; height: 40px; }
  .compare-tag { font-size: 0.6875rem; bottom: var(--space-3); }
  .compare-tag-l { left: var(--space-3); }
  .compare-tag-r { right: var(--space-3); }
}

/* --------------------------------------------------------------------------
   27. Spec list (project detail facts)
   -------------------------------------------------------------------------- */
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0 0;
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--color-border-str);
  list-style: none;
}
.spec-list li { margin: 0; }
.spec-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-1);
}
.spec-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
}
.section-dark .spec-list { border-top-color: rgba(255,255,255,0.16); }
.section-dark .spec-label { color: var(--color-inverse-mut); }
.section-dark .spec-value { color: var(--color-inverse); }

/* Status pill for work that is genuinely still on the boards */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(184, 134, 59, 0.14);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.status-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* --------------------------------------------------------------------------
   28. Build-stage gallery
   -------------------------------------------------------------------------- */
.stage-shot { margin: 0; }
.stage-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--color-sand);
  transition: transform .4s var(--ease);
}
.stage-shot:hover img { transform: scale(1.03); }
.stage-shot figcaption {
  margin-top: var(--space-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   29. Dark header treatment
   The espresso header reads better against the logo than the light one, and
   going full-bleed gives nine nav items the room they were fighting for.
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--color-espresso);
  border-bottom: 1px solid #453c31;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header > .container {
  max-width: 100%;
  padding-inline: clamp(var(--space-4), 2.2vw, var(--space-8));
  gap: var(--space-4);
}

.brand { color: var(--color-cream); }
.brand:hover { color: var(--color-gold-light); }
.brand-word { color: var(--color-cream); font-size: 1.15rem; }
.brand-word > span {
  color: var(--color-gold-light);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
}

.main-nav a { color: var(--color-inverse-mut); font-weight: 600; }
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--color-cream); }
.main-nav a::after { bottom: -6px; background: var(--color-gold); }

.header-phone { color: var(--color-cream); }
.header-phone svg { color: var(--color-gold); }
.header-phone:hover { color: var(--color-gold-light); }

.nav-toggle {
  border-color: #453c31;
  color: var(--color-cream);
}
.nav-toggle:hover { background: var(--color-espresso-2); }

/* Skip link needs to stand off the dark bar */
.skip-link { background: var(--color-gold); color: #2a1e0c; }

@media (max-width: 1360px) {
  .main-nav {
    background: var(--color-espresso);
    border-bottom: 0;
    border-top: 1px solid #453c31;
  }
  .main-nav li + li { border-top: 1px solid #453c31; }
  .main-nav a { color: var(--color-cream); }
}

@media (max-width: 560px) {
  .header-phone {
    background: var(--color-gold);
    color: #2a1e0c;
  }
  .header-phone svg { color: inherit; }
  .header-phone:hover { background: var(--color-gold-light); color: #2a1e0c; }
}

/* --------------------------------------------------------------------------
   30. Estimator step list (homepage band)
   -------------------------------------------------------------------------- */
.est-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: est;
}
.est-steps li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9688rem;
  line-height: 1.45;
}
.est-steps li:last-child { border-bottom: 0; }
.est-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .est-steps { margin-top: var(--space-8); }
}

/* --------------------------------------------------------------------------
   31. Inline price line on service cards
   -------------------------------------------------------------------------- */
.price-line {
  margin: calc(var(--space-2) * -1) 0 var(--space-3) !important;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-gold-deep) !important;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   32. Founder story
   -------------------------------------------------------------------------- */
.founder-story p {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.founder-story p:first-child {
  font-size: 1.1875rem;
  color: var(--color-ink);
}
.founder-story p + p { margin-top: var(--space-5); }

#meet-hunter .split-media img {
  aspect-ratio: 4 / 5;
  object-position: center 22%;
}

.founder-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border-str);
}
.founder-blocks h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-3);
}
.founder-blocks p { color: var(--color-muted); font-size: 0.9688rem; }

/* The personal aside: narrower measure, tinted panel — signals "this part is human". */
.legacy-card {
  max-width: 760px;
  margin: var(--space-12) auto 0;
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.legacy-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-5);
}
.legacy-card p + p { margin-top: var(--space-4); }
.legacy-sign {
  margin-top: var(--space-6) !important;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .founder-blocks { grid-template-columns: 1fr; gap: var(--space-6); }
  #meet-hunter .split-media img { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   33. Check list + disclaimer (financing)
   -------------------------------------------------------------------------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-10);
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  margin: 0;
  padding: var(--space-5) 0 var(--space-5) var(--space-8);
  border-bottom: 1px solid var(--color-border);
  font-size: 1.0313rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 17px;
  height: 9px;
  border-left: 2.5px solid var(--color-gold);
  border-bottom: 2.5px solid var(--color-gold);
  transform: rotate(-45deg);
}
.disclaimer {
  margin-top: var(--space-10);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border-left: 3px solid var(--color-border-str);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}
@media (max-width: 760px) {
  .check-list { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   34. Review cards — longer real quotes need room to breathe
   -------------------------------------------------------------------------- */
.grid-2 > .testimonial .testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
}
.testimonial-role { line-height: 1.4; }

/* --------------------------------------------------------------------------
   35. Services index — alternating photo/text rows
   -------------------------------------------------------------------------- */
.svc-row + .svc-row { padding-top: clamp(var(--space-12), 6vw, var(--space-24)); }

.svc-keywords {
  margin-bottom: var(--space-5);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  line-height: 1.6;
}
.svc-included-label {
  margin: var(--space-8) 0 var(--space-4);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.svc-included {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
}
.svc-included li {
  position: relative;
  margin: 0;
  padding: var(--space-3) 0 var(--space-3) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9688rem;
}
.svc-included li:last-child { border-bottom: 0; }
.svc-included li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   36. Contact tiles
   -------------------------------------------------------------------------- */
.contact-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.contact-tile svg { width: 24px; height: 24px; color: var(--color-gold-deep); }
.ct-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.contact-tile a { color: var(--color-ink); font-weight: 600; }
.contact-tile a:hover { color: var(--color-gold-deep); }

@media (max-width: 860px) {
  .contact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   37. Answer-first Q&A blocks
   -------------------------------------------------------------------------- */
.qa-section .qa {
  max-width: 78ch;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border-str);
}
.qa-section .qa:first-of-type { border-top: 0; padding-top: 0; }
.qa-section .qa h3 {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  margin-bottom: var(--space-3);
}
.qa-section .qa p { color: var(--color-body); line-height: 1.7; }

/* ---------------------------------------------------------------------------
   38. SPEC TABLE  (project materials / details)
   --------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.spec-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.875rem 1.125rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 34%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-espresso);
  white-space: nowrap;
}

.spec-table td {
  color: var(--color-body);
}

.spec-table tr:nth-child(even) {
  background: color-mix(in srgb, var(--color-sand) 45%, transparent);
}

/* ---------------------------------------------------------------------------
   39. DIGITAL BUSINESS CARD  (/card)
   --------------------------------------------------------------------------- */

.card-page {
  background: var(--color-espresso);
  color: var(--color-inverse);
  padding-block: var(--space-16) var(--space-20);
}

.container-narrow { max-width: 720px; }

.vcard-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-10);
}
.vcard-art img { width: 100%; height: auto; display: block; }

.vcard-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  color: var(--color-cream);
  text-align: center;
  margin: 0 0 var(--space-2);
}
.vcard-role {
  text-align: center;
  color: var(--color-inverse-mut);
  margin: 0 0 var(--space-10);
  line-height: 1.7;
}
.vcard-lic { color: var(--color-gold-light); font-weight: 600; }

.vcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-16);
}
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-outline-dark {
  border: 1px solid var(--color-gold);
  color: var(--color-cream);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--color-gold);
  color: var(--color-espresso);
}

.vcard-qr { text-align: center; margin-bottom: var(--space-16); }
.vcard-qr .eyebrow { color: var(--color-gold-light); display: flex; justify-content: center; }
.vcard-qr img {
  width: min(280px, 70vw);
  height: auto;
  margin-inline: auto;
  background: #fff;
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.vcard-qr-note {
  max-width: 42ch;
  margin: var(--space-5) auto 0;
  color: var(--color-inverse-mut);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.vcard-details {
  border-top: 1px solid rgba(247, 242, 233, 0.14);
  border-bottom: 1px solid rgba(247, 242, 233, 0.14);
  padding-block: var(--space-8);
  margin-bottom: var(--space-8);
}
.vcard-details dl {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: var(--space-3) var(--space-5);
  margin: 0;
}
.vcard-details dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-gold-light);
}
.vcard-details dd { margin: 0; color: var(--color-cream); }
.vcard-details a { color: var(--color-cream); text-decoration: underline; text-underline-offset: 3px; }
.vcard-details a:hover { color: var(--color-gold-light); }

.vcard-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
}
.vcard-links a {
  color: var(--color-gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vcard-links a:hover { color: var(--color-cream); }

@media (max-width: 560px) {
  .vcard-details dl { grid-template-columns: 1fr; gap: var(--space-1) 0; }
  .vcard-details dd { margin-bottom: var(--space-4); }
  .vcard-actions .btn { flex: 1 1 100%; text-align: center; }
}
