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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #602E1A;
  --primary-dark:   #4a2213;
  --accent:         #B1CAD7;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --ink:            #0C0C0F;
  --muted:          #6B6B6B;
  --border:         rgba(12,12,15,0.12);
  --border-strong:  rgba(12,12,15,0.22);
  --shadow-sm:      0 2px 8px rgba(12,12,15,0.06);
  --shadow-md:      0 8px 32px rgba(12,12,15,0.10);
  --shadow-lg:      0 18px 56px rgba(12,12,15,0.14);
  --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);
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

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

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

/* Anchors inside headings */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

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; }
address { font-style: normal; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

p { line-height: 1.68; }

/* ============================================================
   CONTAINERS
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.wide-container { max-width: var(--wide-w); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: var(--section-py) clamp(20px, 5vw, 48px); }

/* ============================================================
   UTILITY / DISPLAY TYPE
   ============================================================ */
.section-numeral,
.section-big-num,
.hero-numeral,
.card-num,
.story-index-num,
.service-numeral,
.value-card-num,
.info-card-numeral,
.contact-section-numeral,
.page-header-numeral,
.page-header-num,
.numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  display: block;
}

.section-label,
.section-eyebrow,
.story-eyebrow,
.service-eyebrow,
p.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.section-title { font-family: 'Space Grotesk', sans-serif; }

/* ============================================================
   LABELS / CHIPS
   ============================================================ */
.trust-pill,
.trust-chip,
.about-chip,
.service-area-chip,
.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
  display: inline-block;
}

.about-chip, .service-area-chip {
  border-color: var(--border-strong);
  font-size: 10px;
  padding: 5px 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, filter 180ms;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(12,12,15,0.14); text-decoration: none; }

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

.btn-white {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-white:hover { color: var(--primary); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }

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

.btn-submit, .cform-submit {
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: filter 180ms;
}
.btn-submit:hover, .cform-submit:hover { filter: brightness(0.9); }

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

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

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

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.nav-pages li { list-style: none; }
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  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-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 180ms;
}
.nav-cta:hover { filter: brightness(0.9); color: #fff; text-decoration: none; }
.nav-cta svg, .nav-cta-ico { width: 16px; height: 16px; flex-shrink: 0; }
.nav-cta-txt { /* visible desktop */ }

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

@media (max-width: 900px) {
  .nav-pages {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: 24px clamp(20px, 5vw, 48px);
    gap: 8px;
    border-bottom: 1px solid rgba(12,12,15,0.08);
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { font-size: 18px; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .nav-cta-txt { display: none; }
  .nav-cta { padding: 10px 12px; border-radius: var(--radius-pill); }
}

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

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

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

.hero-inner {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-bottom: clamp(64px, 9vw, 112px);
}

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

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

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

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

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

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

.hero-trust-chips .trust-chip {
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.90);
  font-size: 10px;
  padding: 5px 13px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
}
.trust-pill, .trust-chip {
  flex-shrink: 0;
}

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

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

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

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

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

.services-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.services-hd > div { flex: 1; }
.services-hd > a {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  flex-shrink: 0;
  align-self: flex-end;
}

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

.svc-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
  text-decoration: none;
  color: var(--ink);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); }
.svc-card > img { width: 100%; height: 240px; object-fit: cover; max-height: 240px; display: block; }

.svc-lg { grid-column: span 7; }
.svc-md { grid-column: span 5; }
.svc-sm { grid-column: span 3; }

.svc-body {
  padding: 20px 22px 24px;
  flex: 1;
  position: relative;
}

.card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 8px;
  opacity: 0.18;
  position: absolute;
  top: 12px;
  right: 14px;
}

.svc-body h3 {
  font-size: clamp(16px, 1.6vw, 20px);
  margin-bottom: 6px;
  padding-right: 60px;
}

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

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

@media (max-width: 1024px) {
  .svc-lg { grid-column: span 12; }
  .svc-md { grid-column: span 12; }
  .svc-sm { grid-column: span 6; }
}

@media (max-width: 640px) {
  .svc-sm { grid-column: span 12; }
  .svc-md { grid-column: span 12; }
  .svc-card > img { height: 200px; max-height: 200px; }
}

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

.gallery-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.gallery-hd > a {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  flex-shrink: 0;
  align-self: flex-end;
}

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

.gtile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gtile img { width: 100%; height: 100%; object-fit: cover; max-height: none; transition: transform 400ms ease-out; }
.gtile:hover img { transform: scale(1.04); }
.gtile-tall { aspect-ratio: 3/4; grid-row: span 2; }

.gallery-cta {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gtile-tall { aspect-ratio: 4/3; grid-row: span 1; }
}

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

.faq-list { margin-top: 48px; border-top: 1px solid var(--border); }

details.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
details.faq-item > summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 19px);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  color: var(--ink);
  gap: 16px;
  transition: color 150ms;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary:hover { color: var(--primary); }

