/* ==========================================================================
   Groton Wallpaper Installer — Coastal design system
   Palette (brief): Deep Ocean #234B5A · Coastal Navy #183746 · Soft Seafoam #DCEBE6
   Warm Sand #E9DDC9 · Ivory #FAF9F5 · Light Mist #EEF2F0 · Muted Blue #7899A3
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, OFL) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ocean: #234B5A;
  --navy: #183746;
  --navy-deep: #12303D;
  --seafoam: #DCEBE6;
  --sand: #E9DDC9;
  --sand-soft: #F2EBDF;
  --ivory: #FAF9F5;
  --mist: #EEF2F0;
  --muted-blue: #7899A3;      /* decorative only */
  --white: #FFFFFF;

  --ink: #1A2C34;             /* headings / strong text */
  --text: #33464E;            /* body text */
  --muted: #4B6169;           /* captions, labels */
  --blue-text: #3F6672;       /* muted blue, AA on light surfaces */
  --line: #D5DEDB;
  --line-strong: #B9C7C4;
  --field: #71878F;           /* input borders (≥3:1 on white) */
  --placeholder: #5E7178;
  --error: #A3271F;

  --on-dark: #F3F7F6;
  --on-dark-muted: #C3D4D8;
  --foam-on-dark: #DCEBE6;
  --blue-on-dark: #A9C4CB;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(24, 55, 70, .06), 0 4px 14px rgba(24, 55, 70, .06);
  --shadow-md: 0 2px 6px rgba(24, 55, 70, .07), 0 18px 40px rgba(24, 55, 70, .12);
  --header-h: 76px;
  --focus: #234B5A;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ocean); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.05rem); }
h3 { font-size: 1.32rem; line-height: 1.25; }
em { font-style: italic; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero, .why, .site-footer, .location-card, .cta-panel, .about-badge, .lightbox { --focus: #DCEBE6; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Linen / shiplap textures */
.linen {
  background-color: var(--sand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shiplap {
  background-color: var(--seafoam);
  background-image: repeating-linear-gradient(180deg, transparent 0 63px, rgba(35, 75, 90, .07) 63px 64px);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1rem;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text);
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M1 5c2.6 0 2.6-3.5 5.3-3.5S8.9 5 11.6 5s2.6-3.5 5.3-3.5S19.5 5 22.2 5s2.6-3.5 5.3-3.5S30.1 5 33 5' fill='none' stroke='%237899A3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eyebrow--light { color: var(--blue-on-dark); }
.eyebrow--light::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M1 5c2.6 0 2.6-3.5 5.3-3.5S8.9 5 11.6 5s2.6-3.5 5.3-3.5S19.5 5 22.2 5s2.6-3.5 5.3-3.5S30.1 5 33 5' fill='none' stroke='%23DCEBE6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 1rem; }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: grid; gap: 12px 64px; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .lead { margin: 0; max-width: 560px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ocean); --btn-fg: #fff; --btn-bd: var(--ocean);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.65em;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-weight: 600; font-size: .97rem; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(24, 55, 70, .18); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn-sand { --btn-bg: var(--sand); --btn-fg: var(--navy); --btn-bd: var(--sand); }
.btn-sand:hover { --btn-bg: #F6EFE3; --btn-bd: #F6EFE3; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .78); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: #fff; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35em;
  font-weight: 600; font-size: .95rem; color: var(--ocean); text-decoration: none;
  border-bottom: 1.5px solid rgba(35, 75, 90, .35); padding-bottom: 2px;
  transition: border-color .2s, color .2s, gap .2s;
}
.link-arrow:hover { border-color: var(--navy); color: var(--navy); gap: .6em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, .97);
  border-bottom: 1px solid rgba(120, 153, 163, .28);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(24, 55, 70, .09); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.brand-sub { margin-top: 5px; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-text); }

.primary-nav { margin-left: auto; display: none; }
.primary-nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.primary-nav a {
  position: relative; display: inline-block; padding: 8px 2px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--ocean); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--ocean); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--ocean); }
