/* ==========================================================================
   ATHENA INFONOMICS — ROUTE B EDITORIAL LAYER
   Source: "Route B · Editorial (content rev. + 19 Oct feedback)" design and
   the Figma Final Iteration review comments (Oct 2026).

   Loaded after athena.css on every page. Part 1 is the Route B system and
   the templates built on it (header, footer, homepage). Part 2 carries its
   type, colour, radii and buttons onto the templates that still use the
   original component classes, so the whole site reads as one design.
   ========================================================================== */

/* --- 01. Tokens ---------------------------------------------------------- */
:root {
  /* Route B palette */
  --rb-ink: #232B65;
  --rb-deep: #0B0E2B;
  --rb-night: #151A45;
  --rb-mid: #4A538A;
  --rb-pale: #CBD2EA;
  --rb-line: #E8EAF1;
  --rb-sand: #FAF7F2;
  --rb-sand-line: #E2DEC9;
  --rb-gold: #D19C33;
  --rb-gold-text: #94671A;
  --rb-gold-num: #B88422;
  --rb-shadow: 0 1px 2px rgba(35, 43, 101, 0.06), 0 12px 32px -18px rgba(35, 43, 101, 0.3);
  --rb-shadow-lift: 0 1px 2px rgba(35, 43, 101, 0.06), 0 24px 44px -22px rgba(35, 43, 101, 0.45);
  --rb-gutter: clamp(16px, 4vw, 40px);
  --rb-section: clamp(96px, 11vw, 150px);

  /* The original tokens, re-pointed at Route B so every template follows. */
  --paper: #FFFFFF;
  --offwhite: #FAF7F2;
  --hair: #E8EAF1;
  --gold-deep: #94671A;
  --gold-pale: #FBF6EA; /* Light enough for --gold-deep text to pass AA (4.6:1). */
}

html,
body {
  background-color: #FFFFFF;
  color: var(--rb-ink);
}

body {
  line-height: 1.6;
}

::selection {
  background: rgba(209, 156, 51, 0.3);
  color: var(--rb-deep);
}

:focus-visible {
  outline: 2px solid var(--rb-gold);
  outline-offset: 3px;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  clip-path: none;
  margin: 0;
  padding: 12px 18px;
  background: #FFFFFF;
  color: var(--rb-ink);
  font-weight: 700;
  border-radius: 4px;
}

/* ==========================================================================
   PART 1 — ROUTE B SYSTEM
   ========================================================================== */

/* --- 02. Layout primitives ---------------------------------------------- */
.rb-wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--rb-gutter);
  padding-right: var(--rb-gutter);
}

.rb-section {
  position: relative;
  padding: var(--rb-section) 0;
}

.rb-dark {
  overflow: hidden;
  color: #FFFFFF;
  background: linear-gradient(115deg, var(--rb-deep) 0%, var(--rb-ink) 50%, #3A447E 100%);
}

.rb-sand {
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(209, 156, 51, 0.14) 0%, rgba(209, 156, 51, 0) 60%),
    var(--rb-sand);
}

.rb-head {
  position: relative;
  max-width: 820px;
  margin-bottom: 56px;
}

.rb-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.rb-head--row > div {
  max-width: 780px;
}

.rb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.rb-actions--center {
  justify-content: center;
  margin-top: 56px;
}

/* --- 03. Type ------------------------------------------------------------ */
.rb-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-gold-text);
}

.rb-dark .rb-eyebrow,
.rb-cta .rb-eyebrow,
.rb-page-hero .rb-eyebrow {
  color: var(--rb-gold);
}

.rb-display {
  margin: 0;
  max-width: 1000px;
  font-weight: 300;
  font-size: clamp(48px, 6.8vw, 112px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #FFFFFF;
}

.rb-h2 {
  margin: 0 0 24px;
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: inherit;
}

.rb-h3 {
  margin: 20px 0 12px;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
}

.rb-lead {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--rb-mid);
}

.rb-dark .rb-lead {
  color: var(--rb-pale);
}

/* The gold marker stroke under a key phrase. */
.rb-mark {
  background: linear-gradient(180deg, rgba(209, 156, 51, 0) 64%, rgba(209, 156, 51, 0.62) 64%, rgba(209, 156, 51, 0.62) 92%, rgba(209, 156, 51, 0) 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* --- 04. Buttons ---------------------------------------------------------- */
.rb-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.rb-btn--solid-light,
.rb-btn--solid-light:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--rb-ink);
}

.rb-btn--solid-light:hover {
  background: #F1EEE6;
  border-color: #F1EEE6;
}

.rb-btn--line-light,
.rb-btn--line-light:hover {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.rb-btn--line-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rb-btn--solid-dark,
.rb-btn--solid-dark:hover {
  background: var(--rb-ink);
  border-color: var(--rb-ink);
  color: #FFFFFF;
}

.rb-btn--solid-dark:hover {
  background: var(--rb-deep);
  border-color: var(--rb-deep);
}

.rb-btn--line-dark,
.rb-btn--line-dark:hover {
  background: transparent;
  border-color: var(--rb-ink);
  color: var(--rb-ink);
}

.rb-btn--line-dark:hover {
  background: var(--rb-ink);
  color: #FFFFFF;
}

/* Arrow that slides in on hover, from the design. */
.arr {
  display: inline-block;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, margin-left 0.25s ease, opacity 0.25s ease;
}

a:hover .arr,
a:focus-visible .arr,
button:hover .arr {
  max-width: 24px;
  margin-left: 10px;
  opacity: 1;
}

.rb-pill {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rb-ink);
  background: transparent;
  color: var(--rb-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rb-pill:hover {
  background: rgba(35, 43, 101, 0.06);
}

.rb-pill[aria-pressed="true"] {
  background: var(--rb-ink);
  color: #FFFFFF;
}

/* --- 05. Header ------------------------------------------------------------ */
.rb-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  background: var(--rb-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  color: #FFFFFF;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.4s var(--ease-out-expo);
}

/* Hidden while the visitor scrolls down past the opening hero; editorial.js
   brings it back as soon as they scroll up (design review, Nov 2026). */
.rb-header.rb-header--hidden {
  transform: translateY(calc(-100% - 16px));
}

.rb-header.scrolled {
  background: rgba(11, 14, 43, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

/* Homepage: the header floats over the hero film until the page scrolls. */
.rb-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
}

.admin-bar .rb-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .rb-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .rb-header--overlay.scrolled {
    top: 0;
  }
}

.rb-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  transition: padding 0.35s ease;
}

.rb-header.scrolled .rb-header-bar,
.rb-header:not(.rb-header--overlay) .rb-header-bar {
  padding-top: 16px;
  padding-bottom: 16px;
}

.rb-header-logo {
  display: block;
  flex-shrink: 0;
}

.rb-header-logo img {
  display: block;
  width: 168px;
  height: auto;
  transition: width 0.35s ease;
}

.rb-header.scrolled .rb-header-logo img,
.rb-header:not(.rb-header--overlay) .rb-header-logo img {
  width: 148px;
}

.rb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 30px;
}

.rb-nav .nav-link {
  position: relative;
  gap: 6px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.rb-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1.5px;
  background: var(--rb-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}

.rb-nav .nav-link:hover,
.rb-nav .nav-item.active .nav-link {
  color: #FFFFFF;
}

.rb-nav .nav-item:hover .nav-link::after,
.rb-nav .nav-item.active .nav-link::after {
  transform: scaleX(1);
}

.rb-nav .dropdown-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.rb-nav .nav-dropdown {
  top: calc(100% + 10px);
  border: 1px solid var(--rb-line);
  border-radius: 4px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(35, 43, 101, 0.06), 0 24px 48px -20px rgba(11, 14, 43, 0.55);
}

.rb-nav .dropdown-link {
  border-radius: 3px;
  padding: 10px 16px;
}

.rb-nav .dropdown-link:hover {
  background: var(--rb-sand);
  padding-left: 20px;
}

.rb-nav .dropdown-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rb-header .rb-header-cta {
  height: 46px;
  padding: 0 22px;
}

.rb-menu-toggle {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}

.rb-menu-toggle span {
  background-color: #FFFFFF;
}

.mobile-nav-drawer {
  background: var(--rb-deep);
}

/* Closed, the drawer waits just off-screen to the right, where its shadow
   still fell across the right edge of every page; it casts one only when open. */
/* Projects directory with the Year filter: five dropdowns in one row on wide
   screens; athena.css's two-column and one-column steps still apply below. */
@media (min-width: 1025px) {
	.directory-dropdowns-grid.rb-dropdowns--five {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.mobile-nav-drawer:not(.open) {
  box-shadow: none;
}

.mobile-nav-backdrop {
  background: rgba(11, 14, 43, 0.6);
}

@media (max-width: 1100px) {
  .rb-nav {
    gap: 4px 22px;
  }
}

@media (max-width: 640px) {
  .rb-header .rb-header-cta {
    display: none;
  }

  .rb-header-logo img,
  .rb-header.scrolled .rb-header-logo img,
  .rb-header:not(.rb-header--overlay) .rb-header-logo img {
    width: 132px;
  }

  .rb-header-bar {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* --- 06. Footer ------------------------------------------------------------ */
.rb-footer {
  background: linear-gradient(180deg, var(--rb-deep) 0%, var(--rb-night) 100%);
  color: #FFFFFF;
}

.rb-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  padding-top: 72px;
}

.rb-footer-brand {
  flex: 4 1 300px;
}

.rb-footer-brand img {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.rb-footer-brand p {
  margin: 0 0 16px;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rb-pale);
}

.rb-footer-brand .rb-footer-offices {
  font-size: 14px;
}

.rb-footer-col {
  flex: 3 1 260px;
}

.rb-footer-col:last-child {
  flex: 2 1 220px;
}

.rb-footer-title {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-gold);
}

.rb-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.rb-footer-link {
  font-size: 15px;
  color: var(--rb-line);
}

.rb-footer-link:hover {
  color: var(--rb-gold);
}

.rb-footer-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* White tiles keep the group logos in their original navy and gold. */
.rb-group-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 64px;
  padding: 10px 16px;
  border-radius: 4px;
  background: #FFFFFF;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rb-group-tile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 40px;
}

/* The TolaData logo file brings its own wide margins, so its tile adds less. */
.rb-group-tile--tight {
  padding: 2px 4px;
}

.rb-group-tile--tight img {
  max-height: 60px;
}

.rb-group-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.7);
}

