/* Ruby page, "The climb": a hand-drawn trail runs from the summit sketch down to the contact. */
.cluster-light main:has(.rb) {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  padding-bottom: 0;
}
.cluster-light main:has(.rb) > .cluster-frame { max-width: none; }

.rb {
  --rb-red: #d30001;
  --rb-ink: var(--site-ink);
  --rb-muted: var(--site-muted);
  --rb-line: color-mix(in srgb, var(--site-ink) 12%, transparent);
  --rb-wrap: 1080px;
  --sk-paper: var(--site-white);
  position: relative;
  overflow-x: clip;
  color: var(--rb-ink);
}

.rb-red { color: var(--rb-red); }

.rb-wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--site-content-gutter), var(--rb-wrap));
  margin-inline: auto;
}

.cluster-light .rb h1,
.cluster-light .rb h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.cluster-light .rb h2 {
  max-width: 17ch;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.08;
}

.rb h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.rb-heading { max-width: 640px; }
.rb-heading--wide { max-width: 760px; }
.rb-heading > p {
  max-width: 60ch;
  margin: 20px 0 0;
  color: var(--rb-muted);
  line-height: 1.8;
}
.rb-heading > p + p { margin-top: 12px; }

.rb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 32px;
}
.rb-actions--center { justify-content: center; }
.rb-actions :is(.brand-cta-primary, .brand-cta-secondary) { gap: 9px; padding: 12px 18px; }
.rb-actions .brand-cta-primary > span[aria-hidden] { transition: transform 200ms ease; }
.rb-actions .brand-cta-primary:hover > span[aria-hidden] { transform: translateY(2px); }
.rb-email { position: relative; display: inline-flex; gap: 8px; }
.rb-email__toast {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--site-white);
  background: var(--rb-ink);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: -50% -4px;
  transition: opacity 200ms ease, translate 200ms ease;
}
.rb-email__toast::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  border: 6px solid transparent;
  border-bottom-color: var(--rb-ink);
  translate: -50% 0;
}
.rb-email__toast[data-visible="true"] { opacity: 1; translate: -50% 0; }
.rb-actions .brand-cta-secondary.rb-copy { width: 44px; padding: 0; justify-content: center; cursor: pointer; }
.rb-email > [data-email-open] { cursor: pointer; }
.rb-copy .ph { font-size: 1.05rem; }
.rb-copy { position: relative; overflow: visible; }
.rb-copy__tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--site-white);
  background: var(--rb-ink);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: -50% 4px;
  transition: opacity 160ms ease, translate 160ms ease;
}
.rb-copy__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 5px solid transparent;
  border-top-color: var(--rb-ink);
  translate: -50% 0;
}
.rb-copy:focus-visible .rb-copy__tip,
.rb-copy[data-copying="true"] .rb-copy__tip { opacity: 1; translate: -50% 0; }
@media (hover: hover) {
  .rb-copy:hover .rb-copy__tip { opacity: 1; translate: -50% 0; }
}

/* Sketches: every stroke is drawn when its block enters the viewport. */
.sk { display: block; width: 100%; height: auto; overflow: visible; color: var(--rb-ink); }
.sk .r { stroke: var(--rb-red); }
.sk path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.rb.is-enhanced [data-draw] .sk path:not(.f) {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1100ms cubic-bezier(.35, .6, .25, 1) calc(min(var(--i, 0), 24) * 38ms);
}
.rb.is-enhanced [data-draw] .sk .f { opacity: 0; transition: opacity 500ms ease 300ms; }
.rb.is-enhanced [data-draw].is-drawn .sk path:not(.f) { stroke-dashoffset: 0; }
.rb.is-enhanced [data-draw].is-drawn .sk .f { opacity: 1; }

/* Red pen underline, drawn on arrival. */
.rb-pen { position: relative; white-space: nowrap; }
.rb-pen .sk { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .34em; pointer-events: none; }
.rb-pen .sk path { stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.rb.is-enhanced .rb-pen .sk path { transition-duration: 800ms; transition-delay: 450ms; }

/* The trail itself. */
.rb-trail {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* The walked trail is revealed with two opposite transforms, so scrolling never repaints it. */
.rb-trail__reveal {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, -100%, 0);
  will-change: transform;
}
.rb-trail__reveal > div { position: absolute; inset: 0; transform: translate3d(0, 100%, 0); will-change: transform; }
.rb-trail__route { stroke: color-mix(in srgb, var(--site-ink) 38%, transparent); stroke-width: 1.4; stroke-dasharray: .5 7; }
.rb-trail__walked { stroke: var(--rb-red); stroke-width: 1.6; stroke-dasharray: .5 7; }
.rb-trail__hiker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  will-change: transform;
}
.rb-trail__hiker.is-visible { opacity: 1; }
.rb-trail__hiker > span {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--rb-red);
  box-shadow: 0 0 0 4px var(--site-white), 0 0 0 5px color-mix(in srgb, var(--rb-red) 40%, transparent);
}

/* Hero: base camp, looking at the summit. */
.rb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 40px;
  padding-block: 8px 72px;
}
.rb-hero__identity { display: flex; align-items: flex-start; gap: 22px; margin-top: 28px; }
.rb-hero__identity .rb-lead { margin-top: 0; }
.rb-hero__portrait {
  display: block;
  flex: 0 0 auto;
  width: clamp(84px, 8.6vw, 104px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}
.rb-hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); }
.cluster-light .rb-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1; }
.rb-lead {
  max-width: 50ch;
  margin: 18px 0 0;
  color: var(--rb-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.rb-hero__badge-wrap { position: relative; display: block; flex: 0 0 auto; }
.rb-hero__rails {
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 58px;
  height: auto;
  padding: 7px 14px 6px;
  box-sizing: content-box;
  border-radius: 999px;
  background: var(--site-white);
  box-shadow: 0 1px 3px rgb(12 12 12 / 12%);
  translate: -50% 0;
}

.rb-hero__peak {
  position: relative;
  width: 118%;
  margin: 0 -8% 0 -10%;
  aspect-ratio: 1000 / 850;
}
.rb-hero__mountain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 52%, transparent 98%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 52%, transparent 98%);
}
.rb-hero__cloud {
  position: absolute;
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.rb-hero__cloud--back { top: 4%; right: -12%; width: 46%; opacity: .7; }
.rb-hero__cloud--front { bottom: 18%; left: 4%; width: 46%; }
.rb-hero__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.rb-hero__route-dots { stroke: var(--rb-red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .5 13; }
.rb-hero__route-reveal { stroke: #fff; stroke-width: 20; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rb.is-enhanced .rb-hero__route-reveal { stroke-dashoffset: 1; transition: stroke-dashoffset 2400ms cubic-bezier(.45, .1, .25, 1) 300ms; }
.rb.is-enhanced .is-drawn .rb-hero__route-reveal { stroke-dashoffset: 0; }
.rb-hero__flag {
  position: absolute;
  top: 13.4%;
  left: 45.6%;
  width: 11%;
  transform: translate(-30%, -94%);
}
.rb.is-enhanced .rb-hero__flag .sk path:not(.f) { transition-delay: calc(2400ms + min(var(--i, 0), 24) * 38ms); }
.rb-hero__start { position: absolute; bottom: 0; left: 61.2%; width: 1px; height: 1px; }

/* Problems: waypoints on both sides of the trail. */
.rb-problems { padding-block: 72px 40px; }
.rb-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  column-gap: 168px;
  margin: 72px 0 0;
  padding: 0 0 150px;
  list-style: none;
}
.rb-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 20px;
  align-content: start;
  padding-block: 28px;
}
.rb-step:nth-child(odd) { grid-column: 2; }
.rb-step:nth-child(even) { grid-column: 1; top: 150px; }
.rb-step__art { grid-row: span 2; align-self: start; padding-top: 2px; }
.rb-step h3 { align-self: end; }
.rb-step p { margin: 8px 0 0; color: var(--rb-muted); font-size: .88rem; line-height: 1.7; }
.rb-step__cairn {
  position: absolute;
  top: 52px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--rb-ink);
  border-radius: 50%;
  background: var(--site-white);
  transition: background-color 400ms ease, border-color 400ms ease;
}
.rb-step:nth-child(odd) .rb-step__cairn { left: -89px; }
.rb-step:nth-child(even) .rb-step__cairn { right: -89px; }
.rb-problems,
.rb-proof { position: relative; }
.rb-steps__exit { position: absolute; bottom: 24px; left: 50%; }
.rb-proof__exit { position: absolute; bottom: 48px; left: 0; }
.rb-step.is-drawn .rb-step__cairn { border-color: var(--rb-red); background: var(--rb-red); }

