@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');

/* ─── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  --primary:        #D9EC79;
  --primary-dark:   #c5d660;
  --primary-deeper: #adc050;
  --accent:         #69A64F;
  --accent-dark:    #548040;
  --canvas:         #F7F6F2;
  --surface:        #FFFFFF;
  --ink:            #14181D;
  --ink-mid:        #2a2f37;
  --muted:          #5C6068;
  --muted-light:    #8a8f97;
  --border:         rgba(20,24,29,0.12);
  --border-strong:  rgba(20,24,29,0.22);
  --primary-border: rgba(217,236,121,0.6);
  --shadow-sm:      0 2px 8px rgba(20,24,29,0.08);
  --shadow-md:      0 8px 24px rgba(20,24,29,0.10);
  --shadow-lg:      0 18px 48px rgba(20,24,29,0.14);
  --header-height:  72px;
  --radius:         4px;
  --radius-card:    4px;
  --font-display:   'Archivo', sans-serif;
  --font-body:      'IBM Plex Sans', sans-serif;
  --font-mono:      'IBM Plex Mono', monospace;
  --section-py:     clamp(80px, 10vh, 128px);
  --content-max:    1320px;
  --wide-max:       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);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

/* ─── 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 30%; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

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

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

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

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

/* ─── Typography scale ───────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); }
h4 { font-size: 18px; font-weight: 700; }

p { line-height: 1.7; }

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

/* ─── Layout containers ──────────────────────────────────────────────────────── */
.container, .section-inner, .contact-inner, .footer-inner,
.services-index-inner, .gallery-section-header, .crew-section-inner,
.values-section-inner, .journey-section-inner, .founder-story-inner,
.about-grid-inner, .cta-banner-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  width: 100%;
}

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

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

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

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

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { max-height: 44px; max-width: 200px; width: auto; object-fit: contain; }

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

.nav-pages li { list-style: none; }

.nav-pages a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}

.nav-pages a:hover {
  color: var(--accent);
  text-decoration: none;
  border-bottom-color: var(--primary);
}

.nav-pages a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}

.nav-cta:hover {
  background: var(--ink-mid);
  color: var(--primary);
  text-decoration: none;
}

.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

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

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

  .nav-pages {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    z-index: 800;
    box-shadow: var(--shadow-md);
  }

  .nav-pages.open { display: flex; }

  .nav-pages a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    border-right: none;
  }

  .nav-pages li:last-child a { border-bottom: none; }

  .nav-cta .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 14px; }
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 150ms, color 150ms, border-color 150ms, filter 150ms;
  line-height: 1;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

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

.btn-accent {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--surface);
  text-decoration: none;
}

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

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

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

.btn-submit {
  background: var(--primary);
  color: var(--ink);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 150ms, border-color 150ms;
}
.btn-submit:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-submit svg { width: 18px; height: 18px; }

/* ─── Section eyebrow / labels ───────────────────────────────────────────────── */
.section-eyebrow, .svc-eyebrow, .page-eyebrow, .page-header-eyebrow,
.info-card-eyebrow, .team-cta-label, .gallery-section-label,
.gallery-registry-label, .footer-col-heading, .footer-col-label,
.contact-col-heading, .contact-form-label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-headline, .section-heading { margin-bottom: 12px; }
.section-sub { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 52ch; margin-bottom: 48px; }

/* ─── Animation utilities ────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 640ms ease, transform 640ms ease; }
.fade-left { opacity: 0; transform: translateX(-32px); transition: opacity 640ms ease, transform 640ms ease; }
.fade-right { opacity: 0; transform: translateX(32px); transition: opacity 640ms ease, transform 640ms ease; }
.scale-in { opacity: 0; transform: scale(0.94); transition: opacity 600ms ease, transform 600ms ease; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 560ms ease, transform 560ms ease; }

.fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }
.scale-in.visible { opacity: 1; transform: none; }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
#hero, section.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}

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

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

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

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--primary);
  vertical-align: middle;
}

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

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 36px;
}

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

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

.hero-trust-chips .trust-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(217,236,121,0.45);
  color: rgba(255,255,255,0.88);
}

/* ─── Trust strip ────────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

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

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

.trust-chip svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }

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

.trust-badge-star { color: var(--primary); font-size: 14px; }

/* ─── Services section ───────────────────────────────────────────────────────── */
.services {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.services .section-inner > h2 {
  margin-bottom: 8px;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .services-layout { grid-template-columns: 1fr; }
}

/* Service registry — vertical anchor list */
.services-registry {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: background 150ms;
}

.service-row:first-child { border-top: 1px solid var(--border); }

.service-row:hover { text-decoration: none; }
.service-row:hover .service-row-name { color: var(--accent); }
.service-row:hover .service-arrow { color: var(--primary); transform: translateX(4px); }

.service-idx {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--muted-light);
  letter-spacing: -0.01em;
}

