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

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #7CBC04;
  --accent:         #558102;
  --canvas:         #0C0C0F;
  --surface:        #1A1814;
  --ink:            #F4F1EA;
  --muted:          #8E8A82;
  --border:         rgba(244,241,234,0.10);
  --border-brand:   rgba(124,188,4,0.35);
  --surface-2:      #221F1A;
  --shadow-deep:    0 24px 64px -16px rgba(0,0,0,0.70);
  --shadow-card:    0 8px 32px -8px rgba(0,0,0,0.55);
  --radius:         4px;
  --header-height:  72px;
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Inter Tight', system-ui, sans-serif;
  --font-mono:      'IBM Plex Mono', 'Courier New', monospace;
  --section-py:     clamp(112px, 14vh, 180px);
  --content-max:    1200px;
  --wide-max:       1400px;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
  background: var(--canvas);
  color: var(--ink);
}

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

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

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

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 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 45%; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

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

section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}
section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

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

/* Heading anchor inheritance */
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: 1px;
  text-underline-offset: 4px;
}

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

ul { list-style: none; }
address { font-style: normal; }

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

.dh {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* Unique move: inline italic display words tinted brand */
em, .bw {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.25em;
  line-height: inherit;
  letter-spacing: -0.01em;
}

/* Override: structural .bw inside headings keeps ink color when not meant to be accent */
.hero-title .bw, .dh .bw, .about-story-headline .bw,
.cta-banner-title .bw, .ci-title .bw, .form-hd .bw {
  color: var(--primary);
}

p { line-height: 1.72; color: var(--ink); }

.eyebrow, .section-eyebrow, .section-eyebrow-label,
.page-header-eyebrow, .services-intro-label,
.cta-banner-eyebrow, .cta-banner-label,
.contact-form-label, .gallery-section-label,
.about-story-eyebrow, .fc-lbl, .footer-col-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

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

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

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

.s-canvas {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.s-hd {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.s-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  margin-top: 20px;
  line-height: 1.65;
}

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

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

.top-nav {
  height: var(--header-height);
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 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; }

#navLinks.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
}

.nav-pages ul, #navLinks {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-pages a, #navLinks a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 150ms;
}

.nav-pages a:hover, #navLinks a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-pages a[aria-current="page"],
#navLinks a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

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

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

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

@media (max-width: 900px) {
  .top-nav { height: 60px; padding-inline: 20px; gap: 16px; }
  .nav-toggle, #navToggle { display: flex; margin-left: auto; }

  #navLinks.nav-pages {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: var(--canvas);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
    z-index: 800;
  }

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

  #navLinks li { width: 100%; }
  #navLinks a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(12,12,15,0.88) 0%,
    rgba(12,12,15,0.55) 45%,
    rgba(85,129,2,0.18) 100%
  );
  z-index: 1;
}

.hero-ribbon {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 3;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vh, 112px);
  padding-top: clamp(120px, 16vh, 180px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(72px, 9vw, 144px);
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 14ch;
}

.hero-title .bw {
  color: var(--primary);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.trust-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  line-height: 1;
  background: rgba(244,241,234,0.04);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-primary,
.btn-primary-lg,
.btn-ghost,
.btn-ghost-lg,
.btn-ghost-sm,
.btn-feature,
.btn-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 150ms ease, background 150ms ease, color 150ms ease, transform 120ms ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--canvas);
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(0.9); color: var(--canvas); text-decoration: none; }

.btn-primary-lg {
  background: var(--primary);
  color: var(--canvas);
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 600;
}
.btn-primary-lg:hover { filter: brightness(0.9); color: var(--canvas); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 18px 32px;
  font-size: 15px;
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.btn-ghost-lg {
  background: transparent;
  color: var(--ink);
  padding: 20px 40px;
  font-size: 16px;
  border: 1px solid var(--border);
}
.btn-ghost-lg:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.btn-ghost-sm {
  background: transparent;
  color: var(--ink);
  padding: 12px 22px;
  font-size: 13px;
  border: 1px solid var(--border);
}
.btn-ghost-sm:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-ghost-sm svg { width: 16px; height: 16px; }

.btn-feature {
  background: var(--primary);
  color: var(--canvas);
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}
.btn-feature:hover { filter: brightness(0.9); color: var(--canvas); text-decoration: none; }
.btn-feature svg { width: 16px; height: 16px; }

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

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

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

.trust-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

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

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-row {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--canvas);
  position: relative;
  z-index: 1;
}

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

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

