/* ===========================================================
   Cedar Green Project Management — Site Stylesheet
   Design tokens per PRD §3 Colour Scheme
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette — exactly per PRD */
  --cedar-green: #3F6B4E;
  --cedar-green-rgb: 63, 107, 78;
  --light-grey: #F4F4F2;
  --dark-green: #1E3A2B;
  --dark-green-rgb: 30, 58, 43;
  --white: #FFFFFF;
  --charcoal: #2B2B2B;

  /* Derived utility tones */
  --cedar-green-hover: #345A41;
  --border-soft: rgba(43, 43, 43, 0.10);
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --shadow-card: 0 2px 6px rgba(30, 58, 43, 0.07), 0 14px 32px -14px rgba(30, 58, 43, 0.22);
  --shadow-card-hover: 0 10px 16px rgba(30, 58, 43, 0.10), 0 28px 48px -16px rgba(30, 58, 43, 0.30);
  --float-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Gold accent — curved underline highlight (matches logo gold) */
  --awb-highlight-color: rgba(175, 141, 96, 1);
  --awb-highlight-width: 15px;
  --awb-highlight-animation-duration: 342;
  /* × 5.26ms ≈ 1.8s */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--dark-green);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--cedar-green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== Skip link ===================== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--dark-green);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ===================== Header / Nav ===================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--cedar-green), var(--dark-green));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-green);
  white-space: nowrap;
}

.brand-text span {
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cedar-green);
  font-weight: 600;
}

.brand-logo {
  height: 85px;
  width: auto;
  display: block;
}

.mobile-dropdown-header .brand-logo {
  height: 32px;
}

nav.primary-nav {
  display: none;
}

@media (min-width: 1080px) {
  nav.primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }
}

nav.primary-nav>.nav-item {
  position: relative;
  flex-shrink: 0;
}

nav.primary-nav>.nav-item>a,
nav.primary-nav>.nav-item>button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

nav.primary-nav>.nav-item>a:hover,
nav.primary-nav>.nav-item>button:hover,
nav.primary-nav>.nav-item.is-active>a {
  background: var(--light-grey);
  color: var(--dark-green);
}

nav.primary-nav>.nav-item>button svg {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

nav.primary-nav>.nav-item:hover>button svg {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

nav.primary-nav>.nav-item:hover>.mega,
nav.primary-nav>.nav-item:focus-within>.mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.mega a:hover {
  background: var(--light-grey);
}

.mega a strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-green);
}

.mega a span {
  font-size: 12px;
  color: #6b6b6b;
}

/* Dark, single-column nested dropdown (e.g. About Us -> Our Process) */
.mega.mega-dark {
  width: 300px;
  background: var(--dark-green);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
}

.mega.mega-dark a {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.mega.mega-dark a:last-child {
  border-bottom: none;
}

.mega.mega-dark a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mega.mega-dark a strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.mega.mega-dark a svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: transform .15s ease;
}

.mega.mega-dark a:hover svg {
  transform: translateX(3px);
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #fff;
  flex-shrink: 0;
  transition: border-color .15s ease, background .15s ease;
}

.nav-toggle:hover {
  border-color: var(--cedar-green);
  background: var(--light-grey);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile menu — shadcn-style dropdown: white panel, bordered accordion triggers,
   two-line description items (matches shadcnspace reference) */
.mobile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 24px;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transform-origin: top right;
  transform: translateY(-6px) scale(0.98);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 100px);
}

.mobile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (min-width: 1080px) {
  .mobile-dropdown {
    display: none;
  }
}

.mobile-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.mobile-dropdown-header .brand-text strong {
  font-size: 15.5px;
}

.menu-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s ease, background .15s ease;
}

.menu-close-btn:hover {
  border-color: var(--cedar-green);
  background: var(--light-grey);
}

.menu-close-btn svg {
  width: 16px;
  height: 16px;
}

.mobile-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  overflow-y: auto;
}

.mobile-dropdown-footer {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.mm-link {
  display: block;
  padding: 11px 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--dark-green);
  border-radius: var(--radius-sm);
}

.mm-link:hover {
  background: var(--light-grey);
}

.mm-link.is-active {
  background: var(--light-grey);
}

.mm-accordion {
  margin: 4px 0;
}

