@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:        #347444;
  --primary-dark:   #285a35;
  --primary-light:  #4a9a5e;
  --accent:         #64AC4C;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2e3440;
  --muted:          #5C6068;
  --muted-light:    #8a9099;
  --border:         rgba(52, 116, 68, 0.18);
  --border-light:   rgba(20, 24, 29, 0.09);
  --hairline:       rgba(20, 24, 29, 0.12);
  --shadow-card:    0 2px 12px rgba(20, 24, 29, 0.07);
  --shadow-float:   0 18px 48px -12px rgba(20, 24, 29, 0.38);
  --radius:         4px;
  --radius-lg:      8px;
  --header-height:  72px;
  --section-py:     clamp(80px, 10vh, 128px);
  --content-width:  1320px;
}

@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

/* ============================================================
   RESET + GLOBAL
   ============================================================ */
*, *::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.65;
  -webkit-font-smoothing: antialiased;
  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 { 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; }

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

/* Links */
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
   ============================================================ */
.container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.wide-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.section-inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

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

.section-eyebrow,
.page-header-eyebrow,
.services-intro-label,
.cta-banner-label,
.cta-banner-eyebrow,
.hero-eyebrow,
.contact-section-eyebrow,
.feature-block-eyebrow,
.mission-left-eyebrow,
.info-block-label,
.footer-col-label,
.footer-col-heading,
.footer-col-title,
.footer-contact-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   NOISE TEXTURE OVERLAY
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

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

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

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

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }

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

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-pages a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-pages a[aria-current="page"],
.nav-pages li.active a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--canvas) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); text-decoration: none !important; color: var(--canvas) !important; }
.nav-cta svg, .nav-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }

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

@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: 20px clamp(20px, 4vw, 40px);
    gap: 4px;
    border-bottom: 1px solid var(--hairline);
    justify-content: flex-start;
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { font-size: 16px; padding: 10px 0; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 8px 12px; }
}

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

.hero > img:first-of-type,
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

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

/* Brand hairline bottom of hero */
.hero::after {
  content: '';
  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(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(64px, 8vh, 96px);
  width: 100%;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title,
h1.hero-title,
.hero-inner h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 20px;
}

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

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

.hero-trust-chips .trust-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.9);
  background: rgba(20,24,29,0.45);
  border: 1px solid rgba(100,172,76,0.45);
  border-radius: var(--radius);
  padding: 6px 12px;
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .hero { min-height: 88vh; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-primary,
.btn-service,
.btn-banner-primary,
.btn-se,
.cta-banner-actions a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: filter 150ms, transform 150ms, box-shadow 150ms;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary,
.btn-banner-primary,
.form-submit {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-banner-primary:hover,
.form-submit:hover {
  filter: brightness(0.91);
  color: #fff;
  text-decoration: none;
}

.btn-outline,
.btn-ink-outline,
.btn-outline-ink,
.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(247,246,242,0.55);
}
.btn-outline:hover,
.btn-ink-outline:hover,
.btn-outline-ink:hover,
.btn-white-outline:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-ink:hover { filter: brightness(1.18); color: #fff; text-decoration: none; }

.btn-service {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-size: 14px;
  padding: 10px 20px;
}
.btn-service:hover { filter: brightness(0.91); color: #fff; text-decoration: none; }
.btn-service svg { width: 16px; height: 16px; }

.btn-se {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-se:hover { filter: brightness(0.91); color: #fff; text-decoration: none; }

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

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

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

.trust-badge svg, .trust-badge > svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.chip-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES BENTO (index.html)
   ============================================================ */
.services {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.services-header {
  margin-bottom: 48px;
}

.services-header h2,
.section-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 12px;
}

.section-body {
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.65;
}

/* 3-col bento: flagship spans 2 rows on desktop */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border-top: 3px solid var(--border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
  color: var(--ink);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(20,24,29,0.18);
  color: var(--ink);
  text-decoration: none;
}
.service-card:hover .service-card-link { color: var(--primary); }

.service-card > img,
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.service-card-flagship {
  grid-column: span 1;
  grid-row: span 2;
  border-top-color: var(--primary);
}
.service-card-flagship > img,
.service-card-flagship .service-card-img {
  height: 100%;
  min-height: 280px;
  max-height: 480px;
}

.service-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.service-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.service-card-body h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.service-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

.service-card-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: auto;
  padding-top: 10px;
  transition: color 150ms;
}

.services-footer {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 900px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card-flagship {
    grid-column: span 2;
    grid-row: span 1;
  }
  .service-card-flagship > img { max-height: 280px; }
}

@media (max-width: 640px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card-flagship { grid-column: span 1; }
}

/* ============================================================
   ABOUT / MISSION SECTIONS
   ============================================================ */
.about-story {
  background: var(--surface);
  padding-block: var(--section-py);
}

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

.about-portrait-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 580px;
}

.about-portrait-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-portrait-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
}

.about-story-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 24px;
}

.story-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.story-chips, .mission-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.story-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
}

