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

/* =============================================
   CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary:         #cdd3f7;
  --primary-dark:    #a8b2f0;
  --primary-deeper:  #8a96e8;
  --accent:          #cdd3f7;
  --canvas:          #FFFFFF;
  --surface:         #F4F2EE;
  --surface-2:       #EDEAE4;
  --ink:             #0C0C0F;
  --ink-mid:         #2a2a30;
  --muted:           #6B6B6B;
  --muted-light:     #9a9a9a;
  --border:          rgba(12, 12, 15, 0.10);
  --border-heavy:    rgba(12, 12, 15, 0.18);
  --radius:          4px;
  --radius-lg:       8px;
  --radius-pill:     999px;
  --shadow-sm:       0 2px 8px rgba(12,12,15,0.06);
  --shadow-md:       0 8px 32px rgba(12,12,15,0.10);
  --shadow-lg:       0 18px 56px rgba(12,12,15,0.14);
  --header-height:   72px;
  --section-py:      clamp(88px, 11vh, 144px);
  --content-max:     1280px;
  --font-display:    'Space Grotesk', sans-serif;
  --font-body:       'IBM Plex Sans', sans-serif;
  --font-mono:       'IBM Plex Mono', monospace;
}

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

/* =============================================
   GLOBAL RESET + SMOOTH SCROLL
   ============================================= */
*, *::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(--font-body); font-weight: 400; color: var(--ink); background: var(--canvas); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* =============================================
   UNIVERSAL IMAGE CAP — MANDATORY
   ============================================= */
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) { 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 LINK RESET
   ============================================= */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* =============================================
   TYPOGRAPHY SCALE
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p { line-height: 1.7; }

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

/* =============================================
   CONTAINERS
   ============================================= */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wide-container { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-inner { max-width: var(--content-max); margin: 0 auto; padding: var(--section-py) clamp(20px, 4vw, 48px); }
.bleed { width: 100%; }

/* =============================================
   MONO EYEBROW LABEL SYSTEM
   ============================================= */
.mono-eyebrow,
.section-eyebrow,
.service-eyebrow,
.page-eyebrow,
.page-header-eyebrow,
.cta-banner-label,
.cta-banner-eyebrow,
.contact-section-eyebrow,
.trust-strip-label,
.footer-col-title,
.footer-col-label,
.footer-col-head,
.footer-col-heading {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

/* =============================================
   SECTION NUMERAL — the brand supergraphic
   ============================================= */
.section-numeral,
.hero-numeral,
.card-numeral,
.service-card-num,
.service-block-num,
.service-index-num,
.page-header-numeral,
.cta-banner-numeral,
.cta-banner-bg-num,
.cta-numeral,
.contact-info-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  user-select: none;
}

/* Hero numeral is even bigger */
.hero-numeral {
  font-size: clamp(80px, 10vw, 140px);
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  left: clamp(24px, 4vw, 48px);
  z-index: 3;
  opacity: 0.92;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-header .section-numeral {
  font-size: clamp(56px, 6vw, 88px);
  flex-shrink: 0;
  margin-top: -8px;
}
.section-head-text { flex: 1; }
.section-head-text .section-eyebrow { margin-bottom: 8px; }

.section-headline,
.section-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }

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

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

.top-nav {
  height: var(--header-height);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { max-height: 44px !important; max-width: 180px !important; }

#navLinks, .nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.nav-pages li { list-style: none; }
.nav-pages a {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 150ms, background 150ms;
  letter-spacing: 0;
}
.nav-pages a:hover {
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}
.nav-pages a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--primary);
}

.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--canvas) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 150ms;
}
.nav-cta:hover { background: var(--ink-mid); color: var(--canvas) !important; text-decoration: none !important; }

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

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

/* =============================================
   BUTTONS
   ============================================= */
.btn, button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, background 150ms, border-color 150ms;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 28px;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn svg, button svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary, .btn-submit, .form-submit {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.btn-primary:hover, .btn-submit:hover, .form-submit:hover {
  background: var(--ink-mid);
  color: var(--canvas);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--canvas);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: var(--canvas);
  background: rgba(255,255,255,0.10);
  color: var(--canvas);
  text-decoration: none;
  transform: translateY(-2px);
}

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

.btn-dark {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--ink-mid); color: var(--canvas); transform: translateY(-2px); }

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--border-heavy);
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: background 150ms, color 150ms;
}
.btn-service svg { width: 14px; height: 14px; }
.btn-service:hover { background: var(--ink); color: var(--canvas); text-decoration: none; }

/* =============================================
   CHIPS
   ============================================= */
