@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=IBM+Plex+Sans:ital,wght@0,400;0,450;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --primary:        #FABC1C;
  --primary-dark:   #d99d00;
  --primary-light:  #fdd46a;
  --accent:         #24914C;
  --ink:            #14181D;
  --ink-mid:        #2e333a;
  --muted:          #5C6068;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --border:         rgba(20,24,29,0.12);
  --border-strong:  rgba(20,24,29,0.22);
  --primary-border: #FABC1C;
  --header-height:  72px;
  --radius:         4px;
  --radius-lg:      8px;
  --section-py:     clamp(80px, 10vh, 128px);
  --container:      1320px;
  --container-wide: 1400px;
}
@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 450;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Universal image cap */
img { max-width: 100%; height: auto; display: block; }

section img:not(.hero-bg):not([class*="full-bleed"]):not([class*="fullbleed"]) {
  max-height: 640px;
  object-fit: cover;
}

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 64px !important;
  max-width: 220px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}
.footer img, footer img {
  max-height: 48px !important;
  max-width: 200px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

/* Hero background */
.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Page headers */
.page-header, [class*="page-header"], .about-feature, .about-hero {
  position: relative; overflow: hidden; max-height: 64vh;
}
.page-header > img, [class*="page-header"] > img,
.page-header-bg, .about-feature > img:first-of-type, .about-hero-bg,
.page-header img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; z-index: 0;
}
section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}
section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

/* Gallery tiles */
[class*="gallery-grid"] > [class*="gallery-tile"],
[class*="gallery-grid"] > a, [class*="gallery-grid"] > figure {
  grid-column: auto; width: auto; max-width: 100%; height: auto; min-height: 0;
}
[class*="gallery-tile"] { aspect-ratio: 4 / 3; overflow: hidden; }
[class*="gallery-tile"] > img { width: 100%; height: 100%; object-fit: cover; }

/* Heading anchor rule */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Anchor base */
a { color: var(--ink); transition: color 150ms; }
a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Lists */
ul { list-style: none; }

/* ─── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wide-container { max-width: var(--container-wide); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: clamp(64px, 8vh, 112px) clamp(20px, 4vw, 48px); }
.bleed { width: 100%; max-width: 100%; }

/* ─── SCROLL PROGRESS ────────────────────────────────────────────────────── */
#scrollProgress, .scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%; background: var(--primary);
  transition: width 50ms linear;
}
#scrollBar, .scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; background: var(--border);
  width: 100%;
}
#scrollBar::after {
  content: ''; position: absolute; top: 0; left: 0;
  height: 100%; background: var(--primary);
  width: var(--scroll-pct, 0%);
}

