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

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --primary:        #8A9A6B;
  --accent:         #6B7A52;
  --primary-dark:   #7a8a5e;
  --primary-pale:   #e8eddf;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2e353d;
  --muted:          #5C6068;
  --border:         rgba(20,24,29,0.12);
  --border-strong:  rgba(20,24,29,0.22);
  --surface-2:      #f0efe9;
  --header-height:  72px;

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

  --r-card:  4px;
  --r-btn:   4px;
  --r-chip:  4px;

  --section-pad: clamp(80px, 10vh, 128px);
  --max-w: 1320px;
  --max-w-wide: 1400px;
}

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

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

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

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

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

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

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

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

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay):not(.hero-hairline) {
  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,
.page-header img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 0;
}

section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}

section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

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

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

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

ul { list-style: none; }

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

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

p { line-height: 1.7; }

.eyebrow, .section-eyebrow, .page-header-eyebrow {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: clamp(11px, 1vw, 13px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
  margin-bottom: 14px;
}

/* ─── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.wide-container { max-width: var(--max-w-wide); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section-inner { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section-pad { padding-block: var(--section-pad); }

/* ─── SCROLL PROGRESS ────────────────────────────────────────────────────── */
.scroll-progress, #scrollProgress, #scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; background: var(--primary);
  transform-origin: left; transform: scaleX(0);
  z-index: 9999; transition: transform 100ms linear;
}

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

.top-nav {
  height: var(--header-height);
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: 32px;
  position: relative;
}

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { max-height: 44px !important; max-width: 200px !important; }

.nav-pages {
  flex: 1; display: flex; justify-content: center;
  gap: 28px; align-items: center;
}
.nav-pages a {
  display: inline-block; padding: 6px 0;
  font-family: var(--ff-body); font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  transition: color 150ms;
}
.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(--r-btn);
  font-family: var(--ff-body); font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: filter 200ms;
}
.nav-cta:hover { filter: brightness(0.92); color: var(--surface); text-decoration: none; }
.nav-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-pages {
    display: none; flex-direction: column;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--canvas); padding: 24px;
    gap: 8px; border-bottom: 1px solid rgba(20,24,29,0.08);
    z-index: 100; justify-content: flex-start;
  }
  .nav-pages.open { display: flex; }
  .nav-cta { padding: 8px 12px; }
  .nav-cta span:not(.nav-cta-icon) { display: none; }
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 700;
  padding: 14px 26px; border-radius: var(--r-btn);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: filter 200ms, background 200ms, color 200ms, border-color 200ms;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

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

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

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

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

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

.btn-block { width: 100%; justify-content: center; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
#hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(64px, 8vh, 96px);
}

#hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 0;
}

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(20,24,29,0.72) 0%,
    rgba(20,24,29,0.48) 50%,
    rgba(20,24,29,0.35) 100%
  );
}

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

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

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
  display: block; margin-bottom: 20px;
}

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

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

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

.hero-trust-chips {
  display: flex; flex-wrap: wrap; gap: 12px;
}

.hero-chip {
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--surface);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--primary);
  border-radius: var(--r-chip);
  padding: 6px 12px;
  backdrop-filter: blur(4px);
}

/* ─── TRUST STRIP ────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 24px;
}

.trust-strip-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center;
}

.trust-badge, .trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--primary);
  border-radius: var(--r-chip);
  padding: 8px 14px;
  white-space: nowrap;
}

.trust-badge svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

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

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

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

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

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

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

/* ─── SERVICES ────────────────────────────────────────────────────────────── */
#services { background: var(--canvas); }

.services-header {
  margin-bottom: 56px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 32px;
}
@media (max-width: 640px) { .services-header { grid-template-columns: 1fr; } }

.services-header .section-eyebrow { margin-bottom: 10px; }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.02em;
}

.services-intro {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted); max-width: 54ch;
  line-height: 1.65;
}

/* Service registry rows */
.services-list { border-top: 1px solid var(--border-strong); }

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 200ms;
}
.service-row:hover { background: rgba(138,154,107,0.04); }

