/* ==========================================================================
   Evolve AI Institute, editorial layer (October 2026 rebuild)
   Used by index-oct.php and the service, case study, press, and planning kit
   pages that launched with it. Every class carries the ev- prefix so nothing
   here can collide with css/style.css or the pages that rely on it.

   Contrast notes (WCAG 2.2 AAA, 7:1 for body text):
     --ev-ink   #111827 on white 17.7:1, on paper 16.2:1
     --ev-muted #3D4451 on white 10.0:1, on paper 9.2:1
     --ev-gold-text #E2C26E on navy 9.6:1 (gold text only ever sits on navy)
     --ev-gold  #B8952A is decorative only (rules, borders, icons)
   ========================================================================== */

/* Metric-adjusted local fallback so the swap to the web serif barely moves
   text (keeps hero headlines from re-wrapping and shifting the layout). */
@font-face {
  font-family: "Source Serif Fallback";
  src: local("Georgia");
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 29%;
  line-gap-override: 0%;
}

/* Reserve icon-font glyph widths in the shared announcement bar and nav so
   their text does not re-wrap when Font Awesome arrives. */
.announcement-banner .fas, .announcement-banner .fa-solid,
.navbar .fas, .navbar .fa-solid { display: inline-block; width: 1.15em; text-align: center; }

:root {
  --ev-navy: #0B1F44;
  --ev-navy-2: #14305F;
  --ev-paper: #F7F5F0;
  --ev-paper-2: #EFEBE2;
  --ev-line: #E2DDD2;
  --ev-ink: #111827;
  --ev-muted: #3D4451;
  --ev-blue: #2050B0;
  --ev-gold: #B8952A;
  --ev-gold-text: #E2C26E;
  --ev-serif: "Source Serif 4", "Source Serif Fallback", Georgia, "Times New Roman", serif;
  --ev-radius: 14px;
  --ev-shadow: 0 1px 2px rgba(11, 31, 68, .06), 0 8px 24px rgba(11, 31, 68, .08);
  --ev-shadow-lg: 0 2px 4px rgba(11, 31, 68, .06), 0 18px 48px rgba(11, 31, 68, .14);
}

/* ---------- Type ---------- */
.ev-serif,
.ev h1, .ev h2, .ev .ev-h3 {
  font-family: var(--ev-serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ev-ink);
}
.ev h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.35rem); line-height: 1.08; }
.ev h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.15; }
.ev p, .ev li { color: var(--ev-ink); }
.ev .ev-muted { color: var(--ev-muted) !important; }
.ev .ev-lead { font-size: 1.2rem; line-height: 1.6; color: var(--ev-muted); }
.ev-measure { max-width: 46rem; }
.ev-center { margin-left: auto; margin-right: auto; text-align: center; }

.ev-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ev-blue);
  margin-bottom: .85rem;
}
.ev-section-dark .ev-eyebrow { color: var(--ev-gold-text); }