.mm-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
  color: var(--dark-green);
  background: var(--light-grey);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.mm-accordion summary::-webkit-details-marker {
  display: none;
}

.mm-accordion summary::marker {
  content: "";
  display: none;
}

.mm-accordion summary svg {
  width: 15px;
  height: 15px;
  color: #6b6b6b;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.mm-accordion[open] summary {
  background: #fff;
}

.mm-accordion[open] summary svg {
  transform: rotate(180deg);
}

.mm-accordion.is-active summary {
  border-color: var(--cedar-green);
}

.mm-accordion-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 2px 4px;
}

.mm-accordion-body a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
}

.mm-accordion-body a:hover {
  background: var(--light-grey);
}

.mm-accordion-body a strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-green);
}

.mm-accordion-body a span {
  display: block;
  font-size: 12px;
  color: #767676;
  margin-top: 2px;
}

/* ===================== Buttons (shadcn-style) ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--cedar-green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cedar-green-hover);
}

.btn-dark {
  background: var(--dark-green);
  color: #fff;
}

.btn-dark:hover {
  background: #142a1e;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--dark-green);
  border-color: var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--cedar-green);
  color: var(--cedar-green);
}

.btn-white {
  background: #fff;
  color: var(--dark-green);
}

.btn-white:hover {
  background: var(--light-grey);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-link {
  padding: 0;
  background: none;
  color: var(--cedar-green);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.btn-link svg {
  width: 15px;
  height: 15px;
  transition: transform .15s ease;
}

.btn-link:hover svg {
  transform: translateX(3px);
}

/* ===================== Badge / eyebrow ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cedar-green);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cedar-green);
}

.eyebrow.on-dark {
  color: #BFE0CC;
}

.eyebrow.on-dark::before {
  background: #BFE0CC;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--cedar-green-rgb), 0.10);
  color: var(--cedar-green);
  border: 1px solid rgba(var(--cedar-green-rgb), 0.22);
}

/* ===================== Breadcrumb ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
  opacity: .6;
}

.breadcrumb .current {
  color: #fff;
  font-weight: 600;
}

/* ===================== Banner / Hero ===================== */
.banner {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--cedar-green) 100%);
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(30, 58, 43, 0.94) 10%, rgba(63, 107, 78, 0.72) 60%, rgba(30, 58, 43, 0.55) 100%);
}

.banner-inner {
  position: relative;
  z-index: 2;
  padding: 76px 0 68px;
}

.banner.is-compact .banner-inner {
  padding: 58px 0 54px;
}

.banner h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.25;
  max-width: 780px;
  margin-bottom: 18px;
  padding-left: 10px;
  padding-right: 10px;
}

.banner .sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 0;
  padding-left: 10px;
  padding-right: 10px;
}

.banner .breadcrumb {
  padding-left: 10px;
  padding-right: 10px;
}

.banner .banner-cta {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  padding-left: 10px;
}

.banner .banner-cta .btn:first-child {
  margin-left: 10px;
}

/* ===================== Banner floating parallax ===================== */
/* .banner-img is nudged by JS (idle float + scroll parallax combined into
   one transform); the 1.08 scale gives it room to drift without exposing
   edges. */
.banner {
  isolation: isolate;
}

.banner-img {
  will-change: transform;
  transform: translateY(0) scale(1.08);
  transition: transform 0.2s linear;
}

/* ===================== Hero kinetic reveal (ported from reference template) ===================== */
@keyframes kineticReveal {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.banner h1 {
  opacity: 0;
}

.banner.in-view h1 {
  animation: kineticReveal 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.banner .breadcrumb,
.banner .sub,
.banner .banner-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--float-ease), transform 0.8s var(--float-ease);
}

.banner.in-view .breadcrumb {
  transition-delay: 0.05s;
}

.banner.in-view .sub {
  transition-delay: 0.5s;
}

.banner.in-view .banner-cta {
  transition-delay: 0.7s;
}

.banner.in-view .breadcrumb,
.banner.in-view .sub,
.banner.in-view .banner-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Gold curved underline highlight ===================== */
/* Wrap a keyword in <span class="h1-highlight">word<svg>...</svg></span> —
   the path draws itself in once the parent .banner has .in-view. */
.h1-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.h1-highlight svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  width: 100%;
  height: 9px;
  overflow: visible;
  pointer-events: none;
}