.service-index {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800; color: var(--muted);
  line-height: 1;
}

.service-row-name {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.service-row-desc {
  font-size: 14px; color: var(--muted);
  line-height: 1.5; max-width: 56ch;
}

.service-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: transform 250ms ease-out;
}
.service-arrow svg { width: 24px; height: 24px; }
.service-row:hover .service-arrow { transform: translateX(4px); }

/* Service panels */
.service-panel {
  display: none;
  grid-template-columns: 45% 1fr;
  gap: 40px; align-items: start;
  padding: 40px 0 40px 56px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  border-left: 3px solid var(--primary);
  margin-left: -20px; padding-left: 40px;
}
.service-panel.active { display: grid; }

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

.service-panel-body h3 {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 16px;
}
.service-panel-body p {
  color: var(--muted); font-size: 15px;
  line-height: 1.7; margin-bottom: 12px;
}

.services-footer { margin-top: 48px; text-align: center; }

@media (max-width: 900px) {
  .service-panel { grid-template-columns: 1fr; padding-left: 20px; margin-left: 0; }
  .service-panel-photo { max-height: 280px; }
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: 40px 1fr auto; gap: 12px; }
}

/* ─── GALLERY (index.html split) ──────────────────────────────────────────── */
#gallery { background: var(--surface); }

.gallery-split {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 64px; align-items: center;
}
.gallery-split .gallery-photo {
  border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-split .gallery-photo img {
  width: 100%; height: 100%; object-fit: cover; max-height: none !important;
}
.gallery-body .section-eyebrow { margin-bottom: 12px; }
.gallery-body h2 { margin-bottom: 20px; }
.gallery-body p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

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

/* ─── CREDENTIALS ─────────────────────────────────────────────────────────── */
#credentials { background: var(--canvas); }

.cred-header-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px 64px; align-items: end; margin-bottom: 56px;
}
.cred-header-row .section-eyebrow { margin-bottom: 8px; }
.cred-header-row h2 { line-height: 1.0; }
.cred-header-text { color: var(--muted); font-size: 16px; line-height: 1.65; }

@media (max-width: 640px) { .cred-header-row { grid-template-columns: 1fr; } }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* The unique move: license registry cards */
.cred-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--r-card);
  padding: 24px 20px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.cred-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(20,24,29,0.14);
}

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

.cred-value {
  font-family: var(--ff-mono);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600; color: var(--ink);
  line-height: 1.3;
}

/* about.html credentials variant */
.credentials { background: var(--canvas); padding-block: var(--section-pad); }
.credentials-header { margin-bottom: 48px; }
.credentials-header .section-eyebrow { margin-bottom: 10px; }
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* ─── REVIEWS ─────────────────────────────────────────────────────────────── */
#reviews { background: var(--surface); }
#reviews .fade-up { margin-bottom: 48px; }

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

.review-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r-card);
  padding: 28px;
}

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

.review-quote {
  font-size: 16px; line-height: 1.6;
  color: var(--ink-mid); margin-bottom: 16px;
}

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

/* ─── SERVICE AREAS ──────────────────────────────────────────────────────── */
#service-areas { background: var(--canvas); }

.areas-header { margin-bottom: 36px; }
.areas-header .section-eyebrow { margin-bottom: 8px; }
.areas-header h2 { font-size: clamp(28px, 4vw, 54px); }

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

.area-pill, .service-area-pill {
  font-family: var(--ff-mono);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: var(--r-chip);
  padding: 8px 16px;
  transition: background 200ms, color 200ms;
}
.area-pill:hover, .service-area-pill:hover {
  background: var(--primary); color: var(--surface);
}

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

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
#faq { background: var(--surface); }

.faq-preamble { margin-bottom: 48px; }
.faq-preamble .section-eyebrow { margin-bottom: 10px; }

.faq-list { border-top: 1px solid var(--border); }

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