.rb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 64px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: var(--rb-pale);
}

.rb-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.rb-footer-bottom .rb-footer-link {
  font-size: 13px;
  color: var(--rb-pale);
}

/* --- 07. Shared orbit motif -------------------------------------------- */
.rb-hero-orbit,
.rb-services-orbit,
.rb-cta-orbit {
  position: absolute;
  pointer-events: none;
}

.rb-hero-orbit svg,
.rb-services-orbit svg,
.rb-cta-orbit svg {
  display: block;
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* --- 08. Hero ---------------------------------------------------------------- */
.rb-hero {
  --rb-hero-h: max(680px, 100vh);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: var(--rb-hero-h);
  overflow: hidden;
  color: #FFFFFF;
  background: var(--rb-deep);
}

@supports (height: 100svh) {
  .rb-hero {
    --rb-hero-h: max(680px, 100svh);
  }
}

.rb-hero-media {
  position: absolute;
  inset: 0;
}

.rb-hero-poster,
.rb-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.rb-hero-video {
  opacity: 0;
  transition: opacity 1.4s ease;
}

.rb-hero-video.is-playing {
  opacity: 1;
}

.rb-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 43, 0.92) 0%, rgba(11, 14, 43, 0.66) 36%, rgba(11, 14, 43, 0.18) 68%, rgba(11, 14, 43, 0.05) 84%),
    linear-gradient(0deg, rgba(11, 14, 43, 0.9) 0%, rgba(11, 14, 43, 0) 42%),
    linear-gradient(180deg, rgba(11, 14, 43, 0.7) 0%, rgba(11, 14, 43, 0) 22%),
    radial-gradient(55% 45% at 100% 100%, rgba(209, 156, 51, 0.4) 0%, rgba(209, 156, 51, 0) 100%);
}

/* The ring sits where the wireframe draws it: centred just inside the
   content's right edge and a little above the hero, so the top and right edges
   crop it. It fades out behind the header band, so it never crosses the nav. */
.rb-hero-orbit,
.rb-page-hero-orbit {
  --rb-ring: clamp(560px, 55.5vw, 1000px);
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 96px, #000 168px);
  mask-image: linear-gradient(180deg, transparent 96px, #000 168px);
}

.rb-hero-orbit svg,
.rb-page-hero-orbit svg {
  position: absolute;
  left: calc(50% + min(50vw, 680px) - var(--rb-gutter) - 20px - var(--rb-ring) / 2);
  top: calc(var(--rb-ring) * -0.575);
  width: var(--rb-ring);
  height: var(--rb-ring);
}

/* The headline's top sits just below the hero's centre line, whatever the screen height. */
.rb-hero-content {
  position: relative;
  padding-top: calc(var(--rb-hero-h) / 2 + 8px);
  padding-bottom: clamp(72px, 7vw, 120px);
}

.rb-hero-lead {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.rb-hero .rb-actions {
  margin-top: 36px;
}

/* --- 09. About ---------------------------------------------------------------- */
.rb-about,
.rb-intro {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(209, 156, 51, 0.14) 0%, rgba(209, 156, 51, 0) 60%),
    linear-gradient(180deg, var(--rb-sand) 0%, #FFFFFF 100%);
}

.rb-split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 48px clamp(40px, 6vw, 96px);
}

.rb-split-main {
  flex: 6 1 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rb-split-main .rb-lead {
  max-width: 600px;
}

.rb-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rb-line);
}

.rb-stat-num {
  display: block;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rb-ink);
  font-variant-numeric: tabular-nums;
}

.rb-stat-plus {
  font-weight: 300;
  color: var(--rb-gold-num);
}

.rb-stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-mid);
}

/* The photo fills the full height of the text beside it ("Fill", not "Fit":
   design review, Nov 2026); see .rb-figure for the stacked layout. */
.rb-about-figure {
  position: relative;
  flex: 6 1 420px;
  align-self: stretch;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--rb-ink);
}

.rb-about-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

/* Clients: a logo carousel, two rows drifting in opposite directions. Each
   row holds its list twice, so moving one list's width loops seamlessly. */
.rb-clients {
  margin-top: clamp(72px, 8vw, 112px);
  padding-top: 28px;
  border-top: 1px solid var(--rb-ink);
}

.rb-logos {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.rb-logos + .rb-logos {
  margin-top: 16px;
}

.rb-logos-list {
  flex: none;
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0 16px 0 0;
  animation: rb-marquee var(--rb-logos-time, 180s) linear infinite;
}

.rb-logos--reverse .rb-logos-list {
  animation-direction: reverse;
}

.rb-logos:hover .rb-logos-list,
.rb-logos:focus-within .rb-logos-list {
  animation-play-state: paused;
}

/* White tiles, so every logo keeps its own colours and background. */
.rb-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 96px;
  padding: 14px 20px;
  border: 1px solid var(--rb-line);
  border-radius: 4px;
  background: #FFFFFF;
  text-align: center;
}

.rb-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.rb-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 60px;
}

.rb-client-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--rb-mid);
}

@media (max-width: 640px) {
  .rb-logo {
    width: 148px;
    height: 80px;
    padding: 12px 16px;
  }

  .rb-logo img {
    max-height: 48px;
  }
}

@keyframes rb-marquee {
  to {
    transform: translateX(-100%);
  }
}

/* --- 10. What we do --------------------------------------------------------- */
.rb-services-orbit {
  right: -160px;
  top: -220px;
}

.rb-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
}

.rb-pillar {
  flex: 1 1 300px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.rb-pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-gold);
}

.rb-pillar-tag:hover {
  color: #FFFFFF;
}

.rb-pillar-tag svg {
  flex: none;
}

.rb-pillar p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--rb-pale);
}

.rb-services .rb-actions {
  margin-top: 56px;
}

/* --- 11. Where we work ---------------------------------------------------- */
/* Sectors first, then the map, as the design review asked (26 Oct). */
.rb-sectors .rb-head {
  margin-bottom: 40px;
}

.rb-sectors .rb-sector-grid {
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rb-ink);
}

.rb-map {
  position: relative;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rb-sand-line);
}

.rb-map-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.rb-map-regions .rb-pill {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.rb-map-regions[hidden],
.rb-map-zoomer[hidden],
.rb-map-tip[hidden] {
  display: none;
}

/* The stage clips the zoomed map; a plain swipe still scrolls the page until
   the map is zoomed, when dragging pans it instead. */
.rb-map-stage {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.rb-map-stage.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.rb-map-stage.is-dragging {
  cursor: grabbing;
}

.rb-map-svg {
  --rb-dot: 3.2;
  display: block;
  width: 100%;
  height: auto;
}

/* A tap can focus the map itself; its links carry their own focus style. */
.rb-map-svg:focus {
  outline: none;
}

/* Each country is one path of zero-length strokes: round caps draw the dots. */
.rb-map-svg path {
  fill: none;
  stroke-linecap: round;
  stroke-width: var(--rb-dot);
}

.rb-map-land {
  stroke: var(--rb-ink);
  stroke-opacity: 0.2;
}

.rb-map-country {
  stroke: var(--rb-ink);
  transition: stroke 0.2s ease, stroke-opacity 0.3s ease;
}

a.rb-map-country,
.rb-map-stage.is-link {
  cursor: pointer;
}

a.rb-map-country:focus {
  outline: none;
}

.rb-map-country.is-hot,
a.rb-map-country:focus-visible {
  stroke: var(--rb-gold);
}

.rb-map-stage.is-filtered .rb-map-country:not(.is-picked):not(.is-hot) {
  stroke-opacity: 0.25;
}

.rb-map-office {
  transition: opacity 0.3s ease;
}

.rb-map-stage.is-filtered .rb-map-office:not(.is-picked) {
  opacity: 0.3;
}

.rb-map-zoomer {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--rb-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--rb-shadow);
}

.rb-map-zoomer button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--rb-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.rb-map-zoomer button:hover {
  background: var(--rb-sand);
}

.rb-map-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: max-content;
  max-width: min(300px, calc(100% - 16px));
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--rb-deep);
  box-shadow: 0 18px 40px -18px rgba(11, 14, 43, 0.7);
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
}

