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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #D4521A;
  --primary-dark:   #b3420f;
  --primary-light:  #f2e0d7;
  --accent:         #3D3D3D;
  --ink:            #0C0C0F;
  --ink-mid:        #2a2a2e;
  --muted:          #6B6B6B;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --surface-2:      #ECEAE5;
  --border:         rgba(12,12,15,0.10);
  --border-strong:  rgba(12,12,15,0.20);
  --shadow-sm:      0 2px 8px rgba(12,12,15,0.07);
  --shadow-md:      0 8px 28px rgba(12,12,15,0.10);
  --shadow-lg:      0 18px 48px rgba(12,12,15,0.14);
  --radius:         4px;
  --radius-pill:    999px;
  --header-height:  72px;

  --font-display:   'Space Grotesk', sans-serif;
  --font-body:      'IBM Plex Sans', sans-serif;
  --font-mono:      'IBM Plex Mono', monospace;
}

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

/* ============================================================
   GLOBAL SMOOTH SCROLL + ANCHOR OFFSET
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  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: 180px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay):not(.hero-ribbon):not(.hero-numeral-row) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.page-header, [class*="page-header"] {
  position: relative; overflow: hidden; max-height: 64vh;
}
.page-header > img, [class*="page-header"] > img,
.page-header-bg, .page-header img:first-of-type {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 0;
}
section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}
section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

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

/* Headings inside anchors inherit heading style */
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: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 7vw, 120px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 36px); }
h4 { font-size: clamp(17px, 1.8vw, 24px); font-weight: 600; }

p { line-height: 1.7; }

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

/* Mono label utility */
.mono-label, .section-eyebrow, .section-label, .page-header-eyebrow,
.feature-eyebrow, .credential-eyebrow, .info-label, .footer-col-title,
.footer-col-heading, .section-num, .contact-eyebrow, .map-eyebrow,
.cta-banner-eyebrow, .cta-left-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.wide-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.section-pad {
  padding-block: clamp(88px, 11vh, 144px);
}
.section-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

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

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

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

.nav-logo {
  flex: 0 0 auto;
  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;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms;
  font-family: var(--font-body);
}
.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: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); color: #fff; text-decoration: none; }
.nav-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-cta-text { }

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

@media (max-width: 900px) {
  .nav-pages {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 899;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .nav-pages.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(12,12,15,0.50) 0%, rgba(12,12,15,0.70) 100%);
}

.hero-ribbon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  z-index: 3;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px) clamp(64px, 8vw, 112px);
  max-width: 1280px;
  width: 100%;
}

.hero-numeral-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.hero-numeral {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  leading-trim: both;
  display: block;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.hero-title, .hero > .hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.5vw, 128px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  position: relative;
  z-index: 2;
}

.trust-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.40);
  color: rgba(255,255,255,0.90);
  background: rgba(255,255,255,0.08);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-chip svg { width: 14px; height: 14px; }

/* Non-hero trust chips (trust-strip) */
.trust-strip .trust-chip,
.trust-strip-inner .trust-chip,
.chip-row .trust-chip {
  border-color: var(--border-strong);
  color: var(--ink);
  background: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: filter 150ms, transform 120ms, background 150ms, color 150ms, border-color 150ms;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

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

.btn-ghost, .btn-outline, .btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover, .btn-outline:hover, .btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.10);
  filter: none;
}

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

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  text-decoration: none;
  transition: border-color 150ms, background 150ms;
}
.btn-phone:hover { border-color: #fff; background: rgba(255,255,255,0.10); color: #fff; text-decoration: none; }
.btn-phone svg { width: 18px; height: 18px; }

.btn-submit, .form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 150ms, transform 120ms;
}
.btn-submit:hover, .form-submit-btn:hover { filter: brightness(0.92); transform: translateY(-1px); }
.btn-submit svg, .form-submit-btn svg { width: 18px; height: 18px; }

/* ============================================================
   CHIPS
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.chip-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  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: 0;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.2;
  color: var(--ink);
  padding-right: 48px;
}

.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%); }
}

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

/* ============================================================
   SECTION NUMERALS (the brand supergraphic system)
   ============================================================ */
.section-num, .section-numeral, .page-header-numeral, .page-header-num,
.service-panel-num, .value-card-num, .crew-stat-num,
.cta-banner-numeral, .info-card-num, .map-num, .contact-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
}

.section-num, .section-numeral {
  font-size: clamp(72px, 9vw, 120px);
}

