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

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #EF9A73;
  --primary-dark:   #D97A50;
  --primary-light:  #F7C4A8;
  --accent:         #94D094;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2E3238;
  --muted:          #5C6068;
  --muted-light:    #8C9099;
  --border:         rgba(20,24,29,0.10);
  --border-strong:  rgba(20,24,29,0.18);
  --primary-border: rgba(239,154,115,0.35);
  --radius:         4px;
  --radius-lg:      8px;
  --shadow-sm:      0 2px 8px rgba(20,24,29,0.06);
  --shadow-md:      0 8px 24px rgba(20,24,29,0.10);
  --shadow-lg:      0 18px 48px rgba(20,24,29,0.14);
  --header-height:  72px;
  --section-py:     clamp(80px, 10vh, 128px);
  --max-w:          1320px;
}

@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;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Universal image cap — no <img> may overflow its container, ever */
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 bg contract */
.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Sub-page header banners */
.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 30%; z-index: 0;
}
.page-header-overlay, .page-header-hairline, .page-header-inner {
  position: relative; z-index: 2;
}

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 anchors never render as blue links */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4.5vw, 60px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

p { line-height: 1.7; }

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

strong { font-weight: 700; }
em { font-style: italic; }

/* Mono label base */
.eyebrow, .section-label, .section-eyebrow, .page-header-eyebrow,
.feature-eyebrow, .info-label, .info-block-label, .trust-badge-label,
.service-card-num, .step-num, .team-cta-label, .cta-banner-eyebrow,
.faq-eyebrow, .contact-form-eyebrow, .footer-col-label, .footer-col-title,
.footer-col-heading, .meta-label, .value-card-label, .about-story-eyebrow,
.rating-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container, .section-inner, .about-story-inner, .values-cards-inner,
.journey-timeline-inner, .crew-strip-inner, .faq-inner, .contact-inner,
.rating-callout-inner, .trust-strip-inner, .footer-inner,
.cta-banner-inner, .services-intro-inner, .team-cta-inner,
.gallery-section-header {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

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

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

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

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

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

#navLinks, .nav-pages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
}
.nav-pages a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-pages a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

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

.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;
  padding: 0;
  margin-left: auto;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .top-nav { gap: 12px; }

  .nav-pages {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages li { width: 100%; }
  .nav-pages a { font-size: 16px; padding: 10px 0; display: block; width: 100%; }

  .nav-cta .nav-cta-text { display: none; }
  .nav-cta { padding: 10px; border-radius: 50%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, .btn-primary, .btn-ghost, .btn-outline-dark, .btn-dark,
.btn-submit, .btn-banner-primary, .btn-banner-outline, .feature-cta,
.services-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: filter 150ms, transform 150ms, box-shadow 150ms;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary, .btn-banner-primary {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-banner-primary:hover {
  filter: brightness(0.92);
  color: var(--surface);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--surface);
  text-decoration: none;
}

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

.btn-dark {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.btn-dark:hover { filter: brightness(1.15); color: var(--surface); text-decoration: none; }

.btn-submit {
  background: var(--primary);
  color: var(--surface);
  border: none;
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
}
.btn-submit:hover { filter: brightness(0.9); text-decoration: none; }

.btn svg, .feature-cta svg, .services-intro-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

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

.hero > img:first-of-type,
section#hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  max-height: none;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    165deg,
    rgba(20,24,29,0.62) 0%,
    rgba(20,24,29,0.40) 55%,
    rgba(20,24,29,0.28) 100%
  );
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(80px, 12vh, 128px) clamp(20px, 4vw, 48px) clamp(64px, 8vh, 96px);
  width: 100%;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}

.hero-title, h1.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--surface);
  max-width: 18ch;
  margin-bottom: 20px;
}

/* In case h1 is a child of .hero-inner directly */
.hero-inner > h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--surface);
  max-width: 18ch;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(247,246,242,0.75);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
  align-items: center;
}

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface);
  background: rgba(20,24,29,0.45);
  border: 1px solid rgba(239,154,115,0.50);
  border-radius: var(--radius);
  padding: 7px 12px;
  backdrop-filter: blur(4px);
}