.service-row-body { display: flex; flex-direction: column; gap: 4px; }

.service-row-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 150ms;
}

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

.service-arrow {
  width: 20px;
  height: 20px;
  color: var(--muted-light);
  transition: color 200ms, transform 200ms ease-out;
  flex-shrink: 0;
}

/* Bento grid for service photos */
.services-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 180px);
  gap: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}

.bento-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--ink-mid);
}

.bento-card:first-child {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  height: 220px;
}

.bento-card img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transition: transform 400ms ease;
}

.bento-card:hover img { transform: scale(1.04); }
.bento-card:hover { text-decoration: none; }

.bento-card-label {
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20,24,29,0.6);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.bento-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  gap: 8px;
  transition: background 150ms;
  grid-column: 1 / -1;
}

.bento-view-all:hover {
  background: var(--ink-mid);
  text-decoration: none;
  color: var(--primary);
}

.bento-view-all svg { width: 16px; height: 16px; }

/* ─── Gallery section ─────────────────────────────────────────────────────────── */
.gallery {
  background: var(--surface);
  padding-block: var(--section-py);
}

.gallery .section-inner > h2 { margin-bottom: 8px; }

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

.gallery-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  background: var(--ink-mid);
}

.gallery-tile img {
  width: 100%; height: 100%; max-height: none;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-tile:hover img { transform: scale(1.05); }

.gallery-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms;
}

.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }

.gallery-cta {
  margin-top: 32px;
  text-align: center;
}

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

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

/* ─── Page header (sub-pages) ────────────────────────────────────────────────── */
.page-header {
  min-height: clamp(280px, 40vh, 480px);
  max-height: 64vh;
  display: flex;
  align-items: flex-end;
}

.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(20,24,29,0.68) 0%, rgba(20,24,29,0.44) 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(--content-max);
  margin-inline: auto;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 48px) clamp(40px, 6vh, 72px);
  width: 100%;
}

.page-header-title {
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 8px;
}

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

.page-header-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 44ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb span + span::before { content: '/'; margin-right: 8px; }

/* ─── Services index strip (services.html) ───────────────────────────────────── */
.services-index-strip {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.services-index-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.services-index-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: background 150ms;
}

.services-index-row:first-child { border-top: 1px solid var(--border); }

.services-index-row:hover { text-decoration: none; }
.services-index-row:hover .svc-index-name { color: var(--accent); }
.services-index-row:hover .svc-arrow { color: var(--primary); transform: translateX(4px); }

.svc-index-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--muted-light);
}

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

.svc-index-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 150ms;
}

.svc-index-desc {
  font-size: 14px;
  color: var(--muted);
}

.svc-arrow {
  width: 20px; height: 20px;
  color: var(--muted-light);
  transition: color 200ms, transform 200ms ease-out;
}

/* ─── Service feature sections (services.html) ────────────────────────────────── */
.service-feature {
  padding-block: var(--section-py);
  border-bottom: 1px solid var(--border);
}

.service-feature:nth-child(even) { background: var(--surface); }
.service-feature:nth-child(odd) { background: var(--canvas); }

.service-feature-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.service-feature.photo-right .service-feature-inner {
  grid-template-columns: 1fr 45%;
}
.service-feature.photo-right .service-feature-photo { order: 2; }
.service-feature.photo-right .service-feature-body { order: 1; }