/* ─── HEADER & NAV ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--canvas);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.top-nav {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: var(--header-height);
}

.nav-logo { flex: 0 0 auto; text-decoration: none; }
.nav-logo img { max-height: 44px; max-width: 200px; width: auto; }
.nav-logo:hover { text-decoration: none; }

.nav-pages {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 28px; list-style: none;
}
.nav-pages a {
  display: inline-block; padding: 6px 0;
  font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.01em;
}
.nav-pages a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-pages a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.nav-cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--ink);
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  text-decoration: none; white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }
.nav-cta:hover { filter: brightness(0.92); text-decoration: none; color: var(--ink); }

.nav-toggle {
  display: none; background: transparent; border: none;
  color: var(--ink); font-size: 24px; cursor: pointer;
  padding: 8px; width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .nav-pages {
    display: none; flex-direction: column; justify-content: flex-start;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--canvas); padding: 24px clamp(20px, 4vw, 48px);
    gap: 4px; border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { padding: 10px 0; font-size: 16px; width: 100%; }
  .nav-cta span { display: none; }
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none; border: 2px solid transparent;
  transition: filter 150ms, transform 120ms, background 150ms;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { text-decoration: none; }

.btn-primary, a.btn-primary, button.btn-primary {
  background: var(--primary); color: var(--ink);
  border-color: var(--primary);
}
.btn-primary:hover { filter: brightness(0.92); color: var(--ink); }

.btn-outline, a.btn-outline, button.btn-outline {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--canvas); }

.btn-outline-white, a.btn-outline-white {
  background: transparent; color: var(--surface);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 26px; border-radius: var(--radius);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; transition: background 150ms, border-color 150ms;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; color: white; }
.btn-outline-white svg { width: 18px; height: 18px; }

.btn-service {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; background: var(--primary); color: var(--ink);
  border: none; border-radius: var(--radius);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px;
  text-decoration: none; cursor: pointer; transition: filter 150ms;
}
.btn-service svg { width: 16px; height: 16px; }
.btn-service:hover { filter: brightness(0.92); text-decoration: none; color: var(--ink); }

.btn-submit, button.btn-submit, .form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%; justify-content: center;
  padding: 16px 28px; background: var(--primary); color: var(--ink);
  border: none; border-radius: var(--radius);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: filter 150ms;
}
.btn-submit svg, .form-submit svg { width: 18px; height: 18px; }
.btn-submit:hover, .form-submit:hover { filter: brightness(0.92); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
#hero.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.hero-overlay {
  background: linear-gradient(
    175deg,
    rgba(20,24,29,0.30) 0%,
    rgba(20,24,29,0.55) 55%,
    rgba(20,24,29,0.72) 100%
  );
}

.hero-ribbon {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--primary); z-index: 3;
}

.hero-inner {
  padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 80px);
  padding-bottom: clamp(56px, 9vh, 104px);
  max-width: var(--container); width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.1vw, 13px); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}

.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--surface);
  max-width: 18ch;
  margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(247,246,242,0.80);
  max-width: 52ch; line-height: 1.55;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.hero-ctas .btn svg { width: 18px; height: 18px; }

.hero-trust-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none;
}

.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.trust-chip svg { width: 14px; height: 14px; color: var(--primary); flex: 0 0 auto; }
.trust-chip-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--primary); flex: 0 0 auto;
}

.hero-hairline {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--primary); z-index: 4;
}

@media (max-width: 640px) {
  .hero-title { max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ─── MARQUEE STRIP ──────────────────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid rgba(250,188,28,0.3);
  border-bottom: 1px solid rgba(250,188,28,0.3);
  padding: 14px 0;
  max-height: 64px;
  position: relative; z-index: 1;
}

.marquee-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

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

.marquee-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: rgba(247,246,242,0.65);
  line-height: 1.2; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 12px;
}
.marquee-item span { display: inline-block; }
.marquee-item.hi { color: var(--primary); }

/* ─── TRUST STRIP ────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.trust-strip-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center; align-items: center;
}

.trust-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  border-radius: var(--radius); background: var(--surface);
  flex: 0 0 auto;
}
.trust-badge-icon { width: 32px; height: 32px; flex: 0 0 auto; }
.trust-badge-icon svg { width: 24px; height: 24px; color: var(--primary); }
.trust-badge-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.trust-badge-value {
  display: block;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 14px; color: var(--ink);
  letter-spacing: -0.01em;
}

/* ─── SECTION LABELS ─────────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10px, 1vw, 12px); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px; display: block;
}

.section-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted); max-width: 56ch; line-height: 1.6;
  margin-bottom: 0;
}

/* ─── SERVICES (bento grid, index.html) ──────────────────────────────────── */
.services { background: var(--canvas); }

.services-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.services-header > div { flex: 1; min-width: 0; }
.services-header .section-title { margin-bottom: 8px; }

.services-all-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--primary); padding-bottom: 2px;
  white-space: nowrap; margin-top: 8px; flex-shrink: 0;
  transition: color 150ms;
}
.services-all-link svg { width: 16px; height: 16px; }
.services-all-link:hover { color: var(--primary); text-decoration: none; }

