/* ==========================================================================
   Northshore Muskoka Electric — site stylesheet (v4)
   v1's editorial layout, in the brand palette and fonts of the original site.
   Rules: docs/DESIGN_GUIDELINES.md
   ========================================================================== */

/* ---------- 1. Tokens (brand) ---------- */
:root {
  /* brand greens — from the original site (#1E4034 family) and the logo */
  --green-deep: #1E4034;      /* primary */
  --green-mid: #2D6349;
  --green-dark: #152D24;
  --green-muted: #4A7C65;
  --green-accent: #3D7A5A;
  --green-pale: #EAF0EC;
  /* neutrals — original site */
  --white: #FAFAF8;
  --offwhite: #F4F2EE;
  --stone: #E8E4DC;
  --charcoal: #1C1C1A;
  --text-body: #3A3A36;
  --text-muted: #6B6B65;
  --text-light: #9A9A94;
  --border: #D8D4CC;
  --border-light: #ECEAE4;

  --ink: var(--charcoal);
  --line: rgba(28, 28, 26, .13);
  --line-strong: rgba(28, 28, 26, .26);
  --line-dark: rgba(250, 250, 248, .16);
  --on-dark: rgba(250, 250, 248, .82);
  --on-dark-2: rgba(250, 250, 248, .6);
  --eyebrow-dark: rgba(234, 240, 236, .74);
  --shade: 21, 45, 36;        /* rgb of --green-dark, for photo overlays */

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1320px;
  --narrow: 820px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 10vw, 152px);
  --announce-h: 40px;
  --bar-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 3px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.68; color: var(--text-body);
  background: var(--offwhite); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; }
::selection { background: var(--green-deep); color: var(--white); }
:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .page-hero--image :focus-visible, .cta-band :focus-visible,
.site-footer :focus-visible, .section--green :focus-visible { outline-color: var(--white); }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1000; background: var(--green-deep); color: var(--white); padding: 10px 16px; font-size: 14px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--stone { background: var(--stone); }
.section--white { background: var(--white); }
.section--green { background: var(--green-deep); color: var(--on-dark); }
.section + .section--continue { padding-top: 0; }

/* ---------- 4. Typography ---------- */
h1, h2, h3, .display, .section-heading, .statement, .quote, .serif {
  font-family: var(--serif); font-weight: 400; color: var(--green-deep); letter-spacing: -0.012em;
}
.display { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 4.8vw, 70px); line-height: 1.06; letter-spacing: -0.018em; }
h2, .section-heading { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.1; }
h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.25; }
.statement { font-size: clamp(24px, 2.3vw, 33px); line-height: 1.34; }
.lede { font-size: clamp(17.5px, 1.35vw, 20px); line-height: 1.62; color: var(--text-body); max-width: 40em; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-muted); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .75; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .section-heading, .on-dark .statement, .on-dark .quote,
.section--green h2, .section--green h3, .section--green .section-heading { color: var(--white); }
.on-dark .eyebrow, .section--green .eyebrow, .hero .eyebrow, .page-hero--image .eyebrow, .cta-band .eyebrow { color: var(--eyebrow-dark); }
.on-dark .lede, .section--green .lede, .section--green p { color: var(--on-dark); }
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: 38em; }
.prose a, .legal a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .01em; line-height: 1;
  padding: 17px 28px; border-radius: var(--radius); border: 1px solid transparent; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--primary { background: var(--green-deep); color: var(--white); }
