:root {
  /* Twilight ink — charcoal warmed toward dusk navy */
  --charcoal: #181b24;
  --slate: #262c3a;
  --steel: #4d5666;
  --warm-white: #faf9f7;
  --cream: #f5f0e8;
  --accent-blue: #2b3444;
  --accent-blue-light: #3d4757;
  --brand-blue: #2f8fff;
  --brand-blue-light: #6cb8ff;
  --brand-blue-deep: #1558b0;
  /* Dusk atmosphere */
  --dusk: #1a2130;
  --dusk-2: #141a26;
  --night: #10141f;
  --border-light: rgba(24,27,36,0.09);
  /* Warm "evening light" shadows */
  --shadow-sm: 0 1px 3px rgba(8,14,28,0.07);
  --shadow-md: 0 6px 20px -4px rgba(8,14,28,0.12);
  --shadow-lg: 0 18px 44px -12px rgba(8,14,28,0.22);
  --shadow-xl: 0 28px 64px -16px rgba(6,10,20,0.3);
  --shadow-brand: 0 14px 36px -10px rgba(26,111,214,0.4);
  --radius: 8px;
  --radius-lg: 18px;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brand-blue);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 56px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--brand-blue) !important;
  color: var(--charcoal) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
}

.nav-cta:hover {
  background: var(--brand-blue-light) !important;
  color: var(--charcoal) !important;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.phone-header svg { width: 18px; height: 18px; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(26,26,26,0.98);
  backdrop-filter: blur(16px);
  padding: 24px;
  border-bottom: 2px solid var(--brand-blue);
}

.mobile-nav.active { display: block; }

.mobile-nav a {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
  overflow: hidden;
  padding-top: 76px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('completed-residential-roof-replacement-metro-atlanta-800.webp') center/cover no-repeat;
  opacity: 0.25;
}
@media (min-width: 801px) {
  .hero-bg-image {
    background-image: url('completed-residential-roof-replacement-metro-atlanta.webp');
  }
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none !important; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,143,255,0.15);
  border: 1px solid rgba(47,143,255,0.3);
  color: var(--brand-blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.hero-badge:hover {
  background: rgba(47,143,255,0.25);
  border-color: rgba(47,143,255,0.55);
  transform: translateY(-1px);
}

.hero-badge:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.hero-badge svg { width: 16px; height: 16px; fill: var(--brand-blue); }

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--brand-blue);
}

.hero-tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  color: rgba(255,255,255,0.85);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--brand-blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn svg { width: 18px; height: 18px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--brand-blue);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 4px;
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--charcoal);
  color: #fff;
}

.section-cream {
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.78);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== ROOFING SERVICES ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-banner {
  background: linear-gradient(135deg, #232a37 0%, var(--accent-blue) 60%, var(--accent-blue-light) 100%);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: filter 0.35s ease;
}

.service-card:hover .card-banner {
  filter: brightness(1.08);
}

.card-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.service-card:hover .card-banner::after {
  transform: scaleX(1);
}

.banner-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.banner-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.banner-title,
.service-card .card-banner h2,
.service-card .card-banner h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.service-card .card-banner h2 a,
.service-card .card-banner h3 a,
.banner-title a {
  color: #fff;
  text-decoration: none;
}

.card-body {
  padding: 24px 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.service-card .learn-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
  align-self: flex-start;
}

.service-card .learn-more::after {
  content: '\2192';
}

.service-card:hover .learn-more {
  gap: 10px;
  color: #232a37;
}

/* Compact variant — used as cross-link cards on service detail pages.
   No banner, no icon, gold left-edge accent that grows on hover. */
.service-card.service-card--compact {
  flex-direction: column;
  padding: 24px 28px;
  border-left: 4px solid var(--border-light);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.service-card.service-card--compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--brand-blue);
}

.service-card.service-card--compact h2,
.service-card.service-card--compact h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.service-card.service-card--compact h2 a,
.service-card.service-card--compact h3 a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.25s ease;
}

.service-card.service-card--compact:hover h2 a,
.service-card.service-card--compact:hover h3 a {
  color: var(--accent-blue);
}

.service-card.service-card--compact p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}

/* ==================== PORTFOLIO GALLERY ==================== */
.gallery-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 0 60px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track::after {
  content: '';
  flex: 0 0 60px;
}

.gallery-item {
  flex: 0 0 340px;
  min-width: 340px;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(47,143,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gallery-arrow:hover {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--charcoal);
}

.gallery-arrow-left {
  left: 12px;
}

.gallery-arrow-right {
  right: 12px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
  z-index: 10;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-white);
}

.about-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 1.5px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.about-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1.2px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--steel);
}

.about-text .section-label { text-align: left; }

.about-text p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
}

.about-highlight svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--brand-blue);
}

/* ==================== MATERIALS ==================== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.material-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.material-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--brand-blue);
}

.material-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--brand-blue);
}

.material-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* ==================== REVIEWS ==================== */
.reviews-track {
  display: flex;
  gap: 20px;
  padding: 0 24px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 340px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  text-align: center;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  color: #fbbc04;
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
  margin-bottom: 18px;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--charcoal);
}

.review-source {
  font-size: 12px;
  color: var(--steel);
  margin-top: 2px;
}

.review-google-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

/* ==================== OTHER SERVICES ==================== */
.other-services-content {
  max-width: 1200px;
  margin: 0 auto;
}

.deck-showcase {
  margin-bottom: 56px;
}

.deck-showcase h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.deck-intro {
  text-align: center;
  font-size: 15px;
  color: var(--steel);
  margin-bottom: 28px;
  font-style: italic;
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.ba-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 320px;
}

.ba-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 6px 18px;
  border-radius: 4px;
}

/* ==================== BEFORE/AFTER SLIDER ==================== */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow-md);
  touch-action: none;
  --ba-pos: 50%;
}

.ba-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-slider-img-after {
  clip-path: inset(0 0 0 var(--ba-pos));
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 2px 12px rgba(0,0,0,0.3);
}

.ba-slider-knob {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  pointer-events: none;
}

.ba-slider-knob::before,
.ba-slider-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateY(-50%);
}

.ba-slider-knob::before {
  right: 60%;
  border-right: 8px solid var(--charcoal);
}

.ba-slider-knob::after {
  left: 60%;
  border-left: 8px solid var(--charcoal);
}

.ba-slider-tag {
  position: absolute;
  top: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(0,0,0,0.65);
  padding: 6px 14px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.ba-slider-tag-before { left: 14px; }
.ba-slider-tag-after { right: 14px; background: rgba(47,143,255,0.92); color: var(--charcoal); }

.ba-slider-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.ba-slider.ba-interacted .ba-slider-hint { opacity: 0; }

.ba-slider:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .ba-slider-knob { width: 40px; height: 40px; }
  .ba-slider-tag { font-size: 15px; padding: 4px 10px; top: 10px; }
  .ba-slider-hint { font-size: 11px; }
}

/* ==================== SERVICES GALLERY (horizontal scroller) ==================== */
.services-gallery-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 48px;
}

.services-gallery-track {
  display: flex;
  gap: 20px;
  padding: 8px 60px 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.services-gallery-track::-webkit-scrollbar { display: none; }

.services-gallery-track::after {
  content: '';
  flex: 0 0 60px;
}

.services-card {
  flex: 0 0 400px;
  min-width: 400px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.services-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eef2;
}

/* The card's before/after slider occupies the full media area */
.services-card-media .ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

/* Single-image card (no slider) — still clickable to enlarge */
.services-card-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  overflow: hidden;
}