.header-cta { min-height: 44px; padding: .65em 1.3em; font-size: .9rem; white-space: nowrap; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 14px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff;
  color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--ocean); }
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(24, 55, 70, .12);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu nav { padding-block: 12px 24px; }
.mobile-menu ul { margin-bottom: 18px; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu ul a { display: block; padding: 14px 4px; color: var(--ink); text-decoration: none; font-family: var(--font-serif); font-size: 1.3rem; }
.mobile-menu ul a:hover, .mobile-menu ul a.is-active { color: var(--ocean); }
.mobile-phone { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--navy); text-decoration: none; min-height: 44px; }

/* no-JS: show the primary nav as a scrollable row instead of a menu button */
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .primary-nav { display: block; order: 3; width: 100%; margin: 0 0 8px; overflow-x: auto; }

@media (max-width: 599px) {
  .header-cta { display: none; }
}
@media (max-width: 419px) {
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .16em; }
  .brand-mark { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: 0 13px; }
}
@media (min-width: 1100px) {
  .primary-nav, .no-js .primary-nav { display: block; order: 0; width: auto; margin: 0 0 0 auto; }
  .header-actions { margin-left: 8px; }
  .nav-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}
@media (min-width: 1320px) {
  .header-phone { display: inline-flex; }
}

/* ---------- Wave edges ---------- */
.wave-edge { position: absolute; left: 0; width: 100%; height: clamp(26px, 4.4vw, 64px); pointer-events: none; z-index: 2; }
.wave-edge--bottom { bottom: -1px; }
.wave-edge--top { top: -1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(580px, calc(100svh - var(--header-h)), 880px);
  background: var(--navy); color: var(--on-dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 40, 52, .94) 0%, rgba(20, 47, 60, .86) 30%, rgba(24, 55, 70, .55) 52%, rgba(24, 55, 70, .12) 74%, rgba(24, 55, 70, 0) 100%),
    linear-gradient(0deg, rgba(18, 43, 55, .45) 0%, rgba(18, 43, 55, 0) 34%);
}
.hero-inner { padding-block: clamp(72px, 9vw, 120px) clamp(96px, 11vw, 150px); }
.hero-inner > * { max-width: 620px; }
.hero-location {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 1.4rem; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(220, 235, 230, .4); border-radius: 999px;
  background: rgba(18, 43, 55, .55);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--foam-on-dark);
}
.hero-location .icon { width: 18px; height: 18px; }
.hero h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem);
  line-height: 1.04; font-weight: 500; color: #fff; letter-spacing: -.02em;
}
.hero h1 em { display: block; font-weight: 400; color: var(--seafoam); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--on-dark); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }
.hero-call { font-size: .95rem; color: var(--on-dark); margin: 0; }
.hero-call a { color: #fff; font-weight: 600; text-decoration-color: rgba(255, 255, 255, .5); }
.hero-call a:hover { color: var(--seafoam); }
.hero-coords {
  position: absolute; right: var(--gutter); bottom: clamp(50px, 6.5vw, 92px); margin: 0;
  display: none; gap: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(16, 40, 52, .72);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 8px rgba(10, 30, 40, .6);
}
.hero-coords span + span::before { content: "·"; margin-right: 14px; color: var(--seafoam); }
.hero .wave-edge { fill: var(--ivory); }
@media (min-width: 1024px) { .hero-coords { display: flex; } }
@media (min-width: 701px) and (max-width: 1180px) {
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(16, 40, 52, .95) 0%, rgba(18, 43, 55, .9) 45%, rgba(20, 47, 60, .78) 70%, rgba(24, 55, 70, .45) 100%),
      linear-gradient(0deg, rgba(18, 43, 55, .45) 0%, rgba(18, 43, 55, 0) 34%);
  }
}
@media (max-width: 700px) {
  .hero { align-items: flex-start; min-height: 0; }
  .hero-media img { object-position: 50% 100%; }
  .hero { --reveal: clamp(150px, 44vw, 250px); }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(24, 55, 70, 0) 0px, rgba(24, 55, 70, .28) calc(var(--reveal) * .5), rgba(18, 43, 55, .9) calc(var(--reveal) + 8px), rgba(16, 40, 52, .94) 100%);
  }
  .hero-inner { padding-block: 40px var(--reveal); }
  .hero-location { font-size: .76rem; padding: 7px 14px 7px 10px; }
  .hero-actions .btn { flex: 1 1 220px; }
}

