/* The narrative travels with the scroll. The product frame stays put. */

.runner-chapters {
  --nav: var(--_navbar---navbar-height, 72px);
  --pin: calc(100vh - var(--nav));
  --peek: 118px;
  --range: 90vh;
  --rc-ink: #faf9f5;
  --rc-ink-soft: rgba(250, 249, 245, 0.74);
  --rc-ink-muted: rgba(250, 249, 245, 0.44);
  --rc-line: rgba(250, 249, 245, 0.12);
  --rc-surface: #1c1c1b;
  --rc-inset: rgba(250, 249, 245, 0.04);
  --rc-story-offset: clamp(36px, 5.5vh, 64px);
  --rc-chrome-h: 50px;
  --rc-stage-h: clamp(400px, 46vh, 496px);
  --rc-card-h: calc(var(--rc-chrome-h) + var(--rc-stage-h));
  --rc-chapter-dim: 0.3;
  --rc-chapter-far: 0.22;
  --rc-mobile-story-h: clamp(212px, 36vh, 292px);
  --rc-mobile-card-h: clamp(280px, 38vh, 336px);
  position: relative;
  overflow: visible;
  background: rgb(20, 20, 19);
  color: var(--rc-ink);
  box-sizing: border-box;
}

.runner-chapters *,
.runner-chapters *::before,
.runner-chapters *::after {
  box-sizing: border-box;
}

.runner-chapters__layout {
  width: 100%;
  margin: 0 auto;
  min-height: 0;
}

.runner-chapters__pane {
  opacity: 0;
  pointer-events: none;
}

/* —— Narrative —— */

.runner-chapters__index {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 12px;
  font-family: "BDO Grotesk", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rc-ink-muted);
}

.runner-chapters__sep {
  opacity: 0.45;
}

.runner-chapters__label {
  letter-spacing: 0.1em;
}

.runner-chapters__chapter h2 {
  margin: 0;
  max-width: 11em;
  font-family: var(--_typography---type-font-headings, "Libre Caslon Condensed", "Times New Roman", serif);
  font-weight: 400;
  font-synthesis: none;
  font-size: clamp(30px, 7.2vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--rc-ink);
}

.runner-chapters__lede {
  margin: 10px 0 0;
  max-width: 24em;
  font-family: "BDO Grotesk", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.48;
  color: var(--rc-ink-soft);
}