.services-card-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.services-card-single:hover img { transform: scale(1.06); }

.services-card-body {
  padding: 18px 22px 22px;
  text-align: center;
}

.services-card-body h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.services-card-body p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
  margin: 0;
}

/* Services scroll arrows */
.services-gallery-wrapper .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(47,143,255,0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.services-gallery-wrapper .gallery-arrow:hover {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.1);
}

.services-gallery-wrapper .gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--charcoal);
}

.services-gallery-wrapper .gallery-arrow-left { left: 12px; }
.services-gallery-wrapper .gallery-arrow-right { right: 12px; }

.services-gallery-intro {
  text-align: center;
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 20px;
  font-style: italic;
}

@media (max-width: 700px) {
  .services-card { flex: 0 0 86vw; min-width: 86vw; }
  .services-gallery-track { padding: 8px 16px 20px; gap: 14px; }
  .services-gallery-track::after { flex-basis: 16px; }
  .services-gallery-wrapper .gallery-arrow { display: none; }
  .services-card-body h4 { font-size: 18px; }
}

/* ==================== REVIEWS GALLERY (image scroller) ==================== */
.reviews-gallery-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.reviews-gallery-track {
  display: flex;
  gap: 16px;
  padding: 8px 60px 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.reviews-gallery-track::-webkit-scrollbar { display: none; }

.reviews-gallery-track::after {
  content: '';
  flex: 0 0 60px;
}

.review-image-item {
  flex: 0 0 340px;
  min-width: 340px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  cursor: zoom-in;
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-image-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-image-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}

.reviews-gallery-wrapper .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(47,143,255,0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.reviews-gallery-wrapper .gallery-arrow:hover {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.1);
}

.reviews-gallery-wrapper .gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--charcoal);
}

.reviews-gallery-wrapper .gallery-arrow-left { left: 12px; }
.reviews-gallery-wrapper .gallery-arrow-right { right: 12px; }

@media (max-width: 700px) {
  .review-image-item { flex: 0 0 78vw; min-width: 78vw; height: 380px; }
  .reviews-gallery-track { padding: 8px 16px 20px; gap: 12px; }
  .reviews-gallery-track::after { flex-basis: 16px; }
  .reviews-gallery-wrapper .gallery-arrow { display: none; }
}

/* Our Work gallery — also make sure single-image items open lightbox cursor */
.gallery-item { cursor: zoom-in; }

/* Before/after card in Our Work gallery uses same ba-slider — but since the
   card is fixed-size, scale the tag/knob slightly */
.gallery-item .ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 10px;
  box-shadow: none;
  cursor: ew-resize;
}
.gallery-item .ba-slider .ba-slider-knob { width: 40px; height: 40px; }
.gallery-item .ba-slider .ba-slider-tag { font-size: 14px; padding: 4px 10px; top: 10px; }

/* Don't scale up when hovering a slider card — user is trying to drag, not preview */
.gallery-item:has(.ba-slider):hover { transform: none; }
.gallery-item:has(.ba-slider):hover img { transform: none; }
/* :has() fallback: explicitly stop img scaling inside .ba-slider */
.gallery-item .ba-slider img { transition: none; }
.gallery-item .ba-slider:hover img { transform: none; }

.services-bubble-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.bubble-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 22px;
  transition: all 0.3s ease;
}

.bubble-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-blue);
}

.bubble-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.bubble-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.bubble-item p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
}

.other-note {
  text-align: center;
  margin-top: 36px;
  font-size: 15px;
  color: var(--steel);
  font-style: italic;
  background: rgba(43,52,68,0.06);
  padding: 16px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-blue);
}

/* ==================== SERVICE AREAS ==================== */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.area-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.8px;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.area-tag:hover {
  background: var(--brand-blue);
  color: var(--charcoal);
  border-color: var(--brand-blue);
}

/* Featured area tags link to dedicated landing pages */
a.area-tag-featured {
  text-decoration: none;
  border-color: rgba(47,143,255,0.4);
  color: var(--brand-blue);
  cursor: pointer;
  position: relative;
}

a.area-tag-featured::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: 2px;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 4px solid currentColor;
  opacity: 0.65;
}

a.area-tag-featured:hover {
  background: var(--brand-blue);
  color: var(--charcoal);
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--charcoal);
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--accent-blue);
}

.contact-detail a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-detail a:hover { text-decoration: underline; }

.contact-josh {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-josh img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-blue);
}

.contact-josh-text {
  font-size: 14px;
  color: var(--steel);
}

.contact-josh-text strong {
  display: block;
  font-size: 16px;
  color: var(--charcoal);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--steel);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent-blue);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--accent-blue-light);
  transform: translateY(-1px);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--charcoal);
  border-top: 3px solid var(--brand-blue);
  padding: 64px 24px 32px;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand > img {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-badges img {
  height: 52px;
  width: auto;
  border-radius: 4px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-blue);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: inline;
  padding: 0;
}

.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ==================== FAQ ==================== */
.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-blue);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.4;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
  background: rgba(47,143,255,0.04);
}

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-answer {
  padding: 0 26px 24px;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #232a37 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta-banner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--brand-blue);
  color: var(--charcoal);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }

  /* Keep tap-to-call visible on mobile — just the icon, not the full number */
  .phone-header {
    font-size: 0;
    gap: 0;
    padding: 10px;
    background: rgba(47,143,255,0.15);
    border: 1px solid rgba(47,143,255,0.3);
    border-radius: 50%;
  }
  .phone-header svg { width: 20px; height: 20px; }

  .header-inner { height: 64px; }
  .hero { padding-top: 64px; }
  .logo-link img { height: 44px; }

  /* Hero video is desktop-only; phones use the poster image for speed and to keep hero content visible */
  .hero-bg-video { display: none !important; }
  .hero { min-height: auto; }
  .hero-content { padding: 56px 24px; }

  /* Roofing-system cutaway is detail-heavy; constrain it so labels stay legible and art isn't clipped */
  .materials-diagram { max-width: 420px; padding: 0 16px; }

  .section { padding: 64px 16px; }

  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 32px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .ba-row { grid-template-columns: 1fr; }
  .ba-item { height: 240px; }

  .gallery-item { flex: 0 0 280px; min-width: 280px; height: 220px; }

  .review-card { flex: 0 0 300px; padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .about-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 300px; }
  .services-bubble-list { grid-template-columns: 1fr; }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-in { opacity: 1 !important; }
}

