:root {
  --ev-brand: #0095fd;
  --ev-brand-dark: #007dd7;
  --ev-navy: #0b1f3a;
  --ev-navy-2: #122a4d;
  --ev-slate: #1e2d45;
  --ev-text: #1a2332;
  --ev-muted: #5c6b82;
  --ev-bg: #f4f7fb;
  --ev-white: #ffffff;
  --ev-shadow: 0 12px 40px rgba(11, 31, 58, 0.12);
  --ev-radius: 12px;
  --ev-container: 1180px;
  --ev-header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ev-navy); }
body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--ev-text);
  background: var(--ev-bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ev-brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ev-brand-dark); }
.ev-container { width: min(var(--ev-container), 92vw); margin: 0 auto; }

/* Header — EmbeddedVector-style sticky dark bar */
.ev-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: var(--ev-header-h);
}
.ev-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--ev-header-h);
}
.ev-logo img { height: 66px; width: auto; } /* 1.5× original 44px — header & footer */
.ev-nav { display: flex; gap: 1.5rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.ev-nav a { color: #e8eef7; font-weight: 500; font-size: .95rem; }
.ev-nav a:hover { color: var(--ev-brand); }
.ev-nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero video section */
.ev-hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  padding-top: var(--ev-header-h); overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--ev-navy) 0%, #0a4d8c 55%, var(--ev-brand-dark) 100%);
}
.ev-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; pointer-events: none; border: 0;
}
.ev-hero-video.ev-loop-video-yt,
.ev-intro-mark.ev-loop-video-yt {
  object-fit: unset;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}