.trust-chip svg { width: 14px; height: 14px; flex-shrink: 0; }

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

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero-title, .hero-inner > h1 { font-size: clamp(44px, 12vw, 72px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn, .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

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

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  align-items: center;
}

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

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

.marquee-accent {
  color: var(--primary);
  font-size: 1.2em;
  line-height: 1;
}

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

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

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 140px;
  flex: 1 1 140px;
  max-width: 200px;
  transition: box-shadow 200ms;
}

.trust-badge:hover { box-shadow: var(--shadow-md); }

.trust-badge-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: block;
}

.trust-badge-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}

/* Trust chips in .trust-strip (contact / services pages) */
.trust-strip .trust-chip {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--primary-border);
}

@media (max-width: 640px) {
  .trust-badge { min-width: 120px; flex: 1 1 120px; }
}

/* ============================================================
   SECTIONS SHARED
   ============================================================ */
.section-inner {
  padding-block: var(--section-py);
}

.section-label {
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-sub {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
  margin-bottom: 48px;
}

.section-headline, .section-headline-flush {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

/* ============================================================
   SERVICES BENTO
   ============================================================ */
#services.services .section-inner {
  padding-block: var(--section-py);
  background: var(--canvas);
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  text-decoration: none;
  color: var(--ink);
  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);
  z-index: 2;
  text-decoration: none;
  color: var(--ink);
}

.service-card-featured {
  grid-column: 1 / 3;
  min-height: 420px;
}

.service-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  max-height: none;
  transition: transform 400ms ease;
  filter: grayscale(20%) brightness(0.75);
}
.service-card:hover > img { transform: scale(1.03); filter: grayscale(0%) brightness(0.7); }

.service-card-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 24px;
  background: linear-gradient(to top, rgba(20,24,29,0.90) 0%, rgba(20,24,29,0.55) 60%, transparent 100%);
  color: var(--surface);
}

.service-card-body h3 {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--surface);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.service-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.service-card-desc {
  font-size: 14px;
  color: rgba(247,246,242,0.75);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-block;
}

@media (max-width: 900px) {
  .services-bento { grid-template-columns: 1fr 1fr; }
  .service-card-featured { grid-column: 1 / 3; }
}

@media (max-width: 640px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card-featured { grid-column: 1 / 2; min-height: 300px; }
  .service-card { min-height: 260px; }
}

/* ============================================================
   SERVICES PAGE — FEATURE BLOCKS
   ============================================================ */
.services-intro {
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.services-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.services-intro-text {
  font-size: 17px;
  color: var(--muted);
  max-width: 64ch;
}
.services-intro-text span { color: var(--ink); font-weight: 600; }

.services-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
}
.services-intro-cta:hover { text-decoration: none; color: var(--primary-dark); }
.services-intro-cta svg { width: 16px; height: 16px; }

.services-features { padding-block: 0; }

.feature-block {
  border-bottom: 1px solid var(--border);
}

.feature-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin-inline: auto;
  min-height: 560px;
}

.feature-block.reverse .feature-block-inner {
  direction: ltr;
}

.feature-block.reverse .feature-photo { order: 2; }
.feature-block.reverse .feature-body  { order: 1; }

.feature-photo {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.feature-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 500ms ease;
  filter: grayscale(15%);
}
.feature-block:hover .feature-photo > img { transform: scale(1.03); }

.feature-photo-index {
  position: absolute;
  top: 20px; left: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--surface);
  background: rgba(20,24,29,0.65);
  padding: 5px 10px;
  border-radius: var(--radius);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.feature-body {
  padding: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}

.feature-body h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

.feature-body > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-eyebrow {
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullets li {
  font-size: 15px;
  color: var(--ink-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.feature-cta:hover { color: var(--primary-dark); text-decoration: none; }
.feature-cta svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .feature-block-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .feature-photo { min-height: 56vw; order: -1 !important; }
  .feature-body { order: 1 !important; }
}

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

.gallery-feature-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 7;
  background: var(--ink);
}

.gallery-feature-wrap > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(10%) brightness(0.8);
  transition: transform 500ms ease;
}
.gallery-feature-wrap:hover > img { transform: scale(1.02); }

