/* ============================================================
   Civil Design Group — premium editorial, light + deep green
   bg #FAFAF6 / alt #F1F0EA · ink #14181B · grey #6E6E66
   accent #1E4D38 · dark sections #14352A + text #F2EFE9
   Headlines: Space Grotesk, uppercase, huge. Body: Archivo.
   No gradients, no shadows, 0 radius. Hairlines 10% black.
   ============================================================ */

:root {
  --bg: #FAFAF6;
  --bg-alt: #F1F0EA;
  --ink: #14181B;
  --grey: #6E6E66;
  --green: #1E4D38;
  --green-deep: #14352A;
  --cream: #F2EFE9;
  --hairline: rgba(0, 0, 0, 0.1);
  --hairline-cream: rgba(242, 239, 233, 0.18);
  --display: "Space Grotesk", "Archivo", sans-serif;
  --sans: "Archivo", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0 !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; }

p { max-width: 65ch; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sec-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }

::selection { background: var(--green); color: var(--cream); }

.wrap { width: min(1320px, 92vw); margin-inline: auto; }

.sec { position: relative; padding: clamp(5.5rem, 10vw, 9.5rem) 0; }

/* ---- utility type ------------------------------------------ */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.7;
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 2.2rem;
}

.display {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
}

.green { color: var(--green); }
.sec-dark .green, .site-footer .green { color: var(--cream); }

.num-marker { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--grey); }

/* vertical rotated section label on the outer margin */
.vlabel {
  position: absolute;
  top: clamp(5.5rem, 10vw, 9.5rem);
  left: 1.1rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--grey);
  white-space: nowrap;
}
@media (max-width: 1439px) { .vlabel { display: none; } }

/* ---- buttons & links --------------------------------------- */
/* all site buttons use the hero pill style */
.btn {
  display: inline-block;
  border-radius: 999px !important;
  font-family: "Poppins", var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

/* solid is the same primary pill (kept for existing markup) */
.btn-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--green-deep); border-color: var(--green-deep); }

/* secondary / ghost pill — light frosted, like the hero's second button */
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(20, 24, 27, 0.12);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }

