/*
 * Site additions, layered on top of the Webflow stylesheet.
 * Covers: homepage v2 (hero proof strip, results panel readability), the
 * guided "Talk to us" flow, the contact page and the world-model page.
 * Uses the Webflow design tokens (--blue-01, --black, …) so nothing drifts.
 */

/* ---------- Shared bits ---------- */
.mono-label {
  color: var(--cool-gray-05);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: "Soehne Mono Buch", sans-serif;
  font-size: var(--type-label);
  line-height: 20px;
  margin: 0;
}
.mono-label.blue { color: var(--blue-01); }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 64px;
  color: var(--cool-gray-05);
}
.logo-row svg { height: 34px; width: auto; display: block; }
.logo-row.on-dark { color: #fcfdff; }
@media screen and (max-width: 767px) {
  .logo-row { gap: 20px 40px; }
  .logo-row svg { height: 26px; }
}

.inline-link,
.inline-link:visited {
  color: var(--blue-01);
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-control);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
.inline-link:hover { color: var(--light-blue); }
.footer a[href^="mailto:"] { cursor: pointer; }
.paragraph .inline-link { font-size: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: .15em; }

.button.primary[disabled],
.button.primary[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.button.primary[disabled]:hover { background-color: var(--blue-01); }

/* ---------- Homepage: hero ---------- */
.heading-1.lightmode.center.homepage { text-wrap: balance; }
.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.hero-sub .paragraph { text-wrap: balance; }
.paragraph.lightmode.center.smaller.hero-outcomes {
  color: var(--dark-blue);
  font-weight: 500;
  letter-spacing: 0.1px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.hero-ctas .button { white-space: nowrap; }

.hero-proof {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.hero-stats .rd-stat { gap: 12px; }
.hero-stats .rd-stat-number { font-size: var(--type-metric); }
.hero-stats .rd-stat-text { color: var(--black); font-size: var(--type-intro); text-wrap: pretty; }
.hero-stats .rd-stat-text span { color: var(--cool-gray-05); }
.hero-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  .hero-proof { gap: 40px; }
  .hero-stats .rd-stat-number { font-size: var(--type-metric); }
}

/* ---------- Homepage: pillars ---------- */
.pillar-link { margin-top: 4px; }

/* ---------- Homepage: results panel, readability pass ---------- */
.results-panel.v2 {
  /* Brand gradient without the white radial highlight that washed out the top-left copy. */
  background-image: linear-gradient(258.2deg, var(--blue-01), #5563ee);
}
.results-panel.v2 .results-panel-grid { opacity: 0.9; }
.results-panel.v2 .results-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 48px;
}
.results-panel.v2 .results-lead {
  color: #fcfdff;
  letter-spacing: 0.1px;
  margin: 0;
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-intro);
  line-height: 140%;
}
.results-panel.v2 .results-card { padding: 32px 30px 36px; }
.results-panel.v2 .results-card-body {
  font-size: var(--type-body);
  line-height: 145%;
  color: #fcfdff;
}
.results-panel.v2 .results-card-body.gray { color: #fcfdffd9; }
.results-panel .secondary-2,
.results-panel .secondary-2:visited { color: var(--white); }

.proof-quotes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 80px;
  width: 100%;
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid #ffffff40;
}
.proof-quotes .gmp-quote-text { font-size: var(--type-quote); }
@media screen and (max-width: 767px) {
  .proof-quotes { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; padding-top: 40px; }
  .proof-quotes .gmp-quote-text { font-size: var(--type-quote); }
}

/* ---------- Page heroes (world model, contact, talk to us) ---------- */
/* Footer directly after a page's content: one section gap, not two. */
.content.footer-only { margin-top: 0; }
.page-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
  padding-top: 40px;
}
.page-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
}
.page-hero .paragraph { max-width: 680px; }

