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

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #137C09;
  --accent:         #208718;
  --primary-dark:   #0d5c07;
  --primary-light:  #1a9c0b;
  --canvas:         #FFFFFF;
  --surface:        #F2F0EB;
  --ink:            #0C0C0F;
  --muted:          #5A5852;
  --border:         #0C0C0F;
  --border-light:   rgba(12,12,15,0.15);
  --white:          #FFFFFF;

  --display:        'Archivo Black', sans-serif;
  --body:           'IBM Plex Sans', sans-serif;
  --mono:           'IBM Plex Mono', monospace;

  --radius:         0;
  --section-py:     clamp(72px, 9vh, 112px);
  --container-max:  1360px;
  --header-height:  72px;

  --shadow-card:    0 2px 0 0 var(--ink);
  --shadow-btn:     4px 4px 0 0 var(--ink);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

ul { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up    { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.scale-in   { opacity: 0; transform: scale(0.94);       transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }

.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: 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; }

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

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 3vw, 36px); }

p { line-height: 1.65; }

/* ============================================================
   SECTION EYEBROW / LABEL
   ============================================================ */
.section-eyebrow,
.page-eyebrow,
.page-header-eyebrow,
.about-story-label,
.about-section-eyebrow,
.service-block-eyebrow,
.service-num,
.team-cta-label,
.cta-banner-eyebrow,
.cta-eyebrow,
.cta-banner-label,
.values-label,
.timeline-label,
.contact-col-label,
.contact-info-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn,
.btn-primary,
.btn-primary-dark,
.btn-ghost-white,
.btn-ink,
.btn-phone,
.btn-service,
.btn-white-outline,
.btn-submit,
.page-header-cta,
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 180ms, color 180ms, transform 120ms, border-color 180ms;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary,
.btn-submit,
.form-submit {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-submit:hover, .form-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  text-decoration: none;
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-ink:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  text-decoration: none;
}

.btn-ghost-white,
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost-white:hover, .btn-white-outline:hover {
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.btn-phone {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.btn-phone:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  text-decoration: none;
}

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

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

.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;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.nav-pages ul,
ul#navLinks {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-pages li { list-style: none; }
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.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;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms;
  border: none;
}
.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
  filter: brightness(0.92);
}

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-pages {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(12,12,15,0.12);
    z-index: 899;
    align-items: flex-start;
  }
  .nav-pages ul,
  ul#navLinks {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .nav-pages.open { display: flex; }
  .nav-cta span { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 6vh, 80px);
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(12,12,15,0.88) 0%,
    rgba(19,124,9,0.25) 50%,
    rgba(12,12,15,0.55) 100%
  );
}

.hero-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  padding-top: clamp(48px, 8vh, 96px);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(64px, 8.5vw, 132px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 28px;
}

.hero-sub {
  font-family: var(--body);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: 36px;
}

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

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.35);
}

.hero-trust-chips li.trust-chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,0.35);
  line-height: 1.2;
}
.hero-trust-chips li.trust-chip:last-child { border-right: none; }

@media (max-width: 640px) {
  #hero.hero { min-height: 100svh; align-items: flex-end; }
  .hero-title { font-size: clamp(48px, 12vw, 72px); }
  .hero-trust-chips { flex-direction: column; border: 1px solid rgba(255,255,255,0.35); }
  .hero-trust-chips li.trust-chip { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
  .hero-trust-chips li.trust-chip:last-child { border-bottom: none; }
}

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

.trust-strip-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 18px 24px;
  border-right: 1px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}
.trust-item:last-child { border-right: none; }
.trust-item-accent { color: var(--primary); font-weight: 600; }

/* chips variant (services.html) */
.trust-chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 16px;
  border: 2px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.trust-chip-sq {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 16px;
  border: 2px solid var(--ink);
  display: inline-block;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .trust-strip-inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--ink); }
  .trust-item:last-child { border-bottom: none; }
}

/* ============================================================
   BRAND BAND — the unique move
   ============================================================ */
.brand-band {
  background: var(--primary);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 64px);
  overflow: hidden;
  position: relative;
}

.brand-band-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-band-claim {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-band-sub {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

.brand-band-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 8px;
}

.brand-band-stat {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
}
.brand-band-stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.brand-band-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--white);
  color: var(--primary);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  text-decoration: none;
  transition: background 150ms, color 150ms;
  align-self: flex-start;
  margin-top: 8px;
}
.brand-band-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   SERVICES (index.html — tabbed panel)
   ============================================================ */
#services.services {
  background: var(--canvas);
  padding-block: var(--section-py);
}
#services.services > .container { width: 100%; }

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--ink);
  margin-bottom: 0;
}

