@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;1,9..144,700&family=Inter+Tight:wght@400;450;500;600;700&display=swap');

/* ─── TOKENS ────────────────────────────────────────────────────────────── */
:root {
  --primary:        #37a546;
  --primary-dark:   #2b8437;
  --primary-light:  #e8f5ea;
  --accent:         #2C342C;
  --canvas:         #FAF6EE;
  --surface:        #FFFFFF;
  --ink:            #1A1814;
  --muted:          #6B6660;
  --border:         rgba(26,24,20,0.12);
  --border-primary: rgba(55,165,70,0.35);
  --shadow-card:    0 2px 20px -6px rgba(26,24,20,0.10);
  --shadow-pill:    0 18px 40px -10px rgba(0,0,0,0.45);
  --radius:         8px;
  --radius-pill:    999px;
  --header-height:  72px;
  --section-py:     clamp(96px, 12vh, 160px);
  --content-max:    1280px;
}

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

/* ─── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); font-size: 16px; }
body { background: var(--canvas); color: var(--ink); font-family: 'Inter Tight', system-ui, sans-serif; font-weight: 450; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ─── UNIVERSAL IMAGE CAP ───────────────────────────────────────────────── */
img { max-width: 100%; height: auto; display: block; }

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

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

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 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 ANCHOR RESET ──────────────────────────────────────────────── */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a { color: inherit; text-decoration: none; border-bottom: 0; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; line-height: 1.0; letter-spacing: -0.025em; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; }

p { line-height: 1.72; }

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

/* ─── EYEBROW LABELS ────────────────────────────────────────────────────── */
.eyebrow, .section-eyebrow, .page-eyebrow, .page-header-eyebrow,
.cta-banner-eyebrow, .info-card-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before, .section-eyebrow::before, .page-eyebrow::before,
.page-header-eyebrow::before, .cta-banner-eyebrow::before,
.info-card-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
}
.eyebrow-light { color: rgba(255,255,255,0.65); }
.eyebrow-light::before { background: rgba(255,255,255,0.9); }

/* ─── LAYOUT CONTAINERS ─────────────────────────────────────────────────── */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-inner { 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); }

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

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

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

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

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.nav-pages li { list-style: none; }
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Inter Tight', sans-serif;
  letter-spacing: 0.01em;
  transition: color 150ms;
}
.nav-pages a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-pages a[aria-current="page"] { color: var(--primary); border-bottom: 2px solid var(--primary); }

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

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 12px; }
  .nav-pages {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    padding: 24px 28px;
    gap: 4px;
    border-bottom: 1px solid rgba(26,24,20,0.08);
    z-index: 899;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { padding: 10px 0; font-size: 17px; width: 100%; }
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: filter 150ms, transform 120ms, box-shadow 150ms;
  white-space: nowrap;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary, .btn-primary-cta {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary-cta:hover { filter: brightness(0.92); color: #fff; }

.btn-outline, .btn-ghost-cta {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover, .btn-ghost-cta:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.btn-phone {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  font-weight: 600;
}
.btn-phone:hover { border-color: var(--primary); color: var(--primary); }

/* ─── TRUST CHIPS ───────────────────────────────────────────────────────── */
.hero-trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin-top: 28px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(4px);
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  background: linear-gradient(
    175deg,
    rgba(26,24,20,0.22) 0%,
    rgba(26,24,20,0.55) 50%,
    rgba(26,24,20,0.82) 100%
  );
}
.hero-inner {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 64px);
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--primary);
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(72px, 9vw, 140px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 14ch;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  padding-left: 24px;
}
.hero-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 450;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  line-height: 1.6;
  padding-left: 27px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 27px;
}

@media (max-width: 640px) {
  .hero { min-height: 88vh; }
  .hero-title { font-size: clamp(52px, 13vw, 80px); }
  .hero-ctas { flex-direction: column; gap: 10px; }
}

/* ─── TRUST STRIP ───────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-strip-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-pill);
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
}
.trust-badge svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ─── MARQUEE STRIP ─────────────────────────────────────────────────────── */
.marquee-section {
  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;
  width: max-content;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.2;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

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

/* ─── SERVICES ──────────────────────────────────────────────────────────── */
.services {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.services-header {
  margin-bottom: 52px;
}
.services-header h2 { max-width: 22ch; }
.section-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 52ch;
  margin-top: 16px;
  line-height: 1.65;
}

/* Services bento grid — 6 cards: flagship spans 2 cols */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
  position: relative;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); text-decoration: none; color: var(--ink); }
