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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #443420;
  --primary-dark:   #2e2215;
  --primary-light:  #5a4530;
  --accent:         #779B4D;
  --accent-dark:    #5e7d3a;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2c3138;
  --muted:          #5C6068;
  --muted-light:    #8a8f97;
  --border:         rgba(68,52,32,0.18);
  --border-light:   rgba(20,24,29,0.10);
  --shadow-sm:      0 2px 8px rgba(20,24,29,0.08);
  --shadow-md:      0 8px 32px rgba(20,24,29,0.12);
  --shadow-lg:      0 18px 48px rgba(20,24,29,0.16);
  --radius:         4px;
  --header-height:  72px;
  --section-py:     clamp(80px, 10vh, 128px);
  --container:      1320px;
  --ff-display:     'Archivo', sans-serif;
  --ff-body:        'IBM Plex Sans', sans-serif;
  --ff-mono:        'IBM Plex Mono', monospace;
}

@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: var(--ff-body);
  font-weight: 450;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

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

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

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

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

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

/* SVG caps */
svg { display: block; }
.review-stars svg { width: 18px; height: 18px; color: var(--accent); fill: var(--accent); flex-shrink: 0; }
.faq-chev { width: 20px; height: 20px; flex-shrink: 0; }
.nav-cta-ico { width: 20px; height: 20px; }
.svc-arrow svg { width: 20px; height: 20px; }
.service-block-cta svg { width: 18px; height: 18px; }
.c-detail svg { width: 22px; height: 22px; flex-shrink: 0; }
.info-icon svg { width: 22px; height: 22px; }
.crew-badge svg { width: 20px; height: 20px; }
.trust-badge svg { width: 28px; height: 28px; color: var(--primary); flex-shrink: 0; }
.footer-contact-icon { width: 18px; height: 18px; }
.mobile-cta-pill svg, .mobile-call-pill svg, .mobile-call svg, .mobile-cta svg { width: 20px; height: 20px; }
.btn-estimate svg, .btn-phone-banner svg, .cta-phone-big svg { width: 18px; height: 18px; }
.footer-social-link svg { width: 20px; height: 20px; }
.footer-phone-link svg { width: 18px; height: 18px; }
.info-emergency-icon svg { width: 22px; height: 22px; }
.area-pill svg { width: 14px; height: 14px; }
.timeline-dot-inner { width: 10px; height: 10px; }
.sil-num { font-family: var(--ff-mono); font-size: 12px; }

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

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 6vw, 88px); }
h2 { font-size: clamp(32px, 4.5vw, 64px); }
h3 { font-size: clamp(20px, 2.5vw, 30px); }

p { line-height: 1.68; }

