/* =================================================================
   CARNAHAN RESTORATION — Steel & Amber
   Contractor-real, commercial-friendly, professional
   ================================================================= */

:root {
  /* Steel-lead palette — concrete greys lead, amber as accent only */
  --bg:          #15191E;
  --bg-2:        #1B2026;
  --surface:     #232A31;
  --surface-2:   #2C343C;
  --surface-3:   #3A434C;
  --border:      #2F373F;
  --border-strong: #475260;

  --text:        #F4F5F2;
  --text-mid:    #C7CCD1;
  --text-dim:    #8A949E;
  --text-faint:  #6C7680;

  /* Steel — the new secondary; used in eyebrows, dividers, icon bg */
  --steel:       #5B6770;
  --steel-light: #7B8893;
  --steel-tint:  rgba(123, 136, 147, 0.12);

  /* Amber — used sparingly for primary CTAs, hero highlight, focus */
  --accent:      #E27D2B;
  --accent-hot:  #F69142;
  --accent-deep: #B85F1A;
  --accent-tint: rgba(226, 125, 43, 0.12);

  --success:     #4CAF50;

  /* Typography */
  --font-display: 'Oswald', 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container:    1240px;
  --radius:       4px;
  --radius-lg:    8px;

  /* Motion */
  --ease:         cubic-bezier(.2, .8, .2, 1);
  --ease-quick:   cubic-bezier(.4, 0, .2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ---------- SECTION-TO-SECTION SCROLL ---------- */
/* Touch devices keep a gentle proximity nudge so flick-scrolling stays natural. */
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 96px;        /* clear the sticky util-bar + header so a snapped section isn't hidden under it */
}
.hero,
.section {
  scroll-snap-align: start;
}
/* Desktop (mouse/trackpad): native snap off entirely — script.js's flick-to-slide
   handler decides per gesture: slow scrolling stays free, a flick slides to the
   next/previous section. CSS snap can't tell a flick from a slow scroll, which is
   why this is JS territory on desktop. */
@media (hover: hover) and (pointer: fine) {
  html { scroll-snap-type: none; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; } /* height:auto pairs with the width/height attributes: they set aspect-ratio, CSS sets size */
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-quick); }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; border-top: 3px solid var(--accent); } /* orange rule = flick landing line: each slide lands with this flush under the sticky header */
.section--dark { background: var(--bg-2); }
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.section > .container { position: relative; }

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
  text-transform: uppercase;
}
.section__sub { color: var(--text-mid); font-size: 1.05rem; max-width: 640px; }
.section__head--center .section__sub { margin-inline: auto; }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.hl {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hl::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 60%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  animation: hlIn 1s var(--ease) .3s forwards;
}
@keyframes hlIn { to { transform: scaleX(1); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel-light);
}
.eyebrow--light { color: var(--text); }
.eyebrow__bar {
  width: 32px; height: 2px;
  background: var(--steel-light);
  display: inline-block;
}
.eyebrow--light .eyebrow__bar { background: var(--text); }

.muted { color: var(--text-dim); font-weight: 400; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .25s;
  transition-timing-function: var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 18px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px -8px rgba(226, 125, 43, 0.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary:hover {
  background: var(--accent-hot);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(226, 125, 43, .40);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-light {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-light {
  background: var(--text);
  color: var(--bg);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text-mid); padding: 8px 12px; }
.btn-ghost:hover { color: var(--accent); }

.btn-ghost-strong {
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
}
.btn-ghost-strong:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- UTILITY BAR ---------- */
.util-bar {
  background: #0E1216;
  color: var(--text-mid);
  font-size: .82rem;
  border-bottom: 1px solid var(--border);
}
.util-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
}
.util-bar__pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--text-mid);
}
.util-bar__links { display: flex; gap: 24px; align-items: center; }
.util-bar__phone, .util-bar__email {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-mid);
  transition: color .2s;
}
.util-bar__phone:hover, .util-bar__email:hover { color: var(--accent); }

/* ---------- STICKY TOP STACK (util bar + header) ---------- */
.topbar { position: sticky; top: 0; z-index: 100; }
.topbar .site-header { position: static; } /* wrapper owns stickiness now */

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21, 25, 30, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease-quick), border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(21, 25, 30, .96);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand__mark {
  height: 50px;
  width: auto;
  display: block;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.brand:hover .brand__mark {
  transform: scale(1.05) rotate(-2deg);
  filter: brightness(1.1);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--text);
}
.brand__sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .38em;
  color: var(--accent);
  margin-top: 5px;
}
.brand__stacked {
  height: 90px;
  width: auto;
  display: block;
  transition: transform .35s var(--ease);
}
.brand--footer:hover .brand__stacked { transform: scale(1.03); }

.nav { display: flex; gap: 28px; }
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-quick);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
/* Scrollspy: the tab for the section currently in view keeps the underline */
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .3s;
  transition-timing-function: var(--ease-quick);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.mobile-menu a:hover, .mobile-menu a:focus { color: var(--accent); }