.service-card-flagship { grid-column: span 2; }
.service-card > img { width: 100%; height: 220px; object-fit: cover; max-height: 260px; display: block; }
.service-card-flagship > img { height: 300px; }
.service-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.service-card-body h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.service-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}
.service-card-title { font-family: 'Fraunces', serif; font-weight: 700; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.service-link svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .service-card-flagship { grid-column: span 2; }
}
@media (max-width: 640px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card-flagship { grid-column: span 1; }
}

/* ─── PHOTO BREAK (FULL-BLEED) ──────────────────────────────────────────── */
.photo-break {
  position: relative;
  height: clamp(280px, 40vw, 520px);
  overflow: hidden;
  display: block;
}
.photo-break > img:first-of-type,
.photo-break > img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,24,20,0.25) 0%, rgba(26,24,20,0.6) 100%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-break-inner {
  text-align: center;
  z-index: 2;
  padding: 0 clamp(20px, 6vw, 80px);
}
.photo-break-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
}

/* ─── GALLERY ───────────────────────────────────────────────────────────── */
.gallery {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.gallery-header {
  margin-bottom: 40px;
}
.gallery-header h2 { max-width: 18ch; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
/* 4 tiles: first is tall, spans 2 rows */
.gallery-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
}
.gallery-tile-tall {
  aspect-ratio: unset;
  grid-row: span 2;
}
.gallery-tile > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease;
}
.gallery-tile:hover > img { transform: scale(1.04); }
.gallery-tile-tall > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-tile-tall { position: relative; }
.gallery-cta-row {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile-tall { grid-row: span 1; aspect-ratio: 4/3; }
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  padding: var(--section-py) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.faq-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.faq-header { position: sticky; top: calc(var(--header-height) + 32px); }
.faq-header h2 { max-width: 12ch; }
.faq-list { padding-top: 4px; }

details { border-bottom: 1px solid var(--border); }
details summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 220ms ease, color 150ms;
}
details[open] summary .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
details summary:hover { color: var(--primary); }
.faq-body {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
}

@media (max-width: 900px) {
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-header { position: static; }
}

/* ─── TEAM CTA ──────────────────────────────────────────────────────────── */
.team-cta {
  background: var(--accent);
  padding: clamp(56px, 7vw, 96px) 0;
}
.team-cta-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.team-cta-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 28ch;
}

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

.contact-form-col h2, .contact-form-side h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin-bottom: 32px;
  max-width: 16ch;
}
.contact-form-intro {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Form styles */
.form-group, .form-field {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-label, .form-field label, .form-group label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input, .form-textarea, .form-field input, .form-field textarea, .form-field select,
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 450;
  color: var(--ink);
  transition: border-color 150ms;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-field input:focus,
.form-field textarea:focus, .form-field select:focus,
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-textarea, .form-field textarea, .form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: filter 150ms, transform 120ms;
  margin-top: 8px;
}
.form-submit:hover { filter: brightness(0.92); transform: translateY(-1px); }
.form-submit svg { width: 16px; height: 16px; }

/* Contact info */
.contact-info-col { padding-top: 60px; }
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}
.contact-info-card h3 {
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 6px;
}
.info-card-eyebrow { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 6px; }
.info-card-tagline { font-size: 15px; color: var(--muted); margin-bottom: 24px; line-height: 1.55; }
.info-divider, .contact-divider { height: 1px; background: var(--border); margin: 20px 0; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.info-icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; color: var(--primary); }
.info-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.info-item-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.info-item-value a { color: var(--ink); text-decoration: none; }
.info-item-value a:hover { color: var(--primary); }
.info-emergency {
  background: #fff4ec;
  border: 1px solid #f2c8a4;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
}
.info-emergency-label { font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: #c4622d; margin-bottom: 4px; }
.info-emergency-text { font-size: 15px; color: var(--ink); font-weight: 500; }

/* Service area chips */
.service-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.area-chip {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Info block (index contact) */
.info-block { margin-bottom: 4px; }
.info-label { font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-value { font-size: 17px; font-weight: 500; color: var(--ink); }
.info-value a { color: var(--ink); text-decoration: none; }
.info-value a:hover { color: var(--primary); }
.info-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Social row */
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}
.social-link:hover { border-color: var(--primary); color: var(--primary); }
.social-link svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info-col { padding-top: 0; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── PAGE HEADER (sub-pages) ───────────────────────────────────────────── */
.page-header {
  min-height: clamp(280px, 38vw, 480px);
  display: flex;
  align-items: flex-end;
  background: var(--accent);
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(26,24,20,0.3) 0%, rgba(26,24,20,0.75) 100%);
}
.page-header-inner {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 64px);
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}
.page-header-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 14px;
}
.page-header-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  line-height: 1.6;
}
.page-eyebrow { color: rgba(255,255,255,0.65); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.page-eyebrow::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--primary); flex-shrink: 0; }