.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 20px);
  letter-spacing: -0.01em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 20px;
}

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

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

/* ============================================================
   SERVICES
   ============================================================ */
.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.svc-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms ease;
  line-height: 1;
}

.svc-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.svc-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--canvas);
}

.svc-panels { position: relative; }

.svc-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
}

.svc-panel.active {
  display: grid;
}

.svc-photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.svc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(25%) brightness(0.85);
  transition: filter 400ms ease, transform 400ms ease;
}

.svc-panel:hover .svc-photo img {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.02);
}

.svc-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.svc-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.svc-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .svc-panel.active { grid-template-columns: 1fr; }
  .svc-photo { min-height: 240px; }
  .svc-photo img { position: relative; inset: auto; width: 100%; height: 240px; }
}

/* ============================================================
   GALLERY (INDEX PAGE)
   ============================================================ */
.gal-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
}

.gal-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
  max-height: none;
  filter: grayscale(20%) brightness(0.8);
  transition: filter 600ms ease, transform 600ms ease;
}

.gal-frame:hover img {
  filter: grayscale(0%) brightness(0.85);
  transform: scale(1.02);
}

.gal-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.gal-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gal-cta-row p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
}

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

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

.gallery-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.gallery-section-count {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  margin-bottom: 40px;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms;
  line-height: 1;
}

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

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

.gallery-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

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

.gallery-card.featured {
  grid-column: span 2;
}

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-card.featured .gallery-card-img-wrap {
  aspect-ratio: 16 / 9;
}

.gallery-card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(15%) brightness(0.9);
  transition: filter 400ms ease, transform 400ms ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  filter: grayscale(0%) brightness(0.95);
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.gallery-card-num {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(244,241,234,0.55);
  letter-spacing: 0.08em;
  z-index: 2;
}

.gallery-card-body {
  padding: 20px 22px 22px;
}

.gallery-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}

.gallery-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.gallery-card-location svg { width: 12px; height: 12px; color: var(--primary); }

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

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

@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card.featured { grid-column: span 1; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  border-top: 1px solid var(--border);
  max-width: 800px;
}

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

.faq-list details summary,
.faq section details summary,
section.faq details summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  list-style: none;
  user-select: none;
}

.faq-list details summary::-webkit-details-marker,
section.faq details summary::-webkit-details-marker { display: none; }

.fq {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
  padding-right: 24px;
}

.fq-icon,
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 200ms, color 200ms, border-color 200ms;
  line-height: 1;
}

.fq-icon svg { width: 16px; height: 16px; }

details[open] .fq-icon,
details[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
  border-color: var(--primary);
}

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

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

section.faq h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ============================================================
   TEAM CTA BAND
   ============================================================ */
.team-band {
  background: var(--surface);
  border-top: 1px solid var(--border-brand);
  border-bottom: 1px solid var(--border);
  padding: clamp(64px, 8vw, 112px) 0;
  overflow: hidden;
}

.team-band-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  text-align: center;
}

.team-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.team-copy p {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.team-copy h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.team-copy h2 .bw { color: var(--primary); }

/* ============================================================
   CONTACT (INDEX)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 40px;
}

.form-hd {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.fg label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.fg input, .fg textarea, .fg select {
  background: rgba(244,241,234,0.04);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color 150ms;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); opacity: 0.6; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--primary); }
.fg textarea { resize: vertical; min-height: 120px; }
.fg select { cursor: pointer; }
.fg select option { background: var(--surface); color: var(--ink); }

.ci-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ci-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.ci-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
  line-height: 1;
}

.ci-val {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

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

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,12,15,0.90) 0%,
    rgba(12,12,15,0.60) 50%,
    rgba(85,129,2,0.15) 100%
  );
  z-index: 1;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(48px, 7vw, 80px);
}

.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
}

.page-header-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 16ch;
}

.page-header-title em {
  font-style: italic;
  color: var(--primary);
  font-size: 1em;
}

.page-header-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  margin-top: 18px;
  max-width: 52ch;
  line-height: 1.6;
}

/* ============================================================
   SERVICES PAGE (feature blocks)
   ============================================================ */
.services-index {
  background: var(--canvas);
  padding-block: var(--section-py);
}

.services-intro {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(64px, 8vw, 96px);
}

.services-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.services-intro h2 em {
  color: var(--primary);
  font-style: italic;
  font-size: 1em;
}

.feature-block {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-block-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  min-height: 520px;
}

.feature-block-row.reverse .feature-photo-col { order: 2; }
.feature-block-row.reverse .feature-copy-col { order: 1; }

.feature-photo-col {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.feature-photo-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%) brightness(0.8);
  transition: filter 500ms ease, transform 500ms ease;
}