/* on the dark green footer: cream pill with dark label */
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--green-deep); }
.btn-cream:hover { background: #fff; border-color: #fff; color: var(--green-deep); }

/* form submit buttons match too */
button.btn { font-family: "Poppins", var(--sans); }

.tlink {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 4px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tlink:hover { color: var(--ink); border-color: var(--ink); }
.sec-dark .tlink, .site-footer .tlink { color: var(--cream); border-color: var(--cream); }
.sec-dark .tlink:hover, .site-footer .tlink:hover { opacity: 0.7; }

/* ---- header (floating glass menu bar) ------------------------ */
.site-header {
  position: relative;
  z-index: 30;
  padding: 1.35rem 0;
  background: transparent;
}
/* home: float over the hero video */
.site-header.floating {
  position: absolute;
  top: 0; left: 0; right: 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-light { color: var(--cream); }
.logo img { display: block; height: 20px; width: auto; }
.site-footer .logo img { height: 26px; }
@media (max-width: 640px) { .logo img { height: 15px; } .site-footer .logo img { height: 20px; } }

/* glass pill */
.menubar {
  position: relative;
  display: flex;
  padding: 0.4rem;
  border-radius: 999px !important;
  background: rgba(20, 53, 42, 0.55);
  border: 1px solid rgba(242, 239, 233, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
/* soft sheen that fades in on hover */
.menubar::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 120%, rgba(242, 239, 233, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.menubar:hover::before { opacity: 1; }

.menubar-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  position: relative;
  z-index: 1;
}

.mb-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px !important;
  text-decoration: none;
  color: rgba(242, 239, 233, 0.72);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 0.3s ease, background 0.3s ease;
}
.mb-item:hover, .mb-item.is-active { color: var(--cream); }
.mb-item.is-active { background: rgba(242, 239, 233, 0.12); }

.mb-icon { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; }

/* 3D label flip */
.mb-word { position: relative; display: inline-block; perspective: 600px; }
.mb-front, .mb-back {
  display: block;
  backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.4s ease;
}
.mb-front { transform-origin: center bottom; }
.mb-back {
  position: absolute;
  inset: 0;
  transform: rotateX(90deg);
  transform-origin: center top;
  opacity: 0;
}
.mb-item:hover .mb-front { transform: rotateX(-90deg); opacity: 0; }
.mb-item:hover .mb-back { transform: rotateX(0); opacity: 1; }

/* quote item keeps CTA prominence */
.mb-item.mb-quote { background: var(--cream); color: var(--green-deep); margin-left: 0.3rem; }
.mb-item.mb-quote:hover { background: #fff; color: var(--green-deep); }

.nav-toggle {
  display: none;
  background: rgba(20, 53, 42, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 239, 233, 0.18);
  border-radius: 999px !important;
  padding: 0.6rem 1.1rem;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .mb-front, .mb-back, .menubar::before { transition: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .menubar {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 4vw;
    flex-direction: column;
    padding: 0.5rem;
    border-radius: 20px !important;
  }
  .menubar.open { display: flex; }
  .menubar-list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .mb-item { justify-content: flex-start; padding: 0.85rem 1.2rem; }
  .mb-item.mb-quote { margin-left: 0; margin-top: 0.3rem; }
  /* no flip on touch — keep labels static */
  .mb-back { display: none; }
  .mb-front { transform: none !important; opacity: 1 !important; }
}

/* ---- hero ----------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 2rem;
  align-items: center;
}
.hero-text { grid-row: 1; grid-column: 1 / 10; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.5rem, 8.5vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero-media {
  grid-column: 9 / 13;
  grid-row: 1;
  align-self: center;
  z-index: 1;
}
.hero-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.82); }

.hero .lede {
  margin-top: 2.4rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--grey);
  max-width: 44ch;
}
.hero-ctas { margin-top: 2.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.4rem; }

@media (max-width: 900px) {
  .hero-grid { display: block; }
  .hero-media { margin: 2.5rem 0 0; }
  .hero-media img { aspect-ratio: 16 / 10; }
}

/* video hero */
.hero-video {
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
}
.hero-video .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 53, 42, 0.45);
  z-index: 1;
}
.hero-video .hero-content { position: relative; z-index: 2; }
.hero-video .eyebrow { color: var(--cream); opacity: 0.85; }
.hero-video h1 { color: var(--cream); max-width: 12ch; }
.hero-accent { color: var(--cream); }

/* centered hero with rotating word (Inter, shadcn-style) */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-center .lede { margin-inline: auto; }
.hero-center .hero-ctas { justify-content: center; }

.hero h1.rotator-title {
  font-family: "Inter", var(--sans);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.04em;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1.08;
  max-width: none;
  width: 100%;
  color: var(--cream);
}
.rotator-title > span { display: block; }

.word-rotator {
  position: relative;
  display: block;
  height: 1.18em;
  overflow: hidden;
}
.rot-word {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  font-weight: 600;
  opacity: 0;
  transform: translateY(115%);
  transition: transform 0.55s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.4s ease;
}
.rot-word.is-active { opacity: 1; transform: translateY(0); }
.rot-word.is-above { opacity: 0; transform: translateY(-115%); }

@media (prefers-reduced-motion: reduce) {
  .rot-word { transition: none; }
}
.hero-video .lede {
  color: var(--cream);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  max-width: 56ch;
}
.btn-solid-cream { background: var(--cream); color: var(--green-deep); border-color: var(--cream); }
.btn-solid-cream:hover { background: transparent; color: var(--cream); }

/* ---- liquid glass buttons (hero only) ---- */
.glass-filter-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.4rem;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: var(--cream);
  border-radius: 999px !important;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.3s ease;
}
.btn-glass:hover { transform: scale(1.05); }

/* distortion + frost layer (samples the video behind) */
.btn-glass-distort {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px !important;
  overflow: hidden;
  background: rgba(242, 239, 233, 0.08); /* fallback frost if backdrop-filter unsupported */
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px) url("#container-glass");
}

/* glass edge highlight */
.btn-glass-edge {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px !important;
  pointer-events: none;
  box-shadow:
    0 0 6px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 3px 3px 0.5px -3px rgba(255, 255, 255, 0.9),
    inset -3px -3px 0.5px -3px rgba(255, 255, 255, 0.85),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.12),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(255, 255, 255, 0.12);
}

.btn-glass-label { position: relative; z-index: 1; }

/* primary CTA gets a touch more fill for hierarchy */
.btn-glass-primary .btn-glass-distort { background: rgba(242, 239, 233, 0.18); }

@media (prefers-reduced-motion: reduce) {
  .btn-glass { transition: none; }
  .btn-glass:hover { transform: none; }
}
.hero-video .scroll-hint { color: var(--cream); z-index: 2; }
.hero-video .scroll-hint::after { background: var(--cream); }
.hero-video :focus-visible { outline-color: var(--cream); }


/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: max(4vw, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--green);
  animation: hint-slide 2.2s ease-in-out infinite;
}
@keyframes hint-slide {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(14px); opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) { .scroll-hint::after { animation: none; } }
@media (max-width: 900px) { .scroll-hint { display: none; } }

