@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter+Tight:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --primary:        #387052;
  --primary-dim:    #2c5940;
  --primary-glow:   #4a9068;
  --accent:         #6AD64C;
  --canvas:         #0C0C0F;
  --surface:        #1A1814;
  --surface-2:      #211e1a;
  --ink:            #F4F1EA;
  --ink-mid:        #c8c4bc;
  --muted:          #8E8A82;
  --border:         rgba(244,241,234,0.08);
  --border-brand:   rgba(56,112,82,0.4);
  --header-height:  72px;
}
@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

/* ─── RESET + UNIVERSAL IMAGE CAP ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

/* ─── BASE ───────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

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

ul { list-style: none; padding: 0; }

svg { display: inline-block; flex-shrink: 0; }

/* ─── LAYOUT CONTAINERS ──────────────────────────────────────── */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wide-container  { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-wrap    { max-width: 1200px; margin: 0 auto; padding: clamp(112px, 14vh, 180px) clamp(20px, 4vw, 48px); }
.section-inner   { max-width: 1200px; margin: 0 auto; padding: clamp(80px, 10vh, 140px) clamp(20px, 4vw, 48px); }

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.eyebrow,
.section-eyebrow,
.service-eyebrow,
.page-header-eyebrow,
.gallery-label,
.areas-eyebrow,
.cta-banner-eyebrow,
.contact-form-label,
.info-card-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 48px;
}

/* Unique move: display words in body copy */
em.brand-word, em.accent-word {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25em;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.hairline {
  width: 48px; height: 1px;
  background: var(--primary);
  margin: 28px 0;
}

/* ─── PROGRESS BAR ───────────────────────────────────────────── */
.progress-bar, .scroll-progress, .scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%; background: var(--primary);
  transition: width 100ms linear;
}

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

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

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { max-height: 44px !important; }

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.nav-pages ul,
ul#navLinks {
  display: flex; align-items: center; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.nav-pages a,
#navLinks a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 150ms;
}
.nav-pages a:hover,
#navLinks a:hover { color: var(--ink); text-decoration: none; }
.nav-pages a[aria-current="page"],
#navLinks a[aria-current="page"] {
  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(--ink);
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.88); color: var(--ink); text-decoration: none; }
.nav-cta svg { width: 16px; height: 16px; }

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-pages,
  ul#navLinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px 28px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 800;
  }
  .nav-pages.open,
  ul#navLinks.open { display: flex; }
  .nav-pages a,
  #navLinks a { font-size: 15px; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 12px; }
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 4px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: filter 160ms, transform 160ms, box-shadow 160ms;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--ink);
}
.btn-primary:hover { filter: brightness(0.88); transform: translateY(-1px); color: var(--ink); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(244,241,234,0.28);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost-dark:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.btn-outline-brand {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline-brand:hover { background: var(--primary); color: var(--ink); text-decoration: none; }

.btn-dark {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-dark:hover { border-color: var(--primary); color: var(--ink); text-decoration: none; }

.btn-service {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
  padding: 14px 0;
  border: none; background: transparent; cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  transition: color 150ms, border-color 150ms;
}
.btn-service svg { width: 14px; height: 14px; }
.btn-service:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

.btn-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 4px;
  border: none; cursor: pointer;
  transition: filter 160ms;
  width: 100%;
  justify-content: center;
}
.btn-submit svg { width: 16px; height: 16px; }
.btn-submit:hover { filter: brightness(0.88); }

/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex; align-items: flex-end;
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(56,112,82,0.18) 0%, transparent 55%),
    linear-gradient(to top, rgba(12,12,15,0.88) 0%, rgba(12,12,15,0.55) 55%, rgba(12,12,15,0.82) 100%);
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 4vw, 48px);
  width: 100%;
}

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

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(72px, 9vw, 144px);
  font-weight: 600;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
  margin-bottom: 28px;
}

.hero-title .accent-word {
  font-style: italic;
  color: var(--primary);
  font-size: inherit;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-mid);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 36px;
}

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

.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

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

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

.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mid);
}

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

.trust-sep {
  width: 1px; height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

.trust-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ─── MARQUEE ────────────────────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  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-section:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600; font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  flex-shrink: 0;
}

.marquee-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

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

/* ─── SERVICES (TABBED PANEL) ────────────────────────────────── */
#services {
  padding: clamp(112px, 14vh, 180px) 0;
  background: var(--canvas);
}