.rb-map-tip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rb-map-tip-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--rb-gold);
}

.rb-map-tip-badge {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(209, 156, 51, 0.2);
  color: var(--rb-gold);
  font-size: 11px;
  font-weight: 700;
}

.rb-map-tip-note {
  margin: 6px 0 0;
  color: var(--rb-pale);
}

.rb-map-tip ul {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--rb-pale);
}

.rb-map-tip li + li {
  margin-top: 4px;
}

.rb-map-tip-more {
  margin: 10px 0 0;
  font-weight: 700;
}

.rb-map-dot {
  fill: var(--rb-gold);
  stroke: #FFFFFF;
  stroke-width: 2;
}

.rb-map-ping {
  fill: none;
  stroke: var(--rb-gold);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: rb-ping 3s ease-out infinite;
}

@keyframes rb-ping {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}

.rb-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--rb-mid);
}

.rb-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: -1px;
}

.rb-key--office {
  background: var(--rb-gold);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px var(--rb-gold);
}

.rb-key--country {
  background: var(--rb-ink);
}

.rb-sector-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rb-sector {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 210px;
  height: 100%;
  padding: 22px 24px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--rb-mid) 0%, var(--rb-ink) 60%, var(--rb-deep) 100%);
  color: #FFFFFF;
}

.rb-sector:hover {
  color: #FFFFFF;
}

.rb-sector-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}

.rb-sector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 14, 43, 0.9) 0%, rgba(11, 14, 43, 0.4) 55%, rgba(11, 14, 43, 0.12) 100%);
  transition: opacity 0.4s ease;
}

.rb-sector::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(35, 43, 101, 0.94) 0%, rgba(35, 43, 101, 0.55) 60%, rgba(209, 156, 51, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rb-sector:hover::after,
.rb-sector:focus-visible::after {
  opacity: 1;
}

.rb-sector:hover .rb-sector-photo,
.rb-sector:focus-visible .rb-sector-photo {
  transform: scale(1.05);
}

.rb-sector-name {
  max-width: 85%;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.rb-sector-arr {
  flex: none;
  font-size: 18px;
}

@media (max-width: 960px) {
  .rb-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .rb-sector-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rb-sector {
    min-height: 150px;
  }
}

/* --- 12. Our work: flip cards -------------------------------------------- */
.rb-work {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--rb-sand) 100%);
}

.rb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.rb-card {
  display: block;
  perspective: 1600px;
  color: var(--rb-ink);
}

.rb-card[hidden] {
  display: none;
}

.rb-card:hover {
  color: var(--rb-ink);
}

.rb-card:focus-visible {
  outline-offset: 6px;
}

.rb-card-inner {
  position: relative;
  display: block;
  height: 100%;
  min-height: 430px;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease-out-expo);
}

.rb-card-face {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.rb-card-front {
  height: 100%;
  background: #FFFFFF;
  box-shadow: var(--rb-shadow);
}

.rb-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rb-ink);
}

.rb-card-media img,
.rb-card-media > span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.rb-card-label {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-gold-text);
}

.rb-card-title {
  margin: 0 0 20px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rb-card-more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-size: 15px;
  font-weight: 700;
}

.rb-card-back {
  position: absolute;
  inset: 0;
  justify-content: flex-start;
  padding: 28px 24px 26px;
  transform: rotateY(180deg);
  color: #FFFFFF;
  background:
    radial-gradient(70% 50% at 100% 100%, rgba(209, 156, 51, 0.32) 0%, rgba(209, 156, 51, 0) 100%),
    linear-gradient(160deg, var(--rb-ink) 0%, var(--rb-deep) 100%);
  box-shadow: var(--rb-shadow-lift);
}

.rb-card-back .rb-card-label {
  color: var(--rb-gold);
}

.rb-card-back .rb-card-title {
  margin-bottom: 14px;
  font-size: 19px;
  -webkit-line-clamp: 3;
}

.rb-card-desc {
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rb-pale);
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rb-card-back .rb-card-more .arr {
  max-width: 24px;
  margin-left: 10px;
  opacity: 1;
}

@media (hover: hover) and (min-width: 700px) {
  .rb-card:hover .rb-card-inner,
  .rb-card:focus-visible .rb-card-inner {
    transform: rotateY(180deg);
  }
}

/* No hover to flip with: the summary sits under the title instead. */
@media (hover: none), (max-width: 699px) {
  .rb-card-inner {
    min-height: 0;
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: var(--rb-shadow);
  }

  .rb-card-front {
    height: auto;
    box-shadow: none;
  }

  .rb-card-more--front,
  .rb-card-back > [aria-hidden="true"] {
    display: none;
  }

  .rb-card-body {
    flex: none;
    padding-bottom: 0;
  }

  .rb-card-title {
    margin-bottom: 10px;
  }

  .rb-card-back {
    position: static;
    transform: none;
    padding: 0 22px 24px;
    background: none;
    box-shadow: none;
    color: var(--rb-ink);
  }

  .rb-card-desc {
    margin-bottom: 18px;
    color: var(--rb-mid);
    -webkit-line-clamp: 3;
  }
}

.rb-empty {
  margin: 24px 0 0;
  color: var(--rb-mid);
}

/* --- 13. How we work --------------------------------------------------------- */
.rb-how {
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(209, 156, 51, 0.18) 0%, rgba(209, 156, 51, 0) 60%),
    linear-gradient(160deg, var(--rb-deep) 0%, var(--rb-night) 55%, var(--rb-ink) 100%);
}

.rb-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px clamp(48px, 7vw, 112px);
  align-items: start;
}

.rb-how-sub {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--rb-gold);
}

.rb-cycle {
  max-width: 340px;
  margin-top: 48px;
}

.rb-cycle svg {
  display: block;
  width: 100%;
  height: auto;
}

.rb-cycle text {
  fill: var(--rb-pale);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rb-principles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.rb-principles li {
  padding: 32px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rb-principles .rb-h3 {
  margin: 0 0 12px;
}

.rb-principles p {
  margin: 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--rb-pale);
}

@media (max-width: 900px) {
  .rb-how-grid {
    grid-template-columns: 1fr;
  }

  .rb-cycle {
    max-width: 280px;
  }
}

/* --- 14. People ---------------------------------------------------------------- */
.rb-people {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(209, 156, 51, 0.12) 0%, rgba(209, 156, 51, 0) 60%),
    #FFFFFF;
}

/* More room between the intro and the portraits, per the review. */
.rb-people-head {
  margin-bottom: clamp(72px, 8vw, 112px);
}

.rb-people-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 56px 40px;
}

.rb-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  color: var(--rb-ink);
}

.rb-person:hover {
  color: var(--rb-ink);
}

.rb-person-portrait {
  position: relative;
  display: block;
  width: 200px;
  height: 200px;
}

.rb-person-portrait img,
.rb-person-initials {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  background: linear-gradient(160deg, var(--rb-mid) 0%, var(--rb-ink) 100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.rb-person-initials {
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 300;
  color: #FFFFFF;
}

.rb-person-portrait svg {
  position: absolute;
  inset: 0;
}

.rb-person:hover .rb-person-portrait img {
  transform: scale(1.04);
}

.rb-person-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.rb-person:hover .rb-person-name {
  color: var(--rb-gold-text);
}

.rb-person-role {
  display: block;
  margin-top: -12px;
  font-size: 15px;
  color: var(--rb-mid);
}

/* --- 15. Contact -------------------------------------------------------------- */
.rb-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(130px, 14vw, 220px) 0;
  color: #FFFFFF;
  background: var(--rb-deep);
}

.rb-cta-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.rb-cta-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 43, 0.94) 0%, rgba(35, 43, 101, 0.8) 45%, rgba(35, 43, 101, 0.35) 100%),
    radial-gradient(55% 70% at 100% 100%, rgba(209, 156, 51, 0.45) 0%, rgba(209, 156, 51, 0) 100%);
}

.rb-cta-orbit {
  right: -380px;
  top: -160px;
}

.rb-cta-content {
  position: relative;
}

.rb-cta-title {
  margin: 0 0 24px;
  max-width: 960px;
  font-weight: 300;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #FFFFFF;
}