.ev-rule {
  width: 56px;
  height: 3px;
  background: var(--ev-gold);
  border: 0;
  opacity: 1;
  margin: 0 0 1.25rem;
}
.ev-center .ev-rule { margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
.ev section[id], .ev [id="press"] { scroll-margin-top: 104px; }
.ev-section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.ev-section-tight { padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0; }
.ev-section-paper { background: var(--ev-paper); }
.ev-section-dark {
  background: radial-gradient(1200px 500px at 85% -10%, #1D3E78 0%, rgba(29, 62, 120, 0) 60%), var(--ev-navy);
  color: #fff;
}
.ev-section-dark h2, .ev-section-dark h3, .ev-section-dark p, .ev-section-dark li { color: #fff; }
.ev-section-dark .ev-muted { color: rgba(255, 255, 255, .86) !important; }

/* ---------- Buttons ---------- */
.ev .btn { border-radius: 10px; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.ev .btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.ev .ev-btn-gold {
  background: var(--ev-gold-text);
  border: 2px solid var(--ev-gold-text);
  color: var(--ev-navy);
}
.ev .ev-btn-gold:hover, .ev .ev-btn-gold:focus-visible { background: #F0D68F; border-color: #F0D68F; color: var(--ev-navy); }
.ev .ev-btn-ghost-light { border: 2px solid rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.ev .ev-btn-ghost-light:hover, .ev .ev-btn-ghost-light:focus-visible { background: #fff; color: var(--ev-navy); }
.ev .ev-link-arrow { display: inline-flex; align-items: center; gap: .1rem; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.ev .ev-path-cta { display: inline-flex; align-items: center; min-height: 44px; }
.ev .ev-link-arrow i { transition: transform .2s; }
.ev .ev-link-arrow:hover i { transform: translateX(3px); }
.ev a:focus-visible, .ev button:focus-visible, .ev summary:focus-visible {
  outline: 3px solid var(--ev-gold);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.ev-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(32, 80, 176, .08) 0%, rgba(32, 80, 176, 0) 70%),
    linear-gradient(180deg, var(--ev-paper) 0%, #FFFFFF 100%);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  overflow: hidden;
}
.ev-credline {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ev-navy);
  margin-bottom: 1.25rem;
  padding: 0;
  list-style: none;
}
.ev-credline li { display: inline-flex; align-items: center; gap: .45rem; color: var(--ev-navy); }
.ev-credline i { color: var(--ev-gold); }
.ev-hero h1 .ev-accent {
  background: linear-gradient(transparent 68%, rgba(184, 149, 42, .32) 68%);
  padding: 0 .08em;
}
.ev-hero-sub { font-size: 1.2rem; line-height: 1.6; color: var(--ev-muted); max-width: 36rem; }
.ev-hero-note { font-size: .95rem; color: var(--ev-muted); }
.ev-hero-note a { font-weight: 600; }

/* Video facade: poster plus play button, iframe injected on click */
.ev-video {
  position: relative;
  border-radius: var(--ev-radius);
  overflow: hidden;
  box-shadow: var(--ev-shadow-lg);
  background: #000;
  aspect-ratio: 16 / 9;
}
.ev-video-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
}
.ev-video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s; }
.ev-video-btn:hover img, .ev-video-btn:focus-visible img { opacity: 1; transform: scale(1.02); }
.ev-video-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 68, 0) 45%, rgba(11, 31, 68, .85) 100%);
}
.ev-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--ev-navy);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .22);
  transition: transform .25s, box-shadow .25s;
}
.ev-video-btn:hover .ev-play, .ev-video-btn:focus-visible .ev-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 16px rgba(255, 255, 255, .2); }
.ev-play i { margin-left: 5px; }
.ev-video-meta {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  text-align: left;
  color: #fff;
}
.ev-video-meta strong { display: block; font-family: var(--ev-serif); font-size: 1.2rem; font-weight: 600; color: #fff; }
.ev-video-meta span { font-size: .85rem; color: rgba(255, 255, 255, .92); }
.ev-video-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  background: #E62B1E;
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: .3rem .6rem;
  border-radius: 4px;
}
.ev-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Trust bar ---------- */
.ev-trust { background: #fff; border-top: 1px solid var(--ev-line); border-bottom: 1px solid var(--ev-line); }
.ev-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.25rem;
}
.ev-trust-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ev-muted); }
.ev-trust-logo { height: 28px; width: auto; }
.ev-seal { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ev-ink); }
.ev-seal img { width: 58px; height: auto; }
.ev-seal span { font-size: .8rem; line-height: 1.3; font-weight: 600; max-width: 10.5rem; color: var(--ev-ink); }
.ev-seal:hover span { text-decoration: underline; }
.ev-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ev-line);
}
.ev-stat { text-align: center; }
.ev-stat .n { display: block; font-family: var(--ev-serif); font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 700; color: var(--ev-navy); line-height: 1.1; }
.ev-stat .l { font-size: .88rem; color: var(--ev-muted); }