.services-header {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 48px;
}

.services-header .section-eyebrow { margin-bottom: 14px; }
.services-header .section-title { margin-bottom: 36px; }

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

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 150ms, border-color 150ms, background 150ms;
  white-space: nowrap;
}
.service-tab:hover { color: var(--ink); border-color: var(--border-brand); }
.service-tab.active {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--primary);
}

.services-panels-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.services-panels { position: relative; }

.service-panel {
  display: none;
  grid-template-columns: 45% 1fr;
  gap: 0;
  min-height: 480px;
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-brand);
  background: var(--surface);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.service-panel.active { display: grid; }

.service-panel-img {
  position: relative; overflow: hidden;
}
.service-panel-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  max-height: none !important;
}

.service-panel-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
}

.service-panel-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}

.service-panel-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600; font-style: italic;
  line-height: 1.05;
  color: var(--ink);
}

.service-panel-desc {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-mid);
}

@media (max-width: 900px) {
  .service-panel { grid-template-columns: 1fr; }
  .service-panel-img { min-height: 260px; position: relative; }
  .service-panel-img img { position: absolute; max-height: none !important; }
}

/* ─── GALLERY (index.html) ───────────────────────────────────── */
#gallery {
  padding: 0;
  background: var(--canvas);
}

.gallery-feature {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border-radius: 4px;
}
.gallery-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  max-height: none !important;
}

.gallery-feature-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(12,12,15,0.82) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 4vw, 48px);
  gap: 10px;
}

.gallery-feature-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}

.gallery-feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 600; font-style: italic;
  line-height: 1.0;
  color: var(--ink);
}

/* ─── GALLERY PAGE ───────────────────────────────────────────── */
.gallery-section {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--canvas);
}

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

.gallery-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600; font-style: italic;
  line-height: 1.0;
  color: var(--ink);
}

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

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

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5); }
.project-card.featured { grid-column: span 2; }

.project-card-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
}
.project-card.featured .project-card-photo { aspect-ratio: 16 / 9; }
.project-card-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  filter: grayscale(15%) contrast(1.04);
  transition: transform 400ms ease-out, filter 400ms;
}
.project-card:hover .project-card-photo img { transform: scale(1.04); filter: none; }

.project-card-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,12,15,0.68) 0%, transparent 50%);
}
.project-card-category {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(12,12,15,0.7);
  padding: 5px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.project-card-number {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: var(--muted);
}

.project-card-body {
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.project-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600; font-style: italic;
  line-height: 1.1;
}
.project-card-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}
.project-card-location svg { width: 12px; height: 12px; }
.project-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

.project-card-meta {
  display: flex; gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}
.project-card-stat { flex: 1; }
.project-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--primary); line-height: 1.0;
}
.project-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 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; }
}

/* ─── SERVICE AREAS ──────────────────────────────────────────── */
#service-areas { background: var(--canvas); }
.areas-section { background: var(--canvas); }
.areas-inner { max-width: 1200px; margin: 0 auto; padding: clamp(80px, 10vh, 140px) clamp(20px, 4vw, 48px); }
.areas-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600; font-style: italic;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 14px;
}

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

.area-pill, .area-chip {
  display: inline-flex; align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 150ms, border-color 150ms;
}
.area-pill:hover, .area-chip:hover { color: var(--ink); border-color: var(--border-brand); }
.area-pill.primary-area {
  color: var(--ink);
  border-color: var(--primary);
  background: rgba(56,112,82,0.08);
}

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

.faq-list { margin-top: 16px; }

details {
  border-bottom: 1px solid var(--border);
}
details:first-child { border-top: 1px solid var(--border); }

details summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; gap: 20px;
  cursor: pointer;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  list-style: none;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 18px; height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 220ms, color 150ms;
}
details[open] .faq-chevron { transform: rotate(45deg); color: var(--primary); }

.faq-body {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-mid);
  padding: 4px 0 20px;
  max-width: 72ch;
}

/* ─── TEAM CTA ───────────────────────────────────────────────── */
#team-cta { background: var(--canvas); padding: clamp(80px, 10vh, 120px) 0; }
.team-cta-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--border-brand);
  border-radius: 4px;
  padding: clamp(36px, 5vw, 56px);
}
.team-cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600; font-style: italic;
  line-height: 1.1;
  color: var(--ink);
  max-width: 48ch;
}
.team-cta-text em {
  font-style: italic;
  color: var(--primary);
  font-size: 1.2em;
}

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border-brand);
  padding: clamp(80px, 10vh, 140px) 0;
}

