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

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #2C5C04;
  --primary-dark:   #1e4002;
  --primary-light:  #3a7a05;
  --accent:         #74F40A;
  --accent-dim:     #5ec808;
  --canvas:         #F7F6F2;
  --canvas-alt:     #EEECEA;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2d3339;
  --muted:          #5C6068;
  --muted-light:    #8c9199;
  --border:         rgba(44, 92, 4, 0.18);
  --border-neutral: rgba(20, 24, 29, 0.10);
  --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; }

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

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

/* Universal image cap — no <img> may overflow its container, ever */
img { max-width: 100%; height: auto; display: block; }

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

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

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

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

.hero-split {
  display: grid; grid-template-columns: 60% 40%; min-height: 88vh; gap: 0;
}
.hero-split-text {
  background: var(--canvas); padding: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.hero-split-photo { position: relative; overflow: hidden; background: transparent; }
.hero-split-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-photo { min-height: 60vw; order: -1; }
}

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

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

h1 { font-size: clamp(48px, 7vw, 120px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }

p { line-height: 1.7; }

.eyebrow,
.section-eyebrow,
.page-header-eyebrow,
.info-card-eyebrow,
.contact-form-label,
.info-block-label,
.info-label,
.footer-col-title,
.footer-col-label,
.cta-banner-label,
.cta-banner-eyebrow,
.team-cta-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   LINKS
   ============================================================ */
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; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

.wide-container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

.section-pad {
  padding-top: clamp(80px, 10vh, 128px);
  padding-bottom: clamp(80px, 10vh, 128px);
}

.sec-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(80px, 10vh, 128px) clamp(16px, 4vw, 48px);
}

.section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-primary,
.btn-cta-primary,
.btn-accent-solid,
.btn-submit,
.btn-ghost,
.btn-outline-white,
.btn-cta-outline,
.btn-white,
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms, color 180ms, border-color 180ms, filter 180ms;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary,
.btn-cta-primary,
.btn-accent-solid,
.btn-submit {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-cta-primary:hover,
.btn-accent-solid:hover,
.btn-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--surface);
  text-decoration: none;
}

.btn-cta-outline,
.btn-ghost {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255,255,255,0.6);
}
.btn-cta-outline:hover,
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--surface);
  color: var(--surface);
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--surface);
  text-decoration: none;
}

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

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  text-decoration: none;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
}

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

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

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

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

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-pages a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-pages li.active a,
.nav-pages a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
  text-decoration: none;
}

.nav-cta {
  flex: 0 0 auto;
  background: var(--primary);
  color: var(--surface);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 180ms;
}

.nav-cta:hover {
  filter: brightness(0.90);
  color: var(--surface);
  text-decoration: none;
}

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

@media (max-width: 899px) {
  .top-nav { gap: 16px; }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-pages {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: 24px clamp(16px, 4vw, 32px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 4px;
    z-index: 800;
  }

  .nav-pages.open {
    display: flex;
  }

  .nav-pages ul {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    width: 100%;
  }

  .nav-pages a {
    padding: 12px 0;
    font-size: 16px;
    display: block;
    width: 100%;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 0;
  }

  .nav-cta svg {
    width: 18px;
    height: 18px;
  }
}

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

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

.stagger.visible > * {
  opacity: 1;
  transform: none;
}

.stagger.visible > *:nth-child(1)  { transition-delay: 0.04s; }
.stagger.visible > *:nth-child(2)  { transition-delay: 0.10s; }
.stagger.visible > *:nth-child(3)  { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4)  { transition-delay: 0.22s; }
.stagger.visible > *:nth-child(5)  { transition-delay: 0.28s; }
.stagger.visible > *:nth-child(6)  { transition-delay: 0.34s; }
.stagger.visible > *:nth-child(7)  { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(8)  { transition-delay: 0.46s; }

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

.hero-overlay {
  background: rgba(20,24,29,0.55);
}

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

.hero-inner {
  padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 80px) clamp(56px, 8vh, 96px);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

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

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

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

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

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

.hero-trust-chips .trust-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(247,246,242,0.90);
  background: rgba(20,24,29,0.50);
  border: 1px solid rgba(116,244,10,0.35);
  border-radius: 4px;
  padding: 6px 12px;
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .hero { min-height: 88vh; }
  .hero-inner { padding: 48px 20px 48px; }
}

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

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

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

.trust-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--primary);
}

.trust-chip-accent {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  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-strip:hover .marquee-track {
  animation-play-state: paused;
}

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

.marquee-dot {
  color: var(--primary);
  font-weight: 800;
}

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

/* ============================================================
   CREDENTIALS (index.html — #credentials)
   ============================================================ */
.credentials {
  background: var(--surface);
}

.credentials .sec-inner > h2 {
  margin-bottom: 40px;
  max-width: 26ch;
}

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

.cred-card {
  background: var(--surface);
  border: 1px solid var(--border-neutral);
  border-top: 4px solid var(--primary);
  border-radius: 4px;
  padding: 24px 20px;
}

.cred-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  word-break: break-all;
}

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

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