.chip, .trust-chip, .ts-chip, .service-area-chip, .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border-heavy);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.trust-chip-star { color: var(--primary-deeper); font-size: 13px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}
.hero-bg { filter: brightness(0.88); }
.hero-overlay {
  background: linear-gradient(160deg, rgba(12,12,15,0.48) 0%, rgba(12,12,15,0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 4vw, 48px) clamp(60px, 8vh, 100px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 92vh;
  width: 100%;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 8.5vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--canvas);
  max-width: 18ch;
  margin-bottom: 24px;
}

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

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

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-trust-chips .trust-chip {
  border-color: rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.06);
}

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-strip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 8px;
}
.ts-chip {
  border-color: var(--border-heavy);
  color: var(--ink);
}

/* hero ribbon */
.hero-ribbon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  z-index: 3;
}

/* =============================================
   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(--surface);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.2;
  color: var(--muted);
  flex-shrink: 0;
}
.marquee-item span { color: var(--primary-deeper); }
.marquee:hover .marquee-track { animation-play-state: paused; }

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

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

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

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  display: block;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  text-decoration: none;
  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.22); text-decoration: none; }
.service-card > img, .service-card-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  z-index: 0;
  transition: transform 400ms ease-out;
  filter: grayscale(25%);
}
.service-card:hover > img, .service-card:hover .service-card-img { transform: scale(1.04); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,12,15,0.82) 0%, rgba(12,12,15,0.20) 55%, transparent 100%);
  z-index: 1;
  transition: background 300ms;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(0deg, rgba(12,12,15,0.90) 0%, rgba(12,12,15,0.30) 60%, transparent 100%);
}

.service-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
}

.service-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  opacity: 0.90;
}

.service-card h3 {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--canvas);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.service-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  align-self: flex-start;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
}

.services-cta-row {
  display: flex;
  justify-content: center;
  padding-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 900px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4 / 3; }
}

/* =============================================
   GALLERY — INDEX PAGE
   ============================================= */
.gallery { background: var(--surface); padding: 0; }
.gallery .section-inner { padding-bottom: var(--section-py); }

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

.gallery-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  position: relative;
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out, filter 300ms;
  filter: grayscale(15%);
}
.gallery-tile:hover img { transform: scale(1.05); filter: grayscale(0%); }
.gallery-tile-featured { grid-column: span 2; aspect-ratio: 16 / 9; }

.gallery-cta-row { display: flex; justify-content: center; padding-top: clamp(28px, 4vw, 48px); }

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

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

.gallery-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}

.gallery-title-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.gallery-title-block .section-numeral { font-size: clamp(56px, 6vw, 88px); flex-shrink: 0; margin-top: -8px; }
.gallery-title-text .section-eyebrow { margin-bottom: 6px; }
.gallery-title-text h2 { font-size: clamp(28px, 4vw, 52px); }

#galleryGrid.gallery-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.gallery-card.featured { grid-column: span 2; }
.gallery-card.tall .gallery-card-photo { aspect-ratio: 3 / 4; }

.gallery-card-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}
.gallery-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease-out;
}
.gallery-card:hover .gallery-card-photo img { transform: scale(1.04); }

.gallery-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--canvas);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.gallery-card-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.gallery-card-body { padding: 16px 18px 20px; flex: 1; }
.gallery-card-body h3 { font-size: 15px; margin-bottom: 6px; letter-spacing: -0.01em; }
.gallery-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.gallery-card-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.gallery-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.gallery-meta-item svg { width: 12px; height: 12px; flex-shrink: 0; }

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-pill {
  padding: 8px 16px;
  cursor: pointer;
  border: 1px solid var(--border-heavy);
  background: transparent;
  font-size: 11px;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}

@media (max-width: 900px) {
  #galleryGrid.gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card.featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  #galleryGrid.gallery-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .gallery-card.featured { grid-column: span 1; }
  .gallery-header { flex-direction: column; }
}

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--canvas); }
.contact-section { background: var(--canvas); }
.contact-section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

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

.contact-section-eyebrow { color: var(--muted); }
.contact-section-headline {
  font-size: clamp(32px, 4.5vw, 60px);
  margin-bottom: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
}
.contact-section-headline em { font-style: italic; color: var(--ink); }

/* Forms */
.contact-form, .estimate-form, form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group, .form-field { display: flex; flex-direction: column; gap: 6px; }

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

.form-field input,
.form-field textarea,
.form-field select,
.form-group input,
.form-group textarea,
.form-group select,
input[id^="f-"], input[id^="field-"], input[id^="form-"],
textarea[id^="f-"], textarea[id^="field-"], textarea[id^="form-"],
select[id^="field-"], select[id^="form-"] {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-heavy);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-deeper);
  box-shadow: 0 0 0 3px rgba(205, 211, 247, 0.25);
}
.form-field textarea, .form-group textarea { min-height: 120px; resize: vertical; }
.form-field select, .form-group select { cursor: pointer; }

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