/* Bento service grid */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

/* Featured: spans 7 cols, 2 rows */
.svc-card-featured {
  grid-column: span 7;
  grid-row: span 2;
}
/* Mid cards: span 5 cols */
.svc-card-mid { grid-column: span 5; }
/* Std cards: span 4 cols */
.svc-card-std { grid-column: span 4; }
/* Third cards: span 4 cols */
.svc-card-third { grid-column: span 4; }

.svc-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--ink);
  display: block; text-decoration: none;
  min-height: 220px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.32); text-decoration: none; }

.svc-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 400ms ease-out;
  max-height: none !important;
}
.svc-card:hover > img { transform: scale(1.04); }

.svc-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,24,29,0.82) 0%, rgba(20,24,29,0.18) 60%, transparent 100%);
  z-index: 1;
}

.svc-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 20px 18px;
  z-index: 2;
}
.svc-card-featured .svc-card-body { padding: 28px 28px 24px; }

.svc-card h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  color: var(--surface); letter-spacing: -0.015em; margin-bottom: 4px;
  font-size: clamp(17px, 1.8vw, 24px); line-height: 1.1;
}
.svc-card-featured h3 { font-size: clamp(22px, 2.5vw, 34px); }

.svc-card-index {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 4px;
}

.svc-card-desc {
  font-size: 13px; color: rgba(247,246,242,0.72);
  line-height: 1.4; display: none;
}
.svc-card-featured .svc-card-desc { display: block; margin-top: 6px; }

.svc-card-arrow {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 32px; height: 32px;
  background: var(--primary); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.svc-card-arrow svg { width: 16px; height: 16px; color: var(--ink); }

@media (max-width: 1100px) {
  .svc-card-featured { grid-column: span 12; grid-row: span 1; }
  .svc-card-mid { grid-column: span 6; }
  .svc-card-std, .svc-card-third { grid-column: span 4; }
}
@media (max-width: 768px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .svc-card-featured, .svc-card-mid,
  .svc-card-std, .svc-card-third { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 480px) {
  .services-bento { grid-template-columns: 1fr; }
  .svc-card-featured, .svc-card-mid,
  .svc-card-std, .svc-card-third { grid-column: span 1; }
}

/* ─── GALLERY (index.html) ───────────────────────────────────────────────── */
.gallery { background: var(--surface); }

.gallery-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}

.gallery-feature {
  position: relative; overflow: hidden;
  border-radius: var(--radius); min-height: 440px;
  background: var(--ink);
}
.gallery-feature > img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; max-height: none !important;
}
.gallery-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,24,29,0.65) 0%, transparent 55%);
  z-index: 1;
}
.gallery-feature-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.gallery-feature-caption {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,246,242,0.75);
}
.gallery-view-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--primary); text-decoration: none;
  border-bottom: 1px solid var(--primary); padding-bottom: 1px;
}
.gallery-view-link svg { width: 14px; height: 14px; }
.gallery-view-link:hover { color: var(--primary-light); text-decoration: none; }

/* Gallery page */
.gallery-section { background: var(--canvas); }

.gallery-intro {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(48px, 7vh, 80px) clamp(20px, 4vw, 48px) 32px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.gallery-title-block { flex: 1; min-width: 280px; }
.gallery-title-block .section-title { margin-bottom: 0; }
.gallery-intro-right { flex: 0 0 auto; max-width: 400px; }
.gallery-intro-text { font-size: 16px; color: var(--muted); line-height: 1.6; }

.gallery-filters {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 32px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.gallery-filters button, .filter-pill {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius);
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--ink); cursor: pointer; transition: background 150ms, border-color 150ms;
}
.gallery-filters button:hover, .filter-pill:hover,
.gallery-filters button.active, .filter-pill.active {
  background: var(--primary); border-color: var(--primary); color: var(--ink);
}

.gallery-grid {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(48px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); }

