/* SV Construction — brand tokens from the brand board */
:root {
  --ember: #db4a2b;
  --navy: #2c3e50;
  --steel: #71716e;
  --white: #ffffff;
  --black: #000000;
  --mist: #f3f3f3;
  --rule: rgba(44, 62, 80, 0.2);
  --rule-light: rgba(255, 255, 255, 0.22);

  --display: "Bebas Neue", "Oswald", "Arial Narrow", "Liberation Sans Narrow", Impact, sans-serif;
  --label: "Oswald", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.section-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--navy); padding: .75rem 1rem; font-family: var(--label);
}
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
h1 { font-size: clamp(3.25rem, 8.2vw, 6.75rem); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); }
h3 { font-family: var(--label); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: .55rem 1.25rem;
  font-family: var(--label); font-weight: 500; font-size: 1.05rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, color .22s ease, border-color .22s ease;
}
/* a darker fill sweeps across on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .22); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-lg { min-height: 3.5rem; padding: .7rem 1.75rem; font-size: 1.2rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ember); color: var(--white); }
.btn-primary::before { background: #b5381c; }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: var(--white); background: transparent; }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--navy); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(44, 62, 80, .16); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 3.5rem; height: 3.5rem; }
.brand-name { text-transform: uppercase; font-family: var(--display); font-size: 1.9rem; line-height: 1; letter-spacing: .02em; color: var(--navy); }

.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  font-family: var(--label); font-size: 1.05rem; text-decoration: none; color: var(--navy);
  padding-block: .4rem; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--ember); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { font-family: var(--label); font-weight: 500; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--ember); }

.menu-btn {
  display: none; margin-left: auto;
  font-family: var(--label); font-size: 1.05rem; color: var(--navy);
  background: none; border: 2px solid var(--navy); border-radius: 2px;
  min-height: 2.75rem; padding: .3rem .9rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-lede { margin-top: 1.5rem; max-width: 34rem; font-size: 1.2rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.1rem; font-family: var(--label); font-size: 1.1rem; color: rgba(255, 255, 255, .8); }

/* Photo slideshow, captioned by a dimension line */
.hero-media { min-width: 0; }
.dimline {
  display: flex; align-items: center; gap: .8rem; height: 1.5rem; margin-bottom: .7rem;
  border-inline: 2px solid var(--ember);
  font-family: var(--label); font-size: 1.05rem; letter-spacing: .04em; color: #ffa58c; white-space: nowrap;
}
.dimline::before, .dimline::after { content: ""; flex: 1; height: 2px; background: var(--ember); }
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #24333f; box-shadow: 0 24px 48px rgba(0, 0, 0, .3); }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.slide.is-active img { transform: scale(1); }
.slide-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.ticks { display: flex; }
.tick { position: relative; width: 2.6rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.tick::before {
  content: ""; position: absolute; left: 0; right: .4rem; top: 50%; height: 3px; margin-top: -1.5px;
  background: rgba(255, 255, 255, .35); transition: background-color .2s ease, height .2s ease, margin .2s ease;
}
.tick:hover::before { background: var(--white); }
.tick.is-active::before { background: var(--ember); height: 7px; margin-top: -3.5px; }
.slide-nav { display: flex; gap: .5rem; }
.slide-btn {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0;
  color: var(--white); background: transparent; border: 2px solid rgba(255, 255, 255, .6); border-radius: 2px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.slide-btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.slide-btn:active { transform: scale(.94); }
.slide-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Tape-measure strip */
.ruler {
  height: 1.75rem; background-color: var(--ember);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.95) 0 2px, transparent 2px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 1px, transparent 1px 8px);
  background-size: 100% 100%, 100% 62%, 100% 34%;
  background-repeat: no-repeat;
  background-position: 16px 0;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head p { margin-top: .9rem; font-size: 1.15rem; color: var(--steel); }
.section-navy .section-head p { color: rgba(255, 255, 255, .8); }

/* ---------- Services ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); }
.feature-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); margin-bottom: 1.4rem; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .feature-photo img { transform: scale(1.06); }
.feature h3 { font-size: 1.5rem; }
.feature h3 a, .service h3 a { text-decoration: none; }
.feature h3 a:hover, .service h3 a:hover { color: var(--ember); text-decoration: underline; text-underline-offset: .2em; }
.more { display: inline-block; margin-top: 1.1rem; font-family: var(--label); font-weight: 500; font-size: 1.1rem; color: var(--ember); text-underline-offset: .25em; }
.more:hover { color: var(--navy); }
.spec-light { margin-top: 0; border-top-color: var(--rule-light); }
.spec-light li { border-bottom-color: var(--rule-light); }
.promises a { color: var(--navy); text-underline-offset: .2em; }
.feature p { margin-top: .6rem; color: var(--steel); }
.spec { margin-top: 1.1rem; border-top: 1px solid var(--rule); }
.spec li { padding: .6rem 0 .6rem 1.4rem; border-bottom: 1px solid var(--rule); position: relative; font-size: 1rem; font-weight: 500; }
.spec li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .7rem; height: 2px; background: var(--ember); }

.service-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.service { position: relative; display: block; padding-block: 1.4rem; border-top: 2px solid var(--navy); text-decoration: none; }
.service::before { content: ""; position: absolute; left: 0; top: -2px; width: 0; height: 2px; background: var(--ember); transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.service:hover::before, .service:focus-visible::before { width: 100%; }
.service h3 { transition: color .2s ease; }
.service h3::after { content: "\203A"; display: inline-block; margin-left: .45rem; color: var(--ember); transition: transform .2s ease; }
.service:hover h3 { color: var(--ember); }
.service:hover h3::after { transform: translateX(.35rem); }
.service p { margin-top: .4rem; color: var(--steel); font-size: 1rem; }

/* ---------- Work gallery with filters (home) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .35rem 1rem;
  font-family: var(--label); font-size: 1.05rem; white-space: nowrap; color: var(--white);
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 2px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.chip:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--ember); border-color: var(--ember); }
.chip-n { font-size: .85rem; opacity: .75; }
.photos.photos-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photos.photos-home .photo { background: #24333f; }
.photos.photos-home.is-featured li:first-child { grid-column: span 2; grid-row: span 2; }
.photos.photos-home.is-featured li:first-child .photo { aspect-ratio: auto; height: 100%; }
.photos li[hidden] { display: none; }
.work-more { margin-top: 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .photos.photos-home li { animation: pop .4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- Service pages ---------- */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: end;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.25rem); }
.back {
  display: inline-block; margin-bottom: 1.25rem; font-family: var(--label); font-size: 1.05rem;
  color: rgba(255,255,255,.8); text-underline-offset: .25em;
}
.back::before { content: "\2039\00a0"; }
.back:hover { color: var(--white); }

