/* =========================================================================
   [Company Name] — Home page styles
   Palette is solid-colour only. No gradients anywhere in this file.
   ========================================================================= */

:root {
  /* Brand */
  --black:      #0B0B0B;
  --charcoal:   #171717;
  --gold:       #C9A227;
  --gold-light: #E5C35B;
  --white:      #FFFFFF;
  --gray:       #A7A7A7;

  /* Derived neutrals (solid, no transparency stacking tricks) */
  --line-dark:   #262626;   /* hairline on black */
  --line-light:  #E2E2E2;   /* hairline on white */
  --ink:         #141414;   /* body text on white */
  --ink-soft:    #56585B;   /* secondary text on white */
  --paper:       #FFFFFF;

  /* Type */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --header-h: 84px;

  --radius: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--black);
  padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------- Utilities -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 8vw, 118px) 0; }

/* Keep in-page anchors clear of the sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.h2 {
  font-size: clamp(1.75rem, 1.15rem + 2.1vw, 2.85rem);
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.eyebrow-dark { color: #8A7318; }

.lede { color: var(--gray); max-width: 56ch; }

/* Placeholder token — content the client still needs to supply. */
.ph {
  color: var(--gray);
  border-bottom: 1px dashed #3A3A3A;
}

/* ----------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .78rem; }
.btn-block { display: flex; width: 100%; }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: #3A3A3A;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Ghost button placed on a white section */
.services .btn-ghost, .process .btn-ghost { color: var(--ink); border-color: var(--line-light); }
.services .btn-ghost:hover, .process .btn-ghost:hover { border-color: var(--gold); color: #8A7318; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 6px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.text-link span { transition: transform .2s var(--ease); }
.text-link:hover { color: #8A7318; border-color: var(--gold); }
.text-link:hover span { transform: translateX(4px); }

/* ------------------------------ Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.site-header.is-stuck .header-inner { height: 68px; }

/* Logo placeholder — swap for the client's mark when supplied */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 10px; height: 34px;
  background: var(--gold);
  flex: none;
}
.logo-text { display: block; line-height: 1.15; }
.logo-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
}
.logo-sub {
  display: block;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 3px;
}

.nav-desktop { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid #3A3A3A;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bars { display: block; width: 20px; }
.nav-toggle-bars i {
  display: block; height: 2px; background: var(--white);
  margin: 4px 0;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  padding: 8px var(--gutter) 28px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-list a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.mobile-nav-list a.is-active { color: var(--gold); }
.mobile-nav-foot { margin-top: 26px; }
.mobile-nav-note {
  margin: 16px 0 0;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--charcoal);
  /* Swap this URL for the client's own hero photography. */
  background-image: url("https://images.unsplash.com/photo-1503708928676-1cb796a0891e?auto=format&fit=crop&w=1900&q=70");
  background-size: cover;
  background-position: 58% center;
}
/* Solid overlay — flat opacity, not a gradient */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(11, 11, 11, .74);
}

.hero-inner {
  display: block;
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(64px, 8vw, 110px);
}
.hero-copy { max-width: 58%; }