.mobile-menu__call { color: var(--accent) !important; font-weight: 600; }
.mobile-menu .btn { margin-top: 12px; }
.mobile-menu.is-open { display: flex; }
.mobile-menu[hidden] { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.4) contrast(1.05) saturate(.85);
  animation: heroZoom 24s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0) 0%, rgba(21,25,30,.6) 65%, rgba(21,25,30,.95) 100%),
    linear-gradient(180deg, rgba(21,25,30,.55) 0%, rgba(21,25,30,.4) 50%, rgba(21,25,30,1) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .3;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 960px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 16px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-mid);
  max-width: 760px;
  margin: 0 0 32px;
  line-height: 1.65;
}
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 26px;
  background: rgba(21, 25, 30, .65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  max-width: 880px;
}
.hero__trust-item {
  display: flex; align-items: center; gap: 14px;
}
.hero__trust-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--steel-tint);
  color: var(--steel-light);
  border-radius: var(--radius);
  border: 1px solid rgba(123, 136, 147, .25);
}
.hero__trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}
.hero__trust-item span {
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  display: flex; justify-content: center;
  padding-top: 6px;
  z-index: 2;
}
.hero__scroll-dot {
  width: 4px; height: 8px; background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0; }
}

/* ---------- AUDIENCE STRIP ---------- */
.audience-strip {
  padding: 32px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-strip__label {
  text-align: center;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.audience-strip__items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.audience-strip__items span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .15em;
  color: var(--text-faint);
  transition: color .25s, transform .25s var(--ease);
  cursor: default;
}
.audience-strip__items span:hover {
  color: var(--text-mid);
  transform: translateY(-1px);
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--wide {
  grid-column: 1 / -1;
}

.service-card__icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: var(--steel-tint);
  color: var(--steel-light);
  border: 1px solid rgba(123, 136, 147, .2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .3s;
  transition-timing-function: var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--accent-tint);
  color: var(--accent);
  border-color: rgba(226, 125, 43, .25);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 12px;
  letter-spacing: .01em;
}
.service-card p {
  color: var(--text-mid);
  font-size: .95rem;
  margin: 0 0 18px;
}
.service-card__list {
  list-style: none; padding: 0; margin: 0 0 24px;
  font-size: .88rem;
  color: var(--text-mid);
}
.service-card__list li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-top: 1px dashed var(--border);
}
.service-card__list li:first-child { border-top: 0; }
.service-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 13px;
  width: 12px; height: 2px;
  background: var(--steel-light);
  transition: background .25s;
}
.service-card:hover .service-card__list li::before { background: var(--accent); }
.service-card__link {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s var(--ease);
}
.service-card__link:hover { gap: 12px; color: var(--accent-hot); }

/* ---------- BEFORE / AFTER SLIDER ---------- */
.ba-slider {
  max-width: 1080px;
  margin: 0 auto 48px;
}
.ba-slider__wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  user-select: none;
  cursor: ew-resize;
}
.ba-slider__after, .ba-slider__before {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-slider__before-wrap {
  clip-path: inset(0 50% 0 0);
  width: 100%;
  height: 100%;
  position: absolute; inset: 0;
  pointer-events: none;
  transition: clip-path 0s;
}
.ba-slider__before-wrap .ba-slider__before {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-slider__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px;
  background: var(--accent);
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 4px 20px rgba(0,0,0,.4);
}
.ba-slider__handle-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(226, 125, 43, .45), 0 0 0 4px rgba(226, 125, 43, .18);
  transition: transform .2s var(--ease);
}
.ba-slider__handle:hover .ba-slider__handle-knob,
.ba-slider:active .ba-slider__handle-knob { transform: translate(-50%, -50%) scale(1.1); }

.ba-slider__label {
  position: absolute;
  top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  padding: 6px 12px;
  background: rgba(0,0,0,.7);
  color: var(--text);
  border-radius: 3px;
  pointer-events: none;
}
.ba-slider__label--before { left: 16px; border-left: 2px solid var(--steel-light); }
.ba-slider__label--after { right: 16px; border-right: 2px solid var(--accent); }

.ba-slider__caption {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  color: var(--text-mid);
  font-size: .95rem;
}

/* ---------- PROJECT GRID ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .3s;
  transition-timing-function: var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.project-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__body { padding: 18px; }
.project-card__tag {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--steel-light);
  text-transform: uppercase;
  transition: color .25s;
}
.project-card:hover .project-card__tag { color: var(--accent); }
.project-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 6px 0 4px;
}
.project-card p { color: var(--text-dim); font-size: .85rem; margin: 0; }

/* ---------- PROCESS ---------- */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 32px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .3s;
  transition-timing-function: var(--ease);
}
.process__step:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.process__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  opacity: .9;
}
.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.process__step p { color: var(--text-mid); font-size: .92rem; margin: 0; }

/* ---------- WHAT TO EXPECT ---------- */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.expect-card {
  background: var(--surface);          /* match .service-card */
  border: 1px solid var(--border);     /* match .service-card */
  border-radius: var(--radius-lg);     /* match .service-card */
  padding: 26px 22px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.expect-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.expect-card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.expect-card h3 {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  font-size: 18px; letter-spacing: .02em; margin: 0 0 8px;
}
.expect-card p { color: var(--text-dim); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .expect-grid { grid-template-columns: 1fr; } }

/* ---------- PARTNERS (B2B) ---------- */
.partners {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.partners__copy p {
  color: var(--text-mid);
  font-size: 1.02rem;
  margin: 0 0 16px;
}
.partners__capabilities {
  list-style: none; padding: 0; margin: 28px 0 32px;
}
.partners__capabilities li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  color: var(--text);
  border-top: 1px dashed var(--border);
  font-size: .95rem;
}
.partners__capabilities li:first-child { border-top: 0; }
.partners__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.partners__sidebar {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.partners__sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 24px;
  color: var(--text);
}
.partners__audience {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 20px;
}
.partners__audience li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.partners__audience li:last-child { border-bottom: 0; padding-bottom: 0; }
.partners__audience strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 4px;
}
.partners__audience span {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.5;
}