details.faq-item > summary {
  cursor: pointer; font-weight: 700;
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.5vw, 19px);
  list-style: none; display: flex;
  justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 24px;
  min-height: 68px;
  color: var(--ink);
}
details.faq-item > summary::-webkit-details-marker { display: none; }

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

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

/* ─── TEAM CTA ─────────────────────────────────────────────────────────────── */
.team-cta {
  background: var(--ink);
  padding-block: clamp(64px, 8vh, 96px);
}

.team-cta-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 32px;
}

.team-cta-headline {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.03em; color: var(--surface);
  max-width: 22ch;
}
.team-cta-headline em {
  font-style: normal; color: var(--primary);
}

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
#contact.section-pad { background: var(--canvas); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: start;
}
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-eyebrow {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); display: block; margin-bottom: 10px;
}
.contact-form-title {
  font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px;
}
.contact-form-sub { color: var(--muted); margin-bottom: 36px; }

/* Forms */
.form-group { margin-bottom: 20px; position: relative; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); display: block; margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select,
input[type="text"], input[type="email"], input[type="tel"],
input[type="name"], textarea, select {
  width: 100%; padding: 12px 14px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card);
  font-family: var(--ff-body); font-size: 15px;
  transition: border-color 200ms, box-shadow 200ms;
  outline: none; appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus,
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(138,154,107,0.18);
}
.form-textarea, textarea {
  min-height: 120px; resize: vertical; line-height: 1.6;
}

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

/* Contact info side */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--r-card);
  padding: 32px;
}
.contact-info-title { font-size: clamp(18px, 2vw, 24px); margin-bottom: 8px; }
.info-card-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); display: block; margin-bottom: 10px;
}
.info-card-name { font-size: 22px; font-weight: 700; margin-bottom: 24px; line-height: 1.2; }

.info-item {
  display: grid; grid-template-columns: 24px 1fr;
  gap: 14px; align-items: start; margin-bottom: 18px;
}
.info-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-icon svg { width: 20px; height: 20px; }

.info-block { display: flex; flex-direction: column; gap: 2px; }
.info-block-label {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.info-block-value { font-size: 15px; color: var(--ink); font-weight: 500; }

.info-divider { height: 1px; background: var(--border); margin: 18px 0; }

.contact-detail {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 14px; align-items: start; margin-bottom: 20px;
}
.contact-icon { width: 24px; height: 24px; color: var(--primary); margin-top: 2px; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-detail-label {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 2px;
}
.contact-detail-value { font-size: 15px; color: var(--ink); font-weight: 500; }

/* ─── SOCIAL ───────────────────────────────────────────────────────────────── */
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--canvas); border: 1px solid var(--border);
  border-radius: var(--r-card); color: var(--ink);
  transition: background 200ms, color 200ms, border-color 200ms;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  background: var(--primary); color: var(--surface); border-color: var(--primary);
  text-decoration: none;
}

/* ─── PAGE HEADER ──────────────────────────────────────────────────────────── */
.page-header {
  min-height: 48vh; max-height: 64vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 6vh, 64px);
}
.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(20,24,29,0.78) 0%, rgba(20,24,29,0.38) 60%, transparent 100%);
}
.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-inline: clamp(20px, 5vw, 48px);
}
.page-header-eyebrow {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); display: block; margin-bottom: 12px;
}
.page-header-h1, h1.page-header-h1 {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--surface);
}
.page-header-sub {
  color: rgba(247,246,242,0.75); font-size: clamp(15px, 1.5vw, 18px);
  margin-top: 12px; max-width: 56ch; line-height: 1.65;
}
.page-header-title { font-size: clamp(48px, 7vw, 96px); color: var(--surface); }

