/* ==========================================================================
   Vectra AI blog index redesign mock, combined edition (2026-11-06)
   Built on the homepage and platform combined mocks (redesigns/home-combined,
   redesigns/platform-combined): the same tokens, type, CTAs, sheets and motion
   states, so the three pages read as one system. Scope: everything lives under
   main.rd; every class is prefixed rd-. Loaded after the Webflow CSS so the
   scoped reset wins over the site's global tag rules (white p/h1/h2, flex ul,
   20px lh).
   ========================================================================== */

/* ---------- Tokens (brand values from the live site) ---------- */
.rd {
  --rd-navy: #002a4c;
  --rd-navy-deep: #01203a;
  --rd-navy-ink: #0b1f33;
  --rd-green: #35a36b;
  --rd-green-600: #1d895e;
  --rd-green-400: #5db589;
  --rd-orange: #c14b1f;
  --rd-blue: #1866c1;
  --rd-blue-hover: #005176;
  --rd-sky: #7ac9ed;
  --rd-red: #f0524f;
  --rd-amber: #ea8a43;
  --rd-ink: #131516;
  --rd-text: #303435;
  --rd-text-2: #525456;
  --rd-line: #e3e7e6;
  --rd-soft: #f4f6f5;
  --rd-display: Montserrat, sans-serif;
  --rd-body: "Roboto Flex", Arial, sans-serif;
  --rd-pad: clamp(5rem, 3.25rem + 5.2vw, 9rem);
  --rd-radius-sheet: 2.5rem;
  --rd-ease: cubic-bezier(.22, .7, .18, 1);
  /* The three series: one colour each (the live cards give all three the same pencil icon) */
  --rd-tb: #f07d4f;
  --rd-sr: #7ac9ed;
  --rd-ai: #7fd3a8;

  position: relative; /* the hero's search list is placed in <main>, outside the hero */
  background: var(--rd-navy-deep);
  color: var(--rd-ink);
  font-family: var(--rd-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}

/* ---------- Scoped reset (specificity 0,1,0; components follow) ---------- */
.rd,
.rd *,
.rd *::before,
.rd *::after { box-sizing: border-box; }

.rd :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dt, dd) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.rd :where(ul, ol) { display: block; flex-direction: row; gap: 0; list-style: none; }
.rd :where(li) { list-style: none; }
.rd :where(blockquote) { border: 0; }
.rd :where(img, video) { display: block; max-width: 100%; height: auto; }
.rd :where(strong, b) { font-weight: 700; }
.rd :where(em) { font-style: italic; }
.rd :where(a) { color: inherit; text-decoration: none; }
.rd :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rd :where(input) { font: inherit; color: inherit; margin: 0; }
.rd :where(kbd, mark) { font: inherit; }
.rd svg { overflow: visible; }
.rd :where(p) { text-wrap: pretty; }
.rd-nowrap { white-space: nowrap; }
.rd ::selection { background: rgba(93, 181, 137, .32); }
.rd-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Search, filters and the typeahead need JavaScript: without it the list and its pages still work */
html:not(.rd-js) .rd-tools,
html:not(.rd-js) .rd-search,
html:not(.rd-js) .rd-quick { display: none; }

/* ---------- Layout ---------- */
.rd-container {
  position: relative;
  width: 90%;
  max-width: 108rem;
  margin-inline: auto;
}
.rd-section { position: relative; padding-block: var(--rd-pad); }
.rd-sheet {
  z-index: 1;
  margin-top: calc(var(--rd-radius-sheet) * -1);
  border-radius: var(--rd-radius-sheet) var(--rd-radius-sheet) 0 0;
}
.rd-section:has(+ .rd-sheet) { padding-bottom: calc(var(--rd-pad) + var(--rd-radius-sheet)); }

