/* MC Fencing
   Brand: charcoal serif "Mc", sage picket fence, spaced "FENCING" (from the existing logo).
   Accent: cedar, for calls to action. */

:root {
  --ink: #151916;
  --forest: #1d2620;
  --forest-2: #263229;
  --sage: #8ea38a;
  --sage-500: #6a8066;
  --sage-300: #b9c8b4;
  --sage-100: #e6ece2;
  --sage-50: #f1f4ee;
  --paper: #f7f6f1;
  --white: #fff;
  --cedar: #9a5a2b;
  --cedar-600: #7f4820;
  --cedar-300: #e0ac80;
  --text: #1c201d;
  --muted: #59615a;
  --line: #dde1d8;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 18, .05), 0 10px 30px rgba(16, 24, 18, .07);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .12), 0 30px 70px rgba(0, 0, 0, .35);

  --font-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(34px, 4.4vw, 54px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--cedar-300); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--container)); } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 16px/1 var(--font-body);
  letter-spacing: .02em;
  padding: 15px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 18px; height: 18px; }
.btn-lg { padding: 18px 26px; font-size: 17px; }
.btn-sm { padding: 11px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-cedar { background: var(--cedar); color: #fff; }
.btn-cedar:hover { background: var(--cedar-600); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 13px/1.2 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sage-500);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--sage-300); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--cedar); text-decoration: none;
}
.text-link .i { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar-item .i { width: 16px; height: 16px; color: var(--sage); }
.topbar-phone { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .topbar-area { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 24, 18, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; color: var(--ink); }
.brand-logo { width: auto; height: 62px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav-menu a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    box-shadow: 0 20px 30px rgba(16, 24, 18, .08);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li.nav-cta { border: 0; margin: 16px 0 0; }
  .nav-menu a:not(.btn) { display: block; padding: 14px 4px; font-size: 17px; }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-cta .btn { width: 100%; padding: 15px; font-size: 16px; }
}

/* ---------- Photo slots ----------
   Each .photo shows Mason's image when the file exists in /images,
   otherwise a material-themed placeholder (data-ph). */
.photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--sage-100);
  background-image: var(--ph);
  background-size: cover;
  background-position: center;
}
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font: 600 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(21, 25, 22, .7);
  padding: 7px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.photo:has(> img) .photo-tag { display: none; }