/* ─── SERVICES PAGE ────────────────────────────────────────────────────────── */
.services-nav-strip {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-block: 0;
  position: sticky; top: var(--header-height); z-index: 800;
}
.services-nav-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.services-nav-inner::-webkit-scrollbar { display: none; }
.services-nav-inner a {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(247,246,242,0.6); text-decoration: none;
  padding: 16px 18px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.services-nav-inner a:hover, .services-nav-inner a.active {
  color: var(--primary); border-bottom-color: var(--primary);
  text-decoration: none;
}
.services-nav-label {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(247,246,242,0.35); padding: 16px 18px 16px 0;
  white-space: nowrap;
}

.services-detail { background: var(--canvas); }

.service-block {
  border-bottom: 1px solid var(--border);
  padding-block: clamp(64px, 8vh, 96px);
}
.service-block:nth-child(even) { background: var(--surface); }

.service-block-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 45% 1fr;
  gap: 64px; align-items: center;
}
.service-block:nth-child(even) .service-block-inner {
  direction: rtl;
}
.service-block:nth-child(even) .service-block-inner > * {
  direction: ltr;
}

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

.service-block-num {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); display: block; margin-bottom: 12px;
}
.service-block-title {
  font-size: clamp(28px, 3.5vw, 48px); margin-bottom: 20px;
}
.service-block-body { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.service-block-bullets { margin: 16px 0 28px 0; }
.service-block-bullets li {
  font-size: 15px; color: var(--ink-mid);
  padding: 7px 0 7px 20px; border-bottom: 1px solid var(--border);
  position: relative;
}
.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%;
}

@media (max-width: 900px) {
  .service-block-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-block:nth-child(even) .service-block-inner { direction: ltr; }
  .service-block-photo { order: -1 !important; }
}

/* ─── CTA BANNER ────────────────────────────────────────────────────────────── */
.cta-banner {
  position: relative; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
  background: var(--ink);
}
.cta-banner > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.cta-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(20,24,29,0.75);
}
.cta-banner-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin-inline: auto;
  padding: clamp(64px, 8vh, 96px) clamp(20px, 5vw, 48px);
  width: 100%;
  display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .cta-banner-inner { grid-template-columns: 1fr; } }

.cta-banner-text { }
.cta-banner-eyebrow, .eyebrow {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); display: block; margin-bottom: 14px;
}
.cta-banner-title { color: var(--surface); font-size: clamp(32px, 5vw, 62px); margin-bottom: 16px; }
.cta-banner-sub { color: rgba(247,246,242,0.72); font-size: 17px; margin-bottom: 28px; line-height: 1.6; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.cta-banner-phone {
  font-size: 22px; font-weight: 700; color: var(--surface); text-decoration: none;
}
.cta-banner-form { background: rgba(255,255,255,0.06); border-radius: var(--r-card); padding: 28px; }
.cta-banner-form input,
.cta-banner-form textarea {
  background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); color: var(--surface);
}
.cta-banner-form input::placeholder,
.cta-banner-form textarea::placeholder { color: rgba(247,246,242,0.45); }
.cta-banner-form input:focus, .cta-banner-form textarea:focus {
  border-color: var(--primary);
}

/* ─── GALLERY PAGE ─────────────────────────────────────────────────────────── */
.gallery-filter { background: var(--canvas); padding-block: 28px; border-bottom: 1px solid var(--border); }
.gallery-filter-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.filter-label {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-right: 8px;
}
.filter-pill {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--r-chip);
  padding: 7px 14px; cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary); color: var(--surface); border-color: var(--primary);
}

.case-grid-section { background: var(--canvas); padding-block: var(--section-pad); }
.case-grid-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.case-grid-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 40px;
}
.case-grid-title { font-size: clamp(26px, 4vw, 48px); }
.case-grid-count {
  font-family: var(--ff-mono); font-size: 13px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.06em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(20,24,29,0.18);
}

.case-card-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.case-card-media img {
  width: 100%; height: 100%; object-fit: cover; max-height: none !important;
}
.case-card-num {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(20,24,29,0.75); color: var(--surface);
  padding: 4px 8px; border-radius: 2px;
}
.case-card-cat {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--primary); color: var(--surface);
  padding: 4px 8px; border-radius: 2px;
}