.rb-cta .rb-hero-lead {
  margin: 0;
  max-width: 600px;
}

.rb-cta .rb-actions {
  margin-top: 40px;
}

/* --- 15b. FAQs ------------------------------------------------------------------ */
/* Two columns of disclosures, as on aplyd.com: the dot lights gold and the
   chevron turns when a question is open. */
.rb-faq {
  scroll-margin-top: 24px;
}

.rb-faq-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 32px;
}

.rb-faq-col {
  flex: 1 1 380px;
  min-width: 0;
}

.rb-faq-item {
  margin-bottom: 14px;
  border: 1px solid var(--rb-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rb-faq-item[open] {
  border-color: rgba(209, 156, 51, 0.45);
  box-shadow: var(--rb-shadow);
}

.rb-faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
}

.rb-faq-item summary::-webkit-details-marker {
  display: none;
}

.rb-faq-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rb-line);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.rb-faq-item[open] .rb-faq-dot {
  background: var(--rb-gold);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(209, 156, 51, 0.8);
}

.rb-faq-q {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--rb-ink);
  transition: color 0.2s ease;
}

.rb-faq-item summary:hover .rb-faq-q {
  color: var(--rb-gold-text);
}

.rb-faq-chevron {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rb-line);
  border-radius: 50%;
  background: var(--rb-sand);
  color: var(--rb-mid);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.rb-faq-item summary:hover .rb-faq-chevron {
  border-color: rgba(209, 156, 51, 0.5);
  color: var(--rb-gold-text);
}

.rb-faq-item[open] .rb-faq-chevron {
  transform: rotate(180deg);
  border-color: var(--rb-gold);
  background: var(--rb-gold);
  color: var(--rb-deep);
}

.rb-faq-a {
  padding: 0 22px 22px;
}

.rb-faq-a p {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(209, 156, 51, 0.5);
  font-size: 16px;
  line-height: 1.7;
  color: var(--rb-mid);
}

.rb-faq-a a {
  color: var(--rb-ink);
  text-decoration: underline;
  text-decoration-color: var(--rb-gold);
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .rb-faq-item summary {
    padding: 16px 18px;
  }

  .rb-faq-q {
    font-size: 16px;
  }

  .rb-faq-a {
    padding: 0 18px 18px;
  }
}

/* ==========================================================================
   INNER PAGES — the homepage's patterns as reusable blocks
   ========================================================================== */

/* --- 16a. Page hero ------------------------------------------------------------ */
.rb-page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(540px, 76vh, 780px);
  overflow: hidden;
  color: #FFFFFF;
  background:
    radial-gradient(55% 60% at 100% 100%, rgba(209, 156, 51, 0.3) 0%, rgba(209, 156, 51, 0) 100%),
    linear-gradient(115deg, var(--rb-deep) 0%, var(--rb-ink) 62%, #3A447E 100%);
}

.rb-page-hero--compact {
  min-height: clamp(440px, 58vh, 580px);
}

.rb-page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

/* Placed with the homepage hero's ring (section 08), the same on every page. */
.rb-page-hero-orbit {
  position: absolute;
  pointer-events: none;
}

.rb-page-hero-content {
  position: relative;
  padding-top: 170px;
  padding-bottom: clamp(72px, 7vw, 108px);
}

.rb-display--page {
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 1.02;
}

.rb-page-hero .rb-hero-lead {
  max-width: 680px;
}

.rb-page-hero .rb-actions {
  margin-top: 36px;
}

.rb-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.rb-hero-stats .rb-stat-num {
  color: #FFFFFF;
}

.rb-hero-stats .rb-stat-label {
  color: rgba(255, 255, 255, 0.72);
}

/* Single posts and profiles: breadcrumbs, tags and byline on the navy hero. */
.rb-display--single {
  max-width: 1100px;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.rb-page-hero--single {
  min-height: clamp(520px, 70vh, 720px);
}

.rb-page-hero .cs-breadcrumbs {
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.rb-page-hero .cs-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
}

.rb-page-hero .cs-breadcrumbs a:hover {
  color: var(--rb-gold);
}

.rb-page-hero .cs-breadcrumbs .current {
  color: #FFFFFF;
}

.rb-page-hero .cs-header-meta {
  margin-bottom: 18px;
}

.rb-page-hero .pill,
.rb-page-hero .pill.pill-gold {
  padding: 6px 10px;
  border: 0;
  background: #FFFFFF;
  color: var(--rb-ink);
}

.rb-page-hero .pill:hover {
  background: var(--rb-gold);
  color: var(--rb-deep);
}

.rb-byline-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

.rb-byline-line .cs-byline-author {
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1.5px solid var(--rb-gold);
}

.rb-profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
}

.rb-person-portrait--hero {
  width: 300px;
  height: 300px;
}

.rb-person-portrait--hero img,
.rb-person-portrait--hero .rb-person-initials {
  left: 30px;
  top: 30px;
  width: 240px;
  height: 240px;
}

.rb-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.rb-profile-back {
  margin-top: 32px;
}

@media (max-width: 760px) {
  .rb-profile-hero-grid {
    grid-template-columns: 1fr;
  }

  .rb-person-portrait--hero {
    order: -1;
    width: 200px;
    height: 200px;
  }

  .rb-person-portrait--hero img,
  .rb-person-portrait--hero .rb-person-initials {
    left: 20px;
    top: 20px;
    width: 160px;
    height: 160px;
  }

  .rb-person-portrait--hero svg {
    width: 200px;
    height: 200px;
  }
}

/* --- 16b. Copy blocks ----------------------------------------------------------- */
.rb-statement {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
}

.rb-dark .rb-statement,
.rb-band .rb-statement,
.rb-cta .rb-statement {
  color: #FFFFFF;
}

.rb-prose p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--rb-mid);
}

.rb-prose p:last-child {
  margin-bottom: 0;
}

.rb-prose strong {
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-dark .rb-prose p {
  color: var(--rb-pale);
}

.rb-dark .rb-prose strong {
  color: #FFFFFF;
}

.rb-statement + .rb-prose,
.rb-prose + .rb-actions {
  margin-top: 28px;
}

/* A photograph framed as on the homepage's About band. It fills the full
   height of the text beside it rather than floating as a 16:9 box in white
   space ("Fill", not "Fit": design review, Oct-Nov 2026). */
.rb-figure {
  position: relative;
  flex: 6 1 420px;
  align-self: stretch;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--rb-ink);
}

.rb-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 14, 43, 0.45) 0%, rgba(11, 14, 43, 0) 40%);
}

/* A small source shown at its own shape and never wider than its pixels, so
   it stays sharp (the CWIS collage only exists at 1024px). */
.rb-figure--natural {
  align-self: center;
  min-height: 0;
  max-width: 640px;
  background: none;
}

.rb-figure--natural img {
  position: static;
  height: auto;
}

.rb-figure--natural::after {
  content: none;
}

/* Once the columns stack, photos go back to a 16:9 frame. */
@media (max-width: 1000px) {
  .rb-figure:not(.rb-figure--natural),
  .rb-about-figure {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* --- 16c. Pinned heading beside a ruled list, as in "How we work". ------------- */
.rb-pinned {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 104px);
  align-items: start;
}

/* Pinned a clear 48px below the header; editorial.js measures where it ends. */
.rb-pinned > :first-child {
  position: sticky;
  top: calc(var(--rb-header-bottom, 90px) + 48px);
  transition: top 0.35s ease;
}

.rb-ruled {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rb-ink);
}

.rb-ruled > li {
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--rb-sand-line);
}

.rb-ruled .rb-h3 {
  margin: 0 0 14px;
}

.rb-ruled p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--rb-mid);
}

.rb-ruled p:last-child {
  margin-bottom: 0;
}

.rb-ruled strong {
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-dark .rb-ruled {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.rb-dark .rb-ruled > li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.rb-dark .rb-ruled p {
  color: var(--rb-pale);
}

@media (max-width: 900px) {
  .rb-pinned {
    grid-template-columns: 1fr;
  }

  .rb-pinned > :first-child {
    position: static;
  }
}

/* --- 16d. Closing band: the homepage's contact band, for a page's last word. --- */
.rb-band {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 12vw, 180px) 0;
  color: #FFFFFF;
  background: var(--rb-deep);
}

.rb-band-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.rb-band .rb-cta-shade {
  position: absolute;
  inset: 0;
}

.rb-band-orbit {
  position: absolute;
  right: -380px;
  top: -160px;
  pointer-events: none;
}

.rb-band-content {
  position: relative;
  max-width: 1100px;
}

.rb-band-lead {
  margin: 0 0 28px;
  max-width: 820px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.rb-band .rb-statement {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.22;
}

/* --- 16d2. Columns, figures, timeline, quote ----------------------------------- */

/* The homepage's "What we do" columns on a light ground. */
.rb-pillars--light .rb-pillar {
  border-top-color: var(--rb-ink);
}

.rb-pillars--light .rb-pillar p {
  color: var(--rb-mid);
}

.rb-pillars--light .rb-pillar > svg {
  display: block;
}

/* Exactly four across, so a fourth item never wraps onto a row of its own. */
.rb-pillars--four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .rb-pillars--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .rb-pillars--four {
    grid-template-columns: 1fr;
  }
}

.rb-pillars--light .rb-pillar .rb-h3 {
  margin-top: 18px;
  font-size: 23px;
}

.rb-head .rb-statement {
  margin-top: 4px;
}

/* Large figures with a line of explanation, under a hairline. */
.rb-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 32px;
  border-top: 1px solid var(--rb-line);
}