/* Each problem arrives, its sketch draws, then it gets crossed off in red. */
.rb-strike {
  background: linear-gradient(color-mix(in srgb, var(--rb-red) 80%, transparent), color-mix(in srgb, var(--rb-red) 80%, transparent)) 0 62% / 100% 1.2px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rb.is-enhanced .rb-step > :not(.rb-step__cairn) { transition: opacity 700ms ease, translate 700ms cubic-bezier(.2, .65, .3, 1); }
.rb.is-enhanced .rb-step:not(.is-drawn) > :not(.rb-step__cairn) { opacity: 0; translate: 0 18px; }
.rb.is-enhanced .rb-step .sk path:not(.f) { transition-delay: calc(200ms + min(var(--i, 0), 24) * 38ms); }
.rb.is-enhanced .rb-strike { background-size: 0 1.2px; transition: background-size 650ms cubic-bezier(.6, .05, .3, 1); }
.rb.is-enhanced .is-struck .rb-strike { background-size: 100% 1.2px; }

/* Offers: two route cards side by side. */
.rb-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 36px 32px;
  border: 1px solid var(--rb-line);
  border-radius: 18px;
  background: var(--site-white);
  box-shadow: 0 18px 40px rgb(12 12 12 / 8%);
}
.rb-offer:nth-child(2) { border-color: color-mix(in srgb, var(--rb-red) 45%, transparent); }
.rb-offer h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.rb-offer__tagline { margin: 10px 0 0; font-size: 1rem; font-weight: 600; }
.rb-offer > p:not([class]) { margin: 18px 0 0; color: var(--rb-muted); font-size: .92rem; line-height: 1.75; }
.rb-offer h4 { margin: 26px 0 0; color: var(--rb-muted); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.rb-offer ul { margin: 10px 0 0; padding: 0; list-style: none; }
.rb-offer li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; padding: 10px 0; border-top: 1px dashed var(--rb-line); font-size: .88rem; line-height: 1.6; }
.rb-offer li .rb-tick { grid-row: auto; margin-top: 2px; }
.rb-offer__note { margin: auto 0 0; padding-top: 22px; color: var(--rb-muted); font-size: .84rem; font-style: italic; line-height: 1.6; }
.rb.is-enhanced .rb-offer { transition: opacity 700ms ease calc(var(--n) * 140ms), translate 700ms cubic-bezier(.2, .65, .3, 1) calc(var(--n) * 140ms); }
.rb.is-enhanced .rb-offer:not(.is-drawn) { opacity: 0; translate: 0 22px; }

/* The pull-request report card. */
.rb-report__card {
  padding: 28px 30px 26px;
  border-radius: 16px;
  color: var(--site-ink, #0c0c0c);
  background: #fbfaf6;
  box-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 30px 60px rgb(0 0 0 / 45%);
}
.rb-report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rb-report__kicker { color: var(--rb-red); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rb-report__status { display: inline-flex; align-items: center; gap: 6px; color: #2f6b3a; font-size: .76rem; font-weight: 500; }
.rb-report__status .ph { font-size: 1rem; }
.rb-report__card h3 { margin: 14px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.rb-report__card > p { margin: 10px 0 0; color: #5e5d58; font-size: .88rem; line-height: 1.65; }
.rb-report__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgb(12 12 12 / 10%);
  border-bottom: 1px solid rgb(12 12 12 / 10%);
}
.rb-report__metrics dt { color: #8f8e88; font-size: .72rem; }
.rb-report__metrics dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.rb-report__metrics s { color: #8f8e88; font-size: .86rem; }
.rb-report__metrics dd > span { color: var(--rb-red); font-size: .8rem; }
.rb-report__metrics strong { font-size: 1.12rem; font-weight: 600; }
.rb-report__checks { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .84rem; }
.rb-report__checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.rb-report__checks .rb-tick { grid-row: auto; width: 16px; height: 16px; margin-top: 2px; }
.rb.is-enhanced .rb-report__card { transition: opacity 700ms ease, transform 800ms cubic-bezier(.2, .65, .3, 1); }
.rb.is-enhanced .rb-report:not(.is-drawn) .rb-report__card { opacity: 0; transform: translateY(24px); }

/* AI: night at camp. */
.rb-night {
  position: relative;
  z-index: 2;
  padding-block: 112px;
  color: #f4f3ef;
  background: #0c0c0c;
  overflow: hidden;
}
.rb-night::before,
.rb-night::after {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 714 / 414;
  background: url("../images/home/engraved-cloud.52330bfe7e87.png") center / contain no-repeat;
  filter: invert(1);
  opacity: .16;
  pointer-events: none;
}
.rb-night::before { top: 40px; right: -80px; }
.rb-night::after { bottom: 20px; left: -140px; transform: scaleX(-1); width: 520px; }
.rb-night .rb-wrap { z-index: 1; }
.cluster-light .rb-night h2 { color: #fff; }
.rb-night .rb-heading > p { color: #b9b8b2; }
.rb-ai { width: 100%; margin-top: 56px; border-collapse: collapse; }
.rb-ai thead th {
  padding: 0 0 14px;
  color: #8f8e88;
  font-size: .78rem;
  font-weight: 500;
  text-align: left;
}
.rb-ai tbody th,
.rb-ai td {
  padding: 28px 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
  vertical-align: top;
  text-align: left;
}
.rb-ai tbody th {
  position: relative;
  width: 38%;
  padding-right: 88px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
}
.rb-ai tbody th::after {
  content: "";
  position: absolute;
  top: 36px;
  right: 24px;
  width: 44px;
  height: 1.5px;
  background: var(--rb-red);
  transform-origin: left;
  transition: transform 700ms cubic-bezier(.3, .6, .3, 1) 200ms;
}
.rb.is-enhanced .rb-ai tbody tr:not(.is-drawn) th::after { transform: scaleX(0); }
.rb-ai td { color: #cfcec8; font-size: .94rem; line-height: 1.75; }

/* The kit: models and skills, inside the night section. */
.rb-kit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 56px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}
.rb-kit h3 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; letter-spacing: -.02em; }
.rb-kit p { max-width: 58ch; margin: 14px 0 0; color: #cfcec8; line-height: 1.8; }
.rb-kit__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-kit__logos li { display: flex; align-items: center; gap: 12px; color: #f4f3ef; font-size: .9rem; }
.rb-kit__logos svg { flex: 0 0 auto; width: 30px; height: 30px; }
.rb.is-enhanced .rb-kit__logos li { transition: opacity 600ms ease calc(var(--n) * 90ms + 200ms), translate 600ms cubic-bezier(.2, .65, .3, 1) calc(var(--n) * 90ms + 200ms); }
.rb.is-enhanced .rb-kit:not(.is-drawn) .rb-kit__logos li { opacity: 0; translate: 0 10px; }

/* Tools: the packing list. */
.rb-pack { padding-block: 112px 64px; }
.rb-pack__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.rb-pack__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  padding: 18px 0;
  border-top: 1px dashed var(--rb-line);
}
.rb-pack__list strong { font-size: .92rem; font-weight: 600; }
.rb-pack__list span { grid-column: 2; margin-top: 3px; color: var(--rb-muted); font-size: .8rem; line-height: 1.55; }
.rb-tick {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: none;
  stroke: var(--rb-red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rb-tick path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.rb.is-enhanced .rb-tick path { stroke-dashoffset: 1; transition: stroke-dashoffset 500ms ease-out 150ms; }
.rb.is-enhanced .is-drawn .rb-tick path { stroke-dashoffset: 0; }

/* Teaching: a taped photo and a signpost. */
.rb-teach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  grid-template-areas: "heading photo" "signs photo";
  align-items: start;
  gap: 40px 72px;
  padding-block: 96px;
}
.rb-teach .rb-heading { grid-area: heading; }
.rb-teach__photo { grid-area: photo; position: relative; margin: 24px 0 0; transform: rotate(2deg); }
.rb-teach__photo::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  width: 96px;
  height: 26px;
  background: rgb(230 226 214 / 78%);
  transform: translateX(-50%) rotate(-3deg);
}
.rb-teach__photo img { display: block; width: 100%; height: auto; padding: 10px 10px 44px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 14px 32px rgb(0 0 0 / 8%); }
.rb-teach__photo figcaption {
  position: absolute;
  bottom: 12px;
  left: 20px;
  font-family: "Comic Sans MS", "Chalkboard SE", "Vollkorn", cursive;
  font-size: .86rem;
}
.rb-teach__signs {
  grid-area: signs;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 20px;
}
.rb-teach__post { grid-row: span 2; width: 64px; }
.rb-teach__signs a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 32px 14px 0;
  border-bottom: 1px solid var(--rb-line);
  color: var(--rb-ink);
  text-decoration: none;
}
.rb-teach__signs a::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--rb-muted);
  transform: translateY(-50%);
  transition: transform 200ms ease, color 200ms ease;
}
.rb-teach__signs a:hover::after { color: var(--rb-red); transform: translate(3px, -50%); }
.rb-teach__signs strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 400; }
.rb-teach__signs span { color: var(--rb-muted); font-size: .8rem; line-height: 1.5; }

/* Proof: the elevation profile of 15 years. */
.rb-proof { padding-block: 96px; }
.rb-proof__profile { margin-top: 48px; }
.rb-proof__list { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rb-line); }
.rb-proof__list a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--rb-line);
  color: var(--rb-ink);
  text-decoration: none;
  transition: background-color 180ms ease;
}
.rb-proof__list a:hover { background: color-mix(in srgb, var(--rb-red) 4%, transparent); }
.rb-proof__year { color: var(--rb-red); font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rb-proof__text strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; font-weight: 400; }
.rb-proof__text > span { display: block; margin-top: 5px; color: var(--rb-muted); font-size: .82rem; line-height: 1.55; }
.rb-proof__arrow { color: var(--rb-muted); transition: transform 180ms ease; }
.rb-proof__list a:hover .rb-proof__arrow { transform: translateX(3px); }

/* Summit: contact on the left, the stage on the right. */
.rb-summit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: stretch;
  gap: 48px;
  width: min(100% - 2 * var(--site-content-gutter), var(--rb-wrap));
  margin-inline: auto;
  padding-block: 48px 96px;
  scroll-margin-top: 96px;
}
.rb-summit__cta {
  display: grid;
  align-content: center;
  justify-items: start;
  width: auto;
  margin: 0;
  padding-block: 32px;
  text-align: left;
}
.rb-summit__flag { width: 64px; margin-bottom: 20px; }
.rb-summit .rb-actions--center { justify-content: flex-start; }
.rb-summit__languages {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 20px 0 0;
  color: var(--rb-muted);
  font-size: .8rem;
}
.rb-summit__languages .ph { font-size: 1rem; }
.cluster-light .rb-summit h2 { max-width: 18ch; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.rb-summit__stage {
  position: relative;
  z-index: 2;
  min-height: clamp(380px, 40vw, 560px);
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}
.rb-summit__stage::before,
.rb-summit__stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  aspect-ratio: 714 / 414;
  background: url("../images/home/engraved-cloud.52330bfe7e87.png") center / contain no-repeat;
  filter: invert(1);
  opacity: .18;
  pointer-events: none;
}
.rb-summit__stage::before { top: 28px; left: -6%; width: 55%; }
.rb-summit__stage::after { top: 72px; right: -8%; width: 44%; transform: scaleX(-1); }
.rb-summit__stage img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 130%;
  max-width: none;
  height: auto;
  translate: -50% 0;
}