.cta-banner-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.cta-banner-text { grid-column: 1; }
.cta-banner-form { grid-column: 2; min-width: 340px; }

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

.cta-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600; font-style: italic;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-banner-sub {
  font-size: 15px; color: var(--ink-mid); line-height: 1.6;
  margin-bottom: 28px; max-width: 52ch;
}

.cta-banner-left { grid-column: 1; }
.cta-banner-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
}

.cta-banner-form form {
  display: flex; flex-direction: column; gap: 12px;
}
.cta-banner-form input,
.cta-banner-form textarea {
  background: rgba(244,241,234,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 150ms;
}
.cta-banner-form input:focus,
.cta-banner-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.cta-banner-form textarea { resize: vertical; min-height: 90px; }
.cta-banner-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-banner-form button {
  background: var(--primary); color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px; border-radius: 4px;
  border: none; cursor: pointer;
  transition: filter 150ms;
}
.cta-banner-form button:hover { filter: brightness(0.88); }

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

/* ─── CONTACT ────────────────────────────────────────────────── */
#contact { background: var(--canvas); }
.contact-section { background: var(--canvas); padding: clamp(80px, 10vh, 140px) 0; }

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

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

.contact-form-side { grid-column: 1; }
.contact-info-block, .contact-info-card { grid-column: 2; }

.contact-form-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600; font-style: italic;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 28px;
}
.contact-form-sub {
  font-size: 15px; color: var(--ink-mid); line-height: 1.6;
  margin-bottom: 32px;
}

.contact-form p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
}

.contact-form-label { display: block; margin-bottom: 16px; }
.contact-form-label label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.form-group.full-width { grid-column: span 2; }

.contact-field,
.form-input,
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(244,241,234,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 150ms, background 150ms;
  appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(56,112,82,0.04);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: 0.6; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select option { background: var(--surface); color: var(--ink); }

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

/* contact info */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border-brand);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 44px);
}

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

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

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

.contact-info-value, .info-item-value {
  font-size: 15px; color: var(--ink); line-height: 1.5;
}
.contact-info-value a, .info-item-value a { color: var(--ink); }
.contact-info-value a:hover, .info-item-value a:hover { color: var(--primary); text-decoration: none; }

.info-item-detail { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }

.contact-social-links {
  display: flex; gap: 10px; margin-top: 8px;
}
.social-pill, .contact-social-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 12px; border-radius: 2px;
  text-decoration: none;
  transition: color 150ms, border-color 150ms;
}
.social-pill:hover, .contact-social-links a:hover { color: var(--ink); border-color: var(--primary); text-decoration: none; }
.contact-social-links svg { width: 14px; height: 14px; }

.emergency-banner {
  margin-top: 20px;
  background: rgba(56,112,82,0.12);
  border: 1px solid var(--border-brand);
  border-radius: 4px;
  padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 12px;
}
.emergency-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.emergency-text { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }
.emergency-text strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info-card { grid-column: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-side { grid-column: 1; }
  .contact-info-block { grid-column: 1; }
}

/* ─── SERVICE FEATURE (services.html) ───────────────────────── */
.service-feature {
  background: var(--canvas);
  padding: clamp(80px, 10vh, 120px) 0;
  border-bottom: 1px solid var(--border);
}

.service-feature-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.service-feature-inner.reverse {
  direction: ltr;
}
.service-feature-inner.reverse .service-feature-photo { order: 2; }
.service-feature-inner.reverse .service-feature-body { order: 1; }

.service-feature-photo {
  position: relative; overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  grid-column: 1;
}
.service-feature-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.service-num {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: rgba(12,12,15,0.7);
  padding: 5px 10px; border-radius: 2px;
  backdrop-filter: blur(4px);
}

.service-feature-body {
  grid-column: 2;
  display: flex; flex-direction: column; gap: 20px;
}

.service-feature-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 600; font-style: italic;
  line-height: 1.0; color: var(--ink);
}
.service-feature-body h2 em {
  font-style: italic;
  color: var(--primary);
  font-size: 1.15em;
}
.service-feature-body p { font-size: 15px; color: var(--ink-mid); line-height: 1.7; }