.gallery-card-tall { grid-row: span 2; }

.gallery-card-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--ink);
}
.gallery-card-tall .gallery-card-photo { aspect-ratio: unset; height: 100%; min-height: 360px; }
.gallery-card-photo > img {
  width: 100%; height: 100%; object-fit: cover; max-height: none !important;
  transition: transform 400ms ease-out;
  filter: grayscale(15%);
}
.gallery-card:hover .gallery-card-photo > img { transform: scale(1.04); filter: grayscale(0%); }

.gallery-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  background: var(--primary); color: var(--ink);
  padding: 4px 8px; border-radius: 2px;
}
.gallery-category-tag {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  background: rgba(20,24,29,0.80); color: rgba(247,246,242,0.85);
  padding: 4px 8px; border-radius: 2px;
}

.gallery-card-body {
  padding: 16px 18px 18px;
}
.gallery-card-body h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 15px; line-height: 1.2; color: var(--ink); margin-bottom: 6px;
}
.gallery-card-desc { font-size: 13px; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }
.gallery-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-chip {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
  border: 1px solid var(--border); color: var(--muted); display: inline-flex; align-items: center; gap: 4px;
}
.meta-chip svg { width: 12px; height: 12px; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card-tall { grid-row: span 1; }
  .gallery-card-tall .gallery-card-photo { min-height: auto; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── REVIEWS ────────────────────────────────────────────────────────────── */
.reviews { background: var(--canvas); }

.reviews-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
  align-items: start; margin-top: 40px;
}

.reviews-stars {
  display: flex; gap: 4px; margin-bottom: 16px;
}
.reviews-stars svg { width: 20px; height: 20px; color: var(--primary); fill: var(--primary); }

.reviews-big-number {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(64px, 9vw, 96px); line-height: 1.0;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 8px;
}
.reviews-big-number span { color: var(--primary); }

.reviews-award-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--primary); border-radius: var(--radius);
  padding: 10px 14px; margin-top: 16px; background: var(--surface);
}
.reviews-award-icon svg { width: 20px; height: 20px; color: var(--primary); }
.reviews-award-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  display: block;
}
.reviews-award-value {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px; color: var(--ink);
  display: block;
}

.reviews-blockquote {
  font-family: 'Archivo', sans-serif; font-style: italic; font-weight: 700;
  font-size: clamp(22px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 20px;
  border-left: 3px solid var(--primary); padding-left: 24px;
}

.reviews-body { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 28px; }

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── CREDENTIALS ────────────────────────────────────────────────────────── */
.credentials { background: var(--surface); }

.credentials-grid,
.credentials-registry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px;
}

.cred-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.cred-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(0,0,0,0.14); }

.cred-card-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; display: block;
}

.cred-card-value {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px); color: var(--ink);
  margin-bottom: 6px; letter-spacing: 0.04em; word-break: break-word;
}

.cred-card-sub, .cred-card-desc {
  font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 4px;
}

.credentials-heading, h2.credentials-heading {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.0;
  margin-bottom: 12px;
}
.credentials-sub {
  font-size: 16px; color: var(--muted); max-width: 56ch; line-height: 1.6;
}

@media (max-width: 900px) {
  .credentials-grid, .credentials-registry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .credentials-grid, .credentials-registry { grid-template-columns: 1fr; }
}

/* ─── SERVICE AREAS ──────────────────────────────────────────────────────── */
.service-areas { background: var(--canvas); }

.service-areas-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(64px, 8vh, 112px) clamp(20px, 4vw, 48px);
}
.service-areas-heading { font-family: 'Archivo', sans-serif; font-weight: 800; }
.service-areas-sub { font-size: 16px; color: var(--muted); margin: 12px 0 28px; }

.areas-pill-cloud, .areas-cloud, .service-areas-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}

