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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #B4ECEC;
  --accent:         #33CBCB;
  --canvas:         #F7F4EE;
  --surface:        #EFF0E8;
  --surface-inset:  #E5E6DC;
  --ink:            #1C2918;
  --muted:          #4A5C3E;
  --forest:         #2D5126;
  --border:         rgba(28,41,24,0.12);
  --border-mid:     rgba(28,41,24,0.20);
  --header-height:  72px;
}
@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

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

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-bottom: 12px;
}
.section-eyebrow.teal { color: var(--accent); }

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title-lg {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title-md {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ============================================================
   TREE SUPERGRAPHIC — throughline identity
   Each section header zone gets the ghost tree behind it via
   a pseudo-element on the inner container.
   ============================================================ */
.services-inner,
.gallery-inner,
.credentials-inner,
.service-areas-inner,
.faq-inner,
.contact-inner {
  position: relative;
}
.services-inner::before,
.gallery-inner::before,
.credentials-inner::before,
.service-areas-inner::before,
.faq-inner::before,
.contact-inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(280px, 38vh, 520px);
  height: clamp(280px, 38vh, 520px);
  background-color: var(--ink);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  /* SVG tree silhouette as mask */
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 280'%3E%3Cpath d='M100 10 C60 10 30 40 30 75 C30 100 45 120 65 132 C50 140 38 158 38 178 C38 205 56 226 80 232 L80 270 L120 270 L120 232 C144 226 162 205 162 178 C162 158 150 140 135 132 C155 120 170 100 170 75 C170 40 140 10 100 10Z' fill='%23000'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: top right;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 280'%3E%3Cpath d='M100 10 C60 10 30 40 30 75 C30 100 45 120 65 132 C50 140 38 158 38 178 C38 205 56 226 80 232 L80 270 L120 270 L120 232 C144 226 162 205 162 178 C162 158 150 140 135 132 C155 120 170 100 170 75 C170 40 140 10 100 10Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: top right;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: filter 200ms ease, transform 150ms ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { filter: brightness(0.90); color: var(--ink); }

.btn-phone {
  background: transparent;
  color: var(--canvas);
  border: 2px solid rgba(247,244,238,0.5);
}
.btn-phone:hover { border-color: var(--canvas); color: var(--canvas); }

.btn-submit {
  background: var(--accent);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  padding: 0 28px;
  height: 44px;
  border-radius: 4px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: filter 200ms;
}
.btn-submit:hover { filter: brightness(0.90); }

/* ============================================================
   CHIPS
   ============================================================ */
.trust-chip {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.free-est-chip {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 999px;
  margin-top: 20px;
}

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

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

.nav-logo {
  flex: 0 0 auto;
}
.nav-logo img {
  max-height: 44px !important;
  max-width: 200px !important;
}

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-pages ul {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
}
.nav-pages a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-pages a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.nav-cta {
  flex: 0 0 auto;
}
.nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 200ms;
}
.nav-cta a:hover { filter: brightness(0.90); text-decoration: none; color: var(--ink); }

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

@media (max-width: 900px) {
  .nav-pages {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: 24px 28px;
    gap: 8px;
    border-bottom: 1px solid rgba(28,41,24,0.08);
    z-index: 800;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-pages.open {
    display: flex;
  }
  .nav-pages ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .nav-pages a {
    font-size: 17px;
    padding: 10px 0;
    display: block;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .nav-cta a .nav-cta-label {
    display: none;
  }
  .nav-cta a {
    padding: 10px 12px;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  max-height: none !important; /* Override defensive cap for hero */
}

.hero-overlay {
  background: linear-gradient(
    to top,
    rgba(28, 41, 24, 0.82) 0%,
    rgba(28, 41, 24, 0.48) 45%,
    rgba(28, 41, 24, 0.18) 100%
  );
}

.hero-inner {
  max-width: 1240px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #F7F4EE;
  max-width: 16ch;
  margin-bottom: 20px;
}

.hero-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--primary);
  max-width: 54ch;
  line-height: 1.5;
  margin-bottom: 28px;
}

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

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

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

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: clamp(11px, 1.2vw, 13px);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  line-height: 1.2;
}

.marquee-item span {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

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

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--ink);
  padding: 64px 0;
}

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

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  min-width: 120px;
}

.trust-badge-icon {
  width: 28px !important;
  height: 28px !important;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-badge svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.trust-badge-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .trust-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 120px) 0;
}

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

.services-inner > .section-eyebrow,
.services-inner > .section-title-md {
  position: relative;
  z-index: 1;
}

.services-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.services-tabs::-webkit-scrollbar { display: none; }

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms, border-color 200ms;
  margin-bottom: -2px;
}
.service-tab:hover { color: var(--ink); }
.service-tab.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.services-panels {
  position: relative;
  z-index: 1;
}

.service-panel {
  display: none;
  grid-template-columns: 44% 56%;
  min-height: 480px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.service-panel.active {
  display: grid;
}

.service-panel-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.service-panel-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.service-panel-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.service-panel-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 4px;
}
.service-panel-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 8px;
  transition: gap 200ms;
}
.service-link:hover {
  text-decoration: none;
  color: var(--accent);
  gap: 10px;
}

@media (max-width: 900px) {
  .service-panel.active {
    display: flex;
    flex-direction: column;
  }
  .service-panel-img {
    min-height: 260px;
    position: relative;
  }
  .service-panel-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none !important;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--surface);
  padding: clamp(72px, 9vh, 120px) 0;
}

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

.gallery-inner > * { position: relative; z-index: 1; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  margin-top: 32px;
}