/* ---- Quest-style hero (light image, black text) ---------------- */
.hero-quest {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 7rem 0 0;
  overflow: hidden;
}
.hq-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* soft haze so black text reads over the sky */
.hq-haze {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250, 250, 246, 0.72), rgba(250, 250, 246, 0.28) 45%, rgba(250, 250, 246, 0) 72%);
}

.hq-content {
  position: relative;
  z-index: 2;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 24, 27, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: "Poppins", var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.hq-badge svg { width: 14px; height: 14px; color: var(--green); }

.hero h1.hq-title, .hq-banner h2.hq-title {
  font-family: "Poppins", var(--sans);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.16;
  color: var(--ink);
  max-width: none;
  text-shadow: 0 2px 30px rgba(250, 250, 246, 0.65);
}
.hq-title em {
  font-style: italic;
  font-weight: 600;
}

.hq-sub {
  font-family: "Poppins", var(--sans);
  margin-top: 1.3rem;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: rgba(20, 24, 27, 0.72);
  max-width: 52ch;
}

/* address search bar */
.hq-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.2rem;
  width: min(560px, 100%);
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 24, 27, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hq-search-icon { width: 18px; height: 18px; color: rgba(20, 24, 27, 0.45); flex-shrink: 0; }
.hq-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font-family: "Poppins", var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0.55rem 0.2rem;
}
.hq-search input:focus { outline: none; }
.hq-search input::placeholder { color: rgba(20, 24, 27, 0.45); }
.hq-search:focus-within { border-color: var(--green); }
.hq-search-btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  border-radius: 999px !important;
  background: var(--ink);
  color: #fff;
  font-family: "Poppins", var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  transition: background 0.2s ease;
}
.hq-search-btn:hover { background: var(--green-deep); }

/* mid-page check-my-block banner (same system as the hero) */
.hq-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 74svh;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
}
.hq-banner .hq-title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.hq-haze-banner {
  background: linear-gradient(to bottom, rgba(250, 250, 246, 0.82), rgba(250, 250, 246, 0.38) 55%, rgba(250, 250, 246, 0.15));
}

/* hero pill CTAs */
.hq-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
.hq-btn {
  display: inline-block;
  border-radius: 999px !important;
  background: var(--ink);
  color: #fff;
  font-family: "Poppins", var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hq-btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.hq-btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(20, 24, 27, 0.12);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hq-btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }

/* trust strip pinned to hero bottom */
.hq-trust {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 4vw 2.2rem;
}
.hq-trust-label {
  display: block;
  font-family: "Poppins", var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 12px rgba(20, 24, 27, 0.45);
  margin-bottom: 0.9rem;
}
.hq-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 3rem;
}
.hq-trust-row span {
  font-family: "Poppins", var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 14px rgba(20, 24, 27, 0.5);
}

@media (max-width: 640px) {
  .hq-search { flex-wrap: wrap; padding: 0.6rem; }
  .hq-search input { width: 100%; padding-left: 0.4rem; }
  .hq-search-btn { width: 100%; }
  .hq-search-icon { display: none; }
}

/* light nav variant over the light hero */
.site-header.on-light .menubar {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(20, 24, 27, 0.08);
}
.site-header.on-light .mb-item { color: rgba(20, 24, 27, 0.65); }
.site-header.on-light .mb-item:hover, .site-header.on-light .mb-item.is-active { color: var(--ink); }
.site-header.on-light .mb-item.is-active { background: rgba(20, 24, 27, 0.06); }
.site-header.on-light .mb-item.mb-quote { background: var(--ink); color: #fff; }
.site-header.on-light .mb-item.mb-quote:hover { background: var(--green-deep); color: #fff; }
.site-header.on-light .menubar::before { background: radial-gradient(circle at 50% 120%, rgba(20, 24, 27, 0.08), transparent 60%); }
.site-header.on-light .nav-toggle {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(20, 24, 27, 0.12);
  color: var(--ink);
}

/* ---- section headers ----------------------------------------- */
.sec-head { margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.sec-head h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  text-transform: uppercase;
  line-height: 0.96;
  max-width: 18ch;
}
.sec-note { margin-top: 1.6rem; color: var(--grey); }

/* ---- about + services ----------------------------------------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.about-grid .about-copy { grid-column: 1 / 8; }
.about-grid .about-side { grid-column: 9 / 13; align-self: end; }
.about-copy h2 { font-size: clamp(1.9rem, 4.2vw, 3.8rem); text-transform: uppercase; line-height: 0.98; max-width: 20ch; }
.about-copy p { margin-top: 1.8rem; color: var(--grey); font-size: clamp(1rem, 1.4vw, 1.15rem); }
@media (max-width: 900px) {
  .about-grid { display: block; }
  .about-grid .about-side { margin-top: 2rem; }
}

/* numbered image cards, horizontal row */
.svc-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
@media (max-width: 1020px) {
  .svc-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2px;
    margin-right: calc((100vw - 92vw) / -2);
    padding-right: 4vw;
  }
  .svc-row .svc-card { flex: 0 0 min(66vw, 280px); scroll-snap-align: start; }
}

.svc-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  text-decoration: none;
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); transition: transform 0.35s ease; }
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 53, 42, 0.35);
  transition: background 0.25s ease;
}
.svc-card:hover::after { background: rgba(20, 53, 42, 0.55); }
.svc-card:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .svc-card img, .svc-card::after { transition: none; }
  .svc-card:hover img { transform: none; }
}

