/* ==========================================================================
   VANTECREST — DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color — derived from the Vantecrest logo */
  --green-primary: #5F7D53;   /* logo shield green */
  --green-primary-dark: #4A6440;
  --green-deep: #26331E;      /* near-black green — dark sections, headings */
  --green-tint: #DCE6D3;      /* light accent wash */
  --green-tint-soft: #EEF2E9;
  --stone: #F4F3EF;           /* base light grey */
  --stone-dark: #E8E6DF;
  --white: #FFFFFF;
  --ink: #1B1D19;             /* body / charcoal text */
  --ink-soft: #55584F;
  --line: #D9D6CC;

  /* Type */
  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Type scale */
  --size-2xl: clamp(2.5rem, 5vw + 1rem, 5rem);
  --size-xl: clamp(2rem, 3vw + 1rem, 3.25rem);
  --size-lg: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
  --size-md: 1.25rem;
  --size-base: 1rem;
  --size-sm: 0.9rem;
  --size-xs: 0.8rem;

  /* Layout */
  --content-max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-deep);
}
p { margin: 0; }

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

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

/* ------------------------------ Layout helpers ------------------------------ */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
#about { padding-bottom: clamp(2rem, 4vw, 3rem); }
#faq { padding-top: clamp(2rem, 4vw, 3rem); }
.section--dark {
  background: var(--green-deep);
  color: var(--stone);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--tint { background: var(--green-tint-soft); }
.section--stone { background: var(--stone); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-primary);
}
.label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green-primary);
  display: inline-block;
}
.section--dark .label { color: var(--green-tint); }
.section--dark .label::before { background: var(--green-tint); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}
.section-head h2 {
  font-size: var(--size-xl);
  line-height: 1.08;
  margin-top: 0.75rem;
}
.section-head p {
  margin-top: 1.25rem;
  font-size: var(--size-md);
  color: var(--ink-soft);
  max-width: 620px;
}
.section--dark .section-head p { color: #C9D2C2; }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--ease) 0.2s, color var(--ease) 0.2s, border-color var(--ease) 0.2s, transform var(--ease) 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--green-primary);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-primary-dark); }
.btn--outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--ink);
}
.btn--outline:hover { border-color: var(--green-primary); color: var(--green-primary); }
.section--dark .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.section--dark .btn--outline:hover { border-color: var(--white); }
.btn--ghost {
  padding: 0;
  color: var(--green-deep);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 600;
}
.btn--ghost:hover { color: var(--green-primary); border-color: var(--green-primary); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand img { height: 44px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--green-primary);
  transition: right var(--ease) 0.25s;
}
.main-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-actions .btn--primary { display: none; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: width var(--ease) 0.2s, transform var(--ease) 0.2s;
}
.menu-toggle span:nth-child(1) { width: 26px; }
.menu-toggle span:nth-child(2) { width: 26px; }
.menu-toggle span:nth-child(3) { width: 18px; }
.menu-toggle:hover span:nth-child(3) { width: 26px; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-actions .btn--primary { display: inline-flex; }
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 17, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease) 0.3s, visibility 0.3s;
  z-index: 70;
}
.sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 88vw);
  background: var(--green-deep);
  color: var(--stone);
  z-index: 80;
  transform: translateX(100%);
  transition: transform var(--ease) 0.45s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar.is-open { transform: translateX(0); }

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem var(--gutter) 1.25rem;
}
.sidebar-head .brand span { color: var(--white); }
.sidebar-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.sidebar-close::before, .sidebar-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 20px;
  height: 2px;
  background: var(--white);
  transform-origin: center;
}
.sidebar-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.sidebar-close::after { transform: translate(-50%,-50%) rotate(-45deg); }

.sidebar-body {
  padding: 0.5rem var(--gutter) 2rem;
  flex: 1;
}
.sidebar-group {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sidebar-group:first-child { padding-top: 0.5rem; }
.sidebar-group-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-tint);
  margin-bottom: 0.9rem;
}
.sidebar-group a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--ease) 0.2s, padding-left var(--ease) 0.2s;
}
.sidebar-group a:hover { color: var(--green-tint); padding-left: 0.35rem; }
.sidebar-group--links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.sidebar-foot {
  padding: 1.5rem var(--gutter) 2rem;
}
.sidebar-foot .btn--primary {
  width: 100%;
  justify-content: center;
  padding: 1.05rem 1.6rem;
}

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   SCROLL REVEALS (shared)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-image {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-image.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-image { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   IMAGE FRAMES & SUBTLE HOVER ZOOM
   ========================================================================== */
.media-frame { display: block; overflow: hidden; }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .hero-visual img,
  .industry-visual img,
  .case-slide-media img,
  .about-image-wrap img,
  .media-frame img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s var(--ease);
  }
  .hero:hover .hero-visual img,
  .industry-visual:hover img,
  .case-slide-media:hover img,
  .about-image-wrap:hover img,
  .media-frame:hover img {
    transform: scale(1.05);
  }
}