/* Editorial layout: short pieces, generous rhythm, a sketch or an icon for every idea. */
.rb--editorial { --rb-section: 128px; }
.rb-icon { display: block; flex: 0 0 auto; width: 52px; }

/* Cover: a 1900 steam train crawls along the far line while the 2026 train overtakes it again and again. */
.rb-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-block: 8px 40px;
}
.cluster-light .rb-cover h1 { max-width: 11ch; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; }
.rb-cover__lead {
  max-width: 34ch;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.5;
}
.rb-cover__identity {
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  max-width: 100%;
  margin-top: 32px;
  padding: 18px 26px 24px 20px;
  border: 1px solid var(--rb-line);
  border-radius: 22px;
  background: var(--site-white);
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 18px 40px -24px rgb(0 0 0 / 22%);
}
.rb-cover__identity .rb-hero__portrait { width: 92px; }
.rb-cover__identity .rb-hero__rails { bottom: -12px; width: 48px; padding: 6px 11px 5px; }
.rb-cover__identity p { max-width: 40ch; margin: 0; color: var(--rb-muted); font-size: .95rem; line-height: 1.75; }
.rb-cover .rb-actions { margin-top: 40px; }
.rb-cover__art {
  position: relative;
  align-self: center;
  margin: 0;
  padding-top: 10%;
}
.rb-cover__art .rb-hero__cloud--back { top: -6%; bottom: auto; right: -2%; width: 30%; opacity: .5; }
.rb-cover__art .rb-hero__cloud--front { top: 1%; bottom: auto; left: 4%; width: 19%; opacity: .35; }
.rb-overtake {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.rb-train { will-change: transform; }
.rb-train__puff { transform-box: fill-box; transform-origin: 50% 80%; }
.rb-train__puff:nth-child(2) { opacity: .8; transform: translate(-20px, -14px) scale(1.4); }
.rb-train__puff:nth-child(3) { opacity: .5; transform: translate(-46px, -28px) scale(1.9); }
.rb-train__spin { transform-box: fill-box; transform-origin: center; }
.rb.is-enhanced [data-draw] .rb-train path:not(.f) { stroke-dashoffset: 0; transition: none; }
.rb.is-enhanced [data-draw] .rb-train .f { opacity: 1; transition: none; }
.rb-overtake__far { color: color-mix(in srgb, var(--rb-ink) 55%, transparent); }
.rb-overtake__lane--steam { transform: translateX(600px); }
.rb-overtake__lane--fast { transform: translateX(560px); }

/* Numbers: four facts read before any paragraph. */
.rb-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.rb-stats li { display: grid; align-content: start; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rb-line); }
.rb-stats strong {
  display: flex;
  align-items: baseline;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
}
.rb-stats s {
  margin-right: 12px;
  color: var(--rb-muted);
  font-size: .55em;
  text-decoration: line-through 2px color-mix(in srgb, var(--rb-red) 85%, transparent);
}
.rb-stats small { margin-left: 8px; color: var(--rb-muted); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .9rem; letter-spacing: 0; }
.rb-stats span { max-width: 24ch; color: var(--rb-muted); font-size: .86rem; line-height: 1.5; }
.rb.is-enhanced .rb-stats li { transition: opacity 700ms ease calc(var(--n) * 90ms), translate 700ms cubic-bezier(.2, .65, .3, 1) calc(var(--n) * 90ms); }
.rb.is-enhanced .rb-stats li:not(.is-drawn) { opacity: 0; translate: 0 14px; }