/* ---------- Talk to us: guided flow ---------- */
.q-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
  width: 100%;
}
.q-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 480px;
}
.q-progress { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.q-progress-labels { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-progress-labels > :last-child { text-align: right; }
.q-bar {
  width: 100%;
  height: 2px;
  background: var(--blue-02);
  border-radius: 2px;
  overflow: hidden;
}
.q-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-01), var(--secondary-02));
  transition: width 0.3s ease;
}
.q-question { display: flex; flex-direction: column; gap: 12px; }
.q-question-title { margin: 0; font-weight: 400; }
.q-options { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.q-option {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--cool-gray-03);
  background: var(--white);
  color: var(--black);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-body);
  line-height: 130%;
  letter-spacing: 0.1px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.q-option:hover { border-color: var(--blue-01); background: var(--blue-03); }
.q-option[aria-pressed="true"] {
  border-color: var(--blue-01);
  background: var(--blue-01);
  color: #fff;
}
.q-option:focus-visible { outline: 2px solid var(--blue-01); outline-offset: 2px; }
.q-note {
  border-left: 2px solid var(--blue-02);
  padding-left: 16px;
  margin: 0;
  color: var(--cool-gray-05);
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-small);
  line-height: 140%;
}
.q-note strong { color: var(--black); font-weight: 500; }
.q-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; width: 100%; }
.q-actions > .button { margin-left: auto; }
.q-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.q-aside .outline-1px { padding: 1px; }
.q-aside img { width: 100%; height: auto; border-radius: 7px; display: block; }
.q-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}
.q-fields .text-field { margin: 0; }
.q-fields .span-2 { grid-column: 1 / -1; }
.q-error {
  color: var(--red-01);
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-control);
  margin: 0;
}
.q-done { display: flex; flex-direction: column; gap: 24px; }
.page-stack:has(> .q-shell > .q-done) > .page-hero { display: none; }
.q-done-links { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media screen and (max-width: 991px) {
  .q-shell { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .q-aside { position: static; }
  .q-main { min-height: 0; }
}
@media screen and (max-width: 767px) {
  .q-fields { grid-template-columns: minmax(0, 1fr); }
  .q-option { font-size: var(--type-body); padding: 12px 14px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.contact-card { gap: 16px; padding: 28px; }
.contact-card .heading-4 { font-size: var(--type-card-title); }
.contact-card .paragraph { flex: 1 1 auto; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
@media screen and (max-width: 767px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ======================================================================
   Homepage v3: motion system, native nav, splash, chapters, visuals, trust
   ====================================================================== */

/* ---------- Motion system ----------
   Opt in with data-reveal (fade and rise, once) or data-seq (a visual whose parts
   run a timed sequence, each part delayed by its own --d). MotionRoot adds .is-in
   the first time the element is on screen. Every hidden or initial state lives in
   the media query below, so with JS off or reduced motion on the page renders
   finished. Only transform, opacity, clip-path and stroke-dashoffset move. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); }
  [data-reveal="line"] { transform-origin: top center; }
  [data-reveal="line"]:not(.is-in) { opacity: 1; transform: scaleY(0); }

  [data-seq] .draw, [data-seq] .dot, [data-seq] .fade, [data-seq] .wipe {
    transition-delay: var(--d, 0s);
    transition-timing-function: cubic-bezier(0.3, 0.6, 0.3, 1);
  }
  [data-seq] .draw { transition-property: stroke-dashoffset; transition-duration: var(--t, 0.9s); }
  [data-seq]:not(.is-in) .draw { stroke-dashoffset: 1; }
  [data-seq] .dot { transition-property: transform; transition-duration: 0.35s; transition-timing-function: cubic-bezier(0.3, 1.4, 0.5, 1); }
  [data-seq]:not(.is-in) .dot { transform: scale(0); }
  [data-seq] .fade { transition-property: opacity, transform; transition-duration: 0.5s; }
  [data-seq]:not(.is-in) .fade { opacity: 0; }
  [data-seq]:not(.is-in) .fade.slide { transform: translateX(-10px); }
  [data-seq] .wipe { transition-property: clip-path; transition-duration: var(--t, 0.7s); }
  [data-seq]:not(.is-in) .wipe { clip-path: inset(0 100% 0 0); }
  [data-seq] .doe-cell { transition: background-color 0.4s ease-out, border-color 0.4s ease-out; transition-delay: calc(var(--i) * 26ms + 0.2s); }
  [data-seq]:not(.is-in) .doe-cell { background: var(--blue-02); border-color: transparent; }
}
[data-seq] .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
[data-seq] .dot { transform-box: fill-box; transform-origin: center; transform: scale(1); }
[data-seq] .wipe { clip-path: inset(0 0 0 0); }

/* The spine: a short gradient line above each chapter that draws as it scrolls up
   the screen. Scroll-linked via CSS scroll-driven animations; browsers without them
   (and reduced motion) get the line fully drawn. */
.spine {
  width: 2px;
  height: 120px;
  margin: 0 auto 56px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-02), var(--blue-01) 45%, var(--secondary-02));
  transform-origin: top center;
}
@keyframes spine-draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .spine {
      animation: spine-draw linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 45%;
    }
  }
}

/* ---------- Mobile navigation ---------- */
button.menu-button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  margin: 0;
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .w-nav-overlay .nav-menu { animation: menu-in 0.22s ease-out both; }
}

/* ---------- Splash ---------- */
.content.first-item.hero.splash { margin-bottom: 72px; }

/* ---------- Chapters ---------- */
.content.chapter { gap: 0; margin-top: 96px; margin-bottom: 96px; }
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}
.chapter-grid.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter-grid.flip .chapter-copy { order: 2; }
.chapter-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.chapter-copy .heading-2.lightmode { text-wrap: balance; }
.chapter-line { text-wrap: pretty; }
.chapter-stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 8px; }
.chapter-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 260px;
  border-left: 1px solid var(--blue-02);
  padding-left: 20px;
}
.chapter-stat-n {
  color: var(--blue-01);
  margin: 0;
  font-family: Signifier, sans-serif;
  font-size: var(--type-metric);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.chapter-stat-t {
  color: var(--black);
  margin: 0;
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-small);
  line-height: 135%;
  letter-spacing: 0.1px;
  text-wrap: pretty;
}
.chapter-stat-t span { color: var(--cool-gray-05); }
.chapter-link { margin-top: 4px; }
.chapter-visual { width: 100%; }
.card-1.lightmode[id] { scroll-margin-top: 120px; }
@media screen and (max-width: 991px) {
  .chapter-grid, .chapter-grid.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chapter-grid.flip .chapter-copy { order: 0; }
  .spine { height: 80px; margin-bottom: 40px; }
  .chapter-stat-n { font-size: var(--type-metric); }
}

