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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #3A9E3A;
  --accent:         #2D6E2D;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --ink:            #0C0C0F;
  --muted:          #6B6B6B;
  --border:         rgba(12,12,15,0.12);
  --border-strong:  rgba(12,12,15,0.22);
  --shadow-sm:      0 2px 8px rgba(12,12,15,0.06);
  --shadow-md:      0 8px 28px rgba(12,12,15,0.10);
  --shadow-lg:      0 18px 48px -12px rgba(12,12,15,0.18);
  --radius:         4px;
  --header-height:  72px;
  --transition:     220ms cubic-bezier(0.25,0.46,0.45,0.94);
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

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

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

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 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; 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; z-index: 0;
}
section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}
section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

[class*="gallery-grid"] > [class*="gallery-tile"],
[class*="gallery-grid"] > a, [class*="gallery-grid"] > figure {
  grid-column: auto; width: auto; max-width: 100%; height: auto; min-height: 0;
}
[class*="gallery-tile"] { aspect-ratio: 4/3; overflow: hidden; }
[class*="gallery-tile"] > img { width: 100%; height: 100%; object-fit: cover; }

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

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

ul, ol { list-style: none; }

svg { display: block; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 { font-size: clamp(48px, 7vw, 112px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }

p { line-height: 1.72; }

.mono, .section-eyebrow, .section-numeral,
.trust-chip, .marquee-item, .service-tab,
.stat-label, .step-num, .card-category-tag,
.footer-col-head, .footer-col-title, .footer-col-label,
.cred-badge-label, .cred-badge-num,
.page-header-eyebrow, .ph-eyebrow,
.info-item-label, .about-chip,
.services-intro-label, .service-block-label,
.cta-banner-label, .cta-banner-eyebrow,
.gallery-sub, .contact-section-label,
.crew-card-role, .crew-stat-label,
.about-magazine-portrait-caption,
.journey-date, .value-card-num,
.area-pill, .area-chip,
.footer-cert, .footer-cert-badge,
.footer-brand-creds, .footer-legal {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(10px, 1vw, 13px);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.wide-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scrollProgress, #scroll-progress, .scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  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(0,0,0,0.08);
}

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

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

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

.nav-pages li { list-style: none; }

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

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

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

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

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-pages {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 800;
  }

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

  .nav-pages a { font-size: 18px; padding: 8px 0; }

  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
}

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

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(12,12,15,0.42) 0%,
    rgba(12,12,15,0.68) 100%
  );
}

.hero-inner {
  padding: clamp(48px, 8vh, 96px) clamp(24px, 6vw, 80px);
  padding-bottom: clamp(64px, 10vh, 120px);
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
}

.hero-numeral {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

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

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

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

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { filter: brightness(0.9); color: #fff; }

.btn-outline, .btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover, .btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

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

.btn-phone svg, .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-submit, .form-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-submit:hover, .form-submit:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.btn-arrow:hover { gap: 16px; color: var(--accent); text-decoration: none; }
.btn-arrow svg { width: 20px; height: 20px; }

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

.trust-strip-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
}

.trust-badge-green {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(58,158,58,0.06);
}

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

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

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

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

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

.marquee-sep {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  align-self: center;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-numeral {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ============================================================
   SERVICES (TABBED)
   ============================================================ */
.services {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
}

.services-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.services-hd {
  margin-bottom: 40px;
}

.services-hd h2 { font-size: clamp(32px, 4vw, 56px); }

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
}

.service-tab:hover { color: var(--ink); border-color: var(--border); }

.service-tab.active {
  color: var(--primary);
  border-color: var(--border) var(--border) transparent;
  background: var(--canvas);
  font-weight: 600;
}

.services-panels { position: relative; }

.service-panel {
  display: none;
  grid-template-columns: 45% 1fr;
  gap: 0;
  background: var(--canvas);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
}

.service-panel.active { display: grid; }

.service-panel-img {
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.service-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  position: absolute;
  inset: 0;
}

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

.service-panel-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 4px;
}

.service-panel-body h3 {
  font-size: clamp(22px, 2.8vw, 36px);
  letter-spacing: -0.025em;
}

.service-panel-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.service-panel-body a.btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .service-panel { grid-template-columns: 1fr; }
  .service-panel-img { min-height: 240px; position: relative; }
  .service-panel-img img { position: absolute; inset: 0; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--ink);
  padding-block: clamp(48px, 7vh, 88px);
}