@media (max-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .about-portrait-wrap { max-height: 360px; aspect-ratio: 4 / 3; }
}

/* Mission section (about.html) */
.mission-section {
  background: var(--canvas);
  padding-block: var(--section-py);
}

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

.mission-left-headline,
.mission-left h2 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
}

.mission-right-body p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

/* Values cards */
.values-section {
  background: var(--ink);
  padding-block: var(--section-py);
  color: #fff;
}
.values-section .section-eyebrow { color: var(--accent); }
.values-section h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 48px; }

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

.value-card {
  background: rgba(247,246,242,0.05);
  border: 1px solid rgba(247,246,242,0.1);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.value-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.value-body {
  font-size: 15px;
  color: rgba(247,246,242,0.70);
  line-height: 1.6;
}

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

/* Journey / timeline */
.journey-section {
  background: var(--surface);
  padding-block: var(--section-py);
}
.journey-section .section-eyebrow { color: var(--primary); }
.journey-section h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 48px; }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-step {
  position: relative;
  padding-top: 48px;
}

.tl-dot-wrap {
  position: absolute;
  top: 0; left: 0;
}

.tl-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
}

.tl-dot-core {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.tl-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-step h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.tl-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ============================================================
   GALLERY PREVIEW (index.html)
   ============================================================ */
.gallery-preview {
  background: var(--ink);
  padding-block: var(--section-py);
}
.gallery-preview .section-eyebrow { color: var(--accent); }

.gallery-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.gallery-preview-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
}

.gallery-preview-header a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}

.gallery-feature-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  margin-bottom: 16px;
}

.gallery-feature-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(20,24,29,0.80) 0%, transparent 100%);
}

.gallery-caption p {
  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.85);
}

.gallery-cta-wrap { text-align: center; margin-top: 32px; }

/* ============================================================
   GALLERY PAGE (gallery.html)
   ============================================================ */
.gallery-count-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
}

.gallery-count-inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-count-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-rating-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: var(--accent);
}

.gallery-section {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: var(--section-py);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--hairline);
  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: #fff;
  border-color: var(--primary);
}

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

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

.project-card.featured {
  grid-column: span 2;
}

.project-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card.featured .project-card-photo {
  aspect-ratio: 16 / 9;
}

.project-card-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(10%);
  transition: filter 300ms, transform 300ms;
}
.project-card:hover .project-card-photo > img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

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

.project-card-badge {
  position: absolute;
  top: 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.75);
  color: rgba(247,246,242,0.9);
  padding: 4px 10px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

.project-card-body {
  padding: 20px 20px 22px;
}

.project-card-body h2 {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}

.project-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
}

