/* Maxim Pools — styles */

:root {
  --black: #000000;
  --panel: #0d0d0d;
  --white: #ffffff;
  --soft: #e6e6e6;
  --text-2: #d6d6d6;
  --muted: #b5b5b5;
  --dim: #8a8a8a;
  --rule: #2e2e2e;
  --rule-2: #333333;
  --grey: #5c5c5c;
  --green: #79bd44;
  --green-hover: #8fd257;
  --green-ink: #12260a;
  --blue: #1d81bf;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Archivo', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

body.menu-open { overflow: hidden; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: var(--black); padding: 10px 16px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.c-blue { color: var(--blue); }
.c-green { color: var(--green); }
.muted { color: var(--muted); }
.plain { text-decoration: none; }
.muted-link { color: var(--muted); font-size: 15px; }

.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot--blue { background: var(--blue); }
.dot--green { background: var(--green); }

.display-2 {
  margin: 0;
  font-weight: 300;
  font-stretch: 125%;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.display-4 {
  margin: 0 0 28px;
  font-weight: 400;
  font-stretch: 115%;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Pills / buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.pill--block { display: flex; width: 100%; min-height: 56px; font-size: 16px; }
.pill--green { background: var(--green); color: var(--black); font-weight: 600; }
.pill--green:hover { background: var(--green-hover); color: var(--black); }
.pill--ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.pill--ghost:hover { border-color: var(--white); color: var(--white); }
.pill[disabled] { opacity: .7; cursor: progress; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(38,38,38,0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: rgba(38,38,38,.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}
body.menu-open .site-header {
  background: rgba(0,0,0,0);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: rgba(255,255,255,0);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex; align-items: center; gap: 32px;
  transition: padding .35s ease;
}
.site-header.is-scrolled .site-header__inner { padding-top: 16px; padding-bottom: 16px; }
.site-header__logo { display: flex; margin-right: auto; }
.site-header__logo img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 40px; font-size: 15px; letter-spacing: .01em; }
.site-nav a { text-decoration: none; }
.site-header__phone { letter-spacing: .02em; }

/* Hamburger */
.burger {
  display: none;
  position: relative; width: 48px; height: 48px; padding: 0;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25); cursor: pointer;
  transition: background-color .4s ease, border-color .4s ease;
}
.burger span {
  position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px;
  background: var(--white);
  transition: transform .5s var(--ease-io), opacity .25s ease, background-color .4s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] { background: var(--white); border-color: var(--white); }
.burger[aria-expanded="true"] span { background: var(--black); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--black);
  display: flex; flex-direction: column;
  padding: 108px 24px 28px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility .7s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__line { position: absolute; top: 0; left: 0; right: 0; height: 3px; display: flex; }
.mobile-menu__line span { flex: 1; transform: scaleX(0); transition: transform .8s var(--ease-io); }
.mobile-menu__line span:first-child { background: var(--blue); transform-origin: left; }
.mobile-menu__line span:last-child { background: var(--green); transform-origin: right; }
.mobile-menu.is-open .mobile-menu__line span { transform: scaleX(1); transition-delay: .25s; }
.mobile-menu__links { list-style: none; margin: 0; padding: 0; }
.mobile-menu__links li { overflow: hidden; border-bottom: 1px solid #222; }
.mobile-menu__links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; text-decoration: none; color: var(--white);
  transform: translateY(110%); opacity: 0;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s ease;
}
.mobile-menu__links a span { font-weight: 300; font-stretch: 125%; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.mobile-menu__links .dot { width: 10px; height: 10px; }
.mobile-menu.is-open .mobile-menu__links a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(1) a { transition-delay: .28s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(2) a { transition-delay: .35s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) a { transition-delay: .42s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(4) a { transition-delay: .49s; }
.mobile-menu__foot {
  margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: .55s; }
.mobile-menu__foot p { margin: 8px 0 0; font-size: 13px; color: var(--dim); text-align: center; }

/* Hero */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__gl {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__gl.is-live { opacity: 1; }
.hero__content { will-change: transform; }
.hero__tint { position: absolute; inset: 0; background: rgba(28,28,28,.38); }
.hero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 38%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.85) 84%, #000 100%);
}
.hero__content {
  position: relative; width: 100%;
  padding-bottom: clamp(48px, 6vw, 88px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero__copy { flex: 999 1 640px; min-width: 0; max-width: 980px; }
.hero__title {
  margin: 0; font-weight: 300; font-stretch: 125%;
  font-size: clamp(44px, 6.6vw, 104px); line-height: .98; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__lede { margin: 32px 0 0; max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--soft); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__license { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }

/* Intro */
.intro {
  padding-top: clamp(96px, 11vw, 168px); padding-bottom: clamp(80px, 9vw, 136px);
  display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start;
}
.intro__statement {
  flex: 999 1 620px; min-width: 0; margin: 0; max-width: 24em;
  font-weight: 300; font-stretch: 112%; font-size: clamp(26px, 3.1vw, 46px);
  line-height: 1.2; letter-spacing: -.02em; text-wrap: pretty;
}
.intro__list { flex: 1 1 260px; list-style: none; margin: 0; padding: 10px 0 0; display: flex; flex-direction: column; gap: 20px; font-size: 16px; }
.intro__list li { display: flex; align-items: center; gap: 12px; }

/* Section heads */
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--rule);
}
.section-head--plain { border-bottom: 0; padding-bottom: 0; margin-bottom: 72px; }

/* Work */
.work { padding-bottom: clamp(96px, 11vw, 160px); }
.work__rows { display: flex; flex-direction: column; gap: 56px; }
.work__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.photo { margin: 0; min-width: 0; }
.photo img {
  width: 100%; object-fit: cover;
  border: 4px solid var(--white); border-radius: 4px;
}
.photo--wide { flex: 2 1 560px; }
.photo--wide img { aspect-ratio: 16 / 10; }
.photo--tall { flex: 1 1 320px; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--even { flex: 1 1 380px; }
.photo--even img { aspect-ratio: 3 / 2; }
.photo--full img { aspect-ratio: 1366 / 768; }
.photo figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
.photo figcaption strong { color: var(--white); font-weight: 400; }

.more { padding-top: 24px; border-top: 1px solid var(--rule); }
.more__title { margin-bottom: 6px; }
.more__hint { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.more__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--white); border-radius: 4px; }

/* Lightbox thumbnails */
.lb-thumb { display: block; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.lb-thumb img { transition: transform .5s var(--ease), filter .3s ease; }
.lb-thumb:hover img { filter: brightness(1.08); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 72px 88px 40px;
  background: rgba(0,0,0,.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  transform: scale(.96); transition: transform .4s var(--ease);
}
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__img {
  max-width: min(1200px, 100%); max-height: calc(100vh - 180px);
  width: auto; height: auto; object-fit: contain;
  border: 4px solid var(--white); border-radius: 4px;
  transition: opacity .25s ease;
}
.lightbox__img.is-swapping { opacity: 0; }
.lightbox__caption {
  margin-top: 16px; width: 100%;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 15px; color: var(--muted);
}
.lightbox__count { color: var(--dim); white-space: nowrap; }
.lightbox button {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(0,0,0,.4); color: var(--white); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.lightbox button:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.lightbox button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Services */
.services { background: var(--panel); border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f; }
.services__inner { padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px); }
.services__lede { margin: 0; max-width: 30em; font-size: 16px; }
.services__cols { display: flex; flex-wrap: wrap; gap: 72px 96px; }
.services__col--water { flex: 3 1 560px; min-width: 0; }
.services__col--ground { flex: 2 1 360px; min-width: 0; }
.services__label { margin: 0 0 8px; display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 15px; color: var(--muted); }
.svc { border-top: 1px solid var(--rule-2); padding: 28px 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.svc--last { border-bottom: 1px solid var(--rule-2); }
.svc--stack { flex-direction: column; flex-wrap: nowrap; }
.svc__title { margin: 0; flex: 1 1 240px; font-weight: 400; font-stretch: 115%; font-size: 26px; line-height: 1.15; letter-spacing: -.015em; }
.svc--stack .svc__title { flex: none; }
.svc__list {
  flex: 1.4 1 280px; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 6px 24px;
  color: var(--text-2); font-size: 16px;
}
.svc__list--single { display: flex; flex-direction: column; flex: none; }
.services__photo { margin-top: 40px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--white); border-radius: 4px; }

/* Reviews */
.reviews { padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px); }
.reviews .section-head { margin-bottom: 64px; }
.stars { display: flex; align-items: center; gap: 3px; min-height: 44px; }
.stars svg { width: 16px; height: 16px; fill: var(--green); }
.quotes { display: flex; flex-direction: column; gap: 48px; }
.quotes__stage { display: grid; }
.quote {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease, visibility .7s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote blockquote {
  margin: 0; max-width: 19em;
  font-weight: 300; font-stretch: 112%; font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.14; letter-spacing: -.02em; text-wrap: pretty;
}
.quote figcaption { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.quote figcaption strong { font-weight: 400; }
.quote figcaption span { color: var(--muted); }
.quotes__nav { display: flex; align-items: center; gap: 4px; }
.quotes__nav button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.quotes__nav span { display: block; height: 3px; width: 14px; border-radius: 2px; background: var(--grey); transition: width .4s ease, background-color .4s ease; }
.quotes__nav button[aria-current="true"] span { width: 36px; background: var(--green); }

/* Estimate */
.estimate { background: var(--green); color: var(--black); }
.estimate a { color: var(--black); }
.estimate__inner {
  padding-top: clamp(88px, 10vw, 144px); padding-bottom: clamp(88px, 10vw, 144px);
  display: flex; flex-wrap: wrap; gap: 64px 96px; align-items: flex-start; justify-content: space-between;
}
.estimate__intro { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.estimate__title {
  margin: 0; max-width: 9em;
  font-weight: 300; font-stretch: 125%; font-size: clamp(40px, 5vw, 80px);
  line-height: 1; letter-spacing: -.035em; text-wrap: balance;
}
.estimate__lede { margin: 28px 0 0; max-width: 26em; font-size: 18px; line-height: 1.55; color: var(--green-ink); }
.estimate__direct { margin-top: 48px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--green-ink); }
.estimate__phone { font-weight: 300; font-stretch: 115%; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.02em; text-decoration: none; }

.estimate__panel {
  flex: 1.2 1 480px; min-width: 0;
  background: var(--black); color: var(--white);
  border-radius: 6px; padding: clamp(24px, 3.4vw, 48px);
}
.estimate__panel a { color: var(--white); }
.estimate-form { display: flex; flex-direction: column; gap: 32px; }
.hp { display: none; }

.chips { margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 14px; font-size: 15px; color: var(--muted); }
.chips__row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--grey); background: transparent; color: var(--white);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--black); }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field textarea {
  min-height: 44px; padding: 6px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--grey); border-radius: 0;
  color: var(--white); font: inherit; font-size: 18px;
  transition: border-color .2s ease;
}
.field textarea { padding-top: 8px; line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); }
.field textarea::placeholder { color: #6f6f6f; }
.field.is-invalid input { border-bottom-color: #ff8a65; }

.form-error { margin: 0; padding: 14px 16px; border: 1px solid var(--grey); border-radius: 6px; font-size: 15px; }
.estimate-form__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.estimate-form__note { font-size: 14px; color: var(--dim); }

.form-success { min-height: 520px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.form-success[hidden] { display: none; }
.form-success h3 { margin: 0; font-weight: 300; font-stretch: 120%; font-size: 40px; line-height: 1.05; letter-spacing: -.025em; }
.form-success p { margin: 0; max-width: 26em; color: var(--muted); font-size: 17px; }
.form-success__check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.form-success__check svg { width: 26px; height: 26px; fill: none; stroke: var(--black); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { padding-top: 72px; padding-bottom: 48px; }
.site-footer__top {
  display: flex; flex-wrap: wrap; gap: 48px 80px; justify-content: space-between;
  padding-bottom: 56px; border-bottom: 1px solid var(--rule);
}
.site-footer__logo { height: 52px; width: auto; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 72px; font-size: 15px; }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 6px; }
.site-footer__copy { margin: 28px 0 0; font-size: 13px; color: var(--dim); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal--late { transition-delay: .15s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; }
  .site-nav, .site-header__phone { display: none; }
  .burger { display: block; }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { padding: 14px 16px 14px 20px; }
  .site-header__logo img { height: 34px; }

  .hero { min-height: 720px; }
  .hero__img { object-position: 62% center; }
  .hero__content { padding-bottom: 40px; gap: 22px; }
  .hero__copy { flex-basis: 100%; }
  .hero__title { font-stretch: 118%; font-size: clamp(40px, 11.8vw, 64px); line-height: 1; }
  .hero__lede { margin-top: 22px; font-size: 16px; }
  .hero__actions { margin-top: 28px; flex-direction: column; gap: 12px; }
  .hero__actions .pill { width: 100%; min-height: 54px; }
  .hero__license { max-width: none; font-size: 13px; }

  .intro { padding-top: 72px; padding-bottom: 64px; gap: 36px; }
  .intro__list { gap: 14px; font-size: 15px; padding-top: 0; }
  .intro__list .dot { width: 10px; height: 10px; }

  .section-head { padding-bottom: 24px; margin-bottom: 28px; }
  .section-head--plain { margin-bottom: 40px; padding-bottom: 0; }
  .display-2 { font-size: 38px; }

  .work { padding-bottom: 80px; }
  .work__rows { gap: 36px; }
  .work__row { gap: 36px; }
  .photo img, .more__grid img, .services__photo { border-width: 3px; }
  .photo figcaption { margin-top: 12px; font-size: 14px; }
  .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .more__grid img { aspect-ratio: 1 / 1; }

  .lightbox { padding: 72px 12px 96px; }
  .lightbox__img { max-height: calc(100vh - 220px); border-width: 3px; }
  .lightbox__caption { font-size: 14px; padding: 0 4px; }
  .lightbox__close { top: 14px; right: 14px; width: 48px; height: 48px; }
  .lightbox__nav--prev, .lightbox__nav--next { top: auto; bottom: 24px; transform: none; width: 48px; height: 48px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }

  .services__inner { padding-top: 72px; padding-bottom: 72px; }
  .services__cols { gap: 44px; }
  .svc { padding: 20px 0; gap: 10px; }
  .svc__title { font-size: 22px; flex-basis: 100%; }
  .svc__list { font-size: 15px; gap: 4px 20px; }

  .reviews { padding-top: 72px; padding-bottom: 72px; }
  .reviews .section-head { margin-bottom: 36px; }
  .stars svg { width: 13px; height: 13px; }
  .quotes { gap: 28px; }
  .quote figcaption { margin-top: 22px; font-size: 14px; }

  .estimate__inner { padding: 72px 16px 40px; gap: 32px; }
  .estimate__intro { padding: 0 4px; }
  .estimate__lede { font-size: 16px; margin-top: 20px; }
  .estimate__direct { margin-top: 24px; }
  .estimate__panel { flex-basis: 100%; border-radius: 8px; padding: 26px 20px; }
  .estimate-form { gap: 26px; }
  .chip { font-size: 14px; padding: 0 16px; }
  .field input, .field textarea { font-size: 17px; }
  .estimate-form__actions { flex-direction: column-reverse; align-items: stretch; }
  .estimate-form__actions .pill { width: 100%; }
  .estimate-form__note { text-align: center; }
  .form-success { min-height: 420px; }

  .site-footer { padding-top: 48px; padding-bottom: 40px; }
  .site-footer__top { padding-bottom: 36px; gap: 32px; }
  .site-footer__logo { height: 40px; }
  .site-footer__cols { flex-direction: column; gap: 24px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