.eyebrow, .sec-lead, .section-eyebrow, .gallery-section-eyebrow,
.values-eyebrow, .crew-eyebrow, .timeline-eyebrow, .cta-banner-eyebrow,
.about-story-eyebrow, .contact-section-label, .page-header-eyebrow,
.team-cta-ey, .services-index-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: filter 180ms ease, transform 140ms ease, box-shadow 180ms ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary, .btn-estimate {
  background: var(--primary);
  color: var(--canvas);
  border-color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 180ms ease, transform 140ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover, .btn-estimate:hover {
  filter: brightness(0.88);
  color: var(--canvas);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline, .btn-ghost, .btn-phone {
  background: transparent;
  color: var(--surface);
  border: 2px solid rgba(247,246,242,0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover, .btn-ghost:hover, .btn-phone:hover {
  border-color: var(--surface);
  background: rgba(247,246,242,0.12);
  color: var(--surface);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--surface);
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-accent:hover { filter: brightness(0.9); text-decoration: none; }

.btn-submit {
  background: var(--primary);
  color: var(--canvas);
  border: none;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  transition: filter 180ms ease;
  margin-top: 8px;
}
.btn-submit:hover { filter: brightness(0.88); }

.btn-banner-primary {
  background: var(--surface);
  color: var(--primary);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-banner-primary:hover { filter: brightness(0.94); text-decoration: none; }

.btn-banner-outline {
  background: transparent;
  color: var(--surface);
  border: 2px solid rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-banner-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.btn-phone-banner {
  background: transparent;
  color: var(--surface);
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms;
  text-decoration: none;
  white-space: nowrap;
}
.btn-phone-banner:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

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

.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: var(--header-height);
}

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }

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

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.nav-pages a:hover {
  color: var(--primary);
  text-decoration: none;
  border-bottom-color: var(--primary);
}
.nav-pages a[aria-current="page"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

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

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

@media (max-width: 900px) {
  .nav-pages {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--canvas);
    padding: 24px clamp(20px, 4vw, 60px);
    gap: 4px;
    border-bottom: 1px solid rgba(20,24,29,0.08);
    z-index: 800;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .nav-pages.open { display: flex; }
  .nav-pages li { width: 100%; }
  .nav-pages a { padding: 10px 0; font-size: 16px; display: block; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-cta span { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: clamp(600px, 90vh, 960px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 6vw, 96px);
}

.hero-overlay {
  background: rgba(20,24,29,0.55);
}

/* Brand hairline at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  z-index: 3;
}

.hero-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.75);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--surface);
  max-width: 16ch;
  margin-bottom: 20px;
}

h1.hero-title { font-size: clamp(48px, 7vw, 120px); }

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(247,246,242,0.78);
  max-width: 54ch;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
}
.trust-chip svg { width: 14px; height: 14px; color: var(--primary); fill: var(--primary); }

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

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

.marquee-item {
  font-family: var(--ff-mono);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 15px);
  line-height: 1.2;
  color: rgba(247,246,242,0.85);
  flex-shrink: 0;
}

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

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

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

.trust-strip-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

div.trust-strip {
  background: var(--surface);
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-badge-text {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
}

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

.services-hdr {
  margin-bottom: 48px;
}

.services-hdr h2, .sec-title { font-size: clamp(32px, 4vw, 60px); }
.sec-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 60ch;
  margin-top: 12px;
  font-family: var(--ff-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
}

.svc-list {
  border-top: 1px solid var(--border-light);
  margin-bottom: 48px;
}

.svc-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms;
}
.svc-row:hover { background: rgba(68,52,32,0.04); text-decoration: none; }
.svc-row.row-on { background: rgba(68,52,32,0.06); }
.svc-row:hover .svc-arrow { color: var(--primary); }

.svc-num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--muted-light);
  line-height: 1;
}

.svc-info { display: flex; flex-direction: column; gap: 4px; }

.svc-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.svc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 55ch;
}

.svc-arrow {
  color: var(--muted-light);
  transition: color 150ms, transform 150ms;
  display: flex;
  align-items: center;
}
.svc-row:hover .svc-arrow { transform: translateX(4px); }

/* Service panels */
.svc-panels { margin-top: 8px; }

.svc-panel {
  display: none;
  grid-template-columns: 45% 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
}
.svc-panel.on { display: grid; }

.svc-panel-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.svc-panel-img img { width: 100%; height: 100%; object-fit: cover; max-height: none; }

.svc-panel-body h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 16px;
  color: var(--ink);
}
.svc-panel-body p {
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 16px;
}
.svc-panel-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}
.svc-panel-body a:hover { text-decoration: underline; }

/* Services all link */
.services-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 12px;
}

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-panel-img { aspect-ratio: 16/9; }
  .svc-panel { padding: 24px; }
}

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

.gallery-hdr {
  margin-bottom: 32px;
}

.gallery-feat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.gallery-feat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
}

.gallery-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.gallery-feat-overlay a {
  color: var(--surface);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(247,246,242,0.5);
  padding: 10px 20px;
  border-radius: var(--radius);
}
.gallery-feat-overlay a:hover { background: rgba(247,246,242,0.1); text-decoration: none; }

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

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

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.gallery-header-row h2 { font-size: clamp(28px, 3.5vw, 52px); }
.gallery-section-eyebrow { margin-bottom: 8px; }

.gallery-count {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.filter-pill:hover, .filter-pill.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(68,52,32,0.05);
}

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

.gallery-card {
  background: var(--surface);
  border-radius: 0;
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.gallery-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); z-index: 2; }

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

.gallery-card-body {
  padding: 20px;
}
.gallery-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gallery-card-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.gallery-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.gallery-card-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-meta-item {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* Gallery badge */
.gallery-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}

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

.reviews-hdr {
  margin-bottom: 48px;
}
.reviews-hdr h2 { font-size: clamp(28px, 3.5vw, 52px); }

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

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

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

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

.review-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-attr strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.review-attr span {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
}

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

/* ============================================================
   SERVICE AREAS
   ============================================================ */
section.svc-areas {
  background: var(--canvas);
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border-light);
}

