@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:        #7d7a46;
  --primary-dark:   #635f35;
  --primary-light:  #a09d6a;
  --accent:         #5C5C5C;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --surface-2:      #ECEAE5;
  --ink:            #0C0C0F;
  --ink-mid:        #2a2a2e;
  --muted:          #6B6B6B;
  --border:         rgba(12,12,15,0.10);
  --border-strong:  rgba(12,12,15,0.18);
  --header-height:  72px;
  --radius:         4px;
  --radius-pill:    999px;
  --section-py:     clamp(88px, 11vh, 144px);
  --container:      1280px;
  --wide:           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-font-smoothing: antialiased;
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, 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); line-height: 1.1; }
h4 { font-size: 16px; letter-spacing: -0.01em; }

p { line-height: 1.7; color: var(--ink-mid); }

a { color: inherit; 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; }

/* Label / mono treatment */
.label,
.section-label,
.section-eyebrow,
.page-header-eyebrow,
.page-eyebrow,
.hero-eyebrow,
.sf-eyebrow,
.cta-banner-eyebrow,
.card-tag,
.category-label,
.footer-col-label,
.footer-col-title {
  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);
  line-height: 1.2;
  display: block;
}

/* Index numeral — the signature identity element */
.section-numeral,
.hero-numeral,
.service-panel-num,
.sf-numeral,
.card-numeral,
.category-numeral,
.review-card-num,
.value-card-num,
.cta-banner-numeral,
.gallery-section-numeral,
.page-header-numeral,
.about-story-numeral,
.timeline-dot {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  display: block;
  user-select: none;
}

/* Smaller numerals in cards */
.card-numeral,
.category-numeral,
.review-card-num,
.value-card-num {
  font-size: clamp(40px, 5vw, 72px);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.wide-container {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.section-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: var(--section-py);
}

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

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

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

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

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.nav-pages ul, .nav-pages.nav-pages {
  display: flex;
  gap: 28px;
  align-items: center;
}
ul#navLinks {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 0;
  margin: 0;
}
ul#navLinks li { list-style: none; }
ul#navLinks a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
ul#navLinks a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
ul#navLinks a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

.nav-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.nav-cta a {
  background: var(--primary);
  color: var(--canvas);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta a:hover {
  filter: brightness(0.88);
  text-decoration: none;
  color: var(--canvas);
}

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; margin-left: auto; }
  ul#navLinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 850;
  }
  ul#navLinks.open { display: flex; }
  ul#navLinks li { width: 100%; }
  ul#navLinks a { display: block; padding: 10px 0; font-size: 16px; }
  .nav-cta a span { display: none; }
}

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

.btn-primary, .btn-cta {
  background: var(--primary);
  color: var(--canvas);
}
.btn-primary:hover, .btn-cta:hover { filter: brightness(0.88); color: var(--canvas); }

.btn-dark {
  background: var(--ink);
  color: var(--canvas);
}
.btn-dark:hover { filter: brightness(0.80); color: var(--canvas); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--canvas); }

.btn-outline-white {
  background: transparent;
  color: var(--canvas);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); color: var(--canvas); }

.btn-submit {
  background: var(--primary);
  color: var(--canvas);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: filter 180ms;
}
.btn-submit:hover { filter: brightness(0.88); }
.btn-submit svg { width: 18px; height: 18px; }

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

.strip-chip-star {
  border-color: var(--primary);
  color: var(--primary);
}

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

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
  padding: 16px 0;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

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

.hero > img:first-of-type,
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  filter: grayscale(15%);
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(12,12,15,0.30) 0%,
    rgba(12,12,15,0.55) 60%,
    rgba(12,12,15,0.75) 100%
  );
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(64px, 10vh, 120px) clamp(72px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-numeral {
  font-size: clamp(80px, 10vw, 140px);
  color: var(--primary);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

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

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

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  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.35);
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(4px);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.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(--canvas);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 14px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-mid);
  flex-shrink: 0;
}
.marquee-dot {
  color: var(--primary);
  font-size: 18px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header,
.services-header,
.gallery-header,
.reviews-header,
.faq-header,
.reviews-strip-header,
.contact-section-header {
  margin-bottom: clamp(40px, 6vh, 72px);
}
.section-header h2,
.services-header h2,
.gallery-header h2,
.reviews-header h2,
.faq-header h2,
.reviews-strip-header h2,
.section-headline {
  font-size: clamp(36px, 5vw, 68px);
}
.section-numeral + h2,
.section-numeral + .section-label,
.section-numeral + .section-headline {
  margin-top: 8px;
}

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

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--canvas);
  color: var(--ink-mid);
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.service-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.service-tab.active {
  background: var(--primary);
  color: var(--canvas);
  border-color: var(--primary);
}