.area-pill, .area-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: var(--surface); border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: background 150ms;
}
.area-pill:hover, .area-chip:hover {
  background: var(--primary); text-decoration: none; color: var(--ink);
}
.area-pill-dot, .area-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex: 0 0 auto;
}

.areas-note {
  margin-top: 20px; font-size: 13px; color: var(--muted); font-style: italic;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq { background: var(--surface); }

.faq-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0 48px; margin-top: 40px;
}

.faq-col { display: flex; flex-direction: column; }

details.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
details.faq-item > summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; color: var(--ink);
  gap: 16px; line-height: 1.4;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "+"; font-weight: 300; font-size: 22px;
  flex: 0 0 auto; transition: transform 200ms; color: var(--ink);
}
details.faq-item[open] > summary::after {
  transform: rotate(45deg); color: var(--primary);
}
details.faq-item .faq-answer, details.faq-item p {
  margin-top: 12px; font-size: 15px; line-height: 1.65;
  color: var(--muted);
}
.faq-chevron { display: none; }

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact { background: var(--canvas); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  max-width: var(--container); margin: 0 auto;
  padding: clamp(64px, 8vh, 112px) clamp(20px, 4vw, 48px);
}

.contact-form h3, .contact-form-side h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; margin-bottom: 24px;
}

.contact-form-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.contact-form-desc, .contact-form-title, .contact-form-heading {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 24px;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}
.form-field, .form-group {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px;
}
.form-field label, .form-group label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.form-field input, .form-group input,
.form-field select, .form-group select,
.form-field textarea, .form-group textarea,
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif; font-size: 15px;
  transition: border-color 150ms;
  -webkit-appearance: none; appearance: none;
}
.form-field input:focus, .form-group input:focus,
.form-field select:focus, .form-group select:focus,
.form-field textarea:focus, .form-group textarea:focus,
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(250,188,28,0.20);
}
.form-field textarea, .form-group textarea, form textarea {
  min-height: 110px; resize: vertical;
}

.contact-info-col, .contact-info-card {
  padding: 28px; background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
}
.contact-info-col h3, .contact-info-card h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; margin-bottom: 20px;
}
.contact-info-col-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 16px; }

.contact-info-item, .info-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.contact-info-icon, .info-item-icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  background: rgba(250,188,28,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg, .info-item-icon svg {
  width: 18px; height: 18px; color: var(--primary);
}
.contact-info-detail-label, .info-item-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px; display: block;
}
.contact-info-detail-value, .info-item-value {
  font-size: 15px; color: var(--ink); line-height: 1.4;
}
.contact-info-detail-value a, .info-item-value a { color: var(--ink); font-weight: 600; }

.contact-socials-row, .info-socials {
  display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink); text-decoration: none; transition: background 150ms;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--ink); text-decoration: none; }
.social-link svg { width: 18px; height: 18px; }

.info-block { margin-bottom: 16px; }
.info-divider { border-top: 1px solid var(--border); margin: 16px 0; }
.info-card-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.info-card-desc, .info-card-cta-headline {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 16px;
}

.service-area-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* Contact section variant */
.contact-section {
  background: var(--canvas);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about-story { background: var(--surface); }

.about-story-grid {
  display: grid; grid-template-columns: 45% 1fr; gap: 64px; align-items: start;
}
.about-story-portrait-col { position: relative; }
.about-story-portrait-col img {
  width: 100%; height: auto; max-height: 600px; object-fit: cover;
  border-radius: var(--radius);
}
.about-portrait-badge {
  position: absolute; bottom: -12px; right: -12px;
  background: var(--primary); padding: 14px 18px; border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink);
}

.about-story-text-col .section-eyebrow { display: block; margin-bottom: 12px; }
.about-story-headline, .about-story-text-col h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); margin-bottom: 20px;
}
.about-story-body {
  font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 16px;
}
.about-story-portrait { width: 100%; object-fit: cover; }