.h1-highlight svg path {
  stroke: var(--awb-highlight-color);
  stroke-width: var(--awb-highlight-width);
  fill: none;
  stroke-dasharray: 1500;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation-duration: calc(var(--awb-highlight-animation-duration) * 5.26ms);
  stroke-dashoffset: 1500;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.banner.in-view .h1-highlight svg path {
  animation-name: awbDrawUnderline;
  animation-play-state: running;
  animation-delay: 0.95s;
}

@keyframes awbDrawUnderline {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===================== Site-wide scroll reveal & floating motion ===================== */
/* Applied via a small script to h1/h2/h4 headings, lead/intro paragraphs,
   and content imagery. Mirrors the reference template's .scroll-reveal
   fade-up pattern, plus a gentle infinite float for images. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--float-ease), transform 0.9s var(--float-ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-img {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 1s var(--float-ease), transform 1s var(--float-ease);
}

.reveal-img.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Zoom pulse (not a vertical float): these images sit inside overflow-hidden,
   object-fit:cover containers, so any vertical translate uncovers a sliver of
   the container background at the edge. Scaling only ever upward keeps the
   image fully covering its box at all times, no gap ever exposed. */
@keyframes zoomPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.float-idle.in-view {
  animation: zoomPulse 6s var(--float-ease) infinite;
  animation-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {

  .banner h1,
  .banner .breadcrumb,
  .banner .sub,
  .banner .banner-cta,
  .reveal,
  .reveal-img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .banner-img,
  .h1-highlight svg path,
  .float-idle {
    animation: none !important;
    transform: none !important;
  }
}

/* ===================== Sections ===================== */
section {
  padding: 76px 0;
}

.section-grey {
  background: var(--light-grey);
}

.section-dark {
  background: var(--dark-green);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-cedar {
  background: var(--cedar-green);
  color: #fff;
}

.section-cedar h2,
.section-cedar h3 {
  color: #fff;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

.section-head p {
  color: #57605a;
  font-size: 16.5px;
}

.section-dark .section-head p,
.section-cedar .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* Offer / feature rows (image + text alternating) */
.offer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 88px;
}

.offer-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 880px) {
  .offer-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .offer-row.reverse .offer-media {
    order: 2;
  }

  .offer-row.reverse .offer-copy {
    order: 1;
  }
}

.offer-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 320px;
  height: 100%;
}

.offer-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}

.offer-copy h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 16px;
}

.offer-copy p {
  color: #4a4a4a;
  font-size: 16px;
}

.offer-copy .lead {
  font-size: 17px;
  color: var(--charcoal);
}

/* ===================== Floating card effect ===================== */
/* Applied to every card-like surface site-wide: gentle elevation at rest,
   a pronounced lift + deepened shadow on hover/focus, like the surface is
   floating just above the page. */
.floating {
  will-change: transform, box-shadow;
  transition: transform .32s var(--float-ease), box-shadow .32s var(--float-ease), border-color .25s ease;
}

.floating:hover,
.floating:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

@media (prefers-reduced-motion: reduce) {
  .floating {
    transition: box-shadow .2s ease, border-color .2s ease;
  }

  .floating:hover,
  .floating:focus-within {
    transform: none;
  }
}

/* Cards (shadcn-style card component) */
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(var(--cedar-green-rgb), 0.35);
}

/* Card image (top of card) */
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* Card body (below image) */
.card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-icon {

  display: none;
}

.card:hover .card-icon {
  border-color: var(--cedar-green);
  background: rgba(var(--cedar-green-rgb), 0.06);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14.5px;
  color: #5a5a5a;
  margin-bottom: 0;
  flex: 1;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Sector cards */
.sector-card {
  background: #fff;
  border: 1.5px solid rgba(63, 107, 78, 0.28);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.sector-card:hover {
  border-color: var(--cedar-green);
}

.sector-card h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 14px;
  color: #5a5a5a;
  margin: 0;
}


/* Mid CTA dark band w/ image cluster (screenshots reference) */
.cta-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr 0.9fr;
  }
}

.cta-cluster {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.cta-cluster img {
  border-radius: var(--radius-md);
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  box-shadow: var(--shadow-card);
}

.cta-cluster .tall {
  grid-row: span 2;
}

.cta-cluster .short {
  aspect-ratio: 16/10;
}

/* Process list (only used where content is a real ordered sequence) */
.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border-soft);
}

