@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:        #548444;
  --accent:         #35482B;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --ink:            #0C0C0F;
  --muted:          #6B6B6B;
  --border:         rgba(12,12,15,0.10);
  --border-mid:     rgba(12,12,15,0.18);
  --primary-dark:   #426A35;
  --primary-light:  #EAF0E5;
  --shadow-sm:      0 2px 8px -2px rgba(12,12,15,0.12);
  --shadow-md:      0 8px 28px -8px rgba(12,12,15,0.18);
  --shadow-lg:      0 18px 48px -12px rgba(12,12,15,0.22);
  --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;
  --section-py:     clamp(88px, 11vh, 144px);
  --content-max:    1280px;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

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

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

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 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, .about-hero-bg,
.page-header img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; z-index: 0;
}

section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}
section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

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

.hero-split {
  display: grid; grid-template-columns: 60% 40%;
  min-height: 88vh; gap: 0;
}
.hero-split-text {
  background: var(--canvas);
  padding: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.hero-split-photo { position: relative; overflow: hidden; background: transparent; }
.hero-split-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-photo { min-height: 60vw; order: -1; }
}

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

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

svg { display: block; }

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

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  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, 64px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { line-height: 1.68; }

/* Mono label utility */
.mono-label, .section-eyebrow, .section-label, .page-header-eyebrow,
.service-eyebrow, .contact-label, .contact-form-label, .footer-col-label,
.footer-col-heading, .footer-col-title, .info-label, .info-card-sub,
.meta-label, .step-num, .cta-banner-eyebrow, .cta-banner-label,
.cta-sub, .project-location, .hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container, .section-inner, .contact-grid, .gallery-inner,
.values-inner, .journey-inner, .trust-strip-inner,
.cta-banner-inner, .footer-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.wide-container { max-width: 1400px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }

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

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

.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
  max-width: 1320px;
  margin-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; max-width: 200px; width: auto; object-fit: contain; }
.nav-logo:hover { text-decoration: none; }

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: center;
}
.nav-pages ul, ul.nav-pages {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  padding: 0; margin: 0;
}
#navLinks { display: flex; gap: 4px; align-items: center; }
#navLinks a {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 150ms, background 150ms;
}
#navLinks a:hover {
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-light);
}
#navLinks a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  text-decoration: none;
}

.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); color: #fff !important; text-decoration: none !important; }
.nav-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }
.nav-cta-icon svg { width: 18px; height: 18px; }
.nav-cta svg { width: 18px; height: 18px; }

.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;
  border-radius: var(--radius);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 12px; }
  #navLinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 16px 28px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(12,12,15,0.08);
    box-shadow: var(--shadow-md);
    z-index: 800;
  }
  #navLinks.open { display: flex; }
  #navLinks a { padding: 10px 14px; width: 100%; border-radius: var(--radius); }
  .nav-pages { flex: 1; justify-content: flex-end; }
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.fade-up    { transform: translateY(32px); }
.fade-left  { transform: translateX(-32px); }
.fade-right { transform: translateX(32px); }
.scale-in   { transform: scale(0.95); }

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, .btn-primary, .btn-outline-white, .btn-white,
.btn-submit, .btn-service, .btn-cta-banner, .btn-phone, .btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary, .btn-submit, .btn-cta-banner {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.btn-primary:hover, .btn-submit:hover, .btn-cta-banner:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(84,132,68,0.45);
  color: #fff !important; text-decoration: none !important;
}

.btn-outline-white {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.65);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff !important; text-decoration: none !important;
}

.btn-white {
  background: #fff;
  color: var(--ink) !important;
  border-color: #fff;
}
.btn-white:hover {
  background: var(--surface);
  text-decoration: none !important;
}

.btn-service {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
  font-size: 14px;
  padding: 12px 22px;
}
.btn-service:hover {
  background: var(--primary);
  color: #fff !important;
  text-decoration: none !important;
}
.btn-service svg { width: 16px; height: 16px; }

/* ============================================================
   CHIP / PILL
   ============================================================ */
.trust-chip, .trust-pill, .area-chip, .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  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(--border-mid);
  color: var(--ink);
  background: var(--canvas);
  white-space: nowrap;
}

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

/* ============================================================
   SECTION HEADER + NUMERALS
   ============================================================ */
.section-numeral, .hero-numeral, .about-story-num,
.page-header-numeral, .section-header .section-numeral,
.info-card-numeral, .cta-banner-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 4px;
  pointer-events: none;
  user-select: none;
}

.section-header {
  margin-bottom: clamp(40px, 5vh, 72px);
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-top: 8px;
  margin-bottom: 0;
}
.section-intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 16px;
}

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}

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

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