.btn--primary:hover { background: var(--green-mid); }
.btn--light { background: var(--white); color: var(--green-deep); }
.btn--light:hover { background: var(--green-pale); }
.btn--outline { border-color: var(--line-strong); color: var(--green-deep); }
.btn--outline:hover { border-color: var(--green-deep); background: var(--green-deep); color: var(--white); }
.btn--outline-light { border-color: rgba(250, 250, 248, .5); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(250, 250, 248, .1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--green-deep);
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--green .link-arrow, .on-dark .link-arrow { color: var(--white); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--green-deep);
  transition: transform .45s var(--ease);
}
.announce { height: var(--announce-h); background: var(--green-deep); color: rgba(250, 250, 248, .86); font-size: 13px; }
.announce__inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: 24px; white-space: nowrap; }
.announce a { color: var(--white); font-weight: 500; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-bar {
  height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: none;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: var(--announce-h); height: var(--bar-h); z-index: -1;
  background: rgba(244, 242, 238, .95); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); transition: opacity .4s var(--ease);
}
.brand { position: relative; display: block; height: 62px; width: 71px; flex: none; }
.brand img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .4s var(--ease); }
.brand .logo-light { opacity: 0; }
.nav-primary ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); list-style: none; }
.nav-primary a { position: relative; font-size: 14.5px; font-weight: 500; padding: 8px 0; opacity: .88; transition: opacity .2s; }
.nav-primary a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { opacity: 1; }
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.header-call svg { width: 15px; height: 15px; }
.header-actions .btn { padding: 13px 20px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.menu-toggle span { position: relative; display: block; width: 22px; height: 1.5px; background: currentColor; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.site-header.is-scrolled { transform: translateY(calc(var(--announce-h) * -1)); }

/* Transparent header over photo / video heroes */
.has-overlay-header .site-header:not(.is-scrolled) { color: var(--white); }
.has-overlay-header .site-header:not(.is-scrolled)::after { opacity: 0; }
.has-overlay-header .site-header:not(.is-scrolled) .logo-green { opacity: 0; }
.has-overlay-header .site-header:not(.is-scrolled) .logo-light { opacity: 1; }
.has-overlay-header .site-header:not(.is-scrolled) .btn--primary { background: var(--white); color: var(--green-deep); }
.has-overlay-header .site-header:not(.is-scrolled) .btn--primary:hover { background: var(--green-pale); }
body:not(.has-overlay-header) main { padding-top: calc(var(--announce-h) + var(--bar-h)); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--green-deep); color: var(--white);
  padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__head img { height: 56px; width: auto; }
.mobile-menu__close { width: 44px; height: 44px; font-size: 22px; color: var(--white); }
.mobile-menu nav a { display: block; font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); line-height: 1.25; padding: 6px 0; color: var(--white); }
body.no-scroll { overflow: hidden; }

/* ---------- 7. Media ---------- */
.media { position: relative; overflow: hidden; background: var(--green-dark); }
.media img, .media video, .media picture { width: 100%; height: 100%; object-fit: cover; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--zoom img { transition: transform 1.4s var(--ease); }
a:hover .media--zoom img { transform: scale(1.04); }
.ambient video { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1s var(--ease); }
.ambient video.is-playing { opacity: 1; }
.ambient .video-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; }

.video-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--white); background: rgba(var(--shade), .45); border: 1px solid rgba(250, 250, 248, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s;
}
.video-toggle:hover { background: rgba(var(--shade), .7); }
.video-toggle[hidden] { display: none; }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ---------- 8. Home hero ---------- */
.hero {
  position: relative; min-height: max(640px, min(100svh, 1060px)); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; background: var(--green-dark);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media picture, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), 0) 24%),
    linear-gradient(0deg, rgba(var(--shade), .94) 0%, rgba(var(--shade), .72) 38%, rgba(var(--shade), 0) 68%),
    linear-gradient(90deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), 0) 60%);
}
.hero__content { position: relative; padding-top: calc(var(--announce-h) + var(--bar-h) + 40px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero__content h1 { color: var(--white); max-width: 13em; }
.hero__content .lede { color: rgba(250, 250, 248, .86); margin-top: 26px; max-width: 37em; }
.hero__content .btn-row { margin-top: 36px; }
.hero .video-toggle { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px); }
/* phones: photo on top, text below on brand green (keeps the van lettering clear of the headline) */
@media (max-width: 767px) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero::after { display: none; }
  .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; }  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), 0) 22%, rgba(var(--shade), 0) 52%, rgba(var(--shade), .85) 84%, var(--green-dark) 100%);
  }
  .hero__content { position: relative; z-index: 1; margin-top: -96px; padding-top: 0; padding-bottom: 56px; }
}

