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

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --primary:        #1d3a22;
  --primary-dark:   #152b19;
  --primary-mid:    #2a5330;
  --accent:         #1d3a22;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2c3238;
  --muted:          #5C6068;
  --muted-light:    #8a9099;
  --border:         rgba(29,58,34,0.18);
  --border-light:   rgba(29,58,34,0.10);
  --border-hair:    rgba(20,24,29,0.10);
  --shadow-card:    0 2px 12px rgba(20,24,29,0.07);
  --shadow-lift:    0 18px 40px -16px rgba(20,24,29,0.18);
  --radius:         4px;
  --header-height:  72px;
  --section-py:     clamp(80px, 10vh, 128px);
  --container:      1320px;
}

@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;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 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: 44px !important;
  max-width: 200px !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 { 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-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;
}

[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; }

h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

p { line-height: 1.7; color: var(--ink-mid); }

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

/* ─── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wide-container { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
}

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

/* ─── SCROLL PROGRESS ────────────────────────────────────────────────────── */
.scroll-progress, #scroll-progress, #scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px;
  width: 0%; background: var(--primary);
  z-index: 1000; transition: width 50ms linear;
}

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

.top-nav {
  height: var(--header-height);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { flex: 0 0 auto; }
.nav-logo img { max-height: 44px !important; width: auto !important; }

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  font-family: 'IBM Plex Sans', sans-serif;
}
.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(--canvas);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.90); text-decoration: none; color: var(--canvas); }
.nav-cta svg, .nav-cta-icon { width: 16px; height: 16px; flex-shrink: 0; }
.nav-cta span { /* phone number text */ }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 24px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-pages {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px clamp(16px, 4vw, 32px);
    gap: 8px;
    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; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 12px; }
}

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

.btn-primary, .btn-cta-light {
  background: var(--primary); color: var(--canvas);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-cta-light:hover {
  filter: brightness(0.88); color: var(--canvas); text-decoration: none;
}

.btn-outline, .btn-cta-outline {
  background: transparent; color: var(--canvas);
  border-color: rgba(247,246,242,0.55);
}
.btn-outline:hover, .btn-cta-outline:hover {
  border-color: var(--canvas); color: var(--canvas); text-decoration: none;
}

.btn-dark {
  background: var(--ink); color: var(--canvas); border-color: var(--ink);
}
.btn-dark:hover { filter: brightness(1.1); color: var(--canvas); text-decoration: none; }

.btn-outline-inv {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline-inv:hover { background: var(--ink); color: var(--canvas); text-decoration: none; }

.btn-primary-inv {
  background: var(--canvas); color: var(--primary); border-color: var(--canvas);
}
.btn-primary-inv:hover { filter: brightness(0.93); text-decoration: none; }

.btn-white {
  background: var(--surface); color: var(--ink); border-color: var(--surface);
}
.btn-white:hover { background: var(--canvas); text-decoration: none; }

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

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

#hero.hero > img,
#hero.hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: 0;
  filter: none;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(20,24,29,0.72) 0%,
    rgba(20,24,29,0.55) 55%,
    rgba(20,24,29,0.42) 100%
  );
}

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

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px) clamp(64px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.65);
  margin-bottom: 18px;
}

.hero-inner h1,
.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--canvas);
  max-width: 16ch;
  margin-bottom: 22px;
}

.hero-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(247,246,242,0.72);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 36px;
}

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

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--canvas);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 7px 13px;
  white-space: nowrap;
}
.trust-chip svg { width: 14px; height: 14px; opacity: 0.85; }

/* ─── MARQUEE STRIP ──────────────────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  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; }

.marquee-item {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.marquee-item.hi { color: var(--primary); }

.marquee-item-dot {
  color: var(--primary);
  font-size: 10px;
}

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

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

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

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
}

.trust-badge.lead {
  border-color: var(--primary);
  background: var(--surface);
  color: var(--primary);
}

.trust-badge svg { width: 14px; height: 14px; color: var(--primary); }

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services {
  background: var(--canvas);
}

.services .section-inner {
  padding-bottom: var(--section-py);
}

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

.services-header h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.services-header .section-eyebrow { margin-bottom: 10px; }

.services-all-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;
  white-space: nowrap;
  margin-top: 6px;
  flex-shrink: 0;
}
.services-all-link:hover { text-decoration: underline; }
.services-all-link svg { width: 16px; height: 16px; }

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.service-tab:hover { border-color: var(--primary); color: var(--primary); }
.service-tab.active {
  background: var(--primary); color: var(--canvas);
  border-color: var(--primary);
}

.service-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-panel.active { display: grid; }

.service-panel-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.service-panel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease;
}
.service-panel:hover .service-panel-img img { transform: scale(1.03); }

.service-panel-body { padding: 8px 0; }
.service-panel-body .section-eyebrow { margin-bottom: 12px; }
.service-panel-body h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 16px;
}
.service-panel-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 10px;
}
.service-panel-body a.btn { margin-top: 20px; }

@media (max-width: 900px) {
  .service-panel.active { grid-template-columns: 1fr; }
  .service-panel-img { max-height: 280px; }
}

/* ─── SERVICES LABEL STRIP (services.html) ───────────────────────────────── */
.services-label-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.services-label-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  gap: 0;
}