.service-tab {
  flex: 1 1 auto;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 150ms, color 150ms;
  text-align: left;
  line-height: 1.3;
}
.service-tab:last-child { border-right: none; }
.service-tab:hover { background: var(--surface); color: var(--ink); }
.service-tab.active {
  background: var(--primary);
  color: var(--white);
}

.services-panels {
  border: 1px solid var(--ink);
  border-top: none;
}

.service-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.service-panel.active { display: grid; }

.service-panel-img {
  overflow: hidden;
  max-height: 480px;
}
.service-panel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: 480px;
  display: block;
  filter: grayscale(15%);
  transition: filter 300ms;
}
.service-panel:hover .service-panel-img img { filter: grayscale(0%); }

.service-panel-body {
  padding: clamp(32px, 4vw, 56px);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid var(--ink);
}
.service-panel-body h3 {
  font-size: clamp(24px, 3vw, 40px);
  color: var(--ink);
}
.service-panel-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.service-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

@media (max-width: 900px) {
  .service-panel.active { grid-template-columns: 1fr; }
  .service-panel-img { max-height: 280px; }
  .service-panel-img img { max-height: 280px; }
  .service-panel-body { border-left: none; border-top: 1px solid var(--ink); }
  .services-tabs { flex-direction: column; }
  .service-tab { border-right: none; border-bottom: 1px solid var(--ink); }
  .service-tab:last-child { border-bottom: none; }
}

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

.services-detail-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  margin-bottom: -1px;
  position: relative;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.service-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
  z-index: 1;
}

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block-photo {
  position: relative;
  overflow: hidden;
  max-height: 560px;
}
.service-block-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: 560px;
  filter: grayscale(10%);
  transition: filter 400ms, transform 400ms;
}
.service-block:hover .service-block-photo img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.service-block-num {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--display);
  font-size: 96px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.18;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.service-block-body {
  padding: clamp(40px, 5vw, 72px);
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  border-left: 1px solid var(--ink);
}
.service-block.reverse .service-block-body { border-left: none; border-right: 1px solid var(--ink); }

.service-block-body h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--ink);
}
.service-block-copy {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}
.service-block-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-block-bullets li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.service-block-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--primary);
}

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; direction: ltr; }
  .service-block.reverse { direction: ltr; }
  .service-block-photo { max-height: 260px; }
  .service-block-photo img { max-height: 260px; }
  .service-block-body { border-left: none; border-right: none; border-top: 1px solid var(--ink); }
  .service-block.reverse .service-block-body { border-right: none; }
  .service-block-num { font-size: 60px; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews.reviews {
  background: var(--surface);
  padding-block: var(--section-py);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
#reviews.reviews > .container { width: 100%; }

.reviews > .container > h2,
.reviews .section-title {
  color: var(--ink);
  margin-bottom: clamp(32px, 4vh, 48px);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.review-card {
  padding: 32px;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
}

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

.review-quote {
  font-family: var(--body);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
  flex: 1;
}

.review-attribution {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   GALLERY (homepage)
   ============================================================ */
#gallery.gallery {
  background: var(--canvas);
  padding-block: var(--section-py);
}
#gallery.gallery > .container { width: 100%; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  margin-block: 32px;
}

.gallery-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  grid-column: auto;
}
.gallery-tile-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-tile img,
.gallery-tile-tall img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 350ms, transform 350ms;
  max-height: none;
}
.gallery-tile:hover img,
.gallery-tile-tall:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.gallery-cta {
  display: flex;
  justify-content: flex-start;
}

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

/* ============================================================
   GALLERY FULL (gallery.html)
   ============================================================ */
.gallery-section {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.gallery-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

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

.gallery-heading-block h2,
.section-title {
  font-size: clamp(36px, 5vw, 72px);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-results-row {
  margin-bottom: 16px;
}
.gallery-count {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

#galleryGrid.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  margin-block: 0;
}

.gallery-card {
  background: var(--canvas);
  overflow: hidden;
  transition: transform 250ms ease-out;
}
.gallery-card:hover { transform: translateY(-2px); position: relative; z-index: 1; }

.gallery-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(10%);
  transition: filter 300ms, transform 300ms;
}
.gallery-card:hover .gallery-card-photo img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
}

.gallery-card-cat {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12,12,15,0.75);
  color: var(--white);
  padding: 4px 10px;
}

.gallery-card-body {
  padding: 20px;
  background: var(--canvas);
  border-top: 1px solid var(--ink);
}
.gallery-card-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.gallery-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.gallery-card-location svg { width: 14px; height: 14px; flex-shrink: 0; }