/* ---------- Path chooser ---------- */
.ev-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.ev-path {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--ev-shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ev-path:hover, .ev-path:focus-within { transform: translateY(-4px); box-shadow: var(--ev-shadow-lg); border-color: var(--ev-gold); }
.ev-path-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ev-paper);
  color: var(--ev-blue);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.ev-path h3 { font-family: var(--ev-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: .4rem; }
.ev-path .who { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-muted); margin-bottom: .6rem; }
.ev-path p { font-size: .97rem; color: var(--ev-muted); }
.ev-path .ev-path-cta { margin-top: auto; font-weight: 700; color: var(--ev-blue); text-decoration: none; }
.ev-path .ev-path-cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--ev-radius); }
.ev-path .ev-path-cta:hover { text-decoration: underline; }

/* ---------- Packages ---------- */
.ev-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.ev-package {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius);
  box-shadow: var(--ev-shadow);
  overflow: hidden;
}
.ev-package-featured { border: 2px solid var(--ev-navy); box-shadow: var(--ev-shadow-lg); }
.ev-package-head { padding: 1.6rem 1.6rem 1.2rem; border-bottom: 1px solid var(--ev-line); }
.ev-package-featured .ev-package-head { background: var(--ev-navy); }
.ev-package-featured .ev-package-head h3,
.ev-package-featured .ev-package-head p { color: #fff; }
.ev-package-featured .ev-package-head .ev-package-tag { color: var(--ev-gold-text); }
.ev-package-tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-blue); }
.ev-package h3 { font-family: var(--ev-serif); font-size: 1.5rem; font-weight: 600; margin: .35rem 0 .5rem; }
.ev-package-head p { color: var(--ev-muted); margin: 0; font-size: .98rem; }
.ev-package-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ev-package-body h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-muted); margin: 0 0 .6rem; }
.ev-checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ev-checks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; font-size: .97rem; }
.ev-checks li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--ev-blue);
  font-size: .85rem;
}
.ev-section-dark .ev-checks li::before { color: var(--ev-gold-text); }
.ev-specs { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .92rem; margin: 0 0 1.4rem; padding: 1rem 0 0; border-top: 1px dashed var(--ev-line); }
.ev-specs dt { font-weight: 700; color: var(--ev-ink); }
.ev-specs dd { margin: 0; color: var(--ev-muted); }
.ev-package .btn { margin-top: auto; }

/* ---------- Process ---------- */
.ev-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: evstep; list-style: none; padding: 0; margin: 0; }
.ev-step { position: relative; padding-top: 3.4rem; }
.ev-step::before {
  counter-increment: evstep;
  content: counter(evstep, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--ev-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ev-gold);
}
.ev-step::after { content: ""; position: absolute; top: 1.15rem; left: 3.8rem; right: -1rem; height: 1px; background: var(--ev-line); }
.ev-step:last-child::after { display: none; }
.ev-step h3 { font-family: var(--ev-serif); font-size: 1.2rem; font-weight: 600; margin-bottom: .4rem; }
.ev-step p { font-size: .97rem; color: var(--ev-muted); margin: 0; }