.services-label-item {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 22px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
}
.services-label-item:hover { color: var(--primary); }
.services-label-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ─── FEATURE BLOCKS (services.html) ─────────────────────────────────────── */
.services-features {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
}

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

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--border-light);
}
.feature-block:last-of-type { border-bottom: 1px solid var(--border-light); }

.feature-block.reverse .feature-img-col { order: 2; }
.feature-block.reverse .feature-text-col { order: 1; }

.feature-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.feature-img-wrapper img {
  width: 100%; height: 100%; object-fit: cover; max-height: none;
}

.feature-index {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canvas);
  background: var(--primary);
  padding: 5px 10px;
  border-radius: var(--radius);
}

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

.feature-text-col h2 {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 18px;
}
.feature-text-col p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 10px;
}
.feature-bullets {
  margin: 18px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.feature-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.feature-text-col > a { margin-top: 24px; }

@media (max-width: 900px) {
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }
  .feature-block.reverse .feature-img-col,
  .feature-block.reverse .feature-text-col { order: unset; }
}

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

.gallery-preview .section-inner { }
.gallery-preview .section-inner > div:first-child { margin-bottom: 32px; }
.gallery-preview h2 { font-size: clamp(28px, 3.5vw, 48px); }

.gallery-grid-home {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 8px;
}

.gallery-tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: unset;
  position: relative;
}

.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease;
}
.gallery-tile:hover img { transform: scale(1.04); }

.gallery-tile.span-col {
  grid-column: 1;
  grid-row: 1 / 3;
}

.gallery-cta-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gallery-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .gallery-grid-home {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-tile.span-col { grid-column: 1 / 3; grid-row: auto; }
}

/* ─── GALLERY PAGE (gallery.html) ───────────────────────────────────────── */
.gallery-section {
  background: var(--canvas);
}

.gallery-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px) 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-header-left h2 { font-size: clamp(28px, 3.5vw, 48px); }

.gallery-count-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(29,58,34,0.07);
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.gallery-filters {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 8px 16px;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--primary); color: var(--canvas); border-color: var(--primary);
}

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

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

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; max-height: none;
  transition: transform 400ms ease;
}
.gallery-card:hover .gallery-card-img-wrap img { transform: scale(1.04); }

.gallery-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--canvas);
  padding: 4px 10px;
  border-radius: 2px;
}

.gallery-card-tag {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(20,24,29,0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 2px;
}

.gallery-card-body {
  padding: 20px 22px 24px;
}
.gallery-card-body h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.gallery-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.gallery-card-location svg { width: 14px; height: 14px; }
.gallery-card-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }

.gallery-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.gallery-meta-item { display: flex; flex-direction: column; gap: 2px; }
.gallery-meta-val {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
}
.gallery-meta-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

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

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

.faq .section-inner,
.faq > div {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
}

.faq > div > h2,
.faq .section-inner > div > h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 48px;
}

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

.faq-item {
  border-bottom: 1px solid var(--border-hair);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-q { flex: 1; }

.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  transition: transform 200ms;
}
.faq-item summary::after { display: none; }
.faq-item[open] summary .faq-chevron { transform: rotate(45deg); }

/* For cases where faq-chevron is not an svg but a span */
details.faq-item summary svg.faq-chevron,
details.faq-item summary svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 200ms; }
details.faq-item[open] summary svg.faq-chevron,
details.faq-item[open] summary svg { transform: rotate(45deg); color: var(--primary); }

.faq-answer, .faq-item > p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  padding-bottom: 22px;
  max-width: 72ch;
}

/* FAQ section variant (contact page) */
.faq-section {
  background: var(--canvas);
}
.faq-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
}
.faq-header { margin-bottom: 40px; }
.faq-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.faq-heading { font-size: clamp(28px, 3.5vw, 48px); }

/* ─── TEAM CTA ───────────────────────────────────────────────────────────── */
.team-cta {
  background: var(--primary);
  overflow: hidden;
}