/* ==================== MOBILE ACTION BAR ==================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--charcoal);
  border-top: 2px solid var(--brand-blue);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
}

.mobile-action-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 12px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
  min-height: 48px;
}

.mobile-action-bar .mab-call {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.mobile-action-bar .mab-call:active { background: rgba(255,255,255,0.14); }

.mobile-action-bar .mab-quote {
  background: var(--brand-blue);
  color: var(--charcoal);
}

.mobile-action-bar .mab-quote:active { background: var(--brand-blue-light); }

.mobile-action-bar svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mobile-action-bar .mab-call svg { fill: var(--brand-blue); }
.mobile-action-bar .mab-quote svg { fill: var(--charcoal); }

@media (max-width: 768px) {
  .mobile-action-bar { display: flex; }
  /* Give the page bottom padding so the bar never covers the footer text */
  body { padding-bottom: 72px; }
}
/* ====== Page banner images ====== */
.page-banner {
  max-width: 1100px;
  margin: 24px auto 56px;
  padding: 0 24px;
}
.page-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.materials-diagram {
  max-width: 900px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.materials-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ════════════════════════════════════════════════════════════════
   v4 — "UNDER THE GEORGIA SKY"
   Atmospheric redesign layer. Dusk-gradient skies, floating frosted
   header, rolling odometer stats, scroll-reveal choreography, and a
   signature roofline-skyline footer. All original selectors remain
   valid; this layer refines them.
   ════════════════════════════════════════════════════════════════ */

/* ---------- utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

::selection { background: rgba(47,143,255,0.35); color: var(--charcoal); }

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- scroll progress hairline ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 1200;
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-blue-light));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- header: solid bar → floating frosted pill ---------- */
.site-header {
  /* constant centering transform so the pill state animates smoothly */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(20,23,33,0.88);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(47,143,255,0.35);
  transition:
    top 0.5s var(--ease-out),
    width 0.5s var(--ease-out),
    border-radius 0.5s var(--ease-out),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

@media (min-width: 769px) {
  .site-header.is-scrolled {
    top: 14px;
    width: min(1280px, calc(100% - 40px));
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(18,21,31,0.78);
    box-shadow: 0 18px 44px -16px rgba(8,10,18,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .site-header.is-scrolled .header-inner { height: 64px; padding: 0 12px 0 24px; }
  .site-header.is-scrolled .logo-link img { height: 46px; }
}

.nav-desktop a { border-radius: 999px; }
.nav-cta { border-radius: 999px !important; }

/* mobile nav anchors to the mobile header height */
@media (max-width: 768px) {
  .mobile-nav { top: 64px; }
}

/* ---------- hero: dusk atmosphere ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 50% 112%, rgba(47,143,255,0.16), transparent 64%),
    linear-gradient(180deg, #1d2433 0%, #181b24 100%);
}

.hero-overlay {
  background:
    radial-gradient(900px 420px at 50% 104%, rgba(47,143,255,0.2), transparent 62%),
    linear-gradient(180deg, rgba(18,21,31,0.62) 0%, rgba(18,21,31,0.5) 46%, rgba(15,15,12,0.82) 100%);
}

.hero h1 { letter-spacing: 2.5px; }

.hero h1 span {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand-blue-light);
  padding-right: 0.06em; /* keep the italic terminal from clipping */
}

.hero-badge {
  background: rgba(47,143,255,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-stat-num {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  pointer-events: none;
}

.hero-scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--brand-blue);
  animation: cue-drop 2.2s var(--ease-out) infinite;
}

@keyframes cue-drop {
  0%   { transform: translateY(0); opacity: 0; }
  22%  { opacity: 1; }
  62%  { transform: translateY(15px); opacity: 0; }
  100% { transform: translateY(15px); opacity: 0; }
}

@media (max-width: 768px) {
  .hero-scroll-cue { display: none; }
}

/* ---------- odometer (rolling digits) ---------- */
.odo {
  display: inline-flex;
  align-items: flex-end;
  white-space: nowrap;
}

.odo > span {
  display: inline-block;
  height: 1em;
  line-height: 1;
}

.odo-d {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.odo-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.7s var(--ease-out);
  will-change: transform;
}

.odo-strip > span {
  display: block;
  height: 1em;
  line-height: 1;
}

/* ---------- buttons: pill + light sweep ---------- */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 17px 38px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-blue-light), var(--brand-blue) 55%, var(--brand-blue-deep));
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover::after { left: 130%; }

.btn-primary:hover {
  background: linear-gradient(180deg, #a9d6ff, var(--brand-blue-light) 55%, var(--brand-blue));
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -10px rgba(26,111,214,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.btn-secondary { border-radius: 999px; }

/* ---------- towns marquee ---------- */
.towns-marquee {
  position: relative;
  background: var(--night);
  border-top: 1px solid rgba(47,143,255,0.22);
  border-bottom: 1px solid rgba(47,143,255,0.22);
  padding: 15px 0;
  overflow: hidden;
}

.towns-marquee::before,
.towns-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.towns-marquee::before { left: 0; background: linear-gradient(90deg, var(--night), transparent); }
.towns-marquee::after { right: 0; background: linear-gradient(270deg, var(--night), transparent); }

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-roll 64s linear infinite;
}

.towns-marquee:hover .marquee-inner,
.towns-marquee:focus-within .marquee-inner { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group a,
.marquee-group .marquee-static {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 2px;
  transition: color 0.25s ease;
}

.marquee-group a:hover { color: var(--brand-blue-light); }

.marquee-group .marquee-dot {
  display: inline-block;
  margin: 0 22px;
  color: var(--brand-blue);
  font-size: 9px;
  opacity: 0.8;
}

@keyframes marquee-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .towns-marquee { overflow-x: auto; }
  .marquee-inner { animation: none !important; }
}

/* ---------- sections: sky washes & horizon glows ---------- */
.section { position: relative; }

.section-dark {
  background:
    radial-gradient(1200px 420px at 50% -8%, rgba(47,143,255,0.13), transparent 62%),
    linear-gradient(180deg, var(--dusk) 0%, var(--dusk-2) 100%);
}

.section-cream {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 4px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue));
}

.section-label::after {
  background: linear-gradient(90deg, var(--brand-blue), transparent);
}

/* left-aligned labels (about block) keep a single leading rule */
.about-text .section-label::after { display: none; }

.section-title { letter-spacing: 2px; }

/* ---------- cards: softer geometry, evening-light hover ---------- */
.service-card {
  border-radius: var(--radius-lg);
  border-color: rgba(24,27,36,0.07);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(47,143,255,0.25);
}

.card-banner {
  background: linear-gradient(140deg, #161b26 0%, var(--accent-blue) 58%, #3a4456 100%);
}

.material-card { border-radius: 14px; }

.materials-grid .material-card {
  transition: transform 0.35s var(--ease-out), background 0.35s ease, border-color 0.35s ease;
}

.materials-grid .material-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,143,255,0.45);
}

.gallery-item { border-radius: 14px; }
.review-image-item { border-radius: 14px; }
.page-banner img { border-radius: var(--radius-lg); }
.materials-diagram img { border-radius: var(--radius-lg); }

.ba-slider-knob { box-shadow: 0 0 0 4px rgba(47,143,255,0.35), 0 4px 14px rgba(0,0,0,0.4); }

/* ---------- about: framed portrait ---------- */
.about-image { position: relative; }

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(47,143,255,0.55);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .about-image::after { inset: 12px -12px -12px 12px; }
}

/* ---------- FAQ ---------- */
.faq-item { border-radius: 14px; }

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(47,143,255,0.6);
}

/* ---------- forms ---------- */
.contact-form { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.form-group input,
.form-group textarea {
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(47,143,255,0.16);
}

.form-submit { border-radius: 999px; letter-spacing: 2.5px; }

.form-submit:hover {
  box-shadow: 0 14px 32px -10px rgba(43,52,68,0.55);
}

/* ---------- CTA banner: twilight call ---------- */
.cta-banner {
  background:
    radial-gradient(900px 380px at 50% 118%, rgba(47,143,255,0.22), transparent 62%),
    linear-gradient(140deg, #161b26 0%, var(--accent-blue) 55%, #232a37 100%);
}

/* ---------- footer: the dusk roofline skyline ---------- */
.site-footer {
  --skyline-h: clamp(160px, 19vw, 270px);
  position: relative;
  background: var(--night);
  border-top: none;
  padding-top: calc(var(--skyline-h) + 48px);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--skyline-h);
  background: linear-gradient(180deg, transparent, rgba(16,20,31,0.4)) center bottom / cover no-repeat;
  pointer-events: none;
}

.footer-grid,
.footer-bottom { position: relative; }

.footer-col h4 { color: var(--brand-blue-light); }

/* ---------- scroll-reveal choreography ----------
   Gated behind html.js-reveal (added by scripts.js only when
   IntersectionObserver exists and reduced motion is off), so content
   is never hidden without JS. */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    filter 0.45s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}