.svc-areas-lbl {
  margin-bottom: 32px;
}
.svc-areas-title { font-size: clamp(28px, 3.5vw, 52px); }

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: border-color 150ms, color 150ms;
}
.area-pill:hover { border-color: var(--primary); color: var(--primary); }

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

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

.faq-hdr { margin-bottom: 48px; }

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

details {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

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

.faq-q { flex: 1; }

.faq-chev {
  color: var(--muted);
  transition: transform 200ms, color 200ms;
  flex-shrink: 0;
}

details[open] > summary .faq-chev {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-ans {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  padding-right: 40px;
}

/* ============================================================
   TEAM CTA SECTION
   ============================================================ */
section.team-cta {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

section.team-cta > img:first-of-type {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  max-height: none;
}

.team-cta-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20,24,29,0.6);
  z-index: 1;
}

section.team-cta .inner {
  position: relative;
  z-index: 2;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.team-cta-ey {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.7);
  margin-bottom: 16px;
}

section.team-cta h2 {
  color: var(--surface);
  font-size: clamp(32px, 4.5vw, 64px);
  margin-bottom: 32px;
  max-width: 20ch;
}

.team-cta-h { color: var(--surface); }

section.team-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--canvas);
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
section.team-cta a:hover { filter: brightness(0.88); text-decoration: none; }

/* ============================================================
   CTA BANNER
   ============================================================ */
section.cta-banner {
  background: var(--primary);
  padding: clamp(56px, 8vh, 100px) 0;
}

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

.cta-banner-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.65);
  margin-bottom: 12px;
}

.cta-banner-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin-bottom: 12px;
}

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

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

.cta-banner-left { }
.cta-banner-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.cta-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 36px);
  color: var(--surface);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cta-phone-big:hover { text-decoration: underline; color: var(--surface); }

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

.cta-banner-text { }
.cta-banner-phone {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 34px);
  color: var(--surface);
  text-decoration: none;
}
.cta-banner-phone:hover { text-decoration: underline; }

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

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

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

.contact-info h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 8px;
}

.contact-info .eyebrow { margin-bottom: 16px; }

.c-detail {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
.c-detail svg { color: var(--primary); margin-top: 2px; }
.c-detail-lbl {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.c-detail-val {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.c-detail-val a { color: var(--ink); }
.c-detail-val a:hover { color: var(--primary); }

/* Contact form column */
.contact-form-col .eyebrow,
.contact-form-col > .eyebrow,
.contact-form-col > [class*="eyebrow"] {
  margin-bottom: 16px;
}

.contact-form-col h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  margin-bottom: 24px;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.ff, .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

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

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

.form-input, input.form-input,
.ff input, .form-group input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
}
.form-input:focus, .ff input:focus, .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(68,52,32,0.1);
}

.form-select, select.form-select,
.ff select, .form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  transition: border-color 150ms;
  appearance: none;
}
.form-select:focus, .ff select:focus { outline: none; border-color: var(--primary); }

.form-textarea, textarea.form-textarea,
.ff textarea, .form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  min-height: 120px;
  resize: vertical;
  width: 100%;
  transition: border-color 150ms;
}
.ff textarea:focus, .form-group textarea:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(68,52,32,0.1);
}

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

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

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

/* Contact info card */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
}

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

.info-card-phone {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
.info-card-phone:hover { color: var(--primary); text-decoration: none; }

.info-card-tagline {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

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

.info-row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.info-content { flex: 1; }

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

.info-content-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.info-content-value a { color: var(--ink); }
.info-content-value a:hover { color: var(--primary); }

.info-emergency {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px;
  background: rgba(68,52,32,0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.info-emergency-icon { color: var(--primary); flex-shrink: 0; }
.info-emergency-text {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.info-emergency-text a { color: var(--primary); font-weight: 600; }

/* ============================================================
   CONTACT SECTION (contact.html)
   ============================================================ */
section#contact.contact:not(.cta-banner) {
  padding: var(--section-py) 0;
}

/* Contact form (contact.html) */
.contact-form-col {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
}

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

.contact-form-intro {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* contact.html grid */
section#contact.contact > .contact-grid {
  padding-inline: clamp(20px, 4vw, 60px);
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: clamp(280px, 40vh, 480px);
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,24,29,0.58);
  z-index: 1;
}

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

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

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

.page-header-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--surface);
  margin-bottom: 12px;
}

.page-header-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(247,246,242,0.72);
  max-width: 52ch;
  line-height: 1.55;
}

/* ============================================================
   SERVICES DETAIL (services.html)
   ============================================================ */
