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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:       #1a3a49;
  --accent:        #1a3a49;
  --canvas:        #FFFFFF;
  --surface:       #F2F0EB;
  --ink:           #0C0C0F;
  --muted:         #5A5852;
  --border:        #0C0C0F;
  --primary-dark:  #112630;
  --primary-light: #254f63;
  --surface-alt:   #e8e5df;
  --header-height: 72px;
}
@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

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

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

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

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

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

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 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 anchor rule */
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 Black', sans-serif;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(48px, 7vw, 120px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(20px, 2.5vw, 32px); }
h4 { font-size: clamp(16px, 1.8vw, 22px); }

p { line-height: 1.7; }

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

/* Label / mono style */
.section-eyebrow,
.page-header-eyebrow,
.page-eyebrow,
.about-eyebrow,
.service-eyebrow,
.cta-banner-label,
.cta-eyebrow,
.cta-meta,
.gallery-section-label,
.footer-col-heading,
.footer-col-title,
.areas-label,
.service-areas-label,
.info-block-label,
.brand-band-claim {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}
.wide-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress,
#scrollProgress,
#scrollBar,
.scroll-progress,
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--primary);
  width: 0%;
  z-index: 9999;
  transition: width 50ms 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;
  gap: 32px;
  height: var(--header-height);
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 28px;
}

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

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.nav-pages a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-pages a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.nav-cta {
  flex: 0 0 auto;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0;
  font-weight: 700;
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.88); color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 24px;
  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: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    padding: 24px 28px;
    gap: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 890;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { font-size: 14px; padding: 10px 0; }
  .nav-cta span { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-primary,
.btn-cta-primary,
.btn-secondary,
.btn-cta-secondary,
.btn-outline,
.btn-white,
.btn-service,
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms, color 160ms, border-color 160ms, filter 160ms;
  white-space: nowrap;
}
.btn-primary,
.btn-cta-primary,
.btn-submit {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-cta-primary:hover,
.btn-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.btn-secondary,
.btn-cta-secondary,
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover,
.btn-cta-secondary:hover,
.btn-outline:hover {
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
}
.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-white:hover { background: var(--surface); border-color: var(--surface); color: var(--ink); text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 92vh;
  background: var(--primary-dark);
}
.hero-bg {
  filter: grayscale(20%);
}
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 24, 32, 0.88) 0%,
    rgba(26, 58, 73, 0.72) 50%,
    rgba(26, 58, 73, 0.30) 100%
  );
}
.hero-inner {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  max-width: 1360px;
  margin-inline: auto;
  padding-bottom: clamp(56px, 8vh, 96px);
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 8.5vw, 132px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.80);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-cta-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero-ctas .btn-primary:hover,
.hero-ctas .btn-cta-primary:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.hero-ctas .btn-secondary,
.hero-ctas .btn-cta-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero-ctas .btn-secondary:hover,
.hero-ctas .btn-cta-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}
.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  border: 1px solid rgba(255,255,255,0.28);
  width: fit-content;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-right: 1px solid rgba(255,255,255,0.28);
}
.hero-trust-chips .trust-chip:last-child { border-right: none; }
.trust-chip svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 640px) {
  .hero-inner { padding-bottom: clamp(40px, 8vh, 72px); }
  .hero-trust-chips { flex-direction: column; border: none; gap: 8px; }
  .trust-chip { border: 1px solid rgba(255,255,255,0.28); border-right: 1px solid rgba(255,255,255,0.28); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--canvas);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.trust-strip-inner {
  display: flex;
  align-items: stretch;
  max-width: 1360px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.trust-strip .trust-chip {
  color: var(--ink);
  padding: 14px 22px;
  border-right: 1px solid var(--ink);
  border-radius: 0;
  flex: 1 1 auto;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: none;
  border-right: 1px solid var(--ink);
}
.trust-strip .trust-chip svg { color: var(--primary); width: 14px; height: 14px; }
.trust-strip .trust-chip:first-child { border-left: none; }
.trust-strip .trust-chip:last-child { border-right: none; }
/* Trust strip on gallery / about — standalone chips */
.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-right: 1px solid var(--ink);
  flex: 1 1 auto;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.trust-strip .trust-item:last-child { border-right: none; }
.trust-strip .trust-item svg { width: 16px; height: 16px; color: var(--primary); }

@media (max-width: 640px) {
  .trust-strip-inner { flex-direction: column; }
  .trust-strip .trust-chip,
  .trust-strip .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--ink);
  }
  .trust-strip .trust-chip:last-child,
  .trust-strip .trust-item:last-child { border-bottom: none; }
}

