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

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #5C7A3E;
  --accent:         #3D5227;
  --primary-dark:   #4a6231;
  --primary-light:  #7a9e57;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2c333b;
  --muted:          #5C6068;
  --muted-light:    #8a9099;
  --border:         rgba(92, 122, 62, 0.22);
  --border-subtle:  rgba(20, 24, 29, 0.1);
  --shadow-sm:      0 2px 8px rgba(20,24,29,0.07);
  --shadow-md:      0 8px 28px rgba(20,24,29,0.11);
  --shadow-lg:      0 18px 48px rgba(20,24,29,0.16);
  --radius:         4px;
  --header-height:  72px;
  --section-py:     clamp(80px, 10vh, 128px);
  --content-max:    1320px;
  --wide-max:       1400px;
}

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

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

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

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

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

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

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

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

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; 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 30%; 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; }

/* Headings inside anchors must inherit, not look like links */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

/* Anchor base */
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; }

svg { display: block; }

ul { list-style: none; }

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

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

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

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

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

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.section-title-md {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 64ch;
}

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

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

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-subtle);
}
.btn-ghost-light:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--canvas);
  border-color: var(--canvas);
  text-decoration: none;
}

.btn-phone {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

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

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

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

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

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

.nav-cta {
  flex: 0 0 auto;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  font-family: 'Archivo', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: filter 180ms;
}
.nav-cta:hover { filter: brightness(0.88); text-decoration: none; color: #fff !important; }
.nav-cta svg { width: 16px; height: 16px; }

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

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

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

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(20,24,29,0.72) 0%,
    rgba(20,24,29,0.5) 50%,
    rgba(20,24,29,0.35) 100%
  );
}

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

.hero-inner {
  padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 80px) clamp(64px, 9vh, 112px);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 116px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 36px;
}

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

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.09);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 7px 13px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
}
.trust-chip svg { width: 14px; height: 14px; color: var(--primary-light); flex-shrink: 0; }

@media (max-width: 640px) {
  .hero { min-height: 88vh; }
  .hero-inner { padding: 48px 20px 64px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  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;
  align-items: center;
}

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

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

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

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

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

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

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.trust-badge svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.trust-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.trust-badge-text { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.trust-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.trust-badges { display: flex; flex-direction: column; gap: 2px; }

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.services-head,
.gallery-head,
.reviews-head,
.credentials-head,
.credentials-header,
.faq-head,
.contact-head {
  margin-bottom: clamp(40px, 5vh, 64px);
}

.services-head h2,
.gallery-head h2,
.reviews-head h2,
.credentials-head h2,
.credentials-header h2,
.faq-head h2,
.contact-head h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
}

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

.service-blocks { display: flex; flex-direction: column; }

.service-block {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 420px;
  border-bottom: 1px solid var(--border-subtle);
}

.service-block-rev,
.service-block.service-block-rev {
  grid-template-columns: 1fr 42%;
}

.service-block-img {
  position: relative;
  overflow: hidden;
  background: var(--ink-mid);
}
.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  display: block;
  transition: transform 600ms ease-out;
  filter: grayscale(12%);
}
.service-block:hover .service-block-img img { transform: scale(1.03); }

.service-block-rev .service-block-img {
  grid-column: 2;
  grid-row: 1;
}
.service-block-rev .service-block-body {
  grid-column: 1;
  grid-row: 1;
}

.service-block-body {
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}

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

.service-block-body h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.service-block-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 52ch;
}

.service-block-cta { margin-top: 28px; }
.service-block-cta a { text-decoration: none; }

.service-block-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(20,24,29,0.45);
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.service-block-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-block-bullets li {
  font-size: 14px;
  color: var(--ink-mid);
  padding-left: 18px;
  position: relative;
}
.service-block-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

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

.service-block-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .service-block,
  .service-block.service-block-rev {
    grid-template-columns: 1fr;
  }
  .service-block-rev .service-block-img { grid-column: 1; grid-row: 1; }
  .service-block-rev .service-block-body { grid-column: 1; grid-row: 2; }
  .service-block-img { min-height: 280px; }
  .service-block-body { padding: 36px 24px; }
}

/* Services page feature header */
.services-feature { background: var(--canvas); }
.services-feature-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 48px) clamp(40px, 5vh, 64px);
}
.services-feature-header h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1.0;
}
.services-feature-header .section-eyebrow { margin-bottom: 14px; }

/* Service block inner (services.html) */
.service-block-inner {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 440px;
}

.service-block.reverse .service-block-inner {
  grid-template-columns: 1fr 42%;
}
.service-block.reverse .service-block-img { grid-column: 2; grid-row: 1; }
.service-block.reverse .service-block-body { grid-column: 1; grid-row: 1; }

@media (max-width: 900px) {
  .service-block-inner,
  .service-block.reverse .service-block-inner {
    grid-template-columns: 1fr;
  }
  .service-block.reverse .service-block-img { grid-column: 1; grid-row: 1; }
  .service-block.reverse .service-block-body { grid-column: 1; grid-row: 2; }
}