.contact-form-wrap,
.contact-form-col { padding-right: 0; }

/* contact info */
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.contact-info-numeral {
  font-size: clamp(64px, 7vw, 96px);
  color: var(--primary);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.60;
}
.contact-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}

.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.contact-info-item {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }

.ci-label, .contact-info-item-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}
.ci-value, .contact-info-item-value {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.ci-value a, .contact-info-item-value a {
  color: var(--ink);
  text-decoration: none;
}
.ci-value a:hover, .contact-info-item-value a:hover { color: var(--primary-deeper); }

.contact-info-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.contact-socials, .contact-info-col .contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.contact-social-link, .social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid var(--border-heavy);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  transition: background 150ms, color 150ms;
}
.contact-social-link:hover, .social-link:hover {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
  text-decoration: none;
}

.service-area-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.service-area-chip { font-size: 10px; padding: 4px 10px; }

@media (max-width: 900px) {
  .contact-section-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
}
.cta-banner-bg-num, .cta-banner-numeral, .cta-numeral {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(160px, 22vw, 320px);
  line-height: 0.80;
  letter-spacing: -0.06em;
  color: var(--primary);
  opacity: 0.07;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

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

.cta-banner-inner > div:first-child h2,
.cta-banner-inner > .fade-up h2,
.cta-banner h2 {
  font-size: clamp(32px, 4.5vw, 64px);
  color: var(--canvas);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 20px;
}
.cta-banner-label { color: var(--primary); margin-bottom: 12px; }
.cta-banner-sub, .cta-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 28px;
}
.cta-banner-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cta-banner-phone, .cta-banner-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--canvas);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-banner-phone:hover, .cta-banner-email:hover { color: var(--primary); text-decoration: none; }

/* Text blocks inside cta-banner */
.cta-headline { font-family: var(--font-display); font-weight: 700; color: var(--canvas); }
.cta-text { position: relative; z-index: 1; }
.mono-eyebrow { color: var(--primary); }
section#cta.cta-banner .mono-eyebrow { color: var(--primary); }

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

/* =============================================
   PAGE HEADER (sub-pages)
   ============================================= */
.page-header {
  min-height: clamp(280px, 40vh, 480px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(12,12,15,0.55) 0%, rgba(12,12,15,0.72) 100%);
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px);
  width: 100%;
}

.page-header-inner h1 {
  font-size: clamp(40px, 6vw, 88px);
  color: var(--canvas);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.page-header-sub, .page-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 12px;
}
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.page-header-numeral {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 2;
  opacity: 0.18;
}

/* =============================================
   SERVICE BLOCKS (services.html)
   ============================================= */
.services-list {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.service-block {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }

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

.service-block-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}
.service-block-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease-out;
}
.service-block:hover .service-block-photo img { transform: scale(1.03); }

.service-block-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--canvas);
  opacity: 0.85;
  z-index: 2;
}

.service-block-body { display: flex; flex-direction: column; gap: 16px; }
.service-block-body h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.service-block-body p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-mid);
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary-deeper);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-eyebrow { color: var(--muted); margin-bottom: 4px; }

/* service-index nav */
.service-index-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-height);
  z-index: 800;
  overflow-x: auto;
}
.service-index-nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  gap: 0;
}
.service-index-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
  white-space: nowrap;
}
.service-index-link:hover { color: var(--ink); border-bottom-color: var(--border-heavy); text-decoration: none; }
.service-index-link.active { color: var(--ink); border-bottom-color: var(--primary-deeper); }
.service-index-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--primary-deeper);
}

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
  background: var(--canvas);
  padding: var(--section-py) 0;
}
.about-story-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.about-story-portrait {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.about-story-portrait img {
  width: 100%; border-radius: var(--radius-lg);
  object-fit: cover;
}
.about-story-portrait .section-numeral {
  position: absolute;
  top: 12px; left: 12px;
  font-size: clamp(56px, 6vw, 88px);
  opacity: 0.82;
}

.about-story-text { display: flex; flex-direction: column; gap: 20px; }
.about-story-text h2 { font-size: clamp(28px, 4vw, 52px); margin-bottom: 8px; }
.about-body { font-size: 17px; color: var(--ink-mid); line-height: 1.75; }
.about-body a { color: var(--primary-deeper); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.78;
  float: left;
  margin-right: 8px;
  margin-top: 6px;
  color: var(--primary-deeper);
}

.about-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.about-headline { font-family: var(--font-display); font-weight: 700; }

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

/* =============================================
   VALUES SECTION
   ============================================= */
.values-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}
.values-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.values-inner > h2 {
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: clamp(36px, 5vw, 56px);
}

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