/* ---------- Case study feature ---------- */
.ev-case-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ev-timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 2px solid rgba(226, 194, 110, .55); }
.ev-timeline li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.ev-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ev-gold-text);
  box-shadow: 0 0 0 4px var(--ev-navy);
}
.ev-timeline .when { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-timeline .what { display: block; font-weight: 600; color: #fff; }
.ev-timeline .detail { display: block; font-size: .93rem; color: rgba(255, 255, 255, .86); }
.ev-bigquote {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--ev-radius);
  padding: 2.2rem 2rem 1.8rem;
  margin: 0;
}
.ev-bigquote::before {
  content: "\201C";
  position: absolute;
  top: -.4rem;
  left: 1.2rem;
  font-family: var(--ev-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--ev-gold-text);
}
.ev-bigquote p { font-family: var(--ev-serif); font-style: italic; font-size: 1.45rem; line-height: 1.45; color: #fff; margin-bottom: 1rem; }
.ev-bigquote footer { font-size: .92rem; color: rgba(255, 255, 255, .86); }
.ev-casestats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.ev-casestats div { border-top: 2px solid var(--ev-gold-text); padding-top: .6rem; }
.ev-casestats .n { display: block; font-family: var(--ev-serif); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.ev-casestats .l { font-size: .85rem; color: rgba(255, 255, 255, .86); }

/* ---------- Voices ---------- */
.ev-voices { columns: 3 18rem; column-gap: 1.5rem; }
.ev-voice {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius);
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 0 0 1.5rem;
  box-shadow: var(--ev-shadow);
}
.ev-voice blockquote { margin: 0 0 1rem; font-family: var(--ev-serif); font-size: 1.12rem; line-height: 1.5; color: var(--ev-ink); }
.ev-voice figcaption { font-size: .88rem; color: var(--ev-muted); border-top: 1px solid var(--ev-line); padding-top: .75rem; }
.ev-voice figcaption strong { display: block; color: var(--ev-ink); }
.ev-voice-lg { background: var(--ev-navy); border-color: var(--ev-navy); }
.ev-voice-lg blockquote { color: #fff; font-size: 1.35rem; }
.ev-voice-lg figcaption { color: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .2); }
.ev-voice-lg figcaption strong { color: #fff; }
.ev-proofline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .3rem .7rem; }
.ev-proofline .n { font-family: var(--ev-serif); font-size: 3rem; font-weight: 700; color: var(--ev-navy); line-height: 1; }

/* ---------- Team ---------- */
.ev-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ev-person { background: #fff; border: 1px solid var(--ev-line); border-radius: var(--ev-radius); padding: 1.75rem; box-shadow: var(--ev-shadow); }
.ev-person img { border-radius: 50%; object-fit: cover; }
.ev-person h3 { font-family: var(--ev-serif); font-size: 1.45rem; font-weight: 600; margin: 0; }
.ev-person .role { color: var(--ev-blue); font-weight: 700; margin: .1rem 0 .5rem; }
.ev-creds { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.ev-creds li { font-size: .78rem; font-weight: 700; color: var(--ev-navy); background: var(--ev-paper); border: 1px solid var(--ev-line); border-radius: 999px; padding: .2rem .65rem; }
.ev-press-list { list-style: none; padding: 0; margin: 0; }
.ev-press-list li { padding: .55rem 0; border-bottom: 1px solid var(--ev-line); font-size: .95rem; }
.ev-press-list li:last-child { border-bottom: 0; }

/* White House feature */
.ev-feature { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border: 1px solid var(--ev-line); border-radius: var(--ev-radius); overflow: hidden; box-shadow: var(--ev-shadow); }
.ev-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.ev-feature-body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-self: center; }

/* ---------- FAQ ---------- */
.ev-faq { max-width: 52rem; margin: 0 auto; }
.ev-faq details { border-bottom: 1px solid var(--ev-line); }
.ev-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ev-ink);
  min-height: 48px;
}
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ev-blue);
  transition: transform .2s;
}
.ev-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ev-faq details > div { padding: 0 0 1.25rem; color: var(--ev-muted); }
.ev-faq details > div p { color: var(--ev-muted); }