.gallery-feature-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.75) 0%, transparent 55%);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.gallery-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-cta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.70);
  margin: 0;
}

.gallery-cta-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--surface);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.gallery-cta-row a:hover { filter: brightness(0.92); text-decoration: none; color: var(--surface); }

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

.gallery-section-header {
  margin-bottom: 32px;
}

.gallery-section-header h2, .gallery-section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 24px;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

.gallery-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
  z-index: 2;
}

.project-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card-img-wrap > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease;
  filter: grayscale(10%);
}
.project-card:hover .project-card-img-wrap > img { transform: scale(1.04); filter: grayscale(0%); }

.project-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--surface);
  padding: 4px 10px;
  border-radius: var(--radius);
  z-index: 2;
}

.project-card-category {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(20,24,29,0.75);
  color: rgba(247,246,242,0.85);
  padding: 4px 8px;
  border-radius: var(--radius);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.project-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-body h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.project-card-location {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.project-card-location svg { width: 12px; height: 12px; }

.project-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }

.meta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 0;
}

.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

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

/* ============================================================
   RATING CALLOUT
   ============================================================ */
.rating-callout {
  background: var(--ink);
  padding: var(--section-py) 0;
}

.rating-callout-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.rating-score-block {
  text-align: center;
  border-right: 1px solid rgba(247,246,242,0.12);
  padding-right: clamp(32px, 5vw, 72px);
}

.rating-big {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 10vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--surface);
  display: block;
}

.rating-stars-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 12px 0 8px;
}
.rating-stars-row svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

.rating-source {
  color: rgba(247,246,242,0.50);
  font-size: 11px;
}

.rating-text-block { padding: 0; }

.rating-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--surface);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.rating-body {
  font-size: 16px;
  color: rgba(247,246,242,0.65);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 52ch;
}

.rating-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rating-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(239,154,115,0.12);
  border: 1px solid rgba(239,154,115,0.30);
  border-radius: var(--radius);
  padding: 6px 12px;
}

.rating-callout .rating-callout-inner > a {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 900px) {
  .rating-callout-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rating-score-block {
    border-right: none;
    border-bottom: 1px solid rgba(247,246,242,0.12);
    padding-right: 0;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

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

.faq-inner, #faq.faq .section-inner { padding-block: var(--section-py); }

.faq-list { max-width: 760px; margin-top: 40px; }

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

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

.faq-q { flex: 1; }

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

/* fallback chevron via pseudo for details without .faq-chevron */
details > summary:not(:has(.faq-chevron))::after {
  content: "+";
  font-weight: 300;
  font-size: 22px;
  color: var(--muted);
  transition: transform 200ms, color 200ms;
  flex-shrink: 0;
}
details[open] > summary:not(:has(.faq-chevron))::after {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-a, .faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 68ch;
}
.faq-a a, .faq-answer a { color: var(--primary); }

/* ============================================================
   TEAM CTA STRIP
   ============================================================ */
.team-cta-strip {
  background: var(--primary);
  padding: 48px 0;
}

.team-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.team-cta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(20,24,29,0.65);
  margin-bottom: 6px;
}

.team-cta-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.team-cta-headline em { font-style: italic; }

.team-cta-inner > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--surface);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.team-cta-inner > a:hover { filter: brightness(1.15); text-decoration: none; color: var(--surface); }

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

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input, .form-select, .form-textarea,
input[type="text"], input[type="email"],
input[type="tel"], input[type="number"],
select, textarea,
#fname, #lname, #email, #phone, #message,
#femail, #fphone, #fmessage {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus,
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239,154,115,0.18);
}

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

.form-submit { margin-top: 4px; }

.contact-info-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  align-self: start;
}

