/* ===== McCleery Company - Design System ===== */

@font-face { font-family: 'Gotham Book'; src: url('/assets/fonts/gotham/Gotham-Book.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham Book'; src: url('/assets/fonts/gotham/Gotham-BookItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('/assets/fonts/gotham/Gotham-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('/assets/fonts/gotham/Gotham-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Palette extracted from HubSpot's compiled CSS (see /tmp/orig_css). */
  --teal:        #0d5560;   /* primary brand teal (was #12697a) */
  --teal-bright: #1a7a8b;   /* lighter accent teal — used for highlights/hover */
  --teal-dark:   #0a3f48;   /* darker variant for headers/footers */
  --teal-light:  #92bac8;   /* very light blue accent */
  --gold:        #e2b344;
  --orange:      #df6826;   /* was #da6826 */
  --beige:       #c4ac99;
  --green:       #87be8e;
  --burgundy:    #7c4243;
  --ink:         #1e1e1e;   /* darkest text */
  --text:        #4d4d4d;   /* body text — was #2b3a3f */
  --muted:       #8e8f92;   /* secondary text — was #5b6b70 */
  --brown:       #746060;   /* accent muted */
  --bg:          #ffffff;
  --bg-soft:     #f5f0e9;
  --bg-alt:      #f7f8f8;
  --border:      #d7d7d7;
  --shadow: 0 6px 24px rgba(13, 85, 96, 0.08);
  --container: 1240px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Gotham Book', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: 'Gotham', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ----- Top utility bar (transparent — sits over hero) ----- */
.utility-bar {
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}
.utility-bar .container { display: flex; justify-content: flex-end; gap: 32px; flex-wrap: wrap; }
.utility-bar a { color: #fff; opacity: 0.9; }
.utility-bar a:hover { opacity: 1; text-decoration: underline; }

/* Header wrapper: absolutely positioned so it overlays the hero. JS injects
   <div class="utility-bar"> + <header class="site-header"> into [data-mount="nav"];
   we make the mount itself the absolute layer. */
[data-mount="nav"] {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
body { position: relative; }  /* ensure data-mount="nav" is positioned within body */

/* ----- Header / Nav ----- */
.site-header { background: transparent; color: #fff; position: relative; z-index: 100; box-shadow: none; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand-text { color: #fff; font-family: 'Gotham', sans-serif; font-weight: 700; letter-spacing: 0.04em; font-size: 1.1rem; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link {
  color: #fff;
  font-family: 'Gotham', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
}
.nav-link:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.nav-link .caret { font-size: 0.6rem; opacity: 0.8; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 8px 0;
  display: none;
  border: 1px solid var(--border);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--ink);
  font-size: 0.92rem;
  font-family: 'Gotham', sans-serif;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--teal); text-decoration: none; }

.hamburger { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: #c89a31; border-color: #c89a31; color: var(--ink); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--teal-dark); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ----- Sections ----- */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-soft { background: var(--bg-soft); }
.section-alt { background: var(--bg-alt); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h1, .section-teal h2, .section-teal h3 { color: #fff; }
.section-dark { background: var(--teal-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark.section-bg-image {
  background-image: linear-gradient(rgba(10,63,72,0.78), rgba(10,63,72,0.85)),
                    url('/assets/images/Land-dev-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.eyebrow { font-family: 'Gotham', sans-serif; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem; color: var(--teal); font-weight: 700; margin: 0 0 12px; }
.section-teal .eyebrow, .section-dark .eyebrow { color: var(--gold); }
.section-title { text-align: center; margin-bottom: 48px; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  /* Dark neutral fallback so any letterboxing isn't a vivid teal cast */
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.32));
  z-index: 1;
}
/* .hero-video-bg styled below with .home-hero-video — single shared cover-spill rule. */
.hero .container { position: relative; padding-top: 80px; padding-bottom: 80px; z-index: 2; }
.section-video {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.testimonial-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 800px) { .testimonial-video-grid { grid-template-columns: 1fr; } }
.testimonial-video {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.testimonial-video video, .testimonial-video img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}
.testimonial-video .name {
  display: block;
  margin-top: 12px;
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--gold);
}
.hero h1 { color: #fff; max-width: 880px; }
.hero p.lede { color: rgba(255,255,255,0.92); max-width: 720px; font-size: 1.25rem; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* ----- Audience grid ----- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); text-decoration: none; }
.audience-card img { width: 64px; height: 64px; margin: 0 auto 12px; }
.audience-card span { display: block; font-family: 'Gotham', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; color: var(--teal); }
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----- Value-prop pillars: simple bordered cards with a teal dot above ----- */
.value-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}
.value-pillar {
  background: transparent;
  padding: 24px 16px 8px;
  text-align: center;
  position: relative;
}
.value-pillar::before {
  content: '';
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 auto 18px;
}
.value-pillar h3 {
  color: var(--teal-dark);
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.value-pillar p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .value-pillars { grid-template-columns: 1fr; } }

/* Step feature card (numbered with period) */
.step-feature .num {
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  font-size: 1.1rem;
}

/* Testimonial-video subtitle line */
.testimonial-video .sub {
  display: block;
  margin-top: 4px;
  font-family: 'Gotham Book', sans-serif;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ----- Three-column ----- */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.feature .num {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--teal); color: #fff;
  border-radius: 50%;
  font-family: 'Gotham', sans-serif; font-weight: 700;
  margin-bottom: 16px;
}
.feature h3 { color: var(--teal-dark); }
@media (max-width: 800px) {
  .three-col, .two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- Testimonial ----- */
.testimonial { padding: 80px 0; background: var(--teal-dark); color: #fff; text-align: center; }
.testimonial blockquote { font-size: 1.4rem; font-style: italic; max-width: 760px; margin: 0 auto 24px; line-height: 1.5; font-family: 'Gotham Book'; }
.testimonial cite { font-style: normal; font-family: 'Gotham', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; color: var(--gold); }

/* ----- CTA banner ----- */
.cta-banner { padding: 60px 0; background: var(--teal); color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 24px; }

/* ----- Project grid ----- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  color: inherit;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.project-card .thumb { aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.project-card h3 { color: var(--teal-dark); margin-bottom: 4px; font-size: 1.15rem; }
.project-card .loc { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.project-card .more { margin-top: auto; color: var(--teal); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }

/* ----- Footer ----- */
.site-footer {
  background: var(--teal-dark);
  color: #fff;
  padding: 60px 0 30px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--gold); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.social { display: flex; gap: 14px; }
.social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ----- Page hero (interior) ----- */
.page-hero {
  background: var(--teal);
  color: #fff;
  padding: 180px 0 80px;          /* extra top padding clears the absolute nav */
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.40));
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; width: 100%; }
.project-hero {
  background: var(--teal-dark) url('/assets/images/Land-mining.jpg') center/cover no-repeat;
}
.project-hero::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.50));
}
.project-visual {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.project-tagline {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  font-weight: 600;
  margin: 0 auto;
  max-width: 900px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 700px; }

/* ----- Pain points & promise ----- */
.bullet-list { list-style: none; padding: 0; margin: 0; }
.bullet-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.bullet-list li::before {
  content: '\2713';
  position: absolute; left: 0; top: 12px;
  color: var(--gold); font-weight: 700; font-size: 1.1rem;
}

/* ----- Forms ----- */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-family: 'Gotham', sans-serif; font-weight: 500; font-size: 0.9rem; color: var(--ink); display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,122,139,0.15); }
.form textarea { resize: vertical; min-height: 120px; }

/* ----- Mobile nav ----- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; align-items: center; gap: 8px; }
  .nav.is-open {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--teal-dark);
    padding: 12px 24px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    align-items: stretch;
  }
  .nav.is-open .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav.is-open .dropdown { position: static; display: none; box-shadow: none; border: none; background: transparent; padding: 0 0 8px 16px; min-width: 0; }
  .nav.is-open .dropdown a { color: rgba(255,255,255,0.85); padding: 8px 0; }
  .nav.is-open .nav-item.open .dropdown { display: block; }
}

/* ===== Homepage-specific sections ===== */

/* Generic helpers */
.home-sec { position: relative; padding: 90px 0; }
.home-sec h2.white, .home-sec h3.white, .home-sec h4.white, .home-sec p.white { color: #fff; }
.home-sec p.lede.white { color: rgba(255,255,255,0.92); }

/* ----- Section 1: Hero ----- */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: #1a1a1a;
  overflow: hidden;
  color: #fff;
}
.home-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
  z-index: 1;
}
/* Background video — zoom to cover the parent container at any aspect ratio.
   Video is centered and forced to be at least as big as the parent in both dimensions;
   width:auto/height:auto preserves the video's natural aspect ratio so it overflows the
   smaller axis. The parent's `overflow: hidden` clips the spill. Works regardless of
   the video's specific aspect ratio (any video file). */
.home-hero-video,
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  /* Beat the global  img,video { max-width:100% }  rule */
  max-width: none !important;
  max-height: none !important;
  /* Cover via min-dimensions */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  /* As a belt-and-suspenders fallback, also set object-fit for browsers that
     do honor it on <video> (most modern ones). */
  object-fit: cover;
  object-position: center;
}
.home-hero-inner { position: relative; z-index: 2; text-align: center; }
.home-hero-logo { max-width: 360px; height: auto; margin: 0 auto; }
@media (max-width: 600px) { .home-hero { min-height: 70vh; } .home-hero-logo { max-width: 240px; } }

/* ----- Section 2: Matchmaker tagline ----- */
.home-matchmaker { background: #fff; padding: 80px 0 70px; }
.mm-pre { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--teal-dark); margin-bottom: 6px; font-weight: 500; }
.mm-big {
  font-size: clamp(3.2rem, 9vw, 7rem);
  letter-spacing: 0.02em;
  color: var(--teal);
  margin: 0 0 18px;
  line-height: 1;
  font-weight: 700;
}
.mm-sub { font-weight: 400; color: var(--muted); max-width: 760px; margin: 0 auto 40px; font-size: 1.05rem; }
.audience-row {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.audience-row a {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--teal-dark); padding: 12px;
  transition: transform 0.18s ease;
}
.audience-row a:hover { transform: translateY(-4px); text-decoration: none; }
.audience-row img { width: 110px; height: 110px; }
.audience-row h6 {
  margin: 0;
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  color: var(--teal);
  line-height: 1.25;
  text-align: center;
}
@media (max-width: 900px) { .audience-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .audience-row { grid-template-columns: repeat(2, 1fr); } }

/* ----- Dual CTAs ----- */
.dual-cta {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin: 28px 0 0;
}
.btn-outline-light {
  background: transparent; color: #fff; border-color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--teal-dark); }

/* ----- Section 3: Maximize — WHITE background with centered embedded video ----- */
.home-maximize {
  background: #fff;
  color: var(--text);
  padding: 80px 0 60px;
}
.home-maximize h2 { color: var(--teal-dark); max-width: 1000px; margin: 0 auto 32px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; }
.home-maximize h2.white { color: var(--teal-dark); }
.home-maximize .dual-cta .btn-outline-light { color: var(--teal-dark); border-color: var(--teal); background: transparent; }
.home-maximize .dual-cta .btn-outline-light:hover { background: var(--teal); color: #fff; }
.value-prop-video {
  max-width: 760px; margin: 0 auto 40px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  background: #000;
}
.value-prop-video video { width: 100%; display: block; }

/* ----- Section 4: Pillars — soft cream background, dark teal solid cards ----- */
.home-pillars { background: var(--bg-soft); color: var(--text); padding: 70px 0; }
.home-pillars h2 { color: var(--teal-dark); margin-bottom: 40px; }
.home-pillars h2.white { color: var(--teal-dark); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.pillar {
  background: var(--teal);
  border: 1px solid var(--teal-dark);
  border-radius: 4px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.pillar h4 {
  color: #fff;
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 800px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ----- Section 5: Delays / READ MORE — white with subtle border ----- */
.home-delays {
  background: #fff;
  color: var(--text);
  padding: 70px 0;
}
.home-delays > .container { position: relative; z-index: 1; }
.home-delays h3 { color: var(--teal-dark); max-width: 920px; margin: 0 auto 18px; }
.home-delays p { color: var(--text); max-width: 920px; margin: 0 auto 18px; }
.delays-collapsed { text-align: left; max-width: 920px; margin: 0 auto; }
.delays-collapsed .dual-cta { justify-content: flex-start; }
.delays-expanded { display: none; }
.home-delays.is-expanded .delays-collapsed { display: none; }
.home-delays.is-expanded .delays-expanded { display: block; }
.delays-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 16px; }
@media (max-width: 800px) { .delays-cols { grid-template-columns: 1fr; gap: 16px; } }

.read-toggle {
  display: inline-block;
  margin: 8px 0 18px;
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--teal);
  cursor: pointer;
  border-bottom: 1px solid rgba(13,85,96,0.4);
  padding-bottom: 2px;
}
.read-toggle:hover { color: var(--gold); text-decoration: none; border-color: var(--gold); }
.home-delays .dual-cta .btn-outline-light { color: var(--teal-dark); border-color: var(--teal); background: transparent; }
.home-delays .dual-cta .btn-outline-light:hover { background: var(--teal); color: #fff; }

/* ----- Section 6: How it works — dark teal photo background, translucent step cards ----- */
.home-how {
  position: relative;
  color: #fff;
  padding: 80px 0 70px;
  background: linear-gradient(rgba(10,63,72,0.78), rgba(10,63,72,0.85)),
              url('/assets/images/Home-banner.jpg') center/cover no-repeat;
}
.home-how-bg { display: none; }   /* hide the noisy background video */
.home-how-overlay { display: none; }
.home-how > .container { position: relative; z-index: 2; }
.home-how h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: 12px; color: #fff; }
.home-how h2.white { color: #fff; }
.home-how p.lede { color: rgba(255,255,255,0.92); max-width: 920px; margin: 0 auto 40px; }
.home-how p.lede.white { color: rgba(255,255,255,0.92); }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 16px 0 36px;
}
.how-step {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.how-step h2 {
  font-size: 3rem; color: #fff; margin: 0 0 8px;
  line-height: 1;
  font-weight: 700;
}
.how-step h3 {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 600;
}
.how-step-back p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin: 0;
}
.home-how .dual-cta .btn-outline-light { color: #fff; border-color: #fff; background: transparent; }
.home-how .dual-cta .btn-outline-light:hover { background: #fff; color: var(--teal-dark); }
@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr; } }

/* ----- Section 7: Obstacles ----- */
.home-obstacles { background: var(--bg-soft); }
.obstacles-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.obstacles-image img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.obstacles-text { text-align: right; }
.obstacles-text h3 { color: var(--teal-dark); }
.obstacles-text h4 { color: var(--muted); font-weight: 500; margin-bottom: 0; }
.success-word {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--orange);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.obstacles-text .read-toggle { color: var(--teal); border-color: rgba(26,122,139,0.4); }
.obstacles-text .dual-cta { justify-content: flex-end; }
.home-obstacles .dual-cta .btn-outline-light { color: var(--teal-dark); border-color: var(--teal); background: transparent; }
.home-obstacles .dual-cta .btn-outline-light:hover { background: var(--teal); color: #fff; }
.obstacles-expanded { display: none; margin-top: 40px; }
.home-obstacles.is-expanded .obstacles-expanded { display: block; }
.obstacles-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.obstacles-cols ul { padding-left: 20px; margin: 0; }
.obstacles-cols li { margin-bottom: 12px; color: var(--text); }
.obstacles-bottom { margin-top: 32px; text-align: center; }
.obstacles-bottom h5 { color: var(--teal-dark); font-size: 1.1rem; margin: 12px 0; }
@media (max-width: 800px) {
  .obstacles-row, .obstacles-cols { grid-template-columns: 1fr; gap: 24px; }
  .obstacles-text { text-align: left; }
  .obstacles-text .dual-cta { justify-content: flex-start; }
}

/* ----- Section 8: Promise ----- */
.home-promise { background: #fff; padding: 80px 0; }
.promise-card { max-width: 880px; margin: 0 auto; }
.promise-card h2 { color: var(--teal-dark); }
.promise-card p { font-size: 1.05rem; }
.promise-card h5 { font-size: 1.15rem; color: var(--teal); margin: 18px 0; }

/* ----- Section 9: Testimonial ----- */
.home-testimonial {
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.ts-quote {
  font-family: 'Gotham Book', sans-serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  max-width: 880px;
  margin: 0 auto 18px;
}
.ts-cite {
  color: var(--gold);
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin: 0 0 12px;
}

/* ----- Section 10: Why Work / sliding equation ----- */
.home-why {
  color: #fff;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.home-why h2.white { max-width: 1000px; margin: 0 auto 32px; }
.why-table {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  padding: 36px 28px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 16px 50px rgba(0,0,0,0.30);
}
.why-title { color: var(--teal-dark); margin: 0 0 16px; font-size: 1.4rem; }
.why-equation {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--teal-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1.3;
}
.why-equation > span { white-space: nowrap; }
.sliding-vertical { display: inline-block; min-width: 220px; text-align: left; }
.sliding-vertical span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ----- Utilities ----- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 32px; }
.tight { max-width: 760px; margin-left: auto; margin-right: auto; }
.video-frame { aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }

/* ----- Landowner testimonial row (Development page) ----- */
.lo-testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lo-testimonial {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lo-testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.lo-testimonial img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-alt); }
.lo-testimonial-body { padding: 18px 20px; }
.lo-testimonial-body h4 { color: var(--teal-dark); font-size: 1rem; margin: 0 0 4px; letter-spacing: 0.04em; }
.lo-testimonial-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .lo-testimonial-row { grid-template-columns: 1fr; } }

/* ----- Contact page CTA card pair ----- */
.contact-card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.contact-card h3 { color: var(--teal-dark); margin: 0 0 12px; }
.contact-card p { color: var(--muted); margin: 0 0 20px; flex-grow: 1; }
@media (max-width: 700px) { .contact-card-row { grid-template-columns: 1fr; } }

/* ----- Survey results video frame ----- */
.surveyresults-video {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.surveyresults-video video { width: 100%; display: block; }

/* ----- Real Estate page hero (photo bg) ----- */
.re-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 180px 0 100px;
  overflow: hidden;
  color: #fff;
}
.re-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.40));
}
.re-hero > .container { position: relative; z-index: 1; }

/* ----- Values cards: small teal circle icons (matches original /real-estate) ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 40px;
}
.value-card {
  background: transparent;
  padding: 16px;
  text-align: center;
}
.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal) !important;  /* uniform teal — original uses one color */
  color: #fff;
}
.value-icon svg { width: 26px; height: 26px; color: #fff; }
.value-card h3 { color: var(--teal-dark); margin-bottom: 8px; font-size: 1.05rem; }
.value-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ----- HubSpot meetings embed iframe sizing ----- */
.meetings-iframe-container {
  width: 100%;
  min-height: 700px;
  margin: 32px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.meetings-iframe-container iframe {
  width: 100% !important;
  min-height: 700px !important;
  border: 0 !important;
  display: block;
}