@media (min-width: 769px) {
  html.js-reveal [data-reveal] { filter: blur(4px); }
}

html.js-reveal [data-reveal].revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* keep hover transitions snappy once revealed */
html.js-reveal [data-reveal].revealed.reveal-done {
  transition: none;
  will-change: auto;
}

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-scroll-cue span { animation: none !important; }
  .odo-strip { transition: none !important; }
  .scroll-progress { display: none; }
}

/* ================================================================
   v5 — SCROLL JOURNEY LAYER
   Shingled section stacking, quantity-aware grids, hero dusk scene,
   chapter rail, manifesto reveal, vista band, photographic skyline.
   ================================================================ */

/* ---------- quantity-aware grids (kills orphan rows) ---------- */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* exactly 4 cards -> balanced 2x2 */
  .services-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 940px;
  }
  /* exactly 2 cards */
  .services-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 940px;
  }
  .materials-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .materials-grid:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- shingled sections: each panel slides over the last ---------- */
.section { background: var(--warm-white); }
.section-dark {
  background:
    radial-gradient(1200px 420px at 50% -8%, rgba(47,143,255,0.13), transparent 62%),
    linear-gradient(180deg, var(--dusk) 0%, var(--dusk-2) 100%);
}
.section-cream { background: var(--cream); }

.section + .section,
.vista-band + .section,
.section + .vista-band,
.section + .cta-banner,
.cta-banner + .section {
  border-radius: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) 0 0;
  margin-top: calc(-1 * clamp(22px, 3vw, 34px));
  box-shadow: 0 -24px 60px rgba(12, 15, 26, 0.18);
}

.towns-marquee { position: relative; z-index: 2; }
.cta-banner { position: relative; }

/* footer tucks under the last panel */
.section + .site-footer,
.cta-banner + .site-footer {
  border-radius: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) 0 0;
  margin-top: calc(-1 * clamp(22px, 3vw, 34px));
}

/* ---------- hero: scroll-driven day-to-dusk scene ---------- */
.hero-dusk {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(120% 55% at 50% 102%, rgba(47,143,255, 0.30), transparent 62%),
    linear-gradient(180deg, rgba(13, 17, 28, 0) 0%, rgba(13, 17, 28, 0.45) 55%, rgba(16, 20, 31, 0.92) 100%);
  will-change: opacity;
}
.hero-bg-video, .hero-bg-image { will-change: transform; }

/* word-by-word headline entrance */
.hero-word { display: inline-block; white-space: pre; }
html.js-reveal .journey .hero h1 .hero-word {
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(8px);
}
html.js-reveal .journey .hero h1.words-in .hero-word {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
  transition-delay: calc(var(--wd, 0) * 80ms);
}

/* ---------- chapter rail: the journey map ---------- */
.chapter-rail {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 980;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
@media (min-width: 1200px) {
  .journey .chapter-rail { display: flex; }
}
.chapter-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
  min-height: 14px;
}
.chapter-rail .dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(24, 27, 36, 0.25);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.chapter-rail.on-dark .dot { background: rgba(255, 255, 255, 0.32); }
.chapter-rail a:hover .dot,
.chapter-rail a.active .dot {
  background: var(--brand-blue);
  transform: scale(1.55);
  box-shadow: 0 0 0 5px rgba(47,143,255, 0.16);
}
.chapter-rail .lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 27, 36, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.chapter-rail a:hover .lbl,
.chapter-rail a.active .lbl { opacity: 1; transform: none; }
.chapter-rail a:focus-visible .lbl { opacity: 1; transform: none; }

/* ---------- manifesto: words light up as you scroll ---------- */
.section-subtitle.manifesto {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.4;
  color: var(--charcoal);
  max-width: 860px;
}
.manifesto .mw {
  opacity: 0.14;
  transition: opacity 0.3s linear;
}
.section-dark .manifesto { color: #fff; }
.manifesto .mw.lit { opacity: 1; }
html:not(.js-reveal) .manifesto .mw { opacity: 1; }

/* ---------- vista band: cinematic parallax interlude ---------- */
.vista-band {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--night);
}
.vista-band .vista-img {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.vista-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 20, 31, 0.62) 0%,
    rgba(16, 20, 31, 0.18) 42%,
    rgba(16, 20, 31, 0.58) 100%);
}
.vista-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 110px 24px;
  max-width: 980px;
}
.vista-inner .section-label { color: var(--brand-blue); }
.vista-inner .section-label::before,
.vista-inner .section-label::after { background: rgba(47,143,255, 0.55); }
.vista-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 0.99;
  letter-spacing: 0.012em;
  text-shadow: 0 8px 50px rgba(0, 0, 0, 0.5);
  margin: 10px 0 18px;
}
.vista-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brand-blue);
}
.vista-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin: 0 auto 34px;
}
@media (max-width: 768px) {
  .vista-band { min-height: 64vh; }
  .vista-inner { padding: 80px 20px; }
}

/* ---------- footer skyline v2: photographic dusk panorama ---------- */
.site-footer {
  --skyline-h: clamp(240px, 28vw, 440px);
}
.site-footer::before {
  background-image:
    linear-gradient(180deg, var(--night) 0%, rgba(16, 20, 31, 0.35) 34%, rgba(16, 20, 31, 0) 60%),
    url('/dusk-skyline.webp');
  background-size: 100% 100%, cover;
  background-position: center bottom, center 72%;
  background-repeat: no-repeat;
  will-change: background-position;
}

/* ---------- ba-slider sweep affordance ---------- */
.ba-slider.ba-sweeping .ba-handle { box-shadow: 0 0 0 7px rgba(47,143,255, 0.22); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-dusk { display: none; }
  .manifesto .mw { opacity: 1 !important; transition: none !important; }
  .vista-band .vista-img { transform: none !important; }
  html.js-reveal .journey .hero h1 .hero-word {
    opacity: 1; transform: none; filter: none;
  }
}

/* ---------- skyline + vista: serve lighter art on small screens ---------- */
@media (max-width: 800px) {
  .site-footer::before {
    background-image:
      linear-gradient(180deg, var(--night) 0%, rgba(16, 20, 31, 0.35) 34%, rgba(16, 20, 31, 0) 60%),
      url('/dusk-skyline-1400.webp');
  }
}

/* ================================================================
   v5 — PREMIUM SERVICE CARDS
   Editorial numbering, aligned banners, gold explore affordance.
   Fixes the uneven-banner / orphan-row look.
   ================================================================ */
.services-grid { counter-reset: svc; }

.service-card {
  counter-increment: svc;
  position: relative;
  border-radius: var(--radius-lg);
  border-color: rgba(24, 27, 36, 0.07);
  background: #fff;
}

/* banner: equal height across a row, title anchored, big faint index */
.card-banner {
  align-items: flex-start;
  min-height: 148px;
  padding: 26px 30px 28px;
}
.card-banner::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 46px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: color 0.4s var(--ease-out);
}
.service-card:hover .card-banner::before { color: rgba(108,184,255, 0.55); }

.card-banner .banner-icon { margin-top: 2px; }

/* explore affordance in the body */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body p { flex: 1; }
.card-body::after {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-blue);
  opacity: 0.5;
  transform: translateX(0);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.35s;
}
.service-card:has(.card-banner h3 a) .card-body::after { content: 'Explore service →'; }
.service-card:hover .card-body::after {
  opacity: 1;
  color: var(--brand-blue-deep);
  transform: translateX(5px);
}