.faq-chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 200ms, color 150ms;
}
details.faq-item[open] .faq-chev {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-ans {
  padding: 0 0 22px 0;
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 72ch;
}

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta-section {
  background: var(--primary);
  padding: clamp(64px, 8vh, 96px) clamp(20px, 5vw, 48px);
}
.team-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.team-cta-hed {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 32px;
}
.team-cta-hed em { font-style: italic; color: var(--accent); }
.team-cta-inner > a { margin: 0 auto; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}

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

.contact-section-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.contact-section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 48px;
  max-width: 16ch;
}

/* Form styles */
.cform-group, .form-group {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row .full { grid-column: span 2; }
.full { grid-column: span 2; }

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

.cform-input, .form-input,
.cform-group input, .cform-group textarea,
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  transition: border-color 150ms, box-shadow 150ms;
  outline: none;
}
.cform-input:focus, .form-input:focus,
.cform-group input:focus, .cform-group textarea:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(96,46,26,0.10);
}
.cform-group input:focus + .cform-label,
.form-group input:focus + label { color: var(--primary); }

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

/* Contact info column */
.cinfo-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cinfo-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.cinfo-val, .cinfo-val-sm, .cinfo-rating {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.cinfo-val-sm { font-size: 14px; font-weight: 400; font-family: 'IBM Plex Sans', sans-serif; }
.cinfo-block + .cinfo-block { margin-top: 20px; }

/* contact.html info card */
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.info-card-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  opacity: 0.18;
  position: absolute;
  top: 16px;
  right: 20px;
}
.info-card-heading { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 28px; }
.info-block { margin-bottom: 0; }
.info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.info-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.service-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.contact-form { display: flex; flex-direction: column; }
.contact-form form { display: flex; flex-direction: column; gap: 0; }

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

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}

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

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

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

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

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

.page-header-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-top: 16px;
  max-width: 52ch;
  line-height: 1.55;
}

.page-header h1 { color: #fff; max-width: 18ch; }

/* ============================================================
   SERVICES DETAIL (services.html)
   ============================================================ */
.services-detail {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

.services-section-header {
  max-width: var(--max-w);
  margin: 0 auto clamp(56px, 7vw, 88px);
  padding: 0 clamp(20px, 5vw, 48px);
}

.service-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 0 clamp(20px, 5vw, 48px);
  align-items: center;
  gap: 64px;
}
.service-feature-block.reverse .service-photo-col { order: 2; }
.service-feature-block.reverse .service-copy-col { order: 1; }

.service-photo-col {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.service-photo-col > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  max-height: 440px;
  border-radius: var(--radius);
  display: block;
}

.service-numeral {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.service-copy-col h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.service-copy-col p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
  margin-bottom: 20px;
}
.service-copy-col > a { display: inline-flex; }

.service-features-list {
  margin: 16px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-features-list li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.service-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--primary);
}

@media (max-width: 900px) {
  .service-feature-block { grid-template-columns: 1fr; gap: 32px; }
  .service-feature-block.reverse .service-photo-col,
  .service-feature-block.reverse .service-copy-col { order: unset; }
  .service-photo-col > img { height: 280px; max-height: 280px; }
}

/* ============================================================
   CTA BANNER (services.html, about.html)
   ============================================================ */
.cta-banner {
  background: var(--ink);
  padding: var(--section-py) clamp(20px, 5vw, 48px);
  position: relative;
  overflow: hidden;
}
.cta-banner > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
}
.cta-banner-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-banner-left { grid-column: 1; }
.cta-banner-right { grid-column: 2; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }

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

.cta-banner-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 18ch;
}

.cta-banner-actions { display: flex; flex-direction: column; gap: 12px; }

/* gallery.html cta variant */
.cta-banner-text { }
.cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.cta-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
  max-width: 18ch;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--accent);
  margin-bottom: 16px;
  text-decoration: none;
}
.cta-phone svg { width: 22px; height: 22px; }
.cta-phone:hover { color: #fff; text-decoration: none; }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.55); }

/* gallery.html cta form */
.cta-form {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
}
.cta-form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}
.cta-form .form-group input,
.cta-form .form-group textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.cta-form .form-group input::placeholder,
.cta-form .form-group textarea::placeholder { color: rgba(255,255,255,0.45); }
.cta-form label { color: rgba(255,255,255,0.65); }

/* gallery.html cta layout */
#contact.cta-banner .cta-banner-inner {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-banner-right { align-items: flex-start; }
  #contact.cta-banner .cta-banner-inner { grid-template-columns: 1fr; }
}

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

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.gallery-header-text h2 { font-size: clamp(28px, 3.5vw, 42px); }
.gallery-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.gallery-filters .filter-pill {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background 150ms, color 150ms;
}
.gallery-filters .filter-pill.active,
.gallery-filters .filter-pill:hover {
  background: var(--ink);
  color: #fff;
}

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

.gallery-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); }

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