.project-card-numeral {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.feature-service-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

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

.services-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.services-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.services-head-left h2 {
  font-size: clamp(36px, 5vw, 64px);
}
.services-head-right {
  max-width: 320px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  flex-shrink: 0;
}

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

.service-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.service-tab:hover { background: var(--surface-2); border-color: var(--ink); }
.service-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.services-panels {
  margin-top: 32px;
}

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

.service-panel-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.service-panel-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.service-panel-body {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-panel-body h3 {
  font-size: clamp(24px, 3vw, 40px);
  margin-top: 8px;
}
.service-panel-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.service-panel-body a.btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .services-section-head { flex-direction: column; gap: 20px; }
  .services-head-right { max-width: 100%; }
  .service-panel { grid-template-columns: 1fr; min-height: auto; }
  .service-panel-img { min-height: 220px; aspect-ratio: 16/9; }
}

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

.reviews-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-direction: column;
  margin-bottom: 48px;
}
.reviews-head h2 { font-size: clamp(36px, 5vw, 64px); }

.reviews-rating-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.rating-number {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.rating-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

.stars-row {
  display: flex;
  gap: 4px;
}
.stars-row svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  fill: var(--primary);
  flex-shrink: 0;
}

.rating-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.rating-summary-text {
  grid-column: 1 / -1;
  margin-top: 16px;
}
.rating-summary-text h3 {
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--ink);
  line-height: 1.3;
  max-width: 64ch;
}
.rating-summary-text p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  max-width: 60ch;
}

.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.review-card .review-stars svg { color: var(--primary); fill: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; font-style: italic; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .reviews-rating-block { grid-template-columns: 1fr; }
  .rating-number { font-size: clamp(64px, 15vw, 96px); }
}

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

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}
.gallery-head h2 { font-size: clamp(36px, 5vw, 64px); }
.gallery-head a { font-size: 14px; color: var(--primary); font-weight: 600; white-space: nowrap; }

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

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

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

.gallery-section-header {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.gallery-section-heading, .gallery-section-header h2 { font-size: clamp(36px, 5vw, 64px); }
.gallery-section-header .section-eyebrow { display: block; margin-bottom: 8px; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--border);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.project-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms ease-out;
  max-height: none !important;
  position: absolute; inset: 0;
}
.project-card:hover .project-card-photo img { transform: scale(1.04); }

.project-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

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

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.project-location svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

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

.project-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.project-meta-item { display: flex; flex-direction: column; gap: 2px; }
.project-meta-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); }
.project-meta-value { font-size: 13px; font-weight: 600; color: var(--ink); }

.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.no-results.visible { display: block; }

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

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  padding-block: clamp(88px, 11vh, 144px);
  background: var(--canvas);
}

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.areas-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.areas-intro h2 { font-size: clamp(32px, 4vw, 56px); }
.areas-intro p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.areas-intro a { font-size: 14px; color: var(--primary); font-weight: 600; margin-top: 16px; display: inline-block; }

.areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.area-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

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

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

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.faq-layout h2 { font-size: clamp(32px, 4vw, 56px); }

.faq-list {
  display: flex;
  flex-direction: column;
}

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

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

.faq-answer {
  margin-top: 12px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 15px;
}

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

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta {
  padding-block: clamp(56px, 7vh, 88px);
  background: var(--ink);
}
.team-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.team-cta-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.team-cta-text em { color: var(--primary); font-style: normal; }
.team-cta-inner a { flex-shrink: 0; }

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

.contact-head {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-head h2 { font-size: clamp(36px, 5vw, 64px); }

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

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

/* Contact page */
.contact-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(88px, 11vh, 144px) clamp(20px, 4vw, 56px);
}

.contact-header-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
}
.contact-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-header-text h2 { font-size: clamp(32px, 4vw, 56px); }
.contact-eyebrow { display: block; margin-bottom: 8px; }
.contact-phone-big, .contact-header-text p a {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.contact-phone-big:hover, .contact-header-text p a:hover { text-decoration: underline; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-header-row { flex-direction: column; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

/* ============================================================
   INFO BLOCKS (contact / sidebar info)
   ============================================================ */
.info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}
.info-value a { color: var(--primary); font-weight: 600; }
.info-value a:hover { text-decoration: underline; }

.info-card-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

.phone-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 18px;
}
.phone-link:hover { text-decoration: underline; }

/* ============================================================
   FORM STYLES
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-label, .form-field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-control,
.form-group input,
.form-group textarea,
.form-group select,
.form-field input,
.form-field textarea,
.contact-form input,
.contact-form textarea,
.contact-form select,
.cta-banner-form input,
.cta-banner-form textarea,
.cta-form-box input,
.cta-form-box textarea,
form input,
form textarea,
form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  outline: none;
  transition: border-color 150ms;
  appearance: none;
}
.form-control:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212,82,26,0.12);
}
.form-group textarea, form textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   HOURS GRID
   ============================================================ */
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 14px;
}
.hours-day { color: var(--muted); }
.hours-time { color: var(--ink); font-weight: 500; }

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-row, .socials-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-link, .social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  transition: background 150ms, color 150ms, border-color 150ms;
  text-decoration: none;
}
.social-link svg, .social-chip svg { width: 18px; height: 18px; }
.social-link:hover, .social-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

