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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #148C44;
  --primary-dark:   #0d6332;
  --primary-light:  #1aaa53;
  --accent:         #D6673A;
  --accent-dark:    #b8522c;
  --canvas:         #FFFFFF;
  --surface:        #F7F4ED;
  --surface-2:      #EDE9DF;
  --ink:            #141414;
  --ink-mid:        #2e2e2e;
  --muted:          #6B665C;
  --border:         rgba(20,20,20,0.10);
  --border-primary: rgba(20,140,68,0.30);
  --invert-bg:      #0e1f14;
  --invert-text:    #F7F4ED;
  --header-height:  72px;
  --radius:         0px;
  --section-py:     clamp(96px, 12vh, 180px);
  --content-max:    1440px;
}

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

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

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

body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

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

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

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

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

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%; 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; 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;
}

.hero-split { display: grid; grid-template-columns: 60% 40%; min-height: 88vh; gap: 0; }
.hero-split-text {
  background: var(--canvas);
  padding: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.hero-split-photo { position: relative; overflow: hidden; background: transparent; }
.hero-split-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-photo { min-height: 60vw; order: -1; }
}

/* ============================================================
   ANCHORS IN HEADINGS
   ============================================================ */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ============================================================
   TYPOGRAPHY BASE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink);
}

p { line-height: 1.68; }

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

ul, ol { list-style: none; }

address { font-style: normal; }

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

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

.bleed { width: 100%; max-width: none; }

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

/* ============================================================
   SITE HEADER + NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--canvas);
  border-bottom: 1px solid rgba(0,0,0,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;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: 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: 600;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 150ms;
}

.nav-pages a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-pages a[aria-current="page"] { color: var(--primary); border-bottom: 2px solid var(--primary); text-decoration: none; }

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

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

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

  .nav-pages ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: filter 150ms, background 150ms, color 150ms, border-color 150ms;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { filter: brightness(0.9); color: #fff; text-decoration: none; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { filter: brightness(0.9); color: #fff; text-decoration: none; }

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

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--ink); text-decoration: none; }

.btn-phone {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  font-size: 14px;
  padding: 14px 24px;
}
.btn-phone:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--invert-bg);
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 30, 15, 0.18) 0%,
    rgba(10, 30, 15, 0.38) 40%,
    rgba(10, 30, 15, 0.82) 80%,
    rgba(10, 30, 15, 0.93) 100%
  );
}

.hero-ribbon {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-left: 3px solid var(--primary);
}

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

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

.hero-inner {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(64px, 8vw, 120px);
  max-width: 1200px;
}

.hero-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 8vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 18ch;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(247,244,237,0.82);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 500;
}

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

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-primary);
  color: rgba(247,244,237,0.90);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(20,140,68,0.10);
  white-space: nowrap;
}

/* Trust strip standalone (after hero) */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

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

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

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

svg.trust-badge-icon, .trust-badge svg { width: 22px; height: 22px; }

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.2;
  color: var(--ink);
  flex-shrink: 0;
}

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

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

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

/* ============================================================
   SECTION SHARED PATTERNS
   ============================================================ */
.section-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-title,
.section-headline {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 20ch;
}

.accent-bar {
  width: 40px;
  height: 4px;
  background: var(--primary);
  margin-top: 20px;
}

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

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

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.service-tab {
  display: inline-flex;
  align-items: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms, color 180ms, border-color 180ms;
  border-radius: 0;
}
.service-tab:hover { border-color: var(--primary); color: var(--primary); }
.service-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.services-panels { position: relative; }

.service-panel {
  display: none;
  grid-template-columns: 45% 1fr;
  gap: 0;
  min-height: 480px;
  border: 1px solid var(--border);
}
.service-panel.active { display: grid; }

.service-panel-photo {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.service-panel-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
}

.service-panel-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  bottom: -10px;
  right: 16px;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.service-panel-body {
  padding: clamp(28px, 4vw, 52px);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-panel-body h3 {
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 20px;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.service-panel-body p {
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.services-cta { margin-top: 24px; }

@media (max-width: 760px) {
  .service-panel { grid-template-columns: 1fr; min-height: auto; }
  .service-panel-photo { min-height: 260px; }
  .service-panel-photo img { position: absolute; max-height: none; }
}

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

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

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 52px);
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-header h2 {
  font-size: clamp(32px, 4.5vw, 60px);
}

.gallery-header a {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.gallery-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 400ms ease-out;
}
.gallery-tile:hover img { transform: scale(1.04); }

.gallery-tile a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,31,20,0.52) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 300ms;
}
.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }

@media (max-width: 640px) {
  .gallery-grid-preview { grid-template-columns: 1fr 1fr; }
  .gallery-grid-preview .gallery-tile:nth-child(3) { display: none; }
}

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

.service-areas-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-areas-inner .fade-up:first-child h2 {
  font-size: clamp(32px, 4.5vw, 60px);
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-chip {
  display: inline-flex;
  border: 1px solid var(--border-primary);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: background 150ms, color 150ms;
}
.area-chip:hover { background: var(--primary); color: #fff; }

.service-area-pill {
  display: inline-flex;
  border: 1px solid var(--border-primary);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.service-area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.areas-callout {
  background: var(--surface);
  padding: 40px;
  border-left: 4px solid var(--primary);
}

.areas-callout .section-eyebrow { margin-bottom: 14px; }
.areas-callout p { color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.areas-callout p:last-child { margin-bottom: 0; }
.areas-callout a { color: var(--primary); font-weight: 700; }

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

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

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

.faq-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.faq-header h2 {
  font-size: clamp(32px, 4.5vw, 60px);
}

details.faq,
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

details summary,
.faq details summary {
  cursor: pointer;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  padding-block: 4px;
}

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

details summary::after {
  content: "+";
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: 22px;
  transition: transform 200ms, color 200ms;
  flex-shrink: 0;
}

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

.faq-chevron { display: none; }

details p, .faq-answer {
  margin-top: 14px;
  line-height: 1.68;
  color: var(--muted);
  font-size: 16px;
  max-width: 72ch;
  padding-bottom: 8px;
}

/* ============================================================
   TEAM CTA BANNER
   ============================================================ */
.team-cta {
  background: var(--invert-bg);
  padding: clamp(64px, 8vw, 120px) 0;
}

.team-cta-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.team-cta h2 {
  font-size: clamp(28px, 4vw, 56px);
  color: var(--invert-text);
  max-width: 22ch;
}

.team-cta h2 em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  color: var(--primary-light);
}

.team-cta a { flex-shrink: 0; }

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

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

.contact-section {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

.contact-form-col {
  background: var(--canvas);
}

.contact-form-heading {
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 8px;
}

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

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

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

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

.form-field label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  transition: border-color 150ms;
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: filter 150ms;
  border-radius: 0;
  width: 100%;
  justify-content: center;
}
.form-submit:hover { filter: brightness(0.9); }
.form-submit svg { width: 18px; height: 18px; }

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

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

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

.info-card-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.info-block { display: flex; flex-direction: column; gap: 20px; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

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

.info-item-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.info-item-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.info-item-text a { color: var(--primary); font-weight: 600; }

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info-value { font-size: 15px; color: var(--ink); }
.contact-info-value a { color: var(--primary); font-weight: 600; }
.contact-info-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 14px;
}

.hours-row {
  display: contents;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border-primary);
  padding: 6px 12px;
  transition: background 150ms, color 150ms;
}
.social-link:hover { background: var(--primary); color: #fff; text-decoration: none; }
.social-link svg { width: 16px; height: 16px; }

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

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--invert-bg);
  padding: clamp(64px, 8vw, 120px) 0;
}

.cta-banner-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-size: clamp(28px, 4vw, 56px);
  color: var(--invert-text);
  max-width: 22ch;
  line-height: 1.0;
  margin-bottom: 12px;
}

.cta-banner-text h2 span {
  color: var(--primary-light);
}

.cta-banner-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: clamp(24px, 3.5vw, 48px);
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--invert-text);
}

.cta-hours-note {
  font-size: 13px;
  color: rgba(247,244,237,0.55);
  letter-spacing: 0.06em;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  margin-top: 8px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

.cta-phone-large {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 900;
  color: var(--primary-light);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 16px;
}

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

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,30,15,0.30) 0%, rgba(10,30,15,0.78) 100%);
  z-index: 1;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 80px);
}

.page-header-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-header-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-light);
}

.page-header-title, .page-header h1 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 18ch;
}

.page-header-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(247,244,237,0.75);
  margin-top: 16px;
  max-width: 52ch;
}

/* ============================================================
   SERVICE FEATURES (services.html)
   ============================================================ */
.service-feature {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--canvas);
}

.service-feature:nth-child(even) {
  background: var(--surface);
}

.service-feature-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.service-feature.photo-right .service-feature-inner {
  direction: rtl;
}
.service-feature.photo-right .service-feature-body,
.service-feature.photo-right .service-feature-photo {
  direction: ltr;
}

