@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');
:root {
  --black: #000000;
  --navy: #1B2A4A;
  --headline-font: 'Lato', sans-serif;
  --navy-deep: #121d33;
  --pink: #C0175A;
  --soft-blue: #1D7787;
  --soft-blue-bright: #74CCD2;
  --gold: #F5B018;
  --white: #FFFFFF;
  --off-white: #F5F6F8;
  --body-gray: #555555;
  --line: rgba(27,42,74,0.14);
  --dark-card: #1C1C1E;
  --near-black: #222324;
  --text-gray: #9A9A9A;
  --max: 1360px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body-gray);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }

.eyebrow {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 999px;
  margin: 0 0 28px;
}
.eyebrow-dark { background: var(--soft-blue); }

.btn {
  display: inline-block;
  padding: 17px 36px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1.05rem;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: var(--white); color: var(--navy); opacity: 1; }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(27,42,74,0.4);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); opacity: 1; }

/* brand-mark watermark behind the footer CTA panel — matches the .navy-texture treatment used on other navy panels site-wide */
.video-bg-animated {
  position: absolute;
  inset: 0;
  background-image: url('assets/envision-mark.png');
  background-size: 460px 460px;
  background-repeat: no-repeat;
  background-position: -30% 50%;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* shared dot-grid texture for navy panels */
.navy-texture { position: relative; }
.navy-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/envision-mark.png');
  background-size: 460px 460px;
  background-repeat: no-repeat;
  background-position: 105% 50%;
  filter: brightness(0) invert(1);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}
.logo { position: relative; display: inline-flex; }
.logo img {
  height: 72px;
  width: auto;
}
/* On every page but the homepage this is the only logo shown (see the
   body.home override below, which swaps in .logo-video while un-scrolled). */
.logo-video { display: none; }
.logo-light { display: block; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
}
.main-nav a.nav-pill.active {
  background: var(--navy);
  color: var(--white);
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}
.main-nav.open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(27,42,74,0.1);
}
.main-nav.open a { font-size: 1.15rem; padding: 15px 22px; }

/* Homepage-only: header floats transparently over the video hero (white nav
   text + the white-wordmark logo, for contrast against the video), then once
   you scroll past it (.scrolled, toggled in app.js) it drops back to the
   same light header + navy-wordmark logo every other page always shows. */
body.home .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}
body.home .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
body.home .site-header:not(.scrolled) .main-nav a { color: var(--white); }
body.home .site-header:not(.scrolled) .main-nav a.nav-pill.active {
  background: rgba(255,255,255,0.95);
  color: var(--navy);
}
body.home .site-header:not(.scrolled) .mobile-menu-btn span { background: var(--white); }
body.home .site-header:not(.scrolled) .logo-video { display: block; }
body.home .site-header:not(.scrolled) .logo-light { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,15,29,0.78) 0%, rgba(9,15,29,0.5) 45%, rgba(9,15,29,0.82) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 44px 20px;
  width: 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  padding: 16px 0 24px;
  pointer-events: none;
}
.hero-copy { pointer-events: auto; }
.hero-copy { padding-top: 8px; max-width: 800px; }
.hero .eyebrow {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  backdrop-filter: blur(3px);
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--headline-font);
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-top: 20px;
}
.outline-text {
  color: var(--soft-blue);
  -webkit-text-stroke: 0;
  font-style: italic;
  font-weight: 500;
}
/* The homepage hero sits on a dark video, not a light body — the deepened
   --soft-blue reads well on white/off-white panels (see base rule above)
   but is too dark to read over the video. Use the brighter, unmodified
   logo-teal for this one instance so "right partnerships" stays legible. */
.hero .outline-text { color: var(--soft-blue-bright); }
.hero-cta-row { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
@keyframes proofDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 1100px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-inner { order: 1; padding-top: 96px; padding-bottom: 40px; }
  .hero-grid { padding-top: 12px; padding-bottom: 24px; }
  .hero-copy { padding-top: 0; }
  /* Homepage hero only: let "Growth moves faster" and "through the" flow
     together as regular wrapping text on smaller screens instead of each
     forcing its own line (desktop keeps them as two separate short lines
     via the .type-line block default — see base rule). The accent line
     ("right partnerships") stays on its own line so it still reads as a
     distinct callout. */
  .hero h1 .type-line:nth-of-type(1),
  .hero h1 .type-line:nth-of-type(2) {
    display: inline;
  }
}
.type-line { display: block; overflow: visible; margin-bottom: -0.42em; }
/* Don't let the last headline line's negative margin eat the gap above the lede. */
.hero h1 .type-line:last-of-type { margin-bottom: 0; }
.type-inner {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
  max-width: 0;
  line-height: 1.32;
  padding-bottom: 0.08em;
  animation: typewriter-reveal 0.8s steps(12, end) forwards;
}
.type-inner.line1 { animation-delay: 0.2s; }
.type-inner.line2 { animation-delay: 1.0s; }
.type-inner.line3 { animation-delay: 1.8s; }
.type-inner.line4 { animation-delay: 2.4s; }
@keyframes typewriter-reveal {
  to { max-width: 100vw; }
}