/* Problems: each one is crossed off when the walker passes, and its fixed state draws in. */
.rb--editorial .rb-problems { padding-block: var(--rb-section) 24px; }
.rb-pairs { margin: 56px 0 0; padding: 0; list-style: none; }
.rb-pair {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, .78fr);
  align-items: center;
  gap: 28px;
  padding-block: 30px;
}
.rb-pair__cairn {
  position: absolute;
  top: 50%;
  left: -48.5px;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border: 1.5px solid var(--rb-ink);
  border-radius: 50%;
  background: var(--site-white);
  transition: background-color 400ms ease, border-color 400ms ease;
}
.rb-pair.is-struck .rb-pair__cairn { border-color: var(--rb-red); background: var(--rb-red); }
.rb-pair__before { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 22px; }
.rb-pair__before p { max-width: 40ch; margin: 6px 0 0; color: var(--rb-muted); font-size: .88rem; line-height: 1.6; }
.rb-pair__arrow { width: 72px; justify-self: center; }
.rb-pair__after { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 18px; }
.rb-pair__after p {
  max-width: 24ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.rb.is-enhanced .rb-pair > :not(.rb-pair__cairn) { transition: opacity 700ms ease, translate 700ms cubic-bezier(.2, .65, .3, 1); }
.rb.is-enhanced .rb-pair:not(.is-drawn) > :not(.rb-pair__cairn) { opacity: 0; translate: 0 18px; }
.rb.is-enhanced .rb-pair__before .sk path:not(.f) { transition-delay: calc(150ms + min(var(--i, 0), 24) * 30ms); }
.rb.is-enhanced .rb-pair:not(.is-struck) :is(.rb-pair__arrow, .rb-pair__after) .sk path:not(.f) { stroke-dashoffset: 1; }
.rb.is-enhanced .rb-pair:not(.is-struck) .rb-pair__after .sk .f { opacity: 0; }
.rb.is-enhanced .rb-pair.is-struck .rb-pair__after .sk path:not(.f) { transition-delay: calc(350ms + min(var(--i, 0), 24) * 30ms); }

/* Short statements: an icon, a sentence in Georgia, one line of detail. */
.rb-cost { padding-block: var(--rb-section) 24px; }
.rb-cost__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: 56px;
}
.rb-cost__art { width: 100%; justify-self: end; }
.rb-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.rb-points .rb-icon { width: 60px; margin-bottom: 22px; }
.rb-points h3 {
  max-width: 20ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.rb-points p { max-width: 34ch; margin: 10px 0 0; color: var(--rb-muted); font-size: .92rem; line-height: 1.65; }
.rb.is-enhanced :is(.rb-points, .rb-flow__list, .rb-faq__list) > * { transition: opacity 700ms ease calc(var(--n) * 120ms), translate 700ms cubic-bezier(.2, .65, .3, 1) calc(var(--n) * 120ms); }
.rb.is-enhanced :is(.rb-points, .rb-flow__list, .rb-faq__list) > :not(.is-drawn) { opacity: 0; translate: 0 16px; }
.rb.is-enhanced :is(.rb-points, .rb-flow__list, .rb-faq__list, .rb-offers__grid) .sk path:not(.f) { transition-delay: calc(var(--n, 0) * 120ms + 200ms + min(var(--i, 0), 24) * 30ms); }

/* Offers. */
.rb-offers { position: relative; padding-block: var(--rb-section) 96px; }
.rb-offers__exit { position: absolute; bottom: 24px; left: 0; }
.rb-offers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.rb--editorial .rb-offer { padding: 40px 40px 32px; }
.rb-offer__icon { width: 52px; margin-bottom: 22px; }
.rb--editorial .rb-offer h4 { margin-top: 30px; font-size: .84rem; letter-spacing: 0; text-transform: none; }
.rb--editorial .rb-offer li { padding-block: 12px; font-size: .9rem; }
.rb--editorial .rb-offer li strong { font-weight: 600; }
.rb-offers > .rb-actions { justify-content: center; margin-top: 48px; }

/* Review: the night section, the report pinned while the questions scroll. */
.rb--editorial .rb-night { padding-block: var(--rb-section); --sk-paper: #0c0c0c; overflow: clip; }
.rb--editorial .rb-night::before { top: 12px; right: -170px; }
.rb-night .sk { color: #f4f3ef; }
.rb-night .rb-heading > p:last-child { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.5; }
.rb-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  margin-top: 88px;
}
.rb-report { position: sticky; top: 120px; margin: 0; }
.rb-qa { margin: 0; }
.rb-qa__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 22px;
  padding: 36px 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
}
.rb-qa__row:first-child { padding-top: 8px; border-top: 0; }
.rb-qa__icon { grid-row: span 2; width: 40px; }
.rb-qa dt { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.35; }
.rb-qa dd { max-width: 44ch; margin: 12px 0 0; color: #b9b8b2; font-size: .94rem; line-height: 1.7; }

/* The tools: three company plans, named one by one. */
.rb--editorial .rb-vault { padding-block: 120px; }
.rb--editorial .rb-vault::before { top: auto; bottom: -30px; right: -120px; width: 560px; opacity: .12; }
.rb--editorial .rb-vault::after { top: 24px; bottom: auto; left: -170px; width: 460px; opacity: .1; }
.rb--editorial .rb-kit {
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.rb-vault__lock { position: relative; display: grid; place-items: center; align-self: center; }
.rb-vault__cloud { position: absolute; bottom: -8%; left: 50%; width: 150%; max-width: none; translate: -50% 0; filter: invert(1); opacity: .32; pointer-events: none; }
.rb-vault__lock .sk { position: relative; width: min(100%, 220px); }
.rb-vault__lock .sk .h { opacity: .7; }
.cluster-light .rb--editorial .rb-kit h2 { max-width: 20ch; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; }
.rb--editorial .rb-kit p { max-width: 54ch; margin-top: 22px; color: #b9b8b2; font-size: 1.02rem; line-height: 1.75; }
.rb--editorial .rb-kit__logos { gap: 14px; margin-top: 40px; }
.rb--editorial .rb-kit__logos li { position: relative; gap: 14px; padding: 18px 20px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 4px; background: #141414; }
.rb--editorial .rb-kit__logos svg { width: 28px; height: 28px; }
.rb-kit__logos li > span { display: grid; gap: 3px; }
.rb-kit__logos strong { font-weight: 500; white-space: nowrap; }
.rb-kit__logos small { color: #8f8e88; font-size: .76rem; }
.rb.is-enhanced .rb-vault__cloud { transition: opacity 1400ms ease 300ms, translate 1800ms cubic-bezier(.2, .65, .3, 1) 300ms; }
.rb.is-enhanced .rb-kit:not(.is-drawn) .rb-vault__cloud { opacity: 0; translate: -42% 0; }

/* Gemfile: a second night band, the packing list in chalk. */
.rb--editorial .rb-pack { padding-block: var(--rb-section); }
.rb--editorial .rb-pack::before { top: 40px; right: -120px; }
.rb--editorial .rb-pack::after { bottom: -90px; left: -260px; opacity: .12; }
.rb--editorial .rb-pack .rb-heading h2 { max-width: 18ch; }
.rb-night .rb-pack__list li { border-top-color: rgb(255 255 255 / 16%); }
.rb-night .rb-pack__list strong { color: #fff; }
.rb-night .rb-pack__list span { color: #a9a8a2; }
.rb.is-enhanced .rb-pack__list li { transition: opacity 600ms ease calc(var(--n, 0) * 90ms), translate 600ms cubic-bezier(.2, .65, .3, 1) calc(var(--n, 0) * 90ms); }
.rb.is-enhanced .rb-pack__list li:not(.is-drawn) { opacity: 0; translate: 0 10px; }
.rb-flags { display: flex; gap: 6px; }
.rb-flags svg { display: block; flex: 0 0 auto; width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / 12%); }

/* Process: six steps, an icon each. */
.rb-flow { padding-block: var(--rb-section) 24px; }
.rb--editorial .rb-flow { padding-bottom: var(--rb-section); }
.rb-flow__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 56px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.rb-flow__list .rb-icon { margin-bottom: 20px; }
.rb-flow__list h3 { display: flex; align-items: baseline; gap: 10px; }
.rb-flow__number { color: var(--rb-red); font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 400; line-height: 1; }
.rb-flow__list p { max-width: 30ch; margin: 8px 0 0; color: var(--rb-muted); font-size: .88rem; line-height: 1.65; }

/* Tools: the packing list, one small sketch per category. */
.rb--editorial .rb-pack { padding-block: var(--rb-section) 24px; }
.rb--editorial .rb-pack__list { gap: 0 48px; margin-top: 64px; }
.rb--editorial .rb-pack__list li { grid-template-columns: 36px minmax(0, 1fr); align-items: start; column-gap: 16px; padding: 24px 0; }
.rb--editorial .rb-pack__list strong { font-size: .94rem; }
.rb--editorial .rb-pack__list span { margin-top: 4px; font-size: .82rem; }
.rb--editorial .rb-pack__list .rb-pack__icon { grid-column: 1; grid-row: span 2; width: 36px; margin-top: 0; }

.rb--editorial .rb-proof { padding-block: var(--rb-section) 96px; }

/* Questions, each with its own sketch. */
.rb-security .rb-points { margin-top: 48px; }
.cluster-light .rb-night .rb-points h3 { color: #fff; }
.rb-night .rb-points p { color: #a9a8a2; }
.rb-faq { position: relative; padding-block: var(--rb-section) 112px; }
.rb-faq__exit { position: absolute; bottom: 40px; left: 0; }
.rb-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
  margin: 56px 0 0;
}
.rb-faq__list dt {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.3;
}
.rb-faq__list dt .rb-icon { width: 40px; }
.rb-faq__list dd { max-width: 44ch; margin: 10px 0 0 58px; color: var(--rb-muted); font-size: .9rem; line-height: 1.65; }
.rb-summit__intro { max-width: 48ch; margin: 24px 0 0; color: var(--rb-muted); line-height: 1.75; }
.rb--editorial .rb-summit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 56px; padding-block: 48px 112px; }
.rb--editorial .rb-summit__cta { align-content: start; padding-block: 0; }
.rb--editorial :is(.rb-contact, .rb-summit__notes) { max-width: none; }
.rb--editorial .rb-summit__stage { align-self: stretch; min-height: 0; margin-top: 96px; }
.rb-summit__clock { width: 72px; margin-bottom: 24px; }
.cluster-light .rb--editorial .rb-summit h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }

/* Pressed buttons give a little, and their icons answer the hover. */
.rb-actions :is(.brand-cta-primary, .brand-cta-secondary) { transition: scale 200ms ease-out; }
.rb-actions :is(.brand-cta-primary, .brand-cta-secondary):active { scale: .97; }
.rb-actions .ph { transition: transform 240ms ease-out; }

.rb a:focus-visible { outline: 2px solid var(--rb-ink); outline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .rb.is-enhanced .rb-hero__cloud--back { animation: rb-drift 28s ease-in-out infinite alternate; }
  .rb.is-enhanced .rb-hero__cloud--front { animation: rb-drift 34s ease-in-out -8s infinite alternate-reverse; }
  .rb.is-enhanced .rb-trail__hiker > span::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid var(--rb-red);
    border-radius: 50%;
    animation: rb-pulse 2.4s ease-out infinite;
  }
  .rb.is-enhanced .rb-cover__art.is-drawn .rb-train__puff { animation: rb-puff 2.4s ease-out calc(var(--p) * -.8s) infinite; }
  .rb.is-enhanced .rb-cover__art.is-drawn .rb-train--steam .rb-train__spin { animation: rb-spin 1.2s linear infinite; }
  .rb.is-enhanced .rb-cover__art.is-drawn .rb-train--fast .rb-train__spin { animation: rb-spin .3s linear infinite; }
  .rb.is-enhanced .rb-cover__art.is-drawn .rb-overtake__lane--steam { animation: rb-crawl 12s linear -3.5s infinite; }
  .rb.is-enhanced .rb-cover__art.is-drawn .rb-overtake__lane--fast { animation: rb-pass 4s linear .4s infinite both; }
  @keyframes rb-crawl { from { transform: translateX(-10px); } to { transform: translateX(1330px); } }
  @keyframes rb-pass { from { transform: translateX(-30px); } 55%, to { transform: translateX(1290px); } }
  @media (hover: hover) {
    .rb-actions a:hover .ph-phone { animation: rb-ring 500ms ease-in-out; }
    .rb-actions button:hover .ph-envelope-simple { transform: translateY(-2px) rotate(-6deg); }
    .rb-actions button:hover .ph-copy { transform: scale(1.12); }
  }
  @keyframes rb-puff {
    from { opacity: 0; transform: translate(0, 0) scale(.6); }
    15% { opacity: .95; }
    to { opacity: 0; transform: translate(-60px, -34px) scale(2.1); }
  }
  @keyframes rb-spin { to { rotate: 360deg; } }
  @keyframes rb-ring { 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }
  @keyframes rb-drift { to { transform: translateX(28px); } }
  @keyframes rb-pulse { from { opacity: .7; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
}

@media (max-width: 1023px) {
  .rb--editorial .rb-kit { grid-template-columns: 1fr; gap: 32px; }
  .rb-vault__lock { justify-self: start; }
  .rb-vault__lock .sk { width: 150px; }
  .rb-steps { column-gap: 120px; }
  .rb-step:nth-child(odd) .rb-step__cairn { left: -65px; }
  .rb-step:nth-child(even) .rb-step__cairn { right: -65px; }
  .rb-pack__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-offer { padding: 28px 26px 26px; }
  .rb-pair { grid-template-columns: minmax(0, 1fr) 64px minmax(0, .8fr); gap: 20px; }
  .rb-pair__arrow { width: 56px; }
  .rb-points { gap: 36px; }
  .rb-flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .rb-review { grid-template-columns: 1fr; gap: 56px; }
  .rb-report { position: static; max-width: 560px; }
}

@media (max-width: 767px) {
  .rb-wrap { width: auto; margin-inline: 16px; padding-inline: 22px; }
  .rb-hero { grid-template-columns: 1fr; gap: 8px; padding-bottom: 48px; }
  .rb-hero__identity { gap: 16px; }
  .rb-hero__peak { width: calc(100% + 20px); margin: 56px -10px 0; }
  .rb-problems { padding-top: 48px; }
  .rb-steps { grid-template-columns: 1fr; margin-top: 40px; padding-bottom: 0; }
  .rb-step { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; padding-block: 22px; }
  .rb-step:nth-child(n) { grid-column: 1; top: 0; }
  .rb-step:nth-child(odd) .rb-step__cairn,
  .rb-step:nth-child(even) .rb-step__cairn { right: auto; left: -26.5px; top: 44px; }
  .rb-offer { padding: 28px 24px 24px; }
  .rb--editorial { --rb-section: 88px; }
  .rb-cover { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 24px; }
  .rb-cover__lead { font-size: 1.14rem; }
  .rb-cover__identity { gap: 16px; padding: 16px 18px 22px 16px; border-radius: 18px; }
  .rb-cover__identity .rb-hero__portrait { width: 80px; }
  .rb-cost__head { grid-template-columns: 1fr; gap: 32px; }
  .rb-cost__art { max-width: 200px; justify-self: start; }
  .rb-cover__art { margin-top: 24px; padding-top: 12%; }
  .rb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; margin-top: 16px; }
  .rb-pairs { margin-top: 36px; }
  .rb-pair { grid-template-columns: 1fr; gap: 14px; padding-block: 26px; }
  .rb-pair__cairn { top: 52px; left: -26.5px; }
  .rb-pair__before { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .rb-pair__arrow { width: 40px; justify-self: start; margin-left: 14px; transform: rotate(90deg); }
  .rb-pair__after { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .rb-pair__after .rb-icon { width: 48px; justify-self: center; }
  .rb-pair__after p { font-size: 1.1rem; }
  .rb-points { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .rb-points li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .rb-points .rb-icon { grid-row: span 2; width: 48px; margin: 0; }
  .rb-offers { padding-bottom: 72px; }
  .rb-offers__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .rb-review { margin-top: 56px; gap: 40px; }
  .rb-qa__row { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; padding-block: 28px; }
  .rb-qa__icon { width: 32px; }
  .rb-qa dt { font-size: 1.14rem; }
  .rb--editorial .rb-vault { padding-block: 80px; }
  .rb-vault__lock .sk { width: 120px; }
  .rb--editorial .rb-kit__logos { grid-template-columns: 1fr; }
  .rb--editorial .rb-kit__logos li { flex-direction: row; font-size: .9rem; text-align: left; }
  .rb-flow__list { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .rb-flow__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .rb-flow__list .rb-icon { grid-row: span 2; width: 48px; margin: 0; }
  .rb-faq__list { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .rb-faq__list dt { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .rb-faq__list dt .rb-icon { width: 36px; }
  .rb-faq__list dd { margin-left: 50px; }
  .rb-report__metrics { grid-template-columns: 1fr; gap: 12px; }
  .rb-night { padding-block: 132px 150px; }
  .rb-night::before { top: 24px; right: -28px; width: 200px; opacity: .32; }
  .rb-night::after { bottom: 28px; left: -36px; width: 240px; opacity: .28; }
  .rb-ai thead { display: none; }
  .rb-ai,
  .rb-ai tbody,
  .rb-ai tr,
  .rb-ai tbody th,
  .rb-ai td { display: block; width: auto; }
  .rb-ai tr { padding: 24px 0; border-top: 1px solid rgb(255 255 255 / 14%); }
  .rb-ai tbody th,
  .rb-ai td { padding: 0; border: 0; }
  .rb-ai tbody th { padding-bottom: 28px; }
  .rb-ai tbody th::after { top: auto; bottom: 12px; left: 0; right: auto; }
  .rb-kit { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; padding-top: 40px; }
  .rb-kit__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .rb-kit__logos li { flex-direction: column; gap: 8px; font-size: .74rem; text-align: center; }
  .rb-kit__logos svg { width: 28px; height: 28px; }
  .rb-pack { padding-block: 72px 40px; }
  .rb-pack__list { grid-template-columns: 1fr; }
  .rb--editorial .rb-pack__list { margin-top: 40px; }
  .rb-teach { grid-template-columns: 1fr; grid-template-areas: "heading" "photo" "signs"; gap: 40px; padding-block: 72px; }
  .rb-teach__photo { max-width: 360px; }
  .rb-proof { padding-block: 72px; }
  .rb-proof__list a { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 16px; padding-inline: 0; }
  .rb-proof__year { grid-column: 1 / -1; }
  .rb-proof__text { grid-column: 1; }
  .rb-summit { grid-template-columns: 1fr; gap: 32px; width: auto; margin-inline: 16px; padding-block: 32px 64px; }
  .rb-summit__cta { padding: 0 22px; }
  .rb-summit__stage { min-height: 300px; border-radius: 16px; }
  .rb--editorial .rb-summit { gap: 32px; padding-block: 32px 64px; }
  .rb--editorial .rb-summit__stage { margin: 0 22px; }
  .rb-summit__stage img { width: 150%; }
  .rb-summit__stage::before { top: 20px; left: -30px; width: 170px; opacity: .26; }
  .rb-summit__stage::after { top: 44px; right: -24px; width: 140px; opacity: .22; }
  .rb-summit .rb-actions { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
  .rb-email__toast { left: 0; right: 0; white-space: normal; text-align: center; translate: 0 -4px; }
  .rb-email__toast[data-visible="true"] { translate: 0 0; }
  .rb-email { display: flex; }
  .rb-copy__tip { left: auto; right: 0; translate: 0 4px; }
  .rb-copy__tip::after { left: auto; right: 17px; translate: 0 0; }
  .rb-copy:focus-visible .rb-copy__tip,
  .rb-copy[data-copying="true"] .rb-copy__tip { translate: 0 0; }
  .rb-email > [data-email-open] { flex: 1; justify-content: center; }
}

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

/* Legacy layout kept for the French and Spanish pages until they are translated. */
.rb-ui {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding-block: 96px;
}
.rb-ui__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rb-line);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgb(12 12 12 / 12%);
}
.rb-ui__photo img { display: block; width: 100%; aspect-ratio: 1.3; height: auto; object-fit: cover; object-position: top; }
@media (max-width: 767px) {
  .rb-ui { grid-template-columns: 1fr; gap: 40px; padding-block: 72px; }
}

/* Example email: a compose window that writes itself. */
.rb-mail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding-block: 24px var(--rb-section);
}
.cluster-light .rb-mail h2 { max-width: 14ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.rb-mail__copy p { max-width: 32ch; margin: 16px 0 0; color: var(--rb-muted); line-height: 1.7; }
.rb-compose {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 24px 60px -18px rgb(0 0 0 / 28%);
  color: #1f1f1f;
  font-size: .9rem;
}
.rb-compose__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #f2f6fc; font-size: .86rem; font-weight: 500; }
.rb-compose__controls { display: flex; gap: 14px; color: #444746; }
.rb-compose__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-block: 6px; min-height: 44px; margin-inline: 16px; border-bottom: 1px solid #e8eaed; }
.rb-compose__label { color: #5f6368; }
.rb-compose__chip { display: inline-flex; white-space: nowrap; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border: 1px solid #dadce0; border-radius: 999px; font-size: .84rem; }
.rb-compose__chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.rb-compose__address { color: #5f6368; font-size: .82rem; }
.rb-compose__subject { font-weight: 500; }
.rb-compose__body { min-height: 220px; padding: 16px; line-height: 1.6; }
.rb-type { display: grid; white-space: pre-line; }
.rb-type > * { grid-area: 1 / 1; }
.rb-type > [aria-hidden] { visibility: hidden; }
.rb-compose__foot { display: flex; align-items: center; gap: 18px; padding: 10px 16px 14px; }
.rb-compose__tools { display: flex; gap: 16px; color: #444746; font-size: 1.1rem; }
.rb-compose__trash { margin-left: auto; color: #444746; font-size: 1.1rem; }
.rb-compose.is-typing [data-type].is-active::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: currentColor;
  animation: rb-caret 1s steps(1) infinite;
}
@media (max-width: 1023px) {
  .rb-mail { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .rb-mail { padding-block: 0 80px; }
  .rb-compose__body { min-height: 0; }
  .rb-compose__tools { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-compose.is-typing [data-type].is-active::after { animation: none; }
}

/* Hero: a quiet second link to the offers. */
.rb-link { display: inline-flex; align-items: center; gap: 8px; color: var(--rb-ink); font-size: .92rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--rb-line); text-underline-offset: 5px; transition: text-decoration-color 200ms ease; }
.rb-link:hover { text-decoration-color: var(--rb-red); }
.rb-cover .rb-actions { align-items: center; gap: 28px; }
#ruby-offers { scroll-margin-top: 72px; }

/* Pipeline: a sample GitHub Actions run, before and after. */
.rb-ci { padding-block: var(--rb-section) 24px; }
.rb-ci__switch { display: inline-flex; gap: 4px; margin-top: 48px; padding: 4px; border: 1px solid var(--rb-line); border-radius: 999px; background: #fff; }
.rb-ci__switch button { padding: 8px 18px; border: 0; border-radius: 999px; background: none; color: var(--rb-muted); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background 250ms ease, color 250ms ease; }
.rb-ci__switch button[aria-pressed="true"] { background: var(--rb-ink); color: #fff; }
.rb-gh {
  display: grid;
  margin-top: 20px;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  background: #fff;
  color: #1f2328;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 1px 0 rgb(31 35 40 / 4%), 0 24px 48px -28px rgb(0 0 0 / 22%);
  overflow: hidden;
}
.rb-gh__ok { flex: 0 0 auto; width: 16px; height: 16px; fill: #1a7f37; }
.rb-gh__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #d1d9e0; }
.rb-gh__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rb-gh__title strong { font-size: 16px; font-weight: 600; }
.rb-gh__title span { overflow: hidden; color: #59636e; text-overflow: ellipsis; white-space: nowrap; }
.rb-gh__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.rb-gh__btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #d1d9e0; border-radius: 6px; background: #f6f8fa; color: #25292e; font-size: 13px; font-weight: 500; white-space: nowrap; }
.rb-gh__btn--rerun { box-shadow: 0 0 0 3px rgb(209 36 47 / 16%); border-color: #d1242f; }
.rb-gh__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 16px 20px; border-bottom: 1px solid #d1d9e0; background: #f6f8fa; }
.rb-gh__summary dt { color: #59636e; font-size: 12px; }
.rb-gh__summary dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.rb-gh__total dd { font-size: 20px; letter-spacing: -.01em; }
.rb-gh__run--before .rb-gh__total dd { color: #d1242f; }
.rb-gh__run--after .rb-gh__total dd { color: #1a7f37; }
.rb-gh__graph { padding: 20px; background-color: #f6f8fa; background-image: radial-gradient(#d1d9e0 1px, transparent 1px); background-size: 12px 12px; }
.rb-gh__file { margin: 0 0 18px; font-weight: 600; }
.rb-gh__file span { margin-left: 6px; color: #59636e; font-weight: 400; }
.rb-gh__flow { display: flex; align-items: center; gap: 28px; }
.rb-gh__col { position: relative; display: grid; flex: 1 1 0; gap: 10px; min-width: 0; }
.rb-gh__col + .rb-gh__col::before { content: ""; position: absolute; top: 50%; right: 100%; width: 28px; border-top: 2px solid #d1d9e0; }
.rb-gh__job { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 12px; border: 1px solid #d1d9e0; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 rgb(31 35 40 / 4%); }
.rb-gh__name { flex: 1 1 auto; min-width: 0; font-weight: 500; }
.rb-gh__time { color: #59636e; font-size: 12px; }
.rb-gh__badge { flex-basis: 100%; padding-left: 24px; color: #d1242f; font-size: 12px; font-weight: 500; }
.rb-gh__matrix { padding: 8px; border: 1px dashed #d1d9e0; border-radius: 8px; background: rgb(255 255 255 / 60%); }
.rb-gh__matrix p { margin: 0 0 8px 4px; color: #59636e; font-size: 12px; }
.rb-gh__dots { display: flex; flex-basis: 100%; gap: 3px; padding-left: 24px; }
.rb-gh__dots i { width: 8px; height: 8px; border-radius: 50%; background: #1a7f37; }

.rb-ci__cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.rb-ci__card { margin: 0; padding: 24px; border: 1px solid var(--rb-line); border-radius: 6px; background: #fff; }
.rb-ci__card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-weight: 600; }
.rb-ci__card figcaption strong { display: inline-flex; align-items: baseline; gap: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; font-weight: 400; }
.rb-ci__card figcaption s { color: var(--rb-muted); font-size: 1.1rem; text-decoration-color: var(--rb-red); }
.rb-ci__card figcaption strong > span { color: var(--rb-red); font-size: 1rem; }
.rb-ci__note { margin: 16px 0 0; color: var(--rb-muted); font-size: .76rem; }

/* Offers: price, then reassurance under the cards. */
.rb-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 18px 0 0; }
.rb-offer__price strong { font-family: Georgia, "Times New Roman", serif; font-size: 2.1rem; font-weight: 400; letter-spacing: -.02em; }
.rb-offer__price span { color: var(--rb-muted); font-size: .82rem; }
.rb-assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin: 40px 0 0; padding: 0; list-style: none; }
.rb-assure li { display: flex; align-items: center; gap: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.45; }
.rb-assure .rb-icon { flex: 0 0 auto; width: 40px; }

/* Contact: what the call covers, and how fast email gets an answer. */
.rb-summit__notes { display: grid; max-width: 480px; margin: 28px 0 0; padding: 4px 20px; border: 1px solid var(--rb-line); border-radius: 10px; background: #fff; list-style: none; color: var(--rb-muted); font-size: .86rem; line-height: 1.55; }
.rb-summit__notes li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 14px; padding-block: 14px; }
.rb-summit__notes li + li { border-top: 1px dashed var(--rb-line); }
.rb-summit__notes li:has(.rb-flags) > span:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 30px; }
.rb-summit__notes .rb-flags { flex: none; }
.rb-summit__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e6f4ea; color: #1a7f37; font-size: 1rem; }
.rb-summit__mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.rb-summit__mark text { fill: currentColor; stroke: none; font-family: Inter, sans-serif; font-size: 7.5px; font-weight: 700; }

/* Floating call button, once the hero is out of view and until the contact section. */
.rb-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--rb-ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 40%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(.2, .65, .3, 1), visibility 300ms;
}
.rb-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.rb-float:hover { background: #2a2a2a; }

@media (max-width: 1023px) {
  .rb-ci__cards { grid-template-columns: 1fr; }
  .rb-gh__flow { gap: 18px; }
  .rb-gh__col + .rb-gh__col::before { width: 18px; }
}
@media (max-width: 767px) {
  .rb-ci { padding-block: 72px 16px; }
  .rb-ci__switch { display: flex; margin-top: 32px; }
  .rb-ci__switch button { flex: 1; padding-inline: 8px; }
  .rb-gh__top { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .rb-gh__title span { display: none; }
  .rb-gh__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 16px; }
  .rb-gh__summary > div:nth-child(-n + 2) { display: none; }
  .rb-gh__graph { padding: 14px 16px; }
  .rb-gh__flow { flex-direction: column; align-items: stretch; gap: 8px; }
  .rb-gh__col { gap: 8px; }
  .rb-gh__col + .rb-gh__col::before { display: none; }
  .rb-gh__job { padding: 8px 10px; }
  .rb-ci__card { padding: 18px; }
  .rb-assure { grid-template-columns: 1fr; }
  .rb-cover .rb-actions { flex-wrap: wrap; gap: 18px; }
  .rb-float { right: 16px; bottom: 16px; padding: 12px 18px; }
}

/* Contact: three clear ways to reach me, stacked at the width of the notes below. */
.rb-contact { display: grid; gap: 10px; width: 100%; max-width: 480px; margin-top: 32px; }
.rb-contact__copy { position: relative; display: grid; }
.rb-contact__action {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rb-ink);
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.rb-contact__action:hover { border-color: var(--rb-ink); box-shadow: 0 6px 18px -10px rgb(0 0 0 / 30%); transform: translateY(-1px); }
.rb-contact__action:focus-visible { outline: 2px solid var(--rb-ink); outline-offset: 3px; }
.rb-contact__action > .ph:first-child { font-size: 1.3rem; }
.rb-contact__action--primary { border-color: var(--rb-ink); background: var(--rb-ink); color: #fff; }
.rb-contact__action--primary:hover { border-color: #2a2a2a; background: #2a2a2a; color: #fff; }
.rb-logo { flex: 0 0 auto; width: 22px; height: auto; }
.rb-mail__actions { max-width: 320px; margin-top: 28px; }
.rb-contact__go { margin-left: auto; opacity: .55; }
.rb-contact .rb-email__toast { top: auto; bottom: calc(100% + 10px); }
.rb-contact .rb-email__toast::before { top: 100%; bottom: auto; border-top-color: var(--rb-ink); border-bottom-color: transparent; }
.rb-contact__address { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-ligatures: none; }
.rb-contact__tag { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: #f2f2ef; color: var(--rb-muted); font-size: .78rem; transition: background 200ms ease, color 200ms ease; }
.rb-contact__action:hover .rb-contact__tag { background: var(--rb-ink); color: #fff; }
.rb-contact__action[data-copying="true"] .rb-contact__tag { background: #e6f4ea; color: #1a7f37; }
.rb-contact + .rb-summit__notes { width: 100%; margin-top: 14px; }

/* Pipeline states: one switch drives the run, the chart and the re-runs. */
.rb-gh__run { grid-area: 1 / 1; margin: 0; transition: opacity 500ms ease, transform 600ms cubic-bezier(.2, .65, .3, 1), filter 500ms ease, visibility 500ms; }
.rb-ci[data-ci-state="before"] .rb-gh__run--after { opacity: 0; visibility: hidden; transform: translateX(24px); filter: blur(3px); }
.rb-ci[data-ci-state="after"] .rb-gh__run--before { opacity: 0; visibility: hidden; transform: translateX(-24px); filter: blur(3px); }
.rb-ci__switch button { position: relative; }
.rb-ci__card figcaption strong { font-variant-numeric: tabular-nums; transition: color 400ms ease; }
.rb-ci[data-ci-state="after"] .rb-ci__card figcaption strong { color: #1a7f37; }
.rb-ci[data-ci-state="before"] .rb-reruns figcaption strong { color: #d1242f; }

.rb-bars { position: relative; height: 180px; margin: 22px 0 0 22px; }
.rb-bars__line { position: absolute; left: 0; right: 0; bottom: calc(var(--v) / 17 * (100% - 22px) + 22px); border-top: 1px solid #eaeef2; }
.rb-bars__line i { position: absolute; right: calc(100% + 6px); top: -.6em; color: var(--rb-muted); font-size: .7rem; font-style: normal; }
.rb-bars__plot { position: absolute; inset: 0 0 22px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid #d1d9e0; }
.rb-bars__plot span {
  flex: 1;
  height: calc(var(--b) / 17 * 100%);
  border-radius: 3px 3px 0 0;
  background: #8c959f;
  transition: height 700ms cubic-bezier(.3, 1.3, .5, 1) calc(var(--n) * 22ms), background 500ms ease calc(var(--n) * 22ms);
}
.rb-ci[data-ci-state="after"] .rb-bars__plot span { height: calc(var(--a) / 17 * 100%); background: #8250df; }
.rb-bars__plot span:hover { opacity: .7; }
.rb-bars__weeks { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); color: var(--rb-muted); font-size: .7rem; text-align: center; }
.rb-bars__weeks i { font-style: normal; }
.rb-chart__axis { margin: 8px 0 0; color: var(--rb-muted); font-size: .76rem; text-align: center; }

.rb-reruns__stage { display: grid; place-items: center; align-content: center; gap: 14px; height: 180px; margin-top: 22px; border: 1px dashed var(--rb-line); border-radius: 8px; background: #fafbfc; }
.rb-reruns__btn { position: relative; padding: 8px 16px; font-size: 14px; transition: color 400ms ease, border-color 400ms ease, box-shadow 400ms ease, background 400ms ease; }
.rb-ci[data-ci-state="before"] .rb-reruns__btn { border-color: #d1242f; box-shadow: 0 0 0 4px rgb(209 36 47 / 14%); animation: rb-nag 2.4s ease-in-out infinite; }
.rb-ci[data-ci-state="after"] .rb-reruns__btn { color: #8c959f; box-shadow: none; }
.rb-reruns__strike { position: absolute; left: -8px; top: 50%; width: calc(100% + 16px); height: 12px; translate: 0 -50%; overflow: visible; fill: none; stroke: var(--rb-red); stroke-width: 2.4; stroke-linecap: round; }
.rb-reruns__strike path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 600ms cubic-bezier(.6, 0, .3, 1) 250ms; }
.rb-ci[data-ci-state="after"] .rb-reruns__strike path { stroke-dashoffset: 0; }
.rb-reruns__text { display: grid; margin: 0; color: var(--rb-muted); font-size: .9rem; }
.rb-reruns__text > span { grid-area: 1 / 1; text-align: center; transition: opacity 400ms ease, transform 400ms ease; }
.rb-ci[data-ci-state="before"] .rb-reruns__text [data-show="after"],
.rb-ci[data-ci-state="after"] .rb-reruns__text [data-show="before"] { opacity: 0; transform: translateY(6px); }
@keyframes rb-nag { 0%, 70%, 100% { transform: none; } 76% { transform: translateX(-2px); } 82% { transform: translateX(2px); } 88% { transform: translateX(-1px); } }

@media (max-width: 767px) {
  .rb-ci__switch { position: sticky; top: 76px; z-index: 5; box-shadow: 0 8px 24px -12px rgb(0 0 0 / 30%); }
  .rb-bars, .rb-reruns__stage { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-gh__run, .rb-bars__plot span, .rb-reruns__strike path, .rb-reruns__text > span { transition: none; }
  .rb-ci[data-ci-state="before"] .rb-reruns__btn { animation: none; }
}
@media (max-width: 767px) {
  .rb--editorial .rb-summit { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rb--editorial .rb-summit__stage { align-self: start; margin-top: 0; aspect-ratio: 5 / 4; }
}

/* Proof: plain rows, one quiet way out to the full story. */
.rb-proof__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--rb-line); }
.rb-proof__more { margin-top: 28px; }
.rb-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--rb-line); border-radius: 999px; background: #fff; color: var(--rb-ink); font-size: .88rem; font-weight: 500; text-decoration: none; transition: border-color 200ms ease, gap 200ms ease; }
.rb-ghost:hover { border-color: var(--rb-ink); gap: 14px; color: var(--rb-ink); }
.rb-float svg { flex: 0 0 auto; width: 22px; height: auto; }
@media (max-width: 767px) {
  .rb-proof__item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-inline: 0; }
}

/* Statement: the offer in one sentence, between the hero and the first section. */
.cluster-light .rb-statement { max-width: none; margin-block: 24px 0; padding-top: 40px; border-top: 1px solid var(--rb-line); color: var(--rb-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.rb-statement__cue { display: block; margin-top: 28px; color: var(--rb-red); font-family: Inter, sans-serif; font-size: 1.2rem; }
.rb.is-enhanced .rb-statement { transition: opacity 900ms ease, translate 900ms cubic-bezier(.2, .65, .3, 1); }
.rb.is-enhanced .rb-statement:not(.is-drawn) { opacity: 0; translate: 0 16px; }
@media (prefers-reduced-motion: no-preference) {
  .rb.is-enhanced .rb-statement.is-drawn .rb-statement__cue { animation: rb-cue 2.4s ease-in-out 1s infinite; }
}
@keyframes rb-cue { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(6px); } }
@media (max-width: 767px) {
  .cluster-light .rb-statement { padding-top: 32px; }
}

/* Report: risk and deleted files, the two things a reviewer checks first. */
.rb-report__facts { display: grid; gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #e7e5dd; }
.rb-report__facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 12px; }
.rb-report__facts dt { color: #8f8e88; font-size: .72rem; }
.rb-report__facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; color: #5e5d58; font-size: .82rem; }
.rb-report__risk { padding: 2px 9px; border-radius: 999px; background: #e6f4ea; color: #1a7f37; font-size: .74rem; font-weight: 600; }
.rb-report__facts code { padding: 2px 7px; border-radius: 5px; background: #ffebe9; color: #a40e26; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; text-decoration: line-through; text-decoration-color: rgb(164 14 38 / 45%); }

/* Problems, tighter: smaller sketches and rows, the arrow alone points to the fix. */
.rb--editorial .rb-pairs { margin-top: 36px; }
.rb--editorial .rb-pair { gap: 24px; padding-block: 16px; }
.rb--editorial .rb-pair__before { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
.rb--editorial .rb-pair__before h3 { font-size: 1rem; }
.rb--editorial .rb-pair__arrow { width: 60px; }
.rb--editorial .rb-pair__after { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.rb--editorial .rb-pair__after .rb-icon { width: 44px; }
.rb--editorial .rb-pair__after p { font-size: 1.08rem; }
@media (max-width: 767px) {
  .rb--editorial .rb-pairs { margin-top: 28px; }
  .rb--editorial .rb-pair { grid-template-columns: 62px 30px minmax(0, 1fr); gap: 10px 0; padding-block: 14px; }
  .rb--editorial .rb-pair__cairn { top: 38px; }
  .rb--editorial .rb-pair__before { grid-column: 1 / -1; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .rb--editorial .rb-pair__arrow { grid-column: 2; width: 22px; align-self: start; justify-self: start; margin: 7px 0 0; transform: none; }
  .rb--editorial .rb-pair__after { grid-column: 3; display: block; }
  .rb--editorial .rb-pair__after .rb-icon { display: none; }
  .rb--editorial .rb-pair__after p { font-size: 1.04rem; }
  .rb--editorial .rb-night { padding-bottom: 144px; }
  .rb--editorial .rb-night::after { bottom: -36px; }
}

/* Pipeline: orange before, green after, on every piece the switch drives. */
.rb-ci { --ci-tone: #bc4c00; --ci-tint: #fff1e5; }
.rb-ci[data-ci-state="after"] { --ci-tone: #1a7f37; --ci-tint: #e6f4ea; }
.rb-ci__switch { transition: border-color 400ms ease; border-color: var(--ci-tone); }
.rb-ci__switch button[aria-pressed="true"] { background: var(--ci-tone); color: #fff; }
.rb-ci .rb-gh__total dd,
.rb-ci .rb-ci__card figcaption strong { color: var(--ci-tone) !important; transition: color 400ms ease; }
.rb-ci[data-ci-state="before"] .rb-bars__plot span { background: #e8a46f; }
.rb-ci[data-ci-state="after"] .rb-bars__plot span { background: #2da44e; }
.rb-ci[data-ci-state="before"] .rb-reruns__btn { border-color: var(--ci-tone); box-shadow: 0 0 0 4px var(--ci-tint); }
.rb-reruns__stage { background: var(--ci-tint); border-color: color-mix(in srgb, var(--ci-tone) 30%, transparent); transition: background 400ms ease, border-color 400ms ease; }
.rb-ci[data-ci-state="before"] .rb-reruns__strike { opacity: 0; }