/* ============================================================
   CREDENTIALS SECTION
   ============================================================ */
.credentials {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.credentials-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* index.html cred cards */
.cred-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 220ms ease-out, transform 220ms ease-out;
}
.cred-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

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

.cred-card-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* about.html credential cards */
.credential-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow 220ms ease-out, transform 220ms ease-out;
}
.credential-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.credential-value {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

/* Credential chips (about-bridge) */
.credential-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.credential-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--surface);
}

/* contact.html credential chips */
.credential-chips .credential-chip,
.contact-info-card .credential-chip {
  border-color: var(--border);
}

/* ============================================================
   GALLERY SECTION (index.html preview)
   ============================================================ */
.gallery {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

.gallery-preview-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 560px;
  margin-top: 40px;
}
.gallery-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 560px;
  filter: grayscale(10%);
  transition: transform 600ms ease-out;
}
.gallery-preview-wrap:hover img { transform: scale(1.03); }

.gallery-preview-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,24,29,0.35);
  transition: background 250ms;
}
.gallery-preview-wrap:hover .gallery-preview-cta { background: rgba(20,24,29,0.48); }
.gallery-preview-cta a { text-decoration: none; }

.gallery-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.gallery-head > div h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.gallery-head a { text-decoration: none; align-self: flex-end; }

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

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

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.gallery-header-row h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.gallery-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 7px 14px;
  cursor: pointer;
  color: var(--muted);
  transition: background 150ms, border-color 150ms, color 150ms;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

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

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

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

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

.gallery-card-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(20,24,29,0.6);
  color: rgba(255,255,255,0.88);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.gallery-card-body {
  padding: 18px 20px;
}
.gallery-card-body h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.gallery-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.gallery-card-location svg { width: 12px; height: 12px; flex-shrink: 0; }

.gallery-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  letter-spacing: 0.06em;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  display: none;
}

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

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

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.reviews-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.reviews-meta svg { width: 20px; height: 20px; color: var(--primary); }

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

.review-card {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow 250ms ease-out, transform 250ms ease-out;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.review-stars svg { width: 17px; height: 17px; color: var(--primary); }

.review-quote {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 18px;
}

.review-attribution {
  font-size: 13px;
  color: var(--muted);
}

.review-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  display: block;
  margin-top: 4px;
}

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

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

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

.service-areas-grid h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.service-areas-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.area-pill, .area-chip {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color 150ms, color 150ms, background 150ms;
}
.area-pill:hover, .area-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--canvas);
}

.service-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

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

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--section-py) 0;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92,122,62,0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-banner-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

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

.cta-banner-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-top: 16px;
}

.cta-banner-actions, .cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cta-banner-phone {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  color: rgba(255,255,255,0.85);
}

.cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.cta-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 28px;
}

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

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

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

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta {
  background: var(--canvas);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
}

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

.team-cta-copy {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}
.team-cta-copy em { font-style: italic; }
.team-cta a { flex-shrink: 0; text-decoration: none; }

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

.faq-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.faq-head {
  margin-bottom: clamp(40px, 5vh, 64px);
}

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

details.faq-item > summary {
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  color: var(--ink);
  user-select: none;
}
details.faq-item > summary::-webkit-details-marker { display: none; }

.faq-question { flex: 1; padding-right: 24px; line-height: 1.35; }

.faq-chevron {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 220ms ease-out;
}
details.faq-item[open] .faq-chevron { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 24px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 72ch;
}

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

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

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

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

.contact-form-card, .contact-form-col {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}

.contact-form-card h3, .contact-form-col h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
}

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

.contact-form-intro {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

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

.form-input, input[type="text"], input[type="email"], input[type="tel"], input[type="tel"], select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms;
  appearance: none;
}
.form-input:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,122,62,0.12);
}

.form-textarea, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  min-height: 120px;
  transition: border-color 150ms;
}

.form-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: filter 180ms;
}
.form-submit:hover { filter: brightness(0.88); }
.form-submit svg { width: 18px; height: 18px; }

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

.form-heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* Contact info column */
.contact-info-col h3, .contact-info-col .contact-info-heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

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

.contact-detail-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.contact-detail-value a { color: var(--ink); }
.contact-detail-value a:hover { color: var(--primary); }

.contact-socials { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }

/* Contact info card (contact.html) */
.contact-info-card {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}

.info-card-header { margin-bottom: 24px; }
.info-card-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.info-card-header p { font-size: 16px; font-weight: 600; color: var(--ink); }

.info-block {
  padding: 16px 0;
}

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

.info-divider {
  height: 1px;
  background: var(--border-subtle);
}

.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-link, .social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}
.social-link:hover, .social-pill:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.social-link svg, .social-pill svg { width: 16px; height: 16px; }

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

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

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,24,29,0.65) 0%, rgba(20,24,29,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.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;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px) clamp(40px, 6vh, 72px);
  max-width: var(--content-max);
}

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

.page-header-inner h1, .page-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 16ch;
}