/* ---------- VENDOR READY ---------- */
.vendor-ready {
  background: var(--bg);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vendor-ready__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.vendor-ready__icon {
  flex-shrink: 0;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: var(--steel-tint);
  color: var(--steel-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 136, 147, .2);
}
.vendor-ready__body { flex: 1; }
.vendor-ready__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 8px 0 12px;
  color: var(--text);
}
.vendor-ready__body p {
  color: var(--text-mid);
  margin: 0 0 18px;
  max-width: 820px;
  font-size: .98rem;
}
.vendor-ready__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.vendor-ready__tags span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--text-mid);
}

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.05) saturate(.95);
}
.about__media::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(21,25,30,.75) 100%);
}
.about__badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: .04em;
}
.about__badge span {
  font-size: .82rem;
  letter-spacing: .04em;
  max-width: 160px;
  line-height: 1.3;
}

.about__body p {
  color: var(--text-mid);
  font-size: 1.02rem;
  margin: 0 0 16px;
}
.about__quote {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}
.about__quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: .85rem;
  color: var(--text-dim);
  letter-spacing: .04em;
}
.about__creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.cred {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem;
  color: var(--text-mid);
}
.cred__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .3s;
  transition-timing-function: var(--ease);
}
.testimonial:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.testimonial::before {
  content: '"';
  position: absolute; top: 12px; right: 22px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
}
.testimonial__type {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--steel-light);
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--steel-tint);
  border-radius: 3px;
  margin-bottom: 14px;
}
.testimonial p {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0 0 20px;
}
.testimonial__person {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial__person strong { display: block; color: var(--text); font-size: .95rem; }
.testimonial__person span { color: var(--text-dim); font-size: .82rem; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  flex-shrink: 0;
}
.avatar--m { background: linear-gradient(135deg, #E27D2B, #B85F1A); }
.avatar--n { background: linear-gradient(135deg, #5B6770, #3A434C); }
.avatar--p { background: linear-gradient(135deg, #475260, #2C343C); }

/* ---------- CAROUSEL (shared engine: featured-work photos + testimonials) ---------- */
.carousel { position: relative; }

/* Scroll-snap tracks (photo: always; testimonials: only below the breakpoint) */
.carousel--photo .carousel__track,
.testimonials.carousel__track {
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.carousel--photo .carousel__track::-webkit-scrollbar,
.testimonials.carousel__track::-webkit-scrollbar { display: none; }

.carousel--photo .carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

/* Arrows + dots are hidden until JS confirms the content overflows (is-carousel-active) */
.carousel__arrow, .carousel__dots { display: none; }
.carousel.is-carousel-active .carousel__dots { display: flex; }
.carousel--photo.is-carousel-active .carousel__arrow { display: grid; }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(21, 25, 30, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.carousel__arrow:hover { background: var(--accent); border-color: var(--accent); }
.carousel__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }

.carousel__dots {
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}
.carousel__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.carousel__dot:hover { background: var(--steel-light); }
.carousel__dot.is-active { background: var(--accent); transform: scale(1.3); }
.carousel__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Featured-work photo carousel */
.carousel--photo { margin-bottom: 36px; }
.carousel--photo .carousel__track { border-radius: var(--radius-lg); }
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.carousel__slide img {
  display: block;
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
}
.carousel__slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 22px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(to top, rgba(21, 25, 30, .88), rgba(21, 25, 30, 0));
}

/* Testimonials: keep the grid on desktop; become a 1-up carousel on mobile */
@media (max-width: 880px) {
  .testimonials.carousel__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .testimonials.carousel__track > .testimonial {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel--photo .carousel__track,
  .testimonials.carousel__track { scroll-behavior: auto; }

  /* Disable section scroll-snap for reduced-motion users */
  html { scroll-snap-type: none; }

  /* Neutralize scroll-reveal: show everything instantly, no transform/transition */
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Neutralize hover lifts so nothing moves for reduced-motion users */
  .expect-card,
  .expect-card:hover,
  .service-card:hover,
  .project-card:hover,
  .btn-primary:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  padding: 64px 0;
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><defs><pattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'><path d='M0 20 L40 20 M20 0 L20 40' stroke='%23ffffff' stroke-opacity='.025' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23p)'/></svg>");
  pointer-events: none;
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 8px 0 12px;
  color: var(--text);
}
.cta-banner p { color: var(--text-mid); max-width: 540px; margin: 0; }
.cta-banner__actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- QUOTE / FORM ---------- */
.quote {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.quote__copy { padding-top: 8px; }
.quote__copy p { color: var(--text-mid); }
.quote__bullets {
  list-style: none; padding: 0; margin: 24px 0;
}
.quote__bullets li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  color: var(--text);
  border-top: 1px dashed var(--border);
}
.quote__bullets li:first-child { border-top: 0; }
.quote__note {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--surface);
  border-left: 3px solid var(--steel-light);
  border-radius: var(--radius);
  font-size: .9rem !important;
  color: var(--text-mid) !important;
}
.quote__note a { color: var(--accent); font-weight: 600; }
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: 50%;
  font-size: .8rem; font-weight: 700;
  flex-shrink: 0;
}

.quote__form {
  background: var(--surface);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 16px; }
.field label {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  transition: border-color .2s, background .2s;
  font-size: .95rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--surface-2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E27D2B' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 80px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text-mid);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .2s;
  transition-timing-function: var(--ease-quick);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.checkbox {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .2s;
  font-size: .9rem;
  color: var(--text-mid);
}
.checkbox:hover { border-color: var(--border-strong); color: var(--text); }
.checkbox input { accent-color: var(--accent); width: 16px; height: 16px; }
.checkbox input:checked + span { color: var(--text); }

.quote__fine {
  font-size: .8rem;
  color: var(--text-faint);
  text-align: center;
  margin: 14px 0 0;
}
.quote__fine a { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s;
}
.faq__item[open] { border-color: var(--accent); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item p {
  padding: 18px 24px 22px;
  margin: 0;
  color: var(--text-mid);
  border-top: 1px solid var(--border);
}
.faq__item p a { color: var(--accent); font-weight: 600; }
/* JS-driven accordion: .faq__panel wraps the answer and animates its height.
   overflow:hidden clips the inner <p>'s padding/border so it collapses fully.
   Without JS, native <details> still toggles instantly (progressive enhancement). */
.faq__panel { overflow: hidden; transition: height .32s var(--ease); }
@media (prefers-reduced-motion: reduce) { .faq__panel { transition: none; } }

/* ---------- FORM HARDENING: honeypot, validation, status, loading ---------- */
/* Honeypot: off-screen but in the DOM so bots fill it; humans never see it. */
.hp-field { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
/* Invalid field highlight (set/cleared via .is-invalid class in script.js) */
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid,
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #E04444; }
/* Inline status line — used for validation prompts and submit-failure fallback */
.form-status {
  margin: 4px 0 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: rgba(224, 68, 68, 0.10);
  border: 1px solid rgba(224, 68, 68, 0.45);
  color: #F08A8A;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.form-status a { color: #fff; text-decoration: underline; }
/* Submit button while the request is in flight */
.btn.is-loading { opacity: 0.75; cursor: progress; pointer-events: none; }
/* "Book an estimate" scheduler fields */
.field__opt { color: var(--text-mid); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.85em; }
.field__hint { margin: 6px 0 0; font-size: 0.82rem; color: var(--text-mid); }
input[type="date"] { color-scheme: dark; }

/* ---------- CITY LANDING PAGES + LANGUAGE SWITCHER ---------- */
.util-bar__lang {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; letter-spacing: .02em;
}
.util-bar__lang::before { content: "🌐"; font-size: .95em; }
.util-bar__lang:hover { color: var(--accent); }
/* Log In → the CRM app (app.carnahanrestoration.com). Accent at rest so it
   reads as the account entry point without competing with the header CTAs. */
.util-bar__login {
  font-weight: 600; letter-spacing: .04em;
  color: var(--accent);
  transition: color .2s;
}
.util-bar__login:hover { color: var(--accent-hot); }
/* Two-column intro prose on city pages */
.prose-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 28px; color: var(--text-mid); font-size: 1.02rem; line-height: 1.7;
}
.prose-cols strong { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .prose-cols { grid-template-columns: 1fr; gap: 18px; } }
/* Neighborhood / areas-served chip list */
.area-chips {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.area-chips li {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--text-mid);
  transition: border-color .25s, color .25s, background .25s;
}
.area-chips li:hover { border-color: var(--accent); color: var(--text); background: var(--accent-tint); }

/* ---------- FOOTER ---------- */
.footer {
  background: #0B0F12;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text);
  margin: 0 0 18px;
}
.footer__col a {
  display: block;
  color: var(--text-dim);
  font-size: .92rem;
  padding: 6px 0;
}
.footer__col a:hover { color: var(--accent); }

.footer__col--brand .brand { margin-bottom: 16px; }
.footer__tag { color: var(--text-dim); font-size: .92rem; max-width: 300px; margin: 0; line-height: 1.6; }

.footer__contact {
  display: flex; flex-direction: column;
  padding: 8px 0 !important;
}
.footer__contact strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: .02em;
}
.footer__contact span {
  font-size: .82rem;
  color: var(--text-faint);
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .2s;
  transition-timing-function: var(--ease-quick);
}
.footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s var(--ease);
}
.modal__panel {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp .35s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.modal__panel--wide { max-width: 640px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  color: var(--text-dim);
  border-radius: var(--radius);
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .2s;
  line-height: 1;
  z-index: 2;
}
.modal__close:hover { background: var(--surface); color: var(--text); }
.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 10px 0 8px;
}
.modal__sub { color: var(--text-mid); font-size: .92rem; margin: 0 0 24px; }
.modal__form .field { margin-bottom: 14px; }

.modal__success {
  text-align: center;
  padding: 24px 8px 8px;
}
.modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  animation: pop .5s var(--ease);
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.modal__success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.modal__success p { color: var(--text-mid); margin: 0 0 20px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .partners { grid-template-columns: 1fr; gap: 40px; }
  .vendor-ready__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Collapse to the hamburger as soon as the viewport drops below the 1240px
   container width. Above 1024px the full nav + both CTA buttons were wider
   than the container, so the primary "Free Estimate" button overflowed and
   got clipped off the right edge (and the util bar clipped on the left). */
@media (max-width: 1240px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .util-bar__email { display: none; }
}

@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .quote { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner__inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding: 60px 0 80px; }
  .hero__trust {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 18px;
  }
  .hero__actions .btn { flex: 1; min-width: 160px; }
  .util-bar { font-size: .75rem; }
  .util-bar__inner { gap: 8px; }
  .util-bar__pill { font-size: .7rem; }
  .field-row { grid-template-columns: 1fr; }
  .checkboxes { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .about__creds { grid-template-columns: 1fr; }
  .partners__actions { flex-direction: column; }
  .partners__actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .quote__form { padding: 24px 20px; }
  .modal__panel { padding: 28px 22px 22px; }
  .ba-slider__handle-knob { width: 40px; height: 40px; }
  .brand__mark { height: 42px; }
  .brand__name { font-size: 1.15rem; }
  .brand__sub { font-size: .62rem; letter-spacing: .3em; }
  .brand__stacked { height: 70px; }
  .util-bar__pill { display: none; }
  .util-bar__inner { justify-content: center; }
}

/* ---------- STORM-SEASON BANNER ---------- */
.storm-banner {
  background: var(--accent-deep);
  color: #fff;
  font-size: .86rem;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}
.storm-banner[hidden] { display: none; }
.storm-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 9px 56px 9px 24px;
  position: relative;
}
.storm-banner__msg { display: inline-flex; align-items: center; gap: 8px; }
.storm-banner__icon { font-size: 1rem; }
.storm-banner__msg strong {
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.storm-banner__detail { color: rgba(255, 255, 255, .85); }
.storm-banner__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  padding: 6px 14px;
  transition: background .2s, border-color .2s;
}
.storm-banner__cta:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.storm-banner__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.storm-banner__close:hover { color: #fff; }

/* ---------- EMERGENCY RESPONSE ---------- */
/* .emergency's orange top rule now comes from the shared .section border-top */
.emergency__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.emergency__copy p { color: var(--text-mid); margin: 16px 0 26px; max-width: 540px; }
.emergency__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.emergency__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.emergency__steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.emergency__step-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.emergency__steps strong { display: block; color: var(--text); margin-bottom: 2px; }
.emergency__steps span { color: var(--text-dim); font-size: .92rem; }

@media (max-width: 1024px) {
  .emergency__inner { grid-template-columns: 1fr; gap: 32px; }
  .storm-banner__inner { font-size: .82rem; }
}
@media (max-width: 720px) {
  .emergency__actions .btn { flex: 1; min-width: 160px; }
  .storm-banner__detail { display: none; }
  .storm-banner__inner { gap: 12px; padding: 8px 44px 8px 16px; }
  .storm-banner__cta { font-size: .72rem; padding: 5px 10px; }
}

/* ---------- MOBILE ACTION BAR ---------- */
.mobile-bar { display: none; }

@media (max-width: 720px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: rgba(21, 25, 30, .96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .35);
  }
  .mobile-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    font-family: 'Oswald', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-mid);
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
  }
  .mobile-bar__item:last-child { border-right: none; }
  .mobile-bar__item svg { display: block; }
  .mobile-bar__item--cta {
    background: var(--accent);
    color: #fff;
  }
  .mobile-bar__item--cta:active { background: var(--accent-deep); }

  body { padding-bottom: 64px; }
}

/* ============================================================
   VISUAL FEATURES — hero video, trust marquee, portfolio +
   lightbox, service-area map, by-the-numbers stat band
   ============================================================ */

/* ---------- HERO VIDEO ---------- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4) contrast(1.05) saturate(.85);
  opacity: 0;
  transition: opacity .8s var(--ease);
  pointer-events: none;
}
.hero__video.is-ready { opacity: 1; }

/* ---------- TRUST MARQUEE ---------- */
.trust-marquee {
  background: #0E1216;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}
.trust-marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.trust-marquee:hover .trust-marquee__track { animation-play-state: paused; }
.trust-marquee__group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex: none;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 16px;
}
.trust-chip__ic { color: var(--accent); font-size: 1rem; line-height: 1; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- PORTFOLIO: filters ---------- */
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.portfolio__filter {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 9px 20px;
  cursor: pointer;
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: .2s;
  transition-timing-function: var(--ease);
}
.portfolio__filter:hover { color: var(--text); border-color: var(--steel-light); }
.portfolio__filter.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* project-card is now a <button> — reset button defaults (visuals inherited above) */
.project-card { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; display: block; padding: 0; appearance: none; -webkit-appearance: none; }
.project-card.is-hidden { display: none; }
.project-card__zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(226, 125, 43, .92);
  color: #fff; font-size: 15px;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 2;
}
.project-card:hover .project-card__zoom,
.project-card:focus-visible .project-card__zoom { opacity: 1; transform: scale(1); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 210;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 10, 13, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__img {
  max-width: min(1000px, 92vw);
  max-height: 76vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.lightbox__cap { text-align: center; }
.lightbox__cap strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.1rem;
  color: var(--text);
}
.lightbox__cap span { color: var(--text-dim); font-size: .9rem; }
.lightbox__close {
  position: absolute; top: 16px; right: 22px;
  background: transparent; border: none;
  color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
  opacity: .8;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff; font-size: 1.8rem; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lightbox__nav:hover { background: rgba(226, 125, 43, .85); border-color: var(--accent); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---------- SERVICE-AREA MAP ---------- */
.service-map__layout {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 44px;
  align-items: center;
}
.service-map__stage {
  position: relative;
  background: radial-gradient(circle at 42% 42%, #2b333b, #14181c);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 760 / 380;
}
.service-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
}
.map-pin i {
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(226, 125, 43, .16);
  animation: pinPulse 2.6s var(--ease) infinite;
}
.map-pin span {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .04em;
  color: #e8ebee;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
}
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(226, 125, 43, .16); }
  50% { box-shadow: 0 0 0 11px rgba(226, 125, 43, .04); }
}
.service-map__list { list-style: none; margin: 0; padding: 0; }
.service-map__list li { padding: 13px 0; border-bottom: 1px solid var(--border); }
.service-map__list strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
}
.service-map__list span { color: var(--text-dim); font-size: .92rem; }
.service-map__cta { border-bottom: none !important; padding-top: 20px !important; }

/* ---------- BY THE NUMBERS (stat band) ---------- */
.stats-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 54px 0;
}
.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--text-mid);
  text-transform: uppercase;
}

/* ---------- RESPONSIVE: visual features ---------- */
@media (max-width: 1024px) {
  .service-map__layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .stats-band__inner { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .map-pin span { font-size: .64rem; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.4rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ===================================================================
   BLUEPRINT MOTION — added visual features
   =================================================================== */

/* ---- Hero title staggered reveal (FOUC-safe: hidden only when JS present) ---- */
.js .hero .reveal-line { opacity: 0; transform: translateY(26px); filter: blur(4px); }
.hero.is-revealed .reveal-line { animation: heroLineIn .8s var(--ease) forwards; }
.hero.is-revealed .reveal-line:nth-child(1) { animation-delay: .05s; }
.hero.is-revealed .reveal-line:nth-child(2) { animation-delay: .18s; }
.hero.is-revealed .reveal-line:nth-child(3) { animation-delay: .31s; }
.hero.is-revealed .reveal-line:nth-child(4) { animation-delay: .50s; }
.hero.is-revealed .reveal-line:nth-child(5) { animation-delay: .64s; }
@keyframes heroLineIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* ---- Service icon flash-in (icons ALWAYS visible; keyed on existing .is-visible) ---- */
.service-card.is-visible .service-card__icon { animation: iconFlash .7s var(--ease); }
@keyframes iconFlash {
  0%   { transform: scale(1);    color: var(--steel-light); }
  35%  { transform: scale(1.16); color: var(--accent-hot); }
  100% { transform: scale(1);    color: var(--steel-light); }
}

/* ---- Service-card 3D tilt + cursor spotlight (JS adds .is-tilting; sets --mx/--my) ---- */
.services-grid { perspective: 1000px; }
.service-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-tint), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
}
.service-card.is-tilting::after { opacity: 1; }
.service-card.is-tilting {
  transition: transform .08s linear, background .3s var(--ease), border-color .3s var(--ease);
}

/* ---- Process connector: continuous line + sequential step fill ---- */
.process { position: relative; }
.process::before, .process::after {
  content: ''; position: absolute; top: 46px; left: 9%; right: 9%; height: 2px; z-index: 0; display: none;
}
@media (min-width: 1000px) { .process::before, .process::after { display: block; } }
.process::before { background: var(--border-strong); }
.process::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-hot)); z-index: 1;
  transform: scaleX(0); transform-origin: left; transition: transform 1.7s var(--ease);
}
.process.is-drawn::after { transform: scaleX(1); }
.process__step { z-index: 2; overflow: hidden; }
.process__step::before {
  content: ''; position: absolute; top: 0; left: 0; height: 4px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.process.is-drawn .process__step::before { transform: scaleX(1); }
.process.is-drawn .process__step:nth-child(1)::before { transition-delay: .05s; }
.process.is-drawn .process__step:nth-child(2)::before { transition-delay: .55s; }
.process.is-drawn .process__step:nth-child(3)::before { transition-delay: 1.05s; }
.process.is-drawn .process__step:nth-child(4)::before { transition-delay: 1.50s; }
/* number → circled ring */
.process__num {
  font-size: 1.5rem; line-height: 1; opacity: 1; margin-bottom: 14px;
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--bg); border: 2px solid var(--border-strong); color: var(--accent);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.process.is-drawn .process__step .process__num { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.process.is-drawn .process__step:nth-child(1) .process__num { transition-delay: .05s; }
.process.is-drawn .process__step:nth-child(2) .process__num { transition-delay: .55s; }
.process.is-drawn .process__step:nth-child(3) .process__num { transition-delay: 1.05s; }
.process.is-drawn .process__step:nth-child(4) .process__num { transition-delay: 1.50s; }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  z-index: 101; pointer-events: none; will-change: transform;
}

/* ---- Back to top (progress ring) ---- */
.to-top {
  /* Raised to sit above the HubSpot chat launcher (which owns the bottom-right corner). */
  position: fixed; right: 26px; bottom: 96px; width: 52px; height: 52px;
  border-radius: 50%; background: rgba(35, 42, 49, .92); border: 1px solid var(--border-strong);
  display: grid; place-items: center; cursor: pointer; z-index: 140;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, border-color .2s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring-bg { fill: none; stroke: var(--border-strong); stroke-width: 3; }
.to-top__ring-fg { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 145; stroke-dashoffset: 145; transition: stroke-dashoffset .1s linear; }
.to-top__arrow { position: relative; z-index: 1; width: 20px; height: 20px; color: var(--text); }
/* Mobile: clear both the HubSpot chat launcher and the sticky Call/Text/Quote bar. */
@media (max-width: 720px) { .to-top { bottom: 96px; right: 16px; } }

/* ---- Service-area map (Leaflet, dark tiles, geo-accurate markers) ---- */
.service-map__stage { z-index: 0; } /* contain Leaflet's internal z-indexes below the sticky header */
.service-map__leaflet { position: absolute; inset: 0; width: 100%; height: 100%; }
.leaflet-container { background: #0e1218; font-family: var(--font-body); }
.leaflet-control-attribution { background: rgba(14, 18, 24, .72) !important; color: var(--text-faint) !important; font-size: .68rem; }
.leaflet-control-attribution a { color: var(--text-dim) !important; }
.cr-pin { background: transparent; border: none; }
.cr-pin__inner { display: flex; flex-direction: column; align-items: center; opacity: 0; }
.cr-pin.is-dropped .cr-pin__inner { animation: crPinDrop .55s var(--ease) forwards; }
@keyframes crPinDrop {
  0%   { opacity: 0; transform: translateY(-34px) scale(.5); }
  60%  { opacity: 1; transform: translateY(5px) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cr-pin__dot { display: block; width: 22px; height: 22px; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 5px rgba(226,125,43,.22), 0 3px 8px rgba(0,0,0,.6); }
.cr-pin.is-dropped .cr-pin__dot { animation: crPinPulse 2.6s var(--ease) 1s infinite; }
@keyframes crPinPulse {
  0%,100% { box-shadow: 0 0 0 5px rgba(226,125,43,.22), 0 3px 8px rgba(0,0,0,.6); }
  50%     { box-shadow: 0 0 0 11px rgba(226,125,43,.05), 0 3px 8px rgba(0,0,0,.6); }
}
.cr-pin__label { margin-top: 9px; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .04em; color: #fff; background: rgba(14,18,24,.85); padding: 2px 8px; border-radius: 3px; white-space: nowrap; }

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero__media img { animation: none; }
  /* Blueprint-motion: force final/visible states so nothing is stuck hidden */
  .hero .reveal-line { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .service-card.is-visible .service-card__icon { animation: none !important; }
  .process.is-drawn::after,
  .process.is-drawn .process__step::before { transform: scaleX(1) !important; }
  .cr-pin__inner { opacity: 1 !important; animation: none !important; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== THANK-YOU / CONFIRMATION PAGE ===== */
.thankyou { padding-top: 64px; }
.thankyou__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thankyou__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--success);
  font-size: 2.4rem;
  font-weight: 700;
  border: 2px solid var(--success);
  margin-bottom: 24px;
}
.thankyou .eyebrow { justify-content: center; }
.thankyou__lead {
  color: var(--text-mid);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 8px 0 28px;
  max-width: 560px;
}
.thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 44px;
}
.thankyou__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  text-align: left;
  margin-bottom: 44px;
}
.thankyou__steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.thankyou__step-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.thankyou__steps strong { display: block; color: var(--text); margin-bottom: 2px; }
.thankyou__steps span { color: var(--text-dim); font-size: .92rem; }
.thankyou__explore { width: 100%; border-top: 1px solid var(--border); padding-top: 28px; }
.thankyou__explore-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  font-size: .82rem;
  margin-bottom: 14px;
}
.thankyou__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
}
.thankyou__links a {
  color: var(--text-mid);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.thankyou__links a:hover { color: var(--accent-hot); border-bottom-color: var(--accent-hot); }

/* Emergency-section inline links to the storm / water-damage service pages */
.emergency__link { margin: -4px 0 20px; font-size: .95rem; color: var(--text-dim); }
.emergency__link a {
  color: var(--accent-hot);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s var(--ease);
}
.emergency__link a:hover { border-bottom-color: var(--accent-hot); }

/* ============================================================
   DECK LAYOUT — desktop pointers only.
   Every flick target (.hero / .section) is compacted to fit the
   window a flick lands on: one flick, one full section. Touch
   layouts keep the original tall, scrolling design.
   ============================================================ */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  /* ---- global section chrome ---- */
  .section { padding: 44px 0; }
  .section__head { margin-bottom: 22px; }
  .section__title { font-size: clamp(1.7rem, 2.9vw, 2.5rem); margin: 8px 0 10px; }
  .section__sub { font-size: .95rem; }

  /* ---- hero: exactly the first window ---- */
  .hero { min-height: calc(100vh - 178px); padding: 28px 0 24px; }
  .hero__title { font-size: clamp(2rem, 4.6vw, 3.8rem); margin: 12px 0 16px; }
  .hero__sub { margin-bottom: 22px; }
  .hero__actions { margin-bottom: 30px; }
  .hero__trust { padding: 16px 20px; gap: 12px; }
  .hero__scroll { display: none; } /* every section is one flick away — no scroll nudge needed */

  /* ---- services: six compact cards, 3-up ---- */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .service-card { padding: 18px 18px 16px; }
  .service-card--wide { grid-column: auto; }
  .service-card__icon { width: 42px; height: 42px; margin-bottom: 10px; }
  .service-card__icon svg { width: 22px; height: 22px; }
  .service-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .service-card p { font-size: .84rem; margin-bottom: 10px; }
  .service-card__list { display: none; } /* full scope lists live on the service pages */
  .service-card__link { font-size: .74rem; }

  /* ---- work: before/after beside the carousel; the project grid
     repeats the same photos, so it stays a touch-layout feature ---- */
  #work .container { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
  #work .section__head { grid-column: 1 / -1; margin-bottom: 10px; }
  #work .ba-slider { margin: 0; max-width: none; }
  #work .carousel--photo { margin: 0; }
  #work .portfolio__filters, #work .project-grid { display: none; }

  /* ---- process / expect ---- */
  .process__step { padding: 22px 18px 18px; }
  .expect-grid { gap: 12px; }
  .expect-card { padding: 18px 16px; }
  .expect-card p { font-size: 13px; }

  /* ---- partners ---- */
  .partners { gap: 32px; }

  /* ---- about: media height capped so the photo can't outgrow the window ---- */
  .about { gap: 36px; }
  .about__media img { aspect-ratio: auto; height: min(54vh, 520px); }

  /* ---- service area: map height in vh, tighter county list ---- */
  .service-map__stage { aspect-ratio: auto; height: min(46vh, 430px); }
  .service-map__list li { padding: 9px 0; }
  .service-map__list span { font-size: .85rem; }

  /* ---- quote ---- */
  .quote { gap: 32px; }
  .field { margin-bottom: 10px; }
  .field-row .field { margin-bottom: 10px; }

  /* ---- faq ---- */
  .faq { gap: 8px; margin-top: 8px; }
  .faq__item summary { padding: 13px 18px; font-size: .95rem; }
}

/* Deck layout — second pass: vh-aware media + tighter forms so every
   section fits down to ~800px-tall windows. */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .section { padding: clamp(26px, 4.4vh, 44px) 0; }

  /* work: cap both columns' media height to the window */
  .ba-slider__wrap { aspect-ratio: auto; height: min(42vh, 420px); }
  .ba-slider__caption { margin-top: 8px; font-size: .8rem; }
  #work .carousel__slide img { height: min(42vh, 420px); object-fit: cover; width: 100%; }

  /* services: trim the cards a notch further */
  .service-card p { font-size: .82rem; margin-bottom: 8px; }
  .service-card h3 { font-size: .98rem; }

  /* expect */
  .expect-card h3 { font-size: .95rem; }
  .expect-card__icon { width: 38px; height: 38px; }
  .expect-card p { font-size: 12.5px; }

  /* partners */
  .partners__copy p { font-size: .95rem; margin-bottom: 12px; }
  .partners__capabilities { margin: 16px 0 20px; }
  .partners__capabilities li { padding: 7px 0; font-size: .88rem; }
  .partners__sidebar { padding: 22px 20px; }

  /* about: let the photo follow the text column, capped */
  .about { align-items: center; }
  .about p { font-size: .93rem; }
  .about__media img { height: min(48vh, 470px); }

  /* service area */
  .service-map__list li { padding: 7px 0; }
  .service-map__list strong { font-size: .92rem; }
  .service-map__list span { font-size: .8rem; }
  .service-map__stage { height: min(44vh, 420px); }

  /* quote: tighter fields */
  .field { gap: 4px; margin-bottom: 8px; }
  .field-row .field { margin-bottom: 8px; }
  .field input, .field select, .field textarea { padding: 9px 12px; font-size: .9rem; }
  .field textarea { min-height: 56px; }
  .quote__copy p { font-size: .93rem; }
  .quote__bullets { margin: 14px 0; }
  .quote__form { padding: 22px 20px; }

  /* faq */
  .faq__item summary { padding: 11px 16px; font-size: .92rem; }
  .faq__panel p { font-size: .88rem; }
}

/* Deck layout — third pass: targeted trims from measured breakdowns. */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  /* work: media rows scale with window; hide the drag-hint caption */
  .ba-slider__wrap { height: min(40vh, 400px); }
  #work .carousel__slide img { height: min(40vh, 400px); }
  .ba-slider__caption { display: none; }
  #work .carousel__dots { margin-top: 8px; }
  #work .section__title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }

  /* services: clamp card copy to two lines, slimmer cards */
  .service-card { padding: 16px 16px 14px; }
  .service-card__icon { width: 36px; height: 36px; margin-bottom: 8px; }
  .service-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .services-grid { gap: 12px; }
  #services .section__head { margin-bottom: 16px; }

  /* expect */
  .expect-grid { gap: 10px; }
  .expect-card { padding: 16px 14px; }

  /* partners */
  .partners__copy p { font-size: .9rem; margin-bottom: 10px; }
  .partners__capabilities li { padding: 6px 0; font-size: .85rem; }
  .partners__sidebar { padding: 18px 18px; }

  /* about */
  .about p { margin: 0 0 12px; }

  /* service area */
  .service-map__list li { padding: 5px 0; }
  .service-map__list span { font-size: .78rem; }

  /* quote */
  .field label { font-size: .72rem; }
  .field { gap: 3px; margin-bottom: 6px; }
  .field-row .field { margin-bottom: 6px; }
  .field textarea { min-height: 48px; }
  .quote__fine { font-size: .72rem; margin-top: 8px; }
  #quote .section__head { margin-bottom: 14px; }
}