.photo[data-ph="cedar"] {
  --ph:
    linear-gradient(180deg, transparent 0 87%, #4d6343 87% 100%),
    linear-gradient(180deg, #c7d4cc 0 13%, transparent 13%),
    linear-gradient(180deg, transparent 0 13%, rgba(60, 30, 10, .35) 13% 14.5%, transparent 14.5% 50%, rgba(60, 30, 10, .22) 50% 51.5%, transparent 51.5%),
    repeating-linear-gradient(90deg, #a76a3b 0 26px, #6f4020 26px 28px, #b97d4b 28px 54px, #7d4a26 54px 56px, #9c6135 56px 82px, #6f4020 82px 84px);
}
.photo[data-ph="vinyl"] {
  --ph:
    linear-gradient(180deg, transparent 0 84%, #688a50 84% 100%),
    linear-gradient(180deg, #c3d6df 0 26%, transparent 26%),
    linear-gradient(180deg, transparent 0 26%, #d9d5ca 26% 29%, transparent 29%),
    repeating-linear-gradient(90deg, #f5f3ed 0 118px, #d5d1c5 118px 124px);
}
.photo[data-ph="vinyl-tan"] {
  --ph:
    linear-gradient(180deg, transparent 0 84%, #688a50 84% 100%),
    linear-gradient(180deg, #c3d6df 0 26%, transparent 26%),
    linear-gradient(180deg, transparent 0 26%, #c2b18e 26% 29%, transparent 29%),
    repeating-linear-gradient(90deg, #e4d7bc 0 118px, #c6b590 118px 124px);
}
.photo[data-ph="gate"] {
  --ph:
    linear-gradient(180deg, transparent 0 86%, #8f8a7e 86% 100%),
    linear-gradient(90deg, transparent 0 49.4%, #8c7d5f 49.4% 50.6%, transparent 50.6%),
    linear-gradient(90deg, transparent 0 8%, #c6b590 8% 11%, transparent 11% 89%, #c6b590 89% 92%, transparent 92%),
    linear-gradient(180deg, #c3d6df 0 18%, transparent 18%),
    repeating-linear-gradient(90deg, #e4d7bc 0 30px, #d8c9aa 30px 32px);
}
.photo[data-ph="chainlink"] {
  --ph:
    linear-gradient(180deg, transparent 0 9%, #161816 9% 11%, transparent 11%),
    repeating-linear-gradient(45deg, rgba(18, 20, 18, .82) 0 1.6px, transparent 1.6px 14px),
    repeating-linear-gradient(-45deg, rgba(18, 20, 18, .82) 0 1.6px, transparent 1.6px 14px),
    linear-gradient(180deg, #bcd0d8 0 34%, #2c4630 34% 46%, #6a9650 46% 100%);
}
.photo[data-ph="galvanized"] {
  --ph:
    linear-gradient(180deg, transparent 0 9%, #9ba19c 9% 11%, transparent 11%),
    repeating-linear-gradient(45deg, rgba(175, 182, 178, .9) 0 1.6px, transparent 1.6px 14px),
    repeating-linear-gradient(-45deg, rgba(175, 182, 178, .9) 0 1.6px, transparent 1.6px 14px),
    linear-gradient(180deg, #bcd0d8 0 40%, #7f6f5a 40% 54%, #6a9650 54% 100%);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #161e19; --fence-h: 150px; }
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-trees {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: min(100%, 680px); display: block;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%);
  mask-image: linear-gradient(180deg, transparent, #000 35%);
}
/* Fence strip stays a fixed height at every screen width; pickets echo the logo */
.hero-fence {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--fence-h);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='118'%3E%3Cpath d='M3 12L14 1l11 11v106H3z' fill='%238ea38a'/%3E%3C/svg%3E") center top / 30px 118px repeat-x,
    linear-gradient(180deg, transparent 0 32px, #566c57 32px 40px, transparent 40px 82px, #566c57 82px 90px, transparent 90px),
    linear-gradient(180deg, transparent 0 116px, #101611 116px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 calc(var(--fence-h) + 64px);
}
.hero h1 { font-size: clamp(42px, 5.3vw, 72px); line-height: 1.03; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--sage-300); }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 33em; margin: 24px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-weight: 500; font-size: 15.5px; color: rgba(255, 255, 255, .88);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { color: var(--sage-300); width: 18px; height: 18px; }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-feature {
  aspect-ratio: 4 / 5; border-radius: 18px;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255, 255, 255, .14); outline-offset: 8px;
}
.hero-feature .photo-tag { left: auto; right: 12px; }
.hero-feature figcaption,
.work-card figcaption,
.about-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(12, 16, 13, .82));
  color: #fff; font-weight: 600; font-size: 17px; line-height: 1.3;
}
.hero-feature figcaption span,
.work-card figcaption span {
  display: block; margin-bottom: 4px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-300);
}
.hero-badge {
  position: absolute; left: -34px; top: -26px;
  width: 112px; height: 112px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.hero-badge img { width: 80px; height: auto; }

@media (max-width: 960px) {
  .hero { --fence-h: 124px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: calc(var(--fence-h) + 40px); }
  .hero-media { justify-self: center; max-width: 560px; }
  .hero-feature { aspect-ratio: 4 / 3; }
  .hero-feature .photo-tag { left: 12px; right: auto; }
  .hero-badge { left: auto; right: -10px; top: -30px; width: 92px; height: 92px; }
  .hero-badge img { width: 66px; height: auto; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
  .hero-badge { right: -4px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--sage-100); border-bottom: 1px solid #d6dfd1; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 36px 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--forest);
}
.trust-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 2px; }
.trust-item p { font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(68px, 9vw, 116px) 0; }
.section-white { background: var(--white); }
.section-sage { background: var(--sage-50); }
.section-dark { background: var(--forest); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head > p:not(.eyebrow) { font-size: 18.5px; color: var(--muted); margin-top: 20px; }
.section-dark .section-head > p:not(.eyebrow) { color: rgba(255, 255, 255, .75); }
.section-head-center { text-align: center; margin-inline: auto; }
.section-head-center .eyebrow { justify-content: center; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-300); }
.service-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--sage-100); color: var(--forest);
  margin-bottom: 22px;
}
.service-icon .i { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.15; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 16px; }
@media (max-width: 1060px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* Fence types */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.type-photo { aspect-ratio: 16 / 11; border-radius: 0; }
.type-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.type-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin-bottom: 10px; }
.type-body > p { color: var(--muted); font-size: 16px; }
.specs { margin: 8px 0 24px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-500); padding-top: 3px; }
.specs dd { margin: 0; font-weight: 500; }
.type-body .text-link { margin-top: auto; }
.type-other {
  margin-top: 24px; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  border-radius: var(--radius); background: var(--sage-100);
}
.type-other p { max-width: 720px; }
@media (max-width: 960px) { .types-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* Our work */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.work-head .section-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: 600 15px/1 var(--font-body); color: rgba(255, 255, 255, .85);
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .22);
  padding: 11px 18px; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: rgba(255, 255, 255, .6); }
.filters button[aria-pressed="true"] { background: var(--sage-300); border-color: var(--sage-300); color: var(--ink); }
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px;
}
.work-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.work-card .photo { position: absolute; inset: 0; border-radius: 0; transition: transform .5s; }
.work-card:hover .photo { transform: scale(1.03); }
.work-card.tall { grid-row: span 2; }
.work-card.wide { grid-column: span 2; }
.work-card[hidden] { display: none; }
.work-more { margin-top: 32px; text-align: center; color: rgba(255, 255, 255, .7); }
.work-more a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.work-more .i { width: 18px; height: 18px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } }
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work-card.wide { grid-column: auto; }
  .work-card.tall { grid-row: auto; }
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { border-top: 2px solid var(--sage-300); padding-top: 24px; position: relative; }
.step::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 4px var(--paper);
}
.step-num { display: block; font-family: var(--font-display); font-size: 48px; font-weight: 500; line-height: 1; color: var(--sage); margin-bottom: 16px; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; }
.about-photo figcaption { font-size: 15px; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17.5px; }
.about-copy > p.signature {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--ink); line-height: 1.1;
}
.signature span { display: block; margin-top: 6px; font: 600 13px/1.2 var(--font-body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-500); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; max-width: 620px; }
}

.partners { margin-top: clamp(64px, 8vw, 96px); padding-top: 44px; border-top: 1px solid var(--line); }
.partner-row { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 16px; }
.partner-row-solo { grid-template-columns: minmax(0, 420px); }
.partner-slot {
  display: grid; place-items: center; min-height: 92px; padding: 16px;
  border: 1.5px dashed #c8cfc3; border-radius: var(--radius-sm);
  color: #8b938a; font-size: 14px; font-weight: 500; text-align: center;
}
.partner-feature {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 92px; padding: 16px 22px; border-radius: var(--radius-sm);
  background: var(--forest); color: #fff; text-decoration: none;
  transition: background-color .2s;
}
a.partner-feature:hover { background: var(--forest-2); }
.partner-feature-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-300); font-weight: 600; }
.partner-feature strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.15; }
@media (max-width: 900px) { .partner-row { grid-template-columns: 1fr 1fr; } .partner-feature { grid-column: 1 / -1; } }

/* Service area */
.area-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.area-copy h2 { margin-bottom: 22px; }
.area-copy > p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.area-copy .btn { margin-top: 12px; }
.area-card { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.area-group + .area-group { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.area-group h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-500); font-weight: 700; margin-bottom: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--sage-50); border: 1px solid var(--sage-100); font-weight: 500; font-size: 15px; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .area-card { padding: 24px 20px; } }

/* Reviews (placeholder skeletons until real reviews exist) */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-skeleton {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.review-skeleton .stars { display: flex; gap: 4px; color: #d3d8cf; margin-bottom: 8px; }
.review-skeleton .stars .i { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.review-skeleton span { display: block; height: 10px; border-radius: 6px; background: var(--sage-100); }
.review-skeleton span.short { width: 60%; }
.review-skeleton em { margin-top: 14px; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #9aa298; font-weight: 600; }
.reviews-cta { text-align: center; margin-top: 36px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .review-skeleton:nth-child(n+2) { display: none; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 19px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { color: var(--sage-500); transition: transform .25s; }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 24px 0; margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* Estimate */
.estimate {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(142, 163, 138, .07) 0 22px, transparent 22px 30px) bottom / 100% 120px no-repeat,
    var(--forest);
}
.estimate-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.estimate-copy h2 { margin-bottom: 20px; }
.estimate-copy .lead { color: rgba(255, 255, 255, .8); margin-bottom: 36px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 17px; }
.contact-list .i { width: 22px; height: 22px; color: var(--sage-300); margin-top: 4px; }
.contact-list span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; font-size: 19px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.estimate-form {
  background: #fff; color: var(--text);
  border-radius: 18px; padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg);
}
.estimate-form h3 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--text);
  padding: 13px 14px; border: 1.5px solid #cfd5ca; border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage-500); box-shadow: 0 0 0 4px rgba(142, 163, 138, .25);
}
.field [aria-invalid="true"] { border-color: #b4462a; }
.field-error { color: #a23d22; font-size: 14px; font-weight: 500; margin: 6px 0 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid #cfd5ca; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choice span:hover { border-color: var(--sage-500); }
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--cedar-300); outline-offset: 2px; }
.estimate-form .btn-block { margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimate-form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-error { color: #a23d22; font-weight: 600; text-align: center; margin-top: 12px; }
.form-success { text-align: center; padding: 40px 8px; }
.form-success:focus { outline: none; }
.success-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage-100); color: var(--forest); margin-bottom: 18px;
}
.success-icon .i { width: 32px; height: 32px; stroke-width: 2.2; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 17px; }
@media (max-width: 960px) { .estimate-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); font-size: 15.5px; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-badge {
  width: 128px; height: 128px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; margin-bottom: 22px;
}
.footer-badge img { width: 96px; height: auto; }
.footer-brand p { max-width: 30em; }
.footer-social {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: 18px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background-color .2s, border-color .2s;
}
.footer-social:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer ul a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; font-size: 14px;
}
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(21, 25, 22, .96); backdrop-filter: blur(8px);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 16px; text-decoration: none; color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
  }
  .mobile-cta .mobile-cta-primary { background: var(--cedar); border-color: var(--cedar); }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