/* ---------- 9. Page heroes ---------- */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 26px; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin-inline: 6px; opacity: .7; }
.page-hero--image {
  position: relative; min-height: max(580px, min(84svh, 900px)); color: var(--white);
  display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; background: var(--green-dark);
}
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__media picture, .page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), 0) 26%),
    linear-gradient(0deg, rgba(var(--shade), .88) 0%, rgba(var(--shade), .35) 46%, rgba(var(--shade), 0) 72%),
    linear-gradient(90deg, rgba(var(--shade), .78) 0%, rgba(var(--shade), .5) 40%, rgba(var(--shade), 0) 74%);
}
.page-hero__content { padding-top: calc(var(--announce-h) + var(--bar-h) + 56px); padding-bottom: clamp(52px, 8vh, 96px); }
.page-hero--image h1 { color: var(--white); max-width: 15em; }
.page-hero--image .lede { color: rgba(250, 250, 248, .86); margin-top: 24px; max-width: 40em; }
.page-hero--image .btn-row { margin-top: 34px; }
.page-hero--image .breadcrumb { color: var(--on-dark-2); }
.page-hero--image .breadcrumb a:hover { color: var(--white); }
/* split hero: brand-green text panel + tall photo (used where the subject would sit behind the headline) */
.page-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(620px, min(88svh, 920px)); background: var(--green-deep); color: var(--white); }
.page-hero--split .page-hero__content {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--announce-h) + var(--bar-h) + 64px) clamp(28px, 5vw, 88px) clamp(52px, 8vh, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.page-hero--split .page-hero__media { position: relative; overflow: hidden; }
.page-hero--split .page-hero__media picture, .page-hero--split .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--split .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), 0) 26%); }
.page-hero--split h1 { color: var(--white); }
.page-hero--split .lede { color: rgba(250, 250, 248, .86); margin-top: 24px; }
.page-hero--split .btn-row { margin-top: 34px; }
.page-hero--split .eyebrow { color: var(--eyebrow-dark); }
.page-hero--split .breadcrumb { color: var(--on-dark-2); }
@media (max-width: 1080px) {
  .page-hero--split { grid-template-columns: 1fr; min-height: 0; }
  .page-hero--split .page-hero__media { order: -1; aspect-ratio: 4 / 3; }
  .page-hero--split .page-hero__content { padding: 44px var(--gutter) 60px; }
}
.page-hero--plain { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero--plain h1 { max-width: 15em; }
.page-hero--plain .lede { margin-top: 22px; }

/* ---------- 10. Section heads, splits ---------- */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); row-gap: 22px; }
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head > :nth-child(2) { grid-column: 9 / span 4; }
.section-head .section-sub { color: var(--text-muted); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; align-items: start; }
.split__a { grid-column: 1 / span 5; }
.split__b { grid-column: 7 / span 6; }
.split--center { align-items: center; }
.split--wide-a .split__a { grid-column: 1 / span 6; }
.split--wide-a .split__b { grid-column: 8 / span 5; }
.split--wide-b .split__a { grid-column: 1 / span 5; }
.split--wide-b .split__b { grid-column: 7 / span 6; }
@media (min-width: 1081px) { .sticky { position: sticky; top: calc(var(--bar-h) + 32px); } }
.split h2 + p, .split h2 + .prose, .split .section-heading + p { margin-top: 24px; }
.split p + p { margin-top: 1.05em; }
.split .btn, .split .link-arrow { margin-top: 32px; }

/* ---------- 11. Home sections ---------- */
/* Trust: Trusted / Reliable / Responsive */
.trust { background: var(--white); border-bottom: 1px solid var(--border-light); }
.trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); padding-block: clamp(48px, 6vw, 80px); }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; }
.trust__item svg { width: 30px; height: 30px; color: var(--green-mid); grid-row: span 2; margin-top: 4px; }
.trust__label { font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.2; color: var(--green-deep); }
.trust__desc { font-size: 15.5px; color: var(--text-muted); max-width: 22em; }

/* Service cards with photos */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px) clamp(16px, 2.4vw, 32px); counter-reset: svc; }
.service-card { display: block; counter-increment: svc; }
.service-card .media { aspect-ratio: 4 / 5; }
.service-card__body { padding-top: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.service-card__body::before { content: counter(svc, decimal-leading-zero); font-family: var(--serif); font-size: 15px; color: var(--green-muted); padding-top: 5px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 15.5px; color: var(--text-muted); }
.service-card .arrow { width: 18px; height: 18px; margin-top: 14px; color: var(--green-deep); transition: transform .3s var(--ease); }
.service-card:hover .arrow { transform: translateX(5px); }
.service-card:hover h3 { color: var(--green-mid); }

/* Team: invested in the result */
.statement-quote { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.45; color: var(--green-deep); margin-top: 28px; padding-left: 24px; border-left: 2px solid var(--green-muted); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(24px, 3vw, 44px); margin-top: 44px; }
.values-grid > div { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.values-grid h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--green-deep); margin-bottom: 6px; }
.values-grid p { font-size: 15px; color: var(--text-muted); }