.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;
  overflow: hidden;
  min-height: 420px;
}
.service-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  display: block;
}
.service-panel-num {
  position: absolute;
  top: 16px; left: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--canvas);
  letter-spacing: -0.04em;
  line-height: 0.9;
  opacity: 0.55;
  user-select: none;
}

.service-panel-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.service-panel-body h3 {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 4px;
}
.service-panel-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
}
.service-panel-body a.btn {
  margin-top: 8px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .service-panel { grid-template-columns: 1fr; }
  .service-panel-img { min-height: 280px; }
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  background: var(--surface);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease;
  filter: grayscale(8%);
}
.gallery-tile:hover img { transform: scale(1.04); filter: grayscale(0%); }

.gallery-tile-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-tile-tall img { height: 100%; }

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

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.gallery-header h2 { font-size: clamp(32px, 4.5vw, 64px); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--canvas); }

.reviews-rating-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.reviews-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.reviews-stars svg,
.review-stars svg,
.editorial-stars svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--primary);
  fill: var(--primary);
}
.reviews-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

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

.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}

.review-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4vw, 64px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
  opacity: 0.18;
  position: absolute;
  top: 12px; right: 16px;
  user-select: none;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin-bottom: 14px;
}
.review-attribution {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--canvas); }
.faq-section { background: var(--canvas); }
.faq-section .faq-header,
.faq .faq-header { margin-bottom: 40px; }

.faq-list {
  border-top: 1px solid var(--border);
  max-width: 800px;
}

.faq-list details,
details.faq {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-list details summary,
details.faq > summary {
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 16px;
}
.faq-list details summary::-webkit-details-marker,
details.faq > summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  transition: transform 220ms ease, color 220ms;
  color: var(--muted);
}
details[open] .faq-chevron {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-list details p,
.faq-body {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 700px;
}

/* ============================================================
   TEAM CTA BAND
   ============================================================ */
.team-cta {
  background: var(--ink);
  padding: clamp(48px, 7vh, 88px) 0;
}
.team-cta-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.team-cta-text h2 {
  font-size: clamp(28px, 4vw, 56px);
  color: var(--canvas);
}
.team-cta-text p {
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}
.team-cta a.btn { flex-shrink: 0; }

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

.contact-section-header {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-top: var(--section-py);
  margin-bottom: 48px;
}

.contact-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-bottom: var(--section-py);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  margin-bottom: 8px;
}
.form-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-info-col {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .label {
  margin-bottom: 6px;
  color: var(--primary);
}
.contact-info-item a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.contact-info-item a:hover { color: var(--primary); }
.contact-info-item p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
}
.info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}
.info-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.5;
}
.big-phone {
  font-size: clamp(22px, 3vw, 32px);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.big-phone a { color: var(--primary); }
.big-phone a:hover { text-decoration: none; filter: brightness(0.85); }

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

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

.free-estimate-banner {
  margin-top: 28px;
  background: var(--primary);
  color: var(--canvas);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}
.free-estimate-banner strong { font-weight: 700; }

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

/* ============================================================
   FORMS
   ============================================================ */
.contact-form-group,
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color 150ms;
  width: 100%;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(125,122,70,0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

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

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link, .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  color: var(--ink-mid);
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}
.social-link svg, .social-links a svg { width: 16px !important; height: 16px !important; }
.social-link:hover, .social-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* ============================================================
   REVIEWS STRIP (contact page)
   ============================================================ */
.reviews-strip {
  background: var(--surface);
  padding: var(--section-py) 0;
}
.reviews-strip-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.reviews-strip-header { margin-bottom: 48px; }

/* ============================================================
   PAGE HEADER (sub pages)
   ============================================================ */
.page-header {
  min-height: clamp(260px, 38vh, 480px);
  max-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.page-header > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  filter: grayscale(10%);
}
.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(12,12,15,0.25) 0%,
    rgba(12,12,15,0.65) 100%
  );
}
.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 48px) clamp(40px, 6vh, 72px);
}
.page-header-inner h1,
.page-header-title {
  font-size: clamp(40px, 6vw, 88px);
  color: var(--canvas);
  max-width: 20ch;
}
.page-header-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.page-header-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 8vw, 120px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.85;
  opacity: 0.7;
  margin-bottom: 12px;
  display: block;
}
.page-header-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  margin-top: 12px;
}
.page-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