.services-index {
  background: var(--primary);
  padding: 24px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 800;
}

.services-index-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.services-index-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.6);
  flex-shrink: 0;
}

.services-index-list {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.services-index-list li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.75);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 150ms, color 150ms;
}
.services-index-list li a:hover {
  background: rgba(247,246,242,0.1);
  color: var(--surface);
  text-decoration: none;
}

.services-index-list a svg { width: 14px; height: 14px; }

section#services.services-detail {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

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

.section-eyebrow { margin-bottom: 12px; }
.section-title { font-size: clamp(32px, 4.5vw, 64px); margin-bottom: 16px; }
.section-intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 64px;
  line-height: 1.65;
}

/* Service blocks (services.html) */
.service-block {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-light);
}

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

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

.service-block-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--surface);
  background: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius);
  z-index: 2;
}

.service-block-body { }

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

.service-block-body h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  margin-bottom: 16px;
  color: var(--ink);
}

.service-block-desc {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-block-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.service-block-bullets li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-light);
}
.service-block-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.service-block-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: opacity 150ms;
}
.service-block-cta:hover { opacity: 0.75; text-decoration: none; }

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .service-block.reverse { direction: ltr; }
  .services-index { position: relative; }
  .services-index-inner { flex-wrap: wrap; }
  .services-index-list { gap: 4px; }
}

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

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

.about-story-portrait-col {
  position: relative;
}
.about-story-portrait-col img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  max-height: none;
}

.about-story-portrait-caption {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.about-story-eyebrow { margin-bottom: 12px; }

.about-story-text-col h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  margin-bottom: 24px;
}

.about-story-headline {
  font-size: clamp(28px, 3.5vw, 52px);
  margin-bottom: 24px;
}

.about-story-body p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

.about-story-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 0 16px 24px;
  margin: 24px 0;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.55;
}

.about-story-sig {
  margin-top: 24px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-story-sig strong { color: var(--ink); }

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

/* ============================================================
   VALUES SECTION
   ============================================================ */
section.values-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}

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

.values-header {
  margin-bottom: 48px;
}
.values-header h2 { font-size: clamp(28px, 3.5vw, 52px); }

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

.value-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--canvas);
  border-top: 4px solid var(--primary);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--primary);
  transition: transform 250ms ease-out;
}
.value-card:hover { transform: translateY(-3px); }

.value-num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.value-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}

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

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

/* ============================================================
   TIMELINE
   ============================================================ */
section.timeline-section {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

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

.timeline-header {
  margin-bottom: 48px;
}
.timeline-header h2 { font-size: clamp(28px, 3.5vw, 52px); }
.timeline-eyebrow { margin-bottom: 12px; }

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  padding: 0 24px 0 0;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.timeline-dot-inner {
  border-radius: 50%;
  background: var(--primary);
}

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

.timeline-step h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-step-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

.timeline-step-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ============================================================
   CREW SECTION
   ============================================================ */
section.crew-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}

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

.crew-header {
  margin-bottom: 40px;
}
.crew-header h2 { font-size: clamp(28px, 3.5vw, 52px); }
.crew-eyebrow { margin-bottom: 12px; }
.crew-title { font-size: clamp(28px, 3.5vw, 52px); }

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.crew-photo-cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.crew-photo-cell.feature {
  grid-column: span 2;
  aspect-ratio: 16/10;
}
.crew-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(15%);
  transition: filter 400ms;
}
.crew-photo-cell:hover img { filter: grayscale(0%); }

.crew-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.55) 0%, transparent 60%);
}

.crew-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--surface);
  z-index: 2;
}

.crew-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.crew-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.crew-badge svg { color: var(--primary); }

@media (max-width: 900px) {
  .crew-grid { grid-template-columns: 1fr; }
  .crew-photo-cell.feature { grid-column: span 1; aspect-ratio: 16/9; }
}

/* ============================================================
   ABOUT BRIDGE
   ============================================================ */
section.about-bridge {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.about-bridge > div {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-bridge img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  max-height: none;
}

.about-bridge h2 { font-size: clamp(24px, 3vw, 44px); margin-bottom: 16px; }

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

.about-bridge div > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--canvas);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-right: 12px;
  margin-top: 16px;
}
.about-bridge div > a:hover { filter: brightness(0.88); text-decoration: none; }

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

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand { }
.footer-brand-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--surface);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.45);
  margin-top: 6px;
  margin-bottom: 16px;
}

