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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #526A25;
  --primary-dark:   #3E5019;
  --primary-light:  #6B8A30;
  --accent:         #C4622D;
  --accent-dark:    #A84F23;
  --canvas:         #F7F3EC;
  --surface:        #EDE8DC;
  --bark:           #332717;
  --bark-mid:       #4A3920;
  --ink:            #1E1A13;
  --muted:          #6B6050;
  --olive:          #918B52;
  --border:         rgba(82,106,37,0.22);
  --border-dark:    rgba(255,255,255,0.10);
  --shadow-md:      0 8px 28px -8px rgba(30,26,19,0.22);
  --shadow-lg:      0 18px 48px -12px rgba(30,26,19,0.28);
  --header-height:  72px;
  --section-py:     clamp(72px, 9vh, 120px);
  --max-w:          1280px;
  --radius:         4px;
  --radius-pill:    999px;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

/* 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 anchor rule */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

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

ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Low-opacity grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.55;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container      { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.wide-container { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.bleed          { width: 100%; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #F7F3EC;
  max-width: 14ch;
}

h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
}

h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}

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

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

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #F7F3EC;
  box-shadow: 0 4px 16px -4px rgba(82,106,37,0.40);
}
.btn-primary:hover { filter: brightness(1.08); color: #F7F3EC; box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--accent);
  color: #F7F3EC;
  box-shadow: 0 4px 16px -4px rgba(196,98,45,0.38);
}
.btn-accent:hover { filter: brightness(0.93); color: #F7F3EC; box-shadow: var(--shadow-md); }

.btn-phone {
  background: transparent;
  color: #F7F3EC;
  border: 2px solid rgba(247,243,236,0.55);
  padding: 13px 26px;
}
.btn-phone:hover { background: rgba(247,243,236,0.12); color: #F7F3EC; }

.btn-submit {
  background: var(--accent);
  color: #F7F3EC;
  border: none;
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: filter 180ms, transform 160ms;
}
.btn-submit:hover { filter: brightness(0.92); transform: translateY(-1px); }

/* Trust chips */
.trust-chip {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: #F7F3EC;
  background: rgba(82,106,37,0.18);
  white-space: nowrap;
}

/* Parallelogram mask — signature move */
.para-clip {
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.para-clip-left {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up   { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-right{ opacity: 0; transform: translateX(28px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.scale-in  { opacity: 0; transform: scale(0.94);       transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger   { opacity: 0; transform: translateY(20px);  transition: opacity 0.55s ease, transform 0.55s ease; }

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

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--canvas);
  border-bottom: 1px solid rgba(0,0,0,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;
  gap: 10px;
}

.nav-logo span {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

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

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  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;
  background: var(--primary);
  color: #F7F3EC;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 180ms;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover { filter: brightness(0.92); color: #F7F3EC; text-decoration: none; }

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

@media (max-width: 900px) {
  .top-nav { padding: 0 18px; gap: 12px; }

  .nav-pages {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--canvas);
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 24px -8px rgba(30,26,19,0.12);
    z-index: 800;
  }

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

  .nav-pages li { width: 100%; }
  .nav-pages a {
    display: block;
    padding: 10px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav-toggle { display: flex; }

  .nav-cta .nav-cta-text { display: none; }
  .nav-cta {
    padding: 10px 12px;
    border-radius: var(--radius-pill);
  }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(0.85);
  max-height: none !important; /* override section img cap */
}

.hero-overlay {
  background: linear-gradient(
    to top,
    rgba(30,26,19,0.82) 0%,
    rgba(30,26,19,0.60) 40%,
    rgba(30,26,19,0.28) 70%,
    rgba(30,26,19,0.10) 100%
  );
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 56px);
  padding-bottom: clamp(56px, 8vh, 96px);
  width: 100%;
}

.hero-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #F7F3EC;
  max-width: 14ch;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(247,243,236,0.82);
  max-width: 54ch;
  margin-bottom: 32px;
  line-height: 1.62;
}

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

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

@media (max-width: 640px) {
  #hero { min-height: 88vh; align-items: flex-end; }
  .hero-title { max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

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

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

.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.trust-badge:first-child { border-left: 1px solid var(--border); }

.trust-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
}

@media (max-width: 900px) {
  .trust-strip-inner { gap: 0; }
  .trust-badge {
    width: calc(50% - 1px);
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    justify-content: center;
  }
  .trust-badge:first-child { border-left: none; }
}

@media (max-width: 640px) {
  .trust-badge { width: 100%; justify-content: flex-start; }
}

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

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}

.marquee-item span[aria-hidden] {
  color: var(--primary);
  font-size: 10px;
}

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

/* ============================================================
   SERVICES — TABBED PANEL
   ============================================================ */
.services {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.services-header {
  margin-bottom: 40px;
}

.services-header h2 { color: var(--ink); }
.services-header p  { max-width: 52ch; color: var(--muted); margin-top: 12px; font-size: 17px; }

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.service-tab {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 150ms, border-color 150ms;
  white-space: nowrap;
}

.service-tab:hover { color: var(--ink); }

.service-tab.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.services-panels {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.service-panel {
  display: none;
  grid-template-columns: 45% 55%;
  min-height: 480px;
}

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

.service-panel-img {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  background: var(--bark);
}

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

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

.service-panel-body h3 {
  font-size: clamp(24px, 3vw, 38px);
  color: var(--ink);
  margin-bottom: 4px;
}

.service-panel-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

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

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

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

.service-panel-body .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .service-panel { grid-template-columns: 1fr; min-height: auto; }
  .service-panel-img {
    height: 260px;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }
  .services-tabs { gap: 4px; }
  .service-tab { font-size: 13px; padding: 9px 14px; }
}

@media (max-width: 640px) {
  .service-tab { font-size: 12px; padding: 8px 10px; }
}

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

.gallery-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.gallery-header {
  margin-bottom: 40px;
}

.gallery-header h2 { color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  background: var(--bark);
  cursor: pointer;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30,26,19,0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
  transition: transform 400ms ease;
  filter: saturate(0.88);
}

.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.0); }

/* Large item spans 2 rows */
.gallery-item.large {
  grid-row: span 2;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 220px 220px;
  }
  .gallery-item.large { grid-row: span 2; }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item        { height: 240px; clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
  .gallery-item.large  { grid-row: span 1; height: 280px; }
}

/* ============================================================
   ABOUT WITH PHOTO
   ============================================================ */
.about-with-photo {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.about-text { grid-column: 1; }
.about-photo { grid-column: 2; }

.about-text h2 { color: var(--ink); margin-bottom: 20px; }
.about-text p  { color: var(--muted); line-height: 1.74; margin-bottom: 16px; font-size: 17px; }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-chips .trust-chip {
  color: var(--primary);
  background: transparent;
}

.about-photo-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 2px;
  background: var(--surface);
}

.about-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
  filter: saturate(0.88);
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-text  { grid-column: 1; }
  .about-photo { grid-column: 1; }
  .about-photo-wrap {
    height: 56vw;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  }
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials {
  background: var(--bark);
  padding: var(--section-py) 0;
}

.credentials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.credentials-header {
  margin-bottom: 48px;
}

.credentials-header .eyebrow { color: var(--olive); }
.credentials-header h2       { color: #F7F3EC; }

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

.credential-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: background 220ms;
}

.credential-block:hover { background: rgba(255,255,255,0.06); }

.credential-block svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}

.credential-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 4px;
}

.credential-detail {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.1;
  color: #F7F3EC;
}

.credential-sub {
  font-size: 14px;
  color: rgba(247,243,236,0.55);
  line-height: 1.5;
}

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

@media (max-width: 640px) {
  .credentials-grid { grid-template-columns: 1fr; gap: 16px; }
  .credential-block { padding: 24px 20px; }
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  background: var(--surface);
  padding: var(--section-py) 0;
  text-align: center;
}

.service-areas-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.service-areas-inner .eyebrow { text-align: center; }
.service-areas-inner h2       { color: var(--ink); margin-bottom: 36px; }

.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.area-chip {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  color: var(--primary);
  background: transparent;
  transition: background 180ms, color 180ms;
}

.area-chip:hover { background: var(--primary); color: #F7F3EC; }

.service-areas-note {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.faq-header { margin-bottom: 40px; }
.faq-header h2 { color: var(--ink); }

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

details {
  border-bottom: 1px solid rgba(145,139,82,0.35);
  padding: 6px 0;
}

details summary {
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
  user-select: none;
}

details summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 220ms ease;
}

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

.faq-answer {
  padding: 4px 0 20px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-answer a { color: var(--primary); font-weight: 600; }
.faq-answer a:hover { color: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--surface);
  padding: var(--section-py) 0;
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-left  { grid-column: 1; }
.contact-right { grid-column: 2; }

.contact-left .eyebrow { margin-bottom: 6px; }
.contact-left h2       { color: var(--ink); margin-bottom: 32px; }

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

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

.form-field label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid rgba(107,96,80,0.28);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color 160ms, box-shadow 160ms;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(82,106,37,0.14);
}

.form-field textarea { min-height: 120px; resize: vertical; }

/* Contact right column */
.contact-right { padding-top: 8px; }

.contact-phone-link {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  transition: color 150ms;
}
.contact-phone-link:hover { color: var(--primary); text-decoration: none; }

.contact-info { margin-bottom: 28px; }

.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-info-row .label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--olive);
}

.contact-info-row a,
.contact-info-row span:not(.label) {
  font-size: 15px;
  color: var(--ink);
}

.contact-info-row a { color: var(--primary); }
.contact-info-row a:hover { color: var(--accent); }

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hours-list span {
  font-size: 14px;
  color: var(--muted);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow 180ms;
}

.google-badge:hover { box-shadow: var(--shadow-md); text-decoration: none; }

.stars {
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 2px;
}

.rating-text {
  font-size: 14px;
  color: var(--muted);
  font-family: 'IBM Plex Sans', sans-serif;
}

.rating-text strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-left  { grid-column: 1; }
  .contact-right { grid-column: 1; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bark);
  color: rgba(247,243,236,0.75);
  padding: clamp(56px, 7vh, 96px) 0 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

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

.footer-brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  color: #F7F3EC;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(247,243,236,0.55);
  line-height: 1.6;
  max-width: 30ch;
  margin-bottom: 16px;
}

.footer-isa-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--olive);
  padding: 8px 14px;
  border: 1px solid rgba(145,139,82,0.35);
  border-radius: var(--radius);
  width: fit-content;
  margin-top: 8px;
}