/* make the whole card a click target via the title's link */
.service-card .card-banner h3 a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ================================================================
   v5 — PINNED HERO STAGE
   The opening scene holds while day turns to dusk, then releases.
   Only engages with JS + motion; otherwise the hero is normal flow.
   ================================================================ */
.hero-stage { position: relative; }
.journey .hero-stage.staged { height: 160vh; }
.journey .hero-stage.staged .hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: 100vh;
}
/* the stage's own dusk veil deepens toward release for a seamless handoff */
.journey .hero-stage.staged .hero-content { will-change: transform, opacity; }

@media (max-width: 768px) {
  .journey .hero-stage.staged { height: auto; }
  .journey .hero-stage.staged .hero { position: relative; height: auto; min-height: 100vh; }
}
@media (prefers-reduced-motion: reduce) {
  .journey .hero-stage.staged { height: auto; }
  .journey .hero-stage.staged .hero { position: relative; height: auto; min-height: 100vh; }
}


/* ================================================================
   v5 — NIGHT FX  (aurora + starfield in dark sections, zero credits)
   ================================================================ */
.section-dark.has-night-fx,
.vista-band.has-night-fx { isolation: isolate; }
.section-dark.has-night-fx > *:not(.night-fx),
.vista-band.has-night-fx > *:not(.night-fx) { position: relative; z-index: 1; }

.night-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* drifting aurora glows */
.night-fx .aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 38% at 22% 30%, rgba(47,143,255,0.16), transparent 70%),
    radial-gradient(46% 42% at 78% 64%, rgba(46,96,142,0.30), transparent 72%),
    radial-gradient(38% 34% at 60% 18%, rgba(120,90,200,0.12), transparent 70%);
  filter: blur(8px);
  animation: aurora-drift 26s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); opacity: 0.9; }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.12); opacity: 1; }
  100% { transform: translate3d(4%, -1%, 0) scale(1.06); opacity: 0.85; }
}

/* twinkling starfield (pure CSS, two parallax-ish layers) */
.night-fx .stars,
.night-fx .stars::after {
  position: absolute;
  inset: 0;
  content: "";
}
.night-fx .stars {
  background-image:
    radial-gradient(2px 2px at 165px 77px, rgba(255,255,255,0.58), transparent),
    radial-gradient(1px 1px at 37px 274px, rgba(255,255,255,0.48), transparent),
    radial-gradient(1px 1px at 29px 259px, rgba(255,255,255,0.36), transparent),
    radial-gradient(1px 1px at 222px 214px, rgba(255,255,255,0.43), transparent),
    radial-gradient(1px 1px at 282px 217px, rgba(255,255,255,0.64), transparent),
    radial-gradient(1px 1px at 63px 114px, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 203px 25px, rgba(255,255,255,0.37), transparent),
    radial-gradient(2px 2px at 68px 148px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60px 292px, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 92px 52px, rgba(255,255,255,0.48), transparent),
    radial-gradient(1px 1px at 280px 32px, rgba(255,255,255,0.57), transparent),
    radial-gradient(2px 2px at 254px 272px, rgba(255,255,255,0.62), transparent),
    radial-gradient(2px 2px at 238px 299px, rgba(255,255,255,0.48), transparent),
    radial-gradient(1px 1px at 127px 92px, rgba(255,255,255,0.38), transparent),
    radial-gradient(2px 2px at 153px 268px, rgba(255,255,255,0.66), transparent),
    radial-gradient(1px 1px at 229px 147px, rgba(255,255,255,0.39), transparent),
    radial-gradient(1px 1px at 214px 84px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 250px 215px, rgba(255,255,255,0.69), transparent),
    radial-gradient(1px 1px at 39px 285px, rgba(255,255,255,0.47), transparent),
    radial-gradient(2px 2px at 179px 254px, rgba(255,255,255,0.37), transparent),
    radial-gradient(2px 2px at 47px 138px, rgba(255,255,255,0.59), transparent),
    radial-gradient(1px 1px at 33px 31px, rgba(255,255,255,0.58), transparent),
    radial-gradient(2px 2px at 228px 145px, rgba(255,255,255,0.66), transparent),
    radial-gradient(2px 2px at 177px 11px, rgba(255,255,255,0.47), transparent),
    radial-gradient(1px 1px at 59px 252px, rgba(255,255,255,0.43), transparent),
    radial-gradient(1px 1px at 147px 66px, rgba(255,255,255,0.49), transparent),
    radial-gradient(1px 1px at 254px 41px, rgba(255,255,255,0.51), transparent),
    radial-gradient(1px 1px at 281px 142px, rgba(255,255,255,0.64), transparent),
    radial-gradient(2px 2px at 281px 142px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 194px 118px, rgba(255,255,255,0.38), transparent),
    radial-gradient(1px 1px at 77px 118px, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 93px 134px, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 214px 273px, rgba(255,255,255,0.56), transparent),
    radial-gradient(1px 1px at 163px 64px, rgba(255,255,255,0.51), transparent);
  background-repeat: repeat;
  background-size: 300px 300px;
  animation: twinkle-a 7s ease-in-out infinite alternate;
}
.night-fx .stars::after {
  background-image:
    radial-gradient(1px 1px at 200px 203px, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 53px 246px, rgba(255,255,255,0.41), transparent),
    radial-gradient(1px 1px at 31px 97px, rgba(255,255,255,0.27), transparent),
    radial-gradient(1px 1px at 106px 225px, rgba(255,255,255,0.29), transparent),
    radial-gradient(1px 1px at 174px 26px, rgba(255,255,255,0.28), transparent),
    radial-gradient(1px 1px at 77px 51px, rgba(255,255,255,0.49), transparent),
    radial-gradient(1px 1px at 13px 36px, rgba(255,255,255,0.47), transparent),
    radial-gradient(1px 1px at 192px 76px, rgba(255,255,255,0.41), transparent),
    radial-gradient(1px 1px at 177px 186px, rgba(255,255,255,0.37), transparent),
    radial-gradient(1px 1px at 59px 249px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 238px 245px, rgba(255,255,255,0.37), transparent),
    radial-gradient(1px 1px at 43px 73px, rgba(255,255,255,0.28), transparent),
    radial-gradient(1px 1px at 175px 135px, rgba(255,255,255,0.37), transparent),
    radial-gradient(1px 1px at 82px 11px, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 185px 75px, rgba(255,255,255,0.42), transparent),
    radial-gradient(1px 1px at 13px 152px, rgba(255,255,255,0.49), transparent),
    radial-gradient(1px 1px at 46px 133px, rgba(255,255,255,0.38), transparent),
    radial-gradient(1px 1px at 85px 182px, rgba(255,255,255,0.44), transparent),
    radial-gradient(1px 1px at 257px 168px, rgba(255,255,255,0.41), transparent),
    radial-gradient(1px 1px at 99px 122px, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 116px 102px, rgba(255,255,255,0.38), transparent),
    radial-gradient(1px 1px at 182px 14px, rgba(255,255,255,0.5), transparent);
  background-repeat: repeat;
  background-size: 260px 260px;
  animation: twinkle-b 9s ease-in-out infinite alternate;
}
@keyframes twinkle-a { 0%,100% { opacity: 0.55; } 50% { opacity: 0.95; } }
@keyframes twinkle-b { 0%,100% { opacity: 0.9; } 50% { opacity: 0.45; } }

/* ================================================================
   v5 — 3D CARD TILT
   ================================================================ */