.contact-block { margin-bottom: 0; }
.contact-rule { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

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

.info-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

.info-link { color: var(--primary); font-weight: 600; }
.info-email-link { color: var(--primary); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { order: -1; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form-side { display: flex; flex-direction: column; gap: 0; }

.contact-form-eyebrow { color: var(--primary); margin-bottom: 8px; }
.contact-form-heading { font-size: clamp(28px, 4vw, 48px); margin-bottom: 12px; }
.contact-form-intro {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}
.contact-form-intro a { color: var(--primary); font-weight: 600; }

.form-group.full-width { grid-column: 1 / -1; }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.contact-info-card > h3 {
  font-size: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.info-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-block:last-child { border-bottom: none; padding-bottom: 0; }
.info-block:first-child { padding-top: 0; }

.info-block-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

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

.info-address {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.rating-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rating-stars { display: flex; gap: 3px; }
.rating-stars svg { width: 16px; height: 16px; color: var(--primary); }
.rating-text { font-size: 13px; color: var(--muted); }

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

.area-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(239,154,115,0.10);
  color: var(--primary-dark);
  border: 1px solid rgba(239,154,115,0.25);
  border-radius: var(--radius);
  padding: 4px 10px;
}

.form-submit { margin-top: 16px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info-card { position: static; order: -1; }
}

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

.cta-banner > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  z-index: 0;
  opacity: 0.18;
  filter: grayscale(100%);
}

.cta-banner-bg {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(20,24,29,0.80);
  pointer-events: none;
}

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

.cta-banner-text { display: flex; flex-direction: column; gap: 16px; }

.cta-banner-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}

.cta-banner-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--surface);
}

.cta-banner-sub {
  font-size: 16px;
  color: rgba(247,246,242,0.65);
  line-height: 1.6;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.cta-phone:hover { color: var(--primary-light); text-decoration: none; }
.cta-phone svg { width: 24px; height: 24px; }

.cta-banner-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-banner-form h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.cta-banner-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--primary);
  text-decoration: none;
}
.cta-banner-phone:hover { text-decoration: none; color: var(--primary-dark); }
.cta-banner-phone svg { width: 20px; height: 20px; }

.cta-banner-left { display: flex; flex-direction: column; gap: 20px; }
.cta-banner-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header-overlay {
  background: linear-gradient(to top, rgba(20,24,29,0.72) 0%, rgba(20,24,29,0.35) 100%);
  position: absolute; inset: 0; z-index: 1;
}

.page-header-hairline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  z-index: 3;
}

.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 48px) clamp(40px, 6vh, 64px);
  width: 100%;
}

.page-header-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.page-header-inner h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--surface);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.page-header-sub {
  font-size: 17px;
  color: rgba(247,246,242,0.72);
  margin-top: 12px;
  line-height: 1.55;
  max-width: 56ch;
}

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

.about-story-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-story-portrait {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.about-story-portrait > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(15%);
}

.about-story-content { padding-top: 8px; }

.about-story-eyebrow { color: var(--primary); margin-bottom: 12px; }

.about-story-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
}

.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-story-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .about-story-inner { grid-template-columns: 1fr; }
  .about-story-portrait { max-width: 400px; aspect-ratio: 16 / 10; }
}

/* Values cards */
.values-cards { background: var(--surface); padding-block: var(--section-py); }
.values-cards-inner { padding-block: var(--section-py); }
.values-cards-inner > p.section-eyebrow { margin-bottom: 12px; }
.values-cards-inner > h2 { margin-bottom: 40px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-card {
  background: var(--surface);
  padding: 32px 28px;
  border-top: 4px solid var(--primary);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); z-index: 2; }

.value-card-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.value-card h3 { font-size: 20px; margin-bottom: 12px; }

.value-card-title { font-size: 18px; margin-bottom: 10px; }

.value-card-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

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

/* Journey Timeline */
.journey-timeline { background: var(--canvas); padding-block: var(--section-py); }
.journey-timeline-inner { padding-block: var(--section-py); }
.journey-timeline-inner > p.section-eyebrow { margin-bottom: 12px; }
.journey-timeline-inner > h2 { margin-bottom: 40px; }

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -9px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot-fill {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.timeline-item.visible .timeline-dot { border-color: var(--primary); }

.timeline-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.timeline-content h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-title { font-size: 18px; margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Crew strip */
.crew-strip { background: var(--surface); padding-block: var(--section-py); }
.crew-strip-inner { padding-block: var(--section-py); }
.crew-strip-inner > p.section-eyebrow { margin-bottom: 12px; }
.crew-strip-inner > h2 { margin-bottom: 40px; }

.crew-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.crew-photo-cell {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--canvas);
}
.crew-photo-cell > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%);
  transition: filter 300ms, transform 300ms;
}
.crew-photo-cell:hover > img { filter: grayscale(0%); transform: scale(1.04); }

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