/* ---------- Chapter visuals ---------- */
.viz-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 24px 22px;
  border: 1px solid var(--blue-02);
  border-radius: 12px;
  background: #fcfdff;
  box-shadow: 0 10px 40px 0 var(--shadow), inset 0 0 5px 0 var(--blue-02);
}
.viz-head, .viz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.viz-card:is(.sim, .twin) .viz-foot { justify-content: flex-end; }
.viz-card .mono-label { font-size: var(--type-chart-label); line-height: 16px; }
.viz-card svg { width: 100%; height: auto; display: block; }
.viz-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cool-gray-05);
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-label);
  line-height: 1;
}
.viz-key b { color: var(--black); font-weight: 500; }
.viz-key i { display: inline-block; flex: none; }
.key-line { width: 18px; height: 0; border-top: 2px solid var(--blue-01); }
.key-line.dashed { border-top-style: dashed; }
.key-band { width: 18px; height: 10px; border-radius: 2px; background: #2171e81f; }
.key-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--blue-01); }
.key-dot.off { background: transparent; border: 1px dashed var(--cool-gray-04); }
.doe-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.doe-cell { aspect-ratio: 1; border-radius: 4px; background: var(--blue-01); border: 1px solid transparent; }
.doe-cell.off { background: transparent; border: 1px dashed var(--cool-gray-04); }
@media screen and (max-width: 479px) {
  .viz-card { padding: 16px; gap: 14px; }
  .doe-grid { gap: 5px; }
}

