/*
 * Homepage redesign layer (29 Aug 2026).
 *
 * Loaded only on the front page, on top of style.css. Every selector is
 * prefixed rd- (or scoped under .rd) so nothing here can leak into the
 * inner pages, which migrate to this visual system in a later phase.
 * Tokens come from style.css, including --darker, the near-black page
 * ground behind the #1F2628 content panels (mirrored in brand-tokens.json).
 */

body.ground-deep { background: var(--darker); }

.rd { font-size: 1rem; line-height: 1.55; }
/* style.css caps every paragraph at 66ch sitewide; redesigned pages run
   text blocks the full width of their container. Column layouts that need
   a cap set their own, which wins on specificity. */
.rd p { max-width: none; }
.rd h1, .rd h2, .rd h3 {
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.0;
}
.rd .rd-dim { color: var(--text-3); }

.rd-wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(18px, 3.5vw, 48px); }

/* CTA buttons: compact caps, mockup-style. Distinct from the sitewide .btn. */
.rd-cta {
  display: inline-flex; align-items: center; gap: 12px; justify-content: space-between;
  text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 18px; border-radius: 4px;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.rd-cta svg { width: 14px; height: 14px; }
.rd-cta--fill { background: var(--green); color: var(--dark); }
.rd-cta--fill:hover { background: var(--green-press); }
.rd-cta--line { border: 1px solid var(--line-2); color: var(--text); }
.rd-cta--line:hover { border-color: var(--green); }
.rd-cta--gline { border: 1px solid rgba(17, 239, 180, 0.55); color: var(--green); }
.rd-cta--gline:hover { background: var(--green-dim); }
.rd-tl {
  display: inline-flex; align-items: center; gap: 9px; color: var(--green); text-decoration: none;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.rd-tl svg { width: 13px; height: 13px; transition: transform 0.18s var(--ease); }
.rd-tl:hover svg { transform: translateX(3px); }

/* ------------------------------- Hero ------------------------------- */
.rd-hero { position: relative; overflow: hidden; }
.rd-hero::before {
  content: ""; position: absolute; top: -260px; right: -160px; width: 760px; height: 760px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 34px, rgba(17, 239, 180, 0.07) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle, #000 30%, transparent 72%);
}
.rd-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px; pointer-events: none;
}
.rd-hero__grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px); align-items: center;
  padding-top: clamp(40px, 4.5vw, 68px);
}
.rd-hero h1 { display: flex; flex-direction: column; margin: 20px 0 0; }
.rd-h1a { font-size: clamp(2rem, 3.9vw, 3.3rem); }
.rd-h1b {
  font-size: clamp(3.1rem, 7.6vw, 6.6rem); color: var(--green); margin: 6px 0 10px;
  letter-spacing: -0.012em; text-shadow: 0 0 46px rgba(17, 239, 180, 0.25);
}
.rd-h1c { font-size: clamp(1.7rem, 3.3vw, 2.8rem); line-height: 1.1; max-width: 14em; }
.rd-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.rd-hero__logos {
  position: relative; z-index: 1; margin-top: clamp(38px, 4.5vw, 62px);
  padding-block: 24px 30px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: clamp(22px, 3.5vw, 48px); flex-wrap: wrap;
}
.rd-hero__logos .rd-lab {
  font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); flex: 0 0 auto;
}
.rd-hero__logos img { height: 22px; width: auto; opacity: 0.6; filter: grayscale(1) brightness(1.65); }
.rd-hero__logos .rd-word {
  font-family: var(--body); font-weight: 600; font-size: 1.05rem; color: var(--text-2);
  opacity: 0.75; letter-spacing: 0.01em;
}
.rd-hero__logos .rd-word small {
  display: block; font-size: 0.5rem; letter-spacing: 0.3em; color: var(--text-3); text-align: center;
}

/* Narrative Debt Index card */
.rd-diag {
  background: var(--dark); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.rd-diag__chrome {
  display: flex; justify-content: space-between; align-items: center; padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.59375rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3);
}
.rd-diag__chrome b { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; }
.rd-diag__chrome b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.rd-diag__body { padding: 22px 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.rd-drow .rd-dlab {
  display: flex; justify-content: space-between; margin: 0 0 7px;
  font-size: 0.59375rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2);
}
.rd-dtrack {
  height: 14px; border-radius: 2px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 4px, transparent 4px 9px);
}
.rd-dtrack i {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 9px);
  transition: width 1.6s var(--ease);
}
.is-in .rd-dtrack i { width: var(--w); }
.rd-diag__foot { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 0.6875rem; color: var(--text-3); }