.page-header-sub, .page-sub {
  font-size: clamp(14px, 1.3vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 52ch;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
#about-story {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

.about-story {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.about-story-portrait {
  position: relative;
}
.about-story-portrait img {
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(15%);
  max-height: 520px;
  object-fit: cover;
}

.about-story-portrait-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

.about-story-text h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.about-story-text p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 18px;
}

.story-pull-quote {
  border-left: 3px solid var(--primary);
  padding-left: 24px;
  margin: 28px 0;
}
.story-pull-quote p {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; }
  .about-story-portrait { max-width: 400px; }
}

/* Values */
.values-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

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

.values-header {
  margin-bottom: clamp(40px, 5vh, 64px);
}
.values-header h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}

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

.value-card {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.value-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.value-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

/* Timeline */
.timeline-section {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

.timeline-header {
  margin-bottom: clamp(40px, 5vh, 64px);
}
.timeline-header h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}

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

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

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: 2px solid var(--canvas);
  position: absolute;
  top: 8px;
  left: 24px;
  transition: background 200ms;
}
.timeline-step.active .timeline-dot { background: var(--primary); }

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

.timeline-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}

.timeline-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

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

/* About bridge */
.about-bridge {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.about-bridge-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.about-bridge-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-bridge-img img {
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(12%);
  max-height: 480px;
  object-fit: cover;
}

.about-bridge-text h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.about-bridge-text p { font-size: 15px; color: var(--muted); line-height: 1.68; margin-bottom: 24px; }
.about-bridge-text a { text-decoration: none; }

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: clamp(56px, 8vh, 96px) 0 0;
}

.footer-inner, .footer-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand-logo img { filter: brightness(0) invert(1); opacity: 0.85; }

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

.footer-brand-text {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-brand-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

.footer-brand-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-since { font-size: 12px; color: rgba(255,255,255,0.4); }

.footer-socials { display: flex; gap: 10px; margin-top: 6px; }

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.6);
  transition: background 150ms, color 150ms;
}
.footer-social-link:hover { background: var(--primary); color: #fff; text-decoration: none; }
.footer-social-link svg { width: 16px; height: 16px; }

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

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

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-line { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-line a { color: rgba(255,255,255,0.65); }
.footer-contact-line a:hover { color: #fff; text-decoration: none; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary-light); }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: #fff; text-decoration: none; }

.footer-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.footer-cred-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  padding: 4px 8px;
}

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

.footer-copy, .footer-bottom-copy, .footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-creds-tag, .footer-bottom-trust, .footer-bottom-creds {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cert {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-info-item { font-size: 14px; color: rgba(255,255,255,0.6); }

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

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

.mobile-call-pill > a,
.mobile-call > a,
.mobile-sticky-cta > a,
a.mobile-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(20,24,29,0.45);
  transition: filter 180ms, transform 180ms;
}
.mobile-call-pill > a:hover,
.mobile-call > a:hover,
.mobile-sticky-cta > a:hover,
a.mobile-call-pill:hover {
  filter: brightness(0.88);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.mobile-call-pill svg, .mobile-call svg, .mobile-sticky-cta svg,
a.mobile-call-pill svg { width: 20px; height: 20px; flex-shrink: 0; }

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

/* ============================================================
   SERVICE CARD HOVER
   ============================================================ */
.service-card { transition: transform 250ms ease-out, box-shadow 250ms ease-out; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(20,24,29,0.18); }

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

/* ============================================================
   PROCESS (not in brief but present in required patterns)
   ============================================================ */
.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; }

/* ============================================================
   GLOBAL ELEMENTS (miscellaneous class coverage)
   ============================================================ */
.section-wrap { padding-top: 0; padding-bottom: 0; }

/* services-head top padding */
.services > .section-wrap { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.services > .services-head {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px) clamp(32px, 4vh, 56px);
}
.credentials > .section-wrap,
.gallery > .section-wrap,
.reviews > .section-wrap,
.service-areas > .section-wrap,
.faq > .section-wrap,
.contact > .section-wrap {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.credentials-section > .inner-wrap,
.timeline-section > .inner-wrap {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.values-section > .inner { padding-top: var(--section-py); padding-bottom: var(--section-py); }

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

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

/* No flip mirrors */
.reverse { order: unset; }
.service-block.reverse .service-block-inner { direction: ltr; }

/* Nav active */
.nav-active { color: var(--primary) !important; border-bottom-color: var(--primary) !important; }

/* Scroll progress variants */
#scrollProgress, #progressBar, .scroll-progress, .progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--primary); width: 0%; z-index: 9999;
  transition: width 80ms linear; pointer-events: none;
}

/* Misc coverage */
.active { } /* managed by JS */
.visible { } /* managed by JS + CSS above */
.info-card-header h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 1200px) {
  .footer-inner, .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --section-py: clamp(60px, 8vh, 96px); }
  .gallery-filter-bar { display: none; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .trust-strip-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.service-block-inner { grid-column: 1 / -1; }
.cta-eyebrow { grid-column: 1 / -1; }
.cta-title { grid-column: 1 / -1; }
.cta-sub { grid-column: 1 / -1; }
.cta-actions { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.about-story-text { grid-column: 1 / -1; }
.form-group { 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; }