/* ---------- Lead magnet band ---------- */
.ev-kit {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ev-line);
  border-left: 5px solid var(--ev-gold);
  border-radius: var(--ev-radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--ev-shadow);
}
.ev-kit-cover {
  width: 120px;
  aspect-ratio: 8.5 / 11;
  background: linear-gradient(160deg, var(--ev-navy) 0%, var(--ev-navy-2) 100%);
  border-radius: 6px;
  box-shadow: 6px 8px 0 var(--ev-paper-2), var(--ev-shadow);
  color: #fff;
  padding: .8rem .7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: .62rem;
  line-height: 1.25;
}
.ev-kit-cover strong { font-family: var(--ev-serif); font-size: .95rem; font-weight: 600; color: #fff; }
.ev-kit-cover span { color: var(--ev-gold-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.ev-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ev-form-card { background: #fff; border: 1px solid var(--ev-line); border-radius: var(--ev-radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--ev-shadow-lg); }
.ev-form-card .form-label { font-weight: 600; color: var(--ev-ink); }
.ev-form-card .form-control, .ev-form-card .form-select { min-height: 48px; border-color: #B9BEC7; }
.ev-form-card .form-control:focus, .ev-form-card .form-select:focus { border-color: var(--ev-blue); box-shadow: 0 0 0 .2rem rgba(32, 80, 176, .2); }
.ev-expect { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ev-expect li { display: flex; gap: .9rem; margin-bottom: 1.1rem; }
.ev-expect .num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ev-navy);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .9rem;
}
.ev-expect strong { display: block; }
.ev-expect span { color: var(--ev-muted); font-size: .95rem; }

/* ---------- Generic cards and helpers for inner pages ---------- */
.ev-card { background: #fff; border: 1px solid var(--ev-line); border-radius: var(--ev-radius); padding: 1.6rem; box-shadow: var(--ev-shadow); height: 100%; }
.ev-card h3 { font-family: var(--ev-serif); font-size: 1.3rem; font-weight: 600; }
.ev-pagehead { background: linear-gradient(180deg, var(--ev-paper) 0%, #fff 100%); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2rem, 1rem + 3vw, 3.5rem); border-bottom: 1px solid var(--ev-line); }
.ev-breadcrumb { font-size: .88rem; margin-bottom: 1rem; }
.ev-breadcrumb a { color: var(--ev-blue); }
.ev-agenda { list-style: none; padding: 0; margin: 0; }
.ev-agenda li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--ev-line); }
.ev-agenda li:last-child { border-bottom: 0; }
.ev-agenda .t { font-weight: 700; color: var(--ev-navy); font-size: .92rem; }
.ev-callout { background: var(--ev-paper); border-left: 4px solid var(--ev-gold); border-radius: 0 var(--ev-radius) var(--ev-radius) 0; padding: 1.25rem 1.5rem; }

/* Footer wordmark: the shared footer's blue "AI" is 2.1:1 on the dark footer.
   A lighter blue on pages using this stylesheet reaches 7:1. */
footer.footer a .text-primary { color: #9DBBF5 !important; }

/* ---------- Reveal on scroll (respects reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ev-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .ev-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ev *, .ev *::before, .ev *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ev-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .ev-packages, .ev-case-grid, .ev-contact-grid, .ev-feature { grid-template-columns: 1fr; }
  .ev-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-step::after { display: none; }
  .ev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-kit { grid-template-columns: auto 1fr; }
  .ev-kit > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .ev-team { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .ev-paths, .ev-steps { grid-template-columns: 1fr; }
  .ev-hero-sub, .ev .ev-lead { font-size: 1.06rem; }
  .ev-casestats { gap: .75rem; }
  .ev-casestats .n { font-size: 1.6rem; }
  .ev-casestats .l { font-size: .78rem; }
  .ev-bigquote { padding: 2rem 1.25rem 1.25rem; }
  .ev-bigquote p { font-size: 1.2rem; }
  .ev-kit { grid-template-columns: 1fr; }
  .ev-kit-cover { display: none; }
  .ev-play { width: 68px; height: 68px; font-size: 1.3rem; }
  .ev-agenda li { grid-template-columns: 1fr; gap: .2rem; }
  .ev-trust-row { gap: 1.25rem 1.75rem; }
}

/* ---------- Print (planning kit and capabilities pages) ---------- */
@media print {
  .navbar, footer.footer, #backToTop, .announcement-banner, .skip-link, .ev-noprint { display: none !important; }
  .ev-section, .ev-pagehead { padding: 1rem 0 !important; }
  .ev-card, .ev-package, .ev-form-card { box-shadow: none !important; }
  .ev-reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: ""; }
}
