/*
 * /research page styles (loaded only on that page, from inside its Barba
 * container — see components/pages/ResearchContent.tsx). Everything is scoped
 * under .rs so nothing leaks into the Webflow pages, and it overrides the
 * Webflow shared CSS's element defaults (h1–h3, p, li, a) inside .rs only.
 *
 * Fonts are the site's own: Tobias (display), GT Standard (body/UI),
 * ABC Favorit Mono (labels). Square corners, no shadows, no gradients.
 */

.rs {
  --rs-bg: var(--light, #efece1);
  --rs-ink: var(--dark, #0f0e10);
  --rs-text: #3a383d;
  --rs-text-2: #4a484d;
  --rs-muted: #5f5b54; /* 4.5:1+ on the page background */
  --rs-rule: #cfc9bb;
  --rs-panel: var(--cream, #e4dfcd);
  --rs-input: #f7f5ee;
  --rs-input-border: #a39d90;
  --rs-bio: #a8323a;
  --rs-ai: #3550b8;
  --rs-gutter: clamp(20px, 5%, 80px);

  --rs-serif: "Tobiasvf Trial", "Times New Roman", serif;
  --rs-sans: "Gt Standard S Standard Trial", Arial, sans-serif;
  --rs-mono: "Abcfavoritmono Trial", ui-monospace, Menlo, monospace;

  background: var(--rs-bg);
  color: var(--rs-ink);
  font-family: var(--rs-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Reset the Webflow element defaults inside the page */
.rs h1,
.rs h2,
.rs h3,
.rs p,
.rs ol,
.rs ul,
.rs figure {
  margin: 0;
}
.rs h1,
.rs h2,
.rs h3 {
  font-family: var(--rs-serif);
  font-weight: 400;
}
.rs li {
  letter-spacing: normal;
  font-size: inherit;
}
.rs a {
  color: var(--rs-ink);
}
.rs a:hover {
  color: var(--rs-ai);
}
.rs button,
.rs input,
.rs select {
  font: inherit;
  border-radius: 0;
}
.rs button {
  cursor: pointer;
}
.rs :focus-visible {
  outline: 2px solid var(--rs-ai);
  outline-offset: 2px;
}
.rs [hidden] {
  display: none !important;
}

/* Controls that only do something with JS stay out of the no-JS page.
   `w-mod-js` is set on <html> by Webflow's inline head script. */
html:not(.w-mod-js) .rs .rs-js-only {
  display: none !important;
}

/* ------------------------------------------------------------------ layout */

.rs-section {
  padding-left: var(--rs-gutter);
  padding-right: var(--rs-gutter);
}
.rs-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

/* ------------------------------------------------------------- type pieces */

.rs-eyebrow {
  font-family: var(--rs-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rs-label {
  font-family: var(--rs-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.rs-label--ink {
  font-size: 12px;
  letter-spacing: 0.08em;
}
.rs-h2 {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.rs-authors {
  font-size: 15px;
  line-height: 1.5;
  color: var(--rs-text-2);
}
.rs-authors strong {
  font-weight: 600;
  color: var(--rs-ink);
}

/* ------------------------------------------------------------------ hero */

.rs-hero {
  /* the site header is fixed (80px) and overlays the page */
  padding-top: clamp(136px, 14vw, 192px);
  padding-bottom: 72px;
}
.rs-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.rs .rs-hero__title {
  max-width: 1020px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.rs-hero__rule {
  border-top: 1px solid var(--rs-ink);
  padding-top: 28px;
}
.rs-hero__intro {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--rs-text-2);
}

/* ------------------------------------------------------------- buttons */

.rs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--rs-ink);
  background: var(--rs-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.rs a.rs-btn,
.rs .rs-btn {
  color: var(--rs-bg);
}
.rs a.rs-btn:hover,
.rs .rs-btn:hover {
  background: var(--rs-ai);
  border-color: var(--rs-ai);
  color: #fff;
}
.rs .rs-btn--outline,
.rs a.rs-btn--outline {
  background: transparent;
  color: var(--rs-ink);
  font-weight: 400;
}
.rs .rs-btn--outline:hover,
.rs a.rs-btn--outline:hover {
  background: var(--rs-ink);
  border-color: var(--rs-ink);
  color: var(--rs-bg);
}
.rs-btn--sm {
  min-height: 44px;
  padding: 0 18px;
  gap: 8px;
  font-size: 14px;
}
.rs .rs-btn--quiet,
.rs a.rs-btn--quiet {
  padding: 0 16px;
  border-color: var(--rs-input-border);
  background: transparent;
  color: var(--rs-ink);
  font-weight: 400;
}
.rs .rs-btn--quiet:hover,
.rs a.rs-btn--quiet:hover {
  border-color: var(--rs-ink);
  background: transparent;
  color: var(--rs-ai);
}
.rs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------- tags */

.rs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.rs-tag {
  --rs-tag: var(--rs-ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid var(--rs-tag);
  color: var(--rs-tag);
  font-family: var(--rs-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rs-tag--biology {
  --rs-tag: var(--rs-bio);
}
.rs-tag--ai {
  --rs-tag: var(--rs-ai);
}
.rs-tag__mark {
  width: 7px;
  height: 7px;
  background: var(--rs-tag);
}
.rs-tag--biology .rs-tag__mark {
  border-radius: 50%;
}
.rs-sample {
  border: 1px dashed var(--rs-input-border);
  padding: 3px 8px;
  font-family: var(--rs-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}

/* ------------------------------------------------------------- featured */

.rs-featured {
  padding-bottom: 96px;
}
.rs-feature {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--rs-ink);
  background: var(--rs-input);
}
.rs-figure {
  position: relative;
  flex: 1 1 180px;
  min-height: 200px;
  overflow: hidden;
  background-color: var(--rs-panel);
}
.rs-figure--large {
  flex: 1 1 420px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Placeholder patterns (1px lines / dots, not gradients in the visual sense) */
.rs-figure--grid {
  background-image: linear-gradient(#d8d3c6 1px, transparent 1px), linear-gradient(90deg, #d8d3c6 1px, transparent 1px);
  background-size: 20px 20px;
}
.rs-figure--large.rs-figure--grid {
  background-size: 28px 28px;
}
.rs-figure--dots {
  background-image: radial-gradient(#c9c4b8 1.2px, transparent 1.2px);
  background-size: 14px 14px;
}
.rs-figure__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-figure__art {
  max-width: 60%;
  height: auto;
}
.rs-figure__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--rs-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.rs-figure--large .rs-figure__label {
  left: 20px;
  bottom: 16px;
  font-size: 11px;
}
.rs-figure__label--caption {
  right: 12px;
  padding: 4px 8px;
  background: var(--rs-input);
  color: var(--rs-text);
  text-transform: none;
  letter-spacing: 0.02em;
}
.rs-feature__body {
  flex: 999 1 520px;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.rs-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-family: var(--rs-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.rs-feature__kicker {
  color: var(--rs-ai);
}
.rs .rs-feature__title {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.rs-authors--feature {
  color: var(--rs-muted);
}
.rs-authors--feature strong {
  font-weight: 500;
}
.rs-feature__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--rs-rule);
  padding-top: 20px;
}
.rs-feature__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--rs-text);
}
.rs-feature .rs-actions {
  margin-top: 6px;
}

.rs-cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
}
.rs-card {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  border: 1px solid var(--rs-ink);
}
.rs-card__body {
  flex: 999 1 260px;
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rs .rs-card__title {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.rs-card__title a {
  text-decoration: none;
}
.rs-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--rs-text-2);
}
.rs-card__more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-underline-offset: 4px;
}

/* ------------------------------------------------------------- venues */

.rs-venues {
  padding-bottom: 96px;
}
.rs-venues__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 40px;
  border-top: 1px solid var(--rs-rule);
  border-bottom: 1px solid var(--rs-rule);
  padding: 22px 0;
}
.rs-venues__name {
  font-family: var(--rs-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.3;
}

/* ------------------------------------------------------------- filters */

.rs-filters .rs-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rs-filters__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.rs-seg {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--rs-ink);
}
.rs .rs-seg__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--rs-ink);
  font-size: 15px;
  font-weight: 500;
}
.rs .rs-seg__btn[aria-pressed="true"] {
  background: var(--rs-ink);
  color: var(--rs-bg);
}
.rs-seg__count {
  font-family: var(--rs-mono);
  font-size: 12px;
  opacity: 0.7;
}
.rs-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  border-top: 1px solid var(--rs-ink);
  padding-top: 24px;
}
.rs-field {
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-field--search {
  flex: 2 1 260px;
}
.rs-field--sort {
  flex: 1 1 140px;
}
.rs .rs-input {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--rs-input-border);
  background: var(--rs-input);
  color: var(--rs-ink);
  font-size: 15px;
  line-height: 1.2;
}
.rs .rs-input::placeholder {
  color: var(--rs-muted);
  opacity: 1;
}
.rs .rs-select {
  padding: 0 40px 0 12px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230f0e10' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
}
.rs-results {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.rs-results__text {
  font-family: var(--rs-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.rs .rs-clear {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rs-rule);
  background: transparent;
  color: var(--rs-ink);
  font-size: 14px;
}
.rs .rs-clear:hover {
  border-color: var(--rs-ink);
}

/* ------------------------------------------------------------- list */

.rs-list {
  padding-bottom: 120px;
}
.rs-empty {
  border-top: 1px solid var(--rs-ink);
  padding: 72px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.rs-empty__text {
  font-family: var(--rs-serif);
  font-size: 32px;
  line-height: 1.2;
}
.rs .rs-empty .rs-btn {
  border: 0;
}

.rs-paper {
  border-top: 1px solid var(--rs-ink);
  padding: 36px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  scroll-margin-top: 100px;
}
.rs-paper__meta {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rs-paper__year {
  font-family: var(--rs-mono);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.rs-paper__meta .rs-label--ink {
  color: var(--rs-muted);
}
.rs-venue {
  font-family: var(--rs-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--rs-text);
}
.rs-peer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rs-text);
}
.rs-paper__body {
  flex: 999 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rs .rs-paper__title {
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
.rs-paper__title a {
  text-decoration: none;
}
.rs-paper__explain {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  border-top: 1px solid var(--rs-rule);
  padding-top: 18px;
}
.rs-level {
  flex: 3 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rs-level__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
.rs-level__options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
/* Selected level: ink, weight 600, 1px ink underline. Others muted. No fill, no orange. */
.rs .rs-level__btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--rs-muted);
  font-size: 15px;
  font-weight: 400;
}
.rs .rs-level__btn:hover {
  color: var(--rs-ink);
}
.rs .rs-level__btn[aria-pressed="true"] {
  color: var(--rs-ink);
  font-weight: 600;
  border-bottom-color: var(--rs-ink);
}
.rs-level__text p {
  font-size: 17px;
  line-height: 1.6;
}
.rs-why {
  flex: 2 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-why__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--rs-text);
}
.rs-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.rs .rs-topic {
  position: relative;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--rs-rule);
  background: transparent;
  color: var(--rs-text);
  font-size: 13px;
}
/* 44px touch target around the 32px chip */
.rs .rs-topic::after {
  content: "";
  position: absolute;
  inset: -6px -4px;
}
.rs .rs-topic:hover {
  border-color: var(--rs-ink);
  color: var(--rs-ink);
}
.rs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.rs .rs-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--rs-ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rs .rs-toggle:hover {
  color: var(--rs-ai);
}

/* Details panel: open by default without JS; with JS, closed until toggled. */
.rs-details {
  background: var(--rs-panel);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}
html.w-mod-js .rs-details:not(.is-open) {
  display: none;
}
.rs-details__col {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rs .rs-takeaways {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.rs-citation {
  font-family: var(--rs-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--rs-text);
  overflow-wrap: anywhere;
}
.rs-cite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.rs .rs-copy {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rs-input-border);
  background: var(--rs-bg);
  color: var(--rs-ink);
  font-size: 13px;
}
.rs .rs-copy:hover {
  border-color: var(--rs-ink);
}
.rs-doi {
  font-family: var(--rs-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
  padding: 12px 0;
}
.rs-reviewed {
  margin-top: 6px;
  font-size: 12px;
  color: var(--rs-muted);
}

/* ------------------------------------------------------------- collaborate */

.rs-collab {
  padding-bottom: 120px;
}
.rs-collab__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  border-top: 1px solid var(--rs-ink);
  padding-top: 48px;
}
.rs-collab__main {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rs .rs-h2--collab {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.04;
}
.rs-collab__text {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--rs-text-2);
}
.rs-subscribe {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  background: var(--rs-panel);
  padding: 32px;
}
.rs-subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.rs-subscribe__title {
  margin: 0;
  font-family: var(--rs-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}
.rs-subscribe__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rs-subscribe__row .rs-input {
  flex: 1 1 200px;
  width: auto;
}
.rs .rs-btn--submit {
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}
.rs .rs-btn--submit:disabled {
  opacity: 0.6;
  cursor: default;
}
/* Webflow's form states (shown/hidden by public/site/forms.js) */
.rs .rs-form-msg {
  padding: 0;
  background: transparent;
  text-align: left;
  font-size: 17px;
  line-height: 1.5;
  color: var(--rs-ink);
}
.rs .rs-form-msg--fail {
  margin-top: 0;
  color: var(--rs-bio);
}

/* ------------------------------------------------------------- narrow */

@media (max-width: 700px) {
  .rs-filters__row {
    flex-direction: column;
    align-items: stretch;
  }
  .rs-field,
  .rs-field--search,
  .rs-field--sort {
    flex: 0 0 auto;
  }
  .rs-seg {
    width: 100%;
  }
  .rs .rs-seg__btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 16px;
  }
  .rs-paper {
    flex-direction: column;
    gap: 20px;
  }
  .rs-paper__meta {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
  }
  .rs-paper__body,
  .rs-level,
  .rs-why,
  .rs-details__col {
    flex: 0 0 auto;
  }
  .rs-paper__explain,
  .rs-details {
    flex-direction: column;
  }
  .rs-figure--large {
    min-height: 280px;
  }
  .rs-subscribe {
    padding: 24px;
  }
  .rs-hero {
    padding-bottom: 56px;
  }
  .rs-featured,
  .rs-venues {
    padding-bottom: 64px;
  }
}

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

/* ------------------------------------------------------------- author tooltip */

/* Parallel Bio authors: bold, with their Team page name and title on hover/focus. */
.rs-person {
  position: relative;
  display: inline-block;
  outline-offset: 3px;
  cursor: default;
}
.rs-person strong {
  text-decoration: underline dotted 1px;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.rs-person:hover strong,
.rs-person:focus-visible strong {
  text-decoration-color: var(--rs-input-border);
}
.rs-person__tip {
  position: absolute;
  z-index: 20;
  left: -12px;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  min-width: 180px;
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 12px 11px;
  background: var(--rs-ink);
  color: var(--rs-bg);
  font-family: var(--rs-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
/* caret */
.rs-person__tip::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: var(--rs-ink);
}
.rs-person__tip.is-flip {
  left: auto;
  right: -12px;
}
.rs-person__tip.is-flip::after {
  left: auto;
  right: 20px;
}
.rs-person:hover .rs-person__tip,
.rs-person:focus-visible .rs-person__tip,
.rs-person:focus .rs-person__tip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.15s ease 0.08s, transform 0.15s ease 0.08s, visibility 0s;
}
.rs-person__org {
  font-family: var(--rs-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a39d90;
}
.rs-person__name {
  font-size: 14px;
  font-weight: 500;
}
.rs-person__role {
  opacity: 0.85;
}
/* The tooltip can reach past the page edge on narrow screens; never let that scroll sideways. */
.rs {
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  .rs-person__tip {
    transform: none;
    transition: none;
  }
}