/* ==========================================================================
   SHARED SCROLLER CONTROLS
   ========================================================================== */
.scroll-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}
.section-head-row .scroll-controls { margin-top: 0; margin-bottom: 0.5rem; }
.scroll-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--green-deep);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease) 0.2s, color var(--ease) 0.2s, border-color var(--ease) 0.2s;
}
.scroll-btn:hover { background: var(--green-primary); border-color: var(--green-primary); color: var(--white); }
.scroll-controls--light .scroll-btn { border-color: rgba(255,255,255,0.4); color: var(--white); }
.scroll-controls--light .scroll-btn:hover { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-deep); }

/* ==========================================================================
   HERO — image-led
   ========================================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--stone);
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.hero-visual {
  order: -1;
  width: 100%;
  height: 42vh;
  min-height: 260px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: clamp(1.5rem, 9vw, 10rem);
  padding-right: var(--gutter);
}
.hero-copy { max-width: 640px; text-align: left; margin: 0; }
.hero-copy h1 {
  font-size: var(--size-2xl);
  line-height: 1.02;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.4vw + 0.6rem, 1.5rem);
  color: var(--green-primary);
}
.hero-desc {
  margin-top: 1rem;
  font-size: var(--size-md);
  color: var(--ink-soft);
  max-width: 520px;
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.is-hero.reveal { transition-delay: 0.1s; }

@media (min-width: 900px) {
  .hero { min-height: 92vh; justify-content: center; align-items: stretch; padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
  .hero-visual {
    order: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      var(--stone) 0,
      var(--stone) calc(clamp(1.5rem, 9vw, 10rem) + 660px),
      var(--stone) calc(clamp(1.5rem, 9vw, 10rem) + 700px),
      rgba(38,51,30,0.35) calc(clamp(1.5rem, 9vw, 10rem) + 900px));
  }
  .hero-copy { padding-bottom: 1rem; }
}

/* ==========================================================================
   BUSINESS CHALLENGE — contained editorial carousel
   ========================================================================== */
.challenge-carousel {
  margin-top: 2rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.challenge-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 1.5rem;
}
.challenge-track::-webkit-scrollbar { display: none; }
.challenge-item {
  flex: 0 0 auto;
  width: 82vw;
  max-width: 360px;
  padding: 2.25rem 0 0.5rem;
  scroll-snap-align: start;
  display: block;
  border-bottom: 1px solid var(--line);
}
.challenge-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-primary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.challenge-item p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.4vw + 0.85rem, 1.5rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.3;
  padding-bottom: 1.75rem;
  transition: color var(--ease) 0.2s;
}
.challenge-item:hover p { color: var(--green-primary); }

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.carousel-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.carousel-counter #challengeCurrent { color: var(--green-deep); }
.scroll-btn.is-disabled { opacity: 0.3; pointer-events: none; }

@media (min-width: 700px) {
  .challenge-item { width: calc(50% - 0.75rem); }
}
@media (min-width: 1000px) {
  .challenge-item { width: calc(43% - 1rem); }
}

/* ==========================================================================
   SERVICES — editorial selector
   ========================================================================== */