/* ---------- Type ---------- */
.rd-h1 {
  font-family: var(--rd-display);
  font-size: clamp(2.35rem, 1rem + 3.6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
}
.rd-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.rd-line__inner { display: block; }
@media (min-width: 1200px) { .rd-line__inner { white-space: nowrap; } }
.rd-h2 {
  font-family: var(--rd-display);
  font-size: clamp(2.125rem, 1.3rem + 2.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.rd-lead {
  max-width: 56ch;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.rd-eyebrow {
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rd-green-600);
}
.rd-eyebrow--on-dark { color: var(--rd-green-400); }
.rd-gradient-text {
  background: linear-gradient(270deg, #15b374 12%, #d56a32 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* The live H1 sets "Vectra AI Blog" in the logo's green */
.rd-accent { color: var(--rd-green-400); }
.rd-sl-mask { padding-bottom: .12em; margin-bottom: -.12em; }

/* ---------- CTAs: one system ---------- */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  min-height: 3.25rem;
  padding: .5rem .5rem .5rem 1.5rem;
  border-radius: 100vh;
  font-family: var(--rd-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .35s var(--rd-ease), box-shadow .35s var(--rd-ease);
}
.rd-btn--primary {
  background: var(--rd-blue);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(24, 102, 193, .7);
}
.rd-btn--primary:hover { background: var(--rd-blue-hover); }
.rd-btn__chev {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--rd-orange);
  color: #fff;
  transition: transform .35s var(--rd-ease);
}
.rd-btn:hover .rd-btn__chev { transform: translateX(3px); }

.rd-link {
  --rd-caret: 2rem;
  display: inline-flex;
  align-items: flex-end;
  gap: .625rem;
  font-family: var(--rd-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rd-blue);
}
.rd-link > span:first-child { text-wrap: balance; }
/* Centred on the label's last line (line-height 1.25em), whether it wraps or not */
.rd-link__caret {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--rd-caret);
  height: var(--rd-caret);
  margin-bottom: calc((1.25em - var(--rd-caret)) / 2);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background-color .3s var(--rd-ease), transform .3s var(--rd-ease);
}
.rd-link__caret svg { transition: color .3s; }
.rd-link:hover .rd-link__caret { background: currentColor; transform: translateX(2px); }
.rd-link:hover .rd-link__caret svg { color: #fff; }
.rd-link--light { color: #fff; }
.rd-link--light:hover .rd-link__caret svg { color: var(--rd-navy); }
.rd-link--sm { --rd-caret: 1.75rem; font-size: .9375rem; }

.rd-btn:focus-visible,
.rd-link:focus-visible,
.rd-chip:focus-visible,
.rd-ls__a:focus-visible,
.rd-sg:focus-visible,
.rd-seg__b:focus-visible,
.rd-dd__btn:focus-visible,
.rd-pill__x:focus-visible,
.rd-active__clear:focus-visible,
.rd-pager__n:focus-visible,
.rd-pager__step:focus-visible,
.rd-rss:focus-visible,
.rd-ser__post:focus-visible,
.rd-pop__a:focus-visible,
.rd-author:focus-visible,
.rd-sig__toggle:focus-visible,
.rd-empty__list a:focus-visible {
  outline: 2px solid var(--rd-sky);
  outline-offset: 3px;
}
.rd-archive :is(.rd-seg__b, .rd-dd__btn, .rd-pill__x, .rd-active__clear, .rd-pager__n, .rd-pager__step, .rd-rss, .rd-empty__list a):focus-visible,
.rd-more :is(.rd-pop__a, .rd-author):focus-visible { outline-color: var(--rd-blue); }
/* A card is one link: its title's. The ring goes round the whole card. */
.rd-post:has(.rd-post__a:focus-visible) { outline: 2px solid var(--rd-blue); outline-offset: 6px; border-radius: 1.125rem; }
.rd-post__a:focus-visible { outline: none; }

.rd-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}
.rd-cta-row--center { justify-content: center; }

.rd-head { display: flex; flex-direction: column; gap: 1.25rem; }

/* Pause / play (WCAG 2.2.2): every visual that keeps moving has one */
.rd-i-play { display: none; }
.is-user-paused .rd-i-pause { display: none; }
.is-user-paused .rd-i-play { display: block; }

/* Avatars and bylines */
.rd-av {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: #dfe7ee;
  box-shadow: 0 0 0 2px var(--rd-av-ring, #fff);
}
.rd-av img { width: 100%; height: 100%; object-fit: cover; }
.rd-av--txt {
  background: linear-gradient(135deg, #0d3a60, #1d6a74);
  color: #fff;
  font-family: var(--rd-display);
  font-size: .625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}
.rd-av--lg { width: 3rem; height: 3rem; }
.rd-av--lg.rd-av--txt { font-size: .9375rem; }
.rd-by { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.rd-by__av { display: inline-flex; flex: none; }
.rd-by__av .rd-av + .rd-av { margin-left: -.5rem; }
.rd-by__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--rd-text); }

/* ==========================================================================
   1. Hero: the blog, its search, and its newest post
   ========================================================================== */
.rd-bhero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(38rem, calc(100svh - var(--rd-header-h, 148px) - 4.5rem), 50rem);
  background: var(--rd-navy);
  color: #fff;
  overflow: clip;
}
.rd-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 34rem at 94% calc(100% + 4.75rem), rgba(29, 137, 94, .62) 0%, rgba(16, 94, 85, .3) 42%, rgba(0, 42, 76, 0) 76%),
    radial-gradient(40% 55% at 0% 0%, rgba(24, 102, 193, .2) 0%, rgba(24, 102, 193, 0) 70%),
    linear-gradient(180deg, #002a4c 0%, #01203a 100%);
}
.rd-bhero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: clamp(3rem, 7vh, 5.5rem) calc(clamp(3rem, 7vh, 5.5rem) + var(--rd-radius-sheet));
}
.rd-bhero__copy { position: relative; z-index: 2; }
.rd-hero__lead { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); max-width: 44ch; color: rgba(255, 255, 255, .78); }

/* The search: the hero's main action */
.rd-search { position: relative; display: flex; align-items: center; }
.rd-search__ic { position: absolute; left: 1.25rem; top: 50%; translate: 0 -50%; flex: none; pointer-events: none; }
.rd-search__in {
  width: 100%;
  height: 100%;
  padding: 0 3.5rem 0 3.25rem;
  border: 0;
  border-radius: inherit;
  outline: none;
  background: none;
  font-family: var(--rd-body);
  font-size: 1.0625rem;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}
.rd-search__in::-webkit-search-cancel-button,
.rd-search__in::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.rd-search--hero {
  width: min(100%, 36rem);
  height: 3.75rem;
  margin-top: clamp(2rem, 3.2vw, 2.75rem);
  border-radius: 100vh;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 18px 40px -24px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .3s var(--rd-ease), box-shadow .3s var(--rd-ease);
}
.rd-search--hero:hover { background: rgba(255, 255, 255, .09); }
.rd-search--hero:focus-within {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px var(--rd-green-400), 0 0 0 5px rgba(93, 181, 137, .16), 0 18px 40px -24px rgba(0, 0, 0, .6);
}
.rd-search--hero .rd-search__ic { color: rgba(255, 255, 255, .62); }
.rd-search--hero .rd-search__in { color: #fff; }
.rd-search--hero .rd-search__in::placeholder { color: rgba(255, 255, 255, .58); opacity: 1; }
.rd-search__key {
  position: absolute;
  right: .875rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: .4375rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  pointer-events: none;
  transition: opacity .2s;
}
.rd-search--hero:focus-within .rd-search__key { opacity: 0; }
@media (hover: none) { .rd-search__key { display: none; } }

/* Typeahead: the best five matches, then every result in the list below */
.rd-suggest {
  position: absolute;
  z-index: 40;
  left: 0;
  top: 0;
  width: min(100%, 36rem);
  padding: .5rem;
  border-radius: 1.25rem;
  background: #05284a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -18px rgba(0, 0, 0, .7);
  max-height: min(30rem, 62vh);
  overflow: auto;
  overscroll-behavior: contain;
}
.rd-suggest[hidden] { display: none; }
.rd-sg {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: center;
  gap: .875rem;
  width: 100%;
  padding: .5rem;
  border-radius: .875rem;
  text-align: left;
  color: #fff;
  transition: background-color .2s;
}
.rd-sg:hover,
.rd-sg.is-active { background: rgba(255, 255, 255, .08); }
.rd-sg__media {
  position: relative;
  aspect-ratio: 1200 / 630;
  border-radius: .5rem;
  overflow: hidden;
  background: var(--rd-navy-ink);
}
.rd-sg__media img { width: 100%; height: 100%; object-fit: cover; }
.rd-sg__media .rd-cover__k { display: none; }
.rd-sg__body { display: grid; gap: .25rem; min-width: 0; }
.rd-sg__t {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.rd-sg__m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; color: rgba(255, 255, 255, .58); }
.rd-sg mark { background: none; color: var(--rd-green-400); }
.rd-sg--all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .25rem;
  padding: .875rem .75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0 0 .875rem .875rem;
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--rd-green-400);
}
.rd-sg--all .rd-link__caret { --rd-caret: 1.75rem; margin: 0; }
.rd-sg--all:hover .rd-link__caret,
.rd-sg--all.is-active .rd-link__caret { background: var(--rd-green-400); color: var(--rd-navy); }
.rd-sg--none { display: block; padding: .875rem .75rem; color: rgba(255, 255, 255, .7); font-size: .9375rem; }