/* --------------------------- Panel bands ---------------------------- */
.rd-band { padding-block: clamp(12px, 1.6vw, 22px); }
.rd-panel { background: var(--dark); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 42px); }

/* Receipts */
.rd-receipts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.rd-receipts > div { border-left: 1px solid var(--line); padding: 4px clamp(16px, 2.6vw, 38px); }
.rd-receipts > div:first-child { border-left: 0; padding-left: 0; }
.rd-receipts .rd-fig {
  font-family: var(--display); font-weight: 800; margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.rd-receipts .rd-lab {
  margin: 9px 0 0; font-size: 0.59375rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3);
}
.rd-receipts .rd-u { display: block; width: 26px; height: 2px; background: var(--green); margin-top: 12px; }

/* Narrative debt */
.rd-problem { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 70px); }
.rd-problem h2 { font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.06; margin: 14px 0 18px; }
.rd-problem .rd-sub { color: var(--text-2); font-size: 0.9375rem; max-width: 34ch; margin: 0; }
.rd-problem .rd-sub + .rd-sub { margin-top: 12px; }
.rd-problem .rd-cta { margin-top: 26px; }
.rd-viz .rd-row { margin-bottom: 20px; }
.rd-viz .rd-lbl {
  font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2);
  margin: 0 0 9px; display: flex; justify-content: space-between;
}
.rd-viz .rd-lbl .rd-pct { font-family: var(--display); font-weight: 700; color: var(--text); font-size: 0.875rem; }
.rd-viz .rd-bar { height: 30px; border-radius: 2px; width: 0; transition: width 1.6s var(--ease); }
.rd-viz .rd-bar.full { background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 9px); }
.is-in .rd-bar.full { width: 100%; }
.rd-track { position: relative; height: 30px; border-radius: 2px; overflow: hidden; }
.rd-seg { position: absolute; top: 0; bottom: 0; width: 0; transition: width 1.6s var(--ease); }
.rd-seg.known {
  left: 0; opacity: 0.7;
  background: repeating-linear-gradient(90deg, var(--text-3) 0 4px, transparent 4px 9px);
}
.is-in .rd-seg.known { width: 37%; }
.rd-seg.debt {
  left: calc(37% + 5px); transition-delay: 1.8s;
  background: repeating-linear-gradient(90deg, rgba(110, 110, 140, 0.6) 0 4px, rgba(110, 110, 140, 0.10) 4px 9px);
}
.is-in .rd-seg.debt { width: calc(63% - 5px); }
.rd-gapline { display: grid; grid-template-columns: 37fr 63fr; align-items: center; margin-top: 4px; }
.rd-gapnote { text-align: center; }
.rd-gapnote b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--text); display: block; line-height: 1.1; }
.rd-gapnote span { font-size: 0.59375rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.rd-sw {
  display: inline-block; width: 10px; height: 10px; border-radius: 2px;
  background: rgba(110, 110, 140, 0.75); margin-right: 8px;
}
.rd-exp { margin-top: clamp(24px, 3vw, 36px); }
.rd-exp .rd-cap {
  font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); margin: 0 0 14px;
}
.rd-exp__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rd-exp__row > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 16px; display: flex; gap: 13px; align-items: flex-start;
}
.rd-exp__row svg {
  width: 36px; height: 36px; flex: 0 0 auto; color: var(--green);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 8px;
}
.rd-exp__row h3 { font-size: 0.71875rem; letter-spacing: 0.1em; }
.rd-exp__row p { margin: 5px 0 0; color: var(--text-3); font-size: 0.75rem; line-height: 1.45; }

/* Proof in the work */
.rd-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.rd-case {
  background: var(--darker); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; display: flex; flex-direction: column;
}
.rd-case h3 { font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.16; margin: 11px 0 16px; }
.rd-case__m { display: flex; gap: 20px; margin-bottom: 18px; }
.rd-case__m b {
  display: block; font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  color: var(--green); letter-spacing: -0.01em;
}
.rd-case__m span {
  font-size: 0.53125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); line-height: 1.5;
}
.rd-art { height: 120px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--darker); margin-bottom: 18px; }
.rd-case .rd-tl { margin-top: auto; }
.rd-cases-all { text-align: left; margin: 26px 0 0; }