.service-feature-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-feature-photo img {
  width: 100%; height: 480px; max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.service-feature-photo-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--primary);
  padding: 5px 10px;
  border-radius: 2px;
}

.service-feature-body { display: flex; flex-direction: column; gap: 16px; }

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

.service-feature-body p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.service-feature-body .btn { align-self: flex-start; margin-top: 8px; }

.service-feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  padding-left: 0;
}

.service-feature-bullets li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 7px;
}

@media (max-width: 900px) {
  .service-feature-inner,
  .service-feature.photo-right .service-feature-inner {
    grid-template-columns: 1fr;
  }
  .service-feature.photo-right .service-feature-photo { order: 0; }
  .service-feature.photo-right .service-feature-body { order: 1; }
  .service-feature-photo img { height: 280px; }
}

/* ─── Service areas ───────────────────────────────────────────────────────────── */
.service-areas {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.area-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

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

.area-pill:hover { background: var(--primary); }

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

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

.faq .section-inner > h2 { margin-bottom: 40px; }

.faq-list { display: flex; flex-direction: column; }

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

details.faq-item:first-child { border-top: 1px solid var(--border); }

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

details.faq-item > summary::-webkit-details-marker { display: none; }

.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 300;
  font-size: 20px;
  color: var(--muted);
  transition: transform 200ms, color 150ms, border-color 150ms;
  line-height: 1;
}

details.faq-item[open] > summary .faq-chevron {
  transform: rotate(45deg);
  color: var(--accent);
  border-color: var(--primary);
  background: rgba(217,236,121,0.1);
}

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

/* ─── Team CTA ────────────────────────────────────────────────────────────────── */
.team-cta {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.team-cta-card {
  max-width: 820px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}

.team-cta-portrait {
  width: 180px; height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 180px;
}

.team-cta-text { display: flex; flex-direction: column; gap: 10px; }

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

.team-cta-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .team-cta-card { grid-template-columns: 1fr; }
  .team-cta-portrait { width: 100%; height: 220px; }
}

/* ─── Contact section ────────────────────────────────────────────────────────── */
.contact, .contact-section {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.contact .section-inner > h2 { margin-bottom: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 40px;
}

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

/* Contact form column */
.contact-form-col, .contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}

.contact-form-col h3, .contact-form-wrap h2 {
  font-size: clamp(24px, 2.4vw, 36px);
  margin-bottom: 8px;
}

.contact-form-title { font-size: clamp(24px, 2.4vw, 36px); margin-bottom: 8px; }
.contact-form-sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

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

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

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

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

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

.form-input, input.form-input, .form-input,
input[type="text"], input[type="email"], input[type="tel"], input[type="phone"],
select, textarea.form-textarea, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  transition: border-color 150ms, box-shadow 150ms;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217,236,121,0.25);
}

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

.form-submit { margin-top: 8px; width: 100%; justify-content: center; }

/* Contact info column */
.contact-info-col, .contact-info-card {
  background: var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--border);
}

.contact-info-col h3, .info-card-headline {
  font-size: clamp(20px, 2vw, 28px);
  color: #fff;
  margin-bottom: 4px;
}

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

.contact-info-item, .info-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info-item:last-of-type, .info-item:last-of-type { border-bottom: none; padding-bottom: 0; }

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

.contact-icon svg, .info-icon svg { width: 20px; height: 20px; }

.contact-info-label, .info-item-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.contact-info-value, .info-item-value {
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}

.contact-info-value a, .info-item-value a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-value a:hover, .info-item-value a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

.contact-info-value-body { font-size: 15px; color: #fff; line-height: 1.5; }

.info-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 4px 0; }

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

.info-socials { display: flex; gap: 12px; margin-top: 4px; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: border-color 150ms, color 150ms, background 150ms;
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(217,236,121,0.08);
  text-decoration: none;
}

.social-link svg { width: 18px; height: 18px; }

/* Contact page layout */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
  padding-block: var(--section-py);
}

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

/* ─── Founder story (about.html) ──────────────────────────────────────────────── */
.founder-story {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.founder-story-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.founder-portrait-col { position: relative; }

.founder-portrait-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.founder-portrait-wrap img {
  width: 100%; height: 520px; max-height: 520px;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.04);
  border-radius: var(--radius);
}