.hero h1 {
  font-size: clamp(2.1rem, 1.15rem + 3.4vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 17ch;
}
.hero-lede {
  color: #D6D6D6;
  font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { border-color: rgba(255,255,255,.34); }

/* Service shortcut strip at the base of the hero */
.hero-strip {
  border-top: 1px solid rgba(255,255,255,.16);
  background-color: rgba(11,11,11,.55);
}
.hero-strip-inner { display: flex; }
.hero-strip a {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.hero-strip a + a { border-left: 1px solid rgba(255,255,255,.16); padding-left: 26px; }
.hero-strip a:hover { color: var(--gold-light); }
.hero-strip .idx, .hero-strip-inner .idx {
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold);
}

/* --------------------------- Credibility bar --------------------------- */
.trust { background: var(--charcoal); border-bottom: 1px solid var(--line-dark); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item { padding: 40px 30px 40px 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line-dark); padding-left: 30px; }
.trust-item h2,
.trust-item h3 {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.trust-item p { margin: 0; color: var(--gray); font-size: .9rem; line-height: 1.6; }
.ico {
  width: 26px; height: 26px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* --------------------------- Section header ---------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 40px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: clamp(38px, 5vw, 64px);
}
.section-head-right { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ----------------------------- Services -------------------------------- */
.services { background: var(--paper); color: var(--ink); }
.services .h2 { color: var(--ink); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
/* Deliberate vertical stagger — reads as an editorial spread, not a card row */
.service:nth-child(2) { margin-top: 46px; }
.service:nth-child(3) { margin-top: 92px; }

.service-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-light);
  margin-bottom: 22px;
  background: var(--charcoal);
}
.service-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service:hover .service-media img { transform: scale(1.04); }

.service-num {
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8A7318;
  margin: 0 0 10px;
}
.service-num span { color: var(--line-light); margin: 0 4px; }

.service-title { font-size: 1.5rem; margin: 0 0 12px; color: var(--ink); }
.service-text { color: var(--ink-soft); margin-bottom: 20px; }

/* ---------------------------- Why choose us ---------------------------- */
.why { background: var(--black); border-top: 1px solid var(--line-dark); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: stretch;
}
.why-media { position: relative; min-height: 100%; background: var(--charcoal); }
.why-media img {
  width: 100%; height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.why-copy {
  display: flex;
  align-items: center;
  padding: clamp(52px, 6vw, 96px) 0 clamp(52px, 6vw, 96px) clamp(32px, 5vw, 78px);
}
.why-copy-inner { max-width: 620px; padding-right: var(--gutter); }
.why-copy .h2 { max-width: 20ch; margin-bottom: 20px; }
.why-copy .lede { margin-bottom: 38px; }

.why-points { border-top: 1px solid var(--line-dark); margin-bottom: 38px; }
.why-points li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.why-idx {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
  padding-top: 4px;
  flex: none;
}
.why-points h3 { font-size: 1.06rem; margin: 0 0 6px; }
.why-points p { margin: 0; color: var(--gray); font-size: .93rem; }

/* ------------------------------ Process -------------------------------- */
.process { background: var(--paper); color: var(--ink); }
.process .h2 { color: var(--ink); }
/* One rule is enough here — the step row already carries its own top rule. */
.process .section-head {
  grid-template-columns: 1fr;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: clamp(30px, 3.5vw, 46px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.step { padding: 30px 34px 8px 0; position: relative; }
.step + .step { border-left: 1px solid var(--line-light); padding-left: 34px; }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 46px; height: 3px;
  background: var(--gold);
}
.step + .step::before { left: -1px; }
.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #8A7318;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--ink); }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* --------------------------- Property types ---------------------------- */
.types { background: var(--charcoal); border-top: 1px solid var(--line-dark); }
.types-layout {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.types-media { margin: 0; border: 1px solid var(--line-dark); background: var(--black); }
.types-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 72%;   /* keep the houses and lawns in frame, not the canopy */
}
.types-body .h2 { max-width: 20ch; margin-bottom: 18px; }
.types-body .lede { margin-bottom: 34px; }

.types-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.types-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 500;
}
.types-list li:nth-child(odd) { padding-right: 24px; }
.types-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.types-list .idx { font-family: var(--font-body); font-size: .7rem; letter-spacing: .14em; color: var(--gold); }

/* ---------------------------- Testimonials ----------------------------- */
.quotes { background: var(--paper); color: var(--ink); }
.quotes .h2 { color: var(--ink); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.quote {
  margin: 0;
  padding-left: 26px;
  border-left: 2px solid var(--gold);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 18px;
}
.quote figcaption {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------ CTA band ------------------------------- */
.cta-band {
  background: var(--black);
  border-top: 3px solid var(--gold);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-block: clamp(56px, 7vw, 92px);
}
.cta-inner .h2 { max-width: 18ch; margin-bottom: 12px; }
.cta-inner p { margin: 0; color: var(--gray); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ------------------------------- Footer -------------------------------- */
.site-footer { background: var(--charcoal); border-top: 1px solid var(--line-dark); }
.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-block: clamp(52px, 6vw, 84px);
}
.footer-brand p {
  color: var(--gray);
  font-size: .92rem;
  margin: 22px 0 0;
  max-width: 42ch;
}
.footer-heading {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-list li { margin-bottom: 12px; font-size: .93rem; color: var(--gray); }
.footer-list a { color: var(--gray); transition: color .2s var(--ease); }
.footer-list a:hover { color: var(--gold); }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.footer-contact .lbl {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6E6E6E;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
}
.footer-bottom p { margin: 0; font-size: .82rem; color: #6E6E6E; }
.footer-bottom-links a { color: var(--gray); }
.footer-bottom-links a:hover { color: var(--gold); }

/* --------------------------- Reveal on scroll -------------------------- */
/* Only hidden when JS is confirmed available, so a script failure can never
   leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   DRAINAGE PAGE
   Built on the shared system above — only layout patterns unique to this
   page are defined here.
   ========================================================================= */

/* Interior page hero: same treatment as home, less vertical weight. */
.hero--drainage .hero-media {
  /* Swap this URL for the client's own drainage photography. */
  background-image: url("https://images.unsplash.com/photo-1565364507085-325347bae748?auto=format&fit=crop&w=1900&q=70");
  background-position: 50% 58%;
}
.hero--page .hero-inner {
  padding-top: clamp(40px, 5vw, 78px);
  padding-bottom: clamp(44px, 5vw, 82px);
}
.hero--page h1 {
  font-size: clamp(2rem, 1.2rem + 2.9vw, 3.35rem);
  max-width: 16ch;
}

.crumbs {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 26px;
}
.crumbs a { color: var(--gray); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; color: #5A5A5A; }

.hero-strip-inner--four a + a { padding-left: 22px; }

/* Dark-section overrides for the shared section header */
.section--dark { background: var(--black); }
.section--dark .section-head,
.section--charcoal .section-head,
.compare .section-head,
.benefits .section-head { border-bottom-color: var(--line-dark); }
.section--dark .section-head-right,
.section--charcoal .section-head-right,
.compare .section-head-right,
.benefits .section-head-right { color: var(--gray); }

/* Text links sitting on a dark ground */
.section--dark .text-link,
.section--charcoal .text-link {
  color: var(--white);
  border-color: #3A3A3A;
}
.section--dark .text-link:hover,
.section--charcoal .text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ------------------------- Editorial split block ----------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split-media { order: -1; }

.split-media { margin: 0; border: 1px solid var(--line-light); background: var(--charcoal); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.split-body .h2 { max-width: 18ch; }
.split-text { color: var(--ink-soft); max-width: 54ch; margin-bottom: 30px; }

/* Small gold rule used as a section detail */
.rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 28px;
}

/* Light editorial section, shared by the interior pages */
.problem,
.section--light { background: var(--paper); color: var(--ink); }
.problem .h2,
.section--light .h2 { color: var(--ink); }

/* Charcoal editorial section — the split flips to dark borders on it */
.signs,
.section--charcoal { background: var(--charcoal); }
.signs .split-media,
.section--charcoal .split-media { border-color: var(--line-dark); background: var(--black); }
.signs .split-body .h2,
.section--charcoal .split-body .h2 { max-width: 20ch; margin-bottom: 30px; }

.signs-list { border-top: 1px solid var(--line-dark); }
.signs-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 500;
}
.signs-list .idx {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--gold);
}

/* --------------------------- Service blocks ---------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(36px, 6vw, 88px);
}
.svc { padding: 30px 0 36px; border-top: 1px solid var(--line-dark); }
.svc-num {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold);
  margin: 0 0 14px;
}
.svc h3 { font-size: 1.32rem; margin: 0 0 10px; }
.svc p { color: var(--gray); margin: 0; max-width: 46ch; }

/* ------------------------ Featured image band -------------------------- */
.band { position: relative; background: var(--black); }
.band-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}
.band-inner { position: relative; }
.band-panel {
  background: var(--black);
  border-top: 3px solid var(--gold);
  padding: clamp(30px, 3.5vw, 46px);
}
.band-panel .h2 { max-width: 16ch; margin-bottom: 16px; }
.band-panel p { margin: 0; color: var(--gray); max-width: 52ch; }

@media (min-width: 901px) {
  /* Panel overlaps the photograph — solid block, no gradient. */
  .band-inner {
    display: flex;
    justify-content: flex-end;
    margin-top: -170px;
    padding-bottom: clamp(48px, 5vw, 76px);
  }
  .band-panel { max-width: 560px; }
}

/* ---------------------------- Before / after --------------------------- */
.compare { background: var(--charcoal); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 38px);
}
.compare-item { margin: 0; border: 1px solid var(--line-dark); background: var(--black); }
.compare-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.compare-item figcaption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line-dark);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
}
.compare-item .tag { color: var(--gold); font-weight: 600; letter-spacing: .18em; flex: none; }

/* -------------------------------- FAQ ---------------------------------- */
.faq { background: var(--paper); color: var(--ink); }
.faq .h2 { color: var(--ink); }
/* The list carries its own top rule, so the header does not need one. */
.faq .section-head {
  grid-template-columns: 1fr;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: clamp(30px, 3.5vw, 46px);
}

.faq-list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #8A7318; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Plus / minus indicator drawn with two rules */
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 14px; height: 2px;
  margin-top: -1px;
  background: var(--gold);
}
.faq-sign::after { transform: rotate(90deg); transition: transform .2s var(--ease); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }

.faq-answer { padding: 0 0 26px; max-width: 76ch; }
.faq-answer p { margin: 0; color: var(--ink-soft); }

/* =========================================================================
   GRADING PAGE
   Reuses the drainage-page patterns above; only the pieces unique to this
   page are defined here.
   ========================================================================= */

.hero--grading .hero-media {
  /* Swap this URL for the client's own grading photography. */
  background-image: url("https://images.unsplash.com/photo-1763515188645-a09e188ad47c?auto=format&fit=crop&w=1900&q=70");
  background-position: 50% 62%;
}

.hero--hoa .hero-media {
  /* Swap this URL for the client's own community photography. */
  background-image: url("https://images.unsplash.com/photo-1785301513108-f68ff2f8dc55?auto=format&fit=crop&w=1900&q=70");
  background-position: 50% 55%;
}

/* Benefits row — the credibility-bar component reused with a gold rule
   in place of the icons. */
.benefits { background: var(--charcoal); }
.trust-rule {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 20px;
}
.benefits .trust-item { padding-top: 34px; padding-bottom: 0; }

/* Property types on a black ground for this page's section rhythm */
.types--black { background: var(--black); }
.types--black .types-media img { object-position: 50% 50%; }

/* ------------------- Elevation → flow → result diagram ----------------- */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  margin-top: clamp(32px, 4vw, 52px);
}
.flow-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line-light);
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.5vw, 30px);
  text-align: center;
}
.flow-idx {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8A7318;
  margin-bottom: 12px;
}
.flow-item h3 {
  font-size: clamp(.95rem, .85rem + .3vw, 1.1rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 4vw, 68px);
  color: var(--gold);
  font-size: 1.05rem;
}
.flow-arrow::before { content: "\2192"; }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */

.hero--contact .hero-media {
  /* Swap this URL for the client's own photography. */
  background-image: url("https://images.unsplash.com/photo-1622082679766-c5912d9416eb?auto=format&fit=crop&w=1900&q=70");
  background-position: 50% 60%;
}

.contact { background: var(--paper); color: var(--ink); }
.contact .h2 { color: var(--ink); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

/* ------------------------------ Form ----------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.field--full { grid-column: 1 / -1; }

.label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.label .req { color: var(--gold); margin-left: 2px; }
.label .opt { text-transform: none; letter-spacing: .04em; font-weight: 400; }

.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.5;
  transition: border-color .2s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: #C4C4C4; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.textarea { min-height: 168px; resize: vertical; }
.select { height: 51px; }

/* Invalid state — gold rule plus a written message, never colour alone */
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: var(--gold); border-left-width: 3px; }

.hint { margin: 9px 0 0; font-size: .84rem; color: var(--ink-soft); }

.field-error {
  display: none;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
}
.field-error::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  flex: none;
  transform: translateY(-1px);
}
.field-error.is-shown { display: flex; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.form-note { margin: 0; font-size: .84rem; color: var(--ink-soft); max-width: 42ch; }

/* Submission status region */
.form-status {
  display: none;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--gold);
  background: var(--white);
}
.form-status.is-shown { display: block; }
.form-status p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.form-status strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* ----------------------------- Details panel --------------------------- */
.contact-aside {
  background: var(--black);
  color: var(--white);
  border-top: 3px solid var(--gold);
  padding: clamp(28px, 3vw, 40px);
}
.contact-aside h2 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.contact-list { margin: 0 0 34px; }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list dt {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6E6E6E;
  margin-bottom: 5px;
}
.contact-list dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-list dd a { transition: color .2s var(--ease); }
.contact-list dd a:hover { color: var(--gold); }