@media (max-width: 640px) {
  .cred-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

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

.sec-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.sec-header-row a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
}

.sec-header-row a:hover { text-decoration: underline; }

.sec-header-row > div { flex: 1; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Wide cards span 2 columns */
.svc-card-wide {
  grid-column: span 2;
}

.svc-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.22);
  text-decoration: none;
}

.svc-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: none !important;
  z-index: 0;
  transition: transform 400ms ease;
}

.svc-card:hover > img { transform: scale(1.03); }

.svc-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.82) 0%, rgba(20,24,29,0.20) 60%, transparent 100%);
  z-index: 1;
}

.svc-card-body {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  color: var(--surface);
}

.svc-card-body h3 {
  color: var(--surface);
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.svc-idx {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.svc-desc {
  font-size: 13px;
  color: rgba(247,246,242,0.80);
  line-height: 1.5;
  margin-bottom: 8px;
}

.svc-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.svc-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .svc-card-wide { grid-column: span 2; }
  .svc-card { min-height: 260px; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card-wide { grid-column: span 1; }
  .svc-card { min-height: 240px; }
}

/* ============================================================
   GALLERY PREVIEW (index.html)
   ============================================================ */
.gallery-preview {
  background: var(--canvas-alt);
}

.gallery-feature {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 400px;
}

.gallery-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.gallery-feature-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.75) 0%, transparent 60%);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 36px;
}

.gallery-cta-block {
  color: var(--surface);
}

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

.gallery-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--surface);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.gallery-headline a {
  color: var(--surface);
}

.gallery-cta-block a:not(.gallery-headline a) {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

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

.team-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.team-cta-inner h2 {
  color: var(--surface);
  font-size: clamp(28px, 4vw, 52px);
  max-width: 22ch;
}

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

.team-cta-title {
  color: var(--surface);
}

.team-cta-inner a {
  background: var(--surface);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  text-decoration: none;
  transition: filter 180ms;
}

.team-cta-inner a:hover {
  filter: brightness(0.94);
  text-decoration: none;
  color: var(--primary);
}

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

.faq .sec-inner > h2 {
  margin-bottom: 40px;
}

.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

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

details.faq,
.faq details {
  border-bottom: 1px solid var(--border-neutral);
  padding: 18px 0;
}

.faq details > summary,
details.faq > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}

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

.faq details > summary::after,
details.faq > summary::after {
  content: "+";
  font-weight: 300;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 200ms;
  color: var(--muted);
}

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

.faq-chevron {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 200ms;
}

.faq details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

@media (max-width: 640px) {
  .faq-cols { grid-template-columns: 1fr; gap: 0; }
}

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

.contact-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(80px, 10vh, 128px) clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.contact-form-col h2 {
  margin-bottom: 8px;
}

.contact-form-col .eyebrow { margin-bottom: 16px; }

.contact-info-col {
  padding-top: 8px;
}

.contact-info-block {
  margin-bottom: 28px;
}

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

.contact-info-block .info-val {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
}

.contact-phone-big,
.info-phone-big {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--primary);
}

.contact-phone-big a,
.info-phone-big a {
  color: var(--primary);
  text-decoration: none;
}

.contact-phone-big a:hover,
.info-phone-big a:hover {
  text-decoration: underline;
}

.no-surcharge-note {
  background: var(--canvas);
  border-left: 3px solid var(--primary);
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}

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

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

.form-input,
input.form-input,
.form-textarea,
textarea.form-textarea,
.form-select,
select.form-select,
.contact-form-col input,
.contact-form-col textarea,
.contact-form-col select,
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border-neutral);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 150ms;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.contact-form-col input:focus,
.contact-form-col textarea:focus,
.contact-form-col select:focus,
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
  border-color: var(--primary);
}

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