.ev-hero-content { position: relative; z-index: 2; padding: 4rem 0; max-width: 720px; }
.ev-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.ev-hero-lead { font-size: 1.1rem; opacity: .92; margin-bottom: 1.5rem; }
.ev-hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; font-size: .85rem; }
.ev-hero-tags span {
  background: rgba(255,255,255,.12); padding: .35rem .75rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
}
.ev-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.ev-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s;
}
.ev-btn-primary { background: var(--ev-brand); color: #fff; border-color: var(--ev-brand); }
.ev-btn-primary:hover { background: var(--ev-brand-dark); color: #fff; }
.ev-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.ev-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Stats band */
.ev-stats {
  background: var(--ev-white); padding: 1.75rem 0;
  box-shadow: var(--ev-shadow); position: relative; z-index: 3; margin-top: -3rem;
  border-radius: var(--ev-radius);
}
.ev-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; text-align: center;
  align-items: center;
}
.ev-stat-num { font-size: 2rem; font-weight: 700; color: var(--ev-brand); line-height: 1; }
.ev-stat-label { color: var(--ev-muted); font-size: .85rem; margin-top: .35rem; line-height: 1.3; }

/* Sections */
.ev-section { padding: 5rem 0; }
.ev-section-alt { background: var(--ev-white); }
.ev-section-dark { background: var(--ev-navy); color: #e8eef7; }
.ev-section-title {
  text-align: center; margin-bottom: 3rem;
}
.ev-section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem); margin: 0 0 .75rem; color: inherit;
}
.ev-section-title p { color: var(--ev-muted); max-width: 640px; margin: 0 auto; }
.ev-section-dark .ev-section-title p { color: #a8b8d0; }
.ev-kicker {
  display: inline-block; color: var(--ev-brand); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .5rem;
}

/* Service cards — EmbeddedVector grid */
.ev-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.ev-card {
  background: var(--ev-white); border-radius: var(--ev-radius); overflow: hidden;
  box-shadow: var(--ev-shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.ev-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(11,31,58,.16); }
.ev-card-body { padding: 1.75rem; flex: 1; }
.ev-card h3 { margin: 0 0 .75rem; font-size: 1.2rem; }
.ev-card p { color: var(--ev-muted); margin: 0 0 1rem; font-size: .95rem; }
.ev-card-link { font-weight: 600; color: var(--ev-brand); }

/* Intro split section — brand style (visual + text/CTA) */
.ev-intro-section { background: var(--ev-white); }
.ev-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.ev-intro-visual {
  --ev-intro-frame-w: 564px;
  --ev-intro-max-h: 442px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
/* Frame is sizing-only; video edges fade out so the car floats on the white section. */
.ev-intro-frame {
  width: min(100%, var(--ev-intro-frame-w));
  background: transparent;
}
.ev-intro-mark {
  --ev-intro-fade: 30%;
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--ev-intro-max-h);
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
  /* Even fade on all four sides — intersecting axes hide the video rectangle uniformly */
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, .08) calc(var(--ev-intro-fade) * 0.28),
      rgba(0, 0, 0, .32) calc(var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .68) calc(var(--ev-intro-fade) * 0.82),
      #000 var(--ev-intro-fade),
      #000 calc(100% - var(--ev-intro-fade)),
      rgba(0, 0, 0, .68) calc(100% - var(--ev-intro-fade) * 0.82),
      rgba(0, 0, 0, .32) calc(100% - var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .08) calc(100% - var(--ev-intro-fade) * 0.28),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, .08) calc(var(--ev-intro-fade) * 0.28),
      rgba(0, 0, 0, .32) calc(var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .68) calc(var(--ev-intro-fade) * 0.82),
      #000 var(--ev-intro-fade),
      #000 calc(100% - var(--ev-intro-fade)),
      rgba(0, 0, 0, .68) calc(100% - var(--ev-intro-fade) * 0.82),
      rgba(0, 0, 0, .32) calc(100% - var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .08) calc(100% - var(--ev-intro-fade) * 0.28),
      transparent 100%
    );
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, .08) calc(var(--ev-intro-fade) * 0.28),
      rgba(0, 0, 0, .32) calc(var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .68) calc(var(--ev-intro-fade) * 0.82),
      #000 var(--ev-intro-fade),
      #000 calc(100% - var(--ev-intro-fade)),
      rgba(0, 0, 0, .68) calc(100% - var(--ev-intro-fade) * 0.82),
      rgba(0, 0, 0, .32) calc(100% - var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .08) calc(100% - var(--ev-intro-fade) * 0.28),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, .08) calc(var(--ev-intro-fade) * 0.28),
      rgba(0, 0, 0, .32) calc(var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .68) calc(var(--ev-intro-fade) * 0.82),
      #000 var(--ev-intro-fade),
      #000 calc(100% - var(--ev-intro-fade)),
      rgba(0, 0, 0, .68) calc(100% - var(--ev-intro-fade) * 0.82),
      rgba(0, 0, 0, .32) calc(100% - var(--ev-intro-fade) * 0.55),
      rgba(0, 0, 0, .08) calc(100% - var(--ev-intro-fade) * 0.28),
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.ev-intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ev-navy); line-height: 1.2; margin: 0 0 1.25rem;
}
.ev-accent { color: var(--ev-brand); font-weight: 600; }
.ev-intro-text p { color: var(--ev-muted); margin: 0 0 1rem; }
.ev-intro-section .ev-hero-tags { margin: 1.25rem 0; }
.ev-intro-section .ev-hero-tags span {
  background: #eef3fb; border: 1px solid #d6e2f2; color: var(--ev-navy);
}
.ev-intro-section .ev-hero-cta { margin-top: 1.5rem; }
.ev-intro-section .ev-btn-round {
  border-radius: 999px;
  padding: 1rem 2.25rem;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 149, 253, .35);
}
.ev-intro-section .ev-btn-round:hover {
  box-shadow: 0 12px 32px rgba(0, 149, 253, .45);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .ev-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ev-intro-visual {
    order: -1;
    --ev-intro-frame-w: 463px;
    --ev-intro-max-h: 442px;
  }
}