.footer-isa-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

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

.footer-links a {
  font-size: 14px;
  color: var(--olive);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: #F7F3EC; text-decoration: none; }

.footer-col h4 {
  color: var(--olive);
  margin-bottom: 12px;
}

.footer-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flabel {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(145,139,82,0.65);
}

.footer-contact-row a,
.footer-contact-row span:not(.flabel) {
  font-size: 14px;
  color: rgba(247,243,236,0.65);
}

.footer-contact-row a { text-decoration: none; transition: color 150ms; }
.footer-contact-row a:hover { color: #F7F3EC; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px clamp(20px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.footer-copy  { font-size: 13px; color: var(--muted); }
.footer-owner { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col:first-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-col:first-child { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill {
  display: none;
}

@media (max-width: 900px) {
  .mobile-call-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 999;
    background: var(--primary);
    color: #F7F3EC;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: filter 180ms, transform 160ms;
  }
  .mobile-call-pill:hover { filter: brightness(0.93); color: #F7F3EC; text-decoration: none; transform: translateY(-1px); }
  .mobile-call-pill svg { width: 20px; height: 20px; flex-shrink: 0; }
}

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

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

.stat-num {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
}

.stat-label {
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
}

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

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

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

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

.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; }

/* ============================================================
   TABLE CELLS
   ============================================================ */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--bark);
  color: #F7F3EC;
}

/* ============================================================
   MISC DEFENSIVE RULES
   ============================================================ */

/* Ensure no mirror transforms on content */
.flip { order: -1; }

/* Global smooth scroll already set above on html */

/* Ensure cap unsized SVGs in various contexts */
.trust-badge svg,
.credential-block svg,
.footer-isa-badge svg,
.faq-chevron,
.google-badge svg {
  flex-shrink: 0;
}

/* Success state for form */
.form-success {
  padding: 20px 24px;
  background: rgba(82,106,37,0.10);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  display: none;
}

.form-success.visible { display: block; }

/* Error state */
.field-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.gallery-item { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