.founder-portrait-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--ink);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.founder-portrait-badge span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.founder-portrait-badge strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
}

.founder-story-col { display: flex; flex-direction: column; gap: 20px; }

.founder-headline {
  font-size: clamp(28px, 3.2vw, 48px);
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.founder-body p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .founder-story-inner { grid-template-columns: 1fr; }
  .founder-portrait-wrap img { height: 340px; }
}

/* ─── Values grid ─────────────────────────────────────────────────────────────── */
.values-section {
  background: var(--surface);
  padding-block: var(--section-py);
}

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

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

.value-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value-card h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.value-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

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

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

/* ─── Journey timeline ────────────────────────────────────────────────────────── */
.journey-section {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.journey-section-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

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

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

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

.timeline-dot svg { width: 18px; height: 18px; color: var(--ink); }

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

.timeline-step h3 { font-size: 18px; letter-spacing: -0.01em; }

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

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

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

/* ─── Crew section ────────────────────────────────────────────────────────────── */
.crew-section {
  background: var(--surface);
  padding-block: var(--section-py);
}

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

.crew-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 28px;
}

.crew-photo-frame img {
  width: 100%; max-height: 400px;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.1) contrast(1.03);
}

.crew-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.crew-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crew-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.crew-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
}

.crew-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── About grid section ──────────────────────────────────────────────────────── */
.about-grid-section {
  background: var(--canvas);
  padding-block: var(--section-py);
}

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

.about-grid-inner > div:first-child { display: flex; flex-direction: column; gap: 16px; }

.about-grid-inner h2 { font-size: clamp(28px, 3.5vw, 48px); margin-bottom: 8px; }
.about-body { font-size: 17px; color: var(--muted); line-height: 1.75; }
.about-sub-headline { font-size: clamp(24px, 2.8vw, 36px); }

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* About stat block */
.about-stat-block {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-bottom: none; padding-bottom: 0; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--primary);
}

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

@media (max-width: 900px) {
  .about-grid-inner { grid-template-columns: 1fr; }
  .about-stat-block { flex-direction: row; flex-wrap: wrap; }
  .stat-item { padding-bottom: 0; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); padding-right: 24px; flex: 1; min-width: 120px; }
  .stat-item:last-child { border-right: none; }
}

/* ─── CTA banner ─────────────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding-block: clamp(64px, 10vh, 120px);
}

.cta-banner > img:first-of-type {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.25;
}

.cta-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(20,24,29,0.72);
}

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

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

.cta-banner-headline, .cta-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 44ch;
}

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

.cta-banner-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.cta-banner-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.cta-banner-phone:hover { color: var(--primary); text-decoration: none; }

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

/* ─── Gallery page ────────────────────────────────────────────────────────────── */
.gallery-section {
  background: var(--canvas);
  padding-block: var(--section-py);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.gallery-section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 32px;
}

.gallery-section-title {
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.025em;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 150ms, border-color 150ms, color 150ms;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--primary);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
  margin-bottom: 48px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-mid);
  cursor: pointer;
}

.project-card.tall { grid-row: span 2; }

.project-card img {
  width: 100%; height: 100%; max-height: none;
  object-fit: cover;
  transition: transform 500ms ease;
  filter: grayscale(0.1);
}

.project-card:hover img { transform: scale(1.04); filter: grayscale(0); }

.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,29,0.75) 0%, transparent 55%);
}

.project-card-body {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
}

.project-card-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.project-card-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.project-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.project-num {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.55);
  z-index: 2;
}

.project-category-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(217,236,121,0.92);
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 2;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .project-card.tall { grid-row: span 1; }
}

@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
}

/* Gallery registry stats */
.gallery-registry {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 48px;
}

.gallery-registry-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.registry-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.registry-stat { display: flex; flex-direction: column; gap: 8px; }

.registry-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
}

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

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

/* Gallery services strip */
.gallery-services-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.gallery-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.gallery-service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
  background: var(--canvas);
}

.gallery-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink);
}

.gallery-service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--muted-light);
  letter-spacing: -0.01em;
}