.process-item:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.process-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--cedar-green);
}

.process-item h4 {
  margin-bottom: 6px;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-item p {
  margin: 0;
  color: #5a5a5a;
  font-size: 14.5px;
}

.process-item-link {
  color: inherit;
  transition: padding-left .18s ease, background .18s ease;
  border-radius: var(--radius-sm);
}

.process-item-link h4 svg {
  width: 15px;
  height: 15px;
  color: var(--cedar-green);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

.process-item-link:hover {
  padding-left: 8px;
  background: var(--light-grey);
}

.process-item-link:hover h4 svg {
  opacity: 1;
  transform: translateX(0);
}

/* Stage prev/next navigation on process sub-pages */
.stage-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
}

@media (min-width: 640px) {
  .stage-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.stage-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin-right: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  transition: border-color .18s ease, background .18s ease;
}

.stage-nav-link:hover {
  border-color: var(--cedar-green);
  background: var(--light-grey);
}

.stage-nav-link.next {
  justify-content: flex-end;
  text-align: right;
}

.stage-nav-link .stage-nav-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(var(--cedar-green-rgb), 0.10);
  color: var(--cedar-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stage-nav-link .stage-nav-arrow svg {
  width: 16px;
  height: 16px;
}

.stage-nav-link .stage-nav-eyebrow {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cedar-green);
  font-weight: 700;
  margin-bottom: 3px;
  padding-right: 10px;
}

.stage-nav-link .stage-nav-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-green);
}

/* Value grid on About */
.value-panel {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.value-panel h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cedar-green);
  margin-bottom: 10px;
}

.value-panel p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-info-card {
  background: var(--dark-green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: 0 14px 32px -14px rgba(30, 58, 43, 0.55);
}

.contact-info-card h3 {
  color: #fff;
}

.contact-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-line:first-of-type {
  border-top: none;
}

.contact-line .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-line .ic svg {
  width: 18px;
  height: 18px;
}

.contact-line strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #BFE0CC;
  margin-bottom: 3px;
}

.contact-line span,
.contact-line a {
  font-size: 15px;
  color: #fff;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--dark-green);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--light-grey);
  color: var(--charcoal);
  transition: border-color .15s ease, background .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cedar-green);
  background: #fff;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Map */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  margin-top: 26px;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ===================== FAQ Accordion ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(30, 58, 43, 0.05);
  transition: border-color .15s ease;
}

.faq-item[open] {
  border-color: rgba(var(--cedar-green-rgb), 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--dark-green);
}

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

.faq-item summary .faq-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-grey);
  color: var(--cedar-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.faq-item summary .faq-plus svg {
  width: 14px;
  height: 14px;
}

.faq-item[open] summary .faq-plus {
  background: var(--cedar-green);
  color: #fff;
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: #4a4a4a;
  font-size: 15px;
  max-width: 700px;
}

.faq-item .faq-answer p {
  margin: 0;
}

/* ===================== Footer ===================== */
footer.site-footer {
  background: #F4F4F2;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  padding-bottom: 48px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-grid h5 {
  color: #1E3A2B;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #1E3A2B;
}

.footer-grid a {
  color: #1E3A2B;
  font-size: 14.5px;
  transition: color .15s ease;
}

.footer-grid a:hover {
  color: #ffc400dc;
}

.footer-brand p {
  font-size: 14.5px;
  max-width: 300px;
  color: #1E3A2B;
}

.footer-brand .footer-logo {
  height: 185px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #1E3A2B;
}

.footer-bottom a:hover {
  color: #ffc400dc;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ===================== Misc ===================== */
.two-col-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 880px) {
  .two-col-intro {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.kicker-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--dark-green);
  font-weight: 500;
  line-height: 1.35;
}

/* ===================== Legal document content (Privacy / Terms) ===================== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content .legal-updated {
  color: #6b6b6b;
  font-size: 14px;
  margin-bottom: 44px;
}

.legal-content h2 {
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: #3f3f3f;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #3f3f3f;
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content li::marker {
  color: var(--cedar-green);
}

.legal-content a {
  color: var(--cedar-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: var(--dark-green);
}