/* ---------- Under the hood ---------- */
.hood-visual { width: 60%; display: flex; flex-direction: column; gap: 16px; position: relative; }
.hood-visual .video.light-mode.card-1 { width: 100%; }
.hood-layers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hood-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--blue-02);
  border-radius: 999px;
  background: #fcfdff;
  color: var(--black);
  font-family: "Soehne Mono Buch", sans-serif;
  font-size: var(--type-chart-label);
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.hood-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-01); }
.hood-chip.result { border-color: var(--blue-01); color: var(--blue-01); }
.hood-chip.result::before { background: var(--secondary-02); }
.hood-op { color: var(--cool-gray-04); font-family: Ppneuemontreal, sans-serif; font-size: 18px; line-height: 1; }
@media screen and (max-width: 767px) {
  .hood-visual { width: 100%; }
}

/* ---------- Trust ---------- */
.content.trust { gap: 0; }
.trust-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; width: 100%; margin: 0 auto; }
.trust-head { display: flex; align-items: center; gap: 20px; }
.trust-heading {
  color: var(--black);
  margin: 0;
  font-family: Signifier, sans-serif;
  font-size: var(--type-subheading);
  line-height: 120%;
  text-wrap: balance;
}
.trust-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.trust-badge { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--cool-gray-03); border-radius: 8px; }
.trust-badge-t {
  color: var(--blue-01);
  font-family: "Soehne Mono Buch", sans-serif;
  font-size: var(--type-label);
  line-height: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.trust-badge-s { color: var(--black); font-family: Ppneuemontreal, sans-serif; font-size: var(--type-body); line-height: 130%; letter-spacing: 0.1px; }
@media screen and (max-width: 991px) {
  .trust-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-heading { font-size: var(--type-subheading); }
}
@media screen and (max-width: 479px) {
  .trust-badges { grid-template-columns: minmax(0, 1fr); }
  .trust-head { align-items: flex-start; }
  .trust-heading { font-size: var(--type-subheading); }
}

/* ---------- Results / Security pages ---------- */
.results-logos { align-items: flex-start; }
.results-logos .logo-row { justify-content: flex-start; }

/* ---------- Thesis (screen two) ---------- */
.content.thesis { gap: 0; margin-top: 0; margin-bottom: 40px; padding-top: 48px; padding-bottom: 48px; }
.thesis-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.thesis-line.heading-2.lightmode.center { text-align: center; text-wrap: balance; font-size: var(--type-section-title); line-height: 125%; }
.thesis-line em { color: var(--blue-01); }
.thesis-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.thesis-toc-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--blue-02);
  color: var(--black);
  font-family: "Soehne Mono Buch", sans-serif;
  font-size: var(--type-label);
  line-height: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.thesis-toc-item:hover { color: var(--blue-01); border-color: var(--blue-01); }
.thesis-toc-n { color: var(--blue-01); }
.content.chapter[id] { scroll-margin-top: 24px; }
@media screen and (max-width: 991px) {
  .thesis-line.heading-2.lightmode.center { font-size: var(--type-section-title); }
  .thesis-toc { gap: 12px 24px; }
  .thesis-toc-item { font-size: var(--type-label); }
}

