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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #30514d;
  --primary-dark:   #213b38;
  --primary-light:  #3f6b65;
  --accent:         #30514d;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --surface-2:      #EAE8E3;
  --ink:            #0C0C0F;
  --ink-mid:        #2c2c30;
  --muted:          #6B6B6B;
  --border:         rgba(12,12,15,0.10);
  --border-strong:  rgba(12,12,15,0.20);
  --shadow-sm:      0 2px 8px -2px rgba(12,12,15,0.12);
  --shadow-md:      0 8px 32px -8px rgba(12,12,15,0.18);
  --shadow-lg:      0 18px 56px -16px rgba(12,12,15,0.22);
  --radius:         4px;
  --radius-pill:    999px;
  --header-height:  72px;
  --section-py:     clamp(88px, 11vh, 144px);
  --max-w:          1280px;
  --wide-w:         1400px;
}

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

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

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

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  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: 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; }

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

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

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { line-height: 1.7; }

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

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.wide-container { max-width: var(--wide-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.section-pad { padding: var(--section-py) 0; }
.full-width { width: 100%; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress, .scroll-progress, .scroll-bar, #scrollProgress, #scrollBar {
  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(12,12,15,0.08);
}

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

.nav-logo {
  flex: 0 0 auto;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo:hover { text-decoration: none; }

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

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms;
}
.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;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); color: #fff; text-decoration: none; }
.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

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

@media (max-width: 900px) {
  .top-nav { padding: 0 16px; gap: 12px; }
  .nav-toggle { display: flex; }
  .nav-pages {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { font-size: 13px; padding: 8px 0; width: 100%; }
  .nav-cta .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 12px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: filter 180ms, transform 180ms, box-shadow 180ms;
  border: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.10); color: #fff; text-decoration: none; border-color: #fff; }

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

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { filter: brightness(1.15); color: #fff; text-decoration: none; }

.btn-cta-light {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-cta-light:hover { background: var(--surface); text-decoration: none; }

.btn-primary-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: filter 150ms, transform 150ms;
  width: 100%;
  justify-content: center;
}
.btn-primary-contact:hover { filter: brightness(0.90); transform: translateY(-1px); }
.btn-primary-contact svg { width: 18px; height: 18px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: filter 150ms, transform 150ms;
  width: 100%;
}
.btn-submit:hover { filter: brightness(0.90); transform: translateY(-1px); }

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

.hero-overlay {
  background: linear-gradient(to bottom, rgba(12,12,15,0.38) 0%, rgba(12,12,15,0.72) 100%);
}

.hero-inner {
  padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 80px) clamp(64px, 8vh, 104px);
  max-width: calc(var(--max-w) + clamp(40px, 10vw, 160px));
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

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

.hero-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

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

.trust-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  white-space: nowrap;
  background: rgba(255,255,255,0.06);
}

@media (max-width: 640px) {
  .hero { min-height: 88vh; }
  .hero-numeral { font-size: clamp(64px, 18vw, 96px); }
  .hero-title { font-size: clamp(40px, 12vw, 72px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

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

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

.trust-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  white-space: nowrap;
}

.trust-pill-accent {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

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

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

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

.marquee-item span {
  color: var(--primary);
  font-size: 10px;
}

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

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

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

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 20px;
}

.section-body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 40px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--surface);
}

.services .section-inner {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.services-header-left { grid-column: 1; }
.services-header-right {
  grid-column: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 12px;
}

.services-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  transition: color 150ms;
  width: 100%;
}

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

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

.service-tab.active::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.services-panels { position: relative; }

.service-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--canvas);
}

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

.service-panel-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}

.service-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(15%);
  transition: filter 400ms;
}

.service-panel-img:hover img { filter: grayscale(0%); }

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

.service-panel-body h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 16px;
  color: var(--ink);
}

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

.panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.panel-body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

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

@media (max-width: 900px) {
  .services-header { grid-template-columns: 1fr; }
  .services-header-right { grid-column: 1; }
  .service-panel.active { grid-template-columns: 1fr; }
  .service-panel-img { aspect-ratio: 16/9; }
  .services-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .service-tab {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 14px;
    font-size: 13px;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--border);
  }
  .service-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
  .service-tab.active::before { display: none; }
}

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

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.gallery-header a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  flex-shrink: 0;
}

.gallery-feature-img {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  margin-bottom: 20px;
}

.gallery-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(10%);
  transition: filter 400ms, transform 400ms;
}

.gallery-feature-img:hover img { filter: grayscale(0%); transform: scale(1.02); }