.about-values-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 32px;
}
.about-value-card {
  background: var(--canvas); border: 1px solid var(--border);
  border-top: 4px solid var(--primary); border-radius: var(--radius);
  padding: 16px;
}
.about-value-card-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 6px; display: block;
}
.about-value-card-title {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 15px; color: var(--ink); margin-bottom: 4px;
}
.about-value-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait-badge { right: 0; }
  .about-values-row { grid-template-columns: 1fr; }
}

/* ─── PAGE HEADER (sub-pages) ────────────────────────────────────────────── */
.page-header {
  min-height: clamp(240px, 38vh, 400px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink);
}

.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,24,29,0.35) 0%, rgba(20,24,29,0.68) 100%);
}

.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--container); width: 100%; margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 48px) 40px;
}

.page-header-eyebrow, .page-header-eyebrow span {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px; display: block;
}

.page-header-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.0; letter-spacing: -0.025em; color: var(--surface);
  margin-bottom: 12px;
}
.page-header-title span { color: var(--primary); }

.page-header-sub {
  font-size: clamp(14px, 1.5vw, 17px); color: rgba(247,246,242,0.75);
  max-width: 52ch;
}

.page-header-hairline {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--primary); z-index: 3;
}

.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(247,246,242,0.55); margin-bottom: 14px;
}
.breadcrumb a { color: rgba(247,246,242,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb span:last-child { color: rgba(247,246,242,0.85); }

/* ─── SERVICES DETAIL PAGE ───────────────────────────────────────────────── */
.services-nav-strip {
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: var(--header-height); z-index: 800;
  overflow-x: auto;
}
.services-nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; gap: 0;
}
.svc-anchor {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 16px; white-space: nowrap;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.svc-anchor:hover { color: var(--ink); border-bottom-color: var(--primary); text-decoration: none; }
.svc-anchor.active { color: var(--primary); border-bottom-color: var(--primary); }
.svc-anchor-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  color: var(--primary);
}

.services-detail { background: var(--canvas); }
.services-detail-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(48px, 7vh, 80px) clamp(20px, 4vw, 48px);
}

.services-intro {
  margin-bottom: 64px; max-width: 760px;
}
.services-intro .section-title { font-size: clamp(28px, 4vw, 56px); }
.services-intro-body { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 64ch; }

.service-feature {
  display: grid; grid-template-columns: 45% 1fr;
  gap: 48px; align-items: start;
  margin-bottom: 72px; padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.service-feature:last-child { border-bottom: 0; }

.service-feature.reverse .service-feature-img { order: 2; }
.service-feature.reverse .service-feature-body { order: 1; }

.service-feature-img {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; background: var(--ink);
}
.service-feature-img > img {
  width: 100%; height: 100%; object-fit: cover;
  max-height: none !important;
}
.service-feature-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,24,29,0.35) 0%, transparent 50%);
}
.service-index-badge {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--primary); color: var(--ink);
  padding: 4px 10px; border-radius: 2px;
}

.service-feature-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.service-feature-body h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); margin-bottom: 16px;
}
.service-feature-desc {
  font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 12px;
}
.service-feature-bullets {
  list-style: none; margin-bottom: 24px;
}
.service-feature-bullets li {
  padding: 6px 0; padding-left: 18px; position: relative;
  font-size: 15px; color: var(--muted); line-height: 1.5;
}
.service-feature-bullets li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 8px; height: 2px; background: var(--primary);
}