.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.photo { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--mist); overflow: hidden; cursor: zoom-in; }
.photo { position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.photo::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--ember); transition: border-width .2s ease; pointer-events: none; }
button.photo:hover img { transform: scale(1.06); }
button.photo:hover::after, button.photo:focus-visible::after { border-width: 4px; }

.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.h2-small { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 1.5rem; }
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; }
.others li { border-top: 2px solid var(--navy); }
.others a { display: block; padding: .85rem 0 1.1rem; font-family: var(--label); font-size: 1.15rem; text-decoration: none; }
.others a:hover { color: var(--ember); }

/* Photo viewer */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 3.75rem 1rem 3.25rem; border: 0; background: rgba(0, 0, 0, .94); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 7.5rem); margin-inline: auto; object-fit: contain; }
.lightbox button {
  font-family: var(--label); font-size: 1.05rem; color: var(--white); background: transparent;
  border: 2px solid rgba(255,255,255,.6); border-radius: 2px; min-height: 2.75rem; padding: .3rem .9rem; cursor: pointer;
}
.lightbox button:hover { background: var(--white); color: var(--black); }
.lightbox :focus-visible { outline-color: var(--white); }
.lb-close { position: absolute; top: .6rem; right: 1rem; }
.lb-count { position: absolute; bottom: .9rem; left: 0; right: 0; text-align: center; font-family: var(--label); }