/* ---------- Tide strip ---------- */
.tide-strip { background: var(--ivory); padding: 10px 0 0; }
.tide-strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.tide-strip li {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text);
}
.tide-strip li + li::before {
  content: ""; width: 7px; height: 7px; margin: 0 clamp(14px, 2.2vw, 30px);
  border: 1.5px solid var(--muted-blue); border-radius: 50%;
}
@media (max-width: 700px) {
  .tide-strip ul { gap: 10px 20px; }
  .tide-strip li { font-size: .72rem; letter-spacing: .14em; }
  .tide-strip li::before, .tide-strip li + li::before { content: ""; width: 6px; height: 6px; margin: 0 8px 0 0; border: 1.5px solid var(--muted-blue); border-radius: 50%; }
}

/* ---------- Services ---------- */
.services { padding-top: clamp(56px, 7vw, 100px); }
.services-layout { display: grid; gap: 48px; }
.services-intro h2 { margin-bottom: 1.1rem; }
.estimate-note {
  margin-top: 2rem; padding: 26px 26px 22px;
  border-radius: var(--radius); background: var(--seafoam);
  border: 1px solid rgba(120, 153, 163, .35);
}
.estimate-note-title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); margin-bottom: .4rem; }
.estimate-note p:not(.estimate-note-title) { font-size: .98rem; color: var(--text); }
.estimate-note .btn { margin-top: .2rem; }
.estimate-note-phone { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0 18px; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.estimate-note-phone .icon { width: 18px; height: 18px; color: var(--ocean); }

.services-grid { display: grid; gap: 26px; }
.service-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.service-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.service-media picture, .service-media img { width: 100%; height: 100%; }
.service-media img { object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 22' preserveAspectRatio='none'%3E%3Cpath d='M0 12C50 2 100 2 150 9s100 13 150 8 75-12 100-10v15H0z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.service-body { display: flex; flex-direction: column; flex: 1; padding: 6px 26px 28px; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--seafoam); color: var(--ocean); }
.service-num { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--blue-text); }
.service-body h3 { margin-bottom: .6rem; color: var(--navy); }
.service-body p { font-size: .98rem; color: var(--text); margin-bottom: 1.3rem; }
.service-body .link-arrow { margin-top: auto; align-self: flex-start; }

@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .services-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .services-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .services-grid { gap: 28px; }
}

/* ---------- About ---------- */
.about-layout { display: grid; gap: 56px; align-items: center; }
.about-media { position: relative; padding: 18px 28px 34px 18px; }
.about-media::before {
  content: ""; position: absolute; left: 0; top: 0; right: 46px; bottom: 52px;
  border: 1.5px solid var(--muted-blue); border-radius: 140px 22px 22px 22px;
}
.about-media::after {
  content: ""; position: absolute; left: 46px; top: 54px; right: 0; bottom: 0; z-index: 0;
  background: var(--seafoam); border-radius: 140px 22px 22px 22px;
}
.about-frame { position: relative; z-index: 1; border-radius: 120px 20px 20px 20px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.4; background: var(--mist); }
.about-frame picture, .about-frame img { width: 100%; height: 100%; }
.about-frame img { object-fit: cover; }
.about-badge {
  position: absolute; z-index: 2; right: 0; bottom: 6px; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 22px; border-radius: 16px; background: var(--navy); color: var(--on-dark);
  box-shadow: var(--shadow-md);
}
.about-badge-top { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-on-dark); }
.about-badge-main { font-family: var(--font-serif); font-size: 1.15rem; color: #fff; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-points { margin: 1.8rem 0 2.2rem; border-top: 1px solid var(--line-strong); }
.about-points li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.about-points strong { color: var(--navy); font-weight: 600; }
.dot { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 2px solid var(--ocean); transform: translateY(-1px); }
@media (min-width: 960px) {
  .about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 104px); }
}
@media (max-width: 520px) {
  .about-media { padding: 12px 16px 28px 10px; }
  .about-badge { position: relative; right: auto; bottom: auto; margin: -34px 0 0 auto; width: max-content; max-width: 100%; }
}

