/* Ace of Trades Plumbing: site styles. One file, no build step. Sections follow page order. */

/* ---------- Tokens ---------- */
:root {
  --ink: #141416;
  --ink-2: #1b1b1f;
  --ink-3: #25252a;
  --ink-line: #34343a;
  --paper: #FBF8F2;
  --cream: #F4ECDC;
  --cream-2: #EADFC8;
  --red: #B3121B;
  --red-700: #93101A;
  --red-800: #6f0c13;
  --red-tint: #FBECEC;
  --flame: #FF7A1A;
  --text: #1a1a1d;
  --muted: #5c5850;
  --line: #E3DAC8;
  --field: #8a8170;
  --on-dark: #F7F1E3;
  --on-dark-2: #C9C1B2;
  --on-dark-3: #8f897e;

  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 22, .06), 0 10px 28px rgba(20, 20, 22, .08);
  --shadow-lg: 0 2px 6px rgba(20, 20, 22, .08), 0 28px 64px rgba(20, 20, 22, .18);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --f-head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-700); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; border-radius: 6px; }
/* On dark and red backgrounds the ring turns orange or white so it stays easy to see. */
.header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible,
.footer :focus-visible, .callbar :focus-visible, .call-card :focus-visible { outline-color: var(--flame); box-shadow: 0 0 0 2px var(--ink); }
.cta :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px var(--red-800); }
.nw { white-space: nowrap; }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.i {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(179, 18, 27, .28); }
.btn--red:hover { background: var(--red-700); color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 58px; padding: .8em 1.7em; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-family: var(--f-head); font-weight: 700; text-decoration: none;
}
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  position: relative; display: block; padding: .5em .75em; border-radius: 8px;
  color: var(--on-dark-2); text-decoration: none;
  font-family: var(--f-head); font-weight: 600; font-size: .98rem;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75em; right: .75em; bottom: .1em;
  height: 2px; border-radius: 2px; background: var(--flame);
}
.header-call, .nav-toggle { display: none; }
.nav__home { display: none; } /* the logo is the home link on desktop; the popout menu lists Home first */

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(48px, 7vw, 96px) 0 clamp(104px, 11vw, 150px);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 70% at 88% 25%, rgba(179, 18, 27, .42), transparent 62%),
    radial-gradient(40% 50% at 65% 100%, rgba(255, 122, 26, .16), transparent 60%);
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.hero .lead { color: var(--on-dark-2); margin-bottom: 32px; }
.hero__note { display: flex; align-items: center; gap: .55em; margin: 20px 0 0; font-weight: 600; color: var(--on-dark); }
.hero__note .i { color: var(--flame); }
.hero__media { position: relative; }
.hero__photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}
.hero__award {
  position: absolute; top: -26px; right: -20px; margin: 0;
  width: 124px; padding: 6px; border-radius: 18px;
  background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  transform: rotate(3deg);
}
.hero__award img { border-radius: 13px; }
.hero__card {
  position: absolute; left: -28px; bottom: -32px;
  display: flex; align-items: center; gap: 14px; max-width: 340px;
  padding: 12px 20px 12px 12px; border-radius: var(--r);
  background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.hero__card:hover { color: var(--ink); transform: translateY(-2px); }
.hero__card-play {
  width: 56px; height: 56px; flex: none; border-radius: 14px;
  display: grid; place-items: center; background: var(--red); color: #fff;
}
.hero__card-play .i { width: 24px; height: 24px; }
.hero__card-txt strong { display: block; font-family: var(--f-head); font-size: 1.02rem; line-height: 1.25; }
.hero__card-txt > span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; }