/* ─── SERVICES DETAIL PAGE ──────────────────────────────────────────────── */
.services-detail {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-py) clamp(20px, 4vw, 48px);
}
.services-intro {
  margin-bottom: 64px;
}
.services-intro h2 { max-width: 20ch; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
  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 {
  border-radius: var(--radius);
  overflow: hidden;
}
.service-block-photo > img {
  width: 100%;
  height: clamp(280px, 30vw, 440px);
  object-fit: cover;
  max-height: none !important;
  display: block;
}
.service-block-body { display: flex; flex-direction: column; gap: 16px; }
.service-block-body h2 { font-size: clamp(28px, 3.5vw, 48px); }
.service-block-body p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-block-heading { font-size: clamp(28px, 3vw, 44px); }
.service-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

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

/* ─── CTA BANNER ────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--accent);
  padding: clamp(72px, 10vw, 120px) 0;
}
.cta-banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.cta-banner-text { display: flex; flex-direction: column; gap: 12px; }
.cta-banner-inner h2, .cta-banner-heading {
  font-size: clamp(36px, 5.5vw, 80px);
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.cta-banner-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  line-height: 1.6;
}
.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ─── GALLERY FILTER ────────────────────────────────────────────────────── */
.gallery-filter {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 800;
}
.gallery-filter-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ─── CASE GRID ─────────────────────────────────────────────────────────── */
.case-grid-section {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.case-grid-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.case-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.case-grid-header h2 { font-size: clamp(32px, 4vw, 56px); max-width: 16ch; }
.grid-count {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
  border: 1px solid var(--border);
}
.case-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); }
.case-card-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.case-card-photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease;
  position: absolute;
  inset: 0;
}
.case-card:hover .case-card-photo > img { transform: scale(1.04); }
.case-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.case-card-num {
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}
.case-card-body {
  padding: 20px 22px 22px;
}
.case-card-body h3 { font-size: clamp(17px, 1.6vw, 22px); margin-bottom: 6px; }
.case-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.case-card-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.case-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.meta-item svg { width: 14px !important; height: 14px !important; color: var(--muted); flex-shrink: 0; }

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

/* ─── FULLBLEED BREAK ───────────────────────────────────────────────────── */
.fullbleed-break {
  position: relative;
  height: clamp(240px, 35vw, 480px);
  overflow: hidden;
}
.fullbleed-break > img {
  position: absolute !important;
  inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover;
  max-height: none !important;
  z-index: 0;
}
.fullbleed-break-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(26,24,20,0.75) 0%, rgba(26,24,20,0.35) 100%);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 6vw, 96px);
}
.fullbleed-break-text {
  color: #fff;
  max-width: 56ch;
}
.fullbleed-break-text p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.fullbleed-break-text strong { color: var(--primary); font-weight: 700; }

/* ─── FOUNDER / ABOUT STORY ─────────────────────────────────────────────── */
.founder-story {
  padding: var(--section-py) 0;
  background: var(--canvas);
}
.founder-story-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}
.founder-portrait-col { }
.founder-portrait-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.founder-portrait-wrap > img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  filter: grayscale(15%);
  display: block;
}
.founder-portrait-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}
.founder-copy-col { padding-top: 8px; }
.founder-copy-col h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 24px; }
.founder-display-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.3;
}
.founder-body p { font-size: 17px; color: var(--muted); line-height: 1.72; margin-bottom: 16px; }
.founder-hairline {
  border: none;
  border-top: 2px solid var(--primary);
  width: 60px;
  margin: 32px 0 0;
}

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