/* ---------- Why choose us ---------- */
.why {
  background-color: var(--navy); color: var(--on-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cpath d='M0 24c30 0 30-12 60-12s30 12 60 12 30-12 60-12 30 12 60 12' fill='none' stroke='%23DCEBE6' stroke-opacity='.06' stroke-width='1.5'/%3E%3C/svg%3E");
  padding-block: calc(var(--section-y) + 30px);
}
.why .wave-edge--top { fill: var(--sand-soft); }
.why .wave-edge--bottom { fill: var(--ivory); }
.why h2 { color: #fff; }
.why .lead { color: var(--on-dark-muted); }
.why-grid { display: grid; gap: 0 48px; }
.why-item { padding: 30px 0 32px; border-top: 1px solid rgba(220, 235, 230, .2); }
.why-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; border: 1px solid rgba(220, 235, 230, .45); color: var(--seafoam); background: rgba(220, 235, 230, .06); }
.why-item h3 { color: #fff; font-size: 1.3rem; margin-bottom: .55rem; }
.why-item p { color: var(--on-dark-muted); font-size: .98rem; margin: 0; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; } }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "a a" "b c" "d e" "g g" "f h";
}
.g-a { grid-area: a; aspect-ratio: 16 / 11; }
.g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; }
.g-f { grid-area: f; } .g-h { grid-area: h; }
.g-g { grid-area: g; aspect-ratio: 2 / 1; }
.g-b, .g-c, .g-d, .g-e, .g-f, .g-h { aspect-ratio: 1 / 1; }
@media (min-width: 1024px) {
  .gallery-grid {
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: "a a b c" "a a d e" "f g g h";
  }
  .g-a, .g-g { aspect-ratio: auto; }
}
.g-item { position: relative; min-width: 0; min-height: 0; }
.g-link {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden; background: var(--mist); color: #fff; text-decoration: none;
}
.g-link picture, .g-link img { width: 100%; height: 100%; }
.g-link img { object-fit: cover; transition: transform .9s var(--ease); }
.g-link:hover img, .g-link:focus-visible img { transform: scale(1.06); }
.g-link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 36, 47, .5) 0%, rgba(14, 36, 47, 0) 45%);
  pointer-events: none;
}
.g-cap {
  position: absolute; z-index: 1; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  display: flex; flex-direction: column; gap: 1px;
  padding: 8px 12px 9px; border-radius: 12px;
  background: rgba(14, 36, 47, .84);
  font-size: .88rem; font-weight: 500; line-height: 1.35; color: #fff;
}
.g-num { font-family: var(--font-serif); font-style: italic; font-size: .85rem; color: var(--seafoam); }
.g-zoom {
  position: absolute; z-index: 1; top: 12px; right: 12px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(250, 249, 245, .92); color: var(--navy);
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease);
}
.g-zoom .icon { width: 20px; height: 20px; }
.g-link:hover .g-zoom, .g-link:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-link:focus-visible { outline-offset: 4px; }
@media (hover: none) { .g-zoom { opacity: 1; transform: none; width: 34px; height: 34px; } }
@media (max-width: 520px) {
  .gallery-grid { gap: 10px; }
  .g-cap { left: 7px; bottom: 7px; max-width: calc(100% - 14px); padding: 6px 9px 7px; border-radius: 9px; font-size: .76rem; }
  .g-num { font-size: .75rem; }
  .g-link { border-radius: 12px; }
}