.next-list { counter-reset: next; }
.next-list li {
  position: relative;
  padding: 0 0 18px 34px;
  color: var(--gray);
  font-size: .92rem;
}
.next-list li::before {
  counter-increment: next;
  content: "0" counter(next);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
}

/* Three-across service blocks */
.svc-grid--three { grid-template-columns: repeat(3, 1fr); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

/* ---- Large tablet / small laptop ---- */
@media (max-width: 1080px) {
  .nav-list { gap: 24px; }
  .hero-copy { max-width: 72%; }

  .service-grid { gap: 30px; }
  .service:nth-child(2) { margin-top: 32px; }
  .service:nth-child(3) { margin-top: 64px; }

  .steps { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .step { border-top: 1px solid var(--ink); padding-right: 26px; }
  .step:nth-child(odd) { padding-left: 0; border-left: none; }
  .step:nth-child(even) { padding-left: 26px; }
  .step:nth-child(n+3) { margin-top: 12px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---- Tablet ---- */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header.is-stuck .header-inner { height: var(--header-h); }

  .hero-copy { max-width: 100%; }
  .hero-media { background-position: 60% center; }
  .hero-scrim { background-color: rgba(11, 11, 11, .78); }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 28px 24px 28px 0; }
  .trust-item + .trust-item { border-left: none; padding-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line-dark); padding-left: 24px; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }

  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }

  .service-grid { grid-template-columns: 1fr; gap: 48px; }
  .service:nth-child(2), .service:nth-child(3) { margin-top: 0; }
  .service-media img { aspect-ratio: 16 / 9; }

  .why-grid { grid-template-columns: 1fr; }
  .why-media img { min-height: 320px; max-height: 46vh; }
  .why-copy { padding: clamp(44px, 8vw, 64px) var(--gutter); }
  .why-copy-inner { padding-right: 0; max-width: none; }

  .types-layout { grid-template-columns: 1fr; }
  .types-media { order: 2; }
  .types-media img { aspect-ratio: 16 / 10; }

  .quote-grid { grid-template-columns: 1fr; gap: 30px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  /* --- Drainage page --- */
  .split { grid-template-columns: 1fr; gap: clamp(30px, 5vw, 44px); }
  .split--reverse .split-media { order: 0; }
  .split-body .h2,
  .signs .split-body .h2,
  .section--charcoal .split-body .h2 { max-width: none; }
  .split-media img { aspect-ratio: 16 / 10; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding: 26px 0 30px; }

  .band-media img { aspect-ratio: 16 / 9; }
  .band-panel { padding: clamp(30px, 5vw, 40px) 0 0; border-top-width: 3px; }
  .band-inner { padding-bottom: clamp(44px, 7vw, 64px); }
  .band-panel .h2 { max-width: none; }

  .compare-grid { grid-template-columns: 1fr; }

  /* --- Contact page --- */
  .contact-layout { grid-template-columns: 1fr; gap: clamp(34px, 5vw, 48px); }
  .svc-grid--three { grid-template-columns: 1fr; }

  /* --- Grading page --- */
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: auto; padding: 14px 0; }
  .flow-arrow::before { content: "\2193"; }
  .benefits .trust-item { padding-top: 28px; }
}