/* ============================================================
   BRAND BAND (unique move — giant claim)
   ============================================================ */
.brand-band,
.claim-band {
  background: var(--primary);
  overflow: hidden;
}
.brand-band-inner,
.claim-band-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 80px);
}
.brand-band-claim,
.claim-band-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 20ch;
}
/* Brand band on about/gallery with headline + copy columns */
.brand-band-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.brand-band-copy {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
}
.brand-band-copy p + p { margin-top: 16px; }

/* brand-band on gallery — stats row */
.brand-band .brand-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: flex-start;
}
.brand-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brand-stat-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 112px) 0;
}
.services-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
}
.services-inner > .section-eyebrow { margin-bottom: 12px; }
.section-title,
.services-inner > h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 48px;
}

/* Bento grid — 6 cards */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
}
.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
.service-card.featured {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
.service-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(15%);
  transition: transform 400ms ease-out, filter 400ms;
  max-height: none !important;
}
.service-card:hover > img { transform: scale(1.04); filter: grayscale(0%); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,20,28,0.85) 0%, rgba(10,20,28,0.20) 60%, transparent 100%);
  z-index: 1;
  transition: background 300ms;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(0deg, rgba(26,58,73,0.90) 0%, rgba(26,58,73,0.40) 60%, transparent 100%);
}
.service-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
}
.service-card-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.service-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  max-width: 40ch;
}
.service-card-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 150ms;
}
.service-card:hover .service-card-link { color: #fff; }

.service-card { transition: transform 250ms ease-out, box-shadow 250ms ease-out; }
.service-card:hover { transform: none; box-shadow: none; }

.services-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.services-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 50ch;
}

@media (max-width: 900px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  .service-card { aspect-ratio: 4 / 3; }
}

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.services-detail {
  background: var(--canvas);
}
.service-block {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.service-block.alt-surface { background: var(--surface); }
.service-block-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: clamp(64px, 8vh, 112px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-block.reverse .service-block-inner {
  direction: rtl;
}
.service-block.reverse .service-block-inner > * { direction: ltr; }
.service-block-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.service-block-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
}
.service-index-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.04em;
  z-index: 2;
  user-select: none;
}
.service-block-body { display: flex; flex-direction: column; gap: 16px; }
.service-eyebrow { color: var(--primary); margin-bottom: 8px; }
.service-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.service-features li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 2px;
  background: var(--primary);
}
.service-block-body .btn-primary,
.service-block-body a.btn {
  margin-top: 8px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .service-block-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse .service-block-inner { direction: ltr; }
  .service-index-num { font-size: 56px; }
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 44vh;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10,20,28,0.82) 0%,
    rgba(26,58,73,0.50) 60%,
    transparent 100%
  );
}
.page-header-inner {
  position: relative; z-index: 2;
  max-width: 1360px;
  margin-inline: auto;
  padding: 48px clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-header-eyebrow,
.page-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.page-header-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 16ch;
}
.page-header-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 112px) clamp(24px, 5vw, 64px);
  max-width: 1360px;
  margin-inline: auto;
}
.about-eyebrow {
  color: var(--primary);
  margin-bottom: 24px;
}
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.about-portrait-col { display: flex; flex-direction: column; gap: 0; }
.about-portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--ink);
}
.about-portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  max-height: none !important;
  filter: grayscale(15%);
}
.about-portrait-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  z-index: 2;
}
.about-story-col { display: flex; flex-direction: column; gap: 40px; }
.about-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0;
}
.about-body { display: flex; flex-direction: column; gap: 16px; }
.about-body p { font-size: 16px; color: var(--muted); line-height: 1.75; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.value-card {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.value-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.value-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.value-body { font-size: 14px; color: var(--muted); line-height: 1.65; }

.areas-block { display: flex; flex-direction: column; gap: 12px; }
.areas-label { color: var(--muted); }
.areas-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.areas-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait-frame { max-width: 320px; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 112px) 0;
}
.gallery-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.gallery-headline-block { display: flex; flex-direction: column; gap: 8px; }
.gallery-section-label { color: var(--primary); }
.gallery-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Gallery grid — 9 items, 3 cols */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
}
.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  background: var(--surface);
  text-decoration: none;
}
.gallery-card.featured { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease-out, filter 300ms;
  filter: grayscale(10%);
}
.gallery-card:hover > img { transform: scale(1.04); filter: grayscale(0%); }
.gallery-card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,20,28,0.76) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 300ms;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  gap: 2px;
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.gallery-card-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}
.gallery-card-loc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.gallery-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Type cards inside gallery grid */
.gallery-card-type {
  background: var(--primary);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 12px;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  transition: background 200ms;
}
.gallery-card-type:hover { background: var(--primary-dark); text-decoration: none; }
.gallery-card-type-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.04em;
  position: absolute;
  top: 12px; right: 16px;
}
.gallery-card-type-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative; z-index: 1;
}
.gallery-card-type-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.gallery-card-type-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.0;
}
.gallery-card-type-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  line-height: 1.55;
}