.case-card-body { padding: 20px; }
.case-card-title { font-size: 18px; margin-bottom: 8px; }
.case-card-location {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--muted); margin-bottom: 10px;
}
.case-card-location svg { width: 14px; height: 14px; }
.case-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.case-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); text-decoration: none;
  transition: gap 200ms;
}
.case-card-link svg { width: 14px; height: 14px; }
.case-card-link:hover { gap: 10px; text-decoration: none; }

/* ─── ABOUT PAGE ────────────────────────────────────────────────────────────── */
.founder-story { background: var(--canvas); padding-block: var(--section-pad); }
.founder-story-grid {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 420px 1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 900px) { .founder-story-grid { grid-template-columns: 1fr; } }

.founder-portrait {
  border-radius: var(--r-card); overflow: hidden;
  position: relative;
}
.founder-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; max-height: none !important;
}

.founder-story-text .section-eyebrow { margin-bottom: 12px; }
.founder-story-text h2 { margin-bottom: 24px; font-size: clamp(30px, 4vw, 52px); }

.drop-cap { font-size: 17px; line-height: 1.7; color: var(--ink-mid); margin-bottom: 20px; }
.drop-cap::first-letter {
  font-family: var(--ff-display); font-size: 4em; font-weight: 800;
  float: left; line-height: 0.8; margin: 0.06em 12px 0 0;
  color: var(--primary);
}

.founder-blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 20px; margin: 24px 0;
  font-size: 18px; font-style: italic;
  color: var(--ink); line-height: 1.6;
}

/* Values */
.values { background: var(--surface); padding-block: var(--section-pad); }
.values-header {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  margin-bottom: 48px;
}
.values-header .section-eyebrow { margin-bottom: 10px; }
.values-header h2 { font-size: clamp(30px, 4vw, 56px); }
.values-grid {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--r-card);
  padding: 28px;
  transition: transform 250ms ease-out;
}
.value-card:hover { transform: translateY(-2px); }
.value-card-num {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: 14px;
}
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Timeline */
.timeline { background: var(--canvas); padding-block: var(--section-pad); }
.timeline-header {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  margin-bottom: 56px;
}
.timeline-header .section-eyebrow { margin-bottom: 10px; }

.timeline-track {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; position: relative;
}
@media (max-width: 900px) { .timeline-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .timeline-track { grid-template-columns: 1fr; } }

.timeline-step { position: relative; padding-top: 36px; }
.timeline-dot {
  position: absolute; top: 0; left: 0;
  width: 28px; height: 28px;
  border: 2px solid var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--canvas);
}
.timeline-dot-core {
  width: 10px; height: 10px;
  background: var(--primary); border-radius: 50%;
}
.timeline-year {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: 8px;
}
.timeline-step h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Crew strip */
.crew-strip { background: var(--surface); padding-block: var(--section-pad); }
.crew-strip-header {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  margin-bottom: 48px;
}
.crew-strip-header .section-eyebrow { margin-bottom: 10px; }

.crew-grid {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 640px) { .crew-grid { grid-template-columns: 1fr; } }

.crew-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
}
.crew-card h3 { font-size: 20px; margin-bottom: 4px; }
.crew-card-role {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); margin-bottom: 12px;
}
.crew-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* About bridge */
.about-bridge { background: var(--ink); padding-block: var(--section-pad); }
.about-bridge-grid {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 45% 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 900px) { .about-bridge-grid { grid-template-columns: 1fr; } }

.about-bridge-img {
  border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3;
}
.about-bridge-img img { width: 100%; height: 100%; object-fit: cover; max-height: none !important; }
.about-bridge-text .section-eyebrow { color: var(--primary); margin-bottom: 12px; }
.about-bridge-text h2 { color: var(--surface); font-size: clamp(28px, 4vw, 52px); margin-bottom: 20px; }
.about-bridge-text p { color: rgba(247,246,242,0.72); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }

/* ─── CONTACT PAGE ─────────────────────────────────────────────────────────── */
.contact-section { background: var(--canvas); padding-block: var(--section-pad); }
.contact-form-col h2, .contact-form-col > h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(247,246,242,0.7);
  padding-top: clamp(64px, 8vh, 96px);
}