.rb-figures-item .rb-stat-num {
  margin-bottom: 8px;
}

.rb-figures-item p {
  margin: 10px 0 0;
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rb-mid);
}

@media (max-width: 760px) {
  .rb-figures {
    grid-template-columns: 1fr;
  }
}

/* A ruled timeline: year, headline, label, line. */
.rb-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rb-ink);
}

.rb-timeline > li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 8px 32px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--rb-sand-line);
}

.rb-timeline-year {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rb-ink);
  font-variant-numeric: tabular-nums;
}

.rb-timeline .rb-h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.rb-timeline p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rb-mid);
}

.rb-timeline .rb-timeline-tag {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-gold-text);
}

.rb-timeline-moment .rb-timeline-year {
  color: var(--rb-gold-num);
}

.rb-timeline-moment img {
  display: block;
  width: 120px;
  height: auto;
  margin-bottom: 14px;
}

.rb-timeline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 12px;
}

.rb-timeline-stats .rb-stat-num {
  font-size: 36px;
}

@media (max-width: 560px) {
  .rb-timeline > li {
    grid-template-columns: 1fr;
  }

  .rb-timeline-year {
    font-size: 32px;
  }
}

.rb-figure-caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 20px;
  font-size: 13px;
  color: #FFFFFF;
}

/* Editorial quote: portrait in its orbit ring beside the words. */
.rb-quote {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}

.rb-quote-person {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rb-quote-person figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rb-quote-person .rb-person-role {
  margin-top: 0;
}

.rb-quote-org {
  font-size: 14px;
  line-height: 1.5;
  color: var(--rb-mid);
}

.rb-quote-text {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--rb-ink);
}

.rb-recognitions {
  list-style: none;
  margin: clamp(56px, 6vw, 88px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--rb-ink);
}

.rb-recognitions li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 0;
}

.rb-recognitions img {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.rb-recognitions p {
  margin: 0;
}

.rb-recognition-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rb-ink);
}

.rb-recognition-desc {
  margin-top: 4px;
  font-size: 14px;
  color: var(--rb-mid);
}

@media (max-width: 860px) {
  .rb-quote,
  .rb-recognitions {
    grid-template-columns: 1fr;
  }
}

/* --- 16d3. Cards, bylines, tabs, video, direct contact ------------------------- */
.rb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.rb-panel {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: var(--rb-shadow);
}

.rb-panel-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-gold-text);
}

.rb-panel-quote {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--rb-ink);
}

.rb-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rb-line);
}

.rb-quote-text + .rb-byline {
  margin-top: 28px;
}

.rb-initials {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rb-ink);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rb-byline-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-byline-role {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rb-gold-text);
}

.rb-prose--after {
  margin-top: 36px;
}

.rb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.rb-pill.active {
  background: var(--rb-ink);
  color: #FFFFFF;
}

.rb-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--rb-deep);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.rb-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rb-video-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 96px);
  margin-top: 56px;
}

.rb-video-notes .rb-statement {
  font-size: clamp(22px, 2.2vw, 30px);
}

@media (max-width: 860px) {
  .rb-video-notes {
    grid-template-columns: 1fr;
  }
}

.rb-cta-direct {
  margin-top: 36px;
}

.rb-cta-direct .rb-eyebrow {
  margin-bottom: 8px;
}

.rb-cta-mail {
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1.5px solid rgba(209, 156, 51, 0.7);
}

.rb-cta-mail:hover {
  color: var(--rb-gold);
}

/* --- 16d4. Qualities, stats row, scope tags, contacts ------------------------- */
.rb-qualities {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--rb-line);
}

.rb-qualities li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--rb-line);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--rb-ink);
}

.rb-qualities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--rb-gold);
}

.rb-stats--row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: clamp(56px, 6vw, 88px);
}

.rb-stats--row .rb-stat-label {
  display: block;
  margin-top: 10px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .rb-stats--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rb-stats--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rb-scope {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 14px;
  padding: 0;
}

.rb-scope li {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-gold-text);
}

.rb-scope li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--rb-gold);
}

.rb-tagline {
  margin-top: clamp(56px, 6vw, 88px);
  text-align: center;
}

.rb-tagline strong {
  font-weight: 300;
}

.rb-cta-statement {
  max-width: 980px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.22;
}

.rb-cta-statement strong {
  font-weight: 300;
}

.rb-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 40px;
  max-width: 860px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.rb-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
}

.rb-contact:hover {
  color: #FFFFFF;
}

.rb-contact .rb-initials {
  background: var(--rb-gold);
  color: var(--rb-deep);
}

.rb-contact-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.rb-contact-role {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--rb-pale);
}

.rb-contact-li {
  flex: none;
  margin-left: auto;
  color: var(--rb-pale);
}

.rb-contact:hover .rb-contact-li {
  color: var(--rb-gold);
}

@media (max-width: 700px) {
  .rb-contacts {
    grid-template-columns: 1fr;
  }
}

/* --- 16d5. Variants: smaller headings, flipped splits, long buttons ----------- */
.rb-h2--sm {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
}

.rb-split--flip {
  flex-direction: row-reverse;
}

.rb-split-side {
  flex: 5 1 380px;
  align-self: center;
}

/* Long labels may wrap rather than run off a phone screen. */
.rb-btn--wrap {
  height: auto;
  min-height: 52px;
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 1.35;
  white-space: normal;
}

.rb-pillars--two .rb-pillar {
  flex: 1 1 420px;
}

.rb-pillars--two .rb-h2--sm {
  margin-bottom: 14px;
}

.rb-pillars--two p {
  max-width: 560px;
}

/* Careers: columns that follow a split in the same section (the work culture,
   then Life at Athena / We Are Athena) sit one comfortable step below it. */
.rb-split + .rb-pillars {
  margin-top: clamp(56px, 7vw, 96px);
}

.rb-textlink {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-textlink:hover {
  color: var(--rb-gold-text);
}

.rb-jobs {
  min-height: 220px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--rb-ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.rb-jobs-note {
  margin-top: 48px;
  text-align: center;
}

.rb-jobs-note p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--rb-pale);
}

/* A single reading column for policies and plain pages. */
.rb-reading {
  max-width: 940px;
}

.rb-reading .cs-article {
  max-width: none;
}

/* --- 16d6. Listing toolbar, story cards ---------------------------------------- */
.rb-section--tight {
  padding-top: clamp(56px, 6vw, 80px);
}

.rb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rb-sand-line);
}

.rb-toolbar .rb-tabs {
  margin-top: 0;
}

.rb-search {
  position: relative;
  flex: 0 1 340px;
  color: var(--rb-mid);
}

.rb-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  margin-top: -8px;
}

.rb-search input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1.5px solid var(--rb-line);
  border-radius: 4px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  color: var(--rb-ink);
}

.rb-search input:focus {
  border-color: var(--rb-ink);
  outline: none;
}

.rb-story {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  background: #FFFFFF;
  box-shadow: var(--rb-shadow);
}

.rb-story-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rb-ink);
}

.rb-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.rb-story:hover .rb-story-media img {
  transform: scale(1.04);
}

/* The design's white tag on a photo. */
.rb-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 3px;
  background: #FFFFFF;
  color: var(--rb-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rb-story-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 22px;
}

.rb-story-title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--rb-ink);
}

.rb-story-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rb-mid);
}

.rb-story-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rb-line);
  font-size: 14px;
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-story-foot .rb-textlink {
  margin-top: 0;
  font-size: 14px;
}

/* --- 16d7. Contact form, notices, offices -------------------------------------- */
.rb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}

.rb-form-panel {
  padding: clamp(28px, 3.5vw, 48px);
}

.rb-form-lead {
  margin: 0 0 28px;
}

.rb-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rb-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-field {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1.5px solid var(--rb-line);
  border-radius: 4px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--rb-ink);
  transition: border-color 0.2s ease;
}

.rb-field:focus {
  border-color: var(--rb-ink);
  outline: none;
}

.rb-field--area {
  resize: vertical;
}

/* Contact form: optional newsletter consent and the privacy notice (Nov 2026). */
.rb-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--rb-ink);
}

.rb-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--rb-ink);
}

.rb-consent label {
  cursor: pointer;
}

.rb-form-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--rb-mid);
}