.service-feature-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}

.service-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
}

.service-index-num {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  opacity: 0.15;
  letter-spacing: -0.06em;
  pointer-events: none;
  z-index: 2;
}

.service-feature-body { display: flex; flex-direction: column; gap: 0; }

.service-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.service-feature-body h2 {
  font-size: clamp(24px, 3.5vw, 48px);
  margin-bottom: 20px;
}

.service-feature-body > p {
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 12px;
}

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

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.service-bullets li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 6px;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214,103,58,0.10);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.emergency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.isa-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(20,140,68,0.08);
  border: 1px solid var(--border-primary);
  padding: 8px 14px;
  margin-bottom: 14px;
}

.isa-badge-icon svg { width: 20px; height: 20px; color: var(--primary); }
.isa-badge-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

@media (max-width: 860px) {
  .service-feature-inner { grid-template-columns: 1fr; }
  .service-feature.photo-right .service-feature-inner { direction: ltr; }
  .service-feature-photo { aspect-ratio: 16/9; }
}

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

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

.gallery-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-section-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.gallery-section-title {
  font-size: clamp(28px, 4vw, 56px);
}

.gallery-count {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 0;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.filter-pill:hover,
.filter-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

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

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  cursor: pointer;
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  transition: transform 500ms ease-out;
}
.project-card:hover img { transform: scale(1.05); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,15,0.80) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms;
}
.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.project-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(247,244,237,0.90);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.project-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 300ms;
}
.project-card:hover .project-card-body { transform: translateY(0); }

.project-card-body h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.project-card-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 900;
}

.project-card-location {
  font-size: 12px;
  color: rgba(247,244,237,0.75);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.project-card-location svg { width: 12px; height: 12px; }

.project-card-desc {
  font-size: 13px;
  color: rgba(247,244,237,0.70);
  line-height: 1.4;
}

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

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

/* ============================================================
   ABOUT / MAGAZINE STORY
   ============================================================ */
.magazine-story {
  background: var(--surface);
  padding: var(--section-py) 0;
}

.magazine-story-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.story-portrait-col { position: relative; }

.story-portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  max-height: none;
}

.portrait-caption {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

.story-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.story-headline {
  font-size: clamp(28px, 4vw, 56px);
  margin-bottom: 28px;
  line-height: 0.96;
}

.story-body p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

.story-pull-quote {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 28px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  background: rgba(20,140,68,0.05);
}

@media (max-width: 900px) {
  .magazine-story-inner { grid-template-columns: 1fr; }
  .story-portrait-col { max-width: 320px; }
}

/* ============================================================
   VALUES SECTION (about.html)
   ============================================================ */
.values-section {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.value-card {
  padding: 36px 28px;
  background: var(--surface);
  border-top: 3px solid transparent;
  transition: border-color 250ms;
}
.value-card:hover { border-top-color: var(--primary); }

.value-card-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--primary);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.1;
}

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

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

/* ============================================================
   TIMELINE (about.html)
   ============================================================ */
.timeline-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}

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

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  position: relative;
}

.timeline-step {
  padding: 32px 24px;
  background: var(--canvas);
  position: relative;
}

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

.timeline-year {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.timeline-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.1;
}

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

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

/* ============================================================
   MAGAZINE ABOUT SECTION (about.html)
   ============================================================ */
.magazine-about {
  background: var(--canvas);
  padding: var(--section-py) 0;
}

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

.mag-photo-stack {
  position: relative;
  min-height: 500px;
}

.mag-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 560px;
  z-index: 1;
  position: relative;
}

.mag-color-block {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 40%;
  height: 50%;
  background: var(--primary);
  z-index: 0;
}

.mag-text-col .section-eyebrow { margin-bottom: 14px; }

.mag-body p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

.mag-pull-quote,
.mag-sub-headline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(20,140,68,0.05);
}

@media (max-width: 900px) {
  .magazine-about-inner { grid-template-columns: 1fr; }
  .mag-photo-stack { min-height: 280px; }
  .mag-color-block { right: 0; bottom: -16px; }
}

/* ============================================================
   CREDENTIALS SECTION (about.html)
   ============================================================ */
.credentials-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}

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

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

.credential-badge {
  padding: 36px 28px;
  background: var(--canvas);
  border-top: 3px solid var(--primary);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.credential-badge:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.14); }