.runner-chapters__points {
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 991px) {
  .runner-chapters {
    --range: 100vh;
    padding-top: clamp(56px, 8vh, 104px);
    height: calc(var(--pin) + 3 * var(--range));
  }

  .runner-chapters__pin {
    position: sticky;
    top: var(--nav);
    height: var(--pin);
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
  }

  .runner-chapters__layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(12px, 2vh, 18px);
    width: min(520px, calc(100% - 32px));
    height: 100%;
    max-height: var(--pin);
    padding: clamp(14px, 2.8vh, 24px) 0 clamp(12px, 2vh, 18px);
  }

  .runner-chapters__story {
    display: block;
    container-type: size;
  }

  .runner-chapters__track {
    position: relative;
    display: block;
    height: 100%;
    will-change: transform;
  }

  .runner-chapters__demo {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    height: var(--rc-mobile-card-h);
    max-height: var(--rc-mobile-card-h);
    min-height: 0;
    margin: 0;
  }

  .runner-chapters__frame {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: var(--rc-mobile-card-h);
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    background: var(--rc-surface);
    overflow: hidden;
  }

  .runner-chapters__chrome {
    display: flex;
    align-items: center;
    flex: 0 0 42px;
    gap: 10px;
    height: 42px;
    padding: 0 16px;
    border-bottom: 1px solid var(--rc-line);
    font-family: var(--_typography---type-font-headings, "Libre Caslon Condensed", "Times New Roman", serif);
  font-weight: 400;
    font-weight: 600;
    font-synthesis: none;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--rc-ink);
  }

  .runner-chapters__mark {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .runner-chapters__chrome-label {
    margin-left: auto;
    font-family: "BDO Grotesk", Arial, sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rc-ink-muted);
  }

  .runner-chapters__panes {
    display: block;
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
  }

  .runner-chapters__pane-track {
    position: absolute;
    inset: 0;
  }

  .runner-chapters__chapter {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: 100%;
    padding: 4px 0 10px;
    overflow: hidden;
    transition: none;
    will-change: transform, opacity;
  }

  .runner-chapters__pane {
    position: absolute;
    inset: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
  }

  .runner-chapters__story {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    height: auto;
    min-height: var(--rc-mobile-story-h);
    max-height: none;
    overflow: hidden;
    background: transparent;
  }

  .runner-chapters__demo {
    position: relative;
    z-index: 1;
    margin-top: auto;
    flex-shrink: 0;
  }

  .runner-chapters__pane .rp {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .runner-chapters__index {
    margin-bottom: 12px;
  }

  .runner-chapters__chapter h2 {
    line-height: 1.08;
  }

  .runner-chapters__lede {
    margin-top: 14px;
    line-height: 1.5;
  }

  .runner-chapters__points {
    margin-top: 12px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp {
    padding: 14px 16px 14px;
    font-size: 12px;
    gap: 10px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp .rp-k {
    line-height: 1.3;
  }

  /* —— Intelligence —— */
  :is(.runner-chapters, .runner-mosaic) .rp.rp-intel {
    gap: 12px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-identity {
    text-align: left;
    max-width: none;
    width: 100%;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-name {
    font-size: clamp(22px, 6vw, 26px);
    line-height: 1.05;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-desc {
    margin-top: 5px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 1 auto;
    min-height: 0;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-insights {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-cell {
    gap: 5px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-cell:nth-child(3) {
    padding-top: 12px;
    margin-top: 2px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-focus {
    padding: 14px 0 0;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--rc-line);
    gap: 7px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-focus-title {
    font-size: clamp(17px, 4.8vw, 20px);
    line-height: 1.15;
  }

  /* —— Strategy —— */
  :is(.runner-chapters, .runner-mosaic) .rp.rp-strat {
    gap: 0;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 0 1 auto;
    min-height: 0;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-primary {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-objective {
    margin-top: 0;
    max-width: none;
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.18;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-pillars {
    padding: 14px 0;
    margin: 0;
    border: 0;
    gap: 12px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-pillars li {
    grid-template-columns: minmax(0, 5.8em) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-pillars li span:first-child {
    line-height: 1.3;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-pillars li span:last-child {
    line-height: 1.4;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-foot {
    margin-top: 0;
    padding-top: 14px;
    gap: 7px;
  }

  /* —— Creation —— */
  :is(.runner-chapters, .runner-mosaic) .rp.rp-create {
    gap: 12px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-stage {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 1 auto;
    min-height: 0;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-lead {
    justify-content: flex-start;
    gap: 10px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-mosaic {
    width: 100%;
    height: auto;
    max-height: 118px;
    min-height: 96px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-headline {
    font-size: clamp(20px, 5.2vw, 24px);
    line-height: 1.12;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-strip {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-strip li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 0;
    border-top: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-strip li:first-child {
    border-top: 0;
    padding-top: 0;
  }

  /* —— Execution —— */
  :is(.runner-chapters, .runner-mosaic) .rp.rp-exec {
    gap: 0;
    overflow-y: auto;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rc-line);
    flex-shrink: 0;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-slots {
    gap: 6px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-slots li {
    padding: 7px 8px;
    gap: 3px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-campaign {
    font-size: clamp(16px, 4.5vw, 18px);
    line-height: 1.15;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-mid {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 0 0 auto;
    min-height: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-feed {
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-feed p {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-signals {
    padding: 14px 0 0;
    border: 0;
    gap: 11px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-meter {
    grid-template-columns: minmax(0, 5.2em) minmax(0, 1fr) minmax(0, 3.6em);
    gap: 6px;
    row-gap: 4px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-meter > span,
  :is(.runner-chapters, .runner-mosaic) .rp-meter em {
    font-size: 9px;
    line-height: 1.25;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-opt {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 14px;
    gap: 7px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-opt p {
    line-height: 1.42;
  }
}


.runner-chapters__points li {
  position: relative;
  margin: 0;
  padding: 3px 0 3px 18px;
  font-family: "BDO Grotesk", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42;
  color: rgba(250, 249, 245, 0.9);
}

.runner-chapters__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 1px;
  background: rgba(250, 249, 245, 0.5);
}

html.theme-dark body .runner-chapters img.runner-chapters__mark[src*="TheLongRunLogo"] {
  filter: none !important;
}

/* —— Product shell (rp) —— */

:is(.runner-chapters, .runner-mosaic) .rp {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 18px 20px 16px;
  font-family: "BDO Grotesk", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.42;
  color: var(--rc-ink);
}

:is(.runner-chapters, .runner-mosaic) .rp :is(p, h3, ul, ol, li, figure, figcaption, footer, header, section, aside, i, b) {
  margin: 0;
}

:is(.runner-chapters, .runner-mosaic) .rp .rp-k {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rc-ink-muted);
}

:is(.runner-chapters, .runner-mosaic) .rp .rp-serif {
  font-family: var(--_typography---type-font-headings, "Libre Caslon Condensed", "Times New Roman", serif);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.024em;
}

:is(.runner-chapters, .runner-mosaic) .rp .rp-soft {
  color: var(--rc-ink-soft);
}

/* Intelligence */

:is(.runner-chapters, .runner-mosaic) .rp.rp-intel {
  gap: 14px;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-identity {
  text-align: right;
  max-width: 58%;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-name {
  margin-top: 4px;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-desc {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--rc-ink-soft);
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 18px;
  flex: 1;
  min-height: 0;
  align-content: start;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-cell:nth-child(3) {
  grid-column: 1 / -1;
  padding-top: 2px;
  border-top: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-cell p {
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--rc-ink-soft);
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-focus {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-focus-title {
  font-size: 21px;
  line-height: 1.12;
}

:is(.runner-chapters, .runner-mosaic) .rp-intel-focus-note {
  font-size: 12px;
  line-height: 1.4;
  color: var(--rc-ink-muted);
}

/* Strategy */

:is(.runner-chapters, .runner-mosaic) .rp.rp-strat {
  gap: 12px;
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  flex: 1;
  min-height: 0;
  align-content: start;
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-objective {
  margin-top: 8px;
  max-width: 11em;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.14;
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-pillars {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 0;
  border-left: 1px solid var(--rc-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-pillars li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-pillars li span:last-child {
  font-size: 13px;
  color: var(--rc-ink-soft);
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-foot {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-strat-foot p {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--rc-ink-soft);
}

/* Creation */

:is(.runner-chapters, .runner-mosaic) .rp.rp-create {
  gap: 12px;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rc-ink-muted);
}

:is(.runner-chapters, .runner-mosaic) .rp-create-headline {
  font-size: clamp(24px, 2.9vw, 30px);
  line-height: 1.08;
  font-style: italic;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 1fr 0.42fr;
  gap: 6px;
  min-height: 0;
  height: 100%;
  max-height: 188px;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-tile {
  display: block;
  background: rgba(250, 249, 245, 0.07);
  border: 1px solid rgba(250, 249, 245, 0.08);
}

:is(.runner-chapters, .runner-mosaic) .rp-create-tile.is-main {
  grid-row: 1 / span 2;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-strip {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-create-strip li {
  display: grid;
  gap: 3px;
  padding: 0 10px;
  border-left: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-create-strip li:first-child {
  padding-left: 0;
  border-left: 0;
}

:is(.runner-chapters, .runner-mosaic) .rp-create-state {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rc-ink-muted);
}

:is(.runner-chapters, .runner-mosaic) .rp-create-detail {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--rc-ink-muted);
}

/* Execution */

:is(.runner-chapters, .runner-mosaic) .rp.rp-exec {
  gap: 10px;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: end;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-campaign {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.1;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-slots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-slots li {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: var(--rc-inset);
  border: 1px solid rgba(250, 249, 245, 0.07);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-slots li > span {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rc-ink-muted);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-slots b {
  font-weight: 500;
  font-size: 13px;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-slots i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rc-ink-muted);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  flex: 1;
  min-height: 0;
  align-content: start;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-feed p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-feed span:last-child {
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--rc-ink-soft);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-signals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-meter {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
}

:is(.runner-chapters, .runner-mosaic) .rp-meter > span {
  font-size: 12px;
  color: var(--rc-ink-soft);
}

:is(.runner-chapters, .runner-mosaic) .rp-meter i {
  display: block;
  height: 2px;
  font-size: 0;
  background: rgba(250, 249, 245, 0.1);
}

:is(.runner-chapters, .runner-mosaic) .rp-meter i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
  background: rgba(250, 249, 245, 0.72);
}

:is(.runner-chapters, .runner-mosaic) .rp-meter em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: right;
  color: var(--rc-ink-muted);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-opt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
}

:is(.runner-chapters, .runner-mosaic) .rp-exec-opt p {
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--rc-ink-soft);
}

@media (max-width: 480px) {
  :is(.runner-chapters, .runner-mosaic) .rp {
    padding: 20px 18px 18px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-identity {
    text-align: left;
    max-width: none;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-main {
    grid-template-columns: 1fr;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-intel-focus {
    padding-left: 0;
    border-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-body,
  :is(.runner-chapters, .runner-mosaic) .rp-create-stage,
  :is(.runner-chapters, .runner-mosaic) .rp-exec-top,
  :is(.runner-chapters, .runner-mosaic) .rp-exec-mid {
    grid-template-columns: 1fr;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-strat-pillars {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--rc-line);
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-strip li {
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--rc-line);
    padding-top: 10px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-strip li:first-child {
    border-top: 0;
    padding-top: 0;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-exec-signals {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--rc-line);
  }
}

@media (min-width: 992px) {
  .runner-chapters {
    --range: 90vh;
    --peek: 104px;
    height: calc(var(--pin) + 3 * var(--range));
    padding-top: clamp(88px, 10vh, 148px);
  }

  .runner-chapters__pin {
    position: sticky;
    top: var(--nav);
    height: var(--pin);
    display: grid;
    place-items: center;
    overflow: visible;
  }

  .runner-chapters__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
    gap: clamp(32px, 3.5vw, 56px);
    align-items: stretch;
    width: min(1180px, calc(100% - 64px));
    height: min(var(--pin), 100%);
    max-height: var(--pin);
    max-width: none;
    padding: 0;
    flex-direction: unset;
  }

  .runner-chapters__story,
  .runner-chapters__track,
  .runner-chapters__panes,
  .runner-chapters__pane-track {
    display: block;
  }

  .runner-chapters__story {
    position: static;
    z-index: auto;
    flex: unset;
    container-type: size;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding-top: var(--rc-story-offset);
    overflow: hidden;
    background: transparent;
  }

  .runner-chapters__track {
    position: static;
    height: auto;
    will-change: transform;
  }

  .runner-chapters__chapter {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(82cqh - var(--peek));
    min-height: 0;
    padding: 6px 4px 0 0;
    order: 0;
    overflow: visible;
    transform: none !important;
    visibility: visible;
    will-change: transform;
  }

  .runner-chapters__index {
    margin-bottom: 12px;
  }

  .runner-chapters__chapter h2 {
    font-size: clamp(32px, 2.35vw, 40px);
    max-width: 10em;
  }

  .runner-chapters__lede {
    margin-top: 10px;
    max-width: 21em;
    font-size: 15px;
  }

  .runner-chapters__points {
    margin-top: 12px;
  }

  .runner-chapters__demo {
    display: block;
    position: static;
    z-index: auto;
    flex: unset;
    min-width: 0;
    width: auto;
    height: 100%;
    max-height: none;
    min-height: 0;
    align-self: stretch;
    margin: 0;
  }

  .runner-chapters__frame {
    position: sticky;
    top: calc(var(--nav) + (var(--pin) - min(var(--rc-card-h), calc(var(--pin) - 24px))) / 2);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--rc-card-h);
    max-height: min(var(--rc-card-h), calc(var(--pin) - 24px));
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    background: var(--rc-surface);
    overflow: hidden;
  }

  .runner-chapters__chrome {
    display: flex;
    align-items: center;
    flex: 0 0 var(--rc-chrome-h);
    gap: 10px;
    height: var(--rc-chrome-h);
    padding: 0 22px;
    border-bottom: 1px solid var(--rc-line);
    font-family: var(--_typography---type-font-headings, "Libre Caslon Condensed", "Times New Roman", serif);
  font-weight: 400;
    font-weight: 600;
    font-synthesis: none;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--rc-ink);
  }

  .runner-chapters__mark {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .runner-chapters__chrome-label {
    margin-left: auto;
    font-family: "BDO Grotesk", Arial, sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rc-ink-muted);
  }

  .runner-chapters__panes {
    position: relative;
    flex: 0 0 var(--rc-stage-h);
    height: var(--rc-stage-h);
    min-height: 0;
    overflow: hidden;
  }

  .runner-chapters__pane-track {
    position: absolute;
    inset: 0;
    transform: none;
  }

  .runner-chapters__pane {
    position: absolute;
    inset: 0;
    height: auto;
    order: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    opacity: 0;
    transform: none;
    pointer-events: none;
    transition: none;
  }

  .runner-chapters__pane.is-active {
    pointer-events: auto;
  }

  :is(.runner-chapters, .runner-mosaic) .rp {
    padding: 26px 30px 24px;
    font-size: 14px;
    overflow: hidden;
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .runner-chapters {
    --peek: 88px;
    --rc-stage-h: clamp(360px, 42vh, 432px);
  }

  .runner-chapters__layout {
    height: min(var(--pin), 100%);
  }

  .runner-chapters__chapter h2 {
    font-size: 30px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp {
    padding: 16px 20px 14px;
  }

  :is(.runner-chapters, .runner-mosaic) .rp-create-mosaic {
    max-height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .runner-chapters__chapter {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 992px) {
  .runner-chapters__pane {
    opacity: 0;
  }

  .runner-chapters__pane.is-active {
    opacity: 1;
  }
}
