/* The research rail: borderless centred pull-quotes drifting past,
   injected by research-strip.js on every page. */

.research-strip {
  padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 5vw, 60px);
}

.rs-rail {
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rs-belt {
  position: relative;
  display: flex;
  width: max-content;
  will-change: transform;
}

.rs-list {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding-right: 64px;
  width: max-content;
}

.rs-card {
  flex: 0 0 440px;
  box-sizing: border-box;
  padding: 0 10px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.rs-q {
  font-size: 54px;
  line-height: 1;
  height: 30px;
  font-weight: 700;
  opacity: .18;
  display: block;
}

.rs-finding {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -.012em;
  font-weight: 500;
  margin: 0 0 14px;
  text-wrap: balance;
}

.rs-source {
  font-size: 12.5px;
  line-height: 1.6;
  color: #8b8b8b;
  margin: 0;
  max-width: 44ch;
  transition: color .25s;
}
.rs-card:hover .rs-source { color: inherit; }
.rs-mark {
  font-weight: 700;
  letter-spacing: -.01em;
}
.rs-title { opacity: .85; }
.rs-arrow { opacity: .6; }

@media (max-width: 600px) {
  .rs-card { flex-basis: 320px; }
  .rs-list { gap: 70px; padding-right: 70px; }
  .rs-finding { font-size: 16px; }
}

.rs-logo {
  height: 20px;
  width: auto;
  max-width: 180px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 6px;
  filter: brightness(0) invert(1);
  opacity: .6;
  pointer-events: none;
}
html[data-theme=light] .rs-logo { filter: brightness(0); opacity: .5; }

/* Manrope for the research quotes - self-hosted variable font (latin). */
@font-face {
  font-family: 'Manrope';
  src: url('/vendor/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Instrument Serif for the quotes; bylines stay sans. Self-hosted. */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/vendor/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.rs-finding {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
}
.rs-q { font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif; }
.rs-mark { font-weight: 700; }