/* ─── VALUES SECTION ────────────────────────────────────────────────────── */
.values-section {
  padding: var(--section-py) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.values-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.values-header { margin-bottom: 48px; }
.values-header h2 { max-width: 16ch; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-card-icon {
  width: 28px !important;
  height: 28px !important;
  color: var(--primary);
}
.value-card h3 { font-size: clamp(18px, 1.6vw, 22px); }
.value-card p { font-size: 15px; color: var(--muted); line-height: 1.62; }

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

/* ─── TIMELINE ──────────────────────────────────────────────────────────── */
.timeline-section {
  padding: var(--section-py) 0;
  background: var(--canvas);
  border-top: 1px solid var(--border);
}
.timeline-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.timeline-header { margin-bottom: 56px; }
.timeline-header h2 { max-width: 16ch; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 16px; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding-top: 40px;
}
.timeline-dot {
  position: absolute;
  top: 8px;
  left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--canvas);
  box-shadow: 0 0 0 1px var(--primary);
}
.timeline-date {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.timeline-step h3 { font-size: clamp(16px, 1.5vw, 20px); }
.timeline-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.timeline-header h2 { font-size: clamp(32px, 4vw, 56px); }

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

/* ─── CREW STRIP ────────────────────────────────────────────────────────── */
.crew-strip {
  padding: var(--section-py) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.crew-strip-header {
  max-width: var(--content-max);
  margin: 0 auto 40px;
  padding: 0 clamp(20px, 4vw, 48px);
}
.crew-strip-header h2 { font-size: clamp(32px, 4vw, 56px); max-width: 18ch; }
.crew-photos {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.crew-photo-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.crew-photo-item > img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none !important;
  filter: grayscale(10%);
  transition: filter 300ms;
}
.crew-photo-item:hover > img { filter: grayscale(0%); }

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

/* ─── ABOUT SECTION (index) ─────────────────────────────────────────────── */
.about-section {
  padding: var(--section-py) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.about-inner h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 24px; max-width: 16ch; }
.about-display-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(19px, 2vw, 26px);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.35;
}
.about-body p { font-size: 17px; color: var(--muted); line-height: 1.72; margin-bottom: 16px; }
.about-hairline {
  border: none;
  border-top: 2px solid var(--primary);
  width: 60px;
  margin: 28px 0 0;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 96px) 0 0;
}
.footer-inner, .footer-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(56px, 7vw, 80px);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo, .footer-brand > div:first-child { margin-bottom: 0; }
.footer-tagline, .footer-brand-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 28ch;
}
.footer-phone, .footer-phone-big {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin-top: 8px;
}
.footer-phone a, .footer-phone-big a { color: var(--primary); text-decoration: none; }
.footer-phone a:hover, .footer-phone-big a:hover { color: #fff; }

.footer-col { display: flex; flex-direction: column; }
.footer-col-title, .footer-col-label, .footer-col-heading {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col h4 { font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; font-style: normal; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links li { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 15px; text-decoration: none; transition: color 150ms; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { list-style: none; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 15px; text-decoration: none; transition: color 150ms; }
.footer-col ul a:hover { color: #fff; }
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-line svg { width: 16px !important; height: 16px !important; color: var(--primary); flex-shrink: 0; }
.footer-contact-line a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact-line a:hover { color: #fff; }
.footer-contact-detail { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 8px; line-height: 1.55; }
.footer-contact-detail a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact-detail a:hover { color: #fff; }
.footer-emergency { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-emergency a { color: var(--primary); text-decoration: none; font-weight: 600; }
.footer-emergency a:hover { color: #fff; }

.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;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy, .footer-bottom p, .footer-bottom span {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-license { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

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

/* ─── MOBILE CTA PILL ───────────────────────────────────────────────────── */
.mobile-cta, .mobile-cta-pill {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: filter 150ms, transform 120ms;
}
.mobile-cta a, .mobile-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.mobile-cta a:hover, .mobile-cta-pill:hover { text-decoration: none; color: #fff; }
.mobile-cta svg, .mobile-cta-pill svg { width: 20px !important; height: 20px !important; flex-shrink: 0; }
.mobile-cta:hover, .mobile-cta-pill:hover { filter: brightness(0.92); transform: translateY(-1px); }

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

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

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

/* ─── MISC FIXES ────────────────────────────────────────────────────────── */
/* All unsized SVGs get a cap */
svg { max-width: 100%; }
.trust-badge svg,
.service-link svg,
.faq-chevron,
.info-icon svg,
.social-link svg,
.footer-contact-line svg,
.meta-item svg,
.value-card-icon,
.btn svg { flex-shrink: 0; }

/* Prevent text-direction mirror */
.flip { /* layout-only: use order on children */ }

/* Readable table cells */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: #fff;
}

/* Ensure section background doesn't bleed */
.hero { background-color: var(--accent); }

/* Contact form col section-eyebrow spacing */
.contact-form-col .section-eyebrow,
.contact-info-col .section-eyebrow { margin-bottom: 12px; }

/* Page header eyebrow variations */
.eyebrow.eyebrow-light::before { background: rgba(255,255,255,0.85); }

/* CTA banner eyebrow on dark */
.cta-banner .eyebrow,
.cta-banner .cta-banner-eyebrow,
.cta-banner .section-eyebrow {
  color: rgba(255,255,255,0.6);
}
.cta-banner .eyebrow::before,
.cta-banner .cta-banner-eyebrow::before,
.cta-banner .section-eyebrow::before { background: rgba(255,255,255,0.8); }

/* Team CTA eyebrow */
.team-cta .eyebrow { color: rgba(255,255,255,0.6); }
.team-cta .eyebrow::before { background: rgba(255,255,255,0.7); }

/* Active state for tabs */
.active { }

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


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