.gallery-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.gallery-card-feature .gallery-card-media { aspect-ratio: 16/9; }
.gallery-card-media > img { width: 100%; height: 100%; object-fit: cover; max-height: none; transition: transform 400ms ease-out; }
.gallery-card:hover .gallery-card-media > img { transform: scale(1.04); }

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.gallery-card-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  background: rgba(12,12,15,0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.gallery-card-body {
  padding: 18px 20px 20px;
}
.gallery-card-body h3 { font-size: 16px; margin-bottom: 8px; }
.gallery-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.gallery-card-location svg { width: 12px; height: 12px; flex-shrink: 0; }
.gallery-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.gallery-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.gallery-meta-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.gallery-meta-label { display: block; }
.gallery-meta-val { color: var(--ink); font-weight: 600; }

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

/* ============================================================
   ABOUT STORY (about.html)
   ============================================================ */
.about-story { padding: var(--section-py) clamp(20px, 5vw, 48px); background: var(--canvas); }

.about-story-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}

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

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

.about-story-content { display: flex; flex-direction: column; gap: 20px; }

.story-index-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  opacity: 0.18;
  display: block;
  margin-bottom: -24px;
}

.story-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.story-body p { font-size: 16px; line-height: 1.70; color: var(--muted); }
.story-body p + p { margin-top: 16px; }

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

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-portrait > img { height: 340px; max-height: 340px; }
}

/* ============================================================
   VALUES (about.html)
   ============================================================ */
.values { background: var(--surface); padding: var(--section-py) clamp(20px, 5vw, 48px); }

.values-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
}

.section-big-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  display: block;
  opacity: 0.18;
  flex-shrink: 0;
}

.section-header-text { flex: 1; }
.section-header-text h2 { font-size: clamp(28px, 3.5vw, 44px); }

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

.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  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(48px, 5vw, 72px);
  line-height: 1.0;
  color: var(--primary);
  letter-spacing: -0.04em;
  opacity: 0.18;
  position: absolute;
  top: 8px;
  right: 12px;
}

.value-card h3 { font-size: 18px; margin-bottom: 10px; position: relative; z-index: 1; }
.value-card-body { font-size: 14px; color: var(--muted); line-height: 1.60; position: relative; z-index: 1; }

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

/* ============================================================
   TIMELINE (about.html)
   ============================================================ */
.timeline-section { background: var(--canvas); padding: var(--section-py) clamp(20px, 5vw, 48px); }
.timeline-inner { max-width: var(--max-w); margin: 0 auto; }

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

.timeline-step { position: relative; padding-top: 48px; }

.timeline-step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-step-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-step-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-step h3 { font-size: 18px; margin-bottom: 10px; }
.timeline-step-body { font-size: 14px; color: var(--muted); line-height: 1.60; }

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 8vh, 96px) clamp(20px, 5vw, 48px) 0;
}

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

.footer-brand { }
.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 12px 0 6px;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.footer-biz {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 12px 0 4px;
}
.footer-tag { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer-cl {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 4px;
}
.footer-cl a { color: rgba(255,255,255,0.72); }
.footer-cl a:hover { color: #fff; }

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

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

.footer-socials { display: flex; gap: 14px; margin-top: 20px; }
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.70);
  transition: background 150ms, color 150ms;
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:hover { background: var(--primary); color: #fff; text-decoration: none; }

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

.footer-phone-link { color: rgba(255,255,255,0.90); font-weight: 600; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy, .footer-legal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-rating {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

address a { color: rgba(255,255,255,0.70); text-decoration: none; }
address a:hover { color: #fff; }

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

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill,
.mobile-cta-pill,
.mobile-cta,
.mob-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 180ms, transform 180ms;
}
.mobile-call-pill:hover,
.mobile-cta-pill:hover,
.mobile-cta:hover,
.mob-cta:hover { filter: brightness(0.9); transform: translateY(-2px); color: #fff; text-decoration: none; }

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

.mobile-call-pill > a,
.mobile-cta > a,
.mob-cta > a {
  display: inherit;
  align-items: inherit;
  gap: inherit;
  color: inherit;
  text-decoration: none;
}

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

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

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

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.process-step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: 0.12em; }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-card { padding: 28px; border-radius: 12px; background: var(--surface); }
.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* ============================================================
   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.93);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms 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 > * {
  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);
}
.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; }

/* ============================================================
   MISC / UTILITY
   ============================================================ */
.bleed { width: 100%; max-width: none; }
.info-divider { height: 1px; background: var(--border); margin: 16px 0; }

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

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 640px) {
  .hero { min-height: 80vh; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .section-header-row { flex-direction: column; gap: 0; }
  .cta-banner-left, .cta-banner-right { grid-column: span 1; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .service-feature-block { gap: 24px; }
  .services-bento { gap: 12px; }
}

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


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.gtile { grid-column: 1 / -1; }
.section-eyebrow { grid-column: 1 / -1; }
.cta-banner-phone { grid-column: 1 / -1; }
.cta-banner-actions { grid-column: 1 / -1; }
.footer-col { 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; }