/* ---------- Trust strip ---------- */
.trust {
  position: relative; z-index: 2; margin: -60px 0 0; padding: 10px; list-style: none;
  /* Auto columns: each item gets the width its text needs, so lines only wrap when the screen is too narrow. */
  display: grid; grid-template-columns: repeat(4, auto);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.trust li { display: flex; align-items: center; gap: 12px; padding: 16px 14px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust__icon {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  display: grid; place-items: center; background: var(--red-tint); color: var(--red);
}
.trust__icon .i { width: 27px; height: 27px; }
.trust__txt strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.trust__txt > span { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.4; margin-top: 2px; text-wrap: balance; }
.google-reviews-link { margin: 10px 0 0; text-align: center; }
.reviews-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.reviews-feature__copy { max-width: 64ch; }
.reviews-feature h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.reviews-feature__copy > p:last-child { margin: 0; color: var(--muted); }
.reviews-feature__rating {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}
.reviews-feature__stars { color: #F4B400; font-size: 1.55rem; letter-spacing: .12em; line-height: 1.2; }
.reviews-feature__score { display: flex; align-items: baseline; gap: 5px; margin: 0; color: var(--ink); }
.reviews-feature__score strong { font-family: var(--f-head); font-size: 2.7rem; line-height: 1; }
.reviews-feature__score span { color: var(--muted); }
.reviews-feature__count { margin: 0; font-weight: 700; color: var(--ink); }
.reviews-feature__date, .reviews-feature__note { margin: 0; color: var(--muted); font-size: .92rem; }
.reviews-feature__rating .btn { width: 100%; justify-content: center; margin-top: 8px; white-space: normal; }
@media (max-width: 760px) {
  .reviews-feature { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--snug { padding-top: clamp(36px, 5vw, 64px); }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--dark { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; overflow: clip; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-2); }
.section--dark a:not(.btn) { color: #fff; }
.section--glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 12% 20%, rgba(179, 18, 27, .3), transparent 65%);
}
.section--glow > .wrap { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem;
  font-family: var(--f-head); font-weight: 700; font-size: .875rem; line-height: 1.3;
  letter-spacing: .13em; text-transform: uppercase; color: var(--red); text-wrap: balance;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow { color: var(--flame); }
/* A list of cities: the dots between them come from CSS, so a wrapped line never starts with one. */
/* Every city gets a dot in front of it. The list is pulled left by one dot and that strip is clipped,
   so the dot that starts each line (including after a wrap) is hidden. */
.eyebrow--cities::before { content: none; }
.eyebrow--cities > span { display: flex; flex-wrap: wrap; margin-left: -1.4em; clip-path: inset(0 0 0 1.4em); }
.eyebrow--cities .nw::before { content: "\00B7"; display: inline-block; width: 1.4em; text-align: center; }

.section-head { max-width: 740px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head p:last-child { margin-bottom: 0; }
.section--dark .section-head p { color: var(--on-dark-2); }
.section-head--compact { margin-bottom: clamp(20px, 2.5vw, 28px); }
.section-head--compact h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .35em; }
.section-head--compact p { font-size: 1rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card__icon {
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px;
  display: grid; place-items: center; background: var(--red-tint); color: var(--red);
}
.card__icon .i { width: 28px; height: 28px; }
.card h3 { font-size: 1.18rem; margin-bottom: .4em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* Home service cards: one- and two-line titles start their text on the same line. */
@media (min-width: 561px) { .page-index .cards .card h3 { min-height: 2.5em; } }
/* Where subgrid works, each row of cards shares one grid so titles and actions line up exactly. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 561px) {
    .page-index .cards > li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
    .page-index .cards .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
    .page-index .cards .card h3 { min-height: 0; }
  }
}
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 1em; }
.card p:last-child { margin-bottom: 0; }
/* Home service cards: pair a phone request with direct service details. */
.card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.card__book { align-self: start; justify-self: start; min-height: 48px; padding: .55em 1.3em; font-size: .98rem; box-shadow: none; }
.card__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--red); text-underline-offset: 3px; }
.card__more:hover { color: var(--red-700); }
.cards-more { margin: 32px 0 0; text-align: center; }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-line); }
.section--dark .card p { color: var(--on-dark-2); }
.section--dark .card__icon { background: rgba(255, 122, 26, .12); color: var(--flame); }

/* ---------- 3D explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: clamp(24px, 3vw, 40px); align-items: start; }
.explorer__stage {
  position: sticky; top: calc(var(--header-h) + 16px); z-index: 3;
  aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f4f0e9 55%, #e6dfd3 100%);
  box-shadow: 0 24px 60px rgba(20, 20, 22, .13), 0 0 0 1px var(--line);
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.explorer__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; }
.explorer__canvas:active { cursor: grabbing; }
.explorer__canvas:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; box-shadow: none; border-radius: var(--r-lg); }
.explorer__bubbles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.explorer__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45em; padding: .5em .85em;
  border-radius: 999px; background: rgba(20, 20, 22, .72); color: #fff;
  font-size: .78rem; font-weight: 600; line-height: 1; letter-spacing: .02em;
  backdrop-filter: blur(6px); pointer-events: none;
}
.explorer__tag .i { color: var(--flame); }
.explorer__tools { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; gap: 8px; }
.xbtn {
  width: 46px; height: 46px; padding: 0; flex: none;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.xbtn:hover { background: var(--cream); border-color: #cfc5b2; }
.xbtn:disabled { opacity: .35; cursor: default; background: #fff; }
.xbtn .i { width: 22px; height: 22px; }
.explorer__tools .xbtn { border-color: rgba(255, 255, 255, .16); background: rgba(20, 20, 22, .72); color: #fff; backdrop-filter: blur(6px); }
.explorer__tools .xbtn:hover { border-color: rgba(255, 255, 255, .32); background: rgba(20, 20, 22, .92); }
.explorer__hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 0; margin: 0;
  width: max-content; max-width: calc(100% - 28px); padding: .55em 1em;
  border-radius: 999px; background: rgba(20, 20, 22, .92); color: #fff;
  font-size: .86rem; font-weight: 500; line-height: 1.3; text-align: center;
  pointer-events: none; opacity: 0; transform: translate(-50%, 6px);
  transition: opacity .3s, transform .3s;
}
.explorer__hint.is-shown { opacity: 1; transform: translate(-50%, 0); }
.explorer__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px;
  background: rgba(20, 20, 22, .1); opacity: 0; transition: opacity .3s;
}
.explorer__bar > span { display: block; height: 100%; background: var(--flame); transform: scaleX(0); transform-origin: left; transition: background-color .2s; }
.explorer.is-playing .explorer__bar { opacity: 1; }
.explorer.is-paused .explorer__bar > span { background: rgba(20, 20, 22, .35); }
.explorer__paused {
  position: absolute; top: 54px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45em; padding: .5em .85em;
  border-radius: 999px; background: rgba(20, 20, 22, .82); color: #fff;
  font: 700 .75rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.explorer__paused .i { width: 14px; height: 14px; color: var(--flame); }
.explorer.is-paused .explorer__paused { opacity: 1; }

/* Messages for loading, no JavaScript, a page opened as a file, and browsers without 3D */
.explorer__msg {
  position: absolute; inset: 0; z-index: 3; margin: 0; padding: 28px;
  display: none; place-content: center; justify-items: center; gap: 14px;
  text-align: center; font-size: 1rem; line-height: 1.5;
}
.explorer__msg .i { width: 34px; height: 34px; color: var(--red); }
.explorer:not(.is-live) .explorer__msg--nojs,
.is-file .explorer:not(.is-live) .explorer__msg--file,
.explorer.is-loading .explorer__msg--loading,
.explorer.is-fallback .explorer__msg--fallback { display: grid; }
.is-file .explorer:not(.is-live) .explorer__msg--nojs { display: none; }
.explorer__msg--loading::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(20, 20, 22, .12); border-top-color: var(--red);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.explorer:not(.is-live) .explorer__stage, .explorer.is-fallback .explorer__stage { position: relative; top: auto; aspect-ratio: auto; }
.explorer:not(.is-live) .explorer__msg, .explorer.is-fallback .explorer__msg { position: relative; inset: auto; }
.explorer:not(.is-live) :is(.explorer__tools, .explorer__hint, .explorer__bar, .explorer__nav),
.explorer.is-fallback :is(.explorer__tools, .explorer__hint, .explorer__bar, .explorer__paused, .explorer__auto, .explorer__tip, [data-toggle], [data-replay]) { display: none; }

/* Step list. Without JavaScript every step is open; with it, only the current one. */
.explorer__panel { min-width: 0; }
/* Count and autoplay on top; back, pause, replay and next below */
.explorer__nav {
  display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); gap: 10px; align-items: center;
  margin-bottom: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.explorer__count { grid-column: 1 / 4; margin: 0 0 2px; font: 700 .9375rem/1.3 var(--f-head); letter-spacing: .13em; text-transform: uppercase; color: var(--red); }
.explorer__nav .xbtn { width: 52px; height: 52px; }
.explorer.is-paused [data-toggle] { border-color: var(--red); color: var(--red); }
.explorer__next { width: 100%; padding-inline: 1em; }
.explorer__auto {
  grid-column: 4; justify-self: end; margin-bottom: 2px;
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: 0 .95em 0 .5em;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--muted); font: 700 .875rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.explorer__auto:hover { background: var(--cream); border-color: #cfc5b2; color: var(--ink); }
.explorer__switch { position: relative; width: 30px; height: 18px; flex: none; border-radius: 999px; background: #d3cabb; transition: background-color .2s; }
.explorer__switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: translate .2s; }
.explorer__auto[aria-pressed="true"] { border-color: rgba(179, 18, 27, .4); color: var(--ink); }
.explorer__auto[aria-pressed="true"] .explorer__switch { background: var(--red); }
.explorer__auto[aria-pressed="true"] .explorer__switch::after { translate: 12px 0; }
.explorer__tip { margin: 14px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.explorer:not(.is-live) .explorer__tip { display: none; }
.explorer__more { margin: 18px 0 0; }
/* Job picker: one row of big buttons above the model. The job on show is red. */
.xpick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: calc(-1 * clamp(8px, 1.5vw, 20px)); }
.xpick__btn {
  min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  color: var(--ink); font: 700 1rem/1.2 var(--f-head); text-align: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.xpick__btn .i { width: 28px; height: 28px; color: var(--red); transition: color .2s; }
.xpick__btn:hover { background: var(--cream); border-color: #cfc5b2; }
.xpick__btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; box-shadow: none; }
.xpick__btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.xpick__btn[aria-pressed="true"] .i { color: #fff; }
.explorer:not(.is-live) .xpick, .explorer.is-expanded .xpick { display: none; }
@media (max-width: 420px) { .xpick { gap: 8px; } .xpick__btn { padding: 10px 6px; font-size: .9375rem; } }
/* Each job's list. Without JavaScript all three show, each under its own title. */
.xjob + .xjob { margin-top: 36px; }
.xjob__title { margin: 0 0 12px; font-size: 1.2rem; color: var(--ink); }
.explorer.is-live .xjob__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.xsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.xstep { position: relative; border: 1px solid transparent; border-radius: var(--r); transition: background-color .2s, border-color .2s; }
.xstep__h { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: 0; }
.xstep__btn {
  width: 100%; min-height: 52px; display: flex; align-items: center; gap: 14px; padding: 9px 14px;
  border: 0; border-radius: inherit; background: none; color: var(--ink); text-align: left; cursor: pointer;
  font: 700 1.04rem/1.3 var(--f-head);
}
.xstep__btn:hover { background: rgba(20, 20, 22, .04); }
.xstep__n {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid #d3cabb; color: var(--muted);
  font: 700 .92rem/1 var(--f-head);
  transition: background-color .25s, border-color .25s, color .25s;
}
.xstep__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease, visibility .3s; }
.xstep__in { min-height: 0; overflow: hidden; }
.xstep__body p { margin: 0; padding: 0 16px 14px 62px; font-size: 1rem; line-height: 1.55; color: var(--text); }
.xstep__notes { list-style: none; margin: -2px 0 0; padding: 0 16px 16px 62px; display: grid; gap: 6px; }
.xstep__notes li { position: relative; padding-left: 18px; font-size: .92rem; line-height: 1.45; color: var(--muted); transition: opacity .3s, color .3s; }
.xstep__notes li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); transition: box-shadow .3s; }
/* With the model running, each note is a button that opens its photos. */
.explorer.is-live:not(.is-fallback) .xstep__notes { padding: 0 8px 12px 54px; gap: 2px; }
.explorer.is-live:not(.is-fallback) .xstep__notes li { padding-left: 0; }
.explorer.is-live:not(.is-fallback) .xstep__notes li::before { left: 9px; top: 16px; }
.explorer.is-ready .xstep__notes li:not(.is-reached) { opacity: .5; }
.xstep__notes li.is-current { color: var(--ink); }
.xstep__notes li.is-current::before { box-shadow: 0 0 0 4px rgba(255, 122, 26, .28); }
.xnote {
  width: 100%; min-height: 44px; display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 8px 9px 26px; border: 0; border-radius: 10px;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.xnote:hover { background: rgba(20, 20, 22, .05); color: var(--ink); }
.xnote__t { flex: 1; min-width: 0; }
.xnote__go {
  flex: none; align-self: center; display: inline-flex; align-items: center; gap: .35em;
  font: 700 .875rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  opacity: .85; transition: opacity .2s;
}
.xnote__go .i { width: 15px; height: 15px; }
.xnote:hover .xnote__go, .xnote:focus-visible .xnote__go { opacity: 1; }
/* Notes without photos are plain labels. */
.xnote--text { cursor: default; }
.xnote--text:hover { background: none; color: inherit; }
.explorer:not(.is-live) .xstep__btn { cursor: default; pointer-events: none; }
.explorer.is-live .xstep:not(.is-active) .xstep__body { grid-template-rows: 0fr; visibility: hidden; }
.explorer.is-live .xstep.is-active { background: var(--paper); border-color: var(--line); }
.explorer.is-live .xstep.is-active .xstep__n { background: var(--red); border-color: var(--red); color: #fff; }
.explorer.is-live .xstep:has(~ .is-active) .xstep__n { border-color: rgba(179, 18, 27, .4); color: var(--red); }

/* Full screen: a fixed layer over the page, so it works on phones too */
.has-explorer-open { overflow: hidden; }
.explorer.is-expanded {
  position: fixed; inset: 0; z-index: 1000;
  grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: minmax(0, 1fr); gap: 0; align-items: stretch;
  background: #fff;
}
.explorer.is-expanded .explorer__stage { position: relative; top: auto; aspect-ratio: auto; max-height: none; border-radius: 0; box-shadow: none; }
.explorer.is-expanded .explorer__panel {
  overflow-y: auto; overscroll-behavior: contain;
  padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); border-left: 1px solid var(--line);
}

/* Notes: a dot on each part that changes, which follows the part, and the note cards in one
   fixed corner of the model, the newest at the bottom and the one before it above (at most two).
   bubbles.js sets the dots' positions and each card's place in the stack (--y). */
.bubble { position: absolute; left: 0; top: 0; visibility: hidden; transition: visibility 0s .3s, opacity .3s; }
.bubble.is-on { visibility: visible; transition-delay: 0s; }
.bubble.is-off { display: none; }
.bubble.is-behind { opacity: .4; }
.bubble__dot {
  position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; padding: 0; border-radius: 50%;
  background: var(--flame); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); cursor: pointer;
  scale: 0; transition: scale .3s cubic-bezier(.2, 1.5, .4, 1);
}
/* A larger target for fingers */
.bubble__dot::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; }
.bubble__dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--flame); opacity: 0;
}
.bubble.is-on .bubble__dot { scale: .8; pointer-events: auto; }
.bubble.is-lead .bubble__dot { scale: 1; }
.bubble.is-on .bubble__dot:hover { scale: 1.2; }
/* Notes without photos: the dot and card are labels only, and drags go through to the model. */
.bubble.bubble--label.is-on .bubble__dot, .bubble__card.bubble__card--label { pointer-events: none !important; }
.bubble.is-lead .bubble__dot::after { animation: bubble-pulse 2.6s ease-out .4s infinite; }
@keyframes bubble-pulse { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
.xcards { position: absolute; left: 14px; bottom: 18px; width: min(250px, calc(100% - 100px)); transition: opacity .2s; }
.bubble__card {
  position: absolute; left: 0; bottom: 0; width: max-content; max-width: 100%;
  display: grid; gap: 4px; padding: .55em .85em .6em .85em; border: 0; border-left: 4px solid var(--flame); border-radius: 10px;
  background: #fff; color: var(--ink); text-align: left; cursor: pointer;
  font: 600 .86rem/1.32 var(--f-body);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0), 0 10px 28px rgba(0, 0, 0, .38);
  visibility: hidden; opacity: 0; translate: 0 calc(var(--y, 0px) + 10px);
  transition: opacity .3s ease, translate .35s ease, box-shadow .6s, visibility 0s .35s;
}
.bubble__card.is-now, .bubble__card.is-prev { visibility: visible; translate: 0 var(--y, 0px); pointer-events: auto; transition-delay: 0s; }
.bubble__card.is-now { opacity: 1; }
.bubble__card.is-prev { opacity: .72; border-left-color: rgba(255, 122, 26, .45); }
.bubble__card.is-prev:hover { opacity: 1; }
.bubble__go {
  display: inline-flex; align-items: center; gap: .35em;
  font: 700 .875rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--red);
}
.bubble__go .i { width: 14px; height: 14px; }
.bubble__card.is-hot, .bubble__card.is-now:hover { box-shadow: 0 0 0 4px rgba(255, 122, 26, .55), 0 10px 28px rgba(0, 0, 0, .38); }
/* The start hint gives way to the notes. */
.explorer__bubbles.has-cards ~ .explorer__hint { opacity: 0; }