.gallery-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.gallery-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gallery-meta-stat {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

@media (max-width: 900px) {
  #galleryGrid.gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #galleryGrid.gallery-grid { grid-template-columns: 1fr; }
  .gallery-header-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq.faq {
  background: var(--surface);
  padding-block: var(--section-py);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
#faq.faq > .container { width: 100%; }

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

details.faq {
  border-bottom: 1px solid var(--ink);
  padding: 0;
}
details.faq:first-of-type { border-top: 1px solid var(--ink); }

details.faq > summary {
  cursor: pointer;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: var(--ink);
  gap: 16px;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { display: none; }

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

.faq-answer {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 72ch;
}

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta {
  background: var(--primary);
  overflow: hidden;
  position: relative;
}

.team-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.team-cta-inner > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%);
}

.team-cta-inner > div {
  padding: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.team-cta-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

.team-cta-headline {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

@media (max-width: 900px) {
  .team-cta-inner { grid-template-columns: 1fr; }
  .team-cta-inner > img { max-height: 320px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact.contact {
  background: var(--canvas);
  padding-block: var(--section-py);
}
#contact.contact > .container { width: 100%; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  margin-top: 40px;
}

.contact-form.fade-up {
  padding: clamp(32px, 4vw, 56px);
  background: var(--surface);
  border-right: 1px solid var(--ink);
}

.contact-info.fade-up {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.contact-info-value a {
  color: var(--ink);
  font-weight: 600;
}
.contact-info-value a:hover { color: var(--primary); }

.contact-info-area {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form.fade-up { border-right: none; border-bottom: 1px solid var(--ink); }
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

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

.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
.form-textarea,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms;
  appearance: none;
}
.form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
.form-textarea:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(19,124,9,0.12);
}

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

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

.form-submit,
button[type="submit"],
.btn-submit {
  width: 100%;
  padding: 18px 32px;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms, border-color 180ms, transform 120ms;
}
.form-submit:hover,
button[type="submit"]:hover,
.btn-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   CTA BANNER (services.html / gallery.html / about.html)
   ============================================================ */
.cta-banner {
  background: var(--ink);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

.cta-banner-bg-num {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 320px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.cta-banner-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.cta-banner-left { display: flex; flex-direction: column; gap: 24px; }
.cta-banner-eyebrow,
.cta-eyebrow,
.cta-banner-label {
  color: var(--primary-light);
  margin-bottom: 0;
}

.cta-banner-left h2,
.cta-banner-headline,
.cta-banner-title {
  font-size: clamp(36px, 5vw, 72px);
  color: var(--white);
}

.cta-banner-sub,
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
}

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

.cta-banner-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.cta-banner-phone:hover { color: var(--primary-light); text-decoration: none; }

.cta-banner-right,
.cta-form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-form-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 8px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-form input,
.cta-form textarea,
.cta-form button {
  border-radius: 0;
}
.cta-form input,
.cta-form textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.20);
  color: var(--white);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,0.40); }
.cta-form input:focus,
.cta-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(19,124,9,0.20);
}

.cta-phone-link {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  transition: color 150ms;
}
.cta-phone-link:hover { color: var(--primary-light); text-decoration: none; }

.cta-banner-text { display: flex; flex-direction: column; gap: 16px; }
.cta-banner-text h2 { font-size: clamp(32px, 4.5vw, 64px); color: var(--white); }

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

/* ============================================================
   CONTACT SECTION (contact.html)
   ============================================================ */
.contact-section {
  background: var(--canvas);
  padding-block: var(--section-py);
}

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

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-col-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-col-heading {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--ink);
}

.contact-col-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ink);
}

.contact-info-heading {
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--ink);
  padding: 28px 32px 0;
  margin-bottom: 24px;
}

.info-block {
  padding: 20px 32px;
}

.info-block-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-block p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.info-block a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.info-block a:hover { color: var(--primary); }

.info-divider {
  height: 1px;
  background: var(--ink);
  opacity: 0.15;
}

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

.service-area-chip {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-light);
  color: var(--muted);
}

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

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

/* ============================================================
   ABOUT STORY (about.html)
   ============================================================ */
.about-story {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.about-story-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-story-portrait-col {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.about-story-portrait-col > img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  border: 1px solid var(--ink);
  filter: grayscale(15%);
}

.about-story-portrait-caption {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

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

.about-story-headline {
  font-size: clamp(32px, 4.5vw, 64px);
  color: var(--ink);
  margin-top: 8px;
}

.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-story-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.70;
}

/* Timeline */
.timeline {
  border: 1px solid var(--ink);
  padding: 32px;
}
.timeline-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}
.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
}
.timeline-step:first-child { border-top: none; }
.timeline-year {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.timeline-step-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.timeline-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Values */
.values-row { margin-top: 8px; }
.values-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.value-card {
  background: var(--surface);
  padding: 24px;
}
.value-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  opacity: 0.25;
}
.value-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.value-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .about-story-inner { grid-template-columns: 1fr; }
  .about-story-portrait-col { position: static; }
}