.rb-form-note a {
  color: var(--rb-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rb-btn--block {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.rb-notice {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 4px;
  font-size: 15px;
  text-align: center;
}

.rb-notice--ok {
  background: rgba(50, 168, 82, 0.1);
  border: 1px solid rgba(50, 168, 82, 0.3);
  color: #1E7037;
}

.rb-notice--error {
  background: rgba(200, 60, 60, 0.08);
  border: 1px solid rgba(200, 60, 60, 0.28);
  color: #97231F;
}

.rb-ruled--compact > li {
  padding: 18px 0;
}

.rb-ruled--compact .rb-textlink {
  margin-top: 0;
  word-break: break-word;
}

.rb-line-label {
  font-weight: 700;
  color: var(--rb-ink) !important;
  margin-bottom: 4px !important;
}

.rb-hubs {
  margin-top: 48px;
}

.rb-hubs .rb-lead {
  margin-bottom: 18px;
  font-size: 15.5px;
}

.rb-scope--loose {
  gap: 10px 0;
}

.rb-offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}

.rb-offices .rb-office {
  display: flex;
  flex-direction: column;
  padding: 28px 0 32px;
  border: 0;
  border-top: 1px solid var(--rb-ink);
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.rb-office .rb-timeline-tag {
  margin: 0 0 8px;
}

.rb-office-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rb-office-head .rb-h3 {
  margin: 0;
}

.rb-office-clock {
  flex: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--rb-gold-text);
  font-variant-numeric: tabular-nums;
}

.rb-office-address {
  margin: 14px 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rb-mid);
}

.rb-office-foot {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rb-sand-line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rb-ink);
}

@media (max-width: 960px) {
  .rb-contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .rb-offices {
    grid-template-columns: 1fr;
  }
}

/* --- 16e. Services switcher ---------------------------------------------------- */
.rb-switcher {
  padding: clamp(72px, 8vw, 104px) 0;
  text-align: center;
  background: #FFFFFF;
}

.rb-switcher-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

a.rb-pill {
  display: inline-flex;
  align-items: center;
}

a.rb-pill:hover {
  color: var(--rb-ink);
}

a.rb-pill[aria-current="page"],
a.rb-pill[aria-current="page"]:hover {
  background: var(--rb-ink);
  color: #FFFFFF;
}

.rb-switcher .rb-actions {
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .rb-band-orbit {
    opacity: 0.5;
  }
}

@media (max-width: 640px) {
  .rb-page-hero-content {
    padding-top: 140px;
  }

}

/* --- 16. Homepage responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .rb-services-orbit,
  .rb-cta-orbit {
    opacity: 0.5;
  }
}

@media (max-width: 640px) {
  /* The phone header is shorter, so the ring can show sooner. */
  .rb-hero-orbit,
  .rb-page-hero-orbit {
    -webkit-mask-image: linear-gradient(180deg, transparent 72px, #000 128px);
    mask-image: linear-gradient(180deg, transparent 72px, #000 128px);
  }

  .rb-stats {
    gap: 20px 32px;
  }

  .rb-stat-num {
    font-size: 38px;
  }

  .rb-person-portrait {
    width: 168px;
    height: 168px;
  }

  .rb-person-portrait img,
  .rb-person-initials {
    left: 16px;
    top: 16px;
    width: 136px;
    height: 136px;
  }

  .rb-person-portrait svg {
    width: 168px;
    height: 168px;
  }
}

/* ==========================================================================
   PART 2 — ROUTE B ACROSS THE REST OF THE SITE
   The original component classes, restyled in the Route B language.
   ========================================================================== */

/* --- 17. Type ------------------------------------------------------------------ */
.cap {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rb-gold-text);
}

.disp {
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--rb-ink);
}

/* Section headings go light and large, card headings regular, as in Route B. */
h1.hd,
h2.hd {
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--rb-ink);
}

h3.hd,
h4.hd,
h5.hd,
div.hd,
span.hd,
p.hd {
  font-weight: 400;
  letter-spacing: -0.01em;
}

.sub {
  font-weight: 400;
  letter-spacing: -0.01em;
}

.body {
  color: var(--rb-mid);
}

.cs-title {
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--rb-ink);
}

.work-card-title {
  font-weight: 400;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--rb-ink);
}

/* Statement and card headings that shipped at 800–900 weight. */
.scrolly-statement-lead {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.arc-card-title,
.cs-article h2,
.cs-article h3,
.cs-article h4 {
  font-weight: 400;
  letter-spacing: -0.015em;
}

.ln {
  color: var(--rb-ink);
}

.ln:hover {
  color: var(--rb-gold-text);
}

/* --- 18. Page heroes ------------------------------------------------------------ */
.page-hero {
  padding-top: clamp(88px, 9vw, 136px);
  padding-bottom: clamp(72px, 7vw, 112px);
  border-bottom: 0;
  background:
    radial-gradient(55% 60% at 100% 100%, rgba(209, 156, 51, 0.3) 0%, rgba(209, 156, 51, 0) 100%),
    linear-gradient(115deg, var(--rb-deep) 0%, var(--rb-ink) 62%, #3A447E 100%);
}

/* The Route B orbit: a ring with a gold dot, turning slowly. */
.page-hero::after {
  top: -260px;
  right: -240px;
  width: 620px;
  height: 620px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 14.65% 85.35%, var(--rb-gold) 0, var(--rb-gold) 10px, transparent 11px);
  animation: rb-orbit 60s linear infinite;
}

@keyframes rb-orbit {
  to {
    transform: rotate(360deg);
  }
}

.page-hero-inner {
  max-width: 1000px;
}

.page-hero-title {
  margin-bottom: 24px;
  font-weight: 300;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-hero-lead {
  max-width: 640px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .disp,
.page-hero .hd {
  color: #FFFFFF;
}

.page-hero .cap {
  color: var(--rb-gold);
}

/* Hero statistics: white figures, as on the Route B About band. */
.page-hero [data-count] {
  color: #FFFFFF !important;
  font-size: 44px !important;
  letter-spacing: -0.03em;
}

/* Single project and insight headers. */
.cs-hero-section {
  padding-top: clamp(72px, 8vw, 120px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(209, 156, 51, 0.12) 0%, rgba(209, 156, 51, 0) 60%),
    linear-gradient(180deg, var(--rb-sand) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--rb-line);
}

/* --- 19. Buttons ------------------------------------------------------------------ */
.btn {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16px;
}

.btn:hover {
  transform: none;
  box-shadow: none;
}

.btn-primary,
.btn-primary:hover,
.btn-gold,
.btn-gold:hover {
  background-color: var(--rb-ink);
  border: 1.5px solid var(--rb-ink);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: none;
  transform: none;
}

.btn-primary:hover,
.btn-gold:hover {
  background-color: var(--rb-deep);
  border-color: var(--rb-deep);
}

/* The draft only ever puts .btn-hero-gold on navy, so it is always the white button. */
.btn-hero-gold,
.btn-hero-gold:hover {
  background-color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  color: var(--rb-ink);
  font-weight: 700;
  box-shadow: none;
  transform: none;
}

.btn-hero-gold:hover {
  background-color: #F1EEE6;
  border-color: #F1EEE6;
}

.btn-secondary,
.btn-secondary:hover {
  background-color: transparent;
  border: 1.5px solid var(--rb-ink);
  color: var(--rb-ink);
  box-shadow: none;
  transform: none;
}

.btn-secondary:hover {
  background-color: var(--rb-ink);
  color: #FFFFFF;
}

/* On navy grounds the solid button turns white and the outline turns white. */
.page-hero .btn-primary,
.page-hero .btn-gold,
.page-hero .btn-hero-gold,
.dark-section .btn-primary,
.dark-section .btn-gold,
.dark-section .btn-hero-gold,
.mobile-nav-drawer .btn-hero-gold {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--rb-ink);
}

/* The case-study download banner is navy too; .cs-article a would otherwise tint the label. */
.cs-download-banner .btn,
.cs-download-banner .btn:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--rb-ink);
}

.cs-download-banner .btn:hover {
  background-color: #F1EEE6;
  border-color: #F1EEE6;
}

.page-hero .btn-primary:hover,
.page-hero .btn-gold:hover,
.page-hero .btn-hero-gold:hover,
.dark-section .btn-primary:hover,
.dark-section .btn-gold:hover,
.dark-section .btn-hero-gold:hover {
  background-color: #F1EEE6;
  border-color: #F1EEE6;
  color: var(--rb-ink);
}

.page-hero .btn-secondary,
.dark-section .btn-secondary,
.hero-story-glasscard .btn-secondary,
.footer-dark .btn-secondary,
.btn-outline-light,
.btn-hero-glass {
  min-height: 52px;
  border-radius: 4px;
  background-color: transparent;
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.page-hero .btn-secondary:hover,
.dark-section .btn-secondary:hover,
.hero-story-glasscard .btn-secondary:hover,
.footer-dark .btn-secondary:hover,
.btn-outline-light:hover,
.btn-hero-glass:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: none;
  box-shadow: none;
}

