/* Crowdwave preview - brand tokens from crowdwave.ai (Squarespace site.css + custom.css) */
:root {
  --bg: #f6f3ff;            /* their site white: hsl(255,100%,97.65%) */
  --white: #ffffff;
  --navy: #061e4d;          /* their darkAccent: hsl(219.72,85.54%,16.27%) */
  --blue: #226ff5;          /* their accent: hsl(218.01,100%,56.67%) */
  --indigo: #2e22da;        /* icon accent from their custom.css */
  --body: rgba(6, 30, 77, 0.78);
  --soft: rgba(6, 30, 77, 0.58);
  --line: rgba(6, 30, 77, 0.12);
  --line-strong: rgba(6, 30, 77, 0.2);
  --on-dark: rgba(255, 255, 255, 0.82);
  --on-dark-soft: rgba(255, 255, 255, 0.62);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
p { font-size: 1.04rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: clamp(3.8rem, 7vw, 6.2rem) 0; }

/* prevent grid column blowout on narrow screens */
.hero-grid > *, .why-row > *, .steps-grid > *, .split-row > *, .cs-feature > *, .units-grid > *, .leads-grid > *, .adv-grid > *, .compare-grid > * { min-width: 0; }
.why-row img, .steps-grid .media img, .split-row img { width: 100%; }
@media (max-width: 820px) {
  .why-row img, .steps-grid .media img, .split-row img { max-width: 440px; }
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 1rem;
}

/* One button system: navy fill + navy ghost */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-fill { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-fill:hover { background: var(--blue); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-on-dark { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-on-dark:hover { background: var(--bg); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.2rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { padding: 0.65rem 1.5rem; font-size: 0.9rem; white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 940px) {
  .nav-links, .header .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .header.open .nav-cta { display: inline-flex; margin: 0.25rem 0 0; }
}

/* Hero (homepage) */
.hero { background: var(--bg); padding-top: clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero-sub { font-size: 1.13rem; line-height: 1.65; margin-bottom: 2rem; max-width: 34rem; }
.hero-shot { border-radius: var(--radius); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shot { width: 100%; max-width: 480px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--bg); padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { max-width: 21ch; margin-bottom: 1.2rem; }
.page-hero .lede { font-size: 1.13rem; max-width: 44rem; line-height: 1.65; }

/* Logo band */
.logos { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.6rem 0; }
.logos h3 {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 1.9rem;
}
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Why rows */
.why-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  border-top: 1px solid var(--line);
}
.why-row h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin-bottom: 1rem; }
.why-row h2 .flip { color: var(--blue); }
.why-row p { line-height: 1.7; }
.why-row img { border-radius: var(--radius); }
@media (max-width: 820px) {
  .why-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .why-row img { max-width: 440px; }
  .why-row .media { order: -1; }
}

/* Dark band */
.dark { background: var(--navy); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark p { color: var(--on-dark); }
.dark-band-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.sim-shot { border-radius: var(--radius); margin: 0 auto; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  text-align: center;
  margin: clamp(2rem, 4vw, 3rem) 0;
}
.stat-num {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 1.02rem; font-weight: 600; color: var(--on-dark); }
.stats-notes { max-width: 680px; margin: 0 auto; text-align: center; }
.stats-notes p { margin-bottom: 0.8rem; }
.stats-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.stats-link:hover { color: #9cc1ff; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Steps */
.steps-section { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.step { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.step:first-of-type { margin-top: 1.6rem; }
.step h4 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.99rem; line-height: 1.65; }
.steps-tagline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.12rem;
}
.steps-tagline img { height: 26px; width: 26px; }
.steps-grid > .media img { border-radius: var(--radius); }
@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Business units */
.units-head { max-width: 740px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.8rem, 4vw, 3rem); }
.unit { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.unit h4 { margin-bottom: 0.5rem; font-size: 1.08rem; }
.unit p { font-size: 0.96rem; line-height: 1.62; }
@media (max-width: 980px) { .units-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .units-grid { grid-template-columns: 1fr; } }

/* Testimonial carousel */
.testimonials { background: var(--bg); }
.t-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.55s var(--ease); }
.t-card {
  flex: 0 0 33.3333%;
  padding: 0 0.65rem;
  min-width: 0;
}
.t-card-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.t-person { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.t-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-person h4 { font-size: 1.02rem; line-height: 1.2; }
.t-person span { font-size: 0.82rem; color: var(--soft); line-height: 1.35; display: block; }
.t-quote { font-size: 0.99rem; line-height: 1.62; color: var(--body); }
@media (max-width: 1020px) { .t-card { flex-basis: 50%; } }
@media (max-width: 680px) { .t-card { flex-basis: 100%; } }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.8rem; }
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  transition: border-color 0.2s;
}
.carousel-btn:hover { border-color: var(--navy); }
.carousel-dots { display: flex; gap: 0.45rem; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--blue); }
.t-foot { text-align: center; margin-top: 2.2rem; }

/* Bright CTA band */
.cta-band { background: var(--blue); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 3.5rem 0 2.2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 1rem; }
.footer p, .footer li, .footer a { font-size: 0.95rem; color: var(--body); }
.footer h5 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--soft);
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.45rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 0.9rem; margin-top: 1.1rem; }
.footer-social a { display: inline-flex; color: var(--navy); opacity: 0.75; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.6rem; font-size: 0.84rem; color: var(--soft); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Article / case study pages */
.article { background: var(--white); }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body > * + * { margin-top: 1.25rem; }
.article-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.6rem; }
.article-body h4.label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 2.6rem;
}
.article-body p { line-height: 1.72; }
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin-bottom: 0.55rem; line-height: 1.65; }
.article-body img { border-radius: var(--radius); margin: 2rem auto; }
.pullquote {
  border-left: 3px solid var(--blue);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 2.2rem 0;
}
.pullquote p { font-size: 1.22rem; font-weight: 600; color: var(--navy); line-height: 1.5; }
.pullquote cite { display: block; margin-top: 0.7rem; font-style: normal; font-size: 0.92rem; color: var(--soft); }
.cs-meta { font-size: 0.95rem; color: var(--soft); margin-top: 0.6rem; }