/* ============================================================
   SERVICES FEATURES (services.html)
   ============================================================ */
.services-features {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: var(--section-py);
}

.service-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: clamp(48px, 7vh, 80px);
}
.service-feature.reverse {
  direction: ltr;
}
.service-feature.reverse .sf-photo { order: 2; }
.service-feature.reverse .sf-body  { order: 1; }

.sf-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.sf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease;
}
.service-feature:hover .sf-photo img { transform: scale(1.03); }

.sf-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 8vw, 108px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.85;
  display: block;
  margin-bottom: 8px;
}
.sf-eyebrow {
  margin-bottom: 12px;
}
.sf-body h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  margin-bottom: 16px;
}
.sf-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 12px;
}
.sf-bullets {
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sf-bullets li {
  font-size: 14px;
  color: var(--ink-mid);
  padding-left: 16px;
  position: relative;
}
.sf-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

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

@media (max-width: 900px) {
  .service-feature { grid-template-columns: 1fr; gap: 32px; }
  .service-feature.reverse .sf-photo,
  .service-feature.reverse .sf-body { order: unset; }
  .sf-photo { aspect-ratio: 16/9; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--ink);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner-numeral {
  position: absolute;
  top: -20px; right: 40px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(120px, 18vw, 240px);
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  line-height: 0.9;
  user-select: none;
  pointer-events: none;
}
.cta-banner-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-banner-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  margin-bottom: 12px;
  display: block;
}
.cta-banner-headline, .cta-banner h2 {
  font-size: clamp(32px, 4.5vw, 68px);
  color: var(--canvas);
  margin-bottom: 16px;
}
.cta-banner-sub, .cta-banner > .cta-banner-inner > p {
  color: rgba(255,255,255,0.62);
  font-size: 16px;
  margin-bottom: 32px;
}
.cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-banner-left {
  display: flex;
  flex-direction: column;
}
.cta-banner-phone {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--canvas);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 12px;
}
.cta-banner-phone svg { width: 28px !important; height: 28px !important; color: var(--primary); }
.cta-banner-phone:hover { color: var(--primary-light); text-decoration: none; }

.cta-banner-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cta-stat-block {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}
.cta-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  color: var(--canvas);
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.cta-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  margin-top: 4px;
}
.cta-stat-quote {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  margin-top: 8px;
  font-style: italic;
}
.cta-stat-attr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

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

/* ============================================================
   GALLERY PAGE — PROJECT GRID
   ============================================================ */
.gallery-section {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: var(--section-py);
}

.gallery-section-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
  display: block;
}
.gallery-section-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}

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

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

/* Card types */
.project-card,
.card-featured,
.card-standard,
.card-medium,
.card-wide,
.card-tall,
.card-full {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.project-card:hover,
.card-featured:hover,
.card-standard:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}

.card-featured { grid-column: span 2; grid-row: span 2; }
.card-tall     { grid-row: span 2; }
.card-wide     { grid-column: span 2; }
.card-full     { grid-column: span 3; }

.card-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease;
}
.project-card:hover .card-photo-wrap img { transform: scale(1.04); }
.card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.45) 0%, transparent 60%);
}

.card-body {
  padding: 20px 24px 24px;
}
.card-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 60px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
  opacity: 0.25;
  display: block;
  margin-bottom: 8px;
}
.card-title { font-size: 18px; margin-bottom: 8px; }
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  margin-bottom: 8px;
}
.card-tag svg { width: 12px !important; height: 12px !important; }
.card-desc { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-stat { display: flex; flex-direction: column; }
.card-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.card-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}