/* Photos for a note: a card in the middle of the model that stays put, one picture at a time. */
.xpop {
  position: absolute; left: 0; top: 0; z-index: 4;
  width: min(340px, calc(100% - 24px)); max-height: calc(100% - 24px);
  display: flex; flex-direction: column; gap: 10px; padding: 12px;
  border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  opacity: 0; scale: .4; transition: opacity .2s ease, scale .28s cubic-bezier(.2, 1.3, .4, 1);
}
.xpop[hidden] { display: none; }
.xpop.is-open { opacity: 1; scale: 1; }
.xpop:focus { outline: none; }
.xpop.is-docked { left: 50%; top: 50%; translate: -50% -50%; width: min(400px, calc(100% - 16px)); max-height: calc(100% - 16px); overflow-y: auto; overscroll-behavior: contain; }
.xpop__tail { position: absolute; top: var(--tail, 50%); width: 16px; height: 16px; margin-top: -8px; background: #fff; rotate: 45deg; }
.xpop[data-side="r"] .xpop__tail { left: -7px; }
.xpop[data-side="l"] .xpop__tail { right: -7px; }
.xpop.is-docked .xpop__tail { display: none; }
.xpop__head { display: flex; align-items: flex-start; gap: 10px; }
.xpop__head > div { flex: 1; min-width: 0; }
.xpop .xpop__step { margin: 2px 0 4px; font: 700 .8125rem/1.3 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.xpop .xpop__title { margin: 0; font: 700 1.06rem/1.3 var(--f-body); color: var(--ink); }
.xpop__close {
  flex: none; min-height: 44px; padding: 0 14px 0 10px;
  display: inline-flex; align-items: center; gap: .3em;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font: 700 1rem/1 var(--f-body); cursor: pointer; transition: background-color .2s, color .2s;
}
.xpop__close:hover { background: var(--ink); color: #fff; }
.xpop__close .i { width: 20px; height: 20px; }
.xpop__track {
  flex: 1 1 auto; min-height: 0; display: flex;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; border-radius: 10px; background: #101012;
}
.xpop__track::-webkit-scrollbar { display: none; }
.xpop__slide { position: relative; flex: 0 0 100%; height: 100%; aspect-ratio: 4 / 3; margin: 0; scroll-snap-align: start; }
.xpop__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.xpop__kind {
  position: absolute; left: 8px; top: 8px; padding: .45em .75em; border-radius: 999px;
  background: var(--red); color: #fff; font: 700 .8125rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase;
}
.xpop__kind--sim { background: rgba(20, 20, 22, .85); }
.xpop__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xpop__nav[hidden] { display: none; }
.xpop__btn {
  min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: .35em;
  border: 0; border-radius: 999px; background: var(--red); color: #fff;
  font: 700 1rem/1 var(--f-body); cursor: pointer; transition: background-color .2s;
}
.xpop__btn:hover { background: var(--red-700); }
.xpop__btn:disabled { background: #e7e3db; color: #8a857c; cursor: default; }
.xpop__btn .i { width: 20px; height: 20px; }
.xpop .xpop__count { margin: 0; font-size: .95rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
/* While the photos are open, the note card beside the dot steps back. */
.explorer.has-pop .xcards { opacity: 0; pointer-events: none; }
.explorer.has-pop .xcards .bubble__card { pointer-events: none; }

/* ---------- 3D explorer link (home, pipe lining) ---------- */
.xpeek { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.xpeek__copy > p:not(.eyebrow) { font-size: 1.08rem; }
.xpeek__copy .btn-row { margin-top: 28px; }
.xpeek__art {
  position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: var(--r-lg); text-decoration: none;
  background: radial-gradient(120% 90% at 50% 0%, #303036 0%, var(--ink-2) 55%, #101012 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .25s, box-shadow .25s;
}
.xpeek__art:hover { transform: translateY(-3px); box-shadow: 0 36px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 122, 26, .45); }
/* A still from the 3D model itself (the finished job), re-rendered when the model changes. */
.xpeek__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.xpeek__go {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45em; padding: .55em .9em;
  border-radius: 999px; background: rgba(20, 20, 22, .72); color: #fff;
  font-size: .8rem; font-weight: 600; line-height: 1; backdrop-filter: blur(6px);
}
.xpeek__go .i { color: var(--flame); }

/* ---------- Photo gallery ----------
   Each tile is sized to its own photo or clip, so nothing gets cut off. Order in the HTML:
   1 lined pipe (tall), 2 liner clip (wide), 3 roots (tall), 4 old pipe (tall), 5 roots clip (wide).
   Desktop is a bento: the two clips stacked | the lined pipe full height | two small photos stacked.
   Tablet and landscape phones use two even rows; phones use three (see the media queries). */
.gallery {
  display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, .857fr) minmax(0, .422fr); gap: 14px;
  max-width: 160vh; max-width: min(100%, 160svh); list-style: none; padding: 0; margin: 0 auto;
}
.gallery li { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); }
.gallery img, .gallery video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery li:nth-child(1) { grid-column: 2; grid-row: 1 / span 2; }
.gallery li:nth-child(2) { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; }
.gallery li:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery li:nth-child(4) { grid-column: 3; grid-row: 2; }
.gallery li:nth-child(5) { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; }
.gallery li:hover img, .gallery li:hover video { transform: scale(1.04); }
.gallery .clip__btn { top: 10px; bottom: auto; }
.gallery p {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 44px 16px 14px; color: #fff; font-size: .92rem; font-weight: 500; line-height: 1.4;
  background: linear-gradient(transparent, rgba(10, 10, 12, .86));
}
.gallery li:nth-child(3) p, .gallery li:nth-child(4) p { padding: 34px 12px 11px; font-size: .875rem; }

/* ---------- Job clips: short silent camera loops (site.js adds the Pause / Play button) ---------- */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0 0 clamp(36px, 5vw, 56px); }
.clips li { margin: 0; }
.clips p { margin: 10px 2px 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.clips p strong { display: block; color: var(--ink); font-size: 1rem; }
.clip { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--ink); box-shadow: var(--shadow); }
.clip video, .clip--still img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.clip__tag {
  position: absolute; left: 10px; top: 10px; padding: .45em .75em; border-radius: 999px;
  background: var(--red); color: #fff; font: 700 .75rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase;
}
.clip__btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 1.05em;
  border: 0; border-radius: 999px; background: rgba(20, 20, 22, .82); color: #fff;
  font: 600 .86rem/1 var(--f-body); cursor: pointer; backdrop-filter: blur(6px);
}
.clip__btn:hover { background: var(--ink); }
.clip__btn:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
.svc__media .clip { border-radius: var(--r-lg); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step__top::before {
  counter-increment: step; content: "0" counter(step);
  font: 800 1rem/1 var(--f-head); letter-spacing: .08em; color: var(--red);
}
.step__top .i { width: 30px; height: 30px; color: var(--ink); opacity: .75; }
.step h3 { font-size: 1.15rem; margin-bottom: .35em; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Area (home) ---------- */
.area { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.area__map {
  position: relative; overflow: hidden; aspect-ratio: 2 / 3; width: min(100%, 52vh); width: min(100%, 52svh); margin-inline: auto;
  border-radius: var(--r-lg); background: var(--ink); box-shadow: var(--shadow-lg);
}
.area__map img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.city-links { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.city-links a {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem;
  transition: border-color .2s, box-shadow .2s;
}
.city-links a:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--ink); }
.city-links .i { color: var(--red); width: 24px; height: 24px; }
.city-links .i:last-child { margin-left: auto; color: var(--muted); width: 20px; height: 20px; }

/* ---------- Call to action band ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(52px, 6vw, 76px) 0;
  background: linear-gradient(115deg, var(--red-800) 0%, var(--red) 55%, #c42a1d 100%);
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, .35), transparent 65%); pointer-events: none;
}
.cta__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25em; font-size: clamp(2rem, 3.8vw, 3rem); }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.12rem; }

/* ---------- Social links: big, labeled buttons, light on dark by default ---------- */
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social .social__link {
  min-height: 48px; padding: 0 18px 0 14px; display: inline-flex; align-items: center; gap: .5em;
  border: 2px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #fff; text-decoration: none;
  font-weight: 700; transition: background-color .2s, border-color .2s;
}
.social .social__link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; text-decoration: none; }
.social .i { width: 22px; height: 22px; }
.call-card__h { margin: 26px 0 12px; font-size: 1.05rem; color: #fff; }
.follow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 32px; text-align: center; }
.follow p { margin: 0; font-weight: 600; }
.follow .social .social__link { border-color: var(--line); color: var(--ink); background: #fff; }
.follow .social .social__link:hover { border-color: var(--red); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.follow .social .i { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(56px, 7vw, 84px) 0 0; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 142px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 24em; }
.footer__h { margin: 6px 0 18px; font: 700 .875rem/1 var(--f-head); letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-3); }
/* Comes after .footer__h so its shorthand margin doesn't cancel the extra space above "Follow us". */
.footer__h.footer__h--follow { margin-top: 30px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; line-height: 1.35; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__phone { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font: 800 1.8rem/1.1 var(--f-head); color: #fff !important; letter-spacing: -.01em; }
.footer__lic, .footer__areas, .footer__hours { display: flex; align-items: flex-start; gap: .55em; font-size: 1rem; }
.footer__lic .i, .footer__areas .i, .footer__hours .i { margin-top: .15em; color: var(--flame); }
.footer__base {
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  position: relative; margin-top: 52px; padding-top: 22px; padding-bottom: 28px;
  font-size: 1rem; color: var(--on-dark-3);
}
/* The divider lines up with the columns above instead of running to the screen edges. */
.footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--ink-line); }
.footer__base p { margin: 0; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(52px, 7vw, 92px) 0 clamp(52px, 6vw, 80px); }
.page-hero__in { position: relative; }
.page-hero h1 { color: #fff; max-width: 15em; }
.page-hero .lead { color: var(--on-dark-2); }
.page-hero--split .page-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
}
.page-hero__photo.m-port { aspect-ratio: 4 / 5; width: min(100%, 440px, 58vh); width: min(100%, 440px, 58svh); margin-left: auto; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero--tight { padding: clamp(40px, 5vw, 64px) 0 clamp(36px, 4vw, 52px); }
.page-hero--tight .lead { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 30px 0 0; }
/* Wide screens: the chips sit in even rows of four (three for the cities) instead of a ragged wrap. */
@media (min-width: 960px) {
  .page-hero .chips { display: grid; grid-template-columns: repeat(4, max-content); }
  .page-hero .chips a { width: 100%; }
}
@media (min-width: 761px) {
  .page-hero .chips--3 { display: grid; grid-template-columns: repeat(3, max-content); }
}
.chips a {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .5em 1.05em;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background-color .2s, border-color .2s;
}
.chips a:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); color: #fff; }
.chips .i { width: 1.1em; height: 1.1em; color: var(--flame); }

/* ---------- Services detail ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; padding: clamp(52px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.svc__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc__media--pair img { aspect-ratio: 3 / 4; }
.svc__media--tall img { aspect-ratio: 1 / 1; }
/* One tall photo and one wide photo or clip: the tall one sits back, the wide one overlaps its lower
   corner. Both keep their own shape. Even sections mirror it. */
.svc__media--mix { position: relative; width: 100%; max-width: 118vh; max-width: min(100%, 118svh); margin-inline: auto; }
.svc__media--mix > .m-port { width: 62%; aspect-ratio: 3 / 4; }
.svc__media--mix > .m-land { position: absolute; right: 0; bottom: 8%; width: 58%; aspect-ratio: 16 / 9; box-shadow: 0 0 0 7px var(--paper), var(--shadow-lg); }
.svc__media--mix > .m-43 { width: 58%; aspect-ratio: 4 / 3; }
.svc:nth-child(even) .svc__media--mix > .m-port { margin-left: auto; }
.svc:nth-child(even) .svc__media--mix > .m-land { right: auto; left: 0; }
/* Small, bounded movement keeps both cards within the service media column. */
.svc__media--mix > .m-land { z-index: 1; transition: width .24s ease, transform .24s ease; }
.svc__media--mix.is-video-front > .m-land { z-index: 2; }
.svc__media--mix.is-video-active > .m-land { width: 62%; transform: translateY(-2%); }
.svc__media--mix .clip__btn { top: 10px; bottom: auto; }
.svc__media--duo > [data-clip] { z-index: 0; transform-origin: left center; transition: transform .24s ease; }
.svc__media--duo > :last-child { z-index: 1; transition: transform .24s ease; }
.svc__media--duo > [data-clip].is-video-front { z-index: 2; }
.svc__media--duo.is-video-active > [data-clip].is-video-active { transform: translateY(-6%) scale(1.05); }
.svc:nth-child(even) .svc__media--duo.is-video-active > [data-clip].is-video-active { transform-origin: right center; }
.svc__media--duo > [data-clip]:last-child.is-video-active { transform-origin: right center; }
.svc__media--duo.is-video-active > :last-child:not([data-clip]) { transform: translateY(4%) scale(.97); }
/* Two wide ones: stacked and staggered. */
.svc__media--duo { display: grid; width: 100%; max-width: 92vh; max-width: min(100%, 92svh); margin-inline: auto; }
.svc__media--duo > .clip, .svc__media--duo > img { width: 84%; aspect-ratio: 16 / 9; }
.svc__media--duo > :last-child { position: relative; justify-self: end; margin-top: -9%; box-shadow: 0 0 0 7px var(--paper), var(--shadow-lg); }
.svc:nth-child(even) .svc__media--duo > :first-child { justify-self: end; }
.svc:nth-child(even) .svc__media--duo > :last-child { justify-self: start; }
.svc__media--duo .clip__btn { top: 10px; bottom: auto; }
/* When the play button sits up top, a long tag wraps before it reaches the button. */
.svc__media--duo .clip__tag, .gallery .clip__tag { max-width: calc(100% - 116px); line-height: 1.25; }
/* A single tall photo: full photo, capped so it fits the screen, on a cream block. */
.svc__media--port { position: relative; isolation: isolate; width: min(100%, 420px, 56vh); width: min(100%, 420px, 56svh); margin-inline: auto; }
.svc__media--port img { aspect-ratio: 3 / 4; }
.svc__media--port::before { content: ""; position: absolute; inset: 10% -22px -22px 18%; z-index: -1; border-radius: var(--r-lg); background: var(--cream); }
.svc:nth-child(even) .svc__media--port::before { inset: 10% 18% -22px -22px; }
.svc__icon {
  width: 56px; height: 56px; margin-bottom: 20px; border-radius: 15px;
  display: grid; place-items: center; background: var(--red-tint); color: var(--red);
}
.svc__icon .i { width: 30px; height: 30px; }
.svc h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.svc__copy > p { color: var(--muted); }
.signs { margin: 24px 0; padding: 20px 22px; background: var(--cream); border-radius: var(--r); }
.signs h3 { margin-bottom: 12px; font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--red); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 6px; top: .28em; width: 7px; height: 13px;
  border: solid var(--red); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.section--dark .checklist li::before { border-color: var(--flame); }
.checklist--dots li::before { left: 7px; top: .62em; width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--muted); transform: none; }

/* ---------- Pipe lining ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit__col { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.fit__col h3 { display: flex; align-items: center; gap: .5em; margin-bottom: 16px; }
.fit__col h3 .i { width: 28px; height: 28px; color: var(--red); }
.fit__col--other h3 .i { color: var(--muted); }

.compare {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
}
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--f-head); font-size: 1.05rem; }
.compare thead th:nth-child(2) { background: var(--red); }
.compare tbody th { width: 22%; font-family: var(--f-head); font-weight: 700; }
.compare td { color: var(--muted); }
.compare tr:last-child > * { border-bottom: 0; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.strip li { margin: 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.strip img.m-land { aspect-ratio: 16 / 9; }
.strip p { margin: 10px 2px 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }

.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { padding: 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 700 1.12rem/1.35 var(--f-head); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border: solid var(--red); border-width: 0 2.5px 2.5px 0;
  transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Service areas ---------- */
.areas { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.areas .area__map { position: sticky; top: calc(var(--header-h) + 24px); }
.city { margin-bottom: 20px; padding: clamp(24px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.city:last-child { margin-bottom: 0; }
.city h2 { display: flex; align-items: center; gap: .4em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.city h2 .i { width: .9em; height: .9em; color: var(--red); }
.city p { color: var(--muted); }
.city__award {
  display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 12px 18px 12px 12px;
  background: var(--cream); border-radius: var(--r);
}
.city__award img { width: 76px; height: 76px; flex: none; border-radius: 10px; }
.city__award strong { display: block; font-family: var(--f-head); color: var(--ink); line-height: 1.3; }
.city__award strong, .city__award span { text-wrap: balance; }
.city__award span { font-size: .9375rem; color: var(--muted); }
.city--ask { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.city--ask h2 { color: #fff; }
.city--ask p { color: var(--on-dark-2); margin: 0; }
.city--ask p a { color: #fff; font-weight: 700; white-space: nowrap; }
.city__more { margin: 18px 0 0; }

/* ---------- About ---------- */
.creds { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.cred { display: flex; gap: 18px; align-items: flex-start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cred .card__icon { margin: 0; }
.cred h3 { margin-bottom: .3em; }
.cred p { color: var(--muted); margin: 0; }
.cred__list { margin-top: 14px; }
.cred > div { flex: 1; min-width: 0; }
.cred--full { grid-column: 1 / -1; }
.cred--full .cred__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), max-content)); gap: 10px 36px; }
.cards--next { margin-top: 20px; }
.award { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 26px; align-items: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.award img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.award h3 { font-size: 1.35rem; margin-bottom: .3em; }
.award p { color: var(--muted); margin: 0; }
.award .eyebrow { margin-bottom: .6rem; }

.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.call-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(28px, 4vw, 40px); border-radius: var(--r-lg);
  background: var(--ink); color: var(--on-dark);
}
.call-card h2 { color: #fff; font-size: 1.5rem; }
.call-card p { color: var(--on-dark-2); }
.call-card__num { display: block; margin: 4px 0 22px; font: 800 clamp(2rem, 3.6vw, 2.5rem)/1.1 var(--f-head); color: #fff; text-decoration: none; letter-spacing: -.01em; min-height: 44px; }
.call-card__num:hover { color: #fff; text-decoration: underline; }
.call-card .btn { width: 100%; }
.call-card ul { list-style: none; padding: 22px 0 0; margin: 24px 0 0; border-top: 1px solid var(--ink-line); display: grid; gap: 10px; font-size: .97rem; }
.call-card li { display: flex; align-items: center; gap: .6em; }
.call-card li .i { color: var(--flame); }

.form { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form h2 { font-size: 1.6rem; }
.form > p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: end; }
.form > .form-key { margin-top: -.4em; font-size: 1rem; }
.field { display: grid; gap: 7px; margin: 0 0 18px; }
.field label, .field legend { padding: 0; font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--text); }
.field .req { color: var(--red); }
.field .opt { font-weight: 400; color: var(--muted); font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .8em .95em;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--field); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6em;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23B3121B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1em center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(179, 18, 27, .13); }
/* Keyboard focus gets a solid, high-contrast ring, not just the soft red glow. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: none; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .5em 1.1em;
  border: 1.5px solid var(--field); border-radius: 999px; cursor: pointer; font-weight: 500;
}
.radio-row input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--red); }
.radio-row label:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.form .btn { margin-top: 6px; }
.form-note { margin: 14px 0 0; font-size: 1rem; color: var(--muted); }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--cream); border-left: 4px solid var(--red); }
.form-status.is-shown { display: block; }
.form-status a { font-weight: 700; }

/* ---------- Book now picker (asks for the city or the service before the form) ---------- */
.book {
  width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 0; border-radius: var(--r-lg); background: #fff; color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.book::backdrop { background: rgba(17, 17, 20, .55); }
.book__inner { position: relative; padding: 28px 24px 24px; }
.book__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
}
.book__close:hover { background: var(--paper); }
.book__close .i { width: 22px; height: 22px; }
.book__kicker { margin: 0 48px 6px 0; font: 700 .95rem/1.3 var(--f-head); color: var(--red); }
.book__title { margin: 0 48px .3em 0; font-size: 1.45rem; }
.book__sub { margin: 0 0 18px; color: var(--muted); font-size: 1rem; }
.book__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book__opt {
  min-height: 54px; padding: .6em .9em; text-align: left; cursor: pointer;
  border: 1.5px solid var(--field); border-radius: 12px; background: #fff;
  font: 600 1rem/1.25 var(--f-body); color: var(--text);
  transition: border-color .2s, background-color .2s;
}
.book__opt:hover { border-color: var(--ink); background: var(--paper); }
/* Other area: a plain red text link under the city buttons. */
.book__other {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font: 400 1rem/1.3 var(--f-body); color: var(--red);
  text-decoration: underline; text-underline-offset: 3px;
}
.book__other:hover { color: var(--red-700); }
.book__other[hidden] { display: none; }
.book__opt:focus-visible, .book__other:focus-visible, .book__close:focus-visible, .book__zip input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.book__zip { margin-top: 10px; }
.book__zip label { display: block; margin-bottom: 7px; font-weight: 600; }
.book__zip-row { display: flex; gap: 10px; }
.book__zip input {
  flex: 1; min-width: 0; min-height: 52px; padding: .7em .95em;
  font: inherit; font-size: 1.05rem; color: var(--text);
  border: 1.5px solid var(--field); border-radius: 12px;
}
.book__zip input[aria-invalid="true"] { border-color: var(--red); }
.book__zip .btn { flex: none; }
.book__msg { margin: 10px 0 0; font-size: 1rem; }
.book__msg:empty { display: none; }
.book__msg a { font-weight: 700; white-space: nowrap; }
@media (max-width: 359px) { .book__options { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.notfound .lead { margin: 0 auto 30px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .header__in { gap: 12px; }
  .header-call { display: inline-flex; margin-left: auto; min-height: 48px; padding: .55em 1.1em; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 50px; height: 50px; border: 0; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, .08); color: #fff;
  }
  .nav-toggle .i { width: 26px; height: 26px; }
  .nav-toggle .i-shut, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-shut { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 18px;
    height: calc(100vh - var(--header-h) - var(--nav-offset, 0px)); height: calc(100dvh - var(--header-h) - var(--nav-offset, 0px)); overflow-y: auto; overscroll-behavior: contain;
    padding: 10px var(--gutter) 24px; background: var(--ink);
    border-top: 1px solid var(--ink-line); box-shadow: 0 30px 50px rgba(0, 0, 0, .4);
  }
  .nav.is-open { display: flex; }
  .nav__home { display: list-item; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: .9em .4em; font-size: 1.15rem; border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: auto; right: .4em; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav__call { width: 100%; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .hero__in, .page-hero--split .page-hero__in, .area, .areas, .svc, .contact, .story-block, .creds, .explorer, .xpeek { grid-template-columns: minmax(0, 1fr); }
  .areas > *, .area > * { min-width: 0; }
  .hero { padding-bottom: 120px; }
  .hero__media { max-width: 620px; margin-top: 8px; }
  .hero__award { right: 10px; top: -22px; width: 104px; }
  .hero__card { left: 12px; bottom: -34px; }
  .explorer__stage { top: calc(var(--header-h) + 8px); max-height: 56vh; max-height: 56svh; }
  .explorer.is-expanded { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .explorer.is-expanded .explorer__panel { max-height: 44vh; max-height: 44dvh; padding: 16px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid var(--line); }
  .area__map, .areas .area__map { position: relative; top: 0; width: min(100%, 460px, 52vh); width: min(100%, 460px, 52svh); }
  .svc:nth-child(even) .svc__media { order: 0; }
  .page-hero__photo.m-port { margin-left: 0; }
  .call-card { position: relative; top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  /* two rows: wide clip, lined pipe, roots | old pipe, wide clip. Column widths keep each tile's shape. */
  .gallery { grid-template-columns: minmax(0, .9725fr) minmax(0, .8055fr) minmax(0, .75fr) minmax(0, .75fr); max-width: none; }
  .gallery li:nth-child(n) { aspect-ratio: auto; }
  .gallery li:nth-child(1) { grid-column: 3; grid-row: 1; }
  .gallery li:nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
  .gallery li:nth-child(3) { grid-column: 4; grid-row: 1; aspect-ratio: 3 / 4; }
  .gallery li:nth-child(4) { grid-column: 1; grid-row: 2; aspect-ratio: 3 / 4; }
  .gallery li:nth-child(5) { grid-column: 2 / 5; grid-row: 2; }
  .gallery li:nth-child(-n+4) p { padding: 30px 10px 9px; font-size: .875rem; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .clips { grid-template-columns: 1fr; max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__contact { grid-column: span 2; }
}

@media (max-width: 760px) {
  .footer__base { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)); }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(20, 20, 22, .97); border-top: 1px solid var(--ink-line);
  }
  .callbar .btn { min-height: 50px; padding: .5em .8em; }
  .form-row, .fit, .cards--2 { grid-template-columns: 1fr; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { padding: 6px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { width: 100%; padding: 14px 18px 4px; border: 0; color: var(--ink); font-size: 1.05rem; }
  .compare td { padding: 6px 18px 10px; border: 0; }
  .compare td::before { content: attr(data-label); display: block; font: 700 .76rem/1.4 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
  .compare td + td::before { color: var(--muted); }
  .cards--3 { grid-template-columns: 1fr; }
  .award { grid-template-columns: 1fr; }
  .award img { max-width: 260px; margin-inline: auto; }
  .explorer__stage { aspect-ratio: 1 / 1; }
  /* Steps and notes scroll clear of the call bar at the bottom. */
  .xstep__btn, .xnote, .explorer__nav { scroll-margin-bottom: 96px; }
}

@media (max-width: 560px) {
  :root { --header-h: 70px; }
  body { font-size: 17px; }
  .brand img { height: 54px; }
  .header-call { width: 48px; padding: 0; }
  .header-call span { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .cards, .steps, .trust { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero__card { right: 12px; max-width: none; }
  .hero__award { width: 88px; top: -18px; }
  /* three rows: wide clip | lined pipe, roots | old pipe, wide clip */
  .gallery { grid-template-columns: minmax(0, .449fr) minmax(0, .313fr) minmax(0, .75fr); gap: 10px; }
  .gallery li:nth-child(n) { aspect-ratio: auto; }
  .gallery li:nth-child(2) { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .gallery li:nth-child(1) { grid-column: 1 / 3; grid-row: 2; }
  .gallery li:nth-child(3) { grid-column: 3; grid-row: 2; aspect-ratio: 3 / 4; }
  .gallery li:nth-child(4) { grid-column: 1; grid-row: 3; aspect-ratio: 3 / 4; }
  .gallery li:nth-child(5) { grid-column: 2 / 4; grid-row: 3; }
  .gallery li:nth-child(4) p { display: none; }
  .gallery p { padding: 30px 10px 9px; font-size: .875rem; }
  .svc__media--port::before { display: none; }
  .svc__media--mix > .m-land, .svc__media--duo > :last-child { box-shadow: 0 0 0 5px var(--paper), var(--shadow-lg); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand, .footer__contact { grid-column: auto; }
  .explorer__tools { top: 10px; right: 10px; gap: 6px; }
  .explorer__tools .xbtn { width: 44px; height: 44px; }
  .explorer__hint { bottom: 14px; font-size: .8rem; }
  /* the stage leaves room to read the step below it */
  .explorer__stage { width: 100%; max-height: min(40vh, 300px); max-height: min(40svh, 300px); }
  .clip__tag, .signs h3 { font-size: .875rem; }
  .xcards { left: 10px; bottom: 12px; width: min(190px, calc(100% - 110px)); }
  .bubble__card { padding: .45em .65em; font-size: 13.5px; }
  .bubble__go { font-size: .8rem; }
  .xstep__body p, .xstep__notes { padding-left: 16px; }
  .explorer.is-live:not(.is-fallback) .xstep__notes { padding-left: 8px; }
  .explorer__nav { gap: 8px; }
  .explorer__nav .xbtn { width: 48px; height: 48px; }
  .xpeek__art { aspect-ratio: 4 / 3; }
  .xpeek__go { display: none; }
  .city__award img { width: 64px; height: 64px; }
}

/* Phones: the call bar at the bottom already has a Call button, so the header keeps just the logo and menu. */
@media (max-width: 480px) {
  .header-call { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* the smallest phones: three tall photos in one row, both clips full width */
@media (max-width: 380px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery li:nth-child(1) { grid-column: 1; grid-row: 2; aspect-ratio: 3 / 4; }
  .gallery li:nth-child(3) { grid-column: 2; grid-row: 2; }
  .gallery li:nth-child(4) { grid-column: 3; grid-row: 2; }
  .gallery li:nth-child(5) { grid-column: 1 / -1; grid-row: 3; aspect-ratio: 16 / 9; }
  .gallery li:nth-child(-n+4):not(:nth-child(2)) p { display: none; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero__in, .page-hero--split .page-hero__in, .area, .areas, .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc:nth-child(even) .svc__media { order: 2; }
  .hero__media { max-width: 104vh; max-width: 104svh; }
  .page-hero__photo.m-port { margin-left: auto; }
  .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .gallery { max-width: 160vh; max-width: min(100%, 160svh); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* === v5 services fold: start === */
/* The fold sits right under its service: pull it up past most of the .svc grid gap. */
details.more { grid-column: 1 / -1; order: 3; margin-top: calc(24px - clamp(32px, 5vw, 76px)); }
details.more > summary {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 52px; padding: .7em 1.4em; cursor: pointer; list-style: none;
  background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  transition: background-color .2s, color .2s;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .i { width: 1.15em; height: 1.15em; color: var(--red); transition: color .2s; }
details.more > summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-left: .25em;
  border: solid currentColor; border-width: 0 2.5px 2.5px 0;
  transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
details.more > summary:hover { background: var(--ink); color: #fff; }
details.more > summary:hover .i { color: #fff; }
details.more > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; border-radius: 999px; }
details.more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.more__body { margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.more__body > .lead { margin-bottom: clamp(32px, 4vw, 48px); }
.more__part + .more__part { margin-top: clamp(40px, 5vw, 64px); }
.more__part .section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.more__part .section-head h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.more .fit__col h4 { display: flex; align-items: center; gap: .5em; margin-bottom: 16px; font-size: 1.15rem; line-height: 1.25; }
.more .fit__col h4 .i { width: 28px; height: 28px; color: var(--red); }
.more .fit__col--other h4 .i { color: var(--muted); }
.more .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; max-width: none; }
.more .strip img, .more .strip img.m-land { aspect-ratio: 4 / 3; }
/* The fold's button says what it will do: open the details, or close them again. */
details.more[open] .more__open, details.more:not([open]) .more__shut { display: none; }
@media (max-width: 560px) {
  .more .strip { grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 460px; }
  details.more > summary { display: flex; width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
/* === v5 services fold: end === */

/* === Round 3 polish === */
/* The "Explore" link lands with the section title near the top, not a band of empty padding. */
#explore { scroll-margin-top: 0; }
/* Short laptop screens: the sticky 3D stage stays small enough to leave the step text in view. */
@media (min-width: 901px) and (max-height: 860px) {
  .explorer__stage { width: 100%; max-height: max(360px, calc(100vh - var(--header-h) - 300px)); max-height: max(360px, calc(100svh - var(--header-h) - 300px)); }
}
/* About: the license card's icon matches the weight of the award card beside it. */
.cred .card__icon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.cred .card__icon .i { width: 36px; height: 36px; }
/* Tablet widths: the tall About photo is cropped wider so it doesn't fill the whole screen. */
@media (min-width: 561px) and (max-width: 900px) {
  .page-hero--split .page-hero__photo.m-port { aspect-ratio: 4 / 3; width: 100%; max-height: 420px; object-position: 50% 72%; }
}
/* Phone width: the city chips sit in one even row of three. */
@media (max-width: 760px) {
  .page-hero .chips--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .page-hero .chips--3 a { width: 100%; justify-content: center; padding-inline: .5em; font-size: .9rem; text-align: center; line-height: 1.2; }
  .page-hero .chips--3 .i { display: none; }
}
@media (max-width: 560px) {
  .cred, .award { padding: 22px 20px; }
  /* Small photos: the tag says "Real footage" so it fits on one line. */
  .svc__media--mix .clip__tag-x { display: none; }
  .svc__media--mix .clip__tag { white-space: nowrap; }
}
/* A cross-link inside a card reads as a quiet aside, not a second heading. */
.card .link-arrow { font-family: var(--f-body); font-weight: 500; font-size: 1rem; }
/* Service areas: the "Not sure" box is a light note, so it doesn't stack two dark blocks on top of the call band below. */
.city--ask { background: var(--cream); border-color: var(--line); box-shadow: inset 4px 0 0 var(--red); color: var(--ink); }
.city--ask h2 { color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.55rem); }
.city--ask p { color: var(--muted); }
.city--ask p a { color: var(--red); }

/* === Round 4 polish === */
/* Short inner-page heroes, so the content starts sooner. */
/* Wide screens: the service chips sit in even columns, and the grid stays narrow enough to read as one block. */
@media (min-width: 960px) {
  .page-hero .chips:not(.chips--3) { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; }
  .page-hero .chips:not(.chips--3) a { white-space: nowrap; }
}
/* Phones: the service chips wrap onto a few short rows, all visible at once. */
@media (max-width: 760px) {
  .page-hero .chips { gap: 8px; }
  .page-hero .chips:not(.chips--3) a { padding-inline: .85em; font-size: .9375rem; }
}
/* A card's last line (a link or a note) sits at the bottom, so cards in a row line up. */
.card > .card__foot { margin: auto 0 0; padding-top: 6px; color: var(--muted); font-size: .9375rem; }
.card .card__lead { margin-bottom: .5em; }
.checklist--sm { gap: 6px; margin-bottom: 1em; font-size: .9375rem; color: var(--muted); }
.checklist--sm li { padding-left: 26px; }
/* Gallery strip captions: a short title over a quiet line, the same as the camera clips above. */
.strip p strong { display: block; color: var(--ink); font-size: 1rem; }
/* Footer: the two social buttons stay side by side. */
.footer .social { flex-wrap: nowrap; gap: 8px; }
.footer .social .social__link { padding: 0 14px 0 12px; }
/* About: the license card reads like the award card next to it: a small label, then the facts. */
.cred--license { align-items: flex-start; }
.cred--license .eyebrow { margin-bottom: .6rem; }
/* Contact page: the form is right here, so the bottom bar keeps just the Call button. */
.page-contact .callbar { grid-template-columns: 1fr; }
.page-contact .callbar__alt { display: none; }
/* Phones: the 3D view's four buttons sit in a small 2 by 2 block in the corner, so they cover less of the model. */
@media (max-width: 560px) {
  .explorer__tools { grid-template-columns: repeat(2, 44px); }
  /* While photos are open, the stage grows so each photo shows at a readable size. */
  .explorer.has-pop .explorer__stage { aspect-ratio: auto; height: min(440px, calc(100vh - var(--header-h) - 24px)); height: min(440px, calc(100svh - var(--header-h) - 24px)); max-height: none; }
  .xpop.is-docked .xpop__track { flex: none; aspect-ratio: 4 / 3; }
}
/* How It Works: the dark hero runs straight into the dark 3D section, so the two glows fade
   into each other instead of meeting at a hard line. */
.page-how-it-works .page-hero::before { background: radial-gradient(55% 70% at 88% 25%, rgba(179, 18, 27, .42), transparent 62%); }
.page-how-it-works #explore::before { -webkit-mask-image: linear-gradient(transparent, #000 180px); mask-image: linear-gradient(transparent, #000 180px); }
/* Two dark sections in a row overlap by one pixel, so no light hairline shows between them at in-between zoom levels. */
.page-hero + .section--dark { margin-top: -1px; }
/* Boulder City: the services link sits a little below the award box, like the other cities' links below their text. */
.city__award + .link-arrow { margin-top: 18px; }

/* Phone service media: photos and video become a simple, readable vertical stack. */
@media (max-width: 1060px) {
  
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; }
  .nav__call { min-height: 52px; }
  .callbar { grid-template-columns: minmax(84px, .8fr) minmax(0, 1.4fr); }
  .callbar .btn { min-height: 52px; padding-inline: .6em; white-space: normal; text-align: center; line-height: 1.15; }
  .field label, .field legend { font-size: 1rem; }
  .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { min-height: 56px; font-size: 1rem; }
  .radio-row label { min-height: 52px; }

  .svc__media--mix,
  .svc__media--duo {
    display: flex; flex-direction: column; align-items: stretch; gap: 18px;
    width: 100%; max-width: 100%; margin-inline: auto;
  }
  .svc__media--mix > .m-land {
    position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3;
    order: -1; margin: 0; box-shadow: none;
  }
  .svc__media--mix > .m-land[data-clip] {
    aspect-ratio: auto; overflow: visible; border-radius: 0; background: transparent;
  }
  .svc__media--mix > .m-port,
  .svc__media--mix > .m-43 {
    width: 100%; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; box-shadow: none;
  }
  .svc__media--duo > .clip,
  .svc__media--duo > img {
    position: relative; justify-self: stretch; width: 100%; aspect-ratio: auto;
    margin: 0; box-shadow: none;
  }
  .svc__media--duo > .clip { overflow: visible; border-radius: 0; background: transparent; }
  .svc__media--duo > [data-clip],
  .svc__media--mix > .m-land[data-clip] {
    z-index: auto; transform: none; transition: none;
  }
  .svc__media--mix.is-video-front > .m-land[data-clip],
  .svc__media--mix.is-video-active > .m-land[data-clip] { z-index: auto; width: 100%; transform: none; }
  .svc__media--duo > [data-clip].is-video-front,
  .svc__media--duo.is-video-active > [data-clip].is-video-active,
  .svc__media--duo > [data-clip].is-video-active { z-index: auto; transform: none; }
  .svc__media--duo.is-video-active > :last-child:not([data-clip]) { transform: none; }

  .svc__media--mix > .m-land[data-clip],
  .svc__media--duo > .clip {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "visual visual" "caption control";
    align-items: center; gap: 8px 12px;
  }
  .svc__media--mix > .m-land[data-clip] video,
  .svc__media--duo > .clip video,
  .svc__media--duo > .clip--still img {
    grid-area: visual; display: block; width: 100%; height: auto;
    aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r);
    background: var(--ink); box-shadow: var(--shadow);
  }
  .svc__media--duo > .clip--still {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "caption";
  }
  .svc__media--mix .clip__tag,
  .svc__media--duo .clip__tag {
    position: static; grid-area: caption; display: block; max-width: none;
    margin: 0; padding: 0; border-radius: 0; background: transparent;
    color: var(--muted); font: 600 1rem/1.4 var(--f-body);
    letter-spacing: 0; text-transform: none; white-space: normal;
  }
  .svc__media--mix .clip__tag::before,
  .svc__media--duo .clip__tag::before {
    content: ""; display: inline-block; width: .55em; height: .55em;
    margin: 0 .55em .1em 0; border-radius: 50%; background: var(--red);
  }
  .svc__media--mix .clip__tag-x,
  .svc__media--duo .clip__tag-x { display: inline; }
  .svc__media--mix .clip__btn,
  .svc__media--duo .clip__btn {
    position: static; grid-area: control; align-self: center; justify-self: end;
    min-width: 96px; min-height: 48px; padding: 0 14px;
    border-radius: 999px; background: var(--ink); font-size: .9375rem;
    white-space: nowrap; box-shadow: none;
  }
}
@media (max-width: 560px) {
  body:not(.page-how-it-works) { font-size: 18px; }
}

/* Phone captions and controls move below their media in plain rows. */
@media (max-width: 1060px) {
  .svc__media--mix .clip__btn,
  .svc__media--duo .clip__btn { font-size: 1rem; }

  .clips .clip {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "visual visual" "caption control";
    align-items: center; gap: 8px 12px;
    overflow: visible; aspect-ratio: auto; border-radius: 0;
    background: transparent; box-shadow: none;
  }
  .clips .clip video {
    grid-area: visual; position: relative; inset: auto; display: block;
    width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: var(--r); background: var(--ink); box-shadow: var(--shadow);
  }
  .clips .clip__tag {
    position: static; grid-area: caption; display: block; max-width: none;
    margin: 0; padding: 0; border-radius: 0; background: transparent;
    color: var(--muted); font: 600 1rem/1.4 var(--f-body);
    letter-spacing: 0; text-transform: none; white-space: normal;
  }
  .clips .clip__tag::before {
    content: ""; display: inline-block; width: .55em; height: .55em;
    margin: 0 .55em .1em 0; border-radius: 50%; background: var(--red);
  }
  .clips .clip__tag-x { display: inline; }
  .clips .clip__btn {
    position: static; grid-area: control; align-self: center; justify-self: end;
    min-width: 96px; min-height: 48px; padding: 0 14px;
    border-radius: 999px; background: var(--ink); font-size: 1rem;
    white-space: nowrap; box-shadow: none;
  }
  .clips p { margin-top: 12px; font-size: 1rem; }

  .gallery {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto; gap: 16px; width: 100%; max-width: none;
  }
  .gallery li:nth-child(n) {
    display: flex; flex-direction: column; grid-column: auto; grid-row: auto;
    aspect-ratio: auto; overflow: hidden; border: 1px solid var(--line);
    border-radius: var(--r); background: #fff; box-shadow: var(--shadow);
  }
  .gallery li:nth-child(1) { grid-column: 1 / -1; }
  .gallery li:nth-child(1) > img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 56%; }
  .gallery li > img {
    position: relative; inset: auto; display: block; width: 100%;
    height: auto; aspect-ratio: auto; object-fit: cover; transition: none;
  }
  .gallery li[data-clip] {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto; grid-template-areas: "visual visual" "caption control";
    align-content: start;
  }
  .gallery li[data-clip] > video {
    grid-area: visual; position: relative; inset: auto; display: block;
    width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: none;
  }
  .gallery li:nth-child(n) > p { display: block;
    position: static; order: 1; margin: 0; padding: 10px 12px 12px;
    color: var(--text); background: transparent; font-size: 1rem; line-height: 1.45;
    font-weight: 500;
  }
  .gallery li[data-clip] > p { grid-area: caption; align-self: center; }
  .gallery .clip__btn {
    position: static; grid-area: control; align-self: center; justify-self: end;
    min-width: 96px; min-height: 48px; margin: 0 10px 0 0; padding: 0 14px;
    border-radius: 999px; background: var(--ink); font-size: 1rem;
    white-space: nowrap; box-shadow: none;
  }
}
@media (max-width: 380px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery li:nth-child(-n+4):not(:nth-child(2)) > p { display: block; }
}

/* Tablet gallery width cap */
@media (max-width: 1060px) { .gallery { max-width: 720px; margin-inline: auto; } }
@media (max-width: 760px) { html { scroll-padding-bottom: calc(104px + env(safe-area-inset-bottom)); } }
/* ---------- Inner pages: a quieter look ----------
   Every page shares the header, footer, type and buttons. Pages other than Home get a light hero,
   one plain background and neutral accents, so red is left for calling and booking. */
body:not(.page-index) .page-hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
body:not(.page-index) .page-hero::before { content: none; }
body:not(.page-index) .page-hero h1 { color: var(--ink); font-size: clamp(2.1rem, 4vw, 3.1rem); }
body:not(.page-index) .page-hero .lead { color: var(--muted); }
body:not(.page-index) .page-hero :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 2px #fff; }
body:not(.page-index) .page-hero__photo { box-shadow: var(--shadow); }
body:not(.page-index) .eyebrow { color: var(--muted); }
body:not(.page-index) .section--dark .eyebrow { color: var(--on-dark-3); }
body:not(.page-index) .chips a { background: #fff; border-color: var(--line); color: var(--ink); }
body:not(.page-index) .chips a:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
body:not(.page-index) .chips .i { color: var(--muted); }

body:not(.page-index) .section--cream, body:not(.page-index) .section--white { background: #fff; border-block: 1px solid var(--line); }
body:not(.page-index) .section--glow::before { content: none; }

body:not(.page-index) .card__icon, body:not(.page-index) .svc__icon { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
body:not(.page-index) .section--dark .card__icon { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
body:not(.page-index) .signs { background: #fff; border: 1px solid var(--line); }
body:not(.page-index) .signs h3 { color: var(--muted); }
body:not(.page-index) .checklist li::before { border-color: var(--ink); }
body:not(.page-index) .section--dark .checklist li::before { border-color: #fff; }
body:not(.page-index) .svc__media--port::before { content: none; }
@media (min-width: 1061px) { body:not(.page-index) .clip__tag { background: rgba(20, 20, 22, .82); } }
body:not(.page-index) .fit__col h3 .i, body:not(.page-index) .city h2 .i { color: var(--ink); }
body:not(.page-index) .compare thead th:nth-child(2) { background: #3a3a40; }
body:not(.page-index) .city__award { background: var(--paper); }
body:not(.page-index) .city--ask { background: #fff; box-shadow: inset 4px 0 0 var(--ink); }
body:not(.page-index) .call-card li .i { color: var(--on-dark-2); }

/* Award: a plain blue link to the official Best of Boulder City results. */
.award-link { display: inline-block; margin-top: 6px; font-size: .9375rem; font-weight: 500; color: #1a5fd0; text-decoration: underline; text-underline-offset: 2px; }
.award-link:hover { color: #0f4aa8; }
.award-link:focus-visible { outline: 2px solid #1a5fd0; outline-offset: 2px; border-radius: 2px; }
.award .award-link { margin-top: 10px; }
.city__award .award-link { display: block; width: fit-content; margin-top: 4px; }

/* Each service ends with a request button (it preselects the service on the form) and, where there is one, the 3D link. */
.svc__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 26px 0 0; }

/* The closing call box: a plain card instead of the red band. */
body:not(.page-index) .cta { background: none; color: var(--ink); padding: clamp(44px, 6vw, 72px) 0; }
body:not(.page-index) .cta::after { content: none; }
body:not(.page-index) .cta__in { padding: clamp(24px, 3.5vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
body:not(.page-index) .cta h2 { color: var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
body:not(.page-index) .cta p { color: var(--muted); }
body:not(.page-index) .cta .btn--light { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(179, 18, 27, .22); }
body:not(.page-index) .cta .btn--light:hover { background: var(--red-700); color: #fff; }
body:not(.page-index) .cta .btn--ghost { color: var(--ink); border-color: var(--ink); }
body:not(.page-index) .cta .btn--ghost:hover { background: var(--ink); color: #fff; }
body:not(.page-index) .cta :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 2px #fff; }
/* About: Meet the team. Photo cards in 4:5, name and role under each. */
.section--team { padding-top: 0; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); gap: 24px; }
.member { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.member img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.member figcaption, .member__cap { padding: 18px 22px 20px; }
.member h3 { font-size: 1.25rem; margin: 0 0 .2em; }
.member p { color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .team { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
}

/* A team card that opens that person's own page. */
.member--link { display: block; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
.member--link:hover { transform: translateY(-3px); border-color: var(--red); }
.member--link:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.member__more { display: inline-flex; align-items: center; gap: .4em; margin-top: 12px; color: var(--red); font-weight: 600; }
.member__more .i { transition: transform .2s; }
.member--link:hover .member__more .i { transform: translateX(3px); }
.person-story .link-arrow { margin-top: 8px; }
.page-hero--split .page-hero__photo.m-head { object-position: 50% 30%; }

/* The owner's own words on his page. */
.owner-note { margin: 28px 0 8px; padding: 20px 24px; border-left: 4px solid var(--red); background: #fff; border-radius: 0 var(--r-lg) var(--r-lg) 0; box-shadow: var(--shadow); }
.owner-note blockquote { margin: 0; }
.owner-note blockquote p { font-size: 1.08em; line-height: 1.6; }
.owner-note blockquote p:first-child::before { content: "\201C"; }
.owner-note blockquote p:last-child::after { content: "\201D"; }
.owner-note figcaption { margin-top: 12px; color: var(--muted); font-weight: 600; }
.owner-note figcaption::before { content: "\2014\00a0"; }

/* Mobile home service actions: one clear primary button and a calm, easy-to-tap detail link. */
@media (max-width: 560px) {
  .page-index .card__actions { align-items: center; column-gap: 8px; row-gap: 8px; }
  .page-index .card__book { min-height: 48px; padding-inline: 1.05em; }
  .page-index .card__more {
    min-height: 48px;
    padding-inline: 8px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration-color: var(--red);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  .page-index .card__more:hover { color: var(--ink); }
}
/* Home service cards: align each title beside its icon and keep wrapped lines under the title. */
.page-index .cards > li { display: block; grid-row: auto; grid-template-rows: none; row-gap: normal; }
.page-index .cards .card {
  display: grid;
  grid-row: auto;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto minmax(12px, 1fr) auto;
  column-gap: 16px;
  row-gap: 0;
}
.page-index .cards .card__icon { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
.page-index .cards .card h3 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
  align-self: center;
}
.page-index .cards .card__actions { grid-column: 1 / -1; grid-row: 3; min-width: 0; margin-top: 22px; }
@media (max-width: 560px) {
  .page-index .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Compact Google rating: one heading, a readable rating, and a linked review count. */
.section--reviews { padding: clamp(36px, 5vw, 60px) 0; }
.reviews-feature {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(18px, 3vw, 30px);
}
.reviews-feature__copy { max-width: none; }
.reviews-feature h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 1.9rem); }
.reviews-feature__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: center;
}
.reviews-feature__stars { font-size: 1.35rem; }
.reviews-feature__score { gap: 4px; }
.reviews-feature__score strong { font-size: 1.9rem; }
.reviews-feature__count {
  font-size: .9rem;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .section--reviews { padding: 32px 0; }
  .reviews-feature { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .reviews-feature__rating { justify-content: flex-start; }
}