.value-card {
  background: var(--canvas);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 200ms;
}
.value-card:hover { background: var(--surface-2); }
.card-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
}
.value-title { font-size: 18px; letter-spacing: -0.02em; line-height: 1.2; }
.value-body { font-size: 15px; 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: var(--section-py) 0;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
.journey-section > h2 { font-size: clamp(28px, 4vw, 52px); margin-bottom: clamp(36px, 5vw, 64px); }
.journey-section > .mono-eyebrow { margin-bottom: 16px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--border);
  padding-top: 32px;
}

.timeline-item {
  padding: 0 24px 0 0;
  position: relative;
}

.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary-deeper);
  margin-bottom: 16px;
  position: relative;
  top: -38px;
  margin-top: 0;
}

.timeline-content { margin-top: -26px; }
.timeline-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deeper);
  display: block;
  margin-bottom: 8px;
}
.timeline-text { font-size: 15px; color: var(--muted); line-height: 1.65; }

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

/* =============================================
   CREW
   ============================================= */
.crew-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}
.crew-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.crew-inner h2 { font-size: clamp(28px, 4vw, 52px); margin-bottom: clamp(36px, 5vw, 56px); }

.crew-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.crew-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.crew-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  max-height: none !important;
  filter: grayscale(20%);
  transition: filter 300ms;
}
.crew-photo:hover img { filter: grayscale(0%); }
.crew-caption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =============================================
   PROCESS STRIP
   ============================================= */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.process-step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary-deeper); 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); font-family: var(--font-display); }
.stat-label { font-size: clamp(11px, 1vw, 14px); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-top: 8px; font-family: var(--font-mono); }

/* =============================================
   REVIEW CARDS
   ============================================= */
.review-card { padding: 28px; border-radius: var(--radius-lg); background: var(--surface-2); }
.review-stars svg { color: var(--primary-deeper); 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; }

/* =============================================
   FAQ
   ============================================= */
details.faq { border-bottom: 1px solid var(--border); padding: 18px 0; }
details.faq > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; font-weight: 300; transition: transform 200ms; font-size: 22px; line-height: 1; }
details.faq[open] > summary::after { transform: rotate(45deg); color: var(--primary-deeper); }
details.faq p { margin-top: 12px; line-height: 1.6; }

/* =============================================
   FOOTER
   ============================================= */
footer, .site-footer {
  background: var(--ink);
  color: var(--canvas);
  padding-top: clamp(56px, 8vh, 96px);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.footer-brand, .footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand img, .footer-brand-col img, .footer-logo img {
  max-height: 40px !important;
  max-width: 160px !important;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-logo { display: block; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 28ch; }

.footer-contact-items, .footer-contact-line { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 150ms;
}
.footer-contact-item:hover { color: var(--primary); text-decoration: none; }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-phone-link { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 15px; }
.footer-phone-link:hover { color: var(--primary); }

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-title, .footer-col-label, .footer-col-head, .footer-col-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 0;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.footer-links li a, .footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links li a:hover, .footer-col ul li a:hover { color: var(--canvas); text-decoration: none; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  font-weight: 500;
  margin-bottom: 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy, .footer-bottom p, .footer-bottom span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}
.footer-bottom p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-brand-col { grid-column: span 2; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand, .footer-brand-col { grid-column: span 1; }
}

/* =============================================
   MOBILE CALL PILL
   ============================================= */
.mobile-call-pill, .mobile-call, .mobile-cta, .mobile-cta > a {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  background: var(--ink);
  color: var(--canvas);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 200ms, box-shadow 200ms;
}
.mobile-call-pill:hover, .mobile-call:hover, .mobile-cta > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -10px rgba(0,0,0,0.55);
  color: var(--canvas);
  text-decoration: none;
}
.mobile-call-pill svg, .mobile-call svg, .mobile-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (min-width: 900px) {
  .mobile-call-pill, .mobile-call, .mobile-cta { display: none !important; }
}

/* =============================================
   ANIMATION UTILITIES
   ============================================= */
.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 600ms ease-out, transform 600ms ease-out; }

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

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

/* =============================================
   SVG CAP
   ============================================= */
svg { display: block; }
button svg, a svg, .btn svg, li svg, span svg, p svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-service svg { width: 14px; height: 14px; }

/* =============================================
   TABLE READABILITY
   ============================================= */
.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(--canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 16px;
}
.services-table tbody td {
  background: var(--canvas);
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   MISC UTILITY
   ============================================= */
.featured { --featured: 1; }
.tall     { --tall: 1; }
.active   { }
.reverse  { }

/* section background alternation */
section:nth-child(even) { }

/* =============================================
   RESPONSIVE MISC
   ============================================= */
@media (max-width: 900px) {
  .hero-inner { min-height: 80vh; }
  .hero-title { max-width: 100%; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .contact-section-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-trust-chips { gap: 8px; }
  .section-header { flex-direction: column; gap: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


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