.feature-block-row:hover .feature-photo-col img {
  filter: grayscale(0%) brightness(0.85);
  transform: scale(1.03);
}

.photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,12,15,0.3) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.feature-copy-col {
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: var(--surface);
}

.feature-service-num {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.feature-copy-col h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.feature-copy-col h2 em {
  color: var(--primary);
  font-style: italic;
  font-size: 1em;
}

.feature-copy-col > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.feature-bullets li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 768px) {
  .feature-block-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .feature-block-row.reverse .feature-photo-col { order: -1; }
  .feature-block-row.reverse .feature-copy-col { order: 1; }
  .feature-photo-col { min-height: 280px; }
  .feature-photo-col img { position: absolute; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--surface);
  padding-block: clamp(80px, 10vw, 140px);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-brand);
}

.cta-banner-accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-banner-inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-banner-eyebrow,
.cta-banner-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
}

.cta-banner > h2,
.cta-banner-title,
.cta-banner-inner h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.cta-banner > h2 em,
.cta-banner-title em,
.cta-banner-inner h2 em {
  color: var(--primary);
  font-style: italic;
  font-size: 1em;
}

.accent { color: var(--primary); }

.cta-banner-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}

.cta-banner-phone {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

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

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

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

.about-story-portrait-col {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

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

.about-story-portrait-wrap img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  filter: grayscale(25%) brightness(0.85);
}

.about-story-portrait-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(12,12,15,0.88);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius);
  padding: 12px 18px;
  backdrop-filter: blur(8px);
}

.about-story-portrait-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.about-story-portrait-badge span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.about-story-text-col {
  padding-top: 8px;
}

.about-story-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}

.about-story-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
}

.about-story-headline em { color: var(--primary); font-size: 1em; }

.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.about-story-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.75;
}

.about-story-body p em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.25em;
}

.about-story-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-bottom: 32px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-value-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.about-value-chip strong {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.about-value-chip span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .about-story-portrait-col { position: static; }
}

/* About team section */
.about-team {
  background: var(--surface);
  padding-block: var(--section-py);
  border-top: 1px solid var(--border);
}

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

.about-team-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-team-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%) brightness(0.85);
}

.about-team-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.6) 0%, transparent 50%);
  z-index: 1;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.about-team-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-team-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.about-team-text h2 em { color: var(--primary); font-style: italic; font-size: 1em; }

.about-team-text > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.about-team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-team-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .about-team-grid { grid-template-columns: 1fr; }
  .about-team-img-wrap { aspect-ratio: 4 / 3; }
}

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

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

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

.contact-form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.contact-form-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 600;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.contact-form-headline em { color: var(--primary); font-size: 1em; }

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

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

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

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

.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(244,241,234,0.04);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color 150ms;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 0.6; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--primary); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { cursor: pointer; }
.form-field select option { background: var(--surface); color: var(--ink); }

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  opacity: 0.7;
}

.form-submit {
  background: var(--primary);
  color: var(--canvas);
  border: none;
  padding: 18px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 150ms ease, transform 120ms ease;
  align-self: flex-start;
}

.form-submit:hover { filter: brightness(0.9); transform: translateY(-1px); }

/* Contact info card */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.emergency-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px 16px;
  background: rgba(124,188,4,0.08);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius);
}

.emergency-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.emergency-text { display: flex; flex-direction: column; gap: 2px; }
.emergency-text span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); }

.info-card-section {
  padding: 16px 0;
}

.info-card-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}

.info-card-sub {
  display: block;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

.info-card-sub a { color: var(--ink); }
.info-card-sub a:hover { color: var(--primary); text-decoration: none; }

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

.info-card-value {
  font-size: 15px;
  color: var(--ink);
}

.info-hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: center;
}

.info-hours-day {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.info-hours-time {
  font-size: 14px;
  color: var(--ink);
}

.info-hours-time.open-24 {
  color: var(--primary);
  font-weight: 600;
}

.service-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.area-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(244,241,234,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: all 200ms ease;
}

.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--canvas); text-decoration: none; }

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