/* Popular topics: one tap into the filtered list */
.rd-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.375rem; }
.rd-quick__k {
  font-family: var(--rd-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.rd-quick__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.rd-chip {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 .9375rem;
  border-radius: 100vh;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  font-family: var(--rd-display);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, .86);
  transition: background-color .3s var(--rd-ease), box-shadow .3s var(--rd-ease), color .3s;
}
.rd-chip:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); color: #fff; }

/* The side: the signal lines' focus, and the newest post hanging from it */
.rd-bhero__side {
  --fx: 54%;
  --ls-gap: 1.25rem;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--ls-gap);
  min-height: 30rem;
}
.rd-sig { position: relative; flex: 0 1 14rem; min-height: 10rem; }
/* The still drawing (no WebGL, or until it draws): its focus sits on the same point */
.rd-sig__still {
  position: absolute;
  top: 50%;
  left: var(--fx);
  height: 100%;
  width: auto;
  aspect-ratio: 1000 / 300;
  translate: -52% -50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 4%, #000 46%);
  pointer-events: none;
}
.rd-bhero.is-gl .rd-sig__still { visibility: hidden; }
.rd-sig__focus {
  position: absolute;
  left: var(--fx);
  top: 50%;
  width: 0;
  height: 0;
}
.rd-sig__focus::before {
  content: "";
  position: absolute;
  left: -.6875rem;
  top: -.6875rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.25px rgba(127, 211, 168, .75);
  animation: rd-focus 3.2s var(--rd-ease) 3;
}
.rd-sig__focus::after {
  content: "";
  position: absolute;
  left: -.25rem;
  top: -.25rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 .75rem 2px rgba(127, 211, 168, .7);
}
@keyframes rd-focus { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.35; opacity: .35; } }
/* The tether: from the focus down to the newest post, where it plugs into the card's edge */
.rd-sig__tether {
  position: absolute;
  left: var(--fx);
  top: 50%;
  bottom: calc(-1 * var(--ls-gap));
  width: 1px;
  margin-left: -.5px;
  background: linear-gradient(180deg, rgba(127, 211, 168, .85), rgba(127, 211, 168, .2) 55%, rgba(127, 211, 168, .7));
  transform-origin: 50% 0;
}
/* A caught signal (gl.js fires rd:detect) runs down the tether and pings the post's dot */
.rd-sig__tether::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 2.75rem;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(127, 211, 168, 0), #e8fff2 60%, rgba(127, 211, 168, 0));
  box-shadow: 0 0 .5rem rgba(127, 211, 168, .9);
  opacity: 0;
}
.rd-bhero.is-hit .rd-sig__tether::after { animation: rd-drop .75s cubic-bezier(.55, 0, .75, .4) .05s both; }
@keyframes rd-drop {
  from { opacity: 1; translate: 0 -2.75rem; }
  85% { opacity: 1; }
  to { opacity: 0; translate: 0 calc(var(--tether-h, 9rem) - 1rem); }
}
.rd-ls::before,
.rd-ls::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: var(--fx);
  top: 0;
  width: .5rem;
  height: .5rem;
  margin: -.25rem 0 0 -.25rem;
  border-radius: 50%;
  pointer-events: none;
}
.rd-ls::before { background: #e8fff2; box-shadow: 0 0 0 3px rgba(93, 181, 137, .25), 0 0 .75rem rgba(127, 211, 168, .9); }
.rd-ls::after { box-shadow: 0 0 0 1.5px var(--rd-green-400); opacity: 0; }
.rd-bhero.is-hit .rd-ls::after { animation: rd-ping .9s ease-out .72s both; }
@keyframes rd-ping {
  from { opacity: .95; scale: .6; }
  to { opacity: 0; scale: 2.4; }
}
.rd-sig__toggle {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  display: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .75);
  transition: background-color .3s, color .3s;
}
.rd-sig__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rd-sig__toggle svg { width: 1rem; height: 1rem; }
.rd-bhero.is-gl .rd-sig__toggle { display: grid; }
.rd-bhero.is-user-paused .rd-sig__focus::before { animation-play-state: paused; }