.hero-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 56px) clamp(64px, 9vh, 112px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.hero-title, h1.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 20px;
}

/* h1 that's a direct child of .hero-inner (when not .hero-title class) */
.hero-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 32px;
}

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

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}
.hero-trust-chips .trust-chip {
  border-color: rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-trust-chips { gap: 8px; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--canvas);
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-strip::-webkit-scrollbar { display: none; }

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-block: 4px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
}

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

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(11px, 1.2vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  padding-right: 24px;
  line-height: 1.2;
  flex-shrink: 0;
}

.marquee-sep {
  display: inline-flex;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  vertical-align: middle;
}

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

/* ============================================================
   SERVICES (tabbed panel on index)
   ============================================================ */
#services {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

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

.service-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
}

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

.services-panels { position: relative; }

.service-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.service-panel.active { display: grid; }

.service-panel-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.service-panel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  display: block;
}

.service-panel-idx {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.service-panel-body {
  padding: 8px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-panel-body h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 4px;
}
.service-panel-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.service-panel-body a { margin-top: 8px; align-self: flex-start; }

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

/* ============================================================
   ABOUT STORY (about.html)
   ============================================================ */
.about-story {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.about-story-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.about-story-photo-col {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about-story-photo-col img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  max-height: 620px;
  filter: grayscale(8%);
}

.about-story-num {
  position: absolute;
  top: -20px; right: -16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.about-story-text-col { padding-top: 8px; }
.about-story-eyebrow { margin-bottom: 12px; }
.about-story-headline {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  margin-bottom: 24px;
}
.about-story-headline span { color: var(--primary); }
.about-story-body p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.about-story-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}

@media (max-width: 900px) {
  .about-story-inner { grid-template-columns: 1fr; }
  .about-story-photo-col img { aspect-ratio: 16/9; max-height: 380px; }
}

/* ============================================================
   VALUES (about.html)
   ============================================================ */
.values-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.values-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.values-inner > h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 40px;
}
.values-inner .section-eyebrow { margin-bottom: 12px; }

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

.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.value-card-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 16px;
}
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card-body { color: var(--muted); font-size: 15px; line-height: 1.6; }

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

/* ============================================================
   JOURNEY / TIMELINE (about.html)
   ============================================================ */
.journey-section {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.journey-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.journey-inner > h2 { font-size: clamp(30px, 3.5vw, 48px); margin-bottom: 48px; }
.journey-inner .section-eyebrow { margin-bottom: 12px; }

.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}

.journey-step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
}

.journey-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.journey-step-dot-inner {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
}
.journey-step-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 8px;
}
.journey-step h3 { font-size: 18px; margin-bottom: 8px; }
.journey-step-desc { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews {
  padding: var(--section-py) 0;
  background: var(--surface);
}

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

.review-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.review-card-idx {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: 12px;
  user-select: none;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.review-stars svg { width: 18px; height: 18px; color: var(--primary); fill: var(--primary); }

.review-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 16px;
}
.review-attr {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}

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

/* ============================================================
   GALLERY (index)
   ============================================================ */
#gallery {
  padding: var(--section-py) 0;
  background: var(--canvas);
}

.gallery-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--surface);
  margin-top: 8px;
}
.gallery-feature img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  display: block;
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.65) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 32px;
}
.gallery-overlay a { text-decoration: none !important; }
.gallery-overlay-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.gallery-overlay a:hover .gallery-overlay-text { text-decoration: underline; text-decoration-color: var(--primary); }

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

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-heading-block .section-label { margin-bottom: 8px; }
.gallery-section-title { font-size: clamp(28px, 4vw, 52px); line-height: 1.0; }
.gallery-count {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 8px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
  display: inline-flex; align-items: center; gap: 6px;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pill-count {
  font-size: 10px;
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 1px 6px;
}
.filter-pill.active .pill-count { background: rgba(255,255,255,0.22); }

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

.project-card {
  background: var(--canvas);
  border-radius: var(--radius);
  overflow: hidden;
  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-md); }

.project-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}
.project-card-image img {
  width: 100%; height: 100%;
  object-fit: cover; max-height: none;
  transition: transform 400ms ease;
}
.project-card:hover .project-card-image img { transform: scale(1.04); }

.project-card-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(12,12,15,0.4) 100%);
  z-index: 1;
}
.project-card-numeral {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0.85;
  z-index: 2;
}
.project-category-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  background: rgba(12,12,15,0.65);
  color: #fff;
  padding: 5px 10px 5px 8px;
  border-radius: 4px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
}
.project-category-tag svg { width: 12px; height: 12px; }

.project-card-body {
  padding: 20px;
}
.project-card-body h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.02em; }
.project-location {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-bottom: 8px;
}
.project-location svg { width: 12px; height: 12px; }
.project-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.project-headline { font-size: 17px; font-weight: 600; margin-bottom: 6px; }