/* Deck layout — short-window tier (laptops ~800px tall). */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) and (max-height: 840px) {
  .section__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
  .section__sub { font-size: .88rem; }
  .section__head { margin-bottom: 14px; }

  .ba-slider__wrap, #work .carousel__slide img { height: 37vh; }
  .about__media img { height: 44vh; }
  .service-map__stage { height: 40vh; }
  .service-map__list strong { font-size: .88rem; }

  .partners__capabilities { margin: 12px 0 14px; }
  .partners__sidebar h3 { font-size: 1rem; }

  .quote__copy { padding-top: 0; }
  .quote__bullets li { padding: 4px 0; font-size: .88rem; }
  .quote__form { padding: 18px 16px; }
  .field input, .field select, .field textarea { padding: 8px 11px; font-size: .88rem; }
  .field textarea { min-height: 44px; }
}

/* Deck layout — final trims for the short-window tier. */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) and (max-height: 840px) {
  .services-grid { gap: 10px; }
  .service-card { padding: 14px 14px 12px; }
  .about__media img { height: 40vh; }
  .about p { font-size: .88rem; margin: 0 0 10px; }
  #quote .section__head { margin-bottom: 10px; }
  .quote__bullets { margin: 10px 0; }
  .quote__copy p { font-size: .88rem; }
  .field { margin-bottom: 5px; }
  .field-row .field { margin-bottom: 5px; }
  .field label { font-size: .68rem; }
  .quote__fine { margin-top: 6px; }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) and (max-height: 840px) {
  .quote__form .btn { padding: 11px 22px; }
  .field textarea { min-height: 40px; }
  .field { gap: 2px; }
}