/* Filter pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 8px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 150ms, color 150ms;
}
.filter-pill.active,
.filter-pill:hover {
  background: var(--ink);
  color: var(--canvas);
}

/* Gallery feature layout (index page) */
.gallery-feature-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.gallery-feature-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
  text-decoration: none;
}
.gallery-feature-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease-out;
}
.gallery-feature-img:hover img { transform: scale(1.03); }
.gallery-side-stats {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  gap: 0;
}
.gallery-stat-card {
  padding: 32px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.gallery-stat-card.light { background: var(--primary); }
.gallery-stat-card.light .gallery-stat-num { color: #fff; }
.gallery-stat-card.light .gallery-stat-label { color: rgba(255,255,255,0.60); }
.gallery-stat-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.gallery-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--surface);
  padding: clamp(72px, 9vh, 112px) 0;
}
.faq-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
}
.faq-inner > .section-eyebrow { color: var(--primary); margin-bottom: 8px; }
.faq-inner > h2 { margin-bottom: 56px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
}
.faq-item {
  border-bottom: 1px solid var(--ink);
  padding: 0;
}
details.faq-item { padding: 18px 0; }
details.faq-item > summary {
  cursor: pointer;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  color: var(--ink);
  line-height: 1.2;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 220ms ease-out, color 220ms;
  color: var(--muted);
}
details.faq-item[open] > summary .faq-chevron {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 18px;
  max-width: 56ch;
}

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

/* ============================================================
   TEAM CTA BAND
   ============================================================ */
.team-cta {
  background: var(--ink);
  padding: clamp(48px, 6vh, 80px) 0;
}
.team-cta-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.team-cta-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
.team-cta-text span { color: var(--primary-light); }
.team-cta-inner a.btn-primary,
.team-cta-inner a.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  flex-shrink: 0;
}
.team-cta-inner a.btn-primary:hover,
.team-cta-inner a.btn-white:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 112px) 0;
}
.contact-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
}
.contact-inner > .section-eyebrow { color: var(--primary); margin-bottom: 8px; }
.contact-inner > h2 { margin-bottom: 56px; }

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

/* Forms */
.contact-form,
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group,
.form-field {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}
.form-group-full {
  grid-column: 1 / -1;
}
.form-field label,
.form-group label,
.contact-form-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select,
.form-group input,
.form-group textarea,
.form-group select,
.contact-form input,
.contact-form textarea,
.contact-form select,
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: var(--canvas);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms;
  appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.cta-form input:focus,