/* Numbered points (original numbers are real text) */
.points { list-style: none; margin-top: 40px; }
.points li { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points__num { font-family: var(--serif); font-size: 16px; color: var(--green-muted); padding-top: 1px; }
.points h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--green-deep); margin-bottom: 6px; line-height: 1.4; }
.points p { font-size: 15.5px; color: var(--text-muted); }
.section--green .points li { border-color: var(--line-dark); }
.section--green .points__num { color: var(--eyebrow-dark); }
.section--green .points h3 { color: var(--white); }
.section--green .points p { color: var(--on-dark-2); }

/* Service area */
.areas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 40px; align-items: end; }
.areas__head { grid-column: 1 / span 5; }
.areas__head .section-sub { margin-top: 22px; color: var(--text-muted); max-width: 30em; }
.areas__list { grid-column: 7 / span 6; list-style: none; }
.areas__list li { font-family: var(--serif); font-size: clamp(25px, 2.5vw, 36px); line-height: 1.2; color: var(--green-deep); padding: 12px 0; border-bottom: 1px solid var(--line); }
.areas__list li:first-child { border-top: 1px solid var(--line); }

/* Community */
.community-points { list-style: none; margin-top: 32px; display: grid; gap: 16px; }
.community-points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 16px; }
.community-points svg { width: 22px; height: 22px; color: var(--green-mid); margin-top: 3px; }
.photo-quote { position: relative; }
.photo-quote .quote-card { position: relative; margin: -96px 0 0 clamp(20px, 8%, 72px); background: var(--green-deep); color: var(--white); padding: clamp(26px, 3vw, 40px); }
.quote-card blockquote { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--white); }
.quote-card .quote-attr { margin-top: 18px; font-size: 13.5px; letter-spacing: .02em; color: var(--eyebrow-dark); }

/* CTA band with photograph */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--green-dark); padding-block: clamp(64px, 7vw, 104px); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media picture, .cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .8) 50%, rgba(var(--shade), .72) 100%); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 960px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--white); max-width: 16em; }
.cta-band .eyebrow { margin-bottom: 16px; }
.cta-band .lede { color: rgba(250, 250, 248, .86); margin-top: 18px; max-width: 36em; }
.cta-band .btn-row { margin-top: 28px; }
.cta-band .safety { margin-top: 22px; font-size: 13px; color: var(--on-dark-2); max-width: 52em; }

/* ---------- 12. Inner-page components ---------- */
.service-index { list-style: none; border-top: 1px solid var(--line-strong); }
.service-index li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 24px); }
.service-index h3 { font-size: clamp(20px, 1.6vw, 24px); }
.service-index p { color: var(--text-muted); font-size: 16px; max-width: 36em; }

.checklist { list-style: none; margin-top: 28px; }
.checklist li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--line); font-size: 16px; }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 14px; height: 8px; border-left: 1.5px solid var(--green-mid); border-bottom: 1.5px solid var(--green-mid); transform: rotate(-45deg); }
.section--green .checklist li, .on-dark .checklist li { border-color: var(--line-dark); }
.section--green .checklist li::before, .on-dark .checklist li::before { border-color: var(--green-pale); }