.stats-bar-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-block {
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-block:last-child { border-right: none; }

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}

@media (max-width: 640px) {
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
  }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-block:nth-child(3), .stat-block:last-child { border-bottom: none; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.reviews-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.reviews-hd { margin-bottom: 56px; }
.reviews-hd h2 { font-size: clamp(32px, 4vw, 56px); }

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

.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.review-card-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0.6;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

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

.review-quote {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 20px;
}

.review-attribution {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

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

/* ============================================================
   GALLERY (INDEX PAGE)
   ============================================================ */
.gallery {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
}

.gallery-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.gallery-hd { margin-bottom: 48px; }
.gallery-hd h2 { font-size: clamp(32px, 4vw, 56px); }

.gallery-layout {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 24px;
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 480px;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-callouts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-callout {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-callout:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-callout-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.gallery-callout-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

@media (max-width: 900px) {
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-main img { height: 320px; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
  background: var(--canvas);
  padding-block: clamp(64px, 8vh, 120px);
}

.gallery-head {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.gallery-head-left {}

.gallery-section-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.gallery-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 8px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.filter-pill:hover { color: var(--ink); border-color: var(--ink); }
.filter-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.gallery-grid {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--canvas);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

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

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  position: absolute;
  inset: 0;
  transition: transform 500ms ease;
}

.project-card:hover .card-img-wrap img { transform: scale(1.04); }

.card-category-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(12,12,15,0.72);
  color: #fff;
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 20px;
}

.card-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-body h3 { font-size: 18px; margin-bottom: 6px; }

.card-location {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

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

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

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

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

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.faq-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

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

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

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

details, details.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
  user-select: none;
  gap: 16px;
}

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

.faq-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 220ms ease;
}

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

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

.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 68ch;
}

/* ============================================================
   TEAM CTA BANNER (mid-page strip)
   ============================================================ */
.team-cta {
  background: var(--ink);
  padding-block: clamp(40px, 5vh, 64px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.team-cta-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
  position: relative;
  overflow: hidden;
}

.cta-banner-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--primary);
  opacity: 0.08;
  position: absolute;
  top: -20px; right: -20px;
  pointer-events: none;
  user-select: none;
}

.cta-banner-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
}

.cta-banner-left { display: flex; flex-direction: column; gap: 20px; }

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

.cta-banner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.cta-banner-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.cta-banner-actions, .cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.cta-banner-actions a, .cta-btn-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
  text-decoration: none;
}

.cta-banner-actions a:first-child, .cta-btn-row a:first-child {
  background: var(--primary);
  color: #fff;
}

.cta-banner-actions a:first-child:hover, .cta-btn-row a:first-child:hover {
  filter: brightness(0.9);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.cta-banner-actions a:last-child, .cta-btn-row a:last-child {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border-strong);
}

.cta-banner-actions a:last-child:hover, .cta-btn-row a:last-child:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--ink);
}

.cta-banner-text { display: flex; flex-direction: column; gap: 16px; }

/* CTA Banner with form */
.cta-banner-form {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.form-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

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

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.contact-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

/* Contact page (contact.html) */
.contact-split {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

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

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

.contact-form-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
}

.contact-hd { margin-bottom: 24px; }
.contact-hd h2 { font-size: clamp(28px, 3.5vw, 48px); }

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

.contact-block h3 {
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-block a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

.contact-block a:hover { color: var(--primary); text-decoration: none; }

.contact-block.sm a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.info-card-numeral {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-card-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

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

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

.info-item-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.info-item-value a { color: var(--ink); font-size: 17px; font-weight: 600; }
.info-item-value a:hover { color: var(--primary); text-decoration: none; }

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

.info-guarantee-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.info-guarantee-list li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.info-guarantee-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.info-phone-link {
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
}

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

.area-pill, .area-chip {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: transparent;
}

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

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

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

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

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

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

.form-input:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58,158,58,0.12);
}

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

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 44vh;
  max-height: 64vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12,12,15,0.38) 0%, rgba(12,12,15,0.68) 100%);
  z-index: 1;
}

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