/* --- 20. Tags and pills ---------------------------------------------------------- */
.pill {
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid var(--rb-line);
  background: #FFFFFF;
  color: var(--rb-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill.pill-gold {
  border-color: rgba(209, 156, 51, 0.4);
  background: #FBF6EA;
  color: var(--rb-gold-text);
}

.pill:hover {
  border-color: var(--rb-gold);
  background: #FBF6EA;
  color: var(--rb-ink);
}

.filter-pill-btn,
.team-filter-pill-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rb-ink);
  background: transparent;
  color: var(--rb-ink);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.filter-pill-btn:hover,
.team-filter-pill-btn:hover {
  background: rgba(35, 43, 101, 0.06);
  border-color: var(--rb-ink);
  color: var(--rb-ink);
  transform: none;
}

.filter-pill-btn.active,
.team-filter-pill-btn.active {
  background: var(--rb-ink);
  border-color: var(--rb-ink);
  color: #FFFFFF;
  box-shadow: none;
  transform: none;
}

/* --- 21. Cards ---------------------------------------------------------------------- */
.insight-card,
.value-card,
.metric-box,
.office-hub-card,
.cs-sidebar-card,
.team-card,
.directory-filter-center {
  border-radius: 4px;
  border-color: var(--rb-line);
  box-shadow: var(--rb-shadow);
}

.insight-card:hover,
.value-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--rb-line);
  box-shadow: var(--rb-shadow-lift);
}

/* Card photographs run edge to edge across the top, as in Route B. */
.insight-card {
  border-width: 1px;
}

/* Only photo cards lose their padding; text panels built on .insight-card keep it. */
.insight-card:has(> .insight-thumb-wrap) {
  padding: 0;
}

.insight-card > .insight-thumb-wrap {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.insight-card > .insight-card-content {
  padding: 22px 22px 24px;
}

.insight-thumb-wrap {
  border-radius: 3px;
}

/* Route B keeps every panel, card and photo frame to a 4px corner. */
.node-card-surface,
.metric-box,
.testimonial-showcase-card,
.quote-portrait-frame,
.recognition-item,
.recognition-icon-badge,
.recognition-logo-badge,
.timeline-card,
.value-card,
.value-icon-box,
.compass-stat-item,
.vertical-card,
.quality-card,
.offering-card,
.practice-switcher-bar,
.team-card,
.team-profile-photo-frame,
.team-profile-meta-card,
.team-profile-main,
.culture-card,
.job-card,
.contact-form-card,
.direct-contact-item,
.office-hub-card,
.editorial-quote-box,
.story-explorer,
.explorer-step-btn,
.explorer-pane,
.scrolly-pillar-card,
.scrolly-card-icon,
.narrative-vignette,
.arc-card-body,
.arc-celebration-hero,
.arc-stat-item,
.qa-step-card,
.toc-flow-card,
.cs-banner-frame,
.cs-article figure img,
.cs-article img,
.cs-numbered-list li,
.cs-phase-card,
.cs-callout-box,
.cs-download-banner,
.cs-sidebar-card,
.work-showcase-card,
.project-card.card,
.insight-card,
.directory-filter-center,
.custom-dropdown-menu,
.directory-empty-state {
  border-radius: 4px;
}

.work-card-footer {
  border-top-color: var(--rb-line);
}

/* Directory cards read like the homepage's: tags become one gold label line. */
.work-card-pills,
.insight-card-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  margin-bottom: 10px;
}

.work-card-pills .pill,
.insight-card-pills .pill,
.work-card-pills .pill.pill-gold,
.insight-card-pills .pill.pill-gold {
  padding: 0;
  border: 0;
  background: none;
  color: var(--rb-gold-text);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.work-card-pills .pill + .pill::before,
.insight-card-pills .pill + .pill::before {
  content: "·";
  margin: 0 8px;
  color: var(--rb-gold);
}

.rb-head--wide {
  max-width: 980px;
}

/* Card links (project and profile cards, design review Nov 2026, "Proposed
   Iteration 1"): no badge, just an arrow that is absent until the card is
   hovered, then slides in from the left. The selectors repeat athena.css's
   hover rules so they win at equal specificity. */
.ring,
.ln:hover .ring,
.card:hover .ring,
.work-showcase-card:hover .ring,
.project-card:hover .ring,
.resource-card:hover .ring,
.blog-card:hover .ring,
.team-card:hover .ring,
.insight-card:hover .ring {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.ring span {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.4s var(--ease-out-expo);
}

.ln:hover .ring span,
.ln:focus-visible .ring span,
.team-bio-link:hover .ring span,
.team-bio-link:focus-visible .ring span,
.card:hover .ring span,
.work-showcase-card:hover .ring span,
.project-card:hover .ring span,
.resource-card:hover .ring span,
.blog-card:hover .ring span,
.team-card:hover .ring span,
.insight-card:hover .ring span {
  opacity: 1;
  transform: translateX(0);
}

/* Profile cards match the project cards: a plain ruled footer, no grey band. */
.team-card-footer {
  background: transparent;
}

/* --- 22. Directory controls ---------------------------------------------------------- */
.custom-dropdown-trigger,
.catalog-search-input,
.pagination-btn {
  border-radius: 4px;
  border-color: var(--rb-line);
  box-shadow: none;
}

.custom-dropdown-trigger:hover,
.catalog-search-input:focus {
  border-color: var(--rb-ink);
}

.pagination-btn.active {
  background: var(--rb-ink);
  border-color: var(--rb-ink);
  box-shadow: none;
}

.filter-reset-btn {
  border-radius: 4px;
}

/* WordPress's own pagination (sector archives, search), styled like the directories'. */
.navigation.pagination {
  margin-top: 48px;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--rb-line);
  border-radius: 4px;
  background: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rb-ink);
}

.navigation.pagination a.page-numbers:hover {
  border-color: var(--rb-ink);
  color: var(--rb-ink);
}

.navigation.pagination .page-numbers.current {
  background: var(--rb-ink);
  border-color: var(--rb-ink);
  color: #FFFFFF;
}

.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
}

/* --- 22b. Design review, 12 Nov 2026 ------------------------------------------------ */

/* Homepage: the map gets its own heading, ruled like the sector grid above it. */
.rb-map-head {
  margin-top: clamp(72px, 8vw, 112px);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.rb-map-head .rb-lead {
  margin-top: 12px;
}

.rb-map-head + .rb-map {
  margin-top: 0;
  border-top-color: var(--rb-ink);
}

/* Homepage: Our Story's awards between About and the client logos. One rule
   only, below the awards, setting the clients apart (review, Nov 2026). */
.rb-recognitions--home {
  margin-top: clamp(40px, 4.5vw, 64px);
  border-top: 0;
}

.rb-recognitions--home + .rb-clients {
  margin-top: clamp(8px, 1vw, 16px);
}

/* Homepage People: four at a time, arrows for the rest. */
.rb-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
}

/* Level with the middle of the 200px portraits. */
.rb-carousel > .rb-carousel-btn {
  margin-top: 82px;
}

.rb-people-track {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 32px) / 4);
  gap: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.rb-people-track::-webkit-scrollbar {
  display: none;
}

.rb-people-track > li {
  min-width: 0;
  scroll-snap-align: start;
}

.rb-people-track .rb-person-role {
  font-weight: 700;
  color: var(--rb-gold-text);
}

.rb-person-unit {
  display: block;
  margin-top: -14px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  color: var(--rb-mid);
}

.rb-carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rb-ink);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--rb-ink);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.rb-carousel-btn:hover:not(:disabled) {
  background: var(--rb-ink);
  color: #FFFFFF;
}

.rb-carousel-btn:focus-visible {
  outline: 2px solid var(--rb-gold);
  outline-offset: 3px;
}

.rb-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.rb-carousel-btn[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .rb-people-track {
    grid-auto-columns: calc((100% - 2 * 32px) / 3);
  }
}

@media (max-width: 760px) {
  .rb-people-track {
    grid-auto-columns: calc((100% - 24px) / 2);
    gap: 24px;
  }
}

/* Phones: the track takes the full width; the arrows sit under it. */
@media (max-width: 600px) {
  .rb-carousel {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
  }

  .rb-people-track {
    grid-column: 1 / -1;
    grid-row: 1;
    grid-auto-columns: 78%;
  }

  .rb-carousel > .rb-carousel-btn {
    margin-top: 0;
  }

  .rb-carousel-btn--prev {
    grid-row: 2;
    justify-self: start;
  }

  .rb-carousel-btn--next {
    grid-row: 2;
    justify-self: end;
  }
}

/* About, Our Journey: several entries can share one year; an entry may carry
   a logo on a white tile (as in the footer), linked to that company's site. */
.rb-timeline-entry + .rb-timeline-entry {
  margin-top: 28px;
}