.services-grid, .materials-grid { perspective: 1100px; }
.service-card, .material-card { transform-style: preserve-3d; }
.service-card .card-banner,
.service-card .card-body { transform: translateZ(0.01px); }

/* ================================================================
   v5 — DRAWN ROOFLINE ACCENT
   ================================================================ */
.roofline {
  display: block;
  margin: 18px auto 0;
  width: clamp(200px, 26vw, 300px);
  height: auto;
  overflow: visible;
}
.roofline path {
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.9;
}
html:not(.js-reveal) .roofline path { stroke-dashoffset: 0; }
.roofline.drawn path {
  transition: stroke-dashoffset 1.5s var(--ease-out);
  stroke-dashoffset: 0;
}
.roofline .spark {
  fill: var(--brand-blue);
  opacity: 0;
}
.roofline.drawn .spark { animation: spark-pop 0.5s var(--ease-out) 1.25s both; }
@keyframes spark-pop {
  0% { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0.85; transform: scale(1); }
}

/* ================================================================
   v5 — RICHER LIGHTBOX  (nav arrows, caption, counter, transitions)
   ================================================================ */
.lightbox img {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.lightbox.active img { opacity: 1; transform: scale(1); }
.lightbox.is-swapping img { opacity: 0; transform: scale(0.99); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(20,26,38,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(47,143,255,0.9); border-color: transparent; color: #181b24; }
.lightbox-nav svg { width: 24px; height: 24px; fill: currentColor; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-nav.hidden { display: none; }

.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 0 80px;
  pointer-events: none;
}
.lightbox-counter {
  position: absolute;
  top: 22px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.18em;
  font-size: 13px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-caption { padding: 0 56px; bottom: 16px; }
}

/* ================================================================
   v5 — CITY PAGE PHOTOGRAPHIC HERO
   ================================================================ */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero[style*="--lp-hero-bg"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(16,20,31,0.62) 0%, rgba(16,20,31,0.78) 100%),
    var(--lp-hero-bg);
  background-size: cover, cover;
  background-position: center, center;
  z-index: 0;
  transform: scale(1.04);
  will-change: transform;
}
.lp-hero[style*="--lp-hero-bg"] .lp-hero-inner { position: relative; z-index: 1; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .night-fx .aurora,
  .night-fx .stars,
  .night-fx .stars::after { animation: none !important; }
  .roofline path { stroke-dashoffset: 0 !important; transition: none !important; }
  .roofline .spark { opacity: 0.85 !important; animation: none !important; }
  .lightbox img { transition: opacity 0.2s linear !important; transform: none !important; }
}

/* ================================================================
   v5.1 — AMBIENT VIDEO: CTA BAND + FOOTER SKYLINE
   Desktop + motion only; static gradient/skyline remain the fallback.
   ================================================================ */

/* ---- CTA band ambient loop ---- */
.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.cta-banner.has-cta-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 380px at 50% 122%, rgba(47,143,255,0.24), transparent 62%),
    linear-gradient(135deg, rgba(22,27,38,0.82) 0%, rgba(35,42,55,0.66) 55%, rgba(22,27,38,0.84) 100%);
}
.cta-banner.has-cta-video > *:not(.cta-video) { position: relative; z-index: 2; }

/* ---- footer skyline ambient loop ---- */
.footer-skyline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--skyline-h);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.footer-skyline video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.footer-skyline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--night) 0%, rgba(16,20,31,0.35) 34%, rgba(16,20,31,0) 60%);
}
.site-footer .footer-grid,
.site-footer .footer-bottom { z-index: 2; }

/* ================================================================
   v5.2 — FAQ ACCORDION REDESIGN
   Card lift, growing gold accent, circular rotating chevron token,
   smooth reveal. (UI design upgrade — no generated imagery needed.)
   ================================================================ */
.faq-item {
  position: relative;
  border: 1px solid rgba(24,27,36,0.08);
  border-radius: 16px;
  margin-bottom: 16px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s var(--ease-out), border-color .3s, transform .3s var(--ease-out);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-blue-deep));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .4s var(--ease-out);
}
.faq-item:hover {
  box-shadow: 0 12px 34px rgba(24,27,36,0.09);
  transform: translateY(-2px);
}
.faq-item[open] {
  box-shadow: 0 16px 44px rgba(24,27,36,0.11);
  border-color: rgba(47,143,255,0.4);
}
.faq-item[open]::before { transform: scaleY(1); }

.faq-item summary {
  padding: 24px 28px;
  font-size: 17.5px;
  gap: 20px;
  transition: color .25s ease;
}
.faq-item[open] summary { color: var(--brand-blue-deep); }

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  margin: 0;
  background: rgba(47,143,255,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23181b24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
  transform: rotate(0deg);
  transition: transform .4s var(--ease-out), background-color .25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: rgba(47,143,255,0.9);
  margin: 0;
}

.faq-answer {
  padding: 18px 28px 26px;
  border-top: 1px solid rgba(24,27,36,0.07);
}
.faq-item[open] .faq-answer { animation: faqReveal .45s var(--ease-out); }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-answer { animation: none; }
  .faq-item::before { transition: none; }
}
@media (max-width: 600px) {
  .faq-item summary { padding: 18px 20px; }
  .faq-answer { padding: 16px 20px 20px; }
  .faq-item summary::after { width: 30px; height: 30px; }
}

/* ================================================================
   v6 — BISHOP & SEABROOK MERGER
   Electric-blue / chrome palette (logo match), company dividers on
   the portfolio, Seabrook carousels, owner cards, larger header logo.
   ================================================================ */