.project-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.meta-item {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  background: var(--surface);
  padding: 3px 9px;
  border-radius: 3px;
}
.meta-label { font-size: 10px; color: var(--muted); }
.meta-value { font-size: 13px; font-weight: 600; color: var(--ink); }

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

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.faq-list { max-width: 780px; }

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

.faq-list details summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  color: var(--ink);
  transition: color 150ms;
}
.faq-list details summary::-webkit-details-marker { display: none; }
.faq-list details summary:hover { color: var(--primary); }

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

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

.faq-list details summary svg { width: 20px; height: 20px; flex-shrink: 0; }

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

/* ============================================================
   TEAM CTA SECTION
   ============================================================ */
.team-cta-section {
  padding: clamp(56px, 7vh, 96px) clamp(20px, 4vw, 56px);
  background: var(--accent);
  overflow: hidden;
}
.team-cta-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.team-cta-inner > div { flex: 1; min-width: 240px; }
.team-cta-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.team-cta-text strong { color: var(--primary); }
.team-cta-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
}
.team-cta-inner > a {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: filter 180ms;
}
.team-cta-inner > a:hover { filter: brightness(1.08); text-decoration: none !important; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: clamp(72px, 9vh, 112px) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84,132,68,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-banner-left { display: flex; flex-direction: column; gap: 12px; }
.cta-banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}
.cta-banner-headline, .cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.cta-banner-title em { font-style: italic; color: var(--primary); }
.cta-banner-sub { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.55; }
.cta-banner-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 8px;
}
.cta-banner-phone {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--primary);
}
.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.cta-banner-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.cta-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 4px;
}
.cta-phone {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  text-decoration: none !important;
}
.cta-phone:hover { color: var(--primary) !important; text-decoration: none !important; }

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

/* ============================================================
   CONTACT
   ============================================================ */
#contact, .contact-section {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.contact-section .contact-grid,
#contact .contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 48px;
}

.contact-form-col { display: flex; flex-direction: column; gap: 0; }
.contact-form-label { margin-bottom: 12px; }
.contact-form-heading {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 12px;
}
.contact-form-heading span { color: var(--primary); }
.contact-form-intro { font-size: 16px; color: var(--muted); margin-bottom: 32px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group, .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label, .form-field label, .contact-form label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.form-group input, .form-group select, .form-group textarea,
.form-field input, .form-field select, .form-field textarea,
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(84,132,68,0.15);
}
.form-group textarea, .form-field textarea, .contact-form textarea {
  min-height: 120px; resize: vertical;
}
.form-group.full, .form-field.full { grid-column: 1 / -1; }

.form-submit { margin-top: 4px; }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 16px;
}

.contact-info-col { display: flex; flex-direction: column; gap: 0; }
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.info-card-numeral {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.12;
  margin-bottom: 4px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 4px; }
.info-card-sub { font-size: 14px; color: var(--muted); margin-bottom: 0; }

.info-divider { border: none; border-top: 1px solid var(--border-mid); margin: 20px 0; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.info-icon { flex-shrink: 0; margin-top: 2px; }
.info-icon svg { width: 18px; height: 18px; color: var(--primary); }
.info-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 3px;
}
.info-value { font-size: 15px; color: var(--ink); font-weight: 500; }
.info-value a { color: var(--ink); }
.info-value a:hover { color: var(--primary); }

.info-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.area-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-mid);
  color: var(--muted);
  background: var(--canvas);
}

.info-rating { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg, .info-rating svg { width: 16px; height: 16px; fill: var(--primary); color: var(--primary); }
.rating-text { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.10em; }

.contact-info-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-block:last-child { border-bottom: none; }
.contact-value { font-size: 15px; color: var(--ink); font-weight: 500; }
.contact-areas { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

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

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

.service-block-wrap {
  padding: clamp(64px, 8vh, 96px) 0;
  border-bottom: 1px solid var(--border);
}
.service-block-wrap:last-child { border-bottom: none; }
.service-block-wrap.surface-bg { background: var(--surface); }

.service-block {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.service-block.reverse .service-photo-col { order: 2; }
.service-block.reverse .service-text-col  { order: 1; }

/* Use order, not transform — no mirror hack */
.service-block.reverse { }

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

.service-photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.service-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; max-height: none;
  filter: grayscale(5%);
}

.service-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-eyebrow { margin-bottom: 0; }
.service-text-col h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 0;
}
.service-body-text p { font-size: 16px; color: var(--muted); line-height: 1.68; margin-bottom: 12px; }

.service-bullets {
  display: flex; flex-direction: column; gap: 8px;
  list-style: none; padding: 0;
}
.service-bullets li {
  font-size: 15px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 900px) {
  .service-block {
    grid-template-columns: 1fr;
  }
  .service-block.reverse .service-photo-col { order: 0; }
  .service-block.reverse .service-text-col  { order: 0; }
}

/* Service nav strip */
.service-nav-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-height);
  z-index: 800;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-nav-strip::-webkit-scrollbar { display: none; }
