/* Griffin Contractors — griffincontractors.com
   One stylesheet, no build step. See ../DESIGN-NOTES.md for the token rationale. */

:root {
  color-scheme: dark;
  --green: #029968;        /* THE Griffin green (matches the logo). The only green on the site. */
  --deep: #15110D;         /* header, footer, trust strip, dark bands */
  --paper: #1E1915;        /* page base: espresso */
  --limestone: #28211B;    /* alternating sections: walnut */
  --surface: #2F2720;      /* forms, the expert-witness band */
  --line: #41372D;         /* borders and dividers */
  --heading: #F4EDE1;      /* headings */
  --ink: #E4DACB;          /* body text: warm cream */
  --muted: #B1A592;
  --pine: #15110D;         /* legacy name, now the same as --deep */
  --limestone-deep: #41372D;
  --hatch: #3A3129;
  --tbd: #FFE873;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --gutter: 20px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  color: var(--heading);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 700; }
p { margin: 0 0 1em; max-width: 70ch; }
.lede { font-size: 1.25rem; line-height: 1.5; max-width: 60ch; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 92px;
}
.brand img { height: 62px; width: auto; display: block; }
.brand { display: inline-flex; align-items: center; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 10px 12px; border-radius: var(--radius);
}
.nav a:hover { background: var(--limestone); color: var(--heading); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav .call { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  font: 600 1rem var(--body); color: var(--ink); padding: 8px 12px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; text-decoration: none;
  padding: 14px 22px; border-radius: var(--radius); border: 2px solid transparent;
  line-height: 1.2; cursor: pointer; font-family: var(--body); font-size: 1.1875rem; font-weight: 700;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-ghost:hover { background: var(--heading); color: var(--deep); }
.btn-light { background: transparent; color: #fff; border-color: #fff; }
.btn-light:hover { background: #fff; color: var(--deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* ---------- Photos ----------
   .photo = a real photo: <div class="photo" style="background-image:url(photos/x.jpg)"></div>
   .ph    = placeholder until the photo exists. Swap class ph -> photo and add the style attribute. */
.photo, .ph {
  position: relative; overflow: hidden; min-height: 220px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.ph {
  background-image:
    repeating-linear-gradient(135deg, var(--hatch) 0 2px, transparent 2px 14px);
  background-color: var(--limestone);
  background-size: auto;
}
.ph::after {
  content: "Photo: " attr(data-label);
  position: absolute; left: 12px; bottom: 12px;
  background: var(--pine); color: #fff; font: 600 0.85rem var(--body);
  padding: 5px 10px; border-radius: 3px; max-width: calc(100% - 24px);
}

.hero .ph, .page-hero .ph, .break .ph, .section.photo-bg > .ph {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 14px);
  background-color: #4A6A5F;
}

.photo.demo::after {
  content: "Stock stand-in \2014 replace with a Griffin photo";
  position: absolute; left: 12px; top: 12px;
  background: #B45309; color: #fff; font: 600 0.8rem var(--body);
  padding: 4px 9px; border-radius: 3px;
}
/* brighter photos need a touch more shade under the headline */
.hero::before { background: linear-gradient(180deg, rgba(18,13,9,0) 0%, rgba(18,13,9,0.08) 40%, rgba(18,13,9,0.62) 72%, rgba(18,13,9,0.86) 100%); }

/* ---------- Review markers (must be gone before publishing) ---------- */
mark.tbd { background: var(--tbd); color: var(--ink); padding: 0 4px; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.hero .ph, .hero .photo { position: absolute; inset: 0; min-height: 0; z-index: -2; }
.hero .photo { background-position: center bottom; } /* whole photo: pool house, sky and pool */
.hero .ph::after { bottom: auto; top: 12px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,13,9,0) 0%, rgba(18,13,9,0) 40%, rgba(18,13,9,0.55) 72%, rgba(18,13,9,0.82) 100%);
}
.hero .wrap, .page-hero .wrap, .break .wrap { width: 100%; } /* flex item: without this it shrink-wraps and floats */
.hero .wrap { padding-top: 160px; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 0.35em; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero p { color: #fff; font-size: 1.25rem; max-width: 52ch; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.hero h1.hero-name { max-width: none; font-size: clamp(2.9rem, 7.4vw, 5.8rem); letter-spacing: 0.01em; margin-bottom: 0.25em; }
.hero p.hero-line { font-size: 1.25rem; line-height: 1.5; max-width: 56ch; margin-bottom: 0; }
.hero p.hero-ew { font-size: 0.98rem; margin: 1.4rem 0 0; color: rgba(255,255,255,0.88); max-width: none; }
.hero p.hero-ew a { color: #fff; font-weight: 600; text-decoration-thickness: 1px; }
.hero p.hero-ew a:hover { color: var(--green); }

/* Inner-page photo header */
.page-hero {
  position: relative; color: #fff; isolation: isolate;
  min-height: min(52vh, 480px); display: flex; align-items: flex-end;
}
.page-hero .ph, .page-hero .photo { position: absolute; inset: 0; min-height: 0; z-index: -2; }
.page-hero .photo[style*="header-services-hilltop-stone"] { background-position: center 52%; } /* whole house, gables to porch */
.break .photo[style*="break-post-oak-day"] { background-position: center 62%; } /* pool house + pool */
.page-hero .ph::after { bottom: auto; top: 12px; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,13,9,0) 35%, rgba(18,13,9,0.7) 100%);
}
.page-hero .wrap { padding-top: 120px; padding-bottom: 40px; }
.page-hero h1 { color: #fff; max-width: 18ch; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.page-hero.tall { min-height: 0; aspect-ratio: 16 / 9; max-height: 88vh; }
.page-hero.tall .photo { background-position: center 35%; }
.page-hero.tall .photo[style*="header-about-brentmeade-pool"] { background-position: center 20%; } /* chimney cap to pool */
.page-hero.plain { min-height: 0; background: var(--deep); border-bottom: 1px solid var(--line); }
.page-hero.plain::before { display: none; }
.page-hero.plain .wrap { padding-top: 72px; padding-bottom: 36px; }
.page-hero.plain h1 { color: var(--heading); text-shadow: none; }
.page-hero.plain .hero-sub { color: var(--ink); font-size: 1.2rem; line-height: 1.5; max-width: 72ch; margin: 0.9rem 0 0; }
.intro-lede { padding: 36px 0 8px; }
.intro-lede .lede { margin: 0; }

/* Full-width photo break (home) */
.break {
  position: relative; color: #fff; isolation: isolate;
  min-height: min(62vh, 560px); display: flex; align-items: flex-end;
}
.break .ph, .break .photo { position: absolute; inset: 0; min-height: 0; z-index: -2; }
.break .ph::after { bottom: auto; top: 12px; }
.break::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,13,9,0) 25%, rgba(18,13,9,0.55) 55%, rgba(18,13,9,0.86) 100%); /* daytime photo: deeper shade behind the text */
}
.break .wrap { padding-bottom: 44px; }
.break h2 { color: #fff; max-width: 18ch; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.break p { color: #fff; margin: 0.5rem 0 0; font-size: 1.15rem; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }

/* Photo-backed section (contact on home) */
.section.photo-bg { position: relative; isolation: isolate; color: #fff; }
.section.photo-bg > .ph, .section.photo-bg > .photo { position: absolute; inset: 0; min-height: 0; z-index: -2; }
.section.photo-bg > .ph::after { bottom: auto; top: 12px; }
.section.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18,13,9,0.6); }
.section.photo-bg.skyline::before { background: linear-gradient(90deg, rgba(18,13,9,0.55) 0%, rgba(18,13,9,0.30) 55%, rgba(18,13,9,0.45) 100%); }
.section.photo-bg.skyline .contact-grid { grid-template-columns: 1fr 1.1fr; }
.section.photo-bg.skyline form.lead { order: -1; }
.section.photo-bg.skyline .contact-side { text-shadow: 0 2px 14px rgba(0,0,0,0.85); }
.section.photo-bg h2, .section.photo-bg h3 { color: #fff; }
.section.photo-bg p { color: #fff; }
.section.photo-bg .contact-side a.tel { color: #fff; }
.section.photo-bg .fine { color: rgba(255,255,255,0.85); }
.section.photo-bg form.lead p, .section.photo-bg form.lead .fine { color: var(--muted); }
.section.photo-bg form.lead a { color: var(--green); }

/* ---------- Trust strip ---------- */
.trust { background: var(--deep); color: var(--heading); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.trust .wrap > div {
  padding: 22px 0; font-weight: 600; font-size: 1.05rem;
  border-left: 1px solid rgba(255,255,255,0.18); padding-left: 20px;
}
.trust .wrap > div:first-child { border-left: 0; padding-left: 0; }
.trust span { display: block; font-weight: 400; color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--limestone); }
.section.dark { background: var(--deep); color: var(--ink); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.88); }
.section.dark a:not(.btn) { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { margin-bottom: 0; }

/* Service tiles (home) */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tiles .tile { flex: 0 0 calc((100% - 40px) / 3); min-height: 320px; } /* five equal tiles: 3 across, last 2 centered */
.tile {
  position: relative; display: block; text-decoration: none; color: #fff;
  min-height: 300px; overflow: hidden; border-radius: var(--radius);
}
.tile .ph, .tile .photo { position: absolute; inset: 0; min-height: 0; }
.tile .ph {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 14px);
  background-color: #4A6A5F;
}
.tile .ph::after { bottom: auto; top: 12px; }
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,13,9,0) 18%, rgba(18,13,9,0.72) 60%, rgba(18,13,9,0.96) 100%);
  z-index: 1; /* above the photo, which is a later sibling */
}
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; }
.tile h3 { color: #fff; margin: 0 0 4px; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.tile p { color: #fff; margin: 0; font-size: 1rem; text-shadow: 0 1px 6px rgba(0,0,0,0.4); min-height: 3.2em; } /* reserve 2 lines so titles line up */
.tile .photo[style*="tile-new-franklin-front-elevation"] { background-position: 36% center; } /* frame the main entry of the wide elevation */
.tile:hover::before { background: linear-gradient(180deg, rgba(18,13,9,0) 20%, rgba(18,13,9,0.6) 55%, rgba(18,13,9,0.95) 100%); }

/* Why Griffin */
.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.year {
  font-family: var(--display); font-weight: 800; color: var(--green);
  font-size: clamp(6rem, 16vw, 12rem); line-height: 0.85; margin: 0;
}
.year small { display: block; font-size: 1.25rem; font-weight: 700; color: var(--pine); letter-spacing: 0.01em; margin-top: 10px; line-height: 1.3; font-family: var(--body); }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { margin: 0; padding-left: 18px; border-left: 3px solid var(--green); }
.points strong { display: block; font-size: 1.15rem; color: var(--heading); }

/* Process (a real sequence, so it's numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; padding: 0; margin: 0; }
.steps li { list-style: none; margin: 0; }
.steps h3 { display: flex; align-items: baseline; gap: 12px; }
.steps h3::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display); font-size: 2.4rem; color: var(--green); font-weight: 800; line-height: 1;
}
.steps p { margin: 0; }

/* Work gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .ph, .gallery .photo { aspect-ratio: 4 / 3; min-height: 0; }
.gallery figcaption { padding: 10px 2px 0; color: var(--muted); font-size: 0.98rem; }
.gallery figcaption strong { color: var(--heading); font-weight: 600; }

/* Expert witness band */
.band { background: var(--surface); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.band p { margin: 0; max-width: none; }
.band .btn { margin-left: auto; }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact-page { padding-top: 56px; }
.contact-item { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; border-top: 0; }
.contact-item p { margin: 0; }
.contact-item .fine { margin-top: 10px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin: 0 0 0.6rem !important; }
.arrow-link { color: var(--green); font-weight: 600; text-decoration: none; }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { text-decoration: underline; }
.contact-side h3 { margin-top: 1.4rem; }
.contact-side h3:first-child { margin-top: 0; }
.contact-side a.tel { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--heading); text-decoration: none; line-height: 1; }
.contact-side a.tel:hover { color: var(--green); }

form.lead { display: grid; gap: 16px; background: var(--surface); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.section.alt form.lead, .section.dark form.lead { border-color: transparent; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--heading); }
.field input, .field select, .field textarea {
  font: 1rem var(--body); padding: 12px 14px; border: 1.5px solid #574A3D; border-radius: var(--radius);
  background: var(--deep); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 1px var(--green); }
.field textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fine { font-size: 0.92rem; color: var(--muted); margin: 0; max-width: none; }
.section.dark .fine { color: rgba(255,255,255,0.7); }
.hidden { position: absolute; left: -9999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* heading kept for screen readers and search engines */

/* Page intro (inner pages) */
.intro { padding: 72px 0 40px; }
.intro h1 { max-width: 16ch; }
.intro .lede { margin-top: 0.75rem; }

/* Service sections (services page) */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service .ph, .service .photo { aspect-ratio: 4 / 3; min-height: 0; border-radius: var(--radius); }
.service:nth-of-type(even) .ph, .service:nth-of-type(even) .photo { order: 2; }
.service ul { columns: 2; column-gap: 28px; margin: 1rem 0 1.4rem; }
.service li { break-inside: avoid; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-grid .ph, .about-grid .photo { aspect-ratio: 4 / 5; min-height: 0; border-radius: var(--radius); }
.about-grid.flip { grid-template-columns: 1fr 1.2fr; }
.about-grid.flip > .ph, .about-grid.flip > .photo { order: -1; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; list-style: none; padding: 0; margin: 0; }
.values li { margin: 0; padding-top: 18px; border-top: 2px solid var(--green); }
.values strong { margin-bottom: 0.35rem; }

/* About: editorial rows (heading left, text right) */
.about-intro { padding-top: 64px; }
.about-row { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; padding: 44px 0; border-top: 1px solid var(--line); }
.about-row:first-child { border-top: 0; padding-top: 0; }
.about-row:last-child { padding-bottom: 0; }
.about-row h2 { margin: 0; }
.about-row p { font-size: 1.2rem; line-height: 1.6; max-width: 58ch; margin: 0 0 1rem; }
.about-row p:last-child { margin-bottom: 0; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 1rem !important; padding-top: 0.5rem; }
.about-links a { color: var(--green); font-weight: 600; text-decoration: none; }
.about-links a::after { content: " \2192"; }
.about-links a:hover { text-decoration: underline; }
.values strong { display: block; color: var(--heading); font-size: 1.15rem; }

/* Expert witness page */
.ew-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; list-style: none; padding: 0; margin: 0; }
.ew-list li { margin: 0; padding: 18px 0 0; border-top: 2px solid var(--green); }
.ew-list.compact li { padding-top: 14px; }
.ew-list strong { display: block; color: var(--heading); font-size: 1.15rem; }
.ew-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; max-width: 64ch; }
.ew-steps li { margin: 0; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: baseline; }
.ew-steps li::before { counter-increment: step; content: counter(step); font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--green); }
.ew-steps strong { display: block; color: var(--heading); }

/* Legal pages */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.6rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.85); padding: 56px 0 28px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 52px; width: auto; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; font-family: var(--body); font-weight: 600; margin-bottom: 10px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer p { max-width: none; }
.site-footer .memberships {
  grid-column: 1 / -1; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
}
.site-footer .memberships .label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.site-footer .memberships .badge {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px;
  font-size: 0.95rem; font-weight: 600; color: var(--heading);
}
.site-footer .memberships img { height: 56px; width: auto; margin: 0; }
.site-footer .memberships img.nahb { height: 64px; } /* NAHB minimum digital width is 90px */
.site-footer .memberships { gap: 12px 28px; }
.site-footer .legal-line {
  grid-column: 1 / -1; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.95rem; color: rgba(255,255,255,0.7);
  display: flex; flex-wrap: wrap; gap: 8px 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiles .tile { flex-basis: 100%; }
  .tiles, .gallery, .steps, .why, .contact-grid, .service, .about-grid, .about-grid.flip, .values, .ew-list, .section.photo-bg.skyline .contact-grid { grid-template-columns: 1fr; }
  .about-row { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .about-intro { padding-top: 44px; }
  .section.photo-bg.skyline form.lead { order: 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .service:nth-of-type(even) .ph, .service:nth-of-type(even) .photo { order: 0; }
  .service .ph, .service .photo { aspect-ratio: 4 / 3; } /* same shape as the photos, so nothing extra gets cut off */
  .section { padding: 60px 0; }
  .hero .wrap { padding-top: 120px; }
  .page-hero { min-height: 40vh; }
  .break { min-height: 48vh; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px; z-index: 20; /* matches phone header height */
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .call { margin: 12px 0 0; text-align: center; }
  .site-header { position: relative; }
  .site-header .wrap { min-height: 76px; }
  .brand img { height: 48px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust .wrap > div { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.18); }
  .trust .wrap > div:first-child { border-top: 0; }
  .two { grid-template-columns: 1fr; }
  .service ul { columns: 1; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .band .btn { margin-left: 0; }
  .hero { min-height: 70vh; }
  .hero p.hero-line { font-size: 1.08rem; line-height: 1.5; }
  .page-hero { min-height: 300px; }
  .page-hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .page-hero .wrap { padding-top: 140px; padding-bottom: 26px; }
  .page-hero.plain .wrap { padding-top: 44px; padding-bottom: 26px; }
  .contact-page { padding-top: 36px; }
  .page-hero.tall { aspect-ratio: auto; max-height: none; min-height: 340px; }
  .hero::before { background: linear-gradient(180deg, rgba(18,13,9,0) 0%, rgba(18,13,9,0.25) 35%, rgba(18,13,9,0.62) 62%, rgba(18,13,9,0.85) 100%); }
  .tile { min-height: 240px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}