.footer-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px; padding-bottom: clamp(48px, 6vh, 64px);
  border-bottom: 1px solid rgba(247,246,242,0.1);
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { max-height: 40px !important; margin-bottom: 16px; }
.footer-brand-name {
  font-family: var(--ff-display); font-size: 18px; font-weight: 800;
  color: var(--surface); margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: rgba(247,246,242,0.55); margin-bottom: 16px; line-height: 1.5; }
.footer-desc { font-size: 14px; color: rgba(247,246,242,0.55); line-height: 1.65; margin-bottom: 16px; }

.footer-col-title, .footer-col-label, .footer-col-heading {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(247,246,242,0.38); margin-bottom: 16px; display: block;
}
.footer-col-heading-spaced { 
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(247,246,242,0.38); margin-top: 28px; margin-bottom: 12px; display: block;
}
.footer-col-text { font-size: 13px; color: rgba(247,246,242,0.5); line-height: 1.7; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(247,246,242,0.65); text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: var(--primary); text-decoration: none; }

.footer-contact-item {
  font-size: 13px; color: rgba(247,246,242,0.6); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact-item a { color: rgba(247,246,242,0.7); }
.footer-contact-item a:hover { color: var(--primary); }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

.footer-phone {
  font-size: 18px; font-weight: 700; color: var(--surface); text-decoration: none;
}

.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cert {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(247,246,242,0.5); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-chip);
  padding: 4px 10px;
}

.footer-creds { font-size: 13px; color: rgba(247,246,242,0.45); }

.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 16px; padding-block: 24px;
}
.footer-copy { font-size: 13px; color: rgba(247,246,242,0.4); }

.footer-col { }

/* ─── MOBILE CALL PILL + STICKY CTA ──────────────────────────────────────── */
.mobile-call-pill, .mobile-sticky-cta, .mobile-cta {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  display: none;
}
@media (max-width: 900px) {
  .mobile-call-pill, .mobile-sticky-cta, .mobile-cta { display: block; }
}

.mobile-call-pill {
  display: none;
  align-items: center; gap: 10px;
  background: var(--primary); color: var(--surface);
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--ff-body); font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 18px 40px -10px rgba(20,24,29,0.45);
  transition: filter 200ms;
}
.mobile-call-pill svg { width: 20px; height: 20px; }
.mobile-call-pill:hover { filter: brightness(0.92); text-decoration: none; color: var(--surface); }

@media (max-width: 900px) { .mobile-call-pill { display: inline-flex; } }
@media (min-width: 900px) { .mobile-call-pill { display: none !important; } }

.mobile-sticky-cta > a, .mobile-cta > a {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: var(--surface);
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--ff-body); font-size: 14px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(20,24,29,0.45);
}
.mobile-sticky-cta > a svg, .mobile-cta > a svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .mobile-sticky-cta { display: none !important; } .mobile-cta { display: none !important; } }

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

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

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

/* ─── SERVICE CARD HOVER ─────────────────────────────────────────────────── */
.service-card { transition: transform 250ms ease-out, box-shadow 250ms ease-out; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); }

/* ─── 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: 8px; }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: 0.12em; }

/* ─── STATS ──────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; padding: 80px 0; text-align: center; }
.stat-num { font-size: clamp(48px, 8vw, 96px); font-weight: 900; line-height: 1; color: var(--primary); }
.stat-label { font-size: clamp(11px, 1vw, 14px); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-top: 8px; }

/* ─── MISC ───────────────────────────────────────────────────────────────── */
/* Grain texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

/* ─── UTILITY ────────────────────────────────────────────────────────────── */
.bleed { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.services-intro { grid-column: 1 / -1; }
.service-index { grid-column: 1 / -1; }
.service-arrow { grid-column: 1 / -1; }
.gallery-photo { grid-column: 1 / -1; }
.gallery-body { grid-column: 1 / -1; }
.cred-header-text { grid-column: 1 / -1; }
.contact-icon { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.founder-story-text { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
.info-icon { grid-column: 1 / -1; }
.info-block { 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; }