/* ---------- Process ---------- */
.process { background: var(--mist); }
.process-track { position: relative; }
.process-line { display: none; }
.steps { display: grid; gap: 0; counter-reset: none; }
.step { position: relative; padding: 0 0 36px 92px; }
.step::before {
  content: ""; position: absolute; left: 35px; top: 72px; bottom: 0;
  border-left: 2px dashed rgba(35, 75, 90, .35);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-buoy {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ocean); color: var(--ocean);
  box-shadow: 0 0 0 8px var(--seafoam);
}
.step-buoy .icon { width: 28px; height: 28px; }
.step-num { display: block; margin: 4px 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text); }
.step h3 { color: var(--navy); margin-bottom: .45rem; }
.step p { margin: 0; color: var(--text); font-size: 1rem; }
@media (min-width: 900px) {
  .process-line {
    display: block; position: absolute; left: 12.5%; right: 12.5%; top: 16px; width: 75%; height: 40px;
    fill: none; stroke: var(--muted-blue); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke;
  }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
  .step { padding: 0; }
  .step::before { display: none; }
  .step-buoy { position: relative; margin: 0 auto 26px; }
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 48px; align-items: start; }
.contact-copy h2 { margin-bottom: 1.1rem; }
.contact-list { margin: 2rem 0 1.6rem; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(120, 153, 163, .3); border-radius: 16px; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ocean); color: #fff; }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--ocean); text-decoration: underline; }
.contact-tip { font-size: .95rem; color: var(--muted); margin: 0; }

.form-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md); border: 1px solid rgba(120, 153, 163, .25);
}
.estimate-form { display: block; }
.form-title { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); color: var(--navy); margin-bottom: .4rem; }
.form-required-note { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form-grid { display: grid; gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { margin-bottom: 7px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--field); border-radius: 12px;
  background: #FBFCFB; color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ocean); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); background: #fff; box-shadow: 0 0 0 4px rgba(35, 75, 90, .2); }
.field-hint { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ocean); border-bottom: 2px solid var(--ocean); transform: rotate(45deg); pointer-events: none;
}
.field select { padding-right: 44px; cursor: pointer; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .field--full { grid-column: 1 / -1; }
}

/* Errors injected by the supplied form-validation.js (inline #ff6b6b lifted to an AA red) */
.error-message { color: var(--error) !important; font-weight: 500; font-size: .875rem !important; }
.error-message::before { content: "! "; font-weight: 700; }
.estimate-form [style*="255, 107, 107"], .estimate-form [style*="ff6b6b"] { border-color: var(--error) !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

.btn-submit { min-height: 56px; font-size: 1.02rem; }
.btn-submit.is-loading { pointer-events: none; opacity: .9; }
.btn-submit.is-loading .btn-label::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#form-success { display: none; }
.form-success { text-align: center; padding: 40px 12px; }
.form-success:focus { outline: none; }
.form-success-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--seafoam); color: var(--ocean); }
.form-success-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--navy); margin: 0 auto; max-width: 30ch; }