.panel { background: var(--white); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--border-light); }
.panel--stone { background: var(--stone); border-color: transparent; }
.panel--green { background: var(--green-deep); color: var(--on-dark); border-color: transparent; }
.panel__title { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; color: var(--green-deep); margin-bottom: 14px; }
.panel--green .panel__title { color: var(--white); }
.panel .checklist { margin-top: 22px; }
.panel .checklist + p { margin-top: 22px; font-size: 15px; color: var(--text-muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.card { background: var(--white); border: 1px solid var(--border-light); padding: clamp(26px, 3vw, 40px); }
.card__icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--green-pale); color: var(--green-deep); margin-bottom: 22px; }
.card__icon svg, .card__icon img { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--text-muted); }
.cards--photo .card { padding: 0; background: transparent; border: 0; }
.cards--photo .card .media { aspect-ratio: 4 / 5; margin-bottom: 24px; }
.section--green .cards--photo .card p { color: var(--on-dark-2); }
.section--green .cards--photo .card h3 { color: var(--white); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.pillars > div { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.pillars h3 { margin-bottom: 10px; }
.pillars p { font-size: 15.5px; color: var(--text-muted); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.trio > :nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }

.duo-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.duo-text .media { margin-bottom: 32px; }
.duo-text h2 { font-size: clamp(28px, 2.6vw, 40px); }
.duo-text h2 + p { margin-top: 20px; }
.duo-text p + p { margin-top: 1em; }
.duo-text .btn { margin-top: 28px; }

.look-for { margin-top: 32px; }
.look-for__title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow-dark); margin-bottom: 8px; }
.look-for__item { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.look-for__item:last-child { padding-bottom: 0; }
.look-for__name { font-family: var(--serif); font-size: 22px; color: var(--white); margin-bottom: 6px; }
.look-for__text { font-size: 15px; color: var(--on-dark-2); }

/* ---------- 13. Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border-light); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--charcoal); margin-bottom: 8px; }
.form-label span { color: var(--text-muted); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--charcoal); background: var(--offwhite);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s, background .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--green-mid); background: var(--white); box-shadow: 0 0 0 3px rgba(30, 64, 52, .12); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-submit {
  display: inline-flex; align-items: center; gap: 10px; background: var(--green-deep); color: var(--white);
  font-size: 15px; font-weight: 500; padding: 17px 28px; border-radius: var(--radius); transition: background .25s;
}
.form-submit:hover { background: var(--green-mid); }
.form-submit svg { width: 16px; height: 16px; }
.form-intro { margin-top: 22px; color: var(--text-muted); max-width: 42em; }
.form-wrap { margin-top: 44px; }
.form-disclaimer { margin-top: 24px; padding: 18px 20px; background: var(--stone); font-size: 14px; line-height: 1.55; color: var(--text-body); }

.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 56px; align-items: start; }
.contact-main { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; display: grid; gap: 48px; }
.contact-list { list-style: none; }
.contact-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--green-mid); margin-top: 4px; }
.contact-list .k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-list .v { font-family: var(--serif); font-size: 22px; color: var(--green-deep); line-height: 1.35; }
.contact-list a.v:hover { color: var(--green-mid); }
.aside-title { font-family: var(--serif); font-size: 26px; color: var(--green-deep); margin-bottom: 18px; }
.area-dots { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.area-dots li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.area-dots li span { width: 6px; height: 6px; border-radius: 50%; background: var(--green-muted); flex: none; }

/* Legal + thank-you */
.legal { max-width: 46em; }
.legal > div + div { margin-top: 44px; }
.legal h2 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 14px; }
.legal p + p { margin-top: 1em; }
.legal-contact { margin-top: 16px; display: grid; gap: 4px; }
.legal-updated { margin-top: 56px; font-size: 14px; color: var(--text-muted); }
.ty { min-height: 64svh; display: flex; align-items: center; text-align: center; }
.ty__card { max-width: 40em; margin-inline: auto; }
.ty__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-pale); color: var(--green-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.ty__icon svg { width: 30px; height: 30px; }
.ty h1 { font-size: clamp(36px, 4vw, 56px); }
.ty .lede { margin: 22px auto 0; }
.ty .btn-row { justify-content: center; margin-top: 34px; }
.ty__email { margin-top: 28px; font-size: 15px; color: var(--text-muted); }
.ty__email a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 14. Footer ---------- */
/* compact: logo beside the description, contacts and service area in two columns */
.site-footer { background: var(--charcoal); color: rgba(250, 250, 248, .62); padding-top: clamp(32px, 3.5vw, 44px); padding-bottom: 18px; font-size: 14.5px; line-height: 1.55; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 24px; padding-bottom: 24px; }
.footer-brand { grid-column: 1 / span 5; display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; align-items: center; }
.footer-brand img { width: 60px; height: auto; }
.footer-brand p { max-width: 26em; font-size: 14px; }
.footer-contact { grid-column: 1 / -1; list-style: none; margin-top: 14px; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 28px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--green-pale); opacity: .7; flex: none; }
.footer-contact a { color: var(--white); }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col { grid-column: span 2; }
.footer-col:nth-child(2) { grid-column: 6 / span 2; }
.footer-col:last-child { grid-column: span 3; }
.footer-col:last-child ul { grid-template-columns: auto auto; column-gap: 20px; justify-content: start; }
.footer-col h2 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(234, 240, 236, .74); margin-bottom: 10px; }
.footer-col ul { list-style: none; display: grid; gap: 3px; white-space: nowrap; }
.footer-col a { color: rgba(250, 250, 248, .82); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 32px; justify-content: space-between; font-size: 12.5px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }
.footer-areas { color: rgba(250, 250, 248, .45); }
.action-bar { display: none; }