.service-selector { display: block; margin-top: 1rem; }
.service-nav { display: block; }
.service-nav-item {
  width: 100%;
  display: block;
  text-align: left;
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}
.service-nav:last-child .service-nav-item:last-child,
.service-nav-item:last-of-type { border-bottom: 1px solid var(--line); }
.service-nav-index {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.service-nav-text { display: block; }
.service-nav-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.service-nav-desc {
  display: block;
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-nav-photo {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-top: 1.1rem;
}
.service-visual { display: none; }

@media (min-width: 900px) {
  .service-selector {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
  .service-nav-item { padding: 1.4rem 0; cursor: pointer; transition: padding-left var(--ease) 0.25s; }
  .service-nav-item:hover, .service-nav-item.is-active { padding-left: 0.75rem; }
  .service-nav-item.is-active .service-nav-title { color: var(--green-primary); }
  .service-nav-desc, .service-nav-photo { display: none; }
  .service-visual {
    display: block;
    position: sticky;
    top: 110px;
  }
  .service-visual .media-frame { width: 100%; height: 440px; }
  .service-visual.is-fading .media-frame img { opacity: 0; }
  .service-caption { margin-top: 1.5rem; }
  .service-caption p {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green-deep);
    max-width: 440px;
  }
  .service-caption .btn--ghost { margin-top: 1.1rem; }
}

/* ==========================================================================
   VISUAL PROBLEM-SOLVING — layered images
   ========================================================================== */
.problem-solving-visual { overflow: hidden; }
.problem-visual-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.problem-visual-copy p { margin-top: 1.25rem; max-width: 480px; }
.problem-visual-images {
  position: relative;
  height: 340px;
}
.problem-visual-images .layer {
  position: absolute;
  object-fit: cover;
  will-change: transform;
}
.layer-back {
  top: 0; left: 5%;
  width: 78%;
  height: 78%;
}
.layer-front {
  bottom: 0; right: 0;
  width: 62%;
  height: 62%;
  border: 6px solid var(--green-tint);
}

@media (min-width: 900px) {
  .problem-visual-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .problem-visual-images { height: 440px; }
}

/* ==========================================================================
   APPROACH — horizontal progression
   ========================================================================== */
.approach-progress {
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin-top: 2.5rem;
}
.approach-progress-bar {
  height: 100%;
  width: 16%;
  background: var(--green-tint);
  transition: width 0.15s linear;
}
.approach-scroller { margin-top: 0; }
.approach-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  gap: 0;
  padding-top: 2rem;
}
.approach-track::-webkit-scrollbar { display: none; }
.approach-step {
  flex: 0 0 auto;
  width: min(78vw, 320px);
  padding: 0 2rem 0 0;
  scroll-snap-align: start;
}
.approach-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-tint);
}
.approach-body h3 { color: var(--white); font-size: 1.2rem; margin-top: 0.75rem; }
.approach-body p { margin-top: 0.6rem; color: #C9D2C2; max-width: 260px; }
.approach-section .scroll-controls { justify-content: flex-end; }

@media (min-width: 900px) {
  .approach-step { width: 280px; }
}

/* ==========================================================================
   INDUSTRIES — editorial selector
   ========================================================================== */
.industry-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.industry-visual { height: 260px; overflow: hidden; }
.industry-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.industry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.industry-nav-item {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
  transition: color var(--ease) 0.2s, border-color var(--ease) 0.2s;
}
.industry-nav-item:hover { color: var(--green-primary); }
.industry-nav-item.is-active { color: var(--green-deep); border-color: var(--green-primary); }

@media (min-width: 900px) {
  .industry-selector { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .industry-visual { height: 420px; order: -1; }
  .industry-nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .industry-nav-item { width: 100%; text-align: left; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   SELECTED WORK — case study carousel
   ========================================================================== */
.case-carousel { position: relative; margin-top: 2rem; overflow: hidden; }
.case-slide {
  display: none;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.case-slide.is-active { display: grid; animation: caseFade 0.5s var(--ease); }
@keyframes caseFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.case-slide-media { height: 260px; overflow: hidden; }
.case-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-slide-body { padding: 0.5rem 0; }
.case-slide-logo { max-height: 58px; width: auto; margin-bottom: 1.5rem; }
.case-slide-body h3 { font-size: 1.6rem; }
.case-slide-body p { margin-top: 1rem; color: var(--ink-soft); max-width: 480px; }
.case-slide-body .btn { margin-top: 1.5rem; }

.case-dots { display: flex; gap: 0.6rem; margin-top: 2rem; }
.case-dot {
  width: 32px;
  height: 3px;
  background: var(--line);
  border: none;
  padding: 0;
  transition: background var(--ease) 0.2s;
}
.case-dot.is-active { background: var(--green-primary); }

@media (min-width: 900px) {
  .case-slide { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3.5rem; }
  .case-slide-media { height: 440px; }
}

/* ==========================================================================
   INSIGHTS — equal editorial cards
   ========================================================================== */
.insights-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: stretch;
}
.insight-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--ease) 0.2s;
  height: 100%;
}
.insight-card:hover { border-color: var(--green-primary); }
.insight-card .media-frame { width: 100%; height: 260px; flex-shrink: 0; }
.insight-card-body {
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.insight-card-body h3 { font-size: 1.4rem; margin-top: 0.5rem; line-height: 1.25; }
.insight-card-body p { margin-top: 0.75rem; color: var(--ink-soft); }
.insight-card-body .btn--ghost { margin-top: auto; align-self: flex-start; padding-top: 1.25rem; }

@media (min-width: 700px) {
  .insights-featured { grid-template-columns: repeat(2, 1fr); }
  .insight-card .media-frame { height: 320px; }
}

/* ==========================================================================
   WHY VANTECREST — sequenced reveal
   ========================================================================== */
.why-sequence { margin-top: 1rem; }
.why-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}
.why-sequence .why-row:last-child { border-bottom: 1px solid var(--line); }
.why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green-primary);
}
.why-row h3 { font-size: 1.2rem; }
.why-row p { margin-top: 0.5rem; color: var(--ink-soft); }
.why-row:nth-child(1) { transition-delay: 0s; }
.why-row:nth-child(2) { transition-delay: 0.08s; }
.why-row:nth-child(3) { transition-delay: 0.16s; }
.why-row:nth-child(4) { transition-delay: 0.24s; }
.why-row:nth-child(5) { transition-delay: 0.32s; }