/* ---------- Process ---------- */
.steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem;
  border-top: 2px solid var(--navy);
}
.steps li { position: relative; padding-top: 1.6rem; }
.steps li::before { content: ""; position: absolute; left: 0; top: -2px; width: 2px; height: 1rem; background: var(--navy); }
.step-n { display: block; font-family: var(--display); font-size: 3.5rem; line-height: 1; color: var(--ember); }
.steps h3 { margin-top: .5rem; }
.steps p { margin-top: .45rem; font-size: 1rem; color: var(--steel); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { position: relative; max-width: 26rem; }
.about-photo .portrait { width: 100%; height: auto; }
.about-photo .seal { position: absolute; right: -1.5rem; bottom: 1.25rem; width: 7.5rem; height: 7.5rem; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.about-photo figcaption { margin-top: .7rem; font-family: var(--label); font-size: 1.05rem; color: var(--steel); }
.about-copy > p { margin-top: 1.1rem; max-width: 38rem; }
.promises { margin-top: 1.75rem; border-top: 1px solid var(--rule); max-width: 38rem; }
.promises > div { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.promises dt { font-family: var(--label); font-weight: 500; font-size: 1.2rem; }
.promises dd { margin-top: .2rem; color: var(--steel); font-size: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy > p { margin-top: 1rem; max-width: 30rem; color: rgba(255,255,255,.85); }
.big-phone {
  display: inline-block; margin-top: 1.5rem;
  font-family: var(--display); font-size: clamp(2.75rem, 6vw, 4.25rem); line-height: 1;
  text-decoration: none; color: var(--white); border-bottom: 3px solid var(--ember);
}
.big-phone:hover { color: #ffb29d; }
.contact-facts { margin-top: 2.25rem; border-top: 1px solid var(--rule-light); max-width: 30rem; }
.contact-facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--rule-light); }
.contact-facts dt { font-family: var(--label); color: rgba(255,255,255,.7); }
.contact-facts dd { overflow-wrap: anywhere; }
.contact-facts a { text-underline-offset: .2em; }

.estimate-form { background: var(--white); color: var(--navy); padding: clamp(1.5rem, 3.5vw, 2.5rem); border-top: 6px solid var(--ember); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--label); font-weight: 500; font-size: 1rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .65rem .8rem;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white); border: 1.5px solid var(--steel); border-radius: 2px;
}
.field textarea { resize: vertical; }
.optional { font-weight: 400; color: var(--steel); }
.form-note { margin-top: .9rem; text-align: center; font-family: var(--label); font-size: 1.05rem; color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--ember); outline-offset: 0; border-color: var(--ember);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.82); font-size: 1rem; }
.footer-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.25rem 2.25rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 4rem; height: 4rem; flex-shrink: 0; }
.footer-name { text-transform: uppercase; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: var(--white); letter-spacing: .02em; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.footer-nav a, .footer-contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.footer-social { display: flex; gap: 1.25rem; margin-top: .4rem; }
.footer-contact > a:first-child { font-family: var(--label); font-size: 1.3rem; color: var(--white); }
.footer-legal { margin: 0; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: rgba(255,255,255,.6); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Thanks page ---------- */
.thanks-page { background: var(--navy); color: var(--white); }
.thanks { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.25rem; padding: 2rem var(--gutter); }
.thanks p { max-width: 32rem; color: rgba(255,255,255,.86); }
.thanks :focus-visible { outline-color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 68rem) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--rule); padding: .5rem var(--gutter) 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: .8rem; border-bottom: 1px solid var(--rule); font-size: 1.15rem; }
  .menu-btn { display: inline-flex; align-items: center; order: 3; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.25rem; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 40rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
  .feature-photo { max-width: 34rem; }
  .photos.photos-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photos.photos-home.is-featured li:first-child { grid-column: span 3; grid-row: auto; }
  .photos.photos-home.is-featured li:first-child .photo { aspect-ratio: 16 / 9; height: auto; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid { align-items: start; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-photo { max-width: 22rem; }
  .about-photo .seal { right: -.75rem; width: 6rem; height: 6rem; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
  body { font-size: 1rem; padding-bottom: 4.5rem; }
  .header-row { gap: .75rem; min-height: 4.25rem; }
  .brand img { width: 3rem; height: 3rem; }
  .brand-name { font-size: 1.55rem; }
  .header-actions { display: none; }
  .menu-btn { margin-left: auto; }
  .hero-actions .btn { width: 100%; }
  .service-list { grid-template-columns: 1fr; }
  .photos.photos-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos.photos-home.is-featured li:first-child { grid-column: span 2; }
  .photos.photos-home.is-featured li:first-child .photo { aspect-ratio: 4 / 3; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .tick { width: 2.1rem; }
  .photos { gap: .5rem; }
  .others { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; padding-bottom: 6.5rem; }
  .lightbox img { grid-column: 1 / -1; grid-row: 1; max-height: calc(100dvh - 12rem); }
  .lb-prev, .lb-next { grid-row: 2; }
  .lb-count { top: 1.2rem; bottom: auto; left: 1rem; right: auto; }
  .steps { grid-template-columns: 1fr; row-gap: 0; border-top: 0; border-left: 2px solid var(--navy); }
  .steps li { padding: 0 0 1.75rem 1.5rem; }
  .steps li::before { left: -2px; top: 1.6rem; width: 1rem; height: 2px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-facts > div { grid-template-columns: 1fr; gap: .1rem; }
  .footer-row { grid-template-columns: 1fr; gap: 1.75rem; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 2fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--navy); border-top: 1px solid var(--rule-light);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn::before, .photo img, .feature-photo img, .slide, .slide img, .service::before { transition: none; }
  .slide img { transform: none; }
  .btn:hover { transform: none; }
}