/* ============================================================
   ABOUT SECTION (about.html — second block)
   ============================================================ */
#about.about-section {
  background: var(--surface);
  padding-block: var(--section-py);
  border-top: 1px solid var(--ink);
}

.about-section-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-section-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-section-eyebrow { color: var(--primary); }

.about-section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
}

.about-section-headline {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--ink);
}

.about-section-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.70;
}

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

.about-section-photo > img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border: 1px solid var(--ink);
  filter: grayscale(10%);
}

@media (max-width: 900px) {
  .about-section-inner { grid-template-columns: 1fr; }
  .about-section-photo { order: -1; }
}

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

.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(12,12,15,0.80) 0%,
    rgba(12,12,15,0.40) 60%,
    rgba(12,12,15,0.20) 100%
  );
}

.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 64px);
  width: 100%;
}

.page-header-eyebrow,
.page-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
  display: block;
}

.page-header-title,
.page-title {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--white);
  margin-bottom: 16px;
}

.page-header-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: 24px;
}

.page-header-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(56px, 7vh, 80px) 0;
}

.footer-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 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-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.55;
}

.footer-about-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.footer-col-head,
.footer-col-title,
.footer-col-heading {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-contact-line,
.footer-contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  display: block;
}
.footer-contact-line a,
.footer-contact-item a {
  color: rgba(255,255,255,0.65);
}
.footer-contact-line a:hover,
.footer-contact-item a:hover { color: var(--white); text-decoration: none; }

.footer-contact-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-right: 8px;
}
.footer-contact-val {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer-creds {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.04em;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-rating-stars {
  display: flex;
  gap: 2px;
}
.footer-rating-stars svg { width: 14px; height: 14px; color: var(--primary); fill: var(--primary); }
.footer-rating-text {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

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

/* ============================================================
   MOBILE CALL PILL / CTA
   ============================================================ */
.mobile-call-pill,
.mobile-call-btn,
.mobile-cta-pill,
.mobile-sticky-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: background 150ms, transform 150ms;
}
.mobile-call-pill:hover,
.mobile-call-btn:hover,
.mobile-cta-pill:hover,
.mobile-sticky-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}
.mobile-call-pill svg,
.mobile-call-btn svg,
.mobile-cta-pill svg,
.mobile-sticky-cta svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.mobile-sticky-cta > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}
.mobile-sticky-cta > a svg { width: 20px; height: 20px; }

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

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

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

/* Section base */
.section {
  padding-block: var(--section-py);
}

/* Meta label/val */
.meta-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Section heading spacing */
#services .container > h2,
#reviews .container > h2,
#gallery .container > h2,
#faq .container > h2,
#contact .container > h2 {
  margin-bottom: 8px;
}

/* Page header inner for cta-banner on contact.html */
.brand-band .brand-band-inner > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  background: var(--white);
  color: var(--primary);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 16px;
  transition: background 150ms, color 150ms;
}
.brand-band .brand-band-inner > a:hover {
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   STATS / PROCESS / MARQUEE (fallback if used)
   ============================================================ */
.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(--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(--mono);
  font-weight: 600;
}

.marquee { overflow: hidden; padding: 14px 0; border-top: 1px solid; border-bottom: 1px solid; max-height: 64px; position: relative; z-index: 1; }
.marquee-item { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: clamp(13px, 1.4vw, 18px); line-height: 1.2; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 35s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

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

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


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.team-cta-img { grid-column: 1 / -1; }
.service-block-photo { grid-column: 1 / -1; }
.service-block-body { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.form-input { grid-column: 1 / -1; }
.about-story-portrait-col { grid-column: 1 / -1; }
.timeline-year { grid-column: 1 / -1; }
.timeline-step-title { grid-column: 1 / -1; }
.timeline-step-desc { grid-column: 1 / -1; }
.value-card { grid-column: 1 / -1; }
.cta-banner-text { grid-column: 1 / -1; }
.cta-banner-actions { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
/* validator patch: hero must never crop its headline */
#hero, .hero { overflow: visible !important; }
:where(#hero, .hero) { padding-top: max(var(--header-height, 72px), 72px); }
/* validator patch: keep the hero photo visible, no smothering dark band */
.hero-overlay { background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0.34) 38%, rgba(0,0,0,0.12) 68%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0.30), rgba(0,0,0,0) 58%) !important; }