.svc-card .num {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 2;
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.svc-card .name {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.svc-card .name::after { content: "→"; display: block; margin-top: 0.7rem; font-family: var(--sans); }

/* ---- dark feature section -------------------------------------- */
.sec-dark { background: var(--green-deep); color: var(--cream); }
.sec-dark .eyebrow, .site-footer .eyebrow { color: var(--cream); opacity: 0.75; }
.sec-dark .num-marker { color: var(--cream); opacity: 0.6; }

.feature-title {
  font-size: clamp(3rem, 9vw, 9.5rem);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.feature-sub { margin-top: 1.8rem; color: var(--cream); opacity: 0.8; max-width: 58ch; }

.feature-media { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; filter: saturate(0.85); }
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border: 1px solid var(--cream);
  background: rgba(20, 53, 42, 0.4);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.feature-foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }

/* ---- why choose us (gradient cards) ------------------------------- */
.why-section { background: #FFFFFF; }
.why-title {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  text-transform: uppercase;
  line-height: 0.96;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 820px) { .gc-grid { grid-template-columns: 1fr; } }

.gc-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 20px !important;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  min-height: 300px;
  border: 1px solid rgba(20, 24, 27, 0.06);
  box-shadow: 0 1px 2px rgba(20, 24, 27, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.gc-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 40px rgba(20, 24, 27, 0.1); }

/* light neutral gradients — no green, no colour */
.gc-sand  { background: linear-gradient(to bottom right, #FCFBF7, #EFEDE4); }
.gc-stone { background: linear-gradient(to bottom right, #FAFAFA, #EBEBE8); }
.gc-mist  { background: linear-gradient(to bottom right, #FBFBFA, #E9EAE7); }
.gc-linen { background: linear-gradient(to bottom right, #FDFCF9, #EEEBE3); }

.gc-deco {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 54%;
  height: auto;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gc-card:hover .gc-deco { transform: scale(1.08) rotate(2deg); }
@media (max-width: 820px) { .gc-deco { width: 46%; right: -4%; } }

.gc-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.9rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 24, 27, 0.75);
  margin-bottom: 1.4rem;
}
.gc-badge i { width: 7px; height: 7px; border-radius: 999px !important; display: block; }

.gc-text { flex-grow: 1; }
.gc-text h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.7rem;
  max-width: 18ch;
}
.gc-text p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(20, 24, 27, 0.68);
  max-width: 36ch;
}

.gc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.gc-cta svg { width: 15px; height: 15px; transition: transform 0.3s ease; }
.gc-card:hover .gc-cta svg, .gc-cta:hover svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .gc-card, .gc-deco, .gc-cta svg { transition: none; }
  .gc-card:hover { transform: none; }
  .gc-card:hover .gc-deco { transform: none; }
}

/* ---- stats bar --------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat {
  padding: clamp(2.2rem, 4vw, 3.6rem) 2rem;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat .n {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 1;
  color: var(--green);
  display: block;
  margin-bottom: 0.9rem;
}
.stat .l { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--hairline); }
  .stat:last-child { border-bottom: none; }
}

/* ---- project color-change cards ------------------------------ */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 768px) {
  .pc-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.pc-card {
  position: relative;
  display: flex;
  min-height: 340px;
  overflow: hidden;
  background: var(--green-deep);
  text-decoration: none;
  cursor: pointer;
}

.pc-img {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, filter 0.5s ease;
}
/* greyscale on desktop, colour on hover (mobile stays colour, like the component) */
@media (min-width: 768px) {
  .pc-img { filter: saturate(0); }
  .pc-card:hover .pc-img, .pc-card:focus-visible .pc-img { filter: saturate(1); transform: scale(1.1); }
}
/* legibility scrim over the photo */
.pc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 13, 0.72), rgba(10, 16, 13, 0.08) 55%);
}

.pc-arrow {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  z-index: 2;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.5s ease, color 0.5s ease;
}
.pc-card:hover .pc-arrow, .pc-card:focus-visible .pc-arrow { transform: rotate(-45deg); color: #fff; }

.pc-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.5s ease;
}
.pc-card:hover .pc-body { color: #fff; }

.pc-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.pc-heading {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

/* per-letter roll (built by site.js) */
.pc-l {
  display: inline-block;
  height: 1.06em;
  overflow: hidden;
  vertical-align: top;
}
.pc-l-in {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 35ms);
}
.pc-card:hover .pc-l-in, .pc-card:focus-visible .pc-l-in { transform: translateY(-50%); }
.pc-sp { display: inline-block; width: 0.32em; }

.pc-desc { font-size: 0.9rem; line-height: 1.55; max-width: 52ch; }

/* CTA card (no image) */
.pc-card-cta { background: var(--green); }
.pc-card-cta:hover { background: var(--green-deep); }
.pc-card-cta .pc-body { color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .pc-img, .pc-arrow, .pc-l-in, .pc-body { transition: none; }
  .pc-card:hover .pc-img { transform: none; }
  .pc-card:hover .pc-l-in { transform: none; }
}

/* ---- projects -------------------------------------------------- */
.proj-entry { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--hairline); }
.proj-img { display: block; overflow: hidden; }
.proj-img img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.proj-entry:hover .proj-img img, .proj-img:hover img { filter: grayscale(0) saturate(0.85); }
@media (prefers-reduced-motion: reduce) { .proj-img img { transition: none; } }

.proj-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.4rem;
  padding: 1rem 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.proj-caption .c-name { color: var(--ink); }
.proj-caption .c-dim { color: var(--grey); }

.proj-text {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 2rem;
  margin-top: 1.8rem;
}
.proj-text h2 { grid-column: 1 / 6; font-size: clamp(1.8rem, 3.6vw, 3.4rem); text-transform: uppercase; line-height: 0.96; }
.proj-text div { grid-column: 6 / 12; }
.proj-text p { color: var(--grey); }
@media (max-width: 900px) {
  .proj-text { display: block; }
  .proj-text h2 { margin-bottom: 1rem; }
}

/* home featured strip */
.home-projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem 2rem; }
.home-proj { text-decoration: none; }
.home-projects .home-proj:nth-child(1) { grid-column: 1 / 7; }
.home-projects .home-proj:nth-child(2) { grid-column: 7 / 13; margin-top: 4rem; }
.home-projects .home-proj:nth-child(3) { grid-column: 4 / 11; }
.home-proj img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1); transition: filter 0.3s ease; }
.home-proj:hover img { filter: grayscale(0) saturate(0.85); }
@media (max-width: 900px) {
  .home-projects { display: block; }
  .home-proj { display: block; margin: 0 0 2.5rem !important; }
}

/* ---- services page ------------------------------------------------ */
.page-head { position: relative; padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); }
.page-head h1 {
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.page-head .section-intro { margin-top: 2rem; font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: var(--grey); }
.section-intro em { font-style: normal; }

/* image hero */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 11rem) 0 clamp(3rem, 6vw, 5rem);
}
.svc-hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc-hero h1.hq-title { font-size: clamp(2.6rem, 6.5vw, 5.5rem); }
.svc-hero .hq-sub { margin-inline: auto; }