.footer-brand-desc, .footer-desc {
  font-size: 14px;
  color: rgba(247,246,242,0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer-col-h, .footer-col-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.4);
  margin-bottom: 16px;
  display: block;
}

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

.footer-links li a, .footer-col a {
  font-size: 14px;
  color: rgba(247,246,242,0.65);
  text-decoration: none;
  transition: color 150ms;
  display: block;
  padding: 2px 0;
}
.footer-links li a:hover, .footer-col a:hover {
  color: var(--surface);
  text-decoration: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(247,246,242,0.65);
}
.footer-contact-item svg { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(247,246,242,0.75); }
.footer-contact-item a:hover { color: var(--surface); text-decoration: none; }

.footer-contact-line a {
  color: rgba(247,246,242,0.75);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.footer-contact-line a:hover { color: var(--surface); text-decoration: none; }

.footer-contact-block { margin-top: 16px; }

.footer-hours {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
  line-height: 1.7;
}
.footer-hours strong { color: rgba(247,246,242,0.75); }
.footer-hours a { color: rgba(247,246,242,0.75); }

.footer-info-rows { display: flex; flex-direction: column; gap: 12px; }
.footer-info-row { display: flex; flex-direction: column; gap: 2px; }
.footer-info-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.35);
}
.footer-info-value { font-size: 14px; color: rgba(247,246,242,0.65); }
.footer-info-value a { color: rgba(247,246,242,0.75); }
.footer-info-value a:hover { color: var(--surface); text-decoration: none; }

.footer-trust-list { display: flex; flex-direction: column; gap: 10px; }
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(247,246,242,0.6);
}
.footer-trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

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

.footer-divider {
  border: none;
  border-top: 1px solid rgba(247,246,242,0.08);
  margin: 0;
}

.footer-bot, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(247,246,242,0.08);
  margin-top: 0;
}

.footer-copy, .footer-copyright, .footer-legal {
  font-size: 13px;
  color: rgba(247,246,242,0.35);
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-cert, .footer-badge {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(247,246,242,0.18);
  border-radius: var(--radius);
  color: rgba(247,246,242,0.55);
}

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-socials { display: flex; gap: 12px; }
.footer-social-link {
  color: rgba(247,246,242,0.5);
  transition: color 150ms;
}
.footer-social-link:hover { color: var(--surface); text-decoration: none; }

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247,246,242,0.75);
  font-weight: 600;
  font-size: 15px;
  margin-top: 12px;
}
.footer-phone-link:hover { color: var(--surface); text-decoration: none; }

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

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-cta-pill, .mobile-call-pill, .mobile-cta, .mobile-call {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  background: var(--primary);
  color: var(--canvas);
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: filter 180ms, transform 180ms;
}
.mobile-cta-pill:hover, .mobile-call-pill:hover, .mobile-cta:hover, .mobile-call:hover {
  filter: brightness(0.88);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--canvas);
}

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

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

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

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

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s 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); }
.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; }

/* ============================================================
   SERVICE CARD HOVER (shared)
   ============================================================ */
.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);
}

/* ============================================================
   STAT STYLES
   ============================================================ */
.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(--ff-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(--ff-mono);
  font-weight: 600;
}

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

/* ============================================================
   MISC HELPERS
   ============================================================ */
.on { display: block; }

blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE CLEANUP
   ============================================================ */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-estimate, .btn-outline, .btn-ghost,
  .btn-phone, .btn-accent, .btn-banner-primary, .btn-banner-outline {
    width: 100%;
    justify-content: center;
  }
  .contact-form-col { padding: 24px; }
  .svc-panel { padding: 20px; }
  .services-index { display: none; }
  .cta-banner-inner { flex-direction: column; }
}

@media (max-width: 900px) {
  .hero { min-height: clamp(480px, 75vh, 700px); }
  .hero-title { max-width: 100%; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.svc-num { grid-column: 1 / -1; }
.svc-info { grid-column: 1 / -1; }
.svc-arrow { grid-column: 1 / -1; }
.svc-panel-img { grid-column: 1 / -1; }
.svc-panel-body { grid-column: 1 / -1; }
.ff { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.service-block-img { grid-column: 1 / -1; }
.service-block-body { grid-column: 1 / -1; }
.cta-banner-text { grid-column: 1 / -1; }
.cta-banner-actions { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.about-story-text-col { grid-column: 1 / -1; }
/* validator patch: never hide a wrapper that contains a heading */
.svc-panel { display: block !important; }
/* 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; }