.gallery-cta-row {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

/* ============================================================
   GALLERY FULL PAGE (gallery.html)
   ============================================================ */
.gallery-full { background: var(--canvas); padding: var(--section-py) 0; }
.gallery-full .section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

.gallery-full-header {
  margin-bottom: 40px;
}

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

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

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

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

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

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

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

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

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms, filter 400ms;
  filter: grayscale(10%);
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.55) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms;
}

.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-badge {
  display: none;
}

.gallery-card-content {
  padding: 16px 20px 20px;
}

.gallery-card-content h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

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

.gallery-card-location {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

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

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

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

.gallery-meta-val {
  display: block;
  font-weight: 500;
  color: var(--ink-mid);
}

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

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

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

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

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

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

.faq-list details > summary,
details.faq > summary {
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 4px 0;
  transition: color 150ms;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 220ms, color 220ms;
}

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

.faq-list details > summary::after,
details.faq > summary::after { display: none; }

.faq-list details[open] > summary,
details.faq[open] > summary { color: var(--primary); }

.faq-list details p,
details.faq p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 72ch;
}

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

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

.team-cta-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-mid);
  line-height: 1.5;
}

.team-cta-text em {
  font-style: italic;
  color: var(--primary);
}

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

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--canvas); }

.contact .section-inner {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.contact-form-section { grid-column: 1; }
.contact-info { grid-column: 2; }

.contact-form-wrap { grid-column: 1; }
.contact-info-card { grid-column: 2; }

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

/* Contact info card (contact.html) */
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

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

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

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

.info-block { display: flex; flex-direction: column; gap: 20px; }

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--canvas);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg { width: 16px; height: 16px; color: var(--primary); }

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

.info-row-value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.info-row-value a { color: var(--ink); font-weight: 500; }
.info-row-value a:hover { color: var(--primary); }

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

/* Contact info (index.html sidebar) */
.contact-info-block { margin-bottom: 24px; }
.contact-info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.contact-info-value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.contact-info-value a { color: var(--ink); font-weight: 500; }
.contact-info-value a:hover { color: var(--primary); }

/* Service area chips (contact.html) */
.service-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* Emergency badge */
.emergency-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(48,81,77,0.08);
  border: 1px solid rgba(48,81,77,0.2);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.emergency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c23b2a;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-section, .contact-info,
  .contact-form-wrap, .contact-info-card { grid-column: 1; }
  .contact-info-card { position: static; }
}

/* ============================================================
   FORMS
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group, .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

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

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

.form-group input,
.form-group textarea,
.form-group select,
.form-field input,
.form-field textarea,
.form-field select {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(48,81,77,0.10);
}

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

.form-submit { grid-column: 1 / -1; }

.form-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-top: 8px;
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(48,81,77,0.08);
  border: 1px solid rgba(48,81,77,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

.form-success.visible { display: flex; }
.form-success svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

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

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
}

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

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

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

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

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

.page-header-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(255,255,255,0.65);
  margin-top: 14px;
  max-width: 48ch;
}

/* ============================================================
   SERVICES DETAIL PAGE (services.html)
   ============================================================ */
.services-intro-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.services-intro-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.services-count-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  white-space: nowrap;
}

.services-intro-band-inner p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--muted);
}

.services-detail {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.service-feature {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  margin-bottom: 0;
}

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

.service-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--surface-2);
}

.service-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(10%);
  transition: filter 400ms;
}

.service-photo-wrap:hover img { filter: grayscale(0%); }

.service-photo-index {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0.85;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 2;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.service-numeral {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 16px;
}

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

.service-body h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 16px;
  color: var(--ink);
}

.service-body > p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-bullets li {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

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

.service-divider {
  max-width: var(--max-w);
  margin: 64px auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

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

/* Alternate layout for even service features */
.service-feature:nth-child(even) .service-feature-grid {
  direction: rtl;
}

.service-feature:nth-child(even) .service-feature-grid > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .service-feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-feature:nth-child(even) .service-feature-grid { direction: ltr; }
  .service-photo-wrap { aspect-ratio: 16/9; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--ink);
  padding: clamp(64px, 9vh, 112px) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.cta-banner-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 24px;
  display: block;
}

div.cta-banner-numeral {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  margin-bottom: 0;
}

.cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-banner-left { grid-column: 1; }
.cta-banner-actions, .cta-form { grid-column: 2; }

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

.cta-banner-headline, .cta-banner-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner-left h2 span { color: var(--primary); }

.cta-banner-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 0;
}

.cta-banner-note {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  margin-top: 12px;
}

.cta-banner-phone {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 8px;
  text-decoration: none;
}
.cta-banner-phone:hover { color: var(--primary); text-decoration: none; }

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

/* CTA banner form */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 2;
}