/* ============================================================
   EMERGENCY RIBBON (services page)
   ============================================================ */
.emergency-ribbon {
  background: var(--primary);
  color: var(--canvas);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.emergency-ribbon a { color: var(--canvas); text-decoration: none; }
.emergency-ribbon a:hover { text-decoration: underline; }

/* ============================================================
   SCROLL PROGRESS (services/gallery pages)
   ============================================================ */
#scrollProgress, .scroll-progress, #scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 9999;
  transition: width 80ms linear;
  width: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer, .site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: 48px;
}

.footer-brand, .fb {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

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

.footer-col-title, .fc-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}

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

.footer-links a, .fc-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms;
  display: inline-block;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

.footer-contact-line {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}
.footer-contact-line a { color: var(--muted); }
.footer-contact-line a:hover { color: var(--primary); text-decoration: none; }

.footer-social, .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(244,241,234,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: all 200ms;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); 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 ul a {
  font-size: 14px;
  color: var(--muted);
  transition: color 150ms;
  text-decoration: none;
}

.footer-col ul a:hover { color: var(--primary); }

.footer-btm, .footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-cp, .footer-copy, .footer-rating {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.6;
}

.footer-rating em { color: var(--primary); font-style: normal; }

.footer-col address {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

.footer-col address a { color: var(--muted); text-decoration: none; }
.footer-col address a:hover { color: var(--primary); }

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

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-btm { flex-direction: column; align-items: flex-start; gap: 8px; }
}

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

.mobile-call-pill:hover,
.mobile-call:hover,
.mobile-cta:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--canvas);
}

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

/* Hide inner anchors' default link behavior */
.mobile-call a, .mobile-cta a {
  color: var(--canvas);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1), transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1), transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1), transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1), transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.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(n+7) { opacity: 1; transform: none; transition-delay: 480ms; }

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

/* ============================================================
   PROCESS (if used)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.process-step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
}

/* ============================================================
   REVIEW CARDS (shared)
   ============================================================ */
.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.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);
}

/* ============================================================
   DETAILS / FAQ (about page variant)
   ============================================================ */
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;
  font-size: 16px;
  color: var(--ink);
}

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

details.faq > summary::after {
  content: "+";
  font-weight: 300;
  transition: transform 200ms;
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

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

details.faq p {
  margin-top: 12px;
  line-height: 1.65;
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   MISC SVG CAP (structural rule 4)
   ============================================================ */
svg { max-width: 100%; }

.nav-cta-icon { width: 16px; height: 16px; }
.ci-icon { width: 20px; height: 20px; }
.fq-icon svg { width: 14px; height: 14px; }
.btn-feature svg { width: 16px; height: 16px; }
.btn-ghost svg { width: 16px; height: 16px; }
.gallery-card-location svg { width: 12px; height: 12px; }
.mobile-call-pill > svg,
.mobile-call svg,
.mobile-cta svg { width: 18px; height: 18px; }
.social-link svg { width: 18px; height: 18px; }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 1200px) {
  .about-story-grid { grid-template-columns: 360px 1fr; }
}

@media (max-width: 900px) {
  .hero { min-height: 85vh; }
  .hero-inner { padding-top: clamp(100px, 14vh, 140px); }
  .svc-panel.active { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; }
  .about-team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card.featured { grid-column: span 2; }
  .contact-section .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(56px, 14vw, 96px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card.featured { grid-column: span 1; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner-btns, .cta-banner-actions { flex-direction: column; align-items: center; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.svc-photo { grid-column: 1 / -1; }
.svc-body { grid-column: 1 / -1; }
.fb { grid-column: 1 / -1; }
.feature-photo-col { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.about-story-text-col { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.info-hours-day { grid-column: 1 / -1; }
.open-24 { grid-column: 1 / -1; }
/* validator patch: never hide a wrapper that contains a heading */
.svc-panel { display: block !important; }
/* validator patch: hero must never crop its headline */
#hero, .hero { overflow: visible !important; }
:where(#hero, .hero) { padding-top: max(var(--header-height, 72px), 72px); }
/* validator patch: keep the hero photo visible, no smothering dark band */
.hero-overlay { background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0.34) 38%, rgba(0,0,0,0.12) 68%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0.30), rgba(0,0,0,0) 58%) !important; }