.service-bullets {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.service-bullets li {
  font-size: 14px; color: var(--ink-mid); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--primary);
}

@media (max-width: 900px) {
  .service-feature-inner { grid-template-columns: 1fr; }
  .service-feature-photo { grid-column: 1; order: -1 !important; aspect-ratio: 16 / 9; }
  .service-feature-body { grid-column: 1; order: 1 !important; }
}

/* ─── SERVICES INTRO ─────────────────────────────────────────── */
.services-intro {
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.services-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600; font-style: italic;
  line-height: 1.0; color: var(--ink);
  margin: 12px 0 20px;
}
.services-intro h2 em { font-style: italic; color: var(--primary); font-size: 1.15em; }
.services-intro p { font-size: 16px; color: var(--ink-mid); line-height: 1.7; }
.services-intro .eyebrow { text-align: center; }

/* ─── PAGE HEADER ────────────────────────────────────────────── */
.page-header {
  min-height: 52vh;
  display: flex; align-items: flex-end;
  background: var(--canvas);
}

.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,12,15,0.9) 0%, rgba(12,12,15,0.4) 100%);
}

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

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

.page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 600; font-style: italic;
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-header-title em { font-style: italic; color: var(--primary); }

.page-header-sub {
  font-size: 16px; color: var(--ink-mid); line-height: 1.6;
  max-width: 56ch;
}

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

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

.founder-portrait-wrap {
  grid-column: 1;
  position: relative;
}
.founder-portrait-wrap img {
  width: 100%; height: 520px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(20%);
  max-height: none !important;
}

.portrait-caption {
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.5;
}
.portrait-caption strong { color: var(--ink); }

.founder-body { grid-column: 2; }
.founder-body .section-title { margin-bottom: 0; }

.drop-cap { font-size: 16px; line-height: 1.7; color: var(--ink-mid); }
.drop-cap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4em;
  font-weight: 600;
  float: left;
  line-height: 0.7;
  padding-right: 10px;
  padding-top: 8px;
  color: var(--primary);
}

.founder-pull {
  border-left: 2px solid var(--primary);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.founder-sig {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); line-height: 1.6;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .founder-story-grid { grid-template-columns: 1fr; }
  .founder-portrait-wrap { grid-column: 1; }
  .founder-body { grid-column: 1; }
  .founder-portrait-wrap img { height: 320px; }
}

/* ─── VALUES ─────────────────────────────────────────────────── */
.values-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.value-card {
  background: var(--surface-2);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 200ms;
}
.value-card:hover { background: rgba(56,112,82,0.06); }

.value-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600; font-style: italic;
  line-height: 1.1; color: var(--ink);
}

.value-body { font-size: 14px; color: var(--ink-mid); line-height: 1.65; }

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

/* ─── TIMELINE ───────────────────────────────────────────────── */
.timeline-section { background: var(--canvas); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; top: 20px; left: 20px; right: 20px; height: 1px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  padding: 0 24px 0 0;
  position: relative; z-index: 1;
}

.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--canvas);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.timeline-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(56,112,82,0.18);
}

.timeline-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-event {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600; font-style: italic;
  line-height: 1.2; color: var(--ink);
  margin-bottom: 8px;
}
.timeline-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .timeline-step { padding: 0 0 32px; }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ─── CREDENTIALS ────────────────────────────────────────────── */
.credentials-section { background: var(--surface); border-top: 1px solid var(--border); }

.cred-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-brand);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
}

.cred-badge {
  background: var(--surface-2);
  padding: 32px 28px;
  border-top: 2px solid var(--primary);
  display: flex; flex-direction: column; gap: 8px;
  transition: background 200ms;
}
.cred-badge:hover { background: rgba(56,112,82,0.06); }

.cred-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.cred-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.0;
}
.cred-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-brand);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 48px) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; font-style: italic;
  color: var(--ink);
}
.footer-tagline, .footer-brand-tagline {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.footer-contact-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.footer-contact-line {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.footer-contact-line a { color: var(--muted); }
.footer-contact-line a:hover { color: var(--primary); text-decoration: none; }

.footer-col-title, .footer-col-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
  display: block; margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.footer-links a, .footer-links li a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: var(--ink); text-decoration: none; }

.footer-contact-item {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--primary); }
.footer-contact-item a { color: var(--muted); }
.footer-contact-item a:hover { color: var(--primary); text-decoration: none; }