:root { --chrome: #c9d2de; --chrome-dark: #8a95a5; }

/* Header/footer logo: the merged badge is detailed, so give it more room */
.logo-link img { height: 64px; width: auto; }
.site-header.is-scrolled .logo-link img { height: 50px; }
@media (max-width: 768px) { .logo-link img { height: 52px; } }
.footer-brand > img { height: 96px; width: auto; }
.footer-badges { flex-wrap: wrap; }
.site-footer { border-top-color: var(--chrome-dark); }

/* Portfolio: page intro + company jump links */
.portfolio-intro { padding-bottom: 32px; }
.portfolio-intro .section-header { margin-bottom: 0; }
.company-jump { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Company divider: chrome-edged band that labels each company's work */
.company-divider {
  position: relative;
  background: linear-gradient(180deg, #10141f 0%, #1a2130 100%);
  border-top: 2px solid var(--chrome-dark);
  border-bottom: 2px solid var(--brand-blue);
  box-shadow: 0 10px 30px -18px rgba(47,143,255,0.6);
  padding: 56px 24px 52px;
  text-align: center;
  color: #fff;
  scroll-margin-top: 90px;
}
.company-divider::after {
  content: '';
  position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: min(420px, 70%); height: 2px;
  background: linear-gradient(90deg, transparent, #9fd0ff, transparent);
  filter: blur(0.5px);
}
.company-divider-inner { max-width: 760px; margin: 0 auto; }
.company-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 2px;
  line-height: 1;
  margin: 4px 0 14px;
  background: linear-gradient(180deg, #ffffff 0%, #dfe6ef 45%, #9aa6b6 60%, #eef2f7 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.company-divider p { color: rgba(255,255,255,0.75); font-weight: 300; font-size: 17px; line-height: 1.7; }

/* Seabrook carousels reuse the gallery track; tighten stacked sections */
.sb-gallery-section { padding-top: 72px; padding-bottom: 72px; }
.sb-gallery-section .section-header { margin-bottom: 40px; }
.sb-gallery-section .gallery-item img { object-position: center 40%; }

/* About: owner cards */
.owner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.owner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,210,222,0.18);
  border-top: 3px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.owner-card img, .owner-card .owner-initials {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--brand-blue); margin: 0 auto 16px;
}
.owner-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #26304a, #0c0f17);
  color: #e9eef5; font: 700 30px/1 'Barlow Condensed', sans-serif; letter-spacing: 1px;
}
.owner-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 1px; color: #fff; margin-bottom: 4px; }
.owner-role { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--brand-blue-light); margin-bottom: 14px; }
.owner-card p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.owner-card a { color: var(--brand-blue-light); font-weight: 700; text-decoration: none; }
/* two call buttons (Josh + Morgan) beside the primary CTA */
.cta-card .btn { padding-left: 24px; padding-right: 24px; }
.cta-card { max-width: 880px !important; }

/* ================================================================
   v6.1: mobile hardening (audit at 375px / 320px)
   ================================================================ */
/* contact lists: long emails/addresses must wrap, not widen the grid */
.contact-grid > * { min-width: 0; }
.contact-method-value, .contact-detail a, .footer-contact-item a { overflow-wrap: anywhere; }
/* bigger tap targets for footer contact links and breadcrumbs */
.footer-contact-item a { display: inline-block; padding: 5px 0; }
.breadcrumb-inner a, .lp-breadcrumb a { display: inline-block; padding: 6px 0; }
@media (max-width: 768px) {
  /* comparison tables scroll sideways inside the article instead of widening the page */
  .article-comparison-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 400px) {
  .blog-grid { grid-template-columns: 1fr !important; }
  .blog-post-card { padding: 26px 22px !important; }
}
@media (max-width: 400px) {
  .contact-method { padding: 16px 14px; gap: 12px; }
  .contact-method-value { font-size: 14.5px; }
}
@media (max-width: 360px) {
  .contact-method-value { font-size: 13.5px; }
  .contact-method-icon { width: 40px; height: 40px; flex-shrink: 0; }
}

/* ================================================================
   v6.2: merger polish (BBB seal labels, portfolio jump buttons, Morgan card)
   ================================================================ */
.footer-badges a { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.badge-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); line-height: 1;
}
.company-jump-btn {
  border: 2px solid var(--brand-blue); color: var(--brand-blue-deep); background: transparent;
  padding: 14px 28px;
}
.company-jump-btn:hover, .company-jump-btn:focus-visible { background: var(--brand-blue); color: #fff; }
.contact-josh.contact-morgan { margin-top: 16px; }
.contact-morgan .owner-initials { width: 80px; height: 80px; font-size: 26px; }@media (min-width: 1000px) {
  .services-grid > .service-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(300px, 1fr) 2fr; align-items: stretch; }
  .services-grid > .service-card--wide .card-banner { height: 100%; }
  .services-grid > .service-card--wide .card-body { display: flex; flex-direction: column; justify-content: center; }
}.contact-morgan .owner-initials { border-radius: 50%; border: 3px solid var(--brand-blue); flex-shrink: 0; }

/* v6.3: service cards link from the "Explore service" text (same on home + services pages) */
.service-card .card-banner h3 a::before { content: none; }
.service-card:has(.card-banner h3 a) .card-body::after { content: none; display: none; }
.service-card .card-body .learn-more { margin-top: 18px; align-self: flex-start; }
.service-card .learn-more:hover, .service-card .learn-more:focus-visible { color: var(--brand-blue-deep); text-decoration: underline; text-underline-offset: 4px; }
/* v6.4: card icon boxes. Chrome can paint backdrop-filter as solid white inside the
   3D-tilted card banner, hiding the white icon until hover. No blur; solid tint instead. */
.banner-icon {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
  transform: translateZ(0);
}
.banner-icon svg { fill: #fff; opacity: 1; }
/* v6.5: owners team photo in the About section (landscape frame, both faces visible) */
.about-image.about-image--team img { aspect-ratio: 3 / 2; object-position: center 30%; height: auto; }
.contact-josh img, .josh-card img { object-fit: cover; }
/* v6.6: hero stats stay a tidy 2x2 grid on phones ("Years Combined Experience" is a longer label) */
@media (max-width: 600px) {
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; justify-items: center; }
  .hero-stat { text-align: center; max-width: 100%; }
  .hero-stat-label { text-align: center; }
}
/* ================================================================
   v7: CHROME BALANCE (owner feedback: "too much blue")
   Mirrors the logo: brushed chrome + graphite carry the brand; electric blue
   is kept as an accent only (hover glow, focus, thin accent lines, body links).
   ================================================================ */