/* Scroll-triggered heading word reveal (mirrors real site's thegem-heading animation) */
.anim-heading-word { display: inline-block; opacity: 0; }
.anim-heading.slide-right .anim-heading-word { transform: translateX(70px); }
.anim-heading.slide-up .anim-heading-word { transform: translateY(70px); }
.anim-heading.in-view .anim-heading-word {
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
.anim-heading.slide-right.in-view .anim-heading-word { animation-name: anim-heading-slide-right; }
.anim-heading.slide-up.in-view .anim-heading-word { animation-name: anim-heading-slide-up; }
.anim-heading .anim-heading-word:nth-child(1) { animation-delay: 0.05s; }
.anim-heading .anim-heading-word:nth-child(2) { animation-delay: 0.23s; }
.anim-heading .anim-heading-word:nth-child(3) { animation-delay: 0.41s; }
@keyframes anim-heading-slide-right {
  from { opacity: 0; transform: translateX(70px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes anim-heading-slide-up {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-lede {
  max-width: 620px;
  margin: 36px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.stat-number { font-family: 'Inter', sans-serif; font-size: 4.4rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }


.hero-arrow-btn {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(27,42,74,0.15);
  border: 1px solid rgba(27,42,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s ease;
}
.hero-arrow-btn img { width: 100%; height: 100%; }
.hero-arrow-btn:hover { transform: scale(1.08); }
@media (max-width: 900px) { .hero-arrow-btn { position: static; margin: 14px auto; } }

.hero-proof-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  margin-top: 28px;
  box-shadow: 0 10px 24px rgba(27,42,74,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-proof-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(27,42,74,0.28); }
.hero-proof-cta-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft-blue);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- SERVICES INTRO ---------- */
.services-intro {
  max-width: var(--max);
  margin: 110px auto 0;
  padding: 0 44px 70px;
}
.services-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.services-layout > * { min-width: 0; }
.services-intro-left { margin-top: 36px; }
.services-intro-copy {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 420px;
}
.services-intro-sub {
  font-size: 1.1rem;
  color: var(--body-gray);
  line-height: 1.65;
  max-width: 400px;
  margin-top: 22px;
}
.services-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 400px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.services-intro-stat .stat-number { font-size: 2.3rem; color: var(--navy); margin-bottom: 6px; }
.services-intro-stat p { font-size: 0.92rem; color: var(--body-gray); line-height: 1.4; }
.chamfer-outline {
  border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 30px;
}
.services-box-wrap { position: relative; margin-top: -72px; }
.services-box.chamfer-outline { border-radius: 30px 30px 30px 30px; border-right: none; border-bottom: none; }
.services-box {
  position: relative;
  padding: 56px 64px 110px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  overflow: visible;
  background: var(--navy);
  color: var(--white);
}
.service-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-row.in-view { opacity: 1; transform: translateY(0); }
.service-row > * { min-width: 0; }
.row-text { flex: 1; }

/* ---------- GENERIC SCROLL-REVEAL (homepage modules) ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25,1,0.5,1);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,1,0.5,1);
}
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,1,0.5,1);
}
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 900px) {
  .reveal-left, .reveal-right { transform: translateY(20px); }
}

.row-arrow {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-arrow span { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.row-label {
  display: block;
  color: var(--soft-blue);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.row-text p { font-size: 1.3rem; font-weight: 500; line-height: 1.4; color: var(--white); }
.services-cta-float { position: absolute; right: 40px; bottom: 26px; z-index: 2; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  max-width: var(--max);
  margin: 70px auto 0;
  padding: 0 44px;
}
.testimonial-mega-card {
  background: var(--navy);
  border-radius: 28px;
  overflow: hidden;
}
.testimonial-top {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  padding: 20px;
}
.testimonial-left { display: flex; flex-direction: column; gap: 22px; padding: 44px 40px; justify-content: center; }
.quote-mark { width: 44px; height: 34px; }
.testimonial-left h2 { font-size: 2.4rem; font-weight: 600; color: var(--white); letter-spacing: -0.01em; line-height: 1.2; }
.testimonial-right {
  position: relative;
  background: #F4F6FA;
  border-radius: 22px;
  padding: 44px 48px 64px;
}
.quote-text {
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px !important;
  min-height: 6em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.quote-text.fade-out, .quote-author.fade-out { opacity: 0; transform: translateY(8px); }
.quote-author { display: flex; flex-direction: column; gap: 4px; transition: opacity 0.35s ease, transform 0.35s ease; }
.author-name { color: var(--soft-blue); font-weight: 600; font-size: 1.05rem; }
.author-company { color: var(--body-gray); font-size: 0.95rem; }
.testimonial-nav { position: absolute; bottom: 24px; right: 24px; display: flex; gap: 12px; }
.testimonial-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(27,42,74,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.testimonial-nav button:hover { background: #eceef3; }


/* ---------- MISSION / ABOUT / HISTORY ---------- */
.mission-about {
  max-width: var(--max);
  margin: 110px auto 0;
  padding: 0 44px 70px;
}
.cards-row-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 1fr;
  gap: 28px;
}
.cards-row-v2 > * { min-width: 0; }
.card-pink { grid-column: 1; grid-row: 1 / 3; }
.about-us-heading { grid-column: 2 / 4; grid-row: 1; align-self: start; padding: 14px 8px 0; }
.about-us-heading h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; line-height: 1.15; }
.about-us-heading p { font-size: 1.05rem; color: var(--body-gray); line-height: 1.6; margin-top: 16px; max-width: 480px; }
.card-blue { grid-column: 2; grid-row: 2; }
.card-gold { grid-column: 3; grid-row: 2; }
.card-teal { grid-column: 4; grid-row: 1 / 3; }

.mission-card-v2 {
  border-radius: 30px;
  padding: 46px 38px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mission-card-v2:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.mission-card-v2 h3 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; }
.mission-card-v2 p { font-size: 1.1rem; font-weight: 400; line-height: 1.55; }
.card-pink { background: var(--soft-blue); }
.card-pink h3, .card-pink p { color: var(--white); }
.card-blue { background: var(--navy); }
.card-blue h3, .card-blue p { color: var(--white); }
.card-gold { background: var(--off-white); border: 1.5px solid var(--line); }
.card-gold h3, .card-gold p { color: var(--navy); }
.card-teal { background: var(--white); border: 1.5px solid var(--line); color: var(--navy); }
.card-teal p { color: var(--body-gray); }
.card-btn { align-self: flex-start; margin-top: auto; }
.card-arrow-btn {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.card-arrow-btn:hover { background: rgba(255,255,255,0.35); transform: translateX(4px); }
.card-arrow-btn-dark { background: rgba(27,42,74,0.08); }
.card-arrow-btn-dark:hover { background: rgba(27,42,74,0.16); }

/* ---------- IMPACT / SERVICES GRID ---------- */
.impact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 44px;
}
.impact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.impact-intro-card {
  padding: 46px 40px;
  min-height: 360px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.impact-intro-card h3 { font-size: 2rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }
.impact-intro-card p { color: rgba(255,255,255,0.78); font-size: 1.1rem; font-weight: 400; line-height: 1.55; }
.impact-intro-card.impact-card-light {
  background: var(--white);
  border-color: var(--line);
}
.impact-intro-card.impact-card-light h3 { color: var(--navy); }
.impact-intro-card.impact-card-light p { color: var(--body-gray); }

/* ---------- PARTNER LOGO MARQUEE ---------- */
.logo-marquee-section {
  background: var(--navy);
  padding: 44px 0;
  overflow: hidden;
  position: relative;
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 150s linear infinite;
}
.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex-shrink: 0;
}
.logo-chip {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}
.logo-marquee-group img {
  height: 46px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.impact-box {
  display: flex;
  flex-direction: column;
  padding: 50px 58px;
  gap: 44px;
  background: var(--navy);
  color: var(--white);
}
.impact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.impact-row:last-child { border-bottom: none; padding-bottom: 0; }
.impact-row.in-view { opacity: 1; transform: translateY(0); }
.impact-mark { display: none; }
.impact-row h4 { color: var(--gold); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.impact-row p { color: rgba(255,255,255,0.82); font-size: 1.1rem; font-weight: 400; line-height: 1.55; max-width: 640px; }

/* ---------- CASE STUDIES ---------- */
.case-studies {
  max-width: var(--max);
  margin: 50px auto 0;
  padding: 70px 44px;
}
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}
.case-studies h2, .blog-heading { font-size: 2.6rem; font-weight: 700; }
.outline-heading {
  font-family: var(--headline-font);
  font-size: clamp(3.2rem, 6.5vw, 5.5rem) !important;
  font-weight: 500;
  font-style: italic;
  color: var(--soft-blue);
  -webkit-text-stroke: 0;
}
.clear-filters {
  color: var(--body-gray);
  font-size: 1rem;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
}
.proof-stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  margin-bottom: 48px;
  overflow: hidden;
}
.proof-stat {
  padding: 40px 36px;
  border-left: 1px solid var(--line);
}
.proof-stat:first-child { border-left: none; }
.proof-stat .stat-number { color: var(--navy); font-size: 2.8rem; margin-bottom: 10px; }
.proof-stat p { color: var(--body-gray); font-size: 1rem; line-height: 1.5; }
.proof-stat p b { color: var(--navy); font-weight: 600; }
.case-card-stat {
  display: inline-block;
  color: var(--soft-blue);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  margin: 18px 8px 0;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 68px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-card > img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; position: relative; z-index: 2; }
.case-card h3 { font-size: 1.4rem; font-weight: 600; color: var(--navy); padding: 22px 8px 0; position: relative; z-index: 2; letter-spacing: -0.005em; }
.case-card p { color: var(--body-gray); font-size: 1.05rem; font-weight: 400; padding: 14px 8px 0; line-height: 1.55; position: relative; z-index: 2; }
.round-link { position: absolute; bottom: 22px; right: 22px; z-index: 3; border-radius: 50%; box-shadow: 0 6px 16px rgba(27,42,74,0.18); }
.round-link img { width: 50px; height: 50px; }

/* ---------- ABOUT ---------- */
.about-panel {
  max-width: var(--max);
  margin: 50px auto 0;
  padding: 0 44px;
}
.about-panel-inner {
  background: var(--off-white);
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-panel-inner.navy-texture::before { border-radius: 28px; }
.about-panel-inner.light-panel-texture::before { border-radius: 28px; }
.about-panel-inner > * { position: relative; z-index: 1; }
.pull-quote.navy-texture { overflow: hidden; }
.pull-quote.navy-texture::before { border-radius: 28px; }
.pull-quote.navy-texture > * { position: relative; z-index: 1; }
.about-panel-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.about-panel-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; display: block; }
.about-panel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0.05), rgba(27,42,74,0.22));
}
.about-panel-copy { padding: 32px 32px 32px 0; }
.about-panel h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; line-height: 1.2; }
.about-panel p { font-size: 1.15rem; font-weight: 400; color: var(--body-gray); line-height: 1.6; }
.about-panel p + p { margin-top: 18px; }