/* Case studies listing */
.cs-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.cs-feature img { width: 100%; height: 100%; object-fit: cover; }
.cs-feature-body { padding: clamp(1.6rem, 3vw, 2.8rem); }
.cs-feature-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: 0.9rem; }
.cs-feature-body p { line-height: 1.68; margin-bottom: 1.5rem; }
@media (max-width: 820px) { .cs-feature { grid-template-columns: 1fr; } .cs-feature img { max-height: 280px; } }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cs-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.cs-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cs-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.cs-card-body h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.cs-card-body p { font-size: 0.94rem; line-height: 1.6; flex: 1; }
.cs-card-body .more { margin-top: 1.1rem; font-weight: 600; color: var(--blue); font-size: 0.95rem; }
@media (max-width: 980px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cs-grid { grid-template-columns: 1fr; } }

/* Team page */
.team-section h2 { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.leads-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lead-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}
.lead-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lead-card h3 { margin-bottom: 0.2rem; }
.lead-card .role { font-weight: 600; color: var(--blue); font-size: 0.95rem; margin-bottom: 0.7rem; }
.lead-card ul { list-style: none; }
.lead-card li { font-size: 0.93rem; line-height: 1.55; padding: 0.3rem 0; border-top: 1px solid var(--line); }
.lead-card li:first-child { border-top: none; padding-top: 0; }
@media (max-width: 880px) { .leads-grid { grid-template-columns: 1fr; } .lead-card { flex-direction: column; } }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.adv-card { text-align: center; padding: 1.6rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.adv-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.9rem; }
.adv-card h4 { font-size: 0.99rem; margin-bottom: 0.15rem; }
.adv-card .adv-role { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 0.3rem; }
.adv-card p { font-size: 0.85rem; color: var(--soft); line-height: 1.5; }
@media (max-width: 980px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .adv-grid { grid-template-columns: 1fr; } }

/* Evidence page */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.split-row:first-of-type { border-top: none; }
.split-row h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.split-row p { line-height: 1.7; }
.split-row img { border-radius: var(--radius); }
@media (max-width: 820px) {
  .split-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .split-row .media { order: -1; }
}
.cite-quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  margin-top: 1.4rem;
}
.cite-quote p { font-size: 0.95rem; line-height: 1.6; }
.cite-quote .src { display: block; margin-top: 0.6rem; font-size: 0.84rem; color: var(--soft); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.compare-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.compare-col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.compare-col ul { list-style: none; }
.compare-col li { padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 0.96rem; line-height: 1.55; }
@media (max-width: 740px) { .compare-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightboxable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 30, 77, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; border-radius: var(--radius-sm); background: var(--white); }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
}

/* Report request mock (DEI page) */
.report-band { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); margin-top: 2.6rem; text-align: center; }
.report-band h2 { margin-top: 0 !important; margin-bottom: 0.7rem; }
.report-band > p { max-width: 46rem; margin: 0 auto 1.5rem; }
.report-form { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.report-form input {
  font-family: var(--font);
  font-size: 0.97rem;
  padding: 0.8rem 1.2rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  min-width: 270px;
  background: var(--white);
  color: var(--navy);
}
.report-form input:focus { outline: none; border-color: var(--blue); }
.report-success { display: none; font-weight: 600; color: var(--navy); }
.report-band.done .report-form { display: none; }
.report-band.done .report-success { display: block; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Privacy */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.3rem; margin: 2.2rem 0 0.8rem; }
.legal-body p { margin-bottom: 1rem; line-height: 1.7; font-size: 0.98rem; }