/* Stat block card */
.card-stat-block {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.stat-block-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.stat-block-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 500;
}
.stat-block-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Editorial card */
.card-editorial {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.editorial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}
.editorial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mid);
  font-style: italic;
}
.editorial-attr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Category card */
.card-category {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-numeral {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
  display: block;
  opacity: 0.22;
}
.category-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 2px;
}

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  background: var(--canvas);
  padding: var(--section-py) 0;
}
.about-story-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-story-photo-col {
  position: relative;
}
.about-story-photo-col img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 680px;
  object-fit: cover;
}
.about-story-numeral {
  position: absolute;
  bottom: -20px; right: -20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(80px, 11vw, 160px);
  color: var(--primary);
  letter-spacing: -0.05em;
  line-height: 0.85;
  opacity: 0.12;
  user-select: none;
  pointer-events: none;
}

.about-story-eyebrow { margin-bottom: 16px; }
.about-story-headline {
  font-size: clamp(36px, 5vw, 68px);
  margin-bottom: 24px;
}
.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.about-story-body p { font-size: 15px; color: var(--ink-mid); line-height: 1.75; }

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-numeral { right: 0; bottom: -10px; }
}

/* VALUES */
.values-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}
.values-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.14);
}
.value-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
  opacity: 0.22;
  display: block;
}
.value-card h3 { font-size: 18px; margin-bottom: 4px; }
.value-card-body { font-size: 14px; color: var(--ink-mid); line-height: 1.65; }

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

/* TIMELINE */
.timeline-section {
  background: var(--canvas);
  padding: var(--section-py) 0;
}
.timeline-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.timeline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.timeline-row::before {
  content: '';
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.timeline-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-step h3 { font-size: 18px; margin-bottom: 4px; }
.timeline-body { font-size: 14px; color: var(--ink-mid); line-height: 1.65; }

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

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

.footer-grid,
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { opacity: 0.9; }
.footer-brand p,
.footer-brand-body,
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 36ch;
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary-light);
}
.footer-brand a:hover { color: var(--canvas); text-decoration: none; }

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

.footer-col ul,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-col ul li a,
.footer-links li a,
.footer-contact-link,
.footer-phone-link,
.footer-info-link {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col ul li a:hover,
.footer-links li a:hover,
.footer-contact-link:hover,
.footer-phone-link:hover,
.footer-info-link:hover {
  color: var(--canvas);
  text-decoration: none;
}

.footer-col ul li span,
.footer-info-line {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.6;
}

.footer-phone {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--canvas);
  letter-spacing: -0.01em;
}

.footer-logo img { opacity: 0.85; }

address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
address a { color: rgba(255,255,255,0.62); }
address a:hover { color: var(--canvas); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 100%;
  padding: 20px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy,
.footer-bottom p,
.footer-bottom span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* ============================================================
   MOBILE CTA PILL
   ============================================================ */
.mobile-cta,
.mobile-call,
.mobile-sticky-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  background: var(--primary);
  color: var(--canvas);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 180ms, transform 180ms;
}
.mobile-cta:hover,
.mobile-call:hover,
.mobile-sticky-cta:hover {
  filter: brightness(0.88);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--canvas);
}
.mobile-cta svg,
.mobile-call svg,
.mobile-sticky-cta svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--canvas);
  flex-shrink: 0;
}

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

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

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

/* ============================================================
   SERVICE CARDS (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);
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }
.scale-in   { transform: scale(0.94); }

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > *,
.stagger > *.visible {
  opacity: 1;
  transform: none;
}
.stagger > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger > *:nth-child(7)  { transition-delay: 0.47s; }
.stagger > *:nth-child(8)  { transition-delay: 0.54s; }
.stagger > *:nth-child(9)  { transition-delay: 0.61s; }
.stagger > *:nth-child(10) { transition-delay: 0.68s; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.section-heading { font-size: clamp(36px, 5vw, 68px); }
.section-headline { font-size: clamp(36px, 5vw, 68px); }

/* Decorative grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Headings with anchor links inside */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

/* Prevent SVG blowups in flex/grid */
svg { flex-shrink: 0; }

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

/* Timeline dot overrides the large numeral base */
.timeline-dot {
  font-size: 15px;
  line-height: 1;
  width: 40px; height: 40px;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid,
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 900px) {
  .footer-grid,
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile-tall { grid-row: span 1; aspect-ratio: 4/3; }
  .hero { min-height: 85vh; }
}
@media (max-width: 640px) {
  .footer-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .trust-strip-inner { gap: 8px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .services-tabs { gap: 6px; }
  .service-tab { font-size: 10px; padding: 8px 12px; }
}


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