.meta-value.green { color: var(--primary); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.faq-header {
  margin-bottom: 48px;
}

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

.faq-list {
  max-width: 780px;
}

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

details.faq-item > summary {
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 16px;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 200ms, color 200ms;
}

details.faq-item[open] > summary .faq-chevron {
  transform: rotate(45deg);
  color: var(--primary);
}

details.faq-item > summary::after { display: none; }

.faq-answer {
  padding-bottom: 22px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   TEAM CTA BAND
   ============================================================ */
.team-cta {
  background: var(--primary);
  padding-block: clamp(48px, 7vh, 80px);
}

.team-cta-inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.team-cta-inner .section-eyebrow { color: rgba(247,246,242,0.75); }

.team-cta-heading,
.team-cta-inner h2,
.team-cta-inner .fade-up h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  color: #fff;
  letter-spacing: -0.025em;
}

.team-cta-inner a.btn-white-outline,
.team-cta-inner a.btn-outline {
  border-color: rgba(247,246,242,0.55);
  color: #fff;
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  background: var(--ink);
  padding-block: clamp(64px, 9vh, 100px);
  overflow: hidden;
}

.cta-banner > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-banner-left { flex: 1; min-width: 280px; }

.cta-banner-label,
.cta-banner-eyebrow { color: var(--accent); }

.cta-banner-heading,
.cta-banner-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 14px;
}

.cta-banner-sub {
  font-size: 17px;
  color: rgba(247,246,242,0.72);
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

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

/* gallery.html CTA banner sides */
.cta-banner-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: clamp(240px, 36vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,24,29,0.72) 0%,
    rgba(20,24,29,0.40) 100%
  );
  z-index: 1;
}

.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(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vh, 64px);
  padding-top: clamp(60px, 8vh, 96px);
  width: 100%;
}

.page-header-inner h1 {
  font-size: clamp(36px, 5.5vw, 80px);
  color: #fff;
  max-width: 18ch;
  margin-bottom: 10px;
}

.page-header-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-header-sub {
  font-size: 16px;
  color: rgba(247,246,242,0.75);
  max-width: 52ch;
  line-height: 1.6;
  margin-top: 10px;
}

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

/* ============================================================
   SERVICES FEATURE BLOCKS (services.html)
   ============================================================ */
.services-feature {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.services-feature-inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.services-intro {
  max-width: 640px;
  margin-bottom: clamp(48px, 7vh, 80px);
}

.services-intro-label {
  color: var(--primary);
  margin-bottom: 10px;
}

.services-intro h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}

.services-intro-body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(48px, 7vh, 80px);
  border-top: 1px solid var(--hairline);
}

.feature-block.reverse .feature-block-photo { order: 2; }
.feature-block.reverse .feature-block-body  { order: 1; }

.feature-block-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.feature-block-photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
}

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

.feature-block-eyebrow { color: var(--primary); }

.feature-block-body h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.feature-block-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-block-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-block-bullets li {
  font-size: 15px;
  color: var(--ink-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}

.feature-block-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block.reverse .feature-block-photo { order: unset; }
  .feature-block.reverse .feature-block-body  { order: unset; }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--surface);
  padding-block: var(--section-py);
}

.contact {
  background: var(--surface);
  padding-block: var(--section-py);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.contact-form-col h2,
.contact-heading,
.contact-form-side h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}

.contact-subhead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-bilingual {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Forms */
.contact-form,
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

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

.form-input,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
.form-textarea,
textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52,116,68,0.12);
}

input:focus + .form-label,
input:focus + label,
textarea:focus + .form-label,
select:focus + .form-label {
  color: var(--primary);
}

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

.form-note {
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.5;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: filter 150ms, transform 150ms;
}
.form-submit:hover { filter: brightness(0.91); }

/* Contact info column */
.contact-info-col,
.contact-info-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item, .info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-info-item:last-child,
.info-block:last-child { border-bottom: none; }

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

.contact-info-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.contact-info-value a { color: var(--primary); font-weight: 600; }

.contact-phone-large,
.info-phone-link {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.info-phone-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.info-block-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-block-value { font-size: 15px; color: var(--ink-mid); line-height: 1.55; }
.info-block-value a { color: var(--primary); }
.info-divider { height: 1px; background: var(--hairline); }

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

.service-area-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-mid);
  padding: 4px 10px;
  border-radius: var(--radius);
}

.cta-guarantee {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(52,116,68,0.08);
  border: 1px solid rgba(52,116,68,0.20);
  border-radius: var(--radius);
}

.cta-guarantee-text {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.55;
}