/* ---- Mobile ---- */
@media (max-width: 620px) {
  :root { --gutter: 20px; }

  body { font-size: 15.5px; }

  .logo-sub { display: none; }
  .logo-mark { height: 28px; width: 8px; }

  .hero-inner { padding-top: 56px; padding-bottom: 48px; }
  .hero h1 { max-width: none; }
  .hero-lede { margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .hero-strip-inner { display: block; }
  .hero-strip a { padding: 15px 0; font-size: .92rem; }
  .hero-strip a + a { border-left: none; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 24px 0; }
  .trust-item:nth-child(even) { border-left: none; padding-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line-dark); }
  .ico { margin-bottom: 12px; }

  /* Vertical timeline. The odd/even selectors from the tablet block are more
     specific than `.step`, so they have to be reset by name. */
  .steps { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(odd),
  .step:nth-child(even) {
    border-top: none;
    border-left: 1px solid var(--line-light);
    padding: 20px 0 20px 26px;
    margin-top: 0;
  }
  .step::before,
  .step + .step::before {
    top: 24px; left: -1px;
    width: 3px; height: 22px;
  }
  .step-num { font-size: 1.25rem; margin-bottom: 8px; }

  .types-list { grid-template-columns: 1fr; }
  .types-list li:nth-child(odd) { padding-right: 0; }
  .types-list li:nth-child(even) { padding-left: 0; border-left: none; }

  .quote { padding-left: 20px; }

  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  /* --- Drainage page --- */
  .crumbs { margin-bottom: 20px; }
  .hero-strip-inner--four a + a { padding-left: 0; }
  .faq-item summary { font-size: 1rem; gap: 18px; padding: 20px 0; }
  .compare-item figcaption { flex-direction: column; gap: 6px; }

  /* --- Contact page --- */
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .form-foot .btn { width: 100%; }
  .form-note { max-width: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .site-header, .hero-strip, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