/* light variant of the brand-mark watermark, for light panels sitting near a navy footer */
.light-panel-texture { position: relative; }
.light-panel-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/envision-mark.png');
  background-size: 460px 460px;
  background-repeat: no-repeat;
  background-position: 118% 50%;
  filter: brightness(0);
  opacity: 0.05;
  pointer-events: none;
}

/* ---------- PARTNER NETWORK SHOWCASE ---------- */
.network-showcase {
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 0 44px;
}
.network-showcase-inner {
  background: var(--navy);
  border-radius: 30px;
  padding: 64px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.network-showcase-copy .eyebrow { background: rgba(255,255,255,0.1); color: #fff; }
.network-showcase-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 16px 0 18px;
}
.network-showcase-copy p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.6; max-width: 420px; }
.network-graphic {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.network-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.network-svg-lines .vline,
.network-svg-lines .pair-link {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.network-graphic.in-view .network-svg-lines .vline,
.network-graphic.in-view .network-svg-lines .pair-link {
  animation: proofDraw 0.9s ease forwards;
  opacity: 0.9;
}
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(1) { animation-delay: 0.3s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(2) { animation-delay: 0.36s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(3) { animation-delay: 0.42s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(4) { animation-delay: 0.48s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(5) { animation-delay: 0.54s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(6) { animation-delay: 0.6s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(7) { animation-delay: 0.66s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(8) { animation-delay: 0.72s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(9) { animation-delay: 0.78s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(10) { animation-delay: 0.84s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(11) { animation-delay: 0.9s; }
.network-graphic.in-view .network-svg-lines .vline:nth-of-type(12) { animation-delay: 0.96s; }
.network-node {
  position: absolute;
  width: 18.6%;
  height: 18.6%;
  transform: translate(-50%, -50%) scale(0.5);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.9%;
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
  opacity: 0;
  z-index: 1;
}
.network-node img { max-width: 100%; max-height: 100%; object-fit: contain; }
.network-node.node-sm { width: 82px; height: 82px; padding: 13px; }
.network-node.node-lg { width: 128px; height: 128px; padding: 20px; }
.network-graphic.in-view .network-node {
  animation: networkNodeIn 0.55s cubic-bezier(0.25,1,0.5,1) forwards;
}
.network-graphic.in-view .network-node:nth-of-type(2) { animation-delay: 0.1s; }
.network-graphic.in-view .network-node:nth-of-type(3) { animation-delay: 0.2s; }
.network-graphic.in-view .network-node:nth-of-type(4) { animation-delay: 0.3s; }
.network-graphic.in-view .network-node:nth-of-type(5) { animation-delay: 0.4s; }
.network-graphic.in-view .network-node:nth-of-type(6) { animation-delay: 0.5s; }
.network-graphic.in-view .network-node:nth-of-type(7) { animation-delay: 0.6s; }
.network-graphic.in-view .network-node:nth-of-type(8) { animation-delay: 0.7s; }
.network-graphic.in-view .network-node:nth-of-type(9) { animation-delay: 0.8s; }
.network-graphic.in-view .network-node:nth-of-type(10) { animation-delay: 0.9s; }
.network-graphic.in-view .network-node:nth-of-type(11) { animation-delay: 1s; }
.network-graphic.in-view .network-node:nth-of-type(12) { animation-delay: 1.1s; }
.network-graphic.in-view .network-node:nth-of-type(13) { animation-delay: 1.2s; }
.network-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28.3%;
  height: 28.3%;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.8%;
  box-shadow: 0 16px 38px rgba(0,0,0,0.35);
  opacity: 0;
  z-index: 2;
  pointer-events: auto;
}
.network-hub img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s cubic-bezier(0.25,1,0.5,1); }
.network-hub:hover img { transform: rotate(360deg); }
.network-graphic.in-view .network-hub {
  animation: networkNodeIn 0.6s cubic-bezier(0.25,1,0.5,1) forwards;
}
@keyframes networkNodeIn {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .network-graphic .network-svg-lines .vline,
  .network-graphic .network-svg-lines .pair-link { animation: none; stroke-dashoffset: 0; opacity: 0.9; }
  .network-node, .network-hub { animation: none; opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ---------- FOOTER CTA ---------- */
.footer-cta-wrap {
  max-width: var(--max);
  margin: 70px auto;
  padding: 0 44px;
}
.footer-cta-panel-wrap {
  background: transparent;
  padding: 0;
}
.footer-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1.5px solid rgba(255,255,255,0.16);
  border-right: none;
  border-bottom: none;
  padding: 64px 56px;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.footer-cta-copy { position: relative; z-index: 2; }
.footer-cta-border {
  display: none;
}
.footer-cta h2 {
  position: relative;
  z-index: 2;
  font-family: var(--headline-font);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  max-width: 760px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.footer-cta p {
  position: relative;
  z-index: 2;
  max-width: 560px;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  margin-top: 20px;
}
.cta-talk { position: relative; z-index: 2; }
.cta-bottom-row { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.social-icons { position: relative; z-index: 2; display: flex; gap: 16px; margin-top: 0; }
.social-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-cta-booking {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  gap: 14px;
}
.footer-cta-booking h3, .contact-booking h2 {
  font-family: var(--headline-font);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
.footer-cta-booking p { margin-top: 0; font-size: 1.05rem; line-height: 1.6; }
.footer-cta-booking .btn, .contact-booking .btn { justify-self: start; }
.booking-note { color: rgba(255,255,255,0.78); font-size: 0.9rem; }

/* ---------- SUBPAGE HERO ---------- */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 44px 20px;
}
.page-hero h1 {
  font-family: var(--headline-font);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-top: 18px;
  max-width: 900px;
}
.page-hero-lede {
  margin-top: 34px;
  color: var(--body-gray);
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 620px;
}

/* ---------- TRUST GRID (About) ---------- */
.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 44px 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-grid .mission-card-v2 { min-height: 220px; padding: 34px 30px; }
.trust-grid .mission-card-v2 h3 { font-size: 1.2rem; }
.trust-grid .mission-card-v2 p { font-size: 1rem; }
.trust-grid .mission-card-v2:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(27,42,74,0.12); }
.trust-grid .card-teal { background: rgba(29,119,135,0.05); border: 1.5px solid rgba(29,119,135,0.2); }
.trust-grid .card-teal h3 { color: var(--navy); }
.trust-grid .card-teal p { color: var(--body-gray); }
.trust-grid > .mission-card-v2 { min-width: 0; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- QUOTE GRID (About) ---------- */
.quote-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-card {
  background: var(--off-white);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 38px 34px;
}
.quote-card p { color: var(--navy); font-size: 1.15rem; font-weight: 500; line-height: 1.5; }
.quote-card .who { margin-top: 22px; display: block; }
.quote-card .who b { color: var(--soft-blue); font-weight: 600; display: block; }
.quote-card .who span { color: var(--body-gray); font-size: 0.95rem; }

.quote-split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.quote-split-label h2 {
  margin-top: 18px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 380px;
}
@media (max-width: 900px) {
  .quote-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- PULL QUOTE ---------- */
.pull-quote-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 44px 70px;
}
.pull-quote {
  background: var(--off-white);
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 56px 60px;
  color: var(--navy);
}
.pull-quote.light-panel-texture { overflow: hidden; }
.pull-quote.light-panel-texture::before { border-radius: 28px; }
.pull-quote.light-panel-texture > * { position: relative; z-index: 1; }
.pull-quote p { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.4; max-width: 780px; }
.pull-quote .who { margin-top: 24px; color: var(--body-gray); font-size: 1rem; }
.pull-quote .who b { color: var(--soft-blue); }
.pull-quote-media {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
}
.pull-quote-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
}
.pull-quote-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pull-quote-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0.05), rgba(27,42,74,0.22));
}
.pull-quote-text p { max-width: none; }

/* ---------- FAQ DETAIL PAGE ---------- */
.faq-detail {
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 0 44px 40px;
  display: grid;
  gap: 56px;
}
.faq-group h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--line);
}
.faq-detail-item { margin-bottom: 30px; }
.faq-detail-item:last-child { margin-bottom: 0; }
.faq-detail-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.faq-detail-item p { color: var(--body-gray); font-size: 1.02rem; line-height: 1.65; max-width: 760px; }
.faq-price-list { margin-top: 14px; display: grid; gap: 10px; max-width: 620px; }
.faq-price-list li {
  list-style: none;
  color: var(--body-gray);
  font-size: 1rem;
  padding: 12px 20px;
  background: var(--off-white);
  border-radius: 12px;
}
.faq-price-list li b { color: var(--navy); }
.faq-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- SERVICES BY CLIENT TYPE ---------- */
.client-types {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 44px 70px;
}
.client-type-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-type-card {
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.client-type-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.client-type-range {
  display: inline-block;
  color: var(--soft-blue);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.client-type-range small { display: block; color: var(--body-gray); font-weight: 500; font-size: 0.82rem; margin-top: 2px; }
.client-type-card p { color: var(--body-gray); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.client-types-note {
  margin-top: 28px;
  color: var(--body-gray);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 760px;
}
.client-types-note a { color: var(--navy); font-weight: 600; border-bottom: 1.5px solid var(--soft-blue); padding-bottom: 1px; }

/* ---------- FAQ ---------- */
.faq-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 44px;
  position: relative;
  overflow: hidden;
}
.faq-section::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 260px;
  height: 260px;
  background-image: url('assets/envision-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.faq-list { margin-top: 44px; max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq-item.open .faq-question { color: var(--soft-blue); }
.faq-icon { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform 0.25s ease; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item.open .faq-icon::before { background: var(--soft-blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p { color: var(--body-gray); font-size: 1.05rem; line-height: 1.6; padding-bottom: 24px; max-width: 720px; }

/* ---------- CONTACT ---------- */
.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 44px 70px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info p { color: var(--body-gray); font-size: 1.1rem; line-height: 1.6; }
.contact-email { margin-top: 28px; }
.contact-email span { display: block; color: var(--body-gray); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.contact-email a { color: var(--soft-blue); font-weight: 600; font-size: 1.1rem; }
.contact-booking {
  background: var(--navy);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  gap: 20px;
}
/* ---------- BLOG ARTICLE ---------- */
.article-meta { margin-top: 20px; color: var(--body-gray); font-size: 0.95rem; }
.article-body { max-width: 760px; margin: 60px auto; padding: 0 44px; color: var(--body-gray); font-size: 1.08rem; line-height: 1.75; }
.article-body h3 { color: var(--navy); font-size: 1.4rem; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.01em; }
.article-body p { margin: 0 0 20px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body a { color: var(--soft-blue); text-decoration: underline; }

.contact-booking p { color: rgba(255,255,255,0.78); font-size: 1.1rem; line-height: 1.6; }
.faq-link { margin-top: 32px; }
.faq-link a { color: var(--navy); font-weight: 600; border-bottom: 1.5px solid var(--soft-blue); padding-bottom: 2px; }

/* ---------- RESOURCES LIST ---------- */
.resource-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 44px 70px;
}
.resource-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s ease;
}
a.resource-row { text-decoration: none; color: inherit; }
.resource-row:hover { transform: translateX(4px); }
.resource-row img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; }
.resource-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--soft-blue);
  margin-bottom: 6px;
}
.resource-row h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.resource-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-date { color: var(--body-gray); font-size: 0.95rem; white-space: nowrap; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  color: var(--body-gray);
  font-size: 0.95rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 44px 36px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo { height: 72px; width: auto; }
.footer-tagline { color: var(--body-gray); font-size: 0.95rem; max-width: 280px; line-height: 1.5; }
.footer-right { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--navy); font-weight: 500; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--soft-blue); }
.footer-social { display: flex; gap: 12px; }
.footer-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.footer-social-circle:hover { background: var(--soft-blue); }
.footer-bottom { padding-top: 24px; font-size: 0.85rem; }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; }
  .footer-right { width: 100%; justify-content: space-between; }
}
.footer-links a { color: var(--navy); }

/* ---------- CASE STUDY DETAIL PAGE ---------- */
.cs-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--body-gray);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.cs-back:hover { color: var(--navy); }
/* Bordered card treatment (matches .proof-stat-band on the listing page)
   instead of bare flex numbers floating in whitespace — a grid so each
   stat's column stretches to fill the row evenly, with divider lines
   between them, rather than leaving empty space past the last stat. */
.cs-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.cs-hero-stat { padding: 32px 36px; border-left: 1px solid var(--line); }
.cs-hero-stat:first-child { border-left: none; }
.cs-hero-stat span { display: block; font-size: 2.6rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.cs-hero-stat p { color: var(--body-gray); font-size: 0.95rem; margin-top: 6px; }
/* Stats bar sits below the cover image (its own section, not nested in
   .page-hero) — needs its own max-width/padding. */
.cs-hero-stats-wrap { max-width: var(--max); margin: 48px auto 0; padding: 0 44px; }
@media (max-width: 640px) {
  .cs-hero-stats { grid-template-columns: 1fr; }
  .cs-hero-stat { border-left: none; border-top: 1px solid var(--line); }
  .cs-hero-stat:first-child { border-top: none; }
}

.cs-cover { max-width: var(--max); margin: 44px auto 0; padding: 0 44px; }
.cs-cover img {
  width: 100%;
  border-radius: 28px;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.cs-cover-graphic {
  width: 100%;
  min-height: 340px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.cs-cover-graphic .cs-cover-stat { position: relative; z-index: 1; text-align: center; }
.cs-cover-graphic .cs-cover-stat span { display: block; font-size: clamp(3.2rem, 7vw, 5.5rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cs-cover-graphic .cs-cover-stat p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 12px; }

/* ---------- Case-study cover, portrait-image variant ----------
   Every case study keeps a single, full-width HORIZONTAL image header
   (.cs-cover) — no side-by-side split. .cs-cover's default img rule
   (object-fit:cover, max-height:480px) is right for landscape/square
   cover art. For campaigns whose only cover art is a portrait/vertical
   asset (sweepstakes graphics, tall product shots), add this modifier
   class alongside .cs-cover instead: it switches to object-fit:contain
   with a soft off-white fill so the full image shows, letterboxed,
   inside the same horizontal banner shape — nothing gets cropped away.
   Usage: <section class="cs-cover cs-cover-contain reveal-up"><img ...></section> */
.cs-cover.cs-cover-contain img {
  max-height: 620px;
  object-fit: contain;
  background: var(--off-white);
}
@media (max-width: 900px) {
  .cs-cover.cs-cover-contain img { max-height: 480px; }
}

/* ---------- Case-study partner-brand logo strip ----------
   A row of real partner-brand logos. Lives inside .page-hero (between
   the lede and the stats bar) via the .cs-brand-logos-hero modifier, so
   the brand names get top billing before the reader ever scrolls to the
   cover image. Logos are trademarked assets sized/cropped inconsistently
   at the source, so each sits in a fixed-height white card and is scaled
   to fit via object-fit:contain — keeps the row visually even regardless
   of each logo's native proportions. */
.cs-brand-logos {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 44px;
}
.cs-brand-logos.cs-brand-logos-hero {
  max-width: none;
  margin: 30px 0 0;
  padding: 0;
}
/* Variant: logos between the eyebrow pill and the headline — partner
   brands register right before the reader hits the H1. */
.cs-brand-logos.cs-brand-logos-hero.cs-brand-logos-top {
  margin: 0 0 28px;
}
.cs-brand-logos-label {
  color: var(--body-gray);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
/* In the hero-top position the label is redundant — the eyebrow already
   says "Multi-Brand Sweepstakes" and the H1/lede spell out who's involved
   — so it's visually hidden rather than removed from markup: still read
   by screen readers and search crawlers, just no longer competing with
   the pill for attention. */
.cs-brand-logos-top .cs-brand-logos-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Pull the pill and the now-label-less logo row into one tight cluster,
   then let the full margin carry the weight of separating that cluster
   from the H1 below. Scoped with :has() so it only kicks in on case-study
   heroes (where the logos row directly follows the eyebrow) — other
   .page-hero eyebrows (About, Campaign Examples) keep their normal gap. */
.page-hero .eyebrow:has(+ .cs-brand-logos-hero.cs-brand-logos-top) {
  margin-bottom: 16px;
}
.cs-brand-logos-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cs-brand-logo-card {
  height: 64px;
  min-width: 120px;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-brand-logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
@media (max-width: 640px) {
  .cs-brand-logo-card { height: 52px; min-width: 96px; padding: 8px 16px; }
}

/* ---------- Case-study template C: "Carousel" ----------
   For campaigns with a pile of loose social assets (a LinkedIn carousel,
   a run of Instagram posts) rather than a handful of curated shots each
   with their own write-up — use this instead of stacking multiple
   .cs-split rows. Horizontal scroll-snap, swipeable on touch, with
   prev/next controls for mouse/keyboard. Usage:
     <div class="cs-carousel">
       <div class="cs-carousel-track">
         <div class="cs-carousel-slide"><img src="..." alt="..."></div>
         <div class="cs-carousel-slide"><img src="..." alt="..."></div>
       </div>
       <button class="cs-carousel-btn prev" aria-label="Previous">&larr;</button>
       <button class="cs-carousel-btn next" aria-label="Next">&rarr;</button>
     </div>
   Prev/next buttons just need a few lines of scrollBy() JS (see app.js,
   ".cs-carousel-btn" handler) — no library required. */
.cs-carousel { max-width: var(--max); margin: 70px auto; padding: 0 44px; position: relative; }
.cs-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.cs-carousel-track::-webkit-scrollbar { height: 6px; }
.cs-carousel-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.cs-carousel-slide {
  flex: 0 0 auto;
  width: min(360px, 78vw);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(27,42,74,0.14);
}
.cs-carousel-slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; display: block; }
.cs-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(27,42,74,0.12);
}
.cs-carousel-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cs-carousel-btn.prev { left: 4px; }
.cs-carousel-btn.next { right: 4px; }
@media (max-width: 640px) { .cs-carousel-btn { display: none; } }

.cs-narrative {
  max-width: var(--max);
  margin: 70px auto;
  padding: 0 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.cs-tag {
  display: inline-block;
  color: var(--soft-blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cs-narrative h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.3; }
.cs-narrative p { color: var(--body-gray); font-size: 1.02rem; line-height: 1.65; }

/* ---------- CASE STUDY SPLIT / VISUAL BLOCKS (2026-07-08) ---------- */
.cs-split {
  max-width: var(--max);
  margin: 70px auto;
  padding: 0 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cs-split.reverse .cs-split-media { order: 2; }
.cs-split.reverse .cs-split-copy { order: 1; }
.cs-split-media img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 50px rgba(27,42,74,0.14);
}
.cs-split-copy h3 { font-size: clamp(1.5rem,2.2vw,1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.cs-split-copy p { color: var(--body-gray); font-size: 1.05rem; line-height: 1.7; }
.cs-split-brands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cs-split-brands span { background: var(--off-white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--navy); }

.cs-visual-block { max-width: var(--max); margin: 70px auto; padding: 0 44px; }
.cs-visual-block-inner {
  background: var(--off-white);
  border-radius: 28px;
  border: 1.5px solid rgba(27,42,74,0.1);
  border-right: none;
  border-bottom: none;
  padding: 52px;
  text-align: center;
}
.cs-visual-block img { width: 100%; max-width: 640px; border-radius: 20px; margin: 0 auto 28px; display: block; box-shadow: 0 20px 50px rgba(27,42,74,0.14); }
.cs-visual-block h3 { font-size: clamp(1.5rem,2.2vw,1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.cs-visual-block p { color: var(--body-gray); font-size: 1.05rem; line-height: 1.7; max-width: 640px; margin: 0 auto; }
/* featured variant: the artwork already carries its own background/branding, so drop the card chrome and let it breathe as the page's centerpiece image */
.cs-visual-block.featured .cs-visual-block-inner {
  background: none;
  border: none;
  padding: 0;
}
.cs-visual-block.featured img {
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(27,42,74,0.22);
  margin-bottom: 36px;
}
.cs-visual-block.featured .cs-tag { display: inline-block; }
@media (max-width: 900px) {
  .cs-split { grid-template-columns: 1fr; gap: 28px; }
  .cs-split.reverse .cs-split-media { order: 1; }
  .cs-split.reverse .cs-split-copy { order: 2; }
  .cs-visual-block-inner { padding: 32px 24px; }
}

.cs-quote-panel { max-width: var(--max); margin: 0 auto 70px; padding: 0 44px; }
.cs-quote-panel-inner { background: var(--navy); border-radius: 28px; padding: 56px 60px; color: #fff; }
.cs-quote-panel-inner p { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.45; max-width: 780px; }
.cs-quote-panel-inner .who { margin-top: 20px; color: rgba(255,255,255,0.7); }
.cs-quote-panel-inner .who b { color: var(--gold); }

.cs-related { max-width: var(--max); margin: 0 auto 80px; padding: 0 44px; }
.cs-related-heading { color: var(--body-gray); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 20px; }
.cs-related-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cs-related-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 24px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cs-related-link:hover { border-color: var(--navy); background: var(--off-white); }

/* ---------- CASE STUDIES LANDING PAGE ---------- */
.cs-featured {
  max-width: var(--max);
  margin: 44px auto 0;
  padding: 0 44px;
}
.cs-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  align-items: stretch;
}
.cs-featured-card > * { min-width: 0; }
.cs-featured-media { position: relative; min-height: 340px; }
.cs-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-featured-body { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; }
.cs-featured-tag { color: var(--soft-blue); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.cs-featured-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 16px; line-height: 1.25; }
.cs-featured-body p { color: var(--body-gray); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }
.cs-featured-stat {
  display: inline-block;
  color: var(--navy);
  background: #F4F6FA;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  width: max-content;
}
.cs-landing-grid {
  max-width: var(--max);
  margin: 40px auto 80px;
  padding: 0 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cs-landing-card {
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cs-landing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(27,42,74,0.1); }
.cs-landing-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.cs-landing-media-graphic {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-landing-media-graphic span { text-align: center; display: block; font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.cs-landing-media-graphic span small { display: block; font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-top: 6px; }
.cs-landing-body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.cs-landing-tag { color: var(--soft-blue); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.cs-landing-body h3 { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.cs-landing-body p { color: var(--body-gray); font-size: 1rem; line-height: 1.55; flex: 1; }
.cs-landing-stat {
  display: inline-block;
  color: var(--navy);
  background: #F4F6FA;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 16px 0;
  width: max-content;
}
.cs-landing-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--navy); }
.cs-landing-link svg { transition: transform 0.2s ease; }
.cs-landing-link:hover svg { transform: translateX(4px); }
.cs-stat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--soft-blue); }
.cs-stat-link svg { transition: transform 0.2s ease; }
.cs-stat-link:hover svg { transform: translateX(4px); }

/* ---------- CAMPAIGNS FILTER TABS (2026-07-08) ---------- */
.cs-filter-tabs { max-width: var(--max); margin: 36px auto 0; padding: 0 44px; display: flex; gap: 10px; }
.cs-filter-tab {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--body-gray);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.cs-filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cs-filter-tab:not(.active):hover { border-color: var(--navy); color: var(--navy); }
.cs-panel[hidden] { display: none; }
.cs-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--soft-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: max-content;
}
.cs-live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.cs-live-badge.cs-proof-badge { background: var(--navy); }
.cs-live-badge.cs-proof-badge::before { display: none; }
.cs-landing-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-landing-grid.compact.mixed { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cs-landing-grid.compact.mixed { grid-template-columns: repeat(2, 1fr); } }
.cs-landing-grid.compact .cs-landing-card img { height: 140px; }
.cs-landing-grid.compact .cs-landing-body { padding: 22px 22px 26px; }
.cs-landing-grid.compact .cs-landing-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cs-landing-grid.compact .cs-landing-body p { font-size: 0.88rem; line-height: 1.45; }
.cs-landing-grid.compact .cs-landing-stat { font-size: 0.8rem; padding: 5px 12px; margin: 10px 0; }
.cs-landing-grid.compact .cs-live-badge { font-size: 0.7rem; padding: 4px 11px; margin-bottom: 8px; }
@media (max-width: 900px) { .cs-landing-grid.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cs-filter-tabs { padding: 0 24px; }
  .cs-filter-tab { padding: 10px 18px; font-size: 0.9rem; }
  .cs-landing-grid.compact { grid-template-columns: 1fr; }
  .cs-featured-stat, .cs-landing-stat { width: auto; max-width: 100%; white-space: normal; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .header-inner { padding: 16px 20px; }
  .logo img { height: 44px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .services-layout { grid-template-columns: 1fr; }
  .services-cta-float { position: static; display: block; width: max-content; margin: 28px 0 0 auto; }
  .services-box-wrap { margin-top: 24px; }
  .proof-stat-band { grid-template-columns: 1fr; }
  .proof-stat { border-left: none; border-top: 1px solid var(--line); }
  .proof-stat:first-child { border-top: none; }
  .testimonial-top { grid-template-columns: 1fr; }
  .testimonial-top > * { min-width: 0; }
  .impact-layout > *, .cs-split > *, .about-panel-inner > *,
  .network-showcase-inner > *, .contact-layout > *, .quote-split > * { min-width: 0; }
  .cards-row-v2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto auto; }
  .card-pink, .card-teal { grid-row: auto; grid-column: auto; }
  .about-us-heading { grid-column: 1 / 3; grid-row: auto; }
  .card-blue, .card-gold { grid-row: auto; grid-column: auto; }
  .impact-layout { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .about-panel-inner { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .about-panel-media { aspect-ratio: 16 / 10; }
  .about-panel-copy { padding: 0 8px 24px; }
  .cs-narrative { grid-template-columns: 1fr; gap: 32px; }
  .cs-quote-panel-inner { padding: 40px 32px; }
  .cs-featured-card { grid-template-columns: 1fr; }
  .cs-featured-media { min-height: 220px; }
  .cs-featured-body { padding: 36px 32px; }
  .cs-landing-grid { grid-template-columns: 1fr; }
  .client-type-grid { grid-template-columns: 1fr 1fr; }
  .faq-cta-row { flex-direction: column; align-items: stretch; }
  .network-showcase-inner { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .network-showcase-copy p { max-width: none; }
  .network-graphic { max-width: 380px; }
  .footer-cta { grid-template-columns: 1fr; padding: 44px 32px; }
  .footer-cta-booking { padding: 24px; }
  .footer-top { flex-direction: column; gap: 24px; text-align: center; align-items: center; }
  .footer-right { flex-direction: column; gap: 20px; }
  .footer-links { flex-direction: column; align-items: center; gap: 14px; }
  .footer-bottom { text-align: center; }
  .quote-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-booking { padding: 32px; }
  .resource-row { grid-template-columns: 90px 1fr; }
  .resource-row img { width: 90px; height: 64px; }
  .resource-date { grid-column: 1 / 3; }
  .pull-quote { padding: 40px 32px; }
  .pull-quote-media { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .pull-quote-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .cards-row-v2 { grid-template-columns: 1fr; }
  .card-pink, .card-teal, .card-blue, .card-gold, .about-us-heading { grid-column: 1; grid-row: auto; }
}

/* ---------- SMALL-PHONE OPTIMIZATION (2026-07-09) ---------- */
@media (max-width: 640px) {
  .hero-inner, .services-intro, .testimonials, .mission-about,
  .impact, .case-studies, .about-panel, .network-showcase, .footer-cta-wrap,
  .page-hero, .trust-grid, .quote-grid, .quote-split, .pull-quote-panel,
  .faq-detail, .client-types, .faq-section, .contact-layout, .resource-list,
  .article-body, .cs-cover, .cs-narrative, .cs-split, .cs-visual-block,
  .cs-quote-panel, .cs-related, .cs-featured, .cs-landing-grid, .cs-filter-tabs,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .services-box { padding-left: 24px; padding-right: 24px; }
  .cs-featured-body { padding-left: 24px; padding-right: 24px; }
  .cs-quote-panel-inner { padding: 40px 28px; }

  .logo img { height: 46px; }

  .service-row { gap: 16px; }
  .row-arrow { width: 42px; height: 42px; }
  .row-arrow span { font-size: 1.05rem; }
  .row-text p { font-size: 1.05rem; }
  .row-label { font-size: 0.85rem; }

  .testimonial-left { padding: 32px 24px; }
  .testimonial-left h2 { font-size: 1.6rem; }
  .testimonial-right { padding: 32px 24px 56px; }
  .quote-text { font-size: 1.1rem; min-height: 9em; }
  .testimonial-top { padding: 12px; }

  .type-inner {
    white-space: normal;
    max-width: 100% !important;
    overflow: visible;
    animation: none;
  }
  .type-line { margin-bottom: 0; }
  .hero h1, .page-hero h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); }

  .faq-group::before { font-size: 90px; right: -8px; bottom: -20px; }
  .faq-group { padding: 28px 20px; }
}

/* ---------- FOOTER CTA WITH BOOKING ---------- */
.footer-cta:has(.footer-cta-booking) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 56px !important;
}
.footer-cta:has(.footer-cta-booking) .footer-cta-copy { flex: 1 1 55% !important; order: 1 !important; }
.footer-cta:has(.footer-cta-booking) .footer-cta-booking { flex: 1 1 40% !important; order: 2 !important; max-width: 420px; }
@media (max-width: 900px) {
  .footer-cta:has(.footer-cta-booking) { flex-direction: column !important; align-items: stretch !important; }
  .footer-cta:has(.footer-cta-booking) .footer-cta-booking { max-width: none; }
}

/* ---------- FAQ PAGE PANELS (2026-07-08) ---------- */
.faq-groups { display: grid; gap: 32px; }
.faq-group {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  border-radius: 28px;
  border: 1.5px solid rgba(27,42,74,0.1);
  border-right: none;
  border-bottom: none;
  padding: 40px 48px;
  scroll-margin-top: 110px;
}
.faq-group::before {
  content: attr(data-index);
  position: absolute;
  right: -18px;
  bottom: -50px;
  font-family: 'Inter', sans-serif;
  font-size: 220px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.faq-group > * { position: relative; z-index: 1; }
.faq-price-list li {
  background: var(--white);
  border-left: 3px solid var(--soft-blue);
  border-radius: 4px 12px 12px 4px;
}
@media (max-width: 900px) {
  .faq-group { padding: 32px 28px; }
  .faq-group::before { font-size: 140px; }
}

/* ---------- BLOG LIST ROWS WITH IMAGE (2026-07-08) ---------- */
.resource-date { display: block; color: var(--body-gray); font-size: 0.95rem; white-space: nowrap; margin-top: 6px; }
.resource-row--has-image { grid-template-columns: 120px 1fr auto; }
.resource-row--has-image img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; }
@media (max-width: 640px) {
  .resource-row--has-image { grid-template-columns: 90px 1fr auto; }
  .resource-row--has-image img { width: 90px; height: 64px; }
}

/* ---------- LEGAL PAGES (privacy / terms) ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 44px 100px;
}
.legal-updated { color: var(--body-gray); font-size: 0.95rem; margin-bottom: 32px; }
.legal-content h2 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal-content h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 26px;
  margin-bottom: 10px;
}
.legal-content p { line-height: 1.7; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--soft-blue); }
@media (max-width: 640px) {
  .legal-content { padding: 16px 24px 72px; }
  .legal-content h2 { font-size: 1.25rem; }
}