.gallery-service-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

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

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

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding-block: clamp(64px, 8vh, 96px) 0;
}

.footer-grid, .footer-inner .footer-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 100%;
  padding: 0;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}

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

.footer-contact-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact-line a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 150ms;
}

.footer-contact-line a:hover { color: var(--primary); text-decoration: none; }

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

.footer-col h4, .footer-col-heading, .footer-col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a, .footer-col ul a, .footer-col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 150ms;
  display: inline-block;
}

.footer-links a:hover, .footer-col ul a:hover, .footer-col li a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 8px;
}

.footer-contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 150ms;
}

.footer-contact-item a:hover { color: var(--primary); text-decoration: none; }

.footer-phone-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-phone-link:hover { color: var(--primary-dark); text-decoration: none; }

.footer-license {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

.footer-cred-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: var(--radius);
}

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

.footer-bottom {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 24px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 1024px) {
  .footer-grid, .footer-inner .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .footer-grid, .footer-inner .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Mobile CTA pill ─────────────────────────────────────────────────────────── */
.mobile-cta-pill, .mobile-call-pill, .mobile-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.mobile-cta-pill > a, .mobile-call-pill > a, .mobile-cta > a,
a.mobile-cta-pill, a.mobile-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--primary);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: background 150ms, transform 150ms;
  white-space: nowrap;
}

.mobile-cta-pill > a:hover, .mobile-call-pill > a:hover, .mobile-cta > a:hover,
a.mobile-cta-pill:hover, a.mobile-call-pill:hover {
  background: var(--ink-mid);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--primary);
}

.mobile-cta-pill svg, .mobile-call-pill svg, .mobile-cta svg,
.mobile-cta-link svg {
  width: 18px; height: 18px; flex-shrink: 0;
}

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

/* ─── Stat counter (about page, generic) ─────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 80px 0;
  text-align: center;
}

/* ─── 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(--accent); margin-bottom: 12px; letter-spacing: 0.12em; }

/* ─── Review cards ────────────────────────────────────────────────────────────── */
.review-card { padding: 28px; border-radius: 12px; background: var(--canvas); }
.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

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

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

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

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

.marquee-item .separator { color: var(--primary); margin-inline: 4px; }

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

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

/* ─── Tables ───────────────────────────────────────────────────────────────────── */
.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(--primary);
}

/* ─── Miscellaneous utility ─────────────────────────────────────────────────────── */
.full { grid-column: 1 / -1; }
.tall { grid-row: span 2; }

.info-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 4px 0; }

/* Scroll progress bar (additional selectors) */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%; background: var(--primary); z-index: 9999;
}

/* ─── Responsive: 1200px ────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .gallery-services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Responsive: 900px ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .bento-card:first-child { grid-column: 1 / -1; height: 200px; }
  .gallery-registry { padding: 24px 20px; }
  .registry-stat-row { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ─── Responsive: 640px ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-strip-inner { gap: 8px; }
  .services-bento { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-section-header { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.service-idx { grid-column: 1 / -1; }
.service-arrow { grid-column: 1 / -1; }
.bento-card { grid-column: 1 / -1; }
.gallery-tile { grid-column: 1 / -1; }
.team-cta-portrait { grid-column: 1 / -1; }
.team-cta-text { grid-column: 1 / -1; }
.btn-accent { grid-column: 1 / -1; }
.contact-icon { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.svc-index-num { grid-column: 1 / -1; }
.svc-index-body { grid-column: 1 / -1; }
.svc-arrow { grid-column: 1 / -1; }
.cta-banner-eyebrow { grid-column: 1 / -1; }
.cta-banner-sub { grid-column: 1 / -1; }
.cta-banner-phone { grid-column: 1 / -1; }
.cta-banner-btns { grid-column: 1 / -1; }
.project-card { grid-column: 1 / -1; }
.registry-stat { grid-column: 1 / -1; }
.gallery-service-card { grid-column: 1 / -1; }
.founder-portrait-col { grid-column: 1 / -1; }
.form-group { grid-column: 1 / -1; }
.info-icon { grid-column: 1 / -1; }
.info-item-body { 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; }