/* About section (bottom) */
.about-section { background: var(--canvas); padding-block: var(--section-py); }
.about-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: var(--section-py);
}

.about-section-left { display: flex; flex-direction: column; }

.about-section-left h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }

.about-section-right p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--primary-border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 8px 14px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer, .footer {
  background: var(--ink);
  color: rgba(247,246,242,0.72);
  padding-top: 72px;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand > img { filter: brightness(0) invert(1); opacity: 0.85; }

.footer-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--surface);
  letter-spacing: -0.01em;
}

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

.footer-contact-block, .footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 8px;
}
.footer-contact-block svg, .footer-contact-row svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.footer-phone-link, .footer-email-link {
  color: rgba(247,246,242,0.72);
  font-size: 13px;
}
.footer-phone-link:hover, .footer-email-link:hover { color: var(--primary); text-decoration: underline; }

.footer-col {}

.footer-col-title, .footer-col-label, .footer-col-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.45);
  margin-bottom: 16px;
  display: block;
}

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.45);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(247,246,242,0.62);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: var(--primary); text-decoration: none; }

.footer-links li { font-size: 14px; color: rgba(247,246,242,0.40); }

.footer-address {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
  line-height: 1.65;
}

.footer-phone { font-size: 14px; color: rgba(247,246,242,0.72); }
.footer-phone a { color: rgba(247,246,242,0.72); }
.footer-phone a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(247,246,242,0.10);
  padding: 20px clamp(20px, 4vw, 48px);
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.footer-copy, .footer-bottom-copy {
  font-size: 12px;
  color: rgba(247,246,242,0.35);
}

.footer-rating { display: flex; align-items: center; gap: 8px; }
.footer-rating-stars { display: flex; gap: 2px; }
.footer-rating-stars svg { width: 12px; height: 12px; color: var(--primary); }
.footer-rating-text { font-size: 12px; color: rgba(247,246,242,0.35); }

.site-footer .footer-bottom, .footer .footer-bottom {
  max-width: 100%;
  padding-inline: clamp(20px, 4vw, 48px);
}

@media (max-width: 900px) {
  .footer-inner, .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-inner, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill, a.mobile-call, a.mobile-call-pill {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.pill-link, .mobile-call-pill > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--surface);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  white-space: nowrap;
  transition: filter 150ms, transform 150ms;
}
.pill-link:hover, .mobile-call-pill > a:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--surface);
}
.pill-link svg, .mobile-call-pill svg, a.mobile-call svg {
  width: 20px; height: 20px; flex-shrink: 0;
}
.mobile-call-pill > a > svg { width: 20px; height: 20px; }

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger > *.visible { opacity: 1; transform: translateY(0); }

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

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

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.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: 'Archivo', sans-serif;
}
.stat-label {
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}

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

/* ============================================================
   TABLE CELLS (scope to thead only)
   ============================================================ */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: var(--surface);
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.full-width { grid-column: 1 / -1; }
.reverse { }

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

/* SVG size caps */
svg { max-width: 100%; }
.nav-pages svg { width: 16px; height: 16px; }
.hero-ctas .btn svg { width: 18px; height: 18px; }
.footer-contact-row svg, .footer-contact-block svg { width: 14px; height: 14px; }
.faq-chevron { width: 20px; height: 20px; }
.rating-stars-row svg { width: 20px; height: 20px; }
.rating-stars svg { width: 16px; height: 16px; }
.footer-rating-stars svg { width: 12px; height: 12px; }
.project-card-location svg { width: 12px; height: 12px; }

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1200px) {
  .footer-inner, .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .section-inner { padding-block: calc(var(--section-py) * 0.8); }
  .about-story-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section-title { letter-spacing: -0.02em; }
  .contact-grid, .contact-inner { grid-template-columns: 1fr; }
  .marquee-band { max-height: 52px; }
}


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