.page-header-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

.page-header-num-label-wrap {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 12px;
}

.ph-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
}

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

.page-header-h1, .page-header-inner h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 12px;
}

.page-header-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
}

/* ============================================================
   SERVICES PAGE (feature blocks)
   ============================================================ */
.services-intro {
  padding-block: 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.services-intro-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 70ch;
}

.services-feature {
  padding-block: clamp(64px, 9vh, 120px);
  background: var(--canvas);
}

.service-block {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding-block: clamp(48px, 7vh, 88px);
}

.service-block-reverse {
  grid-template-columns: 1fr 50%;
}

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

.service-block-photo {
  overflow: hidden;
  border-radius: var(--radius);
  max-height: 480px;
}

.service-block-photo img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 500ms ease;
}

.service-block:hover .service-block-photo img { transform: scale(1.02); }

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

.service-block-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.service-block-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.service-block-body h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  letter-spacing: -0.025em;
}

.service-block-desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 52ch;
}

.service-block-body a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: filter var(--transition), transform var(--transition);
  margin-top: 8px;
}
.service-block-body a:hover { filter: brightness(0.9); transform: translateY(-2px); color: #fff; text-decoration: none; }

@media (max-width: 900px) {
  .service-block,
  .service-block-reverse {
    grid-template-columns: 1fr;
  }
  .service-block-reverse .service-block-photo,
  .service-block-reverse .service-block-body {
    order: unset;
  }
  .service-block-photo { max-height: 280px; }
  .service-block-photo img { max-height: 280px; }
  .service-block-body { padding: 24px 0; }
}

/* ============================================================
   ABOUT — MAGAZINE LAYOUT
   ============================================================ */
.about-magazine {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.about-magazine-grid {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 64px;
  align-items: start;
}

.about-magazine-portrait-col {
  position: relative;
}

.about-magazine-portrait-col img {
  width: 100%;
  height: 600px;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(20%);
}

.about-magazine-portrait-caption {
  margin-top: 12px;
  color: var(--muted);
}

.about-magazine-text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}

.about-magazine-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
}

.about-magazine-body { display: flex; flex-direction: column; gap: 16px; }
.about-magazine-body p { font-size: 15px; line-height: 1.72; color: var(--muted); }

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

.about-chip {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  background: transparent;
}

@media (max-width: 900px) {
  .about-magazine-grid { grid-template-columns: 1fr; }
  .about-magazine-portrait-col img { height: 320px; }
}

/* ============================================================
   VALUES SECTION
   ============================================================ */
.values-section {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
}

.values-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

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

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

.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value-card-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 16px;
}

.value-card h3 { font-size: 20px; margin-bottom: 10px; }

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

.values-title {
  font-size: clamp(32px, 4vw, 54px);
}

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

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

/* ============================================================
   JOURNEY TIMELINE
   ============================================================ */
.journey-section {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.journey-header {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  margin-bottom: 56px;
}

.journey-title { font-size: clamp(32px, 4vw, 54px); }

.journey-steps {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.journey-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.journey-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.journey-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

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

.journey-step h3 { font-size: 18px; }

.journey-step-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

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

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

/* ============================================================
   CREW SECTION
   ============================================================ */
.crew-section {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
}

.crew-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.crew-header { margin-bottom: 48px; }
.crew-title { font-size: clamp(28px, 4vw, 52px); }

.crew-strip {
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  gap: 24px;
  align-items: start;
}

.crew-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--canvas);
  position: relative;
}

.crew-card-featured img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  max-height: 420px;
  filter: grayscale(15%);
}

.crew-card-info {
  padding: 20px;
}

.crew-card-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

.crew-card-info h3 { font-size: 20px; margin-bottom: 4px; }

.crew-card-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.crew-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--border);
  gap: 8px;
}

.crew-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
}

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

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

/* ============================================================
   ABOUT SECTION (about.html split)
   ============================================================ */