/* How I fix it + Built, not advised */
.rd-fixgrid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(28px, 4vw, 56px); }
.rd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: 20px; }
.rd-step .rd-numrow { display: flex; align-items: center; gap: 10px; }
.rd-step .rd-num { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--green); }
.rd-step .rd-numrow i { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--green), transparent); }
.rd-step:last-child .rd-numrow i { background: none; }
.rd-step h3 { font-size: 0.75rem; letter-spacing: 0.12em; margin: 12px 0 8px; }
.rd-step p { color: var(--text-3); font-size: 0.75rem; line-height: 1.5; margin: 0; }
.rd-bna .rd-lead { color: var(--text-2); font-size: 0.875rem; margin: 12px 0 0; }
.rd-toolgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.rd-tool { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 12px; text-align: center; }
.rd-tool svg { width: 30px; height: 30px; color: var(--green); border: 1px solid var(--line-2); border-radius: 7px; padding: 6px; }
.rd-tool span {
  display: block; margin-top: 10px; font-size: 0.53125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); line-height: 1.5;
}
.rd-toolwide { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: stretch; margin-top: 10px; }
.rd-toolwide .rd-tool { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; }
.rd-toolwide .rd-tool span { margin-top: 0; }
.rd-toolwide .rd-tl { align-self: center; padding-left: 8px; }
.rd-advline {
  margin-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line); padding-top: 18px;
  display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap;
}
.rd-advline .rd-name {
  font-family: var(--display); font-weight: 800; font-size: 0.8125rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
}
.rd-advline p { color: var(--text-3); font-size: 0.8125rem; flex: 1 1 40ch; margin: 0; }
.rd-advline p b { color: var(--text-2); }

/* Pricing */
/* Left-aligned like everything else on the site; nothing here centers. */
.rd-price-head { text-align: left; }
.rd-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 44px); margin-top: 34px; }
.rd-tier { text-align: center; }
.rd-tier h3 { font-size: 0.9375rem; letter-spacing: 0.08em; }
.rd-tier .rd-hrs { margin: 9px 0 16px; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.rd-tier .rd-rule { position: relative; height: 2px; background: var(--line-2); margin-bottom: 16px; }
.rd-tier .rd-rule::after {
  content: ""; position: absolute; left: var(--dot, 50%); top: -3px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green); transform: translateX(-50%);
}
.rd-tier .rd-fig { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -0.01em; margin: 0; }
.rd-tier .rd-fig span { font-family: var(--body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.16em; color: var(--text-3); white-space: nowrap; }
.rd-spectrum {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; color: var(--text-3);
  font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.rd-spectrum .rd-ln { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--green)); }
.rd-spectrum .rd-end { color: var(--text-2); }
.rd-spectrum .rd-end.g { color: var(--green); }
.rd-goldline { margin: 22px 0 0; color: var(--text-2); font-size: 0.875rem; }
.rd-goldline a { color: var(--gold); }
.rd-price-cta { text-align: left; margin-top: 28px; }