/* ---------- Services (homepage row + /services page) ---------- */
.content.services { gap: 0; }
.services-inner { display: flex; flex-direction: column; gap: 32px; width: 100%; margin: 0 auto; }
.services-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  border: 1px solid var(--cool-gray-03);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.service-card:hover { border-color: var(--blue-01); background: var(--blue-03); }
.service-n { color: var(--blue-01); font-family: "Soehne Mono Buch", sans-serif; font-size: var(--type-label); line-height: 16px; letter-spacing: 0.8px; }
.service-t { color: var(--black); font-family: Signifier, sans-serif; font-size: var(--type-card-title); line-height: 120%; }
.service-s { color: var(--cool-gray-05); font-family: Ppneuemontreal, sans-serif; font-size: var(--type-small); line-height: 140%; letter-spacing: 0.1px; flex: 1 1 auto; }
.service-more { color: var(--blue-01); font-family: Ppneuemontreal, sans-serif; font-size: var(--type-small); font-weight: 500; }
@media screen and (max-width: 1199px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media screen and (max-width: 767px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 479px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }

.svc-list-page { display: flex; flex-direction: column; gap: 0; width: 100%; margin: 0 auto; }
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 80px;
  align-items: start;
  width: 100%;
  padding: 56px 0;
  border-top: 1px solid var(--cool-gray-03);
  scroll-margin-top: 110px;
}
.svc:last-child { padding-bottom: 0; }
.svc-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.svc-copy .heading-2.lightmode { font-size: var(--type-subheading); }
.svc-side { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-list li {
  display: flex;
  gap: 12px;
  color: var(--black);
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-body);
  line-height: 140%;
  letter-spacing: 0.1px;
}
.svc-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--blue-01); }
.svc-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media screen and (max-width: 991px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
  .svc-copy .heading-2.lightmode { font-size: var(--type-subheading); }
  .svc-list li { font-size: var(--type-body); }
}

/* ---------- Narrative homepage: splash copy ---------- */
.splash-kicker {
  margin: 0;
  color: var(--blue-01);
  font-family: "Soehne Mono Buch", sans-serif;
  font-size: var(--type-eyebrow);
  line-height: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
}
.paragraph.splash-sub { max-width: 620px; margin: 0 auto; text-wrap: balance; }

/* ---------- Statements (problem beats, big number) ---------- */
.content.statement { gap: 0; margin-top: 120px; margin-bottom: 120px; }
.statement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.statement-headline.heading-2.lightmode.center { text-align: center; text-wrap: balance; font-size: var(--type-section-title); line-height: 115%; }
.paragraph.statement-line { max-width: 640px; text-wrap: balance; }
.statement-bridge {
  margin: 0 0 8px;
  color: var(--cool-gray-05);
  font-family: Signifier, serif;
  font-style: italic;
  font-size: var(--type-intro);
  line-height: 130%;
}
.statement-note {
  margin: 0;
  max-width: 560px;
  color: var(--cool-gray-05);
  font-family: Ppneuemontreal, sans-serif;
  font-size: var(--type-small);
  line-height: 140%;
  text-wrap: balance;
}
@media screen and (max-width: 991px) {
  .content.statement { margin-top: 72px; margin-bottom: 72px; }
  .statement-headline.heading-2.lightmode.center { font-size: var(--type-section-title); }
  .statement-bridge { font-size: var(--type-intro); }
}