.about-section {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.about-grid {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 64px;
  align-items: center;
}

.about-text-col { display: flex; flex-direction: column; gap: 20px; }

.about-headline { font-size: clamp(28px, 3.5vw, 44px); }

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

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition);
}
.about-cta:hover { gap: 16px; color: var(--accent); text-decoration: none; }
.about-cta svg { width: 20px; height: 20px; }

.about-photo-col {
  position: relative;
}

.about-photo-col img {
  width: 100%;
  height: 520px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(10%);
}

.about-photo-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  max-width: 160px;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-col img { height: 320px; }
}

/* ============================================================
   CREDENTIALS SECTION
   ============================================================ */
.credentials-section {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
}

.credentials-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.credentials-header { margin-bottom: 48px; }
.credentials-title { font-size: clamp(28px, 4vw, 52px); }

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

.cred-badge {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cred-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.cred-badge-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
}

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

.cred-badge-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

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

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

/* ============================================================
   AREA CHIPS / CRED LIST in contact
   ============================================================ */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.cred-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.cred-list p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
}

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

.footer-inner, .site-footer > .container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-brand img { filter: brightness(0) invert(1); opacity: 0.9; }

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

.footer-brand-creds, .footer-legal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

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

.footer-col-head, .footer-col-title, .footer-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 4px;
}

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 8px;
}

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

.footer-col ul li a, .footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover, .footer-links li a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: #fff; text-decoration: none; }

.footer-email-link, .footer-phone-link {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-email-link:hover, .footer-phone-link:hover { color: #fff; text-decoration: none; }

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

.footer-bottom {
  max-width: 1280px;
  margin-inline: auto;
  padding: 20px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

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

.footer-cert, .footer-cert-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
}

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

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

.mobile-cta a, .mobile-cta-pill, .mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter var(--transition), transform var(--transition);
}

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

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

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.25,0.46,0.45,0.94),
              transform 600ms cubic-bezier(0.25,0.46,0.45,0.94);
}

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 600ms cubic-bezier(0.25,0.46,0.45,0.94),
              transform 600ms cubic-bezier(0.25,0.46,0.45,0.94);
}

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 600ms cubic-bezier(0.25,0.46,0.45,0.94),
              transform 600ms cubic-bezier(0.25,0.46,0.45,0.94);
}

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 500ms cubic-bezier(0.25,0.46,0.45,0.94),
              transform 500ms cubic-bezier(0.25,0.46,0.45,0.94);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms cubic-bezier(0.25,0.46,0.45,0.94),
              transform 550ms cubic-bezier(0.25,0.46,0.45,0.94);
}

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

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }

/* SVG cap — all unsized SVGs */
svg { max-width: 100%; }
.btn svg, .btn-arrow svg, .about-cta svg, .mobile-cta svg,
.team-cta svg, .nav-cta svg, .faq-chevron svg,
.review-stars svg, .hero-ctas svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.review-stars svg { width: 18px; height: 18px; }
.faq-chevron svg { width: 20px; height: 20px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   PROCESS STRIP (global utility)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.process-step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

/* ============================================================
   SERVICE CARD HOVER (generic)
   ============================================================ */
.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);
}

/* ============================================================
   MISC / OVERRIDES
   ============================================================ */
details summary { cursor: pointer; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST PATCHES
   ============================================================ */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-trust-chips { gap: 6px; }
  .trust-strip-inner { gap: 8px; }
  .services-tabs { gap: 6px; }
  .service-tab { font-size: 10px; padding: 8px 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .crew-strip { grid-template-columns: 1fr; }
  .crew-card-featured { grid-column: span 1; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
  .team-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.footer-col { grid-column: 1 / -1; }
.service-block-photo { grid-column: 1 / -1; }
.service-block-body { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
.cta-banner-eyebrow { grid-column: 1 / -1; }
.cta-banner-title { grid-column: 1 / -1; }
.cta-banner-sub { grid-column: 1 / -1; }
.cta-banner-phone { grid-column: 1 / -1; }
.cta-banner-actions { grid-column: 1 / -1; }