.gallery-main {
  grid-column: 1;
  grid-row: 1;
  height: 420px;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.gallery-stack {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-stack-item {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
}

.gallery-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-top: 20px;
  opacity: 0.65;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main { height: 260px; }
  .gallery-stack {
    flex-direction: row;
  }
  .gallery-stack-item { min-height: 160px; }
}

/* ============================================================
   ABOUT (about-with-photo)
   We do not have an #about section in the HTML outline,
   but the brief specifies it. Style it defensively.
   ============================================================ */
.about {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 120px) 0;
}
.about-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-text { position: relative; z-index: 1; }
.about-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-photo-col {
  position: relative;
  z-index: 1;
}
.about-photo-col img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px;
  max-height: none !important;
}
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-photo-col { order: -1; }
  .about-photo-col img { height: 300px; }
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials {
  background: var(--surface);
  padding: clamp(72px, 9vh, 120px) 0;
}

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

.credentials-inner > * { position: relative; z-index: 1; }

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

.cred-card {
  background: var(--surface-inset);
  border-radius: 4px;
  padding: 24px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.cred-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.14);
}

.cred-card-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 120px) 0;
}

.service-areas-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.service-areas-inner > * { position: relative; z-index: 1; }

.service-areas-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 24ch;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.area-pill {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid rgba(28,41,24,0.30);
  padding: 8px 20px;
  border-radius: 4px;
  transition: border-color 200ms, background 200ms;
}
.area-pill:hover {
  border-color: var(--accent);
  background: rgba(51,203,203,0.08);
}

.area-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 60ch;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--surface);
  padding: clamp(72px, 9vh, 120px) 0;
}

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

.faq-inner > * { position: relative; z-index: 1; }

.faq-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 36px;
}

.faq-list {
  max-width: 820px;
}

details.faq-list > details,
.faq-list details {
  border-bottom: 1px solid rgba(28,41,24,0.12);
  padding: 18px 0;
}

.faq-list details:first-child {
  border-top: 1px solid rgba(28,41,24,0.12);
}

.faq-list details summary {
  cursor: pointer;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.3;
}

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

.faq-toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 200ms;
  line-height: 1;
}

.faq-list details[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
  max-width: 72ch;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--canvas);
  padding: clamp(72px, 9vh, 120px) 0;
}

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

.contact-inner > * { position: relative; z-index: 1; }

.contact-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

/* Vertical separator on desktop */
@media (min-width: 900px) {
  .contact-grid {
    position: relative;
  }
  .contact-grid::after {
    content: '';
    position: absolute;
    left: 55%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(28,41,24,0.15);
    transform: translateX(-50%);
  }
}

.contact-form-col { }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 200ms;
  outline: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-phone {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.contact-phone:hover { color: var(--accent); text-decoration: none; }

.contact-email {
  font-size: 16px;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.hours-block {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

.hours-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-width: 80px;
}

.hours-val {
  color: var(--ink);
  font-size: 15px;
}

.contact-address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #F7F4EE;
  padding: 56px 0 0;
}

.footer-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 48px;
  padding-bottom: 48px;
}

.footer-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247,244,238,0.65);
  margin-top: 12px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.footer-nav-list a {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  transition: color 150ms;
}
.footer-nav-list a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-inner > div > p:first-child {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247,244,238,0.50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer-phone {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.footer-phone:hover { color: #fff; text-decoration: none; }

.footer-insured {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
  margin-top: 6px;
}

.footer-bar {
  border-top: 1px solid rgba(247,244,238,0.10);
  padding: 20px clamp(20px, 4vw, 48px);
  max-width: 100%;
}
.footer-bar p {
  max-width: 1240px;
  margin-inline: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(247,244,238,0.35);
}

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

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: var(--accent);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  text-decoration: none;
  align-items: center;
  gap: 8px;
  transition: filter 200ms;
}
.mobile-call-pill:hover { filter: brightness(0.90); text-decoration: none; color: var(--ink); }

@media (max-width: 900px) {
  .mobile-call-pill { display: flex; }
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
  opacity: 0;
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }
.scale-in   { transform: scale(0.95); }

.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 ease, transform 500ms ease;
}
.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; }

/* ============================================================
   SECTION SPACING — shared rhythm
   ============================================================ */
.services,
.gallery,
.credentials,
.service-areas,
.faq,
.contact {
  padding-top: clamp(72px, 9vh, 120px);
  padding-bottom: clamp(72px, 9vh, 120px);
}

/* Section heading spacing */
.services-inner h2,
.gallery-inner h2,
.credentials-inner h2,
.service-areas-inner h2,
.faq-inner h2,
.contact-inner h2 {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   TABLE CELLS — scoped to thead only for dark headers
   ============================================================ */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: #F7F4EE;
}

/* ============================================================
   MISC
   ============================================================ */

/* Ensure nav SVGs don't explode */
.top-nav svg { width: 20px; height: 20px; flex-shrink: 0; }

/* trust-badge SVG defensive cap */
.trust-badge svg,
.trust-badge-icon {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
}

/* Gallery images defensive cap */
.gallery-main img,
.gallery-stack-item img {
  max-height: none !important;
}

/* Service panel images */
.service-panel-img img {
  max-height: none !important;
}

/* Hero images */
.hero > img.hero-bg,
img.hero-bg {
  max-height: none !important;
}

/* Teal utility class */
.teal { color: var(--accent); }

/* Form select arrow */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5C3E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ============================================================
   PRINT / REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-left,
  .fade-right,
  .scale-in,
  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.trust-badge { grid-column: 1 / -1; }
.cred-card { grid-column: 1 / -1; }
.contact-form-col { grid-column: 1 / -1; }
.contact-info-col { grid-column: 1 / -1; }