.cta-guarantee-text strong { color: var(--primary); }

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  padding-top: clamp(48px, 7vh, 80px);
  padding-bottom: 0;
  color: rgba(247,246,242,0.75);
}

.footer-inner,
.footer-grid {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vh, 64px);
}

.footer-brand,
.footer-brand-col {
  grid-column: 1;
}

.footer-brand img,
.footer-logo-wrap img { margin-bottom: 16px; }

.footer-brand-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-brand-tag,
.footer-tagline {
  font-size: 14px;
  color: rgba(247,246,242,0.55);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 28ch;
}

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

.footer-brand-phone,
.footer-brand-email {
  font-size: 14px;
  color: rgba(247,246,242,0.70);
}

.footer-brand-phone a,
.footer-brand-email a { color: var(--accent); }

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

.footer-links,
.footer-link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-link-list a {
  font-size: 14px;
  color: rgba(247,246,242,0.65);
  text-decoration: none;
  transition: color 150ms;
  display: inline-block;
}
.footer-links a:hover,
.footer-link-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.footer-contact-label {
  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);
}

.footer-contact-value, .footer-contact-line {
  font-size: 14px;
  color: rgba(247,246,242,0.65);
  line-height: 1.5;
}

.footer-contact-value a,
.footer-contact-line a,
.footer-phone,
.footer-email { color: var(--accent); text-decoration: none; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(247,246,242,0.15);
  border-radius: var(--radius);
  color: rgba(247,246,242,0.55);
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.footer-insured {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  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.45);
  margin-top: 12px;
}
.footer-insured svg { width: 14px; height: 14px; color: var(--accent); }

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

.footer-copy,
.footer-legal {
  font-size: 13px;
  color: rgba(247,246,242,0.35);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-brand-col { grid-column: span 2; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-brand-col { grid-column: span 1; }
}

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill,
.mobile-cta-pill,
.mobile-cta-float,
.sticky-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  display: flex;
}

.mobile-call-pill > a,
.mobile-cta-pill,
.mobile-cta-float > a,
.sticky-call > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(20,24,29,0.45);
  transition: filter 150ms, transform 150ms;
}

.mobile-call-pill > a:hover,
.mobile-cta-pill:hover,
.mobile-cta-float > a:hover,
.sticky-call > a:hover {
  filter: brightness(0.91);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.mobile-call-pill svg,
.mobile-cta-pill svg,
.mobile-cta-float svg,
.sticky-call svg {
  width: 18px;
  height: 18px;
}

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.40s; }
.stagger.visible > *:nth-child(7)  { opacity: 1; transform: none; transition-delay: 0.47s; }
.stagger.visible > *:nth-child(8)  { opacity: 1; transform: none; transition-delay: 0.54s; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  max-height: 64px;
  position: relative;
  z-index: 1;
  background: var(--canvas);
}

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

.marquee:hover .marquee-track { animation-play-state: paused; }

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

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

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

/* ============================================================
   MISC / UTILITY
   ============================================================ */
.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* stat patterns */
.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;
}

/* review cards */
.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--canvas);
  border-top: 3px solid var(--primary);
}
.review-stars svg { color: var(--accent); fill: var(--accent); 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 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: 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;
}

/* service area pills on about */
.service-area-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* green text utility */
.green { color: var(--primary); }

/* active nav */
li.active > a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* Tables */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: #fff;
}

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

/* SVG icon caps — prevent unsized SVGs from inflating */
.nav-cta svg,
.nav-toggle svg,
.trust-badge svg,
.faq-chevron,
.btn-service svg,
.footer-insured svg,
.mobile-call-pill svg,
.mobile-cta-pill svg,
.sticky-call svg,
.mobile-cta-float svg,
.feature-block-body a svg,
.cta-banner-actions svg,
.btn-banner-primary svg,
.btn-se svg,
.footer-social svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-chevron { width: 20px; height: 20px; }
.stars svg { width: 16px; height: 16px; }


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.feature-block-photo { grid-column: 1 / -1; }
.feature-block-body { grid-column: 1 / -1; }
.footer-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; }