/* ============================================================
   MAP STRIP
   ============================================================ */
.map-strip {
  padding-block: clamp(56px, 7vh, 88px);
  background: var(--surface);
}
.map-strip-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.map-strip-header {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}
.map-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.map-title-block { display: flex; flex-direction: column; gap: 4px; }
.map-title { font-size: clamp(24px, 3vw, 40px); }
.map-eyebrow { display: block; margin-bottom: 6px; }
.map-address-line { color: var(--muted); font-size: 15px; margin-top: 6px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--surface-2);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 360px;
  gap: 12px;
  color: var(--muted);
}
.map-placeholder svg { width: 48px; height: 48px; color: var(--primary); }
.map-placeholder p { font-size: 14px; color: var(--muted); }
.map-placeholder a { color: var(--primary); font-weight: 500; }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
}
.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,12,15,0.55) 0%, rgba(12,12,15,0.72) 100%);
}
.page-header-inner {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 80px);
  max-width: 1280px;
  width: 100%;
}
.page-header-inner h1 {
  font-size: clamp(40px, 6vw, 88px);
  color: #fff;
  letter-spacing: -0.03em;
}
.page-header-eyebrow {
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  display: block;
}
.page-header-numeral {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.page-header-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.page-header-sub {
  color: rgba(255,255,255,0.70);
  font-size: 16px;
  margin-top: 8px;
}

/* ============================================================
   SERVICES FEATURE BLOCKS (services.html)
   ============================================================ */
.services-intro {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(56px, 7vh, 88px) clamp(20px, 4vw, 56px) clamp(40px, 5vh, 64px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services-intro h2 { font-size: clamp(36px, 5vw, 64px); }
.services-intro p { color: var(--muted); font-size: 16px; max-width: 64ch; }
.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.services-feature-blocks {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding-bottom: clamp(88px, 11vh, 144px);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-block.photo-right { }
.feature-block.photo-right .feature-photo { order: 2; }
.feature-block.photo-right .feature-body { order: 1; }

.feature-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.feature-photo-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-body h2 { font-size: clamp(28px, 3.5vw, 48px); }
.feature-body p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-body a { align-self: flex-start; margin-top: 8px; }

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.feature-bullets li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 7px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.photo-right .feature-photo { order: -1; }
  .feature-block.photo-right .feature-body { order: 0; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--ink);
  padding-block: clamp(72px, 9vh, 120px);
  position: relative;
  overflow: hidden;
}
.cta-banner-bg-numeral {
  position: absolute;
  right: -40px; bottom: -60px;
  font-family: var(--font-display);
  font-size: clamp(200px, 28vw, 400px);
  font-weight: 700;
  line-height: 0.8;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.cta-banner-numeral {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  position: absolute;
  top: clamp(32px, 5vh, 64px);
  left: clamp(20px, 4vw, 56px);
}

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

.cta-banner-text { display: flex; flex-direction: column; gap: 16px; }
.cta-banner-text h2 { color: #fff; font-size: clamp(32px, 4vw, 60px); }
.cta-banner-text p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.7; }
.cta-banner-eyebrow { color: var(--primary); }
.cta-banner-phone { font-size: 20px; font-weight: 700; color: var(--primary); }
.cta-banner-phone:hover { text-decoration: underline; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.cta-banner-info { display: flex; flex-direction: column; gap: 20px; }
.cta-banner-info h2 { color: #fff; font-size: clamp(28px, 3.5vw, 52px); }

.cta-banner-form {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-banner-form-col {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-form-title, .cta-form-box .cta-form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-banner-form form,
.cta-banner-form-col form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-form-box {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 36px;
}
.cta-form-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

/* About page cta-banner variant */
.cta-banner .fade-up:first-child {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-left-eyebrow { color: var(--primary); }
.cta-sub-text { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.7; }
.cta-phone { color: var(--primary); font-size: 18px; font-weight: 700; }
.cta-phone-link { color: var(--primary); }

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  background: var(--canvas);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-portrait-col {
  border-radius: var(--radius);
  overflow: hidden;
}
.story-portrait-col img {
  width: 100%; height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}
.story-content-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-headline {
  font-size: clamp(28px, 3.5vw, 48px);
}
.story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.story-body p { color: var(--muted); font-size: 15px; line-height: 1.75; }

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

/* Values */
.values-section {
  background: var(--surface);
}
.section-intro-block {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}
.section-intro-block h2 { font-size: clamp(32px, 4vw, 56px); }

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

.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card h3 { font-size: 17px; margin-top: 8px; }
.value-card-body { font-size: 14px; color: var(--muted); line-height: 1.65; margin-top: 4px; }

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

/* Journey timeline */
.journey-section { background: var(--canvas); }

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  padding-top: 32px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.journey-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.journey-dot-inner {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.journey-step h3 { font-size: 17px; }
.journey-date {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
}
.journey-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

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

/* Crew stats */
.crew-section { background: var(--surface); }

.crew-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.crew-stat-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crew-stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.crew-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.crew-stat-body { font-size: 14px; color: var(--muted); line-height: 1.65; margin-top: 4px; }

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

/* About section (about.html second about grid) */
.about-section { background: var(--canvas); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-img-col {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-col img { width: 100%; border-radius: var(--radius); }
.about-text-headline { font-size: clamp(28px, 3.5vw, 48px); margin-bottom: 16px; }
.about-text-body { color: var(--muted); font-size: 15px; line-height: 1.75; }

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

/* Credentials */
.credentials-section { background: var(--surface); }

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.credential-badge {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.credential-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.credential-eyebrow { margin-bottom: 4px; }
.credential-value {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.credential-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

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

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

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

.footer-brand, .footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand img, .footer-brand-col img {
  max-height: 44px !important;
  filter: brightness(10);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  max-width: 28ch;
}

.footer-socials, .footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social-link, .footer-socials a, .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.60);
  transition: background 150ms, color 150ms, border-color 150ms;
  text-decoration: none;
}
.footer-social-link svg, .footer-socials a svg, .footer-social a svg { width: 16px; height: 16px; }
.footer-social-link:hover, .footer-socials a:hover, .footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-title, .footer-col-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 4px;
}
.footer-col ul, .footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a, .footer-link-list li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col ul li a:hover, .footer-link-list li a:hover {
  color: var(--primary);
  text-decoration: none;
}
.footer-col-text {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
}
.footer-phone-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.footer-phone-link:hover { text-decoration: underline; }

.footer-contact-item { display: flex; flex-direction: column; gap: 3px; }
.footer-contact-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.footer-contact-value { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-contact-value a { color: var(--primary); }

.footer-cert {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-left: 16px;
}

address { font-style: normal; }
address a { color: rgba(255,255,255,0.65); font-size: 14px; }
address a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px clamp(20px, 4vw, 56px);
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy, .footer-bottom-copy, .footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-certs { display: flex; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-inner, .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .footer-inner, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill, .mobile-call, .mobile-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 150ms;
}
.mobile-call-pill svg, .mobile-call svg, .mobile-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
.mobile-call-pill:hover, .mobile-call:hover, .mobile-cta:hover {
  filter: brightness(0.92); color: #fff; text-decoration: none;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.mobile-cta a svg { width: 20px; height: 20px; }

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

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

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

/* ============================================================
   SERVICE CARD HOVER
   ============================================================ */
.service-card {
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(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-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  font-family: var(--font-display);
}
.stat-label {
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
  font-family: var(--font-mono);
}

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

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.full-bleed { width: 100%; }

/* Monochrome image filter on project/gallery photos */
.project-card-photo img {
  filter: grayscale(15%);
  transition: filter 350ms, transform 400ms;
}
.project-card:hover .project-card-photo img { filter: grayscale(0%); }

/* ============================================================
   MISC SECTION ELEMENTS
   ============================================================ */
.section-heading { font-size: clamp(36px, 5vw, 64px); }
.section-intro-block .section-numeral { flex-shrink: 0; }

/* journey section heading */
.journey-section h2, .crew-section h2, .values-section h2,
.credentials-section h2, .about-story h2 {
  font-size: clamp(28px, 3.5vw, 48px);
}

/* Area pills on contact page */
.area-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.area-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--ink);
}

/* Rating link */
.rating-link { text-decoration: none; }
.rating-link:hover { text-decoration: underline; }


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.rating-number { grid-column: 1 / -1; }
.rating-meta { grid-column: 1 / -1; }
.gallery-tile { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
.footer-brand-col { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.story-content-col { grid-column: 1 / -1; }
.hours-day { grid-column: 1 / -1; }
.hours-time { 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; }