/* Contact page forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

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

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border-neutral);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 150ms;
  -webkit-appearance: none;
}

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

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

.form-field.full {
  grid-column: 1 / -1;
}

.form-credit-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted-light);
  margin-bottom: 8px;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }
}

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

.contact-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(80px, 10vh, 128px) clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap h2 {
  margin-bottom: 8px;
}

.contact-form-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.contact-form-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.contact-info-card {
  background: var(--canvas);
  border: 1px solid var(--border-neutral);
  border-top: 4px solid var(--primary);
  border-radius: 4px;
  padding: 28px 24px;
}

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

.info-block {
  margin-bottom: 0;
}

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

.info-block-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.info-phone-toll {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.02em;
}

.info-phone-toll a {
  color: var(--primary);
  text-decoration: none;
}

.info-phone-toll a:hover { text-decoration: underline; }

.info-divider {
  border: none;
  border-top: 1px solid var(--border-neutral);
  margin: 20px 0;
}

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

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

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

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.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: rgba(20,24,29,0.58);
  z-index: 1;
}

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

.page-header-inner {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vh, 72px) clamp(20px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.page-header-inner h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--surface);
  max-width: 18ch;
  margin-bottom: 10px;
}

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

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

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.services-intro {
  background: var(--canvas);
  padding: clamp(48px, 7vh, 80px) clamp(16px, 4vw, 48px);
}

.services-intro-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.services-intro-inner h2 {
  margin-bottom: 12px;
  max-width: 24ch;
}

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

.services-intro-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.65;
}

.services-detail {
  background: var(--surface);
}

.service-block {
  border-bottom: 1px solid var(--border-neutral);
  padding: clamp(64px, 8vh, 96px) clamp(16px, 4vw, 48px);
  max-width: 1320px;
  margin: 0 auto;
}

.service-block:last-child { border-bottom: none; }

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Alternate photo side on even children */
.service-block:nth-child(even) .service-block-inner {
  direction: rtl;
}
.service-block:nth-child(even) .service-block-inner > * {
  direction: ltr;
}

.service-block-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.service-block-index {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--surface);
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}

.service-block-body h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

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

.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.service-features li {
  font-size: 14px;
  color: var(--ink-mid);
  padding: 7px 0 7px 20px;
  border-bottom: 1px solid var(--border-neutral);
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .service-block-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-block:nth-child(even) .service-block-inner { direction: ltr; }
  .service-block { padding: 48px clamp(16px, 4vw, 48px); }
}

/* ============================================================
   CREDENTIALS BAND (services.html)
   ============================================================ */
.credentials-band {
  background: var(--canvas);
  padding: clamp(64px, 8vh, 96px) clamp(16px, 4vw, 48px);
}

.credentials-band-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.credentials-band-inner h2 {
  margin-bottom: 12px;
}

.credentials-band-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 40px;
  line-height: 1.65;
}

.cred-registry,
.credential-registry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Shared card style for both .cred-card variants */
.cred-registry .cred-card,
.credential-registry .credential-card {
  background: var(--surface);
  border: 1px solid var(--border-neutral);
  border-top: 4px solid var(--primary);
  border-radius: 4px;
  padding: 20px 18px;
}

.cred-number,
.credential-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  word-break: break-all;
}

.cred-detail {
  font-size: 12px;
  color: var(--muted-light);
  line-height: 1.5;
  margin-top: 6px;
}

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

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

@media (max-width: 640px) {
  .cred-registry,
  .credential-registry { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--primary);
  padding: clamp(64px, 9vh, 104px) clamp(16px, 4vw, 48px);
}

.cta-banner-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-inner h2 {
  color: var(--surface);
  font-size: clamp(28px, 4vw, 56px);
  max-width: 22ch;
}

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

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

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

.cta-banner-actions a,
.cta-banner-btns a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   GALLERY (gallery.html)
   ============================================================ */
.gallery-full {
  background: var(--canvas);
  padding: clamp(48px, 7vh, 80px) clamp(16px, 4vw, 48px);
}

.gallery-filter-bar {
  max-width: 1320px;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-neutral);
  border-radius: 4px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 150ms, border-color 150ms, color 150ms;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.gallery-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.16);
}

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

.gallery-card-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease;
}

.gallery-card:hover .gallery-card-photo > img {
  transform: scale(1.04);
}

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

.gallery-card-num {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: rgba(247,246,242,0.80);
  z-index: 1;
}

.gallery-card-body {
  padding: 18px 20px;
}

.gallery-card-body h2 {
  font-size: clamp(15px, 1.6vw, 18px);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.gallery-card-loc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.gallery-card-loc svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

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

.gallery-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.gallery-meta-val {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.gallery-meta-key {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted-light);
}

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

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  background: var(--canvas);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-story-portrait {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 560px;
}

.about-story-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-height: none !important;
}

.portrait-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 4px;
  z-index: -1;
}

.about-story-body h2 {
  margin-bottom: 20px;
}

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

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

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

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-portrait { aspect-ratio: 16/9; max-height: 320px; }
}

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

.values-section .section-inner > h2 {
  margin-bottom: 8px;
}

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

.value-card {
  background: var(--canvas);
  border: 1px solid var(--border-neutral);
  border-top: 4px solid var(--primary);
  border-radius: 4px;
  padding: 24px 20px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.12);
}

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

.value-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

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

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

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

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

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--border-neutral);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.timeline-dot svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

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

.timeline-step h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

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