/* The newest post */
.rd-ls {
  --rd-av-ring: #0a2a48;
  position: relative;
  padding: 1.5rem 1.75rem 1.625rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(6, 40, 72, .78), rgba(2, 28, 52, .66));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 34px 70px -34px rgba(0, 0, 0, .75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow .45s var(--rd-ease), translate .45s var(--rd-ease);
}
.rd-ls:hover { translate: 0 -3px; box-shadow: inset 0 0 0 1px rgba(127, 211, 168, .32), 0 40px 80px -34px rgba(0, 0, 0, .8); }
.rd-ls__k {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .5rem;
  font-family: var(--rd-display);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.rd-ls__k > span:nth-child(2) { color: var(--rd-green-400); }
.rd-ls__dot {
  position: relative;
  width: .625rem;
  height: .625rem;
  margin-right: .125rem;
  border-radius: 50%;
  background: var(--rd-green-400);
  box-shadow: 0 0 0 3px rgba(93, 181, 137, .2), 0 0 .875rem rgba(127, 211, 168, .8);
}
.rd-ls__t {
  margin-top: .875rem;
  font-family: var(--rd-display);
  font-size: clamp(1.5rem, .95rem + 1.15vw, 2.125rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.rd-ls__a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.rd-ls__a:focus-visible { outline: none; }
.rd-ls:has(.rd-ls__a:focus-visible) { outline: 2px solid var(--rd-sky); outline-offset: 4px; }
.rd-ls__x {
  display: -webkit-box;
  margin-top: .75rem;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}
.rd-ls__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.rd-by--lg { gap: .75rem; }
.rd-by--lg .rd-av { width: 2.5rem; height: 2.5rem; font-size: .8125rem; }
.rd-by__body { display: grid; min-width: 0; }
.rd-ls .rd-by__n { color: #fff; font-family: var(--rd-display); font-size: .9375rem; }
.rd-by__r { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; color: rgba(255, 255, 255, .58); }
.rd-ls__cta { flex: none; }
.rd-ls:hover .rd-ls__cta .rd-link__caret { background: #fff; transform: translateX(2px); }
.rd-ls:hover .rd-ls__cta .rd-link__caret svg { color: var(--rd-navy); }

/* ==========================================================================
   2. All posts
   ========================================================================== */
.rd-archive { background: #fff; color: var(--rd-ink); padding-top: clamp(3.75rem, 2.5rem + 3.4vw, 6rem); }
.rd-archive__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 2rem; }
.rd-archive__title { margin-right: auto; }
.rd-archive__count {
  font-family: var(--rd-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rd-text-2);
}
.rd-archive__num { display: inline-block; min-width: 1ch; color: var(--rd-ink); font-variant-numeric: tabular-nums; }
.rd-rss {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 2.25rem;
  padding: 0 .875rem;
  border-radius: 100vh;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--rd-text-2);
  transition: color .3s, box-shadow .3s;
}
.rd-rss svg { color: var(--rd-orange); }
.rd-rss:hover { color: var(--rd-ink); box-shadow: inset 0 0 0 1px #c9d1cf; }

/* The tools hold the top of the screen while the list is read */
.rd-tools-sentinel { height: 1px; margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }
.rd-tools {
  position: sticky;
  top: 0;
  z-index: 6;
  margin-inline: -1rem;
  padding: .875rem 1rem;
  border-radius: 0 0 1.25rem 1.25rem;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  transition: box-shadow .35s var(--rd-ease);
}
.rd-tools.is-stuck { box-shadow: 0 1px 0 rgba(10, 35, 60, .07), 0 22px 34px -28px rgba(10, 35, 60, .45); }
.rd-tools__bar { display: flex; align-items: center; gap: .625rem; }
.rd-search--tools {
  flex: 1 1 14rem;
  min-width: 11rem;
  max-width: 24rem;
  height: 2.875rem;
  border-radius: 100vh;
  background: var(--rd-soft);
  box-shadow: inset 0 0 0 1px var(--rd-line);
  transition: background-color .25s, box-shadow .25s;
}
.rd-search--tools:hover { box-shadow: inset 0 0 0 1px #cfd6d4; }
.rd-search--tools:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rd-blue), 0 0 0 4px rgba(24, 102, 193, .12); }
.rd-search--tools .rd-search__ic { left: 1rem; color: var(--rd-text-2); }
.rd-search--tools .rd-search__in { padding: 0 2.75rem 0 2.75rem; font-size: .9375rem; color: var(--rd-ink); }
.rd-search--tools .rd-search__in::placeholder { color: #7a8082; opacity: 1; }
.rd-search__clear {
  position: absolute;
  right: .5rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--rd-text-2);
}
.rd-search__clear:hover { background: rgba(10, 35, 60, .06); color: var(--rd-ink); }
.rd-search__clear[hidden] { display: none; }

/* Series: a segmented control */
.rd-seg {
  display: flex;
  flex: none;
  gap: .25rem;
  padding: .25rem;
  border-radius: 100vh;
  background: var(--rd-soft);
  box-shadow: inset 0 0 0 1px var(--rd-line);
}
.rd-seg__b {
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  height: 2.375rem;
  padding: 0 .9375rem;
  border-radius: 100vh;
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--rd-text-2);
  transition: background-color .3s var(--rd-ease), color .3s, box-shadow .3s;
}
.rd-seg__b:hover { color: var(--rd-ink); background: rgba(10, 35, 60, .05); }
.rd-seg__b b { font-weight: 600; font-variant-numeric: tabular-nums; opacity: .55; }
.rd-seg__b[aria-pressed="true"] { background: var(--rd-navy); color: #fff; box-shadow: 0 8px 16px -10px rgba(0, 42, 76, .8); }
.rd-seg__b[aria-pressed="true"] b { opacity: .7; }
.rd-seg__b.is-zero { opacity: .45; }
.rd-dot { width: .5rem; height: .5rem; flex: none; border-radius: 50%; background: var(--c, var(--rd-sky)); }
.rd-dot--tb { --c: var(--rd-tb); }
.rd-dot--sr { --c: var(--rd-sr); }
.rd-dot--ai { --c: var(--rd-ai); }
.rd-seg__b[aria-pressed="true"] .rd-dot { box-shadow: 0 0 .5rem var(--c); }

/* Dropdowns: topic, author, sort */
.rd-tools__dds { display: flex; gap: .5rem; margin-left: auto; }
.rd-dd { position: relative; }
.rd-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  height: 2.875rem;
  padding: 0 .75rem 0 1.0625rem;
  border-radius: 100vh;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--rd-ink);
  transition: box-shadow .25s, background-color .25s;
}
.rd-dd__btn:hover { box-shadow: inset 0 0 0 1px #c9d1cf; }
.rd-dd__k { font-weight: 500; color: var(--rd-text-2); }
.rd-dd__v { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; }
.rd-dd__chev { flex: none; color: var(--rd-text-2); transition: transform .3s var(--rd-ease); }
.rd-dd__btn[aria-expanded="true"] .rd-dd__chev { transform: rotate(180deg); }
.rd-dd__btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--rd-blue); }
.rd-dd.is-set .rd-dd__btn { background: rgba(24, 102, 193, .06); box-shadow: inset 0 0 0 1.5px rgba(24, 102, 193, .55); }
.rd-dd.is-set .rd-dd__v { color: var(--rd-blue); }
.rd-dd__panel {
  position: absolute;
  z-index: 12;
  right: 0;
  top: calc(100% + .5rem);
  display: flex;
  flex-direction: column;
  width: 21rem;
  max-height: min(27rem, 62vh);
  border-radius: 1.125rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .08), 0 28px 56px -18px rgba(10, 35, 60, .38);
  overflow: hidden;
  transform-origin: 100% 0;
}
.rd-dd--sort .rd-dd__panel { width: 13rem; }
.rd-dd__panel[hidden] { display: none; }
.rd-dd__find {
  flex: none;
  height: 2.625rem;
  margin: .625rem .625rem .25rem;
  padding: 0 .875rem;
  border: 0;
  border-radius: .75rem;
  outline: none;
  background: var(--rd-soft);
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-body);
  font-size: .9375rem;
  color: var(--rd-ink);
}
.rd-dd__find:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rd-blue); }
.rd-dd__list { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: .375rem .375rem .5rem; }
.rd-dd__list:focus { outline: none; }
.rd-opt {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5625rem .625rem;
  border-radius: .625rem;
  font-size: .9375rem;
  line-height: 1.3;
  color: var(--rd-ink);
  cursor: pointer;
  user-select: none;
}
.rd-opt.is-active { background: var(--rd-soft); }
.rd-opt[aria-selected="true"] { color: var(--rd-blue); font-weight: 600; }
.rd-opt[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: .875rem;
  height: .875rem;
  margin-left: .25rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rd-opt[aria-disabled="true"] { color: #9aa1a3; cursor: default; }
.rd-opt__l { min-width: 0; flex: 1; }
.rd-opt__c { flex: none; font-size: .8125rem; font-weight: 500; color: var(--rd-text-2); font-variant-numeric: tabular-nums; }
.rd-opt .rd-av { width: 1.625rem; height: 1.625rem; }
.rd-opt__sep { margin: .375rem .625rem; border-top: 1px solid var(--rd-line); }
.rd-opt__none { padding: .75rem .625rem; font-size: .9375rem; color: var(--rd-text-2); }

/* Active filters */
.rd-active { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .75rem; }
.rd-active[hidden] { display: none; }
.rd-active__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.rd-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  height: 2rem;
  padding: 0 .3125rem 0 .875rem;
  border-radius: 100vh;
  background: rgba(24, 102, 193, .08);
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--rd-blue);
}
.rd-pill__k { font-weight: 500; color: var(--rd-text-2); }
.rd-pill__x { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: var(--rd-blue); }
.rd-pill__x:hover { background: rgba(24, 102, 193, .14); }
.rd-active__clear {
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--rd-text-2);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.rd-active__clear:hover { color: var(--rd-ink); }