/* ---------- 1,000-condition simulation grid ---------- */
.sim-grid { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 3px; }
.sim-cell { aspect-ratio: 1; border-radius: 1.5px; background: #6270f340; }
.sim-cell.pick { background: var(--blue-01); box-shadow: 0 0 0 2px #2171e855; transform: scale(1.35); }
.key-dot.sim { background: #6270f340; }
@media screen and (max-width: 479px) { .sim-grid { gap: 2px; } }

/* ---------- Before/after bars ---------- */
.bars-rows { display: flex; flex-direction: column; gap: 22px; padding: 8px 0 4px; }
.bars-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 90px; align-items: center; gap: 16px; }
.bars-label { color: var(--cool-gray-05); font-family: Ppneuemontreal, sans-serif; font-size: var(--type-small); line-height: 1.2; }
.bars-track { height: 28px; border-radius: 6px; background: var(--blue-03, #f2f5fd); overflow: hidden; }
.bars-fill { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--cool-gray-04); transform-origin: left center; }
.bars-fill.ark { background: var(--blue-01); }
.bars-value { color: var(--black); font-family: Signifier, serif; font-size: var(--type-card-title); line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.bars-value.ark { color: var(--blue-01); }
@media screen and (max-width: 479px) {
  .bars-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .bars-track { grid-column: 1 / -1; grid-row: 2; }
  .bars-value { font-size: var(--type-card-title); }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-seq] .sim-cell { transition: background-color 0.3s ease-out; transition-delay: calc(var(--c) * 18ms + 0.1s); }
  [data-seq]:not(.is-in) .sim-cell { background: var(--blue-02); }
  [data-seq] .sim-cell.pick { transition: background-color 0.3s ease-out, transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.4s; transition-delay: calc(1.3s + var(--pick, 0) * .16s); }
  [data-seq]:not(.is-in) .sim-cell.pick { transform: none; box-shadow: none; }
  [data-seq] .bars-fill { transition: transform 0.9s cubic-bezier(0.3, 0.6, 0.3, 1); transition-delay: var(--d, 0s); }
  [data-seq]:not(.is-in) .bars-fill { transform: scaleX(0); }
}

/* Full-screen splash: fills the viewport under the sticky nav, content centered. */
.content.first-item.hero.splash.full {
  min-height: calc(100svh - 104px);
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 32px;
  justify-content: center;
}

/* Statement with a visual underneath (second screen). */
.statement-visual { width: 100%; max-width: 860px; margin-top: 24px; text-align: left; }
.viz-card.trial svg .dot { transform-box: fill-box; transform-origin: center; }

/* Restored homepage story motion from v1. */
.homepage-story { display: flow-root; }
.homepage-security { scroll-margin-top: 140px; }
.homepage-security .security-inner { max-width: none; }
.homepage-security .security-header { padding-inline: 0; }
.homepage-security .security-heading { color: var(--black); }
.homepage-security .section-icon { color: var(--black); }
.homepage-security .security-card:nth-child(odd) { padding-left: 0; }
.homepage-security .security-card:nth-child(even) { padding-right: 0; }
@media (max-width: 767px) {
  .homepage-security .security-card { padding-inline: 0; }
}
.homepage-closing .heading-2.lightmode.center {
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}
.homepage-closing > .vertical-wrapper-40px > .paragraph {
  max-width: 48ch;
  margin-inline: auto;
  text-wrap: balance;
}
.results-closing .heading-2.lightmode.center {
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}
.results-closing > .vertical-wrapper-40px > .paragraph {
  max-width: 48ch;
  margin-inline: auto;
  text-wrap: balance;
}
/* Arrowheads travel with the homepage divider’s existing scroll draw. */
.homepage-story .spine { position: relative; }
.homepage-story .spine::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--secondary-02);
  border-bottom: 2px solid var(--secondary-02);
  transform: translateX(-50%) rotate(45deg);
}
/* One reversible scroll-controlled wipe per text block. The original text
   takes over at completion, keeping all letters solid and free of mask edges. */
.text-wipe-ink { display: none; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal="text"] {
    opacity: 1;
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  [data-reveal="text"]:not(.is-in) { opacity: 0; transform: translateY(14px); }
  [data-reveal="text"].is-in { opacity: 1; transform: none; }
  .text-wipe-block { display: block; position: relative; }
  [data-reveal="text"] .text-wipe-muted { opacity: .22; }
  [data-reveal="text"] .text-wipe-ink {
    display: block;
    position: absolute;
    inset: 0;
    clip-path: inset(0 100% 0 0);
  }
  [data-reveal="text"][data-text-complete="true"] .text-wipe-muted { opacity: 1; }
  [data-reveal="text"][data-text-complete="true"] .text-wipe-ink { visibility: hidden; }
}

/* The existing graphic sequences retain their part timings, but their clocks
   are paused and positioned by scroll. No animation advances while stationary. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-scroll-seq] .draw,
  [data-scroll-seq] .dot,
  [data-scroll-seq] .fade,
  [data-scroll-seq] .wipe,
  [data-scroll-seq] .bars-fill,
  [data-scroll-seq] .sim-cell {
    transition: none;
    animation-play-state: paused;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-delay: calc(var(--d, 0s) - var(--seq-time, 0s));
    animation-timing-function: cubic-bezier(.3, .6, .3, 1);
  }
  [data-scroll-seq] .draw { animation-name: graphic-draw; animation-duration: var(--t, .9s); }
  [data-scroll-seq] .dot { animation-name: graphic-dot; animation-duration: .35s; animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
  [data-scroll-seq] .fade { animation-name: graphic-fade; animation-duration: .5s; }
  [data-scroll-seq] .fade.slide { animation-name: graphic-slide; }
  [data-scroll-seq] .wipe { animation-name: graphic-wipe; animation-duration: var(--t, .7s); }
  [data-scroll-seq] .bars-fill { animation-name: graphic-bar; animation-duration: .9s; }
  [data-scroll-seq] .sim-cell {
    animation-name: graphic-cell;
    animation-duration: .3s;
    animation-delay: calc(var(--c) * 18ms + .1s - var(--seq-time, 0s));
    animation-timing-function: ease-out;
  }
  [data-scroll-seq] .sim-cell.pick {
    animation-name: graphic-pick;
    animation-duration: .4s;
    animation-delay: calc(1.3s + var(--pick, 0) * .16s - var(--seq-time, 0s));
    animation-timing-function: cubic-bezier(.3, 1.4, .5, 1);
  }
  @keyframes graphic-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes graphic-dot { from { transform: scale(0); } to { transform: scale(1); } }
  @keyframes graphic-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes graphic-slide { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes graphic-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes graphic-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes graphic-cell { from { background-color: var(--blue-02); } to { background-color: #6270f340; } }
  @keyframes graphic-pick {
    from { background-color: var(--blue-02); transform: scale(1); box-shadow: 0 0 0 0 #2171e800; }
    to { background-color: var(--blue-01); transform: scale(1.35); box-shadow: 0 0 0 2px #2171e855; }
  }
}

@keyframes spine-arrow-reveal {
  0%, 74.999% { opacity: 0; }
  75%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .homepage-story .spine { view-timeline-name: --spine-reveal; }
    .homepage-story .spine::after {
      animation: spine-arrow-reveal linear both;
      animation-timeline: --spine-reveal;
      animation-range: cover 0% cover 45%;
    }
  }
}

/* Lab screening: immediate marker and column hover feedback. */
.trial-column { pointer-events: none; transition: none; }
.trial-point circle, .trial-point path { transition: none; }
.trial-point:hover circle { fill: var(--blue-01); stroke: var(--blue-01); }
.trial-point:hover path { stroke: var(--white); }
.trial svg:has(.trial-point[data-week="0"]:hover) .trial-column[data-week="0"] { fill: var(--blue-03); }
.trial svg:has(.trial-point[data-week="1"]:hover) .trial-column[data-week="1"] { fill: var(--blue-03); }
.trial svg:has(.trial-point[data-week="2"]:hover) .trial-column[data-week="2"] { fill: var(--blue-03); }
.trial svg:has(.trial-point[data-week="3"]:hover) .trial-column[data-week="3"] { fill: var(--blue-03); }
.trial svg:has(.trial-point[data-week="4"]:hover) .trial-column[data-week="4"] { fill: var(--blue-03); }
.trial svg:has(.trial-point[data-week="5"]:hover) .trial-column[data-week="5"] { fill: var(--blue-03); }