.team-cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 80px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.team-cta-portrait {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.25);
}
.team-cta-portrait img { width: 100%; height: 100%; object-fit: cover; max-height: none; }

.team-cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.60);
  display: block;
  margin-bottom: 10px;
}

.team-cta-inner > div h2 {
  font-size: clamp(24px, 3vw, 40px);
  color: var(--canvas);
  line-height: 1.1;
}

.btn-white { flex-shrink: 0; }

@media (max-width: 640px) {
  .team-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-cta-portrait { margin: 0 auto; }
}

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

.contact .section-inner > div:first-child {
  margin-bottom: 40px;
}
.contact h2 { font-size: clamp(28px, 3.5vw, 48px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

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

.form-group, .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label, .form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input, .form-group textarea,
.form-field input, .form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms;
  appearance: none;
}
.form-group input:focus, .form-group textarea:focus,
.form-field input:focus, .form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea, .form-field textarea {
  min-height: 120px; resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(29,58,34,0.07);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; color: var(--primary); }

.ci-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: 4px;
}
.ci-value { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.ci-value a { color: var(--ink); text-decoration: none; }
.ci-value a:hover { color: var(--primary); }

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

/* ─── CONTACT SECTION PAGE (contact.html) ───────────────────────────────── */
.contact-section {
  background: var(--canvas);
}
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}

.contact-form-col { display: flex; flex-direction: column; }
.contact-form-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.contact-form-heading {
  font-size: clamp(26px, 3vw, 44px);
  margin-bottom: 32px;
}
.contact-form { gap: 16px; }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.info-card-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.info-block { padding: 16px 0; }
.info-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: 6px;
}
.info-value { font-size: 14px; color: var(--ink); line-height: 1.5; }
.info-value a { color: var(--ink); text-decoration: none; }
.info-value a:hover { color: var(--primary); }
.info-value-large {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.info-value-large a { color: inherit; text-decoration: none; }
.info-value-large a:hover { color: var(--primary); }
.info-divider {
  height: 1px;
  background: var(--border-hair);
}

.info-stars { display: flex; gap: 3px; margin-bottom: 4px; }
.info-stars svg { width: 16px; height: 16px; color: #d4991a; }
.info-rating { }
.info-rating-text { font-size: 13px; color: var(--muted); }

.service-area-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.area-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 10px;
}

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

/* ─── PAGE HEADER ────────────────────────────────────────────────────────── */
.page-header {
  min-height: clamp(280px, 40vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

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

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

.page-header-eyebrow, .page-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.65);
  display: block;
  margin-bottom: 14px;
}

.page-header-inner h1,
.page-header-h1,
.page-header-title,
.page-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(--canvas);
  max-width: 18ch;
}

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

/* ─── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--ink);
  overflow: hidden;
}

.cta-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 88px) clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.cta-banner-eyebrow, .cta-eyebrow, .cta-banner-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.55);
  display: block;
  margin-bottom: 10px;
}

.cta-banner-inner h2,
.cta-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--canvas);
  max-width: 18ch;
}

.cta-banner-sub, .cta-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(247,246,242,0.65);
  max-width: 52ch;
  line-height: 1.6;
}

.cta-banner-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cta-banner-note, .cta-phone-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.55);
}
.cta-phone, .cta-phone-link a { color: var(--canvas); }

.cta-banner-h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--canvas);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

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

.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.founder-portrait-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.founder-portrait-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; max-height: none;
  filter: grayscale(20%);
}

.founder-content .section-eyebrow { margin-bottom: 14px; }

.founder-h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 28px;
  line-height: 1.05;
}

.founder-body { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.founder-body p { font-size: 15px; color: var(--muted); line-height: 1.72; }

.founder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.founder-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(29,58,34,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 12px;
}

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

/* ─── VALUES ─────────────────────────────────────────────────────────────── */
.values-section { background: var(--canvas); }

.values-header { margin-bottom: 40px; }
.values-subline { font-size: clamp(26px, 3.2vw, 44px); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.value-card-index {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.value-card-title { display: block; }
.value-card-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

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

/* ─── RECORD SECTION (about — stats) ─────────────────────────────────────── */
.record-section { background: var(--primary); }

.record-header { margin-bottom: 48px; }
.record-header .section-eyebrow { color: rgba(247,246,242,0.55); }
.record-header h2 { color: var(--canvas); }
.section-headline { font-size: clamp(26px, 3.2vw, 44px); }

.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.record-cell {
  border: 1px solid rgba(247,246,242,0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: rgba(255,255,255,0.05);
}

.record-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--canvas);
  margin-bottom: 8px;
}

.record-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.55);
}

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