.credential-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.credential-value {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.credential-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 760px) { .credentials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .credentials-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(247,244,237,0.75);
  padding: clamp(60px, 7vw, 100px) 0 0;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p, .footer-tagline {
  font-size: 14px;
  color: rgba(247,244,237,0.55);
  line-height: 1.6;
}

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

.footer-logo img { max-height: 48px !important; }

.footer-contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact-line a,
.footer-phone,
.footer-email,
.footer-address {
  font-size: 13px;
  color: rgba(247,244,237,0.65);
}
.footer-contact-line a:hover { color: var(--primary-light); text-decoration: underline; }

.footer-col h4,
.footer-col-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.45);
  margin-bottom: 16px;
  display: block;
}

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

.footer-col a,
.footer-links a {
  font-size: 14px;
  color: rgba(247,244,237,0.70);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col a:hover,
.footer-links a:hover { color: var(--primary-light); text-decoration: underline; }

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

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.footer-hours-row.emerg { color: rgba(214,103,58,0.9); }

.footer-hours-day, .day { color: rgba(247,244,237,0.55); font-size: 13px; }
.footer-hours-time, .time { color: rgba(247,244,237,0.80); font-size: 13px; }

.footer-bottom {
  border-top: 1px solid rgba(247,244,237,0.08);
  padding: 24px clamp(20px, 4vw, 64px);
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p, .footer-legal {
  font-size: 12px;
  color: rgba(247,244,237,0.35);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(247,244,237,0.45); }
.footer-bottom a:hover { color: var(--primary-light); }

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-cert-chip {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.45);
  border: 1px solid rgba(247,244,237,0.12);
  padding: 4px 10px;
}

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

/* ============================================================
   MOBILE CALL PILL (mandatory)
   ============================================================ */
.mobile-call,
.mobile-call-pill,
.mobile-cta-pill,
.mobile-sticky-cta {
  display: flex;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  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;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: filter 150ms, transform 150ms;
}
.mobile-call:hover,
.mobile-call-pill:hover,
.mobile-cta-pill:hover,
.mobile-sticky-cta:hover { filter: brightness(0.92); transform: translateY(-2px); }

.mobile-call svg,
.mobile-call-pill svg,
.mobile-cta-pill svg,
.mobile-sticky-cta svg { width: 20px; height: 20px; }

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

/* ============================================================
   SERVICE AREA CONTACT SECTION
   ============================================================ */
#contact-area { background: var(--surface); }

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
.stagger.visible > *:nth-child(9) { transition-delay: 640ms; }

/* ============================================================
   SERVICE CARD HOVER
   ============================================================ */
.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;
  font-family: 'Archivo Black', sans-serif;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: clamp(11px, 1vw, 14px);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  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: 0;
}

.step-num {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-card {
  padding: 28px;
  border-radius: 0;
  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;
}

/* ============================================================
   READABLE TABLE CELLS
   ============================================================ */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: var(--invert-text);
}

.services-table tbody .col-service,
.services-table tbody .col-desc,
.services-table tbody .col-timeline,
.services-table tbody .col-price {
  background: var(--canvas);
  color: var(--ink);
}

/* ============================================================
   MISC UTILITY
   ============================================================ */
.emerg { color: var(--accent); }
.emergency { color: var(--accent); }

/* SVG caps — prevents svg!size from inflating grid cells */
svg { max-width: 100%; }
.contact-info-icon,
.faq-chevron,
.info-icon svg,
.trust-badge-icon,
.social-link svg,
.isa-badge-icon svg { width: 20px; height: 20px; flex-shrink: 0; }

.project-card-location svg { width: 12px; height: 12px; }
.form-submit svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1200px) {
  .footer-inner, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-ribbon { top: 16px; right: 16px; font-size: 10px; padding: 8px 12px; }
  .services-tabs { gap: 6px; }
  .service-tab { font-size: 11px; padding: 8px 12px; }
  .gallery-grid-preview { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .team-cta-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --section-py: clamp(64px, 10vh, 96px); }
  .hero-inner { padding-bottom: 48px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel.active { display: flex; flex-direction: column; }
  .service-panel-photo { min-height: 220px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: 1; grid-row: auto; }
  .credentials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: 1fr; }
  .magazine-story-inner { grid-template-columns: 1fr; }
  .magazine-about-inner { grid-template-columns: 1fr; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.gallery-tile { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.footer-grid { grid-column: 1 / -1; }
.footer-bottom { grid-column: 1 / -1; }
.story-portrait-col { grid-column: 1 / -1; }
.story-text-col { grid-column: 1 / -1; }
.mag-text-col { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.hours-row { grid-column: 1 / -1; }
.emergency { grid-column: 1 / -1; }
.footer-brand-col { grid-column: 1 / -1; }