/* ---------- 15. Reveal motion (only with JS and motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: inset(8% 0 0 0); transition: clip-path 1.4s var(--ease); }
  .js .reveal-img img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
  .js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
  .js .reveal-img.is-in img { transform: none; }
  .js .reveal-d1 { transition-delay: .08s; }
  .js .reveal-d2 { transition-delay: .16s; }
  .hero__content > *, .page-hero__content > * { animation: rise 1.2s var(--ease) both; }
  .hero__content > :nth-child(2), .page-hero__content > :nth-child(2) { animation-delay: .1s; }
  .hero__content > :nth-child(3), .page-hero__content > :nth-child(3) { animation-delay: .2s; }
  .hero__content > :nth-child(4), .page-hero__content > :nth-child(4) { animation-delay: .3s; }
  .hero__content > :nth-child(5), .page-hero__content > :nth-child(5) { animation-delay: .4s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1240px) {
  .nav-primary ul { gap: 18px; }
  .header-call span { display: none; }
}
@media (max-width: 1080px) {
  :root { --bar-h: 72px; }
  .nav-primary, .header-call, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand { height: 52px; width: 60px; }
  .split__a, .split__b, .split--wide-a .split__a, .split--wide-a .split__b, .split--wide-b .split__a, .split--wide-b .split__b { grid-column: 1 / -1; }
  .section-head > :first-child, .section-head > :nth-child(2) { grid-column: 1 / -1; }
  .areas__head, .areas__list { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:nth-child(2), .footer-col:last-child { grid-column: span 4; }
  .footer-col ul { white-space: normal; }
  .footer-col:last-child ul { grid-template-columns: 1fr 1fr; }
  .contact-main, .contact-aside { grid-column: 1 / -1; }
  .photo-quote { max-width: 620px; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .cards, .pillars { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: 1fr; gap: 28px; }
  .duo-text { grid-template-columns: 1fr; }
  .service-index li { grid-template-columns: 1fr; gap: 6px; }
  .announce__text { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  :root { --announce-h: 36px; }
  .services-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-card .media { aspect-ratio: 4 / 3; }
  .cards, .pillars, .values-grid { grid-template-columns: 1fr; }
  .cards--photo .card .media { aspect-ratio: 4 / 3; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio > :nth-child(2) { margin-top: 40px; }
  .trio > :nth-child(3) { display: none; }
  .hero { min-height: max(620px, 100svh); }
  .hero__content .btn-row .btn, .page-hero--image .btn-row .btn, .cta-band .btn-row .btn, .ty .btn-row .btn { flex: 1 1 100%; }
  .hero .video-toggle { display: none; }
  .footer-col, .footer-col:nth-child(2) { grid-column: span 6; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer-top { row-gap: 20px; padding-bottom: 20px; }
  .footer-brand { grid-template-columns: 52px 1fr; column-gap: 14px; }
  .footer-brand img { width: 52px; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { gap: 4px; }
  .cta-band { padding-block: 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-main .form-card { padding: 10px; }
  .photo-quote .quote-card { margin: -64px 0 0 16px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 45, 36, .97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark);
  }
  .action-bar .btn { padding: 15px 12px; font-size: 15px; }
  .action-bar svg { width: 16px; height: 16px; }
}
@media print {
  .site-header, .mobile-menu, .action-bar, .hero__media video { display: none !important; }
  body:not(.has-overlay-header) main { padding-top: 0; }
}