.cta-form textarea:focus,
.form-field input:focus,
.form-field textarea:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}
.contact-form textarea,
.cta-form textarea,
.form-field textarea,
.form-group textarea {
  min-height: 128px;
  resize: vertical;
}
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.form-submit-note {
  font-size: 12px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}
.btn-submit {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-info-block {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info-block h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  line-height: 1.2;
}
.contact-info-block a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-info-block a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-info-block p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.contact-divider {
  height: 1px;
  background: rgba(0,0,0,0.10);
}
.service-areas-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.service-areas-list,
.service-areas-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-areas-list li,
.area-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--muted);
}

/* Contact page specific layout */
.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--ink);
}
.info-block {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-block:last-child { border-bottom: none; }
.info-block-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-phone-large {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}
.info-phone-sub {
  font-size: 13px;
  color: var(--muted);
}
.info-block-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
}
.info-block-value a { font-size: 15px; font-weight: 600; }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background 150ms, color 150ms;
}
.social-link:hover { background: var(--ink); color: var(--canvas); text-decoration: none; }
.social-link svg { width: 14px; height: 14px; }

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

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--ink);
  padding: clamp(72px, 9vh, 112px) 0;
}
.cta-banner-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-banner-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 12px;
}
.cta-banner-heading,
.cta-banner-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 16px;
}
.cta-banner-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  max-width: 50ch;
  line-height: 1.6;
}
.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}
.cta-banner-actions .btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cta-banner-actions .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.cta-banner-actions .btn-outline {
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}
.cta-banner-actions .btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.70);
  color: #fff;
  text-decoration: none;
}

/* about page CTA split */
.cta-banner .cta-left {
  display: flex; flex-direction: column; gap: 12px;
}
.cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
}
.cta-meta {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  max-width: 48ch;
}
.cta-right {
  display: flex; flex-direction: column; gap: 20px;
}
.cta-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-form input, .cta-form textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.40); }
.cta-form input:focus, .cta-form textarea:focus { border-color: rgba(255,255,255,0.60); }
.cta-form label { color: rgba(255,255,255,0.55); }

@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-banner-actions { justify-content: flex-start; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
}
.footer-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: clamp(56px, 7vh, 88px) clamp(24px, 5vw, 64px) 0;
}
.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-logo img, .footer-brand > a img {
  filter: brightness(0) invert(1);
  max-height: 40px !important;
}
.footer-brand-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  max-width: 36ch;
}
.footer-contact-line {
  font-size: 14px;
  display: block;
  margin-top: 4px;
}
.footer-contact-line a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}
.footer-contact-line a:hover { color: #fff; text-decoration: underline; }

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-heading,
.footer-col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy,
.footer-copyright,
.footer-legal,
.footer-trust,
.footer-license {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

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

/* ============================================================
   MOBILE CTA PILL
   ============================================================ */
.mobile-cta,
.mobile-sticky-cta {
  display: block;
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
}
.mobile-cta > a,
.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: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 200ms;
}
.mobile-cta > a:hover,
.mobile-sticky-cta > a:hover {
  filter: brightness(0.88);
  text-decoration: none;
  color: #fff;
}
.mobile-cta svg,
.mobile-sticky-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (min-width: 900px) {
  .mobile-cta,
  .mobile-sticky-cta { display: none; }
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible { opacity: 1; transform: none; }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.service-card { grid-column: 1 / -1; }
.gallery-feature-img { grid-column: 1 / -1; }
.gallery-side-stats { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.service-block-photo { grid-column: 1 / -1; }
.service-block-body { grid-column: 1 / -1; }
.gallery-card { grid-column: 1 / -1; }
.gallery-card-type { grid-column: 1 / -1; }
.about-story-col { grid-column: 1 / -1; }
.value-card { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
/* validator patch: hero must never crop its headline */
#hero, .hero { overflow: visible !important; }
:where(#hero, .hero) { padding-top: max(var(--header-height, 72px), 72px); }
/* validator patch: keep the hero photo visible, no smothering dark band */
.hero-overlay { background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0.34) 38%, rgba(0,0,0,0.12) 68%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0.30), rgba(0,0,0,0) 58%) !important; }