/* The grid: rows share their lines (subgrid), so titles, excerpts and bylines align */
.rd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.2vw, 2.25rem);
  margin-top: clamp(1.5rem, 2.6vw, 2.25rem);
}
.rd-grid:empty { display: none; }
.rd-post { position: relative; display: flex; flex-direction: column; padding-bottom: clamp(2.25rem, 3.4vw, 3.25rem); }
@supports (grid-template-rows: subgrid) {
  .rd-post { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .rd-post__body { display: contents; }
}
.rd-post__text { padding-top: .5rem; }
.rd-post__media {
  position: relative;
  aspect-ratio: 1200 / 630;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--rd-navy-ink);
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .06);
}
.rd-post__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--rd-ease); }
.rd-post:hover .rd-post__img { transform: scale(1.045); }
.rd-tag {
  position: absolute;
  z-index: 2;
  left: .75rem;
  top: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  padding: .375rem .625rem .375rem .5rem;
  border-radius: 100vh;
  background: rgba(1, 26, 48, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--rd-display);
  font-size: .625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.rd-tag::before { content: ""; width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 .5rem var(--c); }
.rd-tag--tb { --c: var(--rd-tb); }
.rd-tag--sr { --c: var(--rd-sr); }
.rd-tag--ai { --c: var(--rd-ai); }
.rd-post__kicker {
  padding-top: 1.25rem;
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rd-green-600);
}
.rd-post__t {
  font-family: var(--rd-display);
  font-size: clamp(1.125rem, .98rem + .38vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--rd-ink);
}
.rd-post__a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .5s var(--rd-ease), color .3s;
}
.rd-post__a::after { content: ""; position: absolute; inset: 0 0 clamp(2.25rem, 3.4vw, 3.25rem); z-index: 1; }
.rd-post:hover .rd-post__a { background-size: 100% 1.5px; color: var(--rd-navy); }
.rd-post__x {
  display: -webkit-box;
  margin-top: .625rem;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--rd-text-2);
}
.rd-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem .875rem;
  padding-top: 1rem;
  font-size: .875rem;
  line-height: 1.3;
  color: var(--rd-text-2);
  align-self: end;
}
.rd-post__d { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd-hl { padding: 0 .05em; border-radius: .2em; background: rgba(93, 181, 137, .28); color: inherit; }

/* Generated covers: the brand's signal lines, one drawing per post (seeded by its
   slug), for the 114 posts whose thumbnail is shared by 3+ posts on the live site */
.rd-cover {
  --c: var(--rd-sky);
  --g1: #0d3a60;
  --g2: #021f38;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.125rem;
  background: radial-gradient(90% 120% at var(--fx, 70%) var(--fy, 45%), var(--g1) 0%, var(--g2) 58%, #011628 100%);
  color: var(--c);
  overflow: hidden;
}
.rd-cover[data-tone="tb"] { --c: var(--rd-tb); --g1: #3a2338; --g2: #0c1d36; }
.rd-cover[data-tone="ai"] { --c: var(--rd-ai); --g1: #0f4146; --g2: #031f33; }
.rd-cover[data-tone="sr"] { --c: var(--rd-sr); --g1: #0d3f66; --g2: #021f38; }
.rd-cover[data-hue="mint"] { --c: var(--rd-ai); --g1: #0c3d48; --g2: #02213a; }
.rd-cover[data-hue="blue"] { --c: #78acef; --g1: #0f3463; --g2: #031c36; }
.rd-cover__svg.is-flip { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 48%); mask-image: linear-gradient(270deg, transparent 0%, #000 48%); }
.rd-cover__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
}
.rd-cover__g { transition: transform 1.2s var(--rd-ease); }
.rd-post:hover .rd-cover__g { transform: translateX(-14px); }
.rd-cover__f {
  position: absolute;
  left: var(--fx, 70%);
  top: var(--fy, 45%);
  width: .4375rem;
  height: .4375rem;
  margin: -.21875rem 0 0 -.21875rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 .5rem 2px var(--c), 0 0 1.75rem .5rem color-mix(in srgb, var(--c) 45%, transparent);
}
.rd-cover__k {
  position: relative;
  max-width: 70%;
  font-family: var(--rd-display);
  font-size: .625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

/* No results */
.rd-empty {
  display: grid;
  justify-items: start;
  gap: .75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: var(--rd-soft);
}
.rd-empty[hidden] { display: none; }
.rd-empty__t { font-family: var(--rd-display); font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.rd-empty__x { color: var(--rd-text-2); }
.rd-empty__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.rd-empty__list a {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 .9375rem;
  border-radius: 100vh;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--rd-ink);
}
.rd-empty__list a:hover { box-shadow: inset 0 0 0 1px var(--rd-blue); color: var(--rd-blue); }
.rd-empty__clear { margin-top: .75rem; }

/* Pages */
.rd-pager { display: flex; align-items: center; justify-content: center; gap: .75rem 1.25rem; margin-top: clamp(.5rem, 1.5vw, 1.25rem); }
.rd-pager[hidden] { display: none; }
.rd-pager__list { display: flex; align-items: center; gap: .25rem; }
.rd-pager__n {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 .625rem;
  border-radius: 100vh;
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--rd-text);
  transition: background-color .25s, color .25s;
}
.rd-pager__n:hover { background: var(--rd-soft); }
.rd-pager__n[aria-current="page"] { background: var(--rd-navy); color: #fff; }
.rd-pager__gap { min-width: 1.5rem; text-align: center; color: var(--rd-text-2); }
.rd-pager__step {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 100vh;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--rd-blue);
  transition: box-shadow .25s, background-color .25s;
}
.rd-pager__step--prev { padding-left: .875rem; }
.rd-pager__step--next { padding-right: .875rem; }
.rd-pager__step:hover { box-shadow: inset 0 0 0 1px var(--rd-blue); }
.rd-pager__step[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* ==========================================================================
   3. Series
   ========================================================================== */
.rd-series { background: var(--rd-navy-deep); color: #fff; }
.rd-series::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(46% 60% at 100% 0%, rgba(24, 102, 193, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(29, 137, 94, .14), transparent 70%);
  pointer-events: none;
}
.rd-series__title { max-width: 28ch; font-size: clamp(1.875rem, 1.2rem + 1.9vw, 3.125rem); }
.rd-series__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
}
.rd-ser {
  --c: var(--rd-sr);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  overflow: clip;
  isolation: isolate;
}
@supports (grid-template-rows: subgrid) {
  .rd-series__grid { row-gap: 0; }
  .rd-ser { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
.rd-ser::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c), transparent 85%);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
}
.rd-ser::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -7rem;
  top: -7rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent) 0 1px, transparent 1px 2rem);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 66%);
  mask-image: radial-gradient(circle, #000 10%, transparent 66%);
  opacity: .7;
}
.rd-ser--tb { --c: var(--rd-tb); }
.rd-ser--ai { --c: var(--rd-ai); }
.rd-ser__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rd-ser__ic { width: 2.75rem; height: 2.75rem; flex: none; stroke: var(--c); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-ser__ic circle:not([r="2.6"]):not(.rd-ser__blip) { fill: none; }
.rd-ser--ai .rd-ser__ic path { stroke-opacity: .45; }
.rd-ser--ai .rd-ser__ic circle { fill: var(--rd-navy-deep); }
.rd-ser__blip { fill: var(--c); stroke: none; }
.rd-ser__sweep { transform-box: view-box; transform-origin: 20px 20px; animation: rd-sweep 4s linear 2; }
@keyframes rd-sweep { to { transform: rotate(360deg); } }
.rd-ser__n { font-family: var(--rd-display); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.rd-ser__n b { font-size: 1.125rem; font-weight: 700; color: #fff; }
.rd-ser__t {
  padding-top: clamp(1.5rem, 2.4vw, 2.25rem);
  font-family: var(--rd-display);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.rd-ser__x { padding-top: .75rem; max-width: 40ch; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.rd-ser__list { margin-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.rd-ser__post {
  display: grid;
  gap: .3125rem;
  padding: .9375rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rd-ser__post time {
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c);
}
.rd-ser__post span {
  font-family: var(--rd-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, .88);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .45s var(--rd-ease), color .3s;
}
.rd-ser__post:hover span { color: #fff; background-size: 100% 1px; }
.rd-ser__all { align-self: start; margin-top: auto; padding-top: 1.5rem; }

/* ==========================================================================
   4. Popular posts and authors
   ========================================================================== */
.rd-more { background: var(--rd-soft); }
.rd-more__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: start; }
.rd-more__title { font-size: clamp(1.75rem, 1.15rem + 1.7vw, 2.875rem); }
.rd-pop__list { margin-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--rd-line); }
.rd-pop__a {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--rd-line);
  color: var(--rd-blue);
}
.rd-pop__n {
  font-family: var(--rd-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: rgba(29, 137, 94, .45);
  transition: color .4s var(--rd-ease);
}
.rd-pop__a:hover .rd-pop__n { color: var(--rd-green-600); }
.rd-pop__body { display: grid; gap: .375rem; min-width: 0; }
.rd-pop__t {
  font-family: var(--rd-display);
  font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--rd-ink);
  transition: color .3s;
}
.rd-pop__a:hover .rd-pop__t { color: var(--rd-navy); }
.rd-pop__m { font-size: .875rem; color: var(--rd-text-2); }
.rd-pop__a .rd-link__caret { --rd-caret: 2rem; margin: 0; }
.rd-pop__a:hover .rd-link__caret { background: currentColor; transform: translateX(2px); }
.rd-pop__a:hover .rd-link__caret svg { color: #fff; }

.rd-authors__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .625rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.rd-author {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .875rem;
  height: 100%;
  padding: .625rem 1.25rem .625rem .625rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .06), 1px 12px 34px rgba(0, 0, 0, .03);
  transition: box-shadow .4s var(--rd-ease), translate .4s var(--rd-ease);
}
.rd-author:hover { translate: 0 -2px; box-shadow: 0 0 0 1px rgba(24, 102, 193, .25), 1px 18px 34px rgba(0, 0, 0, .08); }
.rd-author__body { display: grid; gap: .125rem; min-width: 0; }
.rd-author__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--rd-display); font-size: .9375rem; font-weight: 700; color: var(--rd-ink); }
.rd-author__r { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; color: var(--rd-text-2); }
.rd-author__c { font-family: var(--rd-display); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--rd-green-600); }

/* ==========================================================================
   5. Final
   ========================================================================== */
.rd-final { background: var(--rd-navy); color: #fff; text-align: center; overflow: clip; padding-bottom: 0; }
.rd-final::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(5rem, 9vw, 8rem);
  background: linear-gradient(180deg, rgba(19, 21, 22, 0), rgba(19, 21, 22, .55) 55%, #131516);
  pointer-events: none;
}
.rd-final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 62% at 50% 118%, rgba(29, 137, 94, .58), rgba(16, 94, 85, .2) 45%, transparent 76%);
  pointer-events: none;
}
.rd-final__questions { position: absolute; inset: 0; font-family: var(--rd-display); font-weight: 600; pointer-events: none; }
.rd-fq {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  font-size: var(--fs);
  white-space: nowrap;
  color: #fff;
  opacity: .08;
}
/* gl.js spells these in dots, which need a little more size than ink to stay readable */
.rd-fq--1 { --x: 15%; --y: 22%; --fs: clamp(1.375rem, .6rem + .95vw, 1.75rem); }
.rd-fq--2 { --x: 85%; --y: 17%; --fs: clamp(1.25rem, .5rem + .9vw, 1.625rem); }
.rd-fq--3 { --x: 12%; --y: 60%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--4 { --x: 87%; --y: 56%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--5 { --x: 50%; --y: 8%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: clamp(1rem, 3vw, 3rem);
  padding-bottom: clamp(9rem, 15vw, 14rem);
}
.rd-final__title { max-width: 20ch; font-size: clamp(2.25rem, 1.05rem + 3.4vw, 4.75rem); line-height: 1.06; letter-spacing: -.035em; }
.rd-final__beat { display: inline-block; }
.rd-final .rd-cta-row { margin-top: .75rem; }

/* ---------- Motion start states (only when JS + GSAP will run) ---------- */
.rd-motion .rd-line__inner { transform: translateY(105%); }
.rd-motion .rd-bhero [data-rd-hero],
.rd-motion .rd-ls,
.rd-motion [data-rd-reveal],
.rd-motion .rd-final__beat { opacity: 0; }
.rd-motion .rd-sig__tether { transform: scaleY(0); }
.rd-motion .rd-grid:not(.is-in) > .rd-post { opacity: 0; }
.rd-motion [data-rd-split] { visibility: hidden; }

/* ==========================================================================
   Responsive (site breakpoints: 991 / 767 / 479, plus 1199 for the wide layouts)
   ========================================================================== */
@media (max-width: 1279px) {
  .rd-seg__b b { display: none; }
}

@media (max-width: 1199px) {
  .rd-bhero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 2.5rem; }
  .rd-bhero__side { --fx: 62%; width: min(100%, 44rem); min-height: 0; }
  .rd-sig { flex: none; height: 9.5rem; min-height: 0; }

  .rd-tools__bar { flex-wrap: wrap; }
  .rd-search--tools { order: 1; max-width: none; }
  .rd-tools__dds { order: 2; margin-left: 0; }
  .rd-seg { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; }
  .rd-seg::-webkit-scrollbar { display: none; }
  .rd-seg__b b { display: inline; }

  .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .rd { --rd-radius-sheet: 1.75rem; }
  .rd-container { width: 100%; padding-inline: 1.5rem; }
  .rd-bhero { min-height: 0; }
  .rd-bhero__inner { padding-block: 3.5rem calc(3rem + var(--rd-radius-sheet)); }

  .rd-series__grid { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
  @supports (grid-template-rows: subgrid) {
    .rd-series__grid { row-gap: 1rem; }
    .rd-ser { display: flex; grid-row: auto; }
  }
  .rd-more__grid { grid-template-columns: minmax(0, 1fr); }

  .rd-final { text-align: left; }
  .rd-final__inner { align-items: flex-start; }
  .rd-cta-row--center { justify-content: flex-start; }
  .rd-final__questions { display: none; }
}

@media (max-width: 767px) {
  .rd-quick__k { flex-basis: 100%; }
  .rd-search--hero { height: 3.5rem; }
  .rd-ls { padding: 1.25rem 1.25rem 1.375rem; }
  .rd-ls__k > :nth-last-child(-n + 2) { display: none; }

  .rd-archive__title { flex-basis: 100%; }
  .rd-archive__count { margin-right: auto; }

  /* The tools stay in the flow on phones; the dropdowns open full width */
  .rd-tools { position: relative; margin-inline: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rd-tools.is-stuck { box-shadow: none; }
  .rd-search--tools { flex-basis: 100%; }
  .rd-tools__dds { flex: 1 0 100%; }
  .rd-dd { position: static; flex: 1; }
  .rd-dd__btn { width: 100%; justify-content: space-between; padding-inline: .875rem .625rem; }
  .rd-dd__k,
  .rd-dd__v { flex: 1; max-width: none; text-align: left; }
  .rd-dd:not(.is-set) .rd-dd__v,
  .rd-dd.is-set .rd-dd__k { display: none; }
  .rd-dd__k { font-weight: 600; color: var(--rd-ink); }
  .rd-seg { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .rd-dd__panel,
  .rd-dd--sort .rd-dd__panel { left: 0; right: 0; width: auto; }

  /* Posts as a list: thumbnail beside the title */
  .rd-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-post,
  .rd-post__body { display: grid; }
  @supports (grid-template-rows: subgrid) {
    .rd-post { grid-row: auto; grid-template-rows: none; }
    .rd-post__body { display: grid; }
  }
  .rd-post { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: start; column-gap: 1rem; padding-bottom: 0; padding-block: 1.125rem; border-bottom: 1px solid var(--rd-line); }
  .rd-post__a::after { inset: 0; }
  .rd-post__media { aspect-ratio: 1; border-radius: .75rem; }
  .rd-tag { left: .375rem; top: .375rem; padding: .3125rem; font-size: 0; letter-spacing: 0; gap: 0; }
  .rd-cover { padding: .5rem; }
  .rd-cover__k { display: none; }
  .rd-post__kicker { padding-top: 0; }
  .rd-post__text { padding-top: .375rem; }
  .rd-post__t { font-size: 1rem; line-height: 1.32; }
  .rd-post__x { display: none; }
  .rd-post__meta { padding-top: .5rem; font-size: .8125rem; }
  .rd-post__meta .rd-by__av { display: none; }
  .rd-pager__step span { display: none; }
  .rd-pager__step { width: 2.75rem; padding: 0; justify-content: center; }

  .rd-pop__a { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .rd-pop__a .rd-link__caret { display: none; }
}

@media (max-width: 479px) {
  .rd-btn { font-size: 1rem; }
  .rd-chip { height: 2.125rem; padding: 0 .8125rem; font-size: .8125rem; }
  .rd-ls__t { font-size: 1.375rem; }
  .rd-pager__list { gap: 0; }
  .rd-pager__n { min-width: 2.375rem; }
}

/* ==========================================================================
   WebGL (gl.js): the canvases, and what each one takes over
   html.rd-gl-ok   WebGL2 exists (set in <head>, so space is held from the first paint;
                   removed again if three.js never arrives)
   .is-gl          on a section: its scene has drawn, so its CSS/SVG stand-ins hide
   ========================================================================== */
.rd-gl {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--rd-ease);
}
.rd-gl.is-on { opacity: 1; }
/* Behind the copy the lines stay quiet: the side column is where they converge */
.rd-gl--hero {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .34) calc(var(--rd-sx, 58%) - 22rem), #000 calc(var(--rd-sx, 58%) - 2rem));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .34) calc(var(--rd-sx, 58%) - 22rem), #000 calc(var(--rd-sx, 58%) - 2rem));
}
@media (max-width: 1199px) {
  .rd-gl--hero {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .18) calc(var(--rd-sy, 50%) - 8rem), #000 calc(var(--rd-sy, 50%) - 1rem));
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .18) calc(var(--rd-sy, 50%) - 8rem), #000 calc(var(--rd-sy, 50%) - 1rem));
  }
}

/* Resolution: the particles take over from the CSS words and glow */
.rd-final.is-gl .rd-final__questions { visibility: hidden; }
.rd-final.is-gl .rd-final__glow { opacity: .5; transition: opacity 1.5s; }

@media (prefers-reduced-motion: reduce) {
  .rd *,
  .rd *::before,
  .rd *::after { transition-duration: .01ms !important; animation: none !important; }
}