:root {
  --chrome-hi: #f6f8fa;
  --chrome: #d9dfe6;
  --chrome-mid: #b3bcc8;
  --chrome-dark: #7f8a99;
  --steel-ink: #3d4757;          /* chrome-family text on light backgrounds */
  --graphite-1: #161b26;
  --graphite-2: #232a37;
  --graphite-3: #343d4d;
  --chrome-plate: linear-gradient(180deg, #fbfcfd 0%, #e3e8ee 34%, #b7c0cc 50%, #e9edf2 70%, #c9d0d9 100%);
  --chrome-plate-hover: linear-gradient(180deg, #ffffff 0%, #eef2f6 34%, #c9d1db 50%, #f3f6f9 70%, #d7dde5 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #e6ebf1 42%, #a4aebb 56%, #f1f4f8 78%, #c3cad4 100%);
  --chrome-line: linear-gradient(90deg, transparent, #c9d2de 20%, #ffffff 50%, #c9d2de 80%, transparent);
}

/* ---------- buttons: chrome plate, dark ink, blue glow on hover ---------- */
body .btn-primary, body .nav-cta, body .form-submit, body .mab-quote, body .mobile-action-bar .mab-quote,
body .lp-btn.lp-btn-primary, body .lp-btn-primary, body .ty-btn, body .article-cta .btn {
  background: var(--chrome-plate) !important;
  color: #10141f !important;
  border: 1px solid rgba(255,255,255,0.75) !important;
  box-shadow: 0 10px 26px -12px rgba(8,12,22,0.55), inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(90,100,115,0.35) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
body .btn-primary svg, body .nav-cta svg, body .mab-quote svg, body .lp-btn-primary svg, body .form-submit svg { fill: #10141f !important; }
body .btn-primary:hover, body .nav-cta:hover, body .form-submit:hover, body .mab-quote:hover, body .mab-quote:active,
body .lp-btn-primary:hover, body .ty-btn:hover, body .article-cta .btn:hover {
  background: var(--chrome-plate-hover) !important;
  box-shadow: 0 0 0 2px rgba(47,143,255,0.45), 0 12px 30px -10px rgba(47,143,255,0.45), inset 0 1px 0 #fff !important;
}
/* secondary / outline buttons: chrome edge instead of blue */
body .btn-secondary, body .btn-outline, body .lp-btn.lp-btn-outline, body .company-jump-btn {
  border-color: var(--chrome-mid) !important;
}
body .section-dark .btn-secondary, body .hero .btn-outline, body .lp-hero .lp-btn-outline, body .lp-btn.lp-btn-outline { color: var(--chrome) !important; }
body .lp-btn.lp-btn-outline svg { fill: var(--chrome) !important; }
body .company-jump-btn { color: var(--steel-ink) !important; }
body .company-jump-btn:hover { background: var(--chrome-plate) !important; color: #10141f !important; box-shadow: 0 0 0 2px rgba(47,143,255,0.35); }

/* ---------- hero ---------- */
body .hero h1 .hero-word, body .hero h1 > span {
  background: var(--chrome-text); -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent;
}
body .hero h1 > span { background: none; -webkit-text-fill-color: initial; }
body .hero h1 > span .hero-word { -webkit-text-fill-color: transparent; }
body .hero-stat-num, body .hero-stat-num span { color: var(--chrome-hi) !important; }
body .hero-badge, body .lp-hero-badge, body .contact-hero-badge {
  color: var(--chrome) !important; border-color: rgba(201,210,222,0.45) !important; background: rgba(255,255,255,0.06) !important;
}
body .hero-badge svg { fill: var(--chrome) !important; }

/* ---------- header / footer / bars ---------- */
body .site-header, body .lp-header { border-bottom-color: rgba(201,210,222,0.35) !important; }
body .phone-header, body .lp-phone { color: var(--chrome) !important; border-color: rgba(201,210,222,0.4) !important; }
body .phone-header svg { fill: var(--chrome) !important; }
body .site-footer h4, body .footer-col h4 { color: var(--chrome) !important; }
body .footer-contact-item svg { fill: var(--chrome-mid) !important; }
body .mobile-action-bar { border-top-color: rgba(201,210,222,0.35) !important; }
body .mobile-action-bar .mab-call svg { fill: var(--chrome) !important; }

/* ---------- section labels ---------- */
body .section-label, body .lp-label, body .label { color: var(--steel-ink) !important; }
body .section-dark .section-label, body .company-divider .section-label, body .hero .section-label,
body .lp-hero .lp-label, body .cta-banner .section-label { color: var(--chrome-mid) !important; }

/* ---------- service cards: graphite banner, chrome icon, blue only as hover line ---------- */
body .service-card .card-banner {
  background: linear-gradient(140deg, var(--graphite-1) 0%, var(--graphite-2) 55%, var(--graphite-3) 100%) !important;
  border-bottom: 2px solid transparent;
  border-image: var(--chrome-line) 1;
}
body .service-card .card-banner::before { color: rgba(201,210,222,0.18) !important; }
body .service-card:hover .card-banner::before { color: rgba(201,210,222,0.4) !important; }
body .banner-icon { background: var(--chrome-plate) !important; border-color: rgba(255,255,255,0.8) !important; }
body .banner-icon svg { fill: #1b2230 !important; }
body .service-card .learn-more { color: var(--steel-ink) !important; }
body .service-card .learn-more:hover, body .service-card .learn-more:focus-visible { color: #1558b0 !important; }
body .service-card--compact { border-left-color: var(--chrome-mid) !important; }

/* ---------- icons & small UI ---------- */
body .bubble-icon, body .contact-method-icon {
  background: var(--chrome-plate) !important; border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 -1px 0 rgba(90,100,115,0.3);
}
body .bubble-icon svg, body .contact-method-icon svg { fill: #1b2230 !important; }
body .contact-method-value-blue { color: var(--steel-ink) !important; }
body .gallery-arrow { background: var(--chrome-plate) !important; border: 1px solid rgba(255,255,255,0.8) !important; }
body .gallery-arrow svg { fill: #10141f !important; }
body .gallery-arrow:hover { box-shadow: 0 0 0 2px rgba(47,143,255,0.45) !important; }
body .ba-slider-tag-after { background: var(--chrome-plate) !important; color: #10141f !important; }
body .marquee-dot { color: var(--chrome-mid) !important; }
body .area-tag-featured { color: var(--steel-ink) !important; border-color: var(--chrome-mid) !important; background: rgba(201,210,222,0.18) !important; }
body .city-link { background: var(--graphite-2) !important; }

/* ---------- bands & cards ---------- */
body .cta-banner, body .lp-cta-banner {
  background:
    radial-gradient(900px 380px at 50% 118%, rgba(47,143,255,0.14), transparent 62%),
    linear-gradient(140deg, var(--graphite-1) 0%, var(--graphite-2) 58%, var(--graphite-3) 100%) !important;
  border-top: 1px solid rgba(201,210,222,0.35); border-bottom: 1px solid rgba(201,210,222,0.35);
}
body .other-note, body .hours-card, body .lp-testimonial, body .lp-neighborhood-card, body .faq-item, body details,
body .related-post-card, body .blog-category-card, body .article-callout { border-left-color: var(--chrome-dark) !important; }
body .lp-neighborhood-card, body .lp-hero, body .contact-hero { border-color: rgba(127,138,153,0.35) !important; }
body .view-all { color: var(--steel-ink) !important; border-color: var(--chrome-mid) !important; }
body .owner-card { border-top-color: var(--chrome-mid) !important; }
body .owner-card img, body .contact-josh img, body .josh-card img, body .contact-morgan .owner-initials { border-color: var(--chrome-mid) !important; }
body .owner-role { color: var(--chrome-mid) !important; }
body .company-divider { border-bottom-color: var(--chrome-mid) !important; box-shadow: 0 10px 30px -18px rgba(201,210,222,0.5) !important; }
body .footer-badges .badge-label { color: var(--chrome-mid); }
/* chrome buttons: defined steel edge so they hold up on white cards too */
body .btn-primary, body .nav-cta, body .form-submit, body .mab-quote, body .lp-btn.lp-btn-primary, body .lp-btn-primary, body .ty-btn, body .article-cta .btn {
  border: 1px solid #98a2b0 !important;
  box-shadow: 0 10px 24px -12px rgba(8,12,22,0.6), inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -2px 0 rgba(90,100,115,0.35) !important;
}
/* v7.1: contrast fix for the chrome theme. Steel text is for light backgrounds only;
   inside every dark section, labels / pills / outline buttons / links use silver. */
body .lp-btn.lp-btn-outline, body .btn-outline, body .btn-secondary { color: var(--steel-ink) !important; }
body .lp-btn.lp-btn-outline svg { fill: var(--steel-ink) !important; }
body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .section-label, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .label, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .lp-label { color: var(--chrome-mid) !important; }
body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .area-tag, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .area-tag-featured {
  color: var(--chrome-hi) !important; border-color: rgba(201,210,222,0.45) !important; background: rgba(255,255,255,0.07) !important;
}
body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .area-tag:hover, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .area-tag:focus-visible { background: var(--chrome-plate) !important; color: #10141f !important; }
body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .view-all { color: var(--chrome) !important; border-color: rgba(201,210,222,0.5) !important; }
body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .btn-secondary, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .btn-outline, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .lp-btn.lp-btn-outline { color: var(--chrome) !important; border-color: rgba(201,210,222,0.55) !important; }
body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .lp-btn.lp-btn-outline svg, body :is(.section-dark, .vista-band, .hero, .company-divider, .service-areas-strip, .lp-hero, .lp-section-dark, .blog-hero, .article-hero, .article-cta, .cta-banner, .lp-cta-banner, .contact-hero, .site-footer) .btn-outline svg { fill: var(--chrome) !important; }
body .city-link { color: var(--chrome-hi) !important; }
/* v7.2: remaining contrast fixes */
body .article-cta .btn.btn-secondary {
  background: transparent !important; color: var(--chrome) !important;
  border: 2px solid rgba(201,210,222,0.6) !important; box-shadow: none !important; text-shadow: none;
}
body .article-cta .btn.btn-secondary:hover { background: rgba(255,255,255,0.08) !important; box-shadow: 0 0 0 2px rgba(47,143,255,0.35) !important; }
body .article-hero a, body .article-byline a { color: var(--chrome-hi) !important; text-decoration: underline; text-underline-offset: 3px; }
body .blog-post-date { color: #5f6875 !important; }
body .ty-label { color: var(--steel-ink) !important; }