.form-notice { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-notice:target { display: block; }
.form-notice--sent { background: var(--seafoam); color: var(--navy); }
.form-notice--error { background: #F8E6E3; color: #7E1D17; }
.form-notice--error a { color: #7E1D17; }

@media (min-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); }
  .contact-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Location ---------- */
.location { background: var(--ivory); }
.location .lead { font-family: var(--font-serif); font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); color: var(--navy); }
.location-layout { display: grid; gap: 22px; }
.map-frame {
  position: relative; height: clamp(340px, 46vw, 500px);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background-color: var(--mist);
  background-image: linear-gradient(rgba(120, 153, 163, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 153, 163, .18) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-lg);
  background: var(--navy); color: var(--on-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cpath d='M0 24c30 0 30-12 60-12s30 12 60 12 30-12 60-12 30 12 60 12' fill='none' stroke='%23DCEBE6' stroke-opacity='.07' stroke-width='1.5'/%3E%3C/svg%3E");
}
.location-card-eyebrow { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-on-dark); }
.location-card address { display: flex; flex-direction: column; font-family: var(--font-serif); font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); line-height: 1.3; color: #fff; }
.location-links { display: grid; gap: 10px; width: 100%; padding: 16px 0; border-block: 1px solid rgba(220, 235, 230, .2); }
.location-links a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; min-height: 32px; }
.location-links a:hover { color: #fff; text-decoration: underline; }
.location-links .icon { width: 18px; height: 18px; color: var(--seafoam); }
.location-card .btn .icon { width: 17px; height: 17px; }
.location-coords { margin: auto 0 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-on-dark); }
@media (min-width: 960px) {
  .location-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .map-frame { height: auto; min-height: 480px; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
.faq-intro h2 { margin-bottom: 1rem; }
.faq-contact { margin-top: 1.8rem; padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .7); border: 1px solid rgba(120, 153, 163, .3); display: grid; gap: 8px; }
.faq-contact p { margin: 0 0 4px; font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy); }
.faq-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ocean); font-weight: 600; text-decoration: none; min-height: 32px; }
.faq-contact a:hover { text-decoration: underline; color: var(--navy); }
.faq-contact .icon { width: 18px; height: 18px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.35; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover .faq-q { color: var(--ocean); }
.faq-icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid var(--muted-blue); background: rgba(255, 255, 255, .6); transition: background-color .25s, border-color .25s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ocean); transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ocean); border-color: var(--ocean); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 56px 22px 4px; }
.faq-a p { margin: 0; color: var(--text); }
.faq-a a { font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 520px) { .faq-a { padding-right: 4px; } }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--ivory); padding-block: var(--section-y) calc(var(--section-y) + 20px); }
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 32px; background: var(--navy); color: var(--on-dark);
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 88px);
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(18, 45, 58, .9) 0%, rgba(20, 50, 64, .82) 55%, rgba(24, 55, 70, .7) 100%);
}
.cta-content { max-width: 680px; margin: 0 auto; }
.cta-content .eyebrow { justify-content: center; }
.cta-content h2 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); margin-bottom: 1rem; }
.cta-content p:not(.eyebrow) { color: var(--on-dark); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; background: var(--navy); color: var(--on-dark-muted);
  padding: calc(clamp(26px, 4.4vw, 64px) + clamp(48px, 6vw, 80px)) 0 28px;
}
.site-footer .wave-edge--top { fill: var(--ivory); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-mark > rect:first-child { fill: #234B5A; stroke: rgba(220, 235, 230, .35); stroke-width: 1.5; }
.brand--footer .brand-sub { color: var(--blue-on-dark); }
.footer-brand p { margin: 18px 0 0; max-width: 34ch; font-size: .97rem; }
.footer-title { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-on-dark); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--on-dark); text-decoration: none; font-size: .97rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--seafoam); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(220, 235, 230, .16); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.to-top { color: var(--on-dark); text-decoration: none; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
.to-top:hover { color: #fff; text-decoration: underline; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.35fr .8fr 1.2fr 1.45fr; gap: 48px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 64px 16px 56px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10, 26, 33, .94); }
.lightbox-figure { position: relative; margin: 0; max-width: min(1400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.lightbox-figure figcaption { display: flex; gap: 14px; align-items: baseline; color: var(--on-dark); font-size: .98rem; text-align: center; }
.lightbox-count { font-family: var(--font-serif); font-style: italic; color: var(--seafoam); white-space: nowrap; }
.lightbox-btn {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(220, 235, 230, .4);
  background: rgba(24, 55, 70, .7); color: #fff; cursor: pointer; transition: background-color .2s;
}
.lightbox-btn:hover { background: var(--ocean); }
.lightbox-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; margin-top: -25px; }
.lightbox-next { right: 12px; top: 50%; margin-top: -25px; }
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; margin: 0; }
  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
  .lightbox { padding-bottom: 76px; }
}
body.lightbox-open { overflow: hidden; }

/* ---------- Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
  .js-reveal .services-grid .reveal:nth-child(2n), .js-reveal .why-grid .reveal:nth-child(3n+2), .js-reveal .steps .reveal:nth-child(2) { transition-delay: .08s; }
  .js-reveal .why-grid .reveal:nth-child(3n), .js-reveal .steps .reveal:nth-child(3) { transition-delay: .16s; }
  .js-reveal .steps .reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .lightbox, .map-frame, .hero-scrim, .wave-edge, .g-zoom, .estimate-form, .final-cta { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; color: #000; background: #fff; }
  .hero-media { position: static; }
  .hero h1, .hero h1 em, .hero-lead { color: #000; }
}