.svc-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2.2rem; }
.svc-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(20, 24, 27, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  font-family: "Poppins", var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.svc-jump a span { font-size: 11px; letter-spacing: 0.14em; color: var(--green); }
.svc-jump a:hover { background: var(--ink); color: #fff; }
.svc-jump a:hover span { color: rgba(255, 255, 255, 0.7); }

/* alternating service blocks */
.svc-block { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--hairline); }
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.svc-flip .svc-figure { order: 2; }

.svc-figure { position: relative; margin: 0; overflow: hidden; }
.svc-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-figure:hover img { transform: scale(1.04); }
.svc-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bg);
  padding: 0.7rem 1.2rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.svc-copy { position: relative; }
.svc-index {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.8;
  color: var(--ink);
  opacity: 0.07;
  margin-bottom: -0.35em;
}
.svc-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.svc-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: 0.98;
}
.svc-lede { margin-top: 1.4rem; font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--grey); }

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-flip .svc-figure { order: 0; }
  .svc-figure img { aspect-ratio: 16 / 10; }
}

/* spec list */
.spec-list { list-style: none; margin: 2rem 0 2.4rem; border-top: 1px solid var(--hairline); max-width: 62ch; counter-reset: spec; }
.spec-list li {
  padding: 0.85rem 0 0.85rem 3.4rem;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  font-size: 0.98rem;
}
.spec-list li::before {
  content: counter(spec, decimal-leading-zero);
  counter-increment: spec;
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--green);
}
@media (min-width: 1100px) {
  .spec-two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; max-width: none; }
  .spec-two li { padding-left: 3rem; }
}