.rb-timeline-logo {
  display: inline-flex;
  align-items: center;
  height: 52px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(11, 14, 43, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rb-timeline-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 180px;
  object-fit: contain;
}

a.rb-timeline-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -12px rgba(11, 14, 43, 0.45);
}

a.rb-timeline-logo:focus-visible {
  outline: 2px solid var(--rb-gold);
  outline-offset: 3px;
}

/* Services: a row of practice links under the hero. It scrolls away with
   the page; it is not sticky and has no dividing line (review, Nov 2026). */
.rb-subnav {
  background: #FFFFFF;
}

/* Room between the hero and the links, so the page starts evenly (review, Nov 2026). */
.rb-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: 14px;
}

/* The first practice sits close under the row of links, not a full section gap away. */
.rb-subnav + .rb-service {
  padding-top: clamp(40px, 4.5vw, 64px);
}

/* Anchored practices clear the header. */
.rb-service {
  scroll-margin-top: 100px;
}

.rb-service-question {
  margin: 4px 0 18px;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--rb-ink);
}

/* Offerings: rows that open and close one at a time. */
.rb-offerings {
  margin-top: clamp(56px, 6vw, 88px);
}

.rb-offerings-title {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--rb-ink);
}

.rb-acc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rb-ink);
}

.rb-acc-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 32px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--rb-sand-line);
}

.rb-acc-title {
  margin: 0;
  font: inherit;
}

.rb-acc-btn {
  display: block;
  width: 100%;
  padding: 0 56px 0 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  color: var(--rb-ink);
  cursor: pointer;
}

/* The + / − in a circle at the row's end: part of the button, so it toggles too. */
.rb-acc-btn::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--rb-ink);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: background-color 0.2s ease, color 0.2s ease, background-size 0.25s ease;
}

.rb-acc-btn[aria-expanded="true"]::after {
  background-size: 12px 1.5px, 1.5px 0;
}

.rb-acc-btn:hover {
  color: var(--rb-gold-text);
}

.rb-acc-btn:hover::after {
  background-color: var(--rb-ink);
  color: #FFFFFF;
}

.rb-acc-btn:focus-visible {
  outline: 2px solid var(--rb-gold);
  outline-offset: 4px;
}

.rb-acc-panel {
  padding-right: 64px;
}

.rb-acc-panel[hidden] {
  display: none;
}

/* While a panel opens or closes (editorial.js sets the height). */
.rb-acc-panel.is-moving {
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.35s ease;
}

.rb-acc-panel.is-moving p {
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.rb-acc-panel.is-closed p {
  transform: translateY(-6px);
}

.rb-acc-btn {
  transition: color 0.2s ease;
}

.rb-acc-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--rb-mid);
}

.rb-acc-panel p + p {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .rb-acc-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .rb-acc-panel {
    grid-column: 1;
    padding-right: 0;
  }

  /* Spacing inside the panel, so it folds away with it. */
  .rb-acc-panel > p:first-child {
    margin-top: 12px;
  }
}

/* Services: the closing line to the projects. */
.rb-explore {
  text-align: center;
  background: var(--rb-sand);
}

.rb-explore-line {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--rb-ink);
}

/* About: APLYD follows TolaData on the same white ground, so no second gap. */
.rb-section--follow {
  padding-top: 0;
}

/* --- 23. Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .rb-people-track {
    scroll-behavior: auto;
  }

  .rb-logos-list,
  .rb-map-ping,
  .page-hero::after {
    animation: none;
  }

  /* The logo rows stand still and scroll sideways instead. */
  .rb-logos {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .rb-logos-list[aria-hidden="true"] {
    display: none;
  }

  .rb-card-inner,
  .rb-sector-photo,
  .rb-hero-video,
  .rb-map-country,
  .rb-faq-dot,
  .rb-faq-chevron {
    transition: none;
  }
}

/* About, Our Journey: a dotted rail down the timeline. As the page scrolls a
   gold dot travels down it, leaving a trail of dots that fades behind it, and
   each year's marker lights up as the dot reaches it (editorial.js). Without
   the script, or with reduced motion, every marker is simply lit. */
.rb-timeline--trail {
  position: relative;
  padding-left: 48px;
  --rb-trail: 0px;
}

.rb-timeline--trail::before,
.rb-trail-fill {
  content: "";
  position: absolute;
  top: 0;
  left: 11px;
  width: 6px;
  background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.9px);
  background-size: 6px 12px;
  background-repeat: repeat-y;
  background-position: center 6px;
  pointer-events: none;
}

.rb-timeline--trail::before {
  bottom: 0;
  color: var(--rb-sand-line);
}

.rb-trail-fill {
  height: var(--rb-trail);
  color: var(--rb-gold);
  /* The trail thins out behind the travelling dot. */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), #000 calc(100% - 160px));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), #000 calc(100% - 160px));
}

.rb-trail-head {
  position: absolute;
  top: 0;
  left: 9px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--rb-gold);
  transform: translateY(var(--rb-trail));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.rb-trail-head::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--rb-gold);
  border-radius: 50%;
  opacity: 0;
  animation: rb-trail-pulse 2.4s ease-out infinite;
}

.rb-timeline--trail.is-trailing .rb-trail-head {
  opacity: 1;
}

@keyframes rb-trail-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.55;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.rb-timeline--trail > li {
  position: relative;
}

/* Each year's marker on the rail. */
.rb-timeline--trail > li::before {
  content: "";
  position: absolute;
  top: 43px;
  left: -39px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--rb-gold);
  border-radius: 50%;
  background: var(--rb-gold);
  transition: background-color 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rb-timeline--trail.is-live > li::before {
  background: #FFFFFF;
  transform: scale(0.8);
}

.rb-timeline--trail.is-live > li.is-reached::before {
  background: var(--rb-gold);
  transform: scale(1);
}

@media (max-width: 560px) {
  .rb-timeline--trail {
    padding-left: 32px;
  }

  .rb-timeline--trail::before,
  .rb-trail-fill {
    left: 5px;
  }

  .rb-trail-head {
    left: 3px;
  }

  .rb-timeline--trail > li::before {
    top: 39px;
    left: -29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-trail-head::after {
    animation: none;
  }
}

/* Publication pages: the "View Document" button under the publication's text. */
.rb-doc-link {
  margin: 36px 0 0;
}

/* .cs-article a would otherwise give the button navy, underlined text. */
.cs-article .rb-doc-link .rb-btn,
.cs-article .rb-doc-link .rb-btn:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* --- 24. Privacy update, Nov 2026: legal text and cookie banner -------------------- */

/* Legal pages: bulleted lists, mailto: links and the #cookies link target. */
.rb-ruled .rb-bullets {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}

.rb-ruled .rb-bullets:last-child {
  margin-bottom: 0;
}

.rb-ruled .rb-bullets li {
  margin: 0 0 6px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--rb-mid);
}

.rb-ruled p a,
.rb-ruled .rb-bullets a {
  color: var(--rb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-ruled > li[id] {
  scroll-margin-top: calc(var(--rb-header-bottom, 90px) + 24px);
}

/* Cookie banner (footer.php, consent.js). Accept and Reject share one style. */
.rb-cookie {
  position: fixed;
  left: var(--rb-gutter);
  right: var(--rb-gutter);
  bottom: 16px;
  z-index: 9995; /* above the sticky header (9990), below open menus (10000+) */
  max-width: 1040px;
  max-height: calc(100vh - 32px);
  margin: 0 auto;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--rb-sand-line);
  border-radius: 8px;
  box-shadow: var(--rb-shadow-lift);
  color: var(--rb-ink);
}

.rb-cookie[hidden],
.rb-cookie__prefs[hidden],
.rb-cookie__actions .rb-btn[hidden] {
  display: none;
}

.rb-cookie__inner {
  display: grid;
  gap: 18px;
  padding: 24px 28px;
}

.rb-cookie__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rb-ink);
}

.rb-cookie__title:focus,
.rb-cookie__subtitle:focus {
  outline: none;
}

.rb-cookie p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--rb-mid);
}

.rb-cookie p:last-child {
  margin-bottom: 0;
}

.rb-cookie a {
  color: var(--rb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-cookie__prefs {
  padding-top: 14px;
  border-top: 1px solid var(--rb-sand-line);
}

.rb-cookie__subtitle {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--rb-ink);
}

.rb-cookie__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rb-line);
}

.rb-cookie__row:last-child {
  border-bottom: 0;
}

.rb-cookie__row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--rb-ink);
}

.rb-cookie__row label {
  cursor: pointer;
}

.rb-cookie__row label span {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--rb-mid);
}

.rb-cookie__state {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--rb-gold-text);
  white-space: nowrap;
}

.rb-cookie__check {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--rb-ink);
  cursor: pointer;
}

.rb-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rb-cookie__actions .rb-btn {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .rb-cookie {
    bottom: 8px;
  }

  .rb-cookie__inner {
    padding: 20px 18px;
  }

  .rb-cookie__actions .rb-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