/* Flip cards — brand style hover flip */
.ev-flip-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.ev-flip { perspective: 1400px; outline: none; }
.ev-flip-inner {
  position: relative; width: 100%; min-height: 300px;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  transform-style: preserve-3d;
}
.ev-flip:hover .ev-flip-inner,
.ev-flip:focus-within .ev-flip-inner { transform: rotateY(180deg); }
.ev-flip-front,
.ev-flip-back {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 2rem; border-radius: var(--ev-radius); box-shadow: var(--ev-shadow);
  -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden;
}
.ev-flip-front {
  align-items: center; text-align: center; color: #fff;
  background: linear-gradient(150deg, var(--ev-navy) 0%, #0a4d8c 58%, var(--ev-brand) 100%);
}
.ev-flip-front--photo {
  background: var(--ev-navy);
}
.ev-flip-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit; z-index: 0;
}
.ev-flip-front-overlay {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, rgba(13, 43, 78, .88) 0%, rgba(10, 77, 140, .78) 58%, rgba(0, 120, 215, .72) 100%);
}
.ev-flip-front-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 100%; text-align: center;
}
.ev-flip-front h3,
.ev-flip-front-content h3 { color: #fff; margin: 1rem 0 0; font-size: 1.2rem; }
.ev-flip-front--photo .ev-flip-front-content h3 { margin-top: 0; }
.ev-flip-front h3 a,
.ev-flip-front-content h3 a { color: inherit; text-decoration: none; }
.ev-flip-front h3 a:hover,
.ev-flip-front-content h3 a:hover { color: #7ec8ff; }
.ev-flip-service { cursor: pointer; }
.ev-flip-icon { display: inline-flex; color: #7ec8ff; }
.ev-flip-icon svg { width: 56px; height: 56px; }
.ev-flip-back {
  transform: rotateY(180deg); background: var(--ev-white); text-align: left; align-items: flex-start;
  border-top: 4px solid var(--ev-brand);
}
.ev-flip-back h3 { margin: 0 0 .75rem; font-size: 1.15rem; color: var(--ev-navy); }
.ev-flip-back p { color: var(--ev-muted); margin: 0 0 1rem; font-size: .95rem; }
.ev-flip-link { font-weight: 600; color: var(--ev-brand); }
@media (prefers-reduced-motion: reduce) {
  .ev-flip-inner { transition: transform .2s ease; }
}

/* Partners / toolchain badges */
.ev-partners {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  opacity: .85;
}
.ev-partner-badge {
  background: rgba(255,255,255,.08); padding: .75rem 1.25rem; border-radius: 8px;
  font-weight: 600; font-size: .85rem; color: #cbd5e8;
  border: 1px solid rgba(255,255,255,.12);
}
/* Toolchain gather-in — badges fly in from far outside the layout */
.ev-partners-gather {
  overflow: visible;
}
.ev-partners-gather .ev-partner-badge {
  --gather-x: 0px;
  --gather-y: 0px;
  --gather-delay: 0s;
  opacity: 0;
  transform: translate(var(--gather-x), var(--gather-y)) scale(.28);
  transition:
    transform 1.45s cubic-bezier(.12, .9, .2, 1),
    opacity .7s ease,
    border-color .4s ease,
    box-shadow .4s ease;
  transition-delay: var(--gather-delay);
  will-change: transform, opacity;
}
.ev-partners-gather.is-gathered .ev-partner-badge {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.ev-partners-gather.is-gathered .ev-partner-badge:hover {
  border-color: rgba(0, 149, 253, .45);
  box-shadow: 0 0 20px rgba(0, 149, 253, .2);
}
@media (prefers-reduced-motion: reduce) {
  .ev-partners-gather .ev-partner-badge {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ROI metrics */
.ev-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.ev-metric strong,
.ev-metric-num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--ev-brand); line-height: 1; }
.ev-metric span { color: var(--ev-muted); font-size: .9rem; }
.ev-section-dark .ev-metric span { color: #a8b8d0; }

/* Lab archive + single project */
.ev-lab-archive-intro {
  margin-top: -1.5rem;
  padding-bottom: 2rem;
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.ev-lab-archive-intro p {
  color: var(--ev-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.ev-lab-project .ev-lab-tagline {
  font-size: 1.1rem;
  color: var(--ev-navy);
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--ev-brand);
}
.ev-lab-project .ev-lab-tagline strong { color: var(--ev-brand); font-weight: 600; }
.ev-lab-project h2 {
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
  color: var(--ev-navy);
}
.ev-lab-project h3 {
  margin: 1.5rem 0 .75rem;
  font-size: 1.1rem;
  color: var(--ev-navy);
}
.ev-lab-project ul { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.ev-lab-project li { margin-bottom: .45rem; }
.ev-lab-single .ev-lab-single-video { margin-bottom: 2rem; }
.ev-lab-single-thumb { margin: 0 0 2rem; border-radius: var(--ev-radius); overflow: hidden; }
.ev-lab-back,
.ev-single-back { margin-top: 2.5rem; }
.ev-lab-back a,
.ev-single-back a { font-weight: 600; color: var(--ev-brand); }

/* Tools archive + single */
.ev-tool-project .ev-tool-tagline {
  font-size: 1.1rem;
  color: var(--ev-navy);
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--ev-brand);
}
.ev-tool-project .ev-tool-tagline strong { color: var(--ev-brand); font-weight: 600; }
.ev-tool-project h2 {
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
  color: var(--ev-navy);
}
.ev-tool-project ul { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.ev-tool-project li { margin-bottom: .45rem; }
.ev-tool-version-line { color: #a8b8d0; margin: .5rem 0 0; font-size: .95rem; }
.ev-tool-single-thumb { margin: 0 0 2rem; border-radius: var(--ev-radius); overflow: hidden; }

/* Archive grids */
.ev-archive-hero {
  padding: calc(0.5rem + var(--ev-header-h)) 0 2.5rem;
  background: linear-gradient(135deg, var(--ev-navy), var(--ev-navy-2));
  color: #fff;
}
.ev-archive-hero .ev-kicker {
  display: inline-block; margin-bottom: .75rem; text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem; font-weight: 600;
}
.ev-archive-hero h1 {
  margin: 0 0 1rem; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.2; font-weight: 700;
}
.ev-archive-hero .ev-page-hero-lead {
  max-width: 760px; margin: 0; font-size: 1.05rem; line-height: 1.65; opacity: .92; color: #d4e2f4;
}
.ev-grid-3 {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}

/* Single tool / lab */
.ev-single-hero { padding: calc(3rem + var(--ev-header-h)) 0 3rem; background: var(--ev-white); }
.ev-single-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; padding: 3rem 0 5rem; }
.ev-sidebar-box {
  background: var(--ev-white); padding: 1.5rem; border-radius: var(--ev-radius);
  box-shadow: var(--ev-shadow); position: sticky; top: calc(var(--ev-header-h) + 1rem);
}
.ev-media-embed { aspect-ratio: 16/9; border-radius: var(--ev-radius); overflow: hidden; margin: 2rem 0; }
.ev-media-embed iframe { width: 100%; height: 100%; border: 0; }

/* Lab grid — poster + play button (only first card autoplays) */
.ev-lab-grid .ev-lab-video { margin: 0; }
.ev-lab-grid .ev-media-embed { margin: 0; border-radius: var(--ev-radius) var(--ev-radius) 0 0; }
.ev-lab-video-poster {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 16 / 9; cursor: pointer; overflow: hidden;
  border-radius: var(--ev-radius) var(--ev-radius) 0 0;
  background: var(--ev-navy);
}
.ev-lab-video-poster img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease, filter .35s ease;
}
.ev-lab-video-poster:hover img { transform: scale(1.04); filter: brightness(0.88); }
.ev-lab-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ev-lab-play::after {
  content: ""; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0, 149, 253, .92);
  box-shadow: 0 8px 28px rgba(0, 149, 253, .45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 54% center; background-size: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ev-lab-video-poster:hover .ev-lab-play::after {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(0, 149, 253, .55);
}

/* Forms */
.ev-form label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .9rem; }
.ev-form input, .ev-form textarea, .ev-form select {
  width: 100%; padding: .75rem 1rem; border: 1px solid #d0d8e4;
  border-radius: 8px; font-family: inherit; margin-bottom: 1rem;
}
.ev-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ev-full { grid-column: 1 / -1; }
.ev-notice { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; }
.ev-notice-success { background: #e6f7ed; color: #0d5c2e; }
.ev-notice-error { background: #fde8e8; color: #8b1a1a; }

/* Footer */
.ev-footer {
  background: var(--ev-navy); color: #a8b8d0; padding: 3rem 0 1.5rem;
}
.ev-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.ev-footer h4 { color: #fff; margin: 0 0 1rem; }
.ev-footer a { color: #a8b8d0; }
.ev-footer a:hover { color: var(--ev-brand); }
.ev-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  text-align: center; font-size: .85rem;
}

/* Content prose */
.ev-prose h2, .ev-prose h3 { color: var(--ev-navy); margin-top: 2rem; }
.ev-prose ul { padding-left: 1.25rem; }
.ev-prose li { margin-bottom: .5rem; }

/* Services page */
.ev-services .ev-services-core-title {
  margin: 0 0 2rem; font-size: 1.75rem; color: var(--ev-navy); text-align: center;
}
.ev-services .ev-service-block { margin-bottom: 2.5rem; }
.ev-services .ev-service-block[id] {
  scroll-margin-top: calc(var(--ev-header-h, 72px) + 1.25rem);
}
.ev-services .ev-service-block h2 {
  margin: 0 0 .5rem; font-size: 1.65rem; color: var(--ev-navy);
  border-left: 4px solid var(--ev-brand); padding-left: 1rem;
}
.ev-services .ev-service-tagline {
  margin: 0 0 1rem; font-size: 1.05rem; color: var(--ev-brand-dark);
}
.ev-services .ev-service-tagline strong { color: var(--ev-brand); font-weight: 600; }
.ev-services h3 {
  margin: 1.5rem 0 .75rem; font-size: 1.1rem; color: var(--ev-navy);
  text-transform: uppercase; letter-spacing: .04em;
}
.ev-services ul { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.ev-services li { margin-bottom: .45rem; color: var(--ev-text); }
.ev-service-divider {
  border: 0; border-top: 1px solid #d6e2f2; margin: 2.5rem 0;
}
.ev-services .ev-service-block--alt {
  background: var(--ev-bg); padding: 1.75rem; border-radius: var(--ev-radius);
}
.ev-services .ev-service-closing {
  background: linear-gradient(135deg, var(--ev-navy) 0%, var(--ev-navy-2) 100%);
  color: #e8eef7; padding: 2rem; border-radius: var(--ev-radius);
}
.ev-services .ev-service-closing h2 { color: #fff; border-left-color: var(--ev-brand); }
.ev-services .ev-service-closing p { color: #d4e2f4; margin: 0 0 1rem; }
.ev-services .ev-service-closing p:last-child { margin-bottom: 0; }

/* ─── Page enter / exit transitions (content only — header stays fixed) ─── */
@keyframes ev-page-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}
@keyframes ev-page-out {
  to   { opacity: 0; transform: translateY(-6px); }
}
.ev-page {
  display: flow-root;
  animation: ev-page-in 0.40s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ev-page.ev-page-exit {
  animation: ev-page-out 0.28s ease forwards;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .ev-page, .ev-page.ev-page-exit { animation: none !important; }
}

/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */
/* Initial hidden state — JS adds .ev-reveal, IntersectionObserver adds .ev-in */
.ev-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.ev-reveal.ev-in {
  opacity: 1;
  transform: translateY(0);
}
/* Cards in grids get a slight scale-in for extra depth */
.ev-flip.ev-reveal,
.ev-card.ev-reveal {
  transform: translateY(32px) scale(0.97);
}
.ev-flip.ev-reveal.ev-in,
.ev-card.ev-reveal.ev-in {
  transform: translateY(0) scale(1);
}
/* Section-title block and archive/single heroes */
.ev-section-title.ev-reveal,
.ev-archive-hero .ev-reveal,
.ev-single-hero .ev-reveal {
  transform: translateY(20px);
}
@media (prefers-reduced-motion: reduce) {
  .ev-reveal,
  .ev-flip.ev-reveal,
  .ev-card.ev-reveal,
  .ev-section-title.ev-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .ev-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-single-layout { grid-template-columns: 1fr; }
  .ev-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ev-nav { display: none; position: absolute; top: var(--ev-header-h); left: 0; right: 0;
    flex-direction: column; background: var(--ev-navy); padding: 1.5rem; gap: 1rem; }
  .ev-nav.is-open { display: flex; }
  .ev-nav-toggle { display: block; }
  .ev-stats { margin-top: -1.5rem; }
  .ev-stats-grid, .ev-metrics { grid-template-columns: 1fr; }
  .ev-form-grid { grid-template-columns: 1fr; }
  .ev-hero-cta { flex-direction: column; }
  .ev-hero-cta .ev-btn { width: 100%; }
}
@media (max-width: 480px) {
  .ev-section { padding: 3rem 0; }
}