/* compact block — offered but not promoted */
.svc-compact { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.svc-compact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
}
.svc-compact-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); text-transform: uppercase; line-height: 1; }
.svc-compact .svc-kicker { margin-bottom: 0.6rem; }
.svc-compact .spec-list { margin: 0; max-width: none; border-top: none; }
.svc-compact .spec-list li { border-bottom: none; padding: 0.3rem 0 0.3rem 3rem; font-size: 0.94rem; color: var(--grey); }
.svc-compact .spec-list li::before { top: 0.5rem; }
@media (max-width: 900px) {
  .svc-compact-inner { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* process strip */
.svc-process { background: var(--bg-alt); }
.svc-process-title { font-size: clamp(1.9rem, 4vw, 3.4rem); text-transform: uppercase; line-height: 0.98; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.proc-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.proc-step {
  padding: 2rem 1.6rem 0 0;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.proc-step:last-child { border-right: none; }
.proc-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px !important;
  background: var(--green);
}
.proc-n { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--green); margin-bottom: 0.9rem; }
.proc-step h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); text-transform: uppercase; line-height: 1.15; margin-bottom: 0.7rem; }
.proc-step p { font-size: 0.92rem; line-height: 1.6; color: var(--grey); }
@media (max-width: 900px) {
  .proc-row { grid-template-columns: 1fr 1fr; }
  .proc-step { border-bottom: 1px solid var(--hairline); padding-bottom: 1.8rem; }
  .proc-step:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .proc-row { grid-template-columns: 1fr; }
  .proc-step { border-right: none; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-figure img { transition: none; }
  .svc-figure:hover img { transform: none; }
}

/* ---- team -------------------------------------------------------- */
.team-list { border-top: 1px solid var(--hairline); }
.team-member {
  display: grid;
  grid-template-columns: 6rem 1fr 1.4fr;
  gap: 0.4rem 2rem;
  padding: clamp(2.2rem, 4vw, 3.4rem) 0;
  border-bottom: 1px solid var(--hairline);
}
.team-member .index { padding-top: 0.5rem; }
.team-member h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.team-member .role {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-top: 0.9rem;
}
.team-member .bio { font-size: 0.98rem; color: var(--grey); }
@media (max-width: 780px) { .team-member { grid-template-columns: 1fr; } }

/* ---- funnel steps / pills ----------------------------------------- */
.steps { counter-reset: step; border-top: 1px solid var(--hairline); }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 6rem 1fr 1.4fr;
  gap: 0 2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--hairline);
}
.step::before {
  content: "0" counter(step);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--green);
}
.step h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); text-transform: uppercase; line-height: 1.15; }
.step p { font-size: 0.95rem; color: var(--grey); }
@media (max-width: 780px) { .step { grid-template-columns: 4rem 1fr; } .step p { grid-column: 2; } }

.pill-row { display: flex; flex-wrap: wrap; margin-top: 2rem; border: 1px solid var(--hairline); }
.pill {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.85rem 1.3rem;
  border-right: 1px solid var(--hairline);
  flex: 1 1 auto;
}
.pill:last-child { border-right: none; }

.trust-block {
  border-left: 2px solid var(--green);
  padding-left: 2rem;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.55;
  max-width: 36em;
}

/* funnel hero */
.funnel-hero { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.funnel-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem 2rem; align-items: start; }
.funnel-intro { grid-column: 1 / 7; }
.funnel-form { grid-column: 7 / 13; }
.funnel-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.8rem); text-transform: uppercase; line-height: 0.96; }
.funnel-hero .lede { margin-top: 2rem; color: var(--grey); max-width: 46ch; }
.funnel-media { margin-top: 2.5rem; }
.funnel-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.82); }
.funnel-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--hairline);
}
@media (max-width: 980px) {
  .funnel-grid { display: block; }
  .funnel-form { margin-top: 3rem; }
}