.footer-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-area-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.footer-credentials { display: flex; flex-direction: column; gap: 8px; }
.footer-cred, .footer-creds li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); line-height: 1.4;
}
.footer-creds { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-cert-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--primary);
  border: 1px solid var(--border-brand);
  padding: 4px 8px; border-radius: 2px;
  margin-right: 6px; margin-bottom: 6px;
}
.footer-certs { display: flex; flex-wrap: wrap; margin-top: 4px; }

.footer-socials { display: flex; gap: 10px; }
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px; color: var(--muted);
  transition: color 150ms, border-color 150ms;
  text-decoration: none;
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:hover { color: var(--ink); border-color: var(--primary); text-decoration: none; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 24px 0;
}

.footer-copy, .footer-legal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-license-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.license-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 2px;
}

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

/* ─── MOBILE CALL PILL ───────────────────────────────────────── */
.mobile-call-pill,
.mobile-sticky-cta,
.mobile-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: var(--primary);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 150ms, transform 150ms;
  border: none; cursor: pointer;
}
.mobile-call-pill:hover,
.mobile-sticky-cta:hover,
.mobile-cta:hover { filter: brightness(0.88); transform: translateY(-2px); color: var(--ink); text-decoration: none; }
.mobile-call-pill svg,
.mobile-sticky-cta svg,
.mobile-cta svg { width: 20px; height: 20px; }

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

/* ─── ANIMATION UTILITIES ────────────────────────────────────── */
.fade-up    { opacity: 0; transform: translateY(28px); transition: opacity 640ms cubic-bezier(.22,1,.36,1), transform 640ms cubic-bezier(.22,1,.36,1); }
.fade-left  { opacity: 0; transform: translateX(-28px); transition: opacity 640ms cubic-bezier(.22,1,.36,1), transform 640ms cubic-bezier(.22,1,.36,1); }
.fade-right { opacity: 0; transform: translateX(28px); transition: opacity 640ms cubic-bezier(.22,1,.36,1), transform 640ms cubic-bezier(.22,1,.36,1); }
.scale-in   { opacity: 0; transform: scale(0.94); transition: opacity 640ms cubic-bezier(.22,1,.36,1), transform 640ms cubic-bezier(.22,1,.36,1); }

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

.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 560ms cubic-bezier(.22,1,.36,1), transform 560ms cubic-bezier(.22,1,.36,1);
}
.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; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }

/* ─── SVG CAPS ───────────────────────────────────────────────── */
.faq-chevron { width: 18px !important; height: 18px !important; }
.hero-ctas svg { width: 16px !important; height: 16px !important; }
.btn-service svg { width: 14px !important; height: 14px !important; }
nav svg, .nav-cta svg { width: 16px !important; height: 16px !important; }
.contact-social-links svg { width: 14px !important; height: 14px !important; }
.footer-contact-item svg { width: 14px !important; height: 14px !important; }
.project-card-location svg { width: 12px !important; height: 12px !important; }
.footer-social-link svg { width: 16px !important; height: 16px !important; }
.btn-submit svg { width: 16px !important; height: 16px !important; }
.mobile-call-pill svg,
.mobile-sticky-cta svg,
.mobile-cta svg { width: 20px !important; height: 20px !important; }
.btn-primary svg { width: 16px !important; height: 16px !important; }
.emergency-icon { width: 20px !important; height: 20px !important; }

/* ─── MISC ───────────────────────────────────────────────────── */
.featured { }

::selection { background: rgba(56,112,82,0.35); color: var(--ink); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .service-feature-inner { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-title { font-size: clamp(56px, 12vw, 96px); }
  .services-tabs { gap: 6px; }
  .service-tab { padding: 8px 14px; font-size: 10px; }
  .gallery-feature { aspect-ratio: 4 / 3; }
  .founder-story-grid { gap: 40px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(52px, 14vw, 80px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .trust-strip-inner { gap: 8px; }
  .trust-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-form .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.footer-brand { grid-column: 1 / -1; }
.form-input { grid-column: 1 / -1; }
.cta-banner-eyebrow { grid-column: 1 / -1; }
.cta-banner-title { grid-column: 1 / -1; }
.cta-banner-sub { grid-column: 1 / -1; }
.cta-banner-actions { grid-column: 1 / -1; }
.cta-banner-phone { grid-column: 1 / -1; }
.timeline-step { grid-column: 1 / -1; }
.cred-badge { 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; }
