/*
 * Innate Analytics — Editorial experience refresh
 * Builds on the supplied design system while keeping its existing brand and content.
 */
:root {
  --ia-ink: #10233c;
  --ia-navy: #0b2340;
  --ia-blue: #245b99;
  --ia-blue-2: #3f70b5;
  --ia-teal: #0b7c83;
  --ia-magenta: #a52a91;
  --ia-paper: #f5f8fb;
  --ia-line: #dce5ef;
  --ia-muted: #5c6b7d;
  --ia-radius: 18px;
  --ia-radius-lg: 28px;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { color: var(--ia-ink); }
body .container { max-width: 1240px; }
body :where(h1,h2,h3,h4) { text-wrap: balance; }
body p { text-wrap: pretty; }

/* A quieter, more deliberate shared navigation. */
body .top-bar { background: #09203b; letter-spacing: .015em; }
body .site-header { background: rgba(255,255,255,.96); border-bottom-color: rgba(16,35,60,.08); }
body .site-header .header-inner { min-height: 82px; }
body .desktop-nav .nav-links > li > a { border-radius: 999px; }
body .desktop-nav .nav-links > li > a:hover,
body .desktop-nav .nav-links > li > a:focus-visible { background: #edf4fa; }

/* Homepage hero: one calm editorial statement above the active service story. */
body.home .ia-hero {
  isolation: isolate;
  padding: clamp(2.5rem, 5.4vw, 4.5rem) 0 0;
  background:
    radial-gradient(ellipse 36rem 22rem at 91% 3%, rgba(165,42,145,.18), transparent 70%),
    radial-gradient(ellipse 34rem 24rem at 2% 97%, rgba(63,112,181,.27), transparent 72%),
    linear-gradient(135deg, #081e38 0%, #102f52 58%, #173f68 100%);
}
body.home .ia-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 29rem;
  height: 29rem;
  right: -14rem;
  top: 23rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 3.2rem rgba(255,255,255,.018), 0 0 0 6.5rem rgba(255,255,255,.014);
  pointer-events: none;
}
body.home .ia-hero .science-hero-message { padding-bottom: clamp(1.35rem, 2.4vw, 2rem); }
body.home .ia-hero .science-hero-message .container { max-width: 1240px; }
body.home .ia-hero .science-hero-message .ia-hero-kicker {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  color: #d8e6f6;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}
body.home .ia-hero h1 {
  max-width: 28ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, 1.4rem + 3.35vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  animation: iaHeroEnter .75s cubic-bezier(.2,.75,.25,1) both;
}
body.home .ia-hero .science-hero-message .ia-hero-tags { gap: .45rem; }
body.home .ia-hero .science-hero-message .ia-hero-tags span {
  padding: .35rem .76rem;
  border-color: transparent;
  background: rgba(255,255,255,.055);
  color: #c9d9eb;
  font-size: .78rem;
  font-weight: 600;
}
body.home .ia-hero-stage { padding-bottom: .6rem; }
body.home .ia-hero .science-slides {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--ia-radius-lg);
  box-shadow: 0 28px 72px -34px rgba(0,0,0,.76);
}
body.home .ia-hero .science-slide { min-height: 0; }
body.home .ia-hero .science-slide-inner { padding: clamp(1.75rem, 4vw, 3.5rem); }
body.home .ia-hero .science-slide-copy { max-width: 500px; }
body.home .ia-hero .science-slide h2 { max-width: 16ch; font-size: clamp(1.85rem, 1.2rem + 2vw, 2.75rem); }
body.home .ia-hero .science-slide-copy > p { max-width: 42ch; font-size: 1rem; }
body.home .ia-hero .science-slide-image { background: #dce7f1; }
body.home .ia-hero .science-slide-image img { transform: scale(1.015); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
body.home .ia-hero .science-slide.is-active .science-slide-image img { transform: scale(1); }
body.home .ia-hero .science-carousel-controls { padding-top: .85rem; }
body.home .ia-hero .science-image-note { padding-top: .55rem; padding-bottom: 1.2rem; opacity: .76; }

@keyframes iaHeroEnter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Proof points align like a crisp editorial index, not a second hero. */
body.home .ia-stats { position: relative; z-index: 2; border-bottom: 1px solid var(--ia-line); }
body.home .ia-stats-list { max-width: 1120px; margin-inline: auto; }
body.home .ia-stats-list li { padding-block: 1.6rem; }
body.home .ia-stats-list strong { color: var(--ia-navy); font-size: clamp(1.35rem, 1.05rem + .9vw, 1.9rem); }
body.home .ia-stats-list span { max-width: 24ch; line-height: 1.45; }

/* Consistent section cadence and strongly aligned section headings. */
body.home .ia-section { padding-block: clamp(4rem, 7.3vw, 7rem); }
body.home .ia-title { max-width: 20ch; font-size: clamp(2rem, 1.35rem + 2.25vw, 3.1rem); line-height: 1.08; letter-spacing: -.045em; }
body.home .ia-lead { max-width: 48ch; font-size: 1.03rem; line-height: 1.7; }
body.home .ia-eyebrow { margin-bottom: 1.1rem; font-size: .76rem; letter-spacing: .035em; }
body.home .ia-about-copy > p:not(.ia-lead),
body.home .ia-local-copy > p { max-width: 54ch; line-height: 1.75; }
body.home .ia-about-media img,
body.home .ia-empower-media img { border-radius: var(--ia-radius-lg); }
body.home .ia-about-media::before { inset: 1.1rem -1rem -1rem 1.1rem; }
body.home .ia-about-copy .btn { margin-top: 1.1rem; }

/* Distinctive value points: open, aligned, and scannable. */
body.home .ia-why-grid { align-items: start; gap: clamp(2rem, 4vw, 4rem); }
body.home .ia-why-head { max-width: 33rem; }
body.home .ia-why-list { column-gap: clamp(1.5rem, 3vw, 3.5rem); }
body.home .ia-why-list li { min-height: 100%; padding-block: 1.45rem; }
body.home .ia-why-list h3 { max-width: 24ch; line-height: 1.25; }
body.home .ia-why-list p { max-width: 38ch; font-size: .92rem; line-height: 1.62; }
body.home .ia-ico { border-radius: 15px; }

/* Service cards share a stable baseline and consistent text measure. */
body.home .ia-svc-head { align-items: end; gap: 2rem; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
body.home .ia-svc-head > div { max-width: 44rem; }
body.home .ia-svc-head .ia-lead { margin-bottom: 0; }
body.home .ia-card-grid { gap: clamp(1rem, 2.2vw, 1.6rem); align-items: stretch; }
body.home .ia-card {
  min-width: 0;
  border: 1px solid rgba(16,35,60,.09);
  border-radius: 20px;
  box-shadow: 0 8px 24px -22px rgba(11,35,64,.45);
  overflow: hidden;
}
body.home .ia-card:hover { transform: translateY(-5px); box-shadow: 0 24px 42px -28px rgba(11,35,64,.48); }
body.home .ia-card-img { aspect-ratio: 1.62 / 1; }
body.home .ia-card-img img { transition: transform .75s cubic-bezier(.18,.7,.2,1); }
body.home .ia-card-body { padding: clamp(1.1rem, 2vw, 1.55rem); }
body.home .ia-card-body h3 { max-width: 22ch; font-size: 1.2rem; letter-spacing: -.025em; }
body.home .ia-card-body > p { max-width: 38ch; font-size: .91rem; line-height: 1.58; }
body.home .ia-card-body .ia-link { margin-top: auto; }
body.home .ia-tag { border-radius: 999px; letter-spacing: .12em; }

/* Accessible, low-friction details keep full copy available without crowding cards. */
.ia-disclosure { margin: .05rem 0 1rem; color: var(--ia-ink); font-size: .875rem; }
.ia-disclosure summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 36px;
  color: var(--ia-blue);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.ia-disclosure summary::-webkit-details-marker { display: none; }
.ia-disclosure summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  transition: transform .22s ease, background-color .22s ease, color .22s ease;
}
.ia-disclosure[open] summary::after { content: "−"; transform: rotate(180deg); }
.ia-disclosure summary:hover, .ia-disclosure summary:focus-visible { color: var(--ia-magenta); }
.ia-disclosure summary:focus-visible { outline: 3px solid rgba(63,112,181,.28); outline-offset: 3px; border-radius: 4px; }
.ia-disclosure > p, .ia-disclosure-content { margin-top: .65rem; color: var(--ia-muted); font-size: .875rem; line-height: 1.65; }
.ia-disclosure-content p { margin: 0 0 .8rem; font-size: .94rem; line-height: 1.7; }
.ia-story-more { margin: 1.1rem 0 .25rem; }
.ia-disclosure-light summary { color: #fff; }
.ia-disclosure-light > p { color: #d5e1ef; }

/* Training, institutional proof and location use a consistent editorial rhythm. */
body.home .ia-checks { gap: .85rem; margin-block: 1.5rem 1.75rem; }
body.home .ia-checks li { gap: .8rem; }
body.home .ia-checks div { max-width: 48ch; font-size: .91rem; line-height: 1.55; }
body.home .ia-network-grid { gap: clamp(2rem, 4vw, 4.5rem); }
body.home .ia-chips { gap: .5rem; }
body.home .ia-chips li { padding: .52rem .85rem; border-radius: 12px; font-size: .84rem; }
body.home .ia-local-box { border-radius: var(--ia-radius-lg); }
body.home .ia-local-copy h2 { max-width: 20ch; font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.55rem); letter-spacing: -.04em; }
body.home .ia-local-copy > p { font-size: .98rem; }
body.home .ia-local-points { gap: .65rem; }
body.home .ia-local-points li { border-radius: 12px; }
body.home .ia-articles .ia-svc-head { align-items: end; }
body.home .ia-post-grid .post-card { border: 1px solid rgba(16,35,60,.09); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px -22px rgba(11,35,64,.45); }
body.home .ia-post-grid .post-card-title { line-height: 1.3; }
body.home .ia-post-grid .post-card-excerpt { line-height: 1.6; }
body.home .ia-cta { position: relative; overflow: hidden; }
body.home .ia-cta::after {
  content: ""; position: absolute; right: -9rem; top: -15rem; width: 30rem; height: 30rem;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255,255,255,.025), 0 0 0 6rem rgba(255,255,255,.018);
  pointer-events: none;
}
body.home .ia-cta-inner { position: relative; z-index: 1; }
body.home .ia-cta-copy { max-width: 46rem; }
body.home .ia-cta h2 { max-width: 15ch; }
body.home .ia-cta p { font-size: 1rem; }
body.home .ia-cta-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
body.home .ia-cta-actions .btn:last-child { grid-column: 1 / -1; }

/* Scroll entrance motion is progressively enhanced by the companion script. */
body.ia-motion-ready [data-ia-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.72,.25,1); transition-delay: var(--ia-reveal-delay, 0ms); }
body.ia-motion-ready [data-ia-reveal].ia-in-view { opacity: 1; transform: translateY(0); }

@media (min-width: 992px) {
  body.home .ia-hero .science-slide { min-height: 440px; }
  body.home .ia-hero .science-slide-image { min-height: 440px; }
}
@media (max-width: 991px) {
  body.home .ia-hero .science-slide { grid-template-columns: minmax(0,1fr); }
  body.home .ia-hero .science-slide-image { order: -1; height: clamp(230px, 47vw, 360px); min-height: 0; }
  body.home .ia-hero .science-slide-inner { order: 1; }
  body.home .ia-svc-head { align-items: start; }
}
@media (max-width: 699px) {
  body.home .ia-hero { padding-top: 2.4rem; }
  body.home .ia-hero h1 { font-size: clamp(2.25rem, 10vw, 3.3rem); max-width: 14ch; }
  body.home .ia-hero .science-hero-message .ia-hero-tags { gap: .35rem; }
  body.home .ia-hero .science-hero-message .ia-hero-tags span { font-size: .72rem; padding: .3rem .6rem; }
  body.home .ia-hero .science-slide-actions .btn { width: 100%; }
  body.home .ia-hero .science-slide-contacts { gap: .5rem 1rem; }
  body.home .ia-hero .science-controls-inner { align-items: flex-start; }
  body.home .ia-stats-list li { padding-block: 1.1rem; }
  body.home .ia-section { padding-block: 3.6rem; }
  body.home .ia-why-list { gap: 0; }
  body.home .ia-card-grid { gap: 1rem; }
  body.home .ia-cta-actions { grid-template-columns: 1fr; }
  body.home .ia-cta-actions .btn:last-child { grid-column: auto; }
  body.home .ia-local-box { gap: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.ia-motion-ready [data-ia-reveal] { opacity: 1; transform: none; }
}