/* ---- forms --------------------------------------------------------- */
.form-card { border: 1px solid var(--hairline); background: #FFFFFF; padding: clamp(1.6rem, 3.5vw, 3rem); }
.form-title { font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; margin-bottom: 2rem; }

.form-grid { display: grid; gap: 1.7rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  padding: 0.85rem 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="file"] { font-size: 0.85rem; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.7rem; }
.checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.checks input { margin-top: 0.3rem; accent-color: var(--green); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.muted { color: var(--grey); }

/* ---- mobile touch targets & legibility ------------------------------ */
@media (max-width: 820px) {
  /* header logo + toggle: give a proper 44px tap area */
  .site-header .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-toggle { min-height: 44px; padding: 0.85rem 1.1rem; }

  /* footer links (contact, socials) */
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer .logo { min-height: 44px; display: inline-flex; align-items: center; }

  /* inline text links get a real tap area */
  .tlink, .gc-cta { display: inline-flex; align-items: center; min-height: 44px; }

  /* checkboxes on the quote form — 13px is too small to hit reliably */
  .checks input { width: 22px; height: 22px; margin-top: 0.15rem; }
  .checks label { min-height: 44px; align-items: center; gap: 0.8rem; }

  /* file inputs sit flush; give them breathing room */
  .field input[type="file"] { padding: 0.6rem 0; min-height: 44px; }

  /* nothing below 11px on mobile */
  .footer-note, .tb-label { font-size: 11px; }
}

/* ---- footer (deep green) -------------------------------------------- */
.site-footer { background: var(--green-deep); color: var(--cream); padding: clamp(5rem, 9vw, 8rem) 0 2.5rem; }

.footer-statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 7rem);
  text-transform: uppercase;
  line-height: 0.94;
  max-width: 12ch;
}
.footer-cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.1rem 1.4rem; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--hairline-cream);
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.footer-col .label { opacity: 0.6; margin-bottom: 0.5rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { opacity: 0.7; }
.footer-note {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline-cream);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* minimal footer (funnel) */
.footer-minimal { padding: 3.5rem 0 2rem; }
.fine-print { font-size: 0.82rem; opacity: 0.7; max-width: 72ch; margin-top: 1.8rem; }

/* alt background section */
.sec-alt { background: var(--bg-alt); }

/* ---- legal pages & form terms --------------------------------------- */
.legal { max-width: 68ch; }
.legal h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 2.6rem 0 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}
.legal h2:first-of-type { margin-top: 1.5rem; }
.legal p { font-size: 1rem; line-height: 1.75; color: var(--ink); margin-bottom: 1rem; max-width: 68ch; }
.legal a { color: var(--green); text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal-updated { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-top: 1.6rem; }
.legal-review { border-left: 2px solid var(--green); padding-left: 1.2rem; }
.legal-sig { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline); font-size: 0.92rem; color: var(--grey); }
.legal-cta { margin-top: 2.5rem; }

/* short terms under the assessment submit button */
.form-terms {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--grey);
  max-width: none;
}
.form-terms strong { color: var(--ink); font-weight: 600; }
.form-terms a { color: var(--green); text-underline-offset: 3px; }
.form-terms a:hover { color: var(--ink); }

/* legal links in the footer bar */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { opacity: 0.7; }

/* ---- mobile overrides (must load last to win the cascade) ------------ */
@media (max-width: 820px) {
  .footer-note, .footer-note span { font-size: 11px; }
  .hq-search input { padding-top: 0.8rem; padding-bottom: 0.8rem; }
  .hq-search-btn { min-height: 44px; }
  .svc-jump a { min-height: 44px; }
  .proj-caption span, .plate-caption { font-size: 11px; }
  .footer-minimal a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