.service-nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.service-nav-list li a {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
  white-space: nowrap;
}
.service-nav-list li a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none !important;
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: clamp(200px, 38vh, 440px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,15,0.35) 0%,
    rgba(12,12,15,0.60) 100%
  );
  z-index: 1;
}
.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 40px clamp(20px, 4vw, 56px);
  width: 100%;
}
.page-header-inner h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  color: #fff;
  margin-top: 8px;
  max-width: 16ch;
}
.page-header-numeral {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 8px;
}
.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.page-header-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  max-width: 44ch;
}
.page-header-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 8px;
}
.page-header-crumb {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.page-header-crumb a { color: rgba(255,255,255,0.5); }
.page-header-crumb a:hover { color: #fff; text-decoration: none !important; }
.crumb-sep { margin: 0 6px; }
.page-header-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 12px; }
.page-header-breadcrumb a { color: rgba(255,255,255,0.5); }
.page-header-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.page-header-breadcrumb span { color: rgba(255,255,255,0.35); margin: 0 6px; }

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

.footer-body, .footer-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(56px, 7vh, 88px) clamp(20px, 4vw, 56px) 0;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { opacity: 0.85; filter: brightness(0) invert(1); }
.footer-brand-logo img { opacity: 0.85; filter: brightness(0) invert(1); }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.5; margin-top: 4px; }
.footer-brand-text { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.55; margin-top: 8px; }

.footer-contact-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}
.footer-contact-line svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--primary); }
.footer-contact-line a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-contact-line a:hover { color: #fff; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.footer-col-title, .footer-col-label, .footer-col-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: #fff; text-decoration: none !important; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col ul li a:hover { color: #fff; text-decoration: none !important; }

.footer-info {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-info a { color: rgba(255,255,255,0.55); }
.footer-info a:hover { color: #fff; text-decoration: none !important; }
.footer-area-list {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.28);
}
.footer-rating { display: flex; align-items: center; gap: 8px; }
.footer-rating-stars {
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 1px;
}
.footer-rating span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.10em; color: rgba(255,255,255,0.28); }
.star-inline { color: var(--primary); font-size: 14px; }

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

/* ============================================================
   MOBILE STICKY CTA PILL
   ============================================================ */
.mobile-sticky-cta, .mobile-cta-pill, .mobile-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
}
.mobile-sticky-cta > a, .mobile-cta-pill > a, .mobile-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff !important;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 160ms, transform 160ms;
}
.mobile-sticky-cta > a:hover,
.mobile-cta-pill > a:hover,
.mobile-cta > a:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  text-decoration: none !important;
  color: #fff !important;
}
.mobile-sticky-cta svg, .mobile-cta-pill svg, .mobile-cta svg { width: 20px; height: 20px; }

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

/* ============================================================
   SURFACE / SURFACE-BG UTILITY
   ============================================================ */
.surface-bg { background: var(--surface); }

/* ============================================================
   SECTION GENERIC + INNER
   ============================================================ */
.section-inner {
  padding-block: var(--section-py);
}

/* ============================================================
   SERVICE BLOCK ON INDEX (service-block, service-nav) for index services
   ============================================================ */
.service-block-wrap .service-nav-strip { position: static; }

/* ============================================================
   ABOUT-STORY PHOTO COLUMN — no img overflow
   ============================================================ */
.about-story-photo-col img {
  max-height: 640px;
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   READABLE TABLE CELLS (defense)
   ============================================================ */
table { width: 100%; border-collapse: collapse; }
thead th { background: var(--ink); color: #fff; padding: 12px 16px; text-align: left; font-size: 13px; }
tbody td { padding: 12px 16px; background: var(--canvas); color: var(--ink); border-bottom: 1px solid var(--border); font-size: 14px; }

/* ============================================================
   RESPONSIVE FINAL PASS
   ============================================================ */
@media (max-width: 640px) {
  .section-inner { padding-block: clamp(56px, 8vh, 88px); }
  .service-panel { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .contact-section .contact-grid,
  #contact .contact-grid { grid-template-columns: 1fr; }
  .about-story-inner { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
}

@media (min-width: 640px) and (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-panel { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
}

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


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.contact-form { grid-column: 1 / -1; }
.contact-info-col { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.pill-count { 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; }