@media (min-width: 780px) {
  .why-row { grid-template-columns: 80px 1fr; align-items: baseline; }
}

/* ==========================================================================
   ABOUT — split editorial with overlap
   ========================================================================== */
.about-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.about-text { text-align: left; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy { color: var(--ink-soft); font-size: 1.05rem; max-width: 560px; }
.about-text .mv-grid { margin-top: 2.25rem; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.mv-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-primary);
  font-family: var(--font-body);
  font-weight: 700;
}
.mv-block p { margin-top: 0.6rem; color: var(--ink-soft); }

.about-image-wrap { height: 320px; overflow: hidden; }
.about-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.values-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}
.value-item h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-deep);
  font-size: 1.05rem;
}
.value-item p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }

@media (min-width: 900px) {
  .about-editorial { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .about-image-wrap { height: 480px; margin-top: 2.5rem; margin-right: -3.5rem; box-shadow: -24px 24px 0 var(--green-tint); }
  .values-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ==========================================================================
   FINAL CTA — full-bleed visual
   ========================================================================== */
.final-cta--visual {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,51,30,0.55), rgba(38,51,30,0.88));
  z-index: 1;
}
.final-cta-content { position: relative; z-index: 2; }
.final-cta-content h2 {
  color: var(--white);
  font-size: var(--size-xl);
  max-width: 720px;
  text-transform: uppercase;
}
.final-cta-content p {
  margin-top: 1.25rem;
  color: #C9D2C2;
  font-size: var(--size-md);
  max-width: 480px;
}
.final-cta-content .hero-ctas { margin-top: 2.25rem; }


/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.6rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--green-primary);
  transform: translate(-50%, -50%);
  transition: transform var(--ease) 0.25s;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease) 0.3s;
}
.faq-answer p {
  padding: 0 0 1.6rem;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ==========================================================================
   ARTICLE / CASE STUDY PAGES
   ========================================================================== */
.article-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 0;
  background: var(--stone);
}
.article-hero .wrap { max-width: 900px; }
.article-hero h1 {
  font-size: var(--size-xl);
  line-height: 1.08;
  margin-top: 0.75rem;
}
.article-hero .excerpt {
  margin-top: 1.25rem;
  font-size: var(--size-md);
  color: var(--ink-soft);
  max-width: 640px;
}
.article-hero-image {
  margin-top: 2.5rem;
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  object-fit: cover;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.4rem;
  margin-top: 2.75rem;
  margin-bottom: 0.5rem;
}
.article-body p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1.1rem;
}
.article-body p:first-of-type { margin-top: 0; }
.article-body em { color: var(--green-deep); font-style: italic; }
.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.case-block {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.case-block + .case-block { margin-top: 2.75rem; }
.case-block h2 {
  font-size: 1.3rem;
}
.case-block p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.related-insights {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.related-insights h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-primary);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.related-insights a {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-deep);
}
.related-insights a:hover { color: var(--green-primary); }

.article-cta {
  max-width: 720px;
  margin: 3.5rem auto 0;
  padding: 2.5rem;
  background: var(--green-tint-soft);
  text-align: center;
}
.article-cta p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.article-cta .btn { margin-top: 1.25rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--stone);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--ink-soft);
  max-width: 320px;
  font-size: 0.92rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col span {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--green-primary); }

.footer-newsletter {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
}
.footer-newsletter h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-deep);
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-radius: var(--radius);
}
.newsletter-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  min-height: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--green-primary); }
.footer-social { display: flex; gap: 1.1rem; }
.footer-social a { color: var(--ink-soft); font-size: 0.85rem; }
.footer-social a:hover { color: var(--green-primary); }

@media (min-width: 700px) {
  .footer-top { grid-template-columns: 1.1fr 1.4fr; }
}
@media (min-width: 960px) {
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  background: var(--stone);
}
.contact-hero h1 {
  font-size: var(--size-xl);
  text-transform: uppercase;
  max-width: 700px;
}
.contact-hero p {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: var(--size-md);
  max-width: 560px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-info {
  display: grid;
  gap: 2rem;
  align-content: start;
}
.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-primary);
  font-weight: 700;
}
.contact-info-item p, .contact-info-item a {
  margin-top: 0.5rem;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}

.contact-form {
  display: grid;
  gap: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: var(--radius);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-primary);
  outline: none;
}
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.form-success {
  display: none;
  border: 1px solid var(--green-primary);
  background: var(--green-tint-soft);
  padding: 2rem;
  gap: 0.5rem;
}
.form-success.is-visible { display: grid; }
.form-success h3 { font-size: 1.2rem; }
.form-success p { color: var(--ink-soft); }

@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 0.8fr 1.2fr; }
}