@media (max-width: 640px) {
  .timeline-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* CREW STRIP */
.crew-strip {
  background: var(--ink);
  padding: clamp(64px, 8vh, 96px) clamp(16px, 4vw, 48px);
}

.crew-strip-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.crew-strip-inner h2 {
  color: var(--surface);
  margin-bottom: 40px;
}

.crew-strip-inner .section-eyebrow {
  color: var(--accent);
}

.crew-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crew-credential-block {
  border-top: 2px solid var(--primary);
  padding-top: 20px;
}

.crew-cred-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.crew-cred-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,246,242,0.65);
  display: block;
  margin-bottom: 8px;
}

.crew-cred-desc {
  font-size: 14px;
  color: rgba(247,246,242,0.55);
  line-height: 1.6;
}

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

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

/* ABOUT TWO-COL */
.about-twocol {
  background: var(--canvas);
}

.about-twocol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-twocol-left h2 {
  margin-bottom: 24px;
}

.about-twocol-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.about-twocol-right p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.75;
}

.about-twocol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-twocol-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 6px 12px;
}

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

/* ============================================================
   STAT COUNTER (if present)
   ============================================================ */
.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-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.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
   ============================================================ */
.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: 4px;
}

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

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-card {
  padding: 28px;
  border-radius: 4px;
  background: var(--canvas);
  border: 1px solid var(--border-neutral);
  border-top: 4px solid var(--primary);
}

.review-stars svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

.review-quote {
  font-size: 17px;
  line-height: 1.55;
  margin: 14px 0;
}

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

/* ============================================================
   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(0,0,0,0.18);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(247,246,242,0.80);
  padding: clamp(56px, 7vh, 88px) 0 0;
}

/* index.html footer layout */
.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* about.html footer inner */
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand-col,
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-box img,
.footer-brand img {
  max-height: 44px !important;
  max-width: 180px !important;
}

.footer-biz-name,
.footer-brand-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--surface);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
  line-height: 1.6;
  max-width: 28ch;
}

.footer-cred-list {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247,246,242,0.40);
  line-height: 1.8;
  margin-top: 8px;
}

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

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

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

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

.footer-col ul li a:hover,
.footer-links li a:hover {
  color: var(--surface);
  text-decoration: none;
}

.footer-col ul li span,
.footer-links li span {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}

.footer-contact-item a {
  font-size: 14px;
  color: rgba(247,246,242,0.75);
  text-decoration: none;
}

.footer-contact-item a:hover { color: var(--surface); text-decoration: none; }

.footer-contact-item span {
  font-size: 13px;
  color: rgba(247,246,242,0.50);
}

.footer-phone-link,
.footer-email-link {
  font-size: 14px;
  color: rgba(247,246,242,0.80);
  text-decoration: none;
}

.footer-phone-link:hover,
.footer-email-link:hover { color: var(--surface); }

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

.footer-copy,
.footer-bottom p,
.footer-bottom span {
  font-size: 12px;
  color: rgba(247,246,242,0.40);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(247,246,242,0.40);
  text-decoration: none;
}

.footer-legal a:hover { color: rgba(247,246,242,0.70); text-decoration: none; }

.footer-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

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

/* ============================================================
   MOBILE CALL PILL / CTA
   ============================================================ */
.mobile-call-pill,
.mobile-pill,
.mobile-sticky-cta,
.mobile-cta,
.mobile-call {
  display: flex;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  overflow: hidden;
}

.mobile-call-pill a,
.mobile-pill a,
.mobile-sticky-cta,
.mobile-cta a,
.mobile-call a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  color: var(--surface);
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.mobile-sticky-cta {
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  color: var(--surface);
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.mobile-call-pill svg,
.mobile-pill svg,
.mobile-sticky-cta svg,
.mobile-cta svg,
.mobile-call svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

/* ============================================================
   TABLES
   ============================================================ */
.services-table {
  width: 100%;
  border-collapse: collapse;
}

.services-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.services-table td {
  padding: 14px 16px;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--border-neutral);
}

.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--primary);
  color: var(--surface);
}

/* ============================================================
   MISC HELPERS
   ============================================================ */
.sec-title,
.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.info-divider {
  border: none;
  border-top: 1px solid var(--border-neutral);
  margin: 20px 0;
}

/* Visually hidden skip link */
[class*="skip-link"] {
  position: absolute;
  top: -100%;
  left: 0;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1200px) {
  .cred-grid { grid-template-columns: repeat(4, 1fr); }
}

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

  .sec-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .trust-strip-inner { gap: 8px; }
  .trust-badge, .trust-chip { font-size: 10px; padding: 5px 10px; }

  .footer-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.faq-col { grid-column: 1 / -1; }
.contact-form-col { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.service-block-photo { grid-column: 1 / -1; }
.cred-card { grid-column: 1 / -1; }
.credential-card { grid-column: 1 / -1; }
.footer-grid { grid-column: 1 / -1; }
.footer-bottom { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.btn-submit { 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; }