/* Book band */
.rd-book { background: var(--ice); color: var(--dark); border-radius: 12px; overflow: hidden; }
.rd-book .rd-in {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.05fr) minmax(0, 0.72fr);
  gap: clamp(26px, 4vw, 60px); align-items: center; padding: clamp(30px, 4vw, 56px);
}
.rd-book img {
  width: 100%; max-width: 250px; height: auto;
  filter: drop-shadow(14px 22px 30px rgba(31, 38, 40, 0.30)); transform: rotate(-4deg);
}
.rd-book .eyebrow { color: #0b6e54; }
.rd-book h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; margin: 12px 0 14px; color: var(--dark); }
.rd-book .rd-sub { color: #3d4a4d; font-size: 0.9375rem; max-width: 42ch; margin: 0; }
.rd-book .rd-datebox { display: inline-block; margin-top: 20px; border: 1.5px solid var(--dark); border-radius: 4px; padding: 10px 18px; }
.rd-book .rd-datebox b { display: block; font-family: var(--display); font-weight: 800; font-size: 0.78125rem; letter-spacing: 0.12em; }
.rd-book .rd-cta { margin-top: 18px; }
.rd-cta--darkfill { background: var(--dark); color: var(--ice); }
.rd-cta--darkfill:hover { background: #141a1c; }
.rd-cta--darkline { border: 1px solid rgba(31, 38, 40, 0.35); color: var(--dark); }
.rd-cta--darkline:hover { border-color: var(--dark); }
.rd-bq .rd-mark { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 0.8; color: #12b98c; }
.rd-bq p { font-size: 0.9375rem; line-height: 1.6; color: #3d4a4d; margin: 10px 0 14px; }
.rd-bq cite { font-style: normal; font-size: 0.75rem; color: var(--dark); font-weight: 600; }
.rd-bq cite span { color: #5b6a6d; font-weight: 400; }

/* Final CTA */
.rd-final { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rd-final h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.08; max-width: 15em; }
.rd-final h2 .g { color: var(--green); }
.rd-final .rd-btns { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }
.rd-final .rd-btns .rd-cta { justify-content: space-between; }
.rd-asc { border: 1px solid rgba(240, 165, 0, 0.55); border-radius: 10px; padding: 20px 22px; min-width: 210px; }
.rd-asc .rd-lab { font-size: 0.5625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.rd-asc .rd-nm {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold); margin: 6px 0 0;
}
.rd-asc .rd-fig { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 8px 0 0; }
.rd-asc p { font-size: 0.71875rem; color: var(--text-3); margin: 8px 0 0; line-height: 1.5; }
.rd-asc .rd-tl { color: var(--gold); margin-top: 12px; }

@media (max-width: 1180px) {
  .rd-final { grid-template-columns: 1fr; }
  .rd-final .rd-btns { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .rd-hero__grid, .rd-problem, .rd-fixgrid { grid-template-columns: 1fr; }
  .rd-book .rd-in { grid-template-columns: 1fr; }
  .rd-receipts, .rd-tiers { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .rd-cases, .rd-exp__row, .rd-steps { grid-template-columns: 1fr; }
  .rd-toolgrid { grid-template-columns: repeat(2, 1fr); }
  .rd-toolwide { grid-template-columns: 1fr; }
  .rd-spectrum { flex-wrap: wrap; row-gap: 8px; }
}
/* ----------------------------- Chrome -------------------------------
   Header restyle: the compact caps nav from the redesign, applied to the
   existing markup. Overrides the pre-redesign pill treatment. */
.site-header { background: rgba(18, 22, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .nav a {
  font-size: 0.65625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); border-radius: 8px;
}
.site-header .nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-header .nav a[aria-current="page"] { color: var(--green); background: transparent; }
.site-header .btn {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  border-radius: 6px; padding: 10px 8px 10px 16px;
}
.site-header .btn .btn__arrow { width: auto; height: auto; background: transparent; color: var(--dark); border-radius: 0; padding-right: 8px; }
.site-header .btn .btn__arrow svg { width: 14px; height: 14px; }

/* ------------------------ Inner-page components --------------------- */
.rd .g { color: var(--green); }

.rd-phero { position: relative; }
.rd-phero .rd-wrap { padding-top: clamp(38px, 4.5vw, 62px); padding-bottom: clamp(26px, 3vw, 42px); }
.rd-phero h1 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.03; margin: 16px 0 0; max-width: 21em; }
.rd-phero .rd-lede { color: var(--text-2); font-size: 1rem; margin: 18px 0 0; }
.rd-phero .rd-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.rd-sechead h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.06; margin: 12px 0 0; }
.rd-sechead .rd-sub { color: var(--text-2); font-size: 0.9375rem; margin: 14px 0 0; }

.rd-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rd-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rd-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 3.5vw, 52px); align-items: start; }

.rd-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.rd-card h3 { font-size: 0.8125rem; letter-spacing: 0.1em; }
.rd-card p { margin: 8px 0 0; color: var(--text-3); font-size: 0.8125rem; line-height: 1.55; }
.rd-card .rd-cnum { font-family: var(--display); font-weight: 800; color: var(--green); font-size: 0.9rem; margin: 0 0 10px; }
.rd-card .rd-cfig { font-family: var(--display); font-weight: 800; color: var(--green); font-size: 1rem; margin: 10px 0 0; }

.rd-quote { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.rd-quote blockquote {
  margin: 0; padding: 0; border: 0;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.32; letter-spacing: -0.01em;
}
.rd-quote p { margin: 14px 0 0; color: var(--text-3); font-size: 0.8125rem; }

.rd-block { border-top: 1px solid var(--line); padding-top: clamp(22px, 2.6vw, 32px); margin-top: clamp(22px, 2.6vw, 32px); }
.rd-block h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.rd-block .rd-line { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green); font-size: 0.8125rem; margin: 10px 0 0; }
.rd-block .rd-body { color: var(--text-2); font-size: 0.9375rem; margin: 12px 0 0; }
.rd-block .rd-seq { color: var(--text-3); font-size: 0.8125rem; margin: 12px 0 0; }
.rd-proof { background: var(--darker); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-top: 16px; }
.rd-proof p { margin: 0; color: var(--text-2); font-size: 0.8125rem; line-height: 1.55; }
.rd-proof .rd-tl { margin-top: 12px; }

.rd-deliv { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.rd-deliv h4 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 0.71875rem; letter-spacing: 0.12em; margin: 0; color: var(--text-2);
}
.rd-list { list-style: none; margin: 12px 0 0; padding: 0; }
.rd-list li { border-top: 1px solid var(--line); padding: 9px 0; font-size: 0.8125rem; color: var(--text-2); }
.rd-list li:first-child { border-top: 0; padding-top: 0; }
.rd-outcome { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-3); }
.rd-outcome b {
  color: var(--green); display: block; text-transform: uppercase;
  font-size: 0.59375rem; letter-spacing: 0.16em; margin-bottom: 4px;
}

.rd-door { background: var(--darker); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.rd-door .rd-dlabel { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin: 0; }
.rd-door h3 { font-size: 1.1rem; margin: 10px 0 0; }
.rd-door p { color: var(--text-2); font-size: 0.875rem; margin: 12px 0 0; }
.rd-door .rd-dfig { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.01em; margin: 16px 0 0; }
.rd-door .rd-dfig span { display: block; margin-top: 5px; font-family: var(--body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.rd-door .rd-tl { margin-top: 16px; }

.rd-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.rd-faq details + details { margin-top: 10px; }
.rd-faq summary {
  cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  letter-spacing: 0.02em; min-height: 40px; display: flex; align-items: center;
}
.rd-faq details p { margin: 12px 0 0; color: var(--text-2); font-size: 0.875rem; }

/* Timeline rail: ordered stops on a gradient rule (career stops, hold
   period). Structure is real sequence, so the rail earns its place. */
.rd-tline { position: relative; margin-top: 26px; }
.rd-tline__bar { position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--green)); }
.rd-tline__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rd-tstop { padding-top: 26px; position: relative; }
.rd-tstop::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--dark); border: 2px solid var(--green); box-sizing: border-box; }
.rd-tstop h3 { font-size: 0.8125rem; letter-spacing: 0.1em; }
.rd-tstop p { margin: 7px 0 0; color: var(--text-3); font-size: 0.78125rem; line-height: 1.5; }

.rd-tline__grid--3 { grid-template-columns: repeat(3, 1fr); }
.rd-tline__grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Card title links (blog index) and pagination */
.rd-card a { color: var(--text); text-decoration: none; }
.rd-card a:hover { color: var(--green); }
.rd .nav-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.rd .nav-links .page-numbers {
  display: inline-block; border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 14px;
  color: var(--text-2); text-decoration: none;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.rd .nav-links .page-numbers.current, .rd .nav-links .page-numbers:hover { border-color: var(--green); color: var(--green); }

/* Gold variants for the Ascendly page, the one place gold leads */
.rd-door--gold { border-color: rgba(240, 165, 0, 0.45); }
.rd-gold { color: var(--gold); }

/* Metric chips */
.rd-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-chip { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 0.6875rem; color: var(--text-2); }

/* Stat rows with a variable column count (case-study metrics) */
.rd-receipts--auto { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Door variants and icons */
.rd-door--quiet { border-color: var(--line); }
.rd-door--accent { border-color: rgba(17, 239, 180, 0.4); }
.rd-door__ic { display: inline-block; margin-bottom: 14px; }
.rd-door__ic svg { width: 34px; height: 34px; color: var(--green); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px; }
.rd-card__ic svg { width: 30px; height: 30px; color: var(--green); border: 1px solid var(--line-2); border-radius: 7px; padding: 6px; margin-bottom: 12px; }

/* Portrait frame */
.rd-portrait { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.rd-portrait img { display: block; width: 100%; height: auto; }

.rd-ctaband { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.rd-ctaband h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.08; max-width: 18em; }
.rd-ctaband .rd-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .rd-grid2, .rd-grid3, .rd-split { grid-template-columns: 1fr; }
  .rd-tline__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .rd-tline__bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rd-dtrack i, .rd-viz .rd-bar, .rd-seg, .rd-cta, .rd-tl svg { transition: none; }
}