.emergency-svc { position: relative; }
.emergency-badge {
  display: inline-flex; align-items: center; gap: 8px;
  position: absolute; top: -10px; left: 0; z-index: 3;
  background: #d32f2f; color: white;
  padding: 6px 14px; border-radius: 2px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.emergency-svc .service-feature-img { border: 2px solid #d32f2f; }

@media (max-width: 900px) {
  .service-feature { grid-template-columns: 1fr; gap: 24px; }
  .service-feature.reverse .service-feature-img,
  .service-feature.reverse .service-feature-body { order: unset; }
  .service-feature-img { aspect-ratio: 16/9; }
}

/* ─── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--ink);
  padding: clamp(64px, 8vh, 96px) 0;
}

.cta-banner-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 420px;
  gap: 48px; align-items: start;
}

.cta-banner-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px; display: block;
}
.cta-banner-heading, .cta-banner h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.05;
  color: var(--surface); margin-bottom: 16px;
}
.cta-banner-sub {
  font-size: 16px; color: rgba(247,246,242,0.70); line-height: 1.65; margin-bottom: 24px;
}
.cta-banner-phone, a.cta-banner-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(22px, 3vw, 34px); color: var(--primary);
  text-decoration: none; letter-spacing: -0.01em; margin-bottom: 16px;
}
.cta-banner-phone svg { width: 24px; height: 24px; }
.cta-banner-phone:hover { color: var(--primary-light); text-decoration: none; }
.cta-banner-note {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(247,246,242,0.50); margin-bottom: 28px;
}
.cta-banner-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.cta-banner-title, .cta-banner-text h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 52px); color: var(--surface);
  letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 16px;
}
.cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px; display: block;
}
.cta-sub {
  font-size: 16px; color: rgba(247,246,242,0.70); max-width: 52ch; margin-bottom: 28px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-title { font-family: 'Archivo', sans-serif; font-weight: 800; }
.cta-phone, .cta-banner-phone { font-family: 'Archivo', sans-serif; font-weight: 800; }

.cta-form-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid rgba(250,188,28,0.25);
  padding: 28px;
}
.cta-form-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(18px, 2vw, 24px); color: var(--ink); margin-bottom: 8px;
}
.cta-form-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; }
}

/* Simpler single-col cta-banner variant */
section.cta-banner .cta-banner-inner:not(:has(.cta-form-card)) {
  grid-template-columns: 1fr;
  text-align: center;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer, .site-footer {
  background: var(--ink);
  color: rgba(247,246,242,0.70);
}

.footer-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(48px, 7vh, 80px) clamp(20px, 4vw, 48px) 40px;
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand, .footer-brand-col {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-brand img, .footer-brand-col img {
  max-height: 48px !important; width: auto;
}
.footer-brand-name { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; color: var(--surface); }
.footer-tagline, .footer-brand-tagline {
  font-size: 14px; color: rgba(247,246,242,0.55);
  line-height: 1.6; max-width: 28ch;
}

.footer-contact-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.footer-contact-lines a, .footer-contact-item a,
.footer-phone-link { font-size: 14px; color: rgba(247,246,242,0.70); text-decoration: none; }
.footer-contact-lines a:hover, .footer-contact-item a:hover,
.footer-phone-link:hover { color: var(--primary); text-decoration: none; }
.footer-contact-item { font-size: 14px; color: rgba(247,246,242,0.65); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary); flex: 0 0 auto; }

.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col-title, .footer-col-heading, .footer-col-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--surface); margin-bottom: 16px; display: block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a, .footer-col ul li a {
  font-size: 14px; color: rgba(247,246,242,0.60);
  text-decoration: none; transition: color 150ms;
}
.footer-links li a:hover, .footer-col ul li a:hover {
  color: var(--primary); text-decoration: none;
}

.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius);
  border: 1px solid rgba(247,246,242,0.15);
  color: rgba(247,246,242,0.55); text-decoration: none; transition: background 150ms;
}
.footer-socials a:hover { background: var(--primary); color: var(--ink); border-color: var(--primary); text-decoration: none; }
.footer-socials a svg { width: 16px; height: 16px; }