.cta-form-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.cta-form .form-field label {
  color: rgba(255,255,255,0.55);
}

.cta-form .form-field input,
.cta-form .form-field select,
.cta-form .form-field textarea {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.cta-form .form-field input:focus,
.cta-form .form-field select:focus,
.cta-form .form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(48,81,77,0.25);
}

.cta-form .form-field input::placeholder,
.cta-form .form-field textarea::placeholder { color: rgba(255,255,255,0.35); }

.cta-form select option { background: var(--ink); color: #fff; }

@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner-left, .cta-banner-actions, .cta-form { grid-column: 1; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}

.about-portrait-col {
  grid-column: 1;
  position: relative;
}

.about-portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  max-height: none;
  filter: grayscale(12%);
}

.about-portrait-numeral {
  display: block;
  position: absolute;
  top: -16px;
  left: -16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.85;
}

.about-portrait-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.about-content-col {
  grid-column: 2;
  padding-top: 12px;
}

.about-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}

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

.about-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.about-body p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-mid);
  line-height: 1.7;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

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

.value-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

.value-card-body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait-col, .about-content-col { grid-column: 1; }
  .about-portrait-img { aspect-ratio: 16/9; max-height: 360px; }
  .about-portrait-numeral { top: -12px; left: 0; }
}

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

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

.service-areas-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.areas-body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 32px;
}

.areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  background: var(--canvas);
  transition: background 150ms, color 150ms, border-color 150ms;
}

.area-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

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

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 6vh, 64px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.footer-inner .footer-grid {
  padding: 0 0 clamp(40px, 6vh, 64px);
}

.footer-brand, .footer-brand-col { grid-column: 1; }

.footer-brand p, .footer-brand-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 28ch;
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 12px;
}

.footer-tagline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  margin-top: 6px;
}

.footer-contact-item, .footer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  margin-top: 10px;
  text-decoration: none;
  transition: color 150ms;
}

.footer-contact-item a,
.footer-contact-line a,
a.footer-contact-line,
a.footer-email-link,
a.footer-phone-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  transition: color 150ms;
}

.footer-contact-item a:hover,
.footer-contact-line:hover,
a.footer-contact-line:hover,
a.footer-email-link:hover,
a.footer-phone-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-contact-item svg,
.footer-contact-line svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-col { }

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

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

.footer-col ul li a,
.footer-col-links li a,
.footer-links li a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color 150ms;
}

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

.footer-info-lines { display: flex; flex-direction: column; gap: 10px; }
.footer-info-line {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}

.footer-phone, .footer-phone-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 150ms;
}
.footer-phone-link:hover { color: var(--primary); text-decoration: none; }

.footer-rating {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.footer-rating span { color: var(--primary); font-weight: 600; }

.footer-logo { display: flex; align-items: center; }
.footer-logo a { display: flex; }

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

.footer-inner .footer-bottom {
  padding-left: 0;
  padding-right: 0;
}

.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
}

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

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

.footer-legal a,
.footer-legal-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  text-decoration: none;
  transition: color 150ms;
}

.footer-legal a:hover,
.footer-legal-links a:hover { color: rgba(255,255,255,0.70); text-decoration: none; }

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

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

/* ============================================================
   MOBILE CTA PILL (mandatory)
   ============================================================ */
.mobile-cta,
.mobile-cta-pill,
.mobile-sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 40px -10px rgba(12,12,15,0.45);
  transition: filter 180ms, transform 180ms;
  white-space: nowrap;
}

.mobile-cta a,
.mobile-cta-pill,
.mobile-sticky-cta {
  color: #fff;
  text-decoration: none;
}

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

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

/* Show on mobile, hide on desktop */
@media (min-width: 900px) {
  .mobile-cta,
  .mobile-cta-pill,
  .mobile-sticky-cta { display: none; }
}

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

/* ============================================================
   STAT COUNTER
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 80px 0;
  text-align: center;
}

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

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

/* ============================================================
   PROCESS STRIP
   ============================================================ */
.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-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  display: block;
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

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

.review-quote {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  margin: 14px 0;
  color: var(--ink);
}

.review-attribution {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

/* ============================================================
   TABLE (defensive rules)
   ============================================================ */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: #fff;
}

.services-table tbody td {
  background: var(--canvas);
  color: var(--ink);
}

/* ============================================================
   MISC DEFENSIVE / UTILITY
   ============================================================ */

/* No mirror transforms */
.flip { order: -1; }

/* Readable small print */
small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scroll progress bars */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  width: 0;
  transition: width 80ms linear;
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.form-group { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.service-photo-wrap { grid-column: 1 / -1; }
.service-body { 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; }