/* ─── CREW SECTION ───────────────────────────────────────────────────────── */
.crew-section { background: var(--canvas); }
.crew-header { margin-bottom: 36px; }

.crew-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.crew-photos img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(15%);
  max-height: none;
  transition: filter 300ms;
}
.crew-photos img:hover { filter: grayscale(0%); }

@media (max-width: 640px) {
  .crew-photos { grid-template-columns: 1fr 1fr; }
  .crew-photos img:last-child { grid-column: 1 / 3; }
}

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

.about-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-strip-left .section-eyebrow { margin-bottom: 14px; }
.about-strip-headline { font-size: clamp(26px, 3.2vw, 44px); }

.about-strip-right p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 20px;
}

.about-service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.about-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 13px;
}

@media (max-width: 640px) {
  .about-strip-grid { grid-template-columns: 1fr; }
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer, .site-footer {
  background: var(--ink);
  color: var(--canvas);
}

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

.footer-brand, .footer-brand-col { }

.footer-brand-logo-wrap img,
.footer-brand img,
.footer-brand-logo img,
.footer-logo-wrap img {
  max-height: 40px !important;
  max-width: 160px !important;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline, .footer-brand-tagline, .footer-brand-sub {
  font-size: 13px;
  color: rgba(247,246,242,0.50);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 28ch;
}

.footer-col h4, .footer-col-heading, .footer-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.45);
  margin-bottom: 18px;
}

.footer-col ul, .footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a, .footer-col-links a, .footer-links a {
  font-size: 14px;
  color: rgba(247,246,242,0.70);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col a:hover, .footer-col-links a:hover, .footer-links a:hover {
  color: var(--canvas); text-decoration: none;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 16px; height: 16px; color: rgba(247,246,242,0.40); flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span {
  font-size: 14px;
  color: rgba(247,246,242,0.70);
  text-decoration: none;
}
.footer-contact-item a:hover { color: var(--canvas); }

.footer-contact-line, .footer-email-line {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
  margin-bottom: 6px;
}
.footer-contact-line a, .footer-email-line a { color: rgba(247,246,242,0.70); text-decoration: none; }
.footer-contact-line a:hover, .footer-email-line a:hover { color: var(--canvas); }

.footer-address-block {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
  line-height: 1.7;
}

.footer-license {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(247,246,242,0.35);
  text-transform: uppercase;
}

.footer-rating {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(247,246,242,0.40);
  text-transform: uppercase;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(247,246,242,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy, .footer-copyright,
.footer-bottom span, .footer-bottom p {
  font-size: 12px;
  color: rgba(247,246,242,0.35);
}
.footer-bottom a { color: rgba(247,246,242,0.50); text-decoration: none; }
.footer-bottom a:hover { color: var(--canvas); }

@media (max-width: 900px) {
  .footer-grid, .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .footer-grid, .footer-inner { grid-template-columns: 1fr; }
}

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

.mobile-cta { display: none; }

@media (min-width: 900px) {
  .mobile-call-pill, .mobile-call { display: none; }
}
@media (max-width: 900px) {
  .mobile-cta { display: block; position: fixed; bottom: 18px; right: 18px; z-index: 999; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--primary); color: var(--canvas); border-radius: 50%; box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45); text-decoration: none; }
  .mobile-cta a svg { width: 22px; height: 22px; }
}

/* ─── ANIMATION UTILITIES ────────────────────────────────────────────────── */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0;
  transition: opacity 500ms ease, transform 500ms ease;
}
.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 > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

/* ─── SERVICE CARD HOVER (generic) ──────────────────────────────────────── */
.service-card {
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

/* ─── REVIEW CARD ────────────────────────────────────────────────────────── */
.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.02);
}
.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* ─── PROCESS ────────────────────────────────────────────────────────────── */
.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: var(--radius);
}
.step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
}

/* ─── MISC ───────────────────────────────────────────────────────────────── */
.services-panels { min-height: 400px; }

/* Anchor headings */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

/* Scroll indicator */
#scrollProgress, #scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: 1000;
}

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

/* FAQ details (generic variant) */
details.faq {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
details.faq > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; font-weight: 300; transition: transform 200ms; }
details.faq[open] > summary::after { transform: rotate(45deg); color: var(--primary); }
details.faq p { margin-top: 12px; line-height: 1.6; }

/* Table cells */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--primary); color: var(--canvas);
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 998;
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.gallery-tile { grid-column: 1 / -1; }
.team-cta-portrait { grid-column: 1 / -1; }
.btn-white { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.feature-img-col { grid-column: 1 / -1; }
.feature-text-col { grid-column: 1 / -1; }
.footer-brand-col { grid-column: 1 / -1; }
.form-field { 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; }