.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(247,246,242,0.10);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(247,246,242,0.40); }
.footer-certs { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cert, .footer-cert-badge {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(247,246,242,0.40); padding: 4px 8px;
  border: 1px solid rgba(247,246,242,0.12); border-radius: 2px;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── MOBILE CALL PILL ───────────────────────────────────────────────────── */
a.mobile-call, a.mobile-call-pill, .mobile-cta-pill, .mobile-cta,
.mobile-cta-pill > a {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--ink);
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: transform 150ms, filter 150ms;
}
a.mobile-call:hover, a.mobile-call-pill:hover,
.mobile-cta-pill > a:hover { transform: translateY(-2px); filter: brightness(0.94); text-decoration: none; color: var(--ink); }
a.mobile-call svg, a.mobile-call-pill svg,
.mobile-cta-pill > a svg { width: 20px; height: 20px; flex: 0 0 auto; }

.mobile-cta-pill { position: fixed; bottom: 18px; right: 18px; z-index: 999; background: transparent; }

@media (min-width: 900px) {
  a.mobile-call, a.mobile-call-pill, .mobile-cta-pill, .mobile-cta { display: none; }
}

/* ─── ANIMATION UTILITIES ────────────────────────────────────────────────── */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0; transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }
.scale-in   { transform: scale(0.94); }

.fade-up.visible, .fade-left.visible, .fade-right.visible, .scale-in.visible {
  opacity: 1; transform: none;
}

.stagger > *:nth-child(1)  { transition-delay: 0ms; }
.stagger > *:nth-child(2)  { transition-delay: 80ms; }
.stagger > *:nth-child(3)  { transition-delay: 160ms; }
.stagger > *:nth-child(4)  { transition-delay: 240ms; }
.stagger > *:nth-child(5)  { transition-delay: 320ms; }
.stagger > *:nth-child(6)  { transition-delay: 400ms; }
.stagger > *:nth-child(7)  { transition-delay: 480ms; }
.stagger > *:nth-child(8)  { transition-delay: 560ms; }
.stagger > *:nth-child(9)  { transition-delay: 640ms; }

/* ─── MISC UTILITIES ─────────────────────────────────────────────────────── */
.section-inner > .section-eyebrow:first-child { margin-bottom: 12px; }

/* Service cards */
.service-card {
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}

/* Review cards */
.review-card {
  padding: 28px; border-radius: 12px;
  background: var(--surface);
  border-top: 4px solid var(--primary);
}
.review-stars svg { color: var(--primary); width: 18px; height: 18px; fill: var(--primary); }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* Stat counters */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px; padding: 80px 0; text-align: center;
}
.stat-num {
  font-size: clamp(48px, 8vw, 96px); font-weight: 900;
  line-height: 1; color: var(--primary); font-family: 'Archivo', sans-serif;
}
.stat-label {
  font-size: clamp(11px, 1vw, 14px); text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted); margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace; font-weight: 600;
}

/* Process strip */
.process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.process-step { padding: 24px; border: 1px solid var(--border); border-radius: 8px; }
.step-num {
  font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px;
  letter-spacing: 0.12em; font-family: 'IBM Plex Mono', monospace;
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.faq-col { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.service-feature-img { grid-column: 1 / -1; }
.service-feature-body { grid-column: 1 / -1; }
.emergency-badge { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.cta-eyebrow { grid-column: 1 / -1; }
.cta-title { grid-column: 1 / -1; }
.cta-phone { grid-column: 1 / -1; }
.cta-sub { grid-column: 1 / -1; }
.cta-actions { grid-column: 1 / -1; }
.footer-brand-col { grid-column: 1 / -1; }
.about-value-card { grid-column: 1 / -1; }
.cred-card { grid-column: 1 / -1; }
/* validator patch: hero must never crop its headline */
#hero, .hero { overflow: visible !important; }
:where(#hero, .hero) { padding-top: max(var(--header-height, 72px), 72px); }
/* validator patch: keep the hero photo visible, no smothering dark band */
.hero-overlay { background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0.34) 38%, rgba(0,0,0,0.12) 68%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0.30), rgba(0,0,0,0) 58%